[Q] Desire Partitions - Desire Q&A, Help & Troubleshooting

I am trying to get a handle on the NAND partitioning in Desire out of curiosity.
Desire has got 512 MB ROM and after flashing hboots I realized that things are not adding up.
1. I had set up my hboot as follows:-
cache - 5 MB
System - 150 MB
Data - 282 MB
Total - 437 MB
So where is the Balance 512-437=75MB ?
Click to expand...
Click to collapse
2. OK lets take the other partitions like misc, recovery and boot into the calculations. I typed cat /proc/mtd and got:-
dev: size erasesize name
mtd0: 000a0000 00020000 "misc"
mtd1: 00480000 00020000 "recovery"
mtd2: 00300000 00020000 "boot"
mtd3: 09600000 00020000 "system"
mtd4: 00500000 00020000 "cache"
mtd5: 11aa0000 00020000 "userdata"
Click to expand...
Click to collapse
Total size 1bdc0000hex is equal to 445.75MB
Still balance 512-445.75=66.25MB unaccounted for.
3. Time to dig a bit deeper. I got hold of some useful commands using 'fastboot oem h' one of them being fastboot oem listpartition.
listpartition gives this data(formatted):-
Partition Blocks Size(Hex) MB
radio: 497 3E20000 62.125
hboot: 6 C0000 0.75
sp2: 7 E0000 0.875
mfg: 6 C0000 0.75
sp1: 9 120000 1.125
wifi: 5 A0000 0.625
recovery: 36 480000 4.5
boot: 24 300000 3
system: 1200 9600000 150
cache: 40 500000 5
userdata: 2261 11AA0000 282.625
misc: 5 A0000 0.625
4096 20000000 512
Click to expand...
Click to collapse
When you add up the MB column you get the magic figure 512MB. Fine. But I have got more questions now after I see the listpartition output:-
A. I thought that hboot and radios being so special are in seperate areas compared to say data or system partitions. But from this table it looks apparently that they are in the same contiguous memory. So is everything in the same area/chip?
B. The radio and wifi partitions are seperate. So does flashing radio only affect 2G/3G?
C. What is sp1, sp2 or mfg partitions?

Some questions answered. hboot and radio and I guess almost everything else is on NAND chip called MCP(Multi Chip Package) from Samsung. The only reason hboot and radio are special is because radio is the bootloader for the modem processor whereas the hboot is the bootloader for the application processor. The Desire contains a Qualcom SOC (System on Chip) which has these processors. So if either the application or the modem processor cannot boot due to hboot or radio image corruption then thats it , your desire is bricked.
The sp1 and sp2 partitions house the splash1 and splash2 splash screens. The mfg partition houses the MFG_DIAG image ?? The wifi partition is seperate from radio. But who uses the wifi partition?
Is it possible to access these hidden partitions? I did some digging. The very first requirement is to find out the starting address and size on NAND for each of these partitions. You get some data from 'fastboot oem listpartition' and some more data from 'dmesg'. You got to do some mathematics and at the end of it you get this neat table.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For accessing the hidden partitions like radio,hboot,sp1,sp2,mfg and wifi you will need to change the kernel commandline. It is quite simple actually. All you need to do is keep a recovery image handy and get into fastboot mode. The idea is to boot the desire with a alternate kernel which you supply during fastboot.
example:-
Without Kernel Commandline
C:\sdktools-toolsonly\android-sdk-windows\tools>fastboot boot recovery-clockwork-5.0.2.0-bravo.img
Click to expand...
Click to collapse
Now you will be in cwm 5 recovery
C:\sdktools-toolsonly\android-sdk-windows\tools>adb shell
~ # cat /proc/mtd
cat /proc/mtd
dev: size erasesize name
mtd0: 000a0000 00020000 "misc"
mtd1: 00480000 00020000 "recovery"
mtd2: 00300000 00020000 "boot"
mtd3: 09600000 00020000 "system"
mtd4: 00500000 00020000 "cache"
mtd5: 11aa0000 00020000 "userdata"
Click to expand...
Click to collapse
Since no kernel commandline is given only the default partitions are shown.
With Kernel Commandline
C:\sdktools-toolsonly\android-sdk-windows\tools>fastboot -c "mtdparts=msm_nand:[email protected](recovery),[email protected](boot),[email protected](system),[email protected](cache),0x11aa0
[email protected](userdata),[email protected](misc)" boot recovery-clockwork-5.0.2.0-bravo.img
C:\sdktools-toolsonly\android-sdk-windows\tools>adb shell
~ # cat /proc/mtd
cat /proc/mtd
dev: size erasesize name
mtd0: 00480000 00020000 "recovery"
mtd1: 00300000 00020000 "boot"
mtd2: 09600000 00020000 "system"
mtd3: 00500000 00020000 "cache"
mtd4: 11aa0000 00020000 "userdata"
mtd5: 000a0000 00020000 "misc"
~ # exit
Click to expand...
Click to collapse
Again only the default partitions are shown.
Custom Commandline
Now lets expand the commandline
C:\sdktools-toolsonly\android-sdk-windows\tools>fastboot -c "mtdparts=msm_nand:[email protected](sp2),[email protected](sp1),[email protected](misc),[email protected](recovery),[email protected]
x046c0000(boot),[email protected](system),[email protected](cache),[email protected](userdata)" boot recovery-clockwork-5.0.2.0-bravo.img
C:\sdktools-toolsonly\android-sdk-windows\tools>adb shell
~ # cat /proc/mtd
cat /proc/mtd
dev: size erasesize name
mtd0: 000e0000 00020000 "sp2"
mtd1: 00120000 00020000 "sp1"
mtd2: 000a0000 00020000 "misc"
mtd3: 00480000 00020000 "recovery"
mtd4: 00300000 00020000 "boot"
mtd5: 09600000 00020000 "system"
mtd6: 00500000 00020000 "cache"
mtd7: 11aa0000 00020000 "userdata"
~ # mount /sdcard
mount /sdcard
~ # cat /dev/mtd/mtd1 > /sdcard/sp1.img
cat /dev/mtd/mtd1 > /sdcard/sp1.img
~ # cat /dev/mtd/mtd0 > /sdcard/sp2.img
cat /dev/mtd/mtd0 > /sdcard/sp2.img
~ # umount /sdcard
umount /sdcard
~ # exit
exit
Click to expand...
Click to collapse
Lets chcek out the sp1 and sp2 images
D:\store\Desire\nbimg-1.1win32>copy sp1.img sp1.nb
D:\store\Desire\nbimg-1.1win32>copy sp2.img sp2.nb
D:\store\Desire\nbimg-1.1win32>nbimg -F sp1.nb -w 480 -h 800
D:\store\Desire\nbimg-1.1win32>nbimg -F sp2.nb -w 480 -h 800
Click to expand...
Click to collapse
Just check out the extracted images sp1 and sp2. I never knew sp2 image.
Now lets give the command for the full table
C:\sdktools-toolsonly\android-sdk-windows\tools>fastboot -c "mtdparts=msm_nand:[email protected](radio),[email protected](hboot),[email protected](sp2),[email protected](mfg),[email protected]
4080000(sp1),[email protected](wifi),[email protected](misc),[email protected](recovery),[email protected](boot),[email protected](system),[email protected](cache),[email protected]
0000(userdata)" boot recovery-clockwork-5.0.2.0-bravo.img
C:\sdktools-toolsonly\android-sdk-windows\tools>adb shell
~ # cat /proc/mtd
cat /proc/mtd
dev: size erasesize name
mtd0: 03e20000 00020000 "radio"
mtd1: 000c0000 00020000 "hboot"
mtd2: 000e0000 00020000 "sp2"
mtd3: 000c0000 00020000 "mfg"
mtd4: 00120000 00020000 "sp1"
mtd5: 000a0000 00020000 "wifi"
mtd6: 000a0000 00020000 "misc"
mtd7: 00480000 00020000 "recovery"
mtd8: 00300000 00020000 "boot"
mtd9: 09600000 00020000 "system"
mtd10: 00500000 00020000 "cache"
mtd11: 11aa0000 00020000 "userdata"
~ # mount /sdcard
mount /sdcard
~ # cat /dev/mtd/mtd0 > /sdcard/radio.img
cat /dev/mtd/mtd0 > /sdcard/radio.img
cat: read error: I/O error Gak!But Nothing happened
~ # cat /dev/mtd/mtd1 > /sdcard/hboot.img
cat /dev/mtd/mtd1 > /sdcard/hboot.img
~ # cat /dev/mtd/mtd3 > /sdcard/mfg.img
cat /dev/mtd/mtd3 > /sdcard/mfg.img
~ # cat /dev/mtd/mtd5 > /sdcard/wifi.img
cat /dev/mtd/mtd5 > /sdcard/wifi.img
~ # umount /sdcard
umount /sdcard
~ # exit
Click to expand...
Click to collapse
So could access and get dumps of all the partitions except for radio.

Related

auto rooting problem

while using haus's auto rooting program the cmd prompt timed out and one post from haus said to restart comp and it will pick up where it left off after running the autoroot prog again. no such luck here is my log
Code:
------------ AutoRoot.bat Begin - v2.3 - Tue 03/01/2011 14:35:03.63 ------------
Params=1'' 2'' 3'' 4'' 5'' 6''
Working Directory is 'C:\Users\Matt\Desktop\ROOT\'
Phone SN is HT0CEHL02888
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='start' STEP='assess'
PING ADB State Changed '1' out of '0'. ADB State is 'device' expected 'device'
Checking MTD configuration...
dev: size erasesize name
mtd0: 00c00000 00040000 "wimax"
mtd1: 00100000 00040000 "misc"
mtd2: 00480000 00040000 "recovery"
mtd3: 00340000 00040000 "boot"
mtd4: 15e00000 00040000 "system"
mtd5: 0a000000 00040000 "cache"
mtd6: 1aa00000 00040000 "userdata"
'check.bat mtd' returned 'new'
MTD data being saved for phone 'HT0CEHL02888'
'dev: size erasesize name mtd0: 00c00000 00040000 "wimax" mtd1: 00100000 00040000 "misc" mtd2: 00480000 00040000 "recovery" mtd3: 00340000 00040000 "boot" mtd4: 15e00000 00040000 "system" mtd5: 0a000000 00040000 "cache" mtd6: 1aa00000 00040000 "userdata" '
Firmware version '3.70.651.1'
Version Major '3'
Version Minor '70'
Battery is at 84 percent.
Checking for root...
UID is 'shell'
Installing exploit...
pkg: /data/local/tmp/AutoRoot.apk
Success
1635 KB/s (767044 bytes in 0.458s)
adb: Product directory not specified; use -p or define ANDROID_PRODUCT_OUT
Sending Intent...
Starting: Intent { act=android.intent.action.MAIN cmp=com.autoroot.getroot/.getroot }
Checking for root...
UID is 'shell'
Checking for root...
UID is 'shell'
Restart ADB Server...
Checking for root...
UID is 'shell'
Still no root shell, giving up.
Checking for ADB...
PLEN='0' PSTATE='recovery' RETURNTO='rootlend' STEP='rageit'
------------ AutoRoot.bat Begin - v2.3 - Tue 03/01/2011 14:42:30.70 ------------
Params=1'' 2'' 3'' 4'' 5'' 6''
Working Directory is 'C:\Users\Matt\Desktop\ROOT\'
Phone SN is HT0CEHL02888
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='start' STEP='assess'
PING ADB State Changed '1' out of '0'. ADB State is 'device' expected 'device'
Checking MTD configuration...
dev: size erasesize name
mtd0: 00c00000 00040000 "wimax"
mtd1: 00100000 00040000 "misc"
mtd2: 00480000 00040000 "recovery"
mtd3: 00340000 00040000 "boot"
mtd4: 15e00000 00040000 "system"
mtd5: 0a000000 00040000 "cache"
mtd6: 1aa00000 00040000 "userdata"
'check.bat mtd' returned 'new'
MTD matches info from INI file.
Firmware version '3.70.651.1'
Version Major '3'
Version Minor '70'
Battery is at 89 percent.
Checking for root...
UID is 'shell'
Installing exploit...
pkg: /data/local/tmp/AutoRoot.apk
Success
1471 KB/s (767044 bytes in 0.509s)
adb: Product directory not specified; use -p or define ANDROID_PRODUCT_OUT
Sending Intent...
Starting: Intent { act=android.intent.action.MAIN cmp=com.autoroot.getroot/.getroot }
Checking for root...
UID is 'Got Root!'
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='s4' STEP='rageit'
Checking for needed files...
Pushing res\flash_image to /data/local/flash_image...
1485 KB/s (76044 bytes in 0.050s)
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='s4' STEP='movefiles'
Pushing res\mtd-eng.img to /sdcard/mtd-eng.img...
1792 KB/s (655360 bytes in 0.357s)
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='s4' STEP='movefiles'
Pushing res\URFSOFF.zip to /sdcard/URFSOff.zip...
1927 KB/s (225014 bytes in 0.114s)
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='s4' STEP='movefiles'
Pushing res\URFSON.zip to /sdcard/URFSOn.zip...
1394 KB/s (225551 bytes in 0.158s)
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='s4' STEP='movefiles'
rm failed for -f, Read-only file system
Pushing res\PC36IMG_UD.zip to /sdcard/PC36IMG.zip...
1678 KB/s (179274182 bytes in 104.308s)
Flashing misc partition...
Rebooting in to bootloader...
Verifying bootloader status...
hBoot version '2.10.0001'
Version Major '2'
Version Minor '10'
Bootloader shows Firmware version '1.17.651.1'
Version Major '1'
Version Minor '17'
hbpreupdate set at '11'
Security is 'on'
Waiting on operator to flash the PC36IMG.zip and reboot into the recovery.
Checking for ADB...
PLEN='1250' PSTATE='recovery' RETURNTO='b2recovery' STEP='recoveryboot'
PING ADB State Changed '1' out of '1250'. ADB State is 'fastboot' expected 'recovery'
PING ADB State Changed '101' out of '1250'. ADB State is 'disconnected' expected 'recovery'
PING ADB State Changed '103' out of '1250'. ADB State is 'offline' expected 'recovery'
PING ADB State Changed '105' out of '1250'. ADB State is 'daemon' expected 'recovery'
------------ AutoRoot.bat Begin - v2.3 - Tue 03/01/2011 15:26:03.44 ------------
Params=1'' 2'' 3'' 4'' 5'' 6''
Working Directory is 'C:\Users\Matt\Desktop\ROOT\'
Phone SN is unknown
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='start' STEP='assess'
PING ADB State Changed '1' out of '0'. ADB State is 'offline' expected 'device'
Couldn't find the phone, Aborting..
Checking for ADB...
PLEN='0' PSTATE='recovery' RETURNTO='start' STEP='assess'
PING ADB State Changed '1' out of '0'. ADB State is 'daemon' expected 'recovery'
Killing ADB server...
------------ AutoRoot.bat End ------------
thanks to anyone that can help
The pc36img needs to be flashed from the hboot before it is able to connect to the recovery. If you hold volume down while turning on the phone it should bring up a white screen asking to update, say yes. Once it finishes tell it not to reboot and then continue on to the recovery. Once that is done it should be able to find the recovery.
Sent from my PC36100 using XDA App
tried that and it brings me to a screen with a red triangle
http://dl.dropbox.com/u/19699565/PC36IMG.zip
Download that and place on the root of your sdcard. I loaded amon_ra in there for recovery. Boot into the bootloader, and select update and then reboot, and then reboot back into the bootloader, decline the update and don't reboot, then select recovery.
just tried that and same deal, but i did notice that the s-on is still there in bootloader if that makes ant differance at all

Evo AutoRoot - BOOTLOADER - Fail-IC

I attempted this once and the bootloader failed. I since used RUU_SuperSonic_S_Sprint_WWE_3.70.651.1_Radio_2.15.00.11.19_NV_1.90_release_161482_signed.exe to restore my phone and try again. This is the log from the 2nd time around. It produced the same problem as before.... was wondering what I can do to change the BOOTLOADER status to Ok instead of Fail-IC.
Thanks for any help you can provide
Code:
------------ AutoRoot.bat Begin - v2.3 - Tue 03/01/2011 23:27:06.41 ------------
Params=1'' 2'' 3'' 4'' 5'' 6''
Working Directory is 'C:\Users\Ben\Desktop\AutoRoot_v2.3\'
Phone SN is HT0BBHL05755
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='start' STEP='assess'
PING ADB State Changed '1' out of '0'. ADB State is 'device' expected 'device'
Checking MTD configuration...
dev: size erasesize name
mtd0: 00c00000 00040000 "wimax"
mtd1: 00100000 00040000 "misc"
mtd2: 00480000 00040000 "recovery"
mtd3: 00340000 00040000 "boot"
mtd4: 15e00000 00040000 "system"
mtd5: 0a000000 00040000 "cache"
mtd6: 1aa00000 00040000 "userdata"
'check.bat mtd' returned 'new'
MTD matches info from INI file.
Firmware version '3.70.651.1'
Version Major '3'
Version Minor '70'
Battery is at 100 percent.
Checking for root...
UID is 'shell'
Installing exploit...
pkg: /data/local/tmp/AutoRoot.apk
Success
1646 KB/s (767044 bytes in 0.455s)
adb: Product directory not specified; use -p or define ANDROID_PRODUCT_OUT
Sending Intent...
Starting: Intent { act=android.intent.action.MAIN cmp=com.autoroot.getroot/.getroot }
Checking for root...
UID is 'ps'
Checking for root...
UID is 'Got Root!'
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='s4' STEP='rageit'
Checking for needed files...
Pushing res\flash_image to /data/local/flash_image...
1280 KB/s (76044 bytes in 0.058s)
Checking for ADB...
PLEN='0' PSTATE='device' RETURNTO='s4' STEP='movefiles'
rm failed for -f, Read-only file system
Pushing res\PC36IMG_UD.zip to /sdcard/PC36IMG.zip...
1601 KB/s (179274182 bytes in 109.351s)
Flashing misc partition...
Rebooting in to bootloader...
Verifying bootloader status...
hBoot version '2.10.0001'
Version Major '2'
Version Minor '10'
Bootloader shows Firmware version '1.17.651.1'
Version Major '1'
Version Minor '17'
hbpreupdate set at '11'
Security is 'on'
Waiting on operator to flash the PC36IMG.zip and reboot into the recovery.
Checking for ADB...
PLEN='1250' PSTATE='recovery' RETURNTO='b2recovery' STEP='recoveryboot'
PING ADB State Changed '1' out of '1250'. ADB State is 'fastboot' expected 'recovery'

[Q] Trouble Rooting 3.70

I am trying to root my Evo using the instructions found here:
http://forum.xda-developers.com/showthread.php?t=838448
I am running into a problem on step 5 and it says my hboot can't be determined or is not yet supported.
I would appreciate any help that can be offered.
Also, if this important, I tried rooting before and failed but it still says S-OFF on my bootloader screen. Even after restoring from a RUU that won't change.
Here is the full report
------------ AutoRoot.bat Begin - v2.4 - Wed 03/16/2011 14:27:14.56 ------------
Params=1'' 2'' 3'' 4'' 5'' 6''
Working Directory is 'C:\Users\Ronald\Desktop\Rooting Stuff\'
Phone SN is HT05WHL07019
PING ADB State Changed '1' out of '0'. ADB State is 'device' expected 'device'
Checking MTD configuration...
dev: size erasesize name
mtd0: 00c00000 00020000 "wimax"
mtd1: 000a0000 00020000 "misc"
mtd2: 00480000 00020000 "recovery"
mtd3: 00300000 00020000 "boot"
mtd4: 15e00000 00020000 "system"
mtd5: 0a000000 00020000 "cache"
mtd6: 1aba0000 00020000 "userdata"
'check.bat mtd' returned 'old'
MTD matches info from INI file.
Firmware version '3.70.651.1'
Version Major '3'
Version Minor '70'
Battery is at 61 percent.
Checking for root...
UID is 'shell'
Installing exploit...
pkg: /data/local/tmp/AutoRoot.apk
Success
623 KB/s (767044 bytes in 1.201s)
adb: Product directory not specified; use -p or define ANDROID_PRODUCT_OUT
Sending Intent...
Starting: Intent { act=android.intent.action.MAIN cmp=com.autoroot.getroot/.getroot }
Checking for root...
UID is 'shell'
Checking for root...
UID is 'Got Root!'
Checking for needed files...
Pushing res\mtd-eng.img to /sdcard/mtd-eng.img...
805 KB/s (655360 bytes in 0.794s)
Flashing misc partition...
Rebooting in to bootloader...
Verifying bootloader status...
hBoot version 'na'
Version Major 'na'
Version Minor ''
Did not recognize hBoot version! Aborting.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Passed to ERRHANDLER
PING ADB State Changed '1' out of '0'. ADB State is 'disconnected' expected 'recovery'
Killing ADB server...
------------ AutoRoot.bat End ------------

AutoRoot Failed - now phone consantly resets, cant charge, and cant see SD card

So I just got a brand new HTC Evo replacement because my old one had power button issues.
I tried using Universal AutoRoot 2.5. CMD closed and I got this output:
"------------ AutoRoot.bat Begin - v2.5 - Tue 06/07/2011 23:33:14.63 ------------
Params=1'' 2'' 3'' 4'' 5'' 6''
Working Directory is 'C:\Users\Mark\Desktop\AutoRoot_v2.5\'. Admin='true'
Clearing Temp Files...
The directory name is invalid.
---------
INFO: No tasks are running which match the specified criteria.
INFO: No tasks are running which match the specified criteria.
INFO: No tasks are running which match the specified criteria.
INFO: No tasks are running which match the specified criteria.
---------
Phone SN is HT15AHL06321
PING ADB State Changed '1' out of '0'. ADB State is 'device' expected 'device'
Checking MTD configuration...
dev: size erasesize name
mtd0: 00c00000 00020000 "wimax"
mtd1: 000a0000 00020000 "misc"
mtd2: 00480000 00020000 "recovery"
mtd3: 00300000 00020000 "boot"
mtd4: 15e00000 00020000 "system"
mtd5: 0a000000 00020000 "cache"
mtd6: 1aba0000 00020000 "userdata"
'check.bat mtd' returned 'old'
MTD data being saved for phone 'HT15AHL06321'
'dev: size erasesize name mtd0: 00c00000 00020000 "wimax" mtd1: 000a0000 00020000 "misc" mtd2: 00480000 00020000 "recovery" mtd3: 00300000 00020000 "boot" mtd4: 15e00000 00020000 "system" mtd5: 0a000000 00020000 "cache" mtd6: 1aba0000 00020000 "userdata" '
EVO Branding 'sprint'
Firmware version '3.70.651.1'
Version Major '3'
Version Minor '70'
Battery is at 70 percent.
Checking for root...
UID is 'shell'
Installing exploit...
pkg: /data/local/tmp/AutoRoot.apk
Success
1593 KB/s (767044 bytes in 0.470s)
adb: Product directory not specified; use -p or define ANDROID_PRODUCT_OUT
Sending Intent...
Starting: Intent { act=android.intent.action.MAIN cmp=com.autoroot.getroot/.getroot }
Checking for root...
UID is 'Got Root!'
Checking for needed files...
Pushing res\mtd-eng.img to /sdcard/mtd-eng.img...
1570 KB/s (655360 bytes in 0.407s)
Pushing res\URFSOFF.zip to /sdcard/URFSOff.zip...
1255 KB/s (225014 bytes in 0.175s)
Pushing res\URFSON.zip to /sdcard/URFSOn.zip...
1159 KB/s (225551 bytes in 0.190s)
Dumping WiMAX partition...
rm failed for -s, Read-only file system
1522 KB/s (12582912 bytes in 8.070s)
WiMAX partition saved as 'HT15AHL06321_wimax.img'
Backing up Apps...
pull: building file list...
0 files pulled. 0 files skipped.
The system cannot find the path specified.
Flashing misc partition...
mtd: read all-zero block at 0x00000000; skipping
mtd: not writing bad block at 0x00080000
error writing misc: No space left on device
Rebooting in to bootloader...
Verifying bootloader status...
hBoot version '2.10.0001'
Version Major '2'
Version Minor '10'
Bootloader shows Firmware version 'ECHO'
Version Major 'ECHO'
Version Minor '' "
----------------------------------------
Now everytime i try to use my phone while it's on:
It doesnt charge while its on
I cant see SD card within the stock ROM
Phone constantly resets after about a minute
However in bootloader i can see the SD card, and the phone charges while its off. I ran the 3.70 RUU which went smoothly, however it did not fix anything =/
Any other ideas? is there a reason why my AutoRoot failed? I've rooted many HTC evo's and never had this problem/problems.
bigblueshock said:
So I just got a brand new HTC Evo replacement because my old one had power button issues.
I tried using Universal AutoRoot 2.5. CMD closed and I got this output:
"------------ AutoRoot.bat Begin - v2.5 - Tue 06/07/2011 23:33:14.63 ------------
Params=1'' 2'' 3'' 4'' 5'' 6''
Working Directory is 'C:\Users\Mark\Desktop\AutoRoot_v2.5\'. Admin='true'
Clearing Temp Files...
The directory name is invalid.
---------
INFO: No tasks are running which match the specified criteria.
INFO: No tasks are running which match the specified criteria.
INFO: No tasks are running which match the specified criteria.
INFO: No tasks are running which match the specified criteria.
---------
Phone SN is HT15AHL06321
PING ADB State Changed '1' out of '0'. ADB State is 'device' expected 'device'
Checking MTD configuration...
dev: size erasesize name
mtd0: 00c00000 00020000 "wimax"
mtd1: 000a0000 00020000 "misc"
mtd2: 00480000 00020000 "recovery"
mtd3: 00300000 00020000 "boot"
mtd4: 15e00000 00020000 "system"
mtd5: 0a000000 00020000 "cache"
mtd6: 1aba0000 00020000 "userdata"
'check.bat mtd' returned 'old'
MTD data being saved for phone 'HT15AHL06321'
'dev: size erasesize name mtd0: 00c00000 00020000 "wimax" mtd1: 000a0000 00020000 "misc" mtd2: 00480000 00020000 "recovery" mtd3: 00300000 00020000 "boot" mtd4: 15e00000 00020000 "system" mtd5: 0a000000 00020000 "cache" mtd6: 1aba0000 00020000 "userdata" '
EVO Branding 'sprint'
Firmware version '3.70.651.1'
Version Major '3'
Version Minor '70'
Battery is at 70 percent.
Checking for root...
UID is 'shell'
Installing exploit...
pkg: /data/local/tmp/AutoRoot.apk
Success
1593 KB/s (767044 bytes in 0.470s)
adb: Product directory not specified; use -p or define ANDROID_PRODUCT_OUT
Sending Intent...
Starting: Intent { act=android.intent.action.MAIN cmp=com.autoroot.getroot/.getroot }
Checking for root...
UID is 'Got Root!'
Checking for needed files...
Pushing res\mtd-eng.img to /sdcard/mtd-eng.img...
1570 KB/s (655360 bytes in 0.407s)
Pushing res\URFSOFF.zip to /sdcard/URFSOff.zip...
1255 KB/s (225014 bytes in 0.175s)
Pushing res\URFSON.zip to /sdcard/URFSOn.zip...
1159 KB/s (225551 bytes in 0.190s)
Dumping WiMAX partition...
rm failed for -s, Read-only file system
1522 KB/s (12582912 bytes in 8.070s)
WiMAX partition saved as 'HT15AHL06321_wimax.img'
Backing up Apps...
pull: building file list...
0 files pulled. 0 files skipped.
The system cannot find the path specified.
Flashing misc partition...
mtd: read all-zero block at 0x00000000; skipping
mtd: not writing bad block at 0x00080000
error writing misc: No space left on device
Rebooting in to bootloader...
Verifying bootloader status...
hBoot version '2.10.0001'
Version Major '2'
Version Minor '10'
Bootloader shows Firmware version 'ECHO'
Version Major 'ECHO'
Version Minor '' "
----------------------------------------
Now everytime i try to use my phone while it's on:
It doesnt charge while its on
I cant see SD card within the stock ROM
Phone constantly resets after about a minute
However in bootloader i can see the SD card, and the phone charges while its off. I ran the 3.70 RUU which went smoothly, however it did not fix anything =/
Any other ideas? is there a reason why my AutoRoot failed? I've rooted many HTC evo's and never had this problem/problems.
Click to expand...
Click to collapse
Well, I unfortunately don't have any experience with the Auto Root method. Hopefully xHausx will chime in here. Out of curiosity, your replacement phone did indeed have 2.2 on it, right? Because if it was updated to the OTA 2.3.3 that root method won't work. What is your software and hboot version?
Perhaps try running the RUU again?
I believe there is a thread around by Calkulin which addresses the issue of the phone not reading the sd card and not charging. I will see if I can dig that up for you. Good luck.
EDIT: Here is that thread by calkulin. I'm not sure if this will be able to help you out or not, but you can go through it anyways. When you boot to your bootloader, does it show S on or S off? What is the version number?
Flashing misc partition...
mtd: read all-zero block at 0x00000000; skipping
mtd: not writing bad block at 0x00080000
error writing misc: No space left on device
Click to expand...
Click to collapse
Your phone had some bad blocks there, that's strange for a new one. I can help you try to fix it but tbh your best bet is to run the 3.70 ruu and take it back for another. Otherwise odds are it'll start doing this again somewhere down the line.
xHausx said:
Your phone had some bad blocks there, that's strange for a new one. I can help you try to fix it but tbh your best bet is to run the 3.70 ruu and take it back for another. Otherwise odds are it'll start doing this again somewhere down the line.
Click to expand...
Click to collapse
Thanks Haus. Yea very odd... It's a brand new sealed 0004 model. I hope it's just luck of the straw. I'm going to head back to sprint later and get it replaced again. I just hope not all the new 0004's are like this. They dont have any refurbs in stock so they had to send me a brand new one.
bigblueshock said:
Thanks Haus. Yea very odd... It's a brand new sealed 0004 model. I hope it's just luck of the straw. I'm going to head back to sprint later and get it replaced again. I just hope not all the new 0004's are like this. They dont have any refurbs in stock so they had to send me a brand new one.
Click to expand...
Click to collapse
You should be good with another one, I've only had maybe 4 or 5 people have this happen before and up until now they were all refurbs. Just luck of the draw I guess.
edit: btw that speedtest result is sick, I would love to have a ping like that
The phone had stock 3.70 2.2 froyo. Phone is s-on with 2.10 bootloader, never got that far to get it s off
And yeah, too bad i just graduated from school, no more 100mbit pipe for me, was nice while it lasted
bigblueshock said:
The phone had stock 3.70 2.2 froyo. Phone is s-on with 2.10 bootloader, never got that far to get it s off
And yeah, too bad i just graduated from school, no more 100mbit pipe for me, was nice while it lasted
Click to expand...
Click to collapse
2.10 bootloader should work, it is the 2.19 one i believe that is locked.
So sprint swapped out the phone at the store. I'm pretty excited, he gave me a brand new White evo =)
I got home and autoroot worked flawlessly! Thanks again Haus for all your support and easy rooting techniques.
I'm not sure if this is the possible reason for my old phone bricking like that, but I'd like to share some knowledge.
My original 0004 model that sprint sent me was brand new, as well as the white evo 0004 sprint gave me was also brand new. While attempting to root the first replacement, 'check.bat mtd' returned 'old'. The second replacement white evo returned as "new". Not that i think it matters, but they both came with 2.10 bootloader and 3.70 base.
I have a strange feeling the first replacement had new block size, but for some reason a bug marked it as having the old block size. I just dont see how a brand new just made 0004 evo would have the old block size.
Could this have been the culprit?

[Q]How to get boot.img and recovery.img

Hi.
I'd like to get boot.img and recovery.img from my Acro(Arc)
I read this 'how to'.
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
But I could not get same result.
Please tell me how to get it.
Recovery & boot are held on the same partition. So there is only one "boot.img".
Sent from my R800i using Tapatalk
Thank you.
I understood it.
But I can't find that partition.
Code:
~ # cat /proc/mtd
cat /proc/mtd
dev: size erasesize name
mtd0: 13880000 00020000 "system"
mtd1: 00a00000 00020000 "appslog"
mtd2: 0e100000 00020000 "cache"
mtd3: 17c00000 00020000 "userdata"
How is it done?

Categories

Resources