yashsingh1/xdaforums huggingface dataset:
[G4 General] threehappypenguins:
I updated SALT to v3.22 (it shows 3.22-2), closed it, reopened it, and it still shows no partitions. I tried rebooting the system completely, still same issue.
[G4 General] steadfasterX:
Good. Grab the debug log and use the SALT thread for SALT issues. Paste the log link there as described I the SALT faq 1000.
[G4 General] fmmarotte:
Sorry to bother you. What time can I find you in hexachat?

Demorou, mas eu já aprendi a mexer no hexachat consegui até me cadastrar. :cyclops:

thank you for the patience.
[G4 General] vsTerminus:
Alright so I am pretty sure I read somewhere in this thread a long time ago that unlocking the bootloader will also interfere with the ability to Network Unlock it, but it is hard to search for network unlock in a bootloader unlock thread so...

1. Is that true? Will an H812 that has been bootloader unlocked with UsU no longer accept a network unlock code from LG?

2. Is there anything I can do about that?

I still have my original SALT backup, and a TWRP backup from immediately after unlocking. This phone is still running stock MM, no custom roms.

I know this is most likely the end of the line for my G4 but I figured it wouldn't hurt to ask here before I switch devices for good.
[G4 General] grantdb:
For 1 I think it is the sim lock security not network unlock. I had the mobo replaced by lg and had to get a new network unlock code from the retailer and it worked fine.

Cheers!
[G4 General] tim455:
Thanks.

Unfortunately, I'm not sure what I'm doing wrong

-Downloaded a KDZ from [http://storagecow.eu/Xda/LG G4/H815/Marshmallow 6.0/TWN H81520b_00_1218.kdz]

-Downloaded current version of FWUL (v3)

-Ran KDZ extract via SALT

-FASTBOOT flashed extracted files. (All finished OK)

-Rebooted. (boots only into TWRP)

-tried reinstalling latest LOS 15.1

-Rebooted. (boots only into TWRP)

-tried restoring old TWRP backup

-Rebooted. (boots only into TWRP)

-tried reinstalling latest LOS 15.1

-Rebooted. (boots only into TWRP)

(probably have to reflash those extracted KDZ files again now)

Just throwing an idea out there, since i'm not an expert or anything on this, is it possible that after the QFIL restore, the USU unlock needs to be redone? and the reason I'm getting TWRP booting is that its trying to go into restore mode? sounds farfetched but just a thought.

Booting with message

> secure boot error

> error code 1002

> official !!

sorry for being a pain

thanks for the continued help :)
[G4 General] Bcoates84:
TeamViwer

SUP? :D. Silly Q, Is your phone mounted in salt? If you Want my help I can help VIA TeamViewer. IF yes Install Team Viewer for Windows, I don't Use hex Chat. SORRY! I Hope Its Not Bricked. :(
[G4 General] kenfalco_14:
Why did you install kdz with fastboot? Imho this perhaps is the wrong passage, you could make it with salt first , after you should do the UsU and so you could put what you want, stay with your stock rom or migrate to LOS.
[G4 General] vsTerminus:
Did you unlock your bootloader before using the network unlock code?

From what I've read, someone with a G3 had exactly the same problem and fixed it by flashing back to a stock KDZ. Obviously I can't do that without bricking because of UsU, but I can revert the changes I've made to system (xposed, uninstalled apps, build.prop changes, default apn file changes, camera changes, etc etc etc) by restoring my original backup to see if that works.

I just don't want to spend all that time only to find out that it's either UsU or TWRP that breaks it because I can't roll those back. Anyway, I'll give it a go and post the results.
[G4 General] grantdb:
My device was network unlocked before I unlocked the bootloader with UsU and didn't have any problems with network until I fried the mobo and had lg replace it then I needed a new network unlock code. UsU did NOT affect network unlock for me.

Cheers!
[G4 General] vsTerminus:
Great, thanks!

Same boat here, actually. I got mine unlocked from the carrier and it was LG who locked it when they repaired it. It also took them 3 weeks to give me a code.

You could say I am not impressed with LG right now.
[G4 General] Bcoates84:
Root Powers. YEY hahaha.
[G4 General] vsTerminus:
I was able to solve my network unlock problem.

Just restoring my original System and Data partitions via TWRP was not enough - the phone would not accept my Network Unlock Code. So I used fastboot and my original, pre-UsU SALT backup to flash every single partition except the ones identified in post #618, to basically restore my phone entirely back to day 1 (+ UsU). This takes a while - the userdata.bin file takes a full hour to flash.

The phone rebooted without any issue, I opened the dialer and entered 2945#*812# (replace "812" with just the numbers from your model number, eg 811, 815, etc). This opens the hidden unlock menu whether you have a SIM in the phone or not. This time the phone accepted the unlock code! I rebooted and inserted my SIM and other than having to manually enter apn info, it worked immediately :) The G4 lives to see another day :P

I'm not sure which partitions in particular actually mattered, but I just wanted to say thank you to [MENTION=4253671]grantdb[/MENTION] for convincing me not to give up so easily, and [MENTION=5545101]steadfasterX[/MENTION] for providing all the tools and information I needed to roll my phone back and get it network-unlocked.

For anyone else in my situation... get your network unlock code before you start modifying your phone like crazy.
[G4 General] steadfasterX:
Do yo have used QFIL??? I guess the FAQ and OP is quite clear about that.

UsU can be removed though e.g. by QFIL - but that depends. Read the details in FAQ #1.

If you have such a device mentioned in the linked post and you totally stupidly used QFIL even when its clearly stated in the OP multiple times and in the FAQ as well.. yea then UsU is gone.

When you have a device supporting reverting UsU you will still be able to boot - If not the device hard-bricks.

the secure boot message is normal, as stated in the FAQ #19 and in the OP in the "Changes in behavior" topic.

Do you have tried the "FORMAT data" in TWRP already? Didn't find it in your list of tasks.

when that auto-loop to TWRP happens: grab the recovery log (see my signature).

.-
[G4 General] fmmarotte:
My LG G4 H815 as I explained before the phone is in fastboot mode. Do not go into download mode, when connecting to note the screen is always the same:

FASTBOOT MODE

PODUCT_NAME - msm8992_p1_global.com

VARIANT - msm8992_p1_global_com Toshiba 32GB

HW VERSION - rev_10

BOOTLOADER VERSION - N \ A

BASEBAND VERSION - N \ A

CARRIER INFO - N / A

SERIAL NUMBER - LGH815o0621BD1

SIGNING - production

SECURE BOOT - disable

LOCK STATE - locked

[1090]

[1140] Fastboot mode started

I downloaded everything that was asked in the step by step. I am uninspired because my record on Hexachat was confusing. So if anyone can help me, the information is:

When I try to flash any file the answer is (remote: device is locked).

Inside the H815_UsU_unlock folder there are three files aboot_UsU.img, laf_UsU.img, rawres_UsU.img, when I try to flash the message is;

[android @ fwul H815_UsU_unlock] $ fastboot flash recovery aboot_UsU.img

target reported max download size of 536870912 bytes

Sending 'recovery' (2048 KB) ...

OKAY [0.130s]

Writing 'recovery' ...

FAILED (remote: device is locked. Can not flash images)

Finished. Total time: 1.30s

What am I doing wrong? Can anyone at least give a direction? This has been going on since last October, I only used this phone for a week ...

From now on I thank all those who can collaborate, all knowledge is welcome.

PS. Sorry for the bad english, some expressions may be wrong
[G4 General] steadfasterX:
Read and follow https://xdaforums.com/g4/general/guide-proper-h815-unbrick-qfil-files-t3709212

Ensure you read post #2 to ensure you do it right for UsU'd devices

.-
[G4 General] Teknouser:
For safest sake, regarding the information given in the first post , where should we put the device specific twrp.img file before flashing it? Root of the sd card , internal storage , in any any folder etc?
[G4 General] Bcoates84:
The Fastboot command is ran from ADB.

Best way is to

Linux =

Open window to file location of twrp.img.

Right click open terminal

Type

Fastboot devicces-l

If u see devices listed good job , If not dont forget to mount device in linux

then type the command squirrel man said

fastboot flash recovery twrp.img

and then continue instructions that squirrel man put up for ya.

Windows =

Open window to file location of twrp.img.

Type in that window CMD

Type Fastboot devicces

If u see devices listed good job , If not dont forget to mount device in linux

then type the command squirrel man said

fastboot flash recovery twrp.img

and then continue instructions that squirrel man put up for ya.

:D

---------- Post added at 02:06 PM ---------- Previous post was at 01:57 PM ----------
[G4 General] nenich78:
[android@fwul ~]$ fastboot flash lgg4-twrp.img

unknown partition 'lgg4-twrp.img'

error: cannot determine image filename for 'lgg4-twrp.img'

[android@fwul ~]$

[android@fwul ~]$ fastboot flash lgg4-twrp.img

unknown partition 'lgg4-twrp.img'

error: cannot determine image filename for 'lgg4-twrp.img'

[android@fwul ~]$

WTF???? Can't install TWRP
[G4 General] steadfasterX:
Sorry but that's bull**** in several ways. Just the first sentence ... Adb is not fastboot! Complete different things.

Besides that you write very chaotic instructions I don't think this helps ..

Read again the OP . Carefully .. Word by word. You miss one important word "recovery" here. This is the target partition name where to flash TWRP .
[G4 General] nenich78:
Thank you for the quick reply, but can you be more specific? I open your LG LAF, put the phone in fastboot mode, then type "fastboot flash/Desktop/lgg4-twrp.img and receive this error.

Then tried something else: I copied the lgg4-twrp.img to the root of the SD card, opened the existing recovery, chose " SD card" but received an error "SD card not mounted" What the f**k should I do? Is it possible to flash lgg4-twrp.img via SALT???
[G4 General] tim455:
You told me to follow your very specific qfil instructions after I bricked my device.

I've gone through and followed all the instructions from OP as if starting from a new device, reflashing TWRP (4 cores version, because of ILAPO) and latest LOS (with and without fixed boot.img)

Tried formatting the phone with FORMAT DATA, advance wipe and factory format too. Nothing helped.

previously followed FAQ #20 and reflashed all the extracted files. (using a MM image from HERE.

H815 TWN

I've attached the logs here, and to bpaste

dmsg: https://bpaste.net/show/8d3e4b433c2d

recovery: https://bpaste.net/show/c046194379bd

hopefully you can help

many thanks
[G4 General] steadfasterX:
Well first of all your issue is not an UsU issue .

This thread is only about UsU so this is going more and more off topic .

I would suggest you open an own thread for your specific issue and we continue there.

You wrote you flashed all partitions of that kdz. Write down (in that new thread ) which partition names exactly.

Also let it bootloop and when back to TWRP :

adb shell

strings /dev/block/bootdevice/by-name/misc | head -n 6

Write the output in your new thread as well .
[G4 General] tim455:
okay. very sorry. I'll stop posting here now.

my thread is located here: https://xdaforums.com/g4/general/issue-booting-lgg4-usu-unlock-t3894239

thanks
[G4 General] nenich78:
[android@fwul LG]$ fastboot flash Recovery TWRP.img

target reported max download size of 536870912 bytes

Sending 'Recovery' (20196 KB)...

OKAY [ 1.152s]

Writing 'Recovery'...

FAILED (remote: partition table doesn't exist)

Finished. Total time: 1.561s

[android@fwul LG]$

How to create this partition???
[G4 General] nenich78:
"Recovery"................"recovery" No capital letter:D:D:D
[G4 General] steadfasterX:
that's what I meant with "read carefully - word by word" .. glad you got it now

.-
[G4 General] nenich78:
So far so good! But I'm with 5.1 LP and my bootloader stack should be on MM 20p or higher! So I need the right KDZ files, but My phone is H815 Singapore and I'm not sure where to look. If you can provide a link will be great.

Forget it...I have flashed Super Su and now have root. Do not intend to flash a custom rom for now. Expect a donation:victory:
[G4 General] steadfasterX:
create a TWRP backup as suggested in this threads FAQ. then download and flash this in TWRP:

http://leech.binbash.it:8008/stock/LG/h815/

download: h815_UsU_20p_bootloader_29a_modem_TWRP-flashable.zip

,-
[G4 General] Neilyboy:
You sir are amazing! I was able to flash two old LG g4 vs986's with this. I even had one which was google account locked. I tried both the nougat and oreo rims. Neither would allow me to run the typical google account bypass tricks (spent a good couple days trying). Then found out that your nougat rom had a file explorer installed. So I was able to put the needed APK's on the micro sd then boot phone. Then once I was connected to wifi and was told it was locked. I then kept hitting back until I got to beginning blue start screen. There I hit emergency call. Then hit add contact (may have been another button click in between here but should be obvious). Then when it asks where to add contact choose that file explorer. From there you can hit sandwich in upper left choose sd card. Then click hold on apk you want then do three dots in upper right. Do open with and choose installer. Voila finish with typical google bypass instructions and you are good to go!

[MENTION=5545101]steadfasterX[/MENTION] you are the man!

Neil
[G4 General] Prayerwimp:
Can this be done from a laptop? If not how do I run it on a phone?
[G4 General] Windows10Mobile:
Hi I have opened my phone. On the motherboard it says eax66474001_1.0_LGH815_MAIN. The motherboard of my phone was replaced. On the imei with LG UP it says H815T. But in the about phone section it says H815TR.

Now I want to USU, my phone says arb=0.

Can I do that? Is it frankenstein or not?
[G4 General] sdembiske:
It is not necessarily a frakenphone - most likely the geographic area/carriers it is produced for where the differences you're noting are arising from to the motherboard.

With the motherboard showing H815, you may want to first check, if you haven't already, and see if you can unlock officially (LG Developer site). If not, you should be good to go with the UsU H815 files as long as you're on MM and have an arb less than or equal to two (which you do). Just make sure you've done at least a partial SALT backup before unlocking and then follow the UsU steps exactly without omitting anything.
[G4 General] Windows10Mobile:
here is the message from lg:

Unfortunately, your device( Hong Kong Special Administrative Region of China, (HONG KONG), LGH815T.HKG )does not support unlocking the bootloader. Your account will be locked if you enter the wrong information more than 9 times.

So I think that means I am on my own once again.

USU is the only way...
[G4 General] henrywhtin:
If my phone has a broken usb (can't identify by the PC), can I unlock by this method?
[G4 General] steadfasterX:
Do you have tried connecting in download mode and starting SALT to identify it device? Windows can be a pita when it comes to USB drivers .
[G4 General] Bcoates84:
no you can not, fix your usb.
[G4 General] whitewolf1608:
Hello, Dear Author, this topic.

I replaced the motherboard, without restoring - to the old IMEI number, my LG G4 h815 device.

Therefore, can I use this method in a problem-free way, as I have a new IMEI number in the device, and under the battery on the label, I have an old sticker with the old IMEI number?
[G4 General] steadfasterX:
You own a h815 international which can be unlocked official and this thread is for unofficial unlock which you do not need to do.
[G4 General] whitewolf1608:
Ok

The official method does not work because I have the mentioned motherboard, without the option to restore the old IMEI number.
[G4 General] whitewolf1608:
Hello, Dear SteadFast X Developers

I am asking you with a very cordial request for your technical support. I am asking for advice on how should I check the ARB version in my LG G4 h815?

I remind you that according to information from the LG Poland helpline - this motherboard comes from the Italian distribution of LG.

Sincerely whitewolf 1608
[G4 General] steadfasterX:
Sorry but I'm not able to help you.
[G4 General] whitewolf1608:
Dear Developers, write at least to Who should I write in this matter.

Please, write me how can I check the ARB version in my LG G4 h815?
[G4 General] steadfasterX:
No idea..
[G4 General] whitewolf1608:
Dear Developers or ARB Version - is the same as the bootloder version?
[G4 General] conbak49:
I am no expert on this device only having unlocked my H812, but I thought SALT could tell you what the ARB of your device was.
[G4 General] whitewolf1608:
Hello, Thank you for the message. Take a look at the screen shot - the Salt application reads correctly in this Linux.

https://photos.app.goo.gl/88wM25xx6pBzMgP2A

https://photos.app.goo.gl/2twD15xfdePqhEzb9

In which folder is the installation to be loaded - installation of ADB / Fastboot drivers for LG G4 h815?

Do I think well Dear Developer StedaFasterX, should I install a dedicated cheesebox for my device, then my smartphone will be detected in the SALT app?

I am addressing you, Dear SteadFast X and to you, Dear conbak49, for your support in this matter. In what USB mode should I set the USB connection on my LG g4 h815 device to work properly with the Salt application?

Please, ask for information about where are the drivers to install?

I put more screenshots to help find where the icon may be, or a folder where there is a file with the instal to the drivers for the correct detection of the device in the SALT application.

https://photos.app.goo.gl/8dBP6YdNuUeSEey97

If there is no icon on the desktop then I am asking for information about what is called in the Menu start this program, or this application that will load the drivers to correctly detect the device after USB connection?

After connecting the LG G4 h815, it should be automatically detected in the SALT application, should it install dedicated drivers?

After connecting the device in MTP mode, the LGE Android Phone icon appears on the desktop.
[G4 General] conbak49:
I am not an expert on these devices. I can only tell you that when I simply connected my running phone - H812 - via USB while in FWUL and started SALT I believe it told me my ARB was 0. From the pics you uploaded it looks like your device doesn't have an ARB. As I said the only input I can offer you is based on my experience with my phone. I unfortunately can't help you beyond that. I have no knowledge of what to flash where other than the instructions in the first post of this thread. These phones are so inexpensive on eBay now (that's where I got mine) that it might make sense just to buy another one. Hopefully someone else will come along who can help you.
[G4 General] Prayerwimp:
Is there anyone out there that can help me to root my phone?? I have a LG G4 model# VS986 Rev. 1.0 with android 6. I am not understanding how to get started. Where do I find the SALT program and how do I install/use it? :p
[G4 General] steadfasterX:
The idea of the OP is to work from top to down.

In the Downloads topic it's clearly stated where you get SALT but I have added it now also to the SALT topic.

.-
[G4 General] H815L:
https://xdaforums.com/showpost.php?p=73206763&postcount=3

The following is confirmed to work on MM:

1. Open the phone app

2. In the dial-pad, enter the following code: *#LGMENU#*<model># (LGMENU resolves to 546368)

Examples:

H812: *#546368#*812#*

H815: *#546368#*815#*

This code may differ on your model and firmware

ATT and TMO users may use this instead: *#*#244773825625#*#*

LS991 users should try this: 5689#*991# or *#5689#*991#

3. Click SVC Menu

4. Click Version Info

5. At the very bottom, you should see the Anti-rollback value

make sure you are in marshmallow version and your firmware is v20x or higher!

btw i also unlock the bootloader on my H815 and i am using lineageOS now

so this code not working insted i am using this one *#*#4636#*#*
[G4 General] robles4242:
For the life of me I cannot get the live sub to boot in Virtual machine. It shows a GUI that last 3 seconds and shows an error about something boot is missing or along those lines and loops the 3 second screen.

Would anyone want to help remotely with team viewer or something?? This is killing me. That and my PC is 32bit ONLY.

---------- Post added at 08:48 PM ---------- Previous post was at 08:48 PM ----------

For the life of me I cannot get the live sub to boot in Virtual machine. It shows a GUI that last 3 seconds and shows an error about something boot is missing or along those lines and loops the 3 second screen.

Would anyone want to help remotely with team viewer or something?? This is killing me. That and my PC is 32bit ONLY.
[G4 General] steadfasterX:
First: FWUL issues have to be written in the FWUL thread .

Second: FWUL does not support 32bit systems (anymore) sorry . Read the FAQ #9 in the FWUL thread !!!

You can try the linked 32bit release there but it will not contain SALT so you have to install that manually and no idea if that all will work at the end as the 32bit version is extremely outdated .

You can also use any 32bit Linux like Ubuntu or Mint etc but then you have to setup things which might not work outofthebox like android udev rules and ofc installing SALT manually too.

Whatever way you go always ask in the right thread to get best help and read the FAQs.
[G4 General] SketchSlayer:
I have a Verizon g4 (VS986) but can't seem to find any way to boot to download mode (it seems like it might not have one?)

Is there any way around this or any way to force download mode to show?

Theoretically I could probably LGUP back to the rooted android 5.# build that had technically worked but felt like a gutted (if thankfully debloated) version of the base rom but ideally I'd want to attempt toget through the bootloader and install a better rom than the verizon ones.

I'm in NZ and figured due to location the second hand FRP locked G4 I bought was the international one which wouldn't have been such a pain but turned out it was verizon so yeah.

Oh yeah and as LGUP works with it I'm pretty sure it technically can enter download mode (I recently put the stock MM rom back on it through LGUP) but adb either through windows normally reboots it when told to boot it in download mode or mentions a lack of permissions to write a required file in FWUL and the holding up on the volume and plugging in the usb just shows the charging screen of plugging in the usb hence me not knowing how (if at all possible) I'm meant to kick it into download mode for SALT to check the ARB
[G4 General] sdembiske:
Refer to post # 527 in the FWUL thread (as steadfasterX already indicated, that is where your post should have been written). Note the * under Installation in the referenced post. With VirtualBox 32bit, it doesn't matter if your computer is 32bit when you install FWUL ...
[G4 General] steadfasterX:
I don't get it. You say you can't get into download mode but you flashed with lgup which requires download mode..??! :rolleyes:

There is no way to boot into download mode other then with the key combo . No adb whatever cmd will do - only the key combo does:

Power off

Disconnect usb cable from the device

Press volume up and keep pressed while plugging in the USB cable to the device until you see the dl mode coming up

Note: when connecting the USB cable it must be connected to a pc

Afaik that will *not* work on a pure 32bit pc meaning the cpu must support

hardware virtualization

and then it would work even when the user has installed a 32bit OS on the pc.

The VirtualBox has a FAQ for that iirc...

EDIT:

yea here (click) -> Q: Does VB support 64 bit guests? which states: "Note that hardware virtualization support is required to run 64bit guests, regardless of whether the host OS is 32bit or 64bit". That FAQ contains also further explanation how to determine hardware virtualization and other related information.