yashsingh1/xdaforums huggingface dataset:
[G4 General] Negan:
The unrooted is the same as if you did your own system dump. That is your backup. Keep it on your internal memory before you try this!
[G4 General] Azure1203:
So I run the command to get the system.img in the adb window?
[G4 General] Negan:
Correct. Oh btw there is a video in post 2 of the main thread that you should watch. Its actually very easy to do all this. But im seeing a lot of people get a bit lost. To be fair the instructions are poorly written and all over the place. The video may help you do this safely
[G4 General] Azure1203:
Perfect. I'll get a system dump from the MTS H812 up right away.
[G4 General] thracky:
bs = block size - read/write this many bytes at a time

seek = skip this many blocks in the partition

count = read only this many blocks

In other words, the system partition is pretty well defined in terms of where it's positioned on the storage medium and how large it is.
[G4 General] Azure1203:
Says 'dd' is not recgonized as an internal or external command....

Trying to run the command to dump the system.img from the minimal adb and fastboot cmd window.
[G4 General] thracky:
I believe you need to run dd using send_command, not adb.

Follow step 9 from here:

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

And replace step 10 from that thread with the dd command.
[G4 General] Negan:
You need to run the commands from the send comand.exe path
[G4 General] Azure1203:
Nevermind. I think I found it.
[G4 General] Dantenios:
Think this would be a good place to ask this, but anyone know of the issue with the wifi on the G4 (I have the one from Wind). It seems like the wifi either will work, or doesn't/takes very long to respond, anyone else? Or possibly a fix/workaround?
[G4 General] Eagle1337:
If it's the issue I have a reboot fixes it. Wifi says it's connected but it does jack all?
[G4 General] Dantenios:
Does that mean if have to reboot the phone everytime the WiFi decides it doesn't want to work? I don't mind doing that since the phone is pretty quick to boot. Just figured there'd be another efficient solution ha-ha, but thank you for the help!
[G4 General] munsifb:
I ran the command with command.exe but nothing happens. Can you provide the link the the video . I can't find it on post 2.
[G4 General] Negan:
https://youtu.be/mZM-zTi3eAA

Very easy to do. Let us know how it goes for ya

---------- Post added at 08:25 AM ---------- Previous post was at 08:23 AM ----------

I've had zero issues with WiFi on mine
[G4 General] Ser Gilgoroth:
Mine has been ok in regards to WiFi, maybe something odd a while back, but I am confident the aforementioned reboot sorted it out. Since then, zero issues.
[G4 General] Kr0m100:
0 issues so far with my G4's WiFi (Bell)
[G4 General] chriskwarren:
Thanks guys for the root help here. This is my first LG device and its been tough trying to keep up with the developments in the main LG root thread and the QA thread as well. The video provided here was brilliant, and there does not seem to be much in the main root threads for us Canadians. The rooted images posted for Bell was also brilliant. I can't hit the thanks button enough.

I still have a few more questions on making my own backup and if the various commands need to be tweaked for our models, etc. I've not done enough reading yet (and I won't be rooting until tomorrow or next so I won't ask too many questions until I am ready and have read enough myself), but I just have to say that I appreciate the helpful and friendly guidance offered by the folks here.

Too bad the main thread's OP has not been updated much, as I think some of the confusion for LG rooting noobs like me might be mitigated a bit (its hard to keep up with a long and busy thread, and searching is tough when questions and answers get repeated, etc). I can certainly see why the devs are not anxious to do this, as some people around here get pretty pissed if not spoon-fed. That said, I have found this thread more helpful than the main root thread, and its appreciated.

---------- Post added at 12:25 PM ---------- Previous post was at 12:14 PM ----------

Is it all wifi or only in certain places?

Some routers have traffic shaping/management features, where certain devices are offloaded to another channel, etc. Asus has something called Smart Connect (a feature that uses Broadcomm's Xstream tech) to move devices to different channels based on bandwidth used, and it has caused poor wifi connectivity for many devices. I would try looking up your router model and see if there are known issues there.
[G4 General] Ser Gilgoroth:
The first two posts should have all you need. You could also see [MENTION=2826966]karendar[/MENTION] and his posts, since he got me rooted! I am with Telus myself.
[G4 General] chriskwarren:
Yup I am on Bell. I have bookmarked karendar's download page with a pre-rooted img too.
[G4 General] Ser Gilgoroth:
I saw that after posting my comment, the root process is super easy. It reads like it is complex, but overall it is simple and took no more than five minutes. Good luck when you get there.
[G4 General] Negan:
Hey guys I don't have my g4 with me today and I need someone to pull a file for me and send me it. Its called "mixer_paths.XML"

Its in system/etc.

Can someone send me it for a surround sound experiment I wanna make for us please!
[G4 General] spartan268:
BRO! I see on the download page Karendar has the Rogers version up.. And it says the magic words of rooted... IS THIS TOO GOOD TO BE TRUE :DDDDD
[G4 General] karendar:
Right, but it's not tested yet, guys. so MAKE SURE YOU HAVE A NON ROOTED SYSTEM.IMG TO REVERT :)

Videotron is uploading in 5..... 4....... 3............

Waiting for Wind Mobile image. :)

For everyone's info:

command to backup H812:

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

Command to flash and restore H812:

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

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

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

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

The skip command is used to pull the image. The seek command is used to flash. :)
[G4 General] spartan268:
I'll be the first guinea pig if no one does it after 6 hours. Still at work right now.

Luckily backups and restores are my specialty!
[G4 General] bitbitbit:
Argggghh the Roger software I have is 10c! [MENTION=2826966]karendar[/MENTION], if I get you a system dump, would you be able to root that for me? ;)

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

Just for newbie's (like me) information, there is a typo in this line. A "=" is missing after "of". Took me a while to figure out why nothing was happening :silly:
[G4 General] karendar:
Corrected, thanks.

FYI: Rogers is v10C... I assumed it was 10B. But I'm running V10C Bell on my phone and it works fine, so I imagine they're almost identical. :)
[G4 General] munsifb:
I dumped mts system.img and its over 4 Gb. Is it normal?
[G4 General] Usraek:
Yep, I''ve just waiting to get home and test it, but if you can get to it first then by all means. lol

The software is definitely 10c as dumped from my phone.

[MENTION=5062345]Yipicayer[/MENTION] should take a look here.

---------- Post added at 11:30 AM ---------- Previous post was at 11:29 AM ----------

Yes, that's correct. If you compress it with Winzip/rar/7zip it should only be around 1.1gb and you can uploaded it on Mega.co.nz or another file host.
[G4 General] karendar:
Has to be EXACTLY this size:

4*492*099*584 bytes

If it's this size, you didn't dump it right:

5*028*970*496 bytes
[G4 General] munsifb:
Its 5*028*970*496 bytes. What exactly I did wrong?
[G4 General] karendar:
What command did you use? If the command says seek=65536, you should write skip=65536 instead.
[G4 General] munsifb:
I replaced seek with skip. now its 4*492*099*584 bytes.
[G4 General] GetPatriotized:
Wireless charging pad finally arrived and indeed it works.
[G4 General] maddog497:
Is that with the leather back?
[G4 General] munsifb:
Here It is. MTS System.img . https://mega.nz/#!u9xnAaiL!2VOpDKAf7pW-0m3H-5RbOVyoyn51LbnrYC4c_hbR83w
[G4 General] k3mik4l:
Hi guys ive dumped the rooted and unrroted bell images on my phone what exactly do i do from here to root it? ive tried to go through the thread but im unsure of what commands to run .. I do not want to brick my phone so if somebody could help me out id be forever grateful. Thanks
[G4 General] Azure1203:
Awesome. I couldn't get mine to work for some reason. Hopefully we can get it rooted now.
[G4 General] Negan:
Earlier today i posted the youtube link on how to do it. As a precaution i suggest keeping both rooted and stock system.img on your internal memory to be safe. Its quite simple though

---------- Post added at 07:20 PM ---------- Previous post was at 06:48 PM ----------

Fyi guys g4 supports rro layers! Guess thats on my list cause you'll find that no theme has themed the lg apps so im gonna have to do some testing when i can! I may do a few small things in the mean time. Theres a few thing that are ugly that I'll need to fix
[G4 General] k3mik4l:
Rooted my bell g4 no problems but like an idiot i tried to flash twrp to see if it would work like tmobile users, now im getting an error on bootup saying SECURE BOOTING ERROR 1002. I have the stock bell file on my phone so i figured if i dumped it then it would work but i'm still getting this error. Have i bricked my phone or is there a way out of this jam?
[G4 General] karendar:
What commands did you use to flash TWRP? Can you access download mode? Maybe fastboot can save your phone... Otherwise, maybe send_command can help you.

We can't flash custom ANYTHING until the bootloader is unlocked...
[G4 General] k3mik4l:
I can access download mode yes, what would i do from there? ive tried dumping the unrooted img as i put both versions on my phone before rooting. I tried flashing the stock image and im getting the same error, any ideas would be great im so pissed at myself right now!
[G4 General] strikelight:
[MENTION=2826966]karendar[/MENTION] - not sure if you still need the system image from wind, but it's uploaded here if you have a chance to look into injecting root for us wind folk:

https://mega.co.nz/#!jdw1XCgQ!mL3T9sk-6NBvAxMdKGbyBcx1EwWTJLk4tgf0nHZiolI

(10b)

Thanks
[G4 General] Usraek:
ROGERS CONFIRMED ROOTED. [MENTION=2826966]karendar[/MENTION]

:) :)
[G4 General] GetPatriotized:
I haven't tried it with any backs. I just use double sided tape and put it in my case, it's pretty thick too.
[G4 General] k3mik4l:
What command would i have to use to flash the unrooted bell system image, im in a bootloop but can get into download mode. I put both the rooted image and unrooted image on my g4 before rooting in case i messed up which i did. Is it simple as just flashing the unrooted image to get my phone to boot? Thanks guys, factory reset does nothing...
[G4 General] karendar:
Seriously, the issue here is that you don't have access to the internal memory. If you had access to this, you might be able to flash a recovery.img back to the proper sector on the phone.

Your only bets now in my mind are:

a KDZ to restore the phone (Which isn't out yet)

OR

http://www.lg.com/ca_en/support-mobile/lg-LGH812

Try the LG mobile support tool to see if it can restore your phone while in download mode... Be forewarned, you'll lose everything on it. But it's better than having a 700$ paperweight.
[G4 General] gwertheim:
Sweet
[G4 General] k3mik4l:
Thanks but its saying my phone is up to date, guess im screwed or have to wait for an upgrade or a dev to help me out. Thanks for trying to help
[G4 General] spartan268:
Used these instructions to root. Worked like a charm. (Rogers)

Karendar, you're an awesome dude. Thanks for your effort. I highly appreciate it :good::good:
[G4 General] Dantenios:
I guess it could just be the router at home, but sometimes it feels like it happens with other routers, though it's been fine for now, so it could be that the reboot has fixed the issue. Am so excited, can't wait to hear the news when the Wind variant gets root! :D
[G4 General] bitbitbit:
My Rogers G4 was rooted successfully as well. Thanks [MENTION=2826966]karendar[/MENTION]! Without your help, it will probably take forever to get root on the Canadian devices.

A question for those of you who have a good knowledge of rooting. Without custom recovery, is it still relatively easy to apply updates without losing root? I have been using Nexus devices forever so keeping root was never a concern.
[G4 General] Negan:
I would say no. You will most certainly lose root and its possible that they patch it so this root method no longer works. I never advise anyone to take an ota. The only good thing about an ota is to pull the ota to save someone who's bricked by not following the precautionary meassures while rooting. Basically you could pull the ota and send it to someone who's bricked and they could apply the update.zip via adb from stock recovery. At least in theory it should work
[G4 General] bitbitbit:
I didn't mean applying ota directly. I was just wondering how easy/hard it would be for us to install a patched ota file. With custom recovery, that should be pretty simple as patching the ota file should be piece of cake for devs. But without custom recovery and with a locked bootloader, I was curious how it can be done. I don't think we can update radios and kernels from within android.
[G4 General] offall:
See several posts says Rogers is confirm, has the image being posted?
[G4 General] gwertheim:
No clue
[G4 General] bitbitbit:
Yes, see https://www.androidfilehost.com/?w=files&flid=36116

Karendar didn't make a post about the Rogers image but the file is at the same URL as the other images.
[G4 General] Usraek:
Has anyone tried this? I really would like to as the volume is way tooo low for my tastes, I'm concerned about bootloops though! It's been reported working with other devices such as the Nexus 7 in the thread, and someone else has confirmed it working on G4.

http://xdaforums.com/lg-g3/general/guide-headphone-speaker-volume-booster-t2819821

(Confirmed on G4: http://xdaforums.com/g4/help/volume-booster-t3166853)
[G4 General] karendar:
Completed everything

Allright guys. Root has been achieved for ALL supplied ROMs. Here's the rundown:

Telus = COMPLETED and TESTED

Bell = COMPLETED and TESTED

Rogers = COMPLETED and TESTED

Videotron = COMPLETED (Testing unconfirmed)

MTS = Same image as Rogers (Will upload only upon request)

Sasktel = Same image as Bell (Will upload only upon request)

Wind = CURRENTLY UPLOADING

So everyone happy?? :)

---------- Post added at 06:33 PM ---------- Previous post was at 06:31 PM ----------

[MENTION=5098295]markbencze[/MENTION] already has a copy of mixer_paths.xml he's working on. I lack time to implement this... :) Rooting was a venture that was already pretty demanding.
[G4 General] Usraek:
Settings->Display->font sent to 'small' and textdroider 534 DPI.

VERY HAPPY.

Awesome... I Ninja'd my app link at the bottom of my post as it doesn't appear to work... Would appreciate and edit from the quote :P

(haha seems I did same with your MENTION... fixed. :) )
[G4 General] Azure1203:
So the MTS dump has been looked at and confirmed to be the same as the Rogers one? Has anyone tried to root it?
[G4 General] spartan268:
And around page 30 of this thread, it will have the commands needed as well

You can also alternatively use Viper4Android as well. I just got it set up last night, took me a while. A lot of reboots were involved so it's mostly waiting for that.

Only downside is that it doesnt work with soundcloud for me.
[G4 General] karendar:
I looked at the system files and theyball seem to be rogers tagged... Personally, I'm running the bell v10c image on my Telus v10b phone... Works fine. :)

Next step: Dumping other system partitions (modem, laf, recovery)

Can someone with adb shell knowledge and another phone than telus PM me? Would need help.

Thanks!
[G4 General] Usraek:
Yeah, I'm using Viper, but it doesn't help enough. My Galaxy S3 could make my ears bleed... This is just disappointing. :(
[G4 General] munsifb:
Can please post all the commands to flash the rooted and non rooted img for MTS. Thanks . I will try rooting it now.
[G4 General] karendar:
All commands were posted a few pages back:

http://xdaforums.com/g4/general/lg-g4-canadian-thread-t3135162/post62099698#post62099698
[G4 General] munsifb:
Thanks . I will attempt root now. Will report back.
[G4 General] Negan:
Just a heads up for you guys on what im working on. The volume mod im working is not so much to increase the volume. But what it does is activates the ear speaker during media playback. It give you a cool surround sound effect. Should have this one done soon

I updated my pc to windows 10 yesterday and sadly i couldnt get the deodex tools to work so the 3minit battery mod i was going to do will have to wait a bit until i can figure out a way to deodex everything. Theres a few other tweaks im planning on doing for us all but all rely on being deodexed.
[G4 General] Mf4466:
i read through most of this thread but im still sure if skipped it... but was there a link in regards to the lg812 KDZ? i wanna root but i dont wanna f up my phone so i need the kdz before i start just to be on the safe side...
[G4 General] Negan:
I may be able to give ya a hand tonight depending on what it is

---------- Post added at 02:31 PM ---------- Previous post was at 02:28 PM ----------

http://xdaforums.com/showthread.php?p=62085657

Copy both rooted and stock to your internal incase you mess up. Instructions are in the op of the main root thread
[G4 General] spartan268:
Page 30 my friend. The first lonely command will automatically place stock image in your internal storage. Then you can run the rooted one.

KDZ isn't even needed tbh, I did it without it and didn't have any issues at all. Smooth as my bottom
[G4 General] munsifb:
Root is Confirmed to be working on MTS with the Rogers Image. [IMG="Proof"]http://i.imgur.com/zHA3hoI.jpg[/IMG] . Thanks karendar
[G4 General] offall:
Hi Karendar,

I noticed the Rogers image is on 10b, any reason it is the case?

My phone is currently on Rogers 10c, wouldn't it is better for less bugs etc? I can upload the 10c unroot img if needed
[G4 General] Usraek:
It's 10c, 100% for sure ripped from my phone. It's just labeled improperly.
[G4 General] karendar:
Yeah, my bad. I'm too lazy to unzip, rename, rezip. :) Sorry guys.
[G4 General] Azure1203:
Used the Rogers dump to root the MTS H812 and everything worked great. Was pretty nervous during the process so I checked and rechecked but everything seems to work great now. Verified root access and everything.

What do I do if it constantly says SU binary needs to be updated?

---------- Post added at 03:40 AM ---------- Previous post was at 03:10 AM ----------

Also, how do I go about enabling Wifi Tethering now that I have root? I'm on MTS.
[G4 General] anemicfrog:
Hi, can you make a small walkthrough of what you have done ? I have both files for Rogers, then from there it is confusing to follow everything over 30 + pages. what tools were you using?

Did you follow this http://xdaforums.com/g4/orig-development/root-tmo-vzw-intl-variants-soon-root-lg-t3164765

If yes then i'll try saturday.

Thanks.
[G4 General] Usraek:
Open SuperSu and let it update :P

---------- Post added at 10:34 PM ---------- Previous post was at 10:32 PM ----------

BTW: SUCCESS!

I've managed to boost the volume, it's amazing and I'm in love.

More info here:

http://xdaforums.com/showpost.php?p=62120683&postcount=13
[G4 General] munsifb:
Yes follow that tutorial and run this command in the last step

dd if=/data/media/0/system.rooted.rogers.v10b.img bs=8192 seek=65536 count=548352 of=/dev/block/mmcblk0
[G4 General] spartan268:
I followed this video. And replaced the command with our Canadian versions

https://www.youtube.com/watch?v=mZM-zTi3eAA

The only thing it doesn't cover is running the backup before doing the flash
[G4 General] karendar:
Hi everyone,

Hope you're all enjoying your root! And thanks to people who donated, I sure wasn't doing all this for money, but the attention is appreciated. :)

[MENTION=5103814]Usraek[/MENTION] [MENTION=5098295]markbencze[/MENTION] or anyone else who's not on Telus and has knowledge of ADB shell:

Could someone on Rogers/Bell/Videotron do these commands in adb shell while the phone is booted? Not in the rooting send_command application!

adb shell

su

dd if=/dev/block/platform/f9824900.sdhci/by-name/recovery bs=8192 of=/sdcard/recovery.img

dd if=/dev/block/platform/f9824900.sdhci/by-name/modem bs=8192 of=/sdcard/modem.img

dd if=/dev/block/platform/f9824900.sdhci/by-name/rpm bs=8192 of=/sdcard/rpm.img

dd if=/dev/block/platform/f9824900.sdhci/by-name/tz bs=8192 of=/sdcard/tz.img

dd if=/dev/block/platform/f9824900.sdhci/by-name/tz bs=8192 of=/sdcard/laf.img

Then zip up the .img files and send em my way.

Also if anyone's curious, here's an adb installer so you can start playing too: http://xdaforums.com/showthread.php?t=2588979

This is why:

Recovery: Could be the same recovery for everyone, wanted to archive it in case someone F's up their phone.

modem/rpm/tz: Used for the radio, could help in converting phones from one carrier to the other. I want to compare modem images to see if there's a difference (I doubt it, but we never know)

laf: This is the download mode partition. Might be helpful if one of our phones is unlockable like the T-Mobile version is. Our phone is VERY CLOSE to the T-Mobile model. On the LG G3, our D852 variant used the D850 T-Mobile variant as a base for ROMs when the bootloader was finally unlocked.

And if anyone is curious to see what kind of partitions are on the phone, just type:

ls -l /dev/block/platform/f9824900.sdhci/by-name/

Thanks in advance, guys!
[G4 General] Usraek:
This is very complicated and l will parse it better tomorrows sober.
[G4 General] Negan:
Sure thing man. Oh and for Anyone else doing this you can just use terminal emulator to run these commands if ya don't wanna learn a bit of adb
[G4 General] deadgods:
Any of this work on the telus model?
[G4 General] juju2011:
Yes get telus files -_-

Sent from my LG-H812
[G4 General] deadgods:
Sorry missed that post. Next question.. Is viper avalable for the g4 yet? That's all I want root for really lol
[G4 General] Yipicayer:
Anyone else find this frustrating that lg offer promotion :battery sd card / back leather and extra battery only to US buyers. Just feel like they don't care for us up north.

---------- Post added at 10:41 AM ---------- Previous post was at 10:40 AM ----------

Yes got it installed and running great
[G4 General] maddog497:
Not true as I got them through Rogers.
[G4 General] munsifb:
Any way to tether (hotspot) for free with MTS after rooting?
[G4 General] Negan:
Im not familiar with mts but do they not allow tethering?

---------- Post added at 04:16 PM ---------- Previous post was at 04:15 PM ----------

@karendar here's my bell images you wanted. https://www.dropbox.com/s/ahu1bowfw36spdk/bell_imgages.zip?dl=0
[G4 General] munsifb:
No. They charge $15 extra for tethering.
[G4 General] Negan:
I would say to keep your eyes on the tmo threads. Historically they find hacks for it. Ive never tried since ive never had to pay extra
[G4 General] Yipicayer:
---------- Post added at 03:46 PM ---------- Previous post was at 03:44 PM ----------

[/COLOR]

im whit Rogers but have purchased the phone at best buy so not eligible. .. That promo is from Rogers costumer how get the phone on line only nothing to do whit lg promo with is on any carrier in the US.
[G4 General] deadgods:
Sweet it worked for my telus phone thanks alot guys :D
[G4 General] Azure1203:
I'm wondering the same thing. All the usual Wifi Tether apps don't work.