Open ohartl opened 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...
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.
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
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/
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)
Snapshot of terminal output from 2021-05-20T00:14:00