Manually restoring system partition to virgin state

Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)

Manually restoring system partition to virgin state

Postby miku2007 » Mon Dec 05, 2016 2:08 pm

I have an iPhone5,2 on 10A405 that I acquired jailbroken. The phone runs pretty poorly and a dpkg -l shows some weird packages having been installed by the previous owner such as CommCenter patches and wacky stuff pertaining to carrier bundles...

Ideally I would like to achieve the following:

1. Restore rootfs contents from a known-good source by manually copying contents (decrypted rootfs dmg from iPhone5,2_6.0_10A405_Restore.ipsw)
2. If possible - move the jailbreak exploit from /var/evasi0n/* to / so I can erase and reset the phone
3. Enjoy my hopefully better-running jailbroken iPhone 5

How is the root filesystem 'personalized' per-restore?
I currently only know of the kernelcache in /System/Library/Caches/com.apple.kernelcaches/

Others?

Baseband firmware? Weird stuff I might not be aware of?

Any input would be extremely appreciated. I would be so happy to get this phone into a decent state.
miku2007
 
Posts: 4
Joined: Mon Dec 05, 2016 1:35 am

Re: Manually restoring system partition to virgin state

Postby backendbilly » Tue Dec 06, 2016 7:25 pm

Playing with the jailbreak process will cost you the jailbreak and you will end up losing it completely if you don't know what you're doing. Without getting into too much detail, consider using tools from the Cydia author such as "Cydia eraser". You can install it through Cydia. Make sure you read about it before proceeding. The aim of this tool is to erase your device without losing the jailbreak. Just make sure you backup before running this tool as you will lose everything on the device. Think of it as a restore without losing the current running iOS version.
backendbilly
Site Admin
 
Posts: 132
Joined: Fri May 29, 2015 5:58 pm


Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 1 guest