[Q] *HELP* Gfree permission Denied - myTouch 4G Q&A, Help & Troubleshooting

Ok guys I am currently on hour 5 here with my mytouch 4g trying to root it. For the life of me I cannot figure out what is going on.
I have moved the gfree folder to /data/local
from there I have ran the chmod 777 gfree
then I enter the ./gfree -f
it then says permission denied
I have rebooted, removed the battery, tried a bunch of different things
always say permission denied at that step
ANY HELP WOULD BE GREAT
Thanks in advance (it wont let me post anywhere else since I am a new user and have less then 10 post sorry if this is the wrong spot)

After copying the files did you run visionary to get temp root and then run the "su" command in terminal emulator to get super user permissions? That's the only thing I could think of that may be causing the problem you're having.

yes I have I get the super user permission message then I get the # symbol next to where I type in ./gfree -f then I get permission denied every time

Related

Replacement Incredible, unable to write su: Permission denied

I've had an Incredible since launch that had a defective optical trackpad. Long story short, due to Verizon's terrible customer service I did not get my replacement until yesterday. I rooted my original Incredible without problem and backed up everything with Titanium thinking it would be an easy transition over to my replacement phone.
For some reason I am not able to get Superuser to install. Everything goes fine during the root process until I get to this step:
ln -s /system/bin/su /system/xbin/su
I get the following error:
ln: /system/xbin/su: File exists
The root instructions say to run the following command in the event of an error:
rm /system/xbin/su
At this point I get the error:
rm: cannot remove '/system/xbin/su': Permission denied
Obviously running the final command: 'chmod 06755 su' won't work and I just receive a 'Operation not permitted' error.
I've reset to factory settings 3 times with the same result every time I root. I end up with the Superuser icon in my app drawer, but root apps will obviously not work correctly as Superuser was not installed correctly with the correct permissions. If I only do the first 2 lines of the rooting process:
/system/bin/cat /system/bin/sh > /system/bin/su
/system/bin/chmod 4777 /system/bin/su
then reboot, certain apps such as Root Explorer will work, but anything that requires Superuser obviously will not.
Please, for the love of god someone give me some help. I'm so frustrated.
I had the same problem...you will want to follow the official rooting guide, as they have built the superuser into the payloadupdate.zip. Start over following the Unrevoked team: Incredible Root process (sorry, my profile is too new to post links) and you will be good to go.
You were right. I ran the Payload update from recovery, then rebooted without doing anything on the command line. Superuser was in my app drawer on reboot, and I was able to restore with Titanium backup. Thanks for the help!
I was also getting this error. This thread helped me solve my problem. Thanks.
Sent from my ADR6300 using XDA App
Fuzzy_Dunlop said:
I've had an Incredible since launch that had a defective optical trackpad. Long story short, due to Verizon's terrible customer service I did not get my replacement until yesterday. I rooted my original Incredible without problem and backed up everything with Titanium thinking it would be an easy transition over to my replacement phone.
For some reason I am not able to get Superuser to install. Everything goes fine during the root process until I get to this step:
ln -s /system/bin/su /system/xbin/su
I get the following error:
ln: /system/xbin/su: File exists
The root instructions say to run the following command in the event of an error:
rm /system/xbin/su
At this point I get the error:
rm: cannot remove '/system/xbin/su': Permission denied
Obviously running the final command: 'chmod 06755 su' won't work and I just receive a 'Operation not permitted' error.
I've reset to factory settings 3 times with the same result every time I root. I end up with the Superuser icon in my app drawer, but root apps will obviously not work correctly as Superuser was not installed correctly with the correct permissions. If I only do the first 2 lines of the rooting process:
/system/bin/cat /system/bin/sh > /system/bin/su
/system/bin/chmod 4777 /system/bin/su
then reboot, certain apps such as Root Explorer will work, but anything that requires Superuser obviously will not.
Please, for the love of god someone give me some help. I'm so frustrated.
Click to expand...
Click to collapse
I got the su file from below link
http://rapidshare.com/files/422997479/HTC_Magic_Recovery_and_su.zip
but still no result

s-off but not super user acces!? help please :)

hey well i got to this point :
# # /data/local/tmp/root
Click to expand...
Click to collapse
anyhow when i run this it says:
cp: can't stat '/sdcard/superuser.apk': no such file or directory
then is the same but with su
Click to expand...
Click to collapse
i went ahead and put sync anyhow and when i restart and run 'su' but is says: unknown user root
any ideas what i did wrong? :/
oh and btw somehow i have S-off...
i followed each step, but i just notices this... for some reason it wont let me push superuser.apk or su, all of the other files can be pushed... any ideas?
no one?
http://www.youtube.com/watch?v=tU9zn_BEth4 i did that way and it works for me.
but i have s-off i supposed to be rooted already but i do not have super user powers... what do i do
Did you copy the Superuser.apk file to the root of your SDcard?
yes i did, and su too and now when i put su on my phone it says unknown user root :/
i can get temporal rooting tough.
Use visionary r13 ... had same issue... worked for me
Get it from pauls visionary thread on Modaco.
Sent from my HTC Vision using XDA App
i had the same situation with u few days ago. just follow http://forum.xda-developers.com/showthread.php?t=834228 and u only need do the temp root part.
Delete visionary and superuser first, install terminal emulator from market.
on you pc:
$ 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/*
Then on you G2, open a terminal emulator
Launch Terminal Emulator---/data/local/tmp/rage----Wait for the message: "Forked #### childs."------Menu > Reset Term - Terminal Emulator will exit.-----Launch Terminal Emulator, it Force Closes. Launch a second time, and you'll have a root shell----- run the /data/local/tmp/root script here.---sync.
In the last step, u can find the origin thread dose not let u do this. but, if you've got s-off, trust me, just do the last step "/data/local/tmp/root", and when u see a feedback "****files exist",then "sync",
I got s-off, flashed clockwork recovery and baconbits
setcpu is also working
but when I try typed su then reboot in terminal
it says not permitted
and when I want to get rid of the bloatware ie Finance
root explorer refuses to switch to r/w in data folder
any suggestions
u can also do what i suggested in the 8th floor.
o>c said:
I got s-off, flashed clockwork recovery and baconbits
setcpu is also working
but when I try typed su then reboot in terminal
it says not permitted
and when I want to get rid of the bloatware ie Finance
root explorer refuses to switch to r/w in data folder
any suggestions
Click to expand...
Click to collapse
r u rspt in Gfan? since u can read chinese, just look at here. http://www.hiapk.com/thread-631413-1-3.html
I made this thread to help solve such problem.
After I got S-off, I didn't have root either. I just jumped on visionary (made sure run on boot wasn't checked), clicked root now. And boom, that was it. Then I deleted visionary and I've had root ever since...

can't unlock! HELP!

i'm trying to use gfree to unlock my mytouch 4g, but its always giving me a permission denied
I think my device is fully rooted, because I don't have to temproot it every time I restart, and my S=off
Anyways, my gfree while is located on my sdcard
so basically I go to
cd /sdcard
chmod 777 gfree
./gfree -f
Then it gives me a permission denied error.
Does anyone know how to fix this? I tried putting the file in /data/local/ but it doesn't allow me
If your s=off then you are permanently rooted. And you need to make sure you are using a root explorer like Super Manager.
Sent via Cyanogen powered Nook Color
Well, what am I going to do with super manager?
I have filemanager, but I still gonna execute ./gfree -f in my terminal.
It gives me a "permission denied" error
Okay now, i'm able to access everything, but I cannot execute the ./gfree -f
It doesn't give me an error or anything.
emckai said:
Okay now, i'm able to access everything, but I cannot execute the ./gfree -f
It doesn't give me an error or anything.
Click to expand...
Click to collapse
what happens if you type "su" enter in terminal? if you get denied error, go to super user make sure terminal isn't set to get denied. that is tab it, forget, go back to terminal, type su, select allow in the popup window. you might have to reboot after forget in super user.
start the process over, but use gfree 2 instead of the gfree 4 they suggest. I had this exact same issue and that's what was suggested to me and it worked.
emckai said:
Well, what am I going to do with super manager?
I have filemanager, but I still gonna execute ./gfree -f in my terminal.
It gives me a "permission denied" error
Click to expand...
Click to collapse
If you are using a non "SU" access File Manager it might not being placing the file correctly. Thus giving you an error. Since the system might still be in a r/o fashion it cannot execute the commands properly.
emckai said:
Okay now, i'm able to access everything, but I cannot execute the ./gfree -f
It doesn't give me an error or anything.
Click to expand...
Click to collapse
Donnie_K said:
start the process over, but use gfree 2 instead of the gfree 4 they suggest. I had this exact same issue and that's what was suggested to me and it worked.
Click to expand...
Click to collapse
as donnie said make sure you are using ./gfree .04.

Can't Unroot S-Off stays

I've tried all the threads on unrooting my mytouch 4g and I still have s-off. I've used the PD15IMG.ZIP. I've tried the sh unroot.sh method. I get permission denied at the end. I've tried doin the manual way with dd if=/where/your/part7backup-numbers.bin of=/dev/block/mmcblk0p7 I get an error saying error cannot open copy file... I don't know what else to do. I need to send my phone back for warranty. Any help is appreciated!
Did you push gfree to data local again, do chmod 777 to make it executable then run it again before doing the dd if=/sdcard/part7backup-numbers.bin of=/dev/block/mmcblk0p7?

[Q] Cant root using anything and got 1.34.405.5

I dont know whats wrong but suddenly i cant root my device after i downgraded to 1.34 .. I need to turn S-ON because my device needs to go for repairs.. I follow this guide:
http://forum.xda-developers.com/showthread.php?t=928671
but for some reason when i try to launch psneuter i get some wierd permission denied error..
Code:
adb push psneuter /data/local/tmp
adb server is out of date. killing...
* daemon started successfully *
1841 KB/s (265118 bytes in 0.140s)
adb shell chmod 777 /data/local/tmp/psneuter
adb push adb shell /data/local/tmp/psneuter
PK♥8+: permission denied
∩♣ÿ☼: permission denied
☼: permission denied
/data/local/tmp/psneuter: 6: Syntax error: "|" unexpected
so im stuck ! Any suggestions ?
Da9L said:
I dont know whats wrong but suddenly i cant root my device after i downgraded to 1.34 .. I need to turn S-ON because my device needs to go for repairs.. I follow this guide:
http://forum.xda-developers.com/showthread.php?t=928671
but for some reason when i try to launch psneuter i get some wierd permission denied error..
Code:
adb push psneuter /data/local/tmp
adb server is out of date. killing...
* daemon started successfully *
1841 KB/s (265118 bytes in 0.140s)
adb shell chmod 777 /data/local/tmp/psneuter
adb push adb shell /data/local/tmp/psneuter
PK♥8+: permission denied
∩♣ÿ☼: permission denied
☼: permission denied
/data/local/tmp/psneuter: 6: Syntax error: "|" unexpected
so im stuck ! Any suggestions ?
Click to expand...
Click to collapse
I guess as you've already achieved root / S-OFF etc, you find the command to S-ON there will probably be a command switch to S-OFF. Failing that, when I S-OFF'd, it produced a backup.
craiglay said:
I guess as you've already achieved root / S-OFF etc, you find the command to S-ON there will probably be a command switch to S-OFF. Failing that, when I S-OFF'd, it produced a backup.
Click to expand...
Click to collapse
Yes i do currently have S-OFF but need S-ON again because the phone is beeing returned for repairs..
Might be able to use rage, for temp root.
Sent from my HTC Vision using XDA Premium App
Re reading your post, i'm not sure psneuter is root for 1.34 i used it to get temp root on 1.72 downgraded and used rage for root on 1.34. Look in android development for the guide to downgrade and root (no links on app) start at after the 1.34 flash bit. gfree is the app that s-off so its likely gfree can also s-on. Running gfree with no switches should give a manual page, or just search gfree switches. (I'm not responsible for bricks etc!!)
Edit, rage gives temp root on 1.34
Sent from my HTC Vision using XDA App
Okay so i've managed to get root on the device ! Finally..
However i still have trouble running gfree.. i've tried a few methods but it gives me the same output
Code:
# /data/local/gfree -r /sdcard/part7backup-1298979588.bin
/data/local/gfree -r /sdcard/part7backup-1298979588.bin
/data/local/gfree: 1: Syntax error: ")" unexpected
# /data/local/gfree -s on -c HTC__Y13
/data/local/gfree -s on -c HTC__Y13
/data/local/gfree: 1: Syntax error: ")" unexpected
I "think" i managed to get root.. when i write 'adb shell' i dont go directly to a root shell, but only '$'. Writing 'su' phone ask me if i want to let permission to give a root shell which i accept whereafter i get the '#'
EDIT: Just tried it again using a newer version of gfree.. (The one i used above was 0.4) Same problems with gfree 0.7. But i have an idea that it can be because of this:
When i download the file 'gfree_07.zip' am i supposed to just rename this file to only 'gfree' without any extension and then with push it to phone with 'adb push gfree /data/local/' ? OR am i supposed to open the zip file and extract the gfree file within it and then push that file to the phone ?
Yes, you must unzip gfree_0x.zip file and move the extracted gfree binary file to your phone as instructions (and this thread) states. Good luck!!!
How I wish we wouldn't need to do this kind of trickery just to use our own phones as we wish...
Let us know if it eork. Ive been having the same trouble
Sent from my GT-P1000T using XDA Premium App

Categories

Resources