yucemahmut / android-on-freerunner

Automatically exported from code.google.com/p/android-on-freerunner
0 stars 0 forks source link

Busybox in Android install #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I would like an automatic installation of busybox when I install Android on
my Freerunner.

My problem is that I don't know where put the busybox file (bin) in the
android source and what script I must modify to integrate the bin busybox
in the images resulting of a compilation and to install busybox
automatically when Android installs on the freerunner via sdcard.

Someone has a solution or an idea to resolve my problem, please ?

Thank, nico

PS : Sorry about my bad english, but i'm not a english citizen

Original issue reported on code.google.com by nicolas....@gmail.com on 19 Feb 2010 at 9:40

GoogleCodeExporter commented 9 years ago
This is (a part of) what I execute every time I reinstall Cupcake :

./adb push busybox /data/local/system/bin/busybox
./adb shell ln -s /data/local/system/bin/busybox /data/local/system/bin/date
./adb shell ln -s /data/local/system/bin/busybox /data/local/system/bin/hwclock
./adb shell chmod 755 /data/local/system/bin/busybox
./adb shell /data/local/system/bin/date -s $(date +"%Y-%m-%d-%H:%M:%S")
./adb shell /data/local/system/bin/hwclock -w

As you can see, I upload busybox to /data/local/system/bin/ and create symbolic 
links
there (and after that I set the date of the Freerunner to the date on my main 
machine...)
It works well for me, as this directory is in the PATH.

Original comment by kewlcat...@gmail.com on 19 Feb 2010 at 10:53

GoogleCodeExporter commented 9 years ago
there is a page in the wiki where you can find how to install busybox (page 
'Use It' 
on the wiki)

Original comment by baxterp...@gmail.com on 19 Feb 2010 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by scarhill on 25 Apr 2010 at 12:59