早速Debian GNU/Linux Jessie/Sid with Gnome 3システムUSBでつなぐと、Gnome Filerで何かファイルが見えるではありませんか。mountされたファイルシステムに対応するものがないので、何故かなと思っていると、どうも最近は
にある(少々古い環境前提)情報が基本。現在のDebian sid/jessieのマルチアーチ対応済みの64 bit環境でルート化のために32bitアプリを走らすのは、上記に書かれているようにlib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6等をインストールする代わりに対応するlibz1:i386 (実際はこれはバーチャルパッケージなのでzlib1g:i386 をインストール)等をインストールするのが準備となります。以下その手順のおさらい:
ここでPC(Debian)のシェルからadbコマンドが動きNexus 5 にアクセスでき、Nexus 5にシェルでアクセスでき、さらにrootまでとれました。
root@hammerhead:/ # cd /system/bin
root@hammerhead:/system/bin # ls -la
drwxrwxrwx root root 1970-01-26 22:38 .ext
-rwxr-xr-x root shell 109008 2013-12-05 08:53 adb
-rwxr-xr-x root shell 210 2013-12-05 08:53 am
-rwxr-xr-x root shell 9560 2013-12-05 08:53 app_process
-rwxr-xr-x root shell 53660 2013-12-05 08:53 applypatch
-rwxr-xr-x root shell 17952 2013-12-05 08:53 atrace
-rwxr-xr-x root shell 9456 2013-12-05 08:53 bdAddrLoader
-rwxr-xr-x root shell 9568 2013-12-05 08:53 blkid
-rwxr-xr-x root shell 199 2013-12-05 08:53 bmgr
-rwxr-xr-x root shell 21852 2013-12-05 08:53 bootanimation
-rwxr-xr-x root shell 34448 2013-12-05 08:53 bridgemgrd
-rwxr-xr-x root shell 156 2013-12-05 08:53 bu
-rwxr-xr-x root shell 5408 2013-12-05 08:53 bugreport
lrwxr-xr-x root shell 2013-12-05 09:39 cat -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 chcon -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 chmod -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 chown -> toolbox
-rwxr-xr-x root shell 21840 2013-12-05 08:53 clatd
lrwxr-xr-x root shell 2013-12-05 09:39 clear -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 cmp -> toolbox
-rwxr-xr-x root shell 207 2013-12-05 08:53 content
lrwxr-xr-x root shell 2013-12-05 09:39 cp -> toolbox
-rwxr-xr-x root shell 9504 2013-12-05 08:53 dalvikvm
lrwxr-xr-x root shell 2013-12-05 09:39 date -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 dd -> toolbox
-rwxr-xr-x root shell 21792 2013-12-05 08:53 debuggerd
-rwxr-xr-x root shell 62804 2013-12-05 08:53 dex2oat
-rwxr-xr-x root shell 9452 2013-12-05 08:53 dexopt
lrwxr-xr-x root shell 2013-12-05 09:39 df -> toolbox
-rwxr-xr-x root shell 67032 2013-12-05 08:53 dhcpcd
-rwxr-xr-x root shell 5464 2013-12-05 08:53 diag_klog
-rwxr-xr-x root shell 14264 2013-12-05 08:53 diag_mdlog
lrwxr-xr-x root shell 2013-12-05 09:39 dmesg -> toolbox
-rwxr-xr-x root shell 105864 2013-12-05 08:53 dnsmasq
-rwxr-xr-x root shell 50520 2013-12-05 08:53 drmserver
-rwxr-xr-x root shell 58848 2013-12-05 08:53 ds_fmc_appd
lrwxr-xr-x root shell 2013-12-05 09:39 du -> toolbox
-rwxr-xr-x root shell 42336 2013-12-05 08:53 dumpstate
-rwxr-xr-x root shell 9500 2013-12-05 08:53 dumpsys
-rwxr-xr-x root shell 122568 2013-12-05 08:53 e2fsck
-rwxr-xr-x root shell 26200 2013-12-05 08:53 fsck_msdos
lrwxr-xr-x root shell 2013-12-05 09:39 getenforce -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 getevent -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 getprop -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 getsebool -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 grep -> toolbox
-rwxr-xr-x root shell 9500 2013-12-05 08:53 gzip
lrwxr-xr-x root shell 2013-12-05 09:39 hd -> toolbox
-rwxr-xr-x root shell 309828 2013-12-05 08:53 hostapd
lrwxr-xr-x root shell 2013-12-05 09:39 id -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 ifconfig -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 iftop -> toolbox
-rwxr-xr-x root shell 194 2013-12-05 08:53 ime
-rwxr-xr-x root shell 201 2013-12-05 08:53 input
lrwxr-xr-x root shell 2013-12-05 09:39 insmod -> toolbox
-rwxr-xr-x root shell 30220 2013-12-05 08:53 installd
lrwxr-xr-x root shell 2013-12-05 09:39 ioctl -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 ionice -> toolbox
-rwxr-xr-x root shell 165540 2013-12-05 08:53 ip
-rwxr-xr-x root shell 191520 2013-12-05 08:53 ip6tables
-rwxr-xr-x root shell 196312 2013-12-05 08:53 iptables
-rwxr-xr-x root shell 5356 2013-12-05 08:53 irsc_util
-rwxr-xr-x root shell 38340 2013-12-05 08:53 keystore
lrwxr-xr-x root shell 2013-12-05 09:39 kill -> toolbox
-rwxr-xr-x root shell 63664 2013-12-05 08:53 linker
-rwxr-xr-x u0_a88 u0_a88 1103284 2014-04-19 02:18 lm.cryptsetup
-rwxr-xr-x u0_a88 u0_a88 556728 2014-04-19 02:18 lm.mkdosfs
lrwxr-xr-x root shell 2013-12-05 09:39 ln -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 load_policy -> toolbox
lrwxrwxrwx root root 2014-04-20 16:54 log -> toolbox
-rwxr-xr-x root shell 13648 2013-12-05 08:53 logcat
-rwxr-xr-x root shell 13672 2013-12-05 08:53 logwrapper
lrwxr-xr-x root shell 2013-12-05 09:39 ls -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 lsmod -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 lsof -> toolbox
-rwxr-xr-x u0_a88 u0_a88 19362 2014-04-19 02:18 luks
-rwxr-xr-x root shell 9568 2013-12-05 08:53 make_ext4fs
lrwxr-xr-x root shell 2013-12-05 09:39 md5 -> toolbox
-rwxr-xr-x root shell 255404 2013-12-05 08:53 mdnsd
-rwxr-xr-x root shell 210 2013-12-05 08:53 media
-rwxr-xr-x root shell 13604 2013-12-05 08:53 mediaserver
lrwxr-xr-x root shell 2013-12-05 09:39 mkdir -> toolbox
-rwxr-xr-x root shell 157488 2013-12-05 08:53 mksh
lrwxr-xr-x root shell 2013-12-05 09:39 mkswap -> toolbox
-rwxr-xr-x root shell 9576 2013-12-05 08:53 mm-jpeg-interface-test
-rwxr-xr-x root shell 13604 2013-12-05 08:53 mm-qcamera-app
-rwxr-xr-x root shell 9516 2013-12-05 08:53 mm-qcamera-daemon
-rwxr-xr-x root shell 217 2013-12-05 08:53 monkey
lrwxr-xr-x root shell 2013-12-05 09:39 mount -> toolbox
-rwxr-xr-x root shell 26244 2013-12-05 08:53 mpdecision
-rwxr-xr-x root shell 17912 2013-12-05 08:53 mtpd
lrwxr-xr-x root shell 2013-12-05 09:39 mv -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 nandread -> toolbox
-rwxr-xr-x root shell 5348 2013-12-05 08:53 ndc
-rwxr-s--- root inet 5532 2013-12-05 08:53 netcfg
-rwxr-xr-x root shell 83700 2013-12-05 08:53 netd
-rwxr-xr-x root shell 117320 2013-12-05 08:53 netmgrd
lrwxr-xr-x root shell 2013-12-05 09:39 netstat -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 newfs_msdos -> toolbox
-rwxr-xr-x root shell 5356 2013-12-05 08:53 nl_listener
lrwxr-xr-x root shell 2013-12-05 09:39 notify -> toolbox
-rwxr-xr-x root shell 79272 2013-12-05 08:53 oatdump
-rwxr-xr-x root root 26124 2013-12-05 08:53 ping
-rwxr-xr-x root shell 30488 2013-12-05 08:53 ping6
-rwxr-xr-x root shell 191 2013-12-05 08:53 pm
-rwxr-xr-x root shell 17804 2013-12-05 08:53 port-bridge
-rwxr-xr-x root shell 141924 2013-12-05 08:53 pppd
lrwxr-xr-x root shell 2013-12-05 09:39 printenv -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 ps -> toolbox
-rwxr-xr-x root shell 54564 2013-12-05 08:53 qmuxd
-rwxr-xr-x root shell 5452 2013-12-05 08:53 qseecomd
-rwxr-xr-x root shell 162768 2013-12-05 08:53 racoon
-rwxr-xr-x root shell 25992 2013-12-05 08:53 radish
lrwxr-xr-x root shell 2013-12-05 09:39 readlink -> toolbox
-rwxr-xr-x root shell 5352 2013-12-05 08:53 reboot
lrwxr-xr-x root shell 2013-12-05 09:39 renice -> toolbox
-rwxr-xr-x root shell 188 2013-12-05 08:53 requestsync
lrwxr-xr-x root shell 2013-12-05 09:39 restorecon -> toolbox
-rwxr-xr-x root shell 9556 2013-12-05 08:53 rild
lrwxr-xr-x root shell 2013-12-05 09:39 rm -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 rmdir -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 rmmod -> toolbox
-rwxr-xr-x root shell 19408 2013-12-05 08:53 rmt_storage
lrwxr-xr-x root shell 2013-12-05 09:39 route -> toolbox
-rwxr-x--- root shell 9500 2013-12-05 08:53 run-as
lrwxr-xr-x root shell 2013-12-05 09:39 runcon -> toolbox
-rwxr-xr-x root shell 5356 2013-12-05 08:53 schedtest
lrwxr-xr-x root shell 2013-12-05 09:39 schedtop -> toolbox
-rwxr-xr-x root shell 9456 2013-12-05 08:53 screencap
-rwxr-xr-x root shell 17868 2013-12-05 08:53 screenrecord
-rwxr-xr-x root shell 38324 2013-12-05 08:53 screenshot
-rwxr-xr-x root shell 17692 2013-12-05 08:53 sdcard
lrwxr-xr-x root shell 2013-12-05 09:39 sendevent -> toolbox
-rwxr-xr-x root shell 303092 2013-12-05 08:53 sensors.qcom
-rwxr-xr-x root shell 5412 2013-12-05 08:53 sensorservice
-rwxr-xr-x root shell 9500 2013-12-05 08:53 service
-rwxr-xr-x root shell 9664 2013-12-05 08:53 servicemanager
lrwxr-xr-x root shell 2013-12-05 09:39 setconsole -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 setenforce -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 setprop -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 setsebool -> toolbox
-rwxr-xr-x root shell 178 2013-12-05 08:53 settings
lrwxr-xr-x root shell 2013-12-05 09:39 sh -> mksh
lrwxr-xr-x root shell 2013-12-05 09:39 sleep -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 smd -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 start -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 stop -> toolbox
-rwxr-xr-x root shell 13876 2013-12-05 08:53 subsystem_ramdump
-rwxr-xr-x root shell 5360 2013-12-05 08:53 surfaceflinger
-rwxr-xr-x root shell 192 2013-12-05 08:53 svc
lrwxr-xr-x root shell 2013-12-05 09:39 swapoff -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 swapon -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 sync -> toolbox
-rwxr-xr-x root shell 63044 2013-12-05 08:53 tc
-rwxr-xr-x root shell 171968 2013-12-05 08:53 thermal-engine-hh
-rwxr-xr-x root shell 17756 2013-12-05 08:53 time_daemon
-rwxr-xr-x root shell 139040 2013-12-05 08:53 toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 top -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 touch -> toolbox
-rwxr-xr-x root shell 3814 2013-12-05 08:53 uiautomator
lrwxr-xr-x root shell 2013-12-05 09:39 umount -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 uptime -> toolbox
-rwxr-xr-x root shell 5352 2013-12-05 08:53 usbhub
-rwxr-xr-x root shell 5356 2013-12-05 08:53 usbhub_init
-rwxr-xr-x root shell 5348 2013-12-05 08:53 vdc
lrwxr-xr-x root shell 2013-12-05 09:39 vmstat -> toolbox
-rwxr-xr-x root shell 87752 2013-12-05 08:53 vold
lrwxr-xr-x root shell 2013-12-05 09:39 watchprops -> toolbox
lrwxr-xr-x root shell 2013-12-05 09:39 wipe -> toolbox
-rwxr-xr-x root shell 190 2013-12-05 08:53 wm
-rwxr-xr-x root shell 793480 2013-12-05 08:53 wpa_supplicant