I'm trying to port cwm to the huawe vitria and just unlocked the bootloader but when I try to boot my build(based on cyanogenmod 10's cwm) I get a black screen when I try to boot into recovery, so does anyone have any tips on porting cwm to huawei devices, I'm also using fastboot to flash it fyi.
and the partitions, are there 2 recoveries?
su
[email protected]:/ # ls -l /dev/block/platform/msm_sdcc.1/by-name
ls -l /dev/block/platform/msm_sdcc.1/by-name
lrwxrwxrwx root root 1970-01-01 04:22 aboot -> /dev/block/mmcbl
k0p6
lrwxrwxrwx root root 1970-01-01 04:22 aboot2 -> /dev/block/mmcb
lk0p7
lrwxrwxrwx root root 1970-01-01 04:22 boot -> /dev/block/mmcblk
0p21
lrwxrwxrwx root root 1970-01-01 04:22 cache -> /dev/block/mmcbl
k0p23
lrwxrwxrwx root root 1970-01-01 04:22 cust -> /dev/block/mmcblk
0p22
lrwxrwxrwx root root 1970-01-01 04:22 fsg -> /dev/block/mmcblk0
p9
lrwxrwxrwx root root 1970-01-01 04:22 grow -> /dev/block/mmcblk
0p26
lrwxrwxrwx root root 1970-01-01 04:22 misc -> /dev/block/mmcblk
0p16
lrwxrwxrwx root root 1970-01-01 04:22 modem -> /dev/block/mmcbl
k0p13
lrwxrwxrwx root root 1970-01-01 04:22 modemst1 -> /dev/block/mm
cblk0p10
lrwxrwxrwx root root 1970-01-01 04:22 modemst2 -> /dev/block/mm
cblk0p11
lrwxrwxrwx root root 1970-01-01 04:22 oeminfo -> /dev/block/mmc
blk0p12
lrwxrwxrwx root root 1970-01-01 04:22 pad -> /dev/block/mmcblk0
p20
lrwxrwxrwx root root 1970-01-01 04:22 persist -> /dev/block/mmc
blk0p18
lrwxrwxrwx root root 1970-01-01 04:22 recovery -> /dev/block/mm
cblk0p14
lrwxrwxrwx root root 1970-01-01 04:22 recovery2 -> /dev/block/m
mcblk0p15
lrwxrwxrwx root root 1970-01-01 04:22 rpm -> /dev/block/mmcblk0
p4
lrwxrwxrwx root root 1970-01-01 04:22 sbl1 -> /dev/block/mmcblk
0p1
lrwxrwxrwx root root 1970-01-01 04:22 sbl2 -> /dev/block/mmcblk
0p2
lrwxrwxrwx root root 1970-01-01 04:22 sbl3 -> /dev/block/mmcblk
0p3
lrwxrwxrwx root root 1970-01-01 04:22 splash -> /dev/block/mmcb
lk0p17
lrwxrwxrwx root root 1970-01-01 04:22 ssd -> /dev/block/mmcblk0
p8
lrwxrwxrwx root root 1970-01-01 04:22 system -> /dev/block/mmcb
lk0p24
lrwxrwxrwx root root 1970-01-01 04:22 tombstones -> /dev/block/
mmcblk0p19
lrwxrwxrwx root root 1970-01-01 04:22 tz -> /dev/block/mmcblk0p
5
lrwxrwxrwx root root 1970-01-01 04:22 userdata -> /dev/block/mm
cblk0p25
just curious if you've made any progress with this?
I'm going to receive a huawei vitria soon, and am interested in getting something like Cyanogenmod or AOSP ported to it. will be happy to help out once I receive the phone.
FYI, if anybody is interested, here's more info (thanks, OP!):
http://androidforums.com/vitria-all-things-root/
Hello everyone. I tell you that one day flashing my oneplus 5 lost the wifi. The MAC address shows me the typical 02: 00: 00: 00: 00: 00 address. The way to fix it is updating the Oreo but I could never do it, it is always in bootloop, I read all the forums and there is no case, do what I always do the same. It happens in many oneplus 5. So I forgot to fix it in that way. The other thing I saw is hundreds of forums with that problem but I could not fix it either, I've been doing it for three months now. What I am trying now is to erase all the partitions except recovery or bootloader but the phone does not start anymore. What I want is to delete all the partitions associated with wifi, delete modem1, modem2, persist, fsg but nothing, I just managed to lose the imei that does not matter to me because I have back up of the efs folder and even the qcn file of the phone. I know it's a lot of work but if someone tells me that they control each partition, I could erase it, load everything from scratch and that's it. Would someone give me a hand so I can fix that damn wifi on the phone ?. Thank you.
--------------------------------------------------------------------------------------------------------------------------------------
drwxr-xr-x 2 root root 1440 1970-05-03 14:23 .
drwxr-xr-x 4 root root 1600 1970-05-03 14:23 ..
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 LOGO -> /dev/block/sde18
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 abl -> /dev/block/sde16
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 ablbak -> /dev/block/sde17
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 apdp -> /dev/block/sde31
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 bluetooth -> /dev/block/sde24
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 boot -> /dev/block/sde19
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 boot_aging -> /dev/block/sde20
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 cache -> /dev/block/sda3
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 cdt -> /dev/block/sdd2
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 cmnlib -> /dev/block/sde27
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 cmnlib64 -> /dev/block/sde29
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 cmnlib64bak -> /dev/block/sde30
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 cmnlibbak -> /dev/block/sde28
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 config -> /dev/block/sda12
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 ddr -> /dev/block/sdd3
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 devcfg -> /dev/block/sde39
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 devinfo -> /dev/block/sde23
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 dip -> /dev/block/sde14
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 dpo -> /dev/block/sde33
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 dsp -> /dev/block/sde11
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 frp -> /dev/block/sda6
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 fsc -> /dev/block/sdf4
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 fsg -> /dev/block/sdf3
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 fw_4g9n4 -> /dev/block/sde45
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 fw_4j1ed -> /dev/block/sde43
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 fw_4t0n8 -> /dev/block/sde46
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 fw_8v1ee -> /dev/block/sde44
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 hyp -> /dev/block/sde5
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 hypbak -> /dev/block/sde6
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 keymaster -> /dev/block/sde25
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 keymasterbak -> /dev/block/sde26
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 keystore -> /dev/block/sda5
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 limits -> /dev/block/sde35
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 logdump -> /dev/block/sde40
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 logfs -> /dev/block/sde37
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 md5 -> /dev/block/sdf5
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 mdtp -> /dev/block/sde15
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 mdtpsecapp -> /dev/block/sde12
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 mdtpsecappbak -> /dev/block/sde13
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 minidump -> /dev/block/sde47
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 misc -> /dev/block/sda4
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 modem -> /dev/block/sde10
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 modemst1 -> /dev/block/sdf1
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 modemst2 -> /dev/block/sdf2
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 msadp -> /dev/block/sde32
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 oem_dycnvbk -> /dev/block/sda7
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 oem_stanvbk -> /dev/block/sda8
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 param -> /dev/block/sda9
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 persist -> /dev/block/sda2
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 pmic -> /dev/block/sde8
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 pmicbak -> /dev/block/sde9
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 recovery -> /dev/block/sde22
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 reserve -> /dev/block/sdd1
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 reserve1 -> /dev/block/sda10
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 reserve2 -> /dev/block/sda11
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 rpm -> /dev/block/sde1
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 rpmbak -> /dev/block/sde2
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 sec -> /dev/block/sde7
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 splash -> /dev/block/sde34
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 ssd -> /dev/block/sda1
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 sti -> /dev/block/sde38
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 storsec -> /dev/block/sde41
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 storsecbak -> /dev/block/sde42
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 system -> /dev/block/sde21
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 toolsfv -> /dev/block/sde36
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 tz -> /dev/block/sde3
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 tzbak -> /dev/block/sde4
lrwxrwxrwx 1 root root 16 1970-05-03 14:23 userdata -> /dev/block/sda13
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 xbl -> /dev/block/sdb1
lrwxrwxrwx 1 root root 15 1970-05-03 14:23 xblbak -> /dev/block/sdc1
I'm looking for a solution to get Root (Magisk) to work.
On my other devices it was possible only to boot TWRP, make a backup of boot.img, patch it later with Magisk Manager and install the patched_boot.img. This is the easiest way to get OAT to work (only flash back the original boot.img)
I've found a Root solution that should work on Motorola One AND One Power here:
https://tabcult.com/2018/09/15/how-...and-root-motorola-one-and-motorola-one-power/
but I couldn't get it to work.
Because it looks that TWRP for One and One Power should be the same I looked for newer TWRPs and found them here: https://twrp.me/motorola/motorolamotoonepower.html
but it doesn't work either...
Or:
Does anybody has (or can extract) the original Recovery? Without this I wouldn't try to install any twrp...
Motorola One & One Power is built on different socs and have different screen res, so TWRP for One Power won't work for us.
I tried to locate the partitions, but I couldn't find any "recovery"-partition.
I'm sure it's somewhere...but where?
Code:
deen_sprout:/ $ ls -al dev/block/platform/soc/7824900.sdhci/by-name
total 0
drwxr-xr-x 2 root root 1280 1970-02-02 13:53 .
drwxr-xr-x 4 root root 1360 1970-02-02 13:53 ..
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 DDR -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 20 1970-02-02 13:53 aboot_a -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 aboot_b -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 apdp -> /dev/block/mmcblk0p48
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 boot_a -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 boot_b -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 carrier -> /dev/block/mmcblk0p37
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 cid -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 cmnlib64_a -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 cmnlib64_b -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 cmnlib_a -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 cmnlib_b -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 20 1970-02-02 13:53 devcfg_a -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 20 1970-02-02 13:53 devcfg_b -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 dpo -> /dev/block/mmcblk0p50
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 dsp_a -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 dsp_b -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 dto_a -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 dto_b -> /dev/block/mmcblk0p43
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 frp -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 fsc -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 fsg_a -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 fsg_b -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 hw -> /dev/block/mmcblk0p54
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 keymaster_a -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 keymaster_b -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 kpan -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 logo_a -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 logo_b -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 logs -> /dev/block/mmcblk0p47
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 metadata -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 misc -> /dev/block/mmcblk0p44
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 modem_a -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 modem_b -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 modemst1 -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 modemst2 -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 mota -> /dev/block/mmcblk0p45
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 msadp -> /dev/block/mmcblk0p49
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 oem_a -> /dev/block/mmcblk0p56
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 oem_b -> /dev/block/mmcblk0p57
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 padA -> /dev/block/mmcblk0p53
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 persist -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 prov_a -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 prov_b -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 20 1970-02-02 13:53 rpm_a -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 1970-02-02 13:53 rpm_b -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 20 1970-02-02 13:53 sbl1_a -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 20 1970-02-02 13:53 sbl1_b -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 sp -> /dev/block/mmcblk0p55
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 ssd -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 syscfg -> /dev/block/mmcblk0p46
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 system_a -> /dev/block/mmcblk0p60
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 system_b -> /dev/block/mmcblk0p61
lrwxrwxrwx 1 root root 20 1970-02-02 13:53 tz_a -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 1970-02-02 13:53 tz_b -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 userdata -> /dev/block/mmcblk0p62
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 utags -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 utagsBackup -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 vbmeta_a -> /dev/block/mmcblk0p51
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 vbmeta_b -> /dev/block/mmcblk0p52
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 vendor_a -> /dev/block/mmcblk0p58
lrwxrwxrwx 1 root root 21 1970-02-02 13:53 vendor_b -> /dev/block/mmcblk0p59
deen_sprout:/ $
I have found the original Firmware for my device:
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
There is no recovery in it
I tried to patch the boot.img with magisk but the patched_boot.img is much smaller, that doesn't look like on my other devices.
There are many questions and it seems to difficult for me
Sylvia said:
I have found the original Firmware for my device:
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
There is no recovery in it
I tried to patch the boot.img with magisk but the patched_boot.img is much smaller, that doesn't look like on my other devices.
There are many questions and it seems to difficult for me
Click to expand...
Click to collapse
Yes, I also noticed that the firmware doesn't contain any recovery image, so yeah..it's kind of strange. No image and no partition. But I've booted to stock recovery, so it's there
So, it turns out that devices with A/B partitions don't have a separate recovery partition. It's built in to boot image.
https://www.xda-developers.com/how-a-b-partitions-and-seamless-updates-affect-custom-development-on-xda/
Thank you, very interesting article. So I don't have to look for it anymore.
Seems that we have wait for a TWRP, hopefully there are many people who will ask for it :fingers-crossed:
When I have time I try to compile a TWRP.
If someone wants to try it:
https://www.xda-developers.com/compile-twrp-for-your-device/
Hi everyone! I lost my OP8 daily driver the other day and decided to pick up a N200 as a stopgap measure. Thanks to Android 11, I'm able to dump all partitions from the DE2118 model of this device.
AFH: https://www.androidfilehost.com/?fid=7161016148664787728
Here's the partition map:
Code:
phhgsi_arm64_ab:/dev/block/by-name # ls -la
total 0
drwxr-xr-x 2 root root 2080 1970-01-12 18:02 .
drwxr-xr-x 6 root root 3080 1970-01-12 18:02 ..
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ALIGN_TO_128K_1 -> /dev/block/sdd1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ALIGN_TO_128K_2 -> /dev/block/sdf1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 abl_a -> /dev/block/sde6
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 abl_b -> /dev/block/sde26
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 abl_log -> /dev/block/sde53
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 android_log -> /dev/block/sde55
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 apdp -> /dev/block/sde40
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 bluetooth_a -> /dev/block/sde5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 bluetooth_b -> /dev/block/sde25
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 boot_a -> /dev/block/sde9
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 boot_b -> /dev/block/sde29
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 carrier -> /dev/block/sda8
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 catecontentfv -> /dev/block/sde50
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 catefv -> /dev/block/sde49
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 cateloader -> /dev/block/sde42
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 cdt -> /dev/block/sdd2
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 core_nhlos_a -> /dev/block/sde15
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 core_nhlos_b -> /dev/block/sde36
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ddr -> /dev/block/sdd3
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devcfg_a -> /dev/block/sde10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devcfg_b -> /dev/block/sde30
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devinfo -> /dev/block/sde39
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 dinfo -> /dev/block/sdd7
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 dsp_a -> /dev/block/sde7
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dsp_b -> /dev/block/sde27
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dtbo_a -> /dev/block/sde13
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dtbo_b -> /dev/block/sde33
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 engineering_cdt_a -> /dev/block/sdd4
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 engineering_cdt_b -> /dev/block/sdd5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 featenabler_a -> /dev/block/sde17
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 featenabler_b -> /dev/block/sde18
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 frp -> /dev/block/sda5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 fsc -> /dev/block/sdf14
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 fsg -> /dev/block/sdf13
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 hyp_a -> /dev/block/sde3
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 hyp_b -> /dev/block/sde23
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 imagefv_a -> /dev/block/sde14
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 imagefv_b -> /dev/block/sde34
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 kernel_log -> /dev/block/sde54
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 keymaster_a -> /dev/block/sde8
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 keymaster_b -> /dev/block/sde28
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 keystore -> /dev/block/sda4
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logdump -> /dev/block/sde43
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logfs -> /dev/block/sde41
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logo_a -> /dev/block/sde20
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logo_b -> /dev/block/sde38
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 metadata -> /dev/block/sda14
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 misc -> /dev/block/sda3
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modem_a -> /dev/block/sde4
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 modem_b -> /dev/block/sde24
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modemst1 -> /dev/block/sdf6
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modemst2 -> /dev/block/sdf7
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 multiimgoem_a -> /dev/block/sde45
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 multiimgoem_b -> /dev/block/sde46
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ocdt -> /dev/block/sdd6
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusdycnvbk -> /dev/block/sdf2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 opluslog -> /dev/block/sda7
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusreserve1 -> /dev/block/sdf8
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusreserve2 -> /dev/block/sdf9
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve3 -> /dev/block/sdf10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve4 -> /dev/block/sdf11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve5 -> /dev/block/sdf12
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusstanvbk_a -> /dev/block/sdf3
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusstanvbk_b -> /dev/block/sdf4
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 param -> /dev/block/sdf5
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 persist -> /dev/block/sda2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 persist_bkp -> /dev/block/sda6
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 qupfw_a -> /dev/block/sde11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 qupfw_b -> /dev/block/sde31
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 rawdump -> /dev/block/sda15
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 rpm_a -> /dev/block/sde1
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 rpm_b -> /dev/block/sde21
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sda -> /dev/block/sda
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdb -> /dev/block/sdb
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdc -> /dev/block/sdc
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdd -> /dev/block/sdd
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sde -> /dev/block/sde
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdf -> /dev/block/sdf
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 secdata -> /dev/block/sde48
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ssd -> /dev/block/sda1
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 storsec -> /dev/block/sde44
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 super -> /dev/block/sda9
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 tz_a -> /dev/block/sde2
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 tz_b -> /dev/block/sde22
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefisecapp_a -> /dev/block/sde16
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefisecapp_b -> /dev/block/sde35
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefivarstore -> /dev/block/sde47
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 userdata -> /dev/block/sda16
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_a -> /dev/block/sde12
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_b -> /dev/block/sde32
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_system_a -> /dev/block/sda10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_system_b -> /dev/block/sda11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vendor_boot_a -> /dev/block/sde19
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vendor_boot_b -> /dev/block/sde37
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-data -> /dev/block/sde52
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-keystore -> /dev/block/sde51
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-system_a -> /dev/block/sda12
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-system_b -> /dev/block/sda13
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_a -> /dev/block/sdb1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_b -> /dev/block/sdc1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_config_a -> /dev/block/sdb2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_config_b -> /dev/block/sdc2
To gain root access in the absence of magisk and firmware, I used the DSU feature that was introduced back in Android 10 (https://developer.android.com/topic/dsu).
Note: This will cause your device to brick if you did NOT unlock your bootloader first!
Then, get the latest phhusson GSI build w/ root. I used https://github.com/phhusson/treble_...wnload/v312/system-roar-arm64-ab-floss.img.xz
You can then unsparse the system img, gzip it, then use that to launch DSU with a custom image.
A more in-depth tutorial and a simplified firmware dump script will be coming soon a bit later in the afternoon. Hope that helps anyone looking for the firmware in the meantime
EnumC said:
Hi everyone! I lost my OP8 daily driver the other day and decided to pick up a N200 as a stopgap measure. Thanks to Android 11, I'm able to dump all partitions from the DE2118 model of this device. Upload to AFH is in progress.
Here's the partition map:
Code:
phhgsi_arm64_ab:/dev/block/by-name # ls -la
total 0
drwxr-xr-x 2 root root 2080 1970-01-12 18:02 .
drwxr-xr-x 6 root root 3080 1970-01-12 18:02 ..
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ALIGN_TO_128K_1 -> /dev/block/sdd1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ALIGN_TO_128K_2 -> /dev/block/sdf1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 abl_a -> /dev/block/sde6
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 abl_b -> /dev/block/sde26
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 abl_log -> /dev/block/sde53
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 android_log -> /dev/block/sde55
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 apdp -> /dev/block/sde40
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 bluetooth_a -> /dev/block/sde5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 bluetooth_b -> /dev/block/sde25
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 boot_a -> /dev/block/sde9
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 boot_b -> /dev/block/sde29
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 carrier -> /dev/block/sda8
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 catecontentfv -> /dev/block/sde50
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 catefv -> /dev/block/sde49
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 cateloader -> /dev/block/sde42
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 cdt -> /dev/block/sdd2
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 core_nhlos_a -> /dev/block/sde15
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 core_nhlos_b -> /dev/block/sde36
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ddr -> /dev/block/sdd3
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devcfg_a -> /dev/block/sde10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devcfg_b -> /dev/block/sde30
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devinfo -> /dev/block/sde39
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 dinfo -> /dev/block/sdd7
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 dsp_a -> /dev/block/sde7
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dsp_b -> /dev/block/sde27
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dtbo_a -> /dev/block/sde13
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dtbo_b -> /dev/block/sde33
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 engineering_cdt_a -> /dev/block/sdd4
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 engineering_cdt_b -> /dev/block/sdd5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 featenabler_a -> /dev/block/sde17
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 featenabler_b -> /dev/block/sde18
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 frp -> /dev/block/sda5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 fsc -> /dev/block/sdf14
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 fsg -> /dev/block/sdf13
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 hyp_a -> /dev/block/sde3
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 hyp_b -> /dev/block/sde23
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 imagefv_a -> /dev/block/sde14
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 imagefv_b -> /dev/block/sde34
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 kernel_log -> /dev/block/sde54
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 keymaster_a -> /dev/block/sde8
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 keymaster_b -> /dev/block/sde28
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 keystore -> /dev/block/sda4
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logdump -> /dev/block/sde43
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logfs -> /dev/block/sde41
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logo_a -> /dev/block/sde20
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logo_b -> /dev/block/sde38
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 metadata -> /dev/block/sda14
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 misc -> /dev/block/sda3
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modem_a -> /dev/block/sde4
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 modem_b -> /dev/block/sde24
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modemst1 -> /dev/block/sdf6
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modemst2 -> /dev/block/sdf7
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 multiimgoem_a -> /dev/block/sde45
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 multiimgoem_b -> /dev/block/sde46
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ocdt -> /dev/block/sdd6
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusdycnvbk -> /dev/block/sdf2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 opluslog -> /dev/block/sda7
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusreserve1 -> /dev/block/sdf8
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusreserve2 -> /dev/block/sdf9
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve3 -> /dev/block/sdf10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve4 -> /dev/block/sdf11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve5 -> /dev/block/sdf12
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusstanvbk_a -> /dev/block/sdf3
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusstanvbk_b -> /dev/block/sdf4
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 param -> /dev/block/sdf5
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 persist -> /dev/block/sda2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 persist_bkp -> /dev/block/sda6
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 qupfw_a -> /dev/block/sde11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 qupfw_b -> /dev/block/sde31
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 rawdump -> /dev/block/sda15
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 rpm_a -> /dev/block/sde1
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 rpm_b -> /dev/block/sde21
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sda -> /dev/block/sda
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdb -> /dev/block/sdb
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdc -> /dev/block/sdc
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdd -> /dev/block/sdd
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sde -> /dev/block/sde
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdf -> /dev/block/sdf
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 secdata -> /dev/block/sde48
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ssd -> /dev/block/sda1
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 storsec -> /dev/block/sde44
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 super -> /dev/block/sda9
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 tz_a -> /dev/block/sde2
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 tz_b -> /dev/block/sde22
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefisecapp_a -> /dev/block/sde16
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefisecapp_b -> /dev/block/sde35
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefivarstore -> /dev/block/sde47
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 userdata -> /dev/block/sda16
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_a -> /dev/block/sde12
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_b -> /dev/block/sde32
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_system_a -> /dev/block/sda10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_system_b -> /dev/block/sda11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vendor_boot_a -> /dev/block/sde19
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vendor_boot_b -> /dev/block/sde37
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-data -> /dev/block/sde52
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-keystore -> /dev/block/sde51
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-system_a -> /dev/block/sda12
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-system_b -> /dev/block/sda13
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_a -> /dev/block/sdb1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_b -> /dev/block/sdc1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_config_a -> /dev/block/sdb2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_config_b -> /dev/block/sdc2
To gain root access in the absence of magisk and firmware, I used the DSU feature that was introduced back in Android 10 (https://developer.android.com/topic/dsu).
Then, get the latest phhusson GSI build w/ root. I used https://github.com/phhusson/treble_...wnload/v312/system-roar-arm64-ab-floss.img.xz
You can then unsparse the system img, gzip it, then use that to launch DSU with a custom image.
A more in-depth tutorial and a simplified firmware dump script will be coming soon a bit later in the afternoon. Hope that helps anyone looking for the firmware in the meantime
Click to expand...
Click to collapse
Awesome!
Ok I'm a little slow. You got the firmware no one else has been able to get and the dsu phhuson thing is how to get root? If so I think I love you.......
alarmdude9 said:
Ok I'm a little slow. You got the firmware no one else has been able to get and the dsu phhuson thing is how to get root? If so I think I love you.......
Click to expand...
Click to collapse
Since the bl can be unlocked, the only roadblock stopping us from porting over TWRP is the stock recovery. And since we don't have the stock firmware, flashing any GSI would be the easiest way to get a brick. That gets us into a chicken-and-the-egg situation, where you can't port TWRP without the firmware, and you can't extract the firmware without root. That's why DSU appears to have worked out since it's able to easily load GSI without having to overwrite any stock firmware partitions. The official documentation states that it "requires the GSIs to be signed by Google or your OEMs as a trusted system image", but it seems like OnePlus does not enforce signature. So you can pretty much boot any system image you want this way. After you get the custom firmware loaded, you can extract any partition you want with root privilege. A reboot reverts you back to stock rom.
I understood some of those words lol. Guess when I get some downtime tonight it's time to unlock the bootloader and set the thing up again and see if I can get it to work. Be ready for stupid questions
11.0.1.5 DE18CB firmware has been uploaded. The active partition is in slot B.
EnumC said:
Hi everyone! I lost my OP8 daily driver the other day and decided to pick up a N200 as a stopgap measure. Thanks to Android 11, I'm able to dump all partitions from the DE2118 model of this device.
AFH: https://www.androidfilehost.com/?fid=7161016148664787728
Here's the partition map:
Code:
phhgsi_arm64_ab:/dev/block/by-name # ls -la
total 0
drwxr-xr-x 2 root root 2080 1970-01-12 18:02 .
drwxr-xr-x 6 root root 3080 1970-01-12 18:02 ..
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ALIGN_TO_128K_1 -> /dev/block/sdd1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ALIGN_TO_128K_2 -> /dev/block/sdf1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 abl_a -> /dev/block/sde6
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 abl_b -> /dev/block/sde26
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 abl_log -> /dev/block/sde53
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 android_log -> /dev/block/sde55
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 apdp -> /dev/block/sde40
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 bluetooth_a -> /dev/block/sde5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 bluetooth_b -> /dev/block/sde25
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 boot_a -> /dev/block/sde9
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 boot_b -> /dev/block/sde29
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 carrier -> /dev/block/sda8
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 catecontentfv -> /dev/block/sde50
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 catefv -> /dev/block/sde49
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 cateloader -> /dev/block/sde42
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 cdt -> /dev/block/sdd2
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 core_nhlos_a -> /dev/block/sde15
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 core_nhlos_b -> /dev/block/sde36
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ddr -> /dev/block/sdd3
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devcfg_a -> /dev/block/sde10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devcfg_b -> /dev/block/sde30
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devinfo -> /dev/block/sde39
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 dinfo -> /dev/block/sdd7
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 dsp_a -> /dev/block/sde7
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dsp_b -> /dev/block/sde27
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dtbo_a -> /dev/block/sde13
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dtbo_b -> /dev/block/sde33
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 engineering_cdt_a -> /dev/block/sdd4
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 engineering_cdt_b -> /dev/block/sdd5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 featenabler_a -> /dev/block/sde17
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 featenabler_b -> /dev/block/sde18
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 frp -> /dev/block/sda5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 fsc -> /dev/block/sdf14
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 fsg -> /dev/block/sdf13
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 hyp_a -> /dev/block/sde3
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 hyp_b -> /dev/block/sde23
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 imagefv_a -> /dev/block/sde14
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 imagefv_b -> /dev/block/sde34
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 kernel_log -> /dev/block/sde54
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 keymaster_a -> /dev/block/sde8
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 keymaster_b -> /dev/block/sde28
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 keystore -> /dev/block/sda4
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logdump -> /dev/block/sde43
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logfs -> /dev/block/sde41
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logo_a -> /dev/block/sde20
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logo_b -> /dev/block/sde38
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 metadata -> /dev/block/sda14
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 misc -> /dev/block/sda3
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modem_a -> /dev/block/sde4
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 modem_b -> /dev/block/sde24
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modemst1 -> /dev/block/sdf6
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modemst2 -> /dev/block/sdf7
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 multiimgoem_a -> /dev/block/sde45
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 multiimgoem_b -> /dev/block/sde46
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ocdt -> /dev/block/sdd6
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusdycnvbk -> /dev/block/sdf2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 opluslog -> /dev/block/sda7
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusreserve1 -> /dev/block/sdf8
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusreserve2 -> /dev/block/sdf9
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve3 -> /dev/block/sdf10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve4 -> /dev/block/sdf11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve5 -> /dev/block/sdf12
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusstanvbk_a -> /dev/block/sdf3
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusstanvbk_b -> /dev/block/sdf4
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 param -> /dev/block/sdf5
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 persist -> /dev/block/sda2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 persist_bkp -> /dev/block/sda6
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 qupfw_a -> /dev/block/sde11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 qupfw_b -> /dev/block/sde31
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 rawdump -> /dev/block/sda15
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 rpm_a -> /dev/block/sde1
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 rpm_b -> /dev/block/sde21
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sda -> /dev/block/sda
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdb -> /dev/block/sdb
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdc -> /dev/block/sdc
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdd -> /dev/block/sdd
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sde -> /dev/block/sde
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdf -> /dev/block/sdf
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 secdata -> /dev/block/sde48
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ssd -> /dev/block/sda1
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 storsec -> /dev/block/sde44
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 super -> /dev/block/sda9
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 tz_a -> /dev/block/sde2
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 tz_b -> /dev/block/sde22
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefisecapp_a -> /dev/block/sde16
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefisecapp_b -> /dev/block/sde35
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefivarstore -> /dev/block/sde47
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 userdata -> /dev/block/sda16
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_a -> /dev/block/sde12
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_b -> /dev/block/sde32
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_system_a -> /dev/block/sda10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_system_b -> /dev/block/sda11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vendor_boot_a -> /dev/block/sde19
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vendor_boot_b -> /dev/block/sde37
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-data -> /dev/block/sde52
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-keystore -> /dev/block/sde51
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-system_a -> /dev/block/sda12
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-system_b -> /dev/block/sda13
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_a -> /dev/block/sdb1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_b -> /dev/block/sdc1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_config_a -> /dev/block/sdb2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_config_b -> /dev/block/sdc2
To gain root access in the absence of magisk and firmware, I used the DSU feature that was introduced back in Android 10 (https://developer.android.com/topic/dsu).
Note: This will cause your device to brick if you did NOT unlock your bootloader first!
Then, get the latest phhusson GSI build w/ root. I used https://github.com/phhusson/treble_...wnload/v312/system-roar-arm64-ab-floss.img.xz
You can then unsparse the system img, gzip it, then use that to launch DSU with a custom image.
A more in-depth tutorial and a simplified firmware dump script will be coming soon a bit later in the afternoon. Hope that helps anyone looking for the firmware in the meantime
Click to expand...
Click to collapse
ROM dump without root is a major game changer.
Now we don't have to wait for stock ROM released
EnumC said:
A more in-depth tutorial and a simplified firmware dump script will be coming soon a bit later in the afternoon.
Click to expand...
Click to collapse
Hi @EnumC ,
Did you get a chance to post this tutorial and the simplified dump script?
Also, when I looked at the stock ROM that you have kindly posted, all the partitions are in dd format other than boot_b which is in img format. Why is that and what does that mean?
Finally, for use with magisk, you have suggested using the boot_b file which is in img file. Why b and why not boot_a which is in dd format? What kernel does boot_a contain?
Thanks for all your amazing work so far!
Incredible work!
Zwitterion said:
Incredible work!
Click to expand...
Click to collapse
EnumC said:
Hi everyone! I lost my OP8 daily driver the other day and decided to pick up a N200 as a stopgap measure. Thanks to Android 11, I'm able to dump all partitions from the DE2118 model of this device.
AFH: https://www.androidfilehost.com/?fid=7161016148664787728
Here's the partition map:
Code:
phhgsi_arm64_ab:/dev/block/by-name # ls -la
total 0
drwxr-xr-x 2 root root 2080 1970-01-12 18:02 .
drwxr-xr-x 6 root root 3080 1970-01-12 18:02 ..
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ALIGN_TO_128K_1 -> /dev/block/sdd1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ALIGN_TO_128K_2 -> /dev/block/sdf1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 abl_a -> /dev/block/sde6
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 abl_b -> /dev/block/sde26
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 abl_log -> /dev/block/sde53
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 android_log -> /dev/block/sde55
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 apdp -> /dev/block/sde40
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 bluetooth_a -> /dev/block/sde5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 bluetooth_b -> /dev/block/sde25
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 boot_a -> /dev/block/sde9
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 boot_b -> /dev/block/sde29
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 carrier -> /dev/block/sda8
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 catecontentfv -> /dev/block/sde50
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 catefv -> /dev/block/sde49
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 cateloader -> /dev/block/sde42
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 cdt -> /dev/block/sdd2
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 core_nhlos_a -> /dev/block/sde15
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 core_nhlos_b -> /dev/block/sde36
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ddr -> /dev/block/sdd3
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devcfg_a -> /dev/block/sde10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devcfg_b -> /dev/block/sde30
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 devinfo -> /dev/block/sde39
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 dinfo -> /dev/block/sdd7
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 dsp_a -> /dev/block/sde7
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dsp_b -> /dev/block/sde27
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dtbo_a -> /dev/block/sde13
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 dtbo_b -> /dev/block/sde33
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 engineering_cdt_a -> /dev/block/sdd4
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 engineering_cdt_b -> /dev/block/sdd5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 featenabler_a -> /dev/block/sde17
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 featenabler_b -> /dev/block/sde18
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 frp -> /dev/block/sda5
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 fsc -> /dev/block/sdf14
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 fsg -> /dev/block/sdf13
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 hyp_a -> /dev/block/sde3
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 hyp_b -> /dev/block/sde23
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 imagefv_a -> /dev/block/sde14
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 imagefv_b -> /dev/block/sde34
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 kernel_log -> /dev/block/sde54
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 keymaster_a -> /dev/block/sde8
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 keymaster_b -> /dev/block/sde28
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 keystore -> /dev/block/sda4
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logdump -> /dev/block/sde43
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logfs -> /dev/block/sde41
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logo_a -> /dev/block/sde20
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 logo_b -> /dev/block/sde38
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 metadata -> /dev/block/sda14
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 misc -> /dev/block/sda3
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modem_a -> /dev/block/sde4
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 modem_b -> /dev/block/sde24
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modemst1 -> /dev/block/sdf6
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 modemst2 -> /dev/block/sdf7
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 multiimgoem_a -> /dev/block/sde45
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 multiimgoem_b -> /dev/block/sde46
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ocdt -> /dev/block/sdd6
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusdycnvbk -> /dev/block/sdf2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 opluslog -> /dev/block/sda7
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusreserve1 -> /dev/block/sdf8
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusreserve2 -> /dev/block/sdf9
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve3 -> /dev/block/sdf10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve4 -> /dev/block/sdf11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 oplusreserve5 -> /dev/block/sdf12
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusstanvbk_a -> /dev/block/sdf3
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 oplusstanvbk_b -> /dev/block/sdf4
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 param -> /dev/block/sdf5
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 persist -> /dev/block/sda2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 persist_bkp -> /dev/block/sda6
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 qupfw_a -> /dev/block/sde11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 qupfw_b -> /dev/block/sde31
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 rawdump -> /dev/block/sda15
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 rpm_a -> /dev/block/sde1
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 rpm_b -> /dev/block/sde21
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sda -> /dev/block/sda
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdb -> /dev/block/sdb
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdc -> /dev/block/sdc
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdd -> /dev/block/sdd
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sde -> /dev/block/sde
lrwxrwxrwx 1 root root 14 1970-01-12 18:02 sdf -> /dev/block/sdf
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 secdata -> /dev/block/sde48
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 ssd -> /dev/block/sda1
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 storsec -> /dev/block/sde44
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 super -> /dev/block/sda9
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 tz_a -> /dev/block/sde2
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 tz_b -> /dev/block/sde22
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefisecapp_a -> /dev/block/sde16
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefisecapp_b -> /dev/block/sde35
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 uefivarstore -> /dev/block/sde47
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 userdata -> /dev/block/sda16
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_a -> /dev/block/sde12
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_b -> /dev/block/sde32
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_system_a -> /dev/block/sda10
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vbmeta_system_b -> /dev/block/sda11
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vendor_boot_a -> /dev/block/sde19
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vendor_boot_b -> /dev/block/sde37
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-data -> /dev/block/sde52
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-keystore -> /dev/block/sde51
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-system_a -> /dev/block/sda12
lrwxrwxrwx 1 root root 16 1970-01-12 18:02 vm-system_b -> /dev/block/sda13
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_a -> /dev/block/sdb1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_b -> /dev/block/sdc1
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_config_a -> /dev/block/sdb2
lrwxrwxrwx 1 root root 15 1970-01-12 18:02 xbl_config_b -> /dev/block/sdc2
To gain root access in the absence of magisk and firmware, I used the DSU feature that was introduced back in Android 10 (https://developer.android.com/topic/dsu).
Note: This will cause your device to brick if you did NOT unlock your bootloader first!
Then, get the latest phhusson GSI build w/ root. I used https://github.com/phhusson/treble_...wnload/v312/system-roar-arm64-ab-floss.img.xz
You can then unsparse the system img, gzip it, then use that to launch DSU with a custom image.
A more in-depth tutorial and a simplified firmware dump script will be coming soon a bit later in the afternoon. Hope that helps anyone looking for the firmware in the meantime
Click to expand...
Click to collapse
How can I reflash the ROM since I bricked my device by mistake ? I managed to successfully root my device, but I tried to sim unlock it , so I flashed super.dd to super partition thinking that I may sim unlock my device with ROM dump , stupid me ..
Please help me
jilebi said:
Hi @EnumC ,
Did you get a chance to post this tutorial and the simplified dump script?
Also, when I looked at the stock ROM that you have kindly posted, all the partitions are in dd format other than boot_b which is in img format. Why is that and what does that mean?
Finally, for use with magisk, you have suggested using the boot_b file which is in img file. Why b and why not boot_a which is in dd format? What kernel does boot_a contain?
Thanks for all your amazing work so far!
Click to expand...
Click to collapse
No, not yet. Work got a bit busy and I've been tinkering around as much as possible with my free time. For the partitions, they are all dumps done with dd. You can change the extension to img if that helps the tools you're using to recognize them.
Not sure what's in slot a. On my device, the active slot is b. A might contain an older OTA, be broken, or something else. Haven't spent any time figuring that out yet. If you discover anything, please let me know.
And thanks! It's really motivating when everyone can benefit from these posts
mkhader said:
How can I reflash the ROM since I bricked my device by mistake ? I managed to successfully root my device, but I tried to sim unlock it , so I flashed super.dd to super partition thinking that I may sim unlock my device with ROM dump , stupid me ..
Please help me
Click to expand...
Click to collapse
What is the full command you used to flash the super.dd to the super partition? Did you dd the dump file to /dev/block/sda9?
EnumC said:
No, not yet. Work got a bit busy and I've been tinkering around as much as possible with my free time.
Click to expand...
Click to collapse
No worries. I asked to simply check if you had posted it and I missed reading about it it in the multlple threads that are active currently. Hopefully, you will post a new thread when you have the tutorial and script ready, so that I and others can catch it easily.
EnumC said:
For the partitions, they are all dumps done with dd. You can change the extension to img if that helps the tools you're using to recognize them.
Click to expand...
Click to collapse
Got it. Glad that all of them are dd files, and boot_b was simply renamed to .img for processing by other utilities.
EnumC said:
Not sure what's in slot a. On my device, the active slot is b. A might contain an older OTA, be broken, or something else. Haven't spent any time figuring that out yet. If you discover anything, please let me know.
Click to expand...
Click to collapse
That makes more sense now - since your active slot was known to you to be b when you did a partition dump, you advised all of us to use boot_b.img to patch with magisk.
If I had a make a guess, I think boot_a must contain the kernel for 11.0.1.4. Since your partition dump is for 11.0.1.5, and the N200 factory ships with 11.0.1.4, it would be logical that slot a factory shipped with 11.0.1.4 kernel, then you got an OTA for 11.0.1.5, which then went to slot b and made slot b as the active slot.
If you have the bandwidth, you can test this hypothesis, by patching boot_a.dd with magisk and booting with it (I think the risk to you should be minimal as long as you are bootloader unlocked and have access to fastboot), OR posting the patched file here for somebody else to test it with bootloader unlocked N200 on 11.0.1.4.
EnumC said:
And thanks! It's really motivating when everyone can benefit from these posts
Click to expand...
Click to collapse
I can sense your passion in the work you are doing! Keep it up and keep engaging with all of us out here. As you correctly said, we all will benefit from it.
EnumC said:
What is the full command you used to flash the super.dd to the super partition? Did you dd the dump file to /dev/block/sda9?
Click to expand...
Click to collapse
Actually no , I did a fastboot command , fastboot flash super super.dd .
What is the correct way to flash the DD file ?
How long does it take before OnePlus puts up its own factory image of it's phones after release? Can we expect a stock firmware for this phone soon? I want all traces of T-Mobile gone.
i see 4 vbmeta image files.... im trying to figure out which is the main "vbmeta.img" used when using the following code?
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
anyone have any idea?
jilebi said:
If you have the bandwidth, you can test this hypothesis, by patching boot_a.dd with magisk and booting with it (I think the risk to you should be minimal as long as you are bootloader unlocked and have access to fastboot
Click to expand...
Click to collapse
I tested this (in an attempt to find a working stock image to receive OTA updates. I've tried boot_a and boot_b and neither work) and my device couldn't boot. So whatever is in boot_a I don't think it works.
To recover, fastboot had problems detecting my device but I had to pick in Windows "Let me pick from a list of available drivers" and pick the Android Bootloader Interface from Google before it worked.
I got a trouble now
The OTA update restarted itself and now I need boot for October update.
I did the following to try to replicate what EnumC did and I got the same stock boot.img but in partition A instead of partition B:
Used MSMDownloadTool to reset to factory image
Unlocked bootloader with one line adb command
Download phhusson's GSI as EnumC mentioned
Installed msys2 with mingw64 tool chain, base devel, and mingw64 gettext, add an include statement and include asprintf in order to build simg2img on Windows (I've attached my build for 64 bit Win 10 here)
Unzip GSI.xz and then unsparse it using simg2img
Follow instructions here to install GSI. The $(du) is to calculate disk usage of the system_raw.img on your PC
adb reboot fastboot, fastboot getvar all to get active partition (factory image should be a)
You can now adb shell, su, and then dd to extract /dev/block/bootdevice/by-name/boot_a
mingkee said:
I got a trouble now
The OTA update restarted itself and now I need boot for October update.
Click to expand...
Click to collapse
Here is stock boot.img for 11.0.1.7.DE18CB T-Mobile variant
96 MB file on MEGA
mega.nz