yashsingh1/xdaforums huggingface dataset:
[G4 General] Awology:
I was hoping to not have to do it that way, but if that is the only way to do it, could you point me out to the KDZ file for the stock lolipop rom

and the process to use to install it. thanks :highfive:
[G4 General] raptorddd:
am not familiar with h815. theres so many variants.. but heres LGUP to flash KDZ. and it should have links to KDZ files.

http://xdaforums.com/g4/help/lgup-install-kdz-mm-lp-t3249803

KDZ files

http://storagecow.eu/index.php?dir=Xda/LG+G4/
[G4 General] Lalulilelo:
Thanks OP!

I followed all the instruction carefully and it worked. <3

Edit :

Now I'm looking forward to install TWRP.

(sorry I just remember that I shouldn't post "thank you")
[G4 General] demondemon:
can i root my phone like this way. G4 F500s

security patch: 2015-10-01

android version: 6.0

software version: F500s20d
[G4 General] raptorddd:
no you cant root 6.0... you may root 5.1.1 only if you can downgrade to lollipop 5.1.1 theres antirollback so make sure you can downgrade other way it bricks phone ..
[G4 General] DROID_4_UsEr:
stevieblanco9@gmail.com

OK so I'm wondering what if I swap out this methods root files. And switch em from lollipop to marshmallow root files then inject the root into the need system partition? What do you think?
[G4 General] PalmCentro:
Won't work. You need a modified boot IMG in order to boot a rooted device.
[G4 General] raptorddd:
One thing i know it wont work for MM you need unlocked boktloader . it was changed in MM the way the handle the system thats why you cant . the patched the hole they had on LP i do not know it wont work. Maybe risk of brick phone beyond capability to fix.
[G4 General] Reacharund:
https://www.search4roots.com/how-to-easily-root-lg-g4-h818n-dual-marshmallow-6-0-1/

Guys iam running on mm 6.0 will the above one click method work for lg g4 H818N Indian variant?
[G4 General] sanioclement:
it wont work.
[G4 General] cercelcremene:
Thank you! The method worked on my LG G4 ISAI VIVID by KDDI, using the commands for H819. It did not work from the first time, probably I made some mistake, but then I used the method together with modifying the system.img in UBUNTU to get rid of the bloatware, and it worked perfectly.
[G4 General] 1UwaisKhan:
Ubuntu terminal

Hi

I would like to know if there's a way to do this without having Ubuntu, only Windows 7.

I can follow the instructions, but I'm not familiar with Ubuntu.

Thanks
[G4 General] ObiDanKenobi:
You can skip the Ubuntu part if you find an pre-rooted image. You start the install from that step.
[G4 General] 1UwaisKhan:
Where can I find a pre-rooted image for the H815p? And I'm currently on Marshmallow. Does that matter?
[G4 General] ObiDanKenobi:
It does matter, marshmallow cannot be rooted, not when the bootloader is locked.
[G4 General] rg4ah:
Hi there

Can i rooting my phone LG G4 H-818

Or change the room
[G4 General] Engelm:
Yes, you can root on Lollipop or wait maybe two weeks , maybe we get an unofficial bootloader unlock to install other roms.
[G4 General] rg4ah:
So i can,t rooting if i have marchmelo versions
[G4 General] Engelm:
http://xdaforums.com/g4/general/lg-g4-dual-sim-models-h818p-h818n-t3115759

One of the best threads in my optinion...

If you have further questions ask them in this topic..
[G4 General] lmiked:
THANKS!!!

Thanks a million for divulging this method, I just rooted my LG G4 H815P ZAF (South African variant), had to downgrade from Marshmallow to Lollipop first... Still, the process is pretty straight forward for anyone that has hung around this sort of dev/tech forums or has flashed any other phone before, just need to take it slow and read the steps as many times as needed so that you can do things well and in the right order... Still, it worked at my 1st attempt, so I'm really glad.

THANKS AGAIN!!!

Since I'm here, I'm going to ask, is it possible to install a recovery image, cause for what I read around while I was still looking for a way to root the phone while I was still on Marshmallow, you can only install a recovery image if the bootloader is unlocked, and even though the phone is now rooted... The bootloader is still locked, correct??

I only ask cause I wasn't able to look around yet, but I'm going to start looking for it, the only reason I rooted the phone was because there are some apps I want to use that require root access (like some vpn sharing hotspot apps), but also cause I'm curious to try the Android 7.0 Nougat, via CyanogenMod, even though I'm quite happy with the Marshmallow and even Lollipop performances.

Thanks everyone that contributed with valuable info!!

If anyone has this same model as I, is having trouble rooting, and needs any help, I'll be glad to help with some tips.

Cheers!!!
[G4 General] LaughingCarrot:
You are correct, the bootloader is still locked so you wouldn't be able to root marshmallow or install a custom recovery for CM14. However, it's possible our bootloader will be unlocked in time. One developer is claiming to have found the method and is currently working on making it work for all variants.
[G4 General] lmiked:
Thanks for confirming it!! So basically... Rooting LL on the H815P, it's useless ATM, at least that's what I felt like so far... I haven't been able to get anything that I wanted...

It's great news though that there's a DEV trying to find a universal unlock Method for all G4, that way, no one will feel left out if it works!! It's ridiculous that LG doesn't offer to unlock all devices of the same Line/Model, after all, all pay about the same and buy the same model, but only some get to have unlock bootloader??? Especially when you think that H815 (Internation) and H815P (and other region variants) are the exact same device hardware Wise, even the H815 KDZ works on the H815P... Hum... Now that I mention it... Do you think that if we flash a H815 KDZ on a compatible variant, we'll be able unlock the device via the LG official unlock site..? hum... probably not, cause it's based on device ID, not firmware... The ID will reveal the variant...

Going to try [MENTION=5796017]BySezerSimsek[/MENTION]'s Genisys ROM 4.8 Which works for locked Bootloader and is based on MM, seems to be a really nice ROM.
[G4 General] bransasko:
Worked Great for me H818P-10F

and i have the rootedsystem.img

if any one need it
[G4 General] niftium:
Do you have a link to the quote by the dev you mentioned?
[G4 General] LaughingCarrot:
https://xdaforums.com/g4/general/h815-relock-bootloader-t3506634/post69838353
[G4 General] niftium:
Excellent, thank you!
[G4 General] Engelm:
You are right.

I hope that we don't have to wait too long.

As we can see it takes a lot of time because he hasn't finished it yet.

And after his release it also takes some time to get a recovery working on our (H818P) phones + some custom Roms.

So let's hope he is successfully finishes this project soon.
[G4 General] mrgrillo27@gmail.com:
Iw8
[G4 General] mountainsnow:
Good day,

Have a Canadian LG G4 H812 and want to do a system image for backup purposes. I've followed all steps, drivers installed, proper com number etc however after doing this step:

H812 Canada (All H812s) : Code: dd if=/data/media/0/rootedsystem.img bs=8192 seek=65536 count=548352 of=/dev/block/mmcblk0

...it always gives a fail. Have people had luck making a system image via this method for a Canadian H812?

Thanks
[G4 General] PalmCentro:
Is your phone still on lollipop?...
[G4 General] mountainsnow:
Never was, always MM. I believe I might have just been told the answer today and it was 812 people CANNOT take a system image. (just to state I'm not referring to MM root, only my 812 and taking an image)

thanks
[G4 General] PalmCentro:
In either case this flashing a system rooted image on a MM device, will fail and probably brick the device
[G4 General] mountainsnow:
Yes that is what I believe as well.

It was my understanding that canucks flash 812 lp stock and then over that flash 812 lp root. (appropriate versions of course) To go back just flash mm 812 stock (appropriate version) and people have had much success with this method. This is my plan of attack. I was only attempting to create a stock image of my phone before I do anything to it.

as per: https://xdaforums.com/g4/general/canadian-guide-complete-source-lg-g4-t3212449
[G4 General] elkolodj:
This worked for me, the difference was I got a prerooted system image, and flash it via flashfire.

question: Could this method potentially work for any device, any brand?
[G4 General] thx4nothingg:
I rooted my G4 using this method and now SuperSU wants me to update the SU binary. How do I go about it? Is it safe to update the binary from the SuperSU app or should I do something else? It asks me If I have a custom recovery installed or if I want to use the "normal" method. I don't have a recovery, so should I just use the normal method? Will it work?
[G4 General] Stransky:
Should be no problem, it will either upgrade or not and you will be where you were before.
[G4 General] nummer:
Image for h812

Hi,

can someone make the image for canadian h812 and provide a link?
[G4 General] fatihso:
Terminal Errors

Hi, I am getting this three line error but I have rootedimage at the end. Shall I continue like this or try to fix? Would love some help! I have my rooted.img and other files under Home folder.

sudo sh autoroot.sh returns below errors:

ln: failed to create symbolic link 'operatingtable/bin/install-recovery.sh': File exists

mkdir: cannot create directory ‘operatingtable/bin/.ext’: File exists

ln: failed to create symbolic link 'operatingtable/bin/app_process64': File exists
[G4 General] tkalfaoglu:
Here is what happens with an H815P:

C:\LG_Root>ports
C:\LG_Root>reg query HKLM\hardware\devicemap\SERIALCOMM

HKEY_LOCAL_MACHINE\hardware\devicemap\SERIALCOMM
\Device\LGANDNETDIAG1 REG_SZ COM5
\Device\LGANDNETMDM0 REG_SZ COM6

C:\LG_Root>pause
Press any key to continue . . .

C:\LG_Root>Send_Command.exe com5
Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE

#dd if=/dev/block/mmcblk0 bs=8192 skip=55296 count=529920 of=/data/media/0/system.img
FAIL
#dd if=/dev/block/mmcblk0 bs=8192 skip=55296 count=529920 of=/data/media/0/system.img
FAIL
#

UPDATE: Never mind; it was a Marshmallow phone. So no hope for marshmallow H815P ?
[G4 General] barteekn:
So the question is...I have the H815P variant of LG G4, will this method succesfully help get root access on my phone ???
[G4 General] tkalfaoglu:
Apparently.. if it's not Marshmallow..

-t
[G4 General] barteekn:
OK good to know...I'm on MM can somebody past a link to a thread where i can learn how to donwgrade to LL please, thanks
[G4 General] sdembiske:
Here you go ...

Here you go ...

LGUP - NEW!!! - INSTALL KDZ - MM or LP - FACTORY RESET/UPGRADE at:

https://xdaforums.com/g4/help/lgup-install-kdz-mm-lp-t3249803

Cheers,

S.

NB: Click the Thanks button when members answer your questions or try to help.
[G4 General] barteekn:
Just to make sure...this method is for all LG G4 variants, right ??
[G4 General] sdembiske:
Correct ...

Correct ... shouldn't be any problems if you read the OP thoroughly.

S.
[G4 General] Ratt909:
Even the lgls991 zvf
[G4 General] sdembiske:
If it has anti-rollback provision ...

If you're on MM with the anti-rollback provision in effect ... you will not be able to roll-back to install LP.

---------- Post added 16th May 2017 at 12:05 AM ---------- Previous post was 15th May 2017 at 11:56 PM ----------

H812 owners should ... refer to: [Canadian Guide] - Complete Source for the LG G4 H812. Linux VM/Root/Tools&Files at

https://xdaforums.com/g4/general/canadian-guide-complete-source-lg-g4-t3212449

In addition to the stock and rooted images available on that site, many stock LP images are also available on the internet - Google what image you're looking for

.
[G4 General] Awology:
How can we tell if anti-rollback provision is in effect?

I've used this method to root my old lolipop G4 which has recently been replaced and sent back with marshmallow preinstalled.

I'm looking to root and want to check that anti roll back is not enabled.
[G4 General] sdembiske:
Google the dial pad code for ...

Google the dial pad code for ... your hidden menu and open SVC - I gather if it is higher than 1 than you will not be able to roll back.

Refer to this link: https://xdaforums.com/sprint-g4/help/zvd-update-apparently-anti-rollback-to-t3523077 in the OP:

"ZVD update for Sprint G4 LS991 apparently has anti-rollback, so no more ZVB or ZVC after update."
[G4 General] Awology:
I just checked the hidden menu and apparently im on an anti roll back version 0 .. so i guess i am free to rollback?
[G4 General] sdembiske:
Should be good to go but ...

Should be good to go but ... if not, it should throw throw up an error regarding the anti-rollback version in any event.

Full speed ahead ..
[G4 General] stillsober:
anyone have rootedsytem.img for H815 SEA variant?
[G4 General] lilbrat:
Ok, for the folks that have the H815P this method does work providing that you downgrade to 5.1. I used the H15P10g file from here.. ( http://storagecow.eu/index.php?dir=Xda/LG+G4/H815P/ ) and followed the steps outlined in the OP and it worked just fine later today I'll get the rootedsystem file uploaded to my google drive for those that want it..
[G4 General] jbuhr10:
Missing Some Commands

I followed these instructions and kept running into soft-brick issues and the root wouldn't ever take. However I found this guide that worked for me. Just insert steps five and six before flashing the rooted image in download mode. Now my H81210f root is working great!

reddit . com /r/lgg4/comments/3ir4zn/guide_how_to_root_all_versions/

Sorry, new user so I can't post a proper link yet.
[G4 General] DoughMucker:
The injection method works by simply making a few changes that you could undo. You can mount the image in linux and undo each of the edits made by following the injection script, in reverse.
[G4 General] divineBliss:
Or simply flash the stock KDZ in upgrade mode with LGUP tool.
[G4 General] sdembiske:
Yes, I kind of figured that but removing SuperSU may present other issues with the number of edits that may have to be made. It's not clear to me what removing it through Chainfire's own built-in uninstall method in an installed operating rom might create. The H812 has an unlockable bootloader.

It would be great if hackarchive could work up an uninstall script for this type of special situation ...

ADDENDUM

:

Thanks to Senior Member steadfasterX (author of [LOCKED][G4][TWRP][UNOFFICIAL] TWRP-in-FIsH for all LOCKED G4 devices - https://xdaforums.com/g4/development/locked-twrpinfish-locked-g4-devices-t3573048), an uninstall script has been drafted and is now in Version 0.2. I have run this latest version now in DEBUG=1 mode with no adverse effects from running the script. In DEBUG=1 mode, nothing is changed on your phone, it simply provides a log of what will be changed or any problems that may be encountered.

Any members here with similar issues or those simply interested in getting back to an original stock kdz of the pre-rooted system image they installed may want to check out this new thread that I've started at the suggestion of steadfasterX on this topic:

Reverse-engineering the LG G4 Root-Injection (hackarchive's) method ...

https://xdaforums.com/g4/general/reverse-engineering-lg-g4-root-t3628778
[G4 General] Vorbies:
Hai u still have system img for h818p v10f? I need it

Link u insert has expire.

Please email me id.vorbies1@gmail.com

Thanks :)
[G4 General] අධිරාජ (Adhirāja):
Ok so I put the phone in download mode and used the dd command, but I'm sure something's not right. First of all, a few minutes into it, I get the # prompt again in the cmd window while running Send_Command.exe, second of all, the Firmware Update screen on the phone still shows 'Do not unplug the USB connection until the process is complete', and the process is still at 0%..

Please help, shall I unplug the cable and reboot the phone manually Or does the phone reboot itself once it's complete?
[G4 General] Lucien1997:
It's normal, you were on the right track, if you typed LEAVE, and checked your internal memory you would have seen the system image

---------- Post added at 09:46 PM ---------- Previous post was at 09:43 PM ----------

It's in these moments you re glad that the old way exists, because now there is no rooted system image in sight all links are dead

Thx again OP
[G4 General] kobisa25:
it's worked!

thank you 4 the tutorial works very good 4me!
[G4 General] roniez:
Has anybody managed to perform this on the v29 roms?

I keep getting FAIL when i try to do the DD command.
[G4 General] harysviewty:
What about installing SuperSU directly? Via adb
[G4 General] divineBliss:
That doesn't root the phone. :)
[G4 General] harysviewty:
I'm on h818p locked bootloader in v29a nougat
[G4 General] ModernAI:
Am i doing something wrong

i have an lg g4 H815p and its stuck here

[IMG="Can i get help?"]https://imgur.com/IUQn7px[/IMG]

:confused::confused::confused:

---------- Post added at 01:21 PM ---------- Previous post was at 01:15 PM ----------

Lg G4 h815p
[G4 General] Engelm:
Maybe, tell us where are you stuck at,what have you done and what do you want to do? xD

We need more details
[G4 General] edgarpoe:
All i'm getting is Fail when entering dd commands, is it a windows 10 issue

or because it's a Canadian H812?

Drivers all installed, was able to flash Telus/Kodoo MM6.0 KDZ with LGUP no problems.

(coming from Virgin Wireless)

Ports read no problem, but using Send_Command just returns fail.
[G4 General] DoughMucker:
It's because you're using MM. It won't work on it. If you want root, you need the latest LP.
[G4 General] sdembiske:
Here is a link to a Bell/Virgin 5.1 H81210O pre-rooted system image:

https://androidfilehost.com/?fid=24352994023702885

Member buddyjohn posted this link on [Canadian Guide] - Complete Source for the LG G4 H812. Linux VM/Root/Tools&Files and the link is the one referenced in the OP. It is confirmed as Bell/Virgin.

Downgrade from 6.0 to any H812 stock 5.1 kdz with LGUP-NEW first and then make sure you are using the proper H812 flash command, making sure you copy it exactly and paste it in when you flash the pre-rooted system image I've linked above:

dd if=/data/media/0/rootedsystem.img bs=8192 seek=65536 count=548352 of=/dev/block/mmcblk0

Also, make sure you have the proper LG driver installed on your PC - LGMobileDriver_WHQL_Ver_4.2.0

Relying on the Windows driver will present issues.
[G4 General] evanwier:
Anyone help? Having issues, H812 from Zoomer Mobile (Rogers Network)

HKEY_LOCAL_MACHINE\hardware\devicemap\SERIALCOMM

\Device\Serial0 REG_SZ COM1

\Device\LGANDNETDIAG1 REG_SZ COM3

\Device\LGANDNETMDM0 REG_SZ COM4

C:\Users\evanw\Downloads\LG G4\LG_Root>Send_Command.exe \\.\COM3

Author : blog.lvu.kr

SPECIAL COMMAND : ENTER, LEAVE

#dd if=/dev/block/mmcblk0 bs=8192 skip=65536 count=548352 of=/data/media/0/system.img

FAIL

#

Anyone have any ideas? Phone is plugged in, in download mode.

Just get FAIL every time.
[G4 General] sdembiske:
Make sure you have the proper LG driver installed on your PC - LGMobileDriver_WHQL_Ver_4.2.0 and confirm in Device Manager when phone is connected. Relying on the Windows driver will present issues.

Windows tends to re-install their own driver, particularly after a system update.
[G4 General] lRaziel1:
So still isnt possible to root with a marshmallow locked bootloader.

Such a shame, at this pace in the future we will need nuclear reactor powered linux machines to be able to root.
[G4 General] steadfasterX:
Well or... Just an unofficial unlock.. That would be great..

If someone would be able to achieve this.. oh wait we have that already..
[G4 General] Pete_Mitchell:
I 'd wish wsd true, but the reality is that simply usu doesn't work properly for h818p... as yourself claim Steadfasterx touchscreen stops to work after bootloader unlock... Or I am missing anything?
[G4 General] steadfasterX:
You didn't mentioned it's for h818.
[G4 General] lRaziel1:
Yeah i know its so great how it also works perfectly for H810.. oh wait it doesnt, at all, and no FM radio.
[G4 General] steadfasterX:
Yea it's bull**** you're right
[G4 General] charith262:
Hey there, I've also got the h810 but on 21y MM with ARB3. Locked BL no root so far. Will it be possible to use flashfire? Could you share with me the steps.Thanks.
[G4 General] lRaziel1:
Dont bother, for what i've seen its either extremely hard or impossible to root a ARB3 with Locked BL. However im my H810 in the developer options i have a "OEM unlocking" option which is supposed to let BL to be unlocked, but that doesnt really help root situation and i dont wanna lose camera footage quality so ill stay on stock rom even tho its laggier than it should.
[G4 General] attila24:
I know i ts very old methot but i need help pls i try this methot its good bu i wanna use magisk dont wanna super su. I have h815tr its bootloader is locked. Can i change super su file with magisk before 3.part
[G4 General] SketchSlayer:
So it looks like I'm the streak breaker if this is meant to be a 100% working method as my verizon lg g4 has no download mode (all methods that should boot to download mode instead reboot the device normally be it using the volume up & usb or using the adb command) so the first set of steps can't be done.
[G4 General] SnowFuhrer:
Use LGUP flash tool as you can use it to restore your phone too.
[G4 General] DarkBader:
DD comands for LG G4 Stylus H635

Hi hi ! First of all, a lot thank you for the sharing and the good work

.

I have the following situtation with my device:

-LG G4 Stylus H635A, Android 5.0.2

-Bootloader locked

-OEM button not in developer options. I do not think is a case of Kg State or Knox, but something disabled by manufacturer.

-No fastboot mode (trying with ADB commands, just makes phone reboot)

.

After and extensive research, arrived to the conclusion is probably not good idea to use a Oneclick method.

.

So, will give a try to this method, modifying a bit the DD commands, so it fits with my former model:

>>dd if=/data/media/0/rooted.system.MYMODEL.img bs=8192 seek=?? count=?? of=/dev/block/mmcblk0

--->You think it may work? Which values would you recommend for <<seek>> and <<count>>?

.
[G4 General] Aviefdezu:
do you still have file system.rooted lg g4 H818p v10F
[G4 General] ShadowElixir:
View attachment 5319917

any help??
[G4 General] luridphantom:
anyone got a mirror of the autoroot.sh script? mega deleted it long ago
[G4 General] AeX_3D:
Hello to everyone my dearest friends. This site and its people has helped me make my mobiles awsome people. I used guides since 2013. I am grateful and feel happy to finaly have an account here :)

On topic: I have an G4 818P that I Just bought new. I thought I had more luck when I noticed that it can not have an unlocked bootloader through USU :( . Now this is my next best option but "inject_root" link is down atm. Also any other pre rooted file with latest v10L LP seems to be down. I thought I could do this manually following this guide but yea if some kind sir can upload their "inject_root" file to a mirror or share their prerooted v10L I would be sincerely grateful.

@hackarchive You are awsome my friend and I know this is hella old but please mirror this.

Thanks a bunch in advance :)

And again happy to be here boys :)
[G4 General] luridphantom:
this is the closest i found: https://androidfilehost.com/?fid=7161016148664825323
[G4 General] AeX_3D:
You dont know how much I love you right now...

Really appreciate it buddy :)

Allow me to buy you a beer. The least I can do.
[G4 General] the_scotsman:
I just used SuperSU to unroot. No need to flash any system image.
[G4 General] prazvt:
Ahh -- good point. I've been without root for so long I'm forgetting these things. Let me try that first. Thanks!
[G4 General] nussie:
Interesting, will try that next time. Although the flashing of the original system.img worked flawlessly.
[G4 General] the_scotsman:
Used this to root my latest 10C update on my TWN device, thanks it worked perfectly! :good:
[G4 General] jojobans:
plz Easy method for root G4 818p ??

tnx