Mounting system RW and pushing SU, then remounting system RO again
mount: Permission denied
failed to copy 'su' to '/system/xbin/su': Read-only file system
chown: /system/xbin/su: No such file or directory
Unable to open /system/xbin/su: No such file or directory
mount: Permission denied
Installing superuser
2472 KB/s (1468798 bytes in 0.580s)
pkg: /data/local/tmp/superuser.apk
Success
What phone?i see it uses download mode but in this phone recovery it only shows an option to factory reset and nothing more
can you confirm if it will/not work on this phone?
Its an lg g2 d801 tmobileWhat phone?
Typically you don't get to download mode the same way you get to recovery.
Try starting with power off. Hold vol - and plug in USB cable from PC.
[URL="http://downloads.codefi.re/autoprime/LG/ioroot/ioroot.zip"]http://downloads.codefi.re/autoprime/LG/ioroot/ioroot.zip[/URL]
[SIZE="2"][FONT="Arial Narrow"][B]jun172014: cleaned everything up.
v25r1: Script fixes: Proper D802T support, LGOG EFS backup typo, better 4.4.2 detection.
v25: added root for most 4.4.2 devices. Thx to [user=4454918]@jarari2[/user] for the stock recovery idea.
v24: added support for G2 D800 10q, G Flex D956 and G Pro 2 F350K/L/S(thx to [user=581992]@hkfriends[/user] for confirming ioroot method still works)
v23: added support for AT&T G Flex D950 10c.
v22: added support for TMO D959 G Flex. Tweaked scripts EFS backup.
v21: added support for Sprint LS980ZVA update. Added EFS backup support.
v20: added support for all D802/D805/D806. Updated all scripts. Added LG Optimus G and LG G Flex support. SuperSu now installs to /system.
v19: added support for MORE F320 4.4 firmware. Added Singtel D802 support. Linux/Mac script fixes.
v18: added support for MORE F320 4.4 firmware. Added Vodafone(VDF) carrier. Tweaked scripts.
v17: added F320* 4.4 KitKat root. Added SuperSu.4.4 users must reboot after running root script(mac/linux)
v16: added TMO 10g root and "SCA" root(D802/D805)
v15: added ATT 10o root.
v12: added Verizon 12B root.
v11: added [URL="http://xdaforums.com/showpost.php?p=47317792&postcount=497"]linux support and Sprint LS980 root[/URL](both thanks to [user=2413393]@Shelnutt2[/user])[/B][/FONT][/SIZE]
adb reboot recovery
adb sideload datroot.zip
[FONT="Arial Narrow"][B]Backup EFS after jailbreaking your G2. EFS is split into 2 partitions modemst1 and modemst2.
Save the .img files somewhere in case you need them in the future(email, cloud, etc..).[/B]
[B]Backup:[/B]
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst1 of=/sdcard/modemst1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst2 of=/sdcard/modemst2.img
[B]Restore:[/B]
adb shell
su
dd if=/sdcard/modemst1.img of=/dev/block/platform/msm_sdcc.1/by-name/modemst1
dd if=/sdcard/modemst2.img of=/dev/block/platform/msm_sdcc.1/by-name/modemst2[/FONT]
[B][FONT="Arial Narrow"][B][SIZE="4"]About ioroot[/SIZE][/B]
ioroot was originally a Windows script to root the LG G2 on 4.2.2 [URL="http://xdaforums.com/showthread.php?t=2448887"]made by IOMonster[/URL].
It was based on the original adb backdoor found by GiantPune and later [URL="http://xdaforums.com/showthread.php?t=2169117"]posted by jcase[/URL].
The script has grown to run on Windows, Linux and OSX and support various other LG devices on Android 4.0 - 4.4.2...
Supported devices include LG Optimus G, G2, G3, G Pro, G Pro 2, G Flex, G Pad, L70, L80, L90, G2 mini and more.
4.4.2 recovery root [URL="http://xdaforums.com/showthread.php?p=51507049#post51507049"](datroot.zip)[/URL] by autoprime. [URL="http://xdaforums.com/showthread.php?p=48709232"]IOroot 12+[/URL] by autoprime.[/FONT][/B]
[url]http://downloads.codefi.re/thecubed/lg_g2/root/ioroot10.zip[/url]
[SIZE="1"]Download and extract the latest IOroot.zip
Enable USB Debugging. VZW users must also enable ethernet mode.
Open terminal/command prompt. windows/linux users: cd into /ioroot folder. mac users cd into /ioroot/mac
(windows users can hold shift key, right click in ioroot folder. Select "open command window" option.
copy/paste commands below.. hitting enter/return after each line. [/SIZE]
[B][I]adb devices
adb reboot recovery
[SIZE="2"](when booted in recovery, select: 'apply update from adb' with power button)[/SIZE]
adb sideload kk_root.zip[/I][/B]
reboot when zip finishes flashing. done.
Howdy everyone!
Here's another neat root!
This is confirmed to work for the ATT and Verizon variants, I'll add support for T-Mobile as soon as I get someone in #lg-g2 in Freenode who owns one.
Simple:
- Ensure you have ADB drivers installed and USB Debugging enabled
- Extract this .zip file somewhere
- Run the root.bat file, and read the instructions
During the installation, you'll have to disable USB Debugging and re-enable it, then the app will ask you if you care about rootcheckerd (rctd).
If you don't want your phone to show "rooted" in download mode, or in settings, hit CTRL-C when prompted and you'll just have a root shell through ADB.
Personally, this is enough for me, but if you want full root, press continue and it'll install superuser and a superuser binary for you.
PLEASE do not mirror this! It makes my life easy if I can just edit the file on my server if need be instead of contacting all the mirrors.
Can you explain the difference between root shell (leaving it to say unrooted) and "full" root? Will this affect once we get a way to unlock the bootloader or get a recovery for roms? And is there a way to unroot? Thanks for this!!