Problems Rooting G2 - G2 and Desire Z Q&A, Help & Troubleshooting

I attempted to root my friend's G2 first using Visionary+ R14 and temp root would work (the SU.apk is in the app drawer), so I attempted the perma-root and as soon as I granted it root access it would immediately reboot. Once I rebooted SU was still in the app drawer but rom manager kept saying the SU apk wasnt found in /system/bin or /system/xbin. I looked for it manually and searched for it but it couldnt be found anywhere, yet it was in the app drawer after a reboot.
I tried it a few more times and couldnt get it to work, I booted into the bootloader and saw that S-on wasn't off. After feeling competent enough I decided to push the hboot.img and the wpthis-OTA.ko to the sdcard (since I didnt have adb handy) and then copied them both to /data/local via the terminal. When I tried to insert the kernel module it gave me the expected error so I proceeded to flash the new hboot and that was also successful. I ran visionary again (guide doesnt say temp or permanent method, so i did temp), and once it was finished I typed sync into the terminal, waited a minute and rebooted.
Once android was fully loaded up again, I loaded up rom manager and it still complained that it couldnt find su.apk, I searched for it and it still wasnt there, yet it was still in the app drawer. I rebooted into the bootloader and saw that the protection was finally S-OFF, yet root access didnt seem to be (fully) available.
It also mentioned at some point that my su.apk was out of date and it downloaded the most up to date one for me but I had no way to flash it.
Whats wrong here?

This should either be in an existing thread about the rooting methods you're talking about, or in one of the other forums, such as Q&A

Related

[Q] Help on rooting

Sorry for making you read this if I made a nooby mistake.
So I rooted my Slide, and flashed the Eng-release to it. When I use ROM Manager to install the CM6 onto it, I can't get past touching reboot into Clockwork Recovery. I already flashed the Clowckwork into it (I think; you just need to push the Flash ClockworkMod Recovery button right?), but when I push the reboot into it button, nothing happens.
I tried the Fix Permissions button, and it says "An error occurred while attempting to run privileged commands!" That means that the app doesn't have root access, right? How do I give the app root access? I tried two superuser apps, one from the Market and one from this website, the one with a Ninja. When I choose preferences on the superuser app, it just hangs until I get the Force Close error.
How do I grant my app root access? I know I rooted my Slide because when I connect it to my phone and use adb shell, the pound sing comes up.
What method did you use? Did the phone have the 1.35 OTA Update?
Try this: download terminal emulator from the market, its free.
Turn on: you will see a "$" symbol type "su" (w/o qoutes)
if you see this "#" you are rooted..
Im sure there are easier other ways to check, thats just what I do. I know you didn't install the rom, so don't worry about that yet.
Chances are you arent rooted, I dont what adb shell would say, since I didnt have to use it directly, I just used my windows cmd prompt.
After looking at the other post a few below this one about the exact same problem that I had, I did what he did and copied the update.zip to my phone and booted into recovery. Thanks for the help, though I'm ok now.
Btw, I did have the terminal, and it did have the # sing
Sent from my T-Mobile myTouch 3G Slide using XDA App

[Q] Restoring to stock

I know this might sound stupid, but I've never done this with a Z before and I'm a bit scared about bricking my new phone, so...
Got my Z about a week ago, used Visionary+ (yeah, I know, boo) to temproot and restore my apps with TitaniumBackup. Unrooted with the button in the app and haven't used Visionary since. Until last night, when I wanted to take some screenshots using drocap2. Temproot failed at first, so I rebooted and tried again. This time it worked and when I was done I used Unroot again.
Only this time after rebooting my weather info was gone. Readded the clock, that didn't fix it. The weather app just said "Current City" - it wasn't showing any weather info.
I figured that's not biggie, but I found another bug which is: if I power the phone off and then back on while "Fast Boot" is on I lose access to my phone app and contacts (both show a black screen) until I do a full reboot.
So now I decided to reinstall everything and start afresh (this time I'm using rage to root ).
Right now I'm running everything stock (ROM, recovery, SPL are untouched). If I have one of the CIDs contained in the android-info.txt inside the official 1.34.405.5 RUU (HTC__032), is it okay to just run the RUU? Or should I stick to a hard reset from fastboot or recovery?
Thanks!
Try hard resetting first, this will erase all data in your phone, and if that is not working go in your device to settings>aboutphone>Softwareinformation and check there if your build number is:
1.34.405.5
if it is then let me know and I can give you a PC10IMG.zip (I have done this method before), and simply you will copy the zip to your sd card, turn on the phone into bootloader, and the phone will do the rest.
Or simply flash one of those exe RUU jsut be sure is the same build number.
My build is 1.34.405.5. The RUU I have is RUU_Vision_HTC_WWE_1.34.405.5_Radio_12.28b.60.140e_26.03.02.26_M_release_155556_signed.exe
Isn't the PC10IMG.zip a renamed rom.zip from inside the RUU?
keinengel said:
Isn't the PC10IMG.zip a renamed rom.zip from inside the RUU?
Click to expand...
Click to collapse
Yes, it is.
Both methods i.e. zip or ruu will do what you are asking for so is up to you to choose one.
I rather the zip one, since to me the ruu kind of did not work, and then I needed to install htc syn and stuff (I am a mac user, no needs for drives just as linux )
Anyhow hope I helped
Okay, I'll transfer the rom.zip to my SD card and rename it, thanks!
Which reminds me, I used Visionary because rage only seemed to be giving me shell root. TitaniumBackup couldn't seem to get root rights. I followed the steps, I'm very well accustomed to adb and fastboot commands and also shell commands, but couldn't get it up and running. I'll try again after restoring my phone.
keinengel said:
Which reminds me, I used Visionary because rage only seemed to be giving me shell root. TitaniumBackup couldn't seem to get root rights. I followed the steps, I'm very well accustomed to adb and fastboot commands and also shell commands, but couldn't get it up and running. I'll try again after restoring my phone.
Click to expand...
Click to collapse
If you had permanent root in the shell (i.e. could successfully do an "su" after a reboot"), then you had permanent root alright. If there was a problem with another app getting root rights, then it may have been something to do with the Superuser app, because that pops up and asks for permission the first time an app asks to run as root.
keinengel said:
Okay, I'll transfer the rom.zip to my SD card and rename it, thanks!
Which reminds me, I used Visionary because rage only seemed to be giving me shell root. TitaniumBackup couldn't seem to get root rights. I followed the steps, I'm very well accustomed to adb and fastboot commands and also shell commands, but couldn't get it up and running. I'll try again after restoring my phone.
Click to expand...
Click to collapse
you should not rename the zip file, unless it has other name, but it should be called PC10IMG.zip
steviewevie said:
If you had permanent root in the shell (i.e. could successfully do an "su" after a reboot"), then you had permanent root alright. If there was a problem with another app getting root rights, then it may have been something to do with the Superuser app, because that pops up and asks for permission the first time an app asks to run as root.
Click to expand...
Click to collapse
I never got permanent root, because I didn't want it. I did all the rooting, flashing radios/spls/recoveries and custom ROMs I'd ever need with my trusty old Magic. Now I'm trying to stay clean
I just needed temproot for TitaniumBackup and drocap2 - that's it. Don't need supercid, s-off or anything else - and that's what made Visionary so attractive. Too bad it's hit-and-miss.
My problem with rage was that I had root access from the terminal, but couldn't run those two apps without permanently rooting. Besides, I'm not quite sure how to unroot, should I ever need to. Would flashing the stock PC10IMG.zip from fastboot be enough? I see it overwrites most partitions, but would it also overwrite the radio config one?
keinengel said:
I never got permanent root, because I didn't want it. I did all the rooting, flashing radios/spls/recoveries and custom ROMs I'd ever need with my trusty old Magic. Now I'm trying to stay clean
I just needed temproot for TitaniumBackup and drocap2 - that's it. Don't need supercid, s-off or anything else - and that's what made Visionary so attractive. Too bad it's hit-and-miss.
My problem with rage was that I had root access from the terminal, but couldn't run those two apps without permanently rooting. Besides, I'm not quite sure how to unroot, should I ever need to. Would flashing the stock PC10IMG.zip from fastboot be enough? I see it overwrites most partitions, but would it also overwrite the radio config one?
Click to expand...
Click to collapse
Jut put the PC10IMG.zip in the root of your sd card. Then turn completly off the phone, and turn it on into bootloader (down key volume + power button), and the device shall recognize the zip.

[Q] I'm having a problem perma rooting

I can't find a solution to this from searching the forums so i'm just gonna ask.
I'm using the gfree method via adb. i'm getting all the way through it without any problems untill i get to the "lock in" root section.
I get the error message that the wiki says should get and then ignore, but i also get another message that says something like
"cp: can't stat '/sdcard/su' : no such file or directory"
any help with this would be appreciated.
also, are all the bad things i've heard about visionary true? should i go ahead and root with visionary, or keep trying this way? thanks
I just checked and it says I'm s-off. I'm very confused.
Sent from my T-Mobile G2 using XDA App
Well first ill tell u Visionary worked for me in like 10 minutes time. Very easy n very fast. Not true what they say. If u got s-off, good. Ur almost there. Have to check out gfree method quik in order to help u. Hold up
G2 with ExtraHotSauce v0.2!!
What guide are you using, the one on the Wiki doesn't have you copy (cp) anything.
is this the command where you run into the problem?
/data/local/tmp/root
Click to expand...
Click to collapse
This is running a script to lock in root, you already ran gfree while you were temp rooted so that's why you are S-OFF.
Do you have the "su" file on the root of your SD card?
You should be able to retry everything but the gfree part.
As for Visionary, some people report success but other have reported big problems. I found the gfree method to work pretty well, even though I used Visionary when I was temp-rooting (when I just got my phone) when I permarooted I used the gfree method.
raitchison said:
What guide are you using, the one on the Wiki doesn't have you copy (cp) anything.
is this the command where you run into the problem?
This is running a script to lock in root, you already ran gfree while you were temp rooted so that's why you are S-OFF.
Do you have the "su" file on the root of your SD card?
You should be able to retry everything but the gfree part.
As for Visionary, some people report success but other have reported big problems. I found the gfree method to work pretty well, even though I used Visionary when I was temp-rooting (when I just got my phone) when I permarooted I used the gfree method.
Click to expand...
Click to collapse
yes, that is the command that is giving me problems. i checked my sd card and superuser.apk is at the root of it.
when you say retry everything what exactly would i retry? i'm at work, and don't have access to adb. do i need adb to "retry"
so, there are two different guides that perm root. the first is the wiki and this is the one that i was following. the other has almost the exact same steps except it has the wpthis file. i guess when i get home i'll try the other method and see if it works. thanks for everone's help
no its a 2 step procedure maybe you should go ahead and unroot and s-on then go ahead and re root. if not you can still re run everything start off with temp root then go ahead and lock in the perma root
thenaut said:
yes, that is the command that is giving me problems. i checked my sd card and superuser.apk is at the root of it.
when you say retry everything what exactly would i retry? i'm at work, and don't have access to adb. do i need adb to "retry"
Click to expand...
Click to collapse
You should have both Superuser.apk and su on the root of your SD card. Either push it from your computer again (first command in the wiki):
Code:
adb push su /sdcard/su
Or just copy it to your SD card (be sure to unmount the card when done). Then re-run the root script in terminal.
that totally did it. I pushed the su file and re ran the script and i got root. it's wierd because i thought i pushed it the first time but i guess not. anyway, thanks

[Q] Problems unrooting and flashing desire z

Hi all,
I have had my htc desire z for about two weeks now, But since i have had my phone i've been having a few problems.
I had rooted my phone using visionary +. And all was going well untill i was trying to install setcpu to overclock my cpu. After installation my phone rebooted and now every thing that i need root access for is showing up as not accessable.
Busybox installer error message:
Your phone is roote
Busybox not found
The application failed, either because your device is not nand unlocked or we were unable to remount.
Rom manager error message:
An error occured while attempting to run priviledged commands!
Is it possible(if yes, how) to unroot and flash my desire back to stock settings including the permissions back to stock.
If not how can i root my phone so i can use all of the fuctions
Regarding the phone info the spaces are actually . but the system will not allow me to enter these as of yet
Thanks in advance
All the best
Gaz
I forgot to mension in the last post that i have expiriance with mobile phone's and flashing so i'm not affraid to tackle big complicated ways of undoing the process.
It sounds like maybe you only had temp root.
Did you also do gfree? I did Visionary and gfree, and perm rooted just fine.
However, many on here believe the rage + gfree method is safer, as Visionary has been known to create some semi-bricks. I don't THINK there is any harm in doing rage + gfree at this point, but others on here can probably enlighten.
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
I tried using root checker to find the issue. It came back with an error message telling me the SU binary was not found in the correct path. I used terminal emulator to try to locate the file but with no success. Any ideas on how to find and move the binary su???
What's displayed on your screen after reboot in recovery?
As in; remove battery, insert battery, hold volume down and power button.
It will not reboot in to root. It runs Visionary and nothing happens.
And when i try to open an app that need root access it fails because it cannot gain permission from superuser. At this point i have tried to unistall all apps that had anything to do with rooting my phone but still no succes. I need to find the stock SU Binary

Problem regarding HTC One X root

I did a half ass job in trying to unroot. I deleted the su binary and superuser.apk file but didn't restore the stock ROM or recovery or boot before deleted them. I didn't wipe disk and relock the bootloader either, I just stopped there.
After that, my ROM, Viperx 3.7.7 can still grant apps permission to access root, albeit a little buggy (can't grant for one time but must choose either 10min of access or forever). But after I update to Viper 4.1.1 or CM 12, that ability is lost completely and CWM start asking me if I wanted to fix root upon exit. Right now I can still access root and do things to its file (maybe) but I can't grant any permission, root checker told me my root is not properly installed and like I said above, CWM keep asking me and what I choose (Yes or No) makes no difference.
Anyone got a clue about what I should do? I've already tried to reflash the su binary from the onexroot zip file available on this forum, It didn't do anything.
Updated: I still have my su binary, but I don't have any superuser.apk in system/app
And I can't deleted or do anything to the files in root dir.

Categories

Resources