• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

How to root your LG GT540

152 posts in this topic

Posted · Report post

Hi,

LG has patched the root method in the OP during some of the firmware updates. Right now, if you can't find "Enable Root Permission" or am having trouble installing the superuser app, you should give Universal Androot a try.

Universal Androot don't work on 2.1 ROM :lol: Searching any working methods for this ROM...

0

Share this post


Link to post
Share on other sites

Posted · Report post

Universal Androot don't work on 2.1 ROM :lol: Searching any working methods for this ROM...

That post was made before 2.1 came out. But yeah, someone find a method for 2.1!

0

Share this post


Link to post
Share on other sites

Posted · Report post

someone find a method for 2.1!

Maybe Paul can help us? :lol:

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

LG has patched the root method in the OP during some of the firmware updates. Right now, if you can't find "Enable Root Permission" or am having trouble installing the superuser app, you should give Universal Androot a try. It roots your phone as well as install the superuser app.

A Superuser app grants apps permission to access the phone's root. Apps that have been granted permission are said to be in the whitelist, I think.

You don't really need to have to use AndroidSDK, if you just want to root your GT540 phone.

If you can't connect your phone to the computer, you most likely don't have the drivers installed. Get LG PC Suite IV from somewhere since the Official Site doesn't really give you a download link, you'll have to google it.

Hey,

thanks for the answer.

i got all ready the LG software, and i can connect to my pc too. thats not the problem :lol:

in the first post at this thread, paul says we would see the root status via ADB. i read at wikipedia whats "ADB" could be ( B) ), and wiki says i need the SDK base for ADB. well, however.

i will try the software u wrote and give u feedback.

second: the root status should be enabled. after i type the password i have permission to change the user and root status. after i check "Enable Root Permission", i'll get the "ok" message for password accepted, but when i reboot my phone...well... its easily gone.

thanks and best regards

0

Share this post


Link to post
Share on other sites

Posted · Report post

On 4pda.ru get the root on 2.1 !

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

i stucked on "waiting 4 device" with ADB... win7 x64... :/

mod: solved, start phone in fastboot mode, start image uploading with fastboot.exe THEN connect phone to pc. :lol:

Edited by wwenigma
0

Share this post


Link to post
Share on other sites

Posted · Report post

I have successfully managed to root the GT540 , and seems superuser does not need to install apps that require root access (maybe this is security bug of this method , but does not need to modify the original rom like russian guys did). I only tried vnc server which works fine .

I will do a guide how to root the phone and create a zip which contains the neccesseary files (adb,rageagainstthecage, busybox,su).

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 .

rootgt540v20b.zip

0

Share this post


Link to post
Share on other sites

Posted · Report post

any body knows how to fastboot on LG Optimus GT540 ?

i already test on the booting phone Press both Volume up + HOME + SEARCH buttons for 5 secs.

but fastboot logo cant load.

may be this trick only for V10 ?

thanks

0

Share this post


Link to post
Share on other sites

Posted · Report post

I have successfully managed to root the GT540 , and seems superuser does not need to install apps that require root access (maybe this is security bug of this method , but does not need to modify the original rom like russian guys did). I only tried vnc server which works fine .

I will do a guide how to root the phone and create a zip which contains the neccesseary files (adb,rageagainstthecage, busybox,su).

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 .

# ./busybox cp su /system/bin

./busybox cp su /system/bin

cp: can't create '/system/bin/su': Permission denied

# ./busybox cp su /system/bin

./busybox cp su /system/bin

cp: can't create '/system/bin/su': Permission denied

#

why ?

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

OK !

I have made a modified version according to the suggestions from forum members . The busybox left out , and now it is using the superuser app .You need the uploaded zip file from the original post .

C:\rootgt540v20b>adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagains

tthecage

5 KB/s (5392 bytes in 1.000s)

C:\rootgt540v20b>adb shell

$ chmod 4755 /data/local/tmp/rageagainstthecage

chmod 4755 /data/local/tmp/rageagainstthecage

$ ./data/local/tmp/rageagainstthecage

./data/local/tmp/rageagainstthecage

[*] CVE-2010-EASY Android local root exploit © 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={1712, 1712}

[*] Searching for adb ...

[+] Found adb as PID 1239

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] [email protected] so we can compensate time, effort and HW costs.

[*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] adb connection will be reset. restart adb server on desktop and re-login.

$

C:\rootgt540v20b>adb shell

# mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

# exit

exit

C:\rootgt540v20b>adb push Superuser.apk /system/app

2456 KB/s (196521 bytes in 0.078s)

C:\rootgt540v20b>adb shell

# chmod 755 /system/app/Superuser.apk

chmod 755 /system/app/Superuser.apk

# exit

exit

C:\rootgt540v20b>adb push su /system/bin

1641 KB/s (26264 bytes in 0.015s)

C:\rootgt540v20b>adb shell

# chmod 4755 /system/bin/su

chmod 4755 /system/bin/su

# su

su

# id

id

uid=0(root) gid=0(root)

# cd /system/xbin

cd /system/xbin

# ln -s /system/bin/su su

ln -s /system/bin/su su

# reboot

reboot

You should wait for this part until the phone fully up , because when you type su the superuser app should be come up on phone's screen and you need to allow it .

C:\rootgt540v20b>adb shell

$ su

su

# id

id

uid=0(root) gid=0(root)

#

Thanks for the cooperation to everybody !

Edited by joestone
0

Share this post


Link to post
Share on other sites

Posted · Report post

^^ works =]

0

Share this post


Link to post
Share on other sites

Posted · Report post

Do I just have to put my phone on debug mode then connect it on my pc then type the commands posted above on command prompt? What do I need aside from rootgt540v20b.zip?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Do I just have to put my phone on debug mode then connect it on my pc then type the commands posted above on command prompt? What do I need aside from rootgt540v20b.zip?

Yes the debug mode must be on access the phone via adb .

The zip contains all you need , not needed to install the sdk.

It contains the adb , the superuser application and the su .

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

thanks.. will try this later..

---------------------------------

Access is denied.

Any way to correct this? Using Windows 7 Ultimate 64 bit.

Edited by bloodlust8
0

Share this post


Link to post
Share on other sites

Posted · Report post

thanks.. will try this later..

---------------------------------

Access is denied.

Any way to correct this? Using Windows 7 Ultimate 64 bit.

is that at the end? I got access denied on the last bit but it turned out it had worked when i tried some root apps

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

is that at the end? I got access denied on the last bit but it turned out it had worked when i tried some root apps

nevermind.. already on the last part.. permission denied..

Edited by bloodlust8
0

Share this post


Link to post
Share on other sites

Posted · Report post

at the very beginning..

You should run the command prompt in administrator mode .Right click to it and selet run as administrator.

I do this process on win7 pro 32bit.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Im already on this part:

C:\rootgt540v20b>adb shell

$ su

su (after this part it says Permission denied)

# id

id

uid=0(root) gid=0(root)

#

0

Share this post


Link to post
Share on other sites

Posted · Report post

Im already on this part:

C:\rootgt540v20b>adb shell

$ su

su (after this part it says Permission denied)

# id

id

uid=0(root) gid=0(root)

#

You should wait for this part until the phone fully up , because when you type su the superuser app should be come up on phone's screen and you need to allow it .

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

done.. thanks a lot.. will test Titanium Backup..

----------------------------------------------------------

Titanium Backup works even the Chuck Norris Mode..

backing up messages works but restoring it does not, can somebody confirm this? I guess I have to mail the developer..

Edited by bloodlust8
0

Share this post


Link to post
Share on other sites

Posted · Report post

device not found, wtf? :lol:

0

Share this post


Link to post
Share on other sites

Posted · Report post

device not found, wtf? :lol:

You got this message after reboot or when ? Try to restart the phone and start from the begining.

0

Share this post


Link to post
Share on other sites

Posted · Report post

You got this message after reboot or when ? Try to restart the phone and start from the begining.

i got this on the first step.. do i have to put the phone to a 'special' mode,like recovery or debug... and how can i do that?

0

Share this post


Link to post
Share on other sites

Posted · Report post

i got this on the first step.. do i have to put the phone to a 'special' mode,like recovery or debug... and how can i do that?

The phone should be work in normal mode.

The phone should be in usb debugging mode , storage mode must be off .

The debugging mode is in the settings, applications, development menu .

0

Share this post


Link to post
Share on other sites

Posted · Report post

The phone should be work in normal mode.

The phone should be in usb debugging mode , storage mode must be off .

The debugging mode is in the settings, applications, development menu .

./busybox cp su /system/bin : ./busybox not found, what can i do?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.