FORUMS

[GUIDE] GSI for US V40

3,843 posts
Thanks Meter: 1,721
 
Post Reply Email Thread
Greetings everyone, i go by the name Ainz Ooal Gown. Here i bring you the a guide to flash GSI roms to your V40

Fist things first if you try this and end up with a brick or your device transforms and tries to take over the world; it's not my fault you messed up not me. So just read all of this thread not just the O.P to, and get out of a bind if you reply with "the thread is too long i wont read it please help" don't expect anything short of "there's a search bar use it"

Requirements
Unlocked bootloader
TWRP

Installation guide:
  1. You need to download Lineage OS 16 by Xsavi i recommend the build "lineage-16.0-20190914-UNOFFICIAL-judypn(More LG Stuff use this).zip". Put into your external SD
  2. You need to download a GSI from here https://forum.xda-developers.com/pro...ce-development i personally recommend Havoc OS 2.9 and Resurrection Remix 7.0 download the Arm 64 A/B Variant and what ever recommended Gapps Package is linked.
  3. Extract the GSI you downloaded and copy the extracted Folder into your external SD.
  4. Boot into TWRP and check your active Slot in the reboot menu.
  5. Flash LOS 16 Install -> select the ROM zip -> tick Inject TWRP -> Swipe for install (if you're on a, it will be installed to b, and vice versa).
  6. Go to and select Reboot Menu -> select your inactive slot -> select recovery and you should reboot into your inactive slot.
  7. Go to and select Wipe Menu -> Swipe to factory reset
  8. Select install and navigate to your downloaded GSI -> select install image -> select the GSI image -> select the bubble next to "System Image" -> Swipe to Custom Flash.
  9. Select the wipe menu -> select advanced wipe -> select the square next to "System" -> select "Repair or Change File System" -> select Resize File System -> Swipe to Resize.
  10. Install any Gapps and/or Magisk and reboot.
You will probably have to add your Carriers APN settings for Data and MMS to work.
Thanks to: @SGCMarkus @Xsavi
The Following 4 Users Say Thank You to Ainz_Ooal_Gown For This Useful Post: [ View ] Gift Ainz_Ooal_Gown Ad-Free
22nd August 2019, 03:03 PM |#2  
scrubber's Avatar
Senior Member
Flag Moscow
Thanks Meter: 383
 
Donate to Me
More
Quote:
Originally Posted by Ainz_Ooal_Gown

Hello here i will be uploading the instructions for running GSI Treble Oreo and Pie roms.
At the moment i'm making sure everything is working before i upload those instructions and links please be patient last thing i want to do is make you device a fancy brick.

Hello!
Maybe you have a dump system or stock firmware for twrp?
Or maybe there is an instruction for unpacking the kdz firmware
22nd August 2019, 06:07 PM |#3  
Ainz_Ooal_Gown's Avatar
OP Senior Member
Flag Los Osos
Thanks Meter: 1,721
 
Donate to Me
More
Quote:
Originally Posted by scrubber

Hello!
Maybe you have a dump system or stock firmware for twrp?
Or maybe there is an instruction for unpacking the kdz firmware

GSI would be without KDZ...
22nd August 2019, 06:24 PM |#4  
scrubber's Avatar
Senior Member
Flag Moscow
Thanks Meter: 383
 
Donate to Me
More
Quote:
Originally Posted by Ainz_Ooal_Gown

GSI would be without KDZ...

I know this
I really need a dump to port the sound equalizer of the LGv40
Help me please
22nd August 2019, 11:47 PM |#5  
twoxa's Avatar
Senior Member
Boston
Thanks Meter: 458
 
More
Here we go🙂👌
21st September 2019, 07:49 AM |#7  
Recognized Developer
Thanks Meter: 2,110
 
Donate to Me
More
Quote:
Originally Posted by scrubber

Hello!
Maybe you have a dump system or stock firmware for twrp?
Or maybe there is an instruction for unpacking the kdz firmware

To unpack a kdz use SALT on linux, works best for me
The Following User Says Thank You to SGCMarkus For This Useful Post: [ View ]
21st September 2019, 09:04 PM |#8  
grandomegabosses's Avatar
Senior Member
Flag Troy, OH
Thanks Meter: 11
 
More
When I flash LOS16 into my inactive B slot, I am unable to boot into TWRP on slot B because there's some Lineage recovery in place and no option to flash anything and the sideload option doesn't work; I am checking inject TWRP. Am I missing something?
21st September 2019, 09:35 PM |#9  
Ainz_Ooal_Gown's Avatar
OP Senior Member
Flag Los Osos
Thanks Meter: 1,721
 
Donate to Me
More
Quote:
Originally Posted by grandomegabosses

When I flash LOS16 into my inactive B slot, I am unable to boot into TWRP on slot B because there's some Lineage recovery in place and no option to flash anything and the sideload option doesn't work; I am checking inject TWRP. Am I missing something?

If you injected TWRP and made sure it was checked it should've given you TWRP in slot b I'll pm you with what to do give me a sec
24th September 2019, 05:34 AM |#10  
Senior Member
Flag Boston
Thanks Meter: 10
 
More
On step 9, I get a failed error on resize. The error is:

Code:
/sbin/e2fsck -fp /dev/block/bootdevice/by-name/
system_b process ended with ERROR: 1
Unable to repair system
Anyone know how to fix this?

EDIT: I tried to install gapps after this, but it failed because of insufficient space. Went to check the /system partition size, and it only has 65MB free out of 1637MB. Is there a way to restore the original partition size and start from scratch?
24th September 2019, 05:42 AM |#11  
Ainz_Ooal_Gown's Avatar
OP Senior Member
Flag Los Osos
Thanks Meter: 1,721
 
Donate to Me
More
Quote:
Originally Posted by xPreSiDenT

On step 9, I get a failed error on resize. The error is:



Anyone know how to fix this?

EDIT: I tried to install gapps after this, but it failed because of insufficient space. Went to check the /system partition size, and it only has 65MB free out of 1637MB. Is there a way to restore the original partition size and start from scratch?

You have 2 things to try, 1st. resize again and see if the error happens again... 2nd. Reboot recovery and try once more I've had this happen to me.
Post Reply Subscribe to Thread

Tags
gsi, pie, v40

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

Advanced Search
Display Modes