iPhone XS stuck on 'Optimizing library 0%' when transferring photos from Android
I Purchased an iPhone XS a few days ago (unused, so it has 100% battery health), and i transferred my photos from my android to my windows PC, then used iCloud that i downloaded (using the same account). transferred the photos to the cloud. However, now. The 'photos' app is stuck on 'Optimizing library 0%' and hasn't budged for hours.
I am only transferring about 900 photos that are roughly 6GB total.
I am on a 6G network connection with full bars, I have the latest IOS 18.5, and have tried everything.
Syncing iCloud, restarting phone, even tried by factory resetting the phone. But still nothing.
Is this simply because its an old phone, or is it something on Apple's side?
[Re-Titled by Moderator]
Original Title: I have started using the iPhone XS as my main driver after decades of being an android user. However, i am struggling with the photos app.
iPhone XS