show/hide this revision's text 2 added 731 characters in body

I found a reference for the first question in the following PhD thesis :

J. Wilson, Curves of genus 2 with real multiplication by a square root of 5

The answer is yes. This is a consequence of the following general fact about abelian varieties (see Prop 2.5.4 in the thesis).

Let $A$ be an abelian variety over a field $k$. Let $R$ be an order in a number field $F$. Assume that $R$ embeds into $\operatorname{End}_k(A)$. Then there exists an abelian variety $B/k$ which is $k$-isogenous to $A$ and such that $\mathcal{O}_F$ embeds into $\operatorname{End}_k(B)$.

The idea is to take $B=A/G$ with $G=(n\mathcal{O}_F) A[n^2]$, where $n$ is the index of $R$ in $\mathcal{O}_F$.

The thesis also contains interesting examples of varieties $A_f$ with Hecke field $K_f=\mathbf{Q}(\sqrt{5})$. These are natural examples to try for Question 2 (although I have no idea how to compute the reduction of $A_f$ mod $p$).

EDIT. The answer to Question 2 is negative in general. There are newforms $f$ of weight $2$ on $\Gamma_0(N)$ such that $A_f$ splits over $\overline{\mathbf{Q}}$. This happens for example when $f$ has extra-twist. The first example appears at level $N=63$, see Table 1 p. 13 in

MR1933828 (2003i:11078) González-Jiménez, Enrique ; González, Josep. Modular curves of genus 2. Math. Comp. 72 (2003), no. 241, 397--418 (electronic).

Assume $A_f \sim E_1 \times E_2$ where everything is defined over some number field $K$. If $p$ is a prime of good reduction for $A_f$ which splits totally in $K$, then $A_f$ mod $p$ is $\mathbf{F}_p$-isogenous to a product of elliptic curves over $\mathbf{F}_p$, so it is not simple.

show/hide this revision's text 1

I found a reference for the first question in the following PhD thesis :

J. Wilson, Curves of genus 2 with real multiplication by a square root of 5

The answer is yes. This is a consequence of the following general fact about abelian varieties (see Prop 2.5.4 in the thesis).

Let $A$ be an abelian variety over a field $k$. Let $R$ be an order in a number field $F$. Assume that $R$ embeds into $\operatorname{End}_k(A)$. Then there exists an abelian variety $B/k$ which is $k$-isogenous to $A$ and such that $\mathcal{O}_F$ embeds into $\operatorname{End}_k(B)$.

The idea is to take $B=A/G$ with $G=(n\mathcal{O}_F) A[n^2]$, where $n$ is the index of $R$ in $\mathcal{O}_F$.

The thesis also contains interesting examples of varieties $A_f$ with Hecke field $K_f=\mathbf{Q}(\sqrt{5})$. These are natural examples to try for Question 2 (although I have no idea how to compute the reduction of $A_f$ mod $p$).