My girlfriend's phone is a Galaxy S2. The battery was crap and the phone started bootlooping. We've replaced the battery but it is still happening. I can get into recovery mode, but I don't know anything about Flashing Roms. We're trying to avoid Factory Reseting the phone, in order to save the data. I have tried wiping the various caches. Is there anything I can do? The recovery screen also has a Philz Touch 5 menu, I believe the phone is rooted (although honestly I know nothing about it, I never rooted my phone).
It's definitely rooted.. So it's better to completely wipe the phone..
But as you need your data, you can try and run it in safe mode.
As soon as you boot your phone , press down the volume down button, keep holding until you reach the lock screen. then press the safe mode button on bottom left..
In case you are flashing the best rom for Galaxy s2 is the Pound rom(Unsung Hero) or Cyanogenmod(popular)..