Please help me to enable ADB debugging on Chromebook - Chromebooks

Hello
I want to sideload some apk files (that are not available on Playstore) without having to enable Developer Mode.
After turning on Linux and installing ADB via Linux terminal, I don't manage to enable the necessary ADB debugging. The "Develop Android Apps" option is not available in Linux settings and it is grayed out both in Settings and in Android preferences (System/Developer options).
I tried also: chrome://os-settings/crostini/androidAdb and that command does enable the ADB toggle but after the required restart, it says "Something Went Wrong" and ADB debugging remains disabled.
Device details: Dell 3180 Chromebook - Intel processor - ChromeOS 103.0.5060 64 bit - on stable channel - not enterprise enrolled - I own and manage it.
Many thanks in advance for any creative suggestion

Related

[GUIDE] How to connect adb over wifi

Heres how to connect to android wear using adb over wifi, theres still some issues, so ill put it here and if someone has some information please share with us:
On wear:
Go to config -> about -> tap the version umber 7 times (it will enable dev options)
Now go back to config menu
Go to developer options
Enable adb (it will also enable the option adb over bluetooth)
On phone:
Open android wear app
Tap the cog icon
Enable Debug over wifi -> Check that the host will be connected (its the android wear)
Now open cmd (you will need to have adb on your path variable):
adb forward tcp:4444 localabstract:/adb-hub
adb connect localhost:4444 // if this gives an error try replacing localhost with 127.0.0.1
adb -s localhost:4444 tcpip 5555 // if this gives an error try replacing localhost with 127.0.0.1
On phone:
Disable adb over bluetooth
Disable bluetooth
On wear:
Go to config -> developer options -> disable the option auto change wifi state
Go to wifi, connect to your wifi
still on wifi, theres an advanced options, there you can get your ip address
on cmd:
adb connect 192.168.1.3:5555 // replace 192.168.1.3 with your android wear ip
THE PROBLEM:
Android wear keeps desconnecting the wifi for a lot of reasons, some that i know:
It detect bluetooth connection (its an automatic power save feature)
But even if you disconnect from bluetooth, sometimes it keep disconnecting.
THE SOLUTION:
I have found a feature under developer options named: Enable wifi state change. This is enabled by default, so disabling it should prevent the wear from disconnecting from wifi, and it does. But sometimes android wear auto enable this feature, even if you turn it off manually. If someone know something about it, or another way to prevent wifi disconnection, please share with us.
On phone:
Open android wear app
Tap the cog icon
Enable Debug over wifi -> Check that the host will be connected (its the android wear)
==============================
Unfortunately doesn't work on my phone, cannot find the "Debug over wifi" option, only Debug over bluetooth available.
The same here!! How did you proceed?
Do you know if there is any way to figure out the port being used?
sagits2016 said:
adb connect localhost:4444 // if this gives an error try replacing localhost with 127.0.0.1
Click to expand...
Click to collapse
Thank you SO MUCH!! I have been trying to connect my watch for days!

Unable to set up virtual device within AS

Hello,
I'm trying to set up virtualization within Android studio on my Lenovo Ideapad 320 with AMD A12-9720P processor and Windows 10 OS. Whenever I try to start a virtual phone in AS I get the message "Your CPU does not support required features (VT-x or SVM). I have tried and failed to install Intel HAXM from the sdk folder, getting a similar message about virtualization not being implemented. I have turned on virtualization in the BIOS (only AMD virtualization seems to be available) and disabling Hyper-V with "bcedit /set hypervisorlaunchtype off" from an elevated command prompt. Is there any other way to fix this, or can my computer simply not run android studio virtual phones? Thank you for any help provided.

kazuna

https://kazuna.co.jp/verizon_etalk/
i have phone kazuna kaz f019
i am open usb debug
but when i connect to computer
no jump rsa
and i can't use with adb
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
who can help me
thanks
HI can you please say say how you get to Developer options on this device?(eTalk)
Check out https://forums.apps4flip.com/d/331-kazuna-etalk-app-guide-discussion/9. It contains a full guide on how to enable ADB, root, modify the OS plus more

Controle a tablet remotely with ADB

I have a small local network:
• A router not connected to the Internet
• 20 tablets that connect to it
• a computer under linux with LAMP
• a computer under windows with WAMP
When I want to install new apps on the tablets, I have to plug them one by one into a computer and run ADB commands. Would it be possible to execute these commands over WiFi? All tablets are rooted and the network is secure because there is no internet access. So I wouldn't be afraid to use security holes to carry out adb commands over WiFi.
Example of remarkable ADB commands:
• Place files on the tablet: adb push C:/APPLICATIONS/TitaniumBackup/ /sdcard/
• Install several applications: for %f in (C:\ APPLICATIONS\*.Apk) do adb install -t -g -r "%f"
• Start an application: adb shell am start -n com.package.name/com.package.name.ActivityName
•take photos
• activate or deactivate wifi
• Re-boot the tablet: adb reboot
• etc.
I would like to be able to do this on all 20 tablets via the wifi network rather than plugging them one by one into my computer.
Thank you in advance for any ideas you can share with me.
Michael5713 said:
I have a small local network:
• A router not connected to the Internet
• 20 tablets that connect to it
• a computer under linux with LAMP
• a computer under windows with WAMP
When I want to install new apps on the tablets, I have to plug them one by one into a computer and run ADB commands. Would it be possible to execute these commands over WiFi? All tablets are rooted and the network is secure because there is no internet access. So I wouldn't be afraid to use security holes to carry out adb commands over WiFi.
Click to expand...
Click to collapse
Keyword: Wireless ADB. See also here.
Michael5713 said:
I have a small local network:
• A router not connected to the Internet
• 20 tablets that connect to it
• a computer under linux with LAMP
• a computer under windows with WAMP
When I want to install new apps on the tablets, I have to plug them one by one into a computer and run ADB commands. Would it be possible to execute these commands over WiFi? All tablets are rooted and the network is secure because there is no internet access. So I wouldn't be afraid to use security holes to carry out adb commands over WiFi.
Example of remarkable ADB commands:
• Place files on the tablet: adb push C:/APPLICATIONS/TitaniumBackup/ /sdcard/
• Install several applications: for %f in (C:\ APPLICATIONS\*.Apk) do adb install -t -g -r "%f"
• Start an application: adb shell am start -n com.package.name/com.package.name.ActivityName
•take photos
• activate or deactivate wifi
• Re-boot the tablet: adb reboot
• etc.
I would like to be able to do this on all 20 tablets via the wifi network rather than plugging them one by one into my computer.
Thank you in advance for any ideas you can share with me.
Click to expand...
Click to collapse
Yes, android supports ADB over WiFi.
Do a google search for:
"ADB over Wifi"
Sent from my SM-S767VL using Tapatalk
Yes, indeed, the answer was easily found on the web. I asked it because that day I split one big issue into several smaller ones to post requests on your forum. And I never imagined it would be so easy to connect 20 tablets to each other using a local wifi network and adb. The app jwoegerbauer recommended to me is just wonderful. Now I can:
- simultaneously install an application on the 20 tablets from my PC:
FOR /F "skip=1" %x IN ('adb devices') DO start adb -s %x install -r "my-apk.apk"
- uninstall an application on the 20 tablets
- place folders or files I want where I want on all the tablets (they are rooted):
FOR /F "skip=1" %x IN ('adb devices') DO start adb -s %x push C:/my-file/ /sdcard/
- take a file from each tablet or delete it
- even take a screenshot of the tablet I want:
adb -s 192.168.43.122:5555 shell screencap /sdcard/testadb/screen.png
or 20 tablets:
FOR /F "skip=1" %x IN ('adb devices') DO start adb -s %x shell screencap /sdcard/testadb/screen.png
Many thanks to jwoegerbauer for recommending the Wireless ADB application to me.
However, I would like to explore the matter further. The problem I'm looking to solve is to manage a group of tablets without internet and without having to pay an MDM (Android mobile device manager). With ADB, I can install and uninstall applications and send or receive files. Here is what remains to be done:
- I am learning how to remotely change the settings of my 20 tablets. Imagine how tedious it is to turn on the wifi on each of the tablets, then select a network and enter the password. Sometimes I need to turn off wifi or change networks on all tablets. I also have to change the default display or font size. Last week, I've had to set the time and time zone on each one because "network provided time" does not work in a local area network not connected to the Internet. I will tell you which adb formulas I have tested if anyone is interested.
- I also started an other thread on xda-developers: Remotely modify the settings of an android application. Indeed, it takes a plenty of time to manually change the preferences and datas of an application already installed on 20 tablets. If you have any ideas on this, I'd be happy to read your ideas on the forum.
AFAIK USB hubs with 20 ports exist

[EMUI8+][WINDOWS] Introducing the HUAWEI Debloater!

EVEN THOUGH THIS TOOL IS SAFE TO USE, DO THIS AT YOUR OWN RISK, DISABLING SYSTEM APPS CAN CAUSE INSTABILITY. I AM NOT RESPONSIBLE FOR YOUR ACTIONS!
So if you're continuing along, BACKUP ANY DATA IN CASE THIS GOES TERRIBLY WRONG.
INSTALLATION INSTRUCTIONS:
- Download the zip file and extract the folders to the root of your C: drive
- Open the HUAWEIDebloater folder
- Open the debloater batch file.
Once you see a command window, make sure you plug your device in and allow USB debugging in developer options. To enable developer options (if you haven't already):
Go to [Settings] -> [System] -> [About phone] and tap on the build number 7 times. Then go back to [System] -> [Developer Options] and enable USB debugging.
Once debloat is done, you can restart the phone.
If you want to enable and undo the changes, run the Undo Changes batch file.
Once the debloat is done, the device will reboot for good measure.
UPDATE 1.2:
- Fixed some apps not disabling
- User is now required to press a key to restart.
NOTE: If running Windows 10, you may see a popup that says "Windows protected your PC", this is because the batch scripts aren't verified by Microsoft and the OS thinks it's malware. so tap "Run anyway" as it WILL NOT damage your computer.

Categories

Resources