Go Back   Android Forums > Android Phones > LG Motion 4G > Motion 4G - All Things Root

Like Tree27Likes
  • 9 Post By Sepero
  • 1 Post By Sepero
  • 1 Post By Sepero
  • 1 Post By jvillejoe
  • 1 Post By Sepero
  • 4 Post By flbatl
  • 1 Post By flbatl
  • 1 Post By Levi0187
  • 3 Post By Levi0187
  • 2 Post By Levi0187
  • 2 Post By Sepero
  • 1 Post By PlayfulGod

test: Reply
 
LinkBack Thread Tools
Old November 5th, 2012, 07:46 PM   #1 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default [GUIDE] Howto Root LG Motion 4G on Ubuntu Linux (MetroPCS)

I just successfully rooted my LG Motion using Ubuntu Linux, so I figured I'd give some tips for everyone else.

  1. Firstly, read the following guide per it's instructions. (Notice: Don't be a dumbass. Read all instructions before you do anything to your phone)
  2. For convenience, here is the link for downloading the o4xr.zip file and IS11LG_SystemBackupTest.signed.apk file (download the signed.apk file to your phone):
  3. Linux users will use the root-linux.sh script (instead of root.bat) to root their phone. It is located in the o4rx.zip archive.
  4. The root-linux.sh script is screwed up with DOS style endlines. To clean it, you will need to run this command to modify the script:
    Code:
    sed -i 's/\s*$//' root-linux.sh
  5. Also, the script needs to be made executable:
    Code:
    chmod 755 root-linux.sh
  6. Lastly, when it is time to run the script for rooting, it needs to be done with root permissions on your Linux system:
    Code:
    sudo ./root-linux.sh

Your output should look something like this:
Code:
Don't touch the device or unplug while rooting!
Push files
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
rm failed for /data/local/installbusybox, No such file or directory
rm failed for /data/local/installbusybox2, No such file or directory
rm failed for /data/local/root, No such file or directory
rm failed for /data/local/root2, No such file or directory
rm failed for /data/local/sysro, No such file or directory
rm failed for /data/local/sysro2, No such file or directory
rm failed for /data/local/sysrw, No such file or directory
rm failed for /data/local/sysrw2, No such file or directory
rm failed for /data/local/unroot, No such file or directory
rm failed for /data/local/unroot2, No such file or directory
rm failed for /data/local/busybox, No such file or directory
rm failed for /data/local/su, No such file or directory
rm failed for /data/local/Superuser.apk, No such file or directory
4974 KB/s (2005736 bytes in 0.393s)
3731 KB/s (91980 bytes in 0.024s)
3668 KB/s (996704 bytes in 0.265s)
rm failed for /data/local.prop, No such file or directory
Reboot
Congratulations, you should find a new app on your phone named SuperSu



Additional tips by Levi0187:
  • Download and run the apk on your phone.
  • After running, it will be white and say, "Hello world".
  • Do not exit out from the "Hello world" screen!!
  • Hold down your power button and choose restart.
  • After your phone reboots, plug in usb and choose charge only
  • Type the commands listed above into terminal and once rebooted, you're rooted!!
Also a note!~ Ubuntu doesn't need to mount or recognize this device in your home folders as it did not mine. Just follow the steps and the terminal will see it and do it's thing.

Advertisements
Sepero is offline  
Last edited by Sepero; April 4th, 2013 at 06:37 PM.
Reply With Quote
The Following 5 Users Say Thank You to Sepero For This Useful Post:
alfick3 (March 19th, 2013), chicle (November 6th, 2012), jvillejoe (March 3rd, 2013), plasticarmyman (November 6th, 2012), Scorpion7867 (May 25th, 2013)
sponsored links
Old November 8th, 2012, 12:05 PM   #2 (permalink)
Senior Member
 
plasticarmyman's Avatar
 
Join Date: Oct 2011
Gender: Male
Posts: 892
 
Device(s): LG Motion 4G Nook Color PA, HTC One V CM10.1, Nexus 4 DIrty Unicorns
Carrier: Not Provided

Thanks: 90
Thanked 254 Times in 162 Posts
Default

i cannot get my phone to mount on Ubuntu 10.04....any help?
__________________
Our forums have a search button..

on the top right underneath your user name and all that info...there's a link that says "search this forum"...click it...a search field will popup...check ALL THE PAGES before posting a new thread for your question...
plasticarmyman is offline  
Reply With Quote
Old November 8th, 2012, 01:06 PM   #3 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

Quote:
Originally Posted by plasticarmyman View Post
i cannot get my phone to mount on Ubuntu 10.04....any help?
  1. You do not need to mount your phone to root it
  2. To mount your phone, you need MTP support, and MTP support is not yet included with Ubuntu by default. Getting support for MTP is outside the scope of this thread.
  3. Instead of screwing with MTP, what I did was installed a wireless file transfer app to my phone. (There are lots, but I think ftp is most popular)
plasticarmyman likes this.
Sepero is offline  
Last edited by Sepero; March 18th, 2013 at 09:33 PM.
Reply With Quote
The Following User Says Thank You to Sepero For This Useful Post:
plasticarmyman (November 8th, 2012)
Old November 8th, 2012, 11:19 PM   #4 (permalink)
Member
 
enigmadroid's Avatar
 
Join Date: Jul 2012
Location: St. Pete Beach, FL
Posts: 348
 
Device(s): LG MS770
Carrier: MetroPOS

Thanks: 29
Thanked 83 Times in 56 Posts
Send a message via AIM to enigmadroid Send a message via Yahoo to enigmadroid
Default

All I did is have adb and run command through terminal. I always use Linux to root as I have never got crappy ass windows to work.
__________________
~# rm -rf /media/Windows
enigmadroid is offline  
Reply With Quote
Old February 12th, 2013, 03:37 PM   #5 (permalink)
Junior Member
 
niteridet's Avatar
 
Join Date: Apr 2012
Location: CA
Gender: Female
Posts: 21
 
Device(s): LG Motion, ZTE Avid
Carrier: MetroPCS

Thanks: 24
Thanked 1 Time in 1 Post
Send a message via MSN to niteridet Send a message via Yahoo to niteridet Send a message via Skype™ to niteridet niteridet@gmail.com
Default Re: Rooting LG Motion 4G on Ubuntu Linux (MetroPCS)

yo,
I tried to change the script, but on ubuntu12.04, where do I save the root-linux.sh file so I can get the cmnd's correct? And also need a more detailed description of how to run this in terminal...I read and did everything wrong even the xda instructions...I Am halfway there though...:what:
niteridet is offline  
Reply With Quote
Old February 12th, 2013, 04:23 PM   #6 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

Q: where do I save the root-linux.sh file so I can get the cmnd's correct?
A: You can save it anywhere you like. Just unzip the files somewhere. Then use the terminal to go to that location
Code:
cd folder/o4xr/
While in that directory, you run all your commands there.
Sepero is offline  
Reply With Quote
Old February 12th, 2013, 04:45 PM   #7 (permalink)
Junior Member
 
niteridet's Avatar
 
Join Date: Apr 2012
Location: CA
Gender: Female
Posts: 21
 
Device(s): LG Motion, ZTE Avid
Carrier: MetroPCS

Thanks: 24
Thanked 1 Time in 1 Post
Send a message via MSN to niteridet Send a message via Yahoo to niteridet Send a message via Skype™ to niteridet niteridet@gmail.com
Default Re: Rooting LG Motion 4G on Ubuntu Linux (MetroPCS)

OK I did that...but I son exactly know how to run those cmnd's
niteridet is offline  
Reply With Quote
Old February 13th, 2013, 01:21 AM   #8 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

If you copy and paste the errors you're getting, and then I can help you out.
Sepero is offline  
Reply With Quote
Old February 13th, 2013, 07:55 AM   #9 (permalink)
Junior Member
 
niteridet's Avatar
 
Join Date: Apr 2012
Location: CA
Gender: Female
Posts: 21
 
Device(s): LG Motion, ZTE Avid
Carrier: MetroPCS

Thanks: 24
Thanked 1 Time in 1 Post
Send a message via MSN to niteridet Send a message via Yahoo to niteridet Send a message via Skype™ to niteridet niteridet@gmail.com
Default Re: Rooting LG Motion 4G on Ubuntu Linux (MetroPCS)

Well first off, I'm very oblivious on how to run command propmt or terminal - i don't even know where to start - so i tried a variety of things - but i just get 'file' or 'command' not found type of info.
Do I have to copy and paste something into this root-linux.sh file before i run it? Well I tried that and i keep having issues with the whole thing - look up my profile and instant messege me on one of my screen names- I could really use some tutoring.
I tried to root my evo 4g 6 monthes ago - but I never succeeded with that either...
firstthing i did was copy and paste the (sed -i 's/\s*$//' root-linux.sh) into the terminal and all it does is respond with (user@chrubuntu:$) - am i supposed to edit this into the root-linux.sh file or run it as root? or both?
then i copy and pasted the (root-linux.sh) file into the terminal, pressed enter and then i get this:
bash: /home/user/Documents/root-linux.sh: Permission denied
user@ChrUbuntu:~$
Am I supposed to log in with my chrubuntu password first?

So I gave you two examples as to how clueless i am with this linux root method - but i did instal the systembackup.apk onto the phone from my chrubuntu - do i extract all of the .zip files onto my ubuntu or just the root-linux.sh file?
Like i mentioned before - the author of this thread please messege me on yahoo, or whatever pm me - I just like a faster dialog. thx
niteridet is offline  
Reply With Quote
Old March 18th, 2013, 04:32 PM   #10 (permalink)
Senior Member
 
jvillejoe's Avatar
 
Join Date: Sep 2011
Location: In the swamp! Palm Bay, FL.
Posts: 578
 
Device(s): Moto X(Kit Kat 4.4.2),HTC HD2(4.2.2),Acer A500(CM10.1),Raspberry Pi(OpenELEC)
Carrier: Republic Wireless

Thanks: 243
Thanked 76 Times in 63 Posts
Default

One question, how do we unroot using this method?
__________________
You can give a man some fish and he can eat for a day. But!! If you teach a man to fish he can eat for a life time!

Old devices : Samsung Vibrant(sold),Moto Triumph(Returned), Nook color(sold)LG Esteem(Gave away),Htc Evo V 4G(Returned)LG Motion (sold)
jvillejoe is offline  
Reply With Quote
sponsored links
Old March 18th, 2013, 05:31 PM   #11 (permalink)
Senior Member
 
twogbsd's Avatar
 
Join Date: Oct 2012
Location: ▂▃▅▆█
Gender: Male
Posts: 2,013
 
Device(s): LG L70, LG Motion 4G, Three Sammy Admires, Galaxy Tab 2 7.0, Nextbook tablet, Kyocera Hydro.
Carrier: T-Metro

Thanks: 853
Thanked 483 Times in 330 Posts
Default

Quote:
Originally Posted by jvillejoe View Post
One question, how do we unroot using this method?
WINE maybe?
twogbsd is offline  
Reply With Quote
Old March 18th, 2013, 08:21 PM   #12 (permalink)
Senior Member
 
jvillejoe's Avatar
 
Join Date: Sep 2011
Location: In the swamp! Palm Bay, FL.
Posts: 578
 
Device(s): Moto X(Kit Kat 4.4.2),HTC HD2(4.2.2),Acer A500(CM10.1),Raspberry Pi(OpenELEC)
Carrier: Republic Wireless

Thanks: 243
Thanked 76 Times in 63 Posts
Default

Quote:
Originally Posted by niteridet View Post
Well first off, I'm very oblivious on how to run command propmt or terminal - i don't even know where to start - so i tried a variety of things - but i just get 'file' or 'command' not found type of info.
Do I have to copy and paste something into this root-linux.sh file before i run it? Well I tried that and i keep having issues with the whole thing - look up my profile and instant messege me on one of my screen names- I could really use some tutoring.
I tried to root my evo 4g 6 monthes ago - but I never succeeded with that either...
firstthing i did was copy and paste the (sed -i 's/\s*$//' root-linux.sh) into the terminal and all it does is respond with (user@chrubuntu:$) - am i supposed to edit this into the root-linux.sh file or run it as root? or both?
then i copy and pasted the (root-linux.sh) file into the terminal, pressed enter and then i get this:
bash: /home/user/Documents/root-linux.sh: Permission denied
user@ChrUbuntu:~$
Am I supposed to log in with my chrubuntu password first?

So I gave you two examples as to how clueless i am with this linux root method - but i did instal the systembackup.apk onto the phone from my chrubuntu - do i extract all of the .zip files onto my ubuntu or just the root-linux.sh file?
Like i mentioned before - the author of this thread please messege me on yahoo, or whatever pm me - I just like a faster dialog. thx
Not sure if you have figured this out. Save the unzipped o4xr file to your home/user file. Open terminal, type ls hit enter, and see if it shows up on the list of your main directory.

Once you see the file, type this as follows;

cd o4xr
sed -i 's/\s*$//' root-linux.sh
chmod 755 root-linux.sh
sudo ./root-linux.sh
[sudo] password for user: enter password
Don't touch the device or unplug while rooting!

After that let it run, and let your phone reboot, and you should be rooted.


Here is a good tutorial for using terminal.

https://help.ubuntu.com/community/UsingTheTerminal
jvillejoe is offline  
Last edited by jvillejoe; March 18th, 2013 at 08:33 PM.
Reply With Quote
Old March 18th, 2013, 08:23 PM   #13 (permalink)
Senior Member
 
jvillejoe's Avatar
 
Join Date: Sep 2011
Location: In the swamp! Palm Bay, FL.
Posts: 578
 
Device(s): Moto X(Kit Kat 4.4.2),HTC HD2(4.2.2),Acer A500(CM10.1),Raspberry Pi(OpenELEC)
Carrier: Republic Wireless

Thanks: 243
Thanked 76 Times in 63 Posts
Default

Quote:
Originally Posted by 2GigayteSD View Post
WINE maybe?

Going to try and unroot right now. I just want to be able to unroot for what ever reason.
jvillejoe is offline  
Reply With Quote
Old March 18th, 2013, 09:16 PM   #14 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

It IS possible to unroot by simply removing the files that were added: /system/app/SURoot.apk /system/xbin/busybox /system/xbin/su (also, the root process leaves a dirty copy of these same files in /data/local/. They are no longer used and can be deleted without consequence)

But that won't restore any changes that were made to the device by rooted programs. If a root program made changes to the audio, or build.prop, or any system files, then those will remain.

The only way to guarantee the device is back to a factory state is by flashing a factory firmware on the device. Currently, the only method for doing this is by using the unroot/unbrick guide. And unfortunately, that program is produced by LG and only runs on MSWindows.

Quote:
Originally Posted by 2GigayteSD View Post
WINE maybe?
WINE only has support for things like OS library files. It has No support for device drivers, and because of this, it will never work for the purpose of connecting hardware.

As an alternative, I've tried using the LG software on a VirtualBox of MSWindows. I had all the software installed and it did not work in my testing.

In the end, my only solution was to borrow the MSWindows laptop of a relative and reset the firmware using their system.
sammyz likes this.
Sepero is offline  
Last edited by Sepero; March 18th, 2013 at 09:35 PM.
Reply With Quote
The Following User Says Thank You to Sepero For This Useful Post:
jvillejoe (March 18th, 2013)
Old March 18th, 2013, 09:50 PM   #15 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

(warning: linux hacker info being leaked in this post)
There is only one solution I know of for factory restoring without MSWindows. Basically, it would involve getting a nand backup of the /system, prior to being rooted. Or getting a nand backup of the /system soon after being rooted, and hand editing it back into an unrooted state. (both of which are possible, but require an in-depth level of knowledge)

Once you have an unrooted nand backup of the /system, it's then just a matter of flashing it using the nand restore process.

But here's the catch, this nand restore process is no good if the device is bricked.
Sepero is offline  
Reply With Quote
The Following User Says Thank You to Sepero For This Useful Post:
jvillejoe (March 18th, 2013)
Old March 18th, 2013, 10:10 PM   #16 (permalink)
Senior Member
 
jvillejoe's Avatar
 
Join Date: Sep 2011
Location: In the swamp! Palm Bay, FL.
Posts: 578
 
Device(s): Moto X(Kit Kat 4.4.2),HTC HD2(4.2.2),Acer A500(CM10.1),Raspberry Pi(OpenELEC)
Carrier: Republic Wireless

Thanks: 243
Thanked 76 Times in 63 Posts
Default

Quote:
Originally Posted by Sepero View Post
It IS possible to unroot by simply removing the files that were added: /system/app/SURoot.apk /system/xbin/busybox /system/xbin/su (also, the root process leaves a dirty copy of these same files in /data/local/. They are no longer used and can be deleted without consequence)

But that won't restore any changes that were made to the device by rooted programs. If a root program made changes to the audio, or build.prop, or any system files, then those will remain.

The only way to guarantee the device is back to a factory state is by flashing a factory firmware on the device. Currently, the only method for doing this is by using the unroot/unbrick guide. And unfortunately, that program is produced by LG and only runs on MSWindows.


WINE only has support for things like OS library files. It has No support for device drivers, and because of this, it will never work for the purpose of connecting hardware.

As an alternative, I've tried using the LG software on a VirtualBox of MSWindows. I had all the software installed and it did not work in my testing.

In the end, my only solution was to borrow the MSWindows laptop of a relative and reset the firmware using their system.
Yeah, Wine didn't work. I also tried my VM, and had the same results. I could always barrow a MS box from my brother if I needed. I haven't ran windows in ages. Thanks for the reply.

I wish company's would start supporting Linux...
Scorpion7867 likes this.
jvillejoe is offline  
Reply With Quote
Old March 18th, 2013, 10:41 PM   #17 (permalink)
Senior Member
 
jvillejoe's Avatar
 
Join Date: Sep 2011
Location: In the swamp! Palm Bay, FL.
Posts: 578
 
Device(s): Moto X(Kit Kat 4.4.2),HTC HD2(4.2.2),Acer A500(CM10.1),Raspberry Pi(OpenELEC)
Carrier: Republic Wireless

Thanks: 243
Thanked 76 Times in 63 Posts
Default

Quote:
Originally Posted by Sepero View Post
(warning: linux hacker info being leaked in this post)
There is only one solution I know of for factory restoring without MSWindows. Basically, it would involve getting a nand backup of the /system, prior to being rooted. Or getting a nand backup of the /system soon after being rooted, and hand editing it back into an unrooted state. (both of which are possible, but require an in-depth level of knowledge)

Once you have an unrooted nand backup of the /system, it's then just a matter of flashing it using the nand restore process.

But here's the catch, this nand restore process is no good if the device is bricked.
You could still unbrick via windows though right? Just not in linux because you need the LG program?
jvillejoe is offline  
Reply With Quote
Old March 18th, 2013, 11:00 PM   #18 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

Quote:
Originally Posted by jvillejoe View Post
You could still unbrick via windows though right?
Yes
jvillejoe likes this.
Sepero is offline  
Reply With Quote
The Following 2 Users Say Thank You to Sepero For This Useful Post:
jvillejoe (March 19th, 2013), niteridet (March 19th, 2013)
Old April 3rd, 2013, 12:35 AM   #19 (permalink)
Junior Member
 
Join Date: Mar 2013
Posts: 49
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 9 Times in 5 Posts
Default

I successfully rooted and did everything necessary in a Windows virtual machine....so it does work.
flbatl is offline  
Reply With Quote
The Following 4 Users Say Thank You to flbatl For This Useful Post:
alfick3 (April 3rd, 2013), sammyz (April 3rd, 2013), Scorpion7867 (May 25th, 2013), Sepero (April 3rd, 2013)
Old April 3rd, 2013, 02:48 PM   #20 (permalink)
LG Whiz Kid
 
sammyz's Avatar
 
Join Date: Jun 2011
Location: Pompano Beach, Fl
Gender: Male
Posts: 8,717
 
Device(s): LG Motion 4G---- LG Optimus L9
Carrier: MetroPCS

Thanks: 2,169
Thanked 2,325 Times in 1,513 Posts
Default

Quote:
Originally Posted by flbatl View Post
I successfully rooted and did everything necessary in a Windows virtual machine....so it does work.
Was the virtual machine running inside of Linux or windows?
__________________
Ok, you want help? I am here to help. But if you can't read, I can't really help you.
Why on earth would anyone help someone who does not read? This is a forum, the purpose of it is to read.
sammyz is online now  
Reply With Quote
sponsored links
Old April 3rd, 2013, 09:44 PM   #21 (permalink)
Junior Member
 
Join Date: Mar 2013
Posts: 49
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 9 Times in 5 Posts
Default

Quote:
Originally Posted by sammyz View Post
Was the virtual machine running inside of Linux or windows?
Inside of an Ubuntu 13.04 host running VMWare 9.
flbatl is offline  
Reply With Quote
The Following User Says Thank You to flbatl For This Useful Post:
sammyz (April 4th, 2013)
Old April 3rd, 2013, 10:09 PM   #22 (permalink)
Senior Member
 
jvillejoe's Avatar
 
Join Date: Sep 2011
Location: In the swamp! Palm Bay, FL.
Posts: 578
 
Device(s): Moto X(Kit Kat 4.4.2),HTC HD2(4.2.2),Acer A500(CM10.1),Raspberry Pi(OpenELEC)
Carrier: Republic Wireless

Thanks: 243
Thanked 76 Times in 63 Posts
Default

Quote:
Originally Posted by flbatl View Post
Inside of an Ubuntu 13.04 host running VMWare 9.
How did you get the drivers to install?
jvillejoe is offline  
Reply With Quote
Old April 3rd, 2013, 10:41 PM   #23 (permalink)
Junior Member
 
Join Date: Mar 2013
Posts: 49
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 9 Times in 5 Posts
Default

Quote:
Originally Posted by jvillejoe View Post
How did you get the drivers to install?
I disabled auto mounting in Ubuntu and that allows you to take ownership of the phone on the vm. I'm using XP also to make things easier. Create a Z drive to your LG folder and everything should go smoothly.
jvillejoe likes this.
flbatl is offline  
Reply With Quote
The Following 2 Users Say Thank You to flbatl For This Useful Post:
jvillejoe (April 3rd, 2013), sammyz (April 4th, 2013)
Old April 3rd, 2013, 10:46 PM   #24 (permalink)
Senior Member
 
jvillejoe's Avatar
 
Join Date: Sep 2011
Location: In the swamp! Palm Bay, FL.
Posts: 578
 
Device(s): Moto X(Kit Kat 4.4.2),HTC HD2(4.2.2),Acer A500(CM10.1),Raspberry Pi(OpenELEC)
Carrier: Republic Wireless

Thanks: 243
Thanked 76 Times in 63 Posts
Default

Quote:
Originally Posted by flbatl View Post
I disabled auto mounting in Ubuntu and that allows you to take ownership of the phone on the vm. I'm using XP also to make things easier. Create a Z drive to your LG folder and everything should go smoothly.
Sweet, and I also run XP in a vm. Thanks for the tip.
jvillejoe is offline  
Reply With Quote
Old April 4th, 2013, 12:35 PM   #25 (permalink)
Junior Member
 
Join Date: Feb 2013
Posts: 73
 
Device(s): LG Motion 4G MS770 (Wifes), Samsung Admire SCH-R720
Carrier: MetroPCS

Thanks: 23
Thanked 9 Times in 7 Posts
Default Bad command for first line??

Quote:
Originally Posted by jvillejoe View Post
Not sure if you have figured this out. Save the unzipped o4xr file to your home/user file. Open terminal, type ls hit enter, and see if it shows up on the list of your main directory.

Once you see the file, type this as follows;

cd o4xr
sed -i 's/\s*$//' root-linux.sh
chmod 755 root-linux.sh
sudo ./root-linux.sh
[sudo] password for user: enter password
Don't touch the device or unplug while rooting!

After that let it run, and let your phone reboot, and you should be rooted.


Here is a good tutorial for using terminal.

https://help.ubuntu.com/community/UsingTheTerminal
I encountered this upon entering cd o4xr into terminal

levi@******** ~$ ls
Administration Desktop Music out.ogv Software
broadcom-wl-5.100.138 Documents mypc.ogv Pictures Templates
broadcom-wl-5.100.138.tar.bz2 Downloads o4xr.zip Public Videos
levi@******** ~$ cd o4xr
bash: cd: o4xr: No such file or directory
levi@******** ~$


What did I miss?
Levi0187 is offline  
Reply With Quote
Old April 4th, 2013, 12:49 PM   #26 (permalink)
Junior Member
 
Join Date: Feb 2013
Posts: 73
 
Device(s): LG Motion 4G MS770 (Wifes), Samsung Admire SCH-R720
Carrier: MetroPCS

Thanks: 23
Thanked 9 Times in 7 Posts
Default No such file or directory??

Quote:
Originally Posted by Sepero View Post
If you copy and paste the errors you're getting, and then I can help you out.
levi@******** ~$ ls
Administration Desktop Music out.ogv Software
broadcom-wl-5.100.138 Documents mypc.ogv Pictures Templates
broadcom-wl-5.100.138.tar.bz2 Downloads o4xr.zip Public Videos
levi@******** ~$ cd o4xr
bash: cd: o4xr: No such file or directory
levi@******** ~$ ls
Administration Desktop Music out.ogv Software
broadcom-wl-5.100.138 Documents mypc.ogv Pictures Templates
broadcom-wl-5.100.138.tar.bz2 Downloads o4xr.zip Public Videos
levi@******** ~$ cd o4xr
bash: cd: o4xr: No such file or directory
levi@******** ~$ cd folder/o4xr/
bash: cd: folder/o4xr/: No such file or directory
levi@******** ~$ cd levi/o4xr/
bash: cd: levi/o4xr/: No such file or directory
levi@******** ~$ cd home/levi/o4xr/
bash: cd: home/levi/o4xr/: No such file or directory



What am I doing wrong? I am running Fuduntu 2013 64 bit Thanks.
Levi0187 is offline  
Reply With Quote
Old April 4th, 2013, 01:30 PM   #27 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

Hey Levi0187,
I'm sorry I haven't the time to help everyone with their commandline troubles. You need to extract the file o4xr.zip before you can do anything with the files.

Here is some info for learning more about how to use the Linux commandline.
BashGuide - Greg's Wiki
BashGuide/CommandsAndArguments - Greg's Wiki
List of Bash online-tutorials [Bash Hackers Wiki]
Sepero is offline  
Reply With Quote
The Following User Says Thank You to Sepero For This Useful Post:
Levi0187 (April 4th, 2013)
Old April 4th, 2013, 01:51 PM   #28 (permalink)
Junior Member
 
Join Date: Feb 2013
Posts: 73
 
Device(s): LG Motion 4G MS770 (Wifes), Samsung Admire SCH-R720
Carrier: MetroPCS

Thanks: 23
Thanked 9 Times in 7 Posts
Default Thanks!!

Quote:
Originally Posted by Sepero View Post
Hey Levi0187,
I'm sorry I haven't the time to help everyone with their commandline troubles. You need to extract the file o4xr.zip before you can do anything with the files.

Here is some info for learning more about how to use the Linux commandline.
BashGuide - Greg's Wiki
BashGuide/CommandsAndArguments - Greg's Wiki
List of Bash online-tutorials [Bash Hackers Wiki]
Thanks, and I understand. I'm downloading Ubuntu 32 bit 12.04LTS right now as I see that as the quicker and easier alternative. LOL

I do have one question though, do I run that apk and then reboot as instructed on the other site, or do I just hold down power and tell it to reboot, but without actually finalizing action through the phone itself? I seen conflicting instructions on this specific action. 1 instruction shows the latter of the two showing that when you run the commands on PC, that will cause it to reboot while you're on the reboot screen on phone. Thanks
Levi0187 is offline  
Reply With Quote
Old April 4th, 2013, 02:13 PM   #29 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

  • Put phone in USB debugging mode
  • Run the apk (SystemBackupTest)
  • Restart phone as you normally would
Sepero is offline  
Reply With Quote
Old April 4th, 2013, 02:49 PM   #30 (permalink)
Junior Member
 
Join Date: Feb 2013
Posts: 73
 
Device(s): LG Motion 4G MS770 (Wifes), Samsung Admire SCH-R720
Carrier: MetroPCS

Thanks: 23
Thanked 9 Times in 7 Posts
Default

Quote:
Originally Posted by Sepero View Post
  • Put phone in USB debugging mode
  • Run the apk (SystemBackupTest)
  • Restart phone as you normally would
Ok, thank you very much. I just installed Ubuntu 12.04 32 bit on an external HDD and about to give it a go.
Sepero likes this.
Levi0187 is offline  
Reply With Quote
The Following User Says Thank You to Levi0187 For This Useful Post:
Sepero (April 4th, 2013)
sponsored links
Old April 4th, 2013, 04:25 PM   #31 (permalink)
Junior Member
 
Join Date: Feb 2013
Posts: 73
 
Device(s): LG Motion 4G MS770 (Wifes), Samsung Admire SCH-R720
Carrier: MetroPCS

Thanks: 23
Thanked 9 Times in 7 Posts
Default Thanks! :D !!!

Quote:
Originally Posted by jvillejoe View Post
Not sure if you have figured this out. Save the unzipped o4xr file to your home/user file. Open terminal, type ls hit enter, and see if it shows up on the list of your main directory.

Once you see the file, type this as follows;

cd o4xr
sed -i 's/\s*$//' root-linux.sh
chmod 755 root-linux.sh
sudo ./root-linux.sh
[sudo] password for user: enter password
Don't touch the device or unplug while rooting!

After that let it run, and let your phone reboot, and you should be rooted.


Here is a good tutorial for using terminal.

https://help.ubuntu.com/community/UsingTheTerminal
I just wanted to throw a big thanks out there for your simplification on this. Don't get me wrong, I understand the original, but for people I've noticed having issues on here, this is a way for even the least experienced users to grasp. I hope you don't mind if I add to yours though as the original site had a conflicting issue.

Download and run the apk on your phone with the usb disconnected. While the apk is running, (It will say on a white screen "Hello world") meaning do not exit out from the "hello world" screen!! hold down your power button and choose restart your phone and after your phone reboots, plug in usb and choose charge only and then type the commands listed above into terminal and once rebooted, you're rooted!!

Also a note!~ Ubuntu doesn't need to mount or recognize this device in your home folders as it did not mine. Just follow the steps and the terminal will see it and do it's thing.
Sepero, Scorpion7867 and jvillejoe like this.
Levi0187 is offline  
Reply With Quote
The Following 3 Users Say Thank You to Levi0187 For This Useful Post:
jvillejoe (May 30th, 2013), Scorpion7867 (May 25th, 2013), Sepero (April 4th, 2013)
Old April 4th, 2013, 04:29 PM   #32 (permalink)
Junior Member
 
Join Date: Feb 2013
Posts: 73
 
Device(s): LG Motion 4G MS770 (Wifes), Samsung Admire SCH-R720
Carrier: MetroPCS

Thanks: 23
Thanked 9 Times in 7 Posts
Default

ROOTED!! Now off to see if it can run CM10. hehehehe
Sepero and Scorpion7867 like this.
Levi0187 is offline  
Reply With Quote
The Following User Says Thank You to Levi0187 For This Useful Post:
Sepero (April 4th, 2013)
Old April 4th, 2013, 06:23 PM   #33 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

Great news Levi, glad to hear everything worked out for you. I'll add your tips to the OP (original post), as they may help others.

As an FYI: Be careful, as there is currently no way to UNBRICK the LG Motion without MS Windows. Also, CM10 does not have 4G support on the LG Motion
Sepero is offline  
Reply With Quote
The Following User Says Thank You to Sepero For This Useful Post:
Levi0187 (April 16th, 2013)
Old April 16th, 2013, 08:47 AM   #34 (permalink)
Junior Member
 
Join Date: Feb 2013
Posts: 73
 
Device(s): LG Motion 4G MS770 (Wifes), Samsung Admire SCH-R720
Carrier: MetroPCS

Thanks: 23
Thanked 9 Times in 7 Posts
Default

Quote:
Originally Posted by Sepero View Post
Great news Levi, glad to hear everything worked out for you. I'll add your tips to the OP (original post), as they may help others.

As an FYI: Be careful, as there is currently no way to UNBRICK the LG Motion without MS Windows. Also, CM10 does not have 4G support on the LG Motion
Ok, thanks. I was curious about the needing MS though. I ran the programs in Fuduntu and they ran exactly like they did on Windows. I actually tried it and got the same results as I did on Windows. I was told I had a bad download for the firmware by Sammyz, so I re-downloaded using a torrent. both files are exactly 569.8 MB so I'm not sure yet. I took my phone to a shop. They said they could do it no problem, but three days later I had to get it from them cause they were taking too long so I'm gonna try again.
Levi0187 is offline  
Reply With Quote
Old April 16th, 2013, 11:01 PM   #35 (permalink)
Junior Member
 
Join Date: Feb 2013
Posts: 73
 
Device(s): LG Motion 4G MS770 (Wifes), Samsung Admire SCH-R720
Carrier: MetroPCS

Thanks: 23
Thanked 9 Times in 7 Posts
Default

Quote:
Originally Posted by Sepero View Post
Great news Levi, glad to hear everything worked out for you. I'll add your tips to the OP (original post), as they may help others.

As an FYI: Be careful, as there is currently no way to UNBRICK the LG Motion without MS Windows. Also, CM10 does not have 4G support on the LG Motion
I was curious as to any available roms for the LG Motion and if you have any recommends?
Levi0187 is offline  
Reply With Quote
Old April 17th, 2013, 10:30 AM   #36 (permalink)
Junior Member
 
Join Date: Feb 2013
Posts: 73
 
Device(s): LG Motion 4G MS770 (Wifes), Samsung Admire SCH-R720
Carrier: MetroPCS

Thanks: 23
Thanked 9 Times in 7 Posts
Default

Phone unbricked. I have been really curious lately about the LG program used for flashing firmware. I know I was told that there is currently no way to unbrick your phone without MS Windows, but I was curious as to if anybody has tested this program using wine on Linux. Bear with me as I may be a simpleton on some stuff as I am not a programmer.
I also know that it seems that different Linux distros run different programs through wine more effectively than others. Except for games, I have found that Fuduntu runs general Windows programs easily. I was mainly curious if anybody has the capacity to try this? Am I totally missing something where it is just not possible? Just curious is all. I would love to do it myself, but I can't afford to replace my phone and don't have any test subjects laying around the house. LOL
Levi0187 is offline  
Reply With Quote
Old April 17th, 2013, 04:40 PM   #37 (permalink)
LG Whiz Kid
 
sammyz's Avatar
 
Join Date: Jun 2011
Location: Pompano Beach, Fl
Gender: Male
Posts: 8,717
 
Device(s): LG Motion 4G---- LG Optimus L9
Carrier: MetroPCS

Thanks: 2,169
Thanked 2,325 Times in 1,513 Posts
Default

Fubuntu will open the programs, but it won't unbrick it. No hardware support in WINE.
sammyz is online now  
Reply With Quote
The Following User Says Thank You to sammyz For This Useful Post:
Sepero (April 17th, 2013)
Old April 17th, 2013, 07:25 PM   #38 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

Can I unbrick with WINE + Answer
sammyz and alsaces daddy like this.
Sepero is offline  
Reply With Quote
Old May 25th, 2013, 03:45 PM   #39 (permalink)
Junior Member
 
Join Date: Mar 2011
Location: U.S., Tron
Posts: 45
 
Device(s): Lg Optimus LGMS769 rooted with Vroot OC 1200mhz theme kuma82
Carrier: metropcs

Thanks: 12
Thanked 0 Times in 0 Posts
Default

I think I bricked the phone? I followed the guide but it didn't work. Right now I can't turn it on or charge it. How can I solve this issue? Thanks
andro1d5 is offline  
Reply With Quote
Old May 25th, 2013, 04:37 PM   #40 (permalink)
Junior Member
 
Join Date: Mar 2011
Location: U.S., Tron
Posts: 45
 
Device(s): Lg Optimus LGMS769 rooted with Vroot OC 1200mhz theme kuma82
Carrier: metropcs

Thanks: 12
Thanked 0 Times in 0 Posts
Default

Nevermind my brother had a damaged charger.
andro1d5 is offline  
Reply With Quote
sponsored links
Old May 30th, 2013, 12:03 AM   #41 (permalink)
New Member
 
RichardDelinsk's Avatar
 
Join Date: May 2013
Location: Texas
Gender: Male
Posts: 1
 
Device(s): LG Motion 4G
Carrier: Metro PCS

Thanks: 0
Thanked 0 Times in 0 Posts
Default Rooting LG Motion

I'm new here and a little scared to try and root my Motion. Can the process be done with the cell phone by itself? Or does it HAVE TO BE done through a computer? I once rooted a Huawei Ascend using ONLY the phone and it's own internet. This sounds a little more complex.
RichardDelinsk is offline  
Reply With Quote
Old May 30th, 2013, 12:09 AM   #42 (permalink)
Senior Member
 
MrGlowy's Avatar
 
Join Date: Feb 2012
Location: California
Gender: Male
Posts: 639
 
Device(s): LG Optimus F3
Carrier: MetroPCS

Thanks: 112
Thanked 133 Times in 111 Posts
Default

Quote:
Originally Posted by RichardDelinsk View Post
I'm new here and a little scared to try and root my Motion. Can the process be done with the cell phone by itself? Or does it HAVE TO BE done through a computer? I once rooted a Huawei Ascend using ONLY the phone and it's own internet. This sounds a little more complex.
The phone can't be rooted with just the phone. Remember, this guide is for Linux computers
MrGlowy is offline  
Reply With Quote
Old May 30th, 2013, 12:26 AM   #43 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

Here is the guide for Windows computers.
[GUIDE] Howto Root LG Motion 4G

There is currently no way to root our phone without using a computer.
Sepero is offline  
Reply With Quote
Old May 30th, 2013, 03:52 PM   #44 (permalink)
Senior Member
 
jvillejoe's Avatar
 
Join Date: Sep 2011
Location: In the swamp! Palm Bay, FL.
Posts: 578
 
Device(s): Moto X(Kit Kat 4.4.2),HTC HD2(4.2.2),Acer A500(CM10.1),Raspberry Pi(OpenELEC)
Carrier: Republic Wireless

Thanks: 243
Thanked 76 Times in 63 Posts
Default

Quote:
Originally Posted by Levi0187 View Post
I just wanted to throw a big thanks out there for your simplification on this. Don't get me wrong, I understand the original, but for people I've noticed having issues on here, this is a way for even the least experienced users to grasp. I hope you don't mind if I add to yours though as the original site had a conflicting issue.

Download and run the apk on your phone with the usb disconnected. While the apk is running, (It will say on a white screen "Hello world") meaning do not exit out from the "hello world" screen!! hold down your power button and choose restart your phone and after your phone reboots, plug in usb and choose charge only and then type the commands listed above into terminal and once rebooted, you're rooted!!

Also a note!~ Ubuntu doesn't need to mount or recognize this device in your home folders as it did not mine. Just follow the steps and the terminal will see it and do it's thing.

Sorry for not responding, I've been busy with college. I'm glad you got this whole thing sorted out.
jvillejoe is offline  
Reply With Quote
Old May 30th, 2013, 04:01 PM   #45 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,109
 
Device(s): LG G Flex, LG Spirit, LG Motion, LG F3
Carrier: AT&T

Thanks: 238
Thanked 4,936 Times in 2,077 Posts
Default

hey sepero I posted one for linux/mac and I think I updated the bat for windows that also installs cwm, if you want to add it too.
jvillejoe likes this.
__________________
Official Donate link if you like my work and would like to show your appreciation and support. All donations are greatly appreciated!!

PlayfulDroidz Wiki
UPP
PlayfulGod is offline  
Reply With Quote
The Following User Says Thank You to PlayfulGod For This Useful Post:
jvillejoe (May 30th, 2013)
Old June 1st, 2013, 04:11 AM   #46 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 946
 
Device(s): LG Motion 4G
Carrier: MetroPCS

Thanks: 1,173
Thanked 583 Times in 228 Posts
Default

Quote:
Originally Posted by PlayfulGod View Post
hey sepero I posted one for linux/mac and I think I updated the bat for windows that also installs cwm, if you want to add it too.
Post me a link, hotshot
Sepero is offline  
Reply With Quote
Old June 1st, 2013, 04:22 AM   #47 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,109
 
Device(s): LG G Flex, LG Spirit, LG Motion, LG F3
Carrier: AT&T

Thanks: 238
Thanked 4,936 Times in 2,077 Posts
Default

Quote:
Originally Posted by Sepero View Post
Post me a link, hotshot
EDITED: sorry thought I was in the Spirit section.
PlayfulGod is offline  
Last edited by PlayfulGod; June 1st, 2013 at 07:48 PM.
Reply With Quote
Reply
Tags
lg motion 4g linux ubuntu debian arch ics 4.0.4


Go Back   Android Forums > Android Phones > LG Motion 4G > Motion 4G - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:49 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.