Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 20 Apr 2014, 12:52
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to root Android device using ADB
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [38 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 3078
Location: Ontario

PostPosted: Mon 12 Nov 2012, 14:17    Post subject:  

Nexus 7 tablet calls it's sync cable an OTG cable

http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Delectronics&field-keywords=OTG+cable

I wonder if there is any real differences between the cables??

The website I refered to above said that most tablets now
use an OTG cable and here's how it's made ---> Grounding of two terminals



________________________________________
Back to top
View user's profile Send private message 
Plume

Joined: 12 May 2008
Posts: 34

PostPosted: Sat 24 Nov 2012, 06:17    Post subject:  

I said previously that adb failed to detect my android device. This was from Puppy 5.2.5 (Lucid Puppy).
From Puppy 5.4.1, adb succeeds to detect my phone. This is obtained with a standard USB cable and with a pristine Puppy, so without java I guess. Fine!

However, /system is always mounted read-only.
Code:
./adb shell /data/local/tmp/busybox mount -o remount,rw /system
says I can't do this because I'm not root (I'm root on Puppy but not on the phone).

Does somebody know how to deal with this on android 2.3.6? I suppose the problem is related to the android version rather than the hardware by itself.

Thank's
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3078
Location: Ontario

PostPosted: Tue 27 Nov 2012, 18:18    Post subject:  

Quote:
Does somebody know how to deal with this on android 2.3.6?


Yes the Android version is important!!

I checked if Java or the Jave development kit (JDK) is needed.

It looks like they aren't needed. Just installing adb application
was good enough.

By the way you should put adb in an executable path so you can
use just 'adb' in the terminal rather than './adb'

Here is the output of my terminal program

Code:

# adb shell ls /mnt
asec
extsd
obb
sdcard
secure
usbhost1



# adb shell ls /
acct
cache
config
d
data
default.prop
dev
etc
init
init.goldfish.rc
init.rc
init.sun5i.rc
init.sun5i.usb.rc
initlogo.rle
mnt
oem
proc
root
sbin
sdcard
sys
system
ueventd.goldfish.rc
ueventd.rc
ueventd.sun5i.rc
vendor


 # adb shell ls /etc/
3g_dongle.cfg
NOTICE.html.gz
apns-conf.xml
audio_effects.conf
bluetooth
camera.cfg
camera_back.cfg
camera_dou.cfg
dbus.conf
dhcpcd
event-log-tags
fallback_fonts.xml
gps
gps.conf
hosts
init.goldfish.sh
media_profiles.xml
mkshrc
permissions
ppp
security
system_fonts.xml
usb_modeswitch.d
usb_modeswitch.sh
vold.fstab
wifi
 


Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Sat 22 Dec 2012, 17:46    Post subject:  

Hi don570

A little OT (I did mangae to root my 'droid though Wink )

There is a really cool app for accessing droids through any capable web browser. airdroid. Just requires your droid is on the same LAN. It works great in Puppy. Just be aware though that it is still in beta, some features hang, requiring a logout, login. Not a big deal.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Wed 26 Dec 2012, 05:00    Post subject:  

Would this also work on a SonyEricson smartphone?
I don't have tablet only Smartphone and
what about a Huawei smartphone?

Could my android be too old though? I have not tested
B/C I am too afraid to brick them Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Plume

Joined: 12 May 2008
Posts: 34

PostPosted: Sat 29 Dec 2012, 12:13    Post subject:  

@nooby
Airdroid works fine with my Huawei smartphone (Honour, Android 2.3.6).
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Sat 29 Dec 2012, 12:21    Post subject:  

Thanks plume
http://www.airdroid.com/

they say

Transfer files to and from your device via web browser.
Wireless operation via WiFi connection.

That would allow us to bring over a file that can root it then hopefully?
Looks promising indeed.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Plume

Joined: 12 May 2008
Posts: 34

PostPosted: Sat 29 Dec 2012, 15:39    Post subject:  

We can do a lot of things with Airdroid, such:
- look at our photos,
- listen to our music,
- look at our contacts or add new contacts,
- look at the call log,
- look at our messages or send new ones,
- browse the files on the smartphone, download them or upload other files from the PC.
But I'm not able to upload files in "System" and I'm afraid Airdroid can't help rooting the device if this was your idea.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3078
Location: Ontario

PostPosted: Sat 29 Dec 2012, 17:37    Post subject:  

I had my second nasty black screen incident with
my Android device. I now see why people complaing that
Android isn't as stable as Linux.

Cause: installing latest version of FBReader from external SDcard ???

Fix: remove external SD card . This allowed booting to proceed.

Then I went thru rooting procedure as described on first page.

I put back external SD card and everything is fine.

____________________________________________________

I discovered that Superuser.apk is confusing to use
because it is actually a commercial program. The writer
is trying to sell a different program named 'Elite'. This confuses
the interface greatly


http://androidsu.com/elite/




___________________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3078
Location: Ontario

PostPosted: Mon 31 Dec 2012, 12:43    Post subject:  

Here are instructions to use the Superuser apk with ES File Explorer.

First launch 'ES File Explorer' and look under 'Settings'
Make sure 'Up to root' is ticked.




Next launch Superuser app (It has an icon). Somehow??? it
knows that 'ES File Explorer' is installed and can be given root access.



Note: screenshots were taken using this method


_______________________________________________________
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Tue 01 Jan 2013, 06:13    Post subject:  

Don thanks for that one and for the drawings of the OTG cable.
_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3078
Location: Ontario

PostPosted: Wed 02 Jan 2013, 15:16    Post subject:  

The newest version of ES File Explorer (es_file_explorer_v1.6.2.4.apk)
that came out before Christmas has fixed a bug with 'Root Explorer'.

Under 'Settings' there is 'Root Settings' which allows 'Root Explorer'
which works now for me. Android version 4.04

_____________________________________________________
Back to top
View user's profile Send private message 
esrom02

Joined: 31 May 2011
Posts: 8

PostPosted: Sun 31 Mar 2013, 11:22    Post subject: Help?  

First of all sorry for replying in this old thread.

My problem is whenever I try to use adb command, It says permission denied? How can I fix it? Thank you.. And do I need particular drivers for my phone? so puppy will recognize my phone?
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2052
Location: Heart of Texas

PostPosted: Sun 31 Mar 2013, 14:05    Post subject:  

thanks any other android package that do not requre google shop setup.

really need a flash player ...
Back to top
View user's profile Send private message 
esrom02

Joined: 31 May 2011
Posts: 8

PostPosted: Sun 31 Mar 2013, 23:49    Post subject: Problem Fix !  

My bad for not making it executable..

Now my problem is whenever I push the files, it prints permission not permitted.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [38 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0837s ][ Queries: 13 (0.0177s) ][ GZIP on ]