[Q] Multiple busybox binaries... What to do? - Vibrant Q&A, Help & Troubleshooting

I'm running Axura 2.3.1.2 + OverStock-T959-v2_2_1 (for tun.ko driver, not for overclocking). In my adventures of setting up OpenVPN on this device, I found I have two versions of busybox... one of which is available two places.
/voodoo/root/bin/busybox (which is the same as /bin/busybox):
-rwxr-xr-x 1 1000 1000 160423 Mar 6 22:41 /voodoo/root/bin/busybox
27a8e4fe087e2f0e663c542452d72dda /voodoo/root/bin/busybox
and
/system/bin/busybox (installed via BusyBox App):
-rwxr-xr-x 300 0 0 1994516 Apr 4 21:31 /system/bin/busybox
d7fa0d0b8b0603ea26fea540a5ca4358 /system/bin/busybox
Of course, the one in /voodoo is first in the default path, because it shows up in as /bin/busybox. (bind mounted or something?)
But the one I installed via the app in /system/bin/busybox is the more capable version, with all the bells and whistles I need.
Can I replace the one in /voodoo with the (much) larger, more capable one without trouble?

Related

[ROM] [RELEASED MAR28] BB.MODROM-se21-016-bbmod-v1

thanks to those that contributed to the x10 before me;
zdzihu, androxyde, bin4ry, rendeiro2005, jerpelea @xda
and to j_r0dd @m3 for producing great modroms to try to emulate.
--
SCREENSHOTS OF NEW V3 THEME ADDON;
--
NEW THEME UPDATE, V3, FLASH AFTER ROM INSTALL+FIRST BOOT:
Code:
http://www.multiupload.com/U0ULDNB4VX
ROM DOWNLOAD:
Code:
http://www.multiupload.com/M27R828R5V
--
requirements: guaranteed to work with 58 baseband. probably works w/ 54/55 basebands.
--
screenshot;
--
rom made for my own personal use based off the latest se21rom 016 firmware for poland;
1.removed polish customizations and programs
2.slimmed down the original install from 150mb to 100mb
removed; excess sounds, wallpapers
3.improved boot time and bootanimation (by removing it)
4.removed the excessive asian keyboard inputs (20+mb)
5.installed standard improvements from flashtool;
prerooted, has busybox 1.17.2, optimized( w/ zdzihu's jit enabledv2)
new FreeXperia from J's CM7rc2
6.installed cyanogen's apn list that works great from first boot
7.choose 3rd party everyday apps to prepackage;
Android System Info - Great app for all rom details
AnReboot - reboot app
Any Cut - great for specific shortcuts to (hidden)program activities
Barnacle Wifi Tether - wifi tethering
Free Advanced Task Manager - comprehensive task manager (don't micromanage tasks)
Ghost Commander - free root file manager (press 'menu',location,change location,root:///,tap and wait. there is also a free samba/fileshare plugin browser on the market)
Google Voice - v30413 for free unlimited outbound calling w/ friends and family.
Linpack for Android - to test your rom speed out of the box
MarketAccess - to change your market location when your provider has blocked an app
OI File Manager - for simple sdcard file management when you don't want to use ghost commander.
QuickPic - free gallery alternative to sony's. sony's to be removed in future.
Rom Gripper - great game console emulator for less than 500k. front end rom downloads and emulators.
Terminal Emulator - terminal prompt for hand hacking.
Titanium Backup - for those that manage their files, inspect mine, and clean their roms.
Wifi Analyzer - for a great visual representation of wifi signals
Wifi Connector Library - connector access for wifi analyzer.
XPERIA Flashlight - the best x10 flashlight widget
Zeam - *my favorite* launcher. fullscreen, gestures, clean dock.
Zedge - great source for wallpapers and ringtones.
Please post general app questions in seperate questions or PM me.
8.chose a theme import for inclusion. my present htc sense theme import as no xml changes are required; no instability introduced from recompiling. please post themeing related responses in my theme threads.
--
rom notes;
themed:
/system/framework/framework-res.apk
/system/app/Conversations.apk
added:
/system/bin/charger - freexperia recovery
/system/recovery/model - freexperia recovery
/system/recovery/recovery.tar.bz2 - freexperia recovery
/system/recovery/sh - freexperia recovery
updated:
/system/build.prop - optimized
/system/bin/busybox - 1.17.2
/system/bin/chargemon - freexperia recovery
/system/bin/dalvikbm - zdzihu's jitv2
/system/bin/dexopt - zdzihu's jitv2
/system/bin/logcat -zdzihu's jitv2
/sysem/etc/apns-conf.xml - updated cm apn list
/system/etc/hosts - updated w current adblock file from adfree
/system/etc/vold.conf - removed like 4 mounts for cdrom and pnp media access, standard usb and sdcard mount work fine
/system/etc/customization...customer-settings - bookmarks; m3, xda, fark
/system/bin/libcutils.so - zdzihu's jitv2
/system/bin/libdl.so - zdzihu's jitv2
/system/bin/libdvm.so - zdzihu's jitv2
/system/bin/liblog.so - zdzihu's jitv2
/system/bin/libm.so - zdzihu's jitv2
/system/bin/libnativehelper.so - zdzihu's jitv2
/system/bin/libz.so - zdzihu's jitv2
file removal list
/system/app/AXN.apk
/system/app/backupandrestore.apk
/system/app/chinesetextinput.apk
/system/app/creatouch-wvga.apk
/system/app/facebook.apk
/system/app/JapaneseIME.apk
/system/app/moxiermail.apk
/system/app/NaviExpert.apk
/system/app/neoreader.apk
/system/app/officesuite.apk
/system/app/playnowappinstaller.apk
/system/app/playnowback.apk
/system/app/playnowclient.apk
/system/app/quadrapop.apk
/system/app/SEMCTouchPalKoreanQWERTY.apk
/system/app/StatusSwitch.apk
/system/app/textinput-tng.apk
/system/app/touchnote.apk
/system/app/trackid.apk
/system/app/usersupport.apk
/system/app/wisepilot.apk
/system/bin/*dead symlinks and duped executables from symlinks
/system/etc/dop.iso - the onboard cdrom/sony software suite
/system/etc/customization/content/com/sonyericsson - removed preloaded wallpapers, loaded my htc background, removed r2r data as should be unnecessary with updated apn list.
/system/etc/customization/settings - removed most settings, updated others
/system/lib/libtouchpalse.so - for the keyboard i removed
/system/media/bootanimation.zip - the internal android one is better and quicker
/system/media - all audio except for defaults
/system/usr/keychars/qwerty.kcm.bin - symlink dupe
--
this will be a continually updated rom as sony continues to produce 2.1 updates for the x10i/x10a. this is the rom i use as a fallback between theme and rom flashes.
--
please, if you derive your roms, mods or themes from something i've done (well enough to borrow from) or you just like what i did for your phone, please hit the thanks button for this post. maybe drop my name in your own works thread. thanks.
--
flashtool for update your firmware to the latest 016 w/ 58 baseband by androxyde & bin4ry @xda;
[TOOL] [UPDATE 22/03/2011] Flashtool BETA version 0.2.9.1 - xda-developers
firmware x10i 2.1.1.a.0.16 firmware provided by arkedk @xda
[Firmware] X10i 2.1.1.A.0.16 for FlashTool - xda-developers
my htc sense theme thread, for any additional details;
http://forum.xda-developers.com/showthread.php?p=12175001#post12175001
general software setup recommendations:
Zeam Launcher; please choose this for your default launcher. i haven't removed the blue from the sony launcher yet, and this launcher compliments the htc theme rather well. Additional, it can be very cm like in gesture function. here's my recommended settings;
preferences;general;fullscreen(yes), sensor rotation(yet)
preferences;action bindings; swipe up(open applications), swipe down(expand notifications),home button(open dialer),double tap(toggle fullscreen)
for my screenshot, i have sony's "power control" widget on the desktop, along w/ the sony "digital clock", and the telemarks xperia flashlight widget from market.
also, the x10 has a secret 2g/3g menu not called by market widgets;
open your apps menu, select "Any Cut", "New Shortcut", and select the FIRST instance of "GSM/UMTS Options". This will give you a user friendly menu that explains and allows the toggle of 2g/3g, as well as a convenient network selection for initiating r2r for apn settings.
note; apn settings should not be an issue as i included the latest cyanogen apn list to remove the need for r2r and apn configuration.
ewwww 2.1
jk looks good but since 2.2 roms are pretty much complete, I'll never go back! You can't make me!!!!!
Looks good!!!
Like the choice of apps you use too, very well done!!!
Best regards,
Chris
install script thread jack
i'm gonna take a moment to threadjack my rom thread, so i don't get the subject moderated out of developement, and because the subject held up the rom release for a week.
the present state of se21 modrom install scripts is the pits. here's mine so you can see and discuss anything i did correctly FOR THIS ROM (on topic);
update-script
Code:
#
# Generated by dsixda's HTC Android Kitchen
# xda-developers.com
# modified by bestialbub for x10 se21 roms
#
show_progress 0.1 0
format SYSTEM:
delete SYSTEM:xbin/busybox
delete_recursive SYSTEM:xbin
format DATA:
delete DATA:local
run_program PACKAGE:check_data_app
copy_dir PACKAGE:data DATA:
set_perm 2000 2000 0771 DATA:local
set_perm_recursive 1000 1000 0771 0644 DATA:app
format CACHE:
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez
set_perm 0 3003 2755 SYSTEM:bin/netcfg
set_perm 0 3004 2755 SYSTEM:bin/ping
set_perm 0 0 0755 SYSTEM:etc/bluez
set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf
set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks
set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh
set_perm 0 0 06755 SYSTEM:bin/su
set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp
set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm 0 0 4755 SYSTEM:bin/busybox
set_perm 0 0 4755 SYSTEM:bin/charger
set_perm 0 0 4755 SYSTEM:bin/chargemon
set_perm 0 0 4755 SYSTEM:recovery/sh
set_perm 0 0 0444 SYSTEM:recovery/recovery.tar.bz2
symlink dumpstate SYSTEM:bin/dumpcrash
symlink es209ra_keypad.kcm.bin SYSTEM:usr/keychars/qwerty.kcm.bin
symlink toolbox SYSTEM:bin/cat
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/reboot
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/wipe
run_program PACKAGE:fix_permissions
show_progress 0.1 10
show_progress 0.2 0
show_progress 0.2 10
run_program PACKAGE:installbusybox
it would seem every example i looked at neglected to correctly remove dead links, make appropriate symlinks or get all the appropriate file permissions.
prior to this project, i knew little of linux file permissions, but i systematically went thru ALMOST every folder in adb shell and "ls -l" for all file group/user id's, and performed "stat -c %a,%U,%G,%t,%n *" to obtain all the octal permissions. some folks missed alot.
i think you can pick out the 49 toolbox symlinks, the 1 symlink for dumpstate/dumpcrash and the symlink for es209ra_keypad.kcm.bin /qwerty.kcm.bin.
i might also note that when /system/bin/su is installed by flashtool its given a octal permission of 4755 that seems to work during live install, but i learned from zdzihu's script that 6755 is required for prerooting.
alot of folks copied that same script and had missed some importing /system/bin permissions/groups such as ping and netcfg that rendered some wireless/data apps unusable (speedtest being an example).
also, folks need to look closer at the /etc/customization folders, or just remove the files entirely as these may likely explain why you have sms/mms messaging problems, as some of these roms has customized settings regulating how communication is done, if its allowed at all.
oh, and
installbusybox
Code:
#!/system/bin/sh
cd /system/bin
./busybox --install -s /system/bin
..I didn't use a kitchen for this rom. Just borrowed the same script everyone else used from one.
Today I couln't resist to update when pc companion informed me that there is an update for my phone, afterwards I was surprised to see a lot of polish programs installed, I was wondering how the hell am I going to remove all these and then I found your rom, a very nice one, stripped of all unnecessary stuff and with a detailed explanation of additional installed programs. Thank you very much.
Sent from my X10i using XDA Premium App
I've just downloaded and is installing your rom.
Hope it is good for me. I will report my experience of using this rom asap.
Thank you for your work.
There are still many stock apps in this rom. Initially, battery drained faster than usual. It became normal again after Timescape had been uninstalled.
This rom is now amazing, especially it's the first time I use the Barnacle app.
Thank you again.
PS. I had disconnection problem during using Barnacle. I have to kill the app by task killer and restart it again. Any config recommended?
@degaswong; barnacle works great for me on the x10 w any rom. the newest one i provided autodetects when you start it w wpa supplicant enabled and prompts to disable, making it easier to use than before because you dont have to configure anything. just run it twice the first time, have your wifi off on the phone, AND DONT DOWNLOAD WIFI TETHER FOR ANDROID. ive seen this app cause issues like your wifi id always being broadcasted like it was on, especially when together on a phone w barnacle.
i did choose to leave the rom as intact w the stock apps, as this is my first release and i dont want to start off w removing apps that are called from the framework and introducing instability to gain performance.
im going to look at more thurough creative ways to remove the apps, and if possible, where theyre called from in the framework for a more stable clean rom.
look in my rom thread for more roms in the future; full unthemed, this one, and maybe an experimental lite one similar to what youve seen elsewhere.
i can tell you the modrom i fixed for rendeiro has a higher linpack score teetering between 33 and 34k as he's done more cleanup to his rom than im comfortable w releasing yet.
Sent from my X10i using XDA App
[QUOTE/] i did choose to leave the rom as intact w the stock apps, as this is my first release and i dont want to start off w removing apps that are called from the framework and introducing instability to gain performance.
im going to look at more thurough creative ways to remove the apps, and if possible, where theyre called from in the framework for a more stable clean rom.
[/QUOTE]
Look forward to this rom. Thanks and regards. Currently I am using your rom and find it perfect.
Sent from my X10i using XDA Premium App
It's good to see someone taking the effort to evaluate the shortcomings of most SE rom's and improve stability, enhance performance and localize. If only this was Froyo or Gingerbread it would be perfection fm as I require Adobe Flash Player support.
Any plans for either in the future?
Best regards,
MH
yeah, i'll be doing the same thing for the freex10/froyo rom shortly. my free times just shorter than i need for the number of devices and projects i've been trying to commit myself too, after work and family.
hopin' to fix up the freex10 install the same way i did for the custom sony se21roms, then work on porting in the greenglow theme. been mentioning it a bit, but the htc sense theme has been a lil' demanding and i've been helpin' out folks w/ a7 tabs too.
check my stats out in a week for new thread.
bumped for screenshot and theme update.

[Q] apks from marketplace folder location

Hi, I am using tnt 4.4.0 on my g tablet and I see the system/apps directory with loads of apk's that came packaged with the tnt rom.
My question or issue is this.
When I download an app from the marketplace I can't seem to figure out where it goes.
Using file expert v3.1.0 I searched all over and still no luck.. using this same app I can make backups of my apps by clicking the apps tab and long clicking an app and selecting backup but I would assume the original Zip or APK that I downloaded is on my device somewhere?
Or is it just unzipping from the market and I then have to zip them into a new file with an apk extension?
Innerchaos said:
My question or issue is this.
When I download an app from the marketplace I can't seem to figure out where it goes.
Click to expand...
Click to collapse
To answer this part of your question:
Downloaded apps are either in /data/app or /mnt/asec (this, after much filesystem path-manipulation magic post system boot) for apps moved to SD card:
Code:
$ su
# find /data/ -name *.apk
/data/app/com.google.android.street-1.apk
/data/app/com.google.android.youtube-1.apk
/data/app/com.android.vending-2.apk
/data/app/com.curvefish.widgets.wifionoff.donate-1.apk
/data/app/com.jasoncalhoun.android.systeminfowidget-1.apk
/data/app/com.facebook.katana-1.apk
/data/app/com.dataviz.docstogoapp-1.apk
/data/app/org.zooper.acw-1.apk
/data/app/jackpal.androidterm-1.apk
/data/app/com.curvefish.apps.appremover-1.apk
/data/app/com.curvefish.widgets.bluetoothonoff-1.apk
/data/app/com.noshufou.android.su-1.apk
/data/app/org.adwfreak.launcher-1.apk
#
# find /mnt/asec/ -name *.apk
/mnt/asec/com.rovio.angrybirdsrio-2/pkg.apk
/mnt/asec/com.google.android.apps.maps-2/pkg.apk
/mnt/asec/com.alensw.PicFolder-1/pkg.apk
/mnt/asec/com.farproc.wifi.analyzer-2/pkg.apk
/mnt/asec/com.redirectin.rockplayer.android.unified-2/pkg.apk
/mnt/asec/com.speedsoftware.rootexplorer-2/pkg.apk
/mnt/asec/com.google.android.voicesearch-1/pkg.apk
/mnt/asec/com.dataviz.docstogo-2/pkg.apk
/mnt/asec/net.androidcomics.acv-1/pkg.apk
/mnt/asec/com.rovio.angrybirdsseasons-1/pkg.apk
/mnt/asec/com.seesmic-1/pkg.apk
/mnt/asec/com.rovio.angrybirds-1/pkg.apk
/mnt/asec/com.adobe.flashplayer-1/pkg.apk
/mnt/asec/com.google.android.gm-1/pkg.apk
/mnt/asec/com.google.android.stardroid-1/pkg.apk
As to your other questions, I don't have definitive answers, but, looking inside those 2 directories (/data, and, /mnt/sdcard after you've unmount it) might prove instructive.
My mnt/asec directory is empty as well
Innerchaos said:
My mnt/asec directory is empty as well
Click to expand...
Click to collapse
Did you run the find command as root? (Or, have root permissions when you looked inside /mnt/asec?)
/mnt/asec might also be empty simply because you haven't moved any apps to the SD card.
The actual .apk files are in /mnt/sdcard/.android_secure/, but with a .asec extension instead of .apk. You'll have to unmount /mnt/sdcard in Settings > Storage first, then mount it again manually for you to see the files in that directory:
Code:
$ su
# mount -r -t vfat /dev/block/mmcblk3p1 /mnt/sdcard
# ls -l /mnt/sdcard/.android_secure/
total 124216
-rwxr-xr-x 1 root root 13870592 Jun 8 23:17 com.adobe.flashplayer-2.asec
-rwxr-xr-x 1 root root 2161664 May 30 03:37 com.alensw.PicFolder-1.asec
-rwxr-xr-x 1 root root 7483904 May 20 08:44 com.dataviz.docstogo-2.asec
-rwxr-xr-x 1 root root 2161664 Jun 3 03:24 com.farproc.wifi.analyzer-2.asec
-rwxr-xr-x 1 root root 8548352 May 26 22:18 com.google.android.apps.maps-2.asec
-rwxr-xr-x 1 root root 4290560 May 17 10:22 com.google.android.gm-1.asec
-rwxr-xr-x 1 root root 4290560 May 17 10:21 com.google.android.stardroid-1.asec
-rwxr-xr-x 1 root root 4290560 May 17 10:22 com.google.android.voicesearch-1.asec
-rwxr-xr-x 1 root root 9612800 May 17 10:22 com.redirectin.rockplayer.android.unified-2.asec
-rwxr-xr-x 1 root root 21321728 May 17 10:21 com.rovio.angrybirds-1.asec
-rwxr-xr-x 1 root root 19192832 May 19 19:58 com.rovio.angrybirdsrio-2.asec
-rwxr-xr-x 1 root root 22386176 May 17 10:21 com.rovio.angrybirdsseasons-1.asec
-rwxr-xr-x 1 root root 3226112 May 17 10:22 com.seesmic-1.asec
-rwxr-xr-x 1 root root 2161664 May 24 20:11 com.speedsoftware.rootexplorer-2.asec
-rwxr-xr-x 1 root root 2161664 May 28 16:03 net.androidcomics.acv-1.asec
#
# umount /mnt/sdcard
You won't see those files when the SD card is mounted normally by Android. Then, the /mnt/sdcard/.android_secure directory will appear to be empty.
You might also have to use /dev/block/mmcblk2p1 instead of /dev/block/mmcblk3p1 in the mount command above, if you run a Gingerbread-based ROM.

[Q] tun/tap driver on gsb 3.7

since i only have 1 post, can anyone tell me how to get the tuntap driver to load on gsb 3.7? im trying to use the cisco anyconnect for rooted devices, but it appears that cm7 doesn't have the tun/tap driver installed correctly. i was able to download a tun.ko and put it in /system/lib/modules, but it won't execute with insmod (Exec format error).
Can you post the exact steps you followed, adb commands used, and any reference materials you used?
The first question I had after reading your post was I wondered if you changed permissions after loading the new file to /system.
Good Luck,
i was trying to get the cicso anyconnect for rooted devices to work, so i followed the following thread:
http://forum.xda-developers.com/showthread.php?t=1164088
i got it copied by remounting the /system mount to rw, then copied the tun.ko file to /system/lib/modules
after that, i did chmod 644 to match the other module in there (wlan.ko) and they are both owned by root.
drwxr-xr-x 1 root root 2048 Jul 10 16:38 .
drwxr-xr-x 1 root root 2048 Jul 10 16:38 ..
drwxr-xr-x 1 root root 2048 Jul 10 16:38 2.6.29-DecaFuctCFS-dirty-9ff84b92
-rw-r--r-- 1 root root 213388 Jul 14 08:28 tun.ko
-rw-r--r-- 1 root root 620128 Aug 1 2008 wlan.ko
then,
insmod /system/lib/modules/tun.ko
insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system
once done
mount -o ro,remount -t yaffs2 /dev/block/mtdblock1 /system
will mount the /system partition back to read only.
Click to expand...
Click to collapse
did this to mount /system as read/write.
What tun.ko module are you trying to use? Try the tun.ko from inside the attached zip which was compiled for Conap's kernel.
Edit: removed attached zip as it doesn't work either
from the app description:
COMPATIBLE DEVICES:
This release supports rooted Android 2.1+ devices. A compatiable tun.ko module is required, which should be placed in /data/local/kernel_modules/ if the tun module is not built into the kernel. The iptables binary is also required.
For those without root access, a fully supported production AnyConnect for a set of Samsung platforms is available as a separate download from the Android Market.
We cannot guarantee compatibility, but look forward to your feedback.
Click to expand...
Click to collapse
i'll try this too. i suppose it would have helped to read the entire app description.
\EDIT: nevermind, that folder doesn't even exist on gsb 3.7
sirblacknite said:
from the app description:
This release supports rooted Android 2.1+ devices. A compatiable tun.ko module is required, which should be placed in /data/local/kernel_modules/ if the tun module is not built into the kernel. The iptables binary is also required.
Click to expand...
Click to collapse
i'll try this too. i suppose it would have helped to read the entire app description.
\EDIT: nevermind, that folder doesn't even exist on gsb 3.7
Click to expand...
Click to collapse
Not sure if it will help but you could create the /data/local/kernel_modules directory and either place tun.ko there or symlink /system/lib/modules that contains tun.ko to the kernel_modules directory. Using adb shell or terminal emulator:
Code:
su
mkdir /data/local/kernel_modules
ln -s /system/lib/modules /data/local/kernel_modules
iptables support is included in the ROM but if you want to try providing the binary in the directory they specify, you can copy it from /system/bin
didnt' seem to make a difference. i copied the tun.ko from the zip you posted (for conaps kernel) to /system/lib/modules and it still gives the error.
# ls -al /system/lib/modules
ls -al /system/lib/modules
drwxr-xr-x 1 root root 2048 Jul 18 09:09 .
drwxr-xr-x 1 root root 2048 Jul 10 16:38 ..
drwxr-xr-x 1 root root 2048 Jul 10 16:38 2.6.29-DecaFuctCFS-dirty-9ff84b92
-rw-r--r-- 1 root root 160908 Jul 18 09:09 tun.ko
-rw-r--r-- 1 root root 620128 Aug 1 2008 wlan.ko
# insmod /system/lib/modules/tun.ko
insmod /system/lib/modules/tun.ko
insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)
Click to expand...
Click to collapse
I get the same error when trying to insert it on my Eris running Evervolv Build 4. Or do I need a different tun.ko for that? Thanks.
sirblacknite said:
didnt' seem to make a difference. i copied the tun.ko from the zip you posted (for conaps kernel) to /system/lib/modules and it still gives the error.
Click to expand...
Click to collapse
snortman said:
I get the same error when trying to insert it on my Eris running Evervolv Build 4. Or do I need a different tun.ko for that? Thanks.
Click to expand...
Click to collapse
I've tried three different tun.ko modules but none seem to work. I pulled one from GSB 2.3 when workshed included a version to see if it would work, I also tried the one I posted that was from Conap's DecafuctCFSv9 kernel, and another that is in Evervolv(I assume it's a HeroC version).
Not sure if anyone ever found/compiled a tun.ko that worked for the gingerbread roms. It could be that one hasn't been built for the unreleased version of Conap's kernel that is used on all of these roms. I might try to figure out how to compile conap's kernel from his source with the tun.ko module getting built as well.
MongooseHelix said:
I've tried three different tun.ko modules but none seem to work. I pulled one from GSB 2.3 when workshed included a version to see if it would work, I also tried the one I posted that was from Conap's DecafuctCFSv9 kernel, and another that is in Evervolv(I assume it's a HeroC version).
Not sure if anyone ever found/compiled a tun.ko that worked for the gingerbread roms. It could be that one hasn't been built for the unreleased version of Conap's kernel that is used on all of these roms. I might try to figure out how to compile conap's kernel from his source with the tun.ko module getting built as well.
Click to expand...
Click to collapse
That would be cool. Thank you for your help so far on this.
Mongoose,
That would be awesome if you got the time and were able to do that. I suppose I could give it a stab myself, but I would have to get my dev environment setup first. Or if Cisco would just release a version that didn't require tun.ko, that would be great too (and would be something we could actually use in the company, without suggesting to some of these people who can barely use computers that they need to root their phone).
any update on this?
I've not forgotten about it but haven't had the time to look into it any and learn about kernel stuff. I did ask workshed if anyone found or compiled a working tun.ko module for CM7/GSB and he said no. Like I had suspected, he said someone would need to compile the kernel with it included. I'm not sure how difficult it is to figure out so we'll see if one of us can give it a go at some point.
I compiled and attached a new version of tun.ko that should work for ROMs using kernel version 2.6.29-DecaFuctCFS-dirty-9ff84b92. It's attached below. If the ROM devs would like to include a version of Conap's kernel with built-in tun.ko support, that could probably be done as well.
I haven't actually tested out any VPN stuff so you all will have to report back if it is in fact working. Hope it does!
Instructions:
* Download tun.zip and extract tun.ko
Code:
adb remount
adb push tun.ko /system/lib/modules/
adb shell
cd /system/lib/modules
chmod 644 tun.ko
insmod tun.ko
* check that it was inserted by typing the command "lsmod" which should output something like "tun 11252 0 - Live 0xbf000000"
that totally worked!
too bad i didnt catch it until the day my new phone was out for delivery, but at least i have something to show my employer that anyconnect actually does work on android.

Manual rooting - cannot mount /system as read/write

I have researched xda and the web for my problem, but it seems to be different from other posters.
I bought a Nextbook Premium 7 with Android 2.3.1 and wanted to root it. Another user already mentioned hack apps like Gingerbreak, superoneclick and z4root did not work, therefore I thought I would try the manual rooting method from the guide below:
http://www.nexusoneforum.net/forum/nexus-one-development-hacking/10940-simple-sdk-setup-guide.html
I pushed Gingerbreak and ran it using ADB, and it was successful granting temporary root. However, in the next step when I tried to remount /system as read/write (in order to install Superuser), it did not work - this step was:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
After executing this, I DID NOT get any error message like other posters (eg. NO "remount failed: operation not permitted").
However, when I tried to execute the next part:
chmod 777 /system/bin (or chmod 777 /system/app)
I got an error message: "Read-only file system".
This tablet has a Rockchip rk2918 processor and Android 2.3.1, otherwise I know nothing about it. The company (nextbookusa.com) does not have any firmware support on this model yet.
Can anyone help? Thanks.
More research on the web makes me suspect this tablet uses cramfs file system, because I've seen "cramfs" coming up in other similar 7 inch rk2918 tablets.
I understand it is common for chinese tablets with similar hardware to have similar basic Android OS, which is modified by the brand owner in their own specific models.
Apparently cramfs is read-only. I can only find one post where the poster successfully rooted the device by unpackaging the firmware, added Superuser, repackaged it and re-install it (as a firmware update) like a "custom(ised) ROM".
I guess until Nextbook issues firmware update on their website to unpackage and add root, there is no way to do it now.
Also RK2918
I've just bought a GoogleTv box with RK2918. I know that there's cramfs on it. I have a firmware from the producer. Any tips or trix on howto root it?
I received a RK2918 WOPAD 9.7 with a built in 3G and I have same issue can't mount system as RW. No messages but get access denied. Busybox is installed in /system/bin and GingerBreak ran fine and gave proper message when completed.
Just can't copy Superuser.apk because I have no write access. This is alot different than the GTAB. I can see the # prompt # and I can see files and dirs I make are root - but not access to Superuser.apk to allow other programs to write.
Any help would be appreciated. Also when I use busybox whoami I get the following:
# busybox whoami
whoami: unknown uid 0
Prior to me doing it the manual root method - I used Z4root and UniversalAndroot - no success.
As far as me thinking I have some root access I did the following:
# cd /data/local/
# ls
tmp
# ls -l
drwxrwx--x shell shell 2011-09-12 17:31 tmp
# su
# ls -l
drwxrwx--x shell shell 2011-09-12 17:31 tmp
# mkdir test
# ls -l
drwxrwx--x shell shell 2011-09-12 17:31 tmp
drwxrwxrwx root root 2011-09-12 18:23 test
apparently I have root access but can't execute the remount command or that block in not writable while system is up - but not sure.
Anyhelp would be appreciated!
sorry for bad english, the issue seems to be in boot ini and recovery mode, i had the same issue on a tab rk 2918, you can only unpack then repack after modifying anything you want, but not mount on rw.
has anyone tried zergRush root method for this tablet yet?????
I tried using SuperOneClick's zergRush on my WoPad i7. Same results.
dicksoft said:
I've just bought a GoogleTv box with RK2918. I know that there's cramfs on it. I have a firmware from the producer. Any tips or trix on howto root it?
Click to expand...
Click to collapse
Hello, I also have an rk2918 tvbox. I succesfully rooted it and prepared a custom rom..
you can check if you have my same box and download the rom my site.. you can find it searching "clamelmod" with google..
Converting cramfs to ext3
You will need to convert the cramfs to ext3, check the instructions described at:
google for "google sites rk2918tools", 1st link.
Let me know if it worked.
hey do you know how to put ics on this rk2918 box?

[Q] Debian Kit for Android - 3g, etc

This is my experience with Debian Kit for Android available on the Market, and which allows Debian Linux to run side by side along the Android O/S removing many of the restrictions of chroot versions (such as Backtrack 5)
Debian Kit for Android allows Debian flavours of Linux to install on the Thrive... (from Debian Squeeze up to the latest incarnation of Ubuntu - 12.04 Precise Pangolin)...
However unlike other kinds of kits, this one is not chroot, but loads Linux alongside Android, so we have more freedom to experiment without being limited by the chroot jail constraints...
To get the gui, it uses a light version of the Windows X-System: LXDE which is accessed using Microsoft RDP... (as opposed to VNC for say BackTrack 5)
I installed Ubuntu Precise (12.04) with no major problem to an ext4fs partition on my sdcard (which the package installer formats)...
and managed to access the system via wifi from MS Remote Desktop latest version for the Mac... (unlike BT5, you are not confined only to using a disk image, but you can if you wish)...
internally you will need an Android RDP client... and it works pretty well too...
what I want to try is install the Linux driver for my Huawei usb modem, it might work... even if the devs do not mention hardware possibilities, and focus more on what is already available on Android... (maybe kernel modding will still be needed, and it is a shame we did not yet get a hold of a 3g version of the kernel/rom)...
What I like already is the reverse full browsing capability of the Thrive file system from within the Linux X-windows gui...
Check, if interested, the full instructions here:
http://sven-ola.dyndns.org/repo/debian-kit-en.html
and this is my review on SF:
I am very pleased with this kit... installed it on my Toshiba AT100-100 Thrive with no major problem... used the non-stable Ubuntu Precise Pangolin 12.04 option, on a separate partition in my external 32GB SDHC Card...
It turned out to be pretty stable for my needs...
Running the LXDE Windows X GUI was smooth using wifi RDP from the Mac with 10.6.8 and either Microsoft RDP Client or the open source Cord 0.5.6 -
Single mode (i.e. just text based) on the Android device behaves like a Ubuntu box...
I even managed to install support for 3g by installing wvdial with gnome-ppp... Huawei 1750 is properly recognised and I get a persistent blue signal which means it is connected...
Now I am trying to use this connection as an Internet sharing gateway, by having the Wifi switched off, but I need to know how to do this via the command line...
Using the gui defeats the purpose as for this one needs RDP which depends on Wifi, but I want a pure available 3g connection that I then use for the Android O/S proper through a routing gateway, so need to find a way to bind the 3g connection on Debian to localhost shared by Debian and the Android O/S...
Not as easy as it seems... especially that there does not seem to be support for iptables on the Thrive Android kernel, but the 3g connection is there established on Debian...
Info: Running Honeycomb 3.2.1 rooted Toshiba Thrive AT100-100 16GB wifi only (no 3g)
one last note: unable to run chromium-browser or firefox in LXDE - via rdp - (has propably to do with the Arm version on Ubuntu 12.04)...
however the gnome web browser Epiphany works perfectly...
Now anyone has a clue on how to create a 3g reverse Connection feature, i.e. use the 3g connected Ubuntu box as an Internet sharing Server for the Android O/S that sits alongside / slightly on top?
That will solve the problem of not having 3g on reluctant devices...
Help with Debian Kit
Yeah this kit is really good but i stumble with a problem in the second part of the installation on my Motorola Defy, maybe you can help me as you successfully installed on your tablet, i talked with Sven(the dev) too and he is trying to help me, from what i deduced of the error it gives me it seems that i don't have "/system/bin/ls" but from what i understand that file is linked by busybox on my defy these are the screen shots and the console outputs of what happens
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
exec sh -c "cd '/mnt/sdcard' ; exec /system/xbin/bash"
# exec sh -c "cd '/mnt/sdcard' ; exec /system/xbin/bash"
MotoRolaDefyX sdcard # su DEB_DEBUG=true export DEB_DEBUG /data/local/deb/armel/busybox ash -x /data/local/deb/bootdeb
SuperSU - Copyright (C) 2012 - Chainfire
MotoRolaDefyX sdcard # cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/dev/block/mmcblk1p21 /system ext3 ro,relatime,nobh,data=ordered 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk1p24 /cache ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,nobh,data=ordered 0 0
/dev/block/mmcblk1p25 /data ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,nobh,data=ordered 0 0
/dev/block/loop7 /pds ext3 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered 0 0
ramfs /tmp ramfs rw,relatime,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.herocraft.game.majesty-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.gameloft.android.GAND.GloftAsp6.asphalt6-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/sts.dl-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/gts.td2.am.full-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/eu.vcmi-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-5 /mnt/asec/com.zynga.livepoker-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-6 /mnt/asec/com.dvidearts.earthandlegend-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-7 /mnt/asec/com.outfit7.talkingtom2free-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-8 /mnt/asec/com.rockstar.gta3-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-9 /mnt/asec/com.bigfishgames.android.nawpdroidfull-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-10 /mnt/asec/com.wulven.shadowera-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-11 /mnt/asec/com.hg.townsmen6-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
MotoRolaDefyX sdcard # cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS: 1248.46
Features: swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part: 0xc08
CPU revision : 2
Hardware: mapphone_UMTS
Revision: 0000
Serial : 0000000000000000
CPU Tier: 10
MotoRolaDefyX sdcard # cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev tmpfs
nodev binfmt_misc
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev inotifyfs
nodev devpts
ext3
nodev ramfs
vfat
msdos
nodev ecryptfs
yaffs
yaffs2
nodev cifs
MotoRolaDefyX sdcard # ls -l /system /system/bin
/system:
total 37
drwxr-xr-x 2 root root 3072 May 7 22:50 app
drwxr-xr-x 3 root shell 3072 May 15 03:56 bin
drwxr-xr-x 10 root root 1024 May 7 22:16 bootmenu
-rwxrwxrwx 1 root root 5270 May 7 22:48 build.prop
-rwxrwxrwx 1 root root 4681 May 6 12:21 build.prop.bak
drwxr-xr-x 14 root root 2048 May 7 22:58 etc
drwxr-xr-x 2 root root 1024 May 7 22:16 fonts
drwxr-xr-x 2 root root 1024 May 7 22:52 framework
drwxr-xr-x 8 root root 5120 May 7 23:00 lib
drwxr-xr-x 3 root root 1024 May 7 22:17 media
drwxr-xr-x 3 root root 1024 May 7 22:17 tts
drwxr-xr-x 7 root root 1024 May 7 22:17 usr
drwxr-xr-x 2 root shell 7168 May 7 22:17 xbin
/system/bin:
total 7402
-rwxr-xr-x 1 root shell 120304 Aug 1 2008 akmd2
-rwxr-xr-x 1 root shell 191 Aug 1 2008 am
-rwxr-xr-x 1 root shell 50371 Aug 1 2008 ap_gain.bin
-rwxr-xr-x 1 root shell 27910 Aug 1 2008 ap_gain_mmul.bin
-rwxr-xr-x 1 root shell 5720 Aug 1 2008 app_process
lrwxrwxrwx 1 root root 29 May 15 03:56 ash -> /data/local/deb/armel/busybox
-rwxr-xr-x 1 root shell 9648 Aug 1 2008 audioloop
-rwxr-xr-x 1 root shell 4202 Aug 1 2008 backuptool.sh
-rwxr-xr-x 1 root shell 18080 Aug 1 2008 badblocks
-rwxr-xr-x 1 root shell 43380 Aug 1 2008 battd
-rwxr-xr-x 1 root shell 5292 Aug 1 2008 bluetoothd
-rwxr-xr-x 1 root shell 199 Aug 1 2008 bmgr
-rwxr-xr-x 1 root shell 23160 Aug 1 2008 bootanimation
-rwxr-xr-x 1 root shell 282332 Aug 1 2008 bootmenu
-rwxr-xr-x 1 root shell 1160280 Aug 1 2008 brcm_guci_drv
-rwxr-xr-x 1 root shell 5556 Aug 1 2008 bugreport
-rwxr-xr-x 1 root shell 68420 Aug 1 2008 charge_only_mode
lrwxrwxrwx 1 root root 7 May 7 22:16 cmp -> toolbox
-rwxr-xr-x 1 root shell 1112 Aug 1 2008 compcache
-rwxr-xr-x 1 root shell 5520 Aug 1 2008 dalvikvm
-rwxr-xr-x 1 root shell 109504 Aug 1 2008 dbus-daemon
lrwxrwxrwx 1 root root 19 May 15 03:56 deb -> /data/local/deb/deb
-rwxr-xr-x 1 root shell 22224 Aug 1 2008 debuggerd
-rwxr-xr-x 1 root shell 9796 Aug 1 2008 dexopt
-rwxr-xr-x 1 root shell 44596 Aug 1 2008 dhcpcd
-rwxr-xr-x 1 root shell 104724 Aug 1 2008 dnsmasq
-rwxr-xr-x 1 root shell 9668 Aug 1 2008 dspexec
-rwxr-xr-x 1 root shell 13968 Aug 1 2008 dump_image
-rwxr-xr-x 1 root shell 34544 Aug 1 2008 dumpstate
-rwxr-xr-x 1 root shell 9812 Aug 1 2008 dumpsys
-rwxr-xr-x 1 root shell 5548 Aug 1 2008 dvz
-rwxr-xr-x 1 root shell 111524 Aug 1 2008 e2fsck
-rwxr-xr-x 1 root shell 5504 Aug 1 2008 e2label
-rwxr-xr-x 1 root shell 9776 Aug 1 2008 erase_image
-rwxr-xr-x 1 root shell 14936 Aug 1 2008 fix_permissions
-rwxr-xr-x 1 root shell 13968 Aug 1 2008 flash_image
-rwxr-xr-x 1 root shell 20540 Aug 1 2008 fmradioserver
-rwxr-xr-x 1 root shell 22640 Aug 1 2008 fsck_msdos
-rwxr-xr-x 1 root shell 5612 Aug 1 2008 gdbjithelper
-rwxr-xr-x 1 root shell 553908 Aug 1 2008 gdbserver
lrwxrwxrwx 1 root root 7 May 7 22:16 getevent -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 getprop -> toolbox
-rwxr-xr-x 1 root shell 9924 Aug 1 2008 gkisystem
-rwxr-xr-x 1 root shell 5604 Aug 1 2008 gzip
-rwxr-xr-x 1 root shell 644 Aug 1 2008 handle_compcache
-rwxr-xr-x 1 root shell 23316 Aug 1 2008 hciattach
lrwxrwxrwx 1 root root 7 May 7 22:16 hd -> toolbox
-rwxr-xr-x 1 root shell 237268 Aug 1 2008 hostap
lrwxrwxrwx 1 root root 7 May 7 22:16 iftop -> toolbox
-rwxr-xr-x 1 root shell 194 Aug 1 2008 ime
-rwxr-xr-x 1 root shell 201 Aug 1 2008 input
lrwxrwxrwx 1 root root 7 May 7 22:16 insmod -> toolbox
-rwxr-xr-x 1 root shell 22420 Aug 1 2008 installd
-rwxr-xr-x 1 root shell 9632 Aug 1 2008 io
lrwxrwxrwx 1 root root 7 May 7 22:16 ioctl -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 ionice -> toolbox
-rwxr-xr-x 1 root shell 100916 Aug 1 2008 iptables
-rwxr-xr-x 1 root shell 10112 Aug 1 2008 keystore
-rwxr-xr-x 1 root shell 6640 Aug 1 2008 keystore_cli
lrwxrwxrwx 1 root root 7 May 7 22:16 kill -> toolbox
-rwxr-xr-x 1 root shell 39416 Aug 1 2008 linker
-rwxr-xr-x 1 root shell 423620 Aug 1 2008 location
lrwxrwxrwx 1 root root 7 May 7 22:16 log -> toolbox
-rwxr-xr-x 1 root shell 13952 Aug 1 2008 logcat
lrwxrwxrwx 1 root root 8 May 7 22:16 logwrapper -> bootmenu
-rwxr-xr-x 1 root shell 63964 Aug 1 2008 logwrapper.bin
-rwxr-xr-x 1 root shell 97780 Aug 1 2008 lsof
-rwxr-xr-x 1 root shell 5504 Aug 1 2008 mediaserver
-rwxr-xr-x 1 root shell 34864 Aug 1 2008 mke2fs
-rwxr-xr-x 1 root shell 14768 Aug 1 2008 mkyaffs2image
-rwxr-xr-x 1 root shell 1602 Aug 1 2008 modelid_cfg.sh
-rwxr-xr-x 1 root shell 205 Aug 1 2008 monkey
-rwxr-xr-x 1 root shell 5556 Aug 1 2008 mot_boot_mode
-rwxr-xr-x 1 root shell 0 Aug 1 2008 mount_ext3.sh
-rwxr-xr-x 1 root shell 18340 Aug 1 2008 mtpd
lrwxrwxrwx 1 root root 7 May 7 22:16 nandread -> toolbox
-rwxr-xr-x 1 root shell 5552 Aug 1 2008 ndc
-rwxr-s--- 1 root inet 5660 Aug 1 2008 netcfg
-rwxr-xr-x 1 root shell 45924 Aug 1 2008 netd
lrwxrwxrwx 1 root root 7 May 7 22:16 netstat -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 newfs_msdos -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 notify -> toolbox
-rwxr-xr-x 1 root shell 13864 Aug 1 2008 nvm_daemon
-rwxr-xr-x 1 root shell 32616 Aug 1 2008 omx_tests
-rwxr-xr-x 1 root shell 75988 Aug 1 2008 opprofdaemon
-rwxr-xr-x 1 root shell 18692 Aug 1 2008 pand
-rwxr-sr-x 1 root net_raw 26720 Aug 1 2008 ping
-rwxr-xr-x 1 root shell 191 Aug 1 2008 pm
-rwxr-xr-x 1 root shell 139540 Aug 1 2008 pppd
-rwxr-xr-x 1 root shell 1540484 Aug 1 2008 protocol_driver
lrwxrwxrwx 1 root root 7 May 7 22:16 ps -> toolbox
-rwxr-xr-x 1 root shell 8128 Aug 1 2008 pvrsrvinit
-rwxr-xr-x 1 root shell 5520 Aug 1 2008 qemu-props
-rwxr-xr-x 1 root shell 13828 Aug 1 2008 qemud
-rwxr-xr-x 1 root shell 142516 Aug 1 2008 racoon
-rwxr-xr-x 1 root shell 5424 Aug 1 2008 radiooptions
lrwxrwxrwx 1 root root 7 May 7 22:16 reboot -> toolbox
-rwxr-xr-x 1 root shell 9912 Aug 1 2008 record
lrwxrwxrwx 1 root root 7 May 7 22:16 renice -> toolbox
-rwxr-xr-x 1 root shell 22260 Aug 1 2008 resize2fs
-rwxr-xr-x 1 root shell 5696 Aug 1 2008 rild
lrwxrwxrwx 1 root root 7 May 7 22:16 route -> toolbox
-rwsr-s--- 1 root shell 59848 Aug 1 2008 run-as
-rwxr-xr-x 1 root shell 5392 Aug 1 2008 schedtest
lrwxrwxrwx 1 root root 7 May 7 22:16 schedtop -> toolbox
-rwxr-xr-x 1 root shell 5584 Aug 1 2008 screenshot
-rwxr-xr-x 1 root shell 9748 Aug 1 2008 sdcard
-rwxr-xr-x 1 root shell 46548 Aug 1 2008 sdptool
lrwxrwxrwx 1 root root 7 May 7 22:16 sendevent -> toolbox
-rwxr-xr-x 1 root shell 9860 Aug 1 2008 service
-rwxr-xr-x 1 root shell 9940 Aug 1 2008 servicemanager
lrwxrwxrwx 1 root root 7 May 7 22:16 setconsole -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 setprop -> toolbox
-rwxr-xr-x 1 root shell 82840 Aug 1 2008 sh
-rwxr-xr-x 1 root shell 10792 Aug 1 2008 showlease
lrwxrwxrwx 1 root root 7 May 7 22:16 smd -> toolbox
-rwxr-xr-x 1 root shell 14016 Aug 1 2008 ssmgrd
-rwxr-xr-x 1 root shell 31080 Aug 1 2008 stagefright
lrwxrwxrwx 1 root root 7 May 7 22:16 start -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 stop -> toolbox
-rwxr-xr-x 1 root shell 5456 Aug 1 2008 surfaceflinger
-rwxr-xr-x 1 root shell 192 Aug 1 2008 svc
lrwxrwxrwx 1 root root 7 May 7 22:16 sync -> toolbox
-rwxr-xr-x 1 root shell 140 Aug 1 2008 sysinit
-rwxr-xr-x 1 root shell 5472 Aug 1 2008 system_server
-rwxr-xr-x 1 root shell 67956 Aug 1 2008 tc
-rwxr-xr-x 1 root shell 9712 Aug 1 2008 testid3
-rwxr-xr-x 1 root shell 174980 Aug 1 2008 tiap_cu
-rwxr-xr-x 1 root shell 9716 Aug 1 2008 tiap_loader
-rwxr-xr-x 1 root shell 73192 Aug 1 2008 toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 top -> toolbox
-rwxr-xr-x 1 root shell 26564 Aug 1 2008 tune2fs
-rwxr-xr-x 1 root shell 5656 Aug 1 2008 unyaffs
lrwxrwxrwx 1 root root 7 May 7 22:16 uptime -> toolbox
-rwxr-xr-x 1 root shell 18776 Aug 1 2008 usbd
-rwxr-xr-x 1 root shell 5552 Aug 1 2008 vdc
-rwxr-xr-x 1 root shell 265 Aug 1 2008 verify_cache_partition_size.sh
lrwxrwxrwx 1 root root 7 May 7 22:16 vmstat -> toolbox
-rwxr-xr-x 1 root shell 55892 Aug 1 2008 vold
lrwxrwxrwx 1 root root 7 May 7 22:16 watchprops -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 wipe -> toolbox
-rwxr-xr-x 1 root shell 131076 Aug 1 2008 wlan_cu
-rwxr-xr-x 1 root shell 9716 Aug 1 2008 wlan_loader
-rwxr-xr-x 1 root shell 31268 Aug 1 2008 wpa_cli
-rwxr-xr-x 1 root shell 304372 Aug 1 2008 wpa_supplicant
MotoRolaDefyX sdcard #
really loving the idea, I'm trying it and I will hope I get further than step 8 (last time I got stuk at step 8-9) is it mayb possible to make an instruction video?
I'm reallly sorry if I'm a noob for asking.
your great
kHron0S said:
Yeah this kit is really good but i stumble with a problem in the second part of the installation on my Motorola Defy, maybe you can help me as you successfully installed on your tablet, i talked with Sven(the dev) too and he is trying to help me, from what i deduced of the error it gives me it seems that i don't have "/system/bin/ls" but from what i understand that file is linked by busybox on my defy these are the screen shots and the console outputs of what happens
View attachment 1062978
View attachment 1062979
Code:
exec sh -c "cd '/mnt/sdcard' ; exec /system/xbin/bash"
# exec sh -c "cd '/mnt/sdcard' ; exec /system/xbin/bash"
MotoRolaDefyX sdcard # su DEB_DEBUG=true export DEB_DEBUG /data/local/deb/armel/busybox ash -x /data/local/deb/bootdeb
SuperSU - Copyright (C) 2012 - Chainfire
MotoRolaDefyX sdcard # cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/dev/block/mmcblk1p21 /system ext3 ro,relatime,nobh,data=ordered 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk1p24 /cache ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,nobh,data=ordered 0 0
/dev/block/mmcblk1p25 /data ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,nobh,data=ordered 0 0
/dev/block/loop7 /pds ext3 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered 0 0
ramfs /tmp ramfs rw,relatime,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.herocraft.game.majesty-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.gameloft.android.GAND.GloftAsp6.asphalt6-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/sts.dl-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/gts.td2.am.full-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/eu.vcmi-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-5 /mnt/asec/com.zynga.livepoker-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-6 /mnt/asec/com.dvidearts.earthandlegend-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-7 /mnt/asec/com.outfit7.talkingtom2free-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-8 /mnt/asec/com.rockstar.gta3-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-9 /mnt/asec/com.bigfishgames.android.nawpdroidfull-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-10 /mnt/asec/com.wulven.shadowera-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-11 /mnt/asec/com.hg.townsmen6-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
MotoRolaDefyX sdcard # cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS: 1248.46
Features: swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part: 0xc08
CPU revision : 2
Hardware: mapphone_UMTS
Revision: 0000
Serial : 0000000000000000
CPU Tier: 10
MotoRolaDefyX sdcard # cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev tmpfs
nodev binfmt_misc
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev inotifyfs
nodev devpts
ext3
nodev ramfs
vfat
msdos
nodev ecryptfs
yaffs
yaffs2
nodev cifs
MotoRolaDefyX sdcard # ls -l /system /system/bin
/system:
total 37
drwxr-xr-x 2 root root 3072 May 7 22:50 app
drwxr-xr-x 3 root shell 3072 May 15 03:56 bin
drwxr-xr-x 10 root root 1024 May 7 22:16 bootmenu
-rwxrwxrwx 1 root root 5270 May 7 22:48 build.prop
-rwxrwxrwx 1 root root 4681 May 6 12:21 build.prop.bak
drwxr-xr-x 14 root root 2048 May 7 22:58 etc
drwxr-xr-x 2 root root 1024 May 7 22:16 fonts
drwxr-xr-x 2 root root 1024 May 7 22:52 framework
drwxr-xr-x 8 root root 5120 May 7 23:00 lib
drwxr-xr-x 3 root root 1024 May 7 22:17 media
drwxr-xr-x 3 root root 1024 May 7 22:17 tts
drwxr-xr-x 7 root root 1024 May 7 22:17 usr
drwxr-xr-x 2 root shell 7168 May 7 22:17 xbin
/system/bin:
total 7402
-rwxr-xr-x 1 root shell 120304 Aug 1 2008 akmd2
-rwxr-xr-x 1 root shell 191 Aug 1 2008 am
-rwxr-xr-x 1 root shell 50371 Aug 1 2008 ap_gain.bin
-rwxr-xr-x 1 root shell 27910 Aug 1 2008 ap_gain_mmul.bin
-rwxr-xr-x 1 root shell 5720 Aug 1 2008 app_process
lrwxrwxrwx 1 root root 29 May 15 03:56 ash -> /data/local/deb/armel/busybox
-rwxr-xr-x 1 root shell 9648 Aug 1 2008 audioloop
-rwxr-xr-x 1 root shell 4202 Aug 1 2008 backuptool.sh
-rwxr-xr-x 1 root shell 18080 Aug 1 2008 badblocks
-rwxr-xr-x 1 root shell 43380 Aug 1 2008 battd
-rwxr-xr-x 1 root shell 5292 Aug 1 2008 bluetoothd
-rwxr-xr-x 1 root shell 199 Aug 1 2008 bmgr
-rwxr-xr-x 1 root shell 23160 Aug 1 2008 bootanimation
-rwxr-xr-x 1 root shell 282332 Aug 1 2008 bootmenu
-rwxr-xr-x 1 root shell 1160280 Aug 1 2008 brcm_guci_drv
-rwxr-xr-x 1 root shell 5556 Aug 1 2008 bugreport
-rwxr-xr-x 1 root shell 68420 Aug 1 2008 charge_only_mode
lrwxrwxrwx 1 root root 7 May 7 22:16 cmp -> toolbox
-rwxr-xr-x 1 root shell 1112 Aug 1 2008 compcache
-rwxr-xr-x 1 root shell 5520 Aug 1 2008 dalvikvm
-rwxr-xr-x 1 root shell 109504 Aug 1 2008 dbus-daemon
lrwxrwxrwx 1 root root 19 May 15 03:56 deb -> /data/local/deb/deb
-rwxr-xr-x 1 root shell 22224 Aug 1 2008 debuggerd
-rwxr-xr-x 1 root shell 9796 Aug 1 2008 dexopt
-rwxr-xr-x 1 root shell 44596 Aug 1 2008 dhcpcd
-rwxr-xr-x 1 root shell 104724 Aug 1 2008 dnsmasq
-rwxr-xr-x 1 root shell 9668 Aug 1 2008 dspexec
-rwxr-xr-x 1 root shell 13968 Aug 1 2008 dump_image
-rwxr-xr-x 1 root shell 34544 Aug 1 2008 dumpstate
-rwxr-xr-x 1 root shell 9812 Aug 1 2008 dumpsys
-rwxr-xr-x 1 root shell 5548 Aug 1 2008 dvz
-rwxr-xr-x 1 root shell 111524 Aug 1 2008 e2fsck
-rwxr-xr-x 1 root shell 5504 Aug 1 2008 e2label
-rwxr-xr-x 1 root shell 9776 Aug 1 2008 erase_image
-rwxr-xr-x 1 root shell 14936 Aug 1 2008 fix_permissions
-rwxr-xr-x 1 root shell 13968 Aug 1 2008 flash_image
-rwxr-xr-x 1 root shell 20540 Aug 1 2008 fmradioserver
-rwxr-xr-x 1 root shell 22640 Aug 1 2008 fsck_msdos
-rwxr-xr-x 1 root shell 5612 Aug 1 2008 gdbjithelper
-rwxr-xr-x 1 root shell 553908 Aug 1 2008 gdbserver
lrwxrwxrwx 1 root root 7 May 7 22:16 getevent -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 getprop -> toolbox
-rwxr-xr-x 1 root shell 9924 Aug 1 2008 gkisystem
-rwxr-xr-x 1 root shell 5604 Aug 1 2008 gzip
-rwxr-xr-x 1 root shell 644 Aug 1 2008 handle_compcache
-rwxr-xr-x 1 root shell 23316 Aug 1 2008 hciattach
lrwxrwxrwx 1 root root 7 May 7 22:16 hd -> toolbox
-rwxr-xr-x 1 root shell 237268 Aug 1 2008 hostap
lrwxrwxrwx 1 root root 7 May 7 22:16 iftop -> toolbox
-rwxr-xr-x 1 root shell 194 Aug 1 2008 ime
-rwxr-xr-x 1 root shell 201 Aug 1 2008 input
lrwxrwxrwx 1 root root 7 May 7 22:16 insmod -> toolbox
-rwxr-xr-x 1 root shell 22420 Aug 1 2008 installd
-rwxr-xr-x 1 root shell 9632 Aug 1 2008 io
lrwxrwxrwx 1 root root 7 May 7 22:16 ioctl -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 ionice -> toolbox
-rwxr-xr-x 1 root shell 100916 Aug 1 2008 iptables
-rwxr-xr-x 1 root shell 10112 Aug 1 2008 keystore
-rwxr-xr-x 1 root shell 6640 Aug 1 2008 keystore_cli
lrwxrwxrwx 1 root root 7 May 7 22:16 kill -> toolbox
-rwxr-xr-x 1 root shell 39416 Aug 1 2008 linker
-rwxr-xr-x 1 root shell 423620 Aug 1 2008 location
lrwxrwxrwx 1 root root 7 May 7 22:16 log -> toolbox
-rwxr-xr-x 1 root shell 13952 Aug 1 2008 logcat
lrwxrwxrwx 1 root root 8 May 7 22:16 logwrapper -> bootmenu
-rwxr-xr-x 1 root shell 63964 Aug 1 2008 logwrapper.bin
-rwxr-xr-x 1 root shell 97780 Aug 1 2008 lsof
-rwxr-xr-x 1 root shell 5504 Aug 1 2008 mediaserver
-rwxr-xr-x 1 root shell 34864 Aug 1 2008 mke2fs
-rwxr-xr-x 1 root shell 14768 Aug 1 2008 mkyaffs2image
-rwxr-xr-x 1 root shell 1602 Aug 1 2008 modelid_cfg.sh
-rwxr-xr-x 1 root shell 205 Aug 1 2008 monkey
-rwxr-xr-x 1 root shell 5556 Aug 1 2008 mot_boot_mode
-rwxr-xr-x 1 root shell 0 Aug 1 2008 mount_ext3.sh
-rwxr-xr-x 1 root shell 18340 Aug 1 2008 mtpd
lrwxrwxrwx 1 root root 7 May 7 22:16 nandread -> toolbox
-rwxr-xr-x 1 root shell 5552 Aug 1 2008 ndc
-rwxr-s--- 1 root inet 5660 Aug 1 2008 netcfg
-rwxr-xr-x 1 root shell 45924 Aug 1 2008 netd
lrwxrwxrwx 1 root root 7 May 7 22:16 netstat -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 newfs_msdos -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 notify -> toolbox
-rwxr-xr-x 1 root shell 13864 Aug 1 2008 nvm_daemon
-rwxr-xr-x 1 root shell 32616 Aug 1 2008 omx_tests
-rwxr-xr-x 1 root shell 75988 Aug 1 2008 opprofdaemon
-rwxr-xr-x 1 root shell 18692 Aug 1 2008 pand
-rwxr-sr-x 1 root net_raw 26720 Aug 1 2008 ping
-rwxr-xr-x 1 root shell 191 Aug 1 2008 pm
-rwxr-xr-x 1 root shell 139540 Aug 1 2008 pppd
-rwxr-xr-x 1 root shell 1540484 Aug 1 2008 protocol_driver
lrwxrwxrwx 1 root root 7 May 7 22:16 ps -> toolbox
-rwxr-xr-x 1 root shell 8128 Aug 1 2008 pvrsrvinit
-rwxr-xr-x 1 root shell 5520 Aug 1 2008 qemu-props
-rwxr-xr-x 1 root shell 13828 Aug 1 2008 qemud
-rwxr-xr-x 1 root shell 142516 Aug 1 2008 racoon
-rwxr-xr-x 1 root shell 5424 Aug 1 2008 radiooptions
lrwxrwxrwx 1 root root 7 May 7 22:16 reboot -> toolbox
-rwxr-xr-x 1 root shell 9912 Aug 1 2008 record
lrwxrwxrwx 1 root root 7 May 7 22:16 renice -> toolbox
-rwxr-xr-x 1 root shell 22260 Aug 1 2008 resize2fs
-rwxr-xr-x 1 root shell 5696 Aug 1 2008 rild
lrwxrwxrwx 1 root root 7 May 7 22:16 route -> toolbox
-rwsr-s--- 1 root shell 59848 Aug 1 2008 run-as
-rwxr-xr-x 1 root shell 5392 Aug 1 2008 schedtest
lrwxrwxrwx 1 root root 7 May 7 22:16 schedtop -> toolbox
-rwxr-xr-x 1 root shell 5584 Aug 1 2008 screenshot
-rwxr-xr-x 1 root shell 9748 Aug 1 2008 sdcard
-rwxr-xr-x 1 root shell 46548 Aug 1 2008 sdptool
lrwxrwxrwx 1 root root 7 May 7 22:16 sendevent -> toolbox
-rwxr-xr-x 1 root shell 9860 Aug 1 2008 service
-rwxr-xr-x 1 root shell 9940 Aug 1 2008 servicemanager
lrwxrwxrwx 1 root root 7 May 7 22:16 setconsole -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 setprop -> toolbox
-rwxr-xr-x 1 root shell 82840 Aug 1 2008 sh
-rwxr-xr-x 1 root shell 10792 Aug 1 2008 showlease
lrwxrwxrwx 1 root root 7 May 7 22:16 smd -> toolbox
-rwxr-xr-x 1 root shell 14016 Aug 1 2008 ssmgrd
-rwxr-xr-x 1 root shell 31080 Aug 1 2008 stagefright
lrwxrwxrwx 1 root root 7 May 7 22:16 start -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 stop -> toolbox
-rwxr-xr-x 1 root shell 5456 Aug 1 2008 surfaceflinger
-rwxr-xr-x 1 root shell 192 Aug 1 2008 svc
lrwxrwxrwx 1 root root 7 May 7 22:16 sync -> toolbox
-rwxr-xr-x 1 root shell 140 Aug 1 2008 sysinit
-rwxr-xr-x 1 root shell 5472 Aug 1 2008 system_server
-rwxr-xr-x 1 root shell 67956 Aug 1 2008 tc
-rwxr-xr-x 1 root shell 9712 Aug 1 2008 testid3
-rwxr-xr-x 1 root shell 174980 Aug 1 2008 tiap_cu
-rwxr-xr-x 1 root shell 9716 Aug 1 2008 tiap_loader
-rwxr-xr-x 1 root shell 73192 Aug 1 2008 toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 top -> toolbox
-rwxr-xr-x 1 root shell 26564 Aug 1 2008 tune2fs
-rwxr-xr-x 1 root shell 5656 Aug 1 2008 unyaffs
lrwxrwxrwx 1 root root 7 May 7 22:16 uptime -> toolbox
-rwxr-xr-x 1 root shell 18776 Aug 1 2008 usbd
-rwxr-xr-x 1 root shell 5552 Aug 1 2008 vdc
-rwxr-xr-x 1 root shell 265 Aug 1 2008 verify_cache_partition_size.sh
lrwxrwxrwx 1 root root 7 May 7 22:16 vmstat -> toolbox
-rwxr-xr-x 1 root shell 55892 Aug 1 2008 vold
lrwxrwxrwx 1 root root 7 May 7 22:16 watchprops -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 wipe -> toolbox
-rwxr-xr-x 1 root shell 131076 Aug 1 2008 wlan_cu
-rwxr-xr-x 1 root shell 9716 Aug 1 2008 wlan_loader
-rwxr-xr-x 1 root shell 31268 Aug 1 2008 wpa_cli
-rwxr-xr-x 1 root shell 304372 Aug 1 2008 wpa_supplicant
MotoRolaDefyX sdcard #
Click to expand...
Click to collapse
For the first part where the screenshot shows errors on "Valid SU" and "debian kit", just install Busybox 1.20. Use Busybox Installer for that. While installing, change install location to /system/bin instead of /system/xbin. That will take care of those 2 problems, however after typing deb in console it gives the same error, complaining about tmp resource busy and ofcourse segmentation fault. Segmentation fault occurred on just about every chroot and linux install I encountered. I even compiled custom version of debian img and its still there. Using Motorola Milestone 1 btw, with CM6.
I too receive those errors, segmentation faults and resource busy, usually when installing anything but Debian using this kit. Been working hard on figuring it out and writing about it too, but so far Lenny and Ubuntu don't install completely on some devices; Debian though has yet to fail me so long as I've a good internet connection and nothing else running when it's downloading and installing.
Hope some of it helps ya and if not you can always check the guide I've been compiling to see if I've answered your issues, links in my signature
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
resolution settings
Hi, my phone, (THL T200 octo core 1.7 ghz 2gb ram 32gb android 4.2.2 and 1280x720 6" display) debian-kit install went smooth but, the resolution in the gui is too high. How do I change the resolution? Everything is tiny on the desktop.
frz1 said:
Hi, my phone, (THL T200 octo core 1.7 ghz 2gb ram 32gb android 4.2.2 and 1280x720 6" display) debian-kit install went smooth but, the resolution in the gui is too high. How do I change the resolution? Everything is tiny on the desktop.
Click to expand...
Click to collapse
If you are using the "deb x" command to start xrdp then use the Android rdp app to change the resolution. If you're using vnc then you'll want to add "-g <width>x<height>" to the vnc server start command. I prefer rdp because then I'm not restarting vnc services ever time I connect with a different screen.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
S0AndS0 said:
If you are using the "deb x" command to start xrdp then use the Android rdp app to change the resolution. If you're using vnc then you'll want to add "-g <width>x<height>" to the vnc server start command. I prefer rdp because then I'm not restarting vnc services ever time I connect with a different screen.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Click to expand...
Click to collapse
Thanks fort the reply. Before this though, I tried to reconfigure the rdp settings by deleting the connection and starting a new one with a another resolution, right after I finally got my favorite app, "keepnote" to install. Now I have a new problem. When I start deb x, I get the error, [xrdprunning in daemon mode with no access to pid files, quitting sesman] and cannot connect anymore to the gui. I just want to use this on my phone btw. I'm not trying to connect to my pc or any other external screen. Thanks
VNC works
leaving rdp for another day. I just googled vnc and found this site, [http://news.metaparadigma.de/linux-setting-up-a-debian-vnc-server-237/]. I setup VNC which seems to be working pretty well right now so I'm going to stick with that for now. Its only in landscape mode which I like better anyway so, i'm ok with it.
frz1 said:
Thanks fort the reply. Before this though, I tried to reconfigure the rdp settings by deleting the connection and starting a new one with a another resolution, right after I finally got my favorite app, "keepnote" to install. Now I have a new problem. When I start deb x, I get the error, [xrdprunning in daemon mode with no access to pid files, quitting sesman] and cannot connect anymore to the gui. I just want to use this on my phone btw. I'm not trying to connect to my pc or any other external screen. Thanks
Click to expand...
Click to collapse
Welcome and sorry you're having issues. I'd try running "apt-get purge andromize-lxde" and then "apt-get install andromize-lxde" to uninstall and reinstall the rdp gui. I've had similar issues when installing packages that then remove something that rdp was using; usually when I install something not mint to be in my distro by modding the source lists.
Glad you got vnc working :thumbup: but like ya said it isn't as feature rich as rdp.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Loop1 is full
My loop1 device, 2g, is now full, preventing me from doing the apt-get purge andromize-lxde you mentioned. I don't think I've seen a solution to that somewhere, maybe if I continue googling around I'll figure it out eventually. How do I increase my storage here on the loop file? I have the space on my sdcard, internal and external. I figured I ran out of space after install libra office, synaptic and keepnote which I consider essential besides system packages.
There's a few ways to increase your Linux OS space. I've seen some that have modified their existing image but every time I've tried it's turned out corrupted; usually I'll pop out the SD card and set up a partition with gParted for installing to. Another option would be to add system links (see Debian Kit's source code) and link your SDcards free space to a directory in Linux' system but doing that'll cause permission denied errors if not running as Linux root user when running software or scripts.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
S0AndS0 said:
There's a few ways to increase your Linux OS space. I've seen some that have modified their existing image but every time I've tried it's turned out corrupted; usually I'll pop out the SD card and set up a partition with gParted for installing to. Another option would be to add system links (see Debian Kit's source code) and link your SDcards free space to a directory in Linux' system but doing that'll cause permission denied errors if not running as Linux root user when running software or scripts.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Click to expand...
Click to collapse
According to this website, [ http://www.tehfear.com/2007/10/08/resize-loop-disk-image/] changing the image size should be the same as how it was made. I haven't tried to get into that yet. My skills are not that good...
Like I said I have the space. Could you make another image file with the same debain-large but at least a 5gb loop that would leave room to install additional packages? Or is there a way I could choose the size of my loop file during installation?
http://www.timelesssky.com/blog/running-debian-armhf-alongside-android
It took some digging through my bookmarks but above is a guide (really amazing guide) to modify Debian Kit's source code for increasing the loop disk file size and how to run hard float Linux I too have yet to mess around with moding the loop disk much as setting up partitions is just easier. That and I've had my time devoted to making a new Crypto currency for our phones. Do you have a removable sdcard or is your device without that feature?
Sent from either my SPH-D700 or myTouch3gs or M470BSA
Guide for running Linux on Android that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Yeah, I have a removable 32gb sdcard.
frz1 said:
Yeah, I have a removable 32gb sdcard.
Click to expand...
Click to collapse
Supper. If you're planning to use/re-install Debian Kit a lot then pop that sdcard out, back it up, and partition it (see the guide on xda in my sig for how to) with a size that you do want, then move your backed up info back to the first readable partition so Android can still see it, then reinstall Linux to the partition by running the mkdeb script and pointing it at the correct UUID. So long as you either note the UUID or don't reflash your device you can reinstall Linux to your hearts content on the partition instead of a loop disk file. This is what I did on my myTouch and when I do re-install Linux I just have to tell it to format the existing partition and it happily gives me 5+ gigs to play with. Note though that the second partition will be invisible to Android until Debian Kit has mounted it.
Sent from either my SPH-D700 or myTouch3gs or M470BSA
Guide for running Linux on Android that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
root ssh and xserver
Here is where I am now. I partitioned my sdcard to put 5gb aside for this install. Proceeded with the manual install after step 4 when I followed your guide here, [http://www.timelesssky.com/blog/running-debian-armhf-alongside-android ] to modified the mk-debain script and tried to do the larger loop file first. That was going fine until it turned out the 5120mb setting I did was too large still, the highest possible I guess on a fat32 system is 4gb. I then decided to just go with the partition setup. I install wheezy and everything seems ok. The problem I am having now is with the ssh login and the xserver you recommended at the end of your guide. Idk if its the order that I install things or what but, I am unable to elevate to root during ssh login and the xserver app, well, I'm not getting how it work. Do I have to create all those scripts you mention here, [http://www.timelesssky.com/blog/android-x-server ] to get it running? If so, when I create the scripts where do I put/save them to? Thanks
manaul install small
Beside what I already mentioned in above post, it seems like the manual install only install the core packages. I'm guessing that may be a cause of the issues that I'm having.
Update: I was right. I wasn't able to elevate to root because sudo wasnt installed due to the minimal install. Done. Now that I have taken care of that I just need to figure out the xserver. from what I saw on the app video on google play, the person has the device connected to a pc thats communicating the xserver. If thats the case then I rather skip it and stay with rdp and or vnc. I need the desktop environment to be executed and run on my device.
Update 2: I figured the Xserver xdsl. I can lunch the commands from the terminal on my device and it will appear on the running xserver app, (e.g: env DISPLAY=10.0.0.16.0 iceweasel). Its not perfect but, it works. Thanks
frz1 said:
Here is where I am now. I partitioned my sdcard to put 5gb aside for this install. Proceeded with the manual install after step 4 when I followed your guide here, [http://www.timelesssky.com/blog/running-debian-armhf-alongside-android ] to modified the mk-debain script and tried to do the larger loop file first. That was going fine until it turned out the 5120mb setting I did was too large still, the highest possible I guess on a fat32 system is 4gb. I then decided to just go with the partition setup. I install wheezy and everything seems ok. The problem I am having now is with the ssh login and the xserver you recommended at the end of your guide. Idk if its the order that I install things or what but, I am unable to elevate to root during ssh login and the xserver app, well, I'm not getting how it work. Do I have to create all those scripts you mention here, [http://www.timelesssky.com/blog/android-x-server ] to get it running? If so, when I create the scripts where do I put/save them to? Thanks
Click to expand...
Click to collapse
Well first off that's not my guide, just one I suggested, links in my sig are guides and scripts I've written. If you check Sky's guide though it'll state that the reason that 4+ gig loop disk file size worked is because the device was not on vfat file system... I'm not sure on your other questions quoted here as I use other methods than Sky such as using openssh and rdp for connections instead...
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
frz1 said:
Beside what I already mentioned in above post, it seems like the manual install only install the core packages. I'm guessing that may be a cause of the issues that I'm having.
Update: I was right. I wasn't able to elevate to root because sudo wasnt installed due to the minimal install. Done. Now that I have taken care of that I just need to figure out the xserver. from what I saw on the app video on google play, the person has the device connected to a pc thats communicating the xserver. If thats the case then I rather skip it and stay with rdp and or vnc. I need the desktop environment to be executed and run on my device.
Update 2: I figured the Xserver xdsl. I can lunch the commands from the terminal on my device and it will appear on the running xserver app, (e.g: env DISPLAY=10.0.0.16.0 iceweasel). Its not perfect but, it works. Thanks
Click to expand...
Click to collapse
Ah very cool I'm glad you got it working :thumbup: which is something I've yet to do so you're blazing new trails on that front.
If you're feeling adventurous you can set an old device to mine crypto-currencies now without an android app; just got to be careful with any task that uses lots of resources. Or setup a Bramble/MPI system that shares resource load. Or setup a Android development environment for making apps or mods to your system... the options are endless....
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.

Categories

Resources