yashsingh1/xdaforums huggingface dataset:
[G4 General] jjcdennis:
I inherited the LG G4 from my wife after she got a new phone. Seems I always get the castoffs. I have done a basic SALT backup, so I will see if I can figure out how to dig out the MM modem build. I will likely flash either the N or O, so that I can debloat the phone and hopefully fix a problem or 2 with MM 6.0. I'm new to Linux.

Thanks
[G4 General] kjdoug:
expired

the zippy file expired

---------- Post added at 01:49 PM ---------- Previous post was at 01:25 PM ----------

Could you please re-upload this file? It expired on zippyshare
[G4 General] Abrilabr:
Can someone give me a link for Lineage 14.1 Nougat Rom for UsU unlocked H812? i want a clean rom (my focus is speed) with no customizations and cant seem to find one
[G4 General] adam_s_459_:
If you want a clean rom with no customizations you can install AOSCP nougat from the LG G4 Android development forum. There's a thread for the h812.
[G4 General] steadfasterX:
While still enjoying my vacation at 38 degrees....

New LOS build (oreo) started

Watch the progress:

https://lets.binbash.it:8800/blue/organizations/jenkins/LG-G4/LOS-15.1/Build all LGE-G4 models

.
[G4 General] jjcdennis:
I been struggling for a couple days and finally got fwul identifying my phone. SALT now runs ok. I've scoured the thread looking for an installation guide for dummies and mostly I see various methods with some problems. I'm ready to root, but have some questions. I'm using an old Windows 10 laptop booted to fwul via usb:

After unlocking, install TWRP via fastboot - do I do this in fwul and if yes how do I get a copy of TWRP available to flash - or do I move the phone to my main WIn 10 PC and flash it there? I'm not sure how to get files/zips to and then use them in fwul

I found my modem.bin in my Salt backup, but can't find a way to save it somewhere I can make use of it with fastboot. How do I do this?

After rooting do I need to jump right in and install a new rom (ie Lineage 15.1) or will Marshmallow 6.0 still be available after rooting? I think I would like to do this a step at a time.

This has been the most complicated procedure I have had to follow to root a device and Linux is very new to me.

Thanks for any help.
[G4 General] sdembiske:
If you saved your SALT backup to your Windows 10 PC/laptop or to a separate flash drive, etc., you would right click on the modem.bin file, copy it and paste it in your adb/fastboot sdk folder on your Windows 10 PC, connect your phone in fastboot mode (in the Changes in behavior in the OP), open a command prompt in the folder and type: fastboot devices to make sure your phone is connected and then fastboot flash modem modem.bin to install your MM modem file. The same process could be used in FWUL, provided fastboot.exe is there in the relevant folder (I have always done it in Windows myself as my SALT backup was to my shared folder in Windows using VirtualBox - I find it easier for copying files from one OS to another). To get the TWRP image simply open the Firefox browser, direct to steadfasterX's TWRP thread and download the relevant latest preview TWRP image for MM, copy it and move it over to the adb/fastboot folder, open a command prompt and use fastboot flash recovery "exact TWRP image name fully".

You do not need to install a new rom immediately but it would be a good idea that once you've booted up MM to make another SALT backup after unlocking, as well as a TWRP backup.
[G4 General] jjcdennis:
Thanks for getting back to me. Lots of great help in your note.

I haven't setup Vurtualbox, as it is another learning complication that I didn't want to add to the list just yet. My Salt backup is on the USB root in fwul and I can't right mouse from there. Will have to look at how to copy it so I can use it on Windows. Unfortunately the File Manager in fwul does not allow access to root - no permission to access. .
[G4 General] sdembiske:
Not a problem. In FWUL, download this H812 MM modem file from steadfasterX's server h812_20z_modem.zip from here: https://androidfilehost.com/?w=files&flid=239970 - scroll down to you see the file. Install it in TWRP.

NB: Don't forget the Thanks button at the bottom right of the post - it's an XDA courtesy and a good habit to get into.
[G4 General] jjcdennis:
Thanks for that information. I now realize that I can drop these zips/img (TWRP, Supersu) files into Linux from a USB stick - I don't however know where to drag them so that ADB Fastboot can find them. Can you help with this?

And more problems:

For some reason neither of my laptops (both Win 10 (one I am booting fwul on and one is my main PC.), finds the phone in WIndows Explorer. This was no problem in the past. I have installed the 4.2.0.0 LG Universal driver on both again, I have set the Unknown sources to allow, I have allowed USB debugging, USB config is set to MTP, the device is not OEM locked, and neither Laptop will add the phone to Explorer. I have uninstalled and reinstalled the USN host. Here is the error I get, "The last usb device you connected to the computer malfunctioned and Windows does not recognize it". The phone jingles when I plug it in - no sound from Windows. When I leave in the jingle you get when pulling out a USB device sounds and then the error message pops up. This happens ever 30-60 seconds.

This all worked well before connecting the phone to fwul. Any thoughts on how to fix this?

Thanks again for your help
[G4 General] sdembiske:
Still not clicking the Thanks button? ...

hint

: bottom right of the post where the member has answered and tries to help - it's an XDA courtesy.

Try rebooting your phone with the phone connected with your USB cable (use the original cable that came with your phone, if you have it or failing that try another cable), making sure first that in the USB connection icon pull down on your phone's status bar you have USB to Transfer files checked - then use your Windows adb/fastboot folder to install everything.
[G4 General] jjcdennis:
I tried what you suggested with no success. I'm not sure what happened with my phone, but I cannot access it via Windows Explorer. I have tried everything I can find on the net and cannot find a solution. I got one brief period where I somehow got the phone up and running. I was able to dump some zips onto the root and then access stopped. This is the same for both Win 10 laptops, which both worked fine before fwul. If anyone has any thoughts on how to fix this - please let me know.

The good news is that I can flash via fastboot in fwul by picking a USB stick in adb as the source - I think.

Getting the phone to connect to SALT through fwul is also problematic. Sometimes it connects, sometimes not. Right now its not. Day 3 coming up.

By the way, I have been clicking the Thanks button, but nothing happens. Maybe a Firefox thing. Will use Edge and see if that works.
[G4 General] fackuu94:
Hello people I really need big help....Im from Argentina and my dad get a new LG G4 from other country, is the H81022c version.....It works everything perfect even the camera, but 1 day after he gets all the time the error: unfortunately camera has stopped when use the main camera, because the selfie one actually doesn´t crash the app, also the flash don´t work (it works at first because I tried) I don´t know what to do, I tried everything I find on internet (clear cache and data, restart, put the battery off for a long time, install other camera app, etc), even I open his phone and mine (LG G4 also) and change the cameras because maybe it was a hardware problem but no, my camera still work and his not....So, the only thing that maybe I can do is unlock the phone and install another clean rom, but here is the problem, this model of G4 have Anti roll-back version 3 and it says in your post that is going to hard brick if I perform an unlock with this version, what can I do? I cant return the phone because a friend bring it from other country....I know its a lot and sorry for my bad English but I really need a big help, anything somebody can suggest me, thanks a lot
[G4 General] sdembiske:
"By the way, I have been clicking the Thanks button, but nothing happens. Maybe a Firefox thing. Will use Edge and see if that works"

- Hmm ... interesting that it worked for you on the FWUL thread ... See the 1st attachment. :D

We are getting way off topic for this thread

... last time. If this doesn't help - take your phone or your laptop in and get them repaired or try doing it yourself.

I got a feeling that your facing more than one issue, particularly as it relates to Windows (as well as your own problem solving ability I suspect).

- The USB cable and/or computer USB connection you are using is dirty in the connection slots and/or has a bent or compromised pin. Clean your connection slots/pins with a bit of isopropyl (rubbing) alcohol on a soft clean cloth and use a magnifying glass to check out the connection slots/pins to see if any are compromised and need pins straightened/deoxidized with a non-residue deoxidizer, etc.

- The LG driver you're installing is no longer functional for the phone. If it shows in Device Manager when you're trying to connect it, uninstall it (mine didn't work either after unlocking/using FWUL, or something else, for whatever reason). See the 2nd attachment below for a screenshot of the current driver for my H812 that is working completely. Two things you can try: - in Windows Device Manager, scan for hardware changes and see if it comes up with anything. Turn off your computer, plug your phone in with the USB cable and then turn on the computer and let it install the driver now (It worked on mine).
[G4 General] jjcdennis:
Awesome, unlocked, flashed twrp through fastboot, flashed supersu through twrp.

One question left, re post 1405, I don't want to install a custom rom yet. My understanding is that if I boot the device into MM I don't need to install the baseband or the modem.bin.

Would appreciate if someone can provide some guidance.
[G4 General] jjcdennis:
Sorry about that. I'll continue this problem solving on my own.
[G4 General] ahmed10g:
818p plz
[G4 General] steadfasterX:
ARB 3 and higher can't unlock. Your best chance is waiting for the global LG unlock method made by runningnak3d.

You should re-read the OP. Unless you flash a device specific UsU ROM or kernel you HAVE TO flash the baseband package.

[MENTION=6302635]sdembiske[/MENTION]

You can just use FWUL for fastboot and adb. the windows driver issues are exactly one of the reasons why FWUL exists ;)

In a SALT backup folder you can just right click within the file explorer and open a terminal there. Then the regular fastboot command to flash e.g. the modem. See that just as a side note as you can do all stuff with FWUL more easily. Appreciate your kindly help everywhere as usual :)
[G4 General] DennisO8:
Help! I just bricked my H815 after trying to flash the Nougat Stock 29a rom. I had successfully USU'd and was running the Lineage MM rom for a few days without any issues. I then followed your Nougat rom update procedure by flashing the Nougat Stock 29a 2.1GB zip file by steadfasterX which maintains TWRP recovery, followed immediately by G4_29a_N_modem_UsU.zip & then H815_UsU_baseband_flash-in-twrp.zi. again. Did I do something wrong? After restarting from TWRP I now get nothing on the screen at all unless I pull the battery and plug in the charger which gives me the battery image with a red ! in it. If I put the battery in screen is blank whether charger is plugged or not. I do get a long single vibe when holding power with or without volume down but only immediately after pulling & replacing the battery. No screen activity at all though & I can't enter TWRP recovery any more. Please help me recover my beloved G4. Thanks.
[G4 General] Mahziyar:
Really? It will work for all models even H818P? :D
[G4 General] steadfasterX:
Yes. Well at least it should... but it's in early state and as long as there is no h818 user willing to try no one knows. Atm it's not possible to test that approach as it's basically a PoC in alpha state.

.
[G4 General] steadfasterX:
It sounds you flashed a random file. Did you followed the FAQ 16?? I guess not. The FAQs exist for a reason!!

So your device is very likely in QDL 9008 mode. Verify that by open the windows device manager and plugin your phone to the pc. If the device manager shows qhusb-bulk... then you hard bricked your phone. Next time read the faq and if unsure ask first.

Unbrick solution:

see my signature for the qcom unbrick guide.

.
[G4 General] jjcdennis:
You should re-read the OP. Unless you flash a device specific UsU ROM or kernel you HAVE TO flash the baseband package.

I did read it (many times), but my question was about rebooting the device back into MM after root/twrp/supersu. MM is working fine.

I didn't want to flash the UsU specific Oreo rom until I was really clear on how to do it. I have your Lineage rom which is device specific and will get that install asap. My device is running H81220z.

And thanks for these awesome tools. I am really unfamiliar with Linux, but managed my way through to this point.

---------- Post added at 02:17 PM ---------- Previous post was at 02:07 PM ----------

- The LG driver you're installing is no longer functional for the phone. If it shows in Device Manager when you're trying to connect it, uninstall it (mine didn't work either after unlocking/using FWUL, or something else, for whatever reason). See the 2nd attachment below for a screenshot of the current driver for my H812 that is working completely. Two things you can try: - in Windows Device Manager, scan for hardware changes and see if it comes up with anything. Turn off your computer, plug your phone in with the USB cable and then turn on the computer and let it install the driver now (It worked on mine).[/QUOTE]

sdembiske, just wanted to say thanks. I booted up into MM after uninstalling the LG Drivers from my Win 10 PC and restarting. I connected the phone to PC. Sometime later I heard the Windows sound for a connected device and discovered the phone connected via the driver version shown in your screenshot.
[G4 General] sdembiske:
I appreciate the usefulness of FWUL and fully expected that he could use fastboot as I knew adb was available but I had not had to transfer a file into TWRP myself in order to flash it in fastboot, so was not familiar with where to place the file for example, so Thank you for that ...

However, that didn't get to the root of his issue with respect to Windows and given that there are many more users of Windows for most everyday tasks using adb/fastboot and he was very linux unfamiliar, it seemed it would be more convenient for him to not have to boot up a USB flash drive with FWUL on it and then have to reboot back when finished in order to flash something or transfer files to his computer. He was also, from his FWUL posts, using an 8gb drive, using FWUL for his SALT backup and I wondered if he would even have any space at all left on his drive in order to put any additional data on it ...
[G4 General] steadfasterX:
Off topic mode on

-----

That's where our opinions differ.. I made FWUL exactly for users not familiar with windows. For example for fastboot you need to do the exact same (open a terminal type a command from the correct folder) on windows and in FWUL.

FWULs meaning is to provide a useful platform for ppl not using Linux daily while having a stable way to communicate with android devices without driver issues.

So if a user decides to not use my standard base (FWUL) he should ask in another thread.

-----

Off topic mode off ;) - don't wanna go deeper into the discussion now but you get my point I guess ;)
[G4 General] fackuu94:
thanks so much man....So that tool is not out yet right?
[G4 General] steadfasterX:
No.

You can watch the progress and subscribe his current thread here:

https://xdaforums.com/v20/how-to/attacking-quallcomm-rsa-firmware-t3849366

That's for all qualcomm devices and so for h818 as well

.
[G4 General] netready:
Hi Steadfaster, The rom file I flashed from TWRP wasn't some random file, I downloaded it from your download server but obviously it wasn't the right one. This is the link to it, http://droid.binbash.it:8008/stock/LG/h815/29a/LG-H815_Official_v29A_keepsTWRP-LAF.zip. The only step I missed was rebooting into TWRP before a system reboot, as far as I can see. I should've used the UsU one right? Anyway the damage is done and I get nothing when I plug my G4 into my PC so looks like it's hard bricked right? Mainboard change is the only fix is it? I was getting a low battery warning icon on screen this morning as I don't think it's even charging. Thanks.
[G4 General] steadfasterX:
Exactly what I meant. You flashed a random file and not the one linked in the FAQ 16.

As you didn't read that you caused the issue. And it seems you still don't read what I write.. I gave you the solution in my previous reply.

.
[G4 General] jjcdennis:
I have a some questions prior to installing the UsU 15.1 Lineage rom. Thanks for your patience.

My GPT compatibility is H811, but the phone software is H81220z (MM6.0). I downloaded the current UsU H812 Lineage rom. I'm a confused with which rom to install.

1- Have I chosen the correct rom to install (H812)? I read the installation section and saw this comment - If you see a "H811" there you have to flash H811 ROMs later (if no specific ROM is available for your model) This comment leads me to believe so and leads to the next questions:

2- Do I need to flash the modem.bin - H812_20z_modem.zip.

3- Do I flash the baseband package?

Thanks for your help.
[G4 General] sdembiske:
1) Yes

2) Yes

3) No

Refer to post # 1100 - read fully and thoroughly.
[G4 General] jjcdennis:
Thanks sdembiske.

Its been a challenge and I apologize for all the questions. By the way, I have had to go to Edge for this forum, as some setting in Firefox won't allow me to activate the Thanks button. One more thing to figure out.

---------- Post added at 08:09 PM ---------- Previous post was at 07:40 PM ----------

Finally got this thing done. Gotta say, this rom is rom much cleaner than Lineage 15.1 and fast to run. Its great. Thanks for all the help guys.
[G4 General] netready:
Wow, that's a bit harsh maan considering I am a newby to the G4 but yes you are right, it's my fault. I did however, fully read the solution in your signature i.e. "sdcard unbrick 9008/QDL (any qcom device)" BUT I get nothing in Device Manager when I connect my G4 and thus my previous comment to try and get a bit more help with this. When I used SALT to try and take a backup of my stock MM ROM prior to UsU'ing it failed every attempt (3-4 times), but I went ahead and UsU'd successfully anyway without a backup. Subsequent flashing of the Lineage MM UsU ROM worked perfectly and I have a good TWRP backup of that as well as a 'bitsa' backup of my Stock MM ROM taken in TWRP (as System and Data partitions failed to backup in TWRP) but System & Data backup was successfully taken with "Online Nandroid" (Android app) backup. So I have a couple of questions about the "sdcard unbrick 9008/QDL (any qcom device)" method...

1. As my G4 is not being seen at all in any way in Device Manager, will this still work for me?

2. In step 3 what is this "KDZ" (assumed it was my Stock MM backup but which didn't work) and where do I get it to be able to extract it (sorry for my ignorance but again the G4 is totally new to me)?

Would really appreciate some further help with this. Thanks!
[G4 General] steadfasterX:
I may sound harsh but it's often enough that ppl do not read. That has nothing to do with owning a device newly or not.

Just writing down the OP and the FAQ took a couple of hours so even when you're new to the g4 it doesn't explain why you haven't read the FAQ. I understand that UsU itself is not self explanatory (that's why I invested so much time in the FAQ and OP) and as its new for all users all have to learn at the same level entry.

Anyways peace...!

When you get nothing in your device manager it can't be solved like that. Try the same again when taking out the battery (so take out battery, open device manager, connect phone with pc, watch device manager). If the qdl 9008 qhusb still don't popup you are f.... but there is always a way don't worry. ;)

What is your exact phone model? The g4 comes in 10 different models so what's yours (I may have over seen that if you mentioned already).

.
[G4 General] netready:
The model I believe is MRA58K or H81520g. Thanks for your help, much appreciated!
[G4 General] netready:
Nothing in Device Manager even after removing the battery. I do get the battery icon on screen with the ? in it though. After putting battery back in still nothing.
[G4 General] steadfasterX:
Ok so a h815. That's good as you can unbrick by QFIL which is potentially a HIGH risk but I have identified valid files for the h815 which can be used without harm

You just need to follow this guide:

https://xdaforums.com/g4/general/guide-proper-h815-unbrick-qfil-files-t3709212

and replace the UsU files like I mentioned in my post #2 (in the linked thread) there!!

Any further questions/related issues for that special unbrick in that thread pls.

.
[G4 General] roberto888:
Hi!

I am writing in need of help. I have a H815 G4 UsU'd, and it was working well, until I flashed the stock Nougat V29A rom to replace Lineage. Now no matter what Modem I flash, I have no cellular service, and my IMEI is null. I have lost my SALT backups so can't restore either. Not sure if it helps, but in SVC menu most of the fields say "Should be implemented". I attach screenshots for you. My phone has an ARB of 0. If you need any logs, let me know. Thank you for your help in advance!

https://i.imgur.com/opWoM1k.png

https://i.imgur.com/GAlaSuO.png
[G4 General] netready:
Thanks heaps, will give this a go tonight! :fingers-crossed:
[G4 General] bayr691@gmail.com:
I'm planning to UsU my F500l. After UsU my device will have ARB02 right? but in previous poc thread you said that "you may still have non fusing device". So it means my F500 can be un unlocked??? Also Can i install H815 roms? i know it's depending on which GPT compabilty. But i still confused. However can i use virtual box for linux (FWUL)?i'm noob for linux.
[G4 General] steadfasterX:
the hidden menu mentions of not implemented can be ignored. LG decided to not show everything correctly so..

have you taken a TWRP backup? its ALWAYS recommended to do a backup before doing such critical operations like flashing a new ROM.

You can flash random stuff but as long as you do not tell what you flashed and tried its just guessing.

Try this first:

Flash stock nougat as written in the FAQ #16

Flash stock nougat kernel as written in the same FAQ linked post

> After UsU my device will have ARB02 right?

yes and no. ARB is realized in several parts of your bootloader and 1 of these is increased. Thats why it is important to not flash a KDZ/TOT after UsU'ing.

> but in previous poc thread you said that "you may still have non fusing device".

Non-Fusing devices are SPECIAL devices. 1 of 1000 models out there are nonfusing afaik. You can find out if you have one by using the hidden menu and search for the ARB. If you see the word "non fusing" there its obviously nonfusing.

> So it means my F500 can be un unlocked?

Regarding unlocking nothing of the above is related.

The only thing you need to know is your current ARB and as you said you have a F500 you have 0 (as long as you do not have a FRANKENSTEIN - see FAQ).

> Also Can i install H815 roms? i know it's depending on which GPT compabilty.

As you said already it depends on your GPT compatibility which is shown in SALT.

> However can i use virtual box for linux (FWUL)?i'm noob for linux

FWUL is made for ppl not familiar with Linux. While you could run FWUL within VirtualBox it is HIGHLY recommended to not doing so for critical operations like unlocking and even for taken backups.

Its easy: install FWUL on a USB stick and boot from it. Its also recommended to use the FWUL nightly for best and most current software.
[G4 General] roberto888:
Did so, nothing changed. Also when I open Settings>About phone>Software info, the Settings app hangs up, then crashes. Says that Baseband version Unknown, Software version Unknown. Typing *#06# in dialer, says that my IMEI is "null".