Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct Install fails on some MediaTek/Unisoc devices due to empty init_boot partition #7231

Open
kouzelnik3 opened this issue Aug 13, 2023 · 30 comments
Labels
confirmed Issue confirmed to exist and the reason is known

Comments

@kouzelnik3
Copy link
Contributor

kouzelnik3 commented Aug 13, 2023

Magisk cannot be installed directly on the OnePlus Pad.
Device: OnePlus Pad
Android version: 13
Magisk version name: ee34f77
Magisk version code: 26105

magisk_install_log_2023-08-13T17.05.25.log

- Target image: /dev/block/sdc39
- Device platform: arm64-v8a
- Installing: ee34f775 (26105)
- Unpacking boot image
Parsing boot image: [/dev/block/sdc39]
! Unsupported/Unknown image format
! Installation failed
@osm0sis
Copy link
Collaborator

osm0sis commented Aug 13, 2023

How did you initially root it?

It's got an MTK Dimensity 9000 SoC, so likely they've done something weird, as usual.

Going to need the list of files from: ls -alR /dev/block

@kouzelnik3
Copy link
Contributor Author

kouzelnik3 commented Aug 13, 2023

How did you initially root it?

It's got an MTK Dimensity 9000 SoC, so likely they've done something weird, as usual.

Going to need the list of files from: ls -alR /dev/block

I did initial root by flashing patched boot.img which I patched on other device. Also I had to fastboot flash it, because fastboot boot boot.img showed invalid command on the Pad... Damn OnePlus.

Here is the that ls -alR /dev/block results:


~ $ su
:/data/data/com.termux/files/home # ls -alR /dev/block
/dev/block:
total 0
drwxr-xr-x  6 root   root       4820 2023-08-13 20:41 .
drwxr-xr-x 26 root   root       7720 2023-08-13 20:41 ..
drwxr-xr-x  2 root   root       1820 2023-08-13 20:40 by-name
brw-------  1 root   root   254,   0 2023-08-13 20:40 dm-0
brw-------  1 root   root   254,   1 2023-08-13 20:40 dm-1
brw-------  1 root   root   254,  10 2023-08-13 20:40 dm-10
brw-------  1 root   root   254,  11 2023-08-13 20:40 dm-11
brw-------  1 root   root   254,  12 2023-08-13 20:40 dm-12
brw-------  1 root   root   254,  13 2023-08-13 20:40 dm-13
brw-------  1 root   root   254,  14 2023-08-13 20:40 dm-14
brw-------  1 root   root   254,  15 2023-08-13 20:40 dm-15
brw-------  1 root   root   254,  16 2023-08-13 20:40 dm-16
brw-------  1 root   root   254,  17 2023-08-13 20:40 dm-17
brw-------  1 root   root   254,  18 2023-08-13 20:40 dm-18
brw-------  1 root   root   254,  19 2023-08-13 20:40 dm-19
brw-------  1 root   root   254,   2 2023-08-13 20:40 dm-2
brw-------  1 root   root   254,  20 2023-08-13 20:40 dm-20
brw-------  1 root   root   254,  21 2023-08-13 20:40 dm-21
brw-------  1 root   root   254,  22 2023-08-13 20:40 dm-22
brw-------  1 root   root   254,  23 2023-08-13 20:40 dm-23
brw-------  1 root   root   254,  24 2023-08-13 20:40 dm-24
brw-------  1 root   root   254,  25 2023-08-13 20:40 dm-25
brw-------  1 root   root   254,  26 2023-08-13 20:40 dm-26
brw-------  1 root   root   254,  27 2023-08-13 20:40 dm-27
brw-------  1 root   root   254,  28 2023-08-13 20:40 dm-28
brw-------  1 root   root   254,  29 2023-08-13 20:40 dm-29
brw-------  1 root   root   254,   3 2023-08-13 20:40 dm-3
brw-------  1 root   root   254,  30 2023-08-13 20:40 dm-30
brw-------  1 root   root   254,  31 2023-08-13 20:40 dm-31
brw-------  1 root   root   254,  32 2023-08-13 20:40 dm-32
brw-------  1 root   root   254,  33 2023-08-13 20:40 dm-33
brw-------  1 root   root   254,  34 2023-08-13 20:40 dm-34
brw-------  1 root   root   254,  35 2023-08-13 20:40 dm-35
brw-------  1 root   root   254,  36 2023-08-13 20:40 dm-36
brw-------  1 root   root   254,  37 2023-08-13 20:40 dm-37
brw-------  1 root   root   254,  38 2023-08-13 20:40 dm-38
brw-------  1 root   root   254,  39 2023-08-13 20:40 dm-39
brw-------  1 root   root   254,   4 2023-08-13 20:40 dm-4
brw-------  1 root   root   254,  40 2023-08-13 20:40 dm-40
brw-------  1 root   root   254,  41 2023-08-13 20:40 dm-41
brw-------  1 root   root   254,  42 2023-08-13 20:40 dm-42
brw-------  1 root   root   254,  43 2023-08-13 20:40 dm-43
brw-------  1 root   root   254,  45 2023-08-13 20:40 dm-45
brw-------  1 root   root   254,  46 2023-08-13 20:40 dm-46
brw-------  1 root   root   254,  48 2023-08-13 20:40 dm-48
brw-------  1 root   root   254,  49 2023-08-13 20:40 dm-49
brw-------  1 root   root   254,   5 2023-08-13 20:40 dm-5
brw-------  1 root   root   254,  50 2023-08-13 20:40 dm-50
brw-------  1 root   root   254,  51 2023-08-13 20:40 dm-51
brw-------  1 root   root   254,  52 2023-08-13 20:40 dm-52
brw-------  1 root   root   254,  53 2023-08-13 20:40 dm-53
brw-------  1 root   root   254,  54 2023-08-13 20:40 dm-54
brw-------  1 root   root   254,  56 2023-08-13 20:40 dm-56
brw-------  1 root   root   254,  57 2023-08-13 20:40 dm-57
brw-------  1 root   root   254,  59 2023-08-13 20:40 dm-59
brw-------  1 root   root   254,   6 2023-08-13 20:40 dm-6
brw-------  1 root   root   254,  60 2023-08-13 20:40 dm-60
brw-------  1 root   root   254,  65 2023-08-13 20:40 dm-65
brw-------  1 root   root   254,  67 2023-08-13 20:40 dm-67
brw-------  1 root   root   254,  68 2023-08-13 20:40 dm-68
brw-------  1 root   root   254,  69 2023-08-13 20:40 dm-69
brw-------  1 root   root   254,   7 2023-08-13 20:40 dm-7
brw-------  1 root   root   254,   8 2023-08-13 20:40 dm-8
brw-------  1 root   root   254,   9 2023-08-13 20:40 dm-9
brw-------  1 root   root     7,   0 2023-08-13 20:40 loop0
brw-------  1 root   root     7,   8 2023-08-13 20:40 loop1
brw-------  1 root   root     7,  80 2023-08-13 20:40 loop10
brw-------  1 root   root     7,  88 2023-08-13 20:40 loop11
brw-------  1 root   root     7,  96 2023-08-13 20:40 loop12
brw-------  1 root   root     7, 104 2023-08-13 20:40 loop13
brw-------  1 root   root     7, 112 2023-08-13 20:40 loop14
brw-------  1 root   root     7, 120 2023-08-13 20:40 loop15
brw-------  1 root   root     7, 128 2023-08-13 20:40 loop16
brw-------  1 root   root     7, 136 2023-08-13 20:40 loop17
brw-------  1 root   root     7, 144 2023-08-13 20:40 loop18
brw-------  1 root   root     7, 152 2023-08-13 20:40 loop19
brw-------  1 root   root     7,  16 2023-08-13 20:40 loop2
brw-------  1 root   root     7, 160 2023-08-13 20:40 loop20
brw-------  1 root   root     7, 168 2023-08-13 20:40 loop21
brw-------  1 root   root     7, 176 2023-08-13 20:40 loop22
brw-------  1 root   root     7, 184 2023-08-13 20:40 loop23
brw-------  1 root   root     7, 192 2023-08-13 20:40 loop24
brw-------  1 root   root     7, 200 2023-08-13 20:40 loop25
brw-------  1 root   root     7, 208 2023-08-13 20:40 loop26
brw-------  1 root   root     7, 216 2023-08-13 20:40 loop27
brw-------  1 root   root     7, 224 2023-08-13 20:40 loop28
brw-------  1 root   root     7, 232 2023-08-13 20:40 loop29
brw-------  1 root   root     7,  24 2023-08-13 20:40 loop3
brw-------  1 root   root     7, 240 2023-08-13 20:40 loop30
brw-------  1 root   root     7, 248 2023-08-13 20:40 loop31
brw-------  1 root   root     7, 256 2023-08-13 20:40 loop32
brw-------  1 root   root     7, 264 2023-08-13 20:40 loop33
brw-------  1 root   root     7, 272 2023-08-13 20:40 loop34
brw-------  1 root   root     7, 280 2023-08-13 20:40 loop35
brw-------  1 root   root     7, 288 2023-08-13 20:40 loop36
brw-------  1 root   root     7, 296 2023-08-13 20:40 loop37
brw-------  1 root   root     7, 304 2023-08-13 20:40 loop38
brw-------  1 root   root     7, 312 2023-08-13 20:40 loop39
brw-------  1 root   root     7,  32 2023-08-13 20:40 loop4
brw-------  1 root   root     7, 320 2023-08-13 20:40 loop40
brw-------  1 root   root     7, 328 2023-08-13 20:40 loop41
brw-------  1 root   root     7, 336 2023-08-13 20:40 loop42
brw-------  1 root   root     7, 344 2023-08-13 20:40 loop43
brw-------  1 root   root     7, 352 2023-08-13 20:40 loop44
brw-------  1 root   root     7, 360 2023-08-13 20:40 loop45
brw-------  1 root   root     7, 368 2023-08-13 20:40 loop46
brw-------  1 root   root     7, 376 2023-08-13 20:40 loop47
brw-------  1 root   root     7, 384 2023-08-13 20:40 loop48
brw-------  1 root   root     7, 392 2023-08-13 20:40 loop49
brw-------  1 root   root     7,  40 2023-08-13 20:40 loop5
brw-------  1 root   root     7, 400 2023-08-13 20:40 loop50
brw-------  1 root   root     7, 408 2023-08-13 20:40 loop51
brw-------  1 root   root     7, 416 2023-08-13 20:40 loop52
brw-------  1 root   root     7, 424 2023-08-13 20:40 loop53
brw-------  1 root   root     7, 432 2023-08-13 20:40 loop54
brw-------  1 root   root     7, 440 2023-08-13 20:40 loop55
brw-------  1 root   root     7, 448 2023-08-13 20:40 loop56
brw-------  1 root   root     7, 456 2023-08-13 20:40 loop57
brw-------  1 root   root     7, 464 2023-08-13 20:40 loop58
brw-------  1 root   root     7, 472 2023-08-13 20:40 loop59
brw-------  1 root   root     7,  48 2023-08-13 20:40 loop6
brw-------  1 root   root     7, 480 2023-08-13 20:40 loop60
brw-------  1 root   root     7, 488 2023-08-13 20:40 loop61
brw-------  1 root   root     7, 496 2023-08-13 20:40 loop62
brw-------  1 root   root     7, 504 2023-08-13 20:40 loop63
brw-------  1 root   root     7, 512 2023-08-13 20:40 loop64
brw-------  1 root   root     7, 520 2023-08-13 20:40 loop65
brw-------  1 root   root     7, 528 2023-08-13 20:40 loop66
brw-------  1 root   root     7, 536 2023-08-13 20:40 loop67
brw-------  1 root   root     7, 544 2023-08-13 20:40 loop68
brw-------  1 root   root     7, 552 2023-08-13 20:40 loop69
brw-------  1 root   root     7,  56 2023-08-13 20:40 loop7
brw-------  1 root   root     7,  64 2023-08-13 20:40 loop8
brw-------  1 root   root     7,  72 2023-08-13 20:40 loop9
drwxr-xr-x  3 root   root       1280 2023-08-13 20:41 mapper
lrwxrwxrwx  1 root   root         14 2023-08-13 20:40 mmcblk0boot0 -> /dev/block/sda
lrwxrwxrwx  1 root   root         14 2023-08-13 20:40 mmcblk0boot1 -> /dev/block/sdb
drwxr-xr-x  3 root   root         60 2023-08-13 20:40 platform
brw-------  1 root   root     1,   0 2023-08-13 20:40 ram0
brw-------  1 root   root     1,   1 2023-08-13 20:40 ram1
brw-------  1 root   root     1,  10 2023-08-13 20:40 ram10
brw-------  1 root   root     1,  11 2023-08-13 20:40 ram11
brw-------  1 root   root     1,  12 2023-08-13 20:40 ram12
brw-------  1 root   root     1,  13 2023-08-13 20:40 ram13
brw-------  1 root   root     1,  14 2023-08-13 20:40 ram14
brw-------  1 root   root     1,  15 2023-08-13 20:40 ram15
brw-------  1 root   root     1,   2 2023-08-13 20:40 ram2
brw-------  1 root   root     1,   3 2023-08-13 20:40 ram3
brw-------  1 root   root     1,   4 2023-08-13 20:40 ram4
brw-------  1 root   root     1,   5 2023-08-13 20:40 ram5
brw-------  1 root   root     1,   6 2023-08-13 20:40 ram6
brw-------  1 root   root     1,   7 2023-08-13 20:40 ram7
brw-------  1 root   root     1,   8 2023-08-13 20:40 ram8
brw-------  1 root   root     1,   9 2023-08-13 20:40 ram9
brw-rw----  1 root   system   8,   0 2023-08-13 20:40 sda
brw-rw----  1 root   system   8,  16 2023-08-13 20:40 sdb
brw-rw----  1 root   system   8,  32 2023-08-13 20:40 sdc
brw-------  1 root   root     8,  33 2023-08-13 20:40 sdc1
brw-------  1 root   root     8,  42 2023-08-13 20:40 sdc10
brw-------  1 root   root     8,  43 2023-08-13 20:40 sdc11
brw-------  1 root   root     8,  44 2023-08-13 20:40 sdc12
brw-------  1 root   root     8,  45 2023-08-13 20:40 sdc13
brw-------  1 root   root     8,  46 2023-08-13 20:40 sdc14
brw-------  1 root   root     8,  47 2023-08-13 20:40 sdc15
brw-------  1 root   root   259,   0 2023-08-13 20:40 sdc16
brw-------  1 root   root   259,   1 2023-08-13 20:40 sdc17
brw-------  1 root   root   259,   2 2023-08-13 20:40 sdc18
brw-------  1 root   root   259,   3 2023-08-13 20:40 sdc19
brw-rw----  1 root   system   8,  34 2023-08-13 20:41 sdc2
brw-------  1 root   root   259,   4 2023-08-13 20:40 sdc20
brw-rw----  1 root   system 259,   5 2023-08-13 20:40 sdc21
brw-rw----  1 root   system 259,   6 2023-08-13 20:40 sdc22
brw-------  1 root   root   259,   7 2023-08-13 20:40 sdc23
brw-------  1 root   root   259,   8 2023-08-13 20:40 sdc24
brw-------  1 root   root   259,   9 2023-08-13 20:40 sdc25
brw-------  1 root   root   259,  10 2023-08-13 20:40 sdc26
brw-------  1 root   root   259,  11 2023-08-13 20:40 sdc27
brw-------  1 root   root   259,  12 2023-08-13 20:40 sdc28
brw-------  1 root   root   259,  13 2023-08-13 20:40 sdc29
brw-rw----  1 system system   8,  35 2023-08-13 20:41 sdc3
brw-------  1 root   root   259,  14 2023-08-13 20:40 sdc30
brw-------  1 root   root   259,  15 2023-08-13 20:40 sdc31
brw-------  1 root   root   259,  16 2023-08-13 20:40 sdc32
brw-------  1 root   root   259,  17 2023-08-13 20:40 sdc33
brw-------  1 root   root   259,  18 2023-08-13 20:40 sdc34
brw-------  1 root   root   259,  19 2023-08-13 20:40 sdc35
brw-------  1 root   root   259,  20 2023-08-13 20:40 sdc36
brw-------  1 root   root   259,  21 2023-08-13 20:40 sdc37
brw-------  1 root   root   259,  22 2023-08-13 20:40 sdc38
brw-------  1 root   root   259,  23 2023-08-13 20:40 sdc39
brw-------  1 root   root     8,  36 2023-08-13 20:40 sdc4
brw-------  1 root   root   259,  24 2023-08-13 20:40 sdc40
brw-------  1 root   root   259,  25 2023-08-13 20:40 sdc41
brw-------  1 root   root   259,  26 2023-08-13 20:40 sdc42
brw-------  1 root   root   259,  27 2023-08-13 20:40 sdc43
brw-rw----  1 root   system 259,  28 2023-08-13 20:40 sdc44
brw-------  1 root   root   259,  29 2023-08-13 20:40 sdc45
brw-rw----  1 root   system 259,  30 2023-08-13 20:40 sdc46
brw-------  1 root   root   259,  31 2023-08-13 20:40 sdc47
brw-------  1 root   root   259,  32 2023-08-13 20:40 sdc48
brw-------  1 root   root   259,  33 2023-08-13 20:40 sdc49
brw-rw----  1 root   system   8,  37 2023-08-13 20:40 sdc5
brw-rw----  1 root   system 259,  34 2023-08-13 20:40 sdc50
brw-r-----  1 root   system 259,  35 2023-08-13 20:40 sdc51
brw-------  1 root   root   259,  36 2023-08-13 20:40 sdc52
brw-------  1 root   root   259,  37 2023-08-13 20:40 sdc53
brw-------  1 root   root   259,  38 2023-08-13 20:40 sdc54
brw-------  1 root   root   259,  39 2023-08-13 20:40 sdc55
brw-------  1 root   root   259,  40 2023-08-13 20:40 sdc56
brw-------  1 root   root   259,  41 2023-08-13 20:40 sdc57
brw-------  1 root   root   259,  42 2023-08-13 20:40 sdc58
brw-------  1 root   root   259,  43 2023-08-13 20:40 sdc59
brw-rw----  1 root   system   8,  38 2023-08-13 20:40 sdc6
brw-------  1 root   root   259,  44 2023-08-13 20:40 sdc60
brw-------  1 root   root   259,  45 2023-08-13 20:40 sdc61
brw-------  1 root   root   259,  46 2023-08-13 20:40 sdc62
brw-------  1 root   root   259,  47 2023-08-13 20:40 sdc63
brw-------  1 root   root   259,  48 2023-08-13 20:40 sdc64
brw-------  1 root   root   259,  49 2023-08-13 20:40 sdc65
brw-------  1 root   root   259,  50 2023-08-13 20:40 sdc66
brw-------  1 root   root   259,  51 2023-08-13 20:40 sdc67
brw-------  1 root   root   259,  52 2023-08-13 20:40 sdc68
brw-------  1 root   root   259,  53 2023-08-13 20:40 sdc69
brw-------  1 root   root     8,  39 2023-08-13 20:40 sdc7
brw-------  1 root   root   259,  54 2023-08-13 20:40 sdc70
brw-------  1 root   root   259,  55 2023-08-13 20:40 sdc71
brw-------  1 root   root   259,  56 2023-08-13 20:40 sdc72
brw-------  1 root   root   259,  57 2023-08-13 20:40 sdc73
brw-------  1 root   root   259,  58 2023-08-13 20:40 sdc74
brw-------  1 root   root   259,  59 2023-08-13 20:40 sdc75
brw-------  1 root   root   259,  60 2023-08-13 20:40 sdc76
brw-------  1 root   root   259,  61 2023-08-13 20:40 sdc77
brw-------  1 root   root   259,  62 2023-08-13 20:40 sdc78
brw-------  1 root   root   259,  63 2023-08-13 20:40 sdc79
brw-rw----  1 root   system   8,  40 2023-08-13 20:42 sdc8
brw-------  1 root   root   259,  64 2023-08-13 20:40 sdc80
brw-------  1 root   root   259,  65 2023-08-13 20:40 sdc81
brw-------  1 root   root   259,  66 2023-08-13 20:40 sdc82
brw-------  1 root   root     8,  41 2023-08-13 20:40 sdc9
drwx------  2 root   root         40 2023-08-13 20:40 vold
brw-------  1 root   root   253,   0 2023-08-13 20:41 zram0

/dev/block/by-name:
total 0
drwxr-xr-x 2 root root 1820 2023-08-13 20:40 .
drwxr-xr-x 6 root root 4820 2023-08-13 20:41 ..
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 apusys_a -> /dev/block/sdc33
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 apusys_b -> /dev/block/sdc66
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 audio_dsp_a -> /dev/block/sdc24
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 audio_dsp_b -> /dev/block/sdc57
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 boot_a -> /dev/block/sdc37
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 boot_b -> /dev/block/sdc70
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 boot_para -> /dev/block/sdc51
lrwxrwxrwx 1 root root   22 2023-08-13 20:40 bootloader1 -> /dev/block/by-name/lk1
lrwxrwxrwx 1 root root   22 2023-08-13 20:40 bootloader2 -> /dev/block/by-name/lk2
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 ccu_a -> /dev/block/sdc28
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 ccu_b -> /dev/block/sdc61
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 cdt_engineering_a -> /dev/block/sdc42
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 cdt_engineering_b -> /dev/block/sdc78
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 connsys_bt_a -> /dev/block/sdc53
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 connsys_bt_b -> /dev/block/sdc73
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 connsys_wifi_a -> /dev/block/sdc54
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 connsys_wifi_b -> /dev/block/sdc74
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 dpm_a -> /dev/block/sdc26
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 dpm_b -> /dev/block/sdc59
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 dram_para -> /dev/block/sdc52
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 dtbo_a -> /dev/block/sdc40
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 dtbo_b -> /dev/block/sdc75
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 efuse -> /dev/block/sdc45
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 expdb -> /dev/block/sdc7
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 flashinfo -> /dev/block/sdc82
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 frp -> /dev/block/sdc8
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 gpueb_a -> /dev/block/sdc32
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 gpueb_b -> /dev/block/sdc65
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 gz_a -> /dev/block/sdc35
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 gz_b -> /dev/block/sdc68
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 init_boot_a -> /dev/block/sdc39
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 init_boot_b -> /dev/block/sdc72
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 lk_a -> /dev/block/sdc36
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 lk_b -> /dev/block/sdc69
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 logo_a -> /dev/block/sdc55
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 logo_b -> /dev/block/sdc77
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 mcupm_a -> /dev/block/sdc31
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 mcupm_b -> /dev/block/sdc64
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 metadata -> /dev/block/sdc17
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 misc -> /dev/block/sdc1
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 mvpu_algo_a -> /dev/block/sdc34
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 mvpu_algo_b -> /dev/block/sdc67
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 nvcfg -> /dev/block/sdc9
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 nvdata -> /dev/block/sdc10
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 nvram -> /dev/block/sdc46
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 ocdt -> /dev/block/sdc47
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 oplus_custom -> /dev/block/sdc6
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 oplusreserve1 -> /dev/block/sdc3
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 oplusreserve2 -> /dev/block/sdc4
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 oplusreserve3 -> /dev/block/sdc5
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 oplusreserve5 -> /dev/block/sdc48
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 oplusreserve6 -> /dev/block/sdc49
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 otp -> /dev/block/sdc22
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 para -> /dev/block/sdc2
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 param -> /dev/block/sdc50
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 persist -> /dev/block/sdc18
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 pi_img_a -> /dev/block/sdc25
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 pi_img_b -> /dev/block/sdc58
lrwxrwxrwx 1 root root   22 2023-08-13 20:40 preloader_raw_a -> /dev/block/mapper/pl_a
lrwxrwxrwx 1 root root   22 2023-08-13 20:40 preloader_raw_b -> /dev/block/mapper/pl_b
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 proinfo -> /dev/block/sdc44
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 protect1 -> /dev/block/sdc19
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 protect2 -> /dev/block/sdc20
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 scp_a -> /dev/block/sdc27
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 scp_b -> /dev/block/sdc60
lrwxrwxrwx 1 root root   14 2023-08-13 20:40 sda -> /dev/block/sda
lrwxrwxrwx 1 root root   14 2023-08-13 20:40 sdb -> /dev/block/sdb
lrwxrwxrwx 1 root root   14 2023-08-13 20:40 sdc -> /dev/block/sdc
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sec1 -> /dev/block/sdc43
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 seccfg -> /dev/block/sdc21
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 splash_odm -> /dev/block/sdc79
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 spmfw_a -> /dev/block/sdc23
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 spmfw_b -> /dev/block/sdc56
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sspm_a -> /dev/block/sdc30
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sspm_b -> /dev/block/sdc63
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 super -> /dev/block/sdc80
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 tee_a -> /dev/block/sdc41
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 tee_b -> /dev/block/sdc76
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 userdata -> /dev/block/sdc81
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_a -> /dev/block/sdc11
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_b -> /dev/block/sdc14
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_system_a -> /dev/block/sdc12
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_system_b -> /dev/block/sdc15
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_vendor_a -> /dev/block/sdc13
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_vendor_b -> /dev/block/sdc16
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vcp_a -> /dev/block/sdc29
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vcp_b -> /dev/block/sdc62
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vendor_boot_a -> /dev/block/sdc38
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vendor_boot_b -> /dev/block/sdc71

/dev/block/mapper:
total 0
drwxr-xr-x 3 root root 1280 2023-08-13 20:41 .
drwxr-xr-x 6 root root 4820 2023-08-13 20:41 ..
drwxr-xr-x 2 root root 1260 2023-08-13 20:41 by-uuid
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.adbd -> /dev/block/dm-48
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.adservices -> /dev/block/dm-59
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.appsearch -> /dev/block/dm-60
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.art -> /dev/block/dm-57
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.cellbroadcast -> /dev/block/dm-46
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.conscrypt -> /dev/block/dm-53
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.extservices -> /dev/block/dm-56
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.ipsec -> /dev/block/dm-50
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.media -> /dev/block/dm-43
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.media.swcodec -> /dev/block/dm-49
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.mediaprovider -> /dev/block/dm-65
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.ondevicepersonalization -> /dev/block/dm-42
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.os.statsd -> /dev/block/dm-45
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.permission -> /dev/block/dm-54
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.resolv -> /dev/block/dm-41
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.scheduling -> /dev/block/dm-51
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.sdkext -> /dev/block/dm-40
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.tethering -> /dev/block/dm-39
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.android.tzdata -> /dev/block/dm-52
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 com.google.mainline.primary.libs -> /dev/block/dm-38
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_bigball_a -> /dev/block/dm-15
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_bigball_a-cow -> /dev/block/dm-30
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_carrier_a -> /dev/block/dm-11
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_carrier_a-cow -> /dev/block/dm-28
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_company_a -> /dev/block/dm-13
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 my_engineering_a -> /dev/block/dm-6
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_engineering_a-cow -> /dev/block/dm-23
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_heytap_a -> /dev/block/dm-10
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_heytap_a-cow -> /dev/block/dm-27
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_manifest_a -> /dev/block/dm-16
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_manifest_a-cow -> /dev/block/dm-31
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_preload_a -> /dev/block/dm-14
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 my_product_a -> /dev/block/dm-4
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_product_a-cow -> /dev/block/dm-21
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_region_a -> /dev/block/dm-12
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_region_a-cow -> /dev/block/dm-29
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 my_stock_a -> /dev/block/dm-9
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 my_stock_a-cow -> /dev/block/dm-26
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 odm_a -> /dev/block/dm-5
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 odm_a-cow -> /dev/block/dm-22
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 odm_dlkm-verity -> /dev/block/dm-37
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 odm_dlkm_a -> /dev/block/dm-8
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 odm_dlkm_a-cow -> /dev/block/dm-25
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 pl_a -> /dev/block/dm-68
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 pl_b -> /dev/block/dm-69
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 product-verity -> /dev/block/dm-34
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 product_a -> /dev/block/dm-3
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 product_a-cow -> /dev/block/dm-20
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 system-verity -> /dev/block/dm-32
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 system_a -> /dev/block/dm-0
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 system_a-cow -> /dev/block/dm-17
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 system_ext-verity -> /dev/block/dm-35
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 system_ext_a -> /dev/block/dm-1
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 system_ext_a-cow -> /dev/block/dm-18
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 userdata -> /dev/block/dm-67
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vendor-verity -> /dev/block/dm-33
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 vendor_a -> /dev/block/dm-2
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vendor_a-cow -> /dev/block/dm-19
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vendor_dlkm-verity -> /dev/block/dm-36
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 vendor_dlkm_a -> /dev/block/dm-7
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vendor_dlkm_a-cow -> /dev/block/dm-24

/dev/block/mapper/by-uuid:
total 0
drwxr-xr-x 2 root root 1260 2023-08-13 20:41 .
drwxr-xr-x 3 root root 1280 2023-08-13 20:41 ..
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 00bf3896-e6e2-49ec-baf7-13d7088d1058 -> /dev/block/dm-65
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 0dd83001-0ba9-470a-a8c0-f5aa116d441a -> /dev/block/dm-51
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 0f48ff52-8394-4a35-919a-1fd660ecab7c -> /dev/block/dm-8
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 0ff1ce51-32bf-4675-9b66-cbf1b60b4fc3 -> /dev/block/dm-37
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 10ff16b0-65a0-47d0-ae99-f7f915ab8500 -> /dev/block/dm-11
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 184955a2-96c3-48ce-8ef6-cad92d0e08e5 -> /dev/block/dm-24
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 1ab0eb97-c772-40da-afee-41c1231e51e5 -> /dev/block/dm-10
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 1af1e92a-d49a-4288-a4a9-f0f253b32dc4 -> /dev/block/dm-0
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 20e50252-1eec-4219-90b6-961a1f941ad6 -> /dev/block/dm-22
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 2154eb25-c7f2-428d-a4a7-45e834abe059 -> /dev/block/dm-57
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 21e5ede8-e268-441c-b228-83366f0a6ead -> /dev/block/dm-14
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 28781d2d-1d30-414a-b8aa-8c404e48037a -> /dev/block/dm-68
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 3346c217-edbc-4681-91a3-a6d79ac2b90d -> /dev/block/dm-23
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 3af04620-8ba7-4caa-bc58-41673b4b6d6d -> /dev/block/dm-16
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 3c24d17e-70dc-47f0-b4c5-3f5304f4caec -> /dev/block/dm-19
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 40c271b3-7517-472b-bb66-c068cb9d9608 -> /dev/block/dm-33
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 420df927-6cc2-47a0-bd54-a9551ee82c88 -> /dev/block/dm-5
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 460c7e54-dc57-4d99-80f9-42fb5ceb5865 -> /dev/block/dm-9
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 4faa25af-c2e2-40ee-9424-3fc4deccf7c2 -> /dev/block/dm-34
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 52cfa8a8-5b22-4c49-bb13-e55b1be0ec5d -> /dev/block/dm-4
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 545925b0-bb0b-4394-b89b-76493a27fe83 -> /dev/block/dm-1
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 54c895df-9107-445b-ab6c-48bfab4b3aea -> /dev/block/dm-25
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 6151778a-0c16-4fbc-bb0a-cc79c07ac995 -> /dev/block/dm-60
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 61a1b3df-b4d2-484f-9ac5-8e7997fa710d -> /dev/block/dm-36
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 653d0a63-79d5-449b-b176-f6939ff22de9 -> /dev/block/dm-17
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 683f176d-86b7-4711-a370-d64cd1c3dcaf -> /dev/block/dm-50
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 73f70c9a-6611-4fca-b3a4-013b8e4002cb -> /dev/block/dm-28
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 78f4a91e-b4a6-48a3-a685-14cad672c2c4 -> /dev/block/dm-30
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 7a756d7a-3895-49fd-9a0d-08a0d995368a -> /dev/block/dm-2
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 851b3607-3dac-49bf-9552-183315ad40b5 -> /dev/block/dm-53
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 8a508ae3-2733-4a37-8951-c2de9fe77975 -> /dev/block/dm-49
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 8bf5d8cb-ec80-4930-979b-b61a73aead63 -> /dev/block/dm-26
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 8d15f455-4474-4da0-9492-c4e7efbe1e44 -> /dev/block/dm-7
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 9370b6c0-919b-40a8-b809-8277817e36fc -> /dev/block/dm-18
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 971bcbd7-3521-45d3-870f-db3ad3aef91b -> /dev/block/dm-35
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 97b6fa75-1dbc-4a5a-b747-5bcce80ba5e2 -> /dev/block/dm-67
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 97cacf38-432e-4377-a832-781c8b6b893c -> /dev/block/dm-40
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 a98467ca-4c13-4d66-9314-ce60b03d2bd8 -> /dev/block/dm-59
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 ab159bfc-6785-49df-8ed5-61c1382d6650 -> /dev/block/dm-32
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 b87f0546-07ac-4aa1-9059-f1add1aad6db -> /dev/block/dm-12
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 bb5899d8-7ccb-4021-966b-b56673d6cbee -> /dev/block/dm-38
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 bcd8977f-dfa9-435b-9c1d-95b5f1e9c33c -> /dev/block/dm-13
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 c2f9d6db-47d3-4c53-9b80-1f434bdf3a38 -> /dev/block/dm-45
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 c31255cb-4072-487b-89c9-4bcda39e5979 -> /dev/block/dm-20
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 c4a93ff9-4236-480f-90e1-c8148cf11319 -> /dev/block/dm-56
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 c4da1298-1b7a-407a-b027-5ab39879e1d0 -> /dev/block/dm-6
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 c6888e64-7494-4e8d-a1f6-c04c0515e72d -> /dev/block/dm-39
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 c6d9eedd-97bb-46a0-a1e7-d1bad595d6c5 -> /dev/block/dm-29
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 c70e6273-0011-4089-a597-9165579dac35 -> /dev/block/dm-54
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 cde543ec-65fb-45d1-ad16-809c16631f44 -> /dev/block/dm-3
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 cef05617-766d-4769-ab90-5ad789943b57 -> /dev/block/dm-21
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 d9081d8f-18b6-4590-a56a-b767bd6f2cd2 -> /dev/block/dm-48
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 d9fdfc53-50f9-45de-aab7-841fcd02ddec -> /dev/block/dm-31
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 df98da81-8308-4cd9-9721-99d9ca838aee -> /dev/block/dm-46
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 e0e156c8-f47c-4521-a0e8-871165a13acd -> /dev/block/dm-15
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 e2bb661b-d97a-4c13-8f4b-fd49b4406442 -> /dev/block/dm-69
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 e45046d1-3872-460b-9800-05df03e63c90 -> /dev/block/dm-41
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 e78a361d-6ba4-4f7d-a816-1881637b1506 -> /dev/block/dm-27
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 fc0962a3-31fc-4a6b-896f-4de5c429a37e -> /dev/block/dm-52
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 ff41bf1d-8f1b-401a-a260-b135a37c5986 -> /dev/block/dm-43
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 ffc44924-c898-492f-b7a5-4e3257cf4e6d -> /dev/block/dm-42

/dev/block/platform:
total 0
drwxr-xr-x 3 root root   60 2023-08-13 20:40 .
drwxr-xr-x 6 root root 4820 2023-08-13 20:41 ..
drwxr-xr-x 3 root root 1760 2023-08-13 20:40 112b0000.ufshci

/dev/block/platform/112b0000.ufshci:
total 0
drwxr-xr-x 3 root root 1760 2023-08-13 20:40 .
drwxr-xr-x 3 root root   60 2023-08-13 20:40 ..
drwxr-xr-x 2 root root 1680 2023-08-13 20:40 by-name
lrwxrwxrwx 1 root root   14 2023-08-13 20:40 sda -> /dev/block/sda
lrwxrwxrwx 1 root root   14 2023-08-13 20:40 sdb -> /dev/block/sdb
lrwxrwxrwx 1 root root   14 2023-08-13 20:40 sdc -> /dev/block/sdc
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 sdc1 -> /dev/block/sdc1
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc10 -> /dev/block/sdc10
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc11 -> /dev/block/sdc11
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc12 -> /dev/block/sdc12
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc13 -> /dev/block/sdc13
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc14 -> /dev/block/sdc14
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc15 -> /dev/block/sdc15
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc16 -> /dev/block/sdc16
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc17 -> /dev/block/sdc17
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc18 -> /dev/block/sdc18
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc19 -> /dev/block/sdc19
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 sdc2 -> /dev/block/sdc2
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc20 -> /dev/block/sdc20
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc21 -> /dev/block/sdc21
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc22 -> /dev/block/sdc22
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc23 -> /dev/block/sdc23
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc24 -> /dev/block/sdc24
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc25 -> /dev/block/sdc25
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc26 -> /dev/block/sdc26
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc27 -> /dev/block/sdc27
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc28 -> /dev/block/sdc28
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc29 -> /dev/block/sdc29
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 sdc3 -> /dev/block/sdc3
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc30 -> /dev/block/sdc30
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc31 -> /dev/block/sdc31
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc32 -> /dev/block/sdc32
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc33 -> /dev/block/sdc33
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc34 -> /dev/block/sdc34
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc35 -> /dev/block/sdc35
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc36 -> /dev/block/sdc36
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc37 -> /dev/block/sdc37
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc38 -> /dev/block/sdc38
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc39 -> /dev/block/sdc39
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 sdc4 -> /dev/block/sdc4
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc40 -> /dev/block/sdc40
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc41 -> /dev/block/sdc41
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc42 -> /dev/block/sdc42
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc43 -> /dev/block/sdc43
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc44 -> /dev/block/sdc44
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc45 -> /dev/block/sdc45
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc46 -> /dev/block/sdc46
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc47 -> /dev/block/sdc47
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc48 -> /dev/block/sdc48
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc49 -> /dev/block/sdc49
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 sdc5 -> /dev/block/sdc5
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc50 -> /dev/block/sdc50
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc51 -> /dev/block/sdc51
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc52 -> /dev/block/sdc52
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc53 -> /dev/block/sdc53
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc54 -> /dev/block/sdc54
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc55 -> /dev/block/sdc55
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc56 -> /dev/block/sdc56
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc57 -> /dev/block/sdc57
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc58 -> /dev/block/sdc58
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc59 -> /dev/block/sdc59
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 sdc6 -> /dev/block/sdc6
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc60 -> /dev/block/sdc60
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc61 -> /dev/block/sdc61
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc62 -> /dev/block/sdc62
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc63 -> /dev/block/sdc63
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc64 -> /dev/block/sdc64
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc65 -> /dev/block/sdc65
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc66 -> /dev/block/sdc66
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc67 -> /dev/block/sdc67
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc68 -> /dev/block/sdc68
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc69 -> /dev/block/sdc69
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 sdc7 -> /dev/block/sdc7
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc70 -> /dev/block/sdc70
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc71 -> /dev/block/sdc71
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc72 -> /dev/block/sdc72
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc73 -> /dev/block/sdc73
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc74 -> /dev/block/sdc74
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc75 -> /dev/block/sdc75
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc76 -> /dev/block/sdc76
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc77 -> /dev/block/sdc77
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc78 -> /dev/block/sdc78
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc79 -> /dev/block/sdc79
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 sdc8 -> /dev/block/sdc8
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc80 -> /dev/block/sdc80
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc81 -> /dev/block/sdc81
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sdc82 -> /dev/block/sdc82
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 sdc9 -> /dev/block/sdc9

/dev/block/platform/112b0000.ufshci/by-name:
total 0
drwxr-xr-x 2 root root 1680 2023-08-13 20:40 .
drwxr-xr-x 3 root root 1760 2023-08-13 20:40 ..
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 apusys_a -> /dev/block/sdc33
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 apusys_b -> /dev/block/sdc66
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 audio_dsp_a -> /dev/block/sdc24
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 audio_dsp_b -> /dev/block/sdc57
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 boot_a -> /dev/block/sdc37
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 boot_b -> /dev/block/sdc70
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 boot_para -> /dev/block/sdc51
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 ccu_a -> /dev/block/sdc28
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 ccu_b -> /dev/block/sdc61
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 cdt_engineering_a -> /dev/block/sdc42
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 cdt_engineering_b -> /dev/block/sdc78
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 connsys_bt_a -> /dev/block/sdc53
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 connsys_bt_b -> /dev/block/sdc73
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 connsys_wifi_a -> /dev/block/sdc54
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 connsys_wifi_b -> /dev/block/sdc74
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 dpm_a -> /dev/block/sdc26
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 dpm_b -> /dev/block/sdc59
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 dram_para -> /dev/block/sdc52
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 dtbo_a -> /dev/block/sdc40
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 dtbo_b -> /dev/block/sdc75
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 efuse -> /dev/block/sdc45
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 expdb -> /dev/block/sdc7
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 flashinfo -> /dev/block/sdc82
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 frp -> /dev/block/sdc8
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 gpueb_a -> /dev/block/sdc32
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 gpueb_b -> /dev/block/sdc65
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 gz_a -> /dev/block/sdc35
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 gz_b -> /dev/block/sdc68
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 init_boot_a -> /dev/block/sdc39
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 init_boot_b -> /dev/block/sdc72
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 lk_a -> /dev/block/sdc36
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 lk_b -> /dev/block/sdc69
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 logo_a -> /dev/block/sdc55
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 logo_b -> /dev/block/sdc77
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 mcupm_a -> /dev/block/sdc31
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 mcupm_b -> /dev/block/sdc64
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 metadata -> /dev/block/sdc17
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 misc -> /dev/block/sdc1
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 mvpu_algo_a -> /dev/block/sdc34
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 mvpu_algo_b -> /dev/block/sdc67
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 nvcfg -> /dev/block/sdc9
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 nvdata -> /dev/block/sdc10
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 nvram -> /dev/block/sdc46
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 ocdt -> /dev/block/sdc47
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 oplus_custom -> /dev/block/sdc6
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 oplusreserve1 -> /dev/block/sdc3
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 oplusreserve2 -> /dev/block/sdc4
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 oplusreserve3 -> /dev/block/sdc5
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 oplusreserve5 -> /dev/block/sdc48
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 oplusreserve6 -> /dev/block/sdc49
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 otp -> /dev/block/sdc22
lrwxrwxrwx 1 root root   15 2023-08-13 20:40 para -> /dev/block/sdc2
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 param -> /dev/block/sdc50
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 persist -> /dev/block/sdc18
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 pi_img_a -> /dev/block/sdc25
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 pi_img_b -> /dev/block/sdc58
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 proinfo -> /dev/block/sdc44
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 protect1 -> /dev/block/sdc19
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 protect2 -> /dev/block/sdc20
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 scp_a -> /dev/block/sdc27
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 scp_b -> /dev/block/sdc60
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sec1 -> /dev/block/sdc43
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 seccfg -> /dev/block/sdc21
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 splash_odm -> /dev/block/sdc79
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 spmfw_a -> /dev/block/sdc23
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 spmfw_b -> /dev/block/sdc56
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sspm_a -> /dev/block/sdc30
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 sspm_b -> /dev/block/sdc63
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 super -> /dev/block/sdc80
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 tee_a -> /dev/block/sdc41
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 tee_b -> /dev/block/sdc76
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 userdata -> /dev/block/sdc81
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_a -> /dev/block/sdc11
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_b -> /dev/block/sdc14
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_system_a -> /dev/block/sdc12
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_system_b -> /dev/block/sdc15
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_vendor_a -> /dev/block/sdc13
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vbmeta_vendor_b -> /dev/block/sdc16
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vcp_a -> /dev/block/sdc29
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vcp_b -> /dev/block/sdc62
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vendor_boot_a -> /dev/block/sdc38
lrwxrwxrwx 1 root root   16 2023-08-13 20:40 vendor_boot_b -> /dev/block/sdc71

/dev/block/vold:
total 0
drwx------ 2 root root   40 2023-08-13 20:40 .
drwxr-xr-x 6 root root 4820 2023-08-13 20:41 ..
:/data/data/com.termux/files/home #`

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 13, 2023

I assume you mean that you patched and flashed init_boot.img? You would need to patch and fastboot boot that, not boot.img.

Interestingly looks like it found the partition correctly:

init_boot_a -> /dev/block/sdc39

Can you dump it manually and upload it?

dd if=/dev/block/sdc39 of=/sdcard/init_boot.img

@kouzelnik3
Copy link
Contributor Author

kouzelnik3 commented Aug 13, 2023

I assume you mean that you patched and flashed init_boot.img? You would need to patch and fastboot boot that, not boot.img.

Interestingly looks like it found the partition correctly:

init_boot_a -> /dev/block/sdc39

Can you dump it manually and upload it?

dd if=/dev/block/sdc39 of=/sdcard/init_boot.img

To be honest, I was following xda guide on rooting this device and they assumed dumping boot.img (which I did via fastboot enhance) and then patched it in magisk, then flashed it. I assume this could be the case? But even if I patched and flash boot.img and not init_boot.img, I am rooted without issues currently.

Here is the init_boot.img (uploaded to my Google drive because I couldn't upload it here)

https://drive.google.com/file/d/1APrJUoivzH0ivS-BU0D5ETUmuKUA92DY/view?usp=drive_link

Also this device has vendor_boot and vbmeta so I am not sure know what should be the proper way to root it then.

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 13, 2023

I can't download it because it says it's in your Trash.

@kouzelnik3
Copy link
Contributor Author

I can't download it because it says it's in your Trash.

Oh, sorry, my mistake... Try it once again please, I updated the link.

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 13, 2023

What was the output from the dump command? That .img is empty (all zeros). 🤔

@kouzelnik3
Copy link
Contributor Author

kouzelnik3 commented Aug 13, 2023

What was the output from the dump command? That .img is empty (all zeros). 🤔

This was the output

:/data/data/com.termux/files/home # dd if=/dev/block/sdc39 of=/sdcard/init_boot.img
16384+0 records in
16384+0 records out
8388608 bytes (8.0 M) copied, 0.048153 s, 166 M/s
:/data/data/com.termux/files/home #

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 13, 2023

If you dump init_boot from "fastboot enhanced" or whatever does that produce a normal non-zeroed .img?

@kouzelnik3
Copy link
Contributor Author

kouzelnik3 commented Aug 13, 2023

If you dump init_boot from "fastboot enhanced" or whatever does that produce a normal .img?

Not actually. I cannot even see init_boot there. Those are all the images it dumps.

Snímek obrazovky 2023-08-13 232009
Snímek obrazovky 2023-08-13 232031

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 13, 2023

Can you give me a dump while booted of boot.img?

dd if=/dev/block/sdc37 of=/sdcard/boot.img

@kouzelnik3
Copy link
Contributor Author

kouzelnik3 commented Aug 13, 2023

Can you give me a dump while booted of boot.img?

dd if=/dev/block/sdc37 of=/sdcard/boot.img

I guess you mean dump of that boot.img file? Because if I dump that boot.img and try to boot it via fastboot, I get the error below. The same one as if I try to temporary boot the patched one. This fastboot boot command is normally working on other devices for me if send from the same PC (for example if I try to boot corresponding boot.img of my OnePlus 10 Pro to my OnePlus 10 Pro).

C:\Minimal ADB and Fastboot>fastboot boot boot.img
downloading 'boot.img'...
OKAY [  1.523s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.536s

Here is the output from the DD command:

(output just to compare it):

:/data/data/com.termux/files/home # dd if=/dev/block/sdc37 of=/sdcard/boot.img
131072+0 records in
131072+0 records out
67108864 bytes (64 M) copied, 0.317656 s, 201 M/s
:/data/data/com.termux/files/home #

And here is the drive link
https://drive.google.com/file/d/1VVEKn8RE3dAnx_aDqW9IQXQodvUsXoTx/view?usp=drivesdk

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 13, 2023

Perfect, so yeah presumably the bootloader just doesn't allow the fastboot boot command, another thing you can probably thank MTK for.

Okay, so that dd dump of the boot partition is completely normal, so one of 2 weird things is going on here: Either the init_boot partition specifically can't be dumped while booted for some reason, or, it's intentionally a fake empty init_boot partition and the device is only using the boot partition.

😯

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 13, 2023

By the contents of the hdr4 boot.img ramdisk, I'm guessing it's the latter, but not sure how Magisk can accommodate such fuckery from MTK/OnePlus (to I guess falsely pass CTS/VTS by mimicking a modern setup?) 🤔🫤

@osm0sis osm0sis added the confirmed Issue confirmed to exist and the reason is known label Aug 14, 2023
@osm0sis osm0sis changed the title Magisk cannot be installed directly on the OnePlus Pad Direct Install fails on the OnePlus Pad Aug 14, 2023
@osm0sis osm0sis changed the title Direct Install fails on the OnePlus Pad Direct Install fails on the OnePlus Pad due to empty init_boot partition Aug 14, 2023
@canyie
Copy link
Collaborator

canyie commented Aug 14, 2023

I can confirm the same issue also happens on Doogee T10 and Teclast P40HD which use Unisoc T606/616 instead of MTK SoCs 🤔

@pndwal

This comment was marked as off-topic.

@pndwal

This comment was marked as off-topic.

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 14, 2023

@pndwal Please don't derail. His init_boot partition is 8mb of literally all zeros, and as I said there's an actual ramdisk in boot partition, not just Magisk's added entries.

@kouzelnik3
Copy link
Contributor Author

Mhm, that's some weird stuff going on on this MTK CPU it seems. THe question is if we or you can do something about it. 🤔

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 14, 2023

Only thing I can think of is if init_boot seems invalid fallback to using boot, but it'll really mess up the script/code and that's frustrating because it shouldn't be something that should ever have to be added in the first place.

@kouzelnik3
Copy link
Contributor Author

Only thing I can think of is if init_boot seems invalid fallback to using boot, but it'll really mess up the script and that's frustrating because it shouldn't be something that should ever have to be added in the first place.

Well, MTK & OnePlus, good job, it seems... :/

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 14, 2023

Another idea would need a larger rewrite/refactor and involve Magisk be aware of what partition it's installed into and have Direct Install maintain that.

(So not sure anyone would ever go for it.)

@kouzelnik3
Copy link
Contributor Author

Another idea would need a larger rewrite/refactor and involve Magisk be aware of what partition it's installed into and have Direct Install maintain that.

Mhm, It would be great, yeah, but as long as this device can be rooted at least by flashing the boot.img via ADB, it is not critical, I think.

@osm0sis

This comment was marked as off-topic.

@kouzelnik3

This comment was marked as off-topic.

@Chartman123
Copy link

I'm also facing this problem on Oneplus Nord 3 5G. I initially rooted the phone with a dumped and patched boot.img and fastboot flash boot boot.img

@osm0sis do you need more information?

@osm0sis
Copy link
Collaborator

osm0sis commented Aug 23, 2023

I'm also facing this problem on Oneplus Nord 3 5G. I initially rooted the phone with a dumped and patched boot.img and fastboot flash boot boot.img

@osm0sis do you need more information?

No I think we've got this diagnosed, just not sure what the best solution would be, so I'll leave that to others.

@kouzelnik3
Copy link
Contributor Author

I'm also facing this problem on Oneplus Nord 3 5G. I initially rooted the phone with a dumped and patched boot.img and fastboot flash boot boot.img
@osm0sis do you need more information?

No I think we've got this diagnosed, just not sure what the best solution would be, so I'll leave that to others.

The question is if we can fix it somehow, or Magisk will fix somehow later. 😇 🤔

@Penyintas13

This comment was marked as off-topic.

@Giveuplll

This comment was marked as off-topic.

Repository owner locked as resolved and limited conversation to collaborators Nov 25, 2023
@canyie canyie changed the title Direct Install fails on the OnePlus Pad due to empty init_boot partition Direct Install fails on some MediaTek/Unisoc devices due to empty init_boot partition Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
confirmed Issue confirmed to exist and the reason is known
Projects
None yet
Development

No branches or pull requests

7 participants