yashsingh1/xdaforums huggingface dataset:
[G4 Q&A, Help & Troubleshooting] shbang:
Finally went ahead and took the update to vs986 11a to get root. *sigh* I backed up my stock 10b image, mounted it in linux, and applied a modified SuperSU installation, but I was too unsure about the "dd" to /dev/block/mmcblk0. I've only has this device a few hours. I figure any unlocked bootloader we get is gonna have to work on vs986 11a, so I might as well update, root via dev's image, and not risk bricking my device.

Well I'm happy to be a rooted LG G4 owner. Time to see what I can get away with with this locked bootloader. So much bloatware to remove I don't even know where to begin.

Btw, that rooted Download Mode is cool, also very sketchy. Never seen that in a device before. I'm coming from the Nexus series of phones.
[G4 Q&A, Help & Troubleshooting] playgameo:
It was updated to include ATT, that's when I attempted it. I just didn't think to update my phone to match the image's version before rooting. Stupid mistake on my part. Hopefully a kdz will surface or someone will figure out some way to fix this.
[G4 Q&A, Help & Troubleshooting] donnybright:
TWRP is up and running for T-Mobile, now we just need roms!
[G4 Q&A, Help & Troubleshooting] Eric618:
I never saw that it was updated. My bad.
[G4 Q&A, Help & Troubleshooting] got heem:
Just rooted without a problem on ATT on H81010g.
[G4 Q&A, Help & Troubleshooting] jamtre:
No problems with VS986 11A

Everything worked flawlessly on my Verizon VS986/11A. I have a 128 gig SD card, I left it in place. Everything remained as it was post-root, no problems with exFAT.
[G4 Q&A, Help & Troubleshooting] grimjeeper:
Anybody having issues with popups not responding to touch?

Lux was causing the issues.
[G4 Q&A, Help & Troubleshooting] jdizzle30:
Can't connect to port com5

I have the proper drivers installed and my computer recognizes my AT&T G4. When I enter the sendcommand.exe in command prompt, using proper port number, I continue getting a cannot connect error. Is anyone else having this problem or know a solution?
[G4 Q&A, Help & Troubleshooting] davelee1054:
Is it safe to uninstall system bloat apps? I remember whenever system apps were uninstalled on the LG Optimus G (stock ROM) it would boot loop with security error. Is that still a thing? Or can they be safely uninstalled?

---------- Post added at 04:37 AM ---------- Previous post was at 04:37 AM ----------

That means there is some other process on your computer occupying the connection on COM5.
[G4 Q&A, Help & Troubleshooting] the_scotsman:
Is your device in download mode? Does it show in device manager while in download mode?
[G4 Q&A, Help & Troubleshooting] jdizzle30:
Thank you for the rapid response davelee1054! So if another process is occupying COM5, how do I go about ending said process/processes? Would a simple restart of my computer do the trick? Not trying to be too noobish! I rooted my G3 flawlessly using a very similar command prompt process after the lolipop update...

---------- Post added at 03:48 AM ---------- Previous post was at 03:43 AM ----------

Yes it enters download mode and I ran the adb command to see if my device was being recognized as per step 4 on the how to guide the original root method post refers to. I didn't check to see if it shows up in device manager while in download mode. I'll get back to you on that. Thanks for the rapid response. It's nice NOT getting my balls busted for not being the most advanced root enthusiast in the world!

---------- Post added at 03:51 AM ---------- Previous post was at 03:48 AM ----------
[G4 Q&A, Help & Troubleshooting] the_scotsman:
Did you enter the correct COM port? Double checked?

No yellow exclamation mark in device manager?

Can't think what else could cause this. Don't think something else could be hanging up the COM port. Try unplugging all other USB devices from the computer? Different cable?
[G4 Q&A, Help & Troubleshooting] jdizzle30:
I am now seeing a yellow exclamation point on g4 icon in device manager. Don't think it was there before, but its there now...triple checked the correct port entry
[G4 Q&A, Help & Troubleshooting] the_scotsman:
That's why. Did you install the LG drivers from the OP?

It uses different driver files for each mode. It's missing some by the sound of it. That's why on normal mode it'll work, but download mode isn't.
[G4 Q&A, Help & Troubleshooting] jdizzle30:
I may not have. I installed driver from LG PC Suite about a week or 2 ago. I'll install the other driver. Just out of curiosity, if i did install the driver from PC Suite, then driver from OP, could they be conflicting somehow? If so, can all device drivers be deleted and the proper one re-installed?
[G4 Q&A, Help & Troubleshooting] the_scotsman:
Nah, shouldn't be any kind of conflict. If you want to be sure just right click the icon with the yellow exclamation mark in device manager and choose uninstall. And check the box to delete the driver files.

Then install the driver from the OP.
[G4 Q&A, Help & Troubleshooting] jdizzle30:
Yeah, just for good measure, I uninstalled LG PC Suite, and deleted all drivers (in download mode and out). Installed proper driver from OP. I'm gonna try this again...thanks for your help! I really appreciate it! I'll be sure to report back

---------- Post added at 05:20 AM ---------- Previous post was at 05:03 AM ----------

OK, so I have now deleted all G4 drivers, used 2 different cables, and reinstalled drivers downloaded from OP. I can use the port batch file to determine my port while in download mode. PC recognizes my booted device and also in download manager, but in download manager, it still has yellow exclamation point. I'm using the AT&T Software version H81010g. What can I possibly be missing????:mad::mad::mad:
[G4 Q&A, Help & Troubleshooting] the_scotsman:
I had the same issue in Windows 10. I had to boot from my Windows 8 partition and the driver was installed properly. I'm really not sure why it won't install properly for you?
[G4 Q&A, Help & Troubleshooting] jdizzle30:
I'm using Windows 7...I'll kick around with it for a bit longer, but am going to call it a night soon. Thanks again for your help...if you can think of anything else, let me know. I'll keep you posted
[G4 Q&A, Help & Troubleshooting] megamanfre:
Anyone that was having touch screen issues or battery problems, or any of the common issues most have been experiencing find that the root improves on this? Or are the issues still present?
[G4 Q&A, Help & Troubleshooting] jdizzle30:
When my drivers install in download mode, the MTP driver fails to install...I have no clue as to why.
[G4 Q&A, Help & Troubleshooting] RenaKunisaki:
Awesome. What do I need to do to get my H812 (Canadian, Wind Mobile) rooted? Just wait, or do you need any info from the device?

It seems like the download mode and Send_Command.exe just straight up gives a root shell... but maybe not? "id" suggests I'm root, but I can't e.g. remount /system rw. No output, nothing happens. What's up with that?

(If so, seems like a bit of a security issue as well, if anyone can just plug your phone in and get root!)

[edit] playing with the console some more. I think it's not a "real" Linux shell, just a quite limited "pseudo-shell". Things like output redirection don't work. "mount" will list mount points but not change them. It seems like errors don't show up here (stderr is not connected?) so it's hard to tell what's up.

Especially odd: even though "mount" says /system is mounted read-only, I can in fact write to /system/bin - but the changes don't persist after a reboot. Not sure if it's a "false" write, or if something is undoing them.

Anyway, no doubt there'll be a full blown root very soon, just felt like playing with this some more.
[G4 Q&A, Help & Troubleshooting] spoon_ek9:
need some help with my G4 about root

ok, i think i screwed up on the firmware version while rooting with the new method which doesnt need the bootloader to be unlocked. i thought my phone have updated to version G but it ended up didnt from the OTA, so now i went ahead and did the flash to a h81010g img and now my phone have a security error on boot.

now, the phone will still go into download mode, so i did some research and i am thinking my opinion to get the phone back to work.

so, correct me if i am wrong, if the KDZ and tot is available for my phone later(ATT H810), i assume i can flash the stock rom in and get it back to working?

i know the phone is pretty new so file will come slowly,, but i just have to ask is there any other way to get it back to working?

thank everyone.
[G4 Q&A, Help & Troubleshooting] didi_ghost:
Do we lose warranty with this root method? Or we can just return to stock flashing KDZ and everything gets cleanned up?
[G4 Q&A, Help & Troubleshooting] Andrew025:
Did some searches and came up empty handed, checked the "return to stock thread" and didn't see an at&t stock kdz.

Am I just not finding it or is there not one currently available?
[G4 Q&A, Help & Troubleshooting] the_scotsman:
You can flash to stock and there's no way of knowing it was ever rooted. Warranty will be fine.
[G4 Q&A, Help & Troubleshooting] erany1:
will this work on

will this method will also work on v10a ???
[G4 Q&A, Help & Troubleshooting] the_scotsman:
I'm not sure myself, why not update to 10b? There should be an update available. Settings > About > Software Update.
[G4 Q&A, Help & Troubleshooting] erany1:
nope... updates are not availble for me with my carier (v10a-425-01).

will it work for 10b?
[G4 Q&A, Help & Troubleshooting] the_scotsman:
It works on 10b...it should also work on 10a but I'm not 100% certain.
[G4 Q&A, Help & Troubleshooting] erany1:
Thank's man!

i'm still stuck with the drivers for the adb commands to work (remember... :) ?

now i am really not sure which way to go to root this device...:confused:
[G4 Q&A, Help & Troubleshooting] jdizzle30:
OK!!! So, I'm finally rooted! I took several steps after Googling LGE Android MTP driver won't install. One was to run RegEdit on my pc and change a couple hex values. After that, I did a complete system restore on my PC. I restored it to a point well before any LG driver software installation or updates. I restarted my PC after restore, deleted any previous driver downloads, re- downloaded drivers from OP, installed and ran the root process. Whatever I did worked, as I am finally rooted. Thanks Scottsman for your patience and prompt replies throughout last night and into the wee hours of the morning. :D:laugh:
[G4 Q&A, Help & Troubleshooting] vroom1:
Thanks first of all to Team Codefire will donate once rooted, The way i understand atm is we lose exFat support and have to reformat SD cards to Fat32, Other than the 4GB file size is there any of issue this could cause such as Nandroid backups further down the line? Looking forward to backing up my Apps+data and such.
[G4 Q&A, Help & Troubleshooting] megamanfre:
Is it confirmed that you can do a factory reset after rooting, and maintain root, on the verizon variant?
[G4 Q&A, Help & Troubleshooting] Eric618:
I agreed to contribute to whoever posted a working method, and I def. stand by that. I'm now rooted on my H810. Who should I donate to?
[G4 Q&A, Help & Troubleshooting] RyanPm4-:
Couple questions: I know we now have root, but we have no way of getting a custom recovery, so no ROMs correct?

- Without ROMs, are there any things I can do to help fix the dreaded missed-taps that (mostly VZ) G4s are plagued with? Something in the build.prop I can adjust to turn up screen sensitivity?

- Any tips for reducing lag? I feel like it has a lot to do with LG UI. There's no way to get stock Android without custom recovery/ROMs, correct?

- Any tips for wifi issues? Sometimes wifi networks lose internet connection/seem to have issues with DNS

- My Google Play Music tends to randomly pause while the screen is off, and as soon as I turn the phone's screen back on, it resumes playing. Any fixes for background apps going to sleep?

- Lastly, will using an LG backup/recovery to get back my homescreen/apps after a factory reset affect anything? Will I lose root?

I'm sorry, would some of these questions be better suited for another thread? Now I'm thinking I might've been getting a bit off topic XP.
[G4 Q&A, Help & Troubleshooting] azzio4675:
how did you do?
[G4 Q&A, Help & Troubleshooting] vroom1:
Look at the bottom of the first post which has the paypal links

http://xdaforums.com/g4/orig-development/root-tmo-vzw-intl-variants-soon-root-lg-t3164765
[G4 Q&A, Help & Troubleshooting] lgphreak:
Ryanpm4- I have verizon lg g4 and after root no more miss taps. And i hot them every couple words. Now working much better.
[G4 Q&A, Help & Troubleshooting] tylerw1369:
If anyone needs the verizon 11a kdz file I can upload it to my drive account. Let me know if any of you need it
[G4 Q&A, Help & Troubleshooting] Surly33:
No User Data lost

Used this method yesterday, no data lost. Flash away! :laugh:

---------- Post added at 07:28 PM ---------- Previous post was at 07:12 PM ----------

T-mobile only currently. This is why I switched from Big Red. Cheers, Brother T-Mobile TWRP Method
[G4 Q&A, Help & Troubleshooting] ryanpm40:
Wow, really, just from rooting the device and not doing anything else with it? Wondering if it was always just Verizon's stock image- I wonder if the rooted version we flash here is from a different carrier/variant? Do you use LG's backup/restore to an external SD and have any issues with it? Thanks a lot for your info, I'm eager to root now :)
[G4 Q&A, Help & Troubleshooting] playgameo:
As of now I don't think there's much we can do. I'm trying to familiarize myself with serial communication via download mode and see if there's anyway to either mount the sd card or copy over a file. If I can do that then I can just load up the image file for the firmware I originally had on my phone.
[G4 Q&A, Help & Troubleshooting] Eric618:
I don't see how merely rooting a device, without any additional changes, would alter a single thing. Root in and of itself doesn't change anything.
[G4 Q&A, Help & Troubleshooting] ryanpm40:
Agreed, sounds weird to me, unless the rooted image being flashed is from a G4 of another carrier, since VZW phones seem most affected in the missed taps. Can anyone confirm?
[G4 Q&A, Help & Troubleshooting] ViPaSoft:
Can anyone tell me if this would work on my LG G4. It's an H815 and I have it on contract with Virgin Media in the UK.

Thanks guys.

Vince

PS. If YES, which download as my phone only says H815
[G4 Q&A, Help & Troubleshooting] giantpear:
HELP!!! att h810 10e 'security error' after rooting with 10g image

Got the phone only 3 hours ago. I could not wait to get my hands with this new root. Now my new g4 is stuck on 'security error' page after I flashed it with 10g image.

Help needed! Any easy way to get back to stock image? Thanks in advance!
[G4 Q&A, Help & Troubleshooting] the_scotsman:
I have no lag. Try using a different launcher. Nova is the best in my opinion, it's what I use. Turn off dual window as this can cause a little UI lag.
[G4 Q&A, Help & Troubleshooting] giantpear:
Same here. Did not realized my g4 was still on 10e. Googled but nothing works so far. :(
[G4 Q&A, Help & Troubleshooting] ryanpm40:
Haha thanks but Nova is always the first thing I put on my phone. Theres still occasional lag, especially opening/closing apps, and scrolling in some apps like Chrome, Settings, etc. Even Google Messenger lags like crazy when typing or scrolling- Textra is the only messaging app that I've found that doesn't lag on my phone. I've factory reset it, and its my second replacement from VZW. Same issues on my last G4, and the display models seemed about the same.
[G4 Q&A, Help & Troubleshooting] RenaKunisaki:
So, just curious, maybe one of the devs can answer. What we're doing here is using dd to replace the entire /system partition with a modified one? But why do we have to replace the entire partition? Could we not just make whatever changes are needed to the existing one? Also, can we back up the existing one and restore it if something goes wrong?
[G4 Q&A, Help & Troubleshooting] the_scotsman:
I'm no expert, but I guess to modify the system partition on the fly, you need root permissions. Which is what we're trying to achieve, so it wouldn't be possible.
[G4 Q&A, Help & Troubleshooting] RenaKunisaki:
Well of course you need root to modify it at all. The "download mode" gives us a root shell but it seems to be somewhat crippled. (e.g. I can do "cp /data/media/0/su /system/bin/su" and it'll work, but on reboot it's gone. I don't fully understand the limitations of this shell.) But we're able to use "dd" to replace the entire contents of the /system partition and have it stick. If we can do that, there shouldn't be any reason we can't also use "dd" to read/write the partition arbitrarily and just patch it instead of replacing it. (I guess it would be a bit more work to develop, but would save having to host/download 4GB files per device!)
[G4 Q&A, Help & Troubleshooting] the_scotsman:
As I said I'm no expert. if there was a way they could do this, then they would have. They a;ready stated they weren't happy making users download such a large file. But it's the only way they could get it working for now.
[G4 Q&A, Help & Troubleshooting] pcrhckyman:
in theory, it seems possible to restore with an image from another G4 running the same update... as long as the same options (bs, seek, count) to flash the rooted image were used to extract the image. it's likely going be difficult finding anyone with an old update, though, considering most are probably going to update in order to root...
[G4 Q&A, Help & Troubleshooting] RenaKunisaki:
Yeah, they obviously know what they're doing and there must be some reason for it. I'm just curious what it is. I always like to know about the gritty technical details. :p
[G4 Q&A, Help & Troubleshooting] the_scotsman:
That's good, shows you're interested in learning. Most people here just want root and then they bugger off, without having a clue about what they just actually did from a technical standpoint :)
[G4 Q&A, Help & Troubleshooting] RenaKunisaki:
Yeah, I'm a Linux developer/hacker already, just don't know much about Android. I like to know what's actually going on under the hood! (Especially if it meant not having to wait for a download a large file!)
[G4 Q&A, Help & Troubleshooting] cwtien:
It's just from a filesystem perspective. Technically, you CAN arbitrarily write supersu.apk into system.img, but can you guarantee:

1) It will be on on the system folder?

2) It will write on an empty space?

The above 2 are damn hard (nigh impossible) to do with the limited commands available in the shell.

What is being done is actually quite simple:

1) Download the system image.

2) Using the PC, modify the system image by injecting supersu.apk (root).

3) Upload the modified system image into the phone using dd.

You can actually DIY it if you know how to inject supersu into the system image.
[G4 Q&A, Help & Troubleshooting] RenaKunisaki:
That's what I thought. It would be more difficult to develop, but it should be possible to basically "mount" system.img using dd to do the read/write, and modify it that way. (Probably could even "mount" it on the PC, passing read/write requests to the shell over USB as dd commands.) Or at least dump the system.img to SD card, mount it on an ordinary Linux system, modify it however you like and flash it back.

I thought I might try that, actually, but I don't want to mess with it if I don't know for sure I'll be able to restore the unmodified image if I break something.
[G4 Q&A, Help & Troubleshooting] outlooker1970:
How do you get system.img file without root?

Before I root my LG G4, I would like to know how to pull system.img file. If you can direct me to a thread I will go there. Thanks for any help I may get. Also, how do you get a KDZ file? From reading this thread, I discovered download mode give su I have a hunch that has something to do with it
[G4 Q&A, Help & Troubleshooting] Duffydyer:
Help with confusion

How do I move the resulting "system.rooted.phonemodel.img" file to the root of my phone's internal SD card with MTP mode.? I cannot access the root directory, because my phone is not rooted. I am on the AT&T model.
[G4 Q&A, Help & Troubleshooting] MDHarper:
Where are the LG G4 root files md5 checksums?

I look at 650 replies and nothing.

Come on man!
[G4 Q&A, Help & Troubleshooting] Eric618:
With all due respect, some of you guys are not advanced enough to be trying this. Not that it's overly difficult, but you are asking some very rudimentary questions. If you brick, you've got absolutely no one to blame but yourselves.
[G4 Q&A, Help & Troubleshooting] switters1:
Agreed. I've had rooted galaxy s1-s4, flashing a new ROM very couple weeks for the last 4 years. For the first time, I'm in no rush to root. I suggest unless somebody has an urgent application that needs root, just wait for the one click root to come out. That's the same recommendation the devs made.
[G4 Q&A, Help & Troubleshooting] Duffydyer:
I can sense all of the respect. This seems like a catch 22, to me. I am in MTP mode, but how can I move a file to my root directory, which is read only, unless I am rooted? The directions clearly state that I need to move the system.root file to the root of my internal sd card. Just cannot figure out how. Obviously, if I brick my phone, I have no one to blame but myself. Any help will be appreciated.
[G4 Q&A, Help & Troubleshooting] allthemalarkey19:
By root of your internal sd card, it doesn't mean the actual root directory. Just the main internal storage directory that shows up when you click on your phone in Windows Explorer and then click internal storage. It should have your download, music, movies, DCIM, etc. folders.
[G4 Q&A, Help & Troubleshooting] Duffydyer:
Much appreciated. I thought that could be it, but I wanted to make sure, so as not to brick my phone.
[G4 Q&A, Help & Troubleshooting] RenaKunisaki:
Yeah, some of the questions asked here might seem silly, but people want to be totally sure they're doing it right when the risk is so high.

I don't mind waiting, but I do like to play with things too, if it's safe. :D
[G4 Q&A, Help & Troubleshooting] Cluesade:
I was in your exact same boat. You probably used the 10g file, they don't have a 10b file yet. (My phone is a h810 10b) I did that and I got the same error. ATT has a 14 day period that you can go to the store and exchange it no questions asked. Just tell them you turned it on and you had no idea what happened. They don't know the what it means.
[G4 Q&A, Help & Troubleshooting] Clips92:
failed setup

got everything worrking for root, and when i click leave it fails to boot up. issue is on verizon lg g4/ I recieve a failed set up
[G4 Q&A, Help & Troubleshooting] OfPrometheus:
Is anyone else getting an extremely slow download?
[G4 Q&A, Help & Troubleshooting] mtillapa:
MD5 for H81510c-EU.img

f856eacc24d0756213b8f9487054bc5d
[G4 Q&A, Help & Troubleshooting] a040900:
After rooted, dose Xposed Formwark can inst and run on H815 now?
[G4 Q&A, Help & Troubleshooting] the_scotsman:
No, not yet.
[G4 Q&A, Help & Troubleshooting] gamehacksxd:
,d

what about g3
[G4 Q&A, Help & Troubleshooting] the_scotsman:
Wrong forum. G3 forum is here: http://xdaforums.com/lg-g3
[G4 Q&A, Help & Troubleshooting] playgameo:
Yea I think i had e. I got the phone over a month ago though so I don't know if they'll let me trade it in for a new one.
[G4 Q&A, Help & Troubleshooting] FriGiN:
Got the tmobile h811 10t variant i have the file in my root phone memory i have the right com port for my diag port and i put in

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

and immediately get back #

it doesn't seem to do anything after a leave command and reboot i dont have root. any suggstions?

---------- Post added at 01:17 AM ---------- Previous post was at 12:21 AM ----------

I got it to work after 2 or 3 more tries
[G4 Q&A, Help & Troubleshooting] onaikel:
Lg G4 sprint Security Error [Authentication Fail #9]

Hi any way to fix security error when power on in LG G4 Sprint? i can put only in download mode and recovery mode

stuck in LG Logo and security error [Authentication Fail #9]

thanks in advance!!!