Hi
I think i messed up my wildfire possibly badly.
A accidentally flashed a hboot of my htc vision to my htc wildfire.
with the following command:
dd if=/data/local/hboot_7230_Vision_HEP_0.85.0005_101011.nb0 of=/dev/block/mmcblk0p18
after I did this I realized I made a mistake.
First question:
Is /dev/block/mmncblk0p18 also the hboot partition of the wildfire?
Second question:
if above statement is correct can somebody provide me an eng hboot so I can flash this?
I haven't rebooted the phone yet, and still have root access.
Related
I have Desire z and I have followed this guide
http://forum.xda-developers.com/showthread.php?t=905261&highlight=1.72+downgrade but doesn't look like i have done engineering hboot, and my bootloader showing
vision pvt ship s-off
hboot-0.85.0005
microp-0425
radio-26.03.02.26_m
eMMC-boot
oct 11 2010, 20:10:38
Fastboot
now i may requre to flash radio, which i understand i need engineering hboot, i just want to know how can i get engineering hboot
thanks
whitepandaaa said:
I have Desire z and I have followed this guide
http://forum.xda-developers.com/showthread.php?t=905261&highlight=1.72+downgrade but doesn't look like i have done engineering hboot, and my bootloader showing
vision pvt ship s-off
hboot-0.85.0005
microp-0425
radio-26.03.02.26_m
eMMC-boot
oct 11 2010, 20:10:38
Fastboot
now i may requre to flash radio, which i understand i need engineering hboot, i just want to know how can i get engineering hboot
thanks
Click to expand...
Click to collapse
Well it looks like you have s-off so you're 80% there already, check the wiki for rooting the vision and the desire z bootloader you're looking for is there along with instructions to flash.
Sent from my HTC Vision using XDA App
You can easily flash an eng hboot via gfree (using the -b option)
You don't need eng hboot to flash a new radio though, if you download the radio from the radio thread as a PC10IMG.zip, you can just put that on the root of your sd card and flash it via ship hboot.
-Nipqer
i was just looking at this link http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#What_Missing_2GB.3F, i suppose i just go and do the hboot bit plus 4a. and so on?
i was interested to flash Virtuous G-Lite and the radio that recommended are in img files...
Nevermind...
ok so i think i need.
HTC Desire Z: vision.hboot-0.84.2000.zip (md5sum 2CE1BDD5E4C1119CCFCECB938710D742)
then "$ adb push hboot-eng.img /data/local/tmp/"
# cd /data/local/tmp
# ./busybox md5sum hboot-eng.img
# ./busybox md5sum /dev/block/mmcblk0p18
is this correct?
can anyone advice me?
whitepandaaa said:
ok so i think i need.
HTC Desire Z: vision.hboot-0.84.2000.zip (md5sum 2CE1BDD5E4C1119CCFCECB938710D742)
then "$ adb push hboot-eng.img /data/local/tmp/"
# cd /data/local/tmp
# ./busybox md5sum hboot-eng.img
# ./busybox md5sum /dev/block/mmcblk0p18
is this correct?
can anyone advice me?
Click to expand...
Click to collapse
That is the correct hboot, and that will give you the md5's for your ship hboot (line 3) and your engineering (line 2). Write those down, it's how you see if the push was successful. If for some reason after attempting to push the new hboot your md5 of mmcblk0p18 doesn't match either, stop, DON'T REBOOT and run for help to #G2ROOT on freenode. Those guys there are great and will help you
Sent from my HTC Vision using XDA App
I bought a desire (used) and upgraded it from official Froyo to official Gingerbread via RUU, now i decided to install any custom rom on it, for this i downloaded all necessary files (revolutionary etc.), following is the information of my desire;
BRAVO PVT4 SHIP S-OFF
HBOOT-1.02.0001
MICROP-051D
TOUCH PANEL-SYNT0101
RADIO-5.17.05.23
JULY 22 2011, 16:19:16
I was surprised to see it was already S-OFF, my questions are;
1) why is it already S-OFF? (it was not rooted before upgrade)
2) Tell me the steps for gaining root or installing custom recovery? (in my case where i am already s-off)
3) Do i have to run revolutionary or just start by installing amon-ra recovery by android-win-tools method?
I am new to this thing and never rooted or installed custom rom before, but went through a lot of threads in this forum and did not find any clue relating to my case.
Thanks in advance.
Ashar said:
I bought a desire (used) and upgraded it from official Froyo to official Gingerbread via RUU, now i decided to install any custom rom on it, for this i downloaded all necessary files (revolutionary etc.), following is the information of my desire;
BRAVO PVT4 SHIP S-OFF
HBOOT-1.02.0001
MICROP-051D
TOUCH PANEL-SYNT0101
RADIO-5.17.05.23
JULY 22 2011, 16:19:16
I was surprised to see it was already S-OFF, my questions are;
1) why is it already S-OFF? (it was not rooted before upgrade)
2) Tell me the steps for gaining root or installing custom recovery? (in my case where i am already s-off)
3) Do i have to run revolutionary or just start by installing amon-ra recovery by android-win-tools method?
I am new to this thing and never rooted or installed custom rom before, but went through a lot of threads in this forum and did not find any clue relating to my case.
Thanks in advance.
Click to expand...
Click to collapse
I don't think this s-off is as "thorough" as revolutionary. I tried to get someone else who had this but his English was not too good so didn't get very far. It would be nice to know the limitations of this factory S-off though.
Have you got a recovery in mind? As you are PVT4, you need to be aware that you cannot use clockworkmod 2.5.0.7 if you are erase size 40,000. Which means you need to use a newer CWM (Bah) or AmonRA.
To find out, download a terminal emulator from the market:
Code:
cat /proc/mtd
(note space between cat and /)
Then you need to fastboot flash recovery. Follow link in my signature for an adb and fastboot faq. Also be aware adb and fastboot are different things. adb has nothing to do with this.
Please use the Q&A Forum for questions Thanks
Moving to Q&A
rootSU said:
I don't think this s-off is as "thorough" as revolutionary. I tried to get someone else who had this but his English was not too good so didn't get very far. It would be nice to know the limitations of this factory S-off though.
Have you got a recovery in mind? As you are PVT4, you need to be aware that you cannot use clockworkmod 2.5.0.7 if you are erase size 40,000. Which means you need to use a newer CWM (Bah) or AmonRA.
To find out, download a terminal emulator from the market:
Code:
cat /proc/mtd
(note space between cat and /)
Then you need to fastboot flash recovery. Follow link in my signature for an adb and fastboot faq. Also be aware adb and fastboot are different things. adb has nothing to do with this.
Click to expand...
Click to collapse
Thanks for your quick reply. Please note some of results for MTD and ROOT Check.
$ export PATH=/data/local/bin:$PATH
$ cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00040000 "misc"
mtd1: 00480000 00040000 "recovery"
mtd2: 00340000 00040000 "boot"
mtd3: 0fa00000 00040000 "system"
mtd4: 02800000 00040000 "cache"
mtd5: 096c0000 00040000 "userdata"
$
It means my erase size is 40,000 and i need latest CWM, or AmonRA recovery?
Root Checker Advanced Root Access Results
Superuser.apk - com.noshufou.android.su - is NOT installed!
The application Superuser is recommended as it provides basic security and is available for free in the Android Market
System Environment PATH: /sbin /vendor/bin /system/sbin /system/bin /system/xbin
The adb binary is set to default shell user access as a standard non-root user
Standard su binary location: ls -l /system/bin/su:
/system/bin/su: No such file or directory
Standard su binary location: ls -l /system/xbin/su:
/system/xbin/su: No such file or directory
Alternate su binary location:
/sbin/su: Permission denied
Alternate su type binary location:
/system/xbin/sudo: No such file or directory
SU binary not found or not operating properly
Results provided on your HTC Desire device by Root Checker version 3.7 from joeykrim in the Android Market - http://goo.gl/GgWae
May be you can extract limitations of this factory s-off from above technical data.
Now may i do the following?
1) run revolutionary and do not install recovery from therein.
2) flash fastboot recovery by android-win-tools method.
3) flash su-2.3.6.3-efgh-signed from within custom recovery
4) flash any custom rom.
or may i skip step 1 and follow the rest?
thanks in advance
rootSU said:
I don't think this s-off is as "thorough" as revolutionary. I tried to get someone else who had this but his English was not too good so didn't get very far. It would be nice to know the limitations of this factory S-off though.
Click to expand...
Click to collapse
Well it is exactly, as s-off as if you did it using revolutionary. So the bootloader won't check signatures(which is the definition of s-off), but you won't be able to use fastboot commands, as those are not included in the stock hboot.
To be able to flash a recovery using "fastboot flash recovery" He must first flash a custom hboot with fastboot commands enabled. Do the following:
1. download this zip file: http://alpharev.nl/PB99IMG_stock.zip
2. Rename it to "PB99IMG.zip"(make sure it's not PB99IMG.zip.zip, as windows may hide the ending)
3. Place this file on the root of your sd-card.
4. Shut down your phone and boot up by holding "vol-down" and pressing power While keeping "vol-down" pressed until you enter hboot.
Your phone should now flash the image, and you should be able to flash a recovery using fastboot commands.
(This means you don't need to use revolutionary, but you cannot just flash cwm before doing the above steps either)
Thanks for the info, I wasn't aware of fastboot.
So the signature checking is also in nvram?
Sent from my HTC Desire using XDA App
mortenmhp said:
Well it is exactly, as s-off as if you did it using revolutionary. So the bootloader won't check signatures(which is the definition of s-off), but you won't be able to use fastboot commands, as those are not included in the stock hboot.
To be able to flash a recovery using "fastboot flash recovery" He must first flash a custom hboot with fastboot commands enabled. Do the following:
1. download this zip file: http://alpharev.nl/PB99IMG_stock.zip
2. Rename it to "PB99IMG.zip"(make sure it's not PB99IMG.zip.zip, as windows may hide the ending)
3. Place this file on the root of your sd-card.
4. Shut down your phone and boot up by holding "vol-down" and pressing power While keeping "vol-down" pressed until you enter hboot.
Your phone should now flash the image, and you should be able to flash a recovery using fastboot commands.
(This means you don't need to use revolutionary, but you cannot just flash cwm before doing the above steps either)
Click to expand...
Click to collapse
Thanks for your reply, please answer these questions ( i am so careful because i m doing it for the first time)
1) what will be my hboot version after flashing PB99IMG.zip? (right now my hboot is 1.02.0001 and i am on stock gingerbread 2.3.3)
2) if i just want to gain root access and dont want a custom rom, do i need to flash hboot and recovery or just flash su-2.3.6.3-efgh-signed?
(i just want to uninstall adobe flash player 10.1 and google maps 5.2 from system preinstalled in 2.3.3 to gain some space for installing latest versions 10.3 and gm 5.10)
thanks in advance
It'll be 6.093 or something. You can't flash su without flashing recovery. You can't flash recovery until you do PB99IMG.zip
Removing pre installed apps just makes space in system, which is not where you install apps so doing that alone will not give you more space.
Have a read of the root memory faq in my signature
Sent from my HTC Desire using XDA App
rootSU said:
So the signature checking is also in nvram?
Click to expand...
Click to collapse
Well not exactly, but the stock hboot allows for skipping signature check if the flag in nvram is set AFAIK.
rootSU said:
It'll be 6.093 or something. You can't flash su without flashing recovery. You can't flash recovery until you do PB99IMG.zip
Removing pre installed apps just makes space in system, which is not where you install apps so doing that alone will not give you more space.
Have a read of the root memory faq in my signature
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
After doing PB99IMG.zip my phone info is as follows;
BRAVO PVT4 SHIP S-OFF
HBOOT-6.93.1002 (it was 1.02.0001 before)
MICROP-051d
RADIO-5.17.05.23
Aug 10 2010, 15:52:18 (it was July 22 2011, 16:19:16 before)
Now please recommed me the recovery (CWM or AmonRA) and a custom rom (fast, stable, more user space, more battery) to flash, thanks again for your kind help and guidance
mortenmhp said:
Well not exactly, but the stock hboot allows for skipping signature check if the flag in nvram is set AFAIK.
Click to expand...
Click to collapse
Yes, alpharev hboots "ignore" the NVRAM flag. But I am unsure how these factory hboots with s-off work. I don't understand why they would implement an ignore via hboot, when they have the flag in NVRAM. I would expect them to turn the flag of at source instead of using the same work around as alpharev, which is what I am confused about.
Thats kind of why I wanted someone to investigate, but the fastboot commands make sense. I suppose the Nexus one haas embeded fastboot commands as it's a developer phone. Although, why HTC would release an S-OFF version of the desire but ommit fastboot is beyond me. I thought the whole reason they did this was due to petition pressure not to lock it down too much
Hi all, I followed the step in strawmetals guide to root, s-off, and debrand htc DZ. I am not sure if it worked. Android down grade appeared to work but how do I
1. Tell if I am perm rooted?
2. Confirm S-OFF?
3. Confirm Debranding?
In device settings I have,
Android Ver 2.2
Build Ver. 1.34.405.5
If your phone is on and you see superuser app its rooted. As far as checking soff and debrand boot into bootloader. There are commands to run with adb that tell u all that as well. They are usually included in guides
Sent from my HTC Vision using xda premium
Boot loader method: boot your phone to boot loader (power off, hold power on and down volume)
Edit: remember to remove any PC10IMG.zip from your SD card.
you will see
PVT ENG S-OFF
H BOOT 0.76.200
Then choose from menu chose Bootloader => System Info
you will see, at near bottom CID 11111111
Then you're ENG S-OFF, perm root, SIM unlocked
gfree method
extract this in to your adb folder http://www.thinkthinkdo.com/trac/project1/raw-attachment/wiki/gfree/gfree_verify_v01.zip
run:
$adb push gfree_verify /data/local
$adb shell
#su
#cd data/local
#chmod 777 gfree_verify
# stop ril-daemon
# ./gfree_verify
You will get
gfree verify_cid returned:
@CID: 11111111
gfree verify_secu_flag returned:
@secu_flag: 0
gfree verify_simlock returned:
@SIMLOCK= 00
I did not try the gfree verify myself so I cannot recommend it, try at your own risk. I recommend the bootloader method because it's easier and you don't have to run any code.
Please click thanks if this helps.
Edit: at this point, you should start to happy flashing I would recommend Adromadus Audacity Beta 2
KyraOfFire said:
Boot loader method: boot your phone to boot loader (power off, hold power on and down volume)
Edit: remember to remove any PC10IMG.zip from your SD card.
you will see
PVT ENG S-OFF
H BOOT 0.76.200
Then choose from menu chose Bootloader => System Info
you will see, at near bottom CID 11111111
Then you're ENG S-OFF, perm root, SIM unlocked
Click to expand...
Click to collapse
Sorry, but this isn't right. That just shows you have S-OFF and SuperCID. It doesn't say anything about whether you have root access or not (which the Superuser app can tell you, or running an app that needs root, or trying to "su" in Terminal Emulator). For instance, you can be S-OFF but running a non-rooted stock ROM.
SuperCID is completely separate from SIM unlock.
gfree_verify can show you the SIM unlock though, as you said.
Sent from my Desire Z running CM7.
u guys are good
Ok, here is what i got
Vision pvt eng s-off
hboot-0.84.2
emmc-boot
@simlock=00
cid = 1111111
I am rooted
Thanks
@steviewevie: thanks, I learned something new
Big Bam said:
Ok, here is what i got
Vision pvt eng s-off
hboot-0.84.2
emmc-boot
@simlock=00
cid = 1111111
I am rooted
Click to expand...
Click to collapse
You have S-OFF, SIM unlock and SuperCID. That doesn't show whether you are rooted or not, but that setup means you can flash a pre-rooted custom ROM, or alternatively you can root another ROM that is rootable and your root will be permanent (since you have S-OFF).
KyraOfFire - you are very welcome !
Sent from my Desire Z running CM7.
Sorry for my pour English!
I am a Chinese , and in China there are some htc phones were locked in hboot by some speculators. They use xtc-clip unlock the official hboot so we can see it shows s-off and cid is 11111111 , then they flash a modified hboot designed by themselves so that we can not flash any RUU and PG76IMG.zip with this modified hboot. We call this phone is Trojan phone or virus phone.
I have two ideas to solve this problem. One is flash CWM recovery so I can flash rom in recovery mode , but it's not a perfact method. The other is to flash back to official hboot so I can flash RUU and PG76IMG.zip.But it is impossible to flash stock hboot in modified hboot mode, it doesn't work.
Maybe some of you guys know, if we have root permission when we load system use ADB SHELL, then we can use dd command to recover hboot just like
Desire HD("dd if=/data/local/tmp/hboot_7230_Ace_0.85.0024_110411.nb0 of=/dev/block/mmcblk0p18"), "/dev/block/mmcblk0p18" is the hboot partition mount point in Desire HD.
Now the problem is I can't find the hboot partition mount point in G13. Could anyone tell me the mount point or how to get the hboot partition address in nand flash ?
Hi I have HTC Desire Z A7272 rooted with gfree, psneuter etc according to instructions on cyanogenmod wiki. Now I want to unroot my device, I've already succeed with OS return to stock by extracting zip from RUU exe. But now I have problem with S-ON flag and CID. My device wasn't branded by my operator. I fallowed instructions from this thread http://forum.xda-developers.com/wik..._gfree_to_get_radio_S-ON_and_the_original_CID and at the end I'm getting and I did everything in correct order but when I'm executing command /data/local/tmp/gfree -s on -c HTC__032 (my operator in Poland is PLAY)
at the end (when creating backup) error : Error opening backup file. So my CID is still 11111... and S-OFF is visible in my bootloader.
Please help.
is your phone in charge only mode? make sure it is.
gfree needs to be able to write to the sdcard to make the backup.
-Nipqer