adb must be installed. Put in an executable path...
https://docs.google.com/file/d/0B-PSbqQ ... xLU2M/edit
[EDIT] Apparently Java doesn't have to be installed
in your Puppy computer.... but here it is -->
The easy way is with a SFS file.
jdk-1.6u34-i586.sfs (93.73 MB)
I got mine from THIS SITE
but shinobar has a version available as well
http://www.murga-linux.com/puppy/viewtopic.php?t=61287
______________________________________________
Cheap Chinese-made android devices are being sold inADB: ADB stands for Android Debug Bridge,
and it's a command line tool for your computer that
can communicate with an Android device you've connected
to it. It's part of the Android Software Developers Kit (SDK).
North America 'rootless' i.e. the user is limited
in seeing and manipulating files. The user must be a superuser
to do advanced file manipulation.
Puppy Linux is a good choice to make the Android device 'rooted'Wikipedia wrote:Rooting is a process allowing users of smartphones,
tablets, and other devices running the Android operating system to attain
privileged control (known as "root access") within Android's subsystem.
I'll explain how I did it and some other tips I've learned recently.
The latest 'adb' application is available here. Make sure that
it is executable and placed in an executable path such as /usr/bin/
https://docs.google.com/file/d/0B-PSbqQ ... xLU2M/edit
An explanation of 'adb' is here for reference
http://developer.android.com/tools/help/adb.html
Assume that Puppy computer is running and that user
will type commands into a terminal running in Puppy linux
i.e. Puppy is the 'host'
Synchronize your Puppy computer and Android device using
a special USB cable, (an ordinary cable doesn't work apparently).
Here's how to make your own sync cable
Just plug it in. Very simple
I click on bottom right of Android screen and a popup window
says that debugging is 'connected'. This means that sync cable is recognized and working!! (see picture below)
I am using Android 4.0.4 by the way.
___________________________________________________________
adb allows some simple commands to be executed at the terminal.
adb runs a shell that is similar to bash ---->
With adb installed, launch your terminal and type
Code: Select all
adb shell ls /system/bin
inside of it. These are available to you now. Some of
these apps such as rmdir rm touch ls mkdir
should be familiar to you.
Here's how to find what is mounted to your Android device.
Code: Select all
adb shell ls /mnt
data normally.
As practice lesson try creating an ordinary file in your Android device
Puppy Linux is acting as 'Host'
Code: Select all
adb shell touch /mnt/sdcard/temp_destroy1
and you did it from Puppy!!
'push' and 'pull' of a file is possible. It's equivalent to copying a file.
Here's how....Using Rox filer create a file named temp_destroy2 in /root
Now copy it with the command...
Code: Select all
adb push /root/temp_destroy2 /mnt/sdcard/temp_destroy3
to the sdcard of my Android device
Again check to see if the copy has occurred.
______________________________________________
Now you will root your Android device , assuming that
it's not currently.
The software is available HERE
Instructions:
1) open the downloaded archive and place 3 files
Superuser.apk , busybox and su in /root
2) launch terminal
3) type in terminal the following lines....
Code: Select all
adb push Superuser.apk /system/app
adb push busybox /system/xbin
adb push su /system/xbin
adb shell chmod 664 /system/app/Superuser.apk
adb shell chmod 664 /system/xbin/busybox
adb shell chmod 664 /system/xbin/su
adb shell reboot
Your Puppy computer doesn't reboot.
Your Android device will now have an application icon to launch in
superuser mode. This is called 'Rooting the Android device'
____________________________________________________
Here's another tip:
Getting the evb.bin file ..... Got this from Barry Kauler Blog
http://bkhome.org/blog/?viewDetailed=02823
You can extract your device's script.bin while Android is running like this:
Code: Select all
adb shell mkdir /mnt/nanda
adb shell mount -t vfat /dev/block/nanda /mnt/nanda
adb pull /mnt/nanda/script.bin evb.bin
script.bin is sort of a hardware config file for Allwinner A10 devices, it sets
things like default output device, screen size, memory info, etc.
_____________________________________________