yashsingh1/xdaforums huggingface dataset:
[G4 General] steadfasterX:
well. you can create even your own ones. there is no specific vs986 "leak" needed for that but ofc a lot of knowledge. anyways I would say that you do not necessarily need them. I have created some for the vs968 a year ago but as I do not own that device I was unable to test it.

spoken of "leak": the programmer within the QFIL files is actually a leak but that's identical between ARB 0 devices and ARB higher then 0 devices share a different one.

as said they are not model specific (even when they are sometimes named liked that). most important is again the ARB of the programmer (yes ..even these programmers can trigger fuses and so making devices unusable).

no you flash a bootloader stack and will change the ROM after that anyways. you can have incompatibilities when your bootloader stack is too old but there is no issue the other way around, i.e. you can boot LP with a MM one.

btw: yes 20 means MM and 10 LP for this device. 30 would have been nougat (like it was released for the g4 f500). before u may ask v29 is a beta I can just highly recommend to NOT use the bootloader stack of that one. you could later flash the system as written in the FAQ if you need a pure stock one though

so the steps would be:

1. follow the complete guide to unlock by UsU (choose h810 files)

2. in TWRP flash the h810_20n_UsU_bootloader_ARB2.zip

3. reboot to TWRP

--> if it does not brick: hurray! :)

--> if it does: describe exactly what happens when you start the device (vibrate or not, just black screen etc), also share the output of the command "lsusb" while connected to mAid

4. flash the ROM of your choice

That backup is needed in several situations. often you just need a specific partition like the modem or the bootloader stack or parts of it.

Let's say you want to go back to pure STOCK LG then you (in your specific case) would flash a KDZ by LGup might be the easiest. The reason why you can do that is due to the fact that you have a fusing device (see FAQ #1).

other then that you could use also use an experimental mode in SALT to flash these partitions that way as well.

last but not least these files might be used to create a qfil recovery if ever needed.

.-
[G4 General] Cyanoid:
My G4 is on v20j. Am I locked out of an unlocking?

I have a stock, unhacked/unlocked H812 model G4 on v20j firmware. System is MM v6.0 and ARB=0. The OP says nothing under v20x. But at the same time, that USU will unlock "ANY" G4!

Before I begin, I'd like to know if I'm going to brick my G4 because I am under v20x. Else, what will happen if I use mAid to USU a v20j G4? If I can't USU a v20j, can I maybe install a stock firmware that is v20x or above, using KDZ/TOT, and then proceed with USU unlock via mAid?
[G4 General] steadfasterX:
UsU unlocks any LG G4 correct. "any" means "any model" as the G4 has 10 or more different model variants. "any" has nothing to do with the MM firmware requirement.

if you are currently on 20j you should use LGup to flash the latest MM firmware for your model and then proceed with unlocking by UsU.

The other option would be unlocking by UsU on 20j and then later upgrading just the bootloader stack as described in the FAQ.

.-
[G4 General] nubla:
Hi, thanks for this unlocking capability and related tools. I'm brand new so I have a lot of basic questions. Better to ask first before messing things up, right? ;)

I have an LG G4 H812, on android 6 (MM?), firmware 20x (most recent, yes?), and ARB 0 according to *#546368#*812# and SALT.

1. GPT compatibility shows H811. Is this normal? The phone is from a carrier so I don't expect a frankenstein phone. Would I have to use ROMs for a H811 and not H812? Or should I even abandon UsUing this phone?

2. What exactly is a "Nandroid backup"? I've made a full backup in SALT. Is that the same thing?

3. Which TWRP build should be used? https://leech.binbash.rocks:8008/TWRP/ The link in the UsU instructions point to the TWRP/O directory, but there are others for MM, N, O, P, and SHRP is P only. https://leech.binbash.rocks:8008/SHRP/g4/ I would consider using the newer SHRP if that is ok. I was planning to use steadfasterX's LOS16 or /e/ ROM.
[G4 General] sdembiske:
1. It is normal - you would unlock for H811 usuing the UsU process. You would use H812 UsU roms primarily (by steadfasterX/ThePiGuy) for flashing purposes.

2) A nandroid backup refers to backups with TWRP (recommended), Titanium Backup, etc. I.e., backup your current rom before unlocking. You need the SALT backup in the event anything goes wrong down the road, it is a much more comprehensive backup. Both are recommended to do.

3) You should install the latest Preview version for the rom version you are planning to flash and use. I.e., if you're flashing an Oreo (O) rom use the latest 'O' Preview version, etc. I personally have an H812 and prefer using the LineageOS 'O' rom - I found that the latest 'P' rom has created more over-heating and faster battery drain than the 'O' version and I am not the only one that has experienced this using an H812.

Suggest you learn to use the XDA search function. Each thread has it's own search bar where you can find a lot of the questions you have asked or use the forum search bars for more general information purposes. A little more careful reading should provide a lot of the questions you may end up having.
[G4 General] nubla:
Thanks for the reply. I've gone through the entire 2000+ posts of this thread (and others), but I'm still a bit confused, probably due to my unfamiliarity with anything android and information overload.

Maybe I'm not reading it right, but doesn't a H812 model, identified by SALT, need to be UsU'd with H812 files?

And a GPT indicating H811 means flashing H811 ROMs?

Since H812-specific ROMs are available, do they expect the H812 to have GPT H811?

Ok, thanks, this is now clear.

What if I don't plan to flash a ROM right away? i.e. first UsU and boot into the stock android 6 (MM), and later proceed with the next steps of flashing a more up-to-date ROM?

Does that mean SHRP is only for P-based ROMs?

Ohhh.. this is relevant. I thought LineageOS 16 (android 9 / P) https://xdaforums.com/g4/development/rom-lineageos-16-0-t3929082 was the currently most recommended stable one, and that LineageOS 17 (android 10) is not recommended due to such issues.

And steadfasterX's /e/ ROM is based on LOS16 too. https://xdaforums.com/g4/development/rom-e-os-t4142021 I was especially tempted to try that, but not if there are over-heating and battery issues... Have you tried /e/ ?
[G4 General] steadfasterX:
Besides reading carefully, that's always a good idea yes ;)

See "15)What is GPT compability (LG G4 only)?" in the SALT FAQ

UsU FAQ: "12) I want to flash a custom ROM but there is none for my model available what now?" which also references to the above.

in short: always use your device specific ROM version nothing else. If you can't (bc there is none available try first the h815 version of it. if that does not work ask here again bc a h811 based ROM will increase your ARB on firmware site).

Up to you.

Ensure you understand the disclaimer in the topic "LIMITATIONS / KNOWN ISSUES" (it IS ALWAYS A RISK TO DO RISKY THINGS)

ensure you actually understood the whole "LIMITATIONS / KNOWN ISSUES" topic

and of course UsU FAQ #1, #2 and #3.

... and while you are on it: read the FULL FAQ, its there for a reason ;)

background: https://xdaforums.com/wiki/NANDroid

example: https://trendblog.net/android-guide-make-nandroid-backup-android-phone/

so basically a full image of your phone -> best is to have it in TWRP plus another in SALT (both are described in the guide)

You can switch to SHRP at any time later. Just use the latest TWRP. It does not matter if you use N, O or P when you replace the recovery later anyways. The main diff between them is that the correct system time and decrypt are depending on what version you are using.

.-
[G4 General] sdembiske:
Only two models can be unlocked 'Officially', the H815 (Global/International model only) and the H811. All other LG G4's fall into the two GPT compatibilities - the H812 falls into the H811 compatability. You can flash H811 roms when unlocked but you have to remove the Assert line in the updater script in the rom zip before flashing the rom (no need to do this for H812 UsU specific roms, just flash them). If you flash an H815 rom you could brick your phone.

No problem. Back it up in TWRP after you've unlocked before flashing another rom.

In theory yes, for now but you can still use it for other roms but there will be certain differences. Best to stick with the one specifically made for the rom version.

Try it and see what you think.

No - no need
[G4 General] steadfasterX:
possible but you need to flash the baseband package and I recommend using TWRP preview MM then.

In this case correct. SHRP itself depends a lot on what ROM is installed so even when basics are working flashing e.g. magisk will not.

overheating depends heavily on your device. the ILAPO is something where devices can heat up more then others and ofc heavily depends on your usage. if you are recording videos the whole day it will burn on any ROM and if you are just having "normal" usage it won't etc. The only reliable way to find out is testing it by yourself.

.-
[G4 General] sdembiske:
I will mention as it relates to my experience on my H812, that holding usage (light to moderate) and battery quality (new) constant, the difference between LineageOS 8.1 and 9.0 is not large as far as any overheating or battery drain. The difference seems to arise more noticeably when under heavier demand. My own impression, is that the 9.0 may put more 'system' demand on the phone under heavier usage than the 8.1.

Don't misunderstand, I greatly respect both roms and appreciate the work you have put into them. I like the 9.0, but, for my purposes, the 8.1 does the job a little better. Every member has to try both to make their own decisions.

My phone's serial number suggests it is outside the most likely range of those likely to experience ILAPO sooner rather than much later.
[G4 General] nubla:
Great info.

Let's see if I've understood:

"Nandroid backup" is like Kleenex. Originally a specific product, now used with a broader meaning, in this case to backing up many/all of android's storage partitions required for system recovery. It would be nice if the list of the needed partitions would be named, though maybe that varies.

TWRP/SHRP/recovery software build should matched to the android version that will be used.

Key points for UsU'ing and flashing a H812, ARB=0, firmware 20x, currently on android 6 / M :

Remove lockscreen pattern/PIN.

Use H812_UsU_unlock.zip https://androidfilehost.com/?w=files&flid=249164 in SALT to UsU.

Flash the latest preview of TWRP for P if flashing a P-based ROM like /e/. eg. twrp-3.4.0-PREVIEW-230_g4_P.img https://leech.binbash.rocks:8008/TWRP/P/

Do NOT flash baseband package (H812_UsU_baseband_flash-in-twrp.zip) if flashing an UsU ROM like /e/.

Make a TWRP backup.

? Boot into current ROM to check if it boots and everything is working.

? Flash UsU ROM like /e/ in TWRP.

Any misunderstandings?

And a few more questions:

Can TWRP backups be made to a USB-connected computer or a network share? The phone doesn't have much free space and has no SD card installed (or available).

Are camera apps available in custom ROMs at least as good as the stock LG camera app? Is it possible to install the original LG camera app on a custom ROM?

Slightly off topic, but since you are a Canadian H812 user I really want to ask:

1. What are good quality batteries for this phone and where can Canadians purchase them? I saw a thread recommending/reviewing batteries for the G4, but I could not find them available anywhere anymore.

2. What are good apps/tools for evaluating batteries?

Is there any solid indication of which G4 phones are vulnerable or perhaps immune to the ILAPO? My phone's serial numbers starts with 702.
[G4 General] steadfasterX:
The FAQ here in this thread is like a gold mine.. just ppl need to read it ;) see FAQ #17

no it should match to the version

currently

*installed*.

if you are on STOCK mm , use TWRP preview MM.

Flash Nougat, Oreo, Pie with that one is fully ok.

but after that when you have installed another Android version flash the related TWRP preview flavor *afterwards*.

the very first step is doing a SALT backup.

Can't say it often enough to also place it at a diff place like an USB stick as well (so u have it in 2 places actually).

Other then that and as said above I would recommend using the MM twrp, then after flashing the ROM of your choice the one fitting to the ROM you flashed.

if possible use USB OTG then. this way you can can connect an USB stick to the device. Other then that you can also just do another SALT backup again after unlocking (but ensure you select a different target folder then the previous one!)

depends on what you define as "good". that's a very personal thing so try it out. it was always fully enough for my needs but there are other users thinking different.

no u can't install the proprietary camera in a custom ROM.

yes there is an indicator: the first 3 digits. they are showing the manufactoring date where the first digit is the year (5=2015, 6=2016, 7=2017) , the 2nd and 3rd digits indicate the month. it is known that the faulty base happened somewhen between late 2015 and early 2016 where it turned out that most likely every device since April 2016 can be considered as mostly fixed. I personally own 2 devices from February 2016 and they are in heavy use (as I flash them 10 times a day). Note: as there is no official statement by LG about when they finally fixed it there is no guarantee for nothing - as usual. but from what we know 7xx are perfectly fine.

.-
[G4 General] Zulqarnain_Khan:
Hi, steadfasterX! Thanks giving you very much for the project.

I've done! So far last night, and i'm constantly ignoring, there cause of the 5.7" of uncomfortable screen-browsing experienced by LG-LS997 as-well, or go in-short something like 'Downgrade ZV6-ZVA & Root..', considering not preferable, but..... At the last! I realized, here is from where I've to start my journey for the stock LG LS991ZVA(MM) firmware that have been able to hit the shot in the short i want-ever(with the help of the UsU proceduer. So Great!! Welldone dev. but one thing let me know that i've facing a problem,

.

the security(Pattern/PIN/Password) is unable to activate set-up for the lock-screen of my LG-LS991 on UsU based RR v7.0.2(P) ROM named

RR-P-v7.0.2-20190809-Is991_usu-Unofficial.zip

posted by the_naxhoo here in this thread on XDA Developers. ??

Appreciated!!!!

&

Sorry to say for my bad_en.?
[G4 General] Zulqarnain_Khan:
I notice it later, and practically so far.!!

Ahhhh!!

I also have cellular service issues, and now that is f&c(fine-and-cool) as well.! End when i realised(not A single issue at all)!!

now i'm on

h811-nonUsU | Havoc-OS

(v2.9) based android_Pie with my LS991-UsU.

.

uSu.!! ♡
[G4 General] nubla:
Another satisfied customer. Successfully UsU'd and currently trying out /e/. :victory:

UsU'ing went smoothly. I used TWRP preview MM.

USB OTG was helpful for the TWRP backup, and it's nice having the option of SALT too.

Flashing /e/ was a bit less smooth until I figured things out. First I was getting: "E3004: This package is for device: g4,p1,h812; this device is .error: 3004. Updater process ended with ERROR: 7" which was resolved by updating TWRP to P preview.

Then after wiping System and Cache (and Dalvik) partitions and flashing the /e/ ROM "successfully" according to TWRP, the first boot never succeeded. It got stuck on the boot logo for over half an hour with the phone and battery getting hot and drained. I tried a few times. Finally it succeeded when I also formatted Data.

Now I'm happily exploring /e/ to see if it will work for me, and checking out different apps. It's so refreshing to have an updated OS on this phone.

One slight disappointment is the stock camera app. The image is noticeably grainier/noisier than the stock LG camera app. I'll be exploring other options to see if they're better.

In the meantime, it's great to give this phone new life! Thanks steadfasterX for making this possible!!

Woohoo, this is reassuring.
[G4 General] nubla:
Does this issue also affect camera recording framerates? I'm seeing slow and laggy 1080p recording framerates with Open Camera and a GCam port, plus camera crashing issues in video mode in many GCam ports, and wonder if this could be a reason.

Also, the instructions on github for applying the videolag-fix patch say to "do a backup of both: system & modem with TWRP". In the backup page, I see system, but I don't see modem listed in TWRP's selectable options in Backup. What am I missing?

EDIT: I tried it and the video lag fix makes a big difference. 1) videos now record with higher frame rates, and 2) many cameras/GCam ports now work in video mode when they failed or crashed before. Also, I didn't find modem in TWRP so I made the backup in SALT.
[G4 General] eltrkbrd:
Requirement 3 - MM firmware on VS986 stock Android 5.1 Arb 1 (VS98611a)

I have a few of these Verizon LGG4s running stock Android 5.1 s/w v. VS98611A.

Regarding the UsU requirement "3). Your device firmware must be MM."

I plan on flashing LineageOS 16.0 to my VS986 (Arb 1), I'm currently running LP 5.1 so what do I have to do in order to upgrade my device firmware to MM? Do I just flash the modem for my VS986 before flashing UsU?

Re: https://androidfilehost.com/?w=files&flid=239970

I'm a bit confused on this step. The FAQ states, "When you flash a full UsU compatible ROM (like those linked above) there is no need anymore to flash the baseband package."

After unlocking the bootloader with UsU (it seems LG developer offical unlock is not possible for the VS986), I was planning on flashing LineageOS 16.0 in hopes that it would enable me to use LTE Band - 1 for 4G (carrier BSNL India). Does anybody now if this is even possible on my hardware? I see UMTS B1 2100MHz is possible but I'm not sure how this would work with 4G LTE on the same frequency. Is it just a protocol difference specified in the software (please excuse my ignorance here)...

Re: https://xdaforums.com/g4/development/rom-lineageos-16-0-t3929082

Any suggestions would be most appreciated. I'm in a jam here without Internet on my LGG4.

Thanks for your amazing work with UsU!
[G4 General] steadfasterX:
You have to flash MM by lgup . Beware of the ARB though. Salt can show the ARB of a kdz so you can check before.

The baseband package is needed when you wanna use stock or a custom ROM which is not UsU compatible.

The problem is that UsU might not allow all freqs. Its a very specific area and depends on a lot of things including the fact that UsU replaces a part of the boot process which also initiates hardware. So who knows .

Vs986 can revert UsU though so it shouldn't hurt to try.. As long as you take care of the ARB .
[G4 General] Zulqarnain_Khan:
…

now i'm on

h811-nonUsU | RR

(v7.0.2) based android_Pie with my LS991-UsU(ARB2).

…

Again! I tested it recently, that only the security(Pattern/PIN/Password) is unable to activate set-up for the lock-screen of my LG-LS991 on non-UsU based RR v7.0.2(P) ROM named

RR-P-v7.0.2-20190906-h811_Unofficial.zip

posted by the_naxhoo in this thread.

Appreciated!!!

&

Thank you!
[G4 General] sdembiske:
Lockscreen password, pin etc., not working after a period of time, rendering opening the phone impossible?

No need to re-flash the rom (initially) to be be able to disable the password lock screen.

Try this

:

- Manually boot into TWRP > Advanced > File Manager > Data > System > delete locksettings.db - some roms may have additional files present: refer to https://xdaforums.com/android/software-hacking/remove-lockscreen-recovery-t3530008

Reboot the system and re-enter your password/pin etc.

Something to try remember is to remove your password before backing up the rom in TWRP or flashing a new rom or a new version.
[G4 General] Zulqarnain_Khan:
.

You made my day! ♡
[G4 General] eltrkbrd:
LGUP VS9862BA - vs986_2BA_all-partitions_arb2.7z

Thanks for your reply.

The Internet is super slow where I'm at here in a remote region of South India.

I downloaded the stock VS986 2BA (ARB 2) firmware to upgrade from VS986 11A (stock 5.1 unrooted) to 2BA thinking it was the KDZ only to realize it's a 7zip compressed image of all the original partitions (presumably backed up with SALT/FWUL).

Re: https://leech.binbash.rocks:8008/stock/LG/vs986/2BA/vs986_2BA_all-partitions_arb2.7z

Is there anyway I can use LGUP to flash the vs986_2BA_all-partitions_arb2.7z or do I have to redownload the KDZ somewhere else?

I'm embarrassed to say it took me a full day to download that and I'd like to use that download if possible...

Thanks again!
[G4 General] Zulqarnain_Khan:
Soft Reboot is missing/unaccessible?!

Soft Reboot is unable to worked through any tweak, and Xposed-mods i.e. APM+ and NeoPowerMenu are unsupported as well.

Only the GravityBox did replace in-reboot functionality but when i hit the soft-Reboot, it blacked-out by killing system-UI instead of the soft-Reboot.

...

It is possibly do by going Xposed manger > Modules section > 3dots-menu > Reboot > Soft reboot > Ok.

I wanted to work by swapped with original Power dialog.

Thanks!

...

Device-

LG-LS991-UsU(ARB2) with h811-nonUsU | RR(v7.0.2) based android_Pie.
[G4 General] steadfasterX:
No. Lgup requires a kdz and even though SALT is able to flash single partitions its not optimal doing so. The best thing and optimal approach is flashing the kdz and doing so by lgup.
[G4 General] eltrkbrd:
UsU on VS986 11A, possible to flash MM bootloader via TWRP instead of LGUP 2BA?

Is it possible to install UsU on the VS986 running LL (stock 11a, unrooted) and then use TRWP to flash MM Bootloader before flashing LineageOS 16 ROM (UsU compatible so no need to reflash baseband)?

I want to avoid having to download the KDZ to upgrade from LL (11a ARB1) stock to MM (2BA ARB2) stock via LGUP.

It takes me about 2 days to download a KDZ that file size on my turtle interwebs (I accidently downloaded steadfasterx's extracted kdz thinking I could flash it in LGUP or with FWUL/SALT), re:https://xdaforums.com/showpost.php?p=77984222&postcount=6

Or is it recommended to flash stock via LGUP to upgrade from LL to MM before UsU?

Again, I'm trying to avoid the 2 day wait in downloading the KDZ all over again. I have all the other files I need...

RE:

https://xdaforums.com/g4/general/unlock-unlock-lg-g4-device-usu-t3760451

https://xdaforums.com/g4/development/rom-lineageos-16-0-t3929082
[G4 General] steadfasterX:
Well if you would have started the downloads yesterday it would bw there in 24 hours..

Anyways. You CAN UsU and flash the bootloader stack as described in the faq. Its unknown how UsU will work for you and this will lower your chance of an optimal result but you can still try ofc. As its a ARB fusing devices you could go back so..
[G4 General] eltrkbrd:
Thanks, I was just curious about that...

I saw a bootloader twrp script for other g4's but none for the vs986 and I'm not going to risk the terminal adb flash commands and potentially hard bricking, etc...

I'm going to play it safe and do as you suggest with the proper lgup stock flash upgrade to MM first.

Actually, I did start the download yesterday when you mentioned to grab the KDZ (I'm 42% complete already) but the problem is my 4g service is only available to download from like 12am-4am after that it's slow as molasses (like 7KBytes/sec at best)...