Hello. I am encountering a problem when attempting to root my G2 as outlined in the wiki (http://forum.xda-developers.com/wik..._Root_.2F_.22Permaroot.22.29_using_gfree_v0.5). I get an error message with this step:
Code:
# ./root_psn
Returns the error message:
Code:
# ./root_psn
./root_psn
cp: can't stat '/system/xbin/busybox': Not a directory
Unable to chmod /system/xbin/busybox: Not a directory
./root_psn: /system/xbin/busybox: not found
cp: not found
cp: not found
Unable to chmod /system/bin/su: No such file or directory
#
As a possible side note, something worked: I have ENG S-OFF but no root. Any idea what went wrong?
There is a topic in G2 development forum using visionary "and" gfree to root. Easiest way to root the G2. Dont even need a pc.
Sent from my HTC Vision using XDA App
Except that Visionary doesn't work on my phone, curiously. I would have tried that already if it did. But thanks for the reply
Busybox isn't where it's supposed to be it looks like. The cp command is dependant on a working busybox binary, if the location is incorrect, or or it isn't executable, you'd get those errors.
Okay, thank you. I will make another attempt when I am back home.
Sent from my T-Mobile G2 using XDA App
okay I tried to do it again and hit the same wall: same error. Pretty sure I pushed busybox to the right location. Is there anything I can do now since visionary doesn't appear to work (temproot) either?
I used Z4Mod to Temp root my G2 for OC purposes only...
Sent from my T-Mobile G2 using XDA App
Still getting "Permission denied" from terminal emulator/Titanium backup. My G2 REALLY does not want to be rooted it seems...
You need to change the permissions on those files chmod them too 755 i think. It should be outlined in the guide. Sorry i cant give you specific help
Sent from my myTouch_4G_Slide using XDA Premium App
I am now getting 'mmap<>failed. Operation not permitted' on '$ adb shell /data/local/tmp/psneuter'
bump please - this problem is aggravating
go to the irc channel and ask for help. Describe what you have done so far step by step and someone will help you.
Related
This is the second time I tried to root it. I can only get temp Root but once i reset and gfree_verify and type #su on command prompt i get permision denied.....
The only thing i can think of that was out of the ordinary was when I try to lock in root and get "mkdir: /system/xbin already exists" On the guide it said not to worry about that.....
Any help or tip would be great.
Desire Z (Bell) flashed with generic rom (goldcard method)
Simunlocked on ATT
Was your SD card unmounted from Windows?
Best thing really is just to start over step by step slowly. The method works (did for me) so simplest explanation is a small mistake somewhere...
Paste the full message. The message is okay if it says that xbin is a directory, but one time I had xbin turn into a binary file for some reason(I was told it was because of VISIONary).
The message you will get is on the lines of "xbin not a directory" or something.
If so, then before using ADB push to send the rooting script, edit the rooting script(I don't know if notepad will recognize the line endings):
Change:
Code:
#set up busybox
mkdir /system/xbin
To:
Code:
#set up busybox
mv /system/xbin xbin.bak
mkdir /system/xbin
Do note that my experience is with the G2.
Thanks for all the help. It turns out my phone was rooted but gfree_verify seems to be not working.
Installed a Rooted app and realized it was rooted lol.
Now runing CM7 nightly Best **** ever. Finally getting more than 12 hours of battery life.
So I just rooted a Glacier out of the box using VISIONary and gfree. Did everything exactly as was supposed to: temprooted, ran gfree, permrooted with "Set system r/w after root" checked, flashed engineering bootloader. Still running stock ROM.
Whenever I try to use adb remount, it fails saying "Operation not permitted." I want to use adb push to write to the file system, but I can't do that without the remount command.
I've tried using terminal emulator to copy a file from the sd card and failed:
Code:
$ su
# cd /sdcard
# cp -f hosts /system/etc
cp: cannot create '/system/etc/hosts':File exists
I've also tried outright deleting a file and failed:
Code:
# cd /system/etc
# rm hosts
rm failed for hosts, Read-only file system
I'm stupefied.
jdkoren said:
So I just rooted a Glacier out of the box using VISIONary and gfree. Did everything exactly as was supposed to: temprooted, ran gfree, permrooted with "Set system r/w after root" checked, flashed engineering bootloader. Still running stock ROM.
Whenever I try to use adb remount, it fails saying "Operation not permitted." I want to use adb push to write to the file system, but I can't do that without the remount command.
I've tried using terminal emulator to copy a file from the sd card and failed:
Code:
$ su
# cd /sdcard
# cp -f hosts /system/etc
cp: cannot create '/system/etc/hosts':File exists
I've also tried outright deleting a file and failed:
Code:
# cd /system/etc
# rm hosts
rm failed for hosts, Read-only file system
I'm stupefied.
Click to expand...
Click to collapse
To be sure you could download a root explorer and see if you can mount R/W
Sent from my HTC Glacier using XDA Premium App
Is there a free application that does this?
Unfortunately, I won't have access to it for the next few days (someone else's phone, and he's going out of town).
the stock rom doesn't except the remount command.
I believe that astro has the remount ability in it. You might want to consider flashing a custom rom though, even if its one of the stock based ones.
option94 said:
the stock rom doesn't accept the remount command.
I believe that astro has the remount ability in it. You might want to consider flashing a custom rom though, even if its one of the stock based ones.
Click to expand...
Click to collapse
I see, thanks very much for the explanation. Is that also why the terminal commands didn't work? Does the stock ROM not allow r/w permissions even if you have superuser permission?
Since it's not my phone, I didn't flash a ROM, only ClockworkMod recovery 3.0.0.6. Next time I see him I'll ask whether he wants to do any firmware changes or not.
jdkoren said:
I see, thanks very much for the explanation. Is that also why the terminal commands didn't work? Does the stock ROM not allow r/w permissions even if you have superuser permission?
Since it's not my phone, I didn't flash a ROM, only ClockworkMod recovery 3.0.0.6. Next time I see him I'll ask whether he wants to do any firmware changes or not.
Click to expand...
Click to collapse
That's correct... I think. all I know is that the stock Rom doesn't usually play well with root lol so yes flash a custom rom
Sent from my HTC Glacier using XDA Premium App
You can make the stock rom rw, but its a pain and I dont really remember the command. Its something like
Code:
mount -o,rw remount /dev/block/mmcblk0p25 /system
That may br right, but if not it wont do any damage. just give you a syntax error.
option94 said:
You can make the stock rom rw, but its a pain and I dont really remember the command. Its something like
Code:
mount -o,rw remount /dev/block/mmcblk0p25 /system
That may b right, but if not it wont do any damage. just give you a syntax error.
Click to expand...
Click to collapse
Ah yes, I remember using that once before. I've since forgotten it since I never use it with my own phone. Alrighty, I'll mark this as answered.
Im having trouble with root privileges, I rooted my phone for the first time the ohter day using the user guild for noobs and had a froend help who knew what he was doing. Everything went well and the phones running a treat. Only issue I got is I dont have root privileges and I dont know why? Any suggestions?
Not sure what info you may require.
Explain how you rooted and your software (os) version so we can help you better.
Sent from my GT-I9000M using Tapatalk
xxbeanxx said:
Explain how you rooted and your software (os) version so we can help you better.
Sent from my GT-I9000M using Tapatalk
Click to expand...
Click to collapse
I used the noob guide on this site
http://forum.xda-developers.com/showthread.php?t=1139050
and these files
GT_I9000_XXJVQ_XXJVQ_OXAJVQ_Sbl.exe
CSC_OXAJVQ.tar.md5
PDA_XXJVQ_Sbl.tar.md5
PHONE_XXJVQ.tar.md5
using
Odin_v1.82_and_512.pit_513.pit_803.pit_files.exe
So you flashed the CF rooted kernel?
Try putting your phone in debug mode and open a shell to it using adb. Once inside check to see if the su binary is in /system/xbin.
ie:
Code:
adb shell
$ ls -l /system/xbin/su
if you see something like this, you're golden:
Code:
-rwsr-sr-x root root 26264 2011-08-16 15:49 su
(also notice the permissions, it needs to be setuid, although I would guess if it is there it is unlikely it is not setuid)
if you see this, something's wrong:
Code:
/system/xbin/su: No such file or directory
if you have su, have you installed the superuser app from the market?
if not, you have to figure out why..for example, do you have space on your /system filesystem?
Code:
$ df /system
Filesystem Size Used Free Blksize
/system 275M 256M 19M 4096
Okay, so I used to have a temp/perm root on my mT4G. Then I got a replacement b/c my "POWER" button was jammed & wouldn't work. Now that I have the replacement, it will not root...not even temp root. After installing VISIONary, I selected the 1st & 3rd options and hit temproot. It runs the VISIONary splash sceen.........then shows a blank screen w/the status bar still visible (I can drop the bar down, & use the other functions inside it, but I cannot "BACKOUT" of the blank screen). So, I hit the home key & ran "Root Check" I DL'd from the Android Market: Advanced (selected), then hit "Verify Root Access" twice; in the detailed results it gave me this:
Root Access is not properly configured or was not granted.
Superuser.apk - com.noshufou.android.su - version 2.3.6.3 is installed!
The adb binary is set to default shell user access as a standard non-root user
Standard su binary location: ls -l /system/bin/su:
/system/bin/su: No such file or directory
Standard su binary location: ls -l /system/xbin/su:
/system/xbin/su: No such file or directory
Alternate su binary location:
/sbin/su: Permission denied
SU binary not found or not operation properly
Can anyone help me figure out what this mean? I didn't run into this problem when rooting my phone before the replacement...I was just able to root/unroot with ease. I don't want to perm root my replacement phone b/c I don't want to void the warranty (I need another replacement b/c the speaker makes my callers sound distorted.) Please help, thanks.
I am assuming your replacement has been updated to 2.3.4, in which case there is no known way to root it yet except to downgrade
http://forum.xda-developers.com/showthread.php?t=1178912
But if this is not the case, please provide a little more info
Yeh, it is the 2.3.4 version...that sux. How would I go about downgrading (I'm a little new to this whole during thing but I learn quickly)?
Sent from my HTC Glacier using XDA App
Hit the link I posted and follow the instructions....
Yeah, I figured that out. I thought my reply, saying that I see the link, went through after I sent my last.
Sent from my HTC Glacier using XDA App
Need Help for rooting my G3,
Baseband I5801 DDJP2
Kernel: 2.6.32.9
[email protected]#2
Build FROYO.DDJP6
I've rooted earlier, but since official update in India of DDJP6 all the applications which need root access have stopped working, now I'm unable to root or unroot again with superclick(2.1 and 1.7) as it doesn't detects my cell.
Help please, here a snapshot of root checker, it might help.
Superuser.apk -com.noshufou.android.su -version 3.0.6 is installed! System Environment PATH: /sbin /system/sbin / system/bin /system/xbin The adb binary is set to default shell user access as a standard non-root user Standard su binary location: ls -l /system/bin/su: /system/bin/su: No such file or directory Standard su binary location: ls -l /system/xbin/ su: /system/xbin/su: No such file or directory
Alternate su binary location: ls -l /sbin/su: /sbin/su: No such file or directory Alternate su type binary location: ls -l /system/ xbin/sudo: /system/xbin/sudo: No such file or directory SU binary not found or not operating properly Results provided on your GT-I5801 device by Root Checker version 3.9 from joeykrim in the
Sent from my GT-I5801 using XDA App
Flash cf-root kernel and you get root instantly, no hassles
Thanks for reply, that was my first post here, will search about flashing that kernel, just got a question, will my phone application and data will get wiped out as I can't use titanium back up now(I'm new to flashing).
Sent from my GT-I5801 using XDA App
Also check if "usb debugging" is enabled, you need that root.
You can also try "z4root"
ashutoshbpl said:
Thanks for reply, that was my first post here, will search about flashing that kernel, just got a question, will my phone application and data will get wiped out as I can't use titanium back up now(I'm new to flashing).
Sent from my GT-I5801 using XDA App
Click to expand...
Click to collapse
No, its just a kernel, it wont wipe anything
umangsagar said:
Also check if "usb debugging" is enabled, you need that root.
You can also try "z4root"
Click to expand...
Click to collapse
z4root wont work on froyo, it uses an old exploit
Since we are talking about it, anyone has link for I5801DDJP6?
And anyone knows the changes between DDJP5 and DDJP6?