HOWTO: Access ADB Shell from inside Maru

117 views
Skip to first unread message

Karsten Kinder

unread,
Jun 21, 2016, 5:23:27 AM6/21/16
to maru-...@googlegroups.com
Hi Guys,

I hope this the right place to store a small "trivial" HOWTO:

This HowTo will show access to adb from the Linux Desktop on MaruOS

Needed
* Terminal App on Android
* superSU ;-)

On Android Side:

Open the Terminal App and give yourself superuser rights

su

Configure the adb service

setprop service.adb.tcp.port 5555
stop adbd
start adbd

On the Linux Desktop install adb

aptitude install android-tools-adb

Then connect to the adb deamon on android side

adb connect localhost:5555
adb shell


Thats it - now you have an adb shell from inside the Linux Desktop

To automate this you can install Gscript - add a new script with the contents above.
On Linux side create a small script and place it on the desktop.





 

oao1...@gmail.com

unread,
Jun 22, 2016, 11:18:51 AM6/22/16
to Maru OS dev
Thanks for sharing it :)

Preetam

unread,
Jun 22, 2016, 8:06:57 PM6/22/16
to Maru OS dev
Wow, awesome, thanks for sharing Chewy! I didn't know how to do this either--this is super useful during development. Surprised it's fairly easy to get this working.
Reply all
Reply to author
Forward
0 new messages