2014年8月7日 星期四

htop on Android


  1. Need root
  2. Check $TERM is vt100 or not
    1. adb shell 
    2. echo $TERM
    3. Yes then go on, or download other terminal info from http://z4ziggy.wordpress.com/2010/09/17/a-short-guide-to-install-midnight-commander-on-android/
  3. Download htop and libncurses.so for arm, find on web
  4. Run script
# /bin/bash
adb remount
adb push htop /system/bin/
adb shell chmod 755 /system/bin/htop
adb push libncurses.so /system/lib
adb shell mkdir /system/usr/share/terminfo
adb shell mkdir /system/usr/share/terminfo/v
adb push vt100 /system/usr/share/terminfo/v/
adb shell 'echo export TERMINFO="/system/usr/share/terminfo/" >> /system/etc/mkshrc'
adb shell 'echo busybox resize >> /system/etc/mkshrc'
adb remount




1 則留言:

kaimijacintah 提到...

Slot Machines - JTHub
Get Your Free 서산 출장안마 Spins. When 동두천 출장안마 you play, 충청남도 출장샵 you 수원 출장안마 can get free spins on games that will bring 보령 출장샵 you the greatest rewards you can possibly imagine. With slots,