I have carefully followed the instructions in the gfree method guide followed from the "Ultimate s=off" guide. I managed to install Visionary and to push the necessary files via ADB. Unfortunately I seem to get no results from running Visionary nor SuperUser. I wind up stuck at the step after "Run visionary to gain temp root". After running Visionary ( it says "attempting to root" and screen goes blank ) I try the next step and code "su" into the terminal and get "Permission Denied" error. I have been at this for two days and have searched like crazy for a solution before posting. FastBoot is turned off. USB Debugging is On. USB is unplugged for Visionary step. I did the downgrade step already, it is running 2.2.1 - Thank you for the help.
EDIT: Well my head hurts but I solved this problem. I uninstalled Android Terminal Emulator and installed JS Terminal instead. Now it gives me super user access # when I type "su"
EDIT 2: I now think that it might have more to do with just re installing apps in general after downgrading. Also, even after getting S=Off via gfree, I still had to run VISIONary "gain temporary root" in order to get superuser again so that I could install CWM and continue on. Speaking of VISIONary, only version 11 seemed to work! Thank you to all the helpful posters and whoever worked on the wiki! I am now running Dark Unicorn 2.5 and really enjoying the improvement over the older OS!
goldbrick said:
I have carefully followed the instructions in the gfree method guide followed from the "Ultimate s=off" guide. I managed to install Visionary and to push the necessary files via ADB. Unfortunately I seem to get no results from running Visionary nor SuperUser. I wind up stuck at the step after "Run visionary to gain temp root". After running Visionary ( it says "attempting to root" and screen goes blank ) I try the next step and code "su" into the terminal and get "Permission Denied" error. I have been at this for two days and have searched like crazy for a solution before posting. FastBoot is turned off. USB Debugging is On. USB is unplugged for Visionary step. Thank you for the help.
Click to expand...
Click to collapse
Did you downgrade to 2.2 first? http://forum.xda-developers.com/showthread.php?t=1178912
unqualified said:
Did you downgrade to 2.2 first? http://forum.xda-developers.com/showthread.php?t=1178912
Click to expand...
Click to collapse
Thank you for the reply. Yes, I did the downgrade. I also made sure my firewall is off in Windows when copying the files to the phone. I have tried different versions of the Visionary app. I have also tried different versions of SuperUser apps, although I know those are not a part of the basic guide. Basically I have been running in a circle making sure I have followed every step exactly in the gfree guide, but winding up with the Permission Denied result instead of SuperUser access
EDIT: Well my head hurts but I solved this problem. I uninstalled Android Terminal Emulator and installed JS Terminal instead. Now it gives me super user access # when I type "su"
Related
hey. i have no clue why but my g1 isnt get rooted. ive did everything in the unlockrs step if you go to theunlockr.com. everything went successful and exactly what his did but when i go to terminal and type su it says permission denied.when i power on using camera and end it goes to android on skateboards(i doont not that matters). anyone have any ideas
mr.johnsexydavis911 said:
hey. i have no clue why but my g1 isnt get rooted. ive did everything in the unlockrs step if you go to theunlockr.com. everything went successful and exactly what his did but when i go to terminal and type su it says permission denied.when i power on using camera and end it goes to android on skateboards(i doont not that matters). anyone have any ideas
Click to expand...
Click to collapse
I followed the unlockr's steps to help David test out his new guides, and I never had a problem. If your going into terminal and typing "su" and getting the permission denied message, that means everything DIDN'T go successfully. The skating androids when in bootloader means that you have an SPL that allows you to upload custom ROMs but says nothing about whether you have root. Follow the steps again paying particular attention to each one.
If you really want to root your phone easily and without problems or confusion, follow this guy's instructions:
http://www.youtube.com/watch?v=xOo2V9qCauc
Could someone explain to me or point me to a thread that explains how to get S-OFF after permarooting with the r14 visionary + build?
I just used the s-off guide in the android development section and it worked perfect.
Go on youtube and search for "visionary g2", there is a guy on their called blackprice that has a step by step video on how to perm root and s-off the phone.
Good Luck.
Thanks, but I need someone to explain to me how to use adb with a mac. Every guide out seems to be for windows
pak256 said:
Thanks, but I need someone to explain to me how to use adb with a mac. Every guide out seems to be for windows
Click to expand...
Click to collapse
In the video, black prince actually shows how to do it on the phone itself with terminal emulator.
Awesome, thanks
So I have followed the instructions from blackprice and they seemed to work, I was able to do the S-OFF. However, when using SetCPU I get this message:
Root Access Not Detected
SetCPU could not obtain root
access. Did you allow SetCPU
through Superuser
Permissions? (the answer is yes) If you checked
Superuser Permissions and SetCPU still cannot get root,
there may be a permissions
issue with your ROM.
Please advise...
Thanks
Use visionary and attempt perm root. I had the same problem but this fixed it. Wait for someone else to confirm this though.
Sent from my T-Mobile G2 using XDA App
Also get rom manager from the market and falsh clockwork recovery.
Perm root and the reboot, and visionary should stick.
Thanks! Both of you.
pak256 said:
Thanks, but I need someone to explain to me how to use adb with a mac. Every guide out seems to be for windows
Click to expand...
Click to collapse
If you google then you will come across some good guides to use ADB on mac
So to confirm with what you are stating, S-OFF but still not accessing root permissions. Re-apply perm root in Visionary, let it reboot, and it should stick. Correct?
Need some help from the geniuses. And though it'll be clear I am not one of these geniuses, I wanted to mention this is my 5th Android phone and I've perma-rooted all of the others and flashed ROMs hundreds of times. I've also searched for a resolution to this with no luck. Lastly, I know some will argue this fits in General or Q&A, but this problem has been reported by a number of folks across phone lines without resolution and I think it is going to require real dev collaboration to solve and possibly help prevent this in the future, so I'm posting it in Dev.
Now, on to the problem....
Bought a MT4G yesterday and came home to root. Followed some of the great guides here to use Visionary R14 to get temproot and then "permaroot". I was getting S-OFF, but my root didn't seem to be lasting beyond reboot, maybe this was because I was showing 2.2 and not the 2.2.1 OTA update. So, I continued with the permaroot guide here: http://forum.xda-developers.com/showthread.php?t=834225 and all seemed to be going well. My root was surviving reboot and I had S-OFF, but the LAST STEP is to reboot again and check S-flag in HBOOT and that's where I went wrong. I'd left the PD15IMG file on the SD root and when it rebooted I guess I was holding the volume rocker up unintentionally, so it flashed this file without me being able to stop it. I rebooted and still showed S-OFF and 2.2.1, but now when I entered terminal emulator and type "su" I get an error about the user being unknown (doing a "ls su" in /system/bin shows su to be there, btw). Obviously the file screwed up root, and reverted my recovery from Clockworkmod to stock. From there I thought I'd reflash the OTA update.zip but I get an "invalid operation" error.
So I probably should have asked for help then, but I've been trying to follow downgrade guides and redo the root procedures but no joy, usually because they require root to initiate the downgrade (to flash a recovery and do a nandroid restore or to execute some steps of the script). I can get a # prompt when I run the rage scripts, but it appears to be losing root when I reboot. One attempt turned S-ON back on as well. My searching turned up a number of other users who have obviously had this problem with various android phones, and the only one to report successfully fixing flashed a non-root update.zip and did some sort of fixes to busybox.
In summary, I can't return the phone to T-mo because I bought it from an associate at work, and I appear to be stuck between root and non-root without any options that are clear to me to resolve the situation. I am somewhat familiar with adb, fastboot flashing, etc., so if someone can just help me fix su/busybox or somehow flash this back to stock so I can start over or something I would be HUGELY appreciative.
vettejock99 said:
Need some help from the geniuses. And though it'll be clear I am not one of these geniuses, I wanted to mention this is my 5th Android phone and I've perma-rooted all of the others and flashed ROMs hundreds of times. I've also searched for a resolution to this with no luck. Lastly, I know some will argue this fits in General or Q&A, but this problem has been reported by a number of folks across phone lines without resolution and I think it is going to require real dev collaboration to solve and possibly help prevent this in the future, so I'm posting it in Dev.
Now, on to the problem....
Bought a MT4G yesterday and came home to root. Followed some of the great guides here to use Visionary R14 to get temproot and then "permaroot". I was getting S-OFF, but my root didn't seem to be lasting beyond reboot, maybe this was because I was showing 2.2 and not the 2.2.1 OTA update. So, I continued with the permaroot guide here: http://forum.xda-developers.com/showthread.php?t=834225 and all seemed to be going well. My root was surviving reboot and I had S-OFF, but the LAST STEP is to reboot again and check S-flag in HBOOT and that's where I went wrong. I'd left the PD15IMG file on the SD root and when it rebooted I guess I was holding the volume rocker up unintentionally, so it flashed this file without me being able to stop it. I rebooted and still showed S-OFF and 2.2.1, but now when I entered terminal emulator and type "su" I get an error about the user being unknown (doing a "ls su" in /system/bin shows su to be there, btw). Obviously the file screwed up root, and reverted my recovery from Clockworkmod to stock. From there I thought I'd reflash the OTA update.zip but I get an "invalid operation" error.
So I probably should have asked for help then, but I've been trying to follow downgrade guides and redo the root procedures but no joy, usually because they require root to initiate the downgrade (to flash a recovery and do a nandroid restore or to execute some steps of the script). I can get a # prompt when I run the rage scripts, but it appears to be losing root when I reboot. One attempt turned S-ON back on as well. My searching turned up a number of other users who have obviously had this problem with various android phones, and the only one to report successfully fixing flashed a non-root update.zip and did some sort of fixes to busybox.
In summary, I can't return the phone to T-mo because I bought it from an associate at work, and I appear to be stuck between root and non-root without any options that are clear to me to resolve the situation. I am somewhat familiar with adb, fastboot flashing, etc., so if someone can just help me fix su/busybox or somehow flash this back to stock so I can start over or something I would be HUGELY appreciative.
Click to expand...
Click to collapse
Try the alternative method in my guide with rage instead of visionary and see if that helps. One thing is does is reinstall su and busybox. Also, make sure that you have deleted the PD15IMG.zip from your sdcard so that this doesn't happen again.
Hey! i had the same problem and all i had to do was re-flash the ROM and ive been fine ever since!
just either use the stock rom in the downgrading post, or flash one of the new ones i.e. icedglacier or Gorillas's. iceglaciers seems to be pretty functional right now gorillas is awesome just has a few kinks he's working on
vettejock99 said:
In summary, I can't return the phone to T-mo because I bought it from an associate at work, and I appear to be stuck between root and non-root without any options that are clear to me to resolve the situation. I am somewhat familiar with adb, fastboot flashing, etc., so if someone can just help me fix su/busybox or somehow flash this back to stock so I can start over or something I would be HUGELY appreciative.
Click to expand...
Click to collapse
try this (you should be s-off) and assuming you have busybox already installed.
run rage to get su in your terminal then run the following command in the terminal
busybox mount -o remount,rw /system
busybox chown 0 /system/bin/su
busybox chmod 4755 /system/su
install the superuser.apk if it's not already installed
make sure everything is working by opening a adb shell and typing "su" to verify.
use your phone normally and try rebooting after a few hours. hopefully the fs cache flushed and root is fixed permanently.
mrpanic7 said:
Hey! i had the same problem and all i had to do was re-flash the ROM and ive been fine ever since!
Click to expand...
Click to collapse
Okay, first things first - guess I have to try to see if I can even get S-OFF again or if I've completely screwed myself.
Going to try the alt root method, but I think I have been and it wasn't working. So unless me being tired at 1am was the cause, I may need some more help. Thanks.
Okay, followed the s-off guide, and ran the busybox commands posted above, and I am back to S-OFF and now I get "permission denied" instead of "unknown user root". I think this is progress, but still can't flash because I don't have root. I noticed opening Superuser keeps FC'ing...
Please post questions in Q&A section.
just follow this guide here, which you are already familiar with. it's for temp root using rage. but since your phone has the eng hboot with s-off it should become permanent once the FS flushes out to disk (flash)
http://forum.xda-developers.com/showthread.php?t=797042
follow the guide for root and mainly to get the su files installed just in case your's didn't instal properly prior. when you are done just type "sync" multiple times in your terminal
wait a while an hour or so. then reboot to verify that it's permanent.
Same thing happened to me with the unknown root user. What finally fixed it for me, was redoing the adb commands that put those files on your device so you could use rage. Once it re put the files on my phone, I did the rage commands again and it worked
Sent from my HTC Glacier using XDA App
Thanks, everyone! I am working again, and I cannot tell you how much I appreciate the help. I was THIS CLOSE to giving up on this phone.
Thanks again.
Mark
I attempted to perform a perm root + S-OFF via BlackPrince' video.
Everything seemed to work like a charm. The only thing I did different was type 'sync' twice at the end of the terminal process. Didn't really think that would hurt.
Downloaded Rom Manager and attempted to flash ClockworkMod, but it gave me errors, said something about su not being found in the right place.
typed su into my phone terminal and got the 'access denied', which leads me of course to believe that my root isn't permanent.
I would love to use both the CM and Sense ROMs, but not sure if that's smart seeing as how the root isn't permanent.
One thing different from BPs video
I have searched all over these intraweb and found a bunch of topics with no definite solution for the G2.
Any help would be greatly appreciated
Use the gfree method from the wiki.
wileykat said:
Use the gfree method from the wiki.
Click to expand...
Click to collapse
This. If you follow the instructions, it's almost fool proof.
Wiki says if you have S-OFF (I've checked and I still do): "Then you can use the psneuter procedure to get temp root at 1.72, and then follow that up with the usual methods to get permanent root from there."
I can get the # on the PC, but how do I then 'lock it in'? - I've spent a fair while looking round, but can't seem to find out.
I assumed I could go to the terminal emulator, but it was $.
[EDIT] Found it:
http://forum.xda-developers.com/showthread.php?p=10600074#post10600074 page 30ish
Thanks for the replies, people. I will definitely use the gfree method when I get home. Two questions though:
Is there a way I can run both sets of commands in terminal?
Can I still perm root while running CM6?
I am trying to root my phone and am running into trouble early. I have watched the videos & followed instructions. Somehow I am either missing something or my phone is jacked somehow.
I made sure it's not in fast boot, USB debugging & unknown sources are on. I have tried visionary r14 & r11. I have also tried multiple factory resets.
OK, I use visionary with set system r/w after root checked. I go from there to Term. Emulator & when I type su it shows "unknown user root" without the quotes. I've tried to continue but it gives me other errors and S is always on when I check.
I've searched Google & the forums and haven't found much that's been able to help me.
If anyone has seen this I would appreciate the help. Thanks!
Visionary (r11 & r14) are only temp root tools. You must use one of the two methods (both are in my signature) to turn s-off. As long as your s-on you will not be able to permaroot your phone.
Once you turn off the phone, and turn it back on you've lost Root Access. and that's why it's given you that error. If you pull the battery wait about 30 seconds, put the battery back in. Then temp root you should see a "superuser" icon appear. Once you see that try your SU command from terminal emulator. The other thing you can try is setting up your ADB (link in signature). Navigate to the c:/adb folder then typing in ADB shell. You should see a $ sign appear. Type SU from the Command Prompt and it should ask you to approve the SU access on the phone. once you've gained temp SU access you can proceed with one of the two methods i've got posted to finish turning s-off.
It's the temp root I'm getting stuck at. I do get the superuser icon after I do the temp root. I go directly to emulator and type in su and that is when it tells me "unknown user root". I will try the ADB method when I get home from work if nothing else is figured out before that.
Same deal for me. Not sure if my MT4G is a newer model or what. I've literally done EVERY set of instructions and youtube videos on rooting and keep getting stuck at the same place. Typing su into terminal emulator and getting unknown user root. I have reset my phone, taken the battery out for five minutes and re-inserted it. I have tried both visionary 11 and 14 versions and clicked temp root. Once the temp root process completes and comes back to visionary+ I go straight to terminal emulator, type in su and get unknown user root. Unlike dbharr I DO NOT get a superuser icon after temprooting with visionary. It's not like i'm fudging up any part of the process here. I'm stuck at like step 2 of the rooting process. Any ideas anyone?
Software version is 2.2.1
You may have a newer chip set and may only be able to root with s-off by using the gfree route. It was the only thing that worked for me.
In my situation I had visionary installed, root folder in the root of my sd card, and followed the unlockr method for root access.
I temprooted and checked temp root on boot and rw one too.
I ran terminal emulator, typed in the commands and the process ran and looked like a success.
I powered my phone down and boot into hboot and s-on showed up.
I tried the same process and factory reset between tries.
I then found out there was another way to get perm root with s-off using a similar process.
I factory reset and placed visionary apk and gfree folder on the root of my sd card.
I went on the android market and installed root explorer (there plenty others you can use it only need to be able to access your root) and also terminal emulator.
I installed visionary and temp rooted (using same temproot method from unlockr.com) my phone I downloaded the gfree file and extracted it on my cpu then moved it to the root of my sdcard.
Then using your root explorer go into gfree folder and copy the file called "gfree" and only this file.
The go into the root of the phone and your going to paste that into the local folder in /data/local/
From there you type in a few commands in terminal emulator. It will run thru a process then power down.
Boot into hboot and verify it shows s-off
If so reboot phone. When your phone boots up visionary should have temp rooted your phone.
If so Open up visionary and uncheck temproot on boot and click attempt perm root. Your phone will reboot and you have perm root. Verify by typing su in terminal emulator and then if you get # your good to go.
If you dont get s-off try factory reset and repeat process, you should be able to find the instructions if you search gfree and it should come up but if im not mistaken its a stickie on the developement forum
Hope this helps!
HTC Glacier
Perm-rooted S-off
If root.sh method is not working, use gfree + visionary method. Worked for me as a charm.
People, please bother to read before answering questions. Marking below the important part of the question that everyone is missing:
corollatercel said:
Same deal for me. Not sure if my MT4G is a newer model or what. I've literally done EVERY set of instructions and youtube videos on rooting and keep getting stuck at the same place. Typing su into terminal emulator and getting unknown user root. I have reset my phone, taken the battery out for five minutes and re-inserted it. I have tried both visionary 11 and 14 versions and clicked temp root. Once the temp root process completes and comes back to visionary+ I go straight to terminal emulator, type in su and get unknown user root. Unlike dbharr I DO NOT get a superuser icon after temprooting with visionary. It's not like i'm fudging up any part of the process here. I'm stuck at like step 2 of the rooting process. Any ideas anyone?
Software version is 2.2.1
Click to expand...
Click to collapse
To corollatercel:
If Visionary doesn't temp-root your phone, you could attempt it using SuperOneClick (google it) from PC, using rageagainstthecage or psneuter method. Just substitute the steps for temp-root using Visionary to temp-root using SuperOneClick.
Jack_R1 said:
People, please bother to read before answering questions. Marking below the important part of the question that everyone is missing:
To corollatercel:
If Visionary doesn't temp-root your phone, you could attempt it using SuperOneClick (google it) from PC, using rageagainstthecage or psneuter method. Just substitute the steps for temp-root using Visionary to temp-root using SuperOneClick.
Click to expand...
Click to collapse
Thanks, this is the answer I was looking for. An alternate method of temprooting. I will try this and post results. Thanks Jack.
Ok you guys may think i'm kidding but I tried both methods outlined
Here:
SuperOneClick trying both psnueter AND gingerbreak options
http://forum.xda-developers.com/showthread.php?t=803682
And
Here:
RageagainsttheCage
http://forum.xda-developers.com/showthread.php?t=792016
and even after superoneclick says its rooted AND says says success when it asks if I want to test root by sending su command, whenever I go into terminal Emulator and type in su I get permission denied or unknown user root whenever I tried su through adb shell through Dos on my machine. I dunno what is it with my device. I did all of this after fresh factory resets just so you all know. I dunno my MT4G must have a newer chipset that's not vulnerable to the current exploits is all I can say. I've follow these instructions to the letter more than twice each time factory resetting just to make sure things are fresh. Still no dice.
I never did get mine working. I did get a warranty replacement & had it rooted within 10 minutes of being out of the box. That makes me think it was something with the phone. Best of luck to others with the same problem.
dbharr said:
I never did get mine working. I did get a warranty replacement & had it rooted within 10 minutes of being out of the box. That makes me think it was something with the phone. Best of luck to others with the same problem.
Click to expand...
Click to collapse
Yeah unfortunately am not in that same position. It sucks. Guess i'm stuck with it for the moment. Only reason I really wanted to root and upgrade was so I could download netflix. I went from the G2 to the MT4G and had NO idea it was just compatible with certain devices. I've tried different versions of the netflix app on here too but they all require you to have root. Hopefully they make the app compatible soon.
Here's an update everyone. I was FINALLY able to get everything working. I had to use a tool called Z4root to gain temproot. You can imagine my relief AND also frustration after I installed z4root and things just started running just the way it was supposed to. I gained temp root in a matter of minutes and after doing so I was able to use the gfree method to perform all other functions that are a part of the rooting process. And for the record ALL other tools did not work for me:
- Both versions of visionary + 11 and 14
- SuperOneClick using psnueter AND rageagainstthecage exploits
Just thought I'd share. Thanks a lot guys. I had already put my mytouch on cl for sale or trade for a G2 because I thought my device could not be rooted or anything. until about 1 o clock in the morning I got it workin...ha.
Thats sweet man im glad you got it done, only difference I was avle to use visionary
Sent from my HTC Glacier using XDA App