Can someone help me with a procedure on returning my Rise (on Virgin Mobile running 1.004VM) to the stock build?
The original system/recovery/boot images are on this site (can't post links yet) but I'm assuming I only need to copy the system one back into place.
The phone is currently rooted and I've messed with so many things (removed system apps; converted 3rd party apps to system; modified boot animation etc) that I could never undo it manually.
I'm giving the phone away which is why I'd like it to be vanilla.
Here's what I plan on doing:
1) run 'factory reset' from the phone to remove my personal data
2) linux$ adb push mmcblk0p12 /sdcard/mmcblk0p12 (to push the system image to the SD card)
3) linux$ adb wait-for-device shell (get an adb shell)
4) shell@android:/ $ su (get root)
5) root@android:/ # dd if=/sdcard/mmcblk0p12 of=/dev/block/mmcblk0p12 (to copy the image over)
6) reboot the phone
One thing worries me a little - I ran dd on the recovery partition and was expecting it to match the file in the downloadable bundle of images but 'diff' told me they differed. Not sure whether that means I messed something up or whether it means I somehow modified the real recovery data.
Other open questions I have are:
a) should the phone be booted up as normal when the dd is run? Seems like the system partition should be unmounted for dd to successfully run - but I'm not sure how to put it into any kind of recovery mode where adb will see the device
b) I realise everything has risk, but does what I'm doing sounds reasonably safe (barring typoes etc)?
c) any reason to also dd the recovery/boot images?
Edit - one more thing. Can the images be mounted on a loop device to view the contents?
The original system/recovery/boot images are on this site (can't post links yet) but I'm assuming I only need to copy the system one back into place.
The phone is currently rooted and I've messed with so many things (removed system apps; converted 3rd party apps to system; modified boot animation etc) that I could never undo it manually.
I'm giving the phone away which is why I'd like it to be vanilla.
Here's what I plan on doing:
1) run 'factory reset' from the phone to remove my personal data
2) linux$ adb push mmcblk0p12 /sdcard/mmcblk0p12 (to push the system image to the SD card)
3) linux$ adb wait-for-device shell (get an adb shell)
4) shell@android:/ $ su (get root)
5) root@android:/ # dd if=/sdcard/mmcblk0p12 of=/dev/block/mmcblk0p12 (to copy the image over)
6) reboot the phone
One thing worries me a little - I ran dd on the recovery partition and was expecting it to match the file in the downloadable bundle of images but 'diff' told me they differed. Not sure whether that means I messed something up or whether it means I somehow modified the real recovery data.
Other open questions I have are:
a) should the phone be booted up as normal when the dd is run? Seems like the system partition should be unmounted for dd to successfully run - but I'm not sure how to put it into any kind of recovery mode where adb will see the device
b) I realise everything has risk, but does what I'm doing sounds reasonably safe (barring typoes etc)?
c) any reason to also dd the recovery/boot images?
Edit - one more thing. Can the images be mounted on a loop device to view the contents?