yashsingh1/xdaforums huggingface dataset:
[AT&T LG G3] harihacker:
When I do #2 from autoprime, after i do the ADB SHELL command in TWRP, I am getting the following:

C:\Users\Anjhar\Desktop>adb shell

~ # ←[6n

Any idea what this is?
[AT&T LG G3] neo4uo:
I got the same thing, this is what you do:

Boot into your rom that you currently have

Hook computer up to phone with debugging

switch phone to MTP mode if a stock rom

install drivers for adb

when you get to the part about su, your phone will probably prompt for super user access, so you have to be rooted first

the system command you do will take awhile

when you are done with all the commands don't mess with your phone, type adb reboot

when your phone reboot it will update and it will take a bit

I would then recommend doing a factory reset from within the rom

I performed this method successfully on a custom LG KitKat rom that was rooted with bump TWRP

Good Luck
[AT&T LG G3] TemporaryTester:
Anyone wanna try a flashable zip?

I'm not liable if this doesn't work, or if anything happens to your phone at any point in time. This is NOT a CodeFire production.

I also will not be offering support, as I am not running this myself.

MEGA link. It is 2GB of ATT crap compacted into 1GB, so give it a whirl and see. It uses [MENTION=2684188]autoprime[/MENTION]'s patched kernel, but is NOT rooted (so flash SuperSU if you wish). You should also flash the LP modem prior to running this.

Again, it may not work. I got tons of security errors when trying to piece this together, nor have I tested it. But, it should work, in theory.
[AT&T LG G3] harihacker:
So are you suggesting that i run the commands from my rom and not from TWRP? I already have the drivers and it is detecting my phone in adb. Please let me know. Your help is much appreciated. Thank you.
[AT&T LG G3] neo4uo:
Yes I am, I saw what he posted yesterday couldn't get a reply so I did his directions from within the rom and it worked perfectly.
[AT&T LG G3] bigcid10:
Question:

My D850 G3 is stock rooted 20F

Do I run these commands from the terminal emu from my phone desktop

or from a terminal on my PC with my phone connected with a cable ?

when I tried it to input "adb shell " in terminal emu on my phone

I got an error that say's "device not found".

Surely I couldn't do it from twrp because I don't have twrp yet

Thank you
[AT&T LG G3] harihacker:
Great. Will try it as soon as am back home. Also did u hav any issues with downloading the system IMG file? My download repeatedly fails. Am on a 50 mbps connection.
[AT&T LG G3] neo4uo:
I actually got system file that timmytim posted a few posts above his and actually he used google drive, so i copied all the files to my google drive then downloaded them and was getting 2.9 mb/sec :)
[AT&T LG G3] Barsky:
Am I sick for thinking, As long as I don't hard-brick my phone, even the problems are kind of fun? :)

Whoa. this time an adb reboot recovery took me right into twrp and there was none of the slowness getting there I have been experiencing.

Doing a backup before messing with xPosed or anything else. :)
[AT&T LG G3] klokom:
So you did it not from TWRP but from the rooted rom?
[AT&T LG G3] bolillo:
Did someone try this method?
[AT&T LG G3] southern87:
Well I have no power to my phone what so ever now. I rooted it just fine, but using the autoprime to get TWRP I now have no power. Like nothing lol.

C:\Users\Randal\Desktop\LG_Root>adb shell
shell@g3:/ $ su
su
root@g3:/ # dd if=/sdcard/aboot.img of=/dev/block/platform/msm_sdcc.1/by-name/ab
oot
/aboot.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot <
dd: /sdcard/aboot.img: No such file or directory
1|root@g3:/ # dd if=/sdcard/aboot.img of=/dev/block/platform/msm_sdcc.1/by-name/
aboot
rd/aboot.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot <
15+1 records in
15+1 records out
8036 bytes transferred in 0.006 secs (1339333 bytes/sec)
root@g3:/ # dd if=/sdcard/laf.img of=/dev/block/platform/msm_sdcc.1/by-name/laf
/laf.img of=/dev/block/platform/msm_sdcc.1/by-name/laf <
15+1 records in
15+1 records out
8030 bytes transferred in 0.007 secs (1147142 bytes/sec)
root@g3:/ # dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/rec
overy
/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery <
28464+1 records in
28464+1 records out
14573584 bytes transferred in 1.652 secs (8821782 bytes/sec)
root@g3:/ # dd if=/sdcard/patched-20f-boot.img of=/dev/block/platform/msm_sdcc.1
/by-name/boot
/patched-20f-boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot <
28672+0 records in
28672+0 records out
14680064 bytes transferred in 1.652 secs (8886237 bytes/sec)
root@g3:/ # exit
[AT&T LG G3] Barsky:
Pull battery. wait a few seconds. Power on.

At one point I experienced this too. Freaked me out.
[AT&T LG G3] southern87:
Tried that and nothing. If I take the battery out and plug it the charger in it gives me that goofy screen with the cord. Thats all I can get. If i put the battery in from their then the screen goes blank.
[AT&T LG G3] Barsky:
That screen gets you nowhere.

Try going to download mode from Powered Off. Hold vol-up, plug in usb cord connected to computer?

Good luck!!
[AT&T LG G3] mjgspr95:
I'll try it. Got to get computer to download.
[AT&T LG G3] southern87:
Doesn't work. Really pissed right now lol.
[AT&T LG G3] marseillesw:
I tried it, wouldn't let me past the LG boot screen...but ur definitely on to something cuz it flashed without a hitch
[AT&T LG G3] maybe_just_one:
How long did you leave it at the boot screen? Mine was stuck there for a few minutes before it finally booted.
[AT&T LG G3] TemporaryTester:
Forgot to add, you're on TWRP and upgrading from rooted KitKat, right? You seeing something like this?

I'm still trying to understand, if that's the case. The thing refused to boot past this screen when I flashed the D85520i system.img with the patched kernel, both from flashable zip and [MENTION=2684188]autoprime[/MENTION]'s method from pp.172. However, once I did his method with the D85020f system.img, it worked fine. There's something that isn't talking between the kernel and the ROM; possibly a new layer of security or something. It did pass the Bump check, though, so that's saying something.

This is true, when I was on LP, it took a considerable amount of time to boot, far longer than KitKat, but minutes is a bit much...
[AT&T LG G3] marseillesw:
I gave it about 5 minutes, couldn't wait much longer, I needed my phone...I'll give it another shot then, thx
[AT&T LG G3] :
Yeah first boot of my LP zip took 10 minutes.
[AT&T LG G3] TemporaryTester:
O_O.

That seems a bit ridiculous. How long, on average, have subsequent boots been?
[AT&T LG G3] :
Few seconds
[AT&T LG G3] marseillesw:
Good to know[emoji3]
[AT&T LG G3] TemporaryTester:
Wait, so you're NOT seeing the Security Error screen? If not, I write this up as a moderate success then. Mind giving it the time and seeing if it'll work?
[AT&T LG G3] marseillesw:
Nope, no error screen, so it's definitely progress, but I just gave it 30 minutes and it still didn't boot
[AT&T LG G3] :
Have you done Autoprime's steps? You need to make sure you have the correct files.
[AT&T LG G3] marseillesw:
No I haven't tried his method yet since I'm not near a computer, so, I figured I'd try tester's flashable...I'll try urs too if u got one [emoji3]
[AT&T LG G3] southern87:
Well I am getting a warranty replacement sent lol. I never bricked a device before so not sure what happened. I would like to think it died on its own haha. Anyways, by the code I posted earlier, is there anything I did wrong? The only thing I did after that was exit out of the shell and adb reboot(surely that wasn't it lol).
[AT&T LG G3] mrhaley30705:
I think it was this. I could, and probably am, wrong but that's just what I saw that wasn't normal
[AT&T LG G3] hitekredneck:
I have been following this thread very closely and I think the instructions said to pull the battery when finished with ADB to exit download mode and reboot. Could the act of doing ADB reboot possibly have caused your problem?

Or, those instructions could have been for a totally different procedure than what you have done. Just a question that might possibly prevent someone else from making the same mistake.
[AT&T LG G3] southern87:
Need a clarificatioin...when you mean reboot. Do you mean pull battery or can we adb reboot? Because I did this and I adb rebooted. Short story, getting a warranty replacement lol.
[AT&T LG G3] Barsky:
yeah, pretty weird .it's pretty hard to brick phones these days under normal conditions. Glad you are getting a replacement.
[AT&T LG G3] southern87:
Yeah I know. Something got erased. Surely adb reboot didn't do this lol. Far as my wife knows, I didn't do anything lol.
[AT&T LG G3] Barsky:
hahahahahah
[AT&T LG G3] southern87:
Went like this

Her: She was like what are you doing?

Me: Chatting with ATT. My phone won't turn on. It wasn't me.

Her: You need to stop messing with you phone

Me: I didn't do anything!

She knows me to well lol. My only concern is the corners are slightly dented because before I got a case last year it fell a few times lol. Slick phone. Would they reject it? I have dropped a lot and really surprised by the durability of the screen lol.
[AT&T LG G3] autoprime:
reboot by any means.files are flashed and they aren't goin anywhere now... time to boot back into rom... battery pull or adb reboot works... I didnt specify because it's not important to the outcome.

if the aboot.img was corrupt/incomplete and you flashed that it's possible you now have a bad bootloader.

md5 for aboot.img is 348064a6d4f8d5b7d3eeec79d86de5bd

other than that or messing up a command.. not sure what could cause that. :confused:
[AT&T LG G3] Barsky:
Hard to say. Guess you'll know soon enough :\
[AT&T LG G3] altvolt74:
As for me this is the easy way to flash the .IMG just fallow the guide I believe is the safes way to flash also

http://xdaforums.com/lg-g3/general/guide-update-to-lollipop-root-bumpd-twrp-t3048845
[AT&T LG G3] southern87:
Thanks for the reply. My aboot file is corrupted. Just looked at it on my laptop. ugh.

Hey....anyway to fix a bad bootloader on these phones? lol
[AT&T LG G3] eortizr:
I can't believe people are unable to follow simple instructions. I mean autoprime's instructions are as clear as water and is mostly copy/paste.
[AT&T LG G3] TemporaryTester:
Don't berate people. He followed the instructions fine, just so happens that the aboot he installed was corrupted.
[AT&T LG G3] GroovyGeek:
Ran into weird problem while trying to follow autoprime's instructions from p.172. I am currently on AOSP LL Illusion 6 with a bumped TWRP. I can adb just fine in recovery mode, but can't seem to run su.

C:\Users\XXX\Downloads\LPstock>adb shell
~ # ←[6nsu
su
/sbin/sh: su: not found

This only happens in recovery mode. If I try to run su from within ADB while in the system I get no problems.

The Illusion ROM is one of those that seems to integrate ADB, does not leave it as a standalone app, but it appears under settings. I am guessing it is moving it some place, but I can't quite figure out where. While booted to system I ran a search for "su" via ES File Explorer and it came up with something in /system/xbin. But when in recovery /system/xbin does not exist. I see "su" in the root folder, but if I try to execute it I get

/sbin/sh: su: not found

My next move would have been to nandroid back to KK, but discovered to my horror that I somehow lost that particular backup. Sh*t!!!

Can someone point me in the right direction?
[AT&T LG G3] neo4uo:
Ran into the same problem just run the commands while your phone is booted up into illusion. I know it sounds crazy but it will work. Just when the commands are all done and finished either adb reboot or pull the battery because your screen will be black after the system.img files finished adb.
[AT&T LG G3] GroovyGeek:
Worked like a charm, many thanks. To those who try it next - gotta be patient with the last command, it takes a while. If you adb reboot recovery or pull the battery while it is ongoing you will soft-brick the phone if you are lucky, and hard brick it if you are not. You MUST see the adb prompt back on your PC cmd window before attempting to reboot.

Mine is going on 15 as I write this. Stuck on the ATT logo at the moment. Does it take this long because it is encrypting the SD cards? I have an external SD card with around 10 gigs on it at the moment, I am hoping that it is churning through that and not stuck elsewhere.

UPDATE: after a total of around 20 mins I pulled the battery and restarted again. The phone goes through the LG welcome screen, then switches to a pulsating AT&T logo which stops pulsating after about 2 beats. The LED alternates between green and glue, suggesting that the software is still alive and doing something (or at least this is what I am hoping). Going to bed now, will let it churn overnight hoping that I wake up to a bloated G3 that I will have the pleasure of debloating in the morning.

UPDATE 2: I was never getting past the AT&T logo so I pulled the ext_sd out of sheer paranoia, entered TWRP, did a factory reset once again, and things are now OK, I am on the Android is upgrading screen
[AT&T LG G3] oby2:
i followed autoprimes instruction and everything worked great, quick question is the button combination to manually enter twrp the same as on kitkat? i downloaded the app reboot manager to enter twrp
[AT&T LG G3] GroovyGeek:
Power + volume down till you see LG logo

Release and then Power + volume down to enter custom recovery

Yes at next two prompts
[AT&T LG G3] DWilso3:
Sorry to fall off topic, but I have had an interesting experience. I had to replace my phone, and when my replacement came it was set up on 10d (used phone from eBay). To be safe and set it up go my preferences, I immediately did a full factory reset. Since progress was being made on rooting and the like, I figured I would go ahead and let it update to give it a try. Now on lollipop, after one battery cycle to allow it to adjust, I'm finding that battery life is drastically better than my previous phone! With 34% remaining, I've already gathered 4 hours and 51.5 minutes of SOT. I'm seriously impressed and pleased with the update. I'm running Apex launcher, and have had no bugs, no lag, and generally a perfect experience. Just thought I'd share to try and get a feel of how unordinary this is. I haven't rooted nor done anything in particular to improve battery life. I'm just loving this update so far.
[AT&T LG G3] hitekredneck:
OK, good to know that the method of rebooting was not his problem. I have been watching the thread and saw the "battery pull to reboot" in some instructions but couldn't remember if it was from yours or someone elses. I haven't jumped in yet myself, still running my stock LP that updated right after I rooted KK and debloated with TiBu. Lost root but loving the light weight LP. Considering those facts, which method would be best for me to re-obtain root as I currently stand? I love the stock ROM but just want root back so that I can freeze/remove a bit more bloat that I have located since, and maybe install TWRP later. I know that I am in a different situation than a lot of folks, considering the fact that the OTA installed on mine after rooting, whereas for many others it would not update because they were rooted.
[AT&T LG G3] GroovyGeek:
Do not attempt to install Xposed alpha on LP stock after rooting with autoprime's method. It causes a constant error message "LGSmartCover has stopped". THis happens as soon as you flash the xposed-arm-*.zip. Bummer

Also can anyone test ES File Explorer with the rooted stock ROM. It is finicky for me, will not let me edit permissions on /sdcard or /sd_ext though it has no problem letting me mess with things on /system.
[AT&T LG G3] neo4uo:
This is if with xposed period on Lollipop. It has nothing to do with [MENTION=2684188]autoprime[/MENTION] method. If you read in the international forums there is an actual zip you can flash to disable two of lg's apps which one is the quick cover. Remember Xposed is in Alpha still. If you want Xposed in Lollipop with our phone you will have to sacrifice the circle case features :(
[AT&T LG G3] st0nez0r:
It might have been helpful for you to post a link in this thread just to keep everything in one place. Not everyone reads the international thread, or strays outside the at&t forums... but everyone with an at&t lg is sure following this topic :)

That would be located here: http://xdaforums.com/lg-g3/general/how-to-xposed-running-properly-stock-t3030261

or

It's also been reported if you boot to TWRP and navigate to /system/priv-app/LGCover/LGCover.apk

you can just delete the apk.
[AT&T LG G3] objektive_1:
Hey guys, anyone using the new radio on a AOSP rom? How's it working if so?
[AT&T LG G3] TonyStark R.I.P.:
Lol.

So saying it wasn't important, was in fact, important:cyclops:
[AT&T LG G3] knight4frat:
I have and posted a flashable zip. I found that it worked better.
[AT&T LG G3] immaeetuu:
Hey guys, I have a little problem. When I'm running ADB on my computer, it doesn't recognize my phone when it is in recovery. I reinstalled the latest drivers on my computer, and reinstalled TWRP on my phone. My computer recognizes it when I'm using the ROM, which is cloudyG3. My computer is running Windows 8.1. Thanks in advance.
[AT&T LG G3] southern87:
Lol in the end he was right. It wasn't important. Well not as important as having a non corrupt file. Lol.
[AT&T LG G3] :
Two days later and several bootloops, and I have deleted every possible app. The CarrierIQ libs cause problems when removed, but I'm working on it.

Edit: Using the app "Disable Service," go into Android System and disable IQService and it's all good now.
[AT&T LG G3] neo4uo:
Awesome little app :) thanks for the tip
[AT&T LG G3] harshybar:
Should there be a new sticky thread on rooting the Lollipop?
[AT&T LG G3] TonyStark R.I.P.:
I would say yes. However it is not perfected quite yet. There are still some minor tweaks going on.

No need to start a thread until it is a fully working process, with zero issues.
[AT&T LG G3] netomel:
I follow [MENTION=2684188]autoprime[/MENTION] method 1 after a few try and error finally TWRP is installed. Question that maybe I answer my self is: by sticking the downgraded files and the patched boot, that this means our bootloader is unlocked if we are using KK boot. Just wanted to know so we can start flashing roma and other stuff?
[AT&T LG G3] klokom:
---------- Post added at 05:22 PM ---------- Previous post was at 05:20 PM ----------

[/COLOR]it worked for me without su command
[AT&T LG G3] harihacker:
Worked!!!

This worked!!! Thanks [MENTION=3236063]neo4uo[/MENTION].

This is what I did. I was on stock rooted rom with Bump TWRP. I ran #2 commands (from within the rom after enabling usb debugging) from autoprime's #2 method after copying the files to the root of my Sdcard and did a factory reset after the first boot up. Everything is working fine. I would request for permission from [MENTION=2684188]autoprime[/MENTION] to start a new thread detailing his tutorial and my experience.
[AT&T LG G3] roughriduz:
*Just out of curiosity* I'm about to restore a backup to KK then re-update to lollipop to remove xposed from my phone. Would it help anyone if I uploaded a full TWRP backup of Lollipop fresh off of the upgrade?
[AT&T LG G3] neo4uo:
I second the thread because the lounge is all over the place at times even though [MENTION=990284]TonyStark[/MENTION] keeps it on point. It should also inform people of the pros and cons of using Xposed alpha. Glad everything worked out for ya.
[AT&T LG G3] objektive_1:
:D Sweet! How about Bluetooth, WiFi etc...?
[AT&T LG G3] southern87:
Little feedback on my situation....

So apparently my laptop recognizes the phone, but it shows up as LGE androidnet serial port in device manager. LG suite, doesn't show it at all, but LG Flash tool ALMOST worked. I mean almost because the device has no identifying information now. I think the only thing it reported back in the window was the model.

Is there anyway to get this working again? ADB is a no go, it doesn't show any device.
[AT&T LG G3] harihacker:
You also do not have the download mode..right?
[AT&T LG G3] knight4frat:
I don't use Bluetooth, but I get better signal and WiFi signal as well. Just remember if you flash a kitkat rom, you need to downgrade the modem as well.
[AT&T LG G3] dolph8886:
This works, just make sure you disable all carrier is related items on the different tabs before removing LADDM or there will be a force close loop.

After this voodoo carrieriq detector reports "carrieriq is not found"

http://xdaforums.com/att-lg-g3/general/att-lg-g3-carrier-iq-removal-guide-t2819295

Also, when going through things to disable or remove I found a hidden menu item that related to MLT and there's a checkbox to run on boot so I disabled that too. Doesn't seem to be a whole lot of information about it but it appears to be a tracking app.

http://xdaforums.com/showthread.php?t=2187920

http://xdaforums.com/showthread.php?t=2187920

http://technoblimp.com/2013/08/17/lg-found-collecting-specific-user-information/
[AT&T LG G3] southern87:
If I am in it then I don't know. I gone through the steps to get into but nothing is on the screen. LG Flashtool doesn't recongize any information from the phone and fails so I feel it may be in download mode, but I can't see to be sure.
[AT&T LG G3] netomel:
Specify if what OS you are. Some people had problems with windows 8.1. Make sure you get the correct LG USB drivers. Another posibility is to check the port on device manager. To use the LG flash tool needs to be on port 41. For ADB connection you need to enable USB debugging in developer options and make sure it shows in adb devices, you can play from PTP and MTP until it prompts you to allow the connection on the phone. Another option is connecting via adb tcpip 5555, adn connect (your_phone_ip_address_here).
[AT&T LG G3] dolph8886:
Other than lgcover and weather which I can live without, it doesn't seem to play nice with LGNetworkSettings.apk or so I assume because I can't access Tethering & Networks in settings.

Anyone else with xposed experiencing this?
[AT&T LG G3] HoxFlyLight:
What says the lg flash tool when you start flash ? Says id null or imei null? U can used the port 41 and try for usb 2.0 from your laptop... The adb ever fails on win 8.1 you need download a adb files new and recent from sdk tool.. If you have download mode died you need flash a aboot and laf files ...
[AT&T LG G3] Barsky:
I have rooted and TWRP'd. I also installed the latest xPosed stuff for lollipop.

Is anyone finding that when they try to go to the Settings, Tethering and Networks, that Settings FCs? This doesn't happen on any other setting. One other piece of info is that my phone is unlocked and used on TMO, but that shouldn't matter. (luckily I set up the APN before updating to lollipop, but I don't recall having the problem before rooting or rooting and TWRPing

Thanks

PS. Tested doing a full restore from within TWRP. Oh yeah, it's working nicely.
[AT&T LG G3] :
The Xposed ZIP removes two apps, these mess up network settings.
[AT&T LG G3] southern87:
The imei says null yes. It goes through the process but fails and says null.
[AT&T LG G3] Barsky:
Are you referring to the 2 apps I had to disable before installing xPosed? So this is just the state of things right now. That's ok. Thanks
[AT&T LG G3] autoprime:
made a flashable zip for 20f for those that are on KK or AOSP still already rooted/BUMP'd/TWRP'd.. nothing new.. just avoids having to enter the commands manually to flash. included the manual steps from my earlier post.. sort of an all-in-one.

hopefully i didn't mess something up :X

http://xdaforums.com/att-lg-g3/development/rom-lg-d850-20f-lollipop-5-0-1-extras-t3052041

also... I'm looking for the 20F stock sbl1, dbi and factory images if someone could dump those please. you would have needed to officially OTA to 20F and then rooted. The following commands would dump the images onto your internal sdcard.

adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl1 of=/sdcard/sbl1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/dbi of=/sdcard/dbi.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/factory of=/sdcard/factory.img

yes