Jump to content


Photo

How to root gt540 2.1

- - - - -

  • Please log in to reply
30 replies to this topic

#21
doubletakeit

doubletakeit

    Regular

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Devices:LG GT540

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
Posted Image

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 by doubletakeit, 02 October 2010 - 12:42 PM.

  • 0

#22
doubletakeit

doubletakeit

    Regular

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Devices:LG GT540
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 by doubletakeit, 02 October 2010 - 12:51 PM.

  • 0

#23
DBNemesis

DBNemesis

    Newbie

  • Members
  • Pip
  • 10 posts
Nice one guys, SU is working fine. I must admit I used the root.bat as I felt a little lazy.

  • 0

#24
joestone

joestone

    Enthusiast

  • Members
  • PipPipPip
  • 228 posts
I have made a new topic for newbies to unroot the phone with 1 click.

  • 0

#25
joestone

joestone

    Enthusiast

  • Members
  • PipPipPip
  • 228 posts

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.

  • 0

#26
APPA

APPA

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:LG GT540
thanks it works, but only under Windows XP with Windows 7, it does not work for me (methode 1)

sry for my english ^^

  • 0

#27
brqueiros

brqueiros

    Regular

  • Members
  • PipPip
  • 71 posts
  • Gender:Male
  • Location:Portugal
  • Devices:LG GT540
I have rooted my phone. My root explorer is allways crashing and gives this message "The application Root Explorer(process com.speedsoftware.rootexplorer) has stopped unexpectly. Please try again".

Titanium backup works fine. Is there another app similar to root explorer?

Hard reset and problem resolved

Edited by brqueiros, 08 October 2010 - 10:19 AM.

  • 0
::LG GT540::ANDROID 2.1::ROOTED::APP2SD::

#28
Techkingpin

Techkingpin

    Newbie

  • Members
  • Pip
  • 6 posts
i tried both metods but not work on my i cant root. please help anyone. thank you

Edited by Techkingpin, 04 November 2010 - 10:31 AM.

  • 0

#29
aRn3y

aRn3y

    Newbie

  • Members
  • Pip
  • 1 posts
Posted Image

I have access denied, how should i fix it?

  • 0

#30
butterflyinrain

butterflyinrain

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:GT540
  • Twitter:@none
i been trying to do this for HOURS now. but i cant even seems to start doing it. first of all i cant get this to work... cause all i see when i click the CMD is "it is not recognized as an internal or external command...

  • 0

#31
steto77

steto77

    Newbie

  • Members
  • Pip
  • 2 posts
  • Gender:Male
  • Location:Manerbio
  • Devices:Omnia

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



This method is pemanent for install new Rom or temporary?

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users