yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G3] ThePagel:
Yeah not a bad idea because if it is 000000 like hyelton stated it MAY have been from a bad flash. The crappy thing is to my knowlage you will be the first g3 user to get a imei wipe from firmware flashing. Hopefully you saved your imei number so if she sends it back you can verify the number under the battery matches.

Were you rooted with twrp installed? If so did you save a backup? If you did chances are you have a efs backup to fix it.

Edit* you shouldn't let her know you have doubt's or else she might find a way to doctor it if she is clever enough.
[T-Mobile LG G3] psufan5:
Ok, she was mistaken. It was correct... phew.
[T-Mobile LG G3] Stewartwi:
Newb help

Sorry if this has been answered went through the thread but didn't see it asked or answered. So I'm giving my G3 to a friend and getting the Nexus 6 he wants me to put it back to stock completely. So if I follow the TWRP method that will restore the phone to full stock by going through TWRP and then once it reboots it's back to stock recovery correct? And then I could just OTA the newest update for him and let the phone install it as a normal OTA without any issues (Well if all goes smoothly) right? Thanks in advance.
[T-Mobile LG G3] hyelton:
Well I wouldn't really consider using TWRP method stock. Its only 100% fully stock if you use this method or the kdz method.
[T-Mobile LG G3] Stewartwi:
So if I wanted to take it back to completely stock including the bootloader what method would you say to go with? Just want to put it back to stock in case he wants to do something with it later.
[T-Mobile LG G3] hyelton:
The guide in the OP is for going back to stock :)
[T-Mobile LG G3] Stewartwi:
Aye so I'm rooted now with TWRP on it so if I follow it will take me back to stock correct or am I completely newbing it up?

Download your preferred choice of D851xxx-Untouched_Stock_Restore.zip HERE (Perfect 1:1 image unlike most roms)

Copy D851xxx-Untouched_Stock_Restore.zip to phone (external sd if available)

Reboot into twrp

For firmware update do not wipe! skip to step 8. If you want untouched stock continue with step 4.

Click [Wipe]

Click [Advanced Wipe] (For full wipe stock restore only)

Select dalvik cache, system, Data, Internal storage (only if you use external for downloaded file) and cache

Click the home Icon in the bottom left

Click [Install]

Select D851xxx-Untouched_Stock_Restore.zip (make sure you select the proper sd card)

Swipe to install [====>]

Install will now begin: pure stock system, kernel, recovery, modem and rpm will be installed

After completion click [wipe cache/dalvik] (do not skip especially if you dirty flashed)

Swipe to wipe [====>]

Click [back]

Click [reboot system] (it might say no os but it is wrong you do have a os click restart anyway) [dirty flash will not have that problem]

DO NOT INSTALL ROOT UNLESS YOU WANT IT TO BE ROOTED

If you did a dirty flash to update you need to reinstall twrp! (goo manager or twrp manager from the play store is the easiest way)
[T-Mobile LG G3] ThePagel:
This will do exactly what you want it to do. Follow every step and it flash everything back to clean untouched stock. Most of the partitions that tot/kdz replaces are untouched to begin with the twrp method will only replace files that are often customized + modem and rpm for people who use it to upgrade. Just so there is no confusion this also puts the stock recovery back and after first reboot twrp is no longer there.
[T-Mobile LG G3] Stewartwi:
Thank you so much sir.
[T-Mobile LG G3] pside15:
So, I'm going to JUMP to the N6 Wednesday. Is the TWRP method adequate for turning the phone back in to T-Mobile? Has anyone done this? I've never had to use the LG flash tool before so I'm really just being lazy in not just using the KDZ.
[T-Mobile LG G3] ThePagel:
It should be but better safe than sorry unless the other options don't work for you.
[T-Mobile LG G3] Philly Jim:
Can't make it any easier then that , beats the whole Odin , Ectract , Tar file , routine ..................

---------- Post added at 10:23 PM ---------- Previous post was at 10:19 PM ----------

That's funny I'm doing the same thing with the same phone , I'm used to Odin , and I guess lg phones don't use that method .

if you don't mind me asking did you just flash to the stock rom and that's it back to stock .? I'm very curios because that's what I am going to do was just curious to c if it worked for you or you had any complcation's anyway GoodLuck Wednesday.....:confused:
[T-Mobile LG G3] pside15:
I'm used to Odin as well. I jumped from the Note 3 to the G3 and just used Odin.

I haven't flashed anything yet but it looks like using the LG Flash tool is basically the same thing as Odin. Someone correct me if I'm wrong. You could just flash a stock ROM and it may be fine. Just depends on the employee. They just made sure my Note 3 had no scratches and worked and when I originally switched to T-Mobile in January I turned in my Nexus 4 with a custom ROM installed and it was fine.

I'm probably going to use the KDZ method. It seems like that is very similar to what Odin does. Seems pretty straightforward as well
[T-Mobile LG G3] pside15:
I can't download everything from work(AFH is blocked) so I'm going to use the TWRP method since I had already downloaded it. One question to be on the safe side. Does it matter which version of TWRP I have? I'm still on the original 2.7.1.0 version. I've never had an issue with it, which is why I never updated it, but wanted to make sure the TWRP method would work on that version.
[T-Mobile LG G3] ThePagel:
Yeah the major diffrence of the new twrp is screen size.
[T-Mobile LG G3] pside15:
Yeah, I also heard about some of the "M" ROMs not flashing on the older version of TWRP as well as problems with back-up compatibility between the 2.

Thanks for all your help.
[T-Mobile LG G3] behappy:
Why not just use the LG flash tool? Super quick to get back to stock firmware.
[T-Mobile LG G3] pside15:
Well, I'm guessing you didn't read my post like 3 before yours. I was planning on flashing the KDZ but since I never needed the LG flash tool I didn't have it downloaded and my company blocks AFH and every other hosting site so I wasn't able to download it. I had already downloaded the TWRP version previously.
[T-Mobile LG G3] behappy:
lol sure didnt. Good luck with that!
[T-Mobile LG G3] pside15:
I just read my previous post and it came off kind of rude, which definitely wasn't my intention. My apologies if you took it that way.

The TWRP method worked great. Back to complete stock. The problem now is that T-Mobile decided to push the N6 release date back to the 19th because of limited supply. If you want to push back the date, fine. Just don't do it the evening before it's supposed to launch. That's just bad business in my opinion. Just rooted again and about to flash some AOSP goodness. At least I know for sure that the TWRP method works for me personally.
[T-Mobile LG G3] behappy:
No worries, brother. I typically am really good about reading, but we all have our moments. Have a good one!
[T-Mobile LG G3] Slatz:
Thanks, this worked perfectly.
[T-Mobile LG G3] omararod:
for some reason it keeps booting to mini os, when I reset it does the same thing. I can't click anything other than perform a test again but then I can't click ok or cancel.

edit: figured it out, needed the +power meant to press it at the same time.
[T-Mobile LG G3] aaanadie:
keep power pressed then click over "normal boot" (or similar)
[T-Mobile LG G3] theFume:
Quick Question...

How long should the .tot method be taking? I've been going 2160 (40 mins-ish) and the flash tool says 12% and phone 3% Advice? This normal?

Edit: finished 3333 sec
[T-Mobile LG G3] ThePagel:
Should have finished a lot sooner than that but at least it worked.
[T-Mobile LG G3] agentscuba314:
Is there not going to put a tot or a twrp for the new update SWV10q? Been checking since the incremental update was released and there hasn't been any info about here at all...:confused:
[T-Mobile LG G3] gzpaitch:
Help-me please!

I tried to UNROOT my LG G3, but a message in LG FLASH TOOL appeared saying "Connection to server failed. Try again in a moment". The process was automatically cancelled, but my cell phone is stopped in 3%.

Can I unplug the USB connection?

How can I fix the problem with the server?

Thank you! I bought my G3 last week, I am afraid here!

You are the best guys!

UPDATE: I ignored the pop-up saying about the server problem and the process appeared stopped in the PC but the in the cell phone the process ran normal. Apparently my G3 is ok.
[T-Mobile LG G3] ramodil:
I am at 20%, 14% on the phone, at 2832s. Could something be wrong? It's still running but it is ungodly slow. My phone screwed itself pretty hard and even twrp was unable to recover from a backup so decided to go through this to force it to kind of go back to stock.
[T-Mobile LG G3] cwwjr1681:
[MENTION=4725496]ThePagel[/MENTION] are you going to post the updated TOT files also? I just prefer this method. you have the 10C but not the 10M. I see updated KDZ files but not TOT.
[T-Mobile LG G3] ThePagel:
No unless we cannot downgrade from 5.0 then I will find that tot and upload it. Its much harder to find tot files for our phone so I dont even bother.
[T-Mobile LG G3] techfreak243:
Does the TWRP method of unrooting allow you to get the latest 10R OTA via OTA? because i have been unrooted through the TWRP method and i have not received the 10R OTA
[T-Mobile LG G3] ThePagel:
It does the problem is some people are getting it others are not.
[T-Mobile LG G3] techfreak243:
ok, im just gonna get it through the LG PC Suite and re root from there using stump root
[T-Mobile LG G3] ThePagel:
You should tell me if it updates you, the last time I checked the lg servers it wasnt there.
[T-Mobile LG G3] EduardoZ714:
Hey guys so im trying to unroot my G3 using the TOT method however every time i hold down the volume button and connect the usb cable to my laptop it just boots up my phone! i have tried this a countless ammount of times with my USB 2.0 port in my laptop, and never works. So then i tried it with the USB 3.0 and ill be dammed it it works. However during the process it fails because "it can't change to Download Mode" or something around those lines. I believe i have read somewhere that u shouldn't do this with USB 3.0. If it matters i am using Windows 8.1.
[T-Mobile LG G3] techfreak243:
You need to have the phone powered down and plugged in to your computer so the drivers can get installed. You need to have those. powered down interface drivers installed b before it works
[T-Mobile LG G3] EduardoZ714:
I know the drivers are installed and if i try this procedure using my usb 3.0 port it actually boots my phone to download mode or whatever its called but it fails after 15s. I forgot exactly why it fails but i remember being around the lines of "cant change to download mode" so i did a battery pull. Tried it in my 2.0 port and just boots up my phone.
[T-Mobile LG G3] ThePagel:
Try it on the 3.0 again and ignore what it says on the pc and see if you continue to get progress on the phone screen. I can't remember how the tot screen looks but I think it should show progress. If you continue to have problems and are rooted use the twrp method instead. Chances are if you can boot your phone and want to return to untouched stock or just downgrade the twrp method will do the same thing minus all of the partitions that you never changed/touched (its also much safer and faster). Just make sure you follow the directions or else you may have lingering personal information after the flash.
[T-Mobile LG G3] EduardoZ714:
Really? I thought the TOT method was the safest, i will definitely take a loot at the TWRP method then. Also sorry for the question but what are partitions that you are talking about?

EDIT: Hey Pagel, I just looked at the TWRP method and it does seem easier, however, i once tried creating a back up of my stock rom with TWRP and i let it sit for more than an hour but the backup never finished, is it possible that my TWRP is corrupt or something?

THANKS!
[T-Mobile LG G3] ThePagel:
Tall order

Here is what you have no control over OR wipe in twrp before you restore with the twrp method if you get a bad tot flash most of the partitions will also hard brick you or wipe your imei

DDR

aboot

abootf

cache

dbi

dbibak

drm

eksst

encrypt

factory

fota

fsc

fsg

grow

laf

misc

modem

modemst1

modemst2

mpt

pad

pad1

pad2

persist

rct

sbl1

sbl1b

sdif

sns

spare1

spare2

spare3

ssd

system

tz

tzbak

tzf

userdata

(might have missed some)

This is what you flash with the twrp method you will not HARD brick with any of these

system - the stock android operating system

boot - stock kernel

modem - modem

rpm - power management (for the most part) (added for people who upgrade with this file)

recovery - stock recovery (twrp is gone after reboot)

*Edit* you can hard brick from the rpm wasn't thinking to clearly last night :p
[T-Mobile LG G3] ThePagel:
If you tried to store it on external and had A LOT of data with lets say a class 4 sd card it would take a loooooong time. best bet is to create a backup on internal then transfer it to your pc or external later. when in doubt you can install twrp manager from the play store and reflash twrp to be safe.

Edit* Good night I need to go to bed just in case you missed it (should have edited that post for this reply not make a new one) here is the partitions reply http://xdaforums.com/showpost.php?p=57487419&postcount=279
[T-Mobile LG G3] EduardoZ714:
Ah ok well i dont think i messed around with any of those, the only thing i did with my phone was install xposed and edited a build prob to get the dual window to support all apps. But just to be safe if i should wipe everything in twrp, right?

I have a 64 gb class 10 SD card but i will try to save it to my internal and if that doesn't work i will download it again from the play store.

Thanks for being of great help! :) :good:

EDIT: I saw it :)
[T-Mobile LG G3] ThePagel:
Yes wipe everything if your not getting rid of the phone or sending it in you don't need to wipe internal storage but I normally do just to clean house. Also you obviously don't want to wipe external because that is where the stock restore is. Hope you get the outcome you're looking for, Night!

Edit* Oh and Ill have the 10R flash able stock restore up tomorrow if you are one of the unlucky ones who don't get the ota prompt.
[T-Mobile LG G3] ThePagel:
Added D85110R KDZ

Added D85110R TWRP - If you want root do it in twrp before reboot

Added Super SU download for rooting 10R before rebooting from twrp
[T-Mobile LG G3] hyelton:
Here is a KDZ mirror if needed :)

http://oceanhost.eu/tavo2ys236eu/D85110R_00.kdz.htm
[T-Mobile LG G3] ThePagel:
Added extra information in the TWRP method so if you plan on using it for

10R and beyond

and want root make sure you take another look at the guide.
[T-Mobile LG G3] jlk_250:
I just used this to update my phone to 10r using TWRP. It worked great! I had to reinstall SU, TWRP, and Xposed but that's it--maintained root, no data loss, all done right on the phone while watching TV.

Thank you, OP, for making this available and for the very clear instructions.
[T-Mobile LG G3] jayceebee23:
I can also confirm this updated TWRP method works. Dirty flashed 10r to update 10m firmware. After installing SuperSU and applying SD card patch from TWRP Manager, everything seems to work as expected.

Couldn't be any easier. Big thanks!
[T-Mobile LG G3] mingkee:
Too bad I can't give thanks twice.

Using TWRP method to update from 10m to 10r+root is pretty easy though update TWRP to 2.8.3 can be pain in your tail, but just download right from http://teamw.in and pack as zip and install with TWRP manager, and copy these two files (10r and root) to external SD and follow the instruction on first post, and install superSU again from Play Store and apply SD patch, and all set.
[T-Mobile LG G3] halftonehero:
Twuble

I gave the previous pages a glance over but couldn't find info on downgrading. I'm trying to roll back to c to reroot but LG Flash tool begins the process but fails shortly saying can't change to download mode or something similar. I've tried removing all drivers and reinstalling them to no avail. Any ideas?

---------- Post added at 06:06 AM ---------- Previous post was at 05:35 AM ----------

Nevermind. Was able to force it through!
[T-Mobile LG G3] hyelton:
Downgrading, going back to stock, and upgrading is the same method. :)
[T-Mobile LG G3] Zachary droid:
Can u flash this without a custom recovery like TWRP, can i use stock recovery, i am rooted..
[T-Mobile LG G3] ThePagel:
Kdz and tot can be used without custom recovery but both are a tad buggy.
[T-Mobile LG G3] halftonehero:
Yeah, I knew how. I guess I was having a driver issue. I had to uninstall any trace of driver from my system and reinstall the united driver. Several times for some reason. It kept failing to enter download mode but it finally went through. T Mobile needs to hurry up with official 5.0. Thanks for the reply.
[T-Mobile LG G3] Zachary droid:
How did you do it right from your phone, i lost root, after the update to d85110r,. And i really don't wanna downgrade and go thru all that if i really don't need too
[T-Mobile LG G3] jlk_250:
My phone was rooted and had TWRP recovery. All I did was follow the "TWRP installation" instructions on post 1, including adding the SU root zip to the queue but skipping steps 4-7 since I didn't want to lose data. Then downloaded TWRP, SU, and Xposed from the Play store. Done! If I didn't have TWRP I would have followed the KDZ installation instructions but I highly recommend TWRP.
[T-Mobile LG G3] Zachary droid:
OK cool, that's what ill have to do, once i downgrade,.. And start over,. Again,.. I swear, i always forget I'm rooted when an update comes thru, and i take it,. And now I'm in this situation ha ha,.. But its an easy fix,.. Thanks for the info
[T-Mobile LG G3] fluidfocus:
:good:
[T-Mobile LG G3] Zachary droid:
how can i get TWRP and do this, if i updated to the 10R update, after it broke my root,.. what do i begin to do,, i've read this whole thing, but i just dont see where to start in my situation, do i just downgrade, and go from there, because i cant use TWRP if i cant root..
[T-Mobile LG G3] hyelton:
You don't have to have root to have twrp.

And you don't have to have twrp to flash back to stock

The full way of flashing back to stock is the tot and kdz method.
[T-Mobile LG G3] Zachary droid:
im guna try then, because i read you need to be rooted to use twrp recovery, so i can flash roms and stuff, but ill try the kdz method, iam about to just try purple drake again, even tho i have the 10r update, see what happens ha
[T-Mobile LG G3] Zachary droid:
when i try the kdz method, and my LG drivers are installing after i put it in download mode my LGE android MTP device fails and the LGE mobile USB modem fails this is driving me insane lol, why is that, i have the 3.13.2 version of the drivers, and i tried the version in this method and i got the same thing, is there something i needed to do before i put it in download mode, i have adb on, but i wasnt sure if i needed it or not, so i turned it on, and how can i get out of download mode to try again, can i pull the battery and not mess anything up, and try again, if someone has a reason for this to happen,.. thanks, sorry if this seems like a pain in the ass, but **** like this happens to everybody, just point me in the right direction, with specific directions,.. thank you!!!!
[T-Mobile LG G3] hyelton:
Not sure what you mean by "mtp device fails" that has nothing to do with download mode, same goes for having adb mode on has nothing to do with flashing back to stock.

Make sure the phone is freshly in download mode (reboot it). Then also put the kdz file in the same folder as flashtool then try and flash.
[T-Mobile LG G3] Zachary droid:
i got everything to work, even when my drivers said failed, sorry for all the posts, **** happens lol,.. thanks to those who helped, much appreciated
[T-Mobile LG G3] littlebigmon:
Thank you so much!!!

I have used your methods twice to save me from root issues when updating! I don't know how to thank you enough!! You're the man!
[T-Mobile LG G3] Influxvisions:
Do this will work if I flash over 10r update? I need to send my phone to LG for repair, wireless charging just stop working. ?
[T-Mobile LG G3] ThePagel:
Take any important files and information off of the phone then follow the steps for full wipe. It will work just as well as kdz and tot for what you want the only problem you might have is if "my t-mobile" app reported you as being rooted. I doubt it will be a problem but no guarantees. That same problem still stands on tot and kdz method but to my knowledge nobody has been denied from my tmobile root reporting yet.
[T-Mobile LG G3] Influxvisions:
I want to do a complete back to stock because I got custom recovery as well.
[T-Mobile LG G3] ThePagel:
Every method can and will do that for you if you follow the directions to the letter. The twrp way replaces twrp with the stock recovery. But if you worry about it the tot method is a for sure bet to 100% back to stock. Be warned there is a difference in directions at the end of tot compared to what you see on the phone. just remember to hold the power button and touch normal boot after it does its thing and you should be good to go. Also both tot and kdz programs are buggy on some systems and could take trial and error to work properly.
[T-Mobile LG G3] Zachary droid:
Every time i do a downgrade or something where i plug my phone in, it always installs the drivers, when i was doing this fix, and got to the part to plug the phone in, it started downloading the drivers, in the middle of the process, even after i already installed them previously, one of the drivers said MTP android device in the pop up screen when u install the drivers on windows 7
[T-Mobile LG G3] hyelton:
Im guessing your phone is not in download mode? Your supposed to be in download mode before flashing. MTP is not needed/part of download mode.
[T-Mobile LG G3] dbh369:
Just wanted to say thanks for this and share a slight glitch to watch out for. I dirty flashed 10r and Update_SuperSU using TWRP, then rebooted. Installed SUperSU from PLAY (I guess you still need to do that). Then using TWRP manager, tried to install TWRP. It claimed TWRP was already installed, so I rebooted to recovery...you guessed it, wiped my dirty flash! But didn't lose root. So installed SuperSU, TWRP manager still wouldn't install TWRP so had to manually copy using dd in terminal window. Restored my back up and tried it all again. This time, I did manual install of TWRP after flashing 10r and now I"m good to go.
[T-Mobile LG G3] Zachary droid:
Yes my phone was in download mode, something goes wrong with it, when i do it, i told you that when it happens it installs the drivers all over again, i know what I'm doing, its the phone that's ****ing up,.. I know how to read loll
[T-Mobile LG G3] hyelton:
I do too I have several guides for LG phones. But if your in download mode it shouldn't be installing mtp drivers.
[T-Mobile LG G3] techfreak243:
Will this work to downgrade if I'm on 10r going down to 10c? Also, if it does work can i take the ota after i root and maintain the root?
[T-Mobile LG G3] hyelton:
Yes you can downgrade, No if you root you can't have OTA.
[T-Mobile LG G3] techfreak243:
So when i downgrade can i take the ota then root because that patch wont be on the ota or will it? If I'm sounding stupid let me know because i know little of this patch for stump root
[T-Mobile LG G3] hyelton:
I'm guessing you cannot be rooted on the latest firmware? Downgrading and then ota updating won't make it rootable of thats the case.
[T-Mobile LG G3] ThePagel:
After you downgrade just follow the twrp guide to get on R rooted.
[T-Mobile LG G3] Jephre:
I'm trying to download the TWRP files, but the mirror is really slow. Right now, I'm sitting at 23 hours left after about 30 mins. Is anyone able to provide a faster mirror?
[T-Mobile LG G3] hyelton:
Check your internet connection?? If your downloading from androidfilehost there's several mirrors there..