Guest smileeomar Posted October 1, 2010 Report Posted October 1, 2010 please i want to know how i can root my gt540 v20b i read this but i dont understand any thing adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage adb push su /data/local/tmp/ adb push busybox /data/local/tmp/ adb shell $chmod 4755 /data/local/tmp/rageagainstthecage $chmod 4755 /data/local/tmp/busybox $ cd /data/local/tmp $ ./rageagainstthecage adb shell # mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system # mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 / (maybe this not neccesseary) # cd /data/local/tmp # ./busybox cp su /system/bin # ./busybox cp busybox /system/bin # cd /system/bin #chmod 4755 su #chmod 4755 busybox #su #id the id should be 0 and gid should be 0 #busybox --install /system/bin #cd /system/xbin #ln -s /system/bin/su su #cd /system/bin #cat sh > su #reboot after the phone reboot adb shell $su # Now you should be able to install any app that require root. I left out to push the Superuser.apk to /system/app beacuse the app2sd script or the vnc server install does not opened it but they works
Guest ijcy Posted October 1, 2010 Report Posted October 1, 2010 please i want to know how i can root my gt540 v20b i read this but i dont understand any thing Haha me and u both buddy.
Guest dazsh Posted October 1, 2010 Report Posted October 1, 2010 Haha me and u both buddy. id wait for a simpler way if u dont understand all the terminal parts etc. Im gonna wait itl come easy eventually
Guest doubletakeit Posted October 2, 2010 Report Posted October 2, 2010 (edited) Big thanks to joestone for figuring out how to root 2.1. B) Sorry if my English is not good. :lol: First, you need to install USB drivers to connect via ADB. http://www.mediafire.com/download.php?yda4dtfc64n3gcb (run all the .exe files) Active USB Debugging Mode on your phone. Settings \ Applications \ Development \ USB Debugging Use USB cable to connect your phone to your computer. Download and extract this. http://www.mediafire.com/?kttu0932adgmtgd Copy C:\Windows\System32\cmd.exe to the folder that you extract the .zip file. (the path to cmd.exe may be different depend on your Windows Version) Run cmd.exe Test if you installed USB drivers successfully. Type adb shell If it says "error device not found", try to restart your computer, reinstall the USB drivers. ------------------------------------------------------------------------------------------------------------------------------- Method 1 Type: adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage adb shell chmod 4755 /data/local/tmp/rageagainstthecage adb shell /data/local/tmp/rageagainstthecage Wait untill ADB connection is reset. Then type: adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system adb push su /system/xbin/su adb shell chmod 4755 /system/xbin/su adb push su /system/bin/su adb shell chmod 4755 /system/bin/su adb shell rm /data/local/tmp/rageagainstthecage Go to market and install Superuser, or you can just download it here and install. I recommend you to download the lastest version from market. Now you can reboot your phone. Type adb shell reboot Method 2 I also make root.bat in case you don't want to type those commands. Run root.bat Go to market and install Superuser, or you can just download it here and install. I recommend you to download the lastest version from market. Reboot your phone. ------------------------------------------------------------------------------------------------------------------------------- Test if Superuser worked or not: adb shell $ su Now Superuser Request will appear on your phone, chose Allow. #id uid=0(root) gid=0(root) To make Titanium work, press Promblem? button and let it download busybox (about 1MB) Now you can uninstall stock apps ------------------------------------------------------------------------------------------------------------------------------- If you want to unroot your phone, just reflash it with 2.1 ROM. Installed apps, contacts, SMS, settings... will NOT be lost. It just removes su from /system/bin and /system/xbin. All stock apps will be back too. If you are failed to reflash in Normal Mode, try to do it in Download Mode. ------------------------------------------------------------------------------------------------------------------------------- In case you want to unroot without reflashing, type: su mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system rm /system/bin/su rm /system/xbin/su reboot This method will not bring uninstalled stock apps back. Edited October 2, 2010 by doubletakeit
Guest danger_mouse Posted October 2, 2010 Report Posted October 2, 2010 I found I had to restart the adb server after running rageagainstthecage as it suggested. adb kill-server then adb shell mount... etc etc do you need to mount the file system back to read only once done? ie adb shell mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
Guest doubletakeit Posted October 2, 2010 Report Posted October 2, 2010 It just auto reset ADB connection for me, I don't have to restart adb server. I also don't mount file system back ro mode. Is it OK if leave file system in rw mode?
Guest merrymenvn Posted October 2, 2010 Report Posted October 2, 2010 I think it OK. I'd made file system writable when using 1.6, and it's fine :lol:.
Guest doubletakeit Posted October 2, 2010 Report Posted October 2, 2010 I think file system is mounted back to ro after rebooting. It doesn't allow me to edit file system. adb shell $ rm /system/bin/su rm /system/bin/su rm failed for /system/bin/su, Read-only file system $
Guest borovaka Posted October 2, 2010 Report Posted October 2, 2010 doubletakeit Be careful with this commands dude :lol: If you want to see how your phone mount partitions use busybox, just type busybox mount and this will show you the information who you need. Btw it's true really partitions are mount r/o when you reboot the phone.
Guest smileeomar Posted October 2, 2010 Report Posted October 2, 2010 thank you doubletakeit its works B) you are great :lol:
Guest RottenFoxBreath Posted October 2, 2010 Report Posted October 2, 2010 (edited) Now you can uninstall stock apps Seeing as they changed the camera performance, I upped the original camera app from 1.6 here!. Wondering if replacing the new one with this one will re-enable .mp4 recording? I'm at work, so won't be rooting till later, if someone want's to try Edited October 2, 2010 by RottenFoxBreath
Guest doubletakeit Posted October 2, 2010 Report Posted October 2, 2010 If you want to unroot your phone, just reflash it with 2.1 ROM. Installed apps, contacts, SMS, settings... will NOT be lost. It just remove su from /system/bin and /system/xbin. All stock apps will be back too. If you are failed to reflash in Normal Mode, try to do it in Download Mode.
Guest doubletakeit Posted October 2, 2010 Report Posted October 2, 2010 Seeing as they changed the camera performance, I upped the original camera app from 1.6 here!. Wondering if replacing the new one with this one will re-enable .mp4 recording? I'm at work, so won't be rooting till later, if someone want's to try It doesn't work for me. It was forceclosed. :lol:
Guest stbozhanov Posted October 2, 2010 Report Posted October 2, 2010 (edited) It works for me, too :lol:) /Method 2/ Edited October 2, 2010 by stbozhanov
Guest rice&fish Posted October 2, 2010 Report Posted October 2, 2010 :lol: I rooted my phone successfully using doubletakeit method, however once in a while it would pop up an error saying "There was an error processing your request. Try again later." Anyone else having the same problem?
Guest doubletakeit Posted October 2, 2010 Report Posted October 2, 2010 :lol: I rooted my phone successfully using doubletakeit method, however once in a while it would pop up an error saying "There was an error processing your request. Try again later." Anyone else having the same problem? Is that error on your computer or on your phone?
Guest joestone Posted October 2, 2010 Report Posted October 2, 2010 Big thanks to joestone for figuring out how to root 2.1. B) Sorry if my English is not good. :lol: First, you need to install USB drivers to connect via ADB. http://www.mediafire.com/download.php?yda4dtfc64n3gcb (run all the .exe files) Active USB Debugging Mode on your phone. Settings \ Applications \ Development \ USB Debugging Use USB cable to connect your phone to your computer. Download and extract this. http://www.mediafire.com/?32okt277fofgckd Copy C:\Windows\System32\cmd.exe to the folder that you extract the .zip file. (the path to cmd.exe may be different depend on your Windows Version) Run cmd.exe Test if you install USB drivers successfully. Type adb shell If it says "error device not found", try to restart your computer, reinstall the USB drivers. ------------------------------------------------------------------------------------------------------------------------------- Method 1 Type adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage adb shell chmod 4755 /data/local/tmp/rageagainstthecage adb shell /data/local/tmp/rageagainstthecage Wait untill ADB connection is reset. Then type adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system adb push su /system/xbin/su adb shell chmod 4755 /system/xbin/su adb push su /system/bin/su adb shell chmod 4755 /system/bin/su Go to market and install Superuser, or you can just download it here and install. I recommend you to download the lastest version from market. Now you can reboot your phone. Type adb shell reboot Method 2 I also make root1.bat and root2.bat in case you don't want to type those commands. Run root1.bat and wait untill ADB connection is reset. Run root2.bat. Go to market and install Superuser, or you can just download it here and install. I recommend you to download the lastest version from market. Reboot your phone. ------------------------------------------------------------------------------------------------------------------------------- Test if Superuser works or not: adb shell $ su Now Superuser Request will appear on your phone, chose Allow. #id uid=0(root) gid=0(root) To make Titanium work, press Promblem? button and let it download busybox (about 1MB) Now you can uninstall stock apps ------------------------------------------------------------------------------------------------------------------------------- If you want to unroot your phone, just reflash it with 2.1 ROM. Installed apps, contacts, SMS, settings... will NOT be lost. It just remove su from /system/bin and /system/xbin. All stock apps will be back too. If you are failed to reflash in Normal Mode, try to do it in Download Mode. You can make 1 script from 2. Just push adb wait-for-device after rageagainstthecage and you can follow with the content of the second script . This case you need to push the Superuser.apk and chmod it from the script according to original process. You can make an unroot script (bat) with the following : create an sh script with the following: su mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system rm /system/su rm /system/xbin/su rm /system/app/Superuser.apk then copy it to the /data/local/tmp with adb push run this sh script with adb shell then remove the sh with adb shell rm /data/local/tmp/unroot.sh after then reboot adb shell reboot Flashing is always a dangerous process . Failure in flashing can brick the phone . I prefer the unroot method.
Guest rice&fish Posted October 2, 2010 Report Posted October 2, 2010 Is that error on your computer or on your phone? on the phone.
Guest doubletakeit Posted October 2, 2010 Report Posted October 2, 2010 (edited) You can make 1 script from 2. Just push adb wait-for-device after rageagainstthecage and you can follow with the content of the second script . This case you need to push the Superuser.apk and chmod it from the script according to original process. You can make an unroot script (bat) with the following : create an sh script with the following: su mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system rm /system/su rm /system/xbin/su rm /system/app/Superuser.apk then copy it to the /data/local/tmp with adb push run this sh script with adb shell then remove the sh with adb shell rm /data/local/tmp/unroot.sh after then reboot adb shell reboot Flashing is always a dangerous process . Failure in flashing can brick the phone . I prefer the unroot method. Thanks for the tip. What is the different between pushing superuser.apk to /system/app and installing it from market? Edited October 2, 2010 by doubletakeit
Guest joestone Posted October 2, 2010 Report Posted October 2, 2010 (edited) Thanks for the tip. What is the different between pushing superuser.apk to /system/app and installing it from market? I think when you install from market it will not installed to the system/app folder and after a factory reset there is no superuser app. (I didn't try , my theory is working after factory reset) In my idea the rooting is done in 1 click (type). For example the user extract the zip to c:\ cd to the folder and type root and pressing enter.Or simply put the phone to usb debug mode double click to root.bat and the phone is rooted and the same if unroot . The script is doing everything including the superuser app. This works if there is no net on the phone. This is the idea behind the unroot , the user type unroot and the phone unrooting itself and after restart there is no superuser app , no su .The phone is on the factory rom again without modifications. According to the 1 click method manual is simple because there is a DOS screen where the user starts the script , there is a screen , where the phone opens the superuser app and that's all . Your manual is great , I thought my manual in the other topic (screenshot from dos window) is enuogh for everybody, but ... Will you do the script ? Edited October 2, 2010 by joestone
Guest doubletakeit Posted October 2, 2010 Report Posted October 2, 2010 (edited) I think when you install from market it will not installed to the system/app folder and after a factory reset there is no superuser app. (I didn't try , my theory is working after factory reset) In my idea the rooting is done in 1 click (type). For example the user extract the zip to c:\ cd to the folder and type root and pressing enter.Or simply put the phone to usb debug mode double click to root.bat and the phone is rooted and the same if unroot . The script is doing everything including the superuser app. This works if there is no net on the phone. This is the idea behind the unroot , the user type unroot and the phone unrooting itself and after restart there is no superuser app , no su .The phone is on the factory rom again without modifications. According to the 1 click method manual is simple because there is a DOS screen where the user starts the script , there is a screen , where the phone opens the superuser app and that's all . Your manual is great , I thought my manual in the other topic (screenshot from dos window) is enuogh for everybody, but ... Will you do the script ? I can't make unroot.sh run unroot.bat adb push unroot.sh /data/local/tmp/unroot.sh adb shell chmod 4755 /data/local/tmp/unroot.sh adb shell /data/local/tmp/unroot.sh adb shell rm /data/local/tmp/unroot.sh unroot.sh su mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system rm /system/bin/su rm /system/xbin/su rm /system/app/Superuser.apk Edited October 2, 2010 by doubletakeit
Guest doubletakeit Posted October 2, 2010 Report Posted October 2, 2010 (edited) How about using rageagainstthecage to remove the su and superuser.apk? unroot.bat adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage adb shell chmod 4755 /data/local/tmp/rageagainstthecage adb shell /data/local/tmp/rageagainstthecage adb wait-for-device adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system adb shell rm /system/bin/su adb shell rm /system/xbin/su adb shell rm /system/app/Superuser.apk adb shell rm /data/local/tmp/rageagainstthecage adb shell reboot and here's the root.bat adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage adb shell chmod 4755 /data/local/tmp/rageagainstthecage adb shell /data/local/tmp/rageagainstthecage adb wait-for-device adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system adb push Superuser.apk /system/app adb shell chmod 755 /system/app/Superuser.apk adb push su /system/xbin/su adb shell chmod 4755 /system/xbin/su adb push su /system/bin/su adb shell chmod 4755 /system/bin/su adb shell rm /data/local/tmp/rageagainstthecage adb shell reboot Edited October 2, 2010 by doubletakeit
Guest DBNemesis Posted October 2, 2010 Report Posted October 2, 2010 Nice one guys, SU is working fine. I must admit I used the root.bat as I felt a little lazy.
Guest joestone Posted October 2, 2010 Report Posted October 2, 2010 I have made a new topic for newbies to unroot the phone with 1 click.
Guest joestone Posted October 2, 2010 Report Posted October 2, 2010 How about using rageagainstthecage to remove the su and superuser.apk? unroot.bat adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage adb shell chmod 4755 /data/local/tmp/rageagainstthecage adb shell /data/local/tmp/rageagainstthecage adb wait-for-device adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system adb shell rm /system/bin/su adb shell rm /system/xbin/su adb shell rm /system/app/Superuser.apk adb shell rm /data/local/tmp/rageagainstthecage adb shell reboot and here's the root.bat adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage adb shell chmod 4755 /data/local/tmp/rageagainstthecage adb shell /data/local/tmp/rageagainstthecage adb wait-for-device adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system adb push Superuser.apk /system/app adb shell chmod 755 /system/app/Superuser.apk adb push su /system/xbin/su adb shell chmod 4755 /system/xbin/su adb push su /system/bin/su adb shell chmod 4755 /system/bin/su adb shell rm /data/local/tmp/rageagainstthecage adb shell reboot Greaat JOB ! Thanks.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now