FORUMS
Remove All Ads from XDA
H10 Turbo

[RECOVERY][c70n][OFFICIAL] TWRP for LG Spirit H440N

984 posts
Thanks Meter: 383
 
By Fobos531, Forum Moderator on 27th February 2017, 06:57 PM
Post Reply Email Thread
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.



Download & Installation (assuming, you've unlocked the bootloader following Korelev's instructions)
1) Download and open the Official TWRP App from the Play Store
2) Select TWRP flash
3) "Select device" > "LG Spirit LTE (H440N) -- c70n" > select the latest image available
4) When the image is downloaded, return to the app and "select a file to flash". Select the downloaded image and tap "Flash to recovery"
5) Reboot to recovery

You're in TWRP!

NOTE
: To boot into recovery with hardware buttons use this method. Power off the device > press and hold Power + Volume Down buttons simultaneously > keep pressing them until the LG logo shows up > when the LG logo shows up, let go of the buttons for 1 second and then press them again. A factory reset menu will show up. Select "Yes" two times to "wipe" your device. Don't worry, this will actually NOT wipe your device. It will boot into recovery normally. This is because LG phones are a bit different and they instruct the recovery (TWRP in this case) to automatically perform a factory reset of the phone by triggering the /misc wipe flag. I mapped /misc partition to a different partition (/pad) so TWRP doesn't perform a factory reset.

BUGS:
battery indicator (sometimes)


Some features were untested, but the most important ones seem to work just fine. As I'm pretty unexperienced with this, help from other devs would be greatly appreciated. If you come up with an improved version of my build, let me know and I'll edit the OP ASAP.

XDA: DevDB Information
[RECOVERY]Official TWRP for LG Spirit H440N, Device Specific App for the LG Spirit H440N


Contributors
Fobos531

Device tree: https://github.com/TeamWin/android_device_lge_c70n

Version Information
Status: Stable


Thanks to:
@midzan21
@Korelev
@pvineeth97
@cerg2010cerg2010

If I've left anyone out, please let me know. I'm new to this too

Created 2017-02-27
Last Updated 2017-03-24
The Following 7 Users Say Thank You to Fobos531 For This Useful Post: [ View ] Gift Fobos531 Ad-Free
 
 
27th February 2017, 07:09 PM |#2  
Fobos531's Avatar
OP Forum Moderator
Flag /home/
Thanks Meter: 383
 
Donate to Me
More
CHANGELOG

#1 2017-02-27 - first build
#2 2017-02-27 - screen timeout bug fixed
#3 2017-03-02 - fixed booting into recovery with hardware buttons, you can now do that normally
#4 2017-03-11 - TWRP 3.1.0 released, check the changelog here
The Following User Says Thank You to Fobos531 For This Useful Post: [ View ] Gift Fobos531 Ad-Free
27th February 2017, 07:56 PM |#3  
Member
Thanks Meter: 10
 
More
It's already starting!!! Actual development for our old but still good Spirit! :,-)
27th February 2017, 07:56 PM |#4  
Senior Member
Flag ·
Thanks Meter: 74
 
More
Is this the desire twrp? I think you should post it at kernerls recoveries and development subforum instead of the guides one. Good work!
27th February 2017, 07:58 PM |#5  
Fobos531's Avatar
OP Forum Moderator
Flag /home/
Thanks Meter: 383
 
Donate to Me
More
Quote:
Originally Posted by Korelev

Is this the desire twrp? I think you should post it at kernerls recoveries and development subforum instead of the guides one. Good work!

the base is from Moto G 3rd gen.

Yeah, my bad. I'll leave it here for now.
27th February 2017, 08:13 PM |#6  
Fobos531's Avatar
OP Forum Moderator
Flag /home/
Thanks Meter: 383
 
Donate to Me
More
fixed screen timeout bug, redownload the recovery from OP
The Following User Says Thank You to Fobos531 For This Useful Post: [ View ] Gift Fobos531 Ad-Free
27th February 2017, 08:33 PM |#7  
Senior Member
Flag ·
Thanks Meter: 74
 
More
I'll give it a try tonight
The Following User Says Thank You to Korelev For This Useful Post: [ View ] Gift Korelev Ad-Free
28th February 2017, 02:23 PM |#8  
Fobos531's Avatar
OP Forum Moderator
Flag /home/
Thanks Meter: 383
 
Donate to Me
More
Make sure you flashed the c70n_recovery3.img(I forgot to update the link till today) recovery image since that's latest one with all fixes so far.
2nd March 2017, 06:14 AM |#9  
Fobos531's Avatar
OP Forum Moderator
Flag /home/
Thanks Meter: 383
 
Donate to Me
More
New build up, download: https://drive.google.com/open?id=0B4...llaM2EyY3hVMk0

Check post #2 for changelog
The Following 2 Users Say Thank You to Fobos531 For This Useful Post: [ View ] Gift Fobos531 Ad-Free
2nd March 2017, 02:48 PM |#10  
Fobos531's Avatar
OP Forum Moderator
Flag /home/
Thanks Meter: 383
 
Donate to Me
More
Another build up, download from the OP.

The difference between this build and the one in post #9 is that in post #9 I used a dirty hack that told TWRP to ignore the /misc wipe flag when booting into TWRP with hardware buttons on LG phones. In the newest build I removed that hack and instead the mapped the /misc partition to a different partition (/pad) so the factory reset doesn't occur. The reason this was needed is because, with the previous build, if we had LineageOS and tried to do a factory reset in the system, it wouldn't work because of the hack I used. Now the factory reset will work when performing a factory reset on (future) custom ROMs.
6th March 2017, 12:17 AM |#11  
Alanon's Avatar
Senior Member
Flag Belgrade
Thanks Meter: 75
 
More
@Fobos531: Hi, just wanted to tell you that the latest TWRP didn't seem do what the OP says. If I understood correctly, the intended behaviour on stock roms should have been to ignore the factory reset commands and just boot up TWRP for normal use.

When I selected yes for the second time, to confirm a factory reset, TWRP booted executing some kind of a script (forgot the exact name), and never gave me a chance to stop it. After that it rebooted. It technically performed a factory reset, only using TWRP to do it.

Did I misunderstand something in your explanation? I'm running stock MM, installed using Korelev's zip.
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