Unrooting mytouch 4g - myTouch 4G Q&A, Help & Troubleshooting

I used this method to try and unroot my mytouch 4g: http://forum.xda-developers.com/showthread.php?t=863899 (it's the most popular way to unroot as some say)
1. Copy PD15IMG.zip and "part7backup-whatevernuberitscalled.bin" to the root of your sdcard
2. Connect your phone to your computer and navigate to your sdk folder then type adb push gfree /data/local
3. Open up terminal emulator or adb shell and type "su" press enter to get root privileges.
4. Type "cd /data/local" and hit enter
5. Type "chmod 777 gfree" and hit enter to make the program executable.
6. Now type "./gfree -f" press 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. delete this)
I'm stuck on step 6. I typed ./gfree -f but as it runs on my terminal emulator, it ends up saying modile failed to load: No such file or directory.
Can someone please help?
Btw all the other methods consists of two files that needs to be downloaded, however those links leads to a FBI Anti-Piracy warning.

Related

root Tattoo with Mac

Hey Boys and Girls,
where i can find an manual to root the tattoo with a mac?
sorry, i have search for this, but i cant find information for this
I don't thing that there is a difference.
As soon as you have SDK installed and adb works, the commands are the same.
hi,
i'm also doing all the rooting process from mac, just put the directory contain 'adb' shell into your home/user places and executing it with 'terminal'..
Same here, using a Mac ever since and also using it for Android development. Due to the underlying Unix core of OS X you just have to follow the steps as described for Linux. If it's just adb commands it's the same on every platform anyway.
You might want to add a
Code:
export PATH=${PATH}:/Users/yourusername/android.sdk/tools
to your .bash_profile file in your home folder so you don't have to cd to the SDK tools folder everytime. Happy rooting!
Mod. edit: not dev related, moved to general
Okay thanks for yours answers but i'm a newbie.
the background story is, I want to edit the boot.mp3. Because the startsound is really annoying
So i have download SDK, open the terminal and switch to usb-debbugging mode on my tattoo.
And now? sorry, I'm still missing a few knowledge
thanks for your help
well just use the various adb commands in Terminal Just type in "adb", press enter and you'll get a list of all possible commands. Assuming you've added the path to your sdk tools folder to your bash profile. Otherwise just drag & drop the adb binary from the tools folder onto your Terminal window, et voila.
The most used commands are probably push and pull where you can, well, push stuff to your phone or pull it to your computer.
So if you want to modify the boot.mp3 you would pull the original from the phone to your computer, modify it and push it back, overwriting the original file. In Terminal speak: ;-)
adb pull /system/media/bootscreen/boot.mp3
adb push /path/to/boot.mp3 /system/media/bootscreen/boot.mp3
Please note depending on the ROM you're using the paths may be different. To browse the device via Terminal type in "adb shell" and make a simple "ls" to list the directories, "cd" to change directories etc.
Or if you just want to use another mp3:
adb push /path/to/whatever.mp3 /system/media/bootscreen/boot.mp3
Again, on the Mac you can just drag & drop files onto the Terminal to get their full Unix paths like to your custom mp3
Thanks a lot. i love it its really simple
and now i have load and edit the the boot.mp3. But i can't push it to my tattoo, because i can only read but not write
I have tried to root my phone with "adb root" but it is the message "adbd cannot run as root in production builds"
Terminal: "adb remount", then push again
damn the next bad message "remount failed: Operation not permitted"
You need to root your phone first.
http://forum.xda-developers.com/showthread.php?t=637927
Okay i have executed the instructions. But I've stop at this part:
You should get something like this:
Code:
# id
uid=0(root) gid=1000(shell) groups=1003(graphics),1004(input),1007(log),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet)
uid=0(root) is important.
Click to expand...
Click to collapse
Yes i've root but i'cant download the "su binary" because its doesnt exist.
But its absolute essential to need the "su binary" to only copy the boot.mp3 to my phone? Or there is an other way? What are the commands to push the boot.mp3 back to may tattoo then i'm in the root mode like >> "#".
okay hope you understand me
You need "su" to do root stuff... no other way.
Download the package from 1 click root thread and find "su" there...
http://forum.xda-developers.com/showthread.php?t=644279
now, i have install the su binary. Then i does this command
user:~ user$ /Users/user/android-sdk-mac_86/tools/adb shell
$ /data/local/bin/su
#
Click to expand...
Click to collapse
And now? Is there a comand to push the boot.mp3 back to the phone in this mode >> "#" ?
I have try to open an new terminal window and type
adb push /path/to/boot.mp3 /system/media/bootscreen/boot.mp3
Click to expand...
Click to collapse
but the answer is
failed to copy '/Users/android-sdk-mac_86/boot.mp3' to '/system/media/bootscreen/boot.mp3': Permission denied
Click to expand...
Click to collapse
and adb remount doesnt work to
You also need tattoo-hack.ko file and do insmod tattoo-hack.ko to make /system writable.
Or even better... flash custom amon_ra recovery image and then a custom rom with all this already included.
Mine for example http://forum.xda-developers.com/showthread.php?t=702401
It doesnt have boot sound enabled
Okay thank you very much.
now it was successful

[Q]

Ok, following the instrucions of Darkonions Easier 1-2-3 Droid Root, I am finding it a little compicated at step 6a, I entered ./data/local/tmp/rageagainstthecage-arm5.bin just like it says, it starts it's process, installed my drivers, and then it booted me out, I waited for awhile, but nothing happened, It says to "To check if rageagainstthecage worked it's magic, enter the shell with adb shell. You should see a # sign. If you don't, you need to run rageagainstthecage again by entering the command from step six.
how do I check the adb shell? .. I apologize for the noob questions, but coming from an iPhone, this is all greek to me.
hi,
to enter adb shell first make sure you are in your tools directory ex (cd c:\android-sdk-windows\tools) once your in the directory just enter adb shell on a command line. if your get the # you have root. I would also suggest looking at doroot the droid2 one click rooting method which works perfectly for me. Its a quick script install that basically runs all the commands for you. hope that helps.
If you get a "$" prompt, type in "su" and hit enter to see if you have root. You will see SU permission popup on your dx which you should allow. If prompt changes to "#" then you have root.

[Q] Need Stock Youtube App for Fission

I'm usually over at android forums but I recently got Fission and realized I should venture over to here. I installed Fission and I tried the google youtube app and hate it. I was wondering if anyone could guide me on installing the stock app. And because im new, I'm not sure if this is the section to post this thread.
apavolka said:
I'm usually over at android forums but I recently got Fission and realized I should venture over to here. I installed Fission and I tried the google youtube app and hate it. I was wondering if anyone could guide me on installing the stock app. And because im new, I'm not sure if this is the section to post this thread.
Click to expand...
Click to collapse
attached is an older version of youtube, but still stock.
To have used the following method with re-installing the stock facebook apk, but I recommend that you take a nandroid backup before attempting anything
Save the .apk to your sdk\tools folder.
Open up 2 command prompt windows.
In the first do the following (with the phone connected via Charge Only mode for usb connection):
1) type: adb shell (press enter)
2) type: su (press enter)
3) type: mount -o rw,remount /dev/block/mtdblock4 /system
Switch to the second command prompt window
Change directory to your sdk\tools folder where you should have saved the .apk file
1) type: adb push Facebook.apk /system/app/Facebook.apk (press enter)
Switch back to the first command prompt
4) type: cd /system/app (press enter)
5) type: chmod 644 Facebook.apk
6) type: exit (press enter. you made need to do this 2x to get back to the regular command prompt.
when back at the regular command prompt
7) type: adb remount (press enter. This will remount the system partition as read-only)
8) type: adb reboot (press enter. This will reboot your phone. When it reboots, the youtube app should be reinstalled as a system application.
NOTE: i take no responsibility for any damage this may cause. I have not tested this method on a custom ROM, only on my own device when I have removed applications from the default 2.3.15 OTA.

[Q] problems rooting new mt4g

hello! i am hoping someone can figure out what i am doing wrong. I am completely new to rooting phones.read lots about it but this is my first attempt.i have had help from a friend that has rooted several phones (including his mt4g) Now i just got this phone yesterday so its new with only the required apps for rooting on it.
both my friend and i have tried several times this method:
6. Run visionary to gain temp root.
7. Open terminal emulator on your device, type “su”, and hit enter to gain root privileges.
8. Type “cd /data/local” and hit enter.
9. Now type “chmod 777 gfree” and hit enter to make the program executable.
10. Type “./gfree” and hit enter.
11. Wait for the program to finish and then reboot into HBoot to see if S=Off. Also, check your bootloader version. If it says s=off and has bootloader version 0.86.0000 it worked
then hit a brick wall with this step '10. Type “./gfree” and hit enter.' we get a permission denied error.
i have also tried this method several times:
5. open android terminal emulator
type in "su" then click entet (without " mark)
it will probably say permission is denied
type in "su" again, then click enter
supper user will pop up asking for permission click "allow"
type in "cd /sdcard/root" then click enter
type in "sh root.sh" then click enter
give a min or two when it says turn off and go into recovery to check if s is on or off, exit out of emulator
6. turn off the phone, then reboot into hboot by holding volume down and power button
7. it should say S=OFF
but after the reboot in step 6 it is still s-on
hboot-0.86.0000
hoping someone can help
oh and i followed the steps to a T, thanks for any info
So you are able to temproot? Does typing "su" in terminal emulator give you superuser privileges (if the prompt symbol changes to a # instead of a $, it worked)?
If so, make sure you've downloaded the gfree files and copied them to the proper place. You want the files themselves to be in /data/local on the phone. You do NOT want a folder named "gfree" containing these files. The commands should work exactly as written.
I'm the one that was helping the op. Does the gfree folder need to be renamed or does the files need to be moved out of the folder and placed in /data/local directly? I rooted with the above method in like 5 minutes but when I tried with the op we got ./gfree permission denied as stated above. Thanks for your help it's much appreciated and we'll post back with results.
that worked perfectly!! had to take the files out of the gfree and put them directly in local and rename the gfree folder something else. Thanks!
okay we got it figured out and s-off. For those wondering if you manually add the files through root explorer copy the files in the gfree folder and drag them to /data/local and paste. Do not put the gfree folder in /data/local. Thanks again jdkoren for the help!
would it work if you just put the files on your sd card instead? Also its a brand new mytouch 4g correct? Meaning bought in 2011? I just bought one and the unlockr method didnt work. Im going to try the method you guys did next and i saw a video in which the guy did the same thing (gfree version) but just changed data local to sdcard. Im just wondering because im about to root soon. Thanks.
Yes it was bought in 2011. Use the guide found here briefmobile just make sure to use root explorer and copy all the files inside the gfree folder and paste them to /data/local.

Revert to S=on problem

Hi I follow the un rooting guide ,I'm back to stock but hboot keeps showing s=off. i want s=on
this i what i did
grankin01 said:
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.
Here is a pic of the stock HBoot 0.86.0000 with S=Off to prove it.
Click to expand...
Click to collapse
jeff7790 said:
Hi I follow the un rooting guide ,I'm back to stock but hboot keeps showing s=off.
Click to expand...
Click to collapse
1) did you use the ./gfree method?
2) did you follow the extra steps to allow for this?
Gfree writes a backup of the file that it patches named Part7backup-numbers.bin on your sdcard. I suggest putting this file in a safe place as it is the only way to revert if you need to.
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.
Click to expand...
Click to collapse
Ok fixed it i followed the tutorial again but what i was missing was chmod 777 on gfree
I have restored to stock, including S=On by restoring with the stock PD15IMG.

Categories

Resources