[RS988][RECOVERY][UNOFFICIAL] TWRP 3.2.1-0 for LG G5 RS988

Status
Not open for further replies.
Search This thread

NextDroid

Senior Member
Dec 25, 2013
296
248
home.png
backupname.png


Thank you @jcadduono for your RS988 TWRP tree!

This is an unofficial TWRP v3.2.1-0 build for the RS988 to go along with the LineageOS build that I made. This is my first build of a recovery. Use at your own risk.

Installation from Stock:

**If your bootloader isn't already unlocked, go to the LG Developer website. You'll need to create an account. You can get the necessary ADB and fastboot tools from the Android SDK Platform Tools.**

If you wish to flash a stock ROM, you MUST flash a root .zip such as SuperSU to disable dm-verity and storage encryption! If you decide to install a custom ROM, and didn't disable dm-verity on stock, you will have to COMPLETELY FORMAT your internal storage. Don't risk it.

1. Reboot into the bootloader with the command "adb reboot bootloader" and issue the command "fastboot flash recovery twrp-x.x.x-x_rs988.img", replacing "twrp.x.x.x..." with the location of the TWRP image on your drive.

2. Once it is done writing the image and says "finished," detach all power sources and remove the battery. This step is important—if you reboot into the system instead, TWRP will be overwritten by the stock recovery.

3. Reinsert the battery. Then start the phone, holding down both the Volume Down and Power button. When the LG logo appears, quickly release and re-press the Power button, continuing to hold Volume Down. This should bring you to a Factory Data Reset screen.

4. Confirm "Yes" on the two prompts (don't worry, no data will be deleted—we've overwritten the stock recovery) and you will be in TWRP.

Make sure to follow these steps as written, and make backups if necessary. You wouldn't want to risk saying "Yes" and actually wipe your data, right?

Working:
It works. If there are any problems, tell me.

Downloads:

  • v3.2.1-0-v5: MD5: 77501db1b7c551b1fd33407e0485d430
    Update: Should fix flashing issues from v4.
    Android File Host
  • v3.2.1-0-v4: MD5: 1600fbde74b2907c6f4e773e8dfd6f0d
    Update: Added updated kernel, which fixes time and date, fast charging, etc. while in recovery.
    Android File Host
  • v3.2.1-0-v3: MD5: 42714c19ccad6a29626aa81251bc984c
    Update: Added extra languages (I use Japanese, so I need it).
    Android File Host
  • v3.2.1-0-v2 (Fixed): MD5: b122eed990837936d113c9c780413c10
    ALERT:
    IF USING FIRST v3.2.1-0 BUILD, UPDATE IMMEDIATELY. ROMS WILL FAIL TO FLASH!
    Update: Re-added cache partition to fstab.
    Android File Host
  • v3.2.1-0: MD5: af7c9ebe4b78ed50f2cf45d81c3fbac9
    Android File Host Use fixed build.
  • v3.1.1-0: MD5: 07e56018305edf54e92b2db8ebf6e05a
    Android File Host

For all other information, refer to @jcadduono's TWRP Project page for the G5. I'm compiling his original work.


XDA:DevDB Information
[RS988][RECOVERY][UNOFFICIAL] TWRP 3.2.1-0 for LG G5 RS988, Tool/Utility for the LG G5

Contributors
NextDroid, shunjou, jcadduono
Source Code: https://github.com/imasaru/android_device_lge_rs988


Version Information
Status: Testing

Created 2018-02-04
Last Updated 2018-06-10
 
Last edited:

NextDroid

Senior Member
Dec 25, 2013
296
248

All right. It may just be an issue with my Lineage build then.

Also @Awkydee have the battery levels been reported accurately? I'd had this issue where it always reported 50%, and even a full reboot didn't solve it. I'm pretty sure I did a battery re-plug and it didn't help either.
 
Last edited:

de_hammer

Member
Jun 6, 2014
10
0
On the subject of the battery percentage reported, the percentage always seems to start at 50% and then change to the correct percentage after about a minute or so. I'm not sure if this just means it checks battery percentage on a long timer or if its something else.
 

TeChNoC4AzY

Senior Member
Nov 4, 2013
751
75
28
Kissimmee
I need some help here I went ahead and unlocked my bootloader and I attempted to flash TWRP via the fastboot flash recovery command everything was successful but when I reboot my phone and try to type in ADB reboot recovery it just brings me 2 a stock looking Android recovery screen. With a little bit of research I discovered that I needed to apparently power down the phone after flashing TWRP then hold the power and volume down button until the logo appears and quickly release them and hold down again while the logo is still showing to get into TWRP for the first time but when I do this the phone just proceeded to show me the security warning due to the bootloader being unlocked and then it boots normally every single time I'm very confused am I doing something wrong?
 

NextDroid

Senior Member
Dec 25, 2013
296
248
I need some help here I went ahead and unlocked my bootloader...

Yes, I agree, some instructions given on various sites are obscure. This is what you need to do:

1. Re-flash the recovery via TWRP.

If you're running stock, I believe that the recovery partition is overwritten on boot.

2. After it's done flashing (be EXTRA sure that it is), detach all power sources and remove the battery.

3. Start up the phone, holding both Volume Down and the Power button. When the LG logo appears, quickly release and re-press the Power button, continuing to hold Volume Down. This should bring you to a "stock-like" screen.

4. On the two prompts, select "Yes" on each one. You should then be taken to TWRP. Your data will not be overwritten, as TWRP should have replaced the stock recovery.

Personally, if I were to miss #3, I would reflash TWRP and then start over. I wouldn't want to risk the recovery partition being overwritten and saying "Yes" to actually wipe my data.

Make sure to corroborate with other sources to be sure that this is correct. This is coming off the top of my head.
 
Last edited:
  • Like
Reactions: nullsec and goast

NextDroid

Senior Member
Dec 25, 2013
296
248
I finally remembered to say this: instructions have been added to the main post.

Also, I have updated to TWRP v3.2.1-0! Download will soon be available in the main post as well.
 

NextDroid

Senior Member
Dec 25, 2013
296
248
It's no big deal it's easy to flash back to a previous version. 3.1.1-0 works just fine!

:eek: I like your patience haha. Luckily this time I was able to find a solution. The cache partition is now selectable in my latest build. I will upload it in a second.

UPDATE: Fixed build has been uploaded and is available in main post.

UPDATE II: @Awkydee This issue was worse than I thought.
UPDATE: MAKE SURE TO UPDATE TO FIXED v3.2.1-0 BUILD. ROMS WILL FAIL TO FLASH!
 
Last edited:
  • Like
Reactions: Awkydee

Awkydee

Senior Member
Oct 24, 2016
113
29
Largo, FL
:eek: I like your patience haha. Luckily this time I was able to find a solution. The cache partition is now selectable in my latest build. I will upload it in a second.

UPDATE: Fixed build has been uploaded and is available in main post.

UPDATE II: @Awkydee This issue was worse than I thought.
UPDATE: MAKE SURE TO UPDATE TO FIXED v3.2.1-0 BUILD. ROMS WILL FAIL TO FLASH!

Thank you for all your effort on this device!
 

Nimueh

Recognized Contributor
May 19, 2012
3,443
3,121
OnePlus 3
Samsung Galaxy Tab A series
:eek: I like your patience haha. Luckily this time I was able to find a solution. The cache partition is now selectable in my latest build. I will upload it in a second.

UPDATE: Fixed build has been uploaded and is available in main post.

UPDATE II: @Awkydee This issue was worse than I thought.
UPDATE: MAKE SURE TO UPDATE TO FIXED v3.2.1-0 BUILD. ROMS WILL FAIL TO FLASH!

Just out of curiosity: Does your version of TWRP have the correct date/time or is it like ours (H850) with a date from last year and a wrong time no matter what you do?
 

NextDroid

Senior Member
Dec 25, 2013
296
248
Just out of curiosity: Does your version of TWRP have the correct date/time or is it like ours (H850) with a date from last year and a wrong time no matter what you do?

Oh boy... That one has driven me crazy. Having all of my NANDroid backups dated to the 1st of January 2016... Yep, like the H850 problem. I'm not sure how to fix that one :/

I've read that a couple reboots solve the issue, but that doesn't seem to work in this case.
 
  • Like
Reactions: Nimueh

Nimueh

Recognized Contributor
May 19, 2012
3,443
3,121
OnePlus 3
Samsung Galaxy Tab A series
Oh boy... That one has driven me crazy. Having all of my NANDroid backups dated to the 1st of January 2016... Yep, like the H850 problem. I'm not sure how to fix that one :/

I've read that a couple reboots solve the issue, but that doesn't seem to work in this case.

I've had my H850 for almost 2 years now and can't even count how often I've rebooted it - no fix there :laugh:

Every time I update TWRP or change the splash screen the date resets to Jan. 1st 2016 ... I rename every nandroid manually but it sure is a pain in the ... well you know :angel:

I was hoping you might have a solution ... oh well, just 1 more reason to ditch the phone and get a new one when the contract runs out in 3 months :rolleyes:
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    home.png
    backupname.png


    Thank you @jcadduono for your RS988 TWRP tree!

    This is an unofficial TWRP v3.2.1-0 build for the RS988 to go along with the LineageOS build that I made. This is my first build of a recovery. Use at your own risk.

    Installation from Stock:

    **If your bootloader isn't already unlocked, go to the LG Developer website. You'll need to create an account. You can get the necessary ADB and fastboot tools from the Android SDK Platform Tools.**

    If you wish to flash a stock ROM, you MUST flash a root .zip such as SuperSU to disable dm-verity and storage encryption! If you decide to install a custom ROM, and didn't disable dm-verity on stock, you will have to COMPLETELY FORMAT your internal storage. Don't risk it.

    1. Reboot into the bootloader with the command "adb reboot bootloader" and issue the command "fastboot flash recovery twrp-x.x.x-x_rs988.img", replacing "twrp.x.x.x..." with the location of the TWRP image on your drive.

    2. Once it is done writing the image and says "finished," detach all power sources and remove the battery. This step is important—if you reboot into the system instead, TWRP will be overwritten by the stock recovery.

    3. Reinsert the battery. Then start the phone, holding down both the Volume Down and Power button. When the LG logo appears, quickly release and re-press the Power button, continuing to hold Volume Down. This should bring you to a Factory Data Reset screen.

    4. Confirm "Yes" on the two prompts (don't worry, no data will be deleted—we've overwritten the stock recovery) and you will be in TWRP.

    Make sure to follow these steps as written, and make backups if necessary. You wouldn't want to risk saying "Yes" and actually wipe your data, right?

    Working:
    It works. If there are any problems, tell me.

    Downloads:

    • v3.2.1-0-v5: MD5: 77501db1b7c551b1fd33407e0485d430
      Update: Should fix flashing issues from v4.
      Android File Host
    • v3.2.1-0-v4: MD5: 1600fbde74b2907c6f4e773e8dfd6f0d
      Update: Added updated kernel, which fixes time and date, fast charging, etc. while in recovery.
      Android File Host
    • v3.2.1-0-v3: MD5: 42714c19ccad6a29626aa81251bc984c
      Update: Added extra languages (I use Japanese, so I need it).
      Android File Host
    • v3.2.1-0-v2 (Fixed): MD5: b122eed990837936d113c9c780413c10
      ALERT:
      IF USING FIRST v3.2.1-0 BUILD, UPDATE IMMEDIATELY. ROMS WILL FAIL TO FLASH!
      Update: Re-added cache partition to fstab.
      Android File Host
    • v3.2.1-0: MD5: af7c9ebe4b78ed50f2cf45d81c3fbac9
      Android File Host Use fixed build.
    • v3.1.1-0: MD5: 07e56018305edf54e92b2db8ebf6e05a
      Android File Host

    For all other information, refer to @jcadduono's TWRP Project page for the G5. I'm compiling his original work.


    XDA:DevDB Information
    [RS988][RECOVERY][UNOFFICIAL] TWRP 3.2.1-0 for LG G5 RS988, Tool/Utility for the LG G5

    Contributors
    NextDroid, shunjou, jcadduono
    Source Code: https://github.com/imasaru/android_device_lge_rs988


    Version Information
    Status: Testing

    Created 2018-02-04
    Last Updated 2018-06-10
    7
    Two announcements!
    1. Installation instructions have been added to the main post. I have forgotten at least five times to say this, sorry ><
    2. New build of TWRP available! A download for v3.2.1-0 has been added to the main post as well.
    3
    Alrighty!

    TWRP v3.2.1-0 v4 for RS988
    - Updated kernel, which fixes time and date, fast charging, etc. while in recovery.

    Big shoutout to @shunjou for his discovery! The time problem is finally fixed!

    Link will be in the main post.

    New build here and device tree here. Only difference with that build and the source is that I disable the twrp app nag by default and append 1 as device version.

    I suggest that, since different variant users may come to this thread as a result of your build being linked here, that you preface the whole post with "FOR H850 ONLY" or something like that, lest they download the wrong image.

    You should consider building for all three variants, it could help 3x the people. :good:

    I could probably do that :) I have a question, though--is @jcadduono not maintaining his H830/50 TWRP thread anymore?
    2
    I need some help here I went ahead and unlocked my bootloader...

    Yes, I agree, some instructions given on various sites are obscure. This is what you need to do:

    1. Re-flash the recovery via TWRP.

    If you're running stock, I believe that the recovery partition is overwritten on boot.

    2. After it's done flashing (be EXTRA sure that it is), detach all power sources and remove the battery.

    3. Start up the phone, holding both Volume Down and the Power button. When the LG logo appears, quickly release and re-press the Power button, continuing to hold Volume Down. This should bring you to a "stock-like" screen.

    4. On the two prompts, select "Yes" on each one. You should then be taken to TWRP. Your data will not be overwritten, as TWRP should have replaced the stock recovery.

    Personally, if I were to miss #3, I would reflash TWRP and then start over. I wouldn't want to risk the recovery partition being overwritten and saying "Yes" to actually wipe my data.

    Make sure to corroborate with other sources to be sure that this is correct. This is coming off the top of my head.
    2
    Erm ... where did that come from, that's no official version?

    Sorry but I'm not gonna flash something where I don't know who made it or where it came from - thanks though :)

    I made it. It came from the post I just made. Realistically, flashing it isn't significantly different from flashing any other prebuilt package on xda. But building everything from source can be so tedious that we usually just take the lazy route.

    I used the changes from rashed's fork of the h830 device tree that fixed /misc wiping as well as the kernel from the latest los 14.1 nightly. On the h830, this fixed the time bug and fast charging for me. I haven't tested much else and I don't have a h850, so it's up to you if you'd like to try that image.