Is there a way to run adb as host on android without root?


I have an android phone and an android tablet. Both not rooted. I want to use adb as host on the tablet and as client on the phone, using an USB-OTG adapter.

I downloaded connectbot as terminal emulator on the tablet. I also downloaded the ARM binary for adb onto the tablet. However I'm getting the following error when I try to execute the binary:

user@tablet:/storage/sdcard0/download $ ./adb-arm-binary.bin devices
/system/bin/sh: ./adb-arm-binary.bin: can't execute: Permission denied

Is there anyway to get ADB as a host to run on an android 4.4.2 tablet without root?

OR: Is there any way to root said tablet without a PC?

The whole reason I need this is because I need to access dumpsys logs from the phone but I do not have a PC or laptop. A way to get dumpsys logs directly on the phone without root would suffice too, but AFAIK dumpsys is impossible to access for non-system application.


Alright, I got it to work, here is what I did:

1. Rooted the tablet

I was able to use kingroot to root the tablet.

2. Install adb on the tablet

I basically followed these instructions, however the files in the OP there are outdated and not downloadable anymore. So I used a file someone posted much later in that thread, this file seems outdated though, but I'm unsure about that and will open a new question about that.

  1. Downloaded the adb.bin file on the tablet (in /storage/sdcard0/Download)

  2. Downloaded Connectbot from f-droid and setup a local shell connection to the tablet

  3. Ran the following commands (everything after (including) the # is just a comment)

su # gain root priviledges
cd /storage/sdcard0/Download # change working directory to download folder
mount -o remount,rw /system # re-mount /system partition so we can write on it
cp adb.bin /system/bin/adb # copy it to bin folder so it's accessible as a command
chmod 755 /system/bin/adb # make it executable

  1. Rebooted tablet

3. Enjoy adb as host on android!

This worked for me and got me an executable adb running. I still can't connect to my phone but since this is another issue I opened a new question.


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes