yashsingh1/xdaforums huggingface dataset:
[G4 General] cywhiz:
I have a LG812 from Koodo Canada, and was originally on Lollipop. I went through the unlock process and all went good. However, the lockscreen wasn't working so I decided to flash the Marshmallow modem.

First, I extracted the modem.image file from H81220z_00_0327.kdz using SALT.

Then I typed the following commands:

fastboot flash modem modem.image

fastboot flash boot h812_aoscp_boot_build-44-nougat.img

Now it seems to have stuck in "android" and BOOTLOOPED! I tried flashing the Lollipop modem file from my original KDZ and the H812_UsU_baseband_flash-in-twrp.zip, but no go!

I can still access Fastboot, TWRP, and download mode.

Help! What should I do? What are my next steps? I seriously hope I did not brick my phone!

---------- Post added at 06:12 PM ---------- Previous post was at 05:53 PM ----------

How did you manage to get your phone to boot again after bootloop? Did you just restore your TWRP backup? Also, which 9 files did you flash in fastboot?

Thanks so much!
[G4 General] sdembiske:
You have not hard-bricked ... relax.

Boot into TWRP - do a factory wipe in TWRP

and

a format data > flash the H812 AOSCP N rom > flash the h812-UsU/ kernel from steadfasterX's [KERNEL][UsU][STOCK|TITAN] UsU patched kernel versions thread > flash the MM modem.image file again. In TWRP go to advanced > file manager and follow the steps in this thread: https://xdaforums.com/and...overy-t3530008 to overcome the lock screen issue - it's referenced in the OP by steadfasterX in the Q&A - # 15.

Reboot and enjoy.

See post # 361 to further your enjoyment.
[G4 General] cywhiz:
After doing all that, I got a green screen (full screen). Apps FIQ: XPU Error

Reboot reason: 0x6d3030a gcc_reset_status: 0x3 pon_pon: 0x2000000200a0
[G4 General] adam_s_459_:
Do you have a TWRP backup of your stock ROM?
[G4 General] Korpse:
Testamonial + Praise

Many thanks to [MENTION=5545101]steadfasterX[/MENTION] and contributors for this tool and guides (and for all the other great things such as TWRP-in-FIsH and SALT).

Du verdienst tausend Dank und finanzielle Spenden.

I have a H815P which I was using with a stock LP ROM and TWRP-in-FIsH. I deleted/froze much of the LG bloatware to make it usable.

Everything was working for many months until alerts/alarms/notifications became buggy and the phone app crashed occasionally when receiving calls... haha

It was very convenient that this tool was released shortly before I started having issues. Upgraded to LineageOS 14.1 now :)
[G4 General] cywhiz:
I did the factory reset + format data. I used this file for ROM aoscp_h812-4.1.2-20180315-unofficial.zip

I've tried using modem.image from H81220z_00_0327.kdz, H81220e_00_0112.kdz, and H81210g.kdz, and none of them work now. The original Lollipop modem file from H81210g.kdz worked before I did any modem flashing.

If I flash the kernel, screen will turn green. If I flash the baseband.zip, screen will show android text.

My TWRP contains the following according to the guide:

Boot

Recovery

System (not the image one)

Data

Firmware_Image

EFS

Bootloader

Carrier

Should I go ahead and restore or are there other options? So far I can still access the TWRP, fastboot, and download mode.
[G4 General] adam_s_459_:
In the mean time I recommend restoring that backup until you can get the ROM working. To get past the password screen simply go to data>system> in twrp and delete gatekeeper_password key (or pattern if you use that) and locksettings.db
[G4 General] sdembiske:
You can try the stock backup but do the wipe and data format in TWRP before trying - if it doesn't work, don't freak out. There's a reason - it's a kernel issue for the stock restore (steadfasterX and I have been troubleshooting it and know what it is and how to fix it, but you'll have to be patient and wait a bit, for now). Instead, do what I suggested originally - you didn't mention flashing the kernel I suggested ... do that after the flash of the ASOCP rom before flashing the modem file.
[G4 General] mwahahaa:
So the kernel may be the reason why my twrp restore to lollipop doesn't work properly? If that is the case I will eagerly await the new kernel to flash (I am still unable to get calls through any means with my Koodo h812 unlocked from rooted lollipop).
[G4 General] fil3s:
Deleted
[G4 General] mwahahaa:
You started from marshmallow. Different situation.
[G4 General] sdembiske:
Unlocking from Lollipop seems to present some different issues (Marshmallow is the recommended version in the OP, so to minimize any risk, that's the way I went). As I had upgraded to Marshmallow by first flashing a stock Lollipop version over the rooted Lollipop version I was using and then upgrading, I haven't faced the same issues that some members coming directly from Lollipop have. It may be a combination of modem/kernel/rooting issues but will defer on that one ... it appears at least so far that the kernel for the stock restore may have to match the noted GPT Compatibility of the phone that is displayed in SALT ...
[G4 General] steadfasterX:
@ Mhwaaaha

Marshmallow can be flashed again by fastboot as mentioned in the FAQ. So the only difference if you flash UsU on LP or MM can be the GPT and that's not the case for you.

There are more things coming into play when we need to switch a ROM completely. For example the persistent or carrier partitions and many others. So...

To fully flash MM flash EVERY partition from an extracted MM kdz except (!!) these:

misc

modemst1

modemst2

aboot

laf

raw_resources

recovery

PrimaryGPT / BackupGPT

So skip the above! Flash even those which marked as empty in SALT and ensure you have a SALT backup ofc.

Afterwards you will have a device like you would have after flashing a kdz.
[G4 General] mwahahaa:
Thanks, I updated salt and extracted all the files, but fastboot commands are not completing in FWUL (data write failure bad address). When I try to transfer the files to usb drive for flashing in Windows I keep getting "error splicing file. No space left on device" even though there is plenty space left on both drives. Plus, I cannot delete files on the Fwul flash drive due to permission denied.

I will also as that salt will not successfully extract the kdz, unless I choose the default tmp folder. I was hoping to extract to the usb drive directly.
[G4 General] fil3s:
I started the usu unlock on 5.1 with required files in 'Download' folder in /sdcard, flashed twrp, rebooted recovery flashed ARBv0 bootloader then 29a usu baseband, rebooted to lollipop stock rom. Rebooted to recovery and everything was gravy from there. Not sure when I stated I started on mm except the first rom I flashed
[G4 General] mwahahaa:
You have an h812 or h815? I saw in an earlier post you remarked on being lucky to have an h815.
[G4 General] fil3s:
Sorry for any confusion on my part. H815
[G4 General] ReeS86:
Successfully unlocked my H812 and on the original MM ROM, rooted with Majisk and no issues at all. Thanks a lot for the recommendation to start off with Marshmallow I was on a rooted LP as well and after updating to MM everything went smoothly. As a side note I was able to get a full SALT backup using the MM download mode while the LP one always timed out on the system partition.
[G4 General] sdembiske:
Welcome to the fray - glad it went well. You're cautious like me and do your homework even more ...

If you haven't already, after your successful unlock, do a TWRP backup and a Salt basic backup of your stock MM before flashing anything else ...

I know you like having your LG VoLTE, etc. but I can assure you it's not even supported by Rogers/Fido even though it shows as on in settings. I posted the finding in the Canadian guide thread that my research indicated that no Canadian carrier actually supported it on the LG G4 ... true even for Roger's/Fido, I'm afraid.

I am loving the H812 ASOCP N rom, probably the best and smoothest I have used yet on any of the unlocked phones I have flashed custom roms on. Full compliments/high 5's etc., to Kessaras and steadfasterX for their work on it.
[G4 General] mwahahaa:
I finally got all the files onto my pc for flashing, went through the whole list minus those files mentioned to skip, and now I have a hard brick. No power to phone, cant access fastboot or twrp, not detected by windows, etc. At this stage I guess I shouldn't have expected anything else.
[G4 General] fil3s:
I hope and prey you get it to respond. I'm so sorry to hear that man
[G4 General] steadfasterX:
Well have you checked the ARB? What ARB are the files you tried to flash? I recommended to wait until Tuesday. This sounds like a ARB brick or as mentioned several times a Frankenstein device.

What was your ARB before?

What ARB had the files you flashed?

It's not a problem to recover the phone next week as long as you have respected the ARB.
[G4 General] David X:
I was knowing nothing of linux before I learned to use UsU. Thanks to the detailed instructions on first page, numerous and patient explanations from steadfasterX, you and other friends, I finally unlocked my H812 and it is running very smoothly. Really appreciated. Later if I need to upgrade my H812 to O rom, can you please confirm the O rom I need is for H811

and from http://droid.binbash.it:8008/aoscp/oreo/h811/?
[G4 General] Marsboi:
Hi...I was the same...knowing not much about linux and having a h812 as well....and thanks to SteadfasterX was able use UsU and flash TWRP and N and Root my device...I used this link in the FAQ.

https://xdaforums.com/showpost.php?p=75829995&postcount=98

If you ever deside to try Oreo or another rom let me know how it goes!.
[G4 General] mwahahaa:
Both were ARB 0 (according to SALT). If the mainboard died, would LG be able to tell that the bootloader was unlocked? I was thinking of sending it in to them to see if they will replace the board and start me from scratch.
[G4 General] steadfasterX:
I send it back several times in several states and it was never an issue. If you wanna have tips on what to tell lemme know.
[G4 General] David X:
Thank you for sharing. Sorry I meant to upgrade my H812 to O rom (not N rom, my typo), I need to confirm that O rom is from http://droid.binbash.it:8008/aoscp/oreo/h811/?
[G4 General] sdembiske:
Glad you got there.

Yes, that would be the one (latest version), BUT you should remove the 1st/Assert line in the updater script before flashing it or wait until steadfasterX uploads one for the H812.

However, I personally would wait until some of the bugs are ironed out in the Oreo version and more importantly, steadfasterX posts a kernel version for the H812 to his kernel thread: https://xdaforums.com/g4/development/kernel-usu-patched-kernel-versions-t3763679

Most members reporting seem to feel the N version is the best one to stay on for now ...
[G4 General] අධිරාජ (Adhirāja):
Hi guys,

It's great to finally be back!! :)

Just wanted to find out whether any of you were able to gain more frequency bands after flashing custom ROMs.

Thanks
[G4 General] fil3s:
Flash a room and see.. :mad::good:
[G4 General] Marsboi:
can we flash Magisk?
[G4 General] firefalconw:
You are a legend, thanks

it should theoretically work on H815p, right?
[G4 General] fil3s:
Yes bro if you have ARBv0 (use salt to find out) you should be golden ;)

I have an H815T and had no issues unlocking after carefully reading the op ;)
[G4 General] bdasmith:
Yes once your unlocked you can use supersu or magisk!
[G4 General] අධිරාජ (Adhirāja):
They both do the same thing right?

Glad you got there.

Yes, that would be the one (latest version), BUT you should remove the 1st/Assert line in the updater script before flashing it or wait until steadfasterX uploads one for the H812.

However, I personally would wait until some of the bugs are ironed out in the Oreo version and more importantly, steadfasterX posts a kernel version for the H812 to his kernel thread: https://xdaforums.com/g4/development/kernel-usu-patched-kernel-versions-t3763679

Most members reporting seem to feel the N version is the best one to stay on for now ...[/QUOTE]

[/COLOR]

Boss, you only have to remove the assert line if it's not already optimized for USU method... all the ROMs mentioned in the OP should already be optimized.
[G4 General] sdembiske:
Potential problems with Magisk on AOSCP N ... ?

Thought members should be aware (if not already), of Kessaras' (developer of the rom) comments with respect to the following post on the AOSCP thread:

Something to consider when rooting your ASOCP N rom.
[G4 General] FoxyLove:
I tried Busybox, the free version, and I can't get it work. It says "There was a problem opening a shell with root access. This is either being caused by superuser/supersu or by a device that is inproperly rooted."

For other applications that require root access, they work well. What should I do? Remove Magisk, or do a Factory Reset?
[G4 General] sdembiske:
No problem with Busybox on ASOCP N on an H812 with SuperSU installed. Remove Magisk and download SuperSU-v2.82-201705271822.zip and flash it in TWRP. You can download it from here: https://xdaforums.com/app...lease-t3452703 - choose the TWRP / FlashFire installable ZIP to see if Magisk is the issue ...
[G4 General] Pete_Mitchell:
Any news for h818p?
[G4 General] fil3s:
I don't know if this concerns usu but I'm having an issue with magisk that I can't pass safetynet. CTS profile - false ,integrety check - false

:confused:
[G4 General] floast:
and what about h815TR?
[G4 General] fitztu:
is android pay still working after I unlock?
[G4 General] floast:
deleted

deleted
[G4 General] sdembiske:
You will find the answers, if on ASOCP N or O in: [G4][5.3.1(O)][AOSP] A.O.S.C.P: CypherOS [OFFICIAL][TITAN] - may be relevant even if on Lineage etc.

Use the search bar in the thread for each of your questions. 'safetynet' and 'android pay'
[G4 General] fil3s:
Thx. Im on Mokee aosp 7.1.2 official although I didn't find any info about failed safetynet..

I don't really need it (?) but it would be good to know what [MENTION=5545101]steadfasterX[/MENTION] thinks what is the issue
[G4 General] sdembiske:
If you have Magisk installed, you could try: [Magisk v14.0] Universal SafetyNet Fix | Universal Hide [v2 Beta 5] to fix it if you decide you really do need it.
[G4 General] fil3s:
Tried universal safetynet fix, xposed magisk module fix I found on YouTube, various others.

One guy told me to "reflash stock rom" .. :laugh:

Oh well. :good:
[G4 General] sdembiske:
Reason Safety Net check/Android Pay fails:

"... it is part of the Google Play Services API that is designed to detect modified devices. If your system is tampered with in any way, be it rooted or a custom ROM, the SafetyNet check will fail. Android Pay, among other applications, uses this API and will fail to run if SafetyNet fails." https://www.androidpolice.com/2016/...unlocked-android-phones-android-pay-affected/
[G4 General] FoxyLove:
I can't flash the Magisk-uninstaller from TWRP. I include the recovery log
[G4 General] sdembiske:
Looks like it's having trouble in the boot manager:

! Boot image patched by other programs

! Cannot uninstall

Most likely USU process related - it may not be able to recognize or handle it but will defer to steadfaserX on that.

I think your best bet would be to do a clean flash, i.e., wipe Data, Cache and Dalvik, followed by Format Data in TWRP > flash your rom again > flash the H812 appropriate USU patched kernel (https://xdaforums.com/g4/development/kernel-usu-patched-kernel-versions-t3763679 ) AND the Marshmallow (MM) modem.bin file from your Salt backup or the modem image file extracted from the appropriate MM kdz. Then reboot and run a Root Checker app just to make sure. If no root detected (really shouldn't be after doing all that), reboot into TWRP and flash SuperSU.

Make sure you backup your data first (e.g. Titanium Backup) and if any pictures etc on your external SD card, copy them over to your PC/laptop or whatever, as you will lose it and remove your screen pin/password/gesture/ screen locks (you can put them back in after).
[G4 General] FoxyLove:
I can't access to your kernel link; I get a 403 Forbidden error
[G4 General] sdembiske:
Try the link again - I just replaced it in my original post - working now.
[G4 General] FoxyLove:
Your link still don't work, I get the same error
[G4 General] sdembiske:
Worked when I tried it just now: https://xdaforums.com/g4/development/kernel-usu-patched-kernel-versions-t3763679

Did you refresh/reload your browser page? Don't use the one you copied from my post into your post.
[G4 General] FoxyLove:
When I flashed to Nougat stock rom, I lost all datas in my micro SD card. At least I have a backup of TWRP backups in my computer.
[G4 General] sdembiske:
I did say:

Make sure you backup your data first (e.g. Titanium Backup) and if any pictures etc on your external SD card, copy them over to your PC/laptop or whatever, as you will lose it and remove your screen pin/password/gesture/ screen locks (you can put them back in after).

Always try to do keep a

complete

copy of your SD card on your PC/laptop before doing a clean flash ...
[G4 General] Tros13:
Connect VS986

Hi all,

First attempt ever rooting a device and would appreciate some help! I have tried this with LG_VZW_United_WHQL_v2.22.0, LGMobileDriver_WHQL_Ver_4.2.0, and all drivers from the phone itself from rotating between all possible connections to my PC debugged and not + connected in download (lgvzandnetbus64, lgvzandnetdiag64, lgvzandnetmdm64). I can mount the device in VB ArchLinux64 in the modes other than Download, where I can't find the device at all nor does SALT detect it.

Any advice on how I can get this working? Also my first time using Linux, so actual commands would be much appreciated!
[G4 General] steadfasterX:
ah damn i forgot..

(dont feed the troll, dont feed the troll, dont feed the troll, dont feed the troll, ..... )

Use FWUL. Ask FWUL related questions in the FWUL thread then.
[G4 General] Tros13:
Sorry, thanks. I just figured since this just happened for the G4, more people were probably in here and maybe someone would be working through with the same phone. Not trying to troll. when you have 15 tabs open for like 5 hours trying to figure out java and linux on top of the actual problem, I didn't happen to remember not to post here for that.
[G4 General] KennyG123:
Doesn't this also describe moderators? :eek::eek::eek::silly:
[G4 General] bdasmith:
Lol! At least you have a good sense of humor!

---------- Post added at 05:38 PM ---------- Previous post was at 05:33 PM ----------
[G4 General] TheDerpyLlamas:
So, this would work with arb>2, but recovery would be nearly impossible if something went wrong?
[G4 General] steadfasterX:
Read the OP again. Topic "Requirements" point 2)
[G4 General] TheDerpyLlamas:
Sorry, the way it is worded confused me.
[G4 General] steadfasterX:
Sorry for the confusion.

The important part and all you need to know is:

2) ARB less or equal

2

-

UNTIL FURTHER NOTICE THIS IS THE MAX ALLOWED ARB!!

Means if you have ARB 3 or higher no chance to use UsU.
[G4 General] TheDerpyLlamas:
The part that I screenshotted confused me, (needs a period after brick.) but hopefully there will be a way for people with ARB ≥ 3 in the future. Thank you for all of your hard work.
[G4 General] steadfasterX:
Yes I know that have been removed already
[G4 General] fil3s:
Just a sidenote that gravity box xposed module allows easy easy access to the quick reboot app

I have it setup on N to easily long press the home button to open it, for sticky situations ;):svetius:
[G4 General] stsz1954:
Hi. I have a LG G4 H812. I have successfully unlocked the device. The only things I haven't done are flashing a root app and a rom.

Upon reboot, I am getting notifications from TWRP asking me to update. Should I do it? Since I have a H812 device, can I flash any of the H811 roms in the downloads section? Thanks for any advice.

PS Which is the better root app SuperSu or Magisk for this device? What is the ideal version of Magisk?
[G4 General] Derpthunder:
I managed to unlock my H815 on Monday using this method, then root it with SuperSu and flash Cypher OS 5.3.1 on Tuesday. All went smooth.

Some feedback about the manual in the OP:

Since from a layman's view O is neither N or MM I did not do that re-flash from the quote above so my Cypher OS 5.3.1 based on Android Oreo 8.1 kept bootlooping at first after installing it through TWRP. To solve the problem I installed the ROM again and flashed the baseband package both before and after the process (to make sure it's sitting there

flashed

to be able to then be

re-flashed

- not sure if that made sense, though). It would be nice to clarify both the "flash baseband > flash ROM > flash baseband" cycle, plus whether the 8.1 Oreo baseband package reflashing is a requirement at all (maybe I did something wrong).

and then:

There's no G4_UsU.zip file in the downloads, only the <model>_UsU_unlock.zip so I guess that's the one. Turned out to be correct but it'd be great to have it corrected in the manual to keep things consistent. Especially with this many things to download.

I had no other cable around so I used my docking station (the type that you can't salvage the micro-USB from) so the phone had it's back cover snapped on, then a case on top of it, and then all of this was plugged into the docking station with no way of removing the back and then the battery without unplugging it from the dock first. Turns out it didn't matter that I did everything wrong in these two steps - unplugged the dock from the pc first, then the phone from the dock, then took out the battery. Giving it a second thought, I have no idea how would that order matter anyhow. Still, it was rather stressful at the time.

None of the above influenced the perfect outcome which is an unleashed H815 - it's all just small remarks.

As I said in the PoC thread, I'll test the phone for a bit now and throw my pizza money at SteadfasterX once I'm done. If he were your rl buddy you'd feel obliged to at least get him a pizza for this big of a favor so I think about that donation button as a means to place the order.

Thanks again, SteadfasterX and everyone that contributed. This must've taken quite some skill and effort.
[G4 General] sdembiske:
If you are on TWRP version: twrp-3.2.1-PREVIEW-109_g4_N.img downloaded from the OP, then there shouldn't be any need to update at this stage. I am presuming you installed the official TWRP app and that is where you are getting notifications from?

Yes, you can flash any of the H811 roms in the OP download section. It would be a good idea to establish a habit of removing the 1st/Assert line in the updater script in roms that are not specifically for the H812.

It is a matter of personal preference whether SuperSU or Magisk is installed. I stick with SuperSU personally as there seem to be certain issues with Magisk on some custom roms (random reboots, etc.). I find that with SuperSU plus Xposed installed, I get what I need.
[G4 General] LightingZ:
Is it possible to port this to newer devices like G6?
[G4 General] abc360:
Hi,

vielen Dank für die Antwort. Ich hoffe ich kann hier auch auf deutsch schreiben, ansonsten bitte Bescheid geben. Also ich habe alles nochmal frisch gemacht (SALT hat mir H811 angezeigt bei GPT compatibility, bei Device LS991). Salt ging sauber durch. Recovery ebenso sauber. Baseband habe ich vom H815 genommen und konnte LineageOS H815 erfolgreich flashen. Jedoch bootet es nicht. Es kommt in den Bluescreen (Soc). Kann ich das Handy irgendwie noch retten oder ist es tatsächlich schrottreif? Vielen Danke für deine Unterstützung.

Grüße

---------- Post added at 12:04 PM ---------- Previous post was at 12:03 PM ----------

TWRP zeigt mir übrigens weiterhin 3[][][] an auf dem Rechner.
[G4 General] steadfasterX:
100% no.

https://xdaforums.com/announcement.php?a=81

--> rule 4

Share your SALT log!

Unlock and directly after unlocking you should see a popup about sharing the log (I know NO ONE read that so its not just you).

do not close SALT until you have that log! If you see no popup to share the log do it manually by doing: Advanced Menu - debug log - upload button - share the link

-
[G4 General] Bankai83:
[MENTION=5545101]steadfasterX[/MENTION] >

Is there a chance that you release in a next future UsU for ARB equal to 3 (my case) ?

Thanks