• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root How to root

I'm having issues rooting. I got the phone in USB Developer mode and on charing only. With drivers I presume are current... It detects the phone, reboots then nothing. no root :( no superuser..

[*] Waiting for device...
* daemon not running. starting it now *
* daemon started successfully *
[*] Device found.
[*] Rebooting device...
[*] Waiting for phone to reboot.
[*] Attemping persistence...
remount failed: Operation not permitted
failed to copy 'su' to '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
link failed Read-only file system
failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/bin/sh: /system/xbin/busybox: not found
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
Unable to chmod /system/app/Superuser.apk: No such file or directory
[*] Cleaning up...
[*] Rebooting...

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


After fiddling with the script.. I was able to get Root! :) for some reason when I removed the line "Adb restart" it was able to root perfectly.. it installed superuser and root explorer works in r/w mode :)
 
I've made a simple bash script for Linux users. Please let me know if it works for you. You'll need the adb binary for linux. (Rename it to adb-linux to match the script).

If you'd like, I can package everything up together.

Code:
#!/bin/bash
#
# LG Spirit 4G (MS870) Root
# Based on the djrbliss's RunMe.bat script
# Created by ikarosdev
#
#  Copyright (C) 2013 Dan Rosenberg (@djrbliss)
#
##########################################################################
#
# Instructions:
#
#  1. Ensure you have the latest drivers installed from LG
#
#  2. Put your device in USB debugging mode
#
#  3. Attach it via USB
#
#  4. Run this script in the same directory as the rest of the extracted
#     zipfile
#
##########################################################################

echo " 
[*]"
echo " 
[*] Spirited Away: LG Spirit 4G Root Exploit (Linux version)"
echo " 
[*] by Dan Rosenberg (@djrbliss) created for Linux by ikarosdev"
echo " 
[*]"
echo " 
[*] Before continuing, ensure USB debugging is enabled, that you"
echo " 
[*] have the latest LG drivers installed, and that your phone"
echo " 
[*] is connected via USB."
echo " 
[*]"
read -p " 
[*] Press enter to continue... "
echo " 
[*]" 

./adb-linux kill-server

echo " 
[*] Waiting for device..."
./adb-linux wait-for-device

echo " 
[*] Device found."
./adb-linux shell "touch /sdcard/d1l_security"

echo " 
[*] Rebooting device..."
./adb-linux reboot

echo " 
[*] Waiting for phone to reboot."
./adb-linux wait-for-device

echo " 
[*] Attemping persistence..."
./adb-linux remount
./adb-linux push su /system/bin/su
./adb-linux shell "chmod 6755 /system/bin/su"
./adb-linux shell "ln -s /system/bin/su /system/xbin/su"
./adb-linux push busybox /system/xbin/busybox
./adb-linux shell "chmod 755 /system/xbin/busybox"
./adb-linux shell "/system/xbin/busybox --install -s /system/xbin"
./adb-linux push Superuser.apk /system/app/Superuser.apk
./adb-linux shell "chmod 644 /system/app/Superuser.apk"

echo " 
[*] Cleaning up..."
./adb-linux shell "rm /sdcard/d1l_security"

echo " 
[*] Rebooting..."
./adb-linux reboot
./adb-linux wait-for-device

echo " 
[*] Exploit complete!"
echo " 
[*] Press any key to exit."
read -p " 
[*] Press enter to continue... "
./adb-linux kill-server
 
I've made a simple bash script for Linux users. Please let me know if it works for you. You'll need the adb binary for linux. (Rename it to adb-linux to match the script).

If you'd like, I can package everything up together.
Haha... You beat me to it. Awesome glad you did it. LOL

I packaged it up. Someone should check it and make sure I didn't mess up somewhere.

SpiritLinuxRoot

_____Instructions_____

1. Place download on desktop and unzip it.

2. Set usb connection to charge only.

3. Before plugging your phone to PC, make sure usb debugging is enabled then plug it to PC.

4. Open terminal and copy/paste the following commands 1 by 1 hitting enter after each.
Make sure that you change "yourname" to your PC login name.

cd /home/yourname/Desktop/SpiritLinuxRoot
./run.sh
 
How to root your LG Spirit 4G​

Ok so here is a nice little script that will root your device, youll need to follow a few simple steps :)

Ensure you have the latest drivers for the spirit
Enable usb debugging in developer options
Set usb connection to charge only
Download Here
Extract the zip
Run the batch script named run.bat (it may be just run)

All credit goes to bliss for this root, be sure to thank him and show him you appreciate his work

Like root? You can donate to bliss here:

Can't Enable usb debugging in developer options (greyed out)
 
Ok so it says the exploit was successful, yet I get the errors listed in the attachment. Any ideas? Yes my drivers are up to date and yes adb is installed. And yes I ran the batch file from the unzipped folder.
Oh and when I attempt to install an apk requiring root it tells root can not be accessed.
 

Attachments

  • Capture.PNG
    Capture.PNG
    16.9 KB · Views: 126
Ok so it says the exploit was successful, yet I get the errors listed in the attachment. Any ideas? Yes my drivers are up to date and yes adb is installed. And yes I ran the batch file from the unzipped folder.
Oh and when I attempt to install an apk requiring root it tells root can not be accessed.

I had that happen. That means it didn't root successfully. Disconnect the phone and reconnect and try again. It may take a couple shots to get it to work.
 
Ok so it says the exploit was successful, yet I get the errors listed in the attachment. Any ideas? Yes my drivers are up to date and yes adb is installed. And yes I ran the batch file from the unzipped folder.
Oh and when I attempt to install an apk requiring root it tells root can not be accessed.

I had the same issue.. what I did was drop down to command prompt and goto the directory where the files are located and do the command one by one leaving out the "adb reboot" and I got it to work.. Experience may vary :)
 
I had the same issue.. what I did was drop down to command prompt and goto the directory where the files are located and do the command one by one leaving out the "adb reboot" and I got it to work.. Experience may vary :)

Worked perfect this way. Thanks!
 
Back
Top Bottom