yashsingh1/xdaforums huggingface dataset:
[G4 General] tripex2k:
Mirrorlink removed. Rules are rules and I regret I broke them.
[G4 General] hollywoodS14:
does the command to pull a system.img vary by device? Looking for vzw command if it does.. thanks
[G4 General] jrc27:
I am as well
[G4 General] natator99:
I'd be interested in the LS991 ZV4 command.
[G4 General] soyelmango:
Actually, please can anyone confirm that an exfat sd card from another phone works anyway on a stock unrooted G4 (h815)?
[G4 General] clandes:
Cool, thanks for the info. Guess I will wait a bit until the exfat support trouble has been solved. I use my external SD card a lot so I need the support.
[G4 General] billybob275:
Be sure to enable Debugging. Also I had to use PTP before my pc would recognize it.
[G4 General] bigdam:
After a mistake(editing build.prop that ended in bootloop and after hardredet stock on bootlogo) i had to flash with lg flashtool a KDZ h81510c that i downloaded. After setup i rooted the G4 again. And my SdCard(exfat) is Working!!!(didn't after first rooting!) maybe it is better to flash 10c first and than root?
[G4 General] aigochamaloh:
Works perfectly! Thank you! Can't get easier than that. exFAT still works as well, pulled SD card before flash. I do notice that the prompts for granting root takes a bit longer than usual to pop up though.

Saved my stock system first.

dd if=/dev/block/mmcblk0 bs=8192 seek=65536 count=548352 of=/data/media/0/system.stock.vs98610b.img
[G4 General] phineous:
If the system.img file you made is still on the internal SDCard, I believe you can replace the filename in the root instructions with system.img and recover your phone.
[G4 General] hollywoodS14:
Is that the command to pull the stock image? same process as root correct, just different command correct?
[G4 General] aigochamaloh:
Yes it is. Just make sure you use the correct command for your phone and switch the input and output file names. Don't forget to rename the output file for your stock system so you don't overwrite the rooted one.
[G4 General] hollywoodS14:
im verizon, so i can just copy and paste

question 2 ... does the downloaded root file have to be unzipped like the file in the op?
[G4 General] aigochamaloh:
Yes unzip it. You should have an img extension.
[G4 General] hollywoodS14:
ok got it.. had to download 7zip. the built in windows unzip wouldn't do it.
[G4 General] BoldCasual:
Agreed - kind of a deal breaker. Is this because we don't have have proper images for 815T yet? Odd how other versions don't have this issue.
[G4 General] m0j0:
FYI, it worked great for me on my T-Mobile variant, especially once I nuked the "T-Mobile My Account" app. I will pony up my donations from the bounty thread on Friday when I get paid. Great job, guys! :D
[G4 General] autoprime:
nope. not without also finding another exploit just to bypass the aboot signature. old solutions on low end devices aren't gonna cut it on a MSM8992 chip.

we have no plans to update this root method... it's literally 4 commands:

1. command to open the download mode shell

2. command to connect to COM port

3. command to write rooted.system.img to phone

4. command to reboot phone.

Anyone who wants full admin control (root) over their phone should challenge themselves to type 3 commands and follow a few steps.

Or maybe check out the root video in the 2nd post of this thread.

A 1-click root is still dangerous because you would still need to press a button at some point to select your model... and hit the wrong model or version there... and now you've got the wrong file on your phone.. or maybe it used the wrong dd command and now another partition got messed up.

By forcing people to type in 4 commands.. they're at least a little more aware of what they are doing and mistakes can be kept at a minimum.

In my testing it seems any mismatched boot.img/system.img results in exfat breaking. So y'all need to either wait for a rooted system img with your exact current version or try a matching boot.img
[G4 General] tripex2k:
Mirror links remove, due to the OP rules.
[G4 General] climo:
[MENTION=2684188]autoprime[/MENTION]- any plans to release rooted system images from other international variants like HKG, TWN, SEA? These seem the most popular. While flashing the euro version does work, but like you mentioned it could break a few things and to wait for the proper version.
[G4 General] autoprime:
probably not. at this point the info is out and it is up to users to share stock system.imgs and others helping out to root them. It would be an endless job otherwise. Method is the same.. apply to all.
[G4 General] Tech_Savvy:
quick question do i need the commands (seek skip count etc) if i use dd if=/dev/block/mmcblk0p46 of=/sdcard/system.img ...or whatever mmcblk0p## my system.img is located?? thanks
[G4 General] climo:
Fair enough you guys did all the hard work anyway! I would pull the system image from my 815T and post it up for someone to root but not sure of the exact command to pull the image. I looked in you're download folder where the KDZ's are kept but no system image there either. Oh well no biggie root is root and very glad to have it.:good:
[G4 General] dilligaf56:
Debugging has been enabled, but putting it into PTP mode, and doing it on another Winblows PC did the trick (driver issue?).

Anyway, I'm now rooted on 10b, after backing up the stock image. Now have to install TiBu and figure out which app to freeze in order to block the OTAs...then await BL unlock ;)

Thanks to the devs for the good work getting this beast rooted, and to billybob275 for rooting the 10b image!
[G4 General] Norcalz71:
Anyone making progress on AT&T version 10e? This would be my first foray into this process but I can take a stab at it if there is another thread/guide/etc on how to pull the system.img and then inject root and re-upload for people to use? Not at all familiar with what the method of "injecting" root into an extracted system.img is. Is it some higher level, technical method or is it relatively straight forward?

Thanks,
[G4 General] tabp0le:
[MENTION=2684188]autoprime[/MENTION] It says in your OP not to create mirrors. I see everyone is doing so anyways. Would you mind if I mirrored as well?
[G4 General] autoprime:
ya everyone seems to be doing whatever they want.. so I think we're about done with maintaining this thread.

mirror, repack, 1-click away!
[G4 General] natator99:
I'd be interested in this too to possibly to try to do LS991-ZV4

I have a ZV4 system img pulled with that I could play with or post/share for somebody else to root:

dd if=/dev/block/mmcblk0 bs=8192 seek=65536 count=557312 of=/data/media/0/system.noroot.LS991ZV4.img
[G4 General] creaky:
Donations made, $10 each:

thecubed: 1TY463420W346620D

illegalargument: 2LY80102LU585403A

autoprime: 3J890536VV697041T

jcase: 1AT025171J1087544

Thanks guys, for all your hard work. And I haven't even been able to use the method yet (can't get to a Windows environment at the moment....)!
[G4 General] BoldCasual:
Can someone please post a 815T 10b/c kdz to have rooted? That way we can flash without breaking exfat.
[G4 General] tripex2k:
Sry, when I started doing the mirrors, I only had faster speeds in mind, since it can be a pain with only 1.4mb/s downloadspeed. I will remove the links asap. Repacking is something I never do, and I will never support, its your hard work and I already donated to you guys and appreciate all your hard work and just wanted to help out with mirrors for higher speeds. Sry for that.
[G4 General] natator99:
Thanks guys for the work!

thecubed = 4MP265432R882882H

IllegalArgument = 69X20978EN1201101

autoprime = 3T0714023M871733Y

jcase = 29777712F6148384V
[G4 General] bigdam:
ExtSdCard exfat works (int 815)when you flash 10c(maybe 10b too) kdz file before root. I did so and my extsd works.
[G4 General] climo:
here's a link to autoprimes download folder where the kdz's are kept. Fourth one down is the V10B kdz.

http://downloads.codefi.re/autoprime/LG/LG_G4/H815T/H815T10B_HKG
[G4 General] nykdpk:
rooted system image for "H818N v10d India".

Please post the code and rooted system image for "H818N v10d India".

Here's the H818N link for 10D firmware (INDIA version),

http://csmgdl.lgmobile.com/dn/downlo...818N10d_00.kdz
[G4 General] hollywoodS14:
Worked great VS986 10b!! Super easy, just a matter of being comfortable with the process. Thanks to the guys of team codefire. i will donate once i can.
[G4 General] dilligaf56:
Yep...I paid the full bounty commitment to each, definitely worth it!

Thanks guys, much appreciated!

LOL @ Windows environment - I run Linux on everything but keep one actual Win7 install around for moments like this...I could do it on Linux, but these were easy instructions!
[G4 General] climo:
The 815T is on V10B no C that I'm aware of, so only option we have is to flash the rooted euro version V10C which breaks exfat since the boot and system images don't match. I'm holding out also for the rooted v10b hkg version.
[G4 General] BoldCasual:
Fantastic, so we've got the 815T 10b image (newest on 815T), so now we just need it rooted. Wish I knew how to do that :/
[G4 General] jesssiii:
Dammit. Already rooted 11A, too late for me now!

Verizon:

Code:

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

VS986 LG G4
[G4 General] cybermessiah:
The problem is that, in the last SEA/TWN software update, our buildprop swversion is 10b rather than the 10c of the buildprop of the rooted EU img...hence leading to the conflict which breaks exfat. Both updates were, to my knowledge, the same thing but just named differently.

Is it possible that I could first flash your 'H815_EU_10C_00.kdz' from your codefire account via LGFlashTool to update my phone and then root using the 'system.rooted.H81510c-EU.img' provided in this thread to avoid the mismatch that breaks the exfat?

Seeing as they are the same model, I assume that this could be a workaround that could provide root for the TWN/SEA fw without breaking exfat. Is that correct?
[G4 General] Arctic Prodigy:
Is their a proper one click root for T-Mobile yet?
[G4 General] autoprime:
possible that may work.. not 100% since i dont have those variants and havent tried it myself.

why not dump/upload the exact current system.img from your SEA/TWN phones so that someone can root those? then you dont have to guess what may or may not happen.. you'd be getting exactly the file you need.

its ok.. not mad or anything.. nor was my original comment directed at you specifically. just speaking generally and not just about XDA either.. the internet has taken this and ran with it.. and thats perfectly fine. since everyone wants to jump in and help.. theres no need for us to keep working on it. It's all in the hands of users for now.

what I may do tho is keep a list of pre-rooted images for each model in the 2nd post of this thread.. so people dont have to hunt for whats already been finished.
[G4 General] jerflash:
I also have the 10b TWN firmware on my LG G4. Anyway to get a prerooted img of this version?
[G4 General] natator99:
How do i get the count # for the dd command for LS991-ZV4?

Is it the same as ZV5 (557312)?

^ definitely this
[G4 General] karendar:
[MENTION=2684188]autoprime[/MENTION] I might need your help on this matter:

We have the following variants of H812: Telus, Bell, Rogers, Videotron, Wind Mobile (And others)

We currently have rooted Telus and Bell by extracting system.img with this command recommended by you:

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

Wind and Rogers pulled with the same command though do not work. They end up having larger files which are unmountable. How would we figure out the proper settings for dd regarding these partitions?

Either hit me up here or through PM if you can, I'd appreciate it.

Thanks!
[G4 General] soyelmango:
I initially took the 10C OTA, then the 10C rooted image - exfat card not recognised.

I flashed back to stock using the 10C stock image, along with a factory reset. The phone recognized an exfat card, and I saved a photo to it.

Then I flashed the 10C rooted image, rebooted... no luck with the exfat card. (I was so hoping your solution would work, bigdam!)

Factory reset again... still no luck with the exfat card.

As far as I know (correct me if I'm wrong)... it shouldn't matter that I'm on H815 02 UK?
[G4 General] funkbuqet:
I can't believe i missed this lol. Super excited. I am going to root my G4 as soon as i get home.

Thanks to theCubed, Autoprime, IllegalArgument & JCase. I am looking forward to what the community can do with this phone.
[G4 General] Gatito2008:
Have you tried the NextApp SDfix app?
[G4 General] rfarrah:
FWIW I had to run that app to get TB to write to my SD card.
[G4 General] MicroMod777:
I zero'd out laf but no fastboot commands work on H811 like fastboot oem unlock.
[G4 General] Usraek:
If that's the case, I'll attempt again by changing the bs/seek/count, I'll compare the commands for the other variants and try substitution.

Do you have a file size it should be? Or is this shooting in the dark a bit? If [MENTION=2684188]autoprime[/MENTION] had a command suggestion as well that would be quite useful.

I'll have my attempts much earlier in the evening than last night now that I have a better grasp on everything.
[G4 General] StuMcBill:
Is disabling this option sufficient for disabling auto OTAs? View attachment 3421606
[G4 General] jmileti:
I hear ya. No patience. Hope it doesn't bite us in the arse.
[G4 General] karendar:
Bell and Telus rooted ROMs uploaded with their NON rooted counterparts:

https://www.androidfilehost.com/?w=files&flid=36116
[G4 General] bigdam:
Sorry it did not work for you. I was surprised too extsd work for me.

I flashed H81510C_00_2.kdz(CSE Flash) than the root and last i put the sdcard into smartphone.

First i was on 10a and after root extsd didn't work.
[G4 General] cowsquad:
No. This is 4 click lol. How hard is it for you guys to just type for commands. Omg we are lazy now. Sorry about this post lol
[G4 General] budeone:
Still running great... I love root.. ?? I hope all that said they were going to donate do so these guys have a reason to crank out goodies for us
[G4 General] jerflash:
Tried running dd if=/dev/block/mmcblk0 bs=8192 skip=65536 count=509952 of=/data/media/0/system.img on my H815 from with 10b from TWN. Does not seem to do anything but sit there.

anyone else having better luck?
[G4 General] tabp0le:
Additional mirror: https://qui.click/g4root (Kansas, US)
[G4 General] cybermessiah:
It will just sit there for a while..a few minutes..and then once the hash reappears its ok to type LEAVE

Ur phone will reboot and you should have a system.img in ur internal storage. (3.89 GB)

I did it and im uploading it to androidfilehost to make available for root injection......but its taking forever...LOL:(:(

Maybe you can beat me to the punch!!:laugh::laugh:
[G4 General] jerflash:
lol ok thanks i will give it another shot right now. either way i will upload to mega
[G4 General] soyelmango:
Thanks for your suggestion. I've installed and run it... Still no luck with the exfat card!

Anyone else with an O2 UK H815 got an exfat card working?
[G4 General] rogconnect:
You may freeze Software update 2.3.3.1 on Titanium backup to feel more safe

我從使用Tapatalk的LG G4 H815 US 4G LTE TMO發送
[G4 General] Negan:
They won't. They'll be lucky to get a third of it. I used to make roms and stuff and people used to always post stuff like "bro im gonna donate when i get paid" and they never do. Theyd post fake confirmation numbers in the thread though! Now i never expected anything from anyone but what it tells you is that people generally don't follow through once they get what they wanted.

Oh and for the record i stopped excepting donations a while back. We're not here to make money. That's not what xda is about
[G4 General] k3mik4l:
Sorry tried reading through the thread first before posting but couldnt find a link to the bell h812 varient. Is one available as of now for root? Thanks
[G4 General] Negan:
Yes sir. We're on our own out here but here's where you can go http://xdaforums.com/showthread.php?p=62085657
[G4 General] cowsquad:
I just sent the respective donation to every dev working on this root method. Thanks you
[G4 General] FUZER384:
Am I the only one that received a ton of malware from downloading the "send command" tools? I downloaded the LG_Root.zip and due to trusting xda I installed the EXE which I immediately started getting signs that it was a malicious. One of which was gentlemjmp_ieeuu.tmp, trovit, and some others. [emoji35] [emoji31]
[G4 General] jmileti:
No I did too. Tricky links. Make sure you click on download now not the regular download button if I remember correctly. Took a half a day trying to get that crap off. Damn hosting sites. Had to restore to prior point.
[G4 General] Negan:
Yeah idk why these guys would host via hev host knowing that xda officially severed ties with them a while back due to this reason
[G4 General] CPngN:
The question is... why 10B? If you can root 11A, why stick with 10B? I haven't seen a comment about that yet, though it's very easy to miss now in this gigantic thread. Thanks all.
[G4 General] hermeez:
Quote:

Originally Posted by FUZER384

Am I the only one that received a ton of malware from downloading the "send command" tools? I downloaded the LG_Root.zip and due to trusting xda I installed the EXE which I immediately started getting signs that it was a malicious. One of which was gentlemjmp_ieeuu.tmp, trovit, and some others. [emoji35] [emoji31]

No I got a ton of it also. You clicked on the link that said "download" and then unzipped and ran that. You should have downloaded for the link that said "download now"

Don't know why they use a host that would do that crap.......
[G4 General] laurasaurisrex:
Because 11A also updates the bootloader to a new version. If you are someone who is waiting for a bootloader unlock, best thing to do is stick with the earlier versions until more is known about the exploits that can be used to get a bootloader unlock. If the unlock is found for 10B and you already upgraded to 11A, there is a chance you won't be able to get the unlock if you can't rollback.
[G4 General] hollywoodS14:
11a bootloader blocks roll back. So say a bootloader unlock is found, but only works for 10b, anyone who updated is sol.
[G4 General] biff6789:
A fair question :)

The reason you haven’t seen a reason in this thread is because it was posted in another thread. The devs learned several weeks back that when you update to 11A there is an “anti-rollback” counter that ticks up from 0 to 1. This means that once you upgrade to 11A, you can never downgrade to 10B, even with a KDZ file. You can never go lower than 11A again.

The reason this is important is because we’re all still hunting and waiting for a bootloader exploit. While minimal, there is a chance that the carriers discovered and patched a bootloader exploit when they released the 11A update, meaning that there is a slim chance that only a 10B bootloader could ever be unlocked, not the 11A. This is all speculative, of course, and hopes are that any exploit we find would work on 11A just as well as 10B. But this isn't always the case. Take the Galaxy S4 for example: You could only ever unlock the bootloader on the initial MDK build (similar to our out-of-the-box 10B build). If you ever updated past MDK, you couldn't unlock the bootloader ever. Only those who stayed on the initial firmware could ever flash custom AOSP ROMs and kernels and such.

So the point is, while we don't know yet whether or not 11A will prevent you from gaining an unlocked bootloader eventually, you maximize your chances by staying on 10B.
[G4 General] jimlightner:
anybody got a tot file for ls991 sprint?..rooted and F'ed around with dpi and now I cant get past the bootscreen...by the way hell of a job codefire..
[G4 General] tabp0le:
See this post: http://xdaforums.com/g4/general/guide-recovering-bootloop-twrp-t3167361
[G4 General] jimlightner:
[MENTION=449079]tab[/MENTION]pOle tried this,no go...o well ill figure it out maybe..lol..im not boot looping but stuck on bootscreen..tried adb sideload but for some reson I cant get it to push..re-rooting wont work cause I cant run the whole thing...:eek:
[G4 General] Milimbar:
I finally have a rooted G4!!!!

Thank you, this had been the longest I had ever gone without root in at least 5 years.

Now we just need a bootloader unlock.......

PS used this method to root H815 USA version, new 10c version (was on 10b) seems to have helped 90% of any tap to wake issues.
[G4 General] claydoh:
What did you have to change? I am no python guru, but I don't see anything obvious to edit.

Does being in ptp or mtp mode make a difference? the phone's device id changes depending on that.
[G4 General] Dantenios:
Would just like to make a little bump. I'm just curious if the Wind G4 image had gotten a root job or is still in the process of. Thank you to all the devs and their hardwork!
[G4 General] jerflash:
Here is the system.img for the h815 10b twn have at it! https://mega.nz/#!wZd0mRyL!XqoujMkERzT5O8hu5w-clvPutV0hNE1rBWlhsF7s9KA
[G4 General] disturbd1:
I successfully updated via OTA to 10g, to apply the root method for my AT&T variant. Now I'm not seeing any concrete set of things to block that would prevent future OTAs from being pulled/pushed automatically. Is there some sort of minimum list that we should refer to for, say, Titanium Backup to "freeze"?
[G4 General] sublimnl:
eagerly awaiting this one. thanks for uploading. I would have done it, but I am on ADSL1 in BFE, Australia. My upstream is shhhhhit :laugh:
[G4 General] :
delete
[G4 General] funkbuqet:
I successfully rooted my T-mobile G4! Unfortunately I also clicked on the wrong link from Dev Host and ended up with a bunch of malware. :(

Also, for the first couple boot SuperSu went ape**** and presented me with constant toast messages about apks requesting root access. Any time a new app requested access it just kept spamming the toast notification until I rebooted. Hopefully this behavior doesn't continue now that I have gotten it to settle down. I had to freeze com.tmobile.pr.adapt as it kept asking for root every 2 seconds or so even after I rejected it.

Actually I froze almost all of the t-mobile and LG apps and figured I would only unfreeze them if they started making the system act wonky.
[G4 General] cybermessiah:
Fantastic work!!! ;);)

Im still only at 27% upload, :(:(...but Ill keep it going as it might prove useful.:good:

Lets hope some root magic can be done on this, as I'm guessing that many of us are in a similar situation regarding the loss of exfat due to being on this particular international sw version. :good::good:
[G4 General] thecubed:
Ok guys, I've been super busy with work, so I haven't had time to respond to all the messages here this week.

However, it looks like some advanced users have the process figured out and are able to generate rooted images - good job :)

I've also made a change to the OP, I'm now mirroring the Send_Command tools on my server. I was unaware that dev-host (the original place where the tools were hosted) was using misleading advertisements to trick users into downloading malware rather than the intended files.

As bad as I feel for mirroring files without permission, I'd feel worse if I continued to allow users to get tricked by deceptive advertisements into downloading malware on their computers. That is not in the best interest of anyone.

I've grabbed the clean .zip from the original link and have mirrored it and put it in the OP.

If me mirroring these files is an issue, someone please PM me and I'll fix the Python version floating around here and package it up to work too.

Thanks!
[G4 General] bobimbap:
[MENTION=1157052]thecubed[/MENTION] I see that you already posted the command line for H810PR in the OP. Does it mean we can get it rooted soon?
[G4 General] autoprime:
thats me posting in the 2nd thread.. has my name and all ;)

but its still up to the users to post system.imgs and then others to root them. commands are there for when the files are ready.

I'll be updating the 2nd post with links to each post of ppl whove made rooted system.imgs... dont wanna steal any shine. :cool: