yashsingh1/xdaforums huggingface dataset:
[G4 General] billquinn1:
Worked perfectly on VZW.

Thanks for the slight cleanup on the First post.

4 5 dollar donations sent.

I'll re-up for another donation if we get bootloader and recovery. I'll enjoy root for a while first though.

I have read a bunch of pages about blocking OTAs. If anyone wants to post the defiinitive way, (for Verizon) it would be useful.

billquinn1
[G4 General] InflatedTitan:
That's odd.. Now I'm second guessing lol. In the OP it states it ends up as ~4gb.. And the ATT 810 command to run says the same thing as the img file I have on storage. Everything seemed legit. But now I may back off again
[G4 General] azaide:
Mine is H815T V10c-AUS-XX
[G4 General] Antaroo:
International H815 10c Version (NOT H815T, H815TR, H815P, etc - you will lose internationalization and possibly features):

Hmm, look, i just went into device settings and it says: "V10b-EUR-XX" which would mean i have "B" not "C" version. Does it matter regarding rooting proccess ?
[G4 General] Mr.Miyagi555:
Can someone clarify that exfat is broken with root on all variants?
[G4 General] robbase823:
Tmobile

When I download the tar file for the Tmobile version I can't open it to extract the files... I need that img file so I root
[G4 General] shootind5nukes:
donated to all 4 of you. Thanks again
[G4 General] legend221:
VS986 10B Instructions and Disable OTA on all variants

Also another success story for my VS986 10B! Thank you autoprime, thecubed, illegalArgument, jcase and billybob275! Donation coming on my next paycheck :) and as always thank you for all your hard work and support to make this a reality.

I would recommend any and all to disable OTA before even rooting as I have been able to do so with success as posted here: http://xdaforums.com/g4/help/how-to-prevent-updates-g4-t3148650/post61849763#post61849763

Follow the instructions on the OP and this can be done before or after but I would recommend before root if possible.

Also per autoprime's instructions on post#2 I ran the following command prior to flashing the rooted system.img to backup my stock system.img in case I want to unroot one day, command as follows for F500, H811, H812, H818, H819, VS986, US991 only, other variants have the proper command to follow like I said on post#2 of this thread:

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

The stock system.img was then backed up on my computer as this command created a backup in the root of the internal SD.

This is billybob275's post and also the rooted system.img that made root possible as I was on VS986 10B still luckily since I was patient enough to see the progression of this thread.

Verizon vs986 10b image is ready. Running fine on my phone, but flash at your own risk. No exFat issues with a Samsung 128gb microSD, but I did take it out of the phone when I flashed the rooted image.

Download Link: https://www.androidfilehost.com/?fid=24052804347782448

Command to run:

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

-------------------------------------------------------------------------------------------------------------------------------------------------------

Much success to all that are looking to do this themselves, as always when it comes to the instructions read, read, read, watch the video and read again. If anyone is bricking or failing in rooting their phones then there is no one to blame but themselves.

Wow! I thought my LG G4 was fast before with AdFree this baby flies now. I'm guessing because when using Tapatalk and the browser loading all the ads created the browser or app to run slower. This is reason enough alone to run root on any phone.

Adfree XDA link:

http://xdaforums.com/showthread.php?t=2252747
[G4 General] tuscolavol:
I asked this question a while back and was told com.lge.lgdrm.permissions. I froze it in Ti.
[G4 General] BrunoSlivar:
Hope to we get custom recovery

powered by LG G4
[G4 General] crucky:
Ive autorooted Vodafone germany H815 V10B Version System.img

https://mega.co.nz/#!u0IRQLrI!IAaLnK6etkGTIhhpbtqY7ktRlNaaYqzA8T67OuFSIo4

So exFAT is back again :)

Have Fun :D
[G4 General] MicroMod777:
Disk gpt.img: 1953 sectors, 976.5 KiB
Logical sector size: 512 bytes
Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20
Partition table holds up to 56 entries
First usable sector is 34, last usable sector is 61071326
Partitions will be aligned on 1024-sector boundaries
Total free space is 53214 sectors (26.0 MiB)

Number Start (sector) End (sector) Size Code Name
53 1048576 9822207 4.2 GiB FFFF system

bs = 8192

skip/seek= [Start (sector) * Logical sector size] / b

65536= [1048576 * 512 ] / 8192

count = [End (sector) - Start (sector) + 1] / bs

1071 = [9822207 - 1048576 + 1] / 8192

Note:

count * bs = Size

You must ensure correct values, if not you can get a "Brick"

*****************************************************

Count should be = 548352 for H811, but I'm calculating 1071 . What am I doing wrong?
[G4 General] autoprime:
glad your exfat is back. thanks for the system.img.. I'll add a link to your post. :good:
[G4 General] fpsq:
exFAT? Sure!

Hi,

well I did root my LG G4 H815 with the 10C System image file provided here!

Before that, I formatted my 64 GB microSD card on my Windows 7 machine with exFAT. My LG G4 (still unrooted) read this card nicely. ES File Explorer let me even create some empty folders and files on it.

I did remove my sim + my microSD and

THEN

rooted. What can I say? At least THIS exFAT microSD card is perfectly fine in my LG G4. Es File explorer can copy anything I want to it. Titanium Backup (I now have root) refused to accept this sdcard as a backup location. Told me: “No write access”.

A quick edit the platform.xml at:

system/etc/permissions/platform.xml

to add <group gid="media_rw" /> in the following location like so:

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>

took care of this problem. Titanium Backup reads and writes to that new location on my exFAT microSD card just fine.I have not tried a different exFAT microSD card yet.

Now I will try to encrypt my device. If this works too, I am very happy!:silly:
[G4 General] CPngN:
No, because it's not. In fact, I think I left my new 64gb exfat SD in the whole time. The only issue I've had is that 1 or 2 apps (QuickPic for sure) somehow "forgot" that I had granted it permission to write to it, and I don't think there's a place to go and "re-do" that association. So I uninstalled, reinstalled and tried to delete an image and got the prompt again. Works fine now.

I think exfat was only broken by some Euro variants that weren't use on the exact perfect model. Not sure.. too much to read to keep up on all of it!
[G4 General] Mr.Miyagi555:
Thanks for the reply. Still a little unclear. Has anyone with a sprint variant that rooted their phone been able to retain exfat? This is the only thing that has prevented me from root so far.
[G4 General] autoprime:
if you're on zv5 and flash the zv5 rooted system you should be fine.
[G4 General] Mr.Miyagi555:
Thanks [MENTION=2684188]autoprime[/MENTION]. While it seems bootloader will never be unlocked by LG, do you think it will not be impossible to find a work around similar to loki or something alike?
[G4 General] CPngN:
I had the same issue with TB - it would run now, but couldn't backup or delete old ones. The trick here, instead of giving everything in the world write access again!!.., is to change your Backup Folder Location in TiBU. Hit DETECT! and see that there are different ways.. the trick in Lollipop is to pick the new DocumentProvider storage, which then gives you that prompt to pick the root of your SD card. This method is much preferred as long as all your important apps are updated to support it. This will help keep things more secure (theoretically) by providing some level of sandboxing, aside from the fact that we often choose the root of the entire SD card above, which gives a few select apps (all access). Which is good when you have photos spread across different folders. If you don't trust an app and only need to access 1 folder with it, select that folder instead of the root path to the SD card.
[G4 General] autoprime:
too early to say... but we are trying. currently trying to unbrick one of our devices. Wish we had some connections to LG Service Center in here :confused:
[G4 General] Mr.Miyagi555:
I will root when i get home now that i have clarification. Hopefully we have some insider from lg willing to hook autoprime and the team up.
[G4 General] clockcycle:
Reading throught the thread it mentions exfat brakes as a result of mismatching system.img and boot.img.

In other words, when you flash a system that is not the same version you're running.
[G4 General] creaky:
Delete
[G4 General] Tech_Savvy:
tweet it and hasttag lg..maybe youll get a hit..
[G4 General] sublimnl:
Second post in the thread.
[G4 General] creaky:
Many thanks.
[G4 General] RenaKunisaki:
1071 * 512 = 548352.

The math can get confusing because we're working with three different units: bytes, sectors, and blocks.

1 block = 8192 bytes (that's the "bs" parameter for dd command)

1 sector = usually 512 bytes, but check what gdisk says to be sure!

We need to know exactly where the system partition begins and ends within the storage block so that we replace it and nothing else. gdisk gives us two important pieces of information:

[B]Logical sector size: 512 bytes[/B]
Number Start (sector) End (sector) Size Code Name
53 [B] 1048576 9822207[/B] 4.2 GiB FFFF system

The first line is the sector size. The third is the sector where system begins and ends. So first we convert those to bytes:

1048576 * 512 = 536870912

(9822207 + 1) * 512 = 5028970496

Notice we add 1 to the End Sector number, but NOT the Start Sector. Otherwise, we'd have the byte address where the last sector begins. We need the address where it ends, so that it gets included in the copy.

1 block = 8192 bytes, so convert those numbers to blocks:

536870912 / 8192 = 65536

5028970496 / 8192 = 613888

For dd we don't give start and end, we give start and count, so:

count = end - start

count = 613888 - 65536

count = 548352

So now we have all the information we need to construct the command:

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

And we can reverse it for the command to back up the existing system.img:

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

Notice that we replace "seek" with "skip" for the backup! The meaning of the command is:

dd: the "disc duplicator" program, used to copy blocks of data around

if: input file

bs: block size

seek: skip this many blocks of the OUTPUT file (i.e. start writing at this block)

skip: skip this many blocks of the INPUT file (i.e. start copying from this block)

count: number of blocks to copy

of: output file

[edit] Make sure you don't mix up "skip" and "seek"! I bricked mine that way, don't make the same mistake!
[G4 General] thedunnyman:
Thanks!

Just confirming that I have the H815 SEA v10b mobile phone and this worked perfectly.

Also it worked despite me making some mistakes. For the step where we were meant to follow "1,2,3,6,7,8,and 9" of the other link....I accidentally did all of them. That is, the extra I did was to use this command:

adb.exe push busybox /data/local/tmp/ && adb.exe push lg_root.sh /data/local/tmp && adb.exe push UPDATE-SuperSU-v2.46.zip /data/local/tmp

I'm not sure if this will cause any issues in the future, but I have now successfully rooted my phone and my DPI is working perfectly at 540 :)

Cheers
[G4 General] TDSJR:
Perhaps, he's JUST that excited. LOL
[G4 General] kmcphee:
Anybody tried Sprint
[G4 General] pimfram:
DON'T TELL ME WHAT TO DO, YOU'RE NOT MY REAL MOM! Just kidding, I've fixed it. Thanks.
[G4 General] bendsley:
As said in original post...waiting on the dump files.
[G4 General] bendsley:
Haha, I did the exact same thing though about 2 or 3 posts above yours. Refreshed the page and the pictures scared the hell out of me.
[G4 General] leond:
Thank you, I've missed that part. dumping now in download mode. will send a dropbox link to OP when it's done.

BTW., if i follow the rest of the instructions in lg_root.zip file forum thread will it work my LG G4? :)

Answer: NO :) just tried

uploading Sprint system image to dropbox now.
[G4 General] PiPoLiNiO:
Hello. I have a G4 with brand Polish Play network . I did everything as instructed and telephone hangs on the LG logo ... Any ideas ? :(
[G4 General] bendsley:
What model is it specifically? If it's any of the models listed in the OP, then yes, it will work. If not, such as for example the Sprint / AT&T (nm on this one now) version, then no...again...as stated in the OP.
[G4 General] thecubed:
Just added ATT to the OP, special thanks to [MENTION=1381295]munkypoo7[/MENTION] for his system image.
[G4 General] PiPoLiNiO:
No Verizon. Normal H815...
[G4 General] the_scotsman:
Did you go through all the steps? Did they all work? Sounds like something went wrong. Did you ensure you entered the correct command for the international version from the OP?
[G4 General] ramsesht:
is anyone working on the sprint dumpfiles? I am on sprint and would gladly contribute.
[G4 General] Tech_Savvy:
If i got you a system img for the flex 2 sprint 5.1. 1 would you be to get me a rooted syztem img.. Thanks
[G4 General] leond:
uploading my Sprint image to dropbox as we speak.

BTW, for anyone else doing the upload - zipping up systemimage shrinks it from 4.4G to 1.7G
[G4 General] PiPoLiNiO:
I did all the steps in turn. Command correct. At the end of jumped out # , I entered LEAVE, the phone will reset and hanging.
[G4 General] ramsesht:
/me *bows*
[G4 General] leond:
Just curious , besides rooting, if I understand correctly this is also a method to FLASH custom ROM? or the image still has to be signed because of the stock bootloader? If so how did the OP signed new system image after injecting SU?
[G4 General] tripex2k:
Tried this, but now I have no playstore access anymore, just server error message, tried on mobile data and wifi, both give me server error. Funny.....NOT. -.- Hell, everything went smooth, but now I run into several problems.
[G4 General] ramsesht:
From what I gathered its just root, waiting on bootloader unlock? Someone tried to flash TWRP and it didn't flash.
[G4 General] Fam Money:
So I just dumped ZV4 from my Sprint G4. Before I go uploading it I wanted to make sure there is no info in particular to my phone in that image......correct? As far as I've read the system partition just holds the OS and system apps loaded by Sprint.

Downloading Ubuntu so I can root it as well.
[G4 General] RenaKunisaki:
This script still doesn't work for me:

chcon: failed to get security context of ‘operatingtable/bin/reboot’: Operation not supported

I think because I don't have selinux on my sytstem, chcon won't work. (And flashing the resulting "rooted" image will just cause a hang at the boot screen... can still restore stock image from download mode though.)
[G4 General] the_scotsman:
Nah, it won't do any harm. it just pushes a couple of files to a temp folder on your device :)
[G4 General] javahuan:
I checked his image is 4.xGB before i trying to inject the root. I donno whats the problem ( may be wrong dd command, bad upload / bad download or TWN rom's problem)

Java
[G4 General] cybermessiah:
Great work.:)

Would you mind uploading it so it can be added to the main OP for others to download. Hopefully this can be flashed over the TWN 10b and keep exfat intact.:confused:

If anyone can successfully inject root into the H815 10b TWN ..please let me know, as two of us have already tried to unsuccessfully root it, without sucess.:(
[G4 General] thedunnyman:
What exactly did you want me to upload?

I used the H815 International version which is in the OP already. I think it might have said v10c in the OP, but I read in the other pages that it worked for v10b so I just used it.
[G4 General] Us3Less:
And if you've read it , you should know flashing v10c on v10b breaks exfat
[G4 General] theedon323:
After successfully rooting G4 TMO US, is it safe to delete the 4GB tar. file from the phone?
[G4 General] slick_shoes:
From the OP
[G4 General] thevmax:
Success! I want to let everyone know that I had to switch to a brand new LG USB Cable that came with my G4 in order to get the download mode to occur. It also took following the directions carefully to reach that awesome point of ROOT. Thanks to everyone who emailed me back with suggestions..
[G4 General] cybermessiah:
My bad. I thought you had injected root into the SEA 10b firmare using the inject root guide.:confused:

As you are aware...flashing the 10c rooted file over a 10b original firmware breaks the phones ability to read the exfat on external SD cards.:crying:

A few of us are looking for someone to successfully inject root into either the TWNor SEA 10b firmware, so that this issue doesn't occur.;)
[G4 General] andiak:
Has someone testet root with Windows 10?

Gesendet von meinem LG-H815 mit Tapatalk
[G4 General] Fam Money:
Here is ZV4 for the Sprint LS991.

Stock - http://www.filedropper.com/stockls991zv4 MD5 f1e51c169fd3bda88e6566dc9f00c649

Rooted - http://www.filedropper.com/rootedls991zv4 MD5 fbafd77606b9bbb6def08cb4cc43b79d
[G4 General] donbudafuko:
I am usingveindows 10 annoys not working for me...keeps coming up msvcr100.dll is missing...I have tried everything to fix it an nothing...but I know others have had success so idk..try an see
[G4 General] graysooner:
I found that file with google, dl'ed it and placed it in the same folder with all the root files, commands, etc. Then everything worked for me.
[G4 General] thedunnyman:
Ahh, s'all good! Yeah so I did read about the EXFAT business but I just thought I'd use FAT32 instead. Didn't know it was such a big deal?

That said, it sounds like it's a pretty big deal to people. Will I ever be able to get it back - or is that something I did to permanently damage my phone?
[G4 General] disturbd1:
I rooted my H810 (AT&T) on my Windows 10 box at home. No problems with any of the steps outlined. I did use Root Junkie's video guide.
[G4 General] -Jesco-:
Here's the prerooted link for H815 SEA version 10B , SD card works and everything . tested by me personally .

HERES THE LINK
[G4 General] Medizinmann:
Well if one need the ability to use files bigger than 4 GB you need exfat and if want to use microSDXC bigger than 32GB out of the box.

You didn't break anything permanently - you just need the right system.img to fix it.

Greetings

Medizinmann
[G4 General] Z3ldaFan88:
I have downloaded the Root file for the US991 THREE TIMES now and every time I just get a "rootedsystem" data file (after extracting the US991_10C folder which gave me a "US991_10C.tar" zip that I again extracted).

Am I able to use this rootedsyst Disc Image File (it is 4,386,816 KB).

I am thrown off since it does not have my phone model in the name and do not want to risk bricking anything.....So can I continue he steps as normal from here or what do I do?
[G4 General] Koladaohio:
I'm not sure what I'm doing wrong, but I've gone through the process 3 times and I'm getting nothing. I have the exact software version as listed ( H81110h) and everything looks to be going as stated in the guide. I complete the last step, the phone reboots and there is no root as indicated by Root Checker Basic or Root Check apps. I'm not getting any errors and the only thing that's different from the guide to my own process is that my DIAG is COM3 instead of COM4, but that shouldn't matter (I did change the command to read COM3). Any ideas? I can provide any info or screen shots that would help. Thanks!
[G4 General] Z3ldaFan88:
Hey Buddy, After you reboot your phone go into your app drawer and find your newly installed SU app.....Open it up and allow it to update via the normal method (will take a minute or two) when it is done just go back into your root checker and run it again, should e good to go.
[G4 General] Koladaohio:
Ah perfect! Thanks a bunch. I've never seen this while rooting previous devices. I appreciate the help
[G4 General] nipun1110:
More variants soon..but when?
[G4 General] autoprime:
Ive been added pre-rooted system.img links to the 2nd post in the thread as users upload them.

more links will be added when users post more.
[G4 General] kirasan13:
did u lost the exfat support?
[G4 General] shag_on_e:
I also rooted my VS986 using the Windows 10 preview on my laptop. No problems so far, though I am seeing strange issues sending texts and downloading from the Play Store, but I'm sure that's from something else. Apps are saying there's no connection, and texts are sticking at "sending", strange. I did disable some VZ apps like Message+ and Cloud.
[G4 General] asaf400:
Just Flashed you're .img to my H815-EUR-xx (10b),

I tried the autoroot method on my system.img and it didn't work, You're image sadly also didn't work for me(although it rebuilt dalvik on boot [or what ever 'Android in Upgrading' means these days..])

Same issue as before:

1. exFAT not working... :(

2. SuperSU pop-up does not appear when an app requests root ('su' in teminal timesout)

Autoprime, plase add a note
[G4 General] crucky:
i tried the image twice so i it should work will check it again for you

Gesendet von meinem LG-H815 mit Tapatalk
[G4 General] Kasdarack:
430ish megabytes?

I'm very confused. The download for the ATT image is 2.1 gig tar.gz which decompresses to an over 4gb tar... but then the actual image that IZarc extracts is only 430ish megabytes? I've tried it multiple times. What is the deal? I'm pretty sure that's wrong and would brick my phone. I apologize if this has been discussed, but I searched the thread and q/a thread with a few different terms and came up empty.
[G4 General] asaf400:
Hey, I need help understanding the dd commands,

In the post, and video's ppl using the intl. version (H815) which has 10b, just flash the 10c posted here (gains root and loses exFAT)

but the Math for the dd does not add up!

if the command to write is:

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

then the command to read (for backup) is:

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

This means i'm reading in blocksize of 8192, from the block 55296 and afterwards, for 529920 blocks,

bottom line I'm reading (8192 * 55296)K which is:

4341104640 B, 4239360 KB, 4140 MB, 4.04 GB

Now the 10c .img is:

4749520896 B, 4638204 KB, 4529.49609375 MB, 4.42333602905273 GB

and 4.04GB != 4.42333602905273 GB

So how come it works? it overwrites more of the block!!

Image to visualize the issue

[IMG="Math"]http://i61.tinypic.com/sdzczs.png[/IMG]

space 4749520896*

and in the image i copied wrongly, so each time i say K i mean B(ytes)

Can someone help me understand that?
[G4 General] nipun1110:
Hey man sorry. I didn't notice that. Btw thanks for yr hard work. And can u please guide me how to upload the system.img so that I can also contribute something. I am using H815T 10b-HKG
[G4 General] sublimnl:
Sounds like a bad download. I would post the MD5 of your image and someone can compare it with a known good MD5.
[G4 General] soyelmango:
!!! Got it working !!!

I followed the instructions here http://xdaforums.com/showpost.php?p=62097182&postcount=446, and have successfully injected root AND exfat is still working.

The rooted image for H815 10C, O2 UK carrier, is here: ([MENTION=2684188]autoprime[/MENTION], please can you add this to the image list in this thread's #2?)

https://mega.nz/#!0t8XAC4J!UVib59ll2aaOCAyvKcCxBaWikSY603-T2Pv2xe-BjGo - it's a self-extracting exe file. Just download, double-click and it will expand from about 1gb to the full size 4.3gb rooted image.

Another advantage: no more O2 branding!
[G4 General] Sj12345:
Hi I need some help trying to find my correct bs, seek and count values, I have an lg devices with root, no kdz/tot, I see you use gdisk for calculated it but where can I find that file
[G4 General] kwaad:
The site is showing size 0, and I can't get the download to go/start on my phone. Is it just me, or is it the site/file?