yashsingh1/xdaforums huggingface dataset:
[G4 General] biff6789:
In the first post the devs state that it's not called "Low Effort" because it is low effort on YOUR part, but rather low effort on THEIRS as this is a cheap and dirty way to gain root. That being said, it IS pretty easy when you compare to oldschool root methods we used to have to do that were 30 steps long and sometimes required jumping pins on the phone, so this is still easier than other root methods we've seen on XDA in the past...

All the devs did was take an exploit from the G3 that was already made by someone else to gain block writing access with root permissions while in the bootloader. So all the devs did was download KDZ files provided by LG, open them up and shove a couple needed root files in there, then package it back up so you can write the image with the needed root files to your phone. Once you understand how it works, you see that it's a pretty simplistic root methodology.

That's not to say they devs don't get any credit for their efforts here. After all, they were the only ones (at least publicly) who took the risk to test and verify that this method worked on the G4 and they had to do some work and math to get the correct blocks to be written for each phone. But by stating "Low Effort" the devs are simply saying that they didn't do any crazy hacking or code writing, they didn't need to use pin mods on the back of the phone or HEX edit an aboot image. They just used an already working exploit from a different phone and use a few linux commands to push a modified LG image file to your phone.
[G4 General] Yipicayer:
Do you know the DD Commands to Run for the rogers variant
[G4 General] jesssiii:
Hmm. The only lower-effort root I've personally done was back on my HTC Droid Incredible running Froyo, lol. It was one click for root with unlocked forever bootloader, and that phone STILL works perfectly, unlike my Samsung Galaxy Nexus which died after only 1 year!

VS986 LG G4
[G4 General] dilligaf56:
Slightly OT, but just wondering that, now that we're rooted, how we get wi-fi tethering enabled. This is a must for me and I will have to use my GS4 as my primary phone until I get this enabled.

Thanks!
[G4 General] kuku2004:
I created a rooted 815L variant image based on 10c versiob if anyone is interested i will upload it
[G4 General] donbudafuko:
Thanks dud...as soon as I get to a Wi-Fi I'll dl..can't wait..1.8th is the file size didn't realize us cellular had suck a big system lol...can't wait to dl:):):)
[G4 General] Yipicayer:
Does the bell and rogeers bs/ seek / count are the same ???

should in that case the dd for rogers be : dd if=/data/media/0/system.rooted.rogers.v10b.img bs=8192 seek=65536 count=548352 of=/dev/block/mmcblk0

this is the one from bell: dd if=/data/media/0/system.rooted.bell.10c.img bs=8192 seek=65536 count=548352 of=/dev/block/mmcblk0
[G4 General] MicroMod777:
So only mmcblk0 is writable for system image?

I tried doing dd comand to flash twrp to mmcblk39 and it would do nothing. This would make it easier for H811 instead of flashing a whole system.img since we're factory unlocked already.
[G4 General] fpsq:
Let me rephrase my questions: Does it make any sense flash 10c via KDZ Method on my H815 10b BEFORE rooting with the 10c image + command from this thread? I am still puzzled if that exFAT issue will affect me and, if yes, how to avoid it! Anyone can shine some light on this for me please?
[G4 General] blz_phnx:
Thought I had rooted my Sprint G4 bug it didn't have SuperSU installed afterwards, anybody encounter this
[G4 General] jesssiii:
http://xdaforums.com/showthread.php?p=62062835

VS986 LG G4
[G4 General] betovanbuuren:
Does somebody can add the H815 SEA 10b rooted image?

Thanks in advance
[G4 General] Norcalz71:
trying to system.img dump my AT&T on 10e - what is the proper method to determine block size, count, skip, etc? The AT&T 10g is the following command to flash the rooted system:

dd if=/data/media/0/system.rooted.h81010g.img bs=8192 seek=65536 count=579584 of=/dev/block/mmcblk0

bs=8192

seek=65536

count=579584

Is this uniform across a carrier and I should also run those for dumping the system.img, or is there another command to run to determine the proper bs, seek, count, etc parameters for system dump and then rootedsystem.img flash?

From this thread:

It seems that the command to dump the system.img is:

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

but how do i determine the correct parameters in bold for my particular model and software version?

Thanks
[G4 General] the_scotsman:
Thanks, I'll try it on the weekend, unless someone beats me to it.
[G4 General] the_scotsman:
it's not what you go from, it's what system image you flash. The 815 image in the OP removes exFAT. Some of us are trying to root a system image from our own phone to retain exFAT. I'm going to try on the weekend.

As mentioned in the OP - ALL 815 devices work with the international files posted in the OP. Including yours.
[G4 General] the_scotsman:
You probably did something wrong. That device does work with the international files posted in the OP.
[G4 General] betovanbuuren:
Yes i know, but after flash the International 10C image, my camera broke, i was not able launch it directly nor by any app like Instagram.. The screen was just black with no image.

So i flash my stock 10B kdz (clean flash" and all is normal again.

So should i flash again the international image? does any one with SEA variant that rooted with the image in OP is your camera working?

I don't mind to try again, but i just want to make sure
[G4 General] xyros7:
Help! I must have been on ZV4 when flashing this. It did not say you needed to upgrade in the OP directions. I get security error now on boot. Where can I find the stock firmware for the Sprint g4?
[G4 General] the_scotsman:
Hmmm...strange. I'm 99% sure that others with that device have flashed it with success.
[G4 General] BrunoSlivar:
Before root i was on 10B, after root with 10C.img i am still on 10B. Three my friends all have 10C after root

powered by LG G4
[G4 General] vicvega:
I can confirm that I was not only able to root but also unroot back to stock for the ATT G4. This is what I did. I apologize if this is a re post

1. I put phone in download mode

2. I ran ports.bat to find out my port

3. Opened a command window from the root tools folder and ran

C:\G4 root\LG_Root>Send_Command.exe \\.\COM4

5. Once I had the "#' prompt, I typed id to make sure I had root access:

#id

I got this message confirming I was good to go:

uid=0(root) gid=0(root) context=u:r:recovery:s0

6. I ran the command below to dump my system.img and left it in the phone's internal memory just in case the phone took a dump.

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

7.Once I got the "#" prompt I rebooted the phone by typing leave

#LEAVE

8. Once I confirmed the system.img was in the internal memory I made a backup copy to my computer hard drive.

9. I then followed the steps on this thread on how to root and I was successful.

10. I returned back to stock by following the same steps to root but instead of loading the rooted.img I loaded my system.img with the command below:

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

Hope that this can be useful to anyone afraid to take the plunge. I now just need confirmation on freezing the OTA's.
[G4 General] xyros7:
Warning! Do not do this with your

Sprint LG G4

! It will brick your phone! There are no KDZ or TOT files for the Sprint version yet, so please don't do what I did and stay away from this thread until a method for unbricking surfaces!
[G4 General] tabp0le:
Works fine. You just have to update to ZV5 before flashing. It does say it right there. The name of the file is LS991ZV5! You need to read.
[G4 General] xyros7:
I hope you're being sarcastic. You think that putting zv5 above the command is the same as saying this only works on ZV5?

First of all, it should clearly be stated in the OP that you must upgrade to ZV5.

Secondly, it should also be stated to take a complete backup of the system.img in case something does actually go wrong.

Third, thanks for being so helpful. I love members like you that don't help one bit.
[G4 General] Norcalz71:
What software version were you on?

Thanks
[G4 General] thevmax:
LG G4 H811 Android 5.1 Kernal 3.10.49 Build LMY47D Software H81110h

I want to try your method to ROOT my LG G4 but the phone will not go into download mode, no matter what I do.

I have tried all combinations of volume UP and plugging in the USB cable.

I have the latest drivers from XDA and I have downloaded and extracted the system.rooted.H81110h file.

Send_Command is in my LG G4 ROOT folder.

I even tried factory restore because I know I received the G4 update and thought that might have blocked the download mode, but the update occurs immediately after the restore. Any ideas how I can force download mode to occur?
[G4 General] sublimnl:
It plainly states "Sprint LS991 ZV5 Version." The fact that they specified a version didn't make you take pause to wonder what that version # was all about and whether it mattered if yours did not match? Also, if you read the thread, plenty of people have said you need to take a backup to your internal storage just in case something goes wrong so that you can recover from a bricked phone. You didn't read the thread, you didn't think things through before jumping in, but you DID make a statement saying it flat out doesn't work on the Sprint model, which isn't true.
[G4 General] Fam Money:
It also states:

There were also a few people that posted of getting the same error rooting z4 with the z5 image. I guess you're going to have to hold tight until someone figures out how to recover.
[G4 General] the_scotsman:
Yep, this is why people need to READ the OP FULLY before posting and complaining they ruined their phone. The OP has all the information you need.
[G4 General] bmac1191:
How do you guys not accept bitcoin?!?!
[G4 General] jesssiii:
Are you turning the office completely off before holding power up then plugging in to computer?

VS986 LG G4
[G4 General] thevmax:
Yes, of course. I had no problem getting into download mode with my G2 or G3.

This is why I think that the Update from LG might have screwed up my ability to go into download mode.
[G4 General] AndHD2:
I have tried this method but having no luck.

I'm have a branded handset on Three UK with software version v10b-234-20 on model number LG-H815.

Is this method possible with this software version and if not then how can I go about debranding the handset so I can get it rooted. Also do I still need to unlock the bootloader for this to work.

Many thanks.
[G4 General] javahuan:
Ok, i will try to do that tonight at home!
[G4 General] MicroMod777:
Plug you usb cable to computer usb port. Pull battery, put battery then back in. With one hand press and hold volume up and don't let go for anything. With the other hand plug in cable to micro usb on phone. Don't let go untill you see phone screen say download mode.

If it doesn't work, try a different usb port on computer. If this still doesn't work maybe your usb port are dead. Try a different computer.
[G4 General] Manh_IT:
F500

>>>

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

Thank [MENTION=4709865]rightonred[/MENTION]
[G4 General] thevmax:
Thanks for the info, but I have done all of that already. My USB ports work. I have tried all ports and tried rebooting the computer and reinstalling the drivers, but none of that works. I guess the only other thing I can try is a different computer. My computer has 6 USB 2.0 ports and 4 USB 3.0 ports and I tried them all.

I guess I could try re-installing the drivers for the USB ports, but it seems so senseless....
[G4 General] :
Did you ever get that rooted pr up?
[G4 General] the_scotsman:
yes it will work, you must have done something not quite right. What problem did you have?
[G4 General] phineous:
Yeah, but I only posted it over in the AT&T forum. Check the root forum for AT&T, you can't miss it.

There's rooted images for H81010b and H81010e in the AT&T development forum also.
[G4 General] sublimnl:
I dont know why, but that made me laugh :laugh:
[G4 General] betovanbuuren:
Flashed again and now ended up with software version v10c-opt2-HQ

Not sure what that means, but all works as it should. :)
[G4 General] dilligaf56:
Worked like a charm. Slick and easy. Thanks!
[G4 General] vicvega:
I am on 10g
[G4 General] RenaKunisaki:
You don't need to shut down your entire office, just the phone. Power off with the USB cable NOT plugged in; once it's completely off (LED and screen are off), hold ONLY the Volume Up button while plugging the cable in, and you should get into download mode. You don't touch the Power button when you do this, only Volume Up!
[G4 General] a40dayflud818:
I have been searching and reading this thread. Am I correct in that the LG-H810 with software version H81010e on AT&T does not have the capability to be rooted yet? I just purchased the phone today so new to the LG community.
[G4 General] kirasan13:
One question if i root it, how do i unroot it? By running the dump system img command?

Or use KDZ?
[G4 General] jesssiii:
Try a different cable?

VS986 LG G4
[G4 General] thevmax:
I tried 3 different cables...
[G4 General] donbudafuko:
I keep getting MSVCR100.dll is missing from your computer. try reinstalling the program to fix this problem.. every time I try to install send_command.exe...any idea how to fix this.. thanks
[G4 General] kirasan13:
Install micrsoft visual c++

https://support.microsoft.com/en-us/kb/2977003
[G4 General] sublimnl:
backup your system img first, then when you want to unroot, restore that back onto the phone.
[G4 General] donbudafuko:
i have done that an still nothing.. did the 2010 one before u posted that an then did the 2013 one an still not working..im running windows 10 if that helps
[G4 General] kirasan13:
The confirm 1 is 2010 and check ur 32bit or 64bit

http://www.microsoft.com/en-US/download/details.aspx?id=14632

64bit use x64

32bit use x86

---------- Post added at 12:20 PM ---------- Previous post was at 12:17 PM ----------

Any recommanded app or software for backup?
[G4 General] donbudafuko:
ok so I have 2010 installed an it does say it was successful..i have a 64bit.,,not sure whats going on
[G4 General] Norcalz71:
Phineous did you do the rooting on the 10e image? I'll check out the at&T thread

Seems like according to above, someone made an 10e rooted system.img now
[G4 General] kirasan13:
Try install as win8.1(right click>properties) and run as admin
[G4 General] grimjeeper:
You don't install send_command.exe it is a file that runs when you type Send_command.exe//com4 in the command promt window. Re-read the original post.
[G4 General] donbudafuko:
I'm not stupid I know that..ever time I run the commands I get that error an I still am, have no clue why. I have tried everything..if anyone els has ideas let me know..im running windows 10..not trying to sound mean or anything just fustrated

---------- Post added at 09:59 PM ---------- Previous post was at 09:58 PM ----------

still not working..getting the error still..
[G4 General] Erik1805:
Root was easy, now I need to factory reset my phone. Will I lose root again?

Verstuurd vanaf mijn LG-H815 met Tapatalk
[G4 General] grimjeeper:
You said install, so I assumed you were left clicking on the .exe file. Not sure why it would be saying you were missing a .DLL.
[G4 General] Manh_IT:
dd if=/dev/block/mmcblk0 bs=8192 skip=65536 count=548352 of=/data/media/0/system.img

Thank [MENTION=4709865]rightonred[/MENTION]

Command dump for F500 at post1 count value wrong !!!, Unable to mount and injetc Root.

I've recalculated, count=548352. system.img mount, injetc Root and flash ok :p

[IMG="Root F500L ManhIT"]http://xdaforums.com/attachment.php?attachmentid=3423890&stc=1&d=1438321091[/IMG]
[G4 General] cityneversleepz:
If this was asked, I apologize. can someone elaborate on the part in the OP that says "(We also don't like that the root ends up being ~4GB, since we're flashing whole new system partitions.)" Am I understanding correctly that 4gb of internal storage are lost after the rooting?
[G4 General] sublimnl:
no. you just have to download a 4GB file that you have to store on the phone in order to flash it. after you are rooted you can delete the file.
[G4 General] grimjeeper:
They didn't want to release root this way. To much storage and bandwidth needed for this method of rooting. They would rather have a program to do all the work directly on the phone.
[G4 General] sublimnl:
You just reverse the command you use to flash the rooted img.

For EXAMPLE (MAKE SURE YOU USE THE RIGHT COMMAND FOR YOUR MODEL)...

If you do this to flash...

dd if=/data/media/0/system.rooted.H81510c-EU.img bs=8192 seek=55296 count=529920 of=/dev/block/mmcblk0

...then before you flash, run this to back up your existing config...

dd if=/dev/block/mmcblk0 bs=8192 seek=55296 count=529920 of=/data/media/0/system.backup.img

if = input file

of = output file
[G4 General] autoprime:
good news! my calculations were based off a test phone and no one sent me anything newer. So F500L uses same command as H811, US991, VS986, LS991, H818, H819 etc. I will update thread. :good:

are you going to upload your rooted system.img for everyone?

when backing up your own system you need to use SKIP and not SEEK. all commands for all models are in post #2 of this thread.
[G4 General] Manh_IT:
Uploading...
[G4 General] daClaus:
Yes, I did. Tried to flash TWRP with Flashify, didn't work. Now I'm getting a "secure boot error" at every reboot, but it still boots.
[G4 General] sublimnl:
Thanks for the correction. I missed that detail :)
[G4 General] daClaus:
Yes, at least I lost exfat doing it that way. But that's not a big issue. It just means your external SD will be fat32 (back up you SD-card first!) and that the file size is limited to 4GB.
[G4 General] Manh_IT:
How to get bs, count, skip, seek value !
[G4 General] kirasan13:
Oh the dump system img in post 2 actually is create backup system img?

Sorry for my noobness
[G4 General] sublimnl:
yes
[G4 General] donbudafuko:
Ok well I don't know why I'm getting that error so im done for 2night..I'll try again 2marrow hopefully I can figure out why I m getting that msvcr100.dll error...really hoping to get this thing rooted...is there anything out for tweaks an anything out for fixing the touch issue..thanks
[G4 General] sublimnl:
http://answers.microsoft.com/en-us/...g/16b50adc-e783-4123-9ba9-9a0ec9f6572e?auth=1
[G4 General] phineous:
I had images from unrooted H81810b and H81010e phones, so I ran [MENTION=4709865]rightonred[/MENTION] s root script on them.

I wouldn't say I rooted them, but I made rooted versions available.
[G4 General] asaf400:
I did not try the OP's method, since i'm on 10b, i'd lose exFAT just like the rest of the ppl trying...

So i've done the method that root's the system image offline, using ubuntu, and running a script with root access to change the system.img to rootedsystem.img, then flashed it back..

again the rom still works, but still not rooted.. only the apk in now in the system
[G4 General] fpsq:
Sounds good! Thank you for the explanation! Now, is there any harm done when I root now? I can flash back the original kdz file, or the rooted one you want to provide, and voila, exFAT capabilities restored, am I right? :D
[G4 General] the_scotsman:
Correct, no harm done. You can flash kdz to go back to stock, or another rooted system image with exFAT enabled :)
[G4 General] mamenvn:
Hi bro,

dd if=/data/media/0/system.rooted.H81510c-EU.img bs=8192 seek=55296 count=529920 of=/dev/block/mmcblk0

How to calculate seek, count values?

Thanks!
[G4 General] AndHD2:
I will try again later and provide detailed info on the trouble I'm having with photos.

Thanks
[G4 General] fpsq:
Secuity basics

Another question if I may? What about device encryption? This thread tells me NOT to do it.

http://xdaforums.com/android/development/guide-root-method-lg-devices-t3049772

Therefore, I will do it after flashing (a KDZ with exFAT support).

Did anyone test out the device encryption? :confused:
[G4 General] drizztSA:
Not sure if I asked this in this forum/thread or not. For those who have successfully rooted, have you installed lucky patcher?

If so, have you checked the disable signature under toolbox/patch to android and have made it stick?

I just rooted on my h818p 10d and it rooted fine but cant get this to work properly among other applications that require root.
[G4 General] azaide:
Finally i've just finished reading the entire thread. Big thanks to the OP and everyone who's contributed here...

I have an H815T on 10C from Australia and 2 nights ago I managed to root successfully using the international 815 10c EU image originally posted. exfat support was the only thing I lost.

From what I've read here I need to flash an exact H815T 10C image that's rooted to get exfat back right? Just asking because I saw there was a rooted H815T 10B that was uploaded today and thought it was worth trying but was concerned the 10c and 10b difference wouldn't help my case at all...is this right?
[G4 General] kirasan13:
V10c-HKG-XX?
[G4 General] javahuan:
I got many error when trying to inject a root to your image, i think there are something wrong when you dd your system image. Please check...
[G4 General] kirasan13:
can anyone confirm that the TWRP is working on H815T HKG version?
[G4 General] cybermessiah:
may be a problem with the actual firmware...someone else had the same problem when trying to inject root into his TWN 10b, too...Im going to install ubunto and see if I can sort it out...;);)

Thanx for giving it a go anyway...your input is very much appeciated!!

:good::good:
[G4 General] clockcycle:
Use the dd command for your unit listed in Op to make a system.img keep it as your backup in case you need to unroot or return to stock.

---------- Post added at 10:58 AM ---------- Previous post was at 10:56 AM ----------

Nice catch! Mind sharing your f500l please ?
[G4 General] faizalotai:
The root already been injected in the system..so you will not lose it..just have to update the binaries
[G4 General] indianx:
my lg g4 h811 has version 5.1 h81109n

check screenshot

can i root this phone ??
[G4 General] climo:
I checked before rooting and it was locked. I used the fastboot getvar unlocked command and it displayed NO. I have not checked it again after rooting but it seems we need LG to unlock it via unlock bin. The tmobile version doesn't use fastboot commands so it was never locked to begin with.
[G4 General] karendar:
Those were posted in the Canadian Forum, don't have them on hand... Page 30 I think.

---------- Post added at 08:59 PM ---------- Previous post was at 08:58 PM ----------

His system image is only 2GB... That seems way off considering H812 images are 4.5GB
[G4 General] CPngN:
Thank OPs and others. I now have root on my VZW G4, hooray! The hardest part was finding my old windows laptop so I could push the commands while the phone was in download mode.

Does anyone have a WORKING OS X equivalent to the send_command.exe use here? Someone pointed to a Python script but it didn't work for me, even after installing some missing packages. Supposedly fastboot is what you use to push files from the Mac to a phone in download mode, but when you just want to run commands because those images are already on-device.... I haven't seen an answer yet.
[G4 General] InflatedTitan:
I've been following the thread since day 1 debating on diving in or waiting for bootloader unlock. I haven't seen anything mentioned if it was cool to download directly to phone and unzip it from there. I'll attach screenshot in hopes of someone verifying the size of the img File. If I get the green light then I'm going in. I downloaded through chrome and unzipped using 7zipper app.

Edit:damn xda free app won't let me attach screenshot lol.. File is system.rooted.h1010g.img and its 4.42gb. Seem legit?
[G4 General] bobimbap:
Did you test it on your phone yet? I made one look just like that, same szie 4.42gb abd bricked my phone by flashing that. The root system.img seem only a little more than 1gb. You probably wanna check that again