I have currently been testing the method of rooting leaked 2.1 phones. There was a little discussion running in that thread (and other threads, I've found) that poses the question whether or not the RUU is the same as 2.1 Leak v3.
The RUU I'm using is referenced here: [ROM] Official HTC Desire RUU ROMS and OTA Update URLs - xda-developers -- which can be found here: http://shipped-roms.com/shipped/Des...WWE_2.36.605.1_release_signed_with_driver.exe
Leak 2.1 v3 I'm using is referenced here: http://androidforums.com/htc-droid-eris/69688-htc-droid-eris-os-2-1v3-download.html -- which can be found here: PB00IMG.zip
So, the process that I've been using to root these phones involves flashing the RUU OTA onto the phone. With some help from user bftb0, I have taken the time to do the analysis.
How did I get system.img and boot.img off of the RUU OTA, you might ask? Well, after I flashed the RUU OTA onto the phone, I went through the Incredible/Slide root method to root the phone I'm working with (without changing any phone settings within Sense). After getting adb to recognize the device in recovery, I took the steps necessary to flash Amon_RA's recovery. I then took a Nandroid backup of my phone, and extracted the system.img and boot.img files off of the SD card where the Nandroid backup was stored.
Then, I used unyaffs to unpack system.img into 2 separate directories, and used split_bootimg.pl to unpack boot.img
so, for split_bootimg.pl I did this, starting at the directory where each respective boot.img file is
The test after it's unpacked
This output should be expected; we should expect the su executable to be in one and not the other if I've rooted it, and the md5sigs that the script creates are not going to have the same md5sums
Pastebins for both the leak v3 list of md5sums, and RUU list of md5sums
Leak v3 md5sigs pastebin: 74fcbd4f10fd8fea9ff3b3fe103d07 - Anonymous - PGZDbC1r - Pastebin.com
RUU OTA md5sigs pastebin: 74fcbd4f10fd8fea9ff3b3fe103d07 - Anonymous - qz5z0Vdr - Pastebin.com
Conclusion: They are identical
The RUU I'm using is referenced here: [ROM] Official HTC Desire RUU ROMS and OTA Update URLs - xda-developers -- which can be found here: http://shipped-roms.com/shipped/Des...WWE_2.36.605.1_release_signed_with_driver.exe
Leak 2.1 v3 I'm using is referenced here: http://androidforums.com/htc-droid-eris/69688-htc-droid-eris-os-2-1v3-download.html -- which can be found here: PB00IMG.zip
So, the process that I've been using to root these phones involves flashing the RUU OTA onto the phone. With some help from user bftb0, I have taken the time to do the analysis.
How did I get system.img and boot.img off of the RUU OTA, you might ask? Well, after I flashed the RUU OTA onto the phone, I went through the Incredible/Slide root method to root the phone I'm working with (without changing any phone settings within Sense). After getting adb to recognize the device in recovery, I took the steps necessary to flash Amon_RA's recovery. I then took a Nandroid backup of my phone, and extracted the system.img and boot.img files off of the SD card where the Nandroid backup was stored.
Then, I used unyaffs to unpack system.img into 2 separate directories, and used split_bootimg.pl to unpack boot.img
so, for split_bootimg.pl I did this, starting at the directory where each respective boot.img file is
Code:
$ mkdir unpak
$ cd unpak
$ split_bootimg.pl ../boot.img
... [output] ...
$ mkdir ramdisk
$ cd ramdisk
$ gunzip -c ../boot.img-ramdisk.gz | cpio -i
Code:
#!/bin/bash
mydir=`pwd`
for tree in leakv3 RUU ; do
cd $tree
touch ./md5sigs
find . -type f -print | while read fnam ; do md5sum $fnam >> ./md5sigs ; done
cd $mydir
done
cat leakv3/md5sigs RUU/md5sigs | sort | uniq -u
Code:
$ ./md5test.sh
6951ac78e8f9ae5e6c4c4cb50803fed9 ./bin/su
9512ebf90efee5ea996ec59456cf4b03 ./md5sigs
c6212fa45ab99c3a5d731bca06184023 ./md5sigs
Pastebins for both the leak v3 list of md5sums, and RUU list of md5sums
Leak v3 md5sigs pastebin: 74fcbd4f10fd8fea9ff3b3fe103d07 - Anonymous - PGZDbC1r - Pastebin.com
RUU OTA md5sigs pastebin: 74fcbd4f10fd8fea9ff3b3fe103d07 - Anonymous - qz5z0Vdr - Pastebin.com
Conclusion: They are identical