My original problem is that I ran the OTA upgrade of Froyo like an idiot the day I bought my Desire here in India. Now, I am trying to downgrade the HBOOT so that I can root my device.
Now the issue is that I am not able to follow the procedure to downgrade the HBOOT as I am unable to push the flash_image and the mtd0.img into the data folder as I get an error "remount failed: Operation not permitted" when I try to remount.
I have tried to access shell and do a 'su' which again comes up with the 'access denied' message.
Can anyone help me get rid of the access issue so that I can downgrade the HBOOT and root my device?
Hey everybody I've bben going crazy for the past two days trying to get permanent root, or even temp root for that matter!. I used the rage tutorial on here and everything seemed to worke until the last step when i enter
# /data/local/tmp/root
it says,
killall: rage: no process killed
mkdir failed for '/system/xbin/busybox' : not a directory
unable to chmod /system/xbin/busybox: not a 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
#
anyone have an idea what i did wrong??? i followed the instrutions to the letter and it looked like every package was installed properly prolly a noob error somewhere lol plz help!!
Sent from my T-Mobile G2 using XDA App
ayalah1986 said:
Hey everybody I've bben going crazy for the past two days trying to get permanent root, or even temp root for that matter!. I used the rage tutorial on here and everything seemed to worke until the last step when i enter
# /data/local/tmp/root
it says,
killall: rage: no process killed
mkdir failed for '/system/xbin/busybox' : not a directory
unable to chmod /system/xbin/busybox: not a 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
#
anyone have an idea what i did wrong??? i followed the instrutions to the letter and it looked like every package was installed properly prolly a noob error somewhere lol plz help!!
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
use this method my friend: http://forum.xda-developers.com/showthread.php?t=833965
with visioary r11 tho because it seems to be working better for most. youll get temp root, and then perm root after doing the steps shown in the guide. if you need any help, just let me know.
[email protected]
Hey,
I'm following the tutorial over at G2 Hacks:
g2hacks.co m/g2-hacks/how-to-root-g2-phone
(omit the space between 'co' and 'm/')
I came across a problem at the beginning of the cmd portion.
This is what I type and the error I get.
Code:
C:\AndroidSDK\tools>adb push su \sdcard\su
failed to copy 'su' to '\sdcard\su': Read-only file system
How do you solve this problem?
EDIT: Go to 3rd post.
kpaekn said:
Hey,
I'm following the tutorial over at G2 Hacks:
g2hacks.co m/g2-hacks/how-to-root-g2-phone
(omit the space between 'co' and 'm/')
I came across a problem at the beginning of the cmd portion.
This is what I type and the error I get.
Code:
C:\AndroidSDK\tools>adb push su \sdcard\su
failed to copy 'su' to '\sdcard\su': Read-only file system
How do you solve this problem?
Click to expand...
Click to collapse
If you're wanting to root, go straight to the source; the guide in the Wiki here is based on the work the devs who actually found the means to root the device.
http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
Sent from my T-Mobile G2 using XDA App
I was following the tutorial from the Wiki Guide:
ht tp://forum.xda-developers.co m/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
(omit the space between 'ht' and 'tp' , 'co' and 'm/')
I came across a problem under the TEMP ROOT section.
This is what I type and the error I get.
Code:
C:\AndroidSDK\tools>adb push su \sdcard\su
failed to copy 'su' to '\sdcard\su': Read-only file system
How do you solve this problem?
kpaekn said:
I was following the tutorial from the Wiki Guide:
ht tp://forum.xda-developers.co m/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
(omit the space between 'ht' and 'tp' , 'co' and 'm/')
I came across a problem under the TEMP ROOT section.
This is what I type and the error I get.
Code:
C:\AndroidSDK\tools>adb push su \sdcard\su
failed to copy 'su' to '\sdcard\su': Read-only file system
How do you solve this problem?
Click to expand...
Click to collapse
Is USB debugging turned on and is the SDcard not mounted?
Sent from my T-Mobile G2 using XDA App
Sounds like the SD card is mounted on your PC and not the phone ? It needs to be mounted on the phone or this won't work.
Sent from my HTC Desire Z
All that command does is copy that file from your computer to the sdcard. You could accomplish the same thing by dragging and dropping that file to the sdcard.
The 'push' command just means "copy from location A to location B"
Sent from my HTC Vision using XDA App
You could always just mount the SDcard... but anyway, to solve this type in "adb remount" and enter the command before pushing the file
Sent from my HTC Vision using XDA App
USB debugging is on and SD is not mounted to my computer.
I tried directly copying the files onto the sdcard, but when I need to push rage, busybox, etc. I cannot access the data folder graphically from the computer.
So I'll still need to use cmd.
I tried the remount, but this is what I get:
Code:
C:\AndroidSDK\tools>adb remount
remount failed: Operation not permitted
kpaekn said:
USB debugging is on and SD is not mounted to my computer.
I tried directly copying the files onto the sdcard, but when I need to push rage, busybox, etc. I cannot access the data folder graphically from the computer.
So I'll still need to use cmd.
I tried the remount, but this is what I get:
Code:
C:\AndroidSDK\tools>adb remount
remount failed: Operation not permitted
Click to expand...
Click to collapse
The adb remount error is expected (the command requires your ro.secure prop to be set to 0, which you can't do until you have rooted).
So you were able to copy files to the SD card? Just to verify again, you should try mounting the SD card to you computer (so it shows up as a device on your computer's file explorer), copy over a file, unmount the card from your computer (and remember to also hit the button on phone to do so), and then try the ADB push commands again.
Ok, with the phone on plug it into your computer and mount USB storage. Drag and drop 'su' and superuser.apk into the sdcard then unmount USB storage. Make sure USB debugging is on at this point (you'll see it in the notification task bar). Do these commands:
Code:
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/*
Then in the terminal app type:
Code:
/data/local/tmp/rage
You'll see some message pop up saying something about 'forked #### childs' and that's temp root. Then follow the instructions on running gfree to gain full root. Btw, you can just copy and paste all those commands if you think you'll make a mistake.
You may also be able to run the '/data/local/tmp/rage' command with the 'adb shell' command, never tried it myself though.
kpaekn said:
I was following the tutorial from the Wiki Guide:
ht tp://forum.xda-developers.co m/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
(omit the space between 'ht' and 'tp' , 'co' and 'm/')
I came across a problem under the TEMP ROOT section.
This is what I type and the error I get.
Code:
C:\AndroidSDK\tools>adb push su \sdcard\su
failed to copy 'su' to '\sdcard\su': Read-only file system
How do you solve this problem?
Click to expand...
Click to collapse
Oh come on !!!
the path separator in linux (and the phone is a linux computer) is / and not \ !!!
So the command is:
Code:
C:\AndroidSDK\tools>adb push su /sdcard/su
Just to tell you something about the unix shell:
The \ char is a so called escape character that you use to tell the shell that it should not ignore the next character even if it is a white space (i.e. space)
You would use it if you have to specify a path that contains spaces:
i.e.:
Code:
mkdir dir\ with\ 3\ spaces
will create a directory with the name "dir with 3 spaces". This would not work without the \ characters.
have fun - Guhl
Haha... it's funny how simple the answer was.
Thanks for your guys' help.
I was trying to root my G2 using the method illustrated in this thread.
http://forum.xda-developers.com/showthread.php?t=928160
The problem is that after typing in the 4th line of code in the terminal emulator, Im getting an error saying
"/data/local/perm_root: not found"
DON_58 said:
I was trying to root my G2 using the method illustrated in this thread.
http://forum.xda-developers.com/showthread.php?t=928160
The problem is that after typing in the 4th line of code in the terminal emulator, Im getting an error saying
"/data/local/perm_root: not found"
Click to expand...
Click to collapse
If are you sure you ran this command right?
Code:
# cp /sdcard/root_files/perm_root /data/local/perm_root
because its saying the file is not in your data/local, also make sure that there is a folder on the root of your sd card named root_files and in it there is a file named perm_root.
Then re run this
Code:
$ su
# cp /sdcard/root_files/perm_root /data/local/perm_root
# chmod 777 /data/local/*
# /data/local/perm_root
Yeah but that wasn't the issue. I downloaded gfree and visionary individually and added each to the root of the sd. It wasn't until about the 10th time I reread the post that I realized that all the files I needed were bundled in a nice zip file at the bottom of the post.
Thanks for your input though.
i have been using This Guide and after obtaining temporary root i cannot get past this code '/data/local/tmp/root'
when i enter that i get:
/data/local/tmp/root: /data/local/tmp/busybox: permission denied
mkdir failed for /system/xbin, file exists
/data/local/tmp/root: /data/local/tmp/busybox: permission denied
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
Any help would be greatly appreciated.
Also, got my phone a couple days ago so i have wifi calling (automatic OTA from the box?)
Try downloading Titanium backup from market. Once it installs, open it up, hit the PROBLEMS button, which should reinstall busybox. Then try again. If that doesnt work i dont know what else to suggest sorry.
Sent from my HTC Vision using XDA App
kenzilla said:
i have been using This Guide and after obtaining temporary root i cannot get past this code '/data/local/tmp/root'
when i enter that i get:
/data/local/tmp/root: /data/local/tmp/busybox: permission denied
mkdir failed for /system/xbin, file exists
/data/local/tmp/root: /data/local/tmp/busybox: permission denied
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
Any help would be greatly appreciated.
Also, got my phone a couple days ago so i have wifi calling (automatic OTA from the box?)
Click to expand...
Click to collapse
try following this guide, it worked for me http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2
thanks for your quick responses guys, i'm trying both suggestions starting with the first one and i'll update in a bit.
so nothing work
I used to be on Temp root with Visionary and I just used this thread below to get permroot. I know you are trying the other way but maybe you can try this way. It is much easier and no ADB needed. Hope this helps.
http://forum.xda-developers.com/showthread.php?t=928160
first post didn't work. I did the second method posted by edkeys and the only problem i had was installing the drivers. to get around this i downloaded pdanet for android on my pc and i installed the program and it automatically installed the G2 drivers for me. I now have permanent root.
THANKS GUYS!
Awesome now you get to go have some real fun with ROMs and Kernels