yashsingh1/xdaforums huggingface dataset:
[LG G5 Guides, News, & Discussion] hackintoish12945:
Guys....i havr a concpt of rooting. After we get a root adb shell, we can flash recovery by dd command....and wait for a suitable recovery, finally done.
[LG G5 Guides, News, & Discussion] cheeze.keyk:
can you share a screenshot?
[LG G5 Guides, News, & Discussion] uomn88:
Hi all and sorry to update this thread but I am confused : I have lg h860 and I want to use this method to get root access on adb but I read the thread and I saw people with h860 having trouble after using this method so my question is simple, will I have problems too (like losing storage access) ? I will use v10g firmware
[LG G5 Guides, News, & Discussion] uomn88:
No one ?
[LG G5 Guides, News, & Discussion] MajinkenSword:
Haven't tried this due to the risk involved. Up to you buddy. [emoji4]
[LG G5 Guides, News, & Discussion] awerqw22:
Did not work on my h860 as i cant reboot to recovery to reset the phone after obtaining adb root. Cant get to factory reset
[LG G5 Guides, News, & Discussion] uomn88:
Are you on marshmallow ?
[LG G5 Guides, News, & Discussion] awerqw22:
Yes I currently am at marshmallow. Phone is stuck in bootloop if i reboot it to factory reset.
[LG G5 Guides, News, & Discussion] nurhakz16:
G5h850tr

hello g5 h850tr what do i do for root ?
[LG G5 Guides, News, & Discussion] Jack Stanley:
Has someone tested it on H845 (SE version)?
[LG G5 Guides, News, & Discussion] tuingtuing:
did it work on h860?
[LG G5 Guides, News, & Discussion] ExtraDan:
No, it will brick your h860, just like it did to the other users in this thread.
[LG G5 Guides, News, & Discussion] Jimboooooooooooo:
Unbranded Canadian sim unlocked root ?

Has anyone rooted yet?
[LG G5 Guides, News, & Discussion] Vorde1:
So this method doesnt unlock bootloaders, or give the ability to install TWRP on a HG831?

Only gives temp root access within a shell correct?
[LG G5 Guides, News, & Discussion] andyroidking:
The ones that got it rooted felt it was too dangerous for the average user and before they even had a chance to improve it, someone tried to post it and that ended that....

Yes.
[LG G5 Guides, News, & Discussion] croatiancowboy:
If I get this to work, since in theory, you can mount the system partition, read/write, for a build prop edit, along those same lines couldn't I inject a su.sh into /system/bin/ and chmod +x su.sh? Then remount the /system partition back to read only, reboot, install supersu from the googstore, then go from there when it comes to root? or am I completely beyond my means of thinking here?
[LG G5 Guides, News, & Discussion] V0idst4r:
System is RW and there is no verification that the system partition is intact at startup so it is possible to get SuperSU installed but thread creator never put in the effort. I'll soon be getting a G5 and may try to continue this project.
[LG G5 Guides, News, & Discussion] hackintoish12945:
I have a concept of rooting. After we get a root adb shell, we can flash recovery by dd command....and wait for a suitable recovery, finally done.
[LG G5 Guides, News, & Discussion] V0idst4r:
Unfortunately not. The boot image this method uses disables verification for the system partition but not for the recovery partition. We can only do modifications to the system partition while booted. Like recent SamFail/SamPWND methods (which I've done small contributions to, everything is pretty much script hacks after you get a firmware that allows it)
[LG G5 Guides, News, & Discussion] hackintoish12945:
umm...is dm-verity offed means you can flash some unsigned images? (maybe we can go with dirtycow,which will flash a recovery image to the device by exploit,but in general it will go to ur system is blablabla stuff. I guess it is by dm-verity, so disable dm-verity may work.)

---------- Post added at 07:55 PM ---------- Previous post was at 07:53 PM ----------

Maybe can go with dirtycow, which will helps to flash a recovery image by exploit.
[LG G5 Guides, News, & Discussion] V0idst4r:
dm-verity checks the integrity of the system image, you can flash an unsigned system image but not an unsigned recovery image or kernel. The threads you're thinking of are using dirtycow to flash unsigned images on devices that are already bootloader unlocked but do not allow you to flash from fastboot.
[LG G5 Guides, News, & Discussion] hackintoish12945:
Is it possible to make a rooted system image,and flash it with dd?
[LG G5 Guides, News, & Discussion] V0idst4r:
You need root to use dd so there'd be no point. Maybe if you want to update without losing root but it can already be done with FlashFire.
[LG G5 Guides, News, & Discussion] hackintoish12945:
Emm....so what can we do now with the limited adb root shell?
[LG G5 Guides, News, & Discussion] V0idst4r:
It's not limited, if you're on antirollback v0

I got my G5 today, it came on antirollback v1 and marshmallow, obviously it wouldn't take the boot image in this thread so I didn't even try. What I need is either a experimental bootloader image (like dirtysanta) or a magical kernel that'll work on newer anti rollback
[LG G5 Guides, News, & Discussion] Night_1:
How can someone find out the anti rollback?
[LG G5 Guides, News, & Discussion] Night_1:
Never mind... I finally found the dial code... Anti rollback is 0 on nougat....

I would be willing to sell my Sim Unlocked LG G5 H831 for a reasonable amount of money if anyone knows how to downgrade to marshmallow and make use of this phone. I have since upgraded to the V30 and given up on rooting my G5 and quite frankly any LG device that is released in Canada
[LG G5 Guides, News, & Discussion] Night_1:
So how can I delete a post on here? Phone is gone...
[LG G5 Guides, News, & Discussion] hackintoish12945:
Try to patch a boot image with magnisk?
[LG G5 Guides, News, & Discussion] V0idst4r:
Boot image verification will fail. The only thing that works is this userdebug build which is actually signed by LG and has root. (But needs v0 to)
[LG G5 Guides, News, & Discussion] Rioluinrio:
LG G5 ls992

Will it work with LG G5 ls992

Its Sprint and iv been slowly killing my Sanity despritly trying to Root my very "Fickle" Phone
[LG G5 Guides, News, & Discussion] V0idst4r:
I'd suggest you (and everyone else here trying to get root on their G5) pick up a V20 instead, they're basically brother phones and you can find one about the same price as G5's used. The V20 has a lot more development and an exploit that allows it to be bootloader unlocked even on variants that can't be normally.
[LG G5 Guides, News, & Discussion] hackintoish12945:
Yeah agreed. My g5 crashed, so a oneplus is my choice.

EDIT: just got my oneplus 3. RIP G5.
[LG G5 Guides, News, & Discussion] hackintoish12945:
You should post it to question and answers i suggest.

How's it going with the root exploit?
[LG G5 Guides, News, & Discussion] wallyradburn:
need help downgrading N to MM and/Or frp bypassing Nougat... i can do MM no problem

i have an h831 as well... im on Nougat... trying to downgrade to MM but having some FRP bypass issues... i was able to downgrade nougat to an earlier version thinking it was MM, however it allowed me to enable ADB through the *#546368#*831#....

have you rooted your h831? do you have the .KDZ for MM?

any advice would be great....
[LG G5 Guides, News, & Discussion] alya84:
Man.. I guess LG G5 AT&T pretty much busted then. No TOT/KDZ on anywhere on the Internet. Plus anti-rolled v1. Rip.
[LG G5 Guides, News, & Discussion] Shinigami347:
Does this pass for anti-rollback 0? My g5 is f700s version running oreo.
[LG G5 Guides, News, & Discussion] Night_1:
*#546368#*xxx# Replace xxx with your model (850, 831, etc) should tell you antirollback
[LG G5 Guides, News, & Discussion] sshahzad:
Not working on LS992
[LG G5 Guides, News, & Discussion] Night_1:
Sorry.. My bad... I had One too many * in previous post...i edited my post..

*#546368#*xxx#.... So *#546368#*992# in your case... then SVC Menu... Then Version info...
[LG G5 Guides, News, & Discussion] cavjr08:
Can't download the "dirtysanta-boot.zip", does anyone here has the file? TIA

Edit: Got a copy of the zip file, but how do I clean/format data of my H860 (w/ AntiRollback v0) enter recovery mode when in fact it can only go to Restore Factory menu and not the Recovery Mode itself?

Tried everything using Google but to no avail. I think the only way to format Data is by having TWRP which we can't have because of the locked BL.

Hope someone could help. Thanks
[LG G5 Guides, News, & Discussion] Arsal2:
Can i unlock bootloader and root with this mathode. I have lgg5 optus with android nought also antirollback 0
[LG G5 Guides, News, & Discussion] Vortell:
Not sure what you mean but all the steps are in the LG v20 forum. You could just download the ds zip file then open up step 2 on it and take a look. Honestly ds should work on older builds of lg software. I think before dec 2016 might be Nov 2016. You would have to check arb is not 1 then use lgup uppercut to downgrade to a vulnerable system version then try the steps. I'm just to broke to try the steps and brick the phone.
[LG G5 Guides, News, & Discussion] khartu:
Does this mean this device may get supportrd by Lineage OS or will it just stay locked ?

How risky is this to learn everything discussed hefe above? I want to try it, but have not done this to android before. I did do it to iphones on jailbreak long ago.
[LG G5 Guides, News, & Discussion] mulencja:
could anyone provide .zip attached to the first post? Link seems to be inactive... thanks
[LG G5 Guides, News, & Discussion] yakine13:
https://github.com/HonestlyAnnoying/DirtySanta-Boot
[LG G5 Guides, News, & Discussion] mulencja:
Cheers for that!
[LG G5 Guides, News, & Discussion] yakine13:
you're welcome
[LG G5 Guides, News, & Discussion] SoKa1993:
Does this worked for H831??
[LG G5 Guides, News, & Discussion] csk84:
missing boot.img?

**never mind, i checked online, no unlock bootloader for H831 :(

Hi,

i just dowload the zip file. In step one, it shown "boot.img" no such file. Should there be a boot.img in the zip?

in shell, when i run "run-as con" (copy&paste) it show " Package 'con' is unknown.

** i downgrade from Oreo to Nougat for H831.
[LG G5 Guides, News, & Discussion] xddd00:
Hi and nice work here.

I'm a little bit lost, I have an H831, rollback information is set to zero and I have upgraded to Oreo from Nougat.

What can I do from here?

Thanks.
[LG G5 Guides, News, & Discussion] csk84:
Maybe i'm wrong, but H831 user run out of luck. Bootloader is lock, I don't see any use without having full root access.

Now i'm back to Oreo and planning to sell this one :)
[LG G5 Guides, News, & Discussion] xddd00:
Thanks for answering.

Even if bootloader is blocked, are we able to root?

Downgrade and maybe using Kingoroot or something?
[LG G5 Guides, News, & Discussion] wildpig1234:
i just recently got a sprint lg G5. how can i check to see if this is rootable?
[LG G5 Guides, News, & Discussion] KaaPaa:
does it work on oreo? rollback is 0 h831
[LG G5 Guides, News, & Discussion] Honestly Annoying:
Power the phone down completely, and then try entering download mode. The error message you get with the red triangle is normal.
[LG G5 Guides, News, & Discussion] Hunikel:
Yeah could enter download mode ! so I just flash back my Nougat rom and try again all these steps or proceed directly to the last step ?
[LG G5 Guides, News, & Discussion] Honestly Annoying:
Yeah reflash the Nougat TOT/KDZ, and if you want to try again you have to rerun everything :) Don't forget to wipe data in recovery mode after flashing the boot!
[LG G5 Guides, News, & Discussion] ExtraDan:
HOLY **** GOOD JOB!!! I am running Nougat so rip :,)
[LG G5 Guides, News, & Discussion] mapleleafs89:
I thought it can be done with Nougat as longas antirollback is v0?
[LG G5 Guides, News, & Discussion] Honestly Annoying:
You are more than welcome to attempt it on Nougat, however I only know that it works for SURE on Marshmallow
[LG G5 Guides, News, & Discussion] Hunikel:
I get the same error again once I reboot after deleting /data :/ I'll try this on marshmallow and give any feedback
[LG G5 Guides, News, & Discussion] ExtraDan:
I wish, I contacted LG Singapore and they refuse to serve any device repair, I am poor and I dont have alternative phones, unfortunately I cannot risk myself applying the method.

but honestly, good job man, you were on very determinate person to make this happen ever since the beginning from back when the dirtycow hijack was announced to until the end.

Good job! many hopleless LG G5 users were counting on your work!

Youre the hero of this forum! hero to many!
[LG G5 Guides, News, & Discussion] HuEx:
Great Job Guys .. Wht About V10 ? Can u Help us ? Can u bring root to all v10 variants? Thx.

â‚ªHuExâ‚ª
[LG G5 Guides, News, & Discussion] Hunikel:
It worked under Marshmallow, but can't make SuperSU work :/ any ideas ?
[LG G5 Guides, News, & Discussion] BrunoSlivar:
On nougat dont work? You back to mm and then work?
[LG G5 Guides, News, & Discussion] Hunikel:
Yup, I probably missed something on nougat

I'm using H860
[LG G5 Guides, News, & Discussion] nalf3in:
Nobody is able to get SuperSu installed currently and that's probably the main issue Honestly Annoying is working on. Btw, sorry for the noob question but could you confirm me that in order to get root, you need to run the commands given in the tutorial in the adb shell opened by step1.bat and (if that's the case) how did you copied all the files from the dirtysanta-boot folder to the root directory ?

edit : For some reason I saw those linux commands and though that I needed to run the batch files AND the .sh on my g5.... All good now
[LG G5 Guides, News, & Discussion] Honestly Annoying:
If you post a request in the SuperSU forums Chainfire may help us.

DO NOT SPAM HIM. THAT IS THE BEST WAY TO GET A DEVELOPER NOT TO HELP US.
[LG G5 Guides, News, & Discussion] Hunikel:
I'll do that then :) thank you for your hard work !! I'll try it again once more on Nougat and see what it gives.

EDIT 1 : Having problems getting back to Nougat, AutoPrime LG UP says unknows model, still trying to figure out why's that
[LG G5 Guides, News, & Discussion] nalf3in:
[MENTION=7479791]Honestly Annoying[/MENTION], just tried on my h831 with nougat installed and it worked ! Will update after I got the time to disable dm-verity

EDIT : Looks like we aren't able to disable dm-verity on nougat and thus, get a sweet bootloop on nougat. For those who are stuck there, flash the nougat kdz for you phone with uppercut and you should have a working phone again.
[LG G5 Guides, News, & Discussion] Honestly Annoying:
Awesome! Glad this works for everyone :)
[LG G5 Guides, News, & Discussion] Hunikel:
Yeah but now i'm annoyed since I can't install back Nougat xD Lg UP tells me my model is unknown lol
[LG G5 Guides, News, & Discussion] Honestly Annoying:
That shouldn't have anything to do with this, as the only thing being touched is the boot partition. Make sure drivers are installed correctly, use autoprime's UPPERCUT, and change USB ports.
[LG G5 Guides, News, & Discussion] Hunikel:
I've already tried all that, it's probably du to some **** with the Marshmallow KDZ I Installed, i'm still trying various things to get it to work or access recovery (which is almost impossible to get into in H860 Marshmallow)
[LG G5 Guides, News, & Discussion] Azeem Shah:
I wanna root????
[LG G5 Guides, News, & Discussion] Virgus:
Question from a novice about LG G5 from HKG

Hello,

hope somebody could tell me if rooting an HKG version of LG G5 has been accomplished successfully.

My G5 H860N (the dual sim version) has Android 7.0 and SW ver. V20f-HKG-XX Kernel 3.18.31

Besides of rooting I'd like to flash LineageOS hopefully, but I never did it before so I'd like advise from experts.

Has anybody managed to switch the camera mode on LineageOS?

Thanks for any help you might give me,

V.
[LG G5 Guides, News, & Discussion] Gasto18:
Did you make it work?
[LG G5 Guides, News, & Discussion] Vicious942:
Does this work with the VS987?
[LG G5 Guides, News, & Discussion] sev7en:
Hello,

same question for mine. I got it yesterday. it is with Oreo 8.0 but I would root it.
[LG G5 Guides, News, & Discussion] aptalherif1:
can i install recme internal audio recording plugin with this and enable internal audio recording ? its root only software ?
[LG G5 Guides, News, & Discussion] anger51:
Zip File not accesible

Anyone here has the zip file? I was trying to root my LG G5 but couldn't proceed as the zip file is missing .... thanks in advance!
[LG G5 Guides, News, & Discussion] abhishekdhadwal33:
How to root lg g5 h860
[LG G5 Guides, News, & Discussion] jr1357jr:
No any way
[LG G5 Guides, News, & Discussion] ismet470:
Can I root H860 with this method? :(
[LG G5 Guides, News, & Discussion] YairHa:
Someone sucss make root to LG G5 - H850 non EU version?

I have H850 Israeli version did it will work android version 6.0.1 kernel version 3.18.20 Build number MMB29M

tnx and have a great day

[Q0UOTE=tusker;70447324]Hi guys,

OK, I have managed to get LGUP to recognize the phone.

1) Load up regedit, and put in a "default" model: Computer\HKEY_CURRENT_USER\Software\LG Electronics\LGUP\Model

a) Add DLL_PATH String and choose one of the DLLs that you have installed

b) Add MODEL_NAME String and choose your model, ie, H850

2) Load up LGUP with UPPERCUT and with your phone plugged in, and it should detect as what you put in MODEL_NAME.

3) Disconnect the USB, and then reconnect. Wait about 30 seconds, and then it should show the real model name

4) Click on Start, and it should allow you to flash your phone.

Cheers,

Damien[/QUOTE]

*#546368#*xxx#.... So *#546368#*992#

Someone sucss make root to LG G5 - H850 non EU version?

I have H850 Israeli version did it will work android version 6.0.1 kernel version 3.18.20 Build number MMB29M

tnx and have a great day
[LG G5 Guides, News, & Discussion] NagasRamazan:
Download link not working. Please help me!
[LG G5 Guides, News, & Discussion] ronnay ryukay:
Has anyone successfully rooted the F700L? and modify it to H830 or H850 perfectly, so that F700L can use Custom ROM?
[LG G5 Guides, News, & Discussion] sqrtus:
Link isn't working...
[LG G5 Guides, News, & Discussion] dcd1997:
H

Hi, the ZIP file cannot be downloaded. Can you try reuploading it? I am willing to try on my LG G5 Verizon VS987 as I have successfully rooted my old V20 H990DS. So, please help upload/send me the file so I can give more updates.
[LG G5 Guides, News, & Discussion] ottodsg:
Could you please put the zip file back online? Thank you
[LG G5 Guides, News, & Discussion] zee™:
Downgrade using LGUP
[LG G5 Guides, News, & Discussion] zee™:
GitHub - HonestlyAnnoying/DirtySanta-Boot: Using a modified version of DirtySanta, you can gain flash a boot.img to any Android device. Useful for unlocked bootloaders or userdebug builds.

Using a modified version of DirtySanta, you can gain flash a boot.img to any Android device. Useful for unlocked bootloaders or userdebug builds. - HonestlyAnnoying/DirtySanta-Boot

github.com
[LG G5 Guides, News, & Discussion] zee™:
LG-F700K

Nougat

Not Working​

😖😖😖
[LG G5 Guides, News, & Discussion] Minhdanlc:
i also have a g5 f700l i have also tried many different ways to no avail =(
[LG G5 Guides, News, & Discussion] Juleast:
Link is broken :(
[LG G5 Guides, News, & Discussion] dertuxinator:
funny stuff. i am a little bit curious enough to build my first own ROM at the wiki stuff. waiting till the first annoucment that the kernel was adopted to 4.x for lg g5 :P
[LG G5 Guides, News, & Discussion] lusagad:
Hi all!

Thnks for your awesome effort!

Could be possible a step-guide for root by an oldman owner of a h850 titan international, please?

Thank all of developers and anyone who share questions & and answers.
[LG G5 Guides, News, & Discussion] ExtraDan:
So it is nougat compatible! now we need to approve that it works every device with nougat!

I think we should make a comparability list, like

For example
[LG G5 Guides, News, & Discussion] Honestly Annoying:
Crap I should have reserved the second post... but yes good idea!
[LG G5 Guides, News, & Discussion] ExtraDan:
Yeah! might be helpful, and it might just save some common questions in the thread or outside of it!
[LG G5 Guides, News, & Discussion] dr_w:
Anyone get vs987 to work?
[LG G5 Guides, News, & Discussion] Hunikel:
Well ... I don't have access to my storage anymore, I mean literally, there is no more /storage/emulated/0/ for me, and can't do anything to help myself out of this.

Factory Reset doesn't change much.

Uppercut detects my phone but with an unknown model, I already tried changing physical port, and the windows port, heck I even changed the PC i'm using it on, so can't flash anything

http://pokit.org/get/img/9d7a98e005475d6e87def5ff3db4df46.jpg

I'd really appreciate some help please :x

My phones lags and freezes like hell

I still have root access even tough I don't know what help can it bring ...
[LG G5 Guides, News, & Discussion] thjubeck:
Working on that issue. From what I found, the internal sdcard is mounted in /data/media/0 and you can access it from shell so trying to find a fix to re-link the card to /sdcard/emulated/0 and legacy. If anyone has any ideas then let OP know.

---------- Post added at 09:39 PM ---------- Previous post was at 09:34 PM ----------

Also what is your phone model?
[LG G5 Guides, News, & Discussion] Warboy:
any chance of Nougat support?
[LG G5 Guides, News, & Discussion] ExtraDan:
It might already be supporting Nougat.

It just depends on any of the nougat users who risk using this method.

Theres already one user whos horribly suffering from having their phone bricked
[LG G5 Guides, News, & Discussion] yiweitech:
This is awesome, literally just got a h831 G5 on Boxing day, gonna try this now
[LG G5 Guides, News, & Discussion] Hunikel:
[MENTION=4089069]thjubeck[/MENTION] It's a H860
[LG G5 Guides, News, & Discussion] yken:
I will try on Nougat 850TR model. One question, this part for MAc users, right? I have PC, I wont use this, right?

On Linux/MacOS ("#" Signifies a comment below)

Code:

./RUNMEFIRST.sh

# OR

bash ./RUNMEFIRST.sh

Open a Separate Terminal next to the RUNMEFIRST terminal, then type:

Code:

./Step1.sh

# OR

bash ./Step1.sh

(When you run The sh or Bat files there may be a Permission denied error on 2 files: Flatland and Flatland64. This is normal and nothing to worry about.)
[LG G5 Guides, News, & Discussion] paulinka:
I am in the same boat. Please update us when you try it!!
[LG G5 Guides, News, & Discussion] yken:
I did everything as told on Nougat using g5 850TR. After i delete data from recovery, phone does not boot. I get Your device is corrupt message.

But i could flash a stock Rom using LGup. Now I flashed MM Rom, I will test on MM.

Everything worked on MM, but adb disable-verity does not do anything, i tried a few times. Can it be i have mini ADB?

Adb runs as root but i could not delete youtube.apk from system.

I see there is a problem reading sdcard, openin explorer. Always exchange stopped error.

Maybe we are very near ..
[LG G5 Guides, News, & Discussion] Hunikel:
Can you please try to see if LG UP detects your model ? Since i'm having the exact same effects as you for now
[LG G5 Guides, News, & Discussion] 1UwaisKhan:
I've read that SuperSu doesn't work. Can I use Xposed or other apps that require root? What is the downsides of having SuperSu not installed?

Also, does this make warranty fall away?

One more thing: Is there any available KDZ/Tot files for LG G5 se (LG H840)?
[LG G5 Guides, News, & Discussion] yken:
+ phone working slowly

---------- Post added at 14:54 ---------- Previous post was at 14:42 ----------

Lgup finds my phone. I will flash stock Rom. Right now its working slowly.
[LG G5 Guides, News, & Discussion] Hunikel:
I got no luck with LG UP :/ Unknown model
[LG G5 Guides, News, & Discussion] yken:
Right now i flash MM again, thanks to download mode and kdz files.

Can you try with uppercut?

http://xdaforums.com/lg-g5/development/uppercut-lgup-loader-g5-variants-t3511295
[LG G5 Guides, News, & Discussion] Hunikel:
Already tried, no luck, It worked for me before applying the root method