Hi everyone,
I have a MT4G, 2.2.1, kernel 2.6.32.21-g899d047. I am using Windows 7 Ultimate 32-bit.
I want to root the phone but I am meeting a lot of permission issues.
I have been following this guide: http://wiki.cyanogenmod.com/index.php?title=TMobile_myTouch_4G:_Full_Update_Guide
At the very beginning, I had problems with su and Superuser.apk.
I have used 'adb devices' to check that my phone is indeed detected.
I put su and Superuser.apk into the same directory as
When I use 'adb push su /sdcard/su', I receive an error saying 'Failed to copy 'su' to '/sdcard/su': Permission denied. Same error for Superuser.apk.
I looked further down the guide and noticed that I would not actually be using the su and Superuser.apk at all and simply copied it over to the SD card itself when I plug the phone into my computer.
I then go into terminal emulator on the phone and I run rage and received the 'Forked #### childs' message, after which I reset term.
I assume I have root shell at this point because I am no longer on $, but instead on #.
At this point, I am able to adb push gfree (the one file gfree) into /data/local. I am able chmod 777 from adb.
When I go into terminal emulator again, I run '/data/local/gfree -f' but it gives me the error message of '/data/local/gfree: permission denied'
What am I doing wrong? I used 'ls -l' inside the directory of /data/local and I have complete rights for gfree (drwxrwxrwx).
----
I have also attempted to use VISIONary+ (R14) but all it does is flash a couple of times then go back to the app page where you choose to temproot. I check my app drawer and Superuser is indeed there, but if I tried to go into terminal, I am met with $. I tried entering 'su' but it would say unknown user root.
----
PLEASE HELP! THANKS!
Use this method. It's pretty much fool proof.
http://forum.xda-developers.com/showthread.php?t=858996
Are you temp rooting with visionary before entering the commands in terminal?
lowandbehold said:
Are you temp rooting with visionary before entering the commands in terminal?
Click to expand...
Click to collapse
i can haz 10 char
neidlinger said:
Use this method. It's pretty much fool proof.
http://forum.xda-developers.com/showthread.php?t=858996
Click to expand...
Click to collapse
lowandbehold said:
Are you temp rooting with visionary before entering the commands in terminal?
Click to expand...
Click to collapse
As mentioned in OP, I am using the rage file to give me temporary root. I am currently not using VISIONary because (also included in OP) I am not getting root shell at all with VISIONary. I click temproot in VISIONary and the superuser app shows up but I am unable to su in Terminal.
Try to find visionary 11, people have alot of problems with 14.
neidlinger said:
Use this method. It's pretty much fool proof.
http://forum.xda-developers.com/showthread.php?t=858996
Click to expand...
Click to collapse
Having trouble at step 1..
'adb push gfree /data/local'
Met with the error 'Failed to copy 'gfree' to '/data/local/gfree': Is a directory'
I extracted the files into platform-tools.
Didn't you already put gfree on your phone from the first attempt?
lowandbehold said:
Didn't you already put gfree on your phone from the first attempt?
Click to expand...
Click to collapse
Yes but I was attempting to follow a whole new guide. Regardless, I have shell root but I am still unable to run gfree. It still shows permission denied (again, using ls -l, I can see that gfree is drwxrwxrwx).
Use visionary 11. I have rooted 4 MT4G's with that guide and visionary 11...It works.
before you attempt a new rooting method please pull the battery and let the phone sit for a few moments. Since your s-on it will delete any unwanted files that you may of tried to push to the phone.
and type in
Code:
adb kill-server
adb start-server
That will refresh the adb server on your computer.
you'll also need to change the directory to the folder where you stored the gfree files.
double post...sorry
lowandbehold said:
Use visionary 11. I have rooted 4 MT4G's with that guide and visionary 11...It works.
Click to expand...
Click to collapse
Yeah, I'm using visionary 11. Still no good.
Are you checking the boxes in visionary and clicking temproot? I don't know what the issue could be...you must be missing something.
lowandbehold said:
Are you checking the boxes in visionary and clicking temproot? I don't know what the issue could be...you must be missing something.
Click to expand...
Click to collapse
I have 'Set system r/w after root' checked. I don't need to check 'Run visionary.sh' and 'Root on boot', do I?
itzbilly said:
I have 'Set system r/w after root' checked. I don't need to check 'Run visionary.sh' and 'Root on boot', do I?
Click to expand...
Click to collapse
RUN VISIONARY.SH : Yes
root on boot : no
neidlinger said:
RUN VISIONARY.SH : Yes
root on boot : no
Click to expand...
Click to collapse
Tried with those settings and now I've lost root shell. I'm on $ and entering su gives me unknown user root.
VISIONary says device is rooted when I try to run it again.
I would check the root on boot, reboot, uncheck it, go into terminal and put in the su command and see what happens...your phone will be really laggy when you boot it up, so give it a minute, it is normal.
lowandbehold said:
I would check the root on boot, reboot, uncheck it, go into terminal and put in the su command and see what happens...your phone will be really laggy when you boot it up, so give it a minute, it is normal.
Click to expand...
Click to collapse
Do i uncheck and then reboot or just uncheck and go straight into terminal?
check everything including the root on boot. Reboot the phone. Then you can go straight into terminal or uncheck it and go into terminal..doesn't matter. Just make sure before you reboot a second time that root on boot is not checked.
Related
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...
hey guys need help so my Mytouch 4G updated and perm rooted, and i keeep gettin gthe permission denied everytime i try and execute a command thru adb thru my pc or on the Terminal Emulator. Did something not go thru on root or am i missing something simple? any help would be greatly appreciated. Thanks
mrpanic7 said:
hey guys need help so my Mytouch 4G updated and perm rooted, and i keeep gettin gthe permission denied everytime i try and execute a command thru adb thru my pc or on the Terminal Emulator. Did something not go thru on root or am i missing something simple? any help would be greatly appreciated. Thanks
Click to expand...
Click to collapse
You may have to run visionary and reboot a few more times to make root privileges stick.
My MyGlacier 4G MINE!!!
Try this:
: adb shell (this should give $)
:$ su (next line type su, this should give you prompt on Super user to allow permission)
:# ( once you get this your good)
Sent from my HTC Glacier using Tapatalk
Try to install visionary and then re install open click temp root then permoot super user should ask to approve click yes. After that restart
Sent from my HTC Glacier using XDA App
Please post questions in Q&A forum. Thank you
ok everytime i try adb shell in terminal emulator it says the permission denied, im gonna try the first reply again and then see....any other ideas?
also guys, when i try and run visionary again it says your device is already rooted, along with when i type su in TE, it gives # with superuser permissions quote showing on bottom of screen, but i was trying to run adb commands from pc or from te and they still show permission denied. SetCPU works.
mrpanic7 said:
also guys, when i try and run visionary again it says your device is already rooted, along with when i type su in TE, it gives # with superuser permissions quote showing on bottom of screen, but i was trying to run adb commands from pc or from te and they still show permission denied. SetCPU works.
Click to expand...
Click to collapse
Ok, go into adb shell and type su + enter. Watch your phone when you do this. Superuser should ask if you want to allow "unknown" root privileges. "unknown" is adb. Click allow and your problems should go away.
My MyGlacier 4G MINE!!!
So typing su works and the message terminal emulator is granted permissions, but then any other commands dont work
Sent via MyTouch 4G
Whats a test command I could try?
Sent via MyTouch 4G
mrpanic7 said:
So typing su works and the message terminal emulator is granted permissions, but then any other commands dont work
Sent via MyTouch 4G
Click to expand...
Click to collapse
I ran into this same issue and it drove me crazy. I would not get prompted by the phone to allow su permissions when going through ADB- kept getting "permission denied"
I did finally get SU permissions through ADB, but I dont recall exactly what I did to get prompted to allow access.
I will try to retrace what I did... believe I had ADB shell running (without su permissions "$"), but I also had terminal emulator running on my phone. I entered the su command on my phone, then I did the same from ADB shell.
Finally the phone prompted me to allow access - accepted - and no problems from that point.
Basically, I just had to keep f'n with it.
Yeah thats my problem exactly. Yeah I appreciate any assistance you can provide. I mean my pc reads my device when I adb devices command, but it wont allow nothing past that. Please keep me informed on anything I can try, also im not thag most fluent with using sdk/adb stuff so any additional info with using that is much appreciated thanks again fellow enthusiasts!
Sent via MyTouch 4G
Have you tried to bacup su, then uninstall su. Reinstall su, Then try it again. MIGHT work
Sent from my HTC Glacier using XDA App
yeah i re-installed su and didnt help, @dbiggs-what can i do thru adb to initiate the su permissions to the device like you did?
I wish I could help more specifically, but I dont remember exactly what I did that allowed me access- just kept trying
Maybe try this...(dont be offended if any of these steps are ones that you already know or have tried, I am just trying to be as thorough as I can from memory)
Open up super user, then go back to the terminal emulator and enter the "su" command to gain superuser permissions.
Plug the phone into the computer, select charge only, enter ADB through tools (probably "C:\Android\tools" if your Android folder is in the root of your harddrive).
from the prompt C:\Android\Tools, enter:
adb shell
then you will get the "$" that you mentioned.
enter the "su" command, and hopefully you will get prompted to allow superuser permissions for ADB.
I am pretty sure these are the steps that I took, just had to keep trying.
Lemme know how it works out.
I see some people here asking about getting su privileges in adb, however I do have SU and I can run su in adb shell. My problem is that I am trying to push some files and use Android Commander. I can't run "adb remount" (remount failed: Operation not permitted), I can't copy files in Android Commander (it's says that I do not have ROOT)
How can I get Read-Write in ADB ??
Edit: Oh, now I got it, I don't have root in ADB, when i type "adb root" it says "adbd cannot run as root in production builds"
Did anyone figure this out? I'm being denied on TE and PC also.
I have managed to be able to get around this issue by going into recovery mode on my phone.
If the end result that you are looking for is to adb push files, then the easier way to do this is to flash clockwork recovery to your phone, then start your phone into recovery mode, mount system and you should be able to push files no problem.
Lemke know if this helps.
Sent from my HTC Glacier using XDA App
mrpanic7 said:
hey guys need help so my Mytouch 4G updated and perm rooted, and i keeep gettin gthe permission denied everytime i try and execute a command thru adb thru my pc or on the Terminal Emulator. Did something not go thru on root or am i missing something simple? any help would be greatly appreciated. Thanks
Click to expand...
Click to collapse
I'm pretty sure your issue has nothing to do with SU access. Most likely, your phone is simply mounting as r/o (read only) when it boots up, so ADB is unable to change anything to the system folder. The easiest way to mount as r/w (Read/Write) is to go into Root Explorer and click the r/w button in the top right corner, and then go to ADB and see if it will allow you to do the same commands that it previously denied.
I have the same issue with my phone mounting as r/o by default, but I haven't been able to figure out how to automount as r/w on the MT4G. If anyone knows how, please share.
I had this same issue, on several android phones including MT4G. Here is how I fixed it.
1. Connect phone via usb (I was in "charge only" mode, not disk drive mode)
2. Open command prompt and navigate to the android tools folder
3. type "adb shell"
4. MAKE SURE YOUR PHONE SCREEN IS ON AND UNLOCKED
- The above step is very important otherwise you will not get the SU prompt
5. At the "$" prompt type "su"
6. Your phone should now display the SU screen asking you to allow the connection root access.
7. Once you allow it, you are golden.
I did this on a windows pc. Hope it helps.
Is there any way to root the MT4G without using a computer?
Sent from my HTC Glacier using XDA App
Yes. I was able to using visionary r14 & terminal emulator.
Find Grankins thread on rooting for step by step.
Sent from my HTC Glacier using XDA App
pvchip3 said:
Is there any way to root the MT4G without using a computer?
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Fast easy and fairly safe way, Visionary Plus r14. One click root for temp and perma-root. Usually I do not recommend the 'easy way' method because I think everyone should learn how to actually root the 'hard way' just in case.. but I have to admit Visionary Plus works perfectly on the MT4G and is fast and simple as well as fairly safe. I suggest you use the temp root option first, this way if there is any issues with your device a simple reboot will fix it.
Thanks guys I now have S=OFF and this a new replacement from TMO
Sent from my HTC Glacier using XDA App
What all did you do?
PostaHTC said:
What all did you do?
Click to expand...
Click to collapse
i cannot speak of the person @ hand
The three needed items
you download VISIONary.apk
download the Root.sh file .zip and sore the folder with the script file inside the folder on the root of the SD card
download Terminal Emulator from the Android Market
How to do it
Run VISIONary and temp root w/ visionary.sh and set system to r/w after root checked
go into the Term Emul and type "SU". The $ sign should change to a #
if it does
cd /sdcard/root
sh root.sh
Click to expand...
Click to collapse
reboot into bootloader and make sure s=off.
Ok do I every hit Perm-Root?
PostaHTC said:
Ok do I every hit Perm-Root?
Click to expand...
Click to collapse
i never did. Once you turn s=off it will not check for that. after you reboot you will need to hit temp root one more time.
I'm trying it as we speak....
I temp-root?
Then I run the commands?
Then I temp-root one last time
Then Turn Off and S should be off....RIGHT?
I did a recent root though perm one. It was through a youtube video and a guide from this forum! look for perm root and s=off thread. its posted by the person who did ultimate true root and s=off.
and use visionary r11, if you dont like the manual way. thats really quick and good as well. but i dont take any responsibility though for any bricking to your phone from this suggestion xD.
PostaHTC said:
I'm trying it as we speak....
I temp-root?
Then I run the commands?
Then I temp-root one last time
Then Turn Off and S should be off....RIGHT?
Click to expand...
Click to collapse
I need to know what you have done so far
steps are:
Download files, temp root, run sh root.sh, reboot, no need to perm root from visonary
edit:
Go here:
http://forum.xda-developers.com/showthread.php?t=858996
And get the eng boot (optional steps at thhe end of the guide), its a must if you wanna start playin around with ur phone
Sent from my rooted glacier running CM7 and grankin's oc kernel
I'm doing the first steps to get S-Off but it's still S-On
I'm uploading a video to show you wat I'm doing
PostaHTC said:
I'm uploading a video to show you wat I'm doing
Click to expand...
Click to collapse
So, still no progress?
I need details though, like, what files have you downloaded, what steps, and everything.
Details bro, details.
http://www.youtube.com/watch?v=M6DrLUau8mE
PostaHTC said:
http://www.youtube.com/watch?v=M6DrLUau8mE
Click to expand...
Click to collapse
k, I saw the vid, the problem is you are still running bootloader version 0.86 and we want to be on eng bootloader, 0.85.
Ok, try this:
First off: we need the SDK, get it from google here: http://developer.android.com/sdk/index.html
Download the version that works for you, once it downloads (it is a .zip), extract it on your C:/ directory and for working purposes we will rename it to: "androidsdk". you have to launch the SDK manager, let it update and then read what follows:
Alternative Root Process
First, uninstall visionary and superuser and restart your device to wipe out temp root.
Second, download MT4G Modperm.zip and unzip its contents to your sdk platform - tools directory. (will be at C:/androidsdk/platform-tools
MT4G Modperm.zip: http://www.mediafire.com/?eaw0q0zjc7rrrwh
MD5Sum: 3ea4a7a6ddee711d12f7350ce60fae33
Then:
Windows Users:
1a. Using Explorer navigate to the root of your sdk. Hold shift and right mouse click on the platform-tools folder. Select "Open command window here". Or, open a command prompt, type:
cd /androidsdk/
cd platform-tools/
2a. Type "adbbat" + enter. Wait till the batch file finishes. (this will only work if the file we downloaded (MT4G mod perm) is extracted at C:/androidsdk/platform-tools (make sure that you do not create an extra folder within the platform-tools directory)
2. Disconnect your phone from the PC.
3. Open terminal emulator on the phone and type "/data/local/rage" + enter. Wait for "Forked XXXXXXXX children" to appear and then close the terminal.
4. Start terminal back up. It should force close.
5. Start terminal back up, again. This time it should stay open and you should have a "#" prompt instead of a "$" prompt. Then type "/data/local/temp.sh"
6. When the script finishes run /data/local/rage again and sit tight. The phone should start acting weird and do a soft reboot. Then right after everything loads it should do a hard reboot. (the phone might not reboot twice, if it does not, then you can reboot manually into bootloader and S=Off and Hboot 0.85 should be there)
7. Enjoy root!
PostaHTC said:
http://www.youtube.com/watch?v=M6DrLUau8mE
Click to expand...
Click to collapse
you didn't read what i said.
Run Visionary.sh after root should be checked
as well as
set system r/w after root.
Both of those HAVE to be checked.
As far as why you still have s=on, i have no clue.
I followed the method posted @ the unlockr (the first time i rooted my phone) link to the unlcokr. The second time i rooted my phone i followed the Wiki posted via Cyanogen Link to their Wiki page, and both of them worked perfectly.
If you want me to make a YouTube video for you showing you how to get s=off i will be more than glad to.
everest.deth said:
k, I saw the vid, the problem is you are still running bootloader version 0.86 and we want to be on eng bootloader, 0.85.
Click to expand...
Click to collapse
the first time i rooted my phone i didn't flash the Engineering Bootloader. The only current reason you need that is to flash slash images.
neidlinger said:
i cannot speak of the person @ hand
The three needed items
you download VISIONary.apk
download the Root.sh file .zip and sore the folder with the script file inside the folder on the root of the SD card
download Terminal Emulator from the Android Market
How to do it
Run VISIONary and temp root w/ visionary.sh and set system to r/w after root checked
go into the Term Emul and type "SU". The $ sign should change to a #
if it does
reboot into bootloader and make sure s=off.
Click to expand...
Click to collapse
that didnt work for me. infact, anything that involves visionary doesnt work for me
sheek360 said:
that didnt work for me. infact, anything that involves visionary doesnt work for me
Click to expand...
Click to collapse
You could try Cyanogen's method.
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.
Ok, here is my story. I have a mytouch 4g, clearly, and i have s-off but withou root privileges. This happened because i used the gfree method to root my phone and then after a while my phone began rebooting itself, and i read online that this is an internal issue and many people have it. So i decided to unroot my phone so that i could get a replacement.
This is where the fun begins :/. I was on Miui, the latest one, and i used the automated unroot where u place the unroot folder and the P15IMG.zip on your phone and go to terminal to do some commands. When terminal finished what it did, it said press volume up in boot loader to finish and i did but i was too stupid to check that S was still OFF and now im on 2.2.1 without root but with S-off...
PLEASE can someone help me with this???? I am not new to this kind of stuff so i can follow somewhat complicated procedures, as long as i can get my phone to be STOCK. Thanks in advance!
perhaps try flashing one of the newer updated RUU's and then downgrade back to froyo? just throwin it out there
aznprodgy said:
perhaps try flashing one of the newer updated RUU's and then downgrade back to froyo? just throwin it out there
Click to expand...
Click to collapse
Well i already have Froyo and i just used visionary to get permaroot back.. phewww now i feel a little bit better, but i still have to get the S-on and i am trying to revert to stock, but when i enter the command "chmod 777 gfree" it says "Unable to chmod 777 gfree: No such file or directory"
Just return it and you should be good. I also did the same mistake and ignored the errors in terminal (dont remember exactly but i think the script assumed gfree is in /data/local while it was not or rwx perms on file were not setup right) and flashed pd15img.zip then I thought its not worth rerooting and unrooting and just returned it that way. That was 2 months ago and I haven't heard anything from tmo.
BAMF357 said:
i did but i was too stupid to check that S was still OFF and now im on 2.2.1 without root but with S-off...
PLEASE can someone help me with this???? I am not new to this kind of stuff so i can follow somewhat complicated procedures, as long as i can get my phone to be STOCK. Thanks in advance!
Click to expand...
Click to collapse
Code:
Procedure to revert
1. Rename the part7backup file that you already have to something just so you know that it is the original backup.
2. Open up terminal emulator or adb shell and type "su" + enter to get root privileges.
3. Type "cd /data/local" and hit enter.
4. Now type "./gfree -f" + enter to run gfree again. It will disable wp on the emmc and remove the brq filter in the kernel. (as well as make another backup, which you can delete if you wish)
5. Now run the "dd if=/where/your/part7backup-numbers.bin of=/dev/block/mmcblk0p7" and it should show the output:
xxxx bytes in
xxxxbytes out
xxxxxxxxxx copied in blah blah blah
6. Run "sync" and then reboot. (I didn't do this and it worked fine but it won't hurt either. )
If you have the engineering hboot 0.85.2007 installed you will still be showing s=off when you do the above revert steps. Follow these steps to reflash the stock hboot and turn s=on:
Download this file and unzip it to /sdcard on your device.
unroot.rar
http://www.mediafire.com/?12oi5elu7v2y8og
md5sum: aad4e64126cf8d92d7e8b5abb48fdadd
Terminal Emulator Method
1. Open up terminal editor on your device.(I prefer this method b/c you can see the output.)
a. Type "su" + enter to gain root privileges.
b. Type "cd /sdcard/unroot" + enter.
c. Type "sh unroot.sh" + enter.
d. Follow the onscreen prompts.
File Explorer Method
2. Open root explorer, sufbs, or some other file browser with root access.
a. Navigate to /sdcard/unroot.
b. Click on unroot.sh and allow it to run. Some file browsers ask permission before they execute scripts.
c. Wait 18 to 20 seconds and reboot your phone into the bootloader to check if S=on.
You now have S=ON again
Did you save the part7backup file that was created during the ./gfree root? did you replace it and follow the ./gfree unroot directions?
neidlinger said:
Did you save the part7backup file that was created during the ./gfree root? did you replace it and follow the ./gfree unroot directions?
Click to expand...
Click to collapse
i still have the part7backup and yes i put it on the SDcard and i did follow the instructions. At first i was getting some errors that gfree couldnt find something, then i check the forums again and saw that you cant unroot while in Virtous Unity so i went back to Miui and everything seemed to work fine until it still said s-off
chem.manish said:
Just return it and you should be good. I also did the same mistake and ignored the errors in terminal (dont remember exactly but i think the script assumed gfree is in /data/local while it was not or rwx perms on file were not setup right) and flashed pd15img.zip then I thought its not worth rerooting and unrooting and just returned it that way. That was 2 months ago and I haven't heard anything from tmo.
Click to expand...
Click to collapse
so even though i have s-off i should still try and return it? because i want to go to the store and give it to them
BAMF357 said:
so even though i have s-off i should still try and return it? because i want to go to the store and give it to them
Click to expand...
Click to collapse
That's what I did and know more people have done that before. But everyone i know returned by mail. If you are returning to store, I wont take a chance and would just follow what neidlinger said above.
chem.manish said:
That's what I did and know more people have done that before. But everyone i know returned by mail. If you are returning to store, I wont take a chance and would just follow what neidlinger said above.
Click to expand...
Click to collapse
well, i could send it back by mail, what did you do to get them to send you a new one? and what is the risk by sending it back with s-off? meaning, what will happen if they find out?
BAMF357 said:
well, i could send it back by mail, what did you do to get them to send you a new one? and what is the risk by sending it back with s-off? meaning, what will happen if they find out?
Click to expand...
Click to collapse
just play dumb with them. and i doubt they would care for s-off. my old phone got shipped back rooted and s-off, even had a custom splash screen that said "rooted HTC glacier" and they still accepted it
neidlinger said:
Did you save the part7backup file that was created during the ./gfree root? did you replace it and follow the ./gfree unroot directions?
Click to expand...
Click to collapse
Hey i have a question, i got my root privileges back, but when i went to do the unroot procedure again and when i entered "chmod 777 gfree" it said "no such file or directory".... do i have to do gfree again?
saranhai said:
just play dumb with them. and i doubt they would care for s-off. my old phone got shipped back rooted and s-off, even had a custom splash screen that said "rooted HTC glacier" and they still accepted it
Click to expand...
Click to collapse
what did you say your reason for a replacement was? for me, my phone rebooted itself when it was on custom roms, im going to see if anything happens on this stock mytouch ui.
neidlinger said:
Code:
Procedure to revert
1. Rename the part7backup file that you already have to something just so you know that it is the original backup.
2. Open up terminal emulator or adb shell and type "su" + enter to get root privileges.
3. Type "cd /data/local" and hit enter.
4. Now type "./gfree -f" + enter to run gfree again. It will disable wp on the emmc and remove the brq filter in the kernel. (as well as make another backup, which you can delete if you wish)
5. Now run the "dd if=/where/your/part7backup-numbers.bin of=/dev/block/mmcblk0p7" and it should show the output:
xxxx bytes in
xxxxbytes out
xxxxxxxxxx copied in blah blah blah
6. Run "sync" and then reboot. (I didn't do this and it worked fine but it won't hurt either. )
If you have the engineering hboot 0.85.2007 installed you will still be showing s=off when you do the above revert steps. Follow these steps to reflash the stock hboot and turn s=on:
Download this file and unzip it to /sdcard on your device.
unroot.rar
http://www.mediafire.com/?12oi5elu7v2y8og
md5sum: aad4e64126cf8d92d7e8b5abb48fdadd
Terminal Emulator Method
1. Open up terminal editor on your device.(I prefer this method b/c you can see the output.)
a. Type "su" + enter to gain root privileges.
b. Type "cd /sdcard/unroot" + enter.
c. Type "sh unroot.sh" + enter.
d. Follow the onscreen prompts.
File Explorer Method
2. Open root explorer, sufbs, or some other file browser with root access.
a. Navigate to /sdcard/unroot.
b. Click on unroot.sh and allow it to run. Some file browsers ask permission before they execute scripts.
c. Wait 18 to 20 seconds and reboot your phone into the bootloader to check if S=on.
You now have S=ON again
Did you save the part7backup file that was created during the ./gfree root? did you replace it and follow the ./gfree unroot directions?
Click to expand...
Click to collapse
You should do gfre again, cause when you back to stock, there no more files.
when you get to this command: "dd if=/where/your/part7backup-numbers.bin of=/dev/block/mmcblk0p7" , try to remember where/your = "sdcard" then you should be S= ON.