yashsingh1/xdaforums huggingface dataset:
[G4 General] dianxxyyzz:
I was doing android development for Lg g4 , now my lg G4 is converted to a LS one and wifi dnt work , I do not know if there was any progres about hit phones who are in ARB2 state and wifi and phone dnt work can be resolved now . Any way , last year I saw that flashing problem too , when my H815 was in good order . What i did then to fix flash was to add a service in init.rc to restart media on boot complete . media or mediaservice i dnt remember exact name , but it is somewere in init scripts . Any way restarting media fix flash . But any progres about my problem too?
[G4 General] tim455:
Perfect! Did a bunch of wipes in varying different ways; 'factory reset', 'advance' and 'format data'. Needed to select 'format data' for it to work it seems. formatted. all the partitions are looking good. no more mount errors.

Unfortunately, I've hit another problem. I can install the Lineage OS roms (i've tried 3 different builds), but they will not boot. TWRP will boot regardless of settings (ie selecting reboot to system, or bootloader) and booting with or without holding down buttons... it ALWAYS boot back into TWRP.

Not sure if logs will help:

dmsg1: https://bpaste.net/show/c1884713fda5

recovery1: https://bpaste.net/show/07b92188e30f

dmsg2: https://bpaste.net/show/7b3314433bc6

recovery2: https://bpaste.net/show/e9842426a190

(the second set of logs were saying that I couldnt mount media or something weird. thought that was strange.)

I was going to try to flash the 29a usu zip, but decided against it as I reread the OP and it mentioned not flashing bootloaders, and there was also a file for 29a usu bootloader, so i left it alone

sorry for being an ongoing pain. thanks for all the assistance.
[G4 General] steadfasterX:
Well if it boot to TWRP it's 90% the ilapo catching you.

Which means.. It seems the ilapo boot image may not be made correctly or not flashed correctly or you need to adjust the boot cpus to 0-2.

If you like then share your modified boot image in the X cores thread so I can take a look at it.

For the 29a ROM you should consider to read the FAQ #16 in this thread.
[G4 General] steadfasterX:
UsU works up to including ARB 2.

For the rest no idea but that's not the right place for discussing WiFi issues ;)
[G4 General] tim455:
i think my original issue was trying to replace the boot.img in the zip with my fixed one maybe.

I've created a new boot.img again, using the latest lineage again, then used the command 'fastboot flash aboot aboot.img' to flash the file... and now the phone doesnt respond.

I guess I killed it.

The only thing it shows is when you have a usb cable plugged and no battery, it flashes the NO BATTERY image. with a battery and power, it vibrates when you press the power button to try to turn it on but shows a black screen and the backlight for the screen does not come on.

just realised what i did. flashed the abootimg from abootimg-master as aboot. it's most likely DOA isnt it. (fixable?)

lastly; can you update your guide at https://xdaforums.com/g4/general/guide-create-custom-x-cores-boot-image-t3718389 and write out the correct method of flashing which is probably 'fastboot flash boot boot.img' or something similar so no one else who's dumb does this. I realise this isnt the correct thread for that suggestion, but it will help others.
[G4 General] steadfasterX:
I said DO NOT TOUCH ABOOT - AND - THERE IS A DIFF BETWEEN ABOOT AND BOOT.

Congrats you hard bricked your device. really it's not that hard to read carefully.

Unbrick by the sdcard method in my signature and ensure this time you read carefully and also ensure you read the steps reg UsU in that guide.
[G4 General] tim455:
I know, that's why I'm quite disappointed with myself. :(

When there are no actual instructions, then it is quite hard to follow. I made an incorrect call and screwed myself. Not blaming anyone but me for that one. Thanks for updating the guide now :)

Just so I dont make any further mistakes, my G4 is a TWN (taiwan) variant and does not boot to any screen, it just stays black. As far as I know, it is not detected when connecting to my computer via USB.

Looking mainly at: If your device is not detected like that when connected the external sdcard method will NOT work for you. Presumably I will need to force SDcard mode from that post 2???

I have a 64gb card and will attempt to follow the steps to make a card. (ARB0)

Do I try to use LL/LP KDZ as that is what SALT says I was on, or use MM (as I tried with LGUP before the attempted unlocking) Will it matter? How does ILAPO affect anything in regards to flashing the partitions?

I did take a backup with TWRP when I had that locked /data partition issue. Will this help?

In all honesty, I thought I had totally hard bricked my device already. If I'm able to get it working again, that would be a bonus.

Thanks for the help
[G4 General] steadfasterX:
If that is the case then (as you had read already) this method will *not* work for you.

... just read one sentence later:

Hint --> If you have no sdcard and own a H815 device (only then) you can make use of these validated QFIL process here

As you have a h815 (according to the TWRP log at least. If I see it right you haven't mentioned your main model yet. you said TWN and G4 which also very likely means h815 though) you can can go on with that QFIL guide instead as those files there are tested and verified. Again in that QFIL guide: read and follow post #2 for your UsU'd device!

the ILAPO will catch you when booting (ROM or TWRP) first. after using the above linked QFIL guide you need to ensure you flash the ILAPO TWRP again and as before any custom ROM must have been prepared for the ILAPO as described earlier.

yes for fully restoring the device later it will help you. When you have followed the QFIL guide and restored TWRP you can restore your TWRP backup as well.
[G4 General] whitewolf1608:
Hello, everyone on the forum. Please explain why is TWRP 2 Cores different from TWRP 4 Cores?
[G4 General] steadfasterX:
Wrong thread.
[G4 General] bw03:
I have a Verizon VS986 and it seems I was able to use UsU to unlock my bootloader. See logs here:

http://bpaste.net/show/9483b2468aa3

However, my issue is that I can't get TWRP to flash. I tried twrp-3.2.3-PREVIEW-136_g4_O.img, twrp-3.2.3-PREVIEW-144_g4_O.img, and ILAPO-4cpu_twrp-3.2.3-PREVIEW-144_g4_O.img. Each time I try to boot into recovery, I get the standard android recovery and not twrp.

I've done plenty of TWRP flashes successfully on my Moto X Pure and Galaxy phones but not this LG G4. What am I missing?

Note: this was from my cmd line screen
[G4 General] sdembiske:
From the LG G4 TWRP OP

:

After installing TWRP correctly, you will still have the original LG factory reset screen/menu booting before TWRP, every time. So the correct and only way to get into TWRP with a key combo is to select two times "Yes" in the official LG factory reset menu, and only then you will get into TWRP (It's a restriction by LG. There is no key combo available in some / all / most LG devices to boot directly into recovery and so TWRP).

If that worked go into the reboot menu and choose reboot to recovery again so TWRP should boot up once again

It pays to read the OP ...
[G4 General] bw03:
I'm an idiot. Thanks.
[G4 General] whitewolf1608:
Hello Friend steadfast rX :)

I am asking you for advice if I can check the motherboard numbers, does the motherboard come from European distribution or from outside Europe?
[G4 General] steadfasterX:
Wrong thread again. Stop this immediately and create your own threads. I know that you do not have an UsU device and your are not able to read is also well known. Besides that its well known that you write useless posts so stop it. Last warning .
[G4 General] simmer14:
Sir should i wait for an update on 818p or let it go ?
[G4 General] H815L:
hi

i have lg g4 ver 7.0

model number LG-H815L

i installed software version V29a using lgup

is it safe for me to Unlock?
[G4 General] sdembiske:
V29a is Nougat.

From the

Requirements

section in the OP:

3) Your device firmware must be MM (keep Requirement #2 in your mind when upgrading to MM)

which one? I highly recommend the latest MM version for your model --> but again beware of the ARB (not greater then 2)!

Nougat is not Marshmallow (MM). Might be an idea to roll-back, eh?

It pays to read the OP.
[G4 General] H815L:
ok i just finished to roll-back the device to android version 6.0

my software version is V20p-OPT5-SI ......... is that ok?

i used LGUP to downgrade from [V29a] to [V20p-OPT5-SI] is that ok?

my current Anti-rollback Version is 0

i downloaded this files:

H815_UsU_unlock.zip

H815_UsU_baseband_flash-in-twrp.zip

H815_UsU_baseband_flash-in-twrp.zip.md5

aboot_UsU.img, laf_UsU.img and rawres_UsU.img

do i need to copy those 3 files to the "Internal Storage" or folder "Internal Storage\Download" ?

which ROM do you recommend? and can you give me a url path plz?
[G4 General] H815L:
it worked thank you very much steadfasterX you are the best! :good::laugh::victory:
[G4 General] whitewolf1608:
Hello, but what is deleted?
[G4 General] fmmarotte:
Good morning, my LG h815 is on the fastboot mode screen, when I give the command reboot bootloader ([fastboot reboot-bootloader]

rebooting into bootloader

OKAY [0.010s]

Finished. Total time: 0.280s) it restarts the device for the same fastboot mode screen. The problem is that I do not flash anything, TWP, aboot_UsU, laf_UsU, nothing at all. The message: ([android @ fwul H815_UsU_unlock] $ fastboot flash boot aboot_UsU.img

target reported max download size of 536870912 bytes

Sending 'boot' (2048 KB) ...

OKAY [0.100s]

Writing 'boot' ...

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

Finished. Total time: 0.155s) or what I see is a lock for the unlock. Someone can help please, already a time is trying hard to learn this. I thank you for your attention.
[G4 General] steadfasterX:
what the hell are you trying to do???? there is absolute NOTHING correct in what you are doing. Absolutely NOWHERE you can find the command to flash aboot_UsU. somewhere and for sure NEVER EVER on boot!!!! you would HARD-BRICK your device if it hadn't failed.

The unlock process is CLEARLY described in the OP!

Follow it STEP BY STEP and do not miss ANY of these steps (incl.

backup

) otherwise you will fail!

you need FWUL as described in the OP

you need SALT which is included in FWUL as described in the OP

you need the unlocking files copied to the place as described in the OP

you need to use SALT to flash these files as described in the OP

you need to click "upload log" after flashing and paste the link to the log as described in the OP

you need to ensure you read the OP again! and

again

until you

understand

everything before flashing complete wrong things which will damage your device

if you are unsure on a step or if you do not understand it: ASK and do that BEFORE doing random things. I am online on IRC (which is included in FWUL as well) Monday-Friday or post here.

btw: adb reboot bootloader is the fastboot mode. and fastboot is not download mode.

.-
[G4 General] fmmarotte:
Since October last year, after a wrong procedure my cell phone does not exit the fastboot mode screen, it does not go into download mode, when connecting it simply goes to that screen. I think you do not remember me, we got to talk a few times in that time. You had asked me to read and understand the procedures. I did all this, I have the FWUL, updated, as for SALT my cell phone does not connect, because it does not go into download mode. I apologize, because I still have the same problem, from where am I, what should I do? I am not insecure, I will follow what is said. Please help, thank you.

[IMG="cell phone screen"]https://photos.app.goo.gl/PxpTTa9BwrsYbc7K8[/IMG]
[G4 General] steadfasterX:
Use FWUL v3.0

click the IRC chat icon

say my nickname in the fwul channel -> If I am there I answer if not not.. I am online from Monday-Friday only.

.-
[G4 General] kenfalco_14:
Mod edit:

OP quote removed

Hi, I successfully made UsU, but now the cell network doesn't work. When I tried to enter in fastboot mode I go in the built in recovery mode instead. Have you some idea how I can exit for this empasse?

Thank you in advance.

KF
[G4 General] kenfalco_14:
I made it. Thank you to steadyfaster. You made a so incredible work for the lg g4.

A billion of thanks

Kf
[G4 General] threehappypenguins:
I unlocked an H812 several months ago and successfully flashed a stock Nougat ROM. Everything was working great until now. This past week, it randomly started shutting down. Today, it got to the point where I could no longer boot into the OS. I think I got to the unlock screen once, and then it shut off. Now it simply boot loops. There is no SD card in the phone. I couldn't figure out how to get into Safe Mode from TWRP, so I did a factory reset. Still boot loop. I then did a factory reset + wiped the internal drive, and then reinstalled Stock N ROM. Still boot looped. Tried reinstalling the ROM again. Still in a boot loop. I know LG G4 has hardware issues. However, I can boot into TWRP just fine, the temperature doesn't look crazy at all, and it can stay in TWRP indefinitely without shutting down.

Any ideas as to what to do?
[G4 General] Bcoates84:
:mad:

STOP QUOTE OP. YOU ARE KILLING US WITH SCROLL FEVER. PLZ PLZ MAKE IT STOP.

---------- Post added at 01:09 AM ---------- Previous post was at 12:32 AM ----------

Try to see why it boot loops =

First boot in to twrp, HIT THAT Settings check off 1st Include internal.Then TAP THAT same Check Box and make sure its ON. THEN hit back,Hit Mount THEN Select Storage, Pick internal, THEN Uncheck all, then Re check SYSTEM,DATA,FIRMWARE PRESIST-LG -++MICRO SD (IF AVA)++. Reboot into SYSTEM Then report back to us, ALSO

Did you make a full back up before you installed usu in SALT,??

AFTER possable Fail , look in SALT in download mode to see if any partitions are empty in size. Once your device is detected by salt it should show your phone information. It kinda sounds like you are missing the modem information OR That Box AINT checked lol. You could also flash the ASOP debugger.zip to look at what is missing as well. Let me know What happens. Hit dat Thumbs up :good:
[G4 General] threehappypenguins:
I don't understand your instructions. I went into Settings in TWRP, and I don't see anything about "Internal" in there. Just "Zip signature verification, Reboot after Installation is complete, Use rm -rf instead fo formatting," etc. If I go to "Mount," I do not see "Internal Storage." If I choose "Select Storage" I see "Internal Storage (20901 MB)" there and I select it. But it still doesn't show up in the list. If I go to "Advanced" and then ""File Manager," I can find "sdcard" and access it, and I saw the ROM I put on there, but I don't see any other files. It's as if the ROM never installed anything. Which might explain why the phone never boots up. Also, if I go to "Wipe," I see "Internal Storage" in that list, and I'm able to wipe it again.

Yes, I followed the directions exactly back when I did everything and I did a full back up before SALT.

---------- Post added at 09:42 PM ---------- Previous post was at 09:30 PM ----------

Uh oh. I decided to mount all the partitions you suggested (SYSTEM,DATA,FIRMWARE PRESIST-LG), and then I tried to install the ROM again, but this time the phone shuts off while in the middle of trying to install the ROM and boot loops. Then I tried to go back into TWRP, and it shut off again while trying to enter. So I entered TWRP again, and tried to install the ROM again, and it shut off again.

Also, I just noticed you're from St. Catharines. That is where my husband is from, and I grew up in Niagara-on-the-Lake (Virgil). :)
[G4 General] steadfasterX:
98% the ILAPO. checkout FAQ #14. You could create and flash a 4cores boot image and even for TWRP there is a ILAPO version (yea atm TWRP works for you but that will change on some point).

jfi: when the temparature is fine in TWRP that means nothing at all. It is not wrong it just don't telling anything about if you get catched by the ILAPO or not.

keep in mind that when you flash or just boot a ROM the CPU goes high. Once the ILAPO triggered it doesn't matter what the temperature is afterwards like in TWRP.

The only thing you can do is following the above FAQ and I would suggest to create and flash a 4cores boot image and the ILAPO twrp as well.

so when you flashed a 4core boot image and it continues booting its 100% the ILAPO. If it still doesn't boot .. reduce the cores to 2.

btw: the first 3 digits of your phone serial (sticker behind the battery) are .. ?

.-
[G4 General] threehappypenguins:
I finally got into fastboot, and was able to flash the 4 core image (H811 because GPT compatibility said H811. And I also flashed the 4 core TWRP. However, I don't have an OS (I had wiped everything out) to boot into. So now I'm trying to get into recovery, and I can't now. I can consistently get into fastboot now. Is there a way to boot into recovery from fast boot?

---------- Post added at 03:06 PM ---------- Previous post was at 02:36 PM ----------

Okay, I finally got in recovery, and was able to install Stock Nougat (it said completed), but when I checked the File Manager to look in the internal SD card, it still shows it as blank (with the exception of a TWRP folder). Is this normal? Isn't the operating system supposed to be installed on this? Why is it telling me that it's finished installing, and yet nothing is there. For fun, I tried booting up, and I'm still in a boot loop. But I assume it's because I have no OS? Or does the internal sd populate with files upon bootup?

I also forgot to mention that the first 3 digits of the serial number are 702.
[G4 General] fmmarotte:
Good afternoon, I did as I was told. I do not know if I did it right, it was like this: I joined IRC, fwul channel. I called his name twice and wrote the question. I've never worked on IRC, so I do not know if I did it right. Thank you for your time.

PS. There are writing errors because I'm using a translator.
[G4 General] Bcoates84:
YES I am in St.Catharines ontario canada, I think Steadfester was asking your for what model of phone you have.:laugh: In TWRP in the File Manager What folders are listed in the

dir of / ? Is /Data & /System &/firmware &/persist-lg .... Listed?? Are these files Empty? :D. When a folder is blank, it means u forgot to hit the check box ON in the mount tab resulting in a 0 value = no files. Usually when you flash a ROM it patches the /System Folder unconditionally. Also I really do wonder what folders you are missing. :silly:
[G4 General] threehappypenguins:
steadfastX asked for the first 3 digits of my serial number under my battery. I assume because 5 means 2015, 6 means 2016, 7 means 2017. So while I my serial number starts with 7, I noticed that my battery says 2015. Which is weird.

As for the folders, in the root (I guess it's root?) directory, the one with just the "/" there's:

acct

boot

cache

config

data

dev

etc

external_sd

firmware

license

mnt

oem persist-lg

proc

recovery

res

root

s

sbin

sdcard

And so on. So the folder sdcard is what I'm talking about. That's the internal drive. In there, is the folder TWRP, and the stock nougat ROM zip that I loaded on there using a USB cable and my laptop. When I flash the nougat ROM, "sdcard" (the internal drive) doesn't "populate." By populate, I mean, it doesn't load all the standard folders I'm used to seeing on the internal drive. Such as:

Alarms

Android

DCIM

Documents

Download

Movies

Music

Notifications

and so on. None of that stuff is there. It just continues to be blank except for TWRP folder and the rom zip I loaded there.

I finally figured out how to create a 2 core boot image, and I loaded the 2 core TWRP, and tried to reflash the Nougat stock ROM zip again (and again, it said successful; no errors), and it still won't boot. Just a boot loop. So I am at a loss as to what to do. The internal drive is accessible. So is it not mounted? How do I know the ROM is installing itself? Where can I check? Should I wipe System as well?
[G4 General] tim455:
Finally got back to this phone. It's been a while. Used tweezers to bridge the pins and QFIL'd my phone and now it's working again. (You were indeed correct, H815 TWN)

I didn't really do anything beyond this, so I'm not sure I need to repeat any steps, however, when turning the phone on as normal (or restarting to system via TWRP), it will always boot to TWRP.

I've tried installing the latest L.OS and applying my old fix (for ILAPO), but it seems like something else is amiss.

It feels like it's pretty close, but im just on the last hurdle.

Attached are the logs from a normal/cold boot. not sure if these will help.
[G4 General] treechile:
Hello, I have an H815 non EUR, there are apparently no mirrors on androidfilehost for H815_UsU_unlock.zip, is there an alternate way I can get the files?

Thanks
[G4 General] steadfasterX:
you talk about your internal storage also named /sdcard aka a few different names like /storage/emulated/0

This is ALWAYS empty unless you fully booted Android

bootloops can occur if you have an incompatible modem partition flashed, flashed a non UsU ROM and forgot to flash the baseband or an outdated bootlaoder stack

read the UsU FAQ #20 and upgrade your bootloader stack as desribed

not atm but I can upload them to my leech server next week. AFH have some issues today just try again tomorrow

.-
[G4 General] threehappypenguins:
Yes. Thank-you. That is the information what I'm looking for. I honestly didn't know what was "normal."

Here's what I've done now at this point. I tried creating and flashing a 2 core boot image via fastboot, and then flashing the 2 core TWRP. Still bootloop.

I flashed the v29a N modem and UsU kernel for my device (H812), then went to TWRP and flashed stock N ROM again. Still bootloop.

I flashed N stock modem again, then baseband package for my model. Still bootloop.

I'm currently in the middle of trying to extract my MM and flash that but running into trouble with extraction. I'm trying to extract the kdz with SALT in FWUL, and after a while, I get a popup window that says: "This KDZ has an ARB of: arb-detect-error" and then it says "Select partition(s) to EXTRACT:"

Except there are no partitions to select. And my only options are "Deselect All" "Extract" and "Abort." If I try "Extract," I get the error, "No partition selected or abortioned by user."

I did make sure I had the latest version of SALT. Currently, I'm going through the thread searching for others who had a similar error. Found one so far and you asked for the SALT log. Still looking.

Beyond that, I don't know what to do. I had zero issues with the UsU method originally and everything went fine and has been fine for the last couple of months since I did it.

---------- Post added at 03:30 PM ---------- Previous post was at 02:57 PM ----------

Gave up on salt to extract the kdz and turned to Windows (I know you said not to use Windows). I didn't know what else to do. I was able to extract the .dz, and then extract the modem_32768.bin file. Transferred it to FWUL, renamed it modem_32768.img, and then typed

fastboot flash modem modem_32768.img

Rebooted, and still have boot loop.

I'm going to investigate this bootloader stack thing (I don't even know what that is). But again, I really don't understand why this all worked fine for a couple of months.
[G4 General] steadfasterX:
This has been fixed in v3.22 which is not public released yet but you can switch to the develop channel as described in the SALT FAQ #10 to get the fix.

Ensure you understood FAQ #14 of this thread. Also ensure you understand that the ILAPO suddenly occur and there is nothing else needed then e.g. a phone call to trigger it (depends on the phone state).

FAQ 20 of this thread describes it

Again if (and as said I STRONGLY believe so) you get catched by the ILAPO there is

N-O-T-H-I-N-G

else you can do as those things listed in FAQ#14 of this thread.
[G4 General] steadfasterX:
New LOS 14.1 and 15.1 builds arrived!

LOS

14.1

:

h815

h811

UsU - h815

LOS

15.1:

h815

h811

UsU - h815

UsU - vs986

UsU - h812

UsU - h810

Downloads as usual here:

LineageOS 14.1: click

LineageOS 15.1: click

Cheers

sfX

.