cant root this one for the life of me - G2 and Desire Z Q&A, Help & Troubleshooting

This is the 5th g2 tmobile has sent me. Been having build quality issues. Anyways, I was able to root them all without any problems. But this one is a toughie. I got s off. But the latest visionary won't temp root for me after I push wpthisOTA n the hboot.img.
Even removing visionary and resetting the phone n trying gfree n rage hasn't helped. Any advice?
I have the superuser app but no su rights at all. I discovered this cuz rom manager tells me I'm not rooted hence can't flash cwr

try using the rage method instead of visionary

tazz9690 said:
try using the rage method instead of visionary
Click to expand...
Click to collapse
I tried to rage temproot then perm. But no dice

I'm helping someone with their phone that has the same problem.
What we're going to do tomorrow is downgrade the rom using this...
http://forum.xda-developers.com/showthread.php?t=831398
then redo the root with rage.
I think the problem occurs when you use visionary to root then try rage. The person I'm helping keeps having problems after code # /data/local/tmp/root, so I'll report back tomorrow.

Don't use the eng hboot. That's not necessary any more, and is quite risky (e.g. if it goes wrong your phone will be bricked).
To get S-OFF after rooting, use this - http://forum.xda-developers.com/showthread.php?t=855764
With the rage method to get root, I believe that works 100% every time, *if* you follow the instructions very carefully and look out for error messages that indicate something has gone wrong. When rage "doesn't work", it's because the instructions haven't been followed or an error message cropped up and the user didn't notice and just carried on.

I'm going to return the phone to stock hboot and wipe it. Ill try rage next
Thnx for the help... this hexeditor crap makes me nervous lol

When I try to unroot it won't creat the darn misc file....
Any ideas what I can do? My s=off but rage method n visionary aren't woorking...

sheek360 said:
I'm going to return the phone to stock hboot and wipe it. Ill try rage next
Thnx for the help... this hexeditor crap makes me nervous lol
Click to expand...
Click to collapse
Gfree does all the hex editing for you and even backs up your origonal first! Very safe way to do it.
Sent from my HTC Vision using XDA App

ok, as soon as i run
/data/local/tmp/root
i get a failed message
killall: rage: no process killed
mkdir failed for /system/xbin, file exists
cp: cant stat /system/xbin/busybox : not a directory
unable to chmod " "
/data/local/tmp/root: /system/xbin/busybox: not found
cp: not found
cp: not found
unable to chmod /system/bin/su: no such file or directory
#
any ideas guys?

ddgarcia05 said:
I'm helping someone with their phone that has the same problem.
What we're going to do tomorrow is downgrade the rom using this...
http://forum.xda-developers.com/showthread.php?t=831398
then redo the root with rage.
I think the problem occurs when you use visionary to root then try rage. The person I'm helping keeps having problems after code # /data/local/tmp/root, so I'll report back tomorrow.
Click to expand...
Click to collapse
That's not an option for me.
I can't #su @all =(

sheek360 said:
ok, as soon as i run
/data/local/tmp/root
i get a failed message
killall: rage: no process killed
mkdir failed for /system/xbin, file exists
cp: cant stat /system/xbin/busybox : not a directory
unable to chmod " "
/data/local/tmp/root: /system/xbin/busybox: not found
cp: not found
cp: not found
unable to chmod /system/bin/su: no such file or directory
#
?
Click to expand...
Click to collapse
Did you reboot the phone after doing the temp root steps of rage ? Because that's kinda how it looks there.
You are also missing busybox, and an "adb push" for busybox is one of the steps in the temp root part of rage.
Also, when you did the "insmod" command, what error message did it come up with ? This is critical. It must come up with the error message shown in the procedure, if it comes up with a different error message then it hasn't worked.

steviewevie said:
Did you reboot the phone after doing the temp root steps of rage ? Because that's kinda how it looks there.
You are also missing busybox, and an "adb push" for busybox is one of the steps in the temp root part of rage.
Also, when you did the "insmod" command, what error message did it come up with ? This is critical. It must come up with the error message shown in the procedure, if it comes up with a different error message then it hasn't worked.
Click to expand...
Click to collapse
Came up with a diff error message....
Before rage I pushed wpthisOTA n the eng build. Then using visionary I tried to get perm root.
I think by using visionary I f'd up my chances of rooting. I assumed the root procedure didn't change. O well. Doesn't really matter. My camera is now taking pics backwords. Tmobile is swapping my g2 for another lol

Related

[GUIDE] Permanent root on Desire Z 'the clean way', using rage

This thread is copied and modified from the G2 thread by trigeek for the Desire Z:
http://forum.xda-developers.com/showthread.php?t=834228
Apart from the changed hboot and wpthis-Z kernel module for the Desire Z instead of the G2, I have also updated the su-binary and SuperUser.apk to the latest version by ChainsDD
In no way I can be held responsible for any bricks to your phone. You are using this guide at your own risk!! I did test this guide on my own, and also on a friend's Desire Z.
As there was no manual rooting guide for the Desire Z, I posted it myself in order to help others that do not like visionary and like to do it 'the clean way'.
[GUIDE] Temp to permanent root on Desire Z, using rage instead of visionary
=================================================
There's already a guide here for obtaining permanent root using VISIONary, but some folks in #G2ROOT are having issues with the way that VISIONary modifies parititons. Using rage directly is a bit cleaner, since you know exactly what it's going to touch at each step of the way. I did NOT come up with any of this on my own, I'm building completely off of work that others have done. Speaking of which-
None of this would be possible without the tireless work that scotty2 put in. He stayed with the project for well over a month, through lots of smashed hopes and dead ends, until the solution was finally found. Were it not for his work, as well as the help of a few other key folks- we wouldn't be here. He deserves our thanks and some donations! We're talking hundreds of hours of work here, a couple bucks is not too much for that. His paypal is:
[email protected]
Send him some love! I'm not asking for anything myself, because I spent a half hour putting this together, and that doesn't deserve any donations!
DESIRE Z ROOT INSTRUCTIONS
=================================================
These are modified instructions based on the ones posted at http://bit.ly/g2root that use Visionary. A number of people have run into issues with the way that Visionary juggles around temporary partitions, and using the original root exploit is a much easier, and cleaner method for achieving permanent root. This tutorial will walk you through the rooting process by first achieving temporary root, and moving on to permanent root.
REQUIREMENTS
=================================================
•Visionary disabled at boot or uninstalled completely
•Android Terminal Emulator app
•ADB
•desirez-combined-root.zip (Attached to this post)
In the commands to run below, $ or # represent the prompt and should NOT be entered as part of the commands.
VERY IMPORTANT!
Visionary has caused filesystem corruption for some users during the rooting process. Before attempting the instructions below, make sure that you have "auto run on boot" turned OFF, and reboot your system. Since you will not need visionary anyway after this, you might as well just uninstall visionary and reboot NOW before doing anything.
TEMP ROOT
=================================================
ON YOUR PC:
Unzip the z-temp-root files to a folder. From a cmd window or terminal, navigate to that folder and execute these commands:
Code:
$ adb push su /sdcard/su
$ adb push Superuser.apk /sdcard/Superuser.apk
$ adb push rage /data/local/tmp/rage
$ adb push busybox /data/local/tmp/busybox
$ adb push root /data/local/tmp/root
$ adb shell chmod 0755 /data/local/tmp/*
ON YOUR PHONE:
1.Launch Terminal Emulator
2.
Code:
/data/local/tmp/rage
3.Wait for the message: "Forked #### childs."
4.Menu > Reset Term - Terminal Emulator will exit.
5.Launch Terminal Emulator, it Force Closes. Launch a second time, and you'll have a root shell
6.**NOTE**: in the original directions from the XDA thread, you are instructed to run the /data/local/tmp/root script here. DON'T do this just yet. Leave the terminal window open.
PERM ROOT
=================================================
ON YOUR PC:
unzip z-perm-root and navigate to that folder. There will be four files. You will need to push two of these to your phone: hboot_7230_0.84.2000_100908.nb0 and wpthis-Z.ko. The other two files are optional for checksum verification.
Code:
$ adb push hboot_7230_0.84.2000_100908.nb0 /data/local
$ adb push wpthis-Z.ko /data/local
Optional but might came in handy:
Code:
$ adb push md5checksum /sdcard/md5checksum
ON YOUR PHONE:
You should still have terminal emulator up, at a root prompt. Now run:
Optional but recommended:
Code:
# /data/local/tmp/busybox md5sum /data/local/*
You should see:
hboot_7230_0.84.2000_100908.nb0 2ce1bdd5e4c1119ccfcecb938710d742
wpthis-Z.ko c73c5e77c91d306c418983c002b60b93
In case your hboot or wpthis-Z.ko file do not have the same md5hash as shown above, DO NOT CONTINUE. This means your file is corrupt or you are using a different file, for example the one for the G2 instead of Desire Z.
Now, let's turn off security for permanent flashing:
Code:
# insmod /data/local/wpthis-Z.ko
init_module 'wpthis-Z.ko' failed (Function not implemented)
That means it worked. This next step is CRUCIAL. You must make sure that you are writing to the proper partition here or you could brick your phone. To be absolutely clear- the partition is mmcblk(zero)p(one)(eight)
# dd if=/data/local/hboot_7230_0.84.2000_100908.nb0 of=/dev/block/mmcblk0p18
Click to expand...
Click to collapse
You should see some messages indicating that it was written.
Code:
# /data/local/tmp/root
This will lock in root, and give you 'su' access in the future. Next, run:
Code:
# sync
Now wait at least a minute, just to be safe. After waiting, reboot your phone using the power button. After it finishes starting up, launch the terminal emulator, and type 'su'. You should get the prompt asking you to grant permissions. If you got the prompt, congratulations! You have permanent root!
Nice guide, thanks
Thank you Mr Q. works like a charm!
first of all.. thanks for this great guide. Everything went perfect until I came to the step to lock in root. After the command "/data/local/tmp/root" I get this error:
mkdir failed for /system/xbin, File exists
when I just ignore it and type sync after that I have no root acces after a reboot.
Does anybody have a solution for it? I have already done a hardreset with the same results.
thanks in advance...
So this only roots your phone? Or does it s-off as well? From what I understand this s-offs as well because you're pushing the hboot as well.
EDIT: Nevermind. I read the thread again and it does indeed s-off as well.
MarDor said:
first of all.. thanks for this great guide. Everything went perfect until I came to the step to lock in root. After the command "/data/local/tmp/root" I get this error:
mkdir failed for /system/xbin, File exists
when I just ignore it and type sync after that I have no root acces after a reboot.
Does anybody have a solution for it? I have already done a hardreset with the same results.
thanks in advance...
Click to expand...
Click to collapse
Everything was fine up until this point. So i restarted the phone and phone is stuck on the "quietly brilliant" screen
ssyed said:
Everything was fine up until this point. So i restarted the phone and phone is stuck on the "quietly brilliant" screen
Click to expand...
Click to collapse
having the same issue here
So I'm looking into these S-OFF and rooting threads and here is two bricks too. Does anyone have an answer for these two or should I skip this? Did the hboot do this or was it due to some problem in inserted kernel module? (I.E. the reboot of the emmc controller resulted in a ****ed up file system?)
yelti said:
having the same issue here
Click to expand...
Click to collapse
AnyDone said:
So I'm looking into these S-OFF and rooting threads and here is two bricks too. Does anyone have an answer for these two or should I skip this? Did the hboot do this or was it due to some problem in inserted kernel module? (I.E. the reboot of the emmc controller resulted in a ****ed up file system?)
Click to expand...
Click to collapse
Ok, so I have figured out how to get out of this "quietly brilliant" loop.
First of all, this isn't a brick and all that is needed to fix this is a quick factory reset from the bootloader.
ssyed said:
First of all, this isn't a brick and all that is needed to fix this is a quick factory reset from the bootloader.
Click to expand...
Click to collapse
Ok, so does any one have an explanation why this happened?
1. It wasn't wrong or screwed hboot, otherwise we would be facing a real brick?
Was it the root method? Was it the wpthis-Z.ko?
It might have been the kernel module, but I can't be sure about that with so little knowledge I have. (sure not the module itself but the kick to the emmc?) Just that it seems to be more likely option than a rooting attempt on a cached r-o file system?
I'm not complaining about the guide, it is specific and easy to follow but I would really love to have these semi bricks etc inspected more closely. It is not really helping to encourage ppl to root and try safe-off when we have unexplained bricks and semi-bricks around
MarDor said:
first of all.. thanks for this great guide. Everything went perfect until I came to the step to lock in root. After the command "/data/local/tmp/root" I get this error:
mkdir failed for /system/xbin, File exists
Click to expand...
Click to collapse
ssyed said:
Everything was fine up until this point. So i restarted the phone and phone is stuck on the "quietly brilliant" screen
Click to expand...
Click to collapse
yelti said:
having the same issue here
Click to expand...
Click to collapse
Did you guys run Visionary before trying this "rage" method of rooting ?
steviewevie said:
Did you guys run Visionary before trying this "rage" method of rooting ?
Click to expand...
Click to collapse
I don't know about others, but I didn't on mine. I was rooting it for the first time. Also, I don't know if this has anything to do with it, but I have the Bell version from Canada.
The root script threw an error for me too, so just to be safe I opened the script and typed in the commands manually. If you have problems with the script, just run these commands from the root terminal on your phone:
Code:
/data/local/tmp/busybox killall rage
mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
mkdir /system/xbin
/data/local/tmp/busybox cp /data/local/tmp/busybox /system/xbin/busybox
chmod 4755 /system/xbin/busybox
/system/xbin/busybox --install -s /system/bin
cp /sdcard/Superuser.apk /system/app/Superuser.apk
cp /sdcard/su /system/bin/su
chmod 4755 /system/bin/su
mount -o ro,remount -t ext3 /dev/block/mmcblk0p25 /system
sync
"mkdir /system/xbin" just creates a directory, if it already exists you can ignore this command and proceed.
Hope this helps someone.. Thanks to the OP for the scripts.
Have a quick look, /system/xbin already seems to exist on my phone too.
So is there an error in the script ? e.g. needs to ignore if the directory already exists ? Or am I (we ?) missing something ?
goldenarmZ said:
"mkdir /system/xbin" just creates a directory, if it already exists you can ignore this command and proceed.
Click to expand...
Click to collapse
Good info, thanks. Perhaps just comment out that line of the script, to save running it all by hand (and therefore be prone to more error ?) ?
steviewevie said:
Good info, thanks. Perhaps just comment out that line of the script, to save running it all by hand (and therefore be prone to more error ?) ?
Click to expand...
Click to collapse
I did that first.. it threw more errors with the mount commands because I'd already run the script once, so some of the commands were repated. If it's your first run through, commenting it out would be fine.
I only did it line by line so I could see any more errors for myself and decide if they were important. As it turns out the script is very simple and only involves moving files around and changing their permissions.. anything that goes wrong should be immediately apparent even if you have no experience with shell commands.
goldenarmZ said:
I only did it line by line so I could see any more errors for myself and decide if they were important. As it turns out the script is very simple and only involves moving files around and changing their permissions.. anything that goes wrong should be immediately apparent even if you have no experience with shell commands.
Click to expand...
Click to collapse
Thanks, I was starting to worry about the bad experiences outlined above, given that this method appeared to be a more reliable one than VISIONary, and a route I was going to go down. But I'm pretty comfortable with shell scripts, so your input makes me feel a whole lot better !
goldenarmZ said:
The root script threw an error for me too, so just to be safe I opened the script and typed in the commands manually. If you have problems with the script, just run these commands from the root terminal on your phone:
-code-
"mkdir /system/xbin" just creates a directory, if it already exists you can ignore this command and proceed.
Hope this helps someone.. Thanks to the OP for the scripts.
Click to expand...
Click to collapse
thanks for this... I will give it a try
Yay, I just perma-rooted my phone using this method, many thanks to those who came up with the method in the first place, plus this handy guide too.
I got the message about /system/xbin already existing, but you can just ignore that message, it runs the rest of the script anyway.
ssyed said:
Ok, so I have figured out how to get out of this "quietly brilliant" loop.
First of all, this isn't a brick and all that is needed to fix this is a quick factory reset from the bootloader.
Click to expand...
Click to collapse
So after doing the guide you simply reeboot your phone into bootloader and select factory reset?
And then will the device be perm root and s-off???

Permission Denied while rooting

Having a few issues getting the temp root part to work in this guide
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2
I am following the steps and have copied everything over to the phone but when I run rage on the phone itself I get permission denied over and over, read most the search results I could but have not found anything.
ionic7 said:
Having a few issues getting the temp root part to work in this guide
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2
I am following the steps and have copied everything over to the phone but when I run rage on the phone itself I get permission denied over and over, read most the search results I could but have not found anything.
Click to expand...
Click to collapse
You mean you get something like "rage : permission denied" ? Or something else ?
Did the "chmod 0755 /data/local/tmp/*" work ok, i.e. return no error message ?
as far as i know it did work properly it did not show any errors or confromations just went to a new line of adb, and the phone says /data/local/tmp/rage : permission denied.
FIXED, it was my fault i missed a / in the chmod command the one seperating tmp and *, redid it with that and boom it went.
think I got perm root going to leave it be or play with the miui now

[Q] Help me root my OTA upgraded G2 Visionary R14 Don't Work "Visionary R7 needed"

[Q] Help me root my OTA upgraded G2 Visionary R14 Don't Work "Visionary R7 needed"
HELP...HELP....HELP.....PLEASE HELP
I have the T-mobile G2 and I did an over the air upgrade in December of 2010, ever since then the only version of VISIONARY that work on my phone was "Visionary R7" I have search all over the web trying to find the "Visionary R7" so far I have yet to find it...that is why I am posting on this forum......By the way I have tried the latest version of Visionary "R14" but it doesn't work, I have also tried Visionary "R3" "R11" "R12" and "13" and they all don't work on my OTA upgraded T-mobile G2....
So if anyone know where I can download "Visionary R7" please let me know...
Or
If someone know of a way to either Temporary or permanently root the G2 without Visionary please let me know as well
Thanks so much for your kind help......
Is temp root working?
Sent from my HTC Vision using XDA App
use this method, it's easier and safer:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
My whole goal is to get the phone temporary rooted using visionary and then finding a way to permanently root the phone....so to answer your question temp root is not working using Visionary R14....It did work when I was using Visionary R7... but since the visionary app (which was the R7 version) came off the Android Market, the process has be super difficult...thanks
My whole goal is to get the phone temporary rooted using visionary and then finding a way to permanently root the phone....so to answer your question temp root is not working using Visionary R14....It did work when I was using Visionary R7... but since the visionary app (which was the R7 version) came off the Android Market, the process has be super difficult...thanks
Nonentity018 said:
Is temp root working?
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Cobra281 said:
use this method, it's easier and safer:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
Click to expand...
Click to collapse
+1
Like he said, use that, don't waste your time with visionary
sammd301 said:
HELP...HELP....HELP.....PLEASE HELP
I have the T-mobile G2 and I did an over the air upgrade in December of 2010, ever since then the only version of VISIONARY that work on my phone was "Visionary R7" I have search all over the web trying to find the "Visionary R7" so far I have yet to find it...that is why I am posting on this forum......By the way I have tried the latest version of Visionary "R14" but it doesn't work, I have also tried Visionary "R3" "R11" "R12" and "13" and they all don't work on my OTA upgraded T-mobile G2....
So if anyone know where I can download "Visionary R7" please let me know...
Or
If someone know of a way to either Temporary or permanently root the G2 without Visionary please let me know as well
Thanks so much for your kind help......
Click to expand...
Click to collapse
I'd stay away from visionary if I were you! Its messing up just as many phones as it is rooting them!
part of the problem is that a visionary method is stickied in one of these subforums... that needs to be taken down desperately and replaced with gfree/rage.
Cobra281 said:
use this method, it's easier and safer:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
Click to expand...
Click to collapse
I am in the process of using this method....I'll let you all know how it turns out. by the thanks for pointing me to it...
Cobra281 said:
use this method, it's easier and safer:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
Click to expand...
Click to collapse
Yes I am in the process of using ADB / RAGE method....I run in problem and I could use someone help please...
TEMP ROOT
ON YOUR PC: Unzip the gfree_temp-root.zip files to a folder. From a cmd window or terminal, navigate to that folder and execute these commands:
$ adb push su /sdcard/su
$ adb push Superuser.apk /sdcard/Superuser.apk
$ adb push rage /data/local/tmp/rage
$ adb push busybox /data/local/tmp/busybox
$ adb push root /data/local/tmp/root
$ adb shell chmod 0755 /data/local/tmp/*
===========
All the commands are working except
$ adb push rage /data/local/tmp/rage
the reply I get after input the command is
Cannot open 'rage': No such file or directory
I have search the web for help...but I could find help on that issue
SO please if anyone knows what I am doing wrong could you please help....
thanks
unzip the gfree_temp-root.zip again and make sure it extracted rage.
rage IS in there, I just downloaded the zip and opened it and looked.
yeah, look for a file called "rage". if it's there, you didn't get the proper directory. you have to get to the "gfree_temp-root" directory on your computer, and THEN adb push it
Cobra281 said:
yeah, look for a file called "rage". if it's there, you didn't get the proper directory. you have to get to the "gfree_temp-root" directory on your computer, and THEN adb push it
Click to expand...
Click to collapse
Yes the "Rage" file is there, all the other command work fine...except the one dealing with the "Rage" file
ratchetrizzo said:
unzip the gfree_temp-root.zip again and make sure it extracted rage.
rage IS in there, I just downloaded the zip and opened it and looked.
Click to expand...
Click to collapse
Thanks so much for your input....when I gfree_temp-root.zip file I can see that the "RAGE" file is present but after 20 to 30 minutes the "RAGE" file disappear from the folder but all the other files remains....Is an alternative gfree_temp-root download link that anyone might know of....thanks again
Disable your virus scanner while you do this, I bet its giving a false positive to the rage file and deleting it
Sent from my HTC Vision using XDA App
ratchetrizzo said:
Disable your virus scanner while you do this, I bet its giving a false positive to the rage file and deleting it
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Thanks so much "Ratchetrizzo" for the tip on disable my anti-virus program, I was able to get the "Rage" command line to work....But now I have run into another ROAD BLOCK and truly hoping someone could help me out as well
I am now getting this error on the Terminal Emulator on my G2 after inputting the following command line from rooting instruction...
'You now have read-write access to your /system, hboot, and recovery partitions. But you still need to "lock in" root, and give you 'su' access in the future. So just do:'
"# /data/local/tmp/root" without the # sign
I got this error message
"## mkdir failed for /system/xbin, File exists
## cp: can't stat '/system/xbin/busybox': Not a directory
## Unable to chmod /system/xbin/busybox: not found
## cp: not found
## cp: not found
## Unable to chmod /system/bin/su: No such file or directory"
Once again I am seeking help on this...So if anyone can help...please let me know. Thanks again for all of the support that I have received so far ...
sammd301 said:
Thanks so much "Ratchetrizzo" for the tip on disable my anti-virus program, I was able to get the "Rage" command line to work....But now I have run into another ROAD BLOCK and truly hoping someone could help me out as well
I am now getting this error on the Terminal Emulator on my G2 after inputting the following command line from rooting instruction...
'You now have read-write access to your /system, hboot, and recovery partitions. But you still need to "lock in" root, and give you 'su' access in the future. So just do:'
"# /data/local/tmp/root" without the # sign
I got this error message
"## mkdir failed for /system/xbin, File exists
## cp: can't stat '/system/xbin/busybox': Not a directory
## Unable to chmod /system/xbin/busybox: not found
## cp: not found
## cp: not found
## Unable to chmod /system/bin/su: No such file or directory"
Once again I am seeking help on this...So if anyone can help...please let me know. Thanks again for all of the support that I have received so far ...
Click to expand...
Click to collapse
Well, start all over but once you get a root (a #) for the first time, rm -rf /system/xbin then reboot the phone, then start all over again and see if that works. for some reason you have a /system/xbin FILE, not a directory.
ratchetrizzo said:
Well, start all over but once you get a root (a #) for the first time, rm -rf /system/xbin then reboot the phone, then start all over again and see if that works. for some reason you have a /system/xbin FILE, not a directory.
Click to expand...
Click to collapse
When I input "rm -rf /system/xbin" command I got back
"rm failed for -rf, Read-only file system
sammd301 said:
When I input "rm -rf /system/xbin" command I got back
"rm failed for -rf, Read-only file system
Click to expand...
Click to collapse
well that's a problem, if /system is read only you can't lock in root
do this before you rm that stuff (remember to be at a root # prompt)
mount -o remount,rw /system
then rm the stuff, then start the root process over.
ratchetrizzo said:
well that's a problem, if /system is read only you can't lock in root
do this before you rm that stuff (remember to be at a root # prompt)
mount -o remount,rw /system
then rm the stuff, then start the root process over.
Click to expand...
Click to collapse
Yes, I did what you suggested, but now I am getting
"rm failed for -rt, no such file or directory" after inputting ""rm -rf /system/xbin" command...by the way thanks so much for helping me out on this...

problem getting perm root

im using the rage method and everything worked up until after i used the command gfree - f.
then i input the command sync followed by /data/local/tmp/root, this is what i get
# /data/local/tmp/root
link_image[1995]: failed to link /data/local/tmp/busybox
CANNOT LINK EXECUTABLE
mkdir failed for /system/xbin, File exists
link_image[1995]: failed to link /data/local/tmp/busybox
CANNOT LINK EXECUTABLE
Unable to chmod /system/xbin/busybox: No such file or directory
/data/local/tmp/root: /system/xbin/busybox: not found
cp: not found
cp: not found
Unable to chmod /system/bin/su: No such file or directory
#
if I were you, you should use gfree method... or unfrogivens way
Sent from my HTC Vision using XDA Premium App
I used rage to get temp root, and using gfree but during the last execution, it doesn't work and that's the message I get back
Sent from my T-Mobile G2 using XDA App
This problem sounds familiar, let me look at previous threads I have participated in and see if I can find anything useful
FYI, /data/local/tmp/root is a script that copies busybox and does other root functions.
I'm guessing that the gfree part did work, you can verify this by rebooting into the bootloader and seeing if you have S-OFF
If you are only looking to flash a custom ROM you don't even need to worry about this issue (as long as you do have S-OFF), all you'd need to do is obtain temp root again (using rage or even visionary) then install ClockWorkMod Recovery (I'd recommend using this method), once you have that you can boot into recovery and flash any pre-rooted ROM you want.
Eidt: I found the post I was thinking of, seems like this guy had a similar problem running /data/local/tmp/root
http://forum.xda-developers.com/showthread.php?p=11215689#post11215689
My advice still stands, if you have S-OFF and can get CWM flashed onto your phone (should be able to with temp root) you can flash a custom ROM (which will be pre-rooted) or flash a pre-rooted stock ROM (see this thread)
Hey there,
today I tried to get perma root and followed the guide from cyanogenmod
everything runs great till step 5 in Gaining Permanent Root Access & More
when I enter:
/data/local/tmp/root
I receive the message like nguyenhoanggg described..
link_image[1995]: failed to link /data/local/tmp/busybox
CANNOT LINK EXECUTABLE
mkdir failed for /system/xbin, File exists
link_image[1995]: failed to link /data/local/tmp/busybox
CANNOT LINK EXECUTABLE
Unable to chmod /system/xbin/busybox: No such file or directory
/data/local/tmp/root: /system/xbin/busybox: not found
cp: not found
cp: not found
Unable to chmod /system/bin/su: No such file or directory
for sure plan was to install cyanogenmod but I even want permaroot :/
thanks for any help
this was the similar problem when i rooted my desire Z
just ignore it and install clockworks recovery
your phone should actually be rooted by then~
but make sure before you do gfree command, you have already pushed all the other files into the proper location, IE busybox, SU and root
Good Luck~
I seem to be having a simmilar problem using the rage method. I can transfer everything through adb on my pc. But when i run the /data/local/tmp/rage it completes the action but after reseting the terminal and force closing the first time it will not open the second time. Any advice??
Thanks for answer,
when I have temproot and try to install clockworks it says no root-access using google search to find out how to get permaroot...
I was having same issue and realized that busybox's md5 from cyanogenmod wiki wasn't the same as the one it says. I downloaded the busybox file from this guide. Busybox is in gfree_temp-root.zip file.
Fibriso said:
Thanks for answer,
when I have temproot and try to install clockworks it says no root-access using google search to find out how to get permaroot...
Click to expand...
Click to collapse
What method are you using to install CWM? I suspect that ROM Manager will fail if ou only have temp root but I would expect that the flash_image method will work.
Do you have a guide or a good explaination for the flash_image method you talked about?
sacarino2k2 said:
I was having same issue and realized that busybox's md5 from cyanogenmod wiki wasn't the same as the one it says. I downloaded the busybox file from this guide. Busybox is in gfree_temp-root.zip file.
Click to expand...
Click to collapse
just want to bump / confirm that this worked for me. the gfree_temp-root.zip download from that link worked for me. note the underscore vs. dash from the link off the wiki.
as far as i can tell the problem was with the file named 'root' pointing to to some wrong paths but i couldnt see a difference in between the 2 in a text editor.
i'm now happily running cyanogen 6 on my HTC vision / g2 using the directions off http://wiki.cyanogenmod.com with the other root.zip file
Try again
Sent from my HTC Vision using XDA App
okay, i had this problem this morning trying to root my g2 and i got the same problem. i did get it to work after a couple of hours of trying 2 figure out why it wouldnt give me perm root.
the steps posted on the cyanogen wiki are correct. the only thing that you need to do is download the 02 version of gfree instead of the 04 version, and also download a different busybox (i think thats what i did).
i think i got the different busybox file from here.
you can just start off at the steps where it deals with pushing gfree to your phone. also, just push the gfree file (not the .cpp or whatever type it was that has a bunch of code in it. all you need 2 push is that one single file from that zipped file.
if you did it right, it will just print out one line with the failure regarding the 'file already exists' thingas stated in the cm wiki.
hierophanta said:
just want to bump / confirm that this worked for me. the gfree_temp-root.zip download from that link worked for me. note the underscore vs. dash from the link off the wiki.
as far as i can tell the problem was with the file named 'root' pointing to to some wrong paths but i couldnt see a difference in between the 2 in a text editor.
i'm now happily running cyanogen 6 on my HTC vision / g2 using the directions off http://wiki.cyanogenmod.com with the other root.zip file
Click to expand...
Click to collapse
The problem isn't in the root script. It is in busybox file. It doesn't work for some vision systems. Looks like compatibility compilation issues. So if you get errors running the root script use the busybox binary i posted before.
Fibriso said:
Do you have a guide or a good explaination for the flash_image method you talked about?
Click to expand...
Click to collapse
Here you go:
http://forum.xda-developers.com/showthread.php?t=902493
Just to touch base on this, it is related to the busybox binary on the CM wiki.
We've gone ahead and replaced the 'bad' one about 3 hours ago from this post.
Thanks for all of you who lets us know about the compatibility issues

[Q] Rooting g2 help

okay so im rooting my brothers g2, and im coming across alot of really odd issues ive never encountered before with rooting. i've followed all the steps for temp and perm root for this phone, but it still doesnt give me su. i have superuser on the phone from pushing it via adb, but it doesnt work. the phone in hboot says its the eng build with s-off. but again i dont get any su in cmd so i cant do anything. superuser doesnt work so i cant install clockwork via rom manage, and su doesnt work in cmd so i cant manually push the image. any idea or tips would be nice because im so lost. i have rooted several phones before and none had this issue.
twilightvanquisher said:
okay so im rooting my brothers g2, and im coming across alot of really odd issues ive never encountered before with rooting. i've followed all the steps for temp and perm root for this phone, but it still doesnt give me su. i have superuser on the phone from pushing it via adb, but it doesnt work. the phone in hboot says its the eng build with s-off. but again i dont get any su in cmd so i cant do anything. superuser doesnt work so i cant install clockwork via rom manage, and su doesnt work in cmd so i cant manually push the image. any idea or tips would be nice because im so lost. i have rooted several phones before and none had this issue.
Click to expand...
Click to collapse
Have you tried just downloading it from the Market? http://market.android.com/details?id=com.noshufou.android.su
Sent from my T-Mobile G2 using XDA App
yeah and i dont see how that makes it any different than when its put on during the root process. the problem seems to be that it doesnt wanna let me write things to the phone.i get errors like "cannot create /system/bin/su': input/output error" "unable to chmod /system/bin/su: no such file or directory" when i push the /data/local/tmp/root_psn.
just cuz this blows my mind...
gfree verify_cid returned:
@CID: 11111111
OK
gfree verify_secu_flag returned:
@secu_flag: 0
OK
gfree verify_simlock returned:
@SIMLOCK= 00
OK
thats how my phone reads for the gfree verify, im fully s-offed, but i cant do su from adb shell it says
su
su: not found
twilightvanquisher said:
yeah and i dont see how that makes it any different than when its put on during the root process. the problem seems to be that it doesnt wanna let me write things to the phone.i get errors like "cannot create /system/bin/su': input/output error" "unable to chmod /system/bin/su: no such file or directory" when i push the /data/local/tmp/root_psn.
Click to expand...
Click to collapse
Unless you set up a system path to adb, you need to have both su and adb in the same folder to be able to push it, sounds like what your problem is
Sent from my T-Mobile G2 using XDA App
everything is in the same folder in androidsdk. but i got it working, just in a much different fashion. since i already had eng build and s-off but no su functioning i decided to format the phone which still had superuser but i installed visionary gained temp access to root and flashed cwr from rom manager and installed cm7, and now its fully functioning as perm root and s-off.

Categories

Resources