Root Problem - myTouch 3G, Magic General

Hello. Sorry if I'm posting this in the wrong section. But I've been trying to root the damned phone for 2 days. I got a problem.
http://forum.xda-developers.com/wiki/index.php?title=HTC_Sapphire_Hacking
It's about this article. I have downloaded the SDK.zip for android and have extracted it into C;\AndroidSDK
I have also added the " ;C:\AndroidSDK\tools\ " thingie where it says.
I connect my HTC Magic, select mount for SD, then I'm going to Command Prompt and type adb devices. After that it says that adb is not recognizes as blah blah blah.
What am I doing wrong? I'm trying to install Android 2.1 and I can't root it. :<

When you open the command prompt, try typing "cd C:\AndroidSDK\tools" then run "adb devices".

Oh thanks! It now displays my device's serial number. After that I type fastboot devices
Then I download Amon_RA's recovery file but I don't know what to download from his link. http://forum.xda-developers.com/showthread.php?t=530492

What's your fastboot information? Hold back+power to turn on the device and post EVERYTHING from there.

SAPHIRE PVT 32A SHIP S-ON H
HBOOT-1.76.0009 (SAPP10000)
CPLD-12
RADIO-6.35.08.29
Dec 8 2009, 17:38:48

Do what DonJuan692006 tells in the next post :0)

You've got a perfected SPL so your not going to be able to just do the "fastboot flash recovery blah.zip" command. Your going to have to go a different route. Do steps 1-5 and 7. At step 5, your going to use this one: "adb push C:\roottools\6.35Radio\Recovery-RA-hero-v1.6.2.img /sdcard" since you have the 6.35 radio. You don't want to mess with your SPL until you get further guidance on here and do some extensive research on the benefits/risks involved. Pay very close attention to what he says.

Well, I created a goldcard and typed fastboot boot recovery-rom.img and it displays a list full of commands. Now what? 8D

The phone displays a list of commands or the command prompt does?

The command prompt does. Also, I have downloaded Cyanogen 6.1 stable( saw it both from the article and your sig ). Now I got to install it, right?

No, you've got to get a custom recovery installed first. You can use the goldcard to flash an engineering SPL so that you can do so from fastboot, but that's the dangerous way. The easy way to get CM 6.1 installed is to follow my suggestion from post #7.

The fastboot boot recovery-rom.img doesn't work. It says remote: not allow

Your killing me. No fastboot commands are going to work since you have a perfected SPL. Stop being hard headed and follow the guide I pointed you to. It'll take 10 minutes and you'll be rooted. Then we'll start getting CM 6.1 installed.

How do I copy the contents of RootTools? o.0 I can;t find it in ym SD card

You don't need to copy them, you just need to extract them to your computer.

Well, how do I find the RootTools folder? :O

Depends where you saved it to when you downloaded it. You have to download it from one of the links at the bottom of the first post in that guide.

Ok, I installed the app and now Im a super user. Now what?

Did you do steps 5 and 7 to get the custom recovery installed? If you know how to use Google talk, add me on there: [email protected]

Yes. I did 5 and 7. I'm at 8. System restarted.... it says: formatting cache:...

Related

Cant root/update my HTC Magic .- S

Hi all, (first time posting)
I am trying to root my HTC Magic but so far nothing has succeded.
What I want:
I want +1.6 firmware and to be able to use 2.x OS with the newest apps in Android Marked. So far there is alot of apps not present when using firmware 1.5.
What I have tried:
I have created a "Goldcard" successfully but when Iam trying to update with the 2.53.707.2_-_sappimg (renamed to SappIMG.zip) it says "Main version is older" - update failed.
In Recovery Mode it wont continue, it just stock with the !(picture), i cant seem to get any menu up to flash and choose any recovery files.
Ive tried to downgrade:
from RUU_Sapphire_HTC_Europe_3.05.401.3_release_signed_NoDriver
to RUU_Sapphire_HTC_Europe_3.05.401.1_test_signed_NoDriver
I have used the all the guides I could fine to create Goldcards, recovery images. Using fastboot commands to flash from windows etc etc. Everytime I use fastboot write commands I keept saying fastboot failed, remote: not allow
Some of the guides I have used:
http_://_android-hilfe.de/root-hacking-modding-htc-magic/28434-how-wie-man-das-32a-magic-flashen-kann.html
http_://_forum.xda-developers.com/showthread.php?t=688262
http_://_wiki.cyanogenmod.com/index.php/Full_Update_Guide_-_G1/Dream/Magic32A_Firmware_to_CyanogenMod
Any help is much appreciated
Phone details:
SAPPHIRE PVT 32A SHIP S-ON H
HBOOT-1.76.0008 (SAPP10000)
CPLD-12
RADIO-6.35.08.29
Nov 3 2009 15:56:29
Modelnummer: HTC Magic
Firmware version: 1.5
Basebandversion: 63.18.55.06JU_6.35.08.29
Kernesystem: 2.6.27-5b476e83
Versionnummer: 3.05.401.1 CL#95168 test-keys
Mod. edit: not dev related, moved to general
gl though
Hi guy,
If you are running RUU_Sapphire_HTC_Europe_3.05.401.3_release_signed_ NoDriver, you can do some step to root your phone.
You can continue step 4 in this guide: http://rootyourmagic32a.blogspot.com/2010/04/root-htc-magic.html
Zurog said:
Hi all, (first time posting)
What I have tried:
I have created a "Goldcard" successfully but when Iam trying to update with the 2.53.707.2_-_sappimg (renamed to SappIMG.zip) it says "Main version is older" - update failed.
Click to expand...
Click to collapse
I think, if it says "Main version is older", that you have not successfully created your goldcard. This happened to me when I rooted. I made two mistakes, which I can share.
1) Some SD cards cannot be edited to make goldcards. I had a sandisk, that I thought was making a goldcard, but it was not. However, when I used the same procedure on a kingston 2 gig, it worked perfectly.
2) The SD card that will become your goldcard must be in the phone when you type the "cat /sys/class/mmc_host/mmc1/mmc1:*/cid" command. Otherwise, you will not make the correct goldcard.
I hope my mistakes can help you.
-bb
I also have this error.
* Phone details is exactly the same.
* GoldCard seems to be fine (is there a way to check it?) I bought a brand new 2GB Kingston.
* Fastboot gives the error failed, remote: not allow
* flash_image recovery recovery.img gives the error error opening recovery.img, no such file or directory
* When I reboot with adb shell reboot recovery I get to FASTBOOT USB in red and HTC Magic in white on a black screen. I guess this means I haven't gotten the recovery image installed.
* If I run ROM Manager from ClockworkMod I no longer get the Can only be run as root, but I get an error running privileged commands ?
* If I try Flashrec I can download the recovery image, but nothing else will happen. It will not backup anything or run anything I put in there.
* It doesn't matter if I enter anything in cmd in windows 7 or if I run it in an emulator window in the cell phone itself.
So where I stop is I seem to not get the recovery image started.
Any help? I'm all out of ideas!
If your getting Main Version is older, then your goldcard is hosed. The purpose of the goldcard is to bypass the version check. Format your goldcard to FAT32 and do not do a quick format (if you do it from Windows) and start over. This guide worked like a charm for me.

Can't install RA recovery onto rogers magic - please help

I am using this website, and am at step 6. Everything up to this point has been going well, but i cannot get the recovery image to copy over. BTW I have the recovery-RA-sapphire-v1.7.0H.img file i'm using. When I type to push the file to the SDcard, it says, the transfer failed because the file system is read only.
How do I fix this? I've restarted the phone, taken the SD card in and out, i've typed adb remount, and nothing is working.
. Open command prompt and go to the Tools folder in Android SDK that you downloaded to create the gold card.
Assuming that you have not changed the file name of the recovery, use the following commands:
cd C:\AndroidSDk\tools
adb push recovery-RA-hero-v1.6.2.img /sdcard/
adb shell
flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img (file name of the recovery you downloaded)
OK, i've got that working, now another problem...
cd C:\AndroidSDk\tools
adb push recovery-RA-hero-v1.6.2.img /sdcard/
adb shell
flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img (file name of the recovery you downloaded)
7. After the recovery has been flashed, go to the following link to download the ENG SPL for HTC MAGIC 32A (SPL: 1.76.2007)
http://www.4shared.com/file/21114537...07-signed.html
8. Now copy the SPL to your memory card.
adb push update-hboot-1762007-signed.zip /sdcard/
9. Restart your phone using the home + power key till it boots up into the recovery mode.
(or just type 'adb shell reboot recovery')
10. Using the 'Flash zip file' option from the recovery, select the SPL file from the memory card and flash the HBOOT on your phone
Now i've done most of that, but when I restart into recovery mode, it keeps on randomly rebooting even though I don't want it to. I clicked on 'flash zip file' and it just rebooted right away.
Now when I flashed the recovery, the command prompt said that it did it, BUT nothing happened on my phone, it was just sitting there and didn't say it was doing anything. Could this be a problem?
OK i kept trying, and finally i got it to go into 'flash zip file', I clicked on the correct zip file, but right after clicking the screen went black and it restarted.
Does this sound like it worked? How do I check to confirm if it worked and it's rooted?
Ok I did this, and it said ADB is already running in root in the cmd, so i think i'm good!!!
Thanks!
The easiest way to test if the device is rooted is to open another command prompt in the tools dir and type
adb root
If it returns that adab is already running in root, then you're all set.
So as i said, i installed the sapphire recovery, but now i'm reading on the wiki page that you need the HERO recovery file. I need to change the radio, but then it is saying i needed the HERO recovery.
This is so damn confusing why can't anyone get this all straight and not have so many different and totally contradicting methods.
http://wiki.cyanogenmod.com/index.p...agic32A_Firmware_to_CyanogenMod#6.35.x_Radios
The wiki here says to use the HERO recovery, but this thread only gives the sapphire recovery for the HTC magic.
http://forum.xda-developers.com/showthread.php?t=530492
Now to clarify i checked and i think i have successfully rooted, but the specs are this.
Sapphire PVT 32A ship s-on H
Hboot-1.76.0008
CPLD-12
RADIO-6.35.08.29
I'm told i need to change the radio now before I can install the cyanogen rom, is this true?
I can't find out what to do because no one seems to talk about the 1.76.0008 spl...
Any help?
OK so more playing and more following guides, I installed the HERO recovery tool (1.6.2), and updated the radio to 6.35.10.18, changed my SPL to 1.76.2007, and have my PVT 32A ENG S-OFF H setup.
I'm confused though, because I did all of this work so I can install the lastest cyanogen rom, but it says it can't use this version of the radio... what the hell?
Someone REALLY needs to fix these tutorials to be self consistant.
http://forum.xda-developers.com/showthread.php?t=605239
follow this, got it all done, then go here to get the cyanogen mod...
http://forum.xda-developers.com/showthread.php?t=673394.
What do I do now?? Do I downgrade my radio or just use a different rom?
thesmoth said:
OK so more playing and more following guides, I installed the HERO recovery tool (1.6.2), and updated the radio to 6.35.10.18, changed my SPL to 1.76.2007, and have my PVT 32A ENG S-OFF H setup.
I'm confused though, because I did all of this work so I can install the lastest cyanogen rom, but it says it can't use this version of the radio... what the hell?
Someone REALLY needs to fix these tutorials to be self consistant.
http://forum.xda-developers.com/showthread.php?t=605239
follow this, got it all done, then go here to get the cyanogen mod...
http://forum.xda-developers.com/showthread.php?t=673394.
What do I do now?? Do I downgrade my radio or just use a different rom?
Click to expand...
Click to collapse
Here is a link to a test kernel port file for CM 5.0.8 from Brian Crook. This should allow you to run CM using your current Radio. Like I say it's a test port and I haven't tried it but Brian is the one that does all the ports to the Rogers 3.x radios.
http://briancrook.ca/android/testing/
you'll need to download the file bc-5.0.8-6355-ebi1-signed.zip
You would use recovery to flash CM 5.0.8 then flash this kernel port file. After that don't forget to flash the gapps package that should be linked in one of the URL's that you already posted or you can get it here http://kanged.net/mirror/download.php?file=gapps-ds-ERE36B-signed.zip
PLEASE NOTE
Do not change your radio from it's current 6.x version without flashing the matching SPL for the new radio. If you fail to flash the SPL/Radio combination correctly you WILL brick your phone.

Please help un-brick my phone

Hello,
back again: after some idiots with jtag equipment were unable to reinstall software on my phone i have decided to take another chance:
The reason for this software reinstall is that the phone is not starting: it shows htc magic twice then htc and then it shuts down.
So i managed to create a goldcard - yes i know it is working
I have managed to get my phone to this stage by using an amon_ra sappimg.zip file:
sapphire pvt 32A eng s-off H
hboot-1.33.2010 (sapp10000)
cpld-12
radio-3.22.20.17
jun 2 2009
as you can see i can enter fast boot ... but ... i hace no ideea on what to do next: what to install ?
I have to mention that adb devices or fastboot devices are not (yet hopefully) detecting my phone.
Please help!
come on! 40 views and no one gives a ... just say : flash this or follow this.
I've read so many threads and everything is so mumbo jumbo. only a few people know what to do, the others just walk in the dark.
I've done it twice on HTC Magic. I've followed the instructions on CyanogenMod's wiki (Google cyanogenmod wiki sapphire dream jtag).
If you've got fastboot then it is no longer bricked. It is just then a matter of adb'ing the recovery image to the unit. You are almost there ....
Sent from my HTC Magic using XDA App
You got to fastboot? Wonderful!
You can connect it to your PC and run:
Code:
fastboot flash recovery <file>.img
From where you'll be able to flash the recovery you want - then poweroff the phone and press Home+Poweroff to install the ROM you want.
But wait, how did you create that goldcard and unbricked the phone? What was your initial problem? Something like this? http://www.youtube.com/watch?v=TBciNMhoAs8&feature=related
Got your pm.
Well you now have a ready system.
Download the radioswitcher tool eyegor and i made from my signature.
Restart in fastboot.
Press "flash new".
Reboot in recovery.
Use ms-usb-toggle function to mount the sdcard.
Download this rom:
http://forum.xda-developers.com/showthread.php?t=778083
It's rogers 2.1 by capychimp.
Put it on the root of the sdcard.
Toggle back to your recovery.
Flash the rom.
Reboot into the system...
You should be set :0)
Good luck
Hello, than you mumilover for your quick response ...however:
i receive this in radio switcher:
Feedback, Criticism, Ideas, Improvments, Thanks and appreciations are welcomed on the forum-thread.
............................................................
Operating system: Windows.
Tools folder and fastboot file(s) created.
IMGFiles folder found.
hboot-1.33.2010.img found.
hboot-1.76.2007.img found.
radio-6.35.16.19.img found.
radio_htc_pvt_32a_3.22.20.17.img found.
recovery-ra-magic32a-6.35-v1.6.2.img found.
recovery-ra-sapphire-v1.7.0h.img found.
"Flash old" button enabled.
"Flash new" button enabled.
Nandroid folder found.
Some or no nandroid files were found - "Restore" button disabled.
STARTING PRINT OF DEVICE INFO.
-----------------------------------.
-----------------------------------.
PRINT OF DEVICE INFO FAILURE - PLEASE CHECK YOUR CONNECTION.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
No fastboot device connected.
STARTING FLASH OF NEW FILES.
Flashing "radio" - PLEASE WAIT.
"radio" flash failure
I have mentioned that i cannot acces my device via fastboot yet. adb devices and fastboot devices shows nothing. I do not know what to do next, on this computer i have installed htc sync and adb ... but this computer did not had the chance to connect with my magic while is was working ... so im not sure of the drivers are working.
It seems that my only chance is to do it by hand using sdcard. so please help me!
gtklocker said:
You got to fastboot? Wonderful!
You can connect it to your PC and run:
Code:
fastboot flash recovery <file>.img
From where you'll be able to flash the recovery you want - then poweroff the phone and press Home+Poweroff to install the ROM you want.
But wait, how did you create that goldcard and unbricked the phone? What was your initial problem? Something like this? http://www.youtube.com/watch?v=TBciNMhoAs8&feature=related
Click to expand...
Click to collapse
My issue was this:
The phone on startup is showing twice the "htc magic" logo and then "htc". then it powers off. No restart possbile untill battery is taken out. Fastboot and recovery are accessible on the phone but i cannot see my phone in windows in fastboot or recovery via `fastboot devices` or `adb devices` commands.
Which zip did you insert in the goldcard?
That will probably solve my problem as well.
The file i downloaded and managed to install is named 2.53.707.2_-_sappimg.zip and it appeared in one of amon_ra's posts (i can not find this now ). just renamed it to sappimg.zip put it on goldcard and it worked.
Ok si put the sappimg.nbh provided by mumilover ... the phone boots appear my touch ... appear android and then it shuts off. I guess that something is wrong hardware in this device.
redskorpyo3 said:
Ok si put the sappimg.nbh provided by mumilover ... the phone boots appear my touch ... appear android and then it shuts off. I guess that something is wrong hardware in this device.
Click to expand...
Click to collapse
Just to be clear, what phone do you have? a Mytouch or Rogers Magic?
HTC Magic from vodaphone Romania. So i guess 32A
Listen... STOP what you are doing....
Don't flash anything like a sapphire.zip/nbh...
You are set... you have the right spl/radio combo + you have eng spl...
The only thing needed to fix is the windows driver!!!
So, take it easy and think..
Don't change the configuration or anything.
The reason i told you to try the radio tool is to make sure you have the right recovery.
I have added you on gtalk.
Just focus your energy to fix the drivers so this commands shows your htc device nr.
Code:
fastboot devices

help

Sorry my english is very bad. I tried to root my phone image by replacing''Recovery''to step flash recovery fastboot boot.img boot.img''is the new image can not load MSDOS reported "boot.img''boot file. dc img has put in SKD / tools, and do not know the new Image download file decompression is necessary or is not simply rename a DC? I leave it renamed unsuccessfully boot.img
uphinh.vn/image/stream/143628.jpg ==> link image
I have no idea about your error, but you can't flash recovery.img unless you have an engineering SPL (which you'd have to root to acquire).
Please boot your phone holding home and vol- and post what's displayed on the screen.
SAPPHIRE PVT 32A Ship S-On H
HBOOT-1.33.0009 (SAPP10000)
CPLD-12
RADIO-3.22.20.17
May 8 2009,21:02:32
possible solution
my phone is:
SAPPHIRE PVT 32A SHIP S-ON G
HBOOT-1.33.0013 (SAPP10000)
CPLD-10
RADIO-2.22.19.261
i had a similiar problem with yours. stuck in the recovery img and spl issue. my actual statu is a rooted phone with a cutom recovery img but with the original spl and radio(about to change those too).
this is how i did:
as far as i've learned, u dont need to flash your spl in order to flash your recovery.
i intalled FlashRec.apk and then installed RA recovery img from it. there a video on youtube called how to root your magic in one click. try that!
goodluck!
Looks like you have a Rogers Magic, correct?
You have S-ON (security on) so you can't flash anything useful from fastboot.
I use a 32B device, so hopefully a fellow Rogers user can help you :-/
i intalled FlashRec.apk and then installed RA recovery img from it. there a video on youtube called how to root your magic in one click. try that!
goodluck!
Click to expand...
Click to collapse
That will work on some 1.5 builds, 4zroot and universal androot are newer alternatives.
AdrianK said:
Looks like you have a Rogers Magic, correct?
You have S-ON (security on) so you can't flash anything useful from fastboot.
I use a 32B device, so hopefully a fellow Rogers user can help you :-/
That will work on some 1.5 builds, 4zroot and universal androot are newer alternatives.
Click to expand...
Click to collapse
I tried to use that way, but that backup device''error flaied image invalid"I think I deleted the original recovery of the phone and now my phone is not in recovery mode again, no way to recover it?
if you follow the way of''recovery''Amon_RA img instead only image recovery platforms, the need of the SDK is not it? I think I have not installed successfully because when you type the command ADB ADB device only shows up on MSDOS''attached''List of devices without the S / N of my phone
nhieptieuminh said:
I tried to use that way, but that backup device''error flaied image invalid"I think I deleted the original recovery of the machine and now my phone is not in recovery mode again, no way to recover it?
if you follow the way of''recovery''Amon_RA img instead only image recovery platforms, the need of the SDK is not it? I think I have not installed successfully because when you type the command ADB ADB device only shows up on MSDOS''attached''List of devices without the S / N of my phone
Click to expand...
Click to collapse
Just because the backup failed, doesn't mean your recovery is gone. Use home+power and tell us if it's still there.
"adb devices" will show the serial number of all attatched devices, you have it set up correctly. However you can not use adb or fastboot to root your device.
AdrianK said:
Just because the backup failed, doesn't mean your recovery is gone. Use home+power and tell us if it's still there.
"adb devices" will show the serial number of all attatched devices, you have it set up correctly. However you can not use adb or fastboot to root your device.
Click to expand...
Click to collapse
because I used the command "erase fastboot recovery" so I think I deleted the original recovery of the phone away and then, when I press home and power it boots up the words "HTC Magic" and stop there
nhieptieuminh said:
because I used the command "erase fastboot recovery" so I think I deleted the original recovery of the phone away and then, when I press home and power it boots up the words "HTC Magic" and stop there
Click to expand...
Click to collapse
Oh, and flashrec did that? As in, it removed recovery but couldn't flash a new one?
That's a *****, you could try another root method like universal androot to get to flash the custom recovery image.
AdrianK said:
Oh, and flashrec did that? As in, it removed recovery but couldn't flash a new one?
That's a *****, you could try another root method like universal androot to get to flash the custom recovery image.
Click to expand...
Click to collapse
can you give me the link?? thanks for helping
uphinh.vn/image/stream/143628.jp ==> please help me fix this error ? can not load new recovery.img with fastboot

[Q] G2 Lost S-OFF after hboot update?

First I want to thank all from this site for all the work you've done!
OK, got a G2 few days ago rooted it using rage method, updated radio to 26.04.02.17 (read that solved some problems with cyanogen's 6.1.1 ROM), installed 6.1.1 ROM and all was well... Then I decided to upgrade hboot (for no particular reason) to 0.85.005 with fastboot. After install it rebooted and noticed I now have SHIP S-ON ...and it wouldn't boot..got stuck on HTC splash screen. So I say oops...pull battery and go into recovery and do a restore to a rooted stock ROM. Was successful but was hoping it would give me root back but no joy. Then tried to install 6.1.1 from ROM manager but no joy. (no surprise with S_ON) So I'm wondering:
Why did hboot update change it to S-ON?
Why didn't my restore restore S_OFF? ( thought restore re-wrote everything)
AND..where do I go from here? Should I just use rage again to get root?
Any help would be greatly appreciated!!
Again, thanks to all!!
Edit: OK just realized I still have root access threw terminal emulator???
How can this be with S-ON??
So I guess I still have root so I tried to install cyogen 6.1.1 from sd card using revovery.
all seems to go well, says its complete but when I reboot, it gets stuck on HTC splash screen
Also tried gfree and this method http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
got to 2nd to last command:
# /data/local/tmp/root
and get
# mkdir failed for /system/xbin, file exists
Anyone??
That sounds like the stock *DZ* hboot, not the G2 one. If so, you're lucky you didn't brick your phone. I wouldn't switch hboots between DZ/G2 unless you were flashing the whole ROM.
The fact that it's a stock one explains why you have S-ON, if you only had S-OFF via the eng hboot before.
What you need to do is run gfree, as you say, to get proper radio S-OFF.
S-ON/S-OFF has nothing to do with root. So you can still be S-ON and have root.
If you did a nandroid restore through Clockwork then as far as I'm aware that doesn't include a restore/backup of hboot.
You won't be able to flash another custom ROM/recovery until you get S-OFF back again.
That "mkdir" error message is normal, just ignore it. But gfree doesn't work with CM 6.1.1. It will work on 6.1 but there are some incompatible kernels too.
I suggest installing the eng hboot (the correct one for your phone, see the Wiki) to get S-OFF (but be careful doing this, e.g the checksums). Then revert to a ROM that is compatible with gfree and run gfree to get radio S-OFF. Then you can revert back to 6.1.1 or whatever you want.
steviewevie said:
That sounds like the stock *DZ* hboot, not the G2 one. If so, you're lucky you didn't brick your phone. I wouldn't switch hboots between DZ/G2 unless you were flashing the whole ROM.
The fact that it's a stock one explains why you have S-ON, if you only had S-OFF via the eng hboot before.
What you need to do is run gfree, as you say, to get proper radio S-OFF.
S-ON/S-OFF has nothing to do with root. So you can still be S-ON and have root.
If you did a nandroid restore through Clockwork then as far as I'm aware that doesn't include a restore/backup of hboot.
You won't be able to flash another custom ROM/recovery until you get S-OFF back again.
That "mkdir" error message is normal, just ignore it. But gfree doesn't work with CM 6.1.1. It will work on 6.1 but there are some incompatible kernels too.
I suggest installing the eng hboot (the correct one for your phone, see the Wiki) to get S-OFF (but be careful doing this, e.g the checksums). Then revert to a ROM that is compatible with gfree and run gfree to get radio S-OFF. Then you can revert back to 6.1.1 or whatever you want.
Click to expand...
Click to collapse
Thanks for responding! Especially after this post has turned into more of a rambling blog as I learn more.
I tried to run gfree to get s-off and it doesn't work, stays s-on. Thought it was because of the "mkdir" error message I was getting. Then tried to install eng hboot using the whole G2 ROOT INSTRUCTIONS here:
http://forum.xda-developers.com/showthread.php?t=834228
Everything goes smooth except for the"mkdir failed for /system/xbin. file exists"
When I reboot, still have:
VISION PVT SHIP S-ON
hboot-0.85.0005
Any ideas??
Again thanks for any help and suggestions!
Just noticed the first commands in the G2 ROOT INSTRUCTIONS have a "$" sigh ie: "$ adb push su /sdcard/su"
Does this mean you should run "adb shell" first? If that.s the case, I get "adb: permission denied" although I do see su on sdcard.
(I know I'm really grasping here )
No, you don't run "adb shell" before running those adb commands, because "adb shell" will give you a command prompt on your phone, and those adb push commands need running from your PC's command prompt. That "$" prompt shown in the guide can be confusing, because it's being run from a PC running Linux, which has a $ prompt. If you have Windows then you will have some sort of "C:\" prompt.
If you are only installing the eng hboot though, you don't need to do all that, since you already have root. Skip to the "Perm Root" section in that guide that you linked, and do everything up to and including the "dd" command. Then the sync and reboot bit (skip over the "root" script).
Although check what message you get from the insmod command. We might have a problem here, because if you're on CM 6.1.1 (that's what you're on, right ?) then gfree won't work and I don't know if either of those wpthis modules (OTA and pre-OTA) will work properly on CM 6.1.1.
The insmod is crucial because unless that command gives you the "right" error message as shown in the procedure, it won't disable the NAND write protection and so won't let you write the hboot permanently.
A bit offtopic, but maybe someone will find this helpful: in many tutorials for *NIX (Linux, OSX, BSD etc.) users you'll find that what you need to type in a command prompt (terminal) starts with either $ or #.
While that may be confusing for Windows users, it is a hint as to whether you are supposed to run the commands as a simple user (the prompt shows a $) or as the administrator (or root) user (in which case, the prompt shows a #).
steviewevie said:
No, you don't run "adb shell" before running those adb commands, because "adb shell" will give you a command prompt on your phone, and those adb push commands need running from your PC's command prompt. That "$" prompt shown in the guide can be confusing, because it's being run from a PC running Linux, which has a $ prompt. If you have Windows then you will have some sort of "C:\" prompt.
If you are only installing the eng hboot though, you don't need to do all that, since you already have root. Skip to the "Perm Root" section in that guide that you linked, and do everything up to and including the "dd" command. Then the sync and reboot bit (skip over the "root" script).
Although check what message you get from the insmod command. We might have a problem here, because if you're on CM 6.1.1 (that's what you're on, right ?) then gfree won't work and I don't know if either of those wpthis modules (OTA and pre-OTA) will work properly on CM 6.1.1.
The insmod is crucial because unless that command gives you the "right" error message as shown in the procedure, it won't disable the NAND write protection and so won't let you write the hboot permanently.
Click to expand...
Click to collapse
ahhhh..thanx for clarifying "$" issue for me.
I am NOT on CM 6.1.1
I have stock OTA rom right now (with root), sorry for the misunderstanding
OK,this is exact error message I get:
insmod: init_module '/data/local/wpthis-OTA.ko' failed (function not implemented)
After I run dd=..... I get
2048+0 records in
2048+0records out
1048576 bytes transferred in 0.079 secs (13273113bytes/sec)
So all looks perfect to me, but I still get stuck with:
....S-ON
hboot-0.85.0005
does the "insmod" being in error message mean anything?
In any event, at least I still have a working phone and learned alot more
(like you said..I'm very lucky I didn't brick it flashing this hboot update)
That's the "correct" error message from insmod. But weird stuff is going on here, which isn't too suprising if you have the wrong hboot for your phone.
I'm getting confused, I thought you were on CM 6.1.1. I also thought your phone was stuck in a boot loop, but you seem to be able to still run commands as root, so presumly it boots ok now ?
steviewevie said:
That's the "correct" error message from insmod. But weird stuff is going on here, which isn't too suprising if you have the wrong hboot for your phone.
I'm getting confused, I thought you were on CM 6.1.1. I also thought your phone was stuck in a boot loop, but you seem to be able to still run commands as root, so presumly it boots ok now ?
Click to expand...
Click to collapse
Sorry for the misunderstanding, I had CM 6.1.1 on when I flashed wrong hboot. After that it would get stuck on HTC screen when trying to boot up into CM 6.1.1
So I booted into recovery and did a restore which luckily worked. Which now I have no idea why that worked looking back other than because it was a legit stock ROM, so it allowed it. Is this the case??
Last night I actually tried to un-root and get everything back to stock (including hboot) via this method:
ttp://theunlockr.com/2010/12/01/how-to-unroot-the-t-mobile-g2-htc-vision/
but got stuck on "dd if=/sdcard
/miscnew.img of=/dev/block/mmcblk0p17" with a read only ermision denied message
which I wasn't surprised because I have S=ON

Categories

Resources