[Q] Help to specify memory blocks in Updater Script - Android Q&A, Help & Troubleshooting

I m just rebuilding my stock rom with some mods. Used a random updater script provided in forum (As I don't have my own). Rebuild it in dsixda's kitchen. It says this:
Code:
Please ensure these device mount statements are correct:
--------------------------------------------------------------------------
mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system"); mount("ext4", "EMMC", "/dev/block/mmcblk0p18", "/data");
but I've gathered info via adb of my device that looks like this:
Code:
[email protected]:/ $ cat /proc/emmc
partno: start_sect nr_sects partition_name
emmc_p1: 00000020 00000002 "ebr1"
emmc_p2: 0013af20 000d6800 "cache"
emmc_p3: 00211f20 0018f800 "usrdata"
emmc_p4: 003a1f20 003910e0 "fat"
emmc_p5: 00009f00 00002800 "sec_ro"
emmc_p6: 0000ef20 0012b800 "android"
Code:
[email protected]:/ $ cat /proc/dumchar_info
Part_Name Size StartAddr Type MapTo
preloader 0x0000000000040000 0x0000000000000000 2 /dev/misc-sd
dsp_bl 0x00000000005c0000 0x0000000000040000 2 /dev/misc-sd
mbr 0x0000000000004000 0x0000000000000000 2 /dev/block/mmcblk0
ebr1 0x000000000005c000 0x0000000000004000 2 /dev/block/mmcblk0p1
pmt 0x0000000000400000 0x0000000000060000 2 /dev/block/mmcblk0
nvram 0x0000000000300000 0x0000000000460000 2 /dev/block/mmcblk0
seccfg 0x0000000000020000 0x0000000000760000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000000780000 2 /dev/block/mmcblk0
bootimg 0x0000000000600000 0x00000000007e0000 2 /dev/block/mmcblk0
recovery 0x0000000000600000 0x0000000000de0000 2 /dev/block/mmcblk0
sec_ro 0x0000000000600000 0x00000000013e0000 2 /dev/block/mmcblk0p5
misc 0x0000000000060000 0x00000000019e0000 2 /dev/block/mmcblk0
logo 0x0000000000300000 0x0000000001a40000 2 /dev/block/mmcblk0
expdb 0x00000000000a0000 0x0000000001d40000 2 /dev/block/mmcblk0
ebr2 0x0000000000004000 0x0000000001de0000 2 /dev/block/mmcblk0
android 0x0000000025800000 0x0000000001de4000 2 /dev/block/mmcblk0p6
cache 0x000000001ae00000 0x00000000275e4000 2 /dev/block/mmcblk0p2
usrdata 0x0000000032000000 0x00000000423e4000 2 /dev/block/mmcblk0p3
fat 0x000000007221c000 0x00000000743e4000 2 /dev/block/mmcblk0p4
bmtpool 0x0000000000a00000 0x00000000ff9f0050 2 /dev/block/mmcblk0
What to do?

Rep.
Abirwebster said:
I m just rebuilding my stock rom with some mods. Used a random updater script provided in forum (As I don't have my own). Rebuild it in dsixda's kitchen. It says this:
Code:
Please ensure these device mount statements are correct:
--------------------------------------------------------------------------
mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system"); mount("ext4", "EMMC", "/dev/block/mmcblk0p18", "/data");
but I've gathered info via adb of my device that looks like this:
Code:
[email protected]:/ $ cat /proc/emmc
partno: start_sect nr_sects partition_name
emmc_p1: 00000020 00000002 "ebr1"
emmc_p2: 0013af20 000d6800 "cache"
emmc_p3: 00211f20 0018f800 "usrdata"
emmc_p4: 003a1f20 003910e0 "fat"
emmc_p5: 00009f00 00002800 "sec_ro"
emmc_p6: 0000ef20 0012b800 "android"
Code:
[email protected]:/ $ cat /proc/dumchar_info
Part_Name Size StartAddr Type MapTo
preloader 0x0000000000040000 0x0000000000000000 2 /dev/misc-sd
dsp_bl 0x00000000005c0000 0x0000000000040000 2 /dev/misc-sd
mbr 0x0000000000004000 0x0000000000000000 2 /dev/block/mmcblk0
ebr1 0x000000000005c000 0x0000000000004000 2 /dev/block/mmcblk0p1
pmt 0x0000000000400000 0x0000000000060000 2 /dev/block/mmcblk0
nvram 0x0000000000300000 0x0000000000460000 2 /dev/block/mmcblk0
seccfg 0x0000000000020000 0x0000000000760000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000000780000 2 /dev/block/mmcblk0
bootimg 0x0000000000600000 0x00000000007e0000 2 /dev/block/mmcblk0
recovery 0x0000000000600000 0x0000000000de0000 2 /dev/block/mmcblk0
sec_ro 0x0000000000600000 0x00000000013e0000 2 /dev/block/mmcblk0p5
misc 0x0000000000060000 0x00000000019e0000 2 /dev/block/mmcblk0
logo 0x0000000000300000 0x0000000001a40000 2 /dev/block/mmcblk0
expdb 0x00000000000a0000 0x0000000001d40000 2 /dev/block/mmcblk0
ebr2 0x0000000000004000 0x0000000001de0000 2 /dev/block/mmcblk0
android 0x0000000025800000 0x0000000001de4000 2 /dev/block/mmcblk0p6
cache 0x000000001ae00000 0x00000000275e4000 2 /dev/block/mmcblk0p2
usrdata 0x0000000032000000 0x00000000423e4000 2 /dev/block/mmcblk0p3
fat 0x000000007221c000 0x00000000743e4000 2 /dev/block/mmcblk0p4
bmtpool 0x0000000000a00000 0x00000000ff9f0050 2 /dev/block/mmcblk0
What to do?
Click to expand...
Click to collapse
Should I mount it as mount("ext4", "EMMC", "/dev/block/mmcblk0", "/system") ?? Any kinda help is appreciated.

Try running
adb shell
mount
If this doesn't give you system partition check your recovery log or use busybox
run_program("/sbin/busybox", "mount", "/system");
Sent from my Nexus 4 using XDA Premium 4 mobile app

demkantor said:
Try running
adb shell
mount
If this doesn't give you system partition check your recovery log or use busybox
run_program("/sbin/busybox", "mount", "/system");
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't see any of /system/, /bootimg/ partitions! Here's the code:
Code:
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
[email protected] /system ext4 ro,relatime,noauto_da_alloc,commit=1,data=ordered 0 0
[email protected] /data ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
[email protected] /cache ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/[email protected]_ro /system/secro ext4 ro,relatime,data=ordered 0 0
/dev/block/vold/179:97 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:97 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/vold/179:4 /storage/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-0 /mnt/asec/orangebd.holy.quran-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.desaxedstudios.bassboosterpro-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-2 /mnt/asec/com.adobe.reader-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-3 /mnt/asec/com.icloudzone.DeathMoto-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-4 /mnt/asec/com.antutu.pro.batterysaverplus-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-5 /mnt/asec/com.sonyericsson.trackid-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-6 /mnt/asec/com.mcc.zapp-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-7 /mnt/asec/com.ratana.jazzcat.steampunkdroid-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-8 /mnt/asec/com.batteryacid.highwayrider-2 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-9 /mnt/asec/os.tools.scriptmanager-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-10 /mnt/asec/com.opera.mini.android-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-11 /mnt/asec/org.videolan.vlc.betav7neon-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-12 /mnt/asec/com.imangi.templerun-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-13 /mnt/asec/com.joeykrim.rootcheck-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-14 /mnt/asec/com.jb.gokeyboard.plugin.pad-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-15 /mnt/asec/com.bigeyes0x0.trickstermod-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-16 /mnt/asec/stericson.busybox-2 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-17 /mnt/asec/com.freemind.fishing-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-18 /mnt/asec/bbc.mobile.news.ww-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-19 /mnt/asec/com.gami.agecalculator-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-20 /mnt/asec/com.instaforex.android.forex.mt4droidtrader-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-21 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-22 /mnt/asec/com.cpuid.cpu_z-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-23 /mnt/asec/net.hasnath.android.keyboard-2 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-24 /mnt/asec/com.bdodesk.bdnewpapersall-2 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-25 /mnt/asec/com.agilesoftresource-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-26 /mnt/asec/com.vpnoneclick.android-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-27 /mnt/asec/com.mobjoy.roadwarrior-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-28 /mnt/asec/com.touchtype.swiftkey-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-29 /mnt/asec/com.fingersoft.hillclimb-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-30 /mnt/asec/com.imangi.templerun2-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-31 /mnt/asec/com.acr.tubevideodownloader-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-32 /mnt/asec/com.twitter.android-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-33 /mnt/asec/com.androidwasabi.livewallpaper.jellybean-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-34 /mnt/asec/org.zwanoo.android.speedtest-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-35 /mnt/asec/com.tencent.ibibo.mtt-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-36 /mnt/asec/com.androidwasabi.livewallpaper.xperiaz-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0

never seen it listed as [email protected] , this is normally where partition info is, maybe try
adb shell
ls dev/block
ls -l dev/block
cat /proc/partitions
df
busybox df -hm
hopefully something should work, otherwise like i said should be in recovery log assuming you have a custom recovery

demkantor said:
never seen it listed as [email protected] , this is normally where partition info is, maybe try
adb shell
ls dev/block
ls -l dev/block
cat /proc/partitions
df
busybox df -hm
hopefully something should work, otherwise like i said should be in recovery log assuming you have a custom recovery
Click to expand...
Click to collapse
My goodness!! Thanks a lot!!
Code:
Partition Logs:
/boot | /dev/bootimg | Size: 6MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/bootimg
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/cache | /dev/block/mmcblk0p2 | Size: 421MB Used: 12MB Free: 409MB Backup Size: 12MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p2
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/data | /dev/block/mmcblk0p3 | Size: 796MB Used: 460MB Free: 336MB Backup Size: 460MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p3
Display_Name: Data
Storage_Name: Data
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/misc | /dev/misc | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/misc
Display_Name: misc
Storage_Name: misc
Backup_Path: /misc
Backup_Name: misc
Backup_Display_Name: misc
Storage_Path: /misc
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/recovery | /dev/recovery | Size: 6MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/recovery
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/emmc | /dev/block/mmcblk0p4 | Size: 1822MB Used: 29MB Free: 1792MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Has_Android_Secure Is_Storage Is_Settings_Storage
Symlink_Path: /emmc/.android_secure
Symlink_Mount_Point: /and-sec
Primary_Block_Device: /dev/block/mmcblk0p4
Display_Name: emmc
Storage_Name: emmc
Backup_Path: /and-sec
Backup_Name: and-sec
Backup_Display_Name: Android Secure
Storage_Path: /emmc
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
/system | /dev/block/mmcblk0p6 | Size: 597MB Used: 572MB Free: 24MB Backup Size: 572MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p6
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/sdcard | /dev/block/mmcblk1p1 | Size: 1886MB Used: 1475MB Free: 410MB Backup Size: 1475MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: sdcard
Storage_Name: sdcard
Backup_Path: /sdcard
Backup_Name: sdcard
Backup_Display_Name: sdcard
Storage_Path: /sdcard
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
/nvram | /dev/nvram | Size: 3MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/nvram
Display_Name: Nvram
Storage_Name: Nvram
Backup_Path: /nvram
Backup_Name: nvram
Backup_Display_Name: Nvram
Storage_Path: /nvram
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/uboot | /dev/uboot | Size: 0MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/uboot
Display_Name: Uboot
Storage_Name: Uboot
Backup_Path: /uboot
Backup_Name: uboot
Backup_Display_Name: Uboot
Storage_Path: /uboot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/sd-ext | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI Removable
Primary_Block_Device: /dev/block/mmcblk1p2
Display_Name: SD-Ext
Storage_Name: SD-Ext
Backup_Path: /sd-ext
Backup_Name: sd-ext
Backup_Display_Name: SD-Ext
Storage_Path: /sd-ext
Current_File_System: auto
Fstab_File_System: auto
Backup_Method: files

Related

partitions of sony tablet s

note:this is a study log,i'am not sure if blow is all right:cyclops:
Code:
major minor #blocks dev format name mount note
179 1 2048 mmcblk0p1 ext2 CF /configs
179 2 393216 mmcblk0p2 ext4 A0 /system system.img flash here
179 3 393216 mmcblk0p3 ext4 A1 /system backup system?
179 4 524288 mmcblk0p4 ext4 CC /cache
179 5 2048 mmcblk0p5 ???? MC /misc can't mount
179 6 49152 mmcblk0p6 ???? UP /staging hidden.img flash here
179 7 1024 mmcblk0p7 ???? BF /blflags can't mount
179 8 393216 mmcblk0p8 ext4 DP /datapp manel mount
179 9 16384 mmcblk0p9 ext4 LG /log
179 10 4194304 mmcblk0p10 ext4 UA /data
179 11 9368576 mmcblk0p11 vfat SC /sdcard
here mmcblk0 is first mmc-block device,that is inner storage
mmcblk0p1 is first partition of mmcblk0
block size is 1 KB,so block count 2048 means size is 2MB
there are 2 system partition(p2,p3),p2 is main system partition,if something wrong with p2,system will use p3 for backup.
my tablet first boot will stop at sony logo(use p2),2nd boot will ok(use p3)
if i flash ics,it will flash to p2,and can't use in forst boot,but after wipe,it will back to 3.2.1 again,then next boot to ics....
??system rember what system used in blflag(p7)+0xC.
(in updater-script read_index("/blflags") and code in update-binary)
if the byte is 0,use p2,else use p3,my is 1
content of p7:all zero but 0x03C -- 0x1FB is 0xFF,and
Code:
0x0C:1
0x14:1
0x1fC:0xD2A7AA14
0x1000:BL_VERSION_INFO\0
0x1010:_BL\0 0x00000008
0x1020:_RM\0 0x0000001E
0x1030:_LX\0 0x07334EFF
0x1040:_E1\0 0x00000009
a wipe data will format partition:
data,cache,log,staging
when flash rom,system.img flash to p2 or p3,hidden.img flash to p6
condi's double flash roms flash both to p2 and p3
some cmd:
get partion list
Code:
cat /proc/partitions
p3,p6,p8 is only use in update-script,but you can mout it by cmd
Code:
mount -t ext4 /dev/block/mmcblk0p3 /dir-name
p5,p7,format is unknow,mount fail,but you can dump it's data by cmd
Code:
cat /dev/block/mmcblk0p3 /some-name.bin
or
Code:
dd if=/dev/block/mmcblk0p3 of=/some-name.bin
in theory,you can restore partition by dd cmd,but it's very dangers!
you can check what system you use by cmd mount
Code:
# mount
mount
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/mmcblk0p1 /configs ext2 ro,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
[COLOR="Red"]/dev/block/mmcblk0p3 /system ext4 rw,relatime,barrier=1,data=ordered 0 0[/COLOR]
/dev/block/mmcblk0p10 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered
0 0
/dev/block/mmcblk0p4 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered
0 0
/dev/block/mmcblk0p9 /log ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0
0
/dev/block/svold/179:17 /mnt/sdcard2 vfat rw,dirsync,nosuid,nodev,noexec,relatim
e,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iochar
set=iso8859-1,shortname=mixed,batch_sync,utf8,comp_uni,avoid_dlink,errors=remoun
t-ro 0 0
/dev/block/vold/179:11 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,
uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharse
t=iso8859-1,shortname=mixed,batch_sync,utf8,comp_uni,avoid_dlink,errors=remount-
ro 0 0
/dev/block/vold/179:11 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,rela
time,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioc
harset=iso8859-1,shortname=mixed,batch_sync,utf8,comp_uni,avoid_dlink,errors=rem
ount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
View attachment partitions.7z
Have anyone treis to flip this blaflags partition flag which tells which partition to reboot from? It could allow more versatile flashing...
According to Chainfire's floating performance monitor application the Disk I/O is mmcblk0.
Sent from my Nexus 4 using xda app-developers app
Where is the kernel? In the system partition, because i can´t see a boot partition in your list...
Partitionator said:
Where is the kernel? In the system partition, because i can´t see a boot partition in your list...
Click to expand...
Click to collapse
mmcblk0p6
Thats also where recovery is, hidden.img is kernel + recovery
lopezk38 said:
mmcblk0p6
Thats also where recovery is, hidden.img is kernel + recovery
Click to expand...
Click to collapse
no,no,no
in normal case mmcblk0p6 is empty
1,mount it,will get only "lost+found" dir
2,dump it by dd,it's almost 50M of zero
as it's name,mmcblk0p6 is only a staging,when update system,hidden.img(kernel + recovery) will flash to mmcblk0p6,
but after reboot,the data will be cut to some place else.maybe a hidden partition we don't know
ánd the file used in recovery is not in the list too..
;45311156 said:
no,no,no
in normal case mmcblk0p6 is empty
1,mount it,will get only "lost+found" dir
2,dump it by dd,it's almost 50M of zero
as it's name,mmcblk0p6 is only a staging,when update system,hidden.img(kernel + recovery) will flash to mmcblk0p6,
but after reboot,the data will be cut to some place else.maybe a hidden partition we don't know
ánd the file used in recovery is not in the list too..
Click to expand...
Click to collapse
Robin, we need you to join the Sony Tablet Bootloader Discussion on Google Hangouts, can you PM me with your email with the subject "STBD"?
Sent from my Nexus 4 using Tapatalk 4

[Q] Cant Find my Recovery Partition

Hi All!!
I have a Qmoible A5Classic and I want to develop its CWM Recovery. I want to fetch its recovery by
Code:
dd if=etc of=abc
but the problem is i cannot find which partition is my recovery partition.
Code:
cat proc/partitions
shows:
Code:
major minor #blocks name
7 0 1254 loop0
179 0 3815552 mmcblk0
179 1 1 mmcblk0p1
179 2 163840 mmcblk0p2
179 3 1064960 mmcblk0p3
179 4 2028784 mmcblk0p4
179 5 5120 mmcblk0p5
179 6 524288 mmcblk0p6
179 16 2048 mmcblk0boot1
179 8 2048 mmcblk0boot0
179 24 1949696 mmcblk1
179 25 1948672 mmcblk1p1
and
Code:
cat proc/mounts
show these:
Code:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
[email protected] /system ext4 rw,relatime,user_xattr,commit=1,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/loop0 /mnt/cd-rom iso9660 ro,relatime 0 0
[email protected] /data ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
[email protected] /cache ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/vold/179:4 /mnt/sdcard2 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:25 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:25 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
Can anyone please point out the right partition?
PS: It is rooted.
Regards
ssm14293 said:
Hi All!!
Can anyone please point out the right partition?
PS: It is rooted.
Regards
Click to expand...
Click to collapse
I would recommend running the following command as root from terminal emulator:
Code:
cat /cache/recovery/last_log
This should tell you which partition is your recovery partition that you can then dump a copy of the stock recovery.img to your device. Let me know if you still have questions.
Sent from my SCH-I535 using xda premium
cmd says /recovery emmc recovery (null) 0
shimp208 said:
I would recommend running the following command as root from terminal emulator:
Code:
cat /cache/recovery/last_log
This should tell you which partition is your recovery partition that you can then dump a copy of the stock recovery.img to your device. Let me know if you still have questions.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
This is what I get upon running your command:
Code:
Partition Information:
preloader 0x0000000000040000 0x0000000000000000 2 /dev/misc-sd
dsp_bl 0x00000000005c0000 0x0000000000040000 2 /dev/misc-sd
mbr 0x0000000000004000 0x0000000000000000 2 /dev/block/mmcblk0
ebr1 0x000000000005c000 0x0000000000004000 2 /dev/block/mmcblk0p1
pmt 0x0000000000400000 0x0000000000060000 2 /dev/block/mmcblk0
nvram 0x0000000000300000 0x0000000000460000 2 /dev/block/mmcblk0
seccfg 0x0000000000020000 0x0000000000760000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000000780000 2 /dev/block/mmcblk0
bootimg 0x0000000000600000 0x00000000007e0000 2 /dev/block/mmcblk0
recovery 0x0000000000600000 0x0000000000de0000 2 /dev/block/mmcblk0
sec_ro 0x0000000000600000 0x00000000013e0000 2 /dev/block/mmcblk0p5
misc 0x0000000000060000 0x00000000019e0000 2 /dev/block/mmcblk0
logo 0x0000000000300000 0x0000000001a40000 2 /dev/block/mmcblk0
expdb 0x00000000000a0000 0x0000000001d40000 2 /dev/block/mmcblk0
ebr2 0x0000000000004000 0x0000000001de0000 2 /dev/block/mmcblk0
android 0x0000000020100000 0x0000000001de4000 2 /dev/block/mmcblk0p6
cache 0x000000000a100000 0x0000000021ee4000 2 /dev/block/mmcblk0p2
usrdata 0x0000000041100000 0x000000002bfe4000 2 /dev/block/mmcblk0p3
fat 0x0000000000000001 0x000000006d0e4000 2 /dev/block/mmcblk0p4
bmtpool 0x000000007bafbfff 0xffffffffffa00000 2 /dev/block/mmcblk0
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /boot emmc boot (null) 0
2 /cache ext4 /dev/block/mmcblk0p2 (null) 0
3 /data ext4 /dev/block/mmcblk0p3 (null) 0
4 /misc emmc misc (null) 0
5 /recovery emmc recovery (null) 0
6 /sdcard vfat /dev/block/mmcblk1 /dev/block/mmcblk0p4 0
7 /sdcard2 vfat /dev/block/mmcblk0p4 (null) 0
8 /system ext4 /dev/block/mmcblk0p6 (null) 0
ssm14293 said:
This is what I get upon running your command:
Code:
Partition Information:
preloader 0x0000000000040000 0x0000000000000000 2 /dev/misc-sd
dsp_bl 0x00000000005c0000 0x0000000000040000 2 /dev/misc-sd
mbr 0x0000000000004000 0x0000000000000000 2 /dev/block/mmcblk0
ebr1 0x000000000005c000 0x0000000000004000 2 /dev/block/mmcblk0p1
pmt 0x0000000000400000 0x0000000000060000 2 /dev/block/mmcblk0
nvram 0x0000000000300000 0x0000000000460000 2 /dev/block/mmcblk0
seccfg 0x0000000000020000 0x0000000000760000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000000780000 2 /dev/block/mmcblk0
bootimg 0x0000000000600000 0x00000000007e0000 2 /dev/block/mmcblk0
recovery 0x0000000000600000 0x0000000000de0000 2 /dev/block/mmcblk0
sec_ro 0x0000000000600000 0x00000000013e0000 2 /dev/block/mmcblk0p5
misc 0x0000000000060000 0x00000000019e0000 2 /dev/block/mmcblk0
logo 0x0000000000300000 0x0000000001a40000 2 /dev/block/mmcblk0
expdb 0x00000000000a0000 0x0000000001d40000 2 /dev/block/mmcblk0
ebr2 0x0000000000004000 0x0000000001de0000 2 /dev/block/mmcblk0
android 0x0000000020100000 0x0000000001de4000 2 /dev/block/mmcblk0p6
cache 0x000000000a100000 0x0000000021ee4000 2 /dev/block/mmcblk0p2
usrdata 0x0000000041100000 0x000000002bfe4000 2 /dev/block/mmcblk0p3
fat 0x0000000000000001 0x000000006d0e4000 2 /dev/block/mmcblk0p4
bmtpool 0x000000007bafbfff 0xffffffffffa00000 2 /dev/block/mmcblk0
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /boot emmc boot (null) 0
2 /cache ext4 /dev/block/mmcblk0p2 (null) 0
3 /data ext4 /dev/block/mmcblk0p3 (null) 0
4 /misc emmc misc (null) 0
5 /recovery emmc recovery (null) 0
6 /sdcard vfat /dev/block/mmcblk1 /dev/block/mmcblk0p4 0
7 /sdcard2 vfat /dev/block/mmcblk0p4 (null) 0
8 /system ext4 /dev/block/mmcblk0p6 (null) 0
Click to expand...
Click to collapse
Very interesting from looking at your partition layout I can see that that /dev/block/mmcblk0 contains your recovery partition. However it appears /dev/block/mmcblk0 is a combined partition that also contains many critical parts of the phones file system such u-boot, /boot, and other bootloader related components. I would recommend running the following commands as root from either ADB shell:
Code:
cd /dev/block/platform
Then from the platform directory list the contents of the directory with the "ls" command. Once you have done that you should see a platform name (Or multiple platform names) for example on my Verizon Galaxy S3 it shows:
Code:
msm_sdcc.1
msm_sdcc.3
Cd into each of the platform directories (Or if there is only one platform directory "cd" into that) and list the contents of the platform directory using the "ls" command and look to see if it list a directory "by-name". If the platform directory your in contains the "by-name" folder run the following command:
Code:
ls -l /dev/block/platform/{platform directory name here}/by-name
If that command returns an output take note of the the block number that contains the recovery partition.
Another suggestion would be to run the following command to try and isolate the recovery.img from the larger /dev/block/mmcblk0 contents:
Code:
dd if=/dev/block/mmcblk0 of=mnt/sdcard/recovery.img bs=1 skip=6291456 count=8257536
Additionally you could try dumping the whole /dev/block/mmcblk0 partition using the command:
Code:
cat /dev/block/mmcblk0 > /mnt/sdcard/recovery.img
Let me know how the above commands work out for you .
shimp208 said:
[/HIDE]
Very interesting from looking at your partition layout I can see that that /dev/block/mmcblk0 contains your recovery partition. However it appears /dev/block/mmcblk0 is a combined partition that also contains many critical parts of the phones file system such u-boot, /boot, and other bootloader related components. I would recommend running the following commands as root from either ADB shell:
Code:
cd /dev/block/platform
Then from the platform directory list the contents of the directory with the "ls" command. Once you have done that you should see a platform name (Or multiple platform names) for example on my Verizon Galaxy S3 it shows:
Code:
msm_sdcc.1
msm_sdcc.3
Cd into each of the platform directories (Or if there is only one platform directory "cd" into that) and list the contents of the platform directory using the "ls" command and look to see if it list a directory "by-name". If the platform directory your in contains the "by-name" folder run the following command:
Code:
ls -l /dev/block/platform/{platform directory name here}/by-name
If that command returns an output take note of the the block number that contains the recovery partition.
Another suggestion would be to run the following command to try and isolate the recovery.img from the larger /dev/block/mmcblk0 contents:
Code:
dd if=/dev/block/mmcblk0 of=mnt/sdcard/recovery.img bs=1 skip=6291456 count=8257536
Additionally you could try dumping the whole /dev/block/mmcblk0 partition using the command:
Code:
cat /dev/block/mmcblk0 > /mnt/sdcard/recovery.img
Let me know how the above commands work out for you .
Click to expand...
Click to collapse
Jahan panha tussi great ho taufa qabul karo!
Click to expand...
Click to collapse
Translation: Dude!!!! Ur great!! please accept my humble gift :victory:
I dont have a by-name folder but only by-num, which really doesnt help. So now I will try your second method, extracting a part of the main image!! I'll tell you the result!!!
Regards
I did what you asked me to and it gave me a 7.87mb img file, but I cannot extract it using the unpack-mt65xx.pl. Invalid file. Can you please point me in the right direction please.
Regards
ssm14293 said:
I did what you asked me to and it gave me a 7.87mb img file, but I cannot extract it using the unpack-mt65xx.pl. Invalid file. Can you please point me in the right direction please.
Regards
Click to expand...
Click to collapse
In that case I would recommend trying to dump the whole /dev/block/mmcblk0 partition and seeing if you can unpack it then.
Some Luck with it...
shimp208 said:
In that case I would recommend trying to dump the whole /dev/block/mmcblk0 partition and seeing if you can unpack it then.
Click to expand...
Click to collapse
Hi I tried to extract the recovery.img created from your command using unmkboot in my Ubuntu VM. I got two files from it, a zImage file and an initramfs.cpio.gz files with this output:
Code:
unmkbootimg version 1.2 - Mikael Q Kuisma <[email protected]>
File ./images/recovery.img not a plain boot image, seeking for embedded image ... found!
Kernel size 3248084
Kernel address 0x10008000
Ramdisk size 506660
Ramdisk address 0x11000000
Secondary size 0
Secondary address 0x10f00000
Kernel tags address 0x10000100
Flash page size 2048
Board name is "1354555027"
Command line ""
This image is built using standard mkbootimg
Extracting kernel to file zImage ...
Extracting root filesystem to file initramfs.cpio.gz ...
All done.
---------------
To recompile this image, use:
mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --board '1354555027' -o new_boot.img
---------------
Now what can i do from here. I cannot extract the cpio.gz file, how will I do that.
Thanks for helping out!
I cannot dump the whole mmcblk0 because I dont have a memory card large enough for the dump, which is roughly 4gb.
Regards
Few Questions
shimp208 said:
In that case I would recommend trying to dump the whole /dev/block/mmcblk0 partition and seeing if you can unpack it then.
Click to expand...
Click to collapse
There is one thing I noted in the partition list. the stating point for boot, recovery and sec_ro is same i.e:
Code:
0x0000000000600000
but they end at different blocks, would that be a problem?
I think the over all partition type is ext4 which is supported by Ubuntu 13.04, can i do something to read the partition directly, like mount it in some way?
ssm14293 said:
Hi I tried to extract the recovery.img created from your command using unmkboot in my Ubuntu VM. I got two files from it, a zImage file and an initramfs.cpio.gz files with this output:
Code:
unmkbootimg version 1.2 - Mikael Q Kuisma <[email protected]>
File ./images/recovery.img not a plain boot image, seeking for embedded image ... found!
Kernel size 3248084
Kernel address 0x10008000
Ramdisk size 506660
Ramdisk address 0x11000000
Secondary size 0
Secondary address 0x10f00000
Kernel tags address 0x10000100
Flash page size 2048
Board name is "1354555027"
Command line ""
This image is built using standard mkbootimg
Extracting kernel to file zImage ...
Extracting root filesystem to file initramfs.cpio.gz ...
All done.
---------------
To recompile this image, use:
mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --board '1354555027' -o new_boot.img
---------------
Now what can i do from here. I cannot extract the cpio.gz file, how will I do that.
Thanks for helping out!
I cannot dump the whole mmcblk0 because I dont have a memory card large enough for the dump, which is roughly 4gb.
Regards
Click to expand...
Click to collapse
To unpack the cpio.gz file I would recommend downloading these Linux boot.img tools, they will allow you to unpack and repack the cpio.gz ramdisk file. Make sure after you download those tools you put them in your ~/bin folder and that the folder in your PATH or else the tools won't work as they rely on each other to function properly.
ssm14293 said:
There is one thing I noted in the partition list. the stating point for boot, recovery and sec_ro is same i.e:
Code:
0x0000000000600000
but they end at different blocks, would that be a problem?
I think the over all partition type is ext4 which is supported by Ubuntu 13.04, can i do something to read the partition directly, like mount it in some way?
Click to expand...
Click to collapse
I thought this offset for the partitions was very interesting, instead of going from one offset to another that would make it clear which parts of the /dev/block/mmcblk0 is recovery, boot, etc. they all seem to overlap. If you can find to dump the full partition and then transfer it to your computer you should be able to mount it in Ubuntu if it's ext4 and then read it's contents.
Found a way!
shimp208 said:
To unpack the cpio.gz file I would recommend downloading these Linux boot.img tools, they will allow you to unpack and repack the cpio.gz ramdisk file. Make sure after you download those tools you put them in your ~/bin folder and that the folder in your PATH or else the tools won't work as they rely on each other to function properly.
I thought this offset for the partitions was very interesting, instead of going from one offset to another that would make it clear which parts of the /dev/block/mmcblk0 is recovery, boot, etc. they all seem to overlap. If you can find to dump the full partition and then transfer it to your computer you should be able to mount it in Ubuntu if it's ext4 and then read it's contents.
Click to expand...
Click to collapse
Hi again!!
I just got myself an 8GB memory card. I also searched more about nandroid backups for non-CWM phones. I got across onandroid, it creates img files of all partitions. It was created by someone from XDA Forums, can't remember the name. So at the moment it is generating MD5 Checksum.
After this I will create my OWN Rom and CWM for this phone :victory: , well after my finals .
Thanks for your help! :highfive:
For all Qmobile Rooted users, use onandroid to create backups, but at your own risk. I can confirm for QMobiel A5 Classic
where to copy symphony CWM recovery.img using dd command
I am Moniruzzaman from Dhaka, Bangladesh...
Please forgive me for my weak English.
I have created a CWM recovery img (Latest Touch Version) for my rooted Symphony W85. My device partitions is similar to the Qmoible A5Classic. Now I have failed to copy it to the recovery partition as i could not figure out which is my recovery partition.
Partition Information:
preloader 0x0000000000040000 0x0000000000000000 2 /dev/misc-sd
dsp_bl 0x00000000005c0000 0x0000000000040000 2 /dev/misc-sd
mbr 0x0000000000004000 0x0000000000000000 2 /dev/block/mmcblk0
ebr1 0x000000000005c000 0x0000000000004000 2 /dev/block/mmcblk0p1
pmt 0x0000000000400000 0x0000000000060000 2 /dev/block/mmcblk0
nvram 0x0000000000300000 0x0000000000460000 2 /dev/block/mmcblk0
seccfg 0x0000000000020000 0x0000000000760000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000000780000 2 /dev/block/mmcblk0
bootimg 0x0000000000600000 0x00000000007e0000 2 /dev/block/mmcblk0
recovery 0x0000000000600000 0x0000000000de0000 2 /dev/block/mmcblk0
sec_ro 0x0000000000600000 0x00000000013e0000 2 /dev/block/mmcblk0p5
misc 0x0000000000060000 0x00000000019e0000 2 /dev/block/mmcblk0
logo 0x0000000000300000 0x0000000001a40000 2 /dev/block/mmcblk0
expdb 0x00000000000a0000 0x0000000001d40000 2 /dev/block/mmcblk0
ebr2 0x0000000000004000 0x0000000001de0000 2 /dev/block/mmcblk0
android 0x0000000020100000 0x0000000001de4000 2 /dev/block/mmcblk0p6
cache 0x000000000a100000 0x0000000021ee4000 2 /dev/block/mmcblk0p2
usrdata 0x0000000041100000 0x000000002bfe4000 2 /dev/block/mmcblk0p3
fat 0x0000000000000001 0x000000006d0e4000 2 /dev/block/mmcblk0p4
bmtpool 0x000000007bafbfff 0xffffffffffa00000 2 /dev/block/mmcblk0
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /boot emmc boot (null) 0
2 /cache ext4 /dev/block/mmcblk0p2 (null) 0
3 /data ext4 /dev/block/mmcblk0p3 (null) 0
4 /misc emmc misc (null) 0
5 /recovery emmc recovery (null) 0
6 /sdcard vfat /dev/block/mmcblk1 /dev/block/mmcblk0p4 0
7 /sdcard2 vfat /dev/block/mmcblk0p4 (null) 0
8 /system ext4 /dev/block/mmcblk0p6 (null) 0
I have flashed the recovery.img using dd if=mnt/sdcard/recovery.img of=/dev/recovery. Everything was fine except my gsm signal was gone.
Then I tried flashed stock recovery.img using dd if=mnt/sdcard/recovery.img of=/dev/recovery - everything works fine again.
I have come so far and now i can't fine the right partitions. I am very frustrated.
Can any one please help me how to flash my CWM recovery img (Latest Touch Version) to my device as it is combined partitions.
shimp208 said:
.
Click to expand...
Click to collapse
What about this: this is from Lenovo TAB S8-50 (USA/BestBuy) Wifi version....
Starting recovery on Thu Dec 4 03:55:45 2014
recovery filesystem table
=========================
0 /reserved hidden /dev/block/platform/intel/by-label/reserved 0
1 /ESP vfat /dev/block/platform/intel/by-label/ESP 0
2 /boot hidden /dev/block/platform/intel/by-label/boot 0
3 /recovery hidden /dev/block/platform/intel/by-label/recovery 0
4 /fastboot hidden /dev/block/platform/intel/by-label/fastboot 0
5 /reserved_1 hidden /dev/block/platform/intel/by-label/reserved_1 0
6 /panic raw /dev/block/platform/intel/by-label/panic 0
7 /factory ext4 /dev/block/platform/intel/by-label/factory 0
8 /misc emmc /dev/block/platform/intel/by-label/misc 0
9 /config ext4 /dev/block/platform/intel/by-label/config 0
10 /cache ext4 /dev/block/platform/intel/by-label/cache 0
11 /system ext4 /dev/block/platform/intel/by-label/system 0
12 /data ext4 /dev/block/platform/intel/by-label/data -16384
13 /sdcard vfat /dev/block/mmcblk1p1 0
14 /tmp ramdisk ramdisk 0
jazzespresso said:
What about this: this is from Lenovo TAB S8-50 (USA/BestBuy) Wifi version....
Starting recovery on Thu Dec 4 03:55:45 2014
recovery filesystem table
=========================
0 /reserved hidden /dev/block/platform/intel/by-label/reserved 0
1 /ESP vfat /dev/block/platform/intel/by-label/ESP 0
2 /boot hidden /dev/block/platform/intel/by-label/boot 0
3 /recovery hidden /dev/block/platform/intel/by-label/recovery 0
4 /fastboot hidden /dev/block/platform/intel/by-label/fastboot 0
5 /reserved_1 hidden /dev/block/platform/intel/by-label/reserved_1 0
6 /panic raw /dev/block/platform/intel/by-label/panic 0
7 /factory ext4 /dev/block/platform/intel/by-label/factory 0
8 /misc emmc /dev/block/platform/intel/by-label/misc 0
9 /config ext4 /dev/block/platform/intel/by-label/config 0
10 /cache ext4 /dev/block/platform/intel/by-label/cache 0
11 /system ext4 /dev/block/platform/intel/by-label/system 0
12 /data ext4 /dev/block/platform/intel/by-label/data -16384
13 /sdcard vfat /dev/block/mmcblk1p1 0
14 /tmp ramdisk ramdisk 0
Click to expand...
Click to collapse
I would recommend running the following command to dump your recovery partition:
Code:
cat /dev/block/platform/intel/by-label/recovery > /mnt/sdcard/recovery.img
Let me know if you still have questions, happy to help you out.
shimp208 said:
I would recommend running the following command to dump your recovery partition:
Code:
cat /dev/block/platform/intel/by-label/recovery > /mnt/sdcard/recovery.img
Let me know if you still have questions, happy to help you out.
Click to expand...
Click to collapse
thank you very much...what about boot.img?
jazzespresso said:
thank you very much...what about boot.img?
Click to expand...
Click to collapse
For boot you would run the command:
Code:
cat /dev/block/platform/intel/by-label/boot > /mnt/sdcard/boot.img
Hope this helps you!
Can anyone help me ? I ran the script bellow trying to expand my system partition to solve a problem and now I've lost my recoverymode. I get a 2 min blackscreen and then it starts.
COde that got me lost:
Code:
#!/sbin/sh
OUTFD=$2
ui_print() {
echo -n -e "ui_print $1\n" > /proc/self/fd/$OUTFD
echo -n -e "ui_print\n" > /proc/self/fd/$OUTFD
}
ui_print ""
ui_print "###########################"
ui_print "# audahadi #"
ui_print "# modded from forumber2's #"
ui_print "# Repartition script #"
ui_print "# Mi 3W /system 1.2G #"
ui_print "# only! #"
ui_print "###########################"
ui_print ""
ui_print "Unmounting systems partiton..."
umount -l /system
umount -l /system1
umount -l /dev/block/mmcblk0p25
umount -l /dev/block/mmcblk0p26
ui_print ""
ui_print "WARNING! System is ready, repartitioning will start in
2 seconds"
sleep 2
ui_print ""
ui_print "Removing partitions..."
parted /dev/block/mmcblk0 rm 25
parted /dev/block/mmcblk0 rm 26
ui_print "Removing partitions...COMPLETED"
ui_print ""
ui_print "Creating new partitions..."
parted /dev/block/mmcblk0 mkpart primary 403MB 1740MB
parted /dev/block/mmcblk0 mkpart primary 1740MB 1745MB
parted /dev/block/mmcblk0 name 25 system
parted /dev/block/mmcblk0 name 26 system1
ui_print "Creating new partitions...COMPLETED"
ui_print ""
ui_print "Unmounting systems partitions again..."
umount -l /system
umount -l /system1
umount -l /dev/block/mmcblk0p25
umount -l /dev/block/mmcblk0p26
ui_print "Unmounting systems partitions again...COMPLETED"
ui_print ""
ui_print "Formatting new partitions..."
mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p25
mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p26
ui_print "Formatting new partitions...COMPLETED."
ui_print ""
ui_print "ALL DONE!..."
ui_print ""
ui_print "Rebooting to recovery in 5 seconds..."
ui_print "Thanks to forumber2 for his original GT-i9300
repartition script"
sleep 5
reboot recovery
fi
Follow info:
Code:
[email protected]:/ $ cat /proc/partitions
cat /proc/partitions
major minor #blocks name
179 0 30535680 mmcblk0
179 1 65536 mmcblk0p1
179 2 512 mmcblk0p2
179 3 512 mmcblk0p3
179 4 2048 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 24576 mmcblk0p7
179 8 512 mmcblk0p8
179 9 1 mmcblk0p9
179 10 3072 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 780 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 8192 mmcblk0p15
179 16 8192 mmcblk0p16
179 17 8 mmcblk0p17
179 18 16384 mmcblk0p18
179 19 16384 mmcblk0p19
179 20 512 mmcblk0p20
179 21 512 mmcblk0p21
179 22 1556480 mmcblk0p22
179 23 819200 mmcblk0p23
179 24 26714112 mmcblk0p24
179 27 24576 mmcblk0p27
179 28 3072 mmcblk0p28
179 29 8 mmcblk0p29
179 30 32768 mmcblk0p30
179 31 32768 mmcblk0p31
259 0 512 mmcblk0p32
259 1 512 mmcblk0p33
259 2 16384 mmcblk0p34
259 3 879599 mmcblk0p35
[email protected]:/ $
Code:
[email protected]:/dev/block/platform/msm_sdcc.1/by-name # ls -l
ls -l
lrwxrwxrwx root root 2015-07-20 22:30 DDR -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 2015-07-20 22:30 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2015-07-20 22:30 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2015-07-20 22:30 cache -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2015-07-20 22:30 drm -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2015-07-20 22:30 eksst -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2015-07-20 22:30 encrypt -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2015-07-20 22:30 factory -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2015-07-20 22:30 fota -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 2015-07-20 22:30 fsg -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 2015-07-20 22:30 grow -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 2015-07-20 22:30 m9kefs1 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2015-07-20 22:30 m9kefs2 -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2015-07-20 22:30 m9kefs3 -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2015-07-20 22:30 misc -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2015-07-20 22:30 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2015-07-20 22:30 modemst1 -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2015-07-20 22:30 modemst2 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2015-07-20 22:30 mpt -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 2015-07-20 22:30 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2015-07-20 22:30 recovery -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 2015-07-20 22:30 reserved -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 2015-07-20 22:30 rpm -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2015-07-20 22:30 rpmbak -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 2015-07-20 22:30 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2015-07-20 22:30 sbl2 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2015-07-20 22:30 sbl3 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2015-07-20 22:30 sns -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2015-07-20 22:30 ssd -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2015-07-20 22:30 system -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2015-07-20 22:30 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2015-07-20 22:30 tzbak -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 2015-07-20 22:30 userdata -> /dev/block/mmcblk0p24
[email protected]:/dev/block/platform/msm_sdcc.1/by-name #
Code:
[email protected]:/dev/block $ cat /proc/mounts
cat /proc/mounts
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/fuse tmpfs rw,seclabel,relatime,mode=775,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,
data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,node
v,noatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,no
dev,noatime,noauto_da_alloc,data=ordered 0 0
[email protected]:/dev/block $
dihhedessa said:
Can anyone help me ? I ran the script bellow trying to expand my system partition to solve a problem and now I've lost my recoverymode. I get a 2 min blackscreen and then it starts.
COde that got me lost:
Code:
#!/sbin/sh
OUTFD=$2
ui_print() {
echo -n -e "ui_print $1\n" > /proc/self/fd/$OUTFD
echo -n -e "ui_print\n" > /proc/self/fd/$OUTFD
}
ui_print ""
ui_print "###########################"
ui_print "# audahadi #"
ui_print "# modded from forumber2's #"
ui_print "# Repartition script #"
ui_print "# Mi 3W /system 1.2G #"
ui_print "# only! #"
ui_print "###########################"
ui_print ""
ui_print "Unmounting systems partiton..."
umount -l /system
umount -l /system1
umount -l /dev/block/mmcblk0p25
umount -l /dev/block/mmcblk0p26
ui_print ""
ui_print "WARNING! System is ready, repartitioning will start in
2 seconds"
sleep 2
ui_print ""
ui_print "Removing partitions..."
parted /dev/block/mmcblk0 rm 25
parted /dev/block/mmcblk0 rm 26
ui_print "Removing partitions...COMPLETED"
ui_print ""
ui_print "Creating new partitions..."
parted /dev/block/mmcblk0 mkpart primary 403MB 1740MB
parted /dev/block/mmcblk0 mkpart primary 1740MB 1745MB
parted /dev/block/mmcblk0 name 25 system
parted /dev/block/mmcblk0 name 26 system1
ui_print "Creating new partitions...COMPLETED"
ui_print ""
ui_print "Unmounting systems partitions again..."
umount -l /system
umount -l /system1
umount -l /dev/block/mmcblk0p25
umount -l /dev/block/mmcblk0p26
ui_print "Unmounting systems partitions again...COMPLETED"
ui_print ""
ui_print "Formatting new partitions..."
mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p25
mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p26
ui_print "Formatting new partitions...COMPLETED."
ui_print ""
ui_print "ALL DONE!..."
ui_print ""
ui_print "Rebooting to recovery in 5 seconds..."
ui_print "Thanks to forumber2 for his original GT-i9300
repartition script"
sleep 5
reboot recovery
fi
Follow info:
Code:
[email protected]:/ $ cat /proc/partitions
cat /proc/partitions
major minor #blocks name
179 0 30535680 mmcblk0
179 1 65536 mmcblk0p1
179 2 512 mmcblk0p2
179 3 512 mmcblk0p3
179 4 2048 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 24576 mmcblk0p7
179 8 512 mmcblk0p8
179 9 1 mmcblk0p9
179 10 3072 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 780 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 8192 mmcblk0p15
179 16 8192 mmcblk0p16
179 17 8 mmcblk0p17
179 18 16384 mmcblk0p18
179 19 16384 mmcblk0p19
179 20 512 mmcblk0p20
179 21 512 mmcblk0p21
179 22 1556480 mmcblk0p22
179 23 819200 mmcblk0p23
179 24 26714112 mmcblk0p24
179 27 24576 mmcblk0p27
179 28 3072 mmcblk0p28
179 29 8 mmcblk0p29
179 30 32768 mmcblk0p30
179 31 32768 mmcblk0p31
259 0 512 mmcblk0p32
259 1 512 mmcblk0p33
259 2 16384 mmcblk0p34
259 3 879599 mmcblk0p35
[email protected]:/ $
Code:
[email protected]:/dev/block/platform/msm_sdcc.1/by-name # ls -l
ls -l
lrwxrwxrwx root root 2015-07-20 22:30 DDR -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 2015-07-20 22:30 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2015-07-20 22:30 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2015-07-20 22:30 cache -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2015-07-20 22:30 drm -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2015-07-20 22:30 eksst -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2015-07-20 22:30 encrypt -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2015-07-20 22:30 factory -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2015-07-20 22:30 fota -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 2015-07-20 22:30 fsg -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 2015-07-20 22:30 grow -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 2015-07-20 22:30 m9kefs1 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2015-07-20 22:30 m9kefs2 -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2015-07-20 22:30 m9kefs3 -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2015-07-20 22:30 misc -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2015-07-20 22:30 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2015-07-20 22:30 modemst1 -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2015-07-20 22:30 modemst2 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2015-07-20 22:30 mpt -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 2015-07-20 22:30 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2015-07-20 22:30 recovery -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 2015-07-20 22:30 reserved -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 2015-07-20 22:30 rpm -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2015-07-20 22:30 rpmbak -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 2015-07-20 22:30 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2015-07-20 22:30 sbl2 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2015-07-20 22:30 sbl3 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2015-07-20 22:30 sns -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2015-07-20 22:30 ssd -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2015-07-20 22:30 system -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2015-07-20 22:30 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2015-07-20 22:30 tzbak -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 2015-07-20 22:30 userdata -> /dev/block/mmcblk0p24
[email protected]:/dev/block/platform/msm_sdcc.1/by-name #
Code:
[email protected]:/dev/block $ cat /proc/mounts
cat /proc/mounts
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/fuse tmpfs rw,seclabel,relatime,mode=775,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,
data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,node
v,noatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,no
dev,noatime,noauto_da_alloc,data=ordered 0 0
[email protected]:/dev/block $
Click to expand...
Click to collapse
@shimp208 and @jazzespresso maybe you guys could please help me? I am desperate!
Hi there,
I've the same problem, recovery is in mmcblk0, someone can help me please ? I can't find any solutions.
AndroGeek
Partion info of a my 6735 rooted android device
How can I get "dumchar_info", or "Part_Name ,Size ,StartAddr,Type,Map,To" info with adb command of a rooted mt6735 device with 5.1 lollipop? Thanks a lot in anticipation.

META-INF mount config

Hi,
I need META-INF for 6.0 speed7 plus.
I try to port ROM but get error 6 in TWRP.
Yes, i have Root.
adb devices
adb shell
su
ls -al /dev/block/platform/parentfolder/by-name
[email protected]:/ # ls -l /dev/block/platform/parentfolder/by-name
/dev/block/platform/parentfolder/by-name: No such file or directory
1|[email protected]:/ # /proc/partitions
sush: /proc/partitions: can't execute: Permission denied
126|[email protected]:/ # sudo ls -l /dev/block/platform/parentfolder/by-name
sush: sudo: not found
127|[email protected]:/ # su /proc/partitions
[email protected]:/ # /proc/self/mountinfo
sush: /proc/self/mountinfo: can't execute: Permission denied
126|[email protected]:/ # /proc/mtd
sush: /proc/mtd: can't execute: Permission denied
126|[email protected]:/ #
126|[email protected]:/ # su
[email protected]:/ # /proc/mtd
sush: /proc/mtd: can't execute: Permission denied
126|[email protected]:/ #
126|[email protected]:/ # /proc/emmc
sush: /proc/emmc: not found
127|[email protected]:/ #
127|[email protected]:/ # /proc/mtd
sush: /proc/mtd: can't execute: Permission denied
Click to expand...
Click to collapse
[email protected]:/dev/block/platform/mtk-msdc.0/11230000.msdc0 # ls -al
drwxr-xr-x root root 2016-09-01 19:40 by-name
drwxr-xr-x root root 2016-09-01 19:40 by-num
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0 -> /dev/block/mmcblk0
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0boot0 -> /dev/block/mmcblk0boot0
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0boot1 -> /dev/block/mmcblk0boot1
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p1 -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p10 -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p11 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p12 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p13 -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p14 -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p15 -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p16 -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p17 -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p18 -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p19 -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p2 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p20 -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p21 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p22 -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p23 -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p3 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p4 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p5 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p6 -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p7 -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p8 -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0p9 -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk0rpmb -> /dev/block/mmcblk0rpmb
[email protected]:/dev/block/platform/mtk-msdc.0/11230000.msdc0 # cd ..
d 11240000.msdc1/ <
[email protected]:/dev/block/platform/mtk-msdc.0/11240000.msdc1 # ls -al
drwxr-xr-x root root 2016-09-01 19:40 by-name
drwxr-xr-x root root 2016-09-01 19:40 by-num
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk1 -> /dev/block/mmcblk1
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk1p1 -> /dev/block/mmcblk1p1
lrwxrwxrwx root root 2016-09-01 19:40 mmcblk1p2 -> /dev/block/mmcblk1p2
Click to expand...
Click to collapse
But not like in nexus:
lrwxrwxrwx root root 2013-07-25 12:35 metadata -> /dev/block/mmcblk0p5
Click to expand...
Click to collapse
[email protected]:/ # ls -al
dr-xr-xr-x root root 2016-09-01 19:40 acct
drwxrwx--- system cache 2016-09-03 14:47 cache
lrwxrwxrwx root root 1970-01-01 01:00 charger -> /sbin/healthd
dr-x------ root root 2016-09-01 19:40 config
drwxr-xr-x root root 2016-09-01 19:40 custom
lrwxrwxrwx root root 2016-09-01 19:40 d -> /sys/kernel/debug
drwxrwx--x system system 2016-09-01 19:41 data
-rw-r--r-- root root 623 1970-01-01 01:00 default.prop
drwxr-xr-x root root 2016-09-01 19:40 dev
-rw-r--r-- root root 127 1970-01-01 01:00 enableswap.sh
lrwxrwxrwx root root 2016-09-01 19:40 etc -> /system/etc
-rw-r--r-- root root 1851 1970-01-01 01:00 factory_init.project.rc
-rw-r--r-- root root 17385 1970-01-01 01:00 factory_init.rc
-rw-r--r-- root root 2329 1970-01-01 01:00 factory_init.usb.rc
-rw-r--r-- root root 44049 1970-01-01 01:00 file_contexts
-rw-r----- root root 2622 1970-01-01 01:00 fstab.mt6735
-rwxr-x--- root root 1146704 1970-01-01 01:00 init
-rwxr-x--- root root 673 1970-01-01 01:00 init.aee.rc
-rwxr-x--- root root 249 1970-01-01 01:00 init.common_svc.rc
-rwxr-x--- root root 1068 1970-01-01 01:00 init.environ.rc
-rwxr-x--- root root 413 1970-01-01 01:00 init.lovelyfonts.rc
-rwxr-x--- root root 4127 1970-01-01 01:00 init.modem.rc
-rwxr-x--- root root 43982 1970-01-01 01:00 init.mt6735.rc
-rwxr-x--- root root 33484 1970-01-01 01:00 init.mt6735.usb.rc
-rwxr-x--- root root 4597 1970-01-01 01:00 init.project.rc
-rwxr-x--- root root 26121 1970-01-01 01:00 init.rc
-rwxr-x--- root root 972 1970-01-01 01:00 init.recovery.mt6735.rc
-rwxr-x--- root root 2079 1970-01-01 01:00 init.trace.rc
-rwxr-x--- root root 3885 1970-01-01 01:00 init.usb.rc
-rwxr-x--- root root 583 1970-01-01 01:00 init.xlog.rc
-rwxr-x--- root root 301 1970-01-01 01:00 init.zygote32.rc
-rwxr-x--- root root 531 1970-01-01 01:00 init.zygote64_32.rc
-rw-r--r-- root root 1012 1970-01-01 01:00 meta_init.modem.rc
-rw-r--r-- root root 1630 1970-01-01 01:00 meta_init.project.rc
-rw-r--r-- root root 15448 1970-01-01 01:00 meta_init.rc
drwxr-xr-x root system 2016-09-01 19:40 mnt
drwxrwx--x root system 2016-05-21 22:23 nvdata
drwxr-xr-x root root 1970-01-01 01:00 oem
drwxrwx--x system system 2016-09-01 19:40 persist
dr-xr-xr-x root root 1970-01-01 01:00 proc
-rw-r--r-- root root 11135 1970-01-01 01:00 property_contexts
drwxrwx--- system system 2010-01-01 01:00 protect_f
drwxrwx--- system system 2010-01-01 01:00 protect_s
drwx------ root root 2016-07-08 08:41 root
drwxr-x--- root root 1970-01-01 01:00 sbin
lrwxrwxrwx root root 2016-09-01 19:40 sdcard -> /storage/self/primary
-rw-r--r-- root root 596 1970-01-01 01:00 seapp_contexts
-rw-r--r-- root root 63 1970-01-01 01:00 selinux_version
-rw-r--r-- root root 330405 1970-01-01 01:00 sepolicy
-rw-r--r-- root root 12794 1970-01-01 01:00 service_contexts
drwxr-xr-x root root 2016-09-01 19:40 storage
drwxr-xr-x root root 2016-05-22 17:40 su
dr-xr-xr-x root root 2016-09-01 19:40 sys
drwxr-xr-x root root 2016-08-21 17:03 system
-rw-r--r-- root root 4540 1970-01-01 01:00 ueventd.mt6735.rc
-rw-r--r-- root root 4667 1970-01-01 01:00 ueventd.rc
lrwxrwxrwx root root 2016-09-01 19:40 vendor -> /system/vendor
Click to expand...
Click to collapse
OK,
found this in ADB (cat /cache/recovery/last_log )
/system | /dev/block/mmcblk0p20 | Size: 2952MB Used: 2472MB Free: 479MB Backup Size: 2472MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p20
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/data | /dev/block/mmcblk0p22 | Size: 11044MB Used: 4966MB Free: 3489MB Backup Size: 4966MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI Has_SubPartition IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Primary_Block_Device: /dev/block/mmcblk0p22
Crypto_Key_Location: /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/metadata
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65537
/boot | /dev/block/mmcblk0p7 | Size: 16MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p7
Display_Name: boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/external_sd | /dev/block/dm-0 | Size: 59933MB Used: 1131MB Free: 31679MB Backup Size: 1131MB
SubPartition_Of: /data
Symlink_Path: /external_sd/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Decrypted_Block_Device: /dev/block/dm-0
Display_Name: Karta SD (SanDisk)
Storage_Name: Karta SD (SanDisk)
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: Karta SD (SanDisk)
Storage_Path: /external_sd/media/0
Current_File_System: ext4
Fstab_File_System: auto
Backup_Method: files
MTP_Storage_ID: 65538
/system_image | /dev/block/mmcblk0p20 | Size: 3072MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p20
Display_Name: System Image
Storage_Name: system_image
Backup_Path: /system_image
Backup_Name: system_image
Backup_Display_Name: System Image
Storage_Path: /system_image
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/external_sd | /dev/block/dm-0 | Size: 59933MB Used: 1131MB Free: 31679MB Backup Size: 1131MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI Is_SubPartition Removable IsPresent Is_Encrypted Is_Decrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Adopted_Storage
SubPartition_Of: /data
Symlink_Path: /external_sd/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Decrypted_Block_Device: /dev/block/dm-0
Display_Name: Karta SD (SanDisk)
Storage_Name: Karta SD (SanDisk)
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: Karta SD (SanDisk)
Storage_Path: /external_sd/media/0
Current_File_System: ext4
Fstab_File_System: auto
Backup_Method: files
MTP_Storage_ID: 65538
/proinfo | /dev/block/mmcblk0p1 | Size: 3MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p1
Display_Name: proinfo
Storage_Name: proinfo
Backup_Path: /proinfo
Backup_Name: proinfo
Backup_Display_Name: proinfo
Storage_Path: /proinfo
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/nvram | /dev/block/mmcblk0p2 | Size: 5MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p2
Display_Name: nvram
Storage_Name: nvram
Backup_Path: /nvram
Backup_Name: nvram
Backup_Display_Name: nvram
Storage_Path: /nvram
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/protect_f | /dev/block/mmcblk0p3 | Size: 5MB Used: 0MB Free: 5MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p3
Display_Name: protect_f
Storage_Name: protect_f
Backup_Path: /protect_f
Backup_Name: protect_f
Backup_Display_Name: protect_f
Storage_Path: /protect_f
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/protect_s | /dev/block/mmcblk0p4 | Size: 5MB Used: 0MB Free: 5MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p4
Display_Name: protect_s
Storage_Name: protect_s
Backup_Path: /protect_s
Backup_Name: protect_s
Backup_Display_Name: protect_s
Storage_Path: /protect_s
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/lk | /dev/block/mmcblk0p5 | Size: 0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p5
Display_Name: uboot
Storage_Name: uboot
Backup_Path: /lk
Backup_Name: lk
Backup_Display_Name: uboot
Storage_Path: /lk
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/para | /dev/block/mmcblk0p6 | Size: 0MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p6
Display_Name: para
Storage_Name: para
Backup_Path: /para
Backup_Name: para
Backup_Display_Name: para
Storage_Path: /para
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/recovery | /dev/block/mmcblk0p8 | Size: 16MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p8
Display_Name: recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/logo | /dev/block/mmcblk0p9 | Size: 8MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p9
Display_Name: logo
Storage_Name: logo
Backup_Path: /logo
Backup_Name: logo
Backup_Display_Name: logo
Storage_Path: /logo
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/expdb | /dev/block/mmcblk0p10 | Size: 10MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p10
Display_Name: expdb
Storage_Name: expdb
Backup_Path: /expdb
Backup_Name: expdb
Backup_Display_Name: expdb
Storage_Path: /expdb
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/seccfg | /dev/block/mmcblk0p11 | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p11
Display_Name: seccfg
Storage_Name: seccfg
Backup_Path: /seccfg
Backup_Name: seccfg
Backup_Display_Name: seccfg
Storage_Path: /seccfg
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/oemkeystore | /dev/block/mmcblk0p12 | Size: 2MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p12
Display_Name: oemkeystore
Storage_Name: oemkeystore
Backup_Path: /oemkeystore
Backup_Name: oemkeystore
Backup_Display_Name: oemkeystore
Storage_Path: /oemkeystore
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/secro | /dev/block/mmcblk0p13 | Size: 6MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p13
Display_Name: secro
Storage_Name: secro
Backup_Path: /secro
Backup_Name: secro
Backup_Display_Name: secro
Storage_Path: /secro
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/keystore | /dev/block/mmcblk0p14 | Size: 8MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p14
Display_Name: keystore
Storage_Name: keystore
Backup_Path: /keystore
Backup_Name: keystore
Backup_Display_Name: keystore
Storage_Path: /keystore
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/tee1 | /dev/block/mmcblk0p15 | Size: 5MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p15
Display_Name: tee1
Storage_Name: tee1
Backup_Path: /tee1
Backup_Name: tee1
Backup_Display_Name: tee1
Storage_Path: /tee1
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/tee2 | /dev/block/mmcblk0p16 | Size: 5MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p16
Display_Name: tee2
Storage_Name: tee2
Backup_Path: /tee2
Backup_Name: tee2
Backup_Display_Name: tee2
Storage_Path: /tee2
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/frp | /dev/block/mmcblk0p17 | Size: 1MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p17
Display_Name: frp
Storage_Name: frp
Backup_Path: /frp
Backup_Name: frp
Backup_Display_Name: frp
Storage_Path: /frp
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/nvdata | /dev/block/mmcblk0p18 | Size: 27MB Used: 2MB Free: 25MB Backup Size: 2MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p18
Display_Name: nvdata
Storage_Name: nvdata
Backup_Path: /nvdata
Backup_Name: nvdata
Backup_Display_Name: nvdata
Storage_Path: /nvdata
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/metadata | /dev/block/mmcblk0p19 | Size: 37MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p19
Display_Name: metadata
Storage_Name: metadata
Backup_Path: /metadata
Backup_Name: metadata
Backup_Display_Name: metadata
Storage_Path: /metadata
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/cache | /dev/block/mmcblk0p21 | Size: 387MB Used: 0MB Free: 386MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p21
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/usbotg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: Usb-Otg
Storage_Name: Usb-Otg
Backup_Path: /usbotg
Backup_Name: usbotg
Backup_Display_Name: Usb-Otg
Storage_Path: /usbotg
Current_File_System: auto
Fstab_File_System: auto
Backup_Method: files
MTP_Storage_ID: 65539
Click to expand...
Click to collapse

[ME302KL] Bootloader hard bricked

Hi everybody. I've an hard brick with my Asus ME302KL.
I did a full backup using TWRP v3.2.0, comprehensive of boot and all the possible things I could select. Then I restored it and my device became completely dead.
No ASUS logo
Screen completely black. Even no screen backlight when trying to power on
No fastboot
Obviously no recovery
The device is now recognized as "Qualcomm HS-USB QDLoader 9008" and I think something screwed up with the bootloader.
I've tryed following two paths:
I downloaded QSFP (v2.7.474) in order to use QFIL, but it requires the .mbn files to be flashed and I can't find them anywhere.
I downloaded BoardDiag but it requires a partition.txt file that describes the partition table of the device. I can't find this file anywhere too.
Some probably useful links I've found:
BoardDiag usage (I have some troubles following the thread being in russian): http://4pda.ru/forum/lofiversion/index.php?t643084-4420.html
Partition.txt structure (image from previous link): http://cs5-3.4pda.to/8750059/partiton.jpg?0d987766ec8b46bd23debca950955b1a
http://rom95g.blogspot.com/2017/10/how-to-create-msimagembn-file-flashable.html
https://androidforums.com/threads/guide-how-to-create-partition-xml-gpt.1125433/
Some updates
I came across the Qfil and BoardDiag utils. Anyway, the first requires a .tot file which I can't find anywhere. I actually have a very old backup made with TWRP, but I can't understand if it can be useful.
I also tried with BoardDiag but it requires the partitions table which I don't have.
Main post also updated.
Regarding the .mbn files, it seems from these posts (#1, #2) that they are just the usual .img files. Can anyone please confirm this? In that case, the original firmware provided by ASUS would contain severals .img files (boot.img, bootloader.aboot.img, etc.). I also have an old backup made with TWRP with .win files, which i suppose to be .img binary files with just different extension (the same as .img and .mbn).
The partition.txt is still missing though.
UPDATE:
In the old backup mentioned before i found a recovery log that reports the following blocks. Can it be useful to recreate the partition.txt?
Code:
I:Unmounting main partitions...
Partition Logs:
/cra | /dev/block/mmcblk0p29 | Size: 1MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p29
Display_Name: cra
Storage_Name: cra
Backup_Path: /cra
Backup_Name: cra
Backup_Display_Name: cra
Storage_Path: /cra
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/ssd | /dev/block/mmcblk0p27 | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p27
Display_Name: ssd
Storage_Name: ssd
Backup_Path: /ssd
Backup_Name: ssd
Backup_Display_Name: ssd
Storage_Path: /ssd
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/ddr | /dev/block/mmcblk0p26 | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p26
Display_Name: ddr
Storage_Name: ddr
Backup_Path: /ddr
Backup_Name: ddr
Backup_Display_Name: ddr
Storage_Path: /ddr
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/metadata | /dev/block/mmcblk0p31 | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p31
Display_Name: metadata
Storage_Name: metadata
Backup_Path: /metadata
Backup_Name: metadata
Backup_Display_Name: metadata
Storage_Path: /metadata
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/modemst1 | /dev/block/mmcblk0p2 | Size: 3MB
Flags: Can_Be_Backed_Up Has_SubPartition IsPresent
Primary_Block_Device: /dev/block/mmcblk0p2
Display_Name: ModemST
Storage_Name: ModemST
Backup_Path: /modemst1
Backup_Name: modemst1
Backup_Display_Name: ModemST
Storage_Path: /modemst1
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/modemst2 | /dev/block/mmcblk0p3 | Size: 3MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /modemst1
Primary_Block_Device: /dev/block/mmcblk0p3
Display_Name: modemst2
Storage_Name: modemst2
Backup_Path: /modemst2
Backup_Name: modemst2
Backup_Display_Name: modemst2
Storage_Path: /modemst2
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/demoapp | /dev/block/mmcblk0p30 | Size: 500MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p30
Display_Name: DemoApp
Storage_Name: DemoApp
Backup_Path: /demoapp
Backup_Name: demoapp
Backup_Display_Name: DemoApp
Storage_Path: /demoapp
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/fsg | /dev/block/mmcblk0p8 | Size: 3MB
Flags: Can_Be_Backed_Up Has_SubPartition IsPresent
Primary_Block_Device: /dev/block/mmcblk0p8
Display_Name: Efs
Storage_Name: Efs
Backup_Path: /fsg
Backup_Name: fsg
Backup_Display_Name: Efs
Storage_Path: /fsg
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/m9kefs1 | /dev/block/mmcblk0p5 | Size: 0MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /fsg
Primary_Block_Device: /dev/block/mmcblk0p5
Display_Name: m9kefs1
Storage_Name: m9kefs1
Backup_Path: /m9kefs1
Backup_Name: m9kefs1
Backup_Display_Name: m9kefs1
Storage_Path: /m9kefs1
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/m9kefs2 | /dev/block/mmcblk0p6 | Size: 0MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /fsg
Primary_Block_Device: /dev/block/mmcblk0p6
Display_Name: m9kefs2
Storage_Name: m9kefs2
Backup_Path: /m9kefs2
Backup_Name: m9kefs2
Backup_Display_Name: m9kefs2
Storage_Path: /m9kefs2
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/m9kefs3 | /dev/block/mmcblk0p7 | Size: 0MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /fsg
Primary_Block_Device: /dev/block/mmcblk0p7
Display_Name: m9kefs3
Storage_Name: m9kefs3
Backup_Path: /m9kefs3
Backup_Name: m9kefs3
Backup_Display_Name: m9kefs3
Storage_Path: /m9kefs3
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/m9kefsc | /dev/block/mmcblk0p28 | Size: 0MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /fsg
Primary_Block_Device: /dev/block/mmcblk0p28
Display_Name: m9kefsc
Storage_Name: m9kefsc
Backup_Path: /m9kefsc
Backup_Name: m9kefsc
Backup_Display_Name: m9kefsc
Storage_Path: /m9kefsc
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/aboot | /dev/block/mmcblk0p12 | Size: 5MB
Flags: Can_Be_Backed_Up Has_SubPartition IsPresent
Primary_Block_Device: /dev/block/mmcblk0p12
Display_Name: Bootloader
Storage_Name: Bootloader
Backup_Path: /aboot
Backup_Name: aboot
Backup_Display_Name: Bootloader
Storage_Path: /aboot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/sbl1 | /dev/block/mmcblk0p9 | Size: 1MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p9
Display_Name: sbl1
Storage_Name: sbl1
Backup_Path: /sbl1
Backup_Name: sbl1
Backup_Display_Name: sbl1
Storage_Path: /sbl1
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/sbl2 | /dev/block/mmcblk0p10 | Size: 1MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p10
Display_Name: sbl2
Storage_Name: sbl2
Backup_Path: /sbl2
Backup_Name: sbl2
Backup_Display_Name: sbl2
Storage_Path: /sbl2
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/sbl3 | /dev/block/mmcblk0p11 | Size: 2MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p11
Display_Name: sbl3
Storage_Name: sbl3
Backup_Path: /sbl3
Backup_Name: sbl3
Backup_Display_Name: sbl3
Storage_Path: /sbl3
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/tz | /dev/block/mmcblk0p15 | Size: 0MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p15
Display_Name: tz
Storage_Name: tz
Backup_Path: /tz
Backup_Name: tz
Backup_Display_Name: tz
Storage_Path: /tz
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/rpm | /dev/block/mmcblk0p13 | Size: 0MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p13
Display_Name: rpm
Storage_Name: rpm
Backup_Path: /rpm
Backup_Name: rpm
Backup_Display_Name: rpm
Storage_Path: /rpm
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/abootb | /dev/block/mmcblk0p18 | Size: 5MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p18
Display_Name: abootb
Storage_Name: abootb
Backup_Path: /abootb
Backup_Name: abootb
Backup_Display_Name: abootb
Storage_Path: /abootb
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/sbl2b | /dev/block/mmcblk0p16 | Size: 1MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p16
Display_Name: sbl2b
Storage_Name: sbl2b
Backup_Path: /sbl2b
Backup_Name: sbl2b
Backup_Display_Name: sbl2b
Storage_Path: /sbl2b
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/sbl3b | /dev/block/mmcblk0p17 | Size: 2MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p17
Display_Name: sbl3b
Storage_Name: sbl3b
Backup_Path: /sbl3b
Backup_Name: sbl3b
Backup_Display_Name: sbl3b
Storage_Path: /sbl3b
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/tzb | /dev/block/mmcblk0p20 | Size: 0MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p20
Display_Name: tzb
Storage_Name: tzb
Backup_Path: /tzb
Backup_Name: tzb
Backup_Display_Name: tzb
Storage_Path: /tzb
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/rpmb | /dev/block/mmcblk0p19 | Size: 0MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p19
Display_Name: rpmb
Storage_Name: rpmb
Backup_Path: /rpmb
Backup_Name: rpmb
Backup_Display_Name: rpmb
Storage_Path: /rpmb
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/abootu | /dev/block/mmcblk0p21 | Size: 0MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /aboot
Primary_Block_Device: /dev/block/mmcblk0p21
Display_Name: abootu
Storage_Name: abootu
Backup_Path: /abootu
Backup_Name: abootu
Backup_Display_Name: abootu
Storage_Path: /abootu
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/boot | /dev/block/mmcblk0p14 | Size: 16MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p14
Display_Name: Boot
Storage_Name: Boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/recovery | /dev/block/mmcblk0p25 | Size: 10MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p25
Display_Name: Recovery
Storage_Name: Recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/misc | /dev/block/mmcblk0p24 | Size: 1MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p24
Display_Name: misc
Storage_Name: misc
Backup_Path: /misc
Backup_Name: misc
Backup_Display_Name: misc
Storage_Path: /misc
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/system | /dev/block/mmcblk0p22 | Size: 887MB Used: 834MB Free: 52MB Backup Size: 834MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p22
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/system_image | /dev/block/mmcblk0p22 | Size: 1536MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p22
Display_Name: System Image
Storage_Name: system_image
Backup_Path: /system_image
Backup_Name: system_image
Backup_Display_Name: System Image
Storage_Path: /system_image
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/data | /dev/block/mmcblk0p32 | Size: 11363MB Used: 114MB Free: 11116MB Backup Size: 114MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p32
Length: -16384
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65537
/cache | /dev/block/mmcblk0p23 | Size: 516MB Used: 9MB Free: 507MB Backup Size: 9MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p23
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/firmware | /dev/block/mmcblk0p1 | Size: 85MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p1
Display_Name: Radio
Storage_Name: Radio
Backup_Path: /firmware
Backup_Name: firmware
Backup_Display_Name: Radio
Storage_Path: /firmware
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/persist | /dev/block/mmcblk0p4 | Size: 14MB Used: 4MB Free: 10MB Backup Size: 4MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p4
Display_Name: Persist
Storage_Name: Persist
Backup_Path: /persist
Backup_Name: persist
Backup_Display_Name: Persist
Storage_Path: /persist
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/external_sd | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: Micro SDCard
Storage_Name: Micro SDCard
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: Micro SDCard
Storage_Path: /external_sd
Current_File_System: auto
Fstab_File_System: auto
Backup_Method: files
MTP_Storage_ID: 65538
/usbotg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: Usb-Otg
Storage_Name: Usb-Otg
Backup_Path: /usbotg
Backup_Name: usbotg
Backup_Display_Name: Usb-Otg
Storage_Path: /usbotg
Current_File_System: auto
Fstab_File_System: auto
Backup_Method: files
MTP_Storage_ID: 65539
Finally solved
I finally found the missing files here.
As reported in the later posts of that thread, I used Miflash2012 to flash the bootloader and the related stuff of the first package.
Then the device apparently became completely unknown (i really hoped to not have to mess with JTAG), but after force reboot (kept power button pressed) I was able to access fastboot and run the debrick-flashall.cmd script. The tablet returned to stock conditions. I now have to unlock it again, but at least the worst part is gone.
Still having problems. I'm now trying to unlock the bootloader again but the unlocking app doesn't work. It just report "An unknown error occurs, which may be a network issue".
From logcat i see this
Code:
D/DMServerUnlock( 4954): Unlock ID: *** here there is an ID that I omit for privacy ***
D/DMServerUnlock( 4954): index of line: 3
D/DMServerUnlock( 4954): DM Server Response: 107
D/DMServerUnlock( 4954): numUnlock ============================================ 107
EDIT:
I found in the settings that the IMEI is set to 0, probably due to Miflash usage. The S/N is instead correct. Investigating...
Strange behaviours
The IMIEI problem is still not solved.
Anyway, I noticed some even stranger behaviours. I can not write anything on the internal memory, both through file manager apps and through USB connection. The partition seems to be read only.
The two versions of the unlock tools (the so called v7 and v8) create these logs:
Code:
W/System.err( 3128): java.io.FileNotFoundException: /sdcard/Unlock_Time.txt: open failed: ENOENT (No such file or directory)
W/System.err( 3128): at libcore.io.IoBridge.open(IoBridge.java:416)
W/System.err( 3128): at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
W/System.err( 3128): at java.io.FileOutputStream.<init>(FileOutputStream.java:73)
W/System.err( 3128): at com.asus.unlock.UnLockActivity.l(Unknown Source)
W/System.err( 3128): at com.asus.unlock.UnLockActivity.a(Unknown Source)
W/System.err( 3128): at com.asus.unlock.o.onClick(Unknown Source)
W/System.err( 3128): at android.view.View.performClick(View.java:4233)
W/System.err( 3128): at android.view.View$PerformClick.run(View.java:17425)
W/System.err( 3128): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err( 3128): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err( 3128): at android.os.Looper.loop(Looper.java:137)
W/System.err( 3128): at android.app.ActivityThread.main(ActivityThread.java:5074)
W/System.err( 3128): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 3128): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 3128): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
W/System.err( 3128): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
W/System.err( 3128): at dalvik.system.NativeStart.main(Native Method)
W/System.err( 3128): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
W/System.err( 3128): at libcore.io.Posix.open(Native Method)
W/System.err( 3128): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
W/System.err( 3128): at libcore.io.IoBridge.open(IoBridge.java:400)
W/System.err( 3128): ... 16 more
Code:
W/UnLockActivity( 2810): Error Log Unlock Time @1
D/DMServerUnlock( 2810): get DMServer Response retry count = 3
D/DMServerUnlock( 2810): Unlock ID: *** S/N omitted **
D/DMServerUnlock( 2810): index of line: 3
D/DMServerUnlock( 2810): DM Server Response: 107
D/DMServerUnlock( 2810): numUnlock ============================================ 107
The v7 clearly states that it can't create the /sdcard/Unlock_Time.txt file. In fact, /sdcard/ can't be even accessed through file xplorers such as MiXplorer (it reports "Not supported").
Apart from the 107 server error, I think also v8 app suffers of this access error ("Error Log Unlock Time @1").
Also all the other applications trying to access /sdcard or /storage/emulated/0 crash.
Permissions fixed
Internal memory fixed by following this post.
For who needs, ME302KL can be rooted by using Framaroot.
Root your device
Boot into android and enable USB debugging
Connect device to PC
Start up "adb shell", then type in "su"
A supersu prompt would pop up on the device, agree to give adb shell root permissions.
In adb shell execute "make_ext4fs /dev/block/platform/msm_sdcc.1/by-name/persist"
In adb shell type "exit" twice to quit.
Execute "adb reboot".
The 107 error code from ASUS persists. I think the only hope is to contact ASUS support (good luck to myself).
So, I decompiled the ASUS unlock app and found that the IMEI is needed, together with the CPU id (which is actually fine), in order to compose the right request to the server.
So i'm first moving into the direction of restoring it.
I found these two guides. Hope to get something out of them.
https://www.htcmania.com/showthread.php?t=969255
http://en.miui.com/thread-260943-1-1.html
Any help is appreciated, although it seems I'll keep talking to myself for entire problem duration. At least I hope all this will be useful to someone in the future
ME302KL bootloader unlock alternatives
Ciao Mantova
Did you get the bootloader unlocked?
How you did it?

[SOLVED] Help with: createTarFork() process ended with ERROR: 255

Hi there,
I'm on MIUI Global 12.0.5.0 (QGGEUXM) with recovery TWRP-3.3.2B-0305 LR Team by wzsx150 and Magisk 23.0 installed and I wanted to make a backup but I receive the following error: createTarFork() process ended with ERROR: 255
I removed a bunch of directories "with 999" which I removed.
I checked and I don't have any cloned app (might had a few it in the past) and I disabled the second space.
I no not have /data/extm
What now?
It's maybe worth mentioning that the system never presented me the option of upgrading to MIUI 12.5.0 and newer.
I can see in the log also the following error mentioned few times "Invalid encryption mode 'aes-256-xts:aes-256-cts'"
Is the encryption messing up?
By the way I removed any password/fingerprint on the smartphone and disabled in Magisk the module "MagiskHide Props Config".
In TWRP settings the "RM forceencrypt" is ticked.
Code:
Starting TWRP 3.3.2b-0305-e15ad79e on Thu Jun 30 20:20:08 2022
(pid 384)
TWRP Version : 3.3.2b-0305
Build Date : 2020年 03月 05日 星期四 19:44:21 CST
Build User : wzsx150
Build Device : Redmi Note 8 Pro
TW_DEFAULT_DEVICE_NAME := Redmi Note 8 Pro
TW_NO_VERITY_OPT_ENCRYPT := true
TW_EXCLUDE_DEL_PWD := true
TW_USE_RESTORE_STOCK_REC := true
TW_USE_PATCH_AVB2_BOOT := true
TW_USE_LEDS_HAPTICS := true
RECOVERY_SDCARD_ON_DATA := true
TW_NO_USB_STORAGE := true
TW_INCLUDE_CRYPTO := true
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:Got max brightness 2047 from '/sys/class/leds/lcd-backlight/max_brightness'
I:Persist tw_brightness: '818'
I:TWFunc::Set_Brightness: Setting brightness control to 818
I:LANG: zh_CN
Starting the UI...
setting DRM_FORMAT_RGBX8888 and GGL_PIXEL_FORMAT_RGBX_8888
cannot find/open a drm device: No such file or directory
fb0 reports (possibly inaccurate):
vi.bits_per_pixel = 32
vi.red.offset = 0 .length = 8
vi.green.offset = 8 .length = 8
vi.blue.offset = 16 .length = 8
setting GGL_PIXEL_FORMAT_RGBA_8888
double buffered
framebuffer: 0 (1080 x 2340)
Using fbdev graphics.
I:TWFunc::Set_Brightness: Setting brightness control to 818
I:Loading package: splash (/twres/splash.xml)
I:Load XML directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly
I:Checking resolution...
I:Scaling theme width 1.000000x and height 1.171875x, offsets x: 0 y: 90 w: 0 h: -90
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page splash
I:Switching packages (splash)
=> Linking mtab
=> Processing /etc/twrp.fstab
I:Reading /etc/twrp.fstab
I:Processing '/data'
I:FBE contents 'aes-256-cts', filenames ''
I:Processing '/cache'
I:Processing '/system_root'
I:Processing '/system_image'
I:Processing '/boot'
I:Processing '/dtbo'
I:Processing '/recovery'
I:Processing '/bootloader'
I:Processing '/bootloader2'
I:Processing '/vendor'
I:Processing '/vendor_image'
I:Processing '/cust'
I:Created '/cust' folder.
I:Processing '/cust_image'
I:Processing '/persist'
I:Created '/persist' folder.
I:Attempt to load settings from /persist settings file...
I:InfoManager loading from '/persist/.twrps_wzsx150'.
I:TWFunc::Set_Brightness: Setting brightness control to 818
I:TWFunc::Fixup_Time: Pre-fix date and time: 2022-06-30--20-20-09
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: Date and time corrected: 2022-06-30--20-20-09
I:Processing '/persist_image'
I:Processing '/nvram'
I:Processing '/proinfo'
I:Processing '/logo'
I:Processing '/tee1'
I:Processing '/tee2'
I:Processing '/vbmeta'
I:Processing '/misc'
I:Processing '/para'
I:Processing '/metadata'
I:Processing '/persistent'
I:Processing '/protect_f'
I:Created '/protect_f' folder.
I:Processing '/protect_s'
I:Created '/protect_s' folder.
I:Processing '/nvdata'
I:Created '/nvdata' folder.
I:Processing '/nvcfg'
I:Created '/nvcfg' folder.
I:Processing '/external_sd'
I:Created '/external_sd' folder.
I:Processing '/usb-otg'
I:Created '/usb-otg' folder.
I:Done processing fstab files
I:Setting up '/data' as data/media emulated storage.
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:File Based Encryption is present
I:update osversion: start
I:system: ro.build.version.release=[10]
I:system: ro.build.version.security_patch=[2021-04-01]
I:system: os_version=[10.0.0]
I:system: os_patch_level=[2021-04]
I:system: osversion_val=[335544660(0x14000154)]
I:system: osversion_val is ok
I:update osversion: process '/dev/block/platform/bootdevice/by-name/recovery'
I:recovery: osversion_val=[335544660(0x14000154)]
I:recovery: os_version=[10.0.0]
I:recovery: os_patch_level=[2021-04]
I:recovery and system osversion_val is the same, skipped
e4crypt_initialize_global_de
calling retrieveAndInstallKey
Key exists, using: /data/unencrypted/key
Using SoftwareWrappedKeymaster2Device from Google for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: [email protected]::IKeymasterDevice/default
begin failed, code -33
e4crypt_initialize_global_de returned fail
e4crypt_initialize_global_de
calling retrieveAndInstallKey
Key exists, using: /data/unencrypted/key
Using SoftwareWrappedKeymaster2Device from Google for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: [email protected]::IKeymasterDevice/default
begin failed, code -33
e4crypt_initialize_global_de returned fail
e4crypt_initialize_global_de
calling retrieveAndInstallKey
Key exists, using: /data/unencrypted/key
Using SoftwareWrappedKeymaster2Device from Google for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: [email protected]::IKeymasterDevice/default
begin failed, code -33
e4crypt_initialize_global_de returned fail
I:Setting up '/data' as data/media emulated storage.
I:Not recreating media folder on FBE
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/9h9pq8yhvkxszhhu'
I:DataManager::SetBackupFolder zip path was /usb-otg changing to /sdcard, /usb-otg
I:Settings storage is '/data/media/0'
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:Decrypt adopted storage starting
I:PageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly
I:No /data/system/storage.xml for adopted storage
Updating partition details...
I:Data backup size is 27923MB, free: 17009MB.
I:Unable to mount '/external_sd'
I:Actual block device: '', current file system: 'vfat'
I:cmd: '/sbin/mount.ntfs /dev/block/sdd1 /usb-otg'
I:/sbin/mount.ntfs /dev/block/sdd1 /usb-otg process ended with RC=0
I:Translating partition display names
I:String resources not loaded when looking for 'system'. Using default value.
I:String resources not loaded when looking for 'system_image'. Using default value.
I:String resources not loaded when looking for 'vendor'. Using default value.
I:String resources not loaded when looking for 'vendor_image'. Using default value.
I:String resources not loaded when looking for 'cache'. Using default value.
I:String resources not loaded when looking for 'boot'. Using default value.
I:String resources not loaded when looking for 'recovery'. Using default value.
I:String resources not loaded when looking for 'data'. Using default value.
I:String resources not loaded when looking for 'data_backup'. Using default value.
I:String resources not loaded when looking for 'internal'. Using default value.
I:String resources not loaded when looking for 'microsd'. Using default value.
I:String resources not loaded when looking for 'data_backup'. Using default value.
I:String resources not loaded when looking for 'microsd'. Using default value.
I:String resources not loaded when looking for 'usbotg'. Using default value.
I:String resources not loaded when looking for 'usbotg'. Using default value.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/9h9pq8yhvkxszhhu'
...done
I:Unmounting main partitions...
Partition Logs:
/data | /dev/block/sdc46 | Size: 52438.4MB Used: 27923.5MB Free: 17009.2MB Backup Size: 27923.5MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/sdc46
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data (excl. storage)
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65537
/cache | /dev/block/sdc41 | Size: 402.4MB Used: 2.4MB Free: 400.0MB Backup Size: 2.4MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/sdc41
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/system_root | /dev/block/sdc40 | Size: 3472.0MB Used: 3353.2MB Free: 118.8MB Backup Size: 3353.2MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Mount_Read_Only
Primary_Block_Device: /dev/block/sdc40
Display_Name: System
Storage_Name: System
Backup_Path: /system_root
Backup_Name: system_root
Backup_Display_Name: System
Storage_Path: /system_root
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/system_image | /dev/block/sdc40 | Size: 3584.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc40
Display_Name: System Image
Storage_Name: system_image
Backup_Path: /system_image
Backup_Name: system_image
Backup_Display_Name: System Image
Storage_Path: /system_image
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/boot | /dev/block/sdc34 | Size: 64.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc34
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/dtbo | /dev/block/sdc36 | Size: 32.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc36
Display_Name: dtbo
Storage_Name: dtbo
Backup_Path: /dtbo
Backup_Name: dtbo
Backup_Display_Name: dtbo
Storage_Path: /dtbo
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/recovery | /dev/block/sdc1 | Size: 64.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc1
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/bootloader | /dev/block/sdc32 | Size: 2.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc32
Display_Name: bootloader
Storage_Name: bootloader
Backup_Path: /bootloader
Backup_Name: bootloader
Backup_Display_Name: bootloader
Storage_Path: /bootloader
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/bootloader2 | /dev/block/sdc33 | Size: 2.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc33
Display_Name: bootloader2
Storage_Name: bootloader2
Backup_Path: /bootloader2
Backup_Name: bootloader2
Backup_Display_Name: bootloader2
Storage_Path: /bootloader2
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/vendor | /dev/block/sdc39 | Size: 1487.9MB Used: 883.6MB Free: 604.3MB Backup Size: 883.6MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Mount_Read_Only
Primary_Block_Device: /dev/block/sdc39
Display_Name: Vendor
Storage_Name: vendor
Backup_Path: /vendor
Backup_Name: vendor
Backup_Display_Name: Vendor
Storage_Path: /vendor
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/vendor_image | /dev/block/sdc39 | Size: 1536.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc39
Display_Name: Vendor Image
Storage_Name: vendor_image
Backup_Path: /vendor_image
Backup_Name: vendor_image
Backup_Display_Name: Vendor Image
Storage_Path: /vendor_image
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/cust | /dev/block/sdc45 | Size: 802.9MB Used: 742.9MB Free: 60.0MB Backup Size: 742.9MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/sdc45
Display_Name: cust
Storage_Name: cust
Backup_Path: /cust
Backup_Name: cust
Backup_Display_Name: cust
Storage_Path: /cust
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/cust_image | /dev/block/sdc45 | Size: 832.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc45
Display_Name: cust_image
Storage_Name: cust_image
Backup_Path: /cust_image
Backup_Name: cust_image
Backup_Display_Name: cust_image
Storage_Path: /cust_image
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/persist | /dev/block/sdc10 | Size: 64.2MB Used: 0.1MB Free: 64.1MB Backup Size: 0.1MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/sdc10
Display_Name: persist
Storage_Name: persist
Backup_Path: /persist
Backup_Name: persist
Backup_Display_Name: persist
Storage_Path: /persist
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/persist_image | /dev/block/sdc10 | Size: 70.5MB
Flags: IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc10
Display_Name: persist
Storage_Name: persist
Backup_Path: /persist_image
Backup_Name: persist_image
Backup_Display_Name: persist
Storage_Path: /persist_image
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/nvram | /dev/block/sdc18 | Size: 64.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc18
Display_Name: nvram
Storage_Name: nvram
Backup_Path: /nvram
Backup_Name: nvram
Backup_Display_Name: nvram
Storage_Path: /nvram
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/proinfo | /dev/block/sdc16 | Size: 3.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc16
Display_Name: proinfo
Storage_Name: proinfo
Backup_Path: /proinfo
Backup_Name: proinfo
Backup_Display_Name: proinfo
Storage_Path: /proinfo
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/logo | /dev/block/sdc35 | Size: 64.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc35
Display_Name: logo
Storage_Name: logo
Backup_Path: /logo
Backup_Name: logo
Backup_Display_Name: logo
Storage_Path: /logo
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/tee1 | /dev/block/sdc37 | Size: 5.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc37
Display_Name: trustzone1
Storage_Name: trustzone1
Backup_Path: /tee1
Backup_Name: tee1
Backup_Display_Name: trustzone1
Storage_Path: /tee1
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/tee2 | /dev/block/sdc38 | Size: 9.5MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc38
Display_Name: trustzone2
Storage_Name: trustzone2
Backup_Path: /tee2
Backup_Name: tee2
Backup_Display_Name: trustzone2
Storage_Path: /tee2
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/vbmeta | /dev/block/sdc6 | Size: 8.0MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/sdc6
Display_Name: vbmeta
Storage_Name: vbmeta
Backup_Path: /vbmeta
Backup_Name: vbmeta
Backup_Display_Name: vbmeta
Storage_Path: /vbmeta
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/misc | /dev/block/sdc2 | Size: 4.0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/sdc2
Display_Name: misc
Storage_Name: misc
Backup_Path: /misc
Backup_Name: misc
Backup_Display_Name: misc
Storage_Path: /misc
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/para | /dev/block/sdc3 | Size: 0.5MB
Flags: IsPresent
Primary_Block_Device: /dev/block/sdc3
Display_Name: para
Storage_Name: para
Backup_Path: /para
Backup_Name: para
Backup_Display_Name: para
Storage_Path: /para
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/metadata | /dev/block/sdc9 | Size: 32.0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/sdc9
Display_Name: metadata
Storage_Name: metadata
Backup_Path: /metadata
Backup_Name: metadata
Backup_Display_Name: metadata
Storage_Path: /metadata
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/persistent | /dev/block/sdc5 | Size: 1.0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/sdc5
Display_Name: persistent
Storage_Name: persistent
Backup_Path: /persistent
Backup_Name: persistent
Backup_Display_Name: persistent
Storage_Path: /persistent
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/protect_f | /dev/block/sdc11 | Size: 3.7MB Used: 0.1MB Free: 3.6MB Backup Size: 0.1MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/sdc11
Display_Name: protect_f
Storage_Name: protect_f
Backup_Path: /protect_f
Backup_Name: protect_f
Backup_Display_Name: protect_f
Storage_Path: /protect_f
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/protect_s | /dev/block/sdc12 | Size: 3.7MB Used: 0.1MB Free: 3.6MB Backup Size: 0.1MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/sdc12
Display_Name: protect_s
Storage_Name: protect_s
Backup_Path: /protect_s
Backup_Name: protect_s
Backup_Display_Name: protect_s
Storage_Path: /protect_s
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/nvdata | /dev/block/sdc8 | Size: 58.0MB Used: 5.0MB Free: 53.0MB Backup Size: 5.0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/sdc8
Display_Name: nvdata
Storage_Name: nvdata
Backup_Path: /nvdata
Backup_Name: nvdata
Backup_Display_Name: nvdata
Storage_Path: /nvdata
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/nvcfg | /dev/block/sdc7 | Size: 27.0MB Used: 0.2MB Free: 26.8MB Backup Size: 0.2MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/sdc7
Display_Name: nvcfg
Storage_Name: nvcfg
Backup_Path: /nvcfg
Backup_Name: nvcfg
Backup_Display_Name: nvcfg
Storage_Path: /nvcfg
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/external_sd | | Size: 0.0MB Used: 0.0MB Free: 0.0MB Backup Size: 0.0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/mmcblk0p1
Alternate_Block_Device: /dev/block/mmcblk0
Display_Name: Micro SDCard
Storage_Name: Micro SDCard
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: Data (excl. storage)
Storage_Path: /external_sd
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
Mount_Flags: 0, Mount_Options: utf8
MTP_Storage_ID: 65538
/usb-otg | /dev/block/sdd1 | Size: 30569.0MB Used: 66.4MB Free: 30502.6MB Backup Size: 66.4MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/sdd1
Alternate_Block_Device: /dev/block/sdd
Display_Name: USB-OTG
Storage_Name: USB-OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB-OTG
Storage_Path: /usb-otg
Current_File_System: ntfs
Fstab_File_System: vfat
Backup_Method: files
Mount_Flags: 0, Mount_Options: utf8
MTP_Storage_ID: 65539
I:Loading package: TWRP (/data/media/0/TWRP/theme/ui_wzsx150.zip)
I:Loading zip theme
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/zh_CN.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:PageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly
I:Checking resolution...
I:Scaling theme width 1.000000x and height 1.171875x, offsets x: 0 y: 90 w: 0 h: -90
I:Loading resources...
I:Failed to load image from indeterminate013, error -1
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Including file: /twres/portrait.xml...
I:PageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page flash_sleep_and_reboot
I:Loading page flashimage_confirm
I:Loading page clear_vars
I:Loading page reboot_system_routine
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page appcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Loading page refreshfilesystem
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page backup_options
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/0/TWRP/BACKUPS/9h9pq8yhvkxszhhu'
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page system_readonly_check
I:Loading page reboot
I:Loading page rebootapp
I:Loading page system_readonly
I:Loading page settings
I:Loading page settings_timezone
I:Loading page settings_screen
I:Loading page settings_vibration
I:Loading page settings_language
I:Loading page copylog
I:Loading page rmforceencrypt
I:Loading page close_avb_2
I:Loading page advanced
I:Loading page partsdcardsel
I:Loading page partsdcardcheck
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page repackselect
I:Loading page repackconfirm
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageraction
I:Loading page decrypt
I:Loading page decrypt_pattern
I:Loading page trydecrypt
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page fixcontexts
I:Loading page installsu
I:Loading page installsu_userdo
I:Loading page slideout
I:Loading page select_storage
I:Loading page select_language
I:Loading page decrypt_users
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
Startup Commands:
ro.boot.bootreason=rtc
ro.boottime.adbd=3307088537
ro.boottime.init=1221
ro.boottime.init.selinux=42
ro.boottime.init.cold_boot_wait=900
ro.boottime.logd=2194482383
ro.boottime.ueventd=1273451999
ro.boottime.capi-2-0=3307987076
ro.boottime.recovery=2199349845
ro.boottime.hidl_memory=3308833845
ro.boottime.teei_daemon=2191178383
ro.boottime.fingerprintid=1273930999
ro.boottime.keymaster-3-0=3309607691
ro.boottime.gatekeeper-1-0=3310394460
ro.boottime.servicemanager=2190373229
ro.boottime.set_permissive=2198491306
ro.boottime.hwservicemanager=2189883614
ro.config.ringtone=omni_ringtone1.ogg,omni_ringtone1.ogg
ro.config.alarm_alert=omni_alarm1.ogg
ro.config.notification_sound=omni_notification1.ogg
ro.dalvik.vm.native.bridge=0
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
dalvik.vm.isa.arm64.variant=cortex-a53
dalvik.vm.isa.arm64.features=default
dalvik.vm.dexopt.secondary=true
dalvik.vm.usejit=true
dalvik.vm.lockprof.threshold=500
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.appimageformat=lz4
dalvik.vm.usejitprofiles=true
dalvik.vm.stack-trace-dir=/data/anr
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.image-dex2oat-filter=verify-at-runtime
dalvik.vm.dex2oat-minidebuginfo=true
debug.atrace.tags.enableflags=0
ro.sf.lcd_density=440
ro.adb.secure=0
ro.art.hiddenapi.warning=1
ro.com.google.clientidbase=android-xiaomi
ro.com.android.dataroaming=false
ro.com.android.wifi-watchlist=GoogleGuest
ro.opa.eligible_device=true
ro.sys.usb.mtp.whql.enable=0
ro.sys.usb.bicr=no
ro.sys.usb.storage.type=mtp
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.boot.dp=7
ro.boot.hwc=GL
ro.boot.mode=recovery
ro.boot.cpuid=0xf038e7efce69aacbc76563b717564802383764303031336337653264
ro.boot.chipid=0xf038e7efce69aacbc76563b717564802
ro.boot.dtb_idx=0
ro.boot.hwlevel=MP
ro.boot.init_rc=/init.rc
ro.boot.selinux=permissive
ro.boot.dtbo_idx=0
ro.boot.hardware=mt6785
ro.boot.hwversion=1.19.1
ro.boot.secureboot=1
ro.boot.usbconfigfs=true
ro.boot.boot_devices=bootdevice,11230000.mmc
ro.boot.meta_log_disable=0
ro.boot.verifiedbootstate=orange
ro.fota.oem=Xiaomi
ro.omni.device=redmiNote8pro
ro.omni.version=9-20200305-redmiNote8pro-HOMEMADE
ro.omni.version.security_patch=
ro.twrp.boot=1
ro.twrp.version=3.3.2b-0305
ro.vndk.lite=true
ro.vndk.version=28
ro.wifi.channels=
ro.allow.mock.location=1
ro.board.platform=mt6785
ro.build.id=PQ3B.190801.002
ro.build.date=2020年 03月 05日 星期四 19:44:21 CST
ro.build.date.utc=1420041600
ro.build.host=wzsx150-virtual-machine
ro.build.tags=test-keys
ro.build.type=eng
ro.build.user=wzsx150
ro.build.flavor=omni_redmiNote8pro-eng
ro.build.display.id=omni_redmiNote8pro-eng 10 PQ3B.190801.002 eng.wzsx15.20200305.194220 test-keys
ro.build.product=begonia
ro.build.selinux=1
ro.build.version.sdk=29
ro.build.version.base_os=
ro.build.version.release=10
ro.build.version.codename=REL
ro.build.version.incremental=eng.wzsx15.20200305.194220
ro.build.version.preview_sdk=0
ro.build.version.all_codenames=REL
ro.build.version.security_patch=2021-04-01
ro.build.version.min_supported_target_sdk=17
ro.build.software.version=Android9_10
ro.build.description=begonia-user 9 PPR1.180610.011 V10.4.6.0.PGGCNXM release-keys
ro.build.characteristics=default
ro.build.system_root_image=true
ro.bionic.ld.warning=1
ro.kernel.android.checkjni=1
ro.secure=0
ro.system.build.fingerprint=Redmi/begonia_eea/begonia:10/QP1A.190711.020/V12.0.5.0.QGGEUXM:user/release-keys
ro.treble.enabled=true
ro.zygote=zygote64_32
ro.carrier=unknown
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.name=begonia
ro.product.board=begonia
ro.product.brand=Redmi
ro.product.model=Redmi Note 8 Pro
ro.product.device=begonia
ro.product.locale=zh-CN
ro.product.locale.region=CN
ro.product.locale.language=zh
ro.product.vendor.name=omni_redmiNote8pro
ro.product.vendor.brand=Redmi
ro.product.vendor.model=Redmi Note 8 Pro
ro.product.vendor.device=redmiNote8pro
ro.product.vendor.manufacturer=Xiaomi
ro.product.manufacturer=Xiaomi
ro.baseband=unknown
ro.bootmode=recovery
ro.hardware=mt6785
ro.mediatek.chip_ver=S01
ro.mediatek.platform=MT6785
ro.revision=0
ro.services.whitelist.packagelist=com.google.android.gms
ro.bootimage.build.date=Thu Mar 5 19:42:14 CST 2020
ro.bootimage.build.date.utc=1583408534
ro.bootimage.build.fingerprint=Redmi/omni_redmiNote8pro/redmiNote8pro:10/PQ3B.190801.002/wzsx15003051942:eng/test-keys
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=OmniROM-9-20200305-redmiNote8pro-HOMEMADE
ro.recovery_id=0x3654df53f7f7f0f4572f556bf7009ed71288b5ec000000000000000000000000
ro.setupwizard.enterprise_mode=1
ro.property_service.version=2
ro.mtk_soter_support=1
ro.mtk_tee_gp_support=1
ro.mtk_microtrust_tee_support=1
ro.control_privapp_permissions=enforce
ro.actionable_compatible_property.enabled=false
fbe.contents=aes-256-cts
fbe.filenames=
init.svc.adbd=running
init.svc.logd=running
init.svc.ueventd=running
init.svc.capi-2-0=running
init.svc.recovery=running
init.svc.hidl_memory=running
init.svc.teei_daemon=running
init.svc.fingerprintid=stopped
init.svc.keymaster-3-0=running
init.svc.gatekeeper-1-0=running
init.svc.servicemanager=running
init.svc.set_permissive=stopped
init.svc.hwservicemanager=running
twrp.crash_counter=0
twrp.fingerprintid.prop=1
twrp.fingerprintid.system=/dev/block/by-name/system
twrp.fingerprintid.vendor=/dev/block/by-name/vendor
twrp.fingerprintid.sys_root=1
twrp.action_complete=0
twrp.update_osversion.counter=1
keyguard.no_require_sim=true
recovery.perf.mode=0
tombstoned.max_tombstone_count=50
sys.usb.ffs.ready=1
sys.usb.ffs.aio_compat=1
ro.build.fingerprint=Redmi/begonia_eea/begonia:10/QP1A.190711.020/V12.0.5.0.QGGEUXM:user/release-keys
hwservicemanager.ready=true
log.tag.stats_log=I
ro.logd.size.stats=64K
ro.persistent_properties.ready=true
pm.dexopt.boot=extract
pm.dexopt.ab-ota=speed-profile
pm.dexopt.shared=speed
pm.dexopt.install=speed-profile
pm.dexopt.inactive=verify
pm.dexopt.bg-dexopt=speed-profile
pm.dexopt.first-boot=extract
ro.boot.serialno=9h9pq8yhvkxszhhu
ro.serialno=9h9pq8yhvkxszhhu
service.adb.root=1
net.bt.name=Android
net.tethering.noprovisioning=true
sys.usb.state=adb
sys.usb.controller=musb-hdrc
persist.sys.usb.config=adb
persist.sys.dalvik.vm.lib.2=libart.so
persist.sys.country=CN
persist.sys.language=zh
persist.sys.timezone=Asia/Shanghai
persist.sys.disable_rescue=true
persist.sys.isUsbOtgEnabled=true
sys.usb.config=adb
sys.usb.configfs=1
ro.vendor.build.date=Thu Mar 5 19:42:14 CST 2020
ro.vendor.build.date.utc=1583408534
ro.vendor.build.fingerprint=Redmi/omni_redmiNote8pro/redmiNote8pro:10/PQ3B.190801.002/wzsx15003051942:eng/test-keys
ro.vendor.build.security_patch=2019-10-05
ro.vendor.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.vendor.product.cpu.abilist32=armeabi-v7a,armeabi
ro.vendor.product.cpu.abilist64=arm64-v8a
vendor.usb.acm_cnt=0
vendor.usb.acm_port0=
vendor.usb.acm_port1=
vendor.usb.acm_enable=0
vendor.usb.controller=musb-hdrc
vendor.soter.teei.init=INIT_OK
vendor.soter.teei.rpmb.flag=ok
vendor.soter.teei.googlekey.status=OK
ro.crypto.type=file
ro.crypto.state=encrypted
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 818
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
tw_get_context got selinux context: u:object_r:media_rw_data_file:s0
I:Got default contexts and file mode for storage files.
I:Unable to find source file /cache/recovery/log.gz
I:Attempt to load settings from settings file...
I:InfoManager file '/data/media/0/TWRP/.twrps_wzsx150' not found.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/9h9pq8yhvkxszhhu'
I:Mount: Unable to find partition for path '/etc'
I:Copied file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/external_sd'
I:Actual block device: '', current file system: 'vfat'
I:cmd: '/sbin/mount.ntfs /dev/block/sdd1 /usb-otg'
I:/sbin/mount.ntfs /dev/block/sdd1 /usb-otg process ended with RC=0
I:TWFunc::Set_Brightness: Setting brightness control to 818
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/9h9pq8yhvkxszhhu'
I:Starting MTP
I:Cannot find file /sys/class/android_usb/android0/idVendor
I:Cannot find file /sys/class/android_usb/android0/idProduct
I:[MTP] Starting MTP
I:sending message to add 65537 '/data/media/0' 'Internal Storage'
I:Message sent, add storage ID: 65537 '/data/media/0'
I:sending message to add 65539 '/usb-otg' 'USB-OTG'
I:Message sent, add storage ID: 65539 '/usb-otg'
MTP Enabled
I:Check_Lifetime_Writes result: '153929'
I:Starting Adb Backup FIFO
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:[MTP] created new mtpserver object
E:[MTP] Failed to start usb driver!
I:[MTP] mtppipe add storage 65537 '/data/media/0'
I:[MTP] mtppipe add storage 65539 '/usb-otg'
I:Set overlay: ''
I:Set page: 'backup'
I:Set overlay: 'select_storage'
I:Backup folder set to '/usb-otg/TWRP/BACKUPS/9h9pq8yhvkxszhhu'
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'backup'
I:Set page: 'backup_run'
I:operation_start: 'Nandroid'
Updating partition details...
I:Data backup size is 27923MB, free: 17009MB.
I:Unable to mount '/external_sd'
I:Actual block device: '', current file system: 'vfat'
I:Translating partition display names
I:Backup folder set to '/usb-otg/TWRP/BACKUPS/9h9pq8yhvkxszhhu'
...done
I:Backup Name is: '2022-06-30--20-20-32_QP1A190711020'
I:Backup_Folder is: '/usb-otg/TWRP/BACKUPS/9h9pq8yhvkxszhhu/2022-06-30--20-20-32_QP1A190711020'
I:Calculating backup details...
* Total number of partitions to back up: 6
* Total size of all data: 36460MB
* Available space: 30502MB
[BACKUP STARTED]
* Backup Folder: /usb-otg/TWRP/BACKUPS/9h9pq8yhvkxszhhu/2022-06-30--20-20-32_QP1A190711020
Invalid encryption mode 'aes-256-xts:aes-256-cts'
Backing up Data (excl. storage)...
Backups of Data do not include any files in internal storage such as pictures or downloads.
Invalid encryption mode 'aes-256-xts:aes-256-cts'
Breaking backup file into multiple archives...
I:Creating backup...
I:Creating tar file '/usb-otg/TWRP/BACKUPS/9h9pq8yhvkxszhhu/2022-06-30--20-20-32_QP1A190711020/data.ext4.win000'
I:Using compression...
I:addFile '/data/vendor' including root: 1
==> set selinux context: u:object_r:vendor_data_file:s0
found policy '/data/vendor' - '1DK' - '2c996a98a40faf0f'
I:addFile '/data/vendor/zgCvHVS2zM31MEldItEd5C' including root: 1
==> set selinux context: u:object_r:vendor_camera_dump_file:s0
found policy '/data/vendor/zgCvHVS2zM31MEldItEd5C' - '1DK' - '2c996a98a40faf0f'
I:addFile '/data/vendor/9wORGi7ZsWPLfBdcC1CnaC' including root: 1
==> set selinux context: u:object_r:vendor_data_file:s0
found policy '/data/vendor/9wORGi7ZsWPLfBdcC1CnaC' - '1DK' - '2c996a98a40faf0f'
I:addFile '/data/vendor/PwedYt6nUqq,nPBWdXOunB' including root: 1
==> set selinux context: u:object_r:tee_data_file:s0
found policy '/data/vendor/PwedYt6nUqq,nPBWdXOunB' - '1DK' - '2c996a98a40faf0f'
I:addFile '/data/vendor/PwedYt6nUqq,nPBWdXOunB/5q8gm0yuFOlVGBOuSmG5mD' including root: 1
==> set selinux context: u:object_r:tee_data_file:s0
I:Error adding file '/data/vendor/PwedYt6nUqq,nPBWdXOunB/5q8gm0yuFOlVGBOuSmG5mD' to '/usb-otg/TWRP/BACKUPS/9h9pq8yhvkxszhhu/2022-06-30--20-20-32_QP1A190711020/data.ext4.win000'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/usb-otg/TWRP/BACKUPS/9h9pq8yhvkxszhhu/2022-06-30--20-20-32_QP1A190711020/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
I:Copied file /tmp/recovery.log to /usb-otg/TWRP/BACKUPS/9h9pq8yhvkxszhhu/2022-06-30--20-20-32_QP1A190711020/recovery.log
I:Set page: 'action_complete'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'backup'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I faced the same problem, it helped me to remove /data/extm
Nonfake said:
I faced the same problem, it helped me to remove /data/extm
Click to expand...
Click to collapse
Thank you for the reply, but as stated I do not have /data/extm
Try in twrp terminal: rmdir /data/extm
Maybe a recovery bug, reboot recovery
Or try another twrp
Nonfake said:
Try in twrp terminal: rmdir /data/extm
Click to expand...
Click to collapse
It says "No such file or directory".
P.S. by the way I removed any password/fingerprint on the smartphone and disabled in Magisk the module "MagiskHide Props Config".
In TWRP settings the "RM forceencrypt" is ticked.
Nonfake said:
Or try another twrp
Click to expand...
Click to collapse
What would you recomend and where can I download it?
JustIceForSake said:
What would you recomend and where can I download it?
Click to expand...
Click to collapse
JustIceForSake said:
What would you recomend and where can I download it?
Click to expand...
Click to collapse
twrp-UNIFIED-3.5.1_10-begonia_UNOFFICIAL_1604.img
drive.google.com
Thank you
I'll try it and report back.
Nonfake said:
twrp-UNIFIED-3.5.1_10-begonia_UNOFFICIAL_1604.img
drive.google.com
Click to expand...
Click to collapse
Boom! It worked! Thank you very veeeeeeery much!!!
Nonfake said:
twrp-UNIFIED-3.5.1_10-begonia_UNOFFICIAL_1604.img
drive.google.com
Click to expand...
Click to collapse
HI .... Does flash this version on the following version create a problem for the system?
twrp-a51-3.5.0_10-1_ianmacd.tar.tar this is my twrp

Categories

Resources