[Nexus 7 (2013) Original Android Development] k0nki:
Hi,

I've started to update my valiant nexus7 2013 finally with success but not without fear...

I chose to install lineageos 18.1-20220926 by following the official guide from a linux terminal in root mode.

The first two repartitioning attempts failed and the third one finally succeeded.

I used the version of the script linked in the howto (flo-deb_clamor_repartition_20201203.zip).

Fortunately, the tablet remained in recovery lineage mode, which allowed me to retry the command: modify from the adb shell via: cancel then: apply from ADB on the tablet screen

The tablet did not restart automatically and I forced the recovery mode manually (Volume Down + Power)

Below is the capture of the linux terminal which seemed to indicate the success of the partitioning on the third attempt.

root@laptop:/home/konki# adb version
Android Debug Bridge version 1.0.41
Version 28.0.2-debian
Installed as /usr/lib/android-sdk/platform-tools/adb
root@laptop:/home/konki# adb sideload /home/konki/flo-deb_clamor_repartition_20201203.zip
Total xfer: 1.00x
root@laptop:/home/konki# adb shell
flox:/ # modify
2048+0 records in
2048+0 records out
1048576 bytes (1.0 M) copied, 0.104004 s, 10 M/s
20480+0 records in
20480+0 records out
10485760 bytes (10 M) copied, 0.295136 s, 34 M/s
umount: /mnt/system: Invalid argument
umount: /data: Invalid argument
umount: /sdcard: Invalid argument
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) rm 22
(parted) rm 23
(parted) rm 24
(parted) rm 25
(parted) rm 30
(parted) mkpart primary 614429696B 2187293695B
(parted) name 22 system
(parted) mkpart primary 2187293696B 2263875583B
(parted) name 23 cache
(parted) mkpart primary 2263875584B 2264924159B
(parted) name 24 misc
(parted) mkpart primary 2264924160B 2281701375B
(parted) name 25 recovery
(parted) mkpart primary 2348843008B 2610987007B
(parted) name 30 vendor
(parted) mkpart primary 2610987008B 31272713727B
(parted) name 31 userdata
(parted) quit
Information: You may need to update /etc/fstab.

mke2fs 1.45.4 (23-Sep-2019)
The file /dev/block/mmcblk0p22 does not exist and no size was specified.
mke2fs 1.45.4 (23-Sep-2019)
The file /dev/block/mmcblk0p23 does not exist and no size was specified.
mke2fs 1.45.4 (23-Sep-2019)
The file /dev/block/mmcblk0p30 does not exist and no size was specified.
mke2fs 1.45.4 (23-Sep-2019)
The file /dev/block/mmcblk0p31 does not exist and no size was specified.
2048+0 records in
2048+0 records out
1048576 bytes (1.0 M) copied, 0.218750 s, 4.5 M/s
20480+0 records in
20480+0 records out
10485760 bytes (10 M) copied, 2.132935 s, 4.6 M/s

2/__________________________________________________________________________________
root@laptop:/home/konki# adb shell
flox:/ # modify
mkdir: '/tmp/backup': File exists
2048+0 records in
2048+0 records out
1048576 bytes (1.0 M) copied, 0.100219 s, 10 M/s
32768+0 records in
32768+0 records out
16777216 bytes (16 M) copied, 0.439942 s, 36 M/s
umount: /mnt/system: Invalid argument
umount: /data: Invalid argument
umount: /sdcard: Invalid argument
umount: /cache: Invalid argument
/system/bin/modify[42]: parted: inaccessible or not found
mke2fs 1.45.4 (23-Sep-2019)
Discarding device blocks: done
Creating filesystem with 384000 4k blocks and 96000 inodes
Filesystem UUID: 0a4610db-74ad-4fa0-8375-1e0bcd1a19bc
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

mke2fs 1.45.4 (23-Sep-2019)
Discarding device blocks: done
Creating filesystem with 74784 1k blocks and 18720 inodes
Filesystem UUID: a90ec884-cf8d-46ad-bafd-d017897d9050
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729

Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

mke2fs 1.45.4 (23-Sep-2019)
Discarding device blocks: done
Creating filesystem with 256000 1k blocks and 64000 inodes
Filesystem UUID: e6f4345f-4383-460d-8203-db2a8e7603f0
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

mke2fs 1.45.4 (23-Sep-2019)
Discarding device blocks: done
Creating filesystem with 6997491 4k blocks and 1749664 inodes
Filesystem UUID: 411c86ae-bb36-463c-8c3b-6da855173d88
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

2048+0 records in
2048+0 records out
1048576 bytes (1.0 M) copied, 0.152008 s, 6.5 M/s
32768+0 records in
32768+0 records out
16777216 bytes (16 M) copied, 2.690246 s, 5.9 M/s
rm: /sbin/parted: No such file or directory

3/_____________________________________________________________________________________________
root@laptop:/home/konki# adb shell
flox:/ # modify
mkdir: '/tmp/backup': File exists
2048+0 records in
2048+0 records out
1048576 bytes (1.0 M) copied, 0.108063 s, 9.2 M/s
32768+0 records in
32768+0 records out
16777216 bytes (16 M) copied, 0.446075 s, 36 M/s
umount: /mnt/system: Invalid argument
umount: /data: Invalid argument
umount: /sdcard: Invalid argument
umount: /cache: Invalid argument
/system/bin/modify[42]: parted: inaccessible or not found
mke2fs 1.45.4 (23-Sep-2019)
/dev/block/mmcblk0p22 contains a ext4 file system
created on Wed Sep 28 21:05:12 2022
Proceed anyway? (y,N) y
Discarding device blocks: done
Creating filesystem with 384000 4k blocks and 96000 inodes
Filesystem UUID: 4ffdfb82-e79f-4be8-8efe-c8fdd21f8738
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

mke2fs 1.45.4 (23-Sep-2019)
/dev/block/mmcblk0p23 contains a ext4 file system
created on Wed Sep 28 21:05:15 2022
Proceed anyway? (y,N) y
Discarding device blocks: done
Creating filesystem with 74784 1k blocks and 18720 inodes
Filesystem UUID: c6bdbe47-cb2e-40df-bb99-de072f7e60e5
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729

Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

mke2fs 1.45.4 (23-Sep-2019)
/dev/block/mmcblk0p30 contains a ext4 file system
created on Wed Sep 28 21:05:15 2022
Proceed anyway? (y,N) y
Discarding device blocks: done
Creating filesystem with 256000 1k blocks and 64000 inodes
Filesystem UUID: 7a10e09f-472f-4ee6-9e37-db7811db5daa
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

mke2fs 1.45.4 (23-Sep-2019)
/dev/block/mmcblk0p31 contains a ext4 file system
created on Wed Sep 28 21:05:16 2022
Proceed anyway? (y,N) y
Discarding device blocks: done
Creating filesystem with 6997491 4k blocks and 1749664 inodes
Filesystem UUID: d234b1a0-c3a7-42fe-9582-6fafb00aadfe
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

2048+0 records in
2048+0 records out
1048576 bytes (1.0 M) copied, 0.151215 s, 6.6 M/s
32768+0 records in
32768+0 records out
16777216 bytes (16 M) copied, 2.361572 s, 6.7 M/s
rm: /sbin/parted: No such file or directory

The end of the installation was done without any error and as a reward the tablet is more fluid than under android 6.1

Thanks

Konki