ohartl / ansible-role-android-tablet-touch-portal

An Ansible Role that installs Touch Portal on Linux.
MIT License
0 stars 0 forks source link

Process shell commands from history #1

Open ohartl opened 3 years ago

ohartl commented 3 years ago

Snapshot of terminal output from 2021-05-20T00:14:00

ashmem              mali0               ttyS1               video12
bcm2079x            media0              ttyS2               video16
binder              media1              ttyS3               video17
block/              media2              ttySAC0             video18
console             mem                 ttySAC1             video19
cpu_dma_latency     memory_throughput   ttySAC3             video23
device-mapper       mobicore            tun                 video24
egalax_i2c          mobicore-user       uhid                video25
fimg2d              mtp_usb             uinput              video26
full                network_latency     urandom             video27
fuse                network_throughput  usb-ffs/            video28
graphics/           null                usb_accessory       video29
i2c-0               ppp                 v4l-subdev0         video30
i2c-1               psaux               v4l-subdev1         video31
i2c-2               ptmx                v4l-subdev10        video32
i2c-3               pts/                v4l-subdev11        video33
i2c-4               random              v4l-subdev12        video34
i2c-5               rfkill              v4l-subdev13        video40
i2c-7               rtc0                v4l-subdev14        video41
i2c-8               s5p-smem            v4l-subdev15        video42
iio:device0         snd/                v4l-subdev16        video44
iio:device1         socket/             v4l-subdev2         video6
iio:device2         tracebuf            v4l-subdev3         video7
input/              tty                 v4l-subdev4         watchdog
ion                 ttyFIQ2             v4l-subdev5         xt_qtaguid
keychord            ttyGS0              v4l-subdev6         zero
~ # parted /dev/block/
bootdevice/   loop7         mmcblk0p5     ram11         ram5
loop0         mmcblk0       mmcblk0p6     ram12         ram6
loop1         mmcblk0boot0  mmcblk0p7     ram13         ram7
loop2         mmcblk0boot1  mmcblk0p9     ram14         ram8
loop3         mmcblk0p1     platform/     ram15         ram9
loop4         mmcblk0p2     ram0          ram2          zram0
loop5         mmcblk0p3     ram1          ram3
loop6         mmcblk0p4     ram10         ram4
~ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit b                                                           
unit b
(parted) p                                                                
p
Model: MMC MAG2GA (sd/mmc)
Disk /dev/block/mmcblk0: 15758000128B
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start       End          Size         File system  Name      Flags
 1      4194304B    25165823B    20971520B    ext4         efs
 2      25165824B   33554431B    8388608B                  param
 3      33554432B   50331647B    16777216B                 boot
 4      50331648B   83820543B    33488896B                 recovery
 5      83820544B   83886079B    65536B                    metadata
 6      83886080B   88080383B    4194304B                  misc
 7      88080384B   641728511B   553648128B   ext4         cache
 8      641728512B  2280589311B  1638860800B  ext2

(parted) help                                                             
help
  check NUMBER                             do a simple check on the file system
  cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
  help [COMMAND]                           print general help, or help on
        COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partition
        table)
  mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on
        partititon NUMBER
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
  move NUMBER START END                    move partition NUMBER
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table,
        available devices, free space, all found partitions, or a particular
        partition
  quit                                     exit program
  rescue START END                         rescue a lost partition near START
        and END
  resize NUMBER START END                  resize partition NUMBER and its file
        system
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition
        NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and
        copyright information of GNU Parted
(parted) print free                                                       
print free
Model: MMC MAG2GA (sd/mmc)
Disk /dev/block/mmcblk0: 15758000128B
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start        End           Size          File system  Name      Flags
        17408B       4194303B      4176896B      Free Space
 1      4194304B     25165823B     20971520B     ext4         efs
 2      25165824B    33554431B     8388608B                   param
 3      33554432B    50331647B     16777216B                  boot
 4      50331648B    83820543B     33488896B                  recovery
 5      83820544B    83886079B     65536B                     metadata
 6      83886080B    88080383B     4194304B                   misc
 7      88080384B    641728511B    553648128B    ext4         cache
 8      641728512B   2280589311B   1638860800B   ext2
        2280589312B  15757983231B  13477393920B  Free Space

(parted) mkpartfs primary ext2 2280589312 15757975oliver-mba:adb-platform-tools ohartl$ 
oliver-mba:adb-platform-tools ohartl$ ./adb shell
adb: no devices/emulators found
oliver-mba:adb-platform-tools ohartl$ ./adb shell
adb: no devices/emulators found
oliver-mba:adb-platform-tools ohartl$ ./adb shell
~ # oliver-mba:adb-platform-tools ohartl$ 
oliver-mba:adb-platform-tools ohartl$ 
oliver-mba:adb-platform-tools ohartl$ ./adb shell
adb: no devices/emulators found
oliver-mba:adb-platform-tools ohartl$ ./adb shell
adb: no devices/emulators found
oliver-mba:adb-platform-tools ohartl$ ./adb shell
adb: no devices/emulators found
oliver-mba:adb-platform-tools ohartl$ ./adb shell^C
oliver-mba:adb-platform-tools ohartl$ brew install touchportal
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 15 formulae.
==> Updated Casks
Updated 1 cask.

==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "touchportal".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
oliver-mba:adb-platform-tools ohartl$ ./adb 
Android Debug Bridge version 1.0.41
Version 31.0.2-7242960
Installed as /Users/ohartl/adb-platform-tools/./adb

global options:
 -a         listen on all network interfaces, not just localhost
 -d         use USB device (error if multiple devices connected)
 -e         use TCP/IP device (error if multiple TCP/IP devices available)
 -s SERIAL  use device with given serial (overrides $ANDROID_SERIAL)
 -t ID      use device with given transport id
 -H         name of adb server host [default=localhost]
 -P         port of adb server [default=5037]
 -L SOCKET  listen on given socket for adb server [default=tcp:localhost:5037]

general commands:
 devices [-l]             list connected devices (-l for long output)
 help                     show this help message
 version                  show version num

networking:
 connect HOST[:PORT]      connect to a device via TCP/IP [default port=5555]
 disconnect [HOST[:PORT]]
     disconnect from given TCP/IP device [default port=5555], or all
 pair HOST[:PORT] [PAIRING CODE]
     pair with a device for secure TCP/IP communication
 forward --list           list all forward socket connections
 forward [--no-rebind] LOCAL REMOTE
     forward socket connection using:
       tcp:<port> (<local> may be "tcp:0" to pick any open port)
       localabstract:<unix domain socket name>
       localreserved:<unix domain socket name>
       localfilesystem:<unix domain socket name>
       dev:<character device name>
       jdwp:<process pid> (remote only)
       vsock:<CID>:<port> (remote only)
       acceptfd:<fd> (listen only)
 forward --remove LOCAL   remove specific forward socket connection
 forward --remove-all     remove all forward socket connections
 ppp TTY [PARAMETER...]   run PPP over USB
 reverse --list           list all reverse socket connections from device
 reverse [--no-rebind] REMOTE LOCAL
     reverse socket connection using:
       tcp:<port> (<remote> may be "tcp:0" to pick any open port)
       localabstract:<unix domain socket name>
       localreserved:<unix domain socket name>
       localfilesystem:<unix domain socket name>
 reverse --remove REMOTE  remove specific reverse socket connection
 reverse --remove-all     remove all reverse socket connections from device
 mdns check               check if mdns discovery is available
 mdns services            list all discovered services

file transfer:
 push [--sync] [-z ALGORITHM] [-Z] LOCAL... REMOTE
     copy local files/directories to device
     --sync: only push files that are newer on the host than the device
     -n: dry run: push files to device without storing to the filesystem
     -z: enable compression with a specified algorithm (any, none, brotli)
     -Z: disable compression
 pull [-a] [-z ALGORITHM] [-Z] REMOTE... LOCAL
     copy files/dirs from device
     -a: preserve file timestamp and mode
     -z: enable compression with a specified algorithm (any, none, brotli)
     -Z: disable compression
 sync [-l] [-z ALGORITHM] [-Z] [all|data|odm|oem|product|system|system_ext|vendor]
     sync a local build from $ANDROID_PRODUCT_OUT to the device (default all)
     -n: dry run: push files to device without storing to the filesystem
     -l: list files that would be copied, but don't copy them
     -z: enable compression with a specified algorithm (any, none, brotli)
     -Z: disable compression

shell:
 shell [-e ESCAPE] [-n] [-Tt] [-x] [COMMAND...]
     run remote shell command (interactive shell if no command given)
     -e: choose escape character, or "none"; default '~'
     -n: don't read from stdin
     -T: disable pty allocation
     -t: allocate a pty if on a tty (-tt: force pty allocation)
     -x: disable remote exit codes and stdout/stderr separation
 emu COMMAND              run emulator console command

app installation (see also `adb shell cmd package help`):
 install [-lrtsdg] [--instant] PACKAGE
     push a single package to the device and install it
 install-multiple [-lrtsdpg] [--instant] PACKAGE...
     push multiple APKs to the device for a single package and install them
 install-multi-package [-lrtsdpg] [--instant] PACKAGE...
     push one or more packages to the device and install them atomically
     -r: replace existing application
     -t: allow test packages
     -d: allow version code downgrade (debuggable packages only)
     -p: partial application install (install-multiple only)
     -g: grant all runtime permissions
     --abi ABI: override platform's default ABI
     --instant: cause the app to be installed as an ephemeral install app
     --no-streaming: always push APK to device and invoke Package Manager as separate steps
     --streaming: force streaming APK directly into Package Manager
     --fastdeploy: use fast deploy
     --no-fastdeploy: prevent use of fast deploy
     --force-agent: force update of deployment agent when using fast deploy
     --date-check-agent: update deployment agent when local version is newer and using fast deploy
     --version-check-agent: update deployment agent when local version has different version code and using fast deploy
     --local-agent: locate agent files from local source build (instead of SDK location)
     (See also `adb shell pm help` for more options.)
 uninstall [-k] PACKAGE
     remove this app package from the device
     '-k': keep the data and cache directories

debugging:
 bugreport [PATH]
     write bugreport to given PATH [default=bugreport.zip];
     if PATH is a directory, the bug report is saved in that directory.
     devices that don't support zipped bug reports output to stdout.
 jdwp                     list pids of processes hosting a JDWP transport
 logcat                   show device log (logcat --help for more)

security:
 disable-verity           disable dm-verity checking on userdebug builds
 enable-verity            re-enable dm-verity checking on userdebug builds
 keygen FILE
     generate adb public/private key; private key stored in FILE,

scripting:
 wait-for[-TRANSPORT]-STATE...
     wait for device to be in a given state
     STATE: device, recovery, rescue, sideload, bootloader, or disconnect
     TRANSPORT: usb, local, or any [default=any]
 get-state                print offline | bootloader | device
 get-serialno             print <serial-number>
 get-devpath              print <device-path>
 remount [-R]
      remount partitions read-write. if a reboot is required, -R will
      will automatically reboot the device.
 reboot [bootloader|recovery|sideload|sideload-auto-reboot]
     reboot the device; defaults to booting system image but
     supports bootloader and recovery too. sideload reboots
     into recovery and automatically starts sideload mode,
     sideload-auto-reboot is the same but reboots after sideloading.
 sideload OTAPACKAGE      sideload the given full OTA package
 root                     restart adbd with root permissions
 unroot                   restart adbd without root permissions
 usb                      restart adbd listening on USB
 tcpip PORT               restart adbd listening on TCP on PORT

internal debugging:
 start-server             ensure that there is a server running
 kill-server              kill the server if it is running
 reconnect                kick connection from host side to force reconnect
 reconnect device         kick connection from device side to force reconnect
 reconnect offline        reset offline/unauthorized devices to force reconnect

environment variables:
 $ADB_TRACE
     comma-separated list of debug info to log:
     all,adb,sockets,packets,rwx,usb,sync,sysdeps,transport,jdwp
 $ADB_VENDOR_KEYS         colon-separated list of keys (files or directories)
 $ANDROID_SERIAL          serial number to connect to (see -s)
 $ANDROID_LOG_TAGS        tags to be used by logcat (see logcat --help)
 $ADB_LOCAL_TRANSPORT_MAX_PORT max emulator scan port (default 5585, 16 emus)
 $ADB_MDNS_AUTO_CONNECT   comma-separated list of mdns services to allow auto-connect (default adb-tls-connect)
oliver-mba:adb-platform-tools ohartl$ ./adb devices
List of devices attached
R32D102SEZE     recovery

oliver-mba:adb-platform-tools ohartl$ ./adb logcat
/sbin/sh: exec: line 1: logcat: not found
oliver-mba:adb-platform-tools ohartl$ ./adb pull /tmp/recovery.log
/tmp/recovery.log: 1 file pulled, 0 skipped. 2.1 MB/s (17900 bytes in 0.008s)
oliver-mba:adb-platform-tools ohartl$ ls
NOTICE.txt              dmtracedump             fastboot                make_f2fs               mke2fs.conf             source.properties
adb                     e2fsdroid               hprof-conv              make_f2fs_casefold      recovery.log            sqlite3
api                     etc1tool                lib64                   mke2fs                  sload_f2fs              systrace
oliver-mba:adb-platform-tools ohartl$ cat recovery.log 
Starting TWRP 3.5.2_9-0-2bc3eccd on Sun Jan  1 12:00:01 2012
 (pid 107)
RECOVERY_SDCARD_ON_DATA := true
TW_NO_CPU_TEMP := true
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_INCLUDE_CRYPTO := true
I:Found brightness file at '/sys/devices/platform/s3c24xx-pwm.0/pwm-backlight.0/backlight/pwm-backlight.0/brightness'
I:Got max brightness 255 from '/sys/devices/platform/s3c24xx-pwm.0/pwm-backlight.0/backlight/pwm-backlight.0/max_brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:LANG: en
Starting the UI...
setting DRM_FORMAT_ABGR8888 and GGL_PIXEL_FORMAT_BGRA_8888, GGL_PIXEL_FORMAT may not match!
Skipping drm graphics -- not present in build tree
fb0 reports (possibly inaccurate):
  vi.bits_per_pixel = 32
  vi.red.offset   =  16   .length =   8
  vi.green.offset =   8   .length =   8
  vi.blue.offset  =   0   .length =   8
setting GGL_PIXEL_FORMAT_BGRA_8888
double buffered
framebuffer: 0 (2560 x 1600)
Using fbdev graphics.
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:Loading package: splash (/twres/splash.xml)
I:Load XML directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly
I:Checking resolution...
I:Scaling theme width 1.333333x and height 1.333333x, offsets x: 0 y: 0 w: 0 h: 0
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page splash
I:Switching packages (splash)
=> Linking mtab
=> Processing /etc/twrp.fstab for SAR-detection
I:Reading /etc/twrp.fstab
I:Done processing fstab files
I:Unable to mount '/s'
I:Actual block device: '', current file system: 'ext4'
I:SAR-DETECT: Could not mount system partition, falling back to Non-SAR
=> Processing /etc/twrp.fstab
I:Reading /etc/twrp.fstab
I:Processing '/system'
I:Processing '/cache'
I:Processing '/data'
I:Processing '/boot'
I:Processing '/recovery'
I:Processing '/misc'
I:Processing '/bootloader'
I:Processing '/usb-otg'
I:Created '/usb-otg' folder.
I:Done processing fstab files
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
E:Primary block device '/dev/block/platform/dw_mmc.0/by-name/userdata' for mount point '/data' is not present!
I:Setting up '/data' as data/media emulated storage.
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
Failed to mount '/data' (Invalid argument)
I:Actual block device: '', current file system: 'ext4'
Unable to recreate /data/media folder.
I:Backup folder set to '/data/media/TWRP/BACKUPS/R32D102SEZE'
I:Settings storage is '/data/media'
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
Updating partition details...
Failed to mount '/system' (Invalid argument)
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/system'
I:Actual block device: '', current file system: 'ext4'
Failed to mount '/data' (Invalid argument)
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
Unable to mount storage
I:Unmounting main partitions...

Partition Logs:
/system |  | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
   Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI Mount_Read_Only 
   Primary_Block_Device: /dev/block/platform/dw_mmc.0/by-name/system
   Display_Name: System
   Storage_Name: System
   Backup_Path: /system
   Backup_Name: system
   Backup_Display_Name: System
   Storage_Path: /system
   Current_File_System: ext4
   Fstab_File_System: ext4
   Backup_Method: files

/cache | /dev/block/mmcblk0p7 | Size: 519MB Used: 8MB Free: 510MB Backup Size: 8MB
   Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent 
   Primary_Block_Device: /dev/block/mmcblk0p7
   Display_Name: Cache
   Storage_Name: Cache
   Backup_Path: /cache
   Backup_Name: cache
   Backup_Display_Name: Cache
   Storage_Path: /cache
   Current_File_System: ext4
   Fstab_File_System: ext4
   Backup_Method: files

/data |  | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
   Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage 
   Symlink_Path: /data/media
   Symlink_Mount_Point: /sdcard
   Primary_Block_Device: /dev/block/platform/dw_mmc.0/by-name/userdata
   Crypto_Key_Location: /dev/block/platform/dw_mmc.0/by-name/metadata
   Display_Name: Data
   Storage_Name: Internal Storage
   Backup_Path: /data
   Backup_Name: data
   Backup_Display_Name: Data
   Storage_Path: /data/media
   Current_File_System: ext4
   Fstab_File_System: ext4
   Backup_Method: files
   MTP_Storage_ID: 65537

/boot | /dev/block/mmcblk0p3 | Size: 16MB
   Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img 
   Primary_Block_Device: /dev/block/mmcblk0p3
   Display_Name: Boot
   Storage_Name: boot
   Backup_Path: /boot
   Backup_Name: boot
   Backup_Display_Name: Boot
   Storage_Path: /boot
   Current_File_System: emmc
   Fstab_File_System: emmc
   Backup_Method: dd

/recovery | /dev/block/mmcblk0p4 | Size: 31MB
   Flags: IsPresent Can_Flash_Img 
   Primary_Block_Device: /dev/block/mmcblk0p4
   Display_Name: Recovery
   Storage_Name: recovery
   Backup_Path: /recovery
   Backup_Name: recovery
   Backup_Display_Name: Recovery
   Storage_Path: /recovery
   Current_File_System: emmc
   Fstab_File_System: emmc
   Backup_Method: dd

/misc | /dev/block/mmcblk0p6 | Size: 4MB
   Flags: IsPresent 
   Primary_Block_Device: /dev/block/mmcblk0p6
   Display_Name: misc
   Storage_Name: misc
   Backup_Path: /misc
   Backup_Name: misc
   Backup_Display_Name: misc
   Storage_Path: /misc
   Current_File_System: emmc
   Fstab_File_System: emmc
   Backup_Method: dd

/bootloader | /dev/block/mmcblk0boot0 | Size: 4MB
   Flags: IsPresent 
   Primary_Block_Device: /dev/block/mmcblk0boot0
   Display_Name: bootloader
   Storage_Name: bootloader
   Backup_Path: /bootloader
   Backup_Name: bootloader
   Backup_Display_Name: bootloader
   Storage_Path: /bootloader
   Current_File_System: emmc
   Fstab_File_System: emmc
   Backup_Method: dd

/usb-otg |  | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
   Flags: Can_Be_Mounted Can_Be_Wiped Removable Is_Storage 
   Primary_Block_Device: /dev/block/sda1
   Display_Name: USB-OTG
   Storage_Name: USB-OTG
   Backup_Path: /usb-otg
   Backup_Name: usb-otg
   Backup_Display_Name: USB-OTG
   Storage_Path: /usb-otg
   Current_File_System: vfat
   Fstab_File_System: vfat
   Backup_Method: files
   MTP_Storage_ID: 65538

I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
Failed to mount '/data' (Invalid argument)
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount /data/media during GUI startup.
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_PT.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/it.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/el.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:PageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly
I:Checking resolution...
I:Scaling theme width 1.333333x and height 1.333333x, offsets x: 0 y: 0 w: 0 h: 0
I:Loading resources...
I:Failed to load image from indeterminate013, error -1
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Including file: /twres/landscape.xml...
I:PageManager::LoadFileToBuffer loading filename: '/twres/landscape.xml' directly
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page flash_sleep_and_reboot
I:Loading page flashimage_confirm
I:Loading page clear_vars
I:Loading page reboot_system_routine
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Loading page refreshfilesystem
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page multiuser_warning
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/TWRP/BACKUPS/R32D102SEZE'
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page system_readonly_check
I:Loading page reboot
I:Loading page reboot2
I:Loading page installapp
I:Loading page system_readonly
I:Loading page settings
I:Loading page settings_timezone
I:Loading page settings_screen
I:Loading page settings_vibration
I:Loading page settings_language
I:Loading page copylog
I:Loading page advanced
I:Loading page partsdcardsel
I:Loading page partsdcardcheck
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page repackselect
I:Loading page repackconfirm
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageraction
I:Loading page decrypt
I:Loading page decrypt_pattern
I:Loading page trydecrypt
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page fixcontexts
I:Loading page slideout
I:Loading page select_storage
I:Loading page select_language
I:Loading page decrypt_users
I:Loading page changeTwrpFolder
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
Startup Commands: 
af.fast_track_multiplier=1
ro.sf.lcd_density=320
ro.com.google.clientidbase=android-google
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.wifi-watchlist=GoogleGuest
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.boot.serialno=R32D102SEZE
ro.boot.btmacaddr=08:D4:2B:18:31:39
ro.boot.bootloader=MANTAMF01
ro.boot.wifimacaddr=08:D4:2B:18:31:3A
ro.hwui.path_cache_size=32
ro.hwui.layer_cache_size=48
ro.hwui.texture_cache_size=72
ro.hwui.disable_scissor_opt=true
ro.hwui.gradient_cache_size=1
ro.hwui.r_buffer_cache_size=8
ro.hwui.drop_shadow_cache_size=6
ro.hwui.text_large_cache_width=2048
ro.hwui.text_small_cache_width=1024
ro.hwui.text_large_cache_height=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.texture_cache_flushrate=0.4
ro.omni.device=manta
ro.omni.version=5.1.1-20210406-manta-HOMEMADE
ro.twrp.sar=false
ro.twrp.boot=1
ro.twrp.version=3.5.2_9-0
ro.wifi.channels=
ro.allow.mock.location=1
ro.board.platform=exynos5
ro.build.id=LYZ28N
ro.build.date=Tue Apr  6 09:25:12 UTC 2021
ro.build.date.utc=0
ro.build.host=93f70f4836da
ro.build.tags=test-keys
ro.build.type=eng
ro.build.user=jenkins
ro.build.flavor=omni_manta-eng
ro.build.display.id=omni_manta-eng 5.1.1 LYZ28N 25 test-keys
ro.build.product=manta
ro.build.selinux=1
ro.build.version.sdk=22
ro.build.version.base_os=
ro.build.version.release=5.1.1
ro.build.version.codename=REL
ro.build.version.incremental=25
ro.build.version.all_codenames=REL
ro.build.version.security_patch=2015-11-01
ro.build.description=omni_manta-eng 5.1.1 LYZ28N 25 test-keys
ro.build.fingerprint=Android/omni_manta/manta:5.1.1/LYZ28N/25:eng/test-keys
ro.build.characteristics=tablet tablet,nosdcard
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Argon.ogg
ro.config.notification_sound=pixiedust.ogg
ro.dalvik.vm.native.bridge=0
ro.kernel.android.checkjni=1
ro.secure=0
ro.zygote=zygote32
ro.carrier=unknown
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.name=omni_manta
ro.product.board=manta
ro.product.brand=Android
ro.product.model=Nexus 10
ro.product.device=manta
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=Samsung
ro.baseband=unknown
ro.bootmode=unknown
ro.hardware=manta
ro.opengles.version=196609
ro.revision=8
ro.serialno=R32D102SEZE
ro.bootloader=MANTAMF01
ro.debuggable=1
ro.modversion=OmniROM-5.1.1-20210406-manta-HOMEMADE
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
init.svc.adbd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.watchdogd=running
init.svc.set_permissive=stopped
twrp.crash_counter=0
twrp.action_complete=0
wifi.interface=wlan0
media.aac_51_output_enabled=true
dalvik.vm.isa.arm.features=div
dalvik.vm.heapsize=512m
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=512k
dalvik.vm.dexopt-flags=m=y
dalvik.vm.heapstartsize=16m
dalvik.vm.dex2oat-filter=interpret-only
dalvik.vm.heapgrowthlimit=192m
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.image-dex2oat-filter=verify-none
dalvik.vm.heaptargetutilization=0.75
persist.sys.usb.config=mtp,adb
persist.sys.dalvik.vm.lib.2=libart.so
persist.sys.root_access=1
service.adb.root=1

SELinux contexts loaded from /file_contexts
I:Could not check /cache/recovery/ SELinux contexts, using /sbin/teamwin instead which may be inaccurate.
Kernel does not have support for reading SELinux contexts.
tw_get_context failed to get selinux context
I:Failed to get default contexts and file mode for storage files.
I:Copied file /cache/recovery/log.gz to /cache/recovery/last_log.gz
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
Unable to mount /data/media/TWRP/.twrps
I:Attempt to load settings from settings file...
I:InfoManager file '/data/media/TWRP/.twrps' not found.
I:Backup folder set to '/data/media/TWRP/BACKUPS/R32D102SEZE'
I:Copied file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/data'
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:Backup folder set to '/data/media/TWRP/BACKUPS/R32D102SEZE'
I:Starting MTP
MTP Enabled
I:[MTP] Starting MTP
I:Switching packages (TWRP)
I:Set page: 'system_readonly'
I:[MTP] created new mtpserver object
I:[MTP] MtpServer::run fd: 16
I:Is_Mounted: Unable to find partition for path '/vendor'
I:operation_start: 'Toggle System Mount'
I:operation_end - status=1
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Starting Adb Backup FIFO
Failed to mount '/system' (Invalid argument)
I:Actual block device: '', current file system: 'ext4'
I:Unable to read sdk version from build prop
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:Set overlay: ''
oliver-mba:adb-platform-tools ohartl$ ./adb shell
~ # parted
/sbin/sh: parted: not found
~ # ls /
cache                      init.recovery.manta.rc     sepolicy
capacity                   init.recovery.nano.rc      service_contexts
charger                    init.recovery.service.rc   sideload
data                       init.recovery.usb.rc       status
default.prop               license                    sys
dev                        proc                       system
etc                        property_contexts          tmp
file_contexts              res                        twres
fstab.manta                root                       ueventd.manta.rc
fstab.smdk5250             sbin                       ueventd.rc
init                       sdcard                     ueventd.smdk5250.rc
init.rc                    seapp_contexts             usb-otg
init.recovery.hlthchrg.rc  selinux_version
~ # ls /system
bin  etc  usr
~ # ls /system/bin
~ # exit
oliver-mba:adb-platform-tools ohartl$ ./adb push ~/Downloads/parted /parted
/Users/ohartl/Downloads/parted: 1 file pushed, 0 skipped. 3.9 MB/s (346680 bytes in 0.085s)
oliver-mba:adb-platform-tools ohartl$ ./adb shell
~ # /parted 
/sbin/sh: /parted: Permission denied
~ # chmod +x /parted 
~ # /parted 
Error: No device found                                                    
Retry/Cancel? ^C                                                          
~ # /parted /dev/
.coldboot_done      kmem                ttyGS1              v4l-subdev7
__properties__      kmsg                ttyGS2              v4l-subdev8
alarm               log/                ttyGS3              v4l-subdev9
android_adb         loop-control        ttyS0               video11
ashmem              mali0               ttyS1               video12
bcm2079x            media0              ttyS2               video16
binder              media1              ttyS3               video17
block/              media2              ttySAC0             video18
console             mem                 ttySAC1             video19
cpu_dma_latency     memory_throughput   ttySAC3             video23
device-mapper       mobicore            tun                 video24
egalax_i2c          mobicore-user       uhid                video25
fimg2d              mtp_usb             uinput              video26
full                network_latency     urandom             video27
fuse                network_throughput  usb-ffs/            video28
graphics/           null                usb_accessory       video29
i2c-0               ppp                 v4l-subdev0         video30
i2c-1               psaux               v4l-subdev1         video31
i2c-2               ptmx                v4l-subdev10        video32
i2c-3               pts/                v4l-subdev11        video33
i2c-4               random              v4l-subdev12        video34
i2c-5               rfkill              v4l-subdev13        video40
i2c-7               rtc0                v4l-subdev14        video41
i2c-8               s5p-smem            v4l-subdev15        video42
iio:device0         snd/                v4l-subdev16        video44
iio:device1         socket/             v4l-subdev2         video6
iio:device2         tracebuf            v4l-subdev3         video7
input/              tty                 v4l-subdev4         watchdog
ion                 ttyFIQ2             v4l-subdev5         xt_qtaguid
keychord            ttyGS0              v4l-subdev6         zero
~ # /parted /dev/block/
bootdevice/   loop7         mmcblk0p5     ram11         ram5
loop0         mmcblk0       mmcblk0p6     ram12         ram6
loop1         mmcblk0boot0  mmcblk0p7     ram13         ram7
loop2         mmcblk0boot1  mmcblk0p8     ram14         ram8
loop3         mmcblk0p1     platform/     ram15         ram9
loop4         mmcblk0p2     ram0          ram2          zram0
loop5         mmcblk0p3     ram1          ram3
loop6         mmcblk0p4     ram10         ram4
~ # /parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit b                                                           
unit b
(parted) p                                                                
p
Model: MMC MAG2GA (sd/mmc)
Disk /dev/block/mmcblk0: 15758000128B
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start       End          Size         File system  Name      Flags
 1      4194304B    25165823B    20971520B    ext4         efs
 2      25165824B   33554431B    8388608B                  param
 3      33554432B   50331647B    16777216B                 boot
 4      50331648B   83820543B    33488896B                 recovery
 5      83820544B   83886079B    65536B                    metadata
 6      83886080B   88080383B    4194304B                  misc
 7      88080384B   641728511B   553648128B   ext4         cache
 8      641728512B  2280589311B  1638860800B  ext2

(parted) print free                                                       
print free
Model: MMC MAG2GA (sd/mmc)
Disk /dev/block/mmcblk0: 15758000128B
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start        End           Size          File system  Name      Flags
        17408B       4194303B      4176896B      Free Space
 1      4194304B     25165823B     20971520B     ext4         efs
 2      25165824B    33554431B     8388608B                   param
 3      33554432B    50331647B     16777216B                  boot
 4      50331648B    83820543B     33488896B                  recovery
 5      83820544B    83886079B     65536B                     metadata
 6      83886080B    88080383B     4194304B                   misc
 7      88080384B    641728511B    553648128B    ext4         cache
 8      641728512B   2280589311B   1638860800B   ext2
        2280589312B  15757983231B  13477393920B  Free Space

(parted) help                                                             
help
  check NUMBER                             do a simple check on the file system
  cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
  help [COMMAND]                           print general help, or help on
        COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partition
        table)
  mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on
        partititon NUMBER
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
  move NUMBER START END                    move partition NUMBER
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table,
        available devices, free space, all found partitions, or a particular
        partition
  quit                                     exit program
  rescue START END                         rescue a lost partition near START
        and END
  resize NUMBER START END                  resize partition NUMBER and its file
        system
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition
        NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and
        copyright information of GNU Parted
(parted) name 8 system                                                    
name 8 system
(parted) mkpartfs primary ext2 2280589312 1575797231                      
mkpartfs primary ext2 2280589312 1575797231
Error: Can't have the end before the start!                               
(parted) mkpartfs primary ext2 2280589312 15757973231                     
mkpartfs primary ext2 2280589312 15757973231
(parted) p                                                                
p
Model: MMC MAG2GA (sd/mmc)
Disk /dev/block/mmcblk0: 15758000128B
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start        End           Size          File system  Name      Flags
 1      4194304B     25165823B     20971520B     ext4         efs
 2      25165824B    33554431B     8388608B                   param
 3      33554432B    50331647B     16777216B                  boot
 4      50331648B    83820543B     33488896B                  recovery
 5      83820544B    83886079B     65536B                     metadata
 6      83886080B    88080383B     4194304B                   misc
 7      88080384B    641728511B    553648128B    ext4         cache
 8      641728512B   2280589311B   1638860800B   ext2         system
 9      2280589312B  15757973503B  13477384192B  ext2

(parted) name 9 userdata                                                  
name 9 userdata
(parted) unit mb                                                          
unit mb
(parted) p                                                                
p
Model: MMC MAG2GA (sd/mmc)
Disk /dev/block/mmcblk0: 15758MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End      Size     File system  Name      Flags
 1      4.19MB  25.2MB   21.0MB   ext4         efs
 2      25.2MB  33.6MB   8.39MB                param
 3      33.6MB  50.3MB   16.8MB                boot
 4      50.3MB  83.8MB   33.5MB                recovery
 5      83.8MB  83.9MB   0.07MB                metadata
 6      83.9MB  88.1MB   4.19MB                misc
 7      88.1MB  642MB    554MB    ext4         cache
 8      642MB   2281MB   1639MB   ext2         system
 9      2281MB  15758MB  13477MB  ext2         userdata

(parted) print devices                                                    
print devices
/dev/block/mmcblk0 (15758MB)
(parted) exit                                                             
exit
  check NUMBER                             do a simple check on the file system
  cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
  help [COMMAND]                           print general help, or help on
        COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partition
        table)
  mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on
        partititon NUMBER
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
  move NUMBER START END                    move partition NUMBER
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table,
        available devices, free space, all found partitions, or a particular
        partition
  quit                                     exit program
  rescue START END                         rescue a lost partition near START
        and END
  resize NUMBER START END                  resize partition NUMBER and its file
        system
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition
        NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and
        copyright information of GNU Parted
(parted) quit                                                             
quit
Information: You may need to update /etc/fstab.                           

~ # /parted /dev/block/mmcblk0
mmcblk0       mmcblk0p1     mmcblk0p4     mmcblk0p7
mmcblk0boot0  mmcblk0p2     mmcblk0p5     mmcblk0p8
mmcblk0boot1  mmcblk0p3     mmcblk0p6
~ # reboot sys
sys/     system/
~ # reboot sys
sys/     system/
~ # reboot --help
usage: reboot [-p] [rebootcommand]
~ # shutdown --help
/sbin/sh: shutdown: not found
~ # man reboot
man: no manual entry for 'reboot'
~ # 
ohartl commented 3 years ago

Follwing along with https://theupgradeguide.com/install-android-9-0-pie-on-google-nexus-10-lineageos-16-how-to-guide/ as my tablet was in a wrong state, so i had to reinstall everything. Thats why this time i started documenting the troubleshooting process to the way of getting Touch Portal running on any android tablet + a rooted tablet (this depends on different model though. For example I used a Nexus 10 (manta) tablet, let's see how general I can write a role later.

Did executed

user@ansible:~# adb shell
user@ansible:~# adb shell

The used the following tasks inside adb shell

~ # id
uid=0(root) gid=0(root) groups=1003(graphics),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats)

Then Reboot to system

user@<tablet-host>:/# 

But then Battery of the Android Tablet died, had to recharge till 25% default limit was reached... waiting...

ohartl commented 3 years ago

May want to have a look into https://lineageosroms.com/manta/#basic-requirements instead of the blog article. Docs from the Developer are more accurate maybe.

ohartl commented 3 years ago

Also https://manuelmeurer.medium.com/how-to-install-the-latest-android-version-on-any-phone-or-tablet-dbc810599ca4

ohartl commented 3 years ago

https://www.reddit.com/r/LineageOS/comments/6tlpbo/first_time_boot_taking_too_long/

ohartl commented 3 years ago

After the boot to system worked. I have problems with crashing apps and google play store hanging up in "Pendning..." on downloads.

Trying to fix that with adb shell, als the partitions may be in a bad state (from my parted changes).

e2fsck -f /dev/block/mmcblk0p7
e2fsck -f /dev/block/mmcblk0p8
e2fsck -f /dev/block/mmcblk0p9
ohartl commented 3 years ago

Not working: Developer options cannot be enabled (by hitting build version 7 times) and apps crashing still.

Now trying to reflash with lineageos 17.1: https://forum.xda-developers.com/t/rom-lineageos-17-1-unofficial-nexus10-2021-05-10.3557735/

ohartl commented 3 years ago
Windows PowerShell
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Lernen Sie das neue plattformübergreifende PowerShell kennen – https://aka.ms/pscore6

PS C:\Users\olive> adb shell
~ # cd /sdcard
/sdcard # ls -la
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxrwx---   14 media_rw media_rw      4096 May 23 18:27 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
/sdcard # ls -la
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxrwx---   14 media_rw media_rw      4096 May 23 18:27 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
/sdcard # ls -la
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxrwx---   14 media_rw media_rw      4096 May 23 18:27 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
/sdcard # ls -la
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxrwx---   14 media_rw media_rw      4096 May 23 18:27 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
/sdcard # ls -la
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxrwx---   14 media_rw media_rw      4096 May 23 18:27 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
/sdcard # ls -la
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxrwx---   14 media_rw media_rw      4096 May 23 18:27 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
/sdcard # ls -la
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxrwx---   14 media_rw media_rw      4096 May 23 18:27 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
/sdcard # ls -la
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxrwx---   14 media_rw media_rw      4096 May 23 18:27 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
/sdcard # df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                   548.8M     20.0K    548.8M   0% /dev
tmpfs                   548.8M     24.0K    548.8M   0% /tmp
/dev/block/mmcblk0p9     12.4G      2.3G      9.4G  20% /data
/dev/block/mmcblk0p9     12.4G      2.3G      9.4G  20% /sdcard
/dev/block/mmcblk0p8      1.5G     26.8M      1.5G   2% /system
/dev/block/mmcblk0p7    519.7M      8.7M    510.9M   2% /cache
/sdcard # parted
/sbin/sh: parted: not found
/sdcard # exit
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180202-system=1228M-cache=max+wipe-flo\bin\parted /system/bin
C:\Users\olive\Downloads\lanchon-repit-09180202-system=1228M-c...: 1 file pushed, 0 skipped. 24.3 MB/s (346680 bytes in 0.014s)
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180202-system=1228M-cache=max+wipe-flo\bin\sgdisk /system/bin
C:\Users\olive\Downloads\lanchon-repit-09180202-system=1228M-c... 1 file pushed, 0 skipped. 77.5 MB/s (1678733 bytes in 0.021s)
PS C:\Users\olive> adb shell
~ # parted
/sbin/sh: parted: not found
~ # ls -la /system/bin
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
-rw-r--r--    1 root     root       1678733 May 23 15:21 /system/bin
~ # ls -la /system/bin/
ls: /system/bin/: Not a directory
~ # exot
/sbin/sh: exot: not found
~ # exit
PS C:\Users\olive> adb shell
~ # ls -la /sbin/
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxr-x---    2 root     root             0 May 23 14:31 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
lrwxrwxrwx    1 root     root             7 Jan  1  1970 [ -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 [[ -> busybox
-rwxr-x---    1 root     root        240176 Jan  1  1970 adbd
lrwxrwxrwx    1 root     root             7 Jan  1  1970 adjtimex -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 arp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ash -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 awk -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 base64 -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 basename -> busybox
-rwxr-x---    1 root     root        481516 Jan  1  1970 bash
-rwxr-x---    1 root     root             0 Jan  1  1970 bash_twrp-timestamp
lrwxrwxrwx    1 root     root             7 Jan  1  1970 bbconfig -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 blkid -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 blockdev -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 brctl -> busybox
-rwxr-x---    1 root     root         17748 Jan  1  1970 bu
lrwxrwxrwx    1 root     root             7 Jan  1  1970 bunzip2 -> busybox
-rwxr-x---    1 root     root        587364 Jan  1  1970 busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 bzcat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 bzip2 -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cal -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 catv -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chattr -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chcon -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chgrp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chmod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chown -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chroot -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chvt -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 clear -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cmp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 comm -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cpio -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 crond -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 crontab -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cut -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 date -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dc -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 deallocvt -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 depmod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 devmem -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 df -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 diff -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dirname -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dmesg -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dnsd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dos2unix -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 du -> busybox
-rwxr-x---    1 root     root          5416 Jan  1  1970 dump_image
-rwxr-x---    1 root     root        154592 Jan  1  1970 e2fsck
lrwxrwxrwx    1 root     root             7 Jan  1  1970 echo -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ed -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 egrep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 env -> busybox
-rwxr-x---    1 root     root          5416 Jan  1  1970 erase_image
-rwxr-x---    1 root     root         99992 Jan  1  1970 exfat-fuse
lrwxrwxrwx    1 root     root             7 Jan  1  1970 expand -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 expr -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 false -> busybox
-rwxr-x---    1 root     root         21860 Jan  1  1970 fatlabel
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fbsplash -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fdisk -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fgconsole -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fgrep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 find -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 findfs -> busybox
-rwxr-x---    1 root     root          5364 Jan  1  1970 flash_image
lrwxrwxrwx    1 root     root             7 Jan  1  1970 flash_lock -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 flash_unlock -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 flashcp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 flock -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fold -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 free -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 freeramdisk -> busybox
-rwxr-x---    1 root     root          9512 Jan  1  1970 fsck.exfat
-rwxr-x---    1 root     root         42368 Jan  1  1970 fsck.f2fs
-rwxr-x---    1 root     root         38292 Jan  1  1970 fsck.fat
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fstrim -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fsync -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ftpget -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ftpput -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fuser -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 getenforce -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 getopt -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 getprop -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 getsebool -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 grep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 groups -> busybox
lrwxrwxrwx    1 root     root             4 Jan  1  1970 gunzip -> pigz
lrwxrwxrwx    1 root     root             4 Jan  1  1970 gzip -> pigz
lrwxrwxrwx    1 root     root             7 Jan  1  1970 halt -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 head -> busybox
-rwxr-x---    1 root     root        334104 Jan  1  1970 healthd
lrwxrwxrwx    1 root     root             7 Jan  1  1970 hexdump -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 hwclock -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 id -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ifconfig -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 inetd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 insmod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 install -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ionice -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 iostat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ip -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 kill -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 killall -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 killall5 -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 less -> busybox
-rwxr-x---    1 root     root         21692 Jan  1  1970 libaosprecovery.so
-rwxr-x---    1 root     root         29932 Jan  1  1970 libbacktrace.so
-rwxr-x---    1 root     root        112392 Jan  1  1970 libblkid.so
-rwxr-x---    1 root     root          5256 Jan  1  1970 libbmlutils.so
-rwxr-x---    1 root     root         17680 Jan  1  1970 libbootloader_message_twrp.so
-rwxr-x---    1 root     root        599420 Jan  1  1970 libc++.so
-rwxr-x---    1 root     root        505995 Jan  1  1970 libc.so
-rwxr-x---    1 root     root          5268 Jan  1  1970 libcrecovery.so
-rwxr-x---    1 root     root         21768 Jan  1  1970 libcryptfsfde.so
-rwxr-x---    1 root     root       1052924 Jan  1  1970 libcrypto.so
-rwxr-x---    1 root     root         46484 Jan  1  1970 libcutils.so
-rwxr-x---    1 root     root          9300 Jan  1  1970 libdl.so
-rwxr-x---    1 root     root         29912 Jan  1  1970 libexfat_twrp.so
-rwxr-x---    1 root     root         32220 Jan  1  1970 libext2_blkid.so
-rwxr-x---    1 root     root          9408 Jan  1  1970 libext2_com_err.so
-rwxr-x---    1 root     root         22520 Jan  1  1970 libext2_e2p.so
-rwxr-x---    1 root     root         13556 Jan  1  1970 libext2_profile.so
-rwxr-x---    1 root     root         25796 Jan  1  1970 libext2_quota.so
-rwxr-x---    1 root     root          9408 Jan  1  1970 libext2_uuid.so
-rwxr-x---    1 root     root        165660 Jan  1  1970 libext2fs.so
-rwxr-x---    1 root     root         46268 Jan  1  1970 libext4_utils.so
-rwxr-x---    1 root     root          9404 Jan  1  1970 libflashutils.so
-rwxr-x---    1 root     root        361716 Jan  1  1970 libft2.so
-rwxr-x---    1 root     root          9376 Jan  1  1970 libfusesideload.so
-rwxr-x---    1 root     root         21704 Jan  1  1970 libgccdemangle.so
-rwxr-x---    1 root     root          9304 Jan  1  1970 libgpt_twrp.so
-rwxr-x---    1 root     root          5316 Jan  1  1970 libhardware.so
-rwxr-x---    1 root     root         21748 Jan  1  1970 liblog.so
-rwxr-x---    1 root     root         95512 Jan  1  1970 libm.so
-rwxr-x---    1 root     root         50736 Jan  1  1970 libminadbd.so
-rwxr-x---    1 root     root         21700 Jan  1  1970 libmincrypttwrp.so
-rwxr-x---    1 root     root        174620 Jan  1  1970 libminuitwrp.so
-rwxr-x---    1 root     root         21660 Jan  1  1970 libminzip.so
-rwxr-x---    1 root     root          9384 Jan  1  1970 libmmcutils.so
-rwxr-x---    1 root     root         13520 Jan  1  1970 libmtdutils.so
-rwxr-x---    1 root     root        182212 Jan  1  1970 libncurses.so
-rwxr-x---    1 root     root          5276 Jan  1  1970 libnetd_client.so
-rwxr-x---    1 root     root         13416 Jan  1  1970 libopenaes.so
-rwxr-x---    1 root     root         66756 Jan  1  1970 libpcre.so
-rwxr-x---    1 root     root        156824 Jan  1  1970 libpng.so
-rwxr-x---    1 root     root         50568 Jan  1  1970 libselinux.so
-rwxr-x---    1 root     root         17692 Jan  1  1970 libsparse.so
-rwxr-x---    1 root     root        288288 Jan  1  1970 libssh.so
-rwxr-x---    1 root     root        262004 Jan  1  1970 libssl.so
-rwxr-x---    1 root     root          9400 Jan  1  1970 libstdc++.so
-rwxr-x---    1 root     root        234912 Jan  1  1970 libstlport.so
-rwxr-x---    1 root     root         29892 Jan  1  1970 libtar.so
-rwxr-x---    1 root     root         42176 Jan  1  1970 libtwadbbu.so
-rwxr-x---    1 root     root          9360 Jan  1  1970 libtwrpdigest.so
-rwxr-x---    1 root     root        136936 Jan  1  1970 libtwrpmtp-legacy.so
-rwxr-x---    1 root     root          9340 Jan  1  1970 libunwind-ptrace.so
-rwxr-x---    1 root     root         50432 Jan  1  1970 libunwind.so
-rwxr-x---    1 root     root          9352 Jan  1  1970 libusbhost.so
-rwxr-x---    1 root     root         62728 Jan  1  1970 libutil-linux.so
-rwxr-x---    1 root     root         91436 Jan  1  1970 libutils.so
-rwxr-x---    1 root     root         99668 Jan  1  1970 libz.so
-rwxr-x---    1 root     root         92263 Jan  1  1970 linker
-rwxr-x---    1 root     root          5416 Jan  1  1970 listxattr
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ln -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 load_policy -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 losetup -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ls -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lsattr -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lsmod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lspci -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lsusb -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lzcat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lzma -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lzop -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lzopcat -> busybox
-rwxr-x---    1 root     root         13720 Jan  1  1970 make_ext4fs
lrwxrwxrwx    1 root     root             7 Jan  1  1970 man -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 matchpathcon -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 md5sum -> busybox
-rwxr-x---    1 root     root         12382 Jan  1  1970 me.twrp.twrpapp.apk
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mesg -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mkdir -> busybox
-rwxr-x---    1 root     root         46464 Jan  1  1970 mke2fs
-rwxr-x---    1 root     root         19576 Jan  1  1970 mkexfatfs
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mkfifo -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mkfs.ext2 -> busybox
-rwxr-x---    1 root     root         96220 Jan  1  1970 mkfs.f2fs
-rwxr-x---    1 root     root         22332 Jan  1  1970 mkfs.fat
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mknod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mkswap -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mktemp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 modinfo -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 modprobe -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 more -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mount -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mountpoint -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mpstat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mv -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nanddump -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nandwrite -> busybox
-rwxr-x---    1 root     root         63264 Jan  1  1970 nano
-rwxr-x---    1 root     root             0 Jan  1  1970 nano_twrp-timestamp
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nbd-client -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nc -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 netstat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nice -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nmeter -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nohup -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nslookup -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ntpd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 od -> busybox
-rwxr-x---    1 root     root          9508 Jan  1  1970 openaes
lrwxrwxrwx    1 root     root             7 Jan  1  1970 openvt -> busybox
prwSrwS---    1 root     root             0 May 23 14:31 orsin
prwSrwSrw-    1 root     root             0 May 23 14:31 orsout
lrwxrwxrwx    1 root     root             7 Jan  1  1970 patch -> busybox
-rwxr-x---    1 root     root           287 Jan  1  1970 permissive.sh
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pgrep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pidof -> busybox
-rwxr-x---    1 root     root         42444 Jan  1  1970 pigz
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ping -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pipe_progress -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pkill -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pmap -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 poweroff -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 printenv -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 printf -> busybox
-rwxr-x---    1 root     root           350 Jan  1  1970 privapp-permissions-twrpapp.xml
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ps -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pstree -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pwd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pwdx -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 r -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rdate -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rdev -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 readlink -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 realpath -> busybox
-rwxr-x---    1 root     root          5360 Jan  1  1970 reboot
-rwxr-x---    1 root     root        509472 Jan  1  1970 recovery
lrwxrwxrwx    1 root     root             7 Jan  1  1970 renice -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 reset -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 resize -> busybox
-rwxr-x---    1 root     root         34088 Jan  1  1970 resize2fs
lrwxrwxrwx    1 root     root             7 Jan  1  1970 restorecon -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rev -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rm -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rmdir -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rmmod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 route -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 run-parts -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 runcon -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rx -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sed -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 selinuxenabled -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 seq -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sestatus -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setconsole -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setenforce -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setfiles -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setkeycodes -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setprop -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setsebool -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setserial -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setsid -> busybox
-rwxr-x---    1 root     root        489732 Jan  1  1970 sgdisk
lrwxrwxrwx    1 root     root            13 Jan  1  1970 sh -> /sbin/busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sha1sum -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sha256sum -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sha3sum -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sha512sum -> busybox
-rwxr-x---    1 root     root          5364 Jan  1  1970 simg2img
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sleep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 smemcap -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sort -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 split -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 start -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 stat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 stop -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 strings -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 stty -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sum -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 swapoff -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 swapon -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sync -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sysctl -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tac -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tail -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tar -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 taskset -> busybox
-rwxr-x---    1 root     root             1 Jan  1  1970 teamwin
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tee -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 telnet -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 telnetd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 test -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tftp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tftpd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 time -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 timeout -> busybox
-rwxr-x---    1 root     root          9560 Jan  1  1970 toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 top -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 touch -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tr -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 traceroute -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 true -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ttysize -> busybox
-rwxr-x---    1 root     root         34160 Jan  1  1970 tune2fs
-rwxr-x---    1 root     root          9508 Jan  1  1970 twrp
-rwxr-x---    1 root     root         17720 Jan  1  1970 twrpdec
-rwxr-x---    1 root     root             0 Jan  1  1970 tzdata_twrp-timestamp
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ueventd -> ../init
lrwxrwxrwx    1 root     root             7 Jan  1  1970 umount -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uname -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uncompress -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unexpand -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uniq -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unix2dos -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unlzma -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unlzop -> busybox
lrwxrwxrwx    1 root     root             4 Jan  1  1970 unpigz -> pigz
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unxz -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unzip -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uptime -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 usleep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uudecode -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uuencode -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 vi -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 watch -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 watchdogd -> ../init
lrwxrwxrwx    1 root     root             7 Jan  1  1970 wc -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 wget -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 which -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 whoami -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 xargs -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 xz -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 xzcat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 yes -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 zcat -> busybox
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
drwxr-xr-x   18 root     root             0 May 23 18:27 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxr-xr-x    4 root     root          4096 May 23 18:17 cache
lrwxrwxrwx    1 root     root            49 May 23 14:31 capacity -> /sys/class/power_supply/ds2784-fuelgauge/capacity
lrwxrwxrwx    1 root     root            13 Jan  1  1970 charger -> /sbin/healthd
drwxrwx--x    5 system   system        4096 May 23 18:17 data
-rw-r--r--    1 root     root          3234 Jan  1  1970 default.prop
drwxr-xr-x   10 root     root          2440 May 23 14:31 dev
drwxr-xr-x    2 root     root             0 May 23 14:31 etc
-rw-r--r--    1 root     root         13368 Jan  1  1970 file_contexts
-rw-r-----    1 root     root          1628 Jan  1  1970 fstab.manta
-rw-r-----    1 root     root           657 Jan  1  1970 fstab.smdk5250
-rwxr-x---    1 root     root        305672 Jan  1  1970 init
-rwxr-x---    1 root     root          3182 Jan  1  1970 init.rc
-rwxr-x---    1 root     root           105 Jan  1  1970 init.recovery.hlthchrg.rc
-rwxr-x---    1 root     root           437 Jan  1  1970 init.recovery.manta.rc
-rwxr-x---    1 root     root            70 Jan  1  1970 init.recovery.nano.rc
-rwxr-x---    1 root     root           111 Jan  1  1970 init.recovery.service.rc
-rwxr-x---    1 root     root          1323 Jan  1  1970 init.recovery.usb.rc
drwxr-xr-x    3 root     root             0 Jan  1  1970 license
dr-xr-xr-x  109 root     root             0 Jan  1  1970 proc
-rw-r--r--    1 root     root          2920 Jan  1  1970 property_contexts
drwxr-xr-x    3 root     root             0 Jan  1  1970 res
drwx------    2 root     root             0 Nov 18  2014 root
drwxr-x---    2 root     root             0 May 23 14:31 sbin
drwxrwx---   14 media_rw media_rw      4096 May 23 18:27 sdcard
-rw-r--r--    1 root     root           578 Jan  1  1970 seapp_contexts
-rw-r--r--    1 root     root            54 Jan  1  1970 selinux_version
-rw-r--r--    1 root     root        120822 Jan  1  1970 sepolicy
-rw-r--r--    1 root     root          9438 Jan  1  1970 service_contexts
drwxr-xr-x    2 root     root             0 May 23 14:31 sideload
lrwxrwxrwx    1 root     root            45 May 23 14:31 status -> /sys/class/power_supply/smb347-battery/status
dr-xr-xr-x   12 root     root             0 May 23 14:31 sys
drwxr-xr-x    3 root     root          4096 May 23 18:29 system
drwxrwxr-x    2 root     shell           80 May 23 14:31 tmp
drwxr-xr-x    5 root     root             0 Jan  1  1970 twres
-rw-r--r--    1 root     root          7155 Jan  1  1970 ueventd.manta.rc
-rw-r--r--    1 root     root          4603 Jan  1  1970 ueventd.rc
-rw-r--r--    1 root     root          2107 Jan  1  1970 ueventd.smdk5250.rc
drwxrwxrwx    2 root     root             0 May 23 14:31 usb-otg
~ # ls -la /sbin/
~ # exit
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180202-system=1228M-cache=max+wipe-flo\bin\parted /sbin/parted
C:\Users\olive\Downloads\lanchon-repit-09180202-system=1228M-c... 1 file pushed, 0 skipped. 386.9 MB/s (346680 bytes in 0.001s)
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180202-system=1228M-cache=max+wipe-flo\bin\sgdisk /sbin/sgdisk
C:\Users\olive\Downloads\lanchon-repit-09180202-system=1228M-c...1 file pushed, 0 skipped. 679.6 MB/s (1678733 bytes in 0.002s)
PS C:\Users\olive> adb shell
~ # parted
/sbin/sh: parted: Permission denied
~ # ls -la /sbin/
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxr-x---    2 root     root             0 May 23 18:31 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
lrwxrwxrwx    1 root     root             7 Jan  1  1970 [ -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 [[ -> busybox
-rwxr-x---    1 root     root        240176 Jan  1  1970 adbd
lrwxrwxrwx    1 root     root             7 Jan  1  1970 adjtimex -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 arp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ash -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 awk -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 base64 -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 basename -> busybox
-rwxr-x---    1 root     root        481516 Jan  1  1970 bash
-rwxr-x---    1 root     root             0 Jan  1  1970 bash_twrp-timestamp
lrwxrwxrwx    1 root     root             7 Jan  1  1970 bbconfig -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 blkid -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 blockdev -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 brctl -> busybox
-rwxr-x---    1 root     root         17748 Jan  1  1970 bu
lrwxrwxrwx    1 root     root             7 Jan  1  1970 bunzip2 -> busybox
-rwxr-x---    1 root     root        587364 Jan  1  1970 busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 bzcat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 bzip2 -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cal -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 catv -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chattr -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chcon -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chgrp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chmod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chown -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chroot -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 chvt -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 clear -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cmp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 comm -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cpio -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 crond -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 crontab -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 cut -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 date -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dc -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 deallocvt -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 depmod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 devmem -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 df -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 diff -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dirname -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dmesg -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dnsd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 dos2unix -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 du -> busybox
-rwxr-x---    1 root     root          5416 Jan  1  1970 dump_image
-rwxr-x---    1 root     root        154592 Jan  1  1970 e2fsck
lrwxrwxrwx    1 root     root             7 Jan  1  1970 echo -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ed -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 egrep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 env -> busybox
-rwxr-x---    1 root     root          5416 Jan  1  1970 erase_image
-rwxr-x---    1 root     root         99992 Jan  1  1970 exfat-fuse
lrwxrwxrwx    1 root     root             7 Jan  1  1970 expand -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 expr -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 false -> busybox
-rwxr-x---    1 root     root         21860 Jan  1  1970 fatlabel
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fbsplash -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fdisk -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fgconsole -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fgrep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 find -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 findfs -> busybox
-rwxr-x---    1 root     root          5364 Jan  1  1970 flash_image
lrwxrwxrwx    1 root     root             7 Jan  1  1970 flash_lock -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 flash_unlock -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 flashcp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 flock -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fold -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 free -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 freeramdisk -> busybox
-rwxr-x---    1 root     root          9512 Jan  1  1970 fsck.exfat
-rwxr-x---    1 root     root         42368 Jan  1  1970 fsck.f2fs
-rwxr-x---    1 root     root         38292 Jan  1  1970 fsck.fat
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fstrim -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fsync -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ftpget -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ftpput -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 fuser -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 getenforce -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 getopt -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 getprop -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 getsebool -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 grep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 groups -> busybox
lrwxrwxrwx    1 root     root             4 Jan  1  1970 gunzip -> pigz
lrwxrwxrwx    1 root     root             4 Jan  1  1970 gzip -> pigz
lrwxrwxrwx    1 root     root             7 Jan  1  1970 halt -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 head -> busybox
-rwxr-x---    1 root     root        334104 Jan  1  1970 healthd
lrwxrwxrwx    1 root     root             7 Jan  1  1970 hexdump -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 hwclock -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 id -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ifconfig -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 inetd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 insmod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 install -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ionice -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 iostat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ip -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 kill -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 killall -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 killall5 -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 less -> busybox
-rwxr-x---    1 root     root         21692 Jan  1  1970 libaosprecovery.so
-rwxr-x---    1 root     root         29932 Jan  1  1970 libbacktrace.so
-rwxr-x---    1 root     root        112392 Jan  1  1970 libblkid.so
-rwxr-x---    1 root     root          5256 Jan  1  1970 libbmlutils.so
-rwxr-x---    1 root     root         17680 Jan  1  1970 libbootloader_message_twrp.so
-rwxr-x---    1 root     root        599420 Jan  1  1970 libc++.so
-rwxr-x---    1 root     root        505995 Jan  1  1970 libc.so
-rwxr-x---    1 root     root          5268 Jan  1  1970 libcrecovery.so
-rwxr-x---    1 root     root         21768 Jan  1  1970 libcryptfsfde.so
-rwxr-x---    1 root     root       1052924 Jan  1  1970 libcrypto.so
-rwxr-x---    1 root     root         46484 Jan  1  1970 libcutils.so
-rwxr-x---    1 root     root          9300 Jan  1  1970 libdl.so
-rwxr-x---    1 root     root         29912 Jan  1  1970 libexfat_twrp.so
-rwxr-x---    1 root     root         32220 Jan  1  1970 libext2_blkid.so
-rwxr-x---    1 root     root          9408 Jan  1  1970 libext2_com_err.so
-rwxr-x---    1 root     root         22520 Jan  1  1970 libext2_e2p.so
-rwxr-x---    1 root     root         13556 Jan  1  1970 libext2_profile.so
-rwxr-x---    1 root     root         25796 Jan  1  1970 libext2_quota.so
-rwxr-x---    1 root     root          9408 Jan  1  1970 libext2_uuid.so
-rwxr-x---    1 root     root        165660 Jan  1  1970 libext2fs.so
-rwxr-x---    1 root     root         46268 Jan  1  1970 libext4_utils.so
-rwxr-x---    1 root     root          9404 Jan  1  1970 libflashutils.so
-rwxr-x---    1 root     root        361716 Jan  1  1970 libft2.so
-rwxr-x---    1 root     root          9376 Jan  1  1970 libfusesideload.so
-rwxr-x---    1 root     root         21704 Jan  1  1970 libgccdemangle.so
-rwxr-x---    1 root     root          9304 Jan  1  1970 libgpt_twrp.so
-rwxr-x---    1 root     root          5316 Jan  1  1970 libhardware.so
-rwxr-x---    1 root     root         21748 Jan  1  1970 liblog.so
-rwxr-x---    1 root     root         95512 Jan  1  1970 libm.so
-rwxr-x---    1 root     root         50736 Jan  1  1970 libminadbd.so
-rwxr-x---    1 root     root         21700 Jan  1  1970 libmincrypttwrp.so
-rwxr-x---    1 root     root        174620 Jan  1  1970 libminuitwrp.so
-rwxr-x---    1 root     root         21660 Jan  1  1970 libminzip.so
-rwxr-x---    1 root     root          9384 Jan  1  1970 libmmcutils.so
-rwxr-x---    1 root     root         13520 Jan  1  1970 libmtdutils.so
-rwxr-x---    1 root     root        182212 Jan  1  1970 libncurses.so
-rwxr-x---    1 root     root          5276 Jan  1  1970 libnetd_client.so
-rwxr-x---    1 root     root         13416 Jan  1  1970 libopenaes.so
-rwxr-x---    1 root     root         66756 Jan  1  1970 libpcre.so
-rwxr-x---    1 root     root        156824 Jan  1  1970 libpng.so
-rwxr-x---    1 root     root         50568 Jan  1  1970 libselinux.so
-rwxr-x---    1 root     root         17692 Jan  1  1970 libsparse.so
-rwxr-x---    1 root     root        288288 Jan  1  1970 libssh.so
-rwxr-x---    1 root     root        262004 Jan  1  1970 libssl.so
-rwxr-x---    1 root     root          9400 Jan  1  1970 libstdc++.so
-rwxr-x---    1 root     root        234912 Jan  1  1970 libstlport.so
-rwxr-x---    1 root     root         29892 Jan  1  1970 libtar.so
-rwxr-x---    1 root     root         42176 Jan  1  1970 libtwadbbu.so
-rwxr-x---    1 root     root          9360 Jan  1  1970 libtwrpdigest.so
-rwxr-x---    1 root     root        136936 Jan  1  1970 libtwrpmtp-legacy.so
-rwxr-x---    1 root     root          9340 Jan  1  1970 libunwind-ptrace.so
-rwxr-x---    1 root     root         50432 Jan  1  1970 libunwind.so
-rwxr-x---    1 root     root          9352 Jan  1  1970 libusbhost.so
-rwxr-x---    1 root     root         62728 Jan  1  1970 libutil-linux.so
-rwxr-x---    1 root     root         91436 Jan  1  1970 libutils.so
-rwxr-x---    1 root     root         99668 Jan  1  1970 libz.so
-rwxr-x---    1 root     root         92263 Jan  1  1970 linker
-rwxr-x---    1 root     root          5416 Jan  1  1970 listxattr
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ln -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 load_policy -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 losetup -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ls -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lsattr -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lsmod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lspci -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lsusb -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lzcat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lzma -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lzop -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 lzopcat -> busybox
-rwxr-x---    1 root     root         13720 Jan  1  1970 make_ext4fs
lrwxrwxrwx    1 root     root             7 Jan  1  1970 man -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 matchpathcon -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 md5sum -> busybox
-rwxr-x---    1 root     root         12382 Jan  1  1970 me.twrp.twrpapp.apk
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mesg -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mkdir -> busybox
-rwxr-x---    1 root     root         46464 Jan  1  1970 mke2fs
-rwxr-x---    1 root     root         19576 Jan  1  1970 mkexfatfs
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mkfifo -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mkfs.ext2 -> busybox
-rwxr-x---    1 root     root         96220 Jan  1  1970 mkfs.f2fs
-rwxr-x---    1 root     root         22332 Jan  1  1970 mkfs.fat
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mknod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mkswap -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mktemp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 modinfo -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 modprobe -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 more -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mount -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mountpoint -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mpstat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 mv -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nanddump -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nandwrite -> busybox
-rwxr-x---    1 root     root         63264 Jan  1  1970 nano
-rwxr-x---    1 root     root             0 Jan  1  1970 nano_twrp-timestamp
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nbd-client -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nc -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 netstat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nice -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nmeter -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nohup -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 nslookup -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ntpd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 od -> busybox
-rwxr-x---    1 root     root          9508 Jan  1  1970 openaes
lrwxrwxrwx    1 root     root             7 Jan  1  1970 openvt -> busybox
prwSrwS---    1 root     root             0 May 23 14:31 orsin
prwSrwSrw-    1 root     root             0 May 23 14:31 orsout
-rw-rw-rw-    1 root     root        346680 May 23 15:21 parted
lrwxrwxrwx    1 root     root             7 Jan  1  1970 patch -> busybox
-rwxr-x---    1 root     root           287 Jan  1  1970 permissive.sh
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pgrep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pidof -> busybox
-rwxr-x---    1 root     root         42444 Jan  1  1970 pigz
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ping -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pipe_progress -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pkill -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pmap -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 poweroff -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 printenv -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 printf -> busybox
-rwxr-x---    1 root     root           350 Jan  1  1970 privapp-permissions-twrpapp.xml
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ps -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pstree -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pwd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 pwdx -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 r -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rdate -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rdev -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 readlink -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 realpath -> busybox
-rwxr-x---    1 root     root          5360 Jan  1  1970 reboot
-rwxr-x---    1 root     root        509472 Jan  1  1970 recovery
lrwxrwxrwx    1 root     root             7 Jan  1  1970 renice -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 reset -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 resize -> busybox
-rwxr-x---    1 root     root         34088 Jan  1  1970 resize2fs
lrwxrwxrwx    1 root     root             7 Jan  1  1970 restorecon -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rev -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rm -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rmdir -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rmmod -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 route -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 run-parts -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 runcon -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 rx -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sed -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 selinuxenabled -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 seq -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sestatus -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setconsole -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setenforce -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setfiles -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setkeycodes -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setprop -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setsebool -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setserial -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 setsid -> busybox
-rw-rw-rw-    1 root     root       1678733 May 23 15:21 sgdisk
lrwxrwxrwx    1 root     root            13 Jan  1  1970 sh -> /sbin/busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sha1sum -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sha256sum -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sha3sum -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sha512sum -> busybox
-rwxr-x---    1 root     root          5364 Jan  1  1970 simg2img
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sleep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 smemcap -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sort -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 split -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 start -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 stat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 stop -> toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 strings -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 stty -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sum -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 swapoff -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 swapon -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sync -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 sysctl -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tac -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tail -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tar -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 taskset -> busybox
-rwxr-x---    1 root     root             1 Jan  1  1970 teamwin
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tee -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 telnet -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 telnetd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 test -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tftp -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tftpd -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 time -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 timeout -> busybox
-rwxr-x---    1 root     root          9560 Jan  1  1970 toolbox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 top -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 touch -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 tr -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 traceroute -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 true -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ttysize -> busybox
-rwxr-x---    1 root     root         34160 Jan  1  1970 tune2fs
-rwxr-x---    1 root     root          9508 Jan  1  1970 twrp
-rwxr-x---    1 root     root         17720 Jan  1  1970 twrpdec
-rwxr-x---    1 root     root             0 Jan  1  1970 tzdata_twrp-timestamp
lrwxrwxrwx    1 root     root             7 Jan  1  1970 ueventd -> ../init
lrwxrwxrwx    1 root     root             7 Jan  1  1970 umount -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uname -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uncompress -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unexpand -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uniq -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unix2dos -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unlzma -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unlzop -> busybox
lrwxrwxrwx    1 root     root             4 Jan  1  1970 unpigz -> pigz
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unxz -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 unzip -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uptime -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 usleep -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uudecode -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 uuencode -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 vi -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 watch -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 watchdogd -> ../init
lrwxrwxrwx    1 root     root             7 Jan  1  1970 wc -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 wget -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 which -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 whoami -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 xargs -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 xz -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 xzcat -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 yes -> busybox
lrwxrwxrwx    1 root     root             7 Jan  1  1970 zcat -> busybox
~ # ls -la /sbin/parted
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
-rw-rw-rw-    1 root     root        346680 May 23 15:21 /sbin/parted
~ # chmod a+x /sbin/parted
~ # chmod a+x /sbin/sgdisk
~ # parted
Error: No device found
Retry/Cancel? ^C
~ # parted /dev/block/
bootdevice/   loop7         mmcblk0p5     ram10         ram4
loop0         mmcblk0       mmcblk0p6     ram11         ram5
loop1         mmcblk0boot0  mmcblk0p7     ram12         ram6
loop2         mmcblk0boot1  mmcblk0p8     ram13         ram7
loop3         mmcblk0p1     mmcblk0p9     ram14         ram8
loop4         mmcblk0p2     platform/     ram15         ram9
loop5         mmcblk0p3     ram0          ram2          zram0
loop6         mmcblk0p4     ram1          ram3
~ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: MMC MAG2GA (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name      Flags
 1      4194kB  25.2MB  21.0MB  ext4         efs
 2      25.2MB  33.6MB  8389kB               param
 3      33.6MB  50.3MB  16.8MB               boot
 4      50.3MB  83.8MB  33.5MB               recovery
 5      83.8MB  83.9MB  65.5kB               metadata
 6      83.9MB  88.1MB  4194kB               misc
 7      88.1MB  642MB   554MB   ext4         cache
 8      642MB   2281MB  1639MB  ext4         system
 9      2281MB  15.8GB  13.5GB  ext2         userdata

(parted) quit
quit
~ # mk
mkdir      mkexfatfs  mkfs.ext2  mkfs.fat   mkswap
mke2fs     mkfifo     mkfs.f2fs  mknod      mktemp
~ # mke2fs --help
mke2fs: invalid option -- -
Usage: mke2fs [-c|-l filename] [-b block-size] [-C cluster-size]
        [-i bytes-per-inode] [-I inode-size] [-J journal-options]
        [-G flex-group-size] [-N number-of-inodes]
        [-m reserved-blocks-percentage] [-o creator-os]
        [-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]
        [-O feature[,...]] [-r fs-revision] [-E extended-option[,...]]
        [-t fs-type] [-T usage-type ] [-U UUID] [-jnqvDFKSV] device [blocks-count]
~ # mke2fs --help
~ # e2fsck -f /dev/block/mmcblk0p7
e2fsck 1.42.9 (28-Dec-2013)
/dev/block/mmcblk0p7 is in use.
e2fsck: Cannot continue, aborting.

~ # e2fsck --help
e2fsck: invalid option -- -
Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]
                [-I inode_buffer_blocks] [-P process_inode_size]
                [-l|-L bad_blocks_file] [-C fd] [-j external_journal]
                [-E extended-options] device

Emergency help:
 -p                   Automatic repair (no questions)
 -n                   Make no changes to the filesystem
 -y                   Assume "yes" to all questions
 -c                   Check for bad blocks and add them to the badblock list
 -f                   Force checking even if filesystem is marked clean
 -v                   Be verbose
 -b superblock        Use alternative superblock
 -B blocksize         Force blocksize when looking for superblock
 -j external_journal  Set location of the external journal
 -l bad_blocks_file   Add to badblocks list
 -L bad_blocks_file   Set badblocks list
~ # e2fsck -fvc /dev/block/mmcblk0p7
e2fsck 1.42.9 (28-Dec-2013)
/dev/block/mmcblk0p7 is in use.
e2fsck: Cannot continue, aborting.

~ # e2fsck -fvc /dev/block/mmcblk0p7
e2fsck 1.42.9 (28-Dec-2013)
sh: badblocks: not found
/dev/block/mmcblk0p7: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/block/mmcblk0p7: ***** FILE SYSTEM WAS MODIFIED *****

          15 inodes used (0.04%, out of 33840)
           0 non-contiguous files (0.0%)
           0 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 7
        4367 blocks used (3.23%, out of 135168)
           0 bad blocks
           0 large files

           3 regular files
           3 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
           6 files
~ # e2fsck -fc /dev/block/mmcblk0p7
e2fsck 1.42.9 (28-Dec-2013)
sh: badblocks: not found
/dev/block/mmcblk0p7: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/block/mmcblk0p7: ***** FILE SYSTEM WAS MODIFIED *****
/dev/block/mmcblk0p7: 15/33840 files (0.0% non-contiguous), 4367/135168 blocks
~ # e2fsck -fcp /dev/block/mmcblk0p7
sh: badblocks: not found
/dev/block/mmcblk0p7: Updating bad block inode.
/dev/block/mmcblk0p7: 15/33840 files (0.0% non-contiguous), 4367/135168 blocks
~ # e2fsck -fcp /dev/block/mmcblk0p8
sh: badblocks: not found
/dev/block/mmcblk0p8: Updating bad block inode.
/dev/block/mmcblk0p8: 12/100048 files (0.0% non-contiguous), 13573/400112 blocks
~ # e2fsck -fcp /dev/block/mmcblk0p9
sh: badblocks: not found
/dev/block/mmcblk0p9: Updating bad block inode.
/dev/block/mmcblk0p9: Extended attribute block 526 has reference count 943, should be 3.

/dev/block/mmcblk0p9: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
        (i.e., without -a or -p options)
~ # e2fsck -fc /dev/block/mmcblk0p9
e2fsck 1.42.9 (28-Dec-2013)
sh: badblocks: not found
/dev/block/mmcblk0p9: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Extended attribute block 526 has reference count 943, should be 3.  Fix<y>? y
yes
Extended attribute block 428753 has reference count 702, should be 5.  Fix<y>? yes
Extended attribute block 721458 has reference count 3, should be 1.  Fix<y>? y
yes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -33281 -33283 -33285 -33287 -65538 -131585 -197419 -229889 -360961 -426500 -426504 -426508 -(426512--426514) -426518 -(426522--426523) -426527 -426531 -426535 -426539 -426543 -426547 -426551 -426555 -426559 -426563 -426567 -426571 -426575 -426579 -426583 -426587 -426591 -426595 -426599 -426603 -426607 -426611 -426615 -426619 -426623 -426627 -426632 -(426636--426637) -426641 -(426645--426646) -426650 -426654 -426658 -426662 -426666 -426670 -426674 -426678 -426682 -426686 -426690 -426694 -426698 -426702 -426706 -(426710--426711) -426715 -(426719--426720) -(426724--426725) -426729 -426733 -426737 -426741 -426745 -426749 -426753 -426757 -426761 -426765 -426769 -426773 -426777 -426783 -426788 -426792 -426796 -426800 -426804 -426808 -426812 -426820 -426824 -(426828--426829) -(426833--426834) -(426838--426839) -426843 -426847 -426851 -(426855--426856) -426860 -426864 -426872 -426876 -426880 -426884 -426888 -426892 -426896 -(426900--426901) -426905 -426909 -426913 -(426917--426918) -426922 -(426926--426927) -426931 -426935 -(426939--426940) -426944 -426948 -426952 -(426956--426957) -426961 -426965 -426969 -426973 -426977 -426981 -(426985--426986) -(426990--426991) -426995 -426999 -427003 -427007 -427011 -427015 -427019 -427023 -427027 -427031 -427035 -427039 -427043 -427047 -427052 -(427056--427057) -(427061--427062) -427066 -427070 -427074 -427078 -427082 -427086 -428959 -430845 -459265 -459307 -524803 -590337 -720898 -721411 -721414 -721416 -721418 -721420 -721422 -721425 -721429 -721431 -721433 -721435 -721437 -721439 -721441 -721443 -721447 -721449 -721451 -721453 -721455 -721460 -721462 -721464 -721466 -721468 -721471 -721474 -721477 -917506 -1114625 -1147395 -1147397 -1147399 -1153477 -1278465 -1344001 -1442305 -1540609 -1606146 -1606148 -1769985 -1835011 -1933825 -2294273 -2359809 -2490881 -2490883 -2490886 -2490889 -2589220 -2589323 -(2589760--2589761) -2916866 -3244035
Fix<y>? yes
Free blocks count wrong for group #1 (32251, counted=32255).
Fix<y>? y
yes
Free blocks count wrong for group #2 (32256, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #4 (32256, counted=32257).
Fix<y>? y
yes
Free blocks count wrong for group #6 (32256, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #7 (32254, counted=32255).
Fix<y>? y
yes
Free blocks count wrong for group #11 (32256, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #13 (32088, counted=32250).
Fix<y>? y
yes
Free blocks count wrong for group #14 (32255, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #16 (32256, counted=32257).
Fix<y>? y
yes
Free blocks count wrong for group #18 (32256, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #22 (44, counted=73).
Fix<y>? y
yes
Free blocks count wrong for group #28 (3, counted=4).
Fix<y>? yes
Free blocks count wrong for group #34 (7, counted=8).
Fix<y>? y
yes
Free blocks count wrong for group #35 (10989, counted=10993).
Fix<y>? yes
Free blocks count wrong for group #39 (32256, counted=32257).
Fix<y>? y
yes
Free blocks count wrong for group #41 (32256, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #44 (32256, counted=32257).
Fix<y>? y
yes
Free blocks count wrong for group #47 (32256, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #49 (32253, counted=32255).
Fix<y>? y
yes
Free blocks count wrong for group #54 (32256, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #56 (32256, counted=32257).
Fix<y>? y
yes
Free blocks count wrong for group #59 (32256, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #70 (32256, counted=32257).
Fix<y>? y
yes
Free blocks count wrong for group #72 (32256, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #76 (32253, counted=32257).
Fix<y>? y
yes
Free blocks count wrong for group #79 (32253, counted=32257).
Fix<y>? yes
Free blocks count wrong for group #89 (32256, counted=32257).
Fix<y>? y
yes
Free blocks count wrong for group #99 (32256, counted=32257).
Fix<y>? yes
Free blocks count wrong (2623294, counted=2623525).
Fix<y>? y
yes

/dev/block/mmcblk0p9: ***** FILE SYSTEM WAS MODIFIED *****
/dev/block/mmcblk0p9: 64/1645088 files (6.3% non-contiguous), 666852/3290377 blocks
~ #
~ # e2fsck -fc /dev/block/mmcblk0p9
e2fsck 1.42.9 (28-Dec-2013)
sh: badblocks: not found
/dev/block/mmcblk0p9: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/block/mmcblk0p9: ***** FILE SYSTEM WAS MODIFIED *****
/dev/block/mmcblk0p9: 64/1645088 files (6.3% non-contiguous), 666852/3290377 blocks
~ # e2fsck --help
e2fsck: invalid option -- -
Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]
                [-I inode_buffer_blocks] [-P process_inode_size]
                [-l|-L bad_blocks_file] [-C fd] [-j external_journal]
                [-E extended-options] device

Emergency help:
 -p                   Automatic repair (no questions)
 -n                   Make no changes to the filesystem
 -y                   Assume "yes" to all questions
 -c                   Check for bad blocks and add them to the badblock list
 -f                   Force checking even if filesystem is marked clean
 -v                   Be verbose
 -b superblock        Use alternative superblock
 -B blocksize         Force blocksize when looking for superblock
 -j external_journal  Set location of the external journal
 -l bad_blocks_file   Add to badblocks list
 -L bad_blocks_file   Set badblocks list
~ # e2fsck -fyc /dev/block/mmcblk0p9
e2fsck 1.42.9 (28-Dec-2013)
sh: badblocks: not found
/dev/block/mmcblk0p9: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/block/mmcblk0p9: ***** FILE SYSTEM WAS MODIFIED *****
/dev/block/mmcblk0p9: 64/1645088 files (6.3% non-contiguous), 666852/3290377 blocks
~ # e2fsck -fyc /dev/block/mmcblk0p7
e2fsck 1.42.9 (28-Dec-2013)
sh: badblocks: not found
/dev/block/mmcblk0p7: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/block/mmcblk0p7: ***** FILE SYSTEM WAS MODIFIED *****
/dev/block/mmcblk0p7: 15/33840 files (0.0% non-contiguous), 4367/135168 blocks
~ # e2fsck -fyc /dev/block/mmcblk0p8
e2fsck 1.42.9 (28-Dec-2013)
sh: badblocks: not found
/dev/block/mmcblk0p8: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/block/mmcblk0p8: ***** FILE SYSTEM WAS MODIFIED *****
/dev/block/mmcblk0p8: 12/100048 files (0.0% non-contiguous), 13573/400112 blocks
~ # e2fsck -fyc /dev/block/mmcblk0p9
e2fsck 1.42.9 (28-Dec-2013)
sh: badblocks: not found
/dev/block/mmcblk0p9: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/block/mmcblk0p9: ***** FILE SYSTEM WAS MODIFIED *****
/dev/block/mmcblk0p9: 64/1645088 files (6.3% non-contiguous), 666852/3290377 blocks
~ # sgdisk --help
Usage: sgdisk  [OPTION...] <device>
  -A, --attributes=list|[partnum:show|or|nand|xor|=|set|clear|toggle|get[:bitnum|hexbitmask]]     operate on partition attributes
  -a, --set-alignment=value                                                                       set sector alignment
  -b, --backup=file                                                                               backup GPT to file
  -c, --change-name=partnum:name                                                                  change partition's name
  -C, --recompute-chs                                                                             recompute CHS values in protective/hybrid MBR
  -d, --delete=partnum                                                                            delete a partition
  -D, --display-alignment                                                                         show number of sectors per allocation block
  -e, --move-second-header                                                                        move second header to end of disk
  -E, --end-of-largest                                                                            show end of largest free block  -f, --first-in-largest                                                                          show start of the largest free block
  -F, --first-aligned-in-largest                                                                  show start of the largest free block, aligned
  -g, --mbrtogpt                                                                                  convert MBR to GPT
  -G, --randomize-guids                                                                           randomize disk and partition GUIDs
  -h, --hybrid=partnum[:partnum...]                                                               create hybrid MBR
  -i, --info=partnum                                                                              show detailed information on partition
  -l, --load-backup=file                                                                          load GPT backup from file
  -L, --list-types                                                                                list known partition types
  -m, --gpttombr=partnum[:partnum...]                                                             convert GPT to MBR
  -n, --new=partnum:start:end                                                                     create new partition
  -N, --largest-new=partnum                                                                       create largest possible new partition
  -p, --print                                                                                     print partition table
  -r, --transpose=partnum:partnum                                                                 transpose two partitions
  -s, --sort                                                                                      sort partition table entries
  -t, --typecode=partnum:{hexcode|GUID}                                                           change partition type code
  -u, --partition-guid=partnum:guid                                                               set partition GUID
  -U, --disk-guid=guid                                                                            set disk GUID
  -v, --verify                                                                                    check partition table integrity
  -V, --version                                                                                   display version information
  -z, --zap                                                                                       zap (destroy) GPT (but not MBR) data structures
  -Z, --zap-all                                                                                   zap (destroy) GPT and MBR data structures

Help options:
  -?, --help                                                                                      Show this help message
  --usage                                                                                         Display brief usage message
~ # sgdisk /dev/block/mmcblk0 --set-alignment 1 --print
Disk /dev/block/mmcblk0: 30777344 sectors, 14.7 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 52444E41-494F-2044-4D4D-43204449534B
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 30777310
Partitions will be aligned on 1-sector boundaries
Total free space is 8177 sectors (4.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            8192           49151   20.0 MiB    0700  efs
   2           49152           65535   8.0 MiB     0700  param
   3           65536           98303   16.0 MiB    0700  boot
   4           98304          163711   31.9 MiB    0700  recovery
   5          163712          163839   64.0 KiB    0700  metadata
   6          163840          172031   4.0 MiB     0700  misc
   7          172032         1253375   528.0 MiB   0700  cache
   8         1253376         4454275   1.5 GiB     0700  system
   9         4454276        30777291   12.6 GiB    0700  userdata
~ # dd if=/dev/zero of=/dev/block/
~ # df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                   548.8M     20.0K    548.8M   0% /dev
tmpfs                   548.8M     24.0K    548.8M   0% /tmp
~ # chmod a+x /sbin/sgdisk
~ # exut
/sbin/sh: exut: not found
~ # exit
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180202-system=1228M-cache=max+wipe-flo.zip /sdcard
C:\Users\olive\Downloads\lanchon-repit-09180202-system=1228M-cache=max+wipe-flo.zip: 1 file pushed, 0 skipped. 194.0 MB/s (2085356 bytes in 0.010s)
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180202-system=2G+wipe+ext4-data=6G+wipe+ext4-cache=max+wipe.zip /sdcard
C:\Users\olive\Downloads\lanchon-repit-09180202-system=2G+wipe+ext4-data=6G+wipe+e...4-cache=max+wipe.zip: 1 file pushed, 0 skipped. 7.3 MB/s (6059725 bytes in 0.790s)
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180202-system=2G+wipe+ext4-data=6G+wipe+ext4-cache=max+wipe.zip /sdcard
C:\Users\olive\Downloads\lanchon-repit-09180202-system=2G+wipe+ext4-data=6G+wipe+e...cache=max+wipe.zip: 1 file pushed, 0 skipped. 855.3 MB/s (2085356 bytes in 0.002s)
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180202-system=2G+wipe+ext4-data=6G+wipe+ext4-cache=max+wipe-manta.zip /sdcard
C:\Users\olive\Downloads\lanchon-repit-09180202-system=2G+wipe+ext4-data=6G+wipe+e...max+wipe-manta.zip: 1 file pushed, 0 skipped. 806.4 MB/s (2085356 bytes in 0.002s)
PS C:\Users\olive> adb shell
~ # cd /sdcard/
/sdcard # ls
Alarms
Android
DCIM
Documents
Download
Movies
Music
Notifications
Pictures
Podcasts
Ringtones
TWRP
dmesg.log
lanchon-repit-09180202-system=2G+wipe+ext4-data=6G+wipe+ext4-cache=max+wipe-manta.zip
lanchon-repit-09180202-system=2G+wipe+ext4-data=6G+wipe+ext4-cache=max+wipe.zip
lineage-17.1-20210510-UNOFFICIAL-manta.zip
recovery.log
/sdcard # rm lanchon-repit-09180202-system\=2G\+wipe\+ext4-data\=6G\+wipe\+ext4-
cache\=max\+wipe.zip
/sdcard # df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                   548.8M     20.0K    548.8M   0% /dev
tmpfs                   548.8M      2.1M    546.8M   0% /tmp
/dev/block/mmcblk0p9     12.4G      2.3G      9.4G  20% /data
/dev/block/mmcblk0p9     12.4G      2.3G      9.4G  20% /sdcard
/dev/block/mmcblk0p7    519.7M      8.7M    510.9M   2% /cache
/dev/block/mmcblk0p8      1.5G     28.4M      1.5G   2% /system
/sdcard # parted
Error: No device found
Retry/Cancel? ^C
/sdcard # parted
/sdcard # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: MMC MAG2GA (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Partition Table: gpt
Number  Start   End     Size    File system  Name      Flags
 1      4194kB  25.2MB  21.0MB  ext4         efs
 2      25.2MB  33.6MB  8389kB               param
 3      33.6MB  50.3MB  16.8MB               boot
 4      50.3MB  83.8MB  33.5MB               recovery
 5      83.8MB  83.9MB  65.5kB               metadata
 6      83.9MB  88.1MB  4194kB               misc
 7      88.1MB  642MB   554MB   ext4         cache
 8      642MB   2281MB  1639MB  ext4         system
 9      2281MB  15.8GB  13.5GB  ext2         userdata

(parted) exit
exit
  check NUMBER                             do a simple check on the file system
  cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
  help [COMMAND]                           print general help, or help on
        COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partition
        table)
  mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on
        partititon NUMBER
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
  move NUMBER START END                    move partition NUMBER
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table,
        available devices, free space, all found partitions, or a particular
        partition
  quit                                     exit program
  rescue START END                         rescue a lost partition near START
        and END
  resize NUMBER START END                  resize partition NUMBER and its file
        system
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition
        NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and
        copyright information of GNU Parted
(parted) quit
quit
/sdcard # exit
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180102-cache=max+wipe-system=2G-manta.zip /sdcard
PS C:\Users\olive> adb shell
/tmp # ls
lanchon-repit
lanchon-repit-09180102-cache=max+wipe-system=2G-manta.zip
lanchon-repit.log
recovery.log
twadbfifo
updater
/tmp # ls -la
drwxrwxr-x    4 root     shell          180 May 23 19:05 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxrwx    5 root     root           100 May 23 18:58 flashize
drwxrwxrwx    3 root     root            60 May 23 19:05 lanchon-repit
-rw-rw-rw-    1 root     root       2082035 May 23 19:05 lanchon-repit-09180102-cache=max+wipe-system=2G-manta.zip
-rw-rw-rw-    1 root     root           927 May 23 19:05 lanchon-repit.log
-rw-rw-rw-    1 root     root         28351 May 23 19:05 recovery.log
prwSrwS---    1 root     root             0 May 23 14:31 twadbfifo
-rwxr-xr-x    1 root     root          4884 May 23 19:05 updater
/tmp # cd lanchon-repit/
/tmp/lanchon-repit # ls -la
drwxrwxrwx    3 root     root            60 May 23 19:05 .
drwxrwxr-x    4 root     shell          180 May 23 19:05 ..
drwxrwxrwx    4 root     root            80 May 23 19:05 partition-info
/tmp/lanchon-repit # less partition-info/p
p7/  p8/
/tmp/lanchon-repit # less partition-info/p7/
fname          parsedContent  parsedSize
footerSize     parsedFs       pname
/tmp/lanchon-repit # ls -la
drwxrwxrwx    3 root     root            60 May 23 19:05 .
drwxrwxr-x    4 root     shell          180 May 23 19:05 ..
drwxrwxrwx    4 root     root            80 May 23 19:05 partition-info
/tmp/lanchon-repit # cd ..
/tmp # ls -la
drwxrwxr-x    4 root     shell          180 May 23 19:05 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxrwx    5 root     root           100 May 23 18:58 flashize
drwxrwxrwx    3 root     root            60 May 23 19:05 lanchon-repit
-rw-rw-rw-    1 root     root       2082035 May 23 19:05 lanchon-repit-09180102-cache=max+wipe-system=2G-manta.zip
-rw-rw-rw-    1 root     root           927 May 23 19:05 lanchon-repit.log
-rw-rw-rw-    1 root     root         28351 May 23 19:05 recovery.log
prwSrwS---    1 root     root             0 May 23 14:31 twadbfifo
-rwxr-xr-x    1 root     root          4884 May 23 19:05 updater
/tmp # exit
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip /sdcard
C:\Users\olive\Downloads\lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4...eep+ext4-manta.zip: 1 file pushed, 0 skipped. 709.7 MB/s (2082035 bytes in 0.003s)
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=+wipe+ext4-manta.zip /sdcard
C:\Users\olive\Downloads\lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4...ipe+ext4-manta.zip: 1 file pushed, 0 skipped. 727.0 MB/s (2082035 bytes in 0.003s)
PS C:\Users\olive> adb shell
~ # parted
Error: No device found
Retry/Cancel? ^C
~ #
~ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: MMC MAG2GA (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name      Flags
 1      4194kB  25.2MB  21.0MB  ext4         efs
 2      25.2MB  33.6MB  8389kB               param
 3      33.6MB  50.3MB  16.8MB               boot
 4      50.3MB  83.8MB  33.5MB               recovery
 5      83.8MB  83.9MB  65.5kB               metadata
 6      83.9MB  88.1MB  4194kB               misc
 7      88.1MB  642MB   554MB   ext4         cache
 8      642MB   2281MB  1639MB  ext4         system
 9      2281MB  15.8GB  13.5GB  ext2         userdata

(parted) exit
exit
  check NUMBER                             do a simple check on the file system
  cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
  help [COMMAND]                           print general help, or help on
        COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partition
        table)
  mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on
        partititon NUMBER
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
  move NUMBER START END                    move partition NUMBER
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table,
        available devices, free space, all found partitions, or a particular
  quit                                     exit program
  rescue START END                         rescue a lost partition near START
        and END
  resize NUMBER START END                  resize partition NUMBER and its file
        system
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition
        NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and
        copyright information of GNU Parted
(parted) exit
exit
  check NUMBER                             do a simple check on the file system
  cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
  help [COMMAND]                           print general help, or help on
        COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partition
        table)
  mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on
        partititon NUMBER
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
  move NUMBER START END                    move partition NUMBER
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table,
        available devices, free space, all found partitions, or a particular
        partition
  quit                                     exit program
  rescue START END                         rescue a lost partition near START
        and END
  resize NUMBER START END                  resize partition NUMBER and its file
        system
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition
        NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and
(parted) quit
quit
PS C:\Users\olive> adb shell
drwxrwx---   14 media_rw media_rw      4096 May 23 19:10 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root       2082035 May 23 19:03 lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:03 lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=+wipe+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:03 lanchon-repit-09180102-cache=max+wipe-system=2G-manta.zip
-rw-rw-rw-    1 root     root       2085356 May 23 15:21 lanchon-repit-09180202-system=2G+wipe+ext4-data=6G+wipe+ext4-cache=max+wipe-manta.zip
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
~ # rm -rf /sdcard/lanchon-repit-09180*
~ # ls -la /sdcard
drwxrwx---   14 media_rw media_rw      4096 May 23 19:13 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
~ # exit
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=max+keep+ext4-manta /sdcard
adb: error: cannot stat 'C:\Users\olive\Downloads\lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=max+keep+ext4-manta': No such file or directory
PS C:\Users\olive> adb push C:\Users\olive\Downloads\lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=max+keep+ext4-manta.zip /sdcard
C:\Users\olive\Downloads\lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext...eep+ext4-manta.zip: 1 file pushed, 0 skipped. 744.4 MB/s (2082035 bytes in 0.003s)
PS C:\Users\olive> adb shell
~ # cd /sdcard/
/sdcard # ls -la
drwxrwx---   14 media_rw media_rw      4096 May 23 19:13 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root       2082035 May 23 19:03 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
/sdcard # mv lanchon-repit-09180102-cache\=same\+wipe-system\=2G\+wipe\+ext4-dat
a\=wipe\+ext4-sdcard\=max\+keep\+ext4-manta.zip lanchon-repit-09180102-cache\=sa
me\+wipe-system\=2G\+wipe\+ext4-sdcard\=max\+keep\+ext4-manta.zip
/sdcard # mv lanchon-repit-09180102-cache\=same\+wipe-system\=2G\+wipe\+ext4-dat
a\=wipe\+ext4-sdcard\=max\+keep\+ext4-manta.zip lanchon-repit-09180102-cache\=sa
me\+wipe-system\=2G\+wipe\+ext4-sdcard\=max\+keep\+ext4-manta.zip
/sdcard # mv lanchon-repit-09180102-cache\=same\+wipe-system\=2G\+wipe\+ext4-sdc
ard\=max\+keep\+ext4-manta.zip lanchon-repit-09180102-cache\=same\+wipe-system\=
2G\+wipe\+ext4-data\=max\+keep\+ext4-manta.zip
/sdcard # cd /tmp/
/tmp # ls -la
drwxrwxr-x    4 root     shell          280 May 23 19:16 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxrwx    5 root     root           100 May 23 18:58 flashize
drwxrwxrwx    3 root     root            60 May 23 19:16 lanchon-repit
-rw-rw-rw-    1 root     root       2082035 May 23 19:11 lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:11 lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=+wipe+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:06 lanchon-repit-09180102-cache=max+wipe-system=2G-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:16 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:14 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:16 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-sdcard=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root           928 May 23 19:16 lanchon-repit.log
-rw-rw-rw-    1 root     root         45926 May 23 19:16 recovery.log
prwSrwS---    1 root     root             0 May 23 14:31 twadbfifo
-rwxr-xr-x    1 root     root          4884 May 23 19:16 updater
/tmp # ls -la updater
-rwxr-xr-x    1 root     root          4884 May 23 19:16 updater
/tmp # cat updater
#!/sbin/sh

#####################################################
# Flashize Runtime (2016-04-06)                     #
# Copyright 2016, Lanchon                           #
#####################################################

#####################################################
# The Flashize Runtime is free software licensed    #
# under GNU's Lesser General Public License (LGPL)  #
# version 3 and any later version.                  #
# ------------------------------------------------- #
# Note: The code appended to the Flashize Runtime,  #
# if any, is independently licensed.                #
#####################################################

if [ "$1" != "lanchon-magic" ]; then
    export FLASHIZE_VERSION='2016-04-06'
    log=/tmp/lanchon-repit.log
    if [ -f /tmp/flashize-log ]; then
        log="$(cat /tmp/flashize-log)"
        if [ -z "$log" ]; then
            log=/tmp/flashize.log
        fi
    fi
    if [ "$log" == "-" ]; then
        log=""
    fi
    out="/proc/self/fd/$2"
    zip="$3"
    if [ -n "$log" ]; then
        if [ "${log::1}" != "/" ]; then
            logzip="$zip"
            if [ "$logzip" == "/tmp/update.zip" ] || [ "$logzip" == "/sideload/package.zip" ]; then
                # if sideloading, for relative logfile naming purposes pretend that the zip is:
                logzip=/tmp/flashize.zip
            fi
            if [ "$log" == ":" ]; then
                log="$(basename "$logzip" .zip).log"
            fi
            log="$(dirname "$logzip")/$log"
        fi
        mkdir -p "$(dirname "$log")"
    fi
    print() {
        local s="$1"
        if [ -n "$log" ]; then
            >>"$log" echo "$s"
        fi
        if [ -z "$s" ]; then s=" "; fi
        >$out echo "ui_print $s"
        >$out echo "ui_print"
    }
    print
    if [ -n "$log" ]; then
        >"$log"
    fi
    set -o pipefail
    /sbin/sh "$0" "lanchon-magic" "$zip" 2>&1 | (
        IFS=""
        while read -r line; do print "$line"; done
    )
    code=$?
    print
    if [ "$code" -eq "0" ]; then
        print "[OK]";
    else
        print "[ERROR $code]";
    fi
    log=""
    print
    exit $code
fi
shift
[ ! -f /tmp/flashize-debug ] || set -x

#####################################################

#####################################################
# Flashize-Ext Runtime (2016-04-06)                 #
# Copyright 2016, Lanchon                           #
#####################################################

export FLASHIZE_EXT_VERSION='2016-04-06'
mkdir -p '/tmp/flashize/' &&
cd '/tmp/flashize/' &&
unzip -o "$1" -d '/tmp/flashize/' >/dev/null 2>&1
if [ $? -ne 0 ]; then
    >&2 echo "flashize-ext: unable to extract package contents"
    exit 1
fi
[ ! -f /tmp/flashize-ext-debug ] && set +x || set -x

#####################################################

#####################################################
# Flashize-Env Runtime (2016-04-06)                 #
# Copyright 2016, Lanchon                           #
#####################################################

export FLASHIZE_ENV_VERSION='2016-04-06'
base=/tmp/flashize
if [ -f env/init ]; then
    . env/init
    exit
fi
# CM 13.0 recovery does not allow switching SELinux to permissive mode.
#sestatus=""
#if [ -f env/selinux-set ]; then
#   . env/selinux-set
#else
#   if [ -n "$(which setenforce)" ]; then
#       sestatus="$(getenforce)"
#       setenforce permissive
#   fi
#fi
mkdir -p env
if [ ! -f env/setup ]; then
    echo PATH=/tmp/flashize/bin:\"\$PATH\" >env/setup
    echo LD_LIBRARY_PATH=/tmp/flashize/bin:\"\$LD_LIBRARY_PATH\" >>env/setup
    echo export\ PATH\ LD_LIBRARY_PATH >>env/setup
fi
if [ -f env/pre-setup ]; then
    . env/pre-setup
fi
if [ -f env/setup-bin ]; then
    . env/setup-bin
else
    mkdir -p bin
    chmod -R +rx bin
fi
if [ -f env/setup-busybox-symlink ]; then
    # CM 13.0 recovery does not allow symlinking.
    "$base/bin/busybox" --install -s bin || exit
    #for tool in $(bin/busybox --list); do
    #   if [ ! -e "bin/$tool" ]; then
    #       ln -s busybox "bin/$tool"
    #   fi
    #done
    #unset tool
fi
if [ -f env/setup ]; then
    . env/setup
fi
if [ -f env/setup-busybox-alias ]; then
    # Workaround for CM 13.0 recovery.
    bin/busybox --list >/dev/null || exit
    for tool in $(bin/busybox --list); do
        if [ ! -e "bin/$tool" ]; then
            alias "$tool"="busybox $tool"
        fi
    done
    unset tool
fi
if [ -f env/post-setup ]; then
    . env/post-setup
fi
[ ! -f /tmp/flashize-env-debug ] && set +x || set -x
. env/script
# CM 13.0 recovery does not allow switching SELinux to permissive mode.
#code=$?
#[ ! -f /tmp/flashize-ext-debug ] && set +x || set -x
#if [ -f env/selinux-restore ]; then
#   . env/selinux-restore
#else
#   if [ -n "$sestatus" ]; then
#       setenforce "$sestatus"
#   fi
#fi
#exit $code

#####################################################
/tmp # ./updater
./updater: line 73: can't create /proc/self/fd/: Is a directory
./updater: line 73: can't create /proc/self/fd/: Is a directory
./updater: line 73: can't create /proc/self/fd/: Is a directory
./updater: line 73: can't create /proc/self/fd/: Is a directory
./updater: line 73: can't create /proc/self/fd/: Is a directory
./updater: line 73: can't create /proc/self/fd/: Is a directory
./updater: line 73: can't create /proc/self/fd/: Is a directory
./updater: line 73: can't create /proc/self/fd/: Is a directory
./updater: line 73: can't create /proc/self/fd/: Is a directory
./updater: line 73: can't create /proc/self/fd/: Is a directory
/tmp # ls -la
drwxrwxr-x    4 root     shell          280 May 23 19:16 .
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxrwx    5 root     root           100 May 23 18:58 flashize
drwxrwxrwx    3 root     root            60 May 23 19:16 lanchon-repit
-rw-rw-rw-    1 root     root       2082035 May 23 19:11 lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:11 lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=+wipe+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:06 lanchon-repit-09180102-cache=max+wipe-system=2G-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:16 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:14 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:16 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-sdcard=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root            60 May 23 19:17 lanchon-repit.log
-rw-rw-rw-    1 root     root         45926 May 23 19:16 recovery.log
prwSrwS---    1 root     root             0 May 23 14:31 twadbfifo
-rwxr-xr-x    1 root     root          4884 May 23 19:16 updater
/tmp # ./flashize/
/sbin/sh: ./flashize/: Permission denied
/tmp # ./flashize/
META-INF/  bin/       env/
/tmp # ./flashize/bin/
parted  sgdisk
/tmp # ./flashize/env/s
script  setup
/tmp # ./flashize/env/setup
/sbin/sh: ./flashize/env/setup: Permission denied
/tmp # sudo ./flashize/env/setup
/sbin/sh: sudo: not found
/tmp # ls -la ./flashize/env/setup
-rw-rw-rw-    1 root     root           112 May 23 18:58 ./flashize/env/setup
/tmp # id
flashize-ext: unable to extract package contents

[ERROR 1]

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
/tmp #
/tmp # ls -la
drwxr-xr-x   18 root     root             0 May 23 18:27 ..
drwxrwxrwx    5 root     root           100 May 23 18:58 flashize
drwxrwxrwx    3 root     root            60 May 23 19:18 lanchon-repit
-rw-rw-rw-    1 root     root       2082035 May 23 19:11 lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:11 lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=+wipe+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:06 lanchon-repit-09180102-cache=max+wipe-system=2G-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:16 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:14 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root       2082035 May 23 19:16 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-sdcard=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root            60 May 23 19:17 lanchon-repit.log
-rw-rw-rw-    1 root     root         46042 May 23 19:17 recovery.log
prwSrwS---    1 root     root             0 May 23 14:31 twadbfifo
-rwxr-xr-x    1 root     root          4884 May 23 19:16 updater
/tmp # ./flashize/env/script lanchon-repit-09180102-cache\=max\+wipe-system\=2G\
+wipe\+ext4-data\=max\+keep\+ext4-manta.zip
 ####################################
  Lanchon REPIT
  A Data-Sparing Repartitioning Tool
  Version: 0918-01-02
  Device: manta
  Copyright 2016, Lanchon (GPLv3)
 ####################################

=====  PRELIMINARY CHECKS  =====
info: valid package names: <prefix>[-(cache|system)=<conf>]...<suffix>
info: valid partition <conf> values: [<size>(G|M)|same|min|max][+[keep|wipe][+[ext4|vfat|f2fs|swap|raw]]]

-----  DEFAULTS  -----
cache = size:same + content:keep + fs:ext4
system = size:same + content:keep + fs:ext4

info: parsing package name

-----  CONFIGURATION  -----
cache = size:max + content:wipe + fs:ext4
system = size:2G + content:wipe + fs:ext4

info: disabling swap
info: unmounting all partitions
info: rereading partition table
blockdev: /dev/block/mmcblk0: Device or resource busy

FATAL: unable to reread the partition table (please disable MTP in TWRP's 'Mount' menu (or disconnect from PC), reboot TWRP and run this package again; run it immediately after boot up, do not enable USB mass storage; note that you might be told to run it yet again from '/tmp'; make sure your phone is not encrypted: encrypted phones are not supported)
/tmp #
PS C:\Users\olive> adb shell
~ # /tmp/flashize/env/script lanchon-repit-09180102-cache\=max\+wipe-system\=2G\
>
> /tmp/flashize/env/script lanchon-repit-09180102-cache\=max\+wipe-system\=2G\
> exit
 ####################################
  Lanchon REPIT
  A Data-Sparing Repartitioning Tool
  Version: 0918-01-02
  Device: manta
  Copyright 2016, Lanchon (GPLv3)
 ####################################

=====  PRELIMINARY CHECKS  =====
info: valid package names: <prefix>[-(cache|system)=<conf>]...<suffix>
info: valid partition <conf> values: [<size>(G|M)|same|min|max][+[keep|wipe][+[ext4|vfat|f2fs|swap|raw]]]
-----  DEFAULTS  -----
cache = size:same + content:keep + fs:ext4
system = size:same + content:keep + fs:ext4

info: parsing package name

FATAL: invalid partition configuration for 'system': system=2Gexit
~ # /tmp/flashize/env/script /tmp/lanchon-repit-09180102-cache\=max\+wipe-system
\=2G
lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
lanchon-repit-09180102-cache=max+wipe-system=2G+wipe+ext4-data=wipe+ext4-sdcard=+wipe+ext4-manta.zip
lanchon-repit-09180102-cache=max+wipe-system=2G-manta.zip
~ # /tmp/flashize/env/script /tmp/lanchon-repit-09180102-cache\=max\+wipe-system
\=2G\+wipe\+ext4-data\=max\+keep\+ext4-manta.zip
 ####################################
  Lanchon REPIT
  A Data-Sparing Repartitioning Tool
  Version: 0918-01-02
  Device: manta
  Copyright 2016, Lanchon (GPLv3)
 ####################################

=====  PRELIMINARY CHECKS  =====
info: valid package names: <prefix>[-(cache|system)=<conf>]...<suffix>
info: valid partition <conf> values: [<size>(G|M)|same|min|max][+[keep|wipe][+[ext4|vfat|f2fs|swap|raw]]]

-----  DEFAULTS  -----
cache = size:same + content:keep + fs:ext4
system = size:same + content:keep + fs:ext4

info: parsing package name

-----  CONFIGURATION  -----
cache = size:max + content:wipe + fs:ext4
system = size:2G + content:wipe + fs:ext4

info: disabling swap
info: unmounting all partitions
info: rereading partition table
blockdev: /dev/block/mmcblk0: Device or resource busy

FATAL: unable to reread the partition table (please disable MTP in TWRP's 'Mount' menu (or disconnect from PC), reboot TWRP and run this package again; run it immediately after boot up, do not enable USB mass storage; note that you might be told to run it yet again from '/tmp'; make sure your phone is not encrypted: encrypted phones are not supported)
~ #
~ #
PS C:\Users\olive> adb shell
~ # cd /sdcard/
/sdcard # ls -la
drwxrwx---   14 media_rw media_rw      4096 May 23 19:16 .
drwxr-xr-x   18 root     root             0 May 23 19:24 ..
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Alarms
drwxrwxr-x    3 media_rw media_rw      4096 Apr 12 23:24 Android
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 DCIM
drwxrwxr-x    2 media_rw media_rw      4096 May 22 17:53 Documents
drwxrwxr-x    2 media_rw media_rw      4096 May 23 01:13 Download
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Movies
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Music
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Notifications
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Pictures
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Podcasts
drwxrwxr-x    2 media_rw media_rw      4096 Apr 12 23:24 Ringtones
drwxrwxrwx    2 media_rw media_rw      4096 May 22 18:27 TWRP
-rw-rw-r--    1 media_rw media_rw     42504 May 23 01:19 dmesg.log
-rw-rw-rw-    1 root     root       2082035 May 23 19:03 lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
-rw-rw-rw-    1 root     root     398049397 May 23 14:47 lineage-17.1-20210510-UNOFFICIAL-manta.zip
-rw-rw-r--    1 media_rw media_rw     20027 May 23 01:19 recovery.log
/sdcard # mv lanchon-repit-09180102-cache\=same\+wipe-system\=2G\+wipe\+ext4-dat
a\=max\+keep\+ext4-manta.zip lanchon-repit-09180102-cache\=same\+wipe-system\=2G
\+wipe\+ext4-manta.zip
/sdcard # umount --help
BusyBox v1.22.1 bionic (2021-04-06 09:25 +0000) multi-call binary.

Usage: umount [OPTIONS] FILESYSTEM|DIRECTORY

Unmount file systems

        -a      Unmount all file systems
        -r      Try to remount devices as read-only if mount is busy
        -l      Lazy umount (detach filesystem)
        -f      Force umount (i.e., unreachable NFS server)
        -d      Free loop device even if it has been used

/sdcard # umount /sdcard
/sdcard # df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                   548.8M     20.0K    548.8M   0% /dev
tmpfs                   548.8M      6.1M    542.8M   1% /tmp
/dev/block/mmcblk0p9     12.4G      2.3G      9.4G  20% /sdcard
/dev/block/mmcblk0p9     12.4G      2.3G      9.4G  20% /sdcard
/dev/block/mmcblk0p9     12.4G      2.3G      9.4G  20% /sdcard
/dev/block/mmcblk0p9     12.4G      2.3G      9.4G  20% /data
/sdcard # /tmp/
flashize/
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-manta.zip
lanchon-repit.log
lanchon-repit/
recovery.log
twadbfifo
updater
/sdcard # /tmp/flashize/
META-INF/  bin/       env/
/sdcard # /tmp/flashize/bin/
parted  sgdisk
/sdcard # /tmp/flashize/env/script
/sbin/sh: /tmp/flashize/env/script: Permission denied
/sdcard # ls -la /tmp/flashize/env/script
-rw-rw-rw-    1 root     root         44642 May 23 19:26 /tmp/flashize/env/script
/sdcard # chmod +x /tmp/flashize/env/script
/sdcard # /tmp/flashize/env/script /tmp/lanchon-repit
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-manta.zip
lanchon-repit.log
lanchon-repit/
/sdcard # /tmp/flashize/env/script /tmp/lanchon-repit
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-manta.zip
lanchon-repit.log
lanchon-repit/
/sdcard # /tmp/flashize/env/script /tmp/lanchon-repit-09180102-cache\=same\+wipe
-system\=2G\+wipe\+ext4-manta.zip
 ####################################
  Lanchon REPIT
  A Data-Sparing Repartitioning Tool
  Version: 0918-01-02
  Device: manta
  Copyright 2016, Lanchon (GPLv3)
 ####################################

=====  PRELIMINARY CHECKS  =====

FATAL: required tool 'parted' missing (please use a recent version of TWRP to run this package)
/sdcard # ln -s /tmp/
flashize/
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-manta.zip
lanchon-repit.log
lanchon-repit/
recovery.log
twadbfifo
updater
/sdcard # ln -s /tmp/
flashize/
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-manta.zip
lanchon-repit.log
lanchon-repit/
recovery.log
twadbfifo
updater
/sdcard # ln -s /tmp/
flashize/
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-data=max+keep+ext4-manta.zip
lanchon-repit-09180102-cache=same+wipe-system=2G+wipe+ext4-manta.zip
lanchon-repit/
recovery.log
twadbfifo
updater
/sdcard # ln -s /tmp/flashize/bin/
parted  sgdisk
/sdcard # ln -s /tmp/flashize/bin/parted /sbin/parted
/sdcard # ln -s /tmp/flashize/bin/
parted  sgdisk
/sdcard # ln -s /tmp/flashize/bin/sgdisk /sbin/sgdisk
ln: /sbin/sgdisk: File exists
/sdcard # rm -rf /sbin/sgdisk
/sdcard # ln -s /tmp/flashize/bin/sgdisk /sbin/sgdisk
/sdcard # /tmp/flashize/env/script /tmp/lanchon-repit-09180102-cache\=same\+wipe
-system\=2G\+wipe\+ext4-manta.zip
 ####################################
  Lanchon REPIT
  A Data-Sparing Repartitioning Tool
  Version: 0918-01-02
  Device: manta
  Copyright 2016, Lanchon (GPLv3)
 ####################################

=====  PRELIMINARY CHECKS  =====
info: valid package names: <prefix>[-(cache|system)=<conf>]...<suffix>
info: valid partition <conf> values: [<size>(G|M)|same|min|max][+[keep|wipe][+[ext4|vfat|f2fs|swap|raw]]]

-----  DEFAULTS  -----
cache = size:same + content:keep + fs:ext4
system = size:same + content:keep + fs:ext4

info: parsing package name

-----  CONFIGURATION  -----
cache = size:same + content:wipe + fs:ext4
system = size:2G + content:wipe + fs:ext4

info: disabling swap
info: unmounting all partitions
umount: can't umount /sdcard: Device or resource busy
umount: can't umount /sdcard: Device or resource busy

FATAL: unable to unmount all partitions (please disable MTP in TWRP's 'Mount' menu (or disconnect from PC), reboot TWRP and run this package again; run it immediately after boot up, do not enable USB mass storage; note that you might be told to run it yet again from '/tmp'; make sure your phone is not encrypted: encrypted phones are not supported)
/sdcard #
PS C:\Users\olive> adb shell
~ # e2fsck -f /dev/block/mmcblk0p9
e2fsck 1.42.9 (28-Dec-2013)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 4: Checking reference counts
/dev/block/mmcblk0p9: 11/824160 files (0.0% non-contiguous), 92536/3290377 blocks
~ # e2fsck --help
e2fsck: invalid option -- -
                [-I inode_buffer_blocks] [-P process_inode_size]
                [-E extended-options] device
Emergency help:
 -n                   Make no changes to the filesystem
 -c                   Check for bad blocks and add them to the badblock list
 -v                   Be verbose
 -B blocksize         Force blocksize when looking for superblock
 -j external_journal  Set location of the external journal
 -l bad_blocks_file   Add to badblocks list
~ # e2fsck -fp /dev/block/mmcblk0p9
/dev/block/mmcblk0p9: 11/824160 files (0.0% non-contiguous), 92536/3290377 blocks
~ # e2fsck -fpv /dev/block/mmcblk0p9
          11 inodes used (0.00%, out of 824160)
           0 non-contiguous files (0.0%)
           0 non-contiguous directories (0.0%)
             Extent depth histogram: 3
       92536 blocks used (2.81%, out of 3290377)
           0 bad blocks

           0 regular files
           2 directories
           0 block device files
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
~ # exit
PS C:\Users\olive> adb push .\Downloads\lineage-17.1-20210510-UNOFFICIAL-manta.zip /sdcard
PS C:\Users\olive> adb install .\Downloads\supersu-2-82.apk
.\Downloads\supersu-2-82.apk: 1 file pushed, 0 skipped. 6.8 MB/s (6201401 bytes in 0.872s)
PS C:\Users\olive> adb push .\Downloads\SuperSU-v2.82-201705271822.zip /sdcard
.\Downloads\SuperSU-v2.82-201705271822.zip: 1 file pushed, 0 skipped. 6.5 MB/s (5903921 bytes in 0.872s)
PS C:\Users\olive> adb push .\Downloads\BeansGapps-Mini-7.1.x-20170725.zip /sdcard
PS C:\Users\olive> adb push .\Downloads\open_gapps-arm-10.0-pico-20210522.zip /sdcard
PS C:\Users\olive> adb push .\Downloads\open_gapps-arm-10.0-pico-20210522.zip /sdcard
.\Downloads\open_gapps-arm-10.0-pico-20210522.zip: 1 file pushed, 0 skipped. 4.3 MB/s (126223764 bytes in 28.061s)
PS C:\Users\olive> adb push .\Downloads\open_gapps-arm-10.0-mini-20210522.zip /sdcard
.\Downloads\open_gapps-arm-10.0-mini-20210522.zip: 1 file pushed, 0 skipped. 3.9 MB/s (686712554 bytes in 165.874s)
PS C:\Users\olive> adb sideload .\Downloads\open_gapps-arm-10.0-pico-20210522.zip
serving: '.\Downloads\open_gapps-arm-10.0-pico-20210522.zip'  (~36%)    adb: failed to read command: No error
PS C:\Users\olive> adb sideload .\Downloads\lineage-17.1-20210510-UNOFFICIAL-manta.zip
adb: sideload connection failed: no devices/emulators found
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found
PS C:\Users\olive> adb sideload .\Downloads\lineage-17.1-20210510-UNOFFICIAL-manta.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed
PS C:\Users\olive> adb sideload .\Downloads\lineage-17.1-20210510-UNOFFICIAL-manta.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed
PS C:\Users\olive> adb sideload .\Downloads\lineage-17.1-20210510-UNOFFICIAL-manta.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed
PS C:\Users\olive> adb sideload .\Downloads\lineage-17.1-20210510-UNOFFICIAL-manta.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed
PS C:\Users\olive> fastboot.exe
fastboot: usage: no command
PS C:\Users\olive> fastboot.exe devices
PS C:\Users\olive> adb sideload .\Downloads\lineage-17.1-20210510-UNOFFICIAL-manta.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed
PS C:\Users\olive> adb push .\Downloads\lineage-17.1-20210510-UNOFFICIAL-manta.zip /sdcard
.\Downloads\lineage-17.1-20210510-UNOFFICIAL-manta.zip: 1 file pushed, 0 skipped. 4.0 MB/s (398049397 bytes in 94.652s)
PS C:\Users\olive> adb push .\Downloads\lineage-17.1-20210510-UNOFFICIAL-manta.zip /sdcard^C
PS C:\Users\olive> adb push .\Downloads\SuperSU-v2.82-201705271822.zip /sdcard
.\Downloads\SuperSU-v2.82-201705271822.zip: 1 file pushed, 0 skipped. 17.9 MB/s (5903921 bytes in 0.315s)
PS C:\Users\olive> adb push .\Downloads\open_gapps-arm-10.0-pico-20210515.zip /sdcard
.\Downloads\open_gapps-arm-10.0-pico-20210515.zip: 1 file pushed, 0 skipped. 4.8 MB/s (104804547 bytes in 20.809s)
PS C:\Users\olive> adb sideload .\Downloads\open_gapps-arm-10.0-pico-20210522.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed
PS C:\Users\olive> adb push .\Downloads\open_gapps-arm-10.0-pico-20210522.zip
adb.exe: push requires an argument
PS C:\Users\olive> adb push .\Downloads\open_gapps-arm-10.0-pico-20210522.zip /sdcard
.\Downloads\open_gapps-arm-10.0-pico-20210522.zip: 1 file pushed, 0 skipped. 3.9 MB/s (126223764 bytes in 31.208s)