Marshmallow ADB Removed or Not? - Android Q&A, Help & Troubleshooting

I've seen some news spamming the internet that ADB was removed from marshmallow. Can anyone confirm or deny this for stock roms? I run CM13 so no stock roms to see. Wouldn't make sense for ADB to be removed.

What seems to have been removed is the on-device ADB binary. I discovered this myself, today, as I have an Asus TF300T which I regularly use with other Android tablets at work for debug purposes, that I over the weekend upgraded to 6.0. Much to my surprise, no longer am I able to adb from my tablet. I did some quick research on it, and found a few people posting about it, but no solutions as of yet.

USB Debugging
Artemis-kun said:
What seems to have been removed is the on-device ADB binary. I discovered this myself, today, as I have an Asus TF300T which I regularly use with other Android tablets at work for debug purposes, that I over the weekend upgraded to 6.0. Much to my surprise, no longer am I able to adb from my tablet. I did some quick research on it, and found a few people posting about it, but no solutions as of yet.
Click to expand...
Click to collapse
isnt there a usb debugging thing?

I have g3 before i had to set it to mtp for debug and adb now i have to set it to ptp but its there and it works

ReliantFever735 said:
isnt there a usb debugging thing?
Click to expand...
Click to collapse
USB debugging is for connecting a device to another device, ie an Android device to a PC. It does not, however, give an Android device the ability to run ADB locally to connect to another Android device. My situation is, I have a TF300T which is a tablet with a dock, the dock has an actual USB port and functions like a USB OTG adapter. I used to be able to connect other Android devices to the USB port on my tablet and, using a terminal emulator, run ADB commands to the external Android devices. Since upgrading my tablet to 6.0 however, I discovered that I could no longer perform that task. Some quick Googling turned up a couple of places asking about this exact function, and someone on stackexchange posted a question about that exact issue, however they never got any response.
Why Google felt it was necessary to exclude the ADB binary from 6.0 is beyond me. Sure, it's something that is probably rarely used by users, but for those of us that -do- use it, it's not cool that it's suddenly gone.
I wonder if it wouldn't be trivial to extract the binary from a 5.0 device and see if it would just work under 6.0...

Hi
did you find a solution? I'm on CM13 would love to be able to use my tablet as adb client again...
Regards
Kip

I ran across this thread the other day. I haven't had a chance to try it yet but this might be what your'e looking for.
http://forum.xda-developers.com/showthread.php?t=2239421
http://forum.xda-developers.com/attachment.php?attachmentid=3685519&d=1458155113

ElwOOd_CbGp said:
I ran across this thread the other day. I haven't had a chance to try it yet but this might be what your'e looking for.
http://forum.xda-developers.com/showthread.php?t=2239421
http://forum.xda-developers.com/attachment.php?attachmentid=3685519&d=1458155113
Click to expand...
Click to collapse
Works for me. Thanks a lot!
Gesendet von meinem LG-V500 mit Tapatalk

Guys please help me how to get adb in the Android 6.0 and above I Googled about this but I didn't find it I hope here I can get the solution

Artemis-kun said:
USB debugging is for connecting a device to another device, ie an Android device to a PC. It does not, however, give an Android device the ability to run ADB locally to connect to another Android device. My situation is, I have a TF300T which is a tablet with a dock, the dock has an actual USB port and functions like a USB OTG adapter. I used to be able to connect other Android devices to the USB port on my tablet and, using a terminal emulator, run ADB commands to the external Android devices. Since upgrading my tablet to 6.0 however, I discovered that I could no longer perform that task. Some quick Googling turned up a couple of places asking about this exact function, and someone on stackexchange posted a question about that exact issue, however they never got any response.
Why Google felt it was necessary to exclude the ADB binary from 6.0 is beyond me. Sure, it's something that is probably rarely used by users, but for those of us that -do- use it, it's not cool that it's suddenly gone.
I wonder if it wouldn't be trivial to extract the binary from a 5.0 device and see if it would just work under 6.0...
Click to expand...
Click to collapse
I suppose google removed adb from android, is probably because it poses security threats. I am doing a seminar on a paper published in 2017, called SMAShed. It can manipulate android sensor data with only internet permission. As a matter of fact, apps installed using adb are granted all permissions by the OS without notifying the user. You can find the demo at androidsmashed.wordpress.com/demos/ .

Related

ADB Install

In reading carrett's root, unlock and install guide as well as thecubed's Project FreeGee thread, it's clear that adb needs to be installed on my phone. Unless it's hidden somewhere, I believe that I need to install it as well as install adb drivers on my laptop. As far as the phone goes, Google play has wifi apps, but I can't find a tethered app to install. In addition, after a couple hours of searching, I don't find adb software or drivers to install on my laptop.
I'd prefer to not brick my phone on 1st attempt, so I pose the following questions:
1) Am I completely confusing things or am I correct in thinking that I need to explicity install adb both on my phone and laptop
2) assuming that some sort of adb install must happen, where do I find the installation files?
I think that I've finally found the answers to my questions: install the ADT bundle which includes adb. I'm downloading and installing it as I write this.
If a mod wants to delete this thread, please do.
dbgeek said:
I think that I've finally found the answers to my questions: install the ADT bundle which includes adb. I'm downloading and installing it as I write this.
If a mod wants to delete this thread, please do.
Click to expand...
Click to collapse
dude link it?
Uh, ADB support is built into Android.
You need to have USB Debugging turned on for some stuff to work though. In Settings>Developer Options>(check USB debugging box).
Then ADB SHOULD be installed with the LG drivers (if not I think the FreeGee download has it built in).
And if it is not, you can always install the Android SDK (HERE).
I know it is in there.
(Sorry, my memory is fuzzy, I've had ADB on my laptop for a few years now... not sure where I got it)
bleached45 said:
Uh, ADB support is built into Android.
You need to have USB Debugging turned on for some stuff to work though. In Settings>Developer Options>(check USB debugging box).
Then ADB SHOULD be installed with the LG drivers (if not I think the FreeGee download has it built in).
And if it is not, you can always install the Android SDK (HERE).
I know it is in there.
(Sorry, my memory is fuzzy, I've had ADB on my laptop for a few years now... not sure where I got it)
Click to expand...
Click to collapse
That's the issue I had with it, but just today I got rid of my old one troubleshooting.... thinking I messed it up ( which is why I had to find another)
Sent from my LG-E970 using Tapatalk 2

[Q] AOCOS PX102- Attempting to root, but having issues finding the device via ADB

Hello All,
So there is very little documentation on the PX102 online as of yet, let alone AOCOS products in general (at least on english sites which I have scoured). First off, I'm currently using OSX 10.6.8 and have the current Android developer tools package that was downloaded from their site about three hours ago (just to be clear). The PX102 is running 4.1.1 and the tablet is a fresh restore (I had a number of apps downloaded but considered that some may have been interfering...).
I will be attempting to root via psneuter exploit from SuperOneClick v2.3.3, however in the terminal when I execute "adb devices" it returns "List of devices attached" with blank space underneath...
I have tried to kill/restart server, run "adb usb", and a couple other small things to no avail.
Yes, usb debugging mode is enabled as well.
I would really like to attempt/execute this all via OSX, however name an OS and I have it at my disposal...
I admit- I am a noob in various ways, especially to android as this is my first android device. Hoever, I also consider myself to be rather self sufficient in terms of sourcing knowledge and troubleshooting, which is why I humbly ask for guidance in this endeavor.
Also, feel free to ask me any questions about the PX102 (via PM only please! I dislike threads being fuddled with asides...).
I'm not seeing too many people claiming to have these tablets though there is quite a bit of interest in them.
Anyone?
For windows you can try rkbatchtool v1.5 to get the correct drivers
Rooted mine
I rooted mine, wasn't easy though.
First problem, you need a adb driver that works on this rockchip tablet that doesn't have a built in ADB driver. Also I didn't have much luck on the chinese language AOCOS forum.
The only way I found to get one is:
1) download and install the morborobo phone manager software from moborobo.com. Yes this is a risk to your pc. God knows what else it did to my pc.
2) let IT find a driver. It will download and install two unsigned drivers.
3) those drivers aren't enough. You need to generate adb_usb.ini in c:/Users/%username%/.android/adb_usb.ini (if you're on windows 7)
Installing the SDK does that automatically otherwise you need to run "android update adb" or something to generate it
4) put the vendor id at the end of adb_usb.ini in the case of AOCOS the vendor is 0x2207
I tried using a premade adb_usb.ini with all of the vendor ids. That didn't work. It worked when I put the right on only.
NOTE, that vendor ID exists nowhere online. I had to find it by reading it directly from the device using USBVIEW from http://digital.ni.com/public.nsf/allkb/335A90747734097886257070006415B9
5) Now you should have a working adb driver. Plug the machine in and type "adb devices". It should see yours
6) now comes the rooting.
Follow the instructions here:
http://forum.xda-developers.com/showthread.php?t=1886460
The script is here: http://uploaded.net/file/0fpyh5c5
the videos showing how are here http://forum.xda-developers.com/showthread.php?p=33470626#post33470626
Note there IS a hacked adb driver that doesn't need a vendor ID, BUT it doesn't work for rooting, it's too old to have the restore feature you need for a jelly bean root.
The PX102 is cool, but mine has some problems:
1) the keyboard charge connector is bad, I have to send it back
2) the battery sucks... I'm sending back the tablet too, hopefully that will fix it
3) never drop one of these, mine only fell a couple feet and it's flaky now. :/
4) the camera is fake. It's not the 2mega pixels it says. It's super low quality and maybe vga. They put in bull**** fractal interpolation software to try to fake higher res
The keyboard is no where near as nice as a transformer, the tablet only rests on the keyboard and can fall off.
Still it's a nice machine. I have my memory cards formatted ext2 (from a previous tablet). I can mount them but the machine won't boot with an ext2 card plugged in. I have to take the card out, boot the machine, then plug it in and mount it.
I even managed to install GNU Gcc/ gnu tools
You can also try this: http://www.androidtablets.net/forum/rockchip-rk3066-tablets/46964-root-your-rockchip-3066-a.html
Or this: http://valentijn.sessink.nl/?p=382

[Q] Connect Nook HD to a digital piano

Hi
I would like to connect my Yamaha digital piano to my Nook HD (I currently connect the paino to a PC via Midi IN/OUT to USB cable which works fine). I thought that rooting the Nook and running USB Host Check would provide the answer but the apps I have tried (Perfect Piano being the most appropriate) don't recognise a device as being connected.
I am sure there must be a way and would very much appreciate any help. Running a cable to my PC each time I want to record something is driving me crazy.
Maybe this could help: http://www.musicalandroid.com/1/pos...o-record-sound-with-your-audio-interface.html ?
According to this: http://www.mikrosonic.com/rd4-midi-android These kinds of things work best at least 4.1.x but 4.2+ would be better. Might need to try a custom rom as well then.
I've not had any experience with this stuff, just found some info for you. Hope it helps!
Connect Nook HD to Digital Piano
es0tericcha0s said:
Maybe this could help: ?
According to this:These kinds of things work best at least 4.1.x but 4.2+ would be better. Might need to try a custom rom as well then.
I've not had any experience with this stuff, just found some info for you. Hope it helps!
Click to expand...
Click to collapse
Thank you very much for the info - it all looked very promising.
USB Audio Recorder won't detect the piano when connected using the midi IN/OUT cable, it is looking for a sound card.
I am thinking that it may work if I connect it via the headphone socket.
Strangely enough if I don't have a Jack to USB cable to hand - but I have ordered one as it must be worth a try!!
Many thanks again for your help
No problem. Let us know if you figure it out in case someone else is looking for a similar solution.
Connect Nook HD to a digital piano
es0tericcha0s said:
No problem. Let us know if you figure it out in case someone else is looking for a similar solution.
Click to expand...
Click to collapse
Just to let you know that the cable didn't work! damn!
I have found USBHostSwitcher.apk on one of the forums here, which looked like it would do the trick.
I have downloaded it from a couple of locations but APK Installer comes back with an 'unable to parse' error message.
It either doesn't like my Nook, or the Android version, or ME!
The quest continues.
Thanks again for your help
https://dl.dropboxusercontent.com/u/9903887/Apps/USBHostSwitcher.apk
Found this on a Nook HD site and uploaded to my Dropbox and tested it. Installed fine for me. I don't have any use for the app, just tested to see if it installed correctly. If it still fails again, then you need to switch browsers or download on PC and transfer over.
Connect Nook HD to a digital piano
Found this on a Nook HD site and uploaded to my Dropbox and tested it. Installed fine for me. I don't have any use for the app, just tested to see if it installed correctly. If it still fails again, then you need to switch browsers or download on PC and transfer over.[/QUOTE]
Many thanks for your very quick reply.
I have downloaded the file from dropbox to my PC and copied it across to the Nook.
Unfortunately I still get an error message 'There is a problem parsing the package'.
I think it must be me that it doesn't like
Do you have adb set up so you can side load it?
Connect Nook HD to a digital piano
es0tericcha0s said:
Do you have adb set up so you can side load it?
Click to expand...
Click to collapse
I will find this and install.
I'll try the USBHostSwitcher again.
Thanks a lot
MiddleC said:
I will find this and install.
I'll try the USBHostSwitcher again.
Thanks a lot
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2317790
Make sure you have the right drivers installed.
Plug in Nook with USB Debugging enabled
Put USBHostSwitcher.apk into the folder you unzipped with the files for adb.
Open CMD Prompt and change directories to the adb folder
Run:
adb install USBHostSwitcher.apk <enter>
Connect Nook HD to a digital piano
es0tericcha0s said:
http://forum.xda-developers.com/showthread.php?t=2317790
Make sure you have the right drivers installed.
Plug in Nook with USB Debugging enabled
Put USBHostSwitcher.apk into the folder you unzipped with the files for adb.
Open CMD Prompt and change directories to the adb folder
Run:
adb install USBHostSwitcher.apk <enter>
Click to expand...
Click to collapse
Installed Minimal ADB and Fastboot version 1.1.3.
Whilst I can access the Nook from the PC no problem, ADB can't find the device.
Other people seem to have had the same problem - none of the solutions seem to work.
In fact at least one of them caused problems with Windows reporting that there was a problem with the Nook connection.
I have had to restore my PC to a position a couple of days ago to undo the problem.
I have installed Minimal ADB and Fastboot again but it still can't find my device.
Are you running a custom rom like CM or just whatever comes on the Nook?
http://forum.xda-developers.com/showthread.php?t=2336088
This thread has a few different posts with what people had to do to get adb running.

View/Control Android device from PC (without ROOT)

Hi all. What I need is a way to control Android device (s) from PC via Wi-Fi. I found a lot of apps (and Desktop programs) to do it, but I didn't found a way to View OR control the Android device WITHOUT ROOT. I work on the company which asked me to find a way to do this without root with their Android devices. After googling a lot I started to think that where is no way to do this, because either way I need to root them . Is it true or maybe there is somewhere an app which could do this? It doesn't care if it's paid or not.
I have downloaded and tester these apps:
MyMobiler - Doesn't work because when I restart Android device, app doesn't start WiFi, just keyboard mode only. I need that when the app starts it should run itself and start WiFi automatically.
VMLite VNC Server - Don't know why but it didn't worked for me. Just cannot start server from the browser.
Thank you for any responses and appreciate any help.
What error messages do you get from vmlite vnc server? Make sure you enable USB debugging. We have tens of thousands of users using our app, and your device should work.
Well, actually now I tried to launch VMLite VNC one more time and IT WORKED (don't know how, because earlier I tried it and I was unable to enter to VNC Viewer in the Browser). So yeah, in this case it works perfectly now, but I just realized, that I have no way of connected more Android devices. Because what I need to do is to connect multiple Android devices to computer with USB (as I understand it's required for the first time) and when use it with WiFi. For now I see that I only capable of connecting single Android device with desktop program and everytime I want to connect to Android deice from computer, I need to connect it via USB (where is no way to save Android devices to use it any time I want to via WiFi). Or am I wrong? And it is a problem because in my company all Android devices are far away from each other. Anyway, thank your for such an awesome app, I really don't know how it is capable of connecting to my Android device WITHOUT ROOT (because I found like 10 apps, read a lot of forums, and every solution was with ROOTED devices, I am very interseting of the actual app functionality), but thank you.
You can connect to multiple devices using multiple USB cables. There is a drop down list to display devices, and you choose one by one to start the server. Alternatively, you can write some scripts to auto start the vnc servers.
There are quite some testing companies using our app this way to automate regression tests.
Alternatively, you can write some scripts to auto start the vnc servers.
Click to expand...
Click to collapse
Can I get more information about it? Thank you.
Basically you can automate the starting process using adb command:
adb shell "am start -a android.intent.action.MAIN -n com.vmlite.vncserver/.MainActivity"
adb shell /data/data/com.vmlite.vncserver/files/vmlitevncserver
Deimantas007 said:
Can I get more information about it? Thank you.
Click to expand...
Click to collapse
Thank you for this script (it's very cool, I didn't know this kind of stuff before), but it requires USB connection as well.
I googled a few things and found this app - ADB Wireless (no-root) on Google Play Store. Basically it connects ADB via WiFi and I don't need no USB cable and connection with it. But VMLite Android App Controller program on my Desktop doesn't recognize it (it requires USB connection). Can I actually connect Android device with PC with this method or I am missing something and there is no way of doing it with this method? Thank you (I promise, this is the last question from me, no more dumb questions).
I don't think it will work for you. You mentioned your android device will reboot, right?
If your device gets rebooted, you will have to use a USB connection to a PC. the ADB wireless app has same requirement.
Steps to get it working: (from ADB Wireless app page)
1. Enable USB Debugging on your phone.
2. Connect your phone via usb cable to your PC.
3. Run adb tcpip 5555.
4. Run ADB Wireless (no root).
5. Connect to the IP address.
Deimantas007 said:
Thank you for this script (it's very cool, I didn't know this kind of stuff before), but it requires USB connection as well.
I googled a few things and found this app - ADB Wireless (no-root) on Google Play Store. Basically it connects ADB via WiFi and I don't need no USB cable and connection with it. But VMLite Android App Controller program on my Desktop doesn't recognize it (it requires USB connection). Can I actually connect Android device with PC with this method or I am missing something and there is no way of doing it with this method? Thank you (I promise, this is the last question from me, no more dumb questions).
Click to expand...
Click to collapse
huisinro said:
I don't think it will work for you. You mentioned your android device will reboot, right?
If your device gets rebooted, you will have to use a USB connection to a PC. the ADB wireless app has same requirement.
Steps to get it working: (from ADB Wireless app page)
1. Enable USB Debugging on your phone.
2. Connect your phone via usb cable to your PC.
3. Run adb tcpip 5555.
4. Run ADB Wireless (no root).
5. Connect to the IP address.
Click to expand...
Click to collapse
What's right. It needs to connect my phone via USB. But I thought that maybe there is a way to automate this process, I mean maybe there is a solution to TURN DEBUGGING MODE between phone and pc programs via WiFi connection (not USB) and communicate with VMLite VNC Server program on startup. Either way, again, thank you for your software (app). I will say to my boss that we need to stay where we are at the moment. It's just awesome to have an app which doesn't require ROOT.

[Q] Intex CloudFX : Adb not working

Hi Everyone,
I have recently bought the newly launched consumer grade FirefoxOS device Intex CloudFX.
in order to fiddle order with it i tried enabling USB debugging and messing with Adb shell but to my surprise i am not able to see the device is adb devices. I use Adb regularly for android device on both Mac and Linux and they work seemlessly but Firefox Devices dosn't detect it at all. I can see in dmesg that the device is detected. I did manually added entries for the device in udev rules for linux box also.
can anyone suggest what i might be missing.
Note : I have disabled screenlock and i have also enabled ADB plus Devtools in developer section.
anantshri said:
Hi Everyone,
I have recently bought the newly launched cnsumer grade FirefoxOS device Intex CloudFX.
in order to fiddle order with it i tried enableing USB debugging and messing with Adb shell but to my surprise i am not able to see the device is adb devices. I use Adb regularly for android device on both Mac and Linux and they work seemlessly but Firefox Devices dosn't detect it at all. I can see in dmesg that the device is detected. I did manually added entries for the device in uev rules for linux box also.
can anyone suggest what i might be missing.
Note : I have disabled screenlock and i have also enabled ADB plus Devtools in developer section.
Click to expand...
Click to collapse
You would need to jailbreak the device first, I don't think there's any 'official' solution for it yet. Could try ZTE Open jailbreak, but I doubt it will work and you may brick your device.
YemSalat said:
You would need to jailbreak the device first, I don't think there's any 'official' solution for it yet. Could try ZTE Open jailbreak, but I doubt it will work and you may brick your device.
Click to expand...
Click to collapse
Oh i thought atleast ADB would be available for consumer grade devices also.
Let me give rooting exploits a try.
anantshri said:
Oh i thought atleast ADB would be available for consumer grade devices also.
Let me give rooting exploits a try.
Click to expand...
Click to collapse
Any luck?
I couldn't get it work either.
Even ticking the 'Developer Menu' doesn't enable a Developer Menu under Settings.
Do we know how to put any apps on it? (other than the MarketPlace?)
For those who want to give it a try:
SETTINGS -> DEVICE INFORMATION -> More Information -> Developer
I finally got it to work:
I have detailed the procedure here: http://nikunjlahoti.com/2014/09/14/intex-cloud-fx-turn-debugging-on/
I am not sure what's the guideline here. Shall I paste the entire content instead?
After writing this post I found another Mozilla help thread: https://support.mozilla.org/en-US/questions/1018724 which also says the same thing.
Cheers!

Categories

Resources