We will use the value of $10^{12}\,\text{kg}$, proposed in OP, for black hole initial mass for estimates.
This value is large enough that the evaporation time through Hawking radiation for such a black hole is longer than the current age on Universe, moreover, the accretion rates if such a black hole is placed inside the Earth would be larger than the loss of mass through Hawking radiation by at least an order of magnitude, so such a black hole would be gradually consuming Earth, with its mass growing exponentially.
Characteristic time for such growth through accretion could be estimated through the Eddington luminosity limit:
$$
\tau_\text{E} = \frac{\eta}{4\pi} \, \frac{\sigma_\text{T} c}{ G m_p} \simeq 2.6\times10^7 \,\text{yr}.
$$
Here $\sigma_\text{T}$ is Thompson scattering cross-section, $m_p$ is the mass of a proton and $\eta$ is the efficiency of conversion of accreting mass into radiation, which we assume to be about $5\,\%$.
Of course, mass absorption would slow our black hole down, but the main mechanism which would be responsible for the dampening of black hole oscillations is the dynamical friction (a.k.a. gravitational drag), because our black hole could lose its velocity not only through direct absorption of mass/energy but also through long-range gravitational interaction with the surrounding medium.
Characteristic decay timescale of such process is shorter (for oscillations which would reach the surface of the Earth) and could be estimated as
$$
\tau_\text{d}=\frac{v^3}{9\pi G^2 M \rho \ln \Lambda} \simeq 2.5\times 10^6 \times\left(\frac{M}{10^{12}\,\text{kg}} \right)^{-1}\left(\frac{v}{8 \, \text{km/s}}\right)^3 \, \text{yr} ,
$$
where $M$ is the black hole mass, $v$ is its average velocity (for which we assume value of $8\,\text{km/s}$), $\rho$ is an average density of the material through which the black hole is moving ($\rho\simeq 5 \, \text{g/cm}^3$), and $ \ln \Lambda$ is the gravitational Coulomb logarithm. We see that the dampening effect from the dynamical friction is proportional to the black hole mass (decay timescales are shorter for larger black hole), and is inversely proportional to the cube of black hole velocity, so once the black hole lost most of its velocity and is oscillating around the core, the dampening is greatly increased and the decay timescales would be much shorter.
Within a several million years our black hole would be oscillating with much smaller amplitude deeply in the Earth's core where it will be growing doubling in mass every dozen million years. And by the time the black hole accretion rates become large enough for the accompanying radiation to heat up the Earth surface to make it uninhabitable, several dozen million years would pass.