Showing posts with label g3. Show all posts
Showing posts with label g3. Show all posts

Monday, November 7, 2016

How to disable OTA upgrades LG G3 TMO D851 Guide

How to disable OTA upgrades LG G3 TMO D851 Guide


Hit the "show content" button below for a FAQ, info on how to disable OTAs, backing up EFS, restoring your phone to stock, resetting the root flag and more...
Q: Im running the Windows .bat as administrator and its closing/not working.
A: There is no need to run the .bat as admin. Just double-click and run.

Q: I get the "Windows cannot find .assetswindows inmintty.exe." error.. watdo?
A: Try just double-clicking on the .bat instead of running as admin.
Also make sure the script is extracted properly first before running.

Q: I [used Flashify and] am stuck in fastboot.. how can I get out?
A: Be cautious using Flashify as it seems its not working right.. or people are hitting the wrong buttons with it.

HERE are the stock TMO D851 partitions.

Use fastboot to flash recovery(TWRP or stock) and stock boot. This will install TWRP and fix booting into rom.
If on Windows you will need fastboot drivers. Use Google to find fastboot binaries and drivers.


Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
The commands to flash TWRP manually instead of using flashify is below.
Place TWRP on the root of your internal /sdcard/ using MTP, downloading it directly to phone or using ADB push.

Code:
adb push name_of_file.img /sdcard/

adb shell
su
dd if=/sdcard/name_of_file.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
Disable OTA:
 Open LG Hidden Menu (3845#*851#) --> WLAN Test --> OTA Setting --> OFF

(This worked on LG G2.. hopefully work on G3 but wont be confirmed until OTA comes out)

Look, instead of rushing to take an OTA to get the latest software.. think for a moment.
We do no know if the TMO D851 boot loader will stay unlocked in future updates. OTAs can update not only software..
but the boot stack as well.. enabling features to block downgrades.. close exploits.. and all sorts of fun stuff.

so.. instead of taking an OTA.. wait for the files to get posted so we can look at things first.. possibly only updating /system, /boot, modem (maybe tz/rpm)
without updating the rest of the boot stack. ya... do that.

EFS Backup:
Backup EFS after jailbreaking your G3. EFS is split into 2 partitions modemst1 and modemst2. 
img files will be on root of internal sdcard. Save the .img files somewhere else besides the sdcard... email, cloud, etc..


DO NOT FLASH OTHER PEOPLES EFS OR FLASH YOUR OWN BACKUPS ONTO ANOTHER PHONE.
THIS WILL BREAK EFS ON THE PHONE YOU ARE FLASHING TO. EFS BACKUPS ARE FOR THE PHONE THEY CAME FROM ONLY.

HERE is an EFS backup .zip that can be flashed in TWRP.
the zip creates a new flashable zip in /sdcard/efs_backup
you can flash this new flashable zip in TWRP any time you need to restore your EFS.

Or you can do it manually...

Backup:
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

Restore:
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

Restoring Stock / Remove root flag:
Download the tmo .tot file and use lg flash to restore it to stock. itll format everything on internal sdcard so backup anything u may need off it.

T-Mobile firmware can be found here. Thanks to @wolfgart for the files and @thecubed for codefire hosting.

*Step by step picture guide - http://imgur.com/W83hMPE

install the drivers.
put phone into Download Mode (power off. unplug USB. pull battery. put battery back in. press/hold Volume Up then plug in USB cable.)
In Windows Device Manager set the phones serial COM port to #41. (*see picture guide for help)
Install LG Flash. In "C:LGLG Flash" folder delete megalock dll. Replace with .dll below.
new megalock dll - http://bit.ly/1cQADXm (this site includes a "download manager.. UNCHECK THE BOX before downloading dll file.)
Run LG Flash in the "C:LGLG Flash" folder. Select korean factory if asked.
When LG Flash opens you will see a box to select firmware and dll.
Select LG Flash .dll
Select (.tot)
Hit OK (*see picture guide for help)
Hit yellow start button. If you get Milkyway error click ok. LG Flash will then run a crc check on the tot file. Takes a bit.
After crc check finishes unplug the phone. plug phone back in. it should now be seen in LG Flash and start flashing.
Phone will reboot when finished. You may end up on a screen with s "2"... let it sit there for a minute or two.
If stuck on "2" try unplugging the usb cable from the phone.. wait 10 seconds.. then plug the usb cable back in. now wait 30 seconds and hopefully it changes to a "3"
Once the phone says "3" you can unplug the USB.. remove the battery and plug back in.. boot back up... you are now 100% stock.
PurpleDrake YouTube Videos:How To Root LG G3
Original Source Xda-developers

Go to link download

Read more »

Wednesday, September 7, 2016

How To Root LG G3 Official Firmware 4 4 2 Jailbreak D850 D855 F400 VS985 Guide

How To Root LG G3 Official Firmware 4 4 2 Jailbreak D850 D855 F400 VS985 Guide


 How To Root LG G3 Official Firmware 4.4.2 Using Jailbreak [D850|D855|F400|VS985] Guide
ioroot latest update jun172014
ioroot is an untethered jailbreak for LG android phones and tablets.
Gain full administrator access to your device to run cool themes and neat apps that require root.

G3 models supported by IOroot jailbreak:

D850 - 4.4.2 10D
D851 - Nope. Check out Purp13Dr4k3 HERE
D855 - 4.4.2 10A/B/C/D (for E and higher try Purp13Dr4k3)
F400K/L/S - 4.4.2 10A/10B (possibly blocked in newer updates?)
LS990 - 4.4.2 ZV2 (not working with ZV4)
VS985 - 4.4.2 10B


LG Optimus G - All
LG G2:
D800 (ATT) - All
D801 (TMO) - All 4.2.2 // No 4.4.2 support, (CLR/VTR) - All 4.2.2 // 4.4.2 ??), (WND) - All
D802/T - All
D803 - All
D805 - All
D806 - All
F320K - Shipping 4.2.2 ROM/20a/20f // 4.4.2 ??
F320L - Shipping 4.2.2 ROM/20b/20e // 4.4.2 ??
F320S - Shipping 4.2.2 ROM/20a/20g // 4.4.2 ??
LS980 (SPR) - All
VS980 (VZW) - All

LG G3
D850 - 4.4.2 10D
D855 - 4.4.2 10A/10B/10C
F400K - 4.4.2 10B
F400L - 4.4.2 10A
F400S - 4.4.2 10B
LS990 - 4.4.2 ZV2
VS985 - 4.4.2 10B

LG G Flex:
F340 series - All 4.2.2 // 4.4.2 ??
D950 (ATT) - All 4.2.2 // No 4.4.2 support
D955 series - All 4.2.2
D958 series - All 4.2.2 // No 4.4.2 support
D959 (TMO) - All 4.2.2 // No 4.4.2 support
LS995 (SPR) - All

LG G Pro - All 4.4.2
LG G Pro 2:
F350 series - Shipping ROM // 4.4.2 ??
D838 - Shipping ROM // 4.4.2 ??

LG G Pad 8.3 - All

Download:

http://downloads.codefi.re/autoprime...oot/ioroot.zip

Windows Drivers:
Verizon Drivers - HERE
Drivers for everyone else - HERE

For ADB...
Verizon users: Switch USB mode to Internet > Ethernet
Everyone else try switching to PTP

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 @jarari2 for the stock recovery idea.
v24: added support for G2 D800 10q, G Flex D956 and G Pro 2 F350K/L/S(thx to @hkfriends 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 linux support and Sprint LS980 root(both thanks to @Shelnutt2)

How-to:
Easy as 1-2-3!

1 Run ioroot.bat, ioroot.sh, ioroot.tool or open command prompt/terminal, cd into /ioroot/bts/ and type;

adb reboot recovery
  
If you DO NOT have this menu in stock recovery IOroot will not work for you!
2 Select "Apply update from ADB" w/power button. Sideload mode is now enabled.

3 Continue with the script or manually sideload;

adb sideload datroot.zip
DAT ROOT means JAILBREAK!
 

Download and extract the latest ioroot.zip... datroot.zip is inside /ioroot/bts/
ioroot also jailbreaks other LG devices. Supported devices are found in the device list in this thread.
Enable "USB Debugging" on phone. Accept RSA certificate to allow ADB access. Not accepting RSA will cause ADB device to show as "offline"
Verizon users must also enable "Ethernet" for USB mode.

Windows:
Install drivers.
Double-click on ioroot.bat

Linux:
Open terminal and cd into ioroot folder
chmod +x ioroot.sh
./ioroot.sh

Mac:
Double-click the ioroot.tool file to launch script.
May need to chmod +x ioroot.tool file first.


FAQ
Q: Will this jailbreak other LG devices?
A: It will jailbreak any LG device which can be booted into stock recovery with menu. Confirmed devices are found in the device list in this thread.

Q: Why do I see an android with a red x or just reboot when I try to get into recovery?
A: Your device has a lame recovery and may have issues jailbreaking w/current IOroot 4.4.2. Use a cooler device or send me a LG G3 so I can work on a real phone.

Q: Will this root non-LG devices?
A: Probably not.

Q: The script doesnt work for me, can you help?
A: No, use terminal to manually enter the commands or ask for help in the thread.

Q: I cant get adb devices to see me phone, can you help?
A: learn2android

Q: Know any hip places to hang out and talk with other nice people about the LG G3?
A: Check us out on IRC: #lg-g3 on Freenode

Q: Which LG G3 do you have?
A: I dont have one yet... you should send me one. 

EFS Backup:
Backup EFS after jailbreaking your G3. 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..).

Backup:
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

Restore:
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


About IOroot

IOroot was originally a Windows script to root the LG G2 on 4.2.2 made by IOMonster.
It was based on the original adb backdoor found by GiantPune and later posted by jcase.
The script has grown to 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 and G Pad just to name a few.
4.4.2 recovery root (kk_root.zip) by autoprime. IOroot 12 + by autoprime.
   

Go to link download

Read more »