[Miscellaneous Android Development] Just_Another_N00b:
How can I set /system/bin and /system/xbin back to original on A1-810?

I looked at the (A1-810 special) tarbal su.tgz, and see what it does, but I am not sure what the original setup was in /system/bin and /system/xbin on the A1-810 before the rooting process. I suppose I can mount the original system.inage.gz loopback-wise and examine the contents, or (as an alternative) modify your root-python-script to only upload the original system image, thus in effect unrooting the device, but it is so much simpeler to be told how it was before rooting on any non-rooted A1-810 or any B1 (rooted or not) that did not have the wrapper installed.

What I need to know is whether or not busybox was originally there and everything symlinked to it, or a standard set of shell-commands, or maybe even nothing.

What I want to do is to ONLY undo the mount wrapper, as I see that it creates more headaches on the A1-810 than that it solves...

Could anybody tell me what is present (either ls -al or a screenshot showing sizes/dates and possibly symlinks) on both /system/bin and /system/xbin on a non-rooted A1-810 or a B1 (either rooted or unrooted, as the su.tgz is a A1-810 special)?

--- Update ---

I loopback mounted the pre-root system image and found all the stuff there. If people would like to know what the ORIGINAL contents is of /system/bin on an A1-810, it is this:

total 10596
-rwxr-xr-x 1 root 2000 18400 May 5 2013 6620_launcher
-rwxr-xr-x 1 root 2000 9496 May 5 2013 6620_wmt_concurrency
-rwxr-xr-x 1 root 2000 5440 May 5 2013 aal
-rwxr-xr-x 1 root 2000 9412 May 5 2013 abcc
-rwxr-xr-x 1 root 2000 13636 Nov 15 23:33 acer_getevent
-rwxr-xr-x 1 root 2000 9464 Aug 1 2008 acer_initd
-rwxr-xr-x 1 root 2000 112864 May 5 2013 adb
-rwxr-xr-x 1 root 2000 13592 May 5 2013 aee
-rwxr-xr-x 1 root 2000 83836 May 5 2013 aee_aed
-rwxr-xr-x 1 root 2000 9632 May 5 2013 aee_core_forwarder
-rwxr-xr-x 1 root 2000 17764 May 5 2013 aee_dumpstate
-rwxr-xr-x 1 root 2000 34256 May 5 2013 akmd8963
-rwxr-xr-x 1 root 2000 30168 May 5 2013 akmd8975
-rwxr-xr-x 1 root 2000 191 May 5 2013 am
-rwxr-xr-x 1 root 2000 30036 May 5 2013 ami304d
-rwxr-xr-x 1 root 2000 53568 May 5 2013 applypatch
-rwxr-xr-x 1 root 2000 9528 May 5 2013 app_process
-rwxr-xr-x 1 root 2000 9528 May 5 2013 atrace
-rwxr-xr-x 1 root 2000 21816 May 5 2013 badblocks
-rwxr-xr-x 1 root 2000 199 May 5 2013 bmgr
-rwxr-xr-x 1 root 2000 59312 May 5 2013 bmm050d
-rwxr-xr-x 1 root 2000 34164 Nov 15 23:33 bootanimation
-rwxr-xr-x 1 root 2000 9472 May 5 2013 boot_logo_updater
-rwxr-xr-x 1 root 2000 13560 May 5 2013 btconfig
-rwxr-xr-x 1 root 2000 5368 May 5 2013 btlogmask
-rwxr-xr-x 1 root 2000 156 May 5 2013 bu
-rwxr-xr-x 1 root 2000 1601 May 5 2013 bugmailer.sh
-rwxr-xr-x 1 root 2000 5368 May 5 2013 bugreport
lrwxr-xr-x 1 root 2000 7 May 5 2013 cat -> toolbox
-rwxr-xr-x 1 root 2000 67104 May 5 2013 ccci_fsd
-rwxr-xr-x 1 root 2000 21832 May 5 2013 ccci_mdinit
-rwxr-xr-x 1 root 2000 5424 May 5 2013 check_adb
-rwxr-xr-x 1 root 2000 994548 Aug 1 2008 chkntfs
lrwxr-xr-x 1 root 2000 7 May 5 2013 chmod -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 chown -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 cmp -> toolbox
-rwxr-xr-x 1 root 2000 207 May 5 2013 content
lrwxr-xr-x 1 root 2000 7 May 5 2013 cp -> toolbox
-rwxr-xr-x 1 root 2000 5368 May 5 2013 dalvikvm
lrwxr-xr-x 1 root 2000 7 May 5 2013 date -> toolbox
-rwxr-xr-x 1 root 2000 132456 May 5 2013 dbus-daemon
lrwxr-xr-x 1 root 2000 7 May 5 2013 dd -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 debuggerd -> aee_aed
-rwxr-xr-x 1 root 2000 9412 May 5 2013 dexopt
lrwxr-xr-x 1 root 2000 7 May 5 2013 df -> toolbox
-rwxr-xr-x 1 root 2000 116312 May 5 2013 dhcp6c
-rwxr-xr-x 1 root 2000 13560 May 5 2013 dhcp6ctl
-rwxr-xr-x 1 root 2000 107928 May 5 2013 dhcp6s
-rwxr-xr-x 1 root 2000 71092 May 5 2013 dhcpcd
-rwxr-xr-x 1 root 2000 34152 May 5 2013 dm_agent_binder
lrwxr-xr-x 1 root 2000 7 May 5 2013 dmesg -> toolbox
-rwxr-xr-x 1 root 2000 105828 May 5 2013 dnsmasq
-rwxr-xr-x 1 root 2000 9524 May 5 2013 dpfd
-rwxr-xr-x 1 root 2000 58680 Nov 15 23:33 drmserver
lrwxr-xr-x 1 root 2000 7 May 5 2013 du -> toolbox
-rwxr-xr-x 1 root 2000 99892 May 5 2013 dualmdlogger
-rwxr-xr-x 1 root 2000 42300 May 5 2013 dumpstate
-rwxr-xr-x 1 root 2000 9468 May 5 2013 dumpsys
-rwxr-xr-x 1 root 2000 17848 May 5 2013 ext4_resize
-rwxr-xr-x 1 root 2000 916424 Nov 15 23:33 factory
-rwxr-xr-x 1 root 2000 34408 Nov 15 23:33 fsck_msdos
-rwxr-xr-x 1 root 2000 46756 May 5 2013 fsck_msdos_mtk
-rwxr-xr-x 1 root 2000 22208 May 5 2013 geomagneticd
lrwxr-xr-x 1 root 2000 7 May 5 2013 getevent -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 getprop -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 grep -> toolbox
-rwxr-xr-x 1 root 2000 58792 May 5 2013 gsm0710muxd
-rwxr-xr-x 1 root 2000 58792 May 5 2013 gsm0710muxdmd2
-rwxr-xr-x 1 root 2000 9464 May 5 2013 gzip
-rwxr-xr-x 1 root 2000 17660 May 5 2013 hald
lrwxr-xr-x 1 root 2000 7 May 5 2013 hd -> toolbox
-rwxr-xr-x 1 root 2000 5316 May 5 2013 hdc
lrwxr-xr-x 1 root 2000 7 May 5 2013 id -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 ifconfig -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 iftop -> toolbox
-rwxr-xr-x 1 root 2000 194 May 5 2013 ime
-rwxr-xr-x 1 root 2000 201 May 5 2013 input
lrwxr-xr-x 1 root 2000 7 May 5 2013 insmod -> toolbox
-rwxr-xr-x 1 root 2000 30196 May 5 2013 installd
lrwxr-xr-x 1 root 2000 7 May 5 2013 ioctl -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 ionice -> toolbox
-rwxr-xr-x 1 root 2000 149096 May 5 2013 ip
-rwxr-xr-x 1 root 2000 187384 May 5 2013 ip6tables
-rwxr-xr-x 1 root 2000 26032 Nov 15 23:33 ipod
-rwxr-xr-x 1 root 2000 196272 May 5 2013 iptables
-rwxr-xr-x 1 root 2000 18376 May 5 2013 keystore
lrwxr-xr-x 1 root 2000 7 May 5 2013 kill -> toolbox
-rwxr-xr-x 1 root 2000 63176 May 5 2013 linker
lrwxr-xr-x 1 root 2000 7 May 5 2013 ln -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 log -> toolbox
-rwxr-xr-x 1 root 2000 13632 May 5 2013 logcat
-rwxr-xr-x 1 root 2000 9536 May 5 2013 logwrapper
lrwxr-xr-x 1 root 2000 7 May 5 2013 ls -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 lsmod -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 lsof -> toolbox
-rwxr-xr-x 1 root 2000 25952 May 5 2013 magd
-rwxr-xr-x 1 root 2000 10324 May 5 2013 make_ext4fs
-rwxr-xr-x 1 root 2000 5376 May 5 2013 matv
lrwxr-xr-x 1 root 2000 7 May 5 2013 md5 -> toolbox
-rwxr-xr-x 1 root 2000 99892 May 5 2013 mdlogger
-rwxr-xr-x 1 root 2000 5316 May 5 2013 md_minilog_util
-rwxr-xr-x 1 root 2000 259464 Nov 15 23:33 mdnsd
-rwxr-xr-x 1 root 2000 9424 May 5 2013 mediaserver
-rwxr-xr-x 1 root 2000 5316 May 5 2013 memorydumper
-rwxr-xr-x 1 root 2000 17904 May 5 2013 memsicd
-rwxr-xr-x 1 root 2000 71132 Nov 15 23:33 mfv_ut
lrwxr-xr-x 1 root 2000 7 May 5 2013 mkdir -> toolbox
-rwxr-xr-x 1 root 2000 131360 May 5 2013 mke2fs
-rwxr-xr-x 1 root 2000 835396 Aug 1 2008 mkntfs
-rwxr-xr-x 1 root 2000 157456 May 5 2013 mksh
-rwxr-xr-x 1 root 2000 50716 May 5 2013 mobile_log_d
-rwxr-xr-x 1 root 2000 217 May 5 2013 monkey
lrwxr-xr-x 1 root 2000 7 May 5 2013 mount -> toolbox
-rwxr-xr-x 1 root 2000 13584 Nov 15 23:33 mpud6050
-rwxr-xr-x 1 root 2000 5316 May 5 2013 msensord
-rwxr-xr-x 1 root 2000 511500 May 5 2013 mtk_agpsd
-rwxr-xr-x 1 root 2000 1020948 Nov 15 23:33 mtkbt
-rwxr-xr-x 1 root 2000 17876 May 5 2013 mtpd
-rwxr-xr-x 1 root 2000 5316 Nov 15 23:33 muxreport
lrwxr-xr-x 1 root 2000 7 May 5 2013 mv -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 nandread -> toolbox
-rwxr-xr-x 1 root 2000 5316 May 5 2013 ndc
-rwxr-s--- 1 root 3003 5500 May 5 2013 netcfg
-rwxr-xr-x 1 root 2000 87788 May 5 2013 netd
-rwxr-xr-x 1 root 2000 681628 Nov 15 23:33 netdiag
lrwxr-xr-x 1 root 2000 7 May 5 2013 netstat -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 newfs_msdos -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 notify -> toolbox
-rwxr-xr-x 1 root 2000 21804 May 5 2013 nvram_agent_binder
-rwxr-xr-x 1 root 2000 13768 May 5 2013 nvram_daemon
-rwxr-xr-x 1 root 2000 14672 May 5 2013 orientationd
-rwxr-xr-x 1 root 2000 5316 May 5 2013 permission_check
-rwxr-sr-x 1 root 3004 26072 May 5 2013 ping
-rwxr-xr-x 1 root 2000 191 May 5 2013 pm
-rwxr-xr-x 1 root 2000 5368 May 5 2013 poad
-rwxr-xr-x 1 root 2000 141884 May 5 2013 pppd
-rwxr-xr-x 1 root 2000 141884 May 5 2013 pppd_dt
-rwxr-xr-x 1 root 2000 16484 May 5 2013 pq
lrwxr-xr-x 1 root 2000 7 May 5 2013 printenv -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 ps -> toolbox
-rwxr-xr-x 1 root 2000 166828 May 5 2013 racoon
-rwxr-xr-x 1 root 2000 55524 May 5 2013 radvd
lrwxr-xr-x 1 root 2000 7 May 5 2013 reboot -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 renice -> toolbox
-rwxr-xr-x 1 root 2000 188 May 5 2013 requestsync
-rwxr-xr-x 1 root 2000 67036 May 5 2013 resize2fs
-rwxr-xr-x 1 root 2000 9536 May 5 2013 rild
-rwxr-xr-x 1 root 2000 9536 May 5 2013 rildmd2
lrwxr-xr-x 1 root 2000 7 May 5 2013 rm -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 rmdir -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 rmmod -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 route -> toolbox
-rwxr-xr-x 1 root 2000 5400 May 5 2013 rtt
-rwsr-s--- 1 root 2000 9464 May 5 2013 run-as
-rwxr-xr-x 1 root 2000 79204 Nov 15 23:33 sbchk
-rwxr-xr-x 1 root 2000 5316 May 5 2013 schedtest
lrwxr-xr-x 1 root 2000 7 May 5 2013 schedtop -> toolbox
-rwxr-xr-x 1 root 2000 9424 May 5 2013 screencap
-rwxr-xr-x 1 root 2000 38284 May 5 2013 screenshot
-rwxr-xr-x 1 root 2000 17716 Nov 15 23:33 sdcard
-rwxr-xr-x 1 root 2000 5368 May 5 2013 sdiotool
-rwxr-xr-x 1 root 2000 173 May 5 2013 send_bug
lrwxr-xr-x 1 root 2000 7 May 5 2013 sendevent -> toolbox
-rwxr-xr-x 1 root 2000 5368 May 5 2013 sensorservice
-rwxr-xr-x 1 root 2000 13564 May 5 2013 service
-rwxr-xr-x 1 root 2000 9620 May 5 2013 servicemanager
lrwxr-xr-x 1 root 2000 7 May 5 2013 setconsole -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 setprop -> toolbox
-rwxr-xr-x 1 root 2000 178 May 5 2013 settings
lrwxr-xr-x 1 root 2000 4 May 5 2013 sh -> mksh
-rwxr-xr-x 1 root 2000 9692 May 5 2013 shutdown
lrwxr-xr-x 1 root 2000 7 May 5 2013 sleep -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 smd -> toolbox
-rwxr-xr-x 1 root 2000 46392 May 5 2013 stagefright
lrwxr-xr-x 1 root 2000 7 May 5 2013 start -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 stop -> toolbox
-rwxr-xr-x 1 root 2000 17704 May 5 2013 stp_dump3
-rwxr-xr-x 1 root 2000 34100 May 5 2013 superumount
-rwxr-xr-x 1 root 2000 5388 May 5 2013 surfaceflinger
-rwxr-xr-x 1 root 2000 192 May 5 2013 svc
lrwxr-xr-x 1 root 2000 7 May 5 2013 sync -> toolbox
-rwxr-xr-x 1 root 2000 5328 May 5 2013 system_server
-rwxr-xr-x 1 root 2000 67108 May 5 2013 tc
-rwxr-xr-x 1 root 2000 5628 May 5 2013 thermal
-rwxr-xr-x 1 root 2000 5316 May 5 2013 thermal_manager
-rwxr-xr-x 1 root 2000 134912 May 5 2013 toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 top -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 touch -> toolbox
-rwxr-xr-x 1 root 2000 3748 May 5 2013 uiautomator
lrwxr-xr-x 1 root 2000 7 May 5 2013 umount -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 uptime -> toolbox
-rwxr-xr-x 1 root 2000 5316 May 5 2013 vdc
lrwxr-xr-x 1 root 2000 7 May 5 2013 vmstat -> toolbox
-rwxr-xr-x 1 root 2000 108216 Nov 15 23:33 vold
lrwxr-xr-x 1 root 2000 7 May 5 2013 watchprops -> toolbox
lrwxr-xr-x 1 root 2000 7 May 5 2013 wipe -> toolbox
-rwxr-xr-x 1 root 2000 5416 May 5 2013 wlan_loader
-rwxr-xr-x 1 root 2000 678480 Nov 15 23:33 wpa_supplicant
-rwxr-xr-x 1 root 2000 9464 May 5 2013 xlog

If people would like to know what the ORIGINAL contents is of /system/xbin on an A1-810, it is this:

total 1768
-rwxr-xr-x 1 root 2000 59776 May 5 2013 dexdump
-rwxr-xr-x 1 root 2000 1059856 Nov 15 23:33 libmnlp_mt6628
-rwxr-xr-x 1 root 2000 30576 Nov 15 23:33 mnld
-rwxr-xr-x 1 root root 652900 Aug 1 2008 tcpdump

My build.prop for the Canuck A1-810 is:

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=JDQ39
ro.build.display.id=Acer_AV052_A1-810_1.119.00_PA_CA
ro.build.version.incremental=1381148080
ro.custom.build.version=1381148080
ro.build.version.sdk=17
ro.build.version.codename=REL
ro.build.version.release=4.2.2
ro.build.date=Mon Oct 7 21:07:42 CST 2013
ro.build.date.utc=1381151262
ro.build.type=user
ro.build.user=pandora
ro.build.host=pandora05
ro.build.tags=release-keys
ro.build.sku=PA_CA
ro.product.model=A1-810
ro.product.brand=acer
ro.product.name=a1-810_pa_ca
ro.product.device=mango
ro.product.board=a1-810_pa_ca
ro.product.id=Mango
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Acer
ro.product.locale.language=en
ro.product.locale.region=CA
ro.wifi.channels=
ro.board.platform=
# ro.build.product is obsolete; use ro.product.device
ro.build.product=mango
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=a1-810_pa_ca-user 4.2.2 JDQ39 1381148080 release-keys
ro.build.fingerprint=acer/a1-810_pa_ca/mango:4.2.2/JDQ39/1381148080:user/release-keys
ro.build.flavor=
ro.build.characteristics=tablet
# end build properties

# begin mediatek build properties
ro.mediatek.version.release=ALPS.JB2.MP.V1.3
ro.mediatek.platform=MT6589
ro.mediatek.chip_ver=S01
ro.mediatek.version.branch=ALPS.JB2.MP
ro.mediatek.version.sdk=1
# end mediatek build properties
#
# system.prop for generic sdk
#

rild.libpath=/system/lib/mtk-ril.so
rild.libargs=-d /dev/ttyC0

# MTK, Infinity, 20090720 {
wifi.interface=wlan0
# MTK, Infinity, 20090720 }

# MTK, mtk03034, 20101210 {
ro.mediatek.wlan.wsc=1
# MTK, mtk03034 20101210}
# MTK, mtk03034, 20110318 {
ro.mediatek.wlan.p2p=1
# MTK, mtk03034 20110318}

# MTK, mtk03034, 20101213 {
mediatek.wlan.ctia=0
# MTK, mtk03034 20101213}

ro.sf.lcd_density=160

#
wifi.tethering.interface=ap0
#

ro.opengles.version=131072

wifi.direct.interface=p2p0
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.heapsize=256m

# USB MTP WHQL
ro.sys.usb.mtp.whql.enable=0

# Power off opt in IPO
sys.ipo.pwrdncap=2

ro.sys.usb.storage.type=mtp

# USB BICR function
ro.sys.usb.bicr=no

# USB Charge only function
ro.sys.usb.charging.only=no

# audio
ro.camera.sound.forced=0
ro.audio.silent=0

#ipo
sys.ipo.tbl=1

ro.zygote.preload.enable=0

ro.dinfo.version=1.0
ro.cpu.vendor=MTK
ro.cpu.speed=1.2 GHz
ro.cpu.version=MT8125
ro.ram.size=1024MB

#
# ADDITIONAL_BUILD_PROPERTIES
#
ril.specific.sm_cause=0
gps.solution.combo.chip=1
ril.external.md=0
fmradio.driver.chip=3
ro.sf.hwrotation=0
ril.current.share_modem=1
launcherplus.allappsgrid=2d
launcher2.allappsgrid=3d_20
curlockscreen=1
ro.mediatek.gemini_support=false
ro.gemini.smart_3g_switch=0
persist.mtk.wcn.combo.chipid=-1
drm.service.enabled=true
fmradio.driver.enable=0
ril.first.md=1
ril.flightmode.poweroffMD=1
ril.telephony.mode=1
ril.radiooff.poweroffMD=0
dalvik.vm.mtk-stack-trace-file=/data/anr/mtk_traces.txt
mediatek.wlan.chip=MT6628
mediatek.wlan.module.postfix=_mt6628
ro.config.notification_sound=Proxima.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.ringtone=Backroad.ogg
ro.build.pandora.id=Acer_AV052_A1-810_RV27RC02_PA_CA
ro.build.img_pn.id=FM.NLXA0.03L
ro.error.receiver.system.apps=com.acer.android.acernidus
ro.com.google.clientidbase=android-acer
ro.com.google.clientidbase.yt=android-acer
ro.com.google.clientidbase.ms=android-acer
ro.com.google.clientidbase.am=android-acer
ro.com.google.clientidbase.gmm=android-acer
ro.carrier=wifi-only
ro.network.type=wifi
ro.com.google.gmsversion=4.2_r3
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt