Using spherical coordinates I have to find the volume of a cone $z=\sqrt{x^2+y^2}$ inscribed in a sphere $(x-1)^2+y^2+z^2=4.$
I can`t find $\rho$ because the center of sphere is displaced from the origin.
I tried solving it using Mathematica, but i did something wrong somewhere enter image description here

Not an answer (so please don't downvote), but a figure that should help you visualize the problem:
Clearly you want to integrate over $\theta$ from $0 \to 2 \pi$, and $\phi$ from $0 \to \phi_0$, where the limit is based on the half angle of the cone.
The radius $\rho$ is a function of both these variables, and can be derived from the Pythagorean theorem.