FORUMS
Remove All Ads from XDA

[GUIDE][LGV30]Unlocking and Rooting - TWRP/Magisk Step-by-Step

204 posts
Thanks Meter: 104
 
By Wotta, Senior Member on 5th February 2018, 12:29 AM
Post Reply Email Thread
This should take you from the LG "Unlock Bootloader" form through to a fully-functional rooted TWRP'd device. This process wasn't quite as well documented as I would like, so I decided to take a shot at it. I don't guarantee any of this; it's all at your own risk. All props should go to those who went first. I merely got lost trying to follow and so built a map.

Ideally you want an “external” microSD card for this.
This also assumes you have already filled out the LG form and received the unlock.bin file. If not, retrieve it from LG using the tricks in this thread.

You also will want the twrp-3.1.1-0-h930.img image or the US998 TWRP unofficial alpha based on it. (They're the same except for a properties file change.)


And you need the Android development tools installed. I'm assuming you've done that.

1. Back up everything. It’s all going away.
2. If running Android Studio or Helium Desktop, shut it down. Otherwise you may see adb version issues.
a. Side-note: Don’t trust Helium to let you restore your data. Look for “Helium ceases to recognize backups” at https://github.com/koush/support-wiki/wiki/Helium-Wiki - It’s simply the wrong tool for this job.

3. Before you begin, copy the following files to your External SD Card. Otherwise you’ll have to do it later or attempt an adb sideload:

a. Magisk-v15.3.zip
b. no-verity-opt-encrypt-6.0.zip
c. (Optional)LG-rctd-disabler-1.0.zip
4. Ensure you’re in developer mode. If Settings doesn’t have Developer Options, go to Settings – About Phone – Software Info, click Build number 7 times.

5. As per the LG page, http://developer.lge.com/resource/mobile/RetrieveBootloader.dev , ensure Developer Options “OEM Unlock” and “USB Debugging” are enabled.

6. Connect to USB and switch to Photo Transfer Mode. (If you’re a normal user, you probably default to USB. You need Photo.)

7. On your PC, copy the unlock.bin file LG emailed you into your Android development tools directory (in my screenshots, sdk\platform-tools), and run:
adb devices
to ensure the device (and only the device) is listed. If it’s not listed, verify that Photo Transfer mode.

ADB and Fastboot commands

8. Reboot phone into Fastboot mode
adb reboot bootloader
You should hear the Windows sounds of USB devices going and coming. And the phone has an odd screen.

9. From the same directory (Android tools),
fastboot flash unlock unlock.bin
This takes only a few seconds to run.

10. Reboot with:
fastboot reboot
You will get entirely different start-up screens than normal. Including a warning that your device cannot be checked for corruption. (and a reference to http://g.co/ABH)

Your phone has now been hard reset.

11. Go through the initial phone setup options, to get to Android. Switch USB to Photo Transfer again.

12. You can verify that it’s unlocked either from the Developer Options – OEM Unlock is no longer available because it’s already unlocked, or by:
Verifying Unlocked

Installing TWRP:
1. Switch back to developer mode, USB debugging. (OEM Unlock is now not selectable, because it's on permanently.)
2. Switch USB to Photo again; default is charging.
3. As before, on your PC from the Android tools directory,
adb reboot bootloader
4. Fastboot flash recovery twrp-3.1.1-0-h930.img
Flashing TWRP
5. This part is tricky… read the whole thing before starting.
a. Turn OFF the phone, using the volume key to change from Restart at the top to “Power off”.
b. Disconnect the USB cable
c. Holding both the Volume-Down and Power button, turn phone on.
d. As soon as the LG logo appears, continue pressing “Down” but release and re-press Power. Continue holding both until a menu appears.
e. Select to erase all data. You will be asked this several times; keep saying “Yes”.
f. Eventually you will boot into TWRP.
6. Back up the system. This isn’t essential, but you’d be silly not to.
a. In TWRP, set system writable
b. Select “back up”. Note there’s no data, because that partition is encrypted.
c. Select the SD card (or USB; I use a micro SD card.)
d. Back it up. This will take around seven minutes.
7. Turn off data encryption and install stuff… all in TWRP:
a. Wipe Data – Factory Reset
b. Wipe Data – Format Partition
c. Install – set storage to the External SD
d. Install the Magisk zip
e. Install the no-verity-opt-encrypt-6.0.zip
f. Install the LG-rctd-disabler-1.0.zip; this reduces LG root checks, which may impede performance.
g. Reboot – to System
If booting fails with an encryption error, did you format (b above) the partition? If not, reinstall TWRP (except you don't need to backup again) and do both the wipe and format.

You will now have to set up the phone again, but should have root (via Magisk.)
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	10218
Size:	99.3 KB
ID:	4409870   Click image for larger version

Name:	2.png
Views:	17280
Size:	12.1 KB
ID:	4409871   Click image for larger version

Name:	3.png
Views:	17856
Size:	23.2 KB
ID:	4409872  
The Following 41 Users Say Thank You to Wotta For This Useful Post: [ View ] Gift Wotta Ad-Free
 
 
5th February 2018, 12:37 AM |#2  
ChazzMatt's Avatar
Recognized Contributor
Flag Atlanta, Georgia
Thanks Meter: 11,818
 
Donate to Me
More
EDIT: This has been added to the steps above.

_______

Good write up, but please add the "don't check root" file. It would go into the section where you flash the no verity file.

LG-rctd-disabler-1.0.zip
https://build.nethunter.com/android-...rctd-disabler/


Quote:

Recently, we discovered a system module on many LG devices which scans for root access. Called*RCTD, the tool is activated whenever an LG phone running stock-based software has been rooted. This has led to device slowdowns (as the process never shuts down) and also has left some users feeling uneasy about it as well.

we can now disable this check with a simple application

A lot of people are already using it when flashing TWRP with the phone.

_____
ANOTHER EDIT:

After installing TWRP, it's a good idea to download TWRP Manager from the Play Store.

From that app, you can easily reboot into TWRP without doing the power/volume button dance. In the app's settings, change app start up screen to be reboot options. That way, every time you open the app, that's the immediate option you can choose.


Sent from my official carrier unlocked LG V30+ US998
The Following 4 Users Say Thank You to ChazzMatt For This Useful Post: [ View ] Gift ChazzMatt Ad-Free
5th February 2018, 01:52 AM |#3  
jcsww's Avatar
Senior Member
Toronto, Ontario, Canada/Hampton, Virginia, USA
Thanks Meter: 1,021
 
More
Now that the US998 is unlocked and rooted. Has anyone tried to get that secret T-Mobile menu working to see if band 71 can be enabled?
5th February 2018, 03:47 AM |#4  
OP Senior Member
Thanks Meter: 104
 
More
Quote:
Originally Posted by ChazzMatt

Good write up, but please add the "don't check root" file. It would go into the section where you flash the no verity file.

I wasn't even aware of it! Good reason for the write-up.
5th February 2018, 08:05 AM |#5  
Junior Member
Thanks Meter: 1
 
More
US998?
Is this safe for US998? Just asking since the TWRP file says it is for H930.
5th February 2018, 08:55 AM |#6  
Dizzyrul3z's Avatar
Senior Member
Flag Oberschlesien
Thanks Meter: 281
 
More
One question. Works on every firmware or only on 10f?
The Following User Says Thank You to Dizzyrul3z For This Useful Post: [ View ] Gift Dizzyrul3z Ad-Free
5th February 2018, 10:43 AM |#7  
ChazzMatt's Avatar
Recognized Contributor
Flag Atlanta, Georgia
Thanks Meter: 11,818
 
Donate to Me
More
Quote:
Originally Posted by crothlisberger

Is this safe for US998? Just asking since the TWRP file says it is for H930.

Yes. We're trying to get the V30 TWRP developer @jcadduonoto change the TWRP name and the description, but he's ignoring us right now. It's compatible with US998. Been proven many times.

If the TWRP developer would edit the thread title, op, and even the file properties it would eliminate a lot of confusion. For instance, doesn't need show H930 when plugged into your PC in TWRP mode. I don't have an H930, I have US998. It could easily say "V30" or "JOAN" (the LG code name for this device).

It's just the H930/H930G was placed on LG Developer Bootloader Unlock list back in December. We're playing catch up to them.

Sent from my official carrier unlocked LG V30+ US998
5th February 2018, 10:45 AM |#8  
Recognized Developer
Flag Leibnitz
Thanks Meter: 1,707
 
Donate to Me
More
Quote:
Originally Posted by Dizzyrul3z

One question. Works on every firmware or only on 10f?

Some have problems with any other firmware than 10f on the H930, personally i dont have problems with 10f or 10v, didnt try 11m yet.
5th February 2018, 10:46 AM |#9  
ChazzMatt's Avatar
Recognized Contributor
Flag Atlanta, Georgia
Thanks Meter: 11,818
 
Donate to Me
More
Quote:
Originally Posted by Dizzyrul3z

One question. Works on every firmware or only on 10f?

What's 10f? I have 10c.

This is my rooted US998 with TWRP.







Sent from my official carrier unlocked LG V30+ US998
The Following User Says Thank You to ChazzMatt For This Useful Post: [ View ] Gift ChazzMatt Ad-Free
5th February 2018, 04:56 PM |#10  
Junior Member
Flag Rochester, MN
Thanks Meter: 1
 
More
Thanks
Thanks for gathering all this together. Was able to follow the steps last night and am up and running rooted now.
The Following User Says Thank You to jake2447 For This Useful Post: [ View ] Gift jake2447 Ad-Free
5th February 2018, 05:29 PM |#11  
vinniej's Avatar
Senior Member
Flag Colorado
Thanks Meter: 110
 
More
Additional information - As the guide states, it uses Magisk however SuperSU also works fine for root.
Thanks @Wotta for the write-up.

Disclaimer : And yes...Understand with different root comes advantages / disadvantages.
The Following User Says Thank You to vinniej For This Useful Post: [ View ] Gift vinniej Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes