ADB issues with Marshmallow - Verizon LG G3

ok when on LL and KK i had no issues running ADB commands using termux or termial imulator.
But for some reason since i upgraded to Marshmallow i get the following error (See Attched Image)
let me know if you know hot to fix this problem.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

When you're running terminal commands on the actual Android device instead of across a USB cable connected to your PC, you don't include the "adb" part of the command. "adb" is a Windows/Linux/MacOS command telling it to send what follows to the connected device, not an Android one (simplified explanation).

roirraW "edor" ehT said:
When you're running terminal commands on the actual Android device instead of across a USB cable connected to your PC, you don't include the "adb" part of the command. "adb" is a Windows/Linux/MacOS command telling it to send what follows to the connected device, not an Android one (simplified explanation).
Click to expand...
Click to collapse
Sorry,
i have used it before when trying to program my FireTv and my Friend FireTv Stick using the adb commad.
It once worked fine adb kill-server, adb start-server, adb connect 192.1.x.x then adb install kodi.apk etc.
all that use to work with LL and KK but not with MM

I have no idea. I've never seen the "adb" command used from the actual Android device. Why not hook a PC to whatever you're trying to send commands to? Do you have USB Debugging on?

You know what roirraW "edor" ehT? He's right!
I just adb'd into my android device and typed "adb" and it came up! This is on the latest stock LP (35B), not rooted.
Weird.

iBolski said:
You know what roirraW "edor" ehT? He's right!
I just adb'd into my android device and typed "adb" and it came up! This is on the latest stock LP (35B), not rooted.
Weird.
Click to expand...
Click to collapse
Yes as I said it use to work with KK and LP but it does not work in MM

rinnycoop121 said:
Yes as I said it use to work with KK and LP but it does not work in MM
Click to expand...
Click to collapse
I guess my question is, what would you use adb from within the Android device for?

iBolski said:
I guess my question is, what would you use adb from within the Android device for?
Click to expand...
Click to collapse
Sorry,
i have used it before when trying to program my FireTv and my Friend FireTv Stick using the adb commad.
It once worked fine adb kill-server, adb start-server, adb connect 192.1.x.x then adb install kodi.apk etc.
all that use to work with LL and KK but not with MM

iBolski said:
I guess my question is, what would you use adb from within the Android device for?
Click to expand...
Click to collapse
No need to use a PC everything works from your mobile phone

iBolski said:
You know what roirraW "edor" ehT? He's right!
I just adb'd into my android device and typed "adb" and it came up! This is on the latest stock LP (35B), not rooted.
Weird.
Click to expand...
Click to collapse
Yes! Bizarre! I can't believe I've never seen that but I guess I never had a reason to. I wonder if all OEMs have included adb in Android?
Confirmed working on stock Lollipop on my LG G Pad 8.3 VK810.4G too.
rinnycoop121 said:
No need to use a PC everything works from your mobile phone
Click to expand...
Click to collapse
They must not have included the adb binary. Find it on Lollipop and copy it to your Marshmallow, and give it the same permissions as other binaries. I wouldn't expect it to matter which version of Android you run it on.
If 46A is just a leak as it appears to me, it's possible the final Marshmallow OTA will have it.

Related

[Q] Q: ZEKI 10" Tablet -- Can't get ADB to work

I have a ZEKI 10" TBQC1063B tablet. It apparently an updated version in that it now comes with Google Play Store app installed from the factory. It has Android 4.1.1.
I started to try to Root the device, but was unsuccessful.
In my quest to debug Rooting, I started trying playing with ADB directly. I quickly discovered I could not get to 'first base' with ADB.
Yes, I have USB DEBUGGING enabled, and when my tablet is plugged into my PC, the tablet shows that icon of the Android face in the status line in the lower right screen.
I started to try different drivers (reading that such might be the cause of ADB not working), even though all of the appear to be working OK when I check in Device Manager. One of the attempts I made at drivers led me to those offered as part of PDAnet. While using PDAnet's drivers didn't seem to help, I did stumble upon a CLUE. The CLUE is that while installing the PDAnet drivers, PDAnet did successfully install its own app onto my tablet. I think that such requires ADB to work, no? Could someone confirm such (or not)?
I tried a PC program called AdbDriverInstaller. When I first tried it, it reported a Device Status error of "Driver Incorrectly". So, I uninstalled that driver (I belive at that point it was the PDAnet one), and installed a new driver from a collection called UniversalAdbDriverSetup6. Now, that looked better. AdbDriverInstaller now shows:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Looking better?
My problem is that ADB DEVICES still shows no devices:
Does anyone know of anything else to try? This is about the limit of my expertise.
Try!
You can try using different port...i suggest you clean up all the Drivers and then install them correctly!:silly:
Kunal.Kene.1797 said:
You can try using different port...i suggest you clean up all the Drivers and then install them correctly!:silly:
Click to expand...
Click to collapse
Thanks, but I am not sure what you mean,
After trying each driver, I uninstalled and delete it. Is there something else I should be doing to "clean up" ?
How do you install them correctly, other than simply installed them? Device Manager seems to think the ADB device is working correctly.,
WaltA said:
Thanks, but I am not sure what you mean,
After trying each driver, I uninstalled and delete it. Is there something else I should be doing to "clean up" ?
How do you install them correctly, other than simply installed them? Device Manager seems to think the ADB device is working correctly.,
Click to expand...
Click to collapse
Unplug your tablet then reconnect it.
Type in cmd prompt:
Code:
adb kill-server (Hit ENTER)
adb start-server (Hit ENTER)
You should see your device..
Also, this is a good tool..makes adb system wide as well HERE
Also, not sure when Android implemented this, you might see a box up asking for you to grant the PC permission to use ADB, grant it
WaltA said:
Click to expand...
Click to collapse
lacoursiere18 said:
Unplug your tablet then reconnect it.
Type in cmd prompt:
Code:
adb kill-server (Hit ENTER)
adb start-server (Hit ENTER)
You should see your device..
Click to expand...
Click to collapse
I unplugged and plugged my tablet in a few times (over a course of several days while I tried to debug this on my own). Both my PC and my tablet have been powered on/off and rebooted over that time too.
I believe I showed I ready tried those commands, with no success.
TBQC1063B Zeki tablet
Zeki TBQC1063B
Any roms available? This one seems to be stuck. I can get to the boot list, but haven't found a new rom for it. Or even the factory rom.

Fastboot wont flash twrp-2.8.7.1-h901.img tmobile Lg V10

OK, so i am really lost at this point. I have been trying for the past couple of days with no luck.
I used Minimal adb and fastboot, downloaded Lg drivers (LGMobileDriver_WHQL_Ver_4.0.3), sdk google drivers and looked at many comments to figure this out.
i type adb device and my phone shows, I type fastboot device and last couple of my phone shows. I used Mininimal adb and fasboot to unclock the the bootloader and i followed all the commands but when i get to fastboot flash recovery twrpxxxx.img, it tells me cannot load twrpxxxx.img. Also, when i type in adb reboot bootloader in brings me the an LG screen with powered by android at the bottom instead of the correct screen.
So, i tried the other way. Power phone off, hold down the volume down button and plug in usb and bootloader/fastboot opens up ( the screen with the line in the top left, with a blank page). it shows unlocked, few lines in white, and then few lines in red. I type fasboot devices and my phone shows up displaying last couple of the phone sn#. but when i go to type fasboot flash recovery twrpxxxx.img, i get the same message cannot load twrpxxxx.img. and on the phone is shows fastboot getvar partition recovery.
Any idea on what this is and how can i solve this?
Thanks in advance.
Rename it to recovery.img and try again.
I renamed it and I still get the same error. Cannot load recovery.img
papatoon3 said:
I renamed it and I still get the same error. Cannot load recovery.img
Click to expand...
Click to collapse
Make sure the image is in the same folder that you are running adb from; it doesnt scan your whole computer for the file. ��
Elu_sama said:
Make sure the image is in the same folder that you are running adb from; it doesnt scan your whole computer for the file. ��
Click to expand...
Click to collapse
It is in the same folder.
Does it make any difference that my phone is unlocked from T-Mobile via unlocked code? That should not have anything to do with it thought. I am just tying to figure it out.
Figured it out.
papatoon3 said:
I renamed it and I still get the same error. Cannot load recovery.img
Click to expand...
Click to collapse
I suggest you remove and reinstall sdk or install nexus root tools and run a cmd within the updated tools. Make sure you installed the right drivers, delete all others, reinstall, although your error seems more a problem with the tools, permissions perhaps, did you run cmd as admin?
Unable to load tells me it can't find your file.. Perhaps it has a hidden extension? Recovery.img.txt
Whats the complete exact command you're typing?
"fastboot flash recovery recovery.img"
http://androiding.how/how-to-install-twrp-recovery-via-fastboot/
Sounds like this is not enabled
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my LG-H901 using Tapatalk
papatoon3 said:
Does it make any difference that my phone is unlocked from T-Mobile via unlocked code? That should not have anything to do with it thought. I am just tying to figure it out.
Click to expand...
Click to collapse
SIM unlocked (tmo has no code, its an app) and bootloader unlocked isnt the same thing.
Never mind got it
papatoon3 said:
Figured it out.
Click to expand...
Click to collapse
What was the solution i need it please and thanks
tanked89 said:
Never mind got it
What was the solution i need it please and thanks
Click to expand...
Click to collapse
When your phone is turned on and plugged in, type command adb devices, Does it show?
Put phone in fastboot mode, type command fastboot devices, does it show?
I figured it out. I had to install motorola and g4 drivers to get fast boot to read when I only had one or the other it was only reading adb when I had both on pc it read and adb & fastboot and worked. Thank you.
Hi sir I am facing a problem I rooted my v10 first I unlocked bootloader and then I rooted it by using fwul I hard reset it but when I turned it on a twrp recovery menu appeared please help that how it fix

RSD Lite for Mac and Linux Flash Stock Motorola Firmware

RSD Lite Tool For Mac and Linux
View attachment 3812978
This tool is designed to flash stock Motorola firmware just like you can with Motorola's program RSD Lite but on Mac and Linux machines.
What it does is looks at the XML files that come with Motorola firmware like the servicefile.xml and the flashfile.xml then coverts them all to fastboot commands it also checks the MD5 of all the firmware files just like rsd lite.
If you want to learn more and see some examples of how this is all done check HERE
https://youtu.be/HDmABQazDIc
Shout out to Liboicl awesome work buddy
I cant believe no one has used this or commented wow
Tomsgt said:
I cant believe no one has used this or commented wow
Click to expand...
Click to collapse
I just used this actually today thank u just now got my phone back up and running
joeeboogz said:
I just used this actually today thank u just now got my phone back up and running
Click to expand...
Click to collapse
nice thats awesome. I think its a pretty cool little tool
Tomsgt said:
I cant believe no one has used this or commented wow
Click to expand...
Click to collapse
The g4 forum is not very active, it should have been published in the g4 plus forum
Tomsgt said:
nice thats awesome. I think its a pretty cool little tool
Click to expand...
Click to collapse
Me to I have found myself using it often sometimes I flash things that don't work so I gotta start all over. It happens when u play to much
joeeboogz said:
Me to I have found myself using it often sometimes I flash things that don't work so I gotta start all over. It happens when u play to much
Click to expand...
Click to collapse
lol yeah that happens and its part of the fun
Hi all.I follow all above step.but my Mac stop at this command line: waiting for device.pls suggest me what to do
Edit.It works now
canhmeo said:
Hi all.I follow all above step.but my Mac stop at this command line: waiting for device.pls suggest me what to do
Edit.It works now
Click to expand...
Click to collapse
sounds like the device isnt in bootloader mode
Thanks for this very useful tool. Just used it on archlinux to flash back to stock so I could get nougat ota on my xt1622. Everything worked flawlessly.
drw22 said:
Thanks for this very useful tool. Just used it on archlinux to flash back to stock so I could get nougat ota on my xt1622. Everything worked flawlessly.
Click to expand...
Click to collapse
thats awesoem glad it worked for you.
Hi, I was considering picking up the amazon version of the g4 play, but decided to see if there was a way to flash the stock motorola version of android before doing so. I read through the provided script and saw that you chose to ship your own binaries instead of using the versions of adb and fastboot already installed. Looking at the binaries themselves, I found that while my own adb is 164K and fastboot is 116K, your versions are 1292K (!!) and 296K respectively. I am, I think understandably, wary of running large uninspected binaries on my system. My question is, if I copy my own versions of these programs into the RSD-Lite-Mac-Linux/files/ directory (or use sym-links), is this likely to cause issues with the flashing process?
Also, is there a reason you direct people to download everything from your site instead of linking to upstream, even for programs like notepad++ and even when your versions are (very) outdated?
Should this work on Motorola Photon Q (xt897), which normally works with (windows) version 6.15? I tried that with wine, but it doesn't see my phone...
lkl
Woah there!
Mainjaro user here.
If OP link isn't functional.
Click here.
Need Help. Someone help me
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Really cool. I used this script to revive my XT894 to Android 4.1.2 after being soft bricked for years. Will have to mess with it later. Thanks

Question ADB Problem

Hello guys can someone help me on my redmi note 10,
So basically my problem is adb can detect my phone when its power on but when my phone switches to fastboot adb cannot detect it anymore. I also try the adb reboot bootloader command, it work and it go to fastboot but after that it didnt detected anymore.
Please help me.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm not sure, but it looks like you need install usb/device drivers from MiFlash.
And after, try enable/allow usb debugging
missingN said:
I'm not sure, but it looks like you need install usb/device drivers from MiFlash.
And after, try enable/allow usb debugging
Click to expand...
Click to collapse
i already tried that still the same
@ibanezred16 May be you missing add Environment Variables path?
Adb-fastboot PE guide
ibanezred16 said:
...when my phone switches to fastboot adb cannot detect it anymore. ...
Click to expand...
Click to collapse
This is intended behavior, if your phone is in fastboot mode it can only be detected by fastboot (try command 'fastboot devices'). Devices can only be detected by adb in recovery when sideload is enabled or in OS with debugging on.
Mthw said:
This is intended behavior, if your phone is in fastboot mode it can only be detected by fastboot (try command 'fastboot devices'). Devices can only be detected by adb in recovery when sideload is enabled or in OS with debugging on.
Click to expand...
Click to collapse
sorry im new here, can you tell me a way to flash the twrp? because the regular method don't work with me
ibanezred16 said:
sorry im new here, can you tell me a way to flash the twrp? because the regular method don't work with me
Click to expand...
Click to collapse
What do you mean by regular method? This should work: 'fastboot boot twrp.img' and once it boots up go to Advanced and there is an option called 'flash current recovery'.
Mthw said:
What do you mean by regular method? This should work: 'fastboot boot twrp.img' and once it boots up go to Advanced and there is an option called 'flash current recovery'.
Click to expand...
Click to collapse
that's also one of my problem when it boots to twrp the touch screen is not working can't touch or click anything when im in twrp
Are you using this one? https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4268563/ Either way you should probably ask there.
Mthw said:
Are you using this one? https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4268563/ Either way you should probably ask there.
Click to expand...
Click to collapse
yes, thank you very much for your help
Were you successful? I am guessing you are trying to install a ROM, depending on the rom you could also use a different recovery.
Mthw said:
Were you successful? I am guessing you are trying to install a ROM, depending on the rom you could also use a different recovery.
Click to expand...
Click to collapse
yeah im trying to install Evox
Mthw said:
Were you successful? I am guessing you are trying to install a ROM, depending on the rom you could also use a different recovery.
Click to expand...
Click to collapse
Im succesfully installed twrp I used mouse via otg connector to touch the screen

Unbrick without PC

Exists one way to unbrick a phone without Pc/Notebook? Like using a Other phone with otg or something else
rael7979 said:
rael7979 said:
Exists one way to unbrick a phone without Pc/Notebook? Like using a Other phone with otg or something else
Click to expand...
Click to collapse
Phone? Which phone? What is the problem?
Click to expand...
Click to collapse
Infinix Hot 11 X689F, the problem its because I flashed a wrong twrp in my phone, so because that my phone dont start anymore and dont open reovery mode
Take phone to authorized service center and let them try to fix it.
if the other phone is rooted you can use it for fastboot commands:
adb + fastboot Installer
The link provided let you download and flash an ADB / Fastboot from 2008 what is heavily outdated,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
what? type 'adb version' and tell me your version
This got released in 2023
Installing Termux would solve the problem.
pkg install android-tools
jwoegerbauer said:
The link provided let you download and flash an ADB / Fastboot from 2008 what is heavily outdated,
View attachment 5866147
Click to expand...
Click to collapse
[ ] You know how zip signing works.
(the binaries are from Feb 2020)
alecxs said:
if the other phone is rooted you can use it for fastboot commands:
adb + fastboot Installer
Click to expand...
Click to collapse
But i can't enter in fastboot mode to send the commands, i need a tool like mtk bypass to android, do you know one?
WoKoschekk said:
Installing Termux would solve the problem.
pkg install android-tools
View attachment 5866221
Click to expand...
Click to collapse
But termux doesn't recognize my device, I put usb but connect and disconnect all the time, and isnt my usb cable
rael7979 said:
But termux doesn't recognize my device, I put usb but connect and disconnect all the time, and isnt my usb cable
Click to expand...
Click to collapse
pkg upgrade
pkg install tsu
With tsu you are root in termux and able to detect your device. Do not use su because then you will leave the termux shell and the ability to run commands from Termux.
WoKoschekk said:
pkg upgrade
pkg install tsu
With tsu you are root in termux and able to detect your device. Do not use su because then you will leave the termux shell and the ability to run commands from Termux.
Click to expand...
Click to collapse
Ok, after that I run the android tools command yeah? Tomorrow I will try
rael7979 said:
Ok, after that I run the android tools command yeah? Tomorrow I will try
Click to expand...
Click to collapse
Yes, after them run pkg install android-tools and you can use fastboot.
alecxs said:
...
(the binaries are from Feb 2020)
Click to expand...
Click to collapse
Only confirms the binaries you linked to are not really useful because massively outdated.
Yes, binaries are v29.0.6 (2020).
adb-ndk/bin at master · Magisk-Modules-Repo/adb-ndk
adb-ndk. Contribute to Magisk-Modules-Repo/adb-ndk development by creating an account on GitHub.
github.com

Categories

Resources