yashsingh1/xdaforums huggingface dataset:
[G4 General] sokol.blyat:
I just wanted to clarify. Then the question is of the following nature, in this repo there is also the usual lineage for h815. Question. And for what type of firmware is this firmware suitable, if it does not have a name usu?
[G4 General] steadfasterX:
I wanna clarify as well: it is GOOD that you ask before! Most ppl just do first, then ask so it's never wrong asking first ;) !

There was a time where it was possible to unlock the h815 international model officially. LG had a specific website for this where you had to enter some device specific things and then an unlock file was generated. that unlock file (as said strictly bound to your device) could be flashed in fastboot and it was unlocked. With the shutdown of the mobile phone devision LG had shutdown the unlock file generation as well so UsU is the only way to go these days - if you do not had made an unlock file long time ago. So the mentioned builds are for those who unlocked officially.

btw: the h811 (tmobile US) can be still unlocked officially as there is no unlock file needed, just regularly in fastboot.
[G4 General] sokol.blyat:
I recently bought lg g4 on aliexpress, but the board had an h818 model, and as I understand it, it’s difficult to flash on android 7, I decided to order h815 in order to use either world pay or google pay, but the instructions, unfortunately, are not fully written, and there are questions on specific actions) Thank you my Friend!
[G4 General] steadfasterX:
if you can get a h811 or h815. the h818 though is the only device which will not work.
[G4 General] Alwe182:
Hello, I just got my hands on a LG G4 H815 and I'm blown away by the community support it has to this day, it's incredible

I'm hoping I can flash some more modern software after unlocking it and it looks like UsU is the only way to unlock it nowadays, I tried by following the instructions but I ran into some issues and I'd much rather ask before doing anything as I'm not familiar with any of the procedures

My phone is running 6.0 MM software version "V20p-EUR-XX"

After booting my pc into mAid and placing the neccesary files into the Download folder I started SALT

GPT compatibility shows "H815" and AntiRollBack shows "0"

When I try to unlock it by going to the advanced menu I get a window that says:

"Your download mode version is not supported!

Downgrade to LP or MM!"

Being that I'm already on MM how could I fix this? I know that using UsU when on LP will cause issues so I'm hoping that I can flash another MM build to hopefully get around this issue

If so, would "H81520B_00.kdz" found in Storage Cow be fine? And could I flash it using SALT?

Thank you for your time!
[G4 General] steadfasterX:
Hi and welcome to the odd LG G4 universe :)

v20p is absolute fine pls do not downgrade as this is the recommended firmware for that model anyways.

after you try to unlock and get that error pls share the full debug log of SALT (advanced menu).

you need to choose the internal storage or external sdcard method on that firmware though:

last but not least you might wanna consider joining the support group on matrix/tg
[G4 General] Alwe182:
Thank you for your quick reply, good thing I didn't do anything before asking.

Yes, I placed the 3 files inside the "Download" folder through my pc before trying, just in case I replaced them and tried it again, same issue. I also tried with different USB cables and different USB ports based on previous replies and all had the same result. I'll be able to try with a different PC soon if necessary.

Two things I forgot to mention in the previous post, when starting the program I get a warning that says

"Your LAF firmware (unknown / LG-H815) does not support direct flashing!"

But according to it that shouldn't affect the ability to unlock the G4

I am also not able to do a backup, in the included log I tried doing a basic backup before attempting to unlock and left it for over an hour, when I came back it was stuck at 0%

Thank you for your help, I'll be joining the support group on Telegram
[G4 General] steadfasterX:
ok so really follow the advice and do NOT try to unlock until you have grabbed a backup.

as this is currently not working for you try to select a custom backup one and select at least

modem

aboot

sbl

just to see if that works.

also it is weird that the LAF protocol version is not showing on yours. that must work too. Please try USB-2 if you are currently using USB 3 and also try other cables. actually the LAF protocol version should be shown..
[G4 General] Alwe182:
By doing a custom backup I was able to backup those partitions, I did it again and backed up all partitions except System, Cache and Userdata. Checksum checks also worked fine on all of them that had it.

After backing up everything I tried connecting the phone to a usb 2.0 port and I got the same results, no LAF protocol and the same downgrade error when trying to unlock. I looked for all the usb cables I had and tried them on multiple PCs, same results.

I also tried making a virtual machine with mAid, just to see if it would at least show the LAF protocol but it doesn't, of course I didn't try unlocking with a virtual machine, just in case.

I also tried formatting a sd card to vfat and placing the files into it with, same results, I can't get to the part that lets me select internal or external storage..
[G4 General] steadfasterX:
ok great then you have a backup thats good. basic and custom backup methods are using different backend tools so that's why.

Flashing will not work unless this is fixed though:

2023-07-07 23:21:33: F_CHKLAFV: Unexpected error while retrieving LAF protocol version ()

I really recommend again to join the support group btw ;)

This is an issue you cannot solve alone - as long as you do not want to write code. I will check the specific part of SALT and let you know when you can try again

EDIT:

Could you please switch in SALT to the STREAM/testing branch and just start SALT and grab the log pls

https://xdaforums.com/t/tool-locked-unlocked-salt-the-lg-up-revolution-begins.3717864/post-74811095

--> FAQ 10
[G4 General] f_4Strings:
In SALT (3.28-0:STABLE version) pushing the "Unlock G4 (UsU)" Button into the Advanced Menu returns the same identical error message:

"Your download mode version is not supported!

Downgrade to LP or MM!"

I'm running V20p-EUR-XX (6.0 Marshmallow) on a never unlocked (and never rooted) pure stock LG-H815

The SALT USU Unlock fails with the same error message of the quoted previous post.

I attach the most relevant parts of the SALT Log hoping it can help in some way.

Please, how to solve the issue?

....
2023-07-18 14:16:23: F_CHKLAFV: Unexpected error while retrieving LAF protocol version ()
2023-07-18 14:16:23: F_GETINFO: LAFVER unknown
2023-07-18 14:16:25: F_GETINFO:
2023-07-18 14:16:25: F_GETINFO: ended
2023-07-18 14:16:25: parsing
2023-07-18 14:16:25: parsing H815
2023-07-18 14:16:25: parsing 0
2023-07-18 14:16:25: parsing unknown
2023-07-18 14:16:25: parsing 98
2023-07-18 14:16:25: parsing H81520p
2023-07-18 14:16:25: parsing S
2023-07-18 14:16:25: parsing LGH815AT-00-V20p-EUR-XX-APR-03-2018+0
2023-07-18 14:16:25: parsing imei:xxxxxxxxxxx
2023-07-18 14:16:25: parsing serial:xxxxxxxxxxx
2023-07-18 14:16:25: parsing LG-H815
2023-07-18 14:16:25: parsing GLOBAL
2023-07-18 14:16:25: parsing COM
2023-07-18 14:16:25: Detected stuff:
DEVCON=0
LAFVER=unknown
LGUSU=no
.....

2023-07-18 14:16:30: <b>Your LAF firmware (unknown / LG-H815) does not support direct flashing! </b>

Flashing functionality <b>disabled</b>!

Activate flashing functionality by flashing a SALT compatible LAF partition.
Download it right here for <b>any</b> G4 model (requires an unlocked device + TWRP):

<a href='https://www.androidfilehost.com/?fid=818070582850495147'>SALT-compatible-LAF_flash-in-twrp.zip (click here)</a>

You can still use many of the features SALT offering - just not the flashing part.

This does <b>NOT</b> affect unlocking the G4!
<b>Just go on</b> if you want to UsU..
2023-07-18 14:16:30: 0
2023-07-18 14:16:30: Flashing functionality disabled bc: LAFVER = unknown and/or EXPERIMENTAL = 0
2023-07-18 14:16:30: F_MAIN: starting G4 menu
2023-07-18 14:16:48: F_ADVMENU: started with LG-H815
2023-07-18 14:16:48: F_ADVMENU: main YAD_PID is 3436
2023-07-18 14:16:50: F_DOUSU: started with this args: LG-H815
2023-07-18 14:16:50: F_CHKDEVCON: started
.....

023-07-18 14:16:52: F_CHKLAFV: Unexpected error while retrieving LAF protocol version ()
2023-07-18 14:16:52: F_MSGE: started
2023-07-18 14:16:54: ERROR: Oops!

Your Download mode version is not supported!

Downgrade to LP or MM!
2023-07-18 14:16:54: 0
2023-07-18 14:16:54: F_EXIT: started
[G4 General] steadfasterX:
Hi

1. Do not share just log snippets . I guess you can't decide which parts are really relevant here and ofc important information is missing actually. The log window has an upload button. If that does not work use a paste service for sharing the full(!) log.

2. Pls follow what i wrote here: https://xdaforums.com/t/unlock-unofficial-g4-unlock-any-lg-g4-device-with-usu.3760451/post-88743553 and switch to the STREAM / Testing mode. Then share the full(!) log again either with the upload button or a paste service.
[G4 General] f_4Strings:
Thank you for your answer. I'll follow your instructions asap! :)
[G4 General] lookatlgg4:
Hi, i'm trying to unlock my lg g4 h815 but i encoutered some "issiues" First i have this LAF pop up of Which i didn't find much about in the guide, if i understood the pop up i can proceed without issiues Is that right?

then the second, opening salt After this message i get the information of the phone, i can conclude that at least some of It Is right because It detects that its an lg g4 h815 and the battery % Is right, i'm skeptical about them because salt atates that It couldn't detect any device while my lg g4 Is connected and in download mode
[G4 General] steadfasterX:
1. remove your first screen as it shows your IMEI and that is nothing you want to share public

2. the first screen (the SALT main window) just telling you that it will either show the real phone's data (like it does on yours) or the hint "device_not_found". You do not have any "no_device_found" occurence there just the real data from your phone

3. the popop says 100% clearly at the last 2 sentences if that is an issue or not.
[G4 General] lookatlgg4:
Thank you very much for your reply, i Will continue with the procedure
[G4 General] steadfasterX:
hey guys. SALT has been updated to v3.32 containing important fixes. ensure you are using the latest version (SALT should detect this release and prompt for a newer version). so ensure you are running v3.32
[G4 General] f_4Strings:
Hi, I'd like to post a brief feedback because all went fine and I've succesfully unlocked my H815.

The new SALT version brings a great improvement (imho!) and all of the previous issues are now solved! Thank you very much for your great work! :)(y)

1. The SALT update process to the "3.32-0:STABLE" runs fine as switching between "STABLE" and "Testing". Now the progress-bars are visible, too.

2. The old error message windows (on SALT startup) reporting "Your LAF firmware (unknown / LG-H815) does not support direct flashing!", no longer appears.

3. The laf protocol is now correctly showed.

4. The backup function works great. I've tried doing a basic backup, checking the md5 signature verification (29 ok; 19 Warnings; 0 errors) as well.

5. The Usu unlock procedure went fine and the "Congrats" window message appears!

Then, I've flashed the twrp in fastboot mode, then rebooted twice into the new recovery doing a backup from within the twrp as well.

Finally, I've rebooted into my old stock rom waiting to flash an Usu compatible custom rom asap...!

The only thing that didn't work was uploading the log, but I can attach the full log here.

EDIT: I don't understand why the system doesn't let me to attach the log file. I can't neither past its content here because it's too long (7958 rows). Please let me know how to upload it and I'll be happy to share it ;)
[G4 General] steadfasterX:
Great and many thanks for the feedback! Really appreciated!

Just wondering as even the log upload should work fine now but it seems i missed smth.

Pls use a paste service (always!) when sharing log output. Anything else makes life harder for those reviewing it. Example for paste services: paste.systemli.org or hst.sh

Always make the duration as high as possible then
[G4 General] f_4Strings:
Here is the full Salt "Usu unlock" log! Thank you again! ;)

https://paste.systemli.org/?6463c96b6b23704a#iP3amMjzw3ysNWECXx5AWw17uVu1NpNFWQmLas1ZE9w

....brief feedback about the SALT log upload procedure:

Today I tried again to upload a log. I connected the device in download mode and I launched salt: this time uploading log worked! Now I really don't know the reason why it didn't work yesterday (after the Usu unlock procedure). Unfortunately, I didn't write down the error messages or take the screenshots of the windows with the error messages but I remember that they referred to some ..."module" that couldn't be loaded or something like that.....
[G4 General] rtmand:
Hi, i have problem with salt, it says I have to upgrade to mm to lp.

LP = lollipop

MM= marshmallow

right? I have android 6.0 marshmallow on my lg g4 h815. Why install usu failed? Gpt compatibility is h815 and is ok.

Any help?
[G4 General] steadfasterX:
upload the log after it failed. how should I know what happened??
[G4 General] rtmand:
The exact error is :

Your Download mode version is not supported!

Downgrade to LP or MM!

LOG:

https://hastebin.skyra.pw/hasezuwoyu
[G4 General] steadfasterX:
well no the problem is not that you need to downgrade.

there is a problem in detecting your LAF protocol version which is required to proceed.

... omg there was an issue with the code merges.. ok pls try again now. you should be prompted to install v3.34 which should now show your LAF protocol properly and also allow to flash UsU
[G4 General] rtmand:
thank you but after updating salt to 3.34 there is same error. If can be helpful salt keeps suggesting me a link where download a salt version laf compatible but it requires device unlocked and twrp.

Log:

https://hastebin.skyra.pw/jenicokite
[G4 General] Alwe182:
I wasn't able to follow these steps because I didn't have the time and when I had the time the issue was resolved. v3.32 worked flawlessly, I made another basic backup just in case and successfully unlocked.

Thank you so much for your work! Here are the logs to the successful unlock

USU Flash Log - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com
[G4 General] rtmand:
thank you steadfasterX I have tried testing mode. I have done usu unlock good.

I have installed lineage os and works perfectly.

One mistake is when I start the phone there is written bootlocker modified with an error code.
[G4 General] steadfasterX:
hm ok that is weird. do you have the log of the unlock process?

reg the "mistake" it may help if you read the OP again? Topic "

Changes in behavior

" sounds interesting..
[G4 General] rtmand:
oh thank you...good

log of usu unlock? Yes https://pastebin.com/2dyXhZxN
[G4 General] lookatlgg4:
Both bakups are Stuck to 0, tried both basic and full, i updated salt and maid Is running in live Boot and not fully installed, also i located the backup on an external USB that Is running trough a type c adapter, what can i do? Heres the log https://hastebin.skyra.pw/mibacomihe
[G4 General] steadfasterX:
I assume salt was asking to upgrade on start as you're on mAid v4.1? If so switch to STREAM /TESTING in salt (see salt faq) and then try again
[G4 General] lookatlgg4:
Worked , thanks ❤️
[G4 General] Toasterr2000:
Same problem here, please help!

Salt 3.34 ERROR (H815)

Downgrade to LP or MM!

Log file

https://hastebin.skyra.pw/ucurufuqix
[G4 General] Toasterr2000:
Thanks, it worked, but ...

So, I folowed steps and booted to fastboot mode. How do I flash twrp? Phone is not responding. With PC?
[G4 General] steadfasterX:
of course you need a pc to flash twrp
[G4 General] Toasterr2000:
I am sorry, can you please point me in the right direction? I'm lost. I'm stuck in fastboot mode.
[G4 General] steadfasterX:
consider joining the Telegram / Matrix group..

you are at this step:

so simply use mAid for that fastboot command as mAid has everything needed installed.

you just need to download TWRP first obviously. then you open a terminal in mAid and execute this command while connected to the phone.
[G4 General] Toasterr2000:
Sorry I am still confused. I have done this step:

If the UsU flashing was

successful

(SALT will validate the flashing) continue:

Boot your device into fastboot mode (yes UsU has enabled an unlockedfastboot access for you!):

take out the battery

unplug the usb cable from the PC (not from the device)

Insert the battery again

wait 2 sec

press volume DOWN and while

keeping

it pressed: plug the USB cable to the device

keep volume DOWN pressed until you see the fastboot screen

The device is in fastboot mode.

On PC (still on mAid) I go to terminal and execute: fastboot flash recovery twrp.img, but I get: "fastboot: ERROR: ANDROID_PRODUCT_OUT not set.

Where do I put twrp.img file?
[G4 General] lookatlgg4:
Hello, i have a question, i saw a cuple of android 10/11/12 roms for the lg g4, the twrp on the guide only support nougat Oreo and pie, Is It because of a litimation in usu? Is It possible to install a rom newer than pie on a usu'd h815?
[G4 General] steadfasterX:
again. consider joining the Telegram / Matrix group maybe that would be easier, faster and .. anyways.

you need to download TWRP.

then you open the file explorer and go to the download folder (default is "Downloads")

right click the TWRP-xxxxx.img and rename it to "twrp.img"

then right click anywhere in that white screen and choose "open terminal here"

now execute the fastboot command and it should work.
[G4 General] steadfasterX:
you can install ANY android version with TWRP.

"Supported" means mainly decryption support and has nothing to do with UsU or anything else.
[G4 General] lookatlgg4:
Ok, i missundersood because in the guide the twrp where labeled with the android version and It said to flash the twrp of the Tom's android version
[G4 General] Angel1608:
I sincerely ask for your support. How should I follow this communication?

I renamed the TWRP file from

TWRP-3.7.0_9-PREVIEW-300_g4

On >

twrp.img

I have a message with the same content as the warning message.
[G4 General] hyeon woo jeon:
how format to vfat
[G4 General] will734:
in fastboot mode , open cmd shift to fastboot Table of contents key in “fastboot flash recovery twrp-3.2.1-PREVIEW-118_g4_O.img” pressed Enter > where the fastboot Table of contents In Maid ?or how to create? more pic details better ,plz
[G4 General] Stettin:
I just dug out my old LG G4 from a drawer to see what I could do with it. Before I attempt this, it looks like I must upgrade to Android 6.0 MM. I had been avoiding that because I have the VS986 with a rooted system 5.1 partition that I flashed manually. The bootloader is still locked (Verizon). Can I upgrade to MM in that state, or do I need to try and flash the old non-rooted system partition back first?
[G4 General] gdeep0362:
Anyone help me

I installed FWUL successfully on VM but salt can't detect my device!

What I do??
[G4 General] fil3s:
Do what i did :laugh:

Boot it from bios on a USB drive you have burnt FWUL to.
[G4 General] mwahahaa:
I tried just flashing the modem, which didn't do anything. I cleared the cache and dalvik and rebooted, but the same. Then I flashed the baseband to see if that would help but no. I am using steadfaster's stock nougat for all arb 0.
[G4 General] gdeep0362:
Sorry but I can't understand

I am use virtual machine then how I use bios??

ND sorry for bad English??
[G4 General] fil3s:
Look here.

https://xdaforums.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755/page56

---------- Post added at 06:27 PM ---------- Previous post was at 06:22 PM ----------

:laugh:

Use Rufus ! Usually there's a delete button u can press when you boot your PC! :laugh:

Making sure to burn the disc image in dd mode.

If u have any more questions! :laugh: ask in FWUL thread. :good:
[G4 General] steadfasterX:
Nobody read what i wrote. I said your issues will be because you flashed the full ROM including the bootloader stack for the h815 and not the one for any device. Now you can get everything working! You HAVE TO flash YOUR model bootloader back in order to make it work. I can't write the guide down now as said several times but when I'm back I will do so. It's a risky thing to do this so I need my pc for this.

Yes you need to downgrade to LP or MM in order to flash UsU.

You need the not just the system image but also the boot image to be able to boot.

The guide says: your pc will show the real model. The log you shared showing that all is ok.

The android error can happen when you do not factory reset or wiping data

.
[G4 General] nummer:
So I flashed rr with v20 modem ,sound and video are working, but I can't adjust brightness and pretty much all sensors are undetected. Any other roms have this problem? (use https://play.google.com/store/apps/details?id=com.wered.sensorsmultitool for checking sensors)
[G4 General] අධිරාජ (Adhirāja):
Steadfasterx,

A member with an F500 PM'd me saying they bricked their device following USU method. Details: He says when phone is plugged into the computer running FWUL, SALT does not detect it.

Can you pls give a guide how to unbrick his device? Thanks
[G4 General] fates13:
Is is safe to flash the stock lollipop boot.img using fastboot flash boot boot.img?
[G4 General] pr3dicament:
I've read over the FAQs, requirements, etc.. I have an LG-H812 that came with stock MM, never rooted. With this new method, is it now still possible to unlock the bootloader even with MarshMallow? I'm obviously not able to downgrade to LolliPop, so before I continue, I want to make sure that I don't waste my time by attempting to unlock/root this device. I've tried searching about this and have found nothing but "NO" to this question before I came along and saw this thread. My ARB is v0 -- made sure to check with the service menu. If I missed a post mentioning this in this whole thread, my apologies. I searched and didn't get much of an answer, but I could've missed something. By the way.. this is phenomenal work, whether I can do this for my H812 or not. You're incredible. It looks like you went through hell with this.

Edit: Just read some responses right above this.. and now I'm actually just a bit more confused. People are asking if they need to downgrade to LP *OR* MM (is MM okay?) and you're saying yes in response.. however.. you're mentioning that it's risky. I know things can get screwed up and that there's always risk involved.. but if instructions are followed to a T, especially with FWUL and SALT (I use Linux natively) are my chances of unlocking and installing TWRP good? I apologize if the answer is so unclear to me, I have been sick lately. I guess I am just making sure. I also looked at the custom roms you uploaded.. and I don't see any custom roms (or stock) for the H812; would using the H815 or H811 roms that are listed matter? I assume it wouldn't as long as the other instructions are followed, but once again, just making sure. Thank you so much for all your time and hard work. I will likely have other questions in the very near future.
[G4 General] fates13:
If you read the OP it states that the requirements are one of the listed devices and an ARB <= 2. Does your device fulfill those requirements?
[G4 General] mwahahaa:
Why can't you downgrade from MM? Flash the appropriate LP firmware with LGUP.