aaa801

Anyone rooted 2.1 yet? - write attempts here.

57 posts in this topic

If i root my gt540, is the process reversable.

So if i decide i want to unroot the device and have it all set back to how it was as standard is this possible, or is rooting just a one way process that cant be undone?

If it iss possible to unroot it, then how is this done?

And also once rooted, hwo do you set up apps2sd, cos i saw some tutorials on another site which say about having to go into bootloader mode etc.. which obviously you cant on the gt540. So was just wondering if you maanged to get apps2sd working then how it was done.

Sorry , but at this time I didn't managed to revoke it , but of course it is a reversable process , because we simply copy files to the system. Of course later it can be an automated process which saves the original /system/bin folder and in case of uninstall will be restored . The original /system/bin folder should be saved .In the case of unroot it should be restored , the symlink should be deleted from /system/xbin and files from the /data/local/temp should be deleted . After reboot the phone is not rooted .

0

Share this post


Link to post
Share on other sites

So it will be possible to revoke it and reverse the process back to unrooted, but at the moment you dont know how its done? bBut hopefully will do at some point?

0

Share this post


Link to post
Share on other sites
joestone I make this before i read your post, but i'm used Superuser.apk and i'ts work without problems.

Root Explorer works fine in r/w mode.

Btw It's no necessary to remount root partition, only system.

Can you tell more about app2sd. I don't have any info about this on LG Optimus.

Please type little manual how can i make this work.

You need gscript lite from market . Download the app2sd script load it to the gscript and run it. It was made by polish guys . I will attach it . The same worked on 1.6 .The sdcard should be partitioned two parts first is a standard fat the second is an ext2 fs . You can do it with mini partition tool with a cardreader .the script mount the ext2 fs as internal storage .

How do you managed to use Superuser.apk ? What happens after reboot ?

The script should be :lol: change in app2sd , because finally it does not work . I have tested only check mode . Without root it drops permission denied . After root it worked .Sorry !

app2sd_GT540.zip

Edited by joestone
0

Share this post


Link to post
Share on other sites

I just copy Superuser app to /system/app and change permissions to 755 because i used cat for copy, after this reboot and everything work well.

Superuser work as usual.

0

Share this post


Link to post
Share on other sites
I just copy Superuser app to /system/app and change permissions to 755 because i used cat for copy, after this reboot and everything work well.

Superuser work as usual.

I tried also that method , push the superuser app to system/app , but after reboot it was unrooted. I did not change the permission to 755 on superuser app and after reboot the su tells me permission denied.

0

Share this post


Link to post
Share on other sites
So it will be possible to revoke it and reverse the process back to unrooted, but at the moment you dont know how its done? bBut hopefully will do at some point?

in my previous post i wrote how to do it. Before copying anything to the /system/bin folder save the contents of it to the sdcard . The unroot process is to delete the files we copied to the /system/bin and /system/xbin folder and of course the /data/local/tmp folder's content.

0

Share this post


Link to post
Share on other sites

Titanium Backup isn't happy, I get an error message that says "BusyBox works but the "su" command does not elevate to root: "whoami" reports "whoami: unknown uid 10053" instead of root/uid 0. Any ideas?

0

Share this post


Link to post
Share on other sites
Titanium Backup isn't happy, I get an error message that says "BusyBox works but the "su" command does not elevate to root: "whoami" reports "whoami: unknown uid 10053" instead of root/uid 0. Any ideas?

I have no idea . But there is another method to root the phone . It was made by russian guys , but it replaces the rom .

http://translate.google.com/translate?hl=h...late.google.com

0

Share this post


Link to post
Share on other sites
joestone I make this before i read your post, but i'm used Superuser.apk and i'ts work without problems.

Root Explorer works fine in r/w mode.

Btw It's no necessary to remount root partition, only system.

Can you tell more about app2sd. I don't have any info about this on LG Optimus.

Please type little manual how can i make this work.

The root method according to your suggestions :

adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage

adb push su /data/local/tmp/

adb push busybox /data/local/tmp/

adb push Superuser.apk /system/app

adb shell

$chmod 4755 /data/local/tmp/rageagainstthecage

$chmod 4755 /data/local/tmp/busybox

$chmod 755 /system/app/Superuser.apk

$ 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

#reboot

after the phone reboot

adb shell

$su

#

Feel free to correct it .

0

Share this post


Link to post
Share on other sites

This way work great for me.

All apps who i am trying works fine such as Root Explorer, VNC server etc.

p.s. joestone Are you tried method who you wrote? I don't know is this possible to push directly to /system/bin before you mount system partition in read/write mode.

Sorry for my bad english.

Edited by borovaka
0

Share this post


Link to post
Share on other sites

No need to use busybox

Here is what i did (su is from su-2.3.6.1-ef-signed.zip)

adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage

adb shell chmod 4755 /data/local/tmp/rageagainstthecage

adb shell /data/local/tmp/rageagainstthecage

...

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

adb push su /system/xbin/su

adb push su /system/bin/su

adb shell chmod 4755 /system/xbin/su

adb shell chmod 4755 /system/bin/su

Now go to market and install SuperUser

adb shell reboot

Done!!!

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)

su1.png

87333967.png

To make Titanium work, press Promblem? button and let it download busybox (about 1MB)

titan.png

Now you can uninstall stock apps

titan2.png

Sorry for my English and I'm using 2.1

Edited by doubletakeit
0

Share this post


Link to post
Share on other sites

doubletakeit, you solved all of my minor problems B)

Thanks a million, it always helps when someone knows how it's done :lol:

In fact, I think it was a lot easier than any of us expected B)

0

Share this post


Link to post
Share on other sites
doubletakeit, you solved all of my minor problems B)

Thanks a million, it always helps when someone knows how it's done :lol:

In fact, I think it was a lot easier than any of us expected B)

Anyone that's rooted, fancy trying the original LG camera app?

As they have changed the video camera recording in 2.1, from .mp4 to .3gp, and the performance isnt as good as 1.6.

The original camera app from 1.6, I have uploaded is here!.

@ TheLostSwede, doubletakeit, or joestone: Fancy putting up a Tut, explaining the exact steps to root..might help out people who aren't so "up" on rooting, to understand the correct steps to do it, for example how to format the SD card, and what steps and progs to use.

Would help out a lot of people, I think. :lol:

Edited by RottenFoxBreath
0

Share this post


Link to post
Share on other sites
No need to use busybox

Here is what i did (su is from su-2.3.6.1-ef-signed.zip)

adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage

adb shell chmod 4755 /data/local/tmp/rageagainstthecage

adb shell /data/local/tmp/rageagainstthecage

...

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

adb push su /system/xbin/su

adb push su /system/bin/su

adb shell chmod 4755 /system/xbin/su

adb shell chmod 4755 /system/bin/su

adb shell reboot

Now go to market and install SuperUser

Done!!!

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)

su1.png

87333967.png

To make Titanium work, press Promblem? button and let it download busybox (about 1MB)

titan.png

Now you can uninstall stock apps

titan2.png

Sorry for my English and I'm using 2.1

when your phone is restart then phone is unroot.

i already try it

0

Share this post


Link to post
Share on other sites

It works, the only mistake is that you need to install Superuser.apk into /system/apps before you restart and and it all works fine.

0

Share this post


Link to post
Share on other sites
It works, the only mistake is that you need to install Superuser.apk into /system/apps before you restart and and it all works fine.

Yes, thank you. :lol:

Edited by doubletakeit
0

Share this post


Link to post
Share on other sites
This way work great for me.

All apps who i am trying works fine such as Root Explorer, VNC server etc.

p.s. joestone Are you tried method who you wrote? I don't know is this possible to push directly to /system/bin before you mount system partition in read/write mode.

Sorry for my bad english.

Yes , I 've done this way , but of course maybe mistype anything . I wrote this after a daylong fighting to get it work after restart and it is coming from my memory what was done in what order . Of course it is possible to change the order , and after running rageagantsthecage the next step is to mount inv rw mode , and then do the busybox cp .

My original method works on the v20b abalbk rom on my phone.

I didn't test the second method made according to your suggestions , but today I will try it after reflashing the phone to totally start from the begining .

0

Share this post


Link to post
Share on other sites

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 and you need to run it in a DOS window from the folder which contains the unzipped files .

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

I think it would be an advantage to all if someone can make a tutorial or script to run the commands for rooting for all users who do not understand the instructions clearly.

0

Share this post


Link to post
Share on other sites
I think it would be an advantage to all if someone can make a tutorial or script to run the commands for rooting for all users who do not understand the instructions clearly.

Yeah, agreed...also, for running apps2sd, using Ext2 as the partition for the SD card..did you upgrade to Ext3 ,or 4???

Also, maybe show the nooblets how to do that as well, as apps2sd will be a major plus for rooters. :lol:

Edited by RottenFoxBreath
0

Share this post


Link to post
Share on other sites
Yeah, agreed...also, for running apps2sd, using Ext2 as the partition for the SD card..did you upgrade to Ext3 ,or 4???

Also, maybe show the nooblets how to do that as well, as apps2sd will be a major plus for rooters. :lol:

The guide is a screenshot . You should see the same on your screen ,the USB debug mode must be on .

Here is the Polish link about the how-to app2sd :

http://www.lgswift.pl/ogolne/apps2sd-czyli...mieci-t471.html

Edited by joestone
0

Share this post


Link to post
Share on other sites
No screenshot on my pc...it's just a polish text heavy forum that I see. :lol:

My guide is a screenshot . Sorry . The polish site can be translated by Google.

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-2016. MoDaCo uses IntelliTxt technology.