FRP Unlock (Nougat) - T-Mobile LG G6 Guides, News, & Discussion

See Post #2

This was not generated for thieves or hackers. I agree entirely that security is important but there are many of us in the world who just slip up and do dumb stuff on occasion. Locking oneself out of their own device is more common than you'd expect.
This write-up may seem a bit complex but is actually pretty easy. The only steps that were originated by myself are using the headphone jack and using menu code to enable debugging. Everything else was built on other people's work, in which the origins can be found all over youtube and other websites. No idea who came up with it first. I give credit where i can find it. As well, if you jack up your phone during any misadventures, I am not responsible.
​
What you need: PC, device USB drivers, USB cord, and of course the device to unlock.
This pertains to the LG G6 T-mobile model # with software version was H87210e_00_0322 (March 2017 patch).
Once on the startup screen (Google Setup Wizard) , sign into wifi, progress to the Google sign in screen, then page back to the wifi screen. Click onto whichever name you are not signed onto as if to fill out password, don’t. Once the keyboard is up, click on settings icon in keyboard. See below for a diagram of sorts.
Settings >General>Smart Settings>Earphone [set app to settings {phone}]
Plug into headphone jack and phone dialer pops up.
​
3. Dial *#546368#*872# (Field Test Mode). Go to SVC>LDB> Enable usb debugging
Back out to primary GUI phone screen and reboot. Once rebooted leave alone.
4. Plug phone into PC and start adb terminal. If you do not already have ADB, Google it.
Insure your usb drivers for your computer are up to date.
At terminal prompt type > ADB devices, make sure your device is recognized.
5. From the guide linked below enter the following command.
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind
value:s:1
This will clear the setup wizard.
6. REBOOT and send thanks!
Links
http://www.gsmplayer.com/frp-via-adb-command/
my crappy web page
https://raff1ut.wixsite.com/otgg
NOTE: *#546368#*872# 872 designates the T-Mobile device model number, if coming from another carrier be sure to enter your particular model number instead of 872.

lg g6
i get and error unsupported argument please help

Will this work for other devices like pixel xl

THANKS!!
Hey,
I just wanted to say thanks for helping me get back into my phone. One thing: "adb shell content insert --uri *content://settings/secure --bind name:s:user_setup_complete -- * * * * * * *bind value:s:1"
Is what you have listed on your site as the command. This has a formatting error and should read: "adb shell content insert --uri *content://settings/secure --bind name:s:user_setup_complete --bind value:s:1"
Was this intentional?
Thanks again!

rlang85 said:
Hey,
I just wanted to say thanks for helping me get back into my phone. One thing: "adb shell content insert --uri *content://settings/secure --bind name:s:user_setup_complete -- * * * * * * *bind value:s:1"
Is what you have listed on your site as the command. This has a formatting error and should read: "adb shell content insert --uri *content://settings/secure --bind name:s:user_setup_complete --bind value:s:1"
Was this intentional?
Thanks again!
Click to expand...
Click to collapse
First, sorry it took me this long to see this reply. Seems to be a thing with app notifications on my phone, didn't see any until I signed onto a computer. Anyway, you're referring to an external link within the OTGG site and what I see within it is as follows "adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1" Unless it was fixed prior to my revisit it appears to be the same as what you've posted.
* EDIT: On looking again, I see in fact that you are referring to the OTGG text. I do believe that would be considered a typo or furthermore a format issue ... ha. Thanks!

ksuhiyp said:
Will this work for other devices like pixel xl
Click to expand...
Click to collapse
Doubtful, but you can always tinker and try.

bracebg said:
i get and error unsupported argument please help
Click to expand...
Click to collapse
First, apologies for taking so long to see this. Hopefully you have it figured out by now. For future reference; it might help to be more descriptive into the steps or process you were at when the error message occurred as I, obviously didn't run into that issue. Also, it could be that this little hole was patched.

hi i have the lg g6 h872 and i id exactly as instructed but i cant get the phone dialer to come up please help

melie323 said:
hi i have the lg g6 h872 and i id exactly as instructed but i cant get the phone dialer to come up please help
Click to expand...
Click to collapse
Apologies for just seeing this, I'm not getting notifications for some reason. All I can recommend is to retry all the steps. Also, your phone may have been patched/updated since this write-up. I don't have the G6 anymore so I can't replicate the error you're getting. Not getting phone dialer up doesn't give me much to go on with just my memory.

Debugging shaded
Hello
I went through all the steps and the USB debugging is shaded grey??????? PLEASE HELP FAST!!!

The debugging option on my G6 is grayed out as well. Does anyone know of any other options that might currently be working?

rlang85 said:
Hey,
I just wanted to say thanks for helping me get back into my phone. One thing: "adb shell content insert --uri *content://settings/secure --bind name:s:user_setup_complete -- * * * * * * *bind value:s:1"
Is what you have listed on your site as the command. This has a formatting error and should read: "adb shell content insert --uri *content://settings/secure --bind name:s:user_setup_complete --bind value:s:1"
Was this intentional?
Thanks again!
Click to expand...
Click to collapse
Better yet, use the command:
adb shell settings put secure user_setup_complete 1

Aimless Rambler said:
This was not generated for thieves or hackers. I agree entirely that security is important but there are many of us in the world who just slip up and do dumb stuff on occasion. Locking oneself out of their own device is more common than you'd expect.
This write-up may seem a bit complex but is actually pretty easy. The only steps that were originated by myself are using the headphone jack and using menu code to enable debugging. Everything else was built on other people's work, in which the origins can be found all over youtube and other websites. No idea who came up with it first. I give credit where i can find it. As well, if you jack up your phone during any misadventures, I am not responsible.
​
What you need: PC, device USB drivers, USB cord, and of course the device to unlock.
This pertains to the LG G6 T-mobile model # with software version was H87210e_00_0322 (March 2017 patch).
Once on the startup screen (Google Setup Wizard) , sign into wifi, progress to the Google sign in screen, then page back to the wifi screen. Click onto whichever name you are not signed onto as if to fill out password, don’t. Once the keyboard is up, click on settings icon in keyboard. See below for a diagram of sorts.
Settings >General>Smart Settings>Earphone [set app to settings {phone}]
Plug into headphone jack and phone dialer pops up.
​
3. Dial *#546368#*872# (Field Test Mode). Go to SVC>LDB> Enable usb debugging
Back out to primary GUI phone screen and reboot. Once rebooted leave alone.
4. Plug phone into PC and start adb terminal. If you do not already have ADB, Google it.
Insure your usb drivers for your computer are up to date.
At terminal prompt type > ADB devices, make sure your device is recognized.
5. From the guide linked below enter the following command.
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind
value:s:1
This will clear the setup wizard.
6. REBOOT and send thanks!
Links
http://www.gsmplayer.com/frp-via-adb-command/
my crappy web page
https://raff1ut.wixsite.com/otgg
NOTE: *#546368#*872# 872 designates the T-Mobile device model number, if coming from another carrier be sure to enter your particular model number instead of 872.
Click to expand...
Click to collapse
I am sorry but that partially worked for me. I just bypassed the frp on LG G4 | android version 6.0 | security patch 2016-09-01 and unfortunately none of the tutorials completely solved it. This is my method.
- First connect the phone to wifi.
- Select an other wifi or "add wifi" just so you can type some text. Select the text, press the tree dots for extra options and click on "Assist", if that does nothing at first click, click it one more time. That will open google. From here we can open any application we want.
- Type phone and at the very bottom of the results the "Phone" application will be listed, click it to open it. After that type on the dialer the following string: *#546368#*811# (Note: The last 3 numbers correspond to your lg model, you can find the model by removing the battery on the sticker. Mine was LG-H811 [T-Mobile]. That will open the "Hidden Menu".
- Navigate to SVC Menu > LDB where you will find an USB debugging option. Enable it.
- Restart device.
- Now you have adb access to your phone. Now you need a PC with any operating system but with adb installed. Also you need to download this 2 files, gam-6 and frp-login. Put them in a new folder. You can get adb from here. Connect the device to the computer and in the folder you created open an cmd prompt if in windows or a terminal if in linux or mac. Type the following commands on the terminal:
# adb devices (You will get a prompt on your phone to allow access. Allow it.)
# adb install -r gam-6.apk (Since we can not enable "Unknown Resources" we are going to use adb to install the apk we need.
The "-r" options is for overwriting the existing google account manager.)
# adb install frp-login.apk
- Now navigate to the wireless screen to once again open the google. Select an other wifi or "add wifi" just so you can type some text. Select the text, press the tree dots for extra options and click on "Assist", if that does nothing at first click, click it one more time. Type "FRP" and from the results select the application we installed "FRP Bypass". On the application click on the 3 dots located on the right top corner of the screen. Click on "Browser sign-in" and click on "OK". Now sign in with a valid google account.
- After you've signed in you will be brought back the the google screen. Restart your device and go through the steps as if your phone was never locked.
- Make an "Factory Reset" as a clean up.
- Done.
Note that this method is only tested on LG G4 android version 6.0. If you need help just reply.

KnownAsDon said:
I am sorry but that partially worked for me. I just bypassed the frp on LG G4 | android version 6.0 | security patch 2016-09-01 and unfortunately none of the tutorials completely solved it. This is my method.
- First connect the phone to wifi.
- Select an other wifi or "add wifi" just so you can type some text. Select the text, press the tree dots for extra options and click on "Assist", if that does nothing at first click, click it one more time. That will open google. From here we can open any application we want.
- Type phone and at the very bottom of the results the "Phone" application will be listed, click it to open it. After that type on the dialer the following string: *#546368#*811# (Note: The last 3 numbers correspond to your lg model, you can find the model by removing the battery on the sticker. Mine was LG-H811 [T-Mobile]. That will open the "Hidden Menu".
- Navigate to SVC Menu > LDB where you will find an USB debugging option. Enable it.
- Restart device.
- Now you have adb access to your phone. Now you need a PC with any operating system but with adb installed. Also you need to download this 2 files, gam-6 and frp-login. Put them in a new folder. You can get adb from here. Connect the device to the computer and in the folder you created open an cmd prompt if in windows or a terminal if in linux or mac. Type the following commands on the terminal:
# adb devices (You will get a prompt on your phone to allow access. Allow it.)
# adb install -r gam-6.apk (Since we can not enable "Unknown Resources" we are going to use adb to install the apk we need.
The "-r" options is for overwriting the existing google account manager.)
# adb install frp-login.apk
- Now navigate to the wireless screen to once again open the google. Select an other wifi or "add wifi" just so you can type some text. Select the text, press the tree dots for extra options and click on "Assist", if that does nothing at first click, click it one more time. Type "FRP" and from the results select the application we installed "FRP Bypass". On the application click on the 3 dots located on the right top corner of the screen. Click on "Browser sign-in" and click on "OK". Now sign in with a valid google account.
- After you've signed in you will be brought back the the google screen. Restart your device and go through the steps as if your phone was never locked.
- Make an "Factory Reset" as a clean up.
- Done.
Note that this method is only tested on LG G4 android version 6.0. If you need help just reply.
Click to expand...
Click to collapse
Nice, granted the post you're replying to was done for the G6 over 2 years ago (not G4) but information that might be handy nonetheless.

Aimless Rambler said:
Nice, granted the post you're replying to was done for the G6 over 2 years ago (not G4) but information that might be handy nonetheless.
Click to expand...
Click to collapse
Yeah, and granted that the phone was released 4 years ago you'd think there surely is a tutorial or post that will solve the problem but 2 hours of research didn't seem to be enough to find it. I think I could help someone and the reason I replied to this post it is the only one that kind of worked and was on the top results of G4 frp. Don't wanna be rude, just wanted to clarify some things.

KnownAsDon said:
Yeah, and granted that the phone was released 4 years ago you'd think there surely is a tutorial or post that will solve the problem but 2 hours of research didn't seem to be enough to find it. I think I could help someone and the reason I replied to this post it is the only one that kind of worked and was on the top results of G4 frp. Don't wanna be rude, just wanted to clarify some things.
Click to expand...
Click to collapse
No worries. I was sincere in saying handy information.

relock/unlock bootloader will erase frp. tested on stock 20g rom

I'm also facing the grayed USB debugging. Anyone found a solution ?

Related

i really dont understand

I am still having same issue with adb and linux not recognizing my epic I have posted in regards to this and had no responses there all so many devs that work with epic and yet not one has commented to offer a fix i have tried adding 99-samsung.rules with proper edits and changed the 51 rules to match i have reloaded those rules I have added the edited adb i have restarded linux i have changed cables phones usb ports and it picks up my friend og droid no prob but neither me nor my fiances epic will be recognized. any help please.
mikeew83 said:
I am still having same issue with adb and linux not recognizing my epic I have posted in regards to this and had no responses there all so many devs that work with epic and yet not one has commented to offer a fix i have tried adding 99-samsung.rules with proper edits and changed the 51 rules to match i have reloaded those rules I have added the edited adb i have restarded linux i have changed cables phones usb ports and it picks up my friend og droid no prob but neither me nor my fiances epic will be recognized. any help please.
Click to expand...
Click to collapse
This is the way its done. Sorry up front for quoting myself but I have responded to this issue in the past:
Download the file from this post
http://forum.xda-developers.com/showpost.php?p=8752645&postcount=5
Follow the steps with this post
http://forum.xda-developers.com/showpost.php?p=14199959&postcount=11
Profit!
Holy run on sentence Batman.
Sounds like a drivers issue, or that you don't have USB debugging enabled on the phone.
Open the Dalvik Debugging Monitor Service (DDMS) that came with the Android SDK.
Does it recognize the phone at all in DDMS?
If yes, then does it say "online"? If yes, then you have something blocking adb from talking to your phone from your computer. (firewall?)
If no, then you have a driver or USB connectivity issue. (bad driver installation, usb debugging not enabled on phone, bad usb cable, plugged usb cable into a port not directly on the motherboard)
EDIT: Looks like the post above me could understand the run on sentence more than I could.
You can also run the command lsusb and it should tell you if your system is seeing the device.
What Linux distro your running?
Sent from an Epic with 4G
ok to recap
I have followed your prior threads does not work. I have usb debugging on as explaiend i have tried everything means I have searched for hours on end and come with nothing. I have replaced the ADB and created 99-android.rules and edited that as well as editing the 15-android.rules files I have run lsusb and it does show samsung device.
tried your directions again
I have tried them again and they do not work.
Try the usb cable for the droid x. Its a really good one.
if that were an option
I have an incredible cord i can try that is about the only one but i dont see how it has anything to do with the usb cable when lsusb recognizes the device plugged in just adb will not list it on devices so that i dont think is the answer but thank you for the suggestion.
mikeew83 said:
I have followed your prior threads does not work. I have usb debugging on as explaiend i have tried everything means I have searched for hours on end and come with nothing. I have replaced the ADB and created 99-android.rules and edited that as well as editing the 15-android.rules files I have run lsusb and it does show samsung device.
Click to expand...
Click to collapse
You should only have 1 rules file, my suggestion, delete the 15 one and keep the 99.
Make sure the permissions are configured correctly, the biggest issue to run this type of operations in linux is the permissions and the ownership on the config files
Sent from an Epic with 4G
thanks
could you possibly explain this a bit more in detail as im still very new to this im a quick learner and great at researching.
mikeew83 said:
could you possibly explain this a bit more in detail as im still very new to this im a quick learner and great at researching.
Click to expand...
Click to collapse
Let me go over what to do:
After downloading the rules file on the above post, for example I have the SDK (adb) installed on my PC on the following path: ~/android/tools/, so go to your SDK folder (where adb is located) and run the chmod a+rwx adb command.
After this, take the rules file you downloaded from the above post and moved it to the /etc/udev/rules.d/ folder (logged as root, NOT SUDO). After doing this, run the following commands:
make sure that 51-android.rules file has the following permissions -rw-r--r (read and write for owner, group + others read only)
su [then placed the password] (Once again DO NOT USE SUDO)
chown root:root 51-android.rules
Once done, restart the PC and it should be working 100%. Before connecting the phone, make sure USB Debugging is active, and restart your phone.
Connect your phone via USB and run the lsusb command to confirm the connection of the device and then run ./adb devices and check for the positive return!
Note: if you have never had a password on su, run the following command: sudo passwd and change the password and try running the series of command above.
Note2: add your user to the plugdev group on your computer
Note3: sometimes while performing the ./adb devices command will return a response stating that a device by the name ?????????????? is connected, this is OK, you can connect via ./adb shell and you will see your device file structure, if you request SU permissions you will have to authorize it on the phone via the SUPERUSER app that gets installed when rooting the device.
IMPORTANT: The password for ROOT (su) user is not the same as the password you enter for the SUDO command (your user) unless you make them the same!
I'm not sure what exact problem you are having, but I was having a similar problem until this morning (of ADB not recognizing the phone) until I did this:
A) Open the phone dialer.
B) Enter "##8778#".
C) Set both options to "PDA".
D) Make sure sure "USB Debugging" is enabled under "Settings", "Applications", "Development".
I have no idea if this fully applies to your issue, but if it helps, great. If not, no harm done.
SweetBearCub said:
I'm not sure what exact problem you are having, but I was having a similar problem until this morning (of ADB not recognizing the phone) until I did this:
A) Open the phone dialer.
B) Enter "##8778#".
C) Set both options to "PDA".
D) Make sure sure "USB Debugging" is enabled under "Settings", "Applications", "Development".
I have no idea if this fully applies to your issue, but if it helps, great. If not, no harm done.
Click to expand...
Click to collapse
Though this is good info (thanks for pointing it out), I would highly suggest to leave UART as Modem, and just change USB to PDA.
Sometimes you may have issues with Tethering if you set the UART to PDA.
I have been a bit busy I appreciate the run down and will try it here tomorrow or its 2am so later today I also checked the 8778 and my usb is already set to what was specified.
Sent from my SPH-D700 using Tapatalk

[Q] How to unbrick soft bricked Atrix

How to unbrick soft bricked Atrix, I installed http://www.youtube.com/watch?v=wQvrEH74dgI and when I installed Gapps, it didn't started and when I tryed system restore it did so but when it started it got stucked at "M" screen and nothing else is happning.
knotabs loca
manyelski said:
How to unbrick soft bricked Atrix, I installed http://www.youtube.com/watch?v=wQvrEH74dgI and when I installed Gapps, it didn't started and when I tryed system restore it did so but when it started it got stucked at "M" screen and nothing else is happning.
Click to expand...
Click to collapse
I'm in a similar situation. I was asked to use latest CWM. I happened to use Tenfar's CWM that came with the boot loader unlock.
I haven't tried it yet. Will give a shot this weekend
Hi!
I'd suggest the following:
1. Install ADB from the Android SDK.
2. Turn on Settings -> Applications -> Development -> USB Debugging.
3. Connect your phone to a computer. (If you do not have a cable, have it connect to the same local network.)
4. Select 'Motorola Phone Portal' as connection method.
5. Reboot while holding Vol. Down.
6. When you see 'Fastboot', tap Vol. Down until 'Early USB Enumeration' appears.
7. Press Vol. Up.
8. Go to a command line where your ADB executable is.
8a. If you have connected by network, find out your device's IP address and type adb connect <IP>
9. Type adb wait-for-device
10. Type adb logcat
Now, Android's system log should appear. Scroll up and carefully look for error messages - the cause for this could be widely different, I had the same problem with 'Error: ID mismatch' or something along those lines. It is likely that the application itself is the problem, and that uninstalling it will fix things. If you come to that conclusion from the log:
11. Terminate logcat (Ctrl+C, usually)
12. Type adb shell
13. Type cd /data/app
14. Type ls *gapps* (If that fails, type ls and look manually)
15. Take the file name for Gapps' .apk and type rm <filename>
16. Reboot
17. Rejoice
Sincerely,
V
PS: Will I always have to enter a captcha when posting, or is this just for noobs? I HATE captchas.
Intelensprotient said:
Hi!
I'd suggest the following:
1. Install ADB from the Android SDK.
2. Turn on Settings -> Applications -> Development -> USB Debugging.
3. Connect your phone to a computer. (If you do not have a cable, have it connect to the same local network.)
4. Select 'Motorola Phone Portal' as connection method.
5. Reboot while holding Vol. Down.
6. When you see 'Fastboot', tap Vol. Down until 'Early USB Enumeration' appears.
7. Press Vol. Up.
8. Go to a command line where your ADB executable is.
8a. If you have connected by network, find out your device's IP address and type adb connect <IP>
9. Type adb wait-for-device
10. Type adb logcat
Now, Android's system log should appear. Scroll up and carefully look for error messages - the cause for this could be widely different, I had the same problem with 'Error: ID mismatch' or something along those lines. It is likely that the application itself is the problem, and that uninstalling it will fix things. If you come to that conclusion from the log:
11. Terminate logcat (Ctrl+C, usually)
12. Type adb shell
13. Type cd /data/app
14. Type ls *gapps* (If that fails, type ls and look manually)
15. Take the file name for Gapps' .apk and type rm <filename>
16. Reboot
17. Rejoice
Sincerely,
V
PS: Will I always have to enter a captcha when posting, or is this just for noobs? I HATE captchas.
Click to expand...
Click to collapse
I can't turn on my phone, or DO ANYTHING with it, the only thing is that I get "M" screnn taht's all, if i want to turn it down I hae to do a battery poll.
Excactly, that's what Early Enumeration is for Usually, USB is loaded when the OS is up, I suppose - at least you can't normally connect with ADB during boot. However, with Early Enumeration set, you can connect while the phone is still booting and access every capability ADB or the shell is able to provide. (Granted, uninstalling the .apk in question with adb uninstall did not work for me, that's why I posted the manual approach, but that may have been an error on my side.)
I wonder if my issue is the same. Mine is stuck in a 'dual core' reboot over and over.. I can't get into recovery mode or anything. Sometimes I hate phones.
JeRrYFaR said:
I wonder if my issue is the same. Mine is stuck in a 'dual core' reboot over and over.. I can't get into recovery mode or anything. Sometimes I hate phones.
Click to expand...
Click to collapse
Mine is tha same
Stuck in mortorola unlocked boot screen
Intelensprotient said:
Hi!
I'd suggest the following:
1. Install ADB from the Android SDK.
2. Turn on Settings -> Applications -> Development -> USB Debugging.
3. Connect your phone to a computer. (If you do not have a cable, have it connect to the same local network.)
4. Select 'Motorola Phone Portal' as connection method.
5. Reboot while holding Vol. Down.
6. When you see 'Fastboot', tap Vol. Down until 'Early USB Enumeration' appears.
7. Press Vol. Up.
8. Go to a command line where your ADB executable is.
8a. If you have connected by network, find out your device's IP address and type adb connect <IP>
9. Type adb wait-for-device
10. Type adb logcat
Now, Android's system log should appear. Scroll up and carefully look for error messages - the cause for this could be widely different, I had the same problem with 'Error: ID mismatch' or something along those lines. It is likely that the application itself is the problem, and that uninstalling it will fix things. If you come to that conclusion from the log:
11. Terminate logcat (Ctrl+C, usually)
12. Type adb shell
13. Type cd /data/app
14. Type ls *gapps* (If that fails, type ls and look manually)
15. Take the file name for Gapps' .apk and type rm <filename>
16. Reboot
17. Rejoice
Sincerely,
V
PS: Will I always have to enter a captcha when posting, or is this just for noobs? I HATE captchas.
Click to expand...
Click to collapse
How do you find the device's IP address?

[GUIDE] Connecting the LG G3 to Linux/ADB (Aka stop "waiting for device....")

[GUIDE] Connecting the LG G3 to Linux/ADB (Aka stop "waiting for device....")
A bunch of people seem to be having trouble using Linux and ADB with their new phones. This is a step-by-step guide. I hope it helps some people.
Disclaimer: I am not responsible for anything you do to your devices. Following these instructions may or may not damage your phone or computer or anything else. You understand that following these instructions is done at your own risk.
THIS GUIDE DOESN'T WORK FOR VERIZON USERS ---> Edit: Thanks to Annoyingduck, we have the technique for the Verizon variant in post #5. If you are a VZW user, start with step #8 below and then replace steps 14 and 15 with annoyingducks instructions!
This has been tested on Ubuntu 14.04. Other variants may require some small changes.
This has been tested on the D851 (TMobile) variant. Sprint and ATT should be the same I think.
REQUIREMENTS: You must have root access to your linux box.
1. Unplug your phone from the computer
2. Make yourself a "developer" on your phone. Settings > General > About phone > Software information ... then tap "Build number" a bunch of times until it says "You are now a developer" or something like that.
3. Go into the developer settings ... Settings > General > Developer options
4. Check "USB Debugging"
5. Plug the phone in to your computer
6. Drop down the notifications menu and click on the item that has the subtitle "Tap for more USB options". Most likely, the main title will say "Media Device (MTP)". Anyway - click on that.
7. Then choose the option "Send Images (PTP)"
8. Tap your way back Home and then eject and unplug the phone from your computer again.
http://developer.android.com/sdk/installing/index.html?pkg=tools
9. As root, edit or create the file: /etc/udev/rules.d/51-android.rules
10. Add this line (if it isn't already there) Note that the idVendor is 1004 !!! :
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GROUP="plugdev"
11. Save the file and then run (as root):
Code:
sudo chmod a+r /etc/udev/rules.d/51-android.rules
12. Then as root, run:
Code:
sudo service udev restart
13. Then:
Code:
sudo killall -9 adb
14. Plug your phone in, then try
Code:
adb devices
15. Hopefully, you'll see something like "LGD85149abcd01 device" ... which indicates that it is time to celebrate.
Now go root your phone or start developing uber-apps or something else equally awesome.
If the guide was useful, don't forget to hit Thanks!
Good luck!
Frank.
PS. Special shout out to the guys who developed PurpleDrake. I hope this guide helps some of the questions that are being asked on that thread ... and eases their work load.
thanks.
this will definitely help those who want to try purpledrake root
I get lost at step 9 lol.
ailima said:
A bunch of people seem to be having trouble using Linux and ADB with their new phones. This is a step-by-step guide. I hope it helps some people.
Disclaimer: I am not responsible for anything you do to your devices. Following these instructions may or may not damage your phone or computer or anything else. You understand that following these instructions is done at your own risk.
THIS GUIDE DOESN'T WORK FOR VERIZON USERS
This has been tested on Ubuntu 14.04. Other variants may require some small changes.
This has been tested on the D851 (TMobile) variant. Sprint and ATT should be the same I think.
--> NOTE: Verizon users need to connect to ADB a little differently. <-- You'll have to find different instructions.
REQUIREMENTS: You must have root access to your linux box.
1. Unplug your phone from the computer
2. Make yourself a "developer" on your phone. Settings > General > About phone > Software information ... then tap "Build number" a bunch of times until it says "You are now a developer" or something like that.
3. Go into the developer settings ... Settings > General > Developer options
4. Check "USB Debugging"
5. Plug the phone in to your computer
6. Drop down the notifications menu and click on the item that has the subtitle "Tap for more USB options". Most likely, the main title will say "Media Device (MTP)". Anyway - click on that.
7. Then choose the option "Send Images (PTP)"
8. Tap your way back Home and then eject and unplug the phone from your computer again.
http://developer.android.com/sdk/installing/index.html?pkg=tools
9. As root, edit or create the file: /etc/udev/rules.d/51-android.rules
10. Add this line (if it isn't already there) Note that the idVendor is 1004 !!! :
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GROUP="plugdev"
11. Save the file and then run (as root):
Code:
sudo chmod a+r /etc/udev/rules.d/51-android.rules
12. Then as root, run:
Code:
sudo service udev restart
13. Then:
Code:
sudo killall -9 adb
14. Plug your phone in, then try
Code:
adb devices
15. Hopefully, you'll see something like "LGD85149abcd01 device" ... which indicates that it is time to celebrate.
Now go root your phone or start developing uber-apps or something else equally awesome.
If the guide was useful, don't forget to hit Thanks!
Good luck!
Frank.
PS. Special shout out to the guys who developed PurpleDrake. I hope this guide helps some of the questions that are being asked on that thread ... and eases their work load.
Click to expand...
Click to collapse
Great and useful guide Bro !
For Verizon, just enable debugging, connect phone, choose internet connection, ethernet (that will enable debugging), then in terminal just run sudo adb devices, the rsa key will pop up on screen, check it to always allow. Adb will show device as offline in the terminal window, now just run adb devices again without sudo and your good to go...
Thank you!
If you have ARCH / Manjaro or any ARCH base just type
sudo pacman -S android-udev
Plug in phone and profit
Just as an FYI to Fedora and CentOS 64 bit users: If you get an error about libraries missing you need to add the 64 bit libraries.
Code:
yum clean all
Code:
yum update
Code:
yum install glibc.i686 zlib.i686 libstdc++.i686 ncurses-libs.i686
After that you should be good.
annoyingduck said:
For Verizon, just enable debugging, connect phone, choose internet connection, ethernet (that will enable debugging), then in terminal just run sudo adb devices, the rsa key will pop up on screen, check it to always allow. Adb will show device as offline in the terminal window, now just run adb devices again without sudo and your good to go...
Click to expand...
Click to collapse
This worked for me.
I thank this guide will help too
But, don't use his files to root only the orignal purpledrake files from xda !
http://www.androidrootz.com/2014/07/how-to-root-lg-g3.html
Awesome, thanks. Always try look for those vendor ID's and stopping my phones of trying to install some darn Windows applications.
Android is Linux, why does it need Windows to function?
Thank you!
If i may to add more links for what help others:
ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.3+ (and for win 8+)
http://forum.xda-developers.com/showthread.php?t=2588979
Fastboot problems on Windows 8+ x64 with USB 3.0
http://forum.xda-developers.com/showthread.php?t=2256359
How to install ADB and Fastboot on Windows for use with Android [Guide] 2 methods
http://dottech.org/21534/how-to-ins...ows-computer-for-use-with-your-android-phone/
Thanks!!! This really helped
Thank you
Very helpful
Thanks for the guide. Would it work on Mac OS X ?
Ths,it wroks pretty good.
Didn't work first time even though I took great care in implementing the command line steps (permissions, file name, file contents, location). Had to go back from the start to notice the PTP step! Howcome it needs to be in Picture Transfer mode? ...Not essential, as I have adb working now, but thought someone might know.
Many, many thanks! Incidentally, i'm only putting it in debugging mode to hunt down what's turning on my G3's Bluetooth by itself. I've never turned BT on nor have I paired it with anything for any reason. I've had the phone two weeks and I've turned bluetooth off a half-dozen times or so. It shows no correlation with Airplane Mode or the WiFi NFC switch or anything else - just happens while the phone is sitting unattended. If anyone has insight on that one, please share it w/me somehow.
Additional steps
If after the steps above device is not detected by sudo ./adb devices, turn off development options: click all apps button->click Settings->click General->Developer options->turn it off, change phone connection to "charging", then change connection to "Send Images (PTP)", and turn back on Developer options, run sudo ./adb devices, and it should detect the phone
Thank you very much. Works for me - LG-F460K 4.4.2
Would this work on LG G4? Currently I have the "waiting for device" problem.

[how to]restore software status official

*this thread is for m9+. it will NOT work on m7,m8,m9(or anything else). search your device general forum for a specific thread
if you have recently s-off'ed using an exploit that changed your banner in the bootloader screen to software status: modified,then this thread is for you.
*you must be s off.
*you must have superuser installed
read this:
this will not work if your s on
the usual disclaimers:
this has been tested,but if it melts your phone into a little pile of aluminum goo,its not my fault.
credits
-beaups for schooling me on echo command protocol
-strace for originally discovering the location of the lock status flag(check out this thread for more info) wich started off my love for chasing such things.
- @omar302 for getting the ball rolling,providing dumps,and lots of testing. he s-on'ed his phone several times during the tests,and has provided a huge amount of valuable info
IF you are an advanced user with adb/fastboot set up and some basic knowlede of the cmd window,you can skip to #2
1)set up adb(windows 7 and lower)
-download this file
-install drivers: if you have htc sync installed,you should allready have drivers. if not,you can install htc sync,or install these modified htc drivers from revolutionary (driver mirror)
-unzip your miniadb_v1031.zip file. this is native funtionality in windows 7. you otherwise may need a utility such as "7-zip" to extract,or unzip it. place the unzipped folder onto the root of your C drive on your PC. root means the top level,not inside any folders. so just copy and paste,or drag and drop the folder onto C with everything else that is there. you may want to rename it to "miniadb_m7" since youll be putting some device specific files in here.
-open a command window. on windows 7,click the start bubble in the lower left and type "command" in the search box. xp i believe is similar or the same. doing this should open a small black command window.
-change to your miniadb_m7 directory. type the following at the prompt in your cmd window:
cd c:\miniadb_m7
your command promt should change to "c:miniadb_m7>" provided you: 1)unzipped the miniadb_v1031 zip file,and 2)put the folder on your c drive,and 3)entered the name of the folder correctly ("miniadb_m7" in this case)
-now make sure usb debugging is checked in developer options(you will need to turn it on first),and plug your phone into your PC with a usb cable
-make sure your phone is being recognized- type:
adb devices
if your drivers are installed correctly,this should return your phones serial number. you should hear the "found device" noises when you plug your phone in. if it starts installing drivers,wait for it to finish before typing the adb devices command.
if you get your serial number back,then enter this command:
adb reboot bootloader
this should take your phone to the "fastboot" screen,wich is white with colored letters. this is one mode of your bootloaders interactive modes. at the top youll see fastboot devices as confirmation youre in fastboot.
now enter:
fastboot devices
again,this should return your phones serial number. you should hear the "found device" noises when you plug your phone in. if it starts installing drivers,wait for it to finish before typing the adb devices command.
if you get your serial number back,you can enter the following to boot back to the phones OS:
fastboot reboot
and now,youve installed adb/fastboot and tested youre phones drivers. if at either spot,you have trouble and dont get your serial number back,there is some sort of connection issue. use these steps to troubleshoot:
troubleshooting connectivity issues:
-try a reboot of the PC
-try different usb cables and ports
-dont use a usb hub
-dont use usb 3.0
-make sure nothing capable of comunicating with the phone is enabled and running. htc sync,pdanet,easy tether,and even itunes have all been known to cause issues.
-windows 8 has been known to have issues. try a windows 7 or older machine
failing the above,
-i use these drivers for fastboot and adb(donwload and run as admin): http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe (mirror)
failing that,try manually updating the drivers in the following manner:
-put the phone in fastboot mode(select fastboot from the hboot menu)
-open device manager on the PC
-plug in phone,watch for it to pop up in device manager.
-update drivers with device manager,pointing the wizard to the extracted
driver download folder from above
note that you can check the connectivity of the phone,and make sure drivers are working by in the following manner:
-open cmd window. change to directory containing adb/fastboot utilities
-adb with the phone in the booted OS,usb debug enabled,enter:
adb devices in a cmd window
-fastboot with phone in fastboot,enter:
fastboot devices in cmd window
in either case,a properly connected phone with working drivers installed should report back the phones serial number.
Click to expand...
Click to collapse
this process,in your cmd window,should look something like this:
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Scott>[COLOR="red"]cd c:\miniadb_m7[/COLOR]
c:\miniadb_m7>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
FAxxxxxxxxxx device
c:\miniadb_m7>[COLOR="red"]adb reboot bootloader[/COLOR]
c:\miniadb_m7>[COLOR="red"]fastboot devices[/COLOR]
FAxxxxxxxxxx fastboot
c:\miniadb_m7>[COLOR="red"]fastboot reboot[/COLOR]
rebooting...
finished. total time: 0.037s
c:\miniadb_m7>
2)reset your "tampered flag"
enter the following:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne '\x00' | dd of=/dev/block/mmcblk0p11 bs=1 seek=39940
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify software status: official
if this does not work for you
*first reread this thread in its entirety. make sure you have met the prerequisites,and double check your code and make sure you have not forgotten a step,or screwed something up trying to type it (especially if using a terminal emulator),and check that you have not gotten any errors.
if youre still confident you did things correctly,you need to PM me:
1)the results of: fastboot getvar all
2)a link to an uploaded p11.
you get fastboot getvar all by:
-place phone in fastboot
-enter in fastboot getvar all right click,click mark,highlight in white,hit enter or right click to copy
you dump p11 by:
adb shell
su (if needed to get a #)
dd if=/dev/block/mmcblk0p11 of=/sdcard/mmcblk0p11
transfer the file on internal storage to your pc and upload it
im not trying to be a ****,but its not helpful to post "didnt work" if you screwed something up,or if your not willing to help find a solution. especially if others have found it to work on their same variant.
important:
from now on,i will need a copy of your cmd window as well if we want to get to the bottom of whats happening. some folks seem to be simply writing extra bytes,wich is screwing up the flag location. please make sure this shows an entire session,not just a last part where it looks correct. we cant figure it out if you only show part of what you did.
mine too
scotty1223 said:
mine too
Click to expand...
Click to collapse
@Scotty. What we need is how to change from Relocked to Locked on Bootloader.
deleted. Better to wait Scotty's stock guide.
west2cool said:
@Scotty. What we need is how to change from Relocked to Locked on Bootloader.
Click to expand...
Click to collapse
You cannot do it without turning s on. P9 is now being protected,and any attempts to modify it in any manner result in security being turned back on
Planning a back to stock guide once I'm fairly certain it can be done safely
Sent from my Nexus 9
yvtc75 said:
echo -ne ......
Click to expand...
Click to collapse
Don't do this unless you're ready to be stock and s on,and have all your ducks in a row. It could leave you bricked or stuck in the bootloader with a security warning.
There's good reason I didn't post it.
Sent from my Nexus 9
Just to confirm that it worked fine on my phone as per the screen photo in OP post. Also, just a warning to others, S-Off through SunShine might give you problems or would fail in case of repeated attempts (going back & forth between S-ON & S-OFF).
Thanks again to @scotty1223 for his help & work time this possiblef or the M9+.
Worked for me! Thanks!
omar302 said:
Just to confirm that it worked fine on my phone as per the screen photo in OP post. Also, just a warning to others, S-Off through SunShine might give you problems or would fail in case of repeated attempts (going back & forth between S-ON & S-OFF).
Thanks again to @scotty1223 for his help & work time this possiblef or the M9+.
Click to expand...
Click to collapse
Could you please detail, what problems? I s offed twice, but I'll be cautious if I knew there might be a problem
tbalden said:
Could you please detail, what problems? I s offed twice, but I'll be cautious if I knew there might be a problem
Click to expand...
Click to collapse
Apparently SunShine has some security system that detects if you are unlocking many times & then would just stop stop working & gives you message that your device is acting in an unusual way. I then had to contact their support to get it resolved.
i am rooted but s on, how can i s off to use your method? can someone help me
Rabia said:
i am rooted but s on, how can i s off to use your method? can someone help me
Click to expand...
Click to collapse
Currently they are using sunshine
Sent from my HTC One using Tapatalk
scotty1223 said:
Currently they are using sunshine
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
is that the paid thing, do they send a file accross or is it a physical thing
Rabia said:
is that the paid thing, do they send a file accross or is it a physical thing
Click to expand...
Click to collapse
http://theroot.ninja
Sent from my HTC One using Tapatalk
Rabia said:
is that the paid thing, do they send a file accross or is it a physical thing
Click to expand...
Click to collapse
You install the app & run it on your phone with a internet connection, after the app makes some tests & confirms your device is compatible you will be prompted to pay through the app itself ($25.00). The app itself will run & phone restart & then you get S-OFF. My M9+ was also from UAE (official-UAE version) & S-OFF worked from the 1st time. Very simple process.
Stock Locked bootloader?? @scotty1223
jureca said:
Stock Locked bootloader?? @scotty1223
Click to expand...
Click to collapse
Not possible currently. Attempting to modify p9 will cause you to turn s on. It may be possible to use it to your advantage if you need to be 100% stock,but I haven't had a chance to come up with a process that I believe would be 100% safe for all users
Sent from my Nexus 9 using Tapatalk
scotty1223 said:
Not possible currently. Attempting to modify p9 will cause you to turn s on. It may be possible to use it to your advantage if you need to be 100% stock,but I haven't had a chance to come up with a process that I believe would be 100% safe for all users
Sent from my Nexus 9 using Tapatalk
Click to expand...
Click to collapse
Ok thank you, see if you can :good:

Nexus 7 2012 bricked, adb/fastboot connection ok but unauthorized. Can You help?

Hi.
I have a nexus 7 2012 edition which turns on with The Google written logo and under the screen with a padlock. After that it will be in bootloop with a black screen ( I can see the backlight turning on/off). This is also if pressing the power+volume down combination. Seems bootloader is corrupted. Anyway I installed everything on pc plus I'm using the WugFresh Nexus Root Toolkit and here are some examples which show what errors I'm encountering when trying to flash stock firmware .
Log:
Checking ADB/FASTBOOT Connectivity
adb devices
015d4a5ed8500c01 unauthorized
fastboot devices
There is also a notification popup which tells me:
"An ADB Interface device was found but it was listed as "unauthorized"
-Accept the RSA security prompt and check "Always allow from this computer"
At this point I don't know what to do, can you help me?
Same issue - following
I have the same issue now after trying to flash a kernel to fix the slow charging issue. Following this post for any update.
Sunil_511 said:
I have the same issue now after trying to flash a kernel to fix the slow charging issue. Following this post for any update.
Click to expand...
Click to collapse
Hi, Sunil_511...
Bit speculative this, and I can't say for certain if the following solution would work, because I've never had this problem myself. It also requires that your Nexus 7 be in a fully bootable state.
Go to your Nexus 7 Developer Options in the devices settings and tap on 'Revoke USB debugging authorisations'. Tap on OK to confirm. See attached screenshot.
This, theoretically, should wipe the slate clean.
Reboot both your N7 and your PC/laptop and when you next reconnect your N7 to your PC/laptop, you'll be asked to authorise this new USB connection when you perform some action that requires it.
Well, that's the plan anyway.
Good luck?.
Rgrds,
Ged.
Nope, in my case my tab is not booting to recovery or system. The only option is adb and it is showing unauthorized. My last option what i think off is to change the motherboard.
Following
I have the same error and like to follow
Sunil_511 said:
I have the same error and like to follow
Click to expand...
Click to collapse
Google search is your friend. I found the following two methods which seems to have worked for some people.
1. If you are using OS X*:
Reboot your phone into recovery mode.
Connect it to your computer.
Open the terminal and type:
cd ~/.android
adb push adbkey.pub /data/misc/adb/adb_keys
All done! Just adb shell reboot and feel the power!
*For Windows 10, .android directory is located in your the base of your C:\User\user_name directory.
2. Go to where you have stored adb files, open that folder and press "CTRL+SHIFT+Right Click" and select and click on Open Command Prompt option
Now enter following command
adb start-server (Enter)
adb usb (Enter)
After that your device is no longer unauthorized and you should be able to use any command in your Android Mobile using PC/ Computer.
If these fixes don't work, SEARCH.
thanks buddy, i have tried pushing the adb keys but no luck. I will try tge second option. Will let you know after trying.
No difference still the same
BxG4ever said:
Hi.
I have a nexus 7 2012 edition which turns on with The Google written logo and under the screen with a padlock. After that it will be in bootloop with a black screen ( I can see the backlight turning on/off). This is also if pressing the power+volume down combination. Seems bootloader is corrupted. Anyway I installed everything on pc plus I'm using the WugFresh Nexus Root Toolkit and here are some examples which show what errors I'm encountering when trying to flash stock firmware .
Log:
Checking ADB/FASTBOOT Connectivity
adb devices
015d4a5ed8500c01 unauthorized
fastboot devices
There is also a notification popup which tells me:
"An ADB Interface device was found but it was listed as "unauthorized"
-Accept the RSA security prompt and check "Always allow from this computer"
At this point I don't know what to do, can you help me?
Click to expand...
Click to collapse
tnsmani said:
Google search is your friend. I found the following two methods which seems to have worked for some people.
1. If you are using OS X*:
Reboot your phone into recovery mode.
Connect it to your computer.
Open the terminal and type:
cd ~/.android
adb push adbkey.pub /data/misc/adb/adb_keys
All done! Just adb shell reboot and feel the power!
*For Windows 10, .android directory is located in your the base of your C:\User\user_name directory.
2. Go to where you have stored adb files, open that folder and press "CTRL+SHIFT+Right Click" and select and click on Open Command Prompt option
Now enter following command
adb start-server (Enter)
adb usb (Enter)
After that your device is no longer unauthorized and you should be able to use any command in your Android Mobile using PC/ Computer.
If these fixes don't work, SEARCH.
Click to expand...
Click to collapse
Tried your suggestion.. Which i might have tried eventually from googling.. Doesn't make any difference.
Fixed
After doing all the researches, i had to buy a new motherboard and then replace it. Installed new rom and now using it. Spared about 1400INR for a 32 gig version.

Categories

Resources