logo logo

Brexit Stolen Votes


BSD-PIE icon

BSD icon

Gnu icon

Linux icon






Android robot.svgAndroid - a BSD view BSD logo

QR code = =

By Julian H. Stacey (a Unix Consultant, Unix (inc. FreeBSD & Linux etc) since 1978, Android since 2014)

Notes re. Android for BSD (and other) Unix users & programmers who heavily value free public domain source code.


Android robot.svg Android App Stores

Connectivity: BSD logoFreeBSD tools and Android apps. Android robot.svg

Tethering FreeBSD PC & Android Smart Phone

  • Purpose: Travelling, Android WLAN to internet, FreeBSD PC with no WLAN hardware via Android to Internet
    FreeBSD pc as client, via USB to Android as router/server with WLAN; then via WLAN to an Internet DSL router.
    + Tethering - common elements for either direction

    • PC
      • Connecting usb creates these in /dev/ :
        • lrwxr-xr-x 1 root wheel 9 Nov 9 21:24 ./ugen1.6 -> usb/1.6.0
        • crw------- 1 root operator 0x9a Jul 26 18:03 ./usb/1.6.0
        • crw------- 1 root operator 0x9c Jul 26 18:03 ./usb/1.6.1
        • crw------- 1 root operator 0x9d Jul 26 18:03 ./usb/1.6.2
        • crw------- 1 root operator 0x9e Jul 26 18:03 ./usb/1.6.3
        • crw------- 1 root operator 0x9f Jul 26 18:03 ./usb/1.6.4
        • crw------- 1 root operator 0xa0 Jul 26 18:03 ./usb/1.6.5
      • For urndis USB Remote NDIS Ethernet device driver, Use FreeBSD-9.3-RELEASE or newer, not 9.2 & not 10.0, .
      • /boot/loader.conf Add if_urndis_load="YES" Or
        /sys/amd64/conf/ Add "device urndis"
        config -x /boot/kernel/kernel | grep urndis
    • Android
      • Turn off auto update in Google Pay store, \F-Droid, Navigator map app & anything else heavy, eg browser pre load & BBC etc.
      • Touch "Settings ; Connections ; Data usage ; Mobile data"
      • Touch "Settings ; Connections ; Tethering and portable hot spot ; USB tethering";
        After a few seconds it shows "Tethered" + a green tick.
    • PC
      • The tethering causes these in /dev/ :
        • Disappears: usb/1.6.3
          Or 2017-07-26 these disappear: usb/1.6.4, usb/1.6.5
        • Adds: crw------- 1 root operator 0xa1 Nov 9 21:24 ./usb/1.6.2
      • ifconfig -a # Or
        ifconfig ue0
        • I should be able to call ifconfig from attach in devd.conf, but I fail with "Executing 'logger Unknown USB device: vendor 0x04e8 product 0x6863 bus uhub4' "
        • Shows: ue0: flags=8802<BROADCAST, SIMPLEX, MULTICAST> metric 0 mtu 1500
      • cp /etc/ resolv.conf /tmp/ resolv.conf.cp
      • Caution: If PC is configured with /etc/ rc.conf ifconfig_wlan0="DHCP" enabling DHCP for WLAN, the next dhclient will overwrite /etc/ resolv.conf with
        which kills routing to other devices on PC's ethernet.
      • dhclient -d ue0 # Configures network interface using DHCP (runs in foreground).
      • cat /tmp/ resolv.conf.cp /etc/ resolv.conf \
        | grep '^nameserver' | sort | uniq \
        > /tmp/ resolv.conf.tmp
      • Prune back to max 3 nameservers:
        vi /tmp/ resolv.conf.tmp
      • mv /tmp/ resolv.conf.tmp /etc/ resolv.conf
      • vi /tmp/ resolv.conf.cp /etc/ resolv.conf
      • ifconfig ue0
        inet netmask 0xffffff00 broadcast OR
        inet netmask 0xffffff00 broadcast
      • Shows local address assigned by Android to PC (a class C private address).
      • # Display IP & MAC numbers of interface.
        arp -a -i ue0
        • ( at xx:xx:xx:xx:xx:xx on ue0 permanent [ethernet] OR
          ? ( at xx:xx:xx:xx:xx:xx on ue0 expires in 853 seconds [ethernet]
          ? ( at xx:xx:xx:xx:xx:xx on ue0 permanent [ethernet]
      • Android: Browser shows REMOTE_ADDR=""
      • Instead of dhclient and repairing /etc/ resolv.conf, as [just my?] Android allocates the same numbers each time, one can just:
      • ifconfig ue0
    • Android: After enabling tethering on android, the android browser can see PC apache httpd (where I can stage downloaded android apps from internet).
    • FreeBSD: ping
    • Android:
      • Stops android screen becoming non responsive.
      • Touch Internet icon. A browser starts
      • Each touch on a browser link URL (even a numeric local one), Android shows:
        "No network connection. Mobile data turned off. Connected to Wi-Fi network instead or turn on mobile data and try again."
        Just click OK each time, then it shows the new page.
      • Touch URL bar at top.
      • Type in
    • Purpose: At home, debugging:
      Android as client, via USB to FreeBSD PC as router; then PC via ethernet (local class C private addresses) to a LAN proxy gateway connecting to Internet

      • (See also above for some common stuff, eg about FreeBSD urndis).
      • See Also freebsd . org / doc / handbook / network - usb - tethering . html
      • PC
        • /etc/ rc.conf: gateway_enable="YES"
        • PC sysctl net.inet.ip.forwarding=1
      • Android
      • xinotes. net / notes / note / 1496 shows:
        cat /proc/net/route
        ip route show
        So I tried:
        route add default gw dev rndis0
        Which error-ed: Operation not permitted,
        & still error-ed after
        Settings -> General -> Developer Options ->
        { USB Debugging : Allow = ON ; Allow Mock locations : ON }
        JJLATER Not sure if needed.
        So I assume syntax OK, I "just" need to root the device.
      • Meantime on PC / usr / local / etc / apache22 / httpd.conf
        <IfModule mod_proxy.c>
        ProxyRequests On
        <Directory proxy:*>
        Order deny,allow
        Deny from all
        Allow from
        ProxyVia On
        NoCache *
        This works, allow android to access other internal servers
        but not sure how to get cascade of apaches, so the apache on PC of the smart phones should use the LAN gate apache as a proxy.
      • To try: ipfw packet diversion direct from phone USB to LAN host=gate proxy.
      • I gave up on above, & now use WLAN for Android, which is safer, as now the Android is on my WLAN sub net, which my firewall does not allow to communicate to internal trusted BSD net.
    • Top Of Page

BSD logo   FreeBSD Ports

  • ADB:
    • ADB: "Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device."
    • developer . android . com / studio / command - line / adb . html
    • devel/android-tools-adb & devel/android-tools-adb-devel
    • developer . android . com / tools / help / index . html" Tools Help" (rec. from pkg-descr)
    • developer . android . com / tools / help / adb . html"Android Debug Bridge"
    • developer . android . com / guide / topics / connectivity / usb / index . htmlUSB Host and Accessory
    • Working syntax:
      • Settings > Connections > Wi-Fi = Off (Block against possible infiltration from own insecure Androids on WLAN or from others unknown who might crack my WLAN & then try to progress to internal network).
      • Settings > General > Developer options > USB debugging = On
      • Settings > General > Developer options > Allow mock locations = 0n.
        JJLATER Not sure if needed. 2016-11-20 off to try.
      • Other stuff maybe to check:
      • Connect USB cable.
        devd reports: Unknown USB device: vendor 0x04e8, product 0x6860
      • Settings > Connections > Tethering and portable hot spot > USB tethering tick to tether, toggle it to see:
        Off: devd reports vendor 0x04e8, product 0x6860
        On: devd reports vendor 0x04e8, product 0x6864
      • On adds an interface shown by PC ifconfig -a
        ue0: flags=8802@lt;BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
         ether xx:xx:xx:xx:xx:xx
      • Settings > Notifications, if you see "Connected as a media device - Touch for other USB options" Touch it & see "Media device (MTP), Touch "Camera (PTP)", devd now shows: " vendor 0x04e8 product 0x6866", but "xs adb shell" still fails
      • cd /usr/ports/devel/android-tools-adb; make; su; make install
      • echo "There is no manual.";
        vi /usr/local/share/doc/android-tools-adb/*
      • adb wait-for-device
        * daemon not running. starting it now on port 5037 *
        * daemon started successfully *
      • adb start-server
      • adb kill-server
      • adb get-state
      • adb get-serialno
        6758498c # ( As seen & listed by berklix.conf )
      • adb devices -l
        List of devices attached
        6758498c device product:hltexx model:SM_N9005 device:hlte
      • adb connect 6758498c
        "unable to connect to 6758498c:5555" .........
      • adb disconnect
      • adb get-devpath
        unknown OR
      • adb remount
        remount failed: Permission denied
      • adb root
        adb cannot run as root in production builds
      • adb usb # Needed before adb shell will succeed
        * daemon not running. starting it now on port 5037 *
        * daemon started successfully *
        restarting in USB mode
      • adb shell
        cd /etc; ls -l vold.fstab; cat vold.fstab
        df | more
        ls | more
        mount | more
        mount | grep /storage
        All of these are missing: bash csh ed find head ksh sort su tail tar vi wc
        Though ps is there, so are '>' and '|'.
        which ls
        /system/bin/sh: which: not found
        cd /system/bin
        ATFWD-daemon PktRspTest StoreKeybox adb adsprpcd am androidshmservice apaclient apaservice app_process applypatch at_distributor atrace auditd bintvoutservice blkid bmgr bootanimation bootchecker brctl bridgemgrd btnvtool bu bugreport cat ccm_gen_cert charger_monitor charon chcon chmod chown clatd clear cmp cnd connfwexe content cp cplay crda createsystemfile cs curl dalvikvm date dd ddexe debuggerd dexopt df dhcpcd diag_callback_client diag_dci_sample diag_klog diag_mdlog diag_socket_log diag_uart_log dmesg dnsmasq drmdiagapp drmserver drsd ds_fmc_appd dsdnsutil du dumpstate dumpsys e2fsck ebtables edmaudit efsks epmd flatland fmconfig fmfactorytest fmfactorytestserver freshsebool fsck.exfat fsck_msdos ftmdaemon getenforce getevent getprop getsebool grep gsiff_daemon gzip hci_qcomm_init hd hostapd hostapd_cli hvdcp icd id ifconfig iftop ime immvibed ims_rtp_daemon imsdatadaemon imsqmidaemon input insmod installd insthk ioctl ionice ip ip6tables ipruleset iptables irsc_util isdbtmmtest jackd jackservice keystore kill ks linker ln load_policy log logcat logwrapper lpm ls lsmod lsof macloader make_ext4fs mcDriverDaemon mcStarter md5 mdnsd media mediaserver mfgloader mkdir mkfs.exfat mksh mkswap mm-jpeg-dec-test mm-jpeg-enc-test mm-pp-daemon mm-qcamera-daemon mm-qjpeg-dec-test mm-qjpeg-enc-test mm-qomx-ienc-test mm-vdec-omx-test mm-venc-omx-test720p mm-video-driver-test mm-video-encdrv-test monkey mount mpdecision mtpd mv n_smux nandread ndc netcfg netd netstat newfs_msdos nl_listener notify npsmobex odekeymgr olsrd ping ping6 pm port-bridge pppd printenv profiler_daemon ps qcks qmiproxy qmuxd qosmgr qrngd qrngtest qseecom_sample_client qseecom_security_test qseecomd racoon radish readlink reboot regdbdump renice requestsync restorecon rfs_access rild rm rmdir rmmod rmt_storage route run-as runcon samsungpowersoundplay schedtest schedtop scranton_RD screencap screenrecord screenshot sdcard secure_storage_daemon sendevent sensorhubservice sensorservice service servicemanager setconsole setenforce setprop setsebool settings setup_fs sfotahelper sh sleep smd smdexe ss_conn_daemon ssr_diag start stop strgrep subsystem_ramdump surfaceflinger svc swapoff swapon sync tc test_diag thermal-engine thermald tima_dump_log time_daemon tinycap tinymix tinypcminfo tinyplay tlcWrapperApp tlc_server toolbox top touch uiautomator umount uptime usbhub usbhub_init vdc vmstat vold watchprops wcnss_filter wcnss_service wdsdaemon wipe wlandutservice wm wpa_supplicant
      • adb backup -f /data /android /20151110.ab -apk -obb -shared -all -system
        Now unlock your device and confirm the backup operation.
        touch "Back up my data" on the Android device.
        This froze at 13G, then at 2G 3rd attempt I removed the USB hub, & it still hung at 17G 17967444146. ^Z fg does not restore it, nor does unplugging & replugging. /var/log/messages:
        kernel: ums1: at uhub3, port 3, addr 4 (disconnected)
        lapr kernel: ugen1.4: <SAMSUNG> at usbus1
        root: Unknown USB device: vendor 0x04e8 product 0x6866 bus uhub3
        root: Unknown USB device: vendor 0x04e8 product 0x6866 bus uhub3
        kernel: ugen1.4: <SAMSUNG> at usbus1 (disconnected)
        kernel: ugen1.4: <SAMSUNG> at usbus1
        root: Unknown USB device: vendor 0x04e8 product 0x6866 bus uhub3
        root: Unknown USB device: vendor 0x04e8 product 0x6866 bus uhub3
        kernel: ugen1.4: <SAMSUNG> at usbus1 (disconnected)
    • Next read: developer . android . com / tools / help / adb . html
      I want to IP connect & SSH/Rlogin NFS etc.
  • devel / android - tools - fastboot &
    devel / android - tools - fastboot - devel
    A diagnostic protocol primarily used to update the flash filesystem of Android devices over USB.
    JJLATER to_build
  • devel / android - tools - simpleperf a minimal Linux perf implementation for extracting sampling information out of
  • Clues to extra Android tools in FreeBSD may lie in:
    cd /pub/FreeBSD/branches/-current/ports/distfiles
    find . -type f -name \*android\* \;
  • gnatdroid- sysroot Sysroots for C/Ada Android cross- compiler
  • audio/gmtp
    Basic GUI for Microsoft's Media Transfer Protocol (MTP) 2 including file transfer and some play list handling.
    libmtp . sourceforge . net Initiator implementation of the Media Transfer Protocol (MTP)
    MTP is used by Samsung (along with PTP too.)
  • deskutils/tine20
    includes address book, calendar, email, tasks, time tracking and CRM. .. include.. * Synchronising mobile telephones, such as iPhone, Android, Nokia and Windows Mobile
    Mail from George Mitchell george+freebsd at
  • net/crtmpserver
    High performance RTMP/RTSP streaming server rtmpd is a high performance streaming server able to stream (live or recorded) in the following technologies: - To and from Flash (RTMP, RTMPE, RTMPS, RTMPT, RTMPTE) - To and from embedded devices: iPhone, Android
  • net/linphone
    Linphone is an internet phone or Voice Over IP phone (VoIP). * With linphone you can communicate freely with people over the internet, with voice, video, and text instant messaging * Linphone makes use of the SIP protocol, an open standard for internet telephony. You can use Linphone with any SIP VoIP operator, including the free SIP audio/video service provided by * Linphone is available for desktop computers: Linux, Windows, MacOSX, and for mobile phones: Android, iPhone, Blackberry
  • net/syncthing
    Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized.
    syncthing . net Pulse (previously Syncthing) ... Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized.
    Not in 9.3 ports. In current ports/
  • lang/ gnatdroid-armv7Ada Compiler.
  • lang/ gnatdroid-binutils/ Infrastructure for C/Ada Android cross-compiler
  • x11-fonts/ roboto-fonts-ttf Android fonts
  • Top Of Page

Android robot.svg Android Apps

Android robot.svgAndroid Proxies Issues & Solutions

BSD logo Network Address Translation

Android robot.svgNotes - Merged

  • en . wikipedia . org / wiki / Android_rooting
  • Path Names
  • TREE - The directory structure.

    (What a classical Unix person would call the `Rooted' directory tree, in the classical Unix meaning of the phrase `rooted', not the new `cracked mobile phone' meaning of `rooted')
    Path names below are for a Samsung Galaxy Note 3 with a collection of apps, for a phone that has Not been rooted ... yet. (Maybe more paths will work once it is rooted).

    Preamble: Samsung has a pigging horrible set of mounts & links, but I don't yet know what part is generic Android mess, & what part is Samsung mess.
  • Manually noted paths, Seen with Terminal Emulator & adb shell

    Caution: I have added spaces between / elements, to allow web browsers to not need wide screens; That means you can not just mouse copy path names, you should remove spaces too.)
    • Mounts (a subset, manually sorted by 2nd column) seen with mount | grep -v /mnt /asec/ # 1st 3 fields.
      Samsung Galaxy Note 3
      rootfs / rootfs
      tmpfs /dev tmpfs
      /data /media /mnt /shell /emulated sdcardfs
      /data /knox /sdcard /mnt /shell /knox-emulated sdcardfs
      /data /media /storage /emulated/0 sdcardfs
      /data /media /storage /emulated /legacy sdcardfs
      /mnt /media_rw /extSdCard /storage /extSdCard sdcardfs
      /mnt /media_rw /UsbDriveA /storage /UsbDriveA sdcardfs
      sysfs /sys sysfs
      selinuxfs /sys /fs /selinux selinuxfs
      debugfs /sys /kernel /debug debugfs
      tmpfs /mnt /ob tmpfs
      tmpfs /mnt /secure tmpfs
      tmpfs /mnt /secure /asec tmpfs
      tmpfs /storage /emulated tmpfs

      Vodafone 858 mount | grep -v /mnt /asec/

      Vodafone 985N Smart Phone mount | grep -v /mnt /asec/

      Lenovo TAB A8-50 8" 3G Tablet - "Lenovo A5500-H"
      mount | grep -v /mnt /asec/

    • df | grep -v /mnt/asec # Pruned.
      Samsung Galaxy Note 3 df | grep -v /mnt/asec # Pruned.
      Filesystem Size Used Free Blksize
      /data 26.4G 22.6G 3.8G 4096
      /mnt /shell /knox-emulated 26.4G 22.6G 3.8G 4096
      /mnt /shell /emulated 26.3G 22.6G 3.7G 4096
      /storage /extSdCard 29.7G 18.4G 11.3G 32768
      Permission denied : /mnt /media_rw /extSdCard , /mnt /secure /asec , /mnt /secure /asec .

      Vodafone 858 df | grep -v /mnt/asec # Pruned.
      Filesystem Size Used Free Blksize
      /storage/sdcard1 2.0G 1.8G 160.1M 4096
      /storage/sdcard0 3.7G 43.7M 3.7G 32768

      Vodafone 985N Smart Phone df | grep -v /mnt/asec # Pruned.
      Filesystem Size Used Free Blksize

      Lenovo TAB A8-50 8" 3G Tablet - "Lenovo A5500-H"
      df | grep -v /mnt/asec # Pruned.
      Filesystem Size Used Free Blksize

    • Symbolic Links
      Samsung Galaxy Note 3
      /d -> /sys /kernel /debug
      /etc -> /system /etc
      /sdcard -> /storage /emulated /legacy
      /tombstones -> /data /tombstones
      / vendor -> /system / vendor
      /mnt /extSdCard -> /storage /extSdCard
      /mnt /sdcard0 -> /storage /emulated /legacy
      /mnt /UsbDriveA -> /storage /UsbDriveA
      /storage /knox-emulated -> /mnt /shell/knox-emulated
      /storage /sdcard0 -> /storage /emulated /legacy
      /storage /emulated /legacy -> /mnt /shell /emulated /0

    • Directories (Paths in {} are not real directories but include symbolic links. Maybe some paths with sym links are not yet in {} ).
      Samsung Galaxy Note 3
      Pictures. Device internal.
      zarchiver see /mnt /shell as empty folder; Why ?
      adb shell can "cd /mnt/shell/emulated/0/DCIM/Camera"
      zarchiver sees files in {/storage /emulated /legacy /DCIM /Camera}
      adb shell can do "cd /mnt/shell/emulated/0/DCIM/Camera"
      adb shell can do "cd /storage/emulated/legacy/dcIM" - why ? what does the lower dc to upper DC case conversion ?
      /storage/emulated/legacy/DCIM/Camera/NewArchive.tar seen by adb shell, created by zarchiver
      /mnt/shell/emulated/0/DCIM/Camera/NewArchive.tar seen by adb
      /storage /extSdCard /DCIM /Camera
      {/mnt /extSdCard /DCIM /Camera}
      Pictures. External SD Card near SIM.

      /mnt /SdCard /DCIM /Camera Pictures adb shell cannot cd /mnt /SdCard
      /storage /emulated /0 /DCIM /Camera Pictures adb shell cannot cd /storage /emulated /0
      /mnt /media_rw /extSdCard /DCIM /Camera Pictures adb shell cannot cd /media_rw

      /storage /UsbDriveA /Android Created after connecting a FAT32.
      adb shell cannot cd /storage /UsbDriveA as they use same USB socket
      /storage /UsbDriveA /LOST.DIR Created after connecting a FAT32.
      adb shell cannot cd /storage /UsbDriveA as they use same USB socket
      /storage /emulated /0 /Download /Adobe /Acrobat Firefox downloads & Acrobat uses for CT600.pdf from UK HMRC; adb shell sees no /storage /emulated /0
      /storage /emulated /0 /archives zarchiver Settings default Home Folder is /storage /emulated /0 .
      zarchiver Settings default archive Folder is /storage /emulated /0 /archives .
      adb shell sees no /storage /emulated /0 .
      /mnt /asec /ru.zdevs.zarchiver-1/ lib/*.so : Shared libs of sample app zarchiver
      /mnt/SdCard/Android/data/com.mapfactor.navigator/files Internal Storage for Navigator
      /storage/extSdCard/Android/data/com.mapfactor.navigator/files External SD Card for Navigator

    Exploration with adb shell.

    adb shell
    cd /storage /extSdCard ; mkdir jhs
    cd /storage/extSdCard/jhs
    printenv > printenv
    set > set
    df > df
    /mnt /secure /asec: Permission denied
    /mnt /media_rw /extSdCard: Permission denied
    /mnt /secure /asec: Permission denied
    du / > du
    mount > mount
    ls -R / > ls-R # Off line, not on web.
    ls -laR / > ls-laR # Off line, not on web.
    ls -laR / 2>&1 > ls-laR+errs # Off line, not on web.
    # (Also emitted repeated errors "opendir failed, Permission denied".)
    ls -la ; ls
    -rwxrwx--- root sdcard_r
    df du ls-R ls-laR ls-laR+errs mount printenv set
    chmod a+r * # Bad mode
    chmod 666 * # Unable to chmod df: Operation not permitted
    cd /mnt /shell /emulated /0 /DCIM /Camera
    ls /storage /extSdCard /DCIM /Camera
    mv * /storage /extSdCard /DCIM /Camera/
    failed on '20140808_154753.jpg' - Cross-device link
    ls -l 20140808_154753.jpg /storage /extSdCard /DCIM /Camera /20140808_154753.jpg
    -rwxrwx--- root sdcard_r 2849952 2014-08-08 15:47 20140808_154753.jpg
    /storage /extSdCard /DCIM /Camera /20140808_154753.jpg: No such file or directory
    Crappy old mv that wont move between devices ! I vaguely recall seeing similar decades ago.
    cd /storage /extSdCard /DCIM /Camera; mkdir jhs
    # End of adb shell session.
    # FreeBSD:
    cd ~/public_html /android
    adb pull /storage /extSdCard /jhs
    cd ~/pics /android /mp4+jpg
    adb pull -a /storage /extSdCard /DCIM /Camera # hung after a while, 2nd try OK.
    cd ~/pics /android /jpg
    adb pull -a /mnt /shell /emulated /0 /DCIM /Camera
    cd ~/pics /android
    adb push jpg /storage /extSdCard /DCIM /Camera /jhs # This puts current date stamp on every file. It also hung on 1st try.
    adb push -a jpg /storage /extSdCard /DCIM /Camera /jhs # Also runs, but does not preserve date, & there is no "-a" shown by "adb -help".
    Notes: Other sites re. tree hierarchy:
"The main hardware platform for Android is the 32-bit ARMv7 architecture. The Android-x86 project provides support for the x86 architecture ... it is possible to run Android natively on regular PC hardware with a keyboard and a mouse,[87][88][89] with versions of Android, including 4.4, download-able from the Android-x86 project."


X Servers


Emulators, Cross Compiling, etc

  • forums . freebsd . org "I have managed to run the Android OS with OpenGL support on FreeBSD." "gferenc88, Feb 4, 2013 "

Notes - Un-Merged

(After I've read stuff in this section [& URLs beyond & made notes], I aim to move it up to "Notes - Merged")

References and Acronyms


Corrections and Additions To This Page

Corrections and additions welcome; Ideally in ( Unix diff -c syntax), If you can't do that, quote a unique bit of page for me to search for in editor.
Email author
    mount | grep rw
    Directories I can write to with eg mkdir jhs :
    Filesystem Size Used Free Blksize
    df > /storage/extSdCard/jhs/t
    grep extSdCard /storage/extSdCard/jhs/t
    /storage/extSdCard 29.7G 29.4G 358.1M 32768
    df > /mnt/shell/emulated/jhs/t
    df | grep /mnt/shell/emulated 2>1& /dev/null
    /mnt/shell/emulated 26.3G 17.6G 8.7G 4096
    date Mon Nov 21 01:33:04 CET 2016
    cd ~/pics/android/; adb pull -a /storage/extSdCard extSdCard; date
    froze at 609 M
    Android: cd /storage/extSdCard/DCIM/Camera ; du -k 4255360 .
    FreeBSD: date; adb pull -a /storage/extSdCard/DCIM ; date
    Froze at 638 M
    # Attempt to avoid possible causes of freeze
    Android: Settings > Multi Window: Off, Screen Rotation Off, Sound Mute
    FreeBSD: cd /data/tmp; mkdir 2 2;cd 2 # away from nfs+amd target.
    froze on 143 M
    date ; adb pull -a /storage/extSdCard/DCIM/Camera ; date
    froze on 49M
See Also:

Berklix.Net Computer Associates Domains Apache: Web Server FreeBSD: Operating System Brexit Stolen Votes