yashsingh1/xdaforums huggingface dataset:
[LG G8 Guides, News, & Discussion] TPMJB:
For now. We had a weird method in the LG V30 dubbed the "Frankenstein" method that allows everyone to crossflash to the US998 model which is completely unlocked. I picked up a sprint LG V8 that has some issues with the radio as it has problems connecting to wifi but not cellular (as far as I'm aware).
[LG G8 Guides, News, & Discussion] antintin:
Up until the lg sdm 855 devices, there weren't as many cross flash locks. Now there's some hardware ones that are checked every boot

---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------

I actually noticed a WiFi issue as well, but after flashing the havoc gsi it seems to be largely gone.
[LG G8 Guides, News, & Discussion] TPMJB:
...why make Hardware locks? That's so incredibly stupid of a company like LG. Though it's quite clear they never cared for us to begin with, seeing how we have to jump through hoops to install custom roms.
[LG G8 Guides, News, & Discussion] traybourne:
I just went through the steps in this guide and can confirm I was able to successfully unlock the bootloader and gain permanent root on my Sprint G8. I did encounter a couple issues though.

1. My phone kept rebooting at random points while trying to backup my current partitions with either the backup script, or manually executing the 'dd' commands. I think I was eventually able to backup all partitions, but it took a few tries.

2. I believe the file names xbl_a.img and xbl_config_a.img should be xbl_b.img and xbl_config_b.img for the commands in steps 3B and 3C as that is what they are named in the provided zip. Not a big deal, but could cause some people issues if they are not paying attention

3. My touchscreen does not work in TWRP, and I had to connect a USB mouse to use it. Not sure what is wrong there, but any help would be much appreciated.

Also my phone got an OTA update notification when I booted into the OS after completing everything. I'm guessing I should not install any OTA updates after unlock and root? What's the best way to update, or should I stay on 20d for now?
[LG G8 Guides, News, & Discussion] BrandonB1218:
1. This is unfortunately, not uncommon due to the method used to temproot. It's not 100% stable. There are some things you can do to potentially get it more stable as discussed in the temproot thread, but it's not perfect.

2. You are correct. I neglected to update this part of the guide. I will fix it ASAP.

3. The touchscreen should work without any issues at all. None of us have had this problem. I will ask someone more knowledgeable to chime in on this one to see how we can get this resolved.

I would strongly recommend against doing any sort of OTA. You could technically do it and switch back to your other slot and reflash the patched boot image, however I do not have a patched 20f boot image and dumping yours would be difficult if you can't boot to Android afterwards. There may be other complications caused by doing an OTA that I'm not aware of as well.

Edit:

To answer your question about updating: If you can get a full 20e dump, you can flash it as described in the guide under the step "Flashing 20d". I would not recommend upgrading to 20f just if for any reason you need to remain vulnerable to temp root.
[LG G8 Guides, News, & Discussion] brigantti:
The issue with touch not working on twrp it can be bypass if you just enter recovery with buttons combo and it works fine.thats how i did it
[LG G8 Guides, News, & Discussion] BrandonB1218:
Ahh yes, this problem. For some reason, the touchscreen does not function 100% of the time when rebooting to recovery via adb or via Magisk or some other software method. Key combination is required.
[LG G8 Guides, News, & Discussion] traybourne:
Yep, that worked for me too. Thanks for the help!
[LG G8 Guides, News, & Discussion] antintin:
Another thing: you can enable fastboot in android 10 on your active slot by completely deleting the laf partition of your active slot. Go to a root explorer: dev -> block -> bootdevice -> by-name ONLY delete the laf of your active partition, and make sure to have a backup first, which you should have if you ran the backup script. ALSO make sure that in the block folder, you go to bootdevice and not by-name. There is a by-name folder both within the block folder and the bootdevice folder, but you only want to open the one in the bootdevice folder. Solid explorer was not showing the bootdevice folder for me for whatever reason, but I switched to another file explorer and it worked fine. Then, you can enter fastboot with the way you would normally enter download mode. You'll be missing download mode now, but its practically useless for sprint users anyway, and you can always flash it back within fastboot.
[LG G8 Guides, News, & Discussion] siulmagic:
edit:Wrong thread disregard this.
[LG G8 Guides, News, & Discussion] jeanC26:
It work in att variant?
[LG G8 Guides, News, & Discussion] antintin:
Don't try this guide; you need different xbls. Vlad48 has the correct ones, and if you have stable temp root, the guide is the same except for using at&t pie xbls instead of sprint xbls
[LG G8 Guides, News, & Discussion] jeanC26:
Ook thanks bro! Am please make a guide for att version
[LG G8 Guides, News, & Discussion] lentm:
Does LG Pay work after bootloader unlocked and rooted? Can someone confirm?
[LG G8 Guides, News, & Discussion] Shtiff1:
I know Google pay does.
[LG G8 Guides, News, & Discussion] antintin:
Yes, but are you using the props config module? And what other modules? If you install edxposed or some other modules, you're SafetyNet will break regardless
[LG G8 Guides, News, & Discussion] Shtiff1:
No, only module is system less host for adaway. I thought that I might need props config, but if turns out I don't. Running good here!
[LG G8 Guides, News, & Discussion] x3malex:
Amazing work, thank you!

Are there any prospects of this process becoming simplified in the near future? I'd like to but I'm not sure of whether I should attempt to brave this guide at the moment...
[LG G8 Guides, News, & Discussion] BrandonB1218:
Vlad48 mentioned there may be a simpler way to do this but nothing confirmed. This may in fact be the only method besides firehose which we do not have and may not get. If you'd some some assistance, I'm happy to help. The guide is somewhat long and it looks complicated but it's really straight forward and easy once you know how to do it.
[LG G8 Guides, News, & Discussion] BenG7:
Hi

Nice! This is one step in the right direction;

I'm considering buying this phone but I would like it to run LineageOS; now i suppose this depends on the popularity of the phone...
[LG G8 Guides, News, & Discussion] antintin:
You can always use gsis... The chance that we'll have a solid lineage os is small. If you want that buy the v50
[LG G8 Guides, News, & Discussion] BrandonB1218:
I wouldn't be so sure. If we get good V50 ROM's it would be trivial for the same dev to port to the G8 provided he/she has someone to test it and provide logs if any boot issues arise.
[LG G8 Guides, News, & Discussion] antintin:
Markus would be the v50 dev, and he hasn't ported anything to the g series in the past
[LG G8 Guides, News, & Discussion] Maleko48:
Soooo, how can we translate this to the V60 (or who do we have to pay off?)? A rooted / BL unlocked V60 would be the best thing ever. Either way, exciting times, congrats!
[LG G8 Guides, News, & Discussion] siulmagic:
Lg pay detects root, so it does not work. i dont know if it will work even if you bootloader unlock but dont flash magisk.
[LG G8 Guides, News, & Discussion] Pino13:
Thanks for the hard work.

I'm on 20f,what are the chances that my other slot is on a lower version? I never messed with the slots I didn't even know that this was thing until now.

Do I really need to reset the phone just to check the other slot version?

Sorry for the noob questions.
[LG G8 Guides, News, & Discussion] traybourne:
I was also on 20f and my previous slot was 20e. You're other slot is most likely a lower version too. You will have to factory reset you're phone after switching slots though, since the phone will get stuck at a startup PIN screen after booting.
[LG G8 Guides, News, & Discussion] kevin_bouchard:
First awesome work to everyone involved. I was able to follow the process and it went smoothly (on 20e).

I did ignore the warning about the touchscreen and tried to reboot recovery from within TWRP and my touchscreen didnt work ;). I just happened to have an otg cable handy but I could see this ruining someones day(though your phone isnt bricked by any means, just have to wait for the battery to completely drain so it turns off).

[MENTION=4031280]Pino13[/MENTION] and others considering this and are currently on 20f.

Yes like traybourne said, likely your other slot is an older version. However time is running out to check as the second Sprint pushes another OTA update it will overwrite the unused slot.

I was/am on 20e and had disabled auto-update/checks/etc as soon as I had went to this version. When Sprint pushed 20f, my phone still showed me the new update and pre-installed it on the unused slot(despite setting it not to). It didnt switch the slots but effectively if I was already on 20f and they released 20g, then there would have been no going back.

I've noticed the built in disable feature for apps doesnt work so I wouldnt trust this to block future OTAs either.

On a diff note, once the process is done, can we reflash the regular bootloader on the unused slot or is the dev one still needed for something?

Maybe I'm just being paranoid but it would be nice to flash test roms on the unused slot and then one can just switch back to the old slot if there is a problem. Or is this required to keep fastboot? Is there any other reason to keep it around?
[LG G8 Guides, News, & Discussion] antintin:
You can always force reboot with vol- and power by the way. I've needed it a whole lot of times... And yes, I'm pretty sure the dev one is still needed
[LG G8 Guides, News, & Discussion] kevin_bouchard:
Great to know, I searched for a good 30mins looking for a way to power down with no luck ;).

I'll keep it around then. Thanks.
[LG G8 Guides, News, & Discussion] Shtiff1:
I know Google pay does too. I got it to work without detecting root. Not sure if these apps use different methods.
[LG G8 Guides, News, & Discussion] Pino13:
Yes, my slot B was 20e.

Yes, after 2h of work I was able to complete the whole procedure, thanks everyone involved.

Can't believe I went through all this just to change my APN settings, freaking LG and Sprint!!!!
[LG G8 Guides, News, & Discussion] BrandonB1218:
As far as the touchscreen goes in TWRP, you would not need to wait for your battery to drain. Holding down the power button and vol - to shut the phone off works as well, then just use the key combo to enter recovery.

Keeping the engineering bootloader is required to retain fastboot. Additionally, the original method involved flashing back stock images (I don't recall exactly what) which resulted in an immediate brick. Something to do with signature checks. Someone more familiar with the original method will have to chime in to explain exactly what caused the brick.

Also if you ever flash over your boot image, you'll lose magisk and twrp. You would then need fastboot on your other slot to reflash a magisk patched boot image.
[LG G8 Guides, News, & Discussion] Pino13:
I guess root is not enough to be able to change my APN, the old trick with 2 command lines on build.prop doesn't work.

Any idea on how could I remove this APN editing restriction, now that I have root, without the service code from Sprint?

Thanks
[LG G8 Guides, News, & Discussion] siulmagic:
You need the eng bootloader , no matter what. pretty sure if you reflash the regular bootloader you phone will not boot unless you relock it. But i would ask vl48 on telegram he knows alot more about this than i.
[LG G8 Guides, News, & Discussion] BrandonB1218:
Check out the first reply from piggy on this reddit post, it may work for you. https://www.reddit.com/r/lgg8/comme..._source=amp&utm_medium=&utm_content=post_body
[LG G8 Guides, News, & Discussion] siulmagic:
Root is enough, but not on this phone because of avb, if you modifie anything on your system partition while this is active, you will effectively brick your device, im not sure if even a kdz would save it.(sprint does not have them). So yea in order to modifie your apns you need to modifie the system partition, and to do that safely you need BL unlock and disable dm verity.
[LG G8 Guides, News, & Discussion] Pino13:
I have used that before, on Pie, and it worked great, however it doesn't work on Android 10, the app opens the "add APN" screen, but then every single field is greyed out and there is no way to edit them.

Yes, I have BL unlocked, root and dm verify disabled. How can I add an APN with that?

Thanks!!
[LG G8 Guides, News, & Discussion] BrandonB1218:
I don't know the answer to that specifically but check this out https://android.stackexchange.com/questions/170634/where-apn-configs-are-saved-in-android
[LG G8 Guides, News, & Discussion] siulmagic:
You can actually use the volte fix i made today, it will provision your sprint g8 to tmobile, and this will let you modifie your apns to you hearts content in settings. if you need help pm me here or on telegram.

Edit:This guide had severe mistakes that i did not notice, i made a new guide here https://xdaforums.com/lg-g8/development/sprint-lg-g8-tmobile-volte-fix-t4113291
[LG G8 Guides, News, & Discussion] Pino13:
This was very helpful, I was able to change my APN using SQL editor and editing file /data/user_de/0/com.android.providers.telephony/databases/telephony.db

LTE working now!

Thanks!

I will give it a try when I have some time, would be good to have it provisioned to Tmobile.
[LG G8 Guides, News, & Discussion] AZN2000:
Because the Sprint variant of this has been unlocked and rooted, can we expect the same for T-Mobile variant?
[LG G8 Guides, News, & Discussion] alobnial:
Hi guys, just joined in to find out if any of this procedure can help to fix my LG G8 LMG820UM, current version 20d, already in Andorid 10, that is currently lock in bootloop. Don't know exactly what was the original carrier as I just bought it locally unlocked. Appreciate any help. Thanks!
[LG G8 Guides, News, & Discussion] siulmagic:
Check the temp root guide, if it is supported then technically yes, you have to ask vl48 on telegram.

---------- Post added at 07:27 PM ---------- Previous post was at 07:25 PM ----------

if you can access download mode, you can most likely switch slots with lg laf tool and recover the phone.

follow this guide https://xdaforums.com/lg-g8/how-to/people-trying-beta-want-to-revert-t4011925.
[LG G8 Guides, News, & Discussion] EmergencyUndies:
So I followed the instructions and made it to the final step without any hiccups. I have the bootloader unlocked and TWRP but when booting to system my device gets stuck at the sprint logo and never fully boots. I am trying to figure out my next course of action, I am not sure if it is to try to factory reset somehow or if there is something I should try to flash or wipe from within TWRP.

Other info that might be helpful:

- I can't reboot to the boot loader on slot b but I can get to the bootloader on slot a if i switch slots (using TWRP), my firmware and everything is on slot b.

- I did make one mistake in the final step "Magisk-v20.4.zip, followed by a reboot directly to TWRP. Next, flash Disable_Dm-Verity" where i accidentally let it boot to system in between flashes.

- i have the lg g8 thinq sprint, from what i can tell this guide was for that phone but there are a lot of version and I may be confused.

I apologize for my noobness and any help would really be appreciated!
[LG G8 Guides, News, & Discussion] antintin:
You can try to wipe data and system, and then flash the system 20d img (or your backed up one if it's different). If it persists, I recommend you join the telegram group, ask for the entire 20d backup, go to slot a, and fastboot flash all the partitions
[LG G8 Guides, News, & Discussion] EmergencyUndies:
First of all, thanks so much for the reply!

I assume by system 20d image you mean system_a.img from the g820um20d.zip that was provided with the guide? Also I have the "bare minimum" backups from step 2, but my phone was rebooting during the backup process so I didn't get all the files backed up. I was originally on 20e, so I am wondering if I should try flashing the sytem 20d image or just skip this step, and go straight to fastboot flashing the entire 20d backup.

From what I can tell this is basically doing the same thing as in "Step 4b, Flashing 20d" correct? thanks
[LG G8 Guides, News, & Discussion] antintin:
Yeah it's the same; didn't read the whole guide sorry. You should go to your engineering fastboot slot and then fastboot flash all the 20d imgs to the OTHER slot. So if you're on slot a in fastboot with the engineering bootloader, you want to do "fastboot flash system_b system_a.img" of course flash it to system_a if your fastboot is on slot b. Repeat this for all partitions, and I think the names for partitions and files should all be lowercase, but do it according to the file name if it doesn't work (like OP_a). Some of the larger partitions will first appear to fail, but just wait for a while
[LG G8 Guides, News, & Discussion] EmergencyUndies:
Ok so I went through and fastboot flashed all the images. I flashed sprint20d_magisk_patched.img instead of boot_a.img and ran "fastboot erase userdata" and "fastboot --set-active=b" like in the guide (which maybe was a little ambitious). When I booted I made it to a screen that reads:

"Decryption unsuccessful: The password you entered was correct but unfortunately your data is corrupt. To resume using your phone, you need to performa a factory reset..."

and then there is a button that says "reset phone"

This seems like progress, but I am not sure where to go from here. I am assuming the reset phone button isn't smart to click? thanks again!

Edit: I am just now realized the g820um20d.zip might not have included the entire 20d backup. Should I still try to get a backup from the telegram group?
[LG G8 Guides, News, & Discussion] Shtiff1:
Did you reset?
[LG G8 Guides, News, & Discussion] EmergencyUndies:
No not yet I just left it on that screen haha
[LG G8 Guides, News, & Discussion] Shtiff1:
Edit: I am just now realized the g820um20d.zip might not have included the entire 20d backup. Should I still try to get a backup from the telegram group?[/QUOTE]

Yes

---------- Post added at 04:01 AM ---------- Previous post was at 03:59 AM ----------

If I remember correctly, mine said that to and I hit Ok.
[LG G8 Guides, News, & Discussion] brigantti:
I pm you
[LG G8 Guides, News, & Discussion] EmergencyUndies:
Ok the file i was sent was the same one I had tried originally so it appears the one from the tutorial is in fact the full backup.

I tried that and after being stuck on the sprint logo for what seemed like an eternity, (but was probably like 15 seconds) it did actually boot to system successfully! I am going to check to see if i have root still and then go from there. Thanks!
[LG G8 Guides, News, & Discussion] avryabov:
I have 20d on my TMobile G8, and got temp root.

Could you please prepare a similar instructions for TMobile G8?

I'm ready to donate $30 for it.
[LG G8 Guides, News, & Discussion] antintin:
They're basically the same; please join the telegram group so we can assist you a bit better
[LG G8 Guides, News, & Discussion] EmergencyUndies:
So after all the awesome help I received I was able to successfully get root on my phone! Thanks so much to everyone who assisted! A word of warning to anyone else trying this process: After I flashed the disable_DV-Verity zip in the final step of the tutorial, when I rebooted my phone, it hung on the sprint logo for about 5 minutes before continuing on to the setup wizard. If you get to this step and it hangs at the sprint logo just be patient instead of assuming it is frozen like I did :D

So now that I have root, has anyone tried installing project treble and using lineage os?
[LG G8 Guides, News, & Discussion] antintin:
Just install gsis like havoc
[LG G8 Guides, News, & Discussion] BrandonB1218:
I know you already have resolved your issue but I wanted to mention that the 20d backup I linked in the guide is indeed a full 20d backup, it just doesn't have user specific partitions that contain things like your IMEI n' stuff.
[LG G8 Guides, News, & Discussion] EmergencyUndies:
Well it looks like Lineage has an unofficial gis. I was just wondering because I came across a tutorial that led me to believe you had to enable treble by flashing something, but from further research it doesn't look like this is necessary.

What does appear to be necessary is uninstalling magisk and any other "heavy modifications" and use the stock boot/ramdisk. Uninstalling magisk seems simple enough I can just do it from the app, but I am curious if i need to like uninstall or re enable the disable_dm-verity thing, and if so how would this be done? Thanks.
[LG G8 Guides, News, & Discussion] EmergencyUndies:
So I tried just uninstalling magisk and flashing a gsi ROM and it definitely did not work for me, so I re-flashed all the backup partitions again. At this point I am just going to be happy with a rooted phone and stop tempting fate lol.
[LG G8 Guides, News, & Discussion] antintin:
You don't need to do all that to flash gsis. You just factory reset in twrp, then force reboot with the key combo back into twrp, and then you wipe all the cache partitions and system. Then install your gsi as an img as the system
[LG G8 Guides, News, & Discussion] siulmagic:
No need to reboot after wiping data, just wipe data, flash havok gsi or the one of your choice and reboot, be aware some oem gsi requier more patches/fixes in order for them to boot. Also some of them will require your se linux to be permissive.
[LG G8 Guides, News, & Discussion] superstudinor:
Will this not work with 20f?
[LG G8 Guides, News, & Discussion] Brian23MAC:
Thinking about upgrading my Z2 Force to a G8. I use Flash Wireless Yellow, but it essentially runs on the Sprint network. So when I'm off to buy a new phone, I'll need one that can run on Sprint so it can run of Flash. Are there any prerequisite questions I can/should ask a seller on eBay or Swappa to ensure that I'll receive a G8 that has the needed environment to be rooted?
[LG G8 Guides, News, & Discussion] antintin:
Yeah, you should ask to get a non updated one by messing the seller
[LG G8 Guides, News, & Discussion] Brian23MAC:
Alrighty. Got an LG G8 that has a firmware that can be rooted. Lastly, and this is most likely a stupid question, but do the LG Drivers suite to download need to specifically be 4.2? B/C the latest ones are 4.5 from the website.
[LG G8 Guides, News, & Discussion] antintin:
Latest are fine, but just make sure download mode works with those beforehand
[LG G8 Guides, News, & Discussion] Hậu_Đặng:
Please upload full rom eng V500ES sir. Thank you very much sir.
[LG G8 Guides, News, & Discussion] genax:
where are the roms and will the sprint version work fine for verizon?
[LG G8 Guides, News, & Discussion] siulmagic:
There are no roms, only a los 17 witch you need to ask sgmarkus for on telegram, and it comes with caveats. You can also flash gsi witch for the most part work fine, except for vibration , headphone jack and aod, but there are fixed for those.
[LG G8 Guides, News, & Discussion] Crows12:
Screwed up big time

Hi guys, so I got myself into quite a bit of a problem at the very last step. I got everything right in the procedure except at the last step instead of booting directly back into twrp to flash Disable_Dm-Verity, I accidentally booted into bootloader and my phone was stuck in a bootloop even after flashing Disable_Dm-Verity. So I dug myself an even deeper hole by trying to redo the last step by reseting data and unfortunately internal storage. Now im still on a bootloop on slot a with no twrp just regular recovery, but i can switch to slot b through download mode and I can use fastboot there. Is there anything I can do to recover the phone or is it done? Thanks.