just dumped this figured it could be of use
lrwxrwxrwx root root 1969-12-31 23:01 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1969-12-31 23:01 apnhlos -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1969-12-31 23:01 backup -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1969-12-31 23:01 boot -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1969-12-31 23:01 cache -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1969-12-31 23:01 carrier -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1969-12-31 23:01 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1969-12-31 23:01 fota -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1969-12-31 23:01 fsg -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1969-12-31 23:01 hidden -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1969-12-31 23:01 m9kefs1 -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1969-12-31 23:01 m9kefs2 -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1969-12-31 23:01 m9kefs3 -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1969-12-31 23:01 mdm -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1969-12-31 23:01 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1969-12-31 23:01 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1969-12-31 23:01 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1969-12-31 23:01 param -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1969-12-31 23:01 persdata -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1969-12-31 23:01 persist -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1969-12-31 23:01 recovery -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1969-12-31 23:01 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1969-12-31 23:01 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1969-12-31 23:01 sbl2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1969-12-31 23:01 sbl3 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1969-12-31 23:01 ssd -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1969-12-31 23:01 system -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1969-12-31 23:01 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1969-12-31 23:01 userdata -> /dev/block/mmcblk0p29
Here is the Partition layout for the padfone x / s
lrwxrwxrwx root root 1970-01-05 19:54 DDR -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-01-05 19:54 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-01-05 19:54 abootbak -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-01-05 19:54 abootdebug -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 1970-01-05 19:54 asusdata -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-01-05 19:54 asusdata2 -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-01-05 19:54 asusfw -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-01-05 19:54 asusgpt -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-01-05 19:54 asusgpt1 -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 1970-01-05 19:54 asusgpt2 -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 1970-01-05 19:54 asusgpt3 -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 1970-01-05 19:54 asusgpt4 -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 1970-01-05 19:54 asuskey -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-01-05 19:54 asuskey2 -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-01-05 19:54 asuskey3 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-01-05 19:54 asuskey4 -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-01-05 19:54 asuskey5 -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-01-05 19:54 boot -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-01-05 19:54 cache -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 1970-01-05 19:54 dbi -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-01-05 19:54 fsc -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-01-05 19:54 fsg -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-01-05 19:54 gmxt -> /dev/block/mmcblk0p39
lrwxrwxrwx root root 1970-01-05 19:54 misc -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-01-05 19:54 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-01-05 19:54 modemst1 -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-01-05 19:54 modemst2 -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-01-05 19:54 pad -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-01-05 19:54 persist -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 1970-01-05 19:54 recovery -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 1970-01-05 19:54 rpm -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-01-05 19:54 rpmbak -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-01-05 19:54 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-01-05 19:54 sbl1bak -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-01-05 19:54 ssd -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-01-05 19:54 system -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 1970-01-05 19:54 tombstones -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 1970-01-05 19:54 tz -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-01-05 19:54 tzbak -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-01-05 19:54 userdata -> /dev/block/mmcblk0p40
Hello XDA,
I want to edit my splash screen on my Note 4.
I already searched the interwebs and found a tutorial, but it didn't work for me :/
So I was trying to figure it out myself.
First I searched for the correct mmcblk
My devices are named like this
lrwxrwxrwx 1 root root 20 2014-07-17 00:58 aboot -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 20 2014-07-17 00:58 apnhlos -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 boot -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 cache -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 20 2014-07-17 00:58 dbi -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 2014-07-17 00:58 ddr -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 efs -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 fota -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 hidden -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 mdm1m9kefs1 -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 mdm1m9kefs2 -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 mdm1m9kefs3 -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 mdm1m9kefsc -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 misc -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 20 2014-07-17 00:58 modem -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 pad -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 param -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 persdata -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 persist -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 recovery -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 20 2014-07-17 00:58 rpm -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 20 2014-07-17 00:58 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 2014-07-17 00:58 sbl1bak -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 ssd -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 system -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 20 2014-07-17 00:58 tz -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 2014-07-17 00:58 userdata -> /dev/block/mmcblk0p27
I decided to "clone" the param block to '/sdcard/param.lfs' using this command:
dd if=/dev/block/mmcblk0p12 of=/sdcard/param.lfs
Click to expand...
Click to collapse
This worked without problems and I got my file.
Now I've got the problem that I can't open or extract it in anyway.
I tried the following things:
tar command
a python script I found
a bash script I found
Mounting it to a folder
None of them worked for me.
Here are the scripts:
Bash Script:
#!/bin/bash
# filename: extract-jpg.sh
starts=(`grep -Pabo $'\xFF\xD8' $1 | cut -f 1 -d :`)
ends=(`grep -Pabo $'\xFF\xD9' $1 | cut -f 1 -d :`)
for (( i = 0 ; i < ${#starts[@]} ; i++ )); do
end=$((ends[$i] + 2))
count=$((end - starts[$i]))
echo "-I- Extracting ${starts[$i]}.jpg"
dd if=$1 bs=1 skip=${starts[$i]} count=$count > ${starts[$i]}.jpg
done
Python Script
from os import system
import sys
sys.stderr = open("./log.txt", "wb")
#sys.stdout = open("./stdout.txt", "wb")
def pr_err(msg):
print(msg)
system("pause")
exit()
def try_to_open(file):
res = ""
try:
res=open(file,"rb").read()
except:
pr_err("%s not found or can't be opened" % file)
return res
def open_jpg(file):
jpg = try_to_open(file)
if (len(jpg) == 0):
pr_err("%s is empty" % file)
elif (len(jpg) > 64673):
pr_err("%s bigger than 64673 bytes" % file)
else:
print("opened %s" % file)
return jpg
param = try_to_open("./param.lfs")
print("opened param.lfs")
img_orig = open_jpg("./image_orig.jpg")
img_new = open_jpg("./image_new.jpg")
if (len(img_orig) < len(img_new)):
pr_err("image_new.jpg is bigger than image_orig.jpg. Try to decrease its size.")
img_start = param.find(img_orig)
if img_start == -1:
pr_err("image_orig.jpg is not found in param.lfs")
else:
print("found image_orig.jpg in param.lfs")
length = len(img_orig) - len(img_new)
img = img_new + "\x00"*length
if length:
print("created image_new_.jpg with same size as image_orig.jpg")
open("./image_new_.jpg","wb").write(img)
new_param = param[:img_start] + img + param[img_start + len(img_orig):]
#print(len(param[:img_start]), len(img), len(param[img_start + len(img_orig):]))
if (len(new_param) != len(param)):
pr_err("Error, sizes of param_mod.lfs and param.lfs not matches")
open("./param_mod.lfs", "wb").write(new_param)
print("created param_mod.lfs")
system("pause")
So, my question is... How do I extract and repack it so I can change the splash screen to something ... Fancy
Additional Details:
Device Brand: Samsung
Device Model: Note 4 910F - Snapdragon
ROM: Emotroid Android 6.0 ROM
I don't know if anyone need it but here it is
Code:
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 bootfail_info -> /dev/block/mmcblk0p48
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 cache -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 cust -> /dev/block/mmcblk0p52
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 dfx -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 dto -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 dts -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 erecovery_kernel -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 erecovery_ramdisk -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 erecovery_vbmeta -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 erecovery_vendor -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 20 2018-03-16 17:19 fastboot -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 2018-03-16 17:19 frp -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 fw_hifi -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 20 2018-03-16 17:19 fw_lpm3 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 hisitest0 -> /dev/block/mmcblk0p44
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 hisitest1 -> /dev/block/mmcblk0p45
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 hisitest2 -> /dev/block/mmcblk0p46
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 kernel -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 misc -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 modem_fw -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 modem_om -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 modem_secure -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 modemnvm_backup -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 20 2018-03-16 17:19 modemnvm_factory -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 modemnvm_img -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 modemnvm_system -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 modemnvm_update -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 20 2018-03-16 17:19 nvme -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 odm -> /dev/block/mmcblk0p43
lrwxrwxrwx 1 root root 20 2018-03-16 17:19 oeminfo -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 patch -> /dev/block/mmcblk0p47
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 persist -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 product -> /dev/block/mmcblk0p55
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 ramdisk -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 recovery_ramdisk -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 recovery_vbmeta -> /dev/block/mmcblk0p37
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 recovery_vendor -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 reserved2 -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 20 2018-03-16 17:19 reserved3 -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 reserved4 -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 reserved5 -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 reserved8 -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 reserved9 -> /dev/block/mmcblk0p50
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 rrecord -> /dev/block/mmcblk0p49
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 secure_storage -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 sensorhub -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 splash2 -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 system -> /dev/block/mmcblk0p51
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 teeos -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 trustfirmware -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 userdata -> /dev/block/mmcblk0p56
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 vbmeta -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 vendor -> /dev/block/mmcblk0p54
lrwxrwxrwx 1 root root 21 2018-03-16 17:19 version -> /dev/block/mmcblk0p53
lrwxrwxrwx 1 root root 20 2018-03-16 17:19 vrl -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 20 2018-03-16 17:19 vrl_backup -> /dev/block/mmcblk0p2
Join Telegram group if you are willing to test latest stuff.
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/