FORUMS

[TWRP]LG V40 / Judypn

1,060 posts
Thanks Meter: 2,051
 
By SGCMarkus, Recognized Developer on 20th September 2019, 03:42 PM
Post Reply Email Thread
Code:
#include "std_disclaimer.h"
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this Recovery
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */


Requirements
  1. Unlocked bootloader
  2. working ADB/fastboot on a PC
  3. the TWRP image downloaded
  4. Pie firmware on the active slot

Installation guide:
  1. Copy the twrp image to your phones storage and/or micro sdcard
  2. Start cmd/powershell/terminal with working adb/fastboot
  3. Reboot to bootloader
    1. adb reboot bootloader OR
    2. turn off the phone (or reboot), as soon as it turns on, hold volume down while USB cable is connected
      • If youre unofficially bootloader unlocked, and you nuked laf, its volume up and USB for you
  4. fastboot boot TWRP-judypn-boot.img
  5. Confirm allow system modifications if asked
  6. Press cancel if asked for a password (aka when youre encrypted, could also be that it doesnt show you /data at all and no password screen)
  7. Go to Advanced -> Install Recovery Ramdisk
  8. Select the TWRP image which you copied to your phone/sdcard earlier
  9. TWRP will now be installed to both slots (boot_a and boot_b)
  10. Go to Reboot -> Recovery to make sure TWRP is successfully installed

Features:
  1. Install recovery ramdisk:
    Selecting this, and then an image (e.g. of TWRP) allows you to install the ramdisk (where TWRP resides for example) into both currently installed kernels/boot images
  2. Inject TWRP after install:
    Automatically injects current installed TWRP into the boot image of the ROM/zip youre installing when ticked

Broken:
  1. LGs encryption on Stock
  2. encryption on other ROMs(?)

How to flash ROMs:
  1. Reboot to TWRP
  2. Make a backup
  3. Install -> select the ROM zip -> tick Inject TWRP -> Swipe for install
  4. wait... ROM will be installed into the NON ACTIVE slot (if youre on a, it will be installed to b, and vice versa)
  5. Reboot system
for gapps, magisk or other mods:
  1. DO NOT REBOOT TO SYSTEM from last step
  2. Go back -> Reboot -> select the non active slot (to where the rom got installed to) -> select recovery
  3. Install gapps, magisk, and whatever else you want
  4. Reboot system

Warnings:
  1. Updating a ROM means reflashing the mods you flashed too (e.g. Gapps), addon.d doesnt work properly
  2. Be aware of the slot you are currently on
  3. If youre flashing a ROM to a slot, make sure you also have the required firmware (abl, modem, and so on) in that slot

Infos:
  1. System image/Vendor image and system/vendor are redundant, the image variants are direct copies of the partition (and also their size) while the others are "simply" files copied and repacked
  2. How to use decrypted stock by @Xsavi : https://forum.xda-developers.com/lg-...stock-t3970149

Download:
Bootable: https://drive.google.com/open?id=1Un...6yS-PRfk-omdTP
Old: https://drive.google.com/open?id=1p3...ifWDuxqqrE0_Dl


Sources:
device tree: https://github.com/SGCMarkus/android...ee/android-9.0
kernel: https://github.com/SGCMarkus/android...e-pie-v409-20a

XDA:DevDB Information
TWRP for Judypn, ROM for the LG V40

Contributors
SGCMarkus
ROM OS Version: 9.x Pie

Version Information
Status: Alpha

Created 2019-09-20
Last Updated 2019-09-20
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-09-20-15-48-39.png
Views:	2816
Size:	221.0 KB
ID:	4822975   Click image for larger version

Name:	Screenshot_2019-09-20-15-48-43.png
Views:	2830
Size:	112.0 KB
ID:	4822977   Click image for larger version

Name:	Screenshot_2019-09-20-15-48-54.png
Views:	2742
Size:	129.4 KB
ID:	4822979   Click image for larger version

Name:	Screenshot_2019-09-20-15-48-48.png
Views:	2452
Size:	174.2 KB
ID:	4822981  
The Following 18 Users Say Thank You to SGCMarkus For This Useful Post: [ View ]
20th September 2019, 06:35 PM |#2  
jimbomodder's Avatar
Senior Member
Flag manchester
Thanks Meter: 1,341
 
Donate to Me
More
Hmm interesting I see 😁
21st September 2019, 05:52 PM |#3  
tech_infinity's Avatar
Senior Member
Thanks Meter: 1,388
 
More
Wow. The V40 got TWRP too. Awesome.
The Following User Says Thank You to tech_infinity For This Useful Post: [ View ] Gift tech_infinity Ad-Free
28th September 2019, 05:49 PM |#4  
Member
Flag Arlington
Thanks Meter: 17
 
More
Wooo new twrp! Great work Markus!
30th September 2019, 11:22 PM |#5  
Senior Member
Thanks Meter: 4
 
More
How hard would it be to get this working on the V35? I can get it to install and boot into recovery, but it does not register touch input.
1st October 2019, 06:04 AM |#6  
Senior Member
Flag Cleveland
Thanks Meter: 70
 
Donate to Me
More
Well, having a big issue. I installed TWRP, Install custom rom w/ twrp inject, reboot menu, selected the slot where the rom, restarted, no TWRP, No root, but custom rom and now it comes up as unknown in LG UP so I can try to fix it. I think its mostly a brick since I can't do anything. No Fastboot either because im in slot b and cant switch because no root or fastboot.
1st October 2019, 06:41 AM |#7  
OP Recognized Developer
Thanks Meter: 2,051
 
Donate to Me
More
Quote:
Originally Posted by lowridincrew,

Well, having a big issue. I installed TWRP, Install custom rom w/ twrp inject, reboot menu, selected the slot where the rom, restarted, no TWRP, No root, but custom rom and now it comes up as unknown in LG UP so I can try to fix it. I think its mostly a brick since I can't do anything. No Fastboot either because im in slot b and cant switch because no root or fastboot.

did you have pie firmware also in the slot where you installed LOS to?
otherwise.... nothing is ever really a brick, you still have 9008 mode as last option
The Following 3 Users Say Thank You to SGCMarkus For This Useful Post: [ View ]
1st October 2019, 06:48 AM |#8  
Senior Member
Flag Cleveland
Thanks Meter: 70
 
Donate to Me
More
Fixed. Case of the bad drivers. LGUP didn't wanna read so I went to a different computer. Read it through LGUP, flashed Stock, rebooted to recovery, TWRP popped up.
3rd October 2019, 12:10 AM |#9  
Senior Member
Thanks Meter: 108
 
More
How do the two slots work? I thought that these were for current ROM in one and then new ROM in the other, alternating with each ROM update. Why is one for the ROM and the other holding system partition additions? I would expect gapps to integrate into both A and B sides at once on top of each ROM...
Is there documentation on this?
5th October 2019, 08:50 PM |#10  
Member
Flag Seattle
Thanks Meter: 12
 
More
So I'm bootloader unlocked, rooted on pie and cannot access fastboot. How do I go about installing twrp?

EDIT: tried different USB-C cables and one worked like a charm.
6th October 2019, 02:02 AM |#11  
Ainz_Ooal_Gown's Avatar
Senior Member
Flag Los Osos
Thanks Meter: 1,694
 
Donate to Me
More
Quote:
Originally Posted by seacrow01

So I'm bootloader unlocked, rooted on pie and cannot access fastboot. How do I go about installing twrp?

What happens if you try and access the bootloader aka the fastboot...
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