FORUMS
Remove All Ads from XDA

[recovery][lm-g710em]twrp 3.2.1[persistent]

1,475 posts
Thanks Meter: 2,064
 
Post Reply Email Thread

[UNOFFICIAL] TWRP 3.2.1 for LM-G710EM ONLY






NOTE
There are 2 versions for this recovery, SEMI-PERSISTENT & PERSISTENT.

1. Semi-Persistent Recovery
[Works on stock rom and custom rom] Not permanent, requires command in order to boot and needs to reflash it every time you need it and then reflash stock boot.img after using it in order to avoid bootloop.
2. Persistent Recovery
[Works only on custom rom] Permanent, you can boot on it anytime without a command and doesn't need to reflash it and stock boot.img.

Flashing TWRP Recovery

Downloads:
[SEMI-PERSISTENT] TWRP 3.2.1
[PERSISTENT] TWRP 3.2.1


1. You need to be rooted first. Root Guide: Magisk
2. Flash TWRP image (Download link above) using the following command:
Code:
fastboot flash boot_a pathtoimghere
and
Code:
fastboot flash boot_b pathtoimghere
Note: In this state, you will encounter bootloop when you restart your device and proceed to OS. So please, don't.
3. Boot to recovery using the button combination (VOLUME DOWN + POWER BUTTON).
4. Once you are booted in TWRP, you might notice that /date doesn't work. To fix it, you need to decrypt your phone.
For now, flash the vendor.img found here.
5. After step #4, Hit Wipe and Format Date on TWRP, type yes in the dialog, and then reboot to recovery (not system). TWRP will now be useful.
6. If you are on 10f or 10h stock rom download this TWRP then mount vendor and system, flash the zip through TWRP to enable semi-persistant.


SUPPORT

If you need any help for this or in general or if you just want to have a chit chat, feel free to join our Telegram Group:
LG G7 ThinQ XDA Community Telegram Group

Others:
Official LG G7 Subreddit
LG Community Discord

CREDITS

Me (for the initial G7 TWRP device tree)
Rashed97 (for his great help to make me understand how recovery works on a/b devices)
Skullpluggery (for polishing the thread)
I hope i didn't forgot anyone , if i did im sry , hit me up and i will add you here.
The Following 17 Users Say Thank You to J0SH1X For This Useful Post: [ View ] Gift J0SH1X Ad-Free
 
 
26th June 2018, 11:16 PM |#2  
OP Senior Member
Flag Aachen
Thanks Meter: 2,064
 
Donate to Me
More
Why is this TWRP semi persistent

So The g7 is a a/b device meaning it has 2 system paritions etc , but it doesnt have a recovery parition anymore so recovery is now a binary inside of boot.img which gets executed when hitting the button combo , but to have to you need to flash the boot.img containing it , and thats the point the boot.img containig twrp isnt compatible neither to aosp nor to stock meaning your phone would probably stuck in a bootloop or a reboot loop , so only thing we can do for now is flashing back our boot.img after were done with twrp, im working on it and i was able to smack twrp into the stock boot.img but it doesnt work correctly anymore then , I've finished my work on a variant that works without a pc needed
The Following 6 Users Say Thank You to J0SH1X For This Useful Post: [ View ] Gift J0SH1X Ad-Free
26th June 2018, 11:16 PM |#3  
OP Senior Member
Flag Aachen
Thanks Meter: 2,064
 
Donate to Me
More
Persistance reached us , YAY

This is ONLY for AOSP OREO AND PIE flash this bootimage using fastboot flash boot_a pathtoimg or fastboot flash boot_b pathtoimg


Then TWRP will be always present no annoying flashes anymore
The Following 6 Users Say Thank You to J0SH1X For This Useful Post: [ View ] Gift J0SH1X Ad-Free
2nd July 2018, 10:42 AM |#4  
Senior Member
Thanks Meter: 24
 
More
Can I flash normal zip files with recovery? because not everything is supposed to go.
2nd July 2018, 06:14 PM |#5  
OP Senior Member
Flag Aachen
Thanks Meter: 2,064
 
Donate to Me
More
Quote:
Originally Posted by Sony92

Can I flash normal zip files with recovery? because not everything is supposed to go.

yes you can do everything once your decrypted , this twrp just wont stick
4th July 2018, 03:30 PM |#6  
Senior Member
Thanks Meter: 24
 
More
can someone please tell me if i have the buttons before warning that the bootloader is unlocked or after the warning? it's about booting to recovery after flashing the recovery.img. Unfortunately, I did not manage it yesterday.

should you flash at step 4 the file on the recovery, or via adb sideload?
6th July 2018, 02:07 PM |#7  
strikerdj2011's Avatar
Senior Member
Flag Some where
Thanks Meter: 297
 
Donate to Me
More
hello mate long time no chat lol thinking of getting the g7 got one plus 6 at min will the fix for the one plus that makes the recovery stick work on this ?
7th July 2018, 07:52 AM |#8  
Senior Member
Thanks Meter: 24
 
More
will the error be corrected over time? because after the first reboot into the system the recovery disappeared again. I would like to boot again into recovery after being in the system, it no longer exists. I followed everything according to instructions
9th July 2018, 08:03 PM |#9  
OP Senior Member
Flag Aachen
Thanks Meter: 2,064
 
Donate to Me
More
Quote:
Originally Posted by strikerdj2011

hello mate long time no chat lol thinking of getting the g7 got one plus 6 at min will the fix for the one plus that makes the recovery stick work on this ?

damn youre still alive good to talk again , no that is only for the op6 , but this is my first work for a/b but meanwhile i got a main idea what to do , all i need rn is a linux machine
9th July 2018, 08:04 PM |#10  
OP Senior Member
Flag Aachen
Thanks Meter: 2,064
 
Donate to Me
More
Quote:
Originally Posted by Sony92

will the error be corrected over time? because after the first reboot into the system the recovery disappeared again. I would like to boot again into recovery after being in the system, it no longer exists. I followed everything according to instructions

thats what non persisrant mean youi always have to flash the recovery boot.img first
9th July 2018, 08:05 PM |#11  
litaninja's Avatar
Junior Member
Thanks Meter: 3
 
More
Great to know development is picking up on this device. Waiting for supplies to hit the rest of the world so I can get an European variant. ** Thumbs Up **
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