[DEV ONLY] Let's get development started! - HTC One X+

So I'm getting bits and pieces for the phone so we can start development. So far, here are the mount points for the phone
Code:
mmcblk0p5: 00800000 00001000 "recovery"
mmcblk0p4: 00800000 00001000 "boot"
mmcblk0p12: 60000000 00001000 "system"
mmcblk0p13: 10000000 00001000 "cache"
mmcblk0p16: 00200000 00001000 "misc"
mmcblk0p1: 00600000 00001000 "wlan"
mmcblk0p2: 00200000 00001000 "WDM"
mmcblk0p19: 00200000 00001000 "pdata"
mmcblk0p3: 00600000 00001000 "radiocab"
mmcblk0p14: e13c00000 00001000 "userdata"
mmcblk0p18: 01600000 00001000 "devlog"
mmcblk0p15: 00200000 00001000 "extra"
I'm waiting on a system pull and more so I can add more to this list
Credits to alex.odell.2011 for helping us out!
Partition lay out - Thanks AndroHero!
Code:
major minor #blocks name
7 0 34335 loop0
7 1 9387 loop1
7 2 28098 loop2
7 4 2111 loop4
7 5 50967 loop5
7 6 9387 loop6
7 7 20822 loop7
179 0 61071360 mmcblk0
179 1 6144 mmcblk0p1
179 2 2048 mmcblk0p2
179 3 6144 mmcblk0p3
179 4 8192 mmcblk0p4
179 5 8192 mmcblk0p5
179 6 16384 mmcblk0p6
179 7 16384 mmcblk0p7
179 8 16384 mmcblk0p8
179 9 4096 mmcblk0p9
179 10 4096 mmcblk0p10
179 11 28672 mmcblk0p11
179 12 1572864 mmcblk0p12
179 13 262144 mmcblk0p13
179 14 59043840 mmcblk0p14
179 15 2048 mmcblk0p15
179 16 2048 mmcblk0p16
179 17 6144 mmcblk0p17
179 18 22528 mmcblk0p18
179 19 2048 mmcblk0p19
179 20 2048 mmcblk0p20
254 0 34335 dm-0
254 1 9387 dm-1
254 2 28098 dm-2
254 4 2110 dm-4
254 5 50967 dm-5
254 6 9387 dm-6
254 7 20821 dm-7
7 8 31217 loop8
254 8 31216 dm-8
7 9 7308 loop9
254 9 7308 dm-9
7 10 24980 loop10
254 10 24979 dm-10
7 11 2111 loop11
254 11 2110 dm-11
7 12 2111 loop12
254 12 2110 dm-12
7 13 18743 loop13
254 13 18742 dm-13
7 14 46809 loop14
254 14 46809 dm-14
7 15 21861 loop15
254 15 21861 dm-15
7 16 2111 loop16
254 16 2110 dm-16
7 17 38493 loop17
254 17 38493 dm-17
7 18 12506 loop18
254 18 12505 dm-18
7 19 39533 loop19
254 19 39532 dm-19
7 20 3150 loop20
254 20 3150 dm-20
7 21 28098 loop21
254 21 28098 dm-21
7 22 13545 loop22
254 22 13545 dm-22
7 23 37454 loop23
254 23 37453 dm-23
7 24 19782 loop24
254 24 19782 dm-24
7 25 2111 loop25
254 25 2110 dm-25
7 26 29138 loop26
254 26 29137 dm-26
7 27 32256 loop27
254 27 32256 dm-27
7 28 12506 loop28
254 28 12505 dm-28
7 29 14585 loop29
254 29 14584 dm-29
7 30 14585 loop30
254 30 14584 dm-30
7 31 2111 loop31
254 31 2110 dm-31
7 32 7308 loop32
254 32 7308 dm-32
7 33 4190 loop33
254 33 4189 dm-33
7 34 16664 loop34
254 34 16663 dm-34
7 35 4190 loop35
254 35 4189 dm-35
7 36 12506 loop36
254 36 12505 dm-36
7 37 3150 loop37
254 37 3150 dm-37
7 38 14585 loop38
254 38 14584 dm-38
7 39 2111 loop39
254 39 2110 dm-39
7 40 14585 loop40
254 40 14584 dm-40
7 41 30177 loop41
254 41 30177 dm-41
7 42 44730 loop42
254 42 44730 dm-42
7 43 48888 loop43
254 43 48888 dm-43
7 44 12506 loop44
254 44 12505 dm-44
7 45 2111 loop45
254 45 2110 dm-45
7 46 12506 loop46
254 46 12505 dm-46
7 47 5229 loop47
7 48 4190 loop48
7 49 9387 loop49
254 49 9387 dm-49
7 50 8348 loop50
254 50 8347 dm-50
7 51 39533 loop51
254 51 39532 dm-51
7 52 49928 loop52
254 52 49927 dm-52
7 53 4190 loop53
254 53 4189 dm-53
7 54 16664 loop54
254 54 16663 dm-54
7 55 8348 loop55
254 55 8347 dm-55
7 56 28098 loop56
254 56 28098 dm-56
7 57 29138 loop57
254 57 29137 dm-57
7 58 18743 loop58
254 58 18742 dm-58
7 59 3150 loop59
254 59 3150 dm-59
7 60 8348 loop60
254 60 8347 dm-60
7 61 3150 loop61
254 61 3150 dm-61
7 62 33296 loop62
254 62 33295 dm-62
7 63 5229 loop63
254 63 5229 dm-63
7 64 4190 loop64
254 64 4189 dm-64
7 65 3150 loop65
254 65 3150 dm-65
7 66 13545 loop66
254 66 13545 dm-66
7 67 14585 loop67
254 67 14584 dm-67
7 68 2111 loop68
254 68 2110 dm-68
7 69 29138 loop69
254 69 29137 dm-69
7 70 14585 loop70
254 70 14584 dm-70
7 71 12506 loop71
254 71 12505 dm-71
7 72 14585 loop72
254 72 14584 dm-72
7 73 34335 loop73
254 73 34335 dm-73
7 74 7308 loop74
254 74 7308 dm-74
7 75 17703 loop75
254 75 17703 dm-75
7 76 10427 loop76
254 76 10426 dm-76
7 77 4190 loop77
254 77 4189 dm-77
7 78 21861 loop78
254 78 21861 dm-78
7 79 2111 loop79
254 79 2110 dm-79
7 80 6269 loop80
254 80 6268 dm-80
7 81 15624 loop81
254 81 15624 dm-81
7 82 9387 loop82
254 82 9387 dm-82
7 83 2111 loop83
254 83 2110 dm-83
7 84 3150 loop84
254 84 3150 dm-84
7 85 29138 loop85
254 85 29137 dm-85
7 86 28098 loop86
254 86 28098 dm-86
7 87 8348 loop87
254 87 8347 dm-87
7 88 4190 loop88
254 88 4189 dm-88
7 89 5229 loop89
254 89 5229 dm-89
7 90 8348 loop90
254 90 8347 dm-90
7 91 9387 loop91
254 91 9387 dm-91
7 92 15624 loop92
254 92 15624 dm-92
7 93 3150 loop93
254 93 3150 dm-93
7 94 38493 loop94
254 94 38493 dm-94
7 95 12506 loop95
254 95 12505 dm-95
7 96 2111 loop96
254 96 2110 dm-96
7 97 2111 loop97
254 97 2110 dm-97
7 98 21861 loop98
254 98 21861 dm-98
7 99 2111 loop99
254 99 2110 dm-99
7 100 7308 loop100
254 100 7308 dm-100
7 101 6269 loop101
254 101 6268 dm-101
7 102 65552 loop102
254 102 65551 dm-102
7 103 6269 loop103
254 103 6268 dm-103
254 48 4189 dm-48
254 47 5229 dm-47

in the moment HTC releases source for Kernel -> I´m in !

n3ocort3x said:
in the moment HTC releases source for Kernel -> I´m in !
Click to expand...
Click to collapse
I'll try and keep this updated! I'm download Football's RUU right now. If you are good at kernels, wanna shoot me a PM? Got a little favor to ask, if you don't mind.

Updated OP with the partition layout. Will try and have a stock deodexed build up.

Thanks mate sorry pc kept crashing :'( good luck lads
Sent from my HTC One X+ using xda app-developers app

Here also a way we all can help moving forwards
http://forum.xda-developers.com/showthread.php?t=1987755

Related

Please post system Dump here...

anyone with a new Dell Venue
please try..
adb pull /system
thanks
for any devs that may be interested...
just thought I would start it.
please post Dell Venue full system dump to be pulled apart and modded.
Thanks.
Extract
I did that but i get a bunch of options, nothing happens. Can you give me specifics? I'd be glad to help
ebaul said:
I did that but i get a bunch of options, nothing happens. Can you give me specifics? I'd be glad to help
Click to expand...
Click to collapse
Thank you for your help
you can use:
adb dumb /system C:/venuedump
then a folder will be created on the C drive called Venuedump
You can zip it and then upload it to rapidshare or megashare
Thank you waiting for the file.
ebaul said:
I did that but i get a bunch of options, nothing happens. Can you give me specifics? I'd be glad to help
Click to expand...
Click to collapse
Sorry, the command was wrong in my previous post
the right one is
adb pull /system C:/Venuedump
I get error: closed
Stupid me. I didn't have USB debugging turned on. Dumping now.
Edit: Dump completed. Uploading now.
Here you go...
http://rapidshare.com/files/447206989/venuedump.zip
Thank you so much,
This is really great
Sent from my HTC Vision using XDA App
correct me if iam wrong but there is no custom recovery for this phone yet to flash custom roms right?
yohshua said:
correct me if iam wrong but there is no custom recovery for this phone yet to flash custom roms right?
Click to expand...
Click to collapse
You are totally right. Right now, I am trying to convert this system dump to an update file to restore my bricked venue. If you can help me with instructions on how we can convert this dump to an update file, this will be really appreciated.
nounousomes said:
You are totally right. Right now, I am trying to convert this system dump to an update file to restore my bricked venue. If you can help me with instructions on how we can convert this dump to an update file, this will be really appreciated.
Click to expand...
Click to collapse
i will give it a look at and see
update
if your dv is dricked you will need the Upgrade.pkg in order to restore it and i do not think that is something you can make from a system dump
yohshua said:
i will give it a look at and see
update
if your dv is dricked you will need the Upgrade.pkg in order to restore it and i do not think that is something you can make from a system dump
Click to expand...
Click to collapse
This is what we all exactly searching for, the update.pkg for the venue. Our devices is not bricked, but it boots but never goes to the home screen. I really hope that some one can help us. We have here something like 5-6 cases like this.
Any help will be appreciated. I tried the streak rom, did not work.
I tried to get the emergency update.pkg file
I tried
http://mobileupdate.dell.com/?version=GTOUB1A101111
The Dell Venue build numbers that i found:
GTOUB1A101111
GTOUB1A130211
GTOUB1A101200
no luck,
Can some one help me getting the update.pkg file? Or convert this dump files to an update.pkg?
calebm said:
Here you go...
http://rapidshare.com/files/447206989/venuedump.zip
Click to expand...
Click to collapse
I am sorry, but can you help us in getting the partition images:
adb shell
su
cat /proc/partitions
you can saw all the partitions, which will look like this:
137 1 256 bml1
137 2 1280 bml2
137 3 512 bml3
137 4 8192 bml4
137 5 7680 bml5
137 6 225280 bml6
137 7 207360 bml7
137 8 38912 bml8
137 9 7168 bml9
137 10 16384 bml10
138 4 4352 stl4
138 6 217600 stl6
138 7 200192 stl7
138 8 34816 stl8
use dd copy rom to sdcard
dd if=/dev/block/bml1 of=/sdcard/bml1.img
dd if=/dev/block/bml2 of=/sdcard/bml2.img
dd if=/dev/block/bml3 of=/sdcard/bml3.img
dd if=/dev/block/bml4 of=/sdcard/bml4.img
dd if=/dev/block/bml5 of=/sdcard/bml5.img
dd if=/dev/block/bml6 of=/sdcard/bml6.img
dd if=/dev/block/bml7 of=/sdcard/bml7.img
dd if=/dev/block/bml8 of=/sdcard/bml8.img
dd if=/dev/block/bml9 of=/sdcard/bml9.img
dd if=/dev/block/bml10 of=/sdcard/bml10.img
dd if=/dev/block/stl4 of=/sdcard/stl4.img
dd if=/dev/block/stl6 of=/sdcard/stl6.img
dd if=/dev/block/st7 of=/sdcard/stl7.img
dd if=/dev/block/stl8 of=/sdcard/stl8.img
I hope you can zip all of them in one file and upload it for us.
I will try to restore using fastboot
I can't su because I am not rooted. Been waiting for a cleaner way of rooting, but if it is necessary I can give it a try.
Without root, when I run cat /proc/paritions I get:
$ cat /proc/partitions
cat /proc/partitions
major minor #blocks name
7 0 18743 loop0
7 1 16664 loop1
31 0 5120 mtdblock0
31 1 6144 mtdblock1
31 2 6144 mtdblock2
31 3 256 mtdblock3
31 4 3072 mtdblock4
31 5 266240 mtdblock5
31 6 563200 mtdblock6
31 7 104448 mtdblock7
179 0 15558144 mmcblk0
179 1 15554048 mmcblk0p1
254 0 18742 dm-0
254 1 16663 dm-1
$
Is this what we are looking for?
@calebm, can you please re-upload the system dump to another host? RS isn't being nice =[
There is no Recovery Boot for Venue (Android), the boot method is the same as Dell Streak, which are:
Vol up + Vol down + Power while off
You will see there are only Factory default, update and normal
I have got a rooted venue and find out the following partitions
major minor #blocks name
7 0 14585 loop0
7 1 2111 loop1
7 2 2111 loop2
7 3 2111 loop3
7 4 2111 loop4
7 5 2111 loop5
7 6 2111 loop6
7 7 2111 loop7
31 0 5120 mtdblock0
31 1 6144 mtdblock1
31 2 6144 mtdblock2
31 3 256 mtdblock3
31 4 3072 mtdblock4
31 5 266240 mtdblock5
31 6 563200 mtdblock6
31 7 104448 mtdblock7
179 0 15558144 mmcblk0
179 1 15557120 mmcblk0p1
254 0 14584 dm-0
254 1 2110 dm-1
254 2 2110 dm-2
254 3 2110 dm-3
254 4 2110 dm-4
254 5 2110 dm-5
254 6 2110 dm-6
254 7 2110 dm-7
7 8 4190 loop8
254 8 4189 dm-8
7 9 2111 loop9
254 9 2110 dm-9
7 10 14585 loop10
254 10 14584 dm-10
7 11 2111 loop11
254 11 2110 dm-11
7 12 2111 loop12
254 12 2110 dm-12
7 13 4190 loop13
254 13 4189 dm-13
7 14 15624 loop14
254 14 15624 dm-14
7 15 3150 loop15
254 15 3150 dm-15
7 16 4190 loop16
254 16 4189 dm-16
7 17 2111 loop17
254 17 2110 dm-17
7 18 14585 loop18
254 18 14584 dm-18
7 19 2111 loop19
254 19 2110 dm-19
7 20 3150 loop20
254 20 3150 dm-20
7 21 4190 loop21
254 21 4189 dm-21
7 22 5229 loop22
254 22 5229 dm-22
7 23 2111 loop23
254 23 2110 dm-23
7 24 2111 loop24
254 24 2110 dm-24
7 25 10427 loop25
254 25 10426 dm-25
7 26 5229 loop26
254 26 5229 dm-26
7 27 3150 loop27
254 27 3150 dm-27
7 28 10427 loop28
254 28 10426 dm-28
7 29 2111 loop29
254 29 2110 dm-29
7 30 3150 loop30
254 30 3150 dm-30
7 31 2111 loop31
254 31 2110 dm-31
7 32 3150 loop32
254 32 3150 dm-32
7 33 8348 loop33
254 33 8347 dm-33
7 34 3150 loop34
254 34 3150 dm-34
7 35 2111 loop35
254 35 2110 dm-35
7 36 2111 loop36
254 36 2110 dm-36
7 37 2111 loop37
254 37 2110 dm-37
7 38 12506 loop38
7 39 3150 loop39
254 39 3150 dm-39
7 40 2111 loop40
254 40 2110 dm-40
7 41 4190 loop41
254 41 4189 dm-41
7 42 4190 loop42
254 42 4189 dm-42
7 43 3150 loop43
254 43 3150 dm-43
7 44 4190 loop44
254 44 4189 dm-44
7 45 3150 loop45
254 45 3150 dm-45
7 46 4190 loop46
254 46 4189 dm-46
7 47 2111 loop47
254 47 2110 dm-47
7 48 3150 loop48
254 48 3150 dm-48
7 49 13545 loop49
254 49 13545 dm-49
7 50 2111 loop50
254 50 2110 dm-50
7 51 4190 loop51
254 51 4189 dm-51
7 52 4190 loop52
254 52 4189 dm-52
7 53 2111 loop53
254 53 2110 dm-53
7 54 2111 loop54
254 54 2110 dm-54
7 55 16664 loop55
254 55 16663 dm-55
7 56 2111 loop56
254 56 2110 dm-56
7 57 2111 loop57
254 57 2110 dm-57
7 58 4190 loop58
254 58 4189 dm-58
254 38 12505 dm-38
7 59 7308 loop59
254 59 7308 dm-59
But mtdblockX cannot be downloaded

I need help figuring out why my partitions changed

Before
Code:
major minor #blocks name
7 0 48888 loop0
7 1 16664 loop1
7 2 5229 loop2
7 3 2111 loop3
253 0 409600 zram0
179 0 15388672 mmcblk0
179 1 12772 mmcblk0p1
179 2 52764 mmcblk0p2
179 3 128 mmcblk0p3
179 4 256 mmcblk0p4
179 5 512 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 16896 mmcblk0p9
179 10 13952 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 780 mmcblk0p15
179 16 2826240 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 2119680 mmcblk0p18
179 19 6144 mmcblk0p19
179 20 10240 mmcblk0p20
179 21 10240 mmcblk0p21
179 22 10240 mmcblk0p22
179 23 6144 mmcblk0p23
179 24 3072 mmcblk0p24
179 25 8 mmcblk0p25
179 26 9216 mmcblk0p26
179 27 20480 mmcblk0p27
179 28 20480 mmcblk0p28
179 29 10219520 mmcblk0p29
179 32 31166976 mmcblk1
179 33 31162880 mmcblk1p1
254 0 48888 dm-0
254 1 16663 dm-1
254 2 5229 dm-2
254 3 2110 dm-3
After
Code:
[email protected]:/ # cat /proc/partitions
major minor #blocks name
7 0 4190 loop0
7 1 16664 loop1
7 2 2111 loop2
7 3 8348 loop3
7 4 19782 loop4
7 6 5229 loop6
7 7 5229 loop7
253 0 409600 zram0
179 0 15388672 mmcblk0
179 1 12772 mmcblk0p1
179 2 52764 mmcblk0p2
179 3 128 mmcblk0p3
179 4 256 mmcblk0p4
179 5 512 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 16896 mmcblk0p9
179 10 13952 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 780 mmcblk0p15
179 16 2826240 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 2119680 mmcblk0p18
179 19 6144 mmcblk0p19
179 20 10240 mmcblk0p20
179 21 10240 mmcblk0p21
179 22 10240 mmcblk0p22
179 23 6144 mmcblk0p23
179 24 3072 mmcblk0p24
179 25 8 mmcblk0p25
179 26 9216 mmcblk0p26
179 27 20480 mmcblk0p27
179 28 20480 mmcblk0p28
179 29 10219520 mmcblk0p29
179 32 31166976 mmcblk1
179 33 31162880 mmcblk1p1
254 0 4189 dm-0
254 1 16663 dm-1
254 2 2110 dm-2
254 3 8347 dm-3
254 6 5229 dm-6
254 7 5229 dm-7
7 8 48888 loop8
254 8 48888 dm-8
254 4 19782 dm-4
Surge1223 said:
Before
Code:
major minor #blocks name
7 0 48888 loop0
7 1 16664 loop1
7 2 5229 loop2
7 3 2111 loop3
Click to expand...
Click to collapse
These are loopbacks. What that means is that a file somewhere is mapped by /dev/loop0 to look like a disk.
Between earlier and now, something changed in what's loopback mounted.
The important partitions - those on your internal MMC memory, are unchanged.
Surge1223 said:
Code:
254 0 48888 dm-0
254 1 16663 dm-1
254 2 5229 dm-2
254 3 2110 dm-3
Click to expand...
Click to collapse
The dm-0, -1, -2 are purchased applications, mounted on /mnt/asec if I remember right. Where they're mounted will tell you the app name.

A little help

Can someone with rooted device run this command and let me known if mmcblk0 partition exists in note 9 pro
Here is the procedure to check:-
Code:
1) Open a terminal in your linux.
2) adb devices (This step assumes that adb and fastboot are in linux system path)
3) adb shell
4) su -
5) You are in root shell now.
6) cat /proc/partitions.
7) check if mmcblk0 partition available
Please let me know if this partitions exists, since it could help others to unbrick they device. Thanks in advance ?.
Anyone? please help me to know if the partitions exists, it could help us to recover the bricked device. Maybe in future you will use the unbrick method to unbrick your device.
On Evolution X ROM, that partition refers to the external SD card on my phone. The main phone partitions are showing on sda.
Apple Pi said:
On Evolution X ROM, that partition refers to the external SD card on my phone. The main phone partitions are showing on sda.
Click to expand...
Click to collapse
Thanks for reply, it will be appear like this, you can try termux to see the partition.
Code:
su
Cat /proc/partitions
It will list out all partitions, there the mmcblk0 partition should exist. And can you help me creat a image of it for recovering device?
Like this
riyan65 said:
Like this
Click to expand...
Click to collapse
Code:
curtana:/ # cat /proc/partitions
major minor #blocks name
1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
1 7 8192 ram7
1 8 8192 ram8
1 9 8192 ram9
1 10 8192 ram10
1 11 8192 ram11
1 12 8192 ram12
1 13 8192 ram13
1 14 8192 ram14
1 15 8192 ram15
7 0 97048 loop0
7 8 880 loop1
7 16 1660 loop2
7 24 264 loop3
7 32 22540 loop4
7 40 97048 loop5
7 48 880 loop6
7 56 5664 loop7
7 64 5164 loop8
254 0 3145728 zram0
8 48 131072 sdd
8 49 104 sdd1
8 50 128 sdd2
8 51 1024 sdd3
8 64 4194304 sde
8 65 512 sde1
8 66 4096 sde2
8 67 512 sde3
8 68 262144 sde4
8 69 1024 sde5
8 70 4096 sde6
8 71 32768 sde7
8 72 8192 sde8
8 73 32768 sde9
8 74 512 sde10
8 75 512 sde11
8 76 512 sde12
8 77 128 sde13
8 78 64 sde14
8 79 2048 sde15
259 0 2048 sde16
259 1 512 sde17
259 2 4096 sde18
259 3 512 sde19
259 4 262144 sde20
259 5 1024 sde21
259 6 4096 sde22
259 7 32768 sde23
259 8 8192 sde24
259 9 32768 sde25
259 10 512 sde26
259 11 512 sde27
259 12 512 sde28
259 13 128 sde29
259 14 64 sde30
259 15 2048 sde31
259 16 2048 sde32
259 17 4 sde33
259 18 1024 sde34
259 19 256 sde35
259 20 8192 sde36
259 21 33424 sde37
259 22 4 sde38
259 23 1024 sde39
259 24 8192 sde40
259 25 2048 sde41
259 26 65536 sde42
259 27 128 sde43
259 28 32 sde44
259 29 32 sde45
259 30 512 sde46
259 31 28 sde47
259 32 512 sde48
259 33 1024 sde49
259 34 64 sde50
259 35 131072 sde51
259 36 24576 sde52
259 37 64 sde53
259 38 24576 sde54
259 39 131072 sde55
8 16 8192 sdb
8 17 7168 sdb1
8 18 128 sdb2
8 32 8192 sdc
8 33 7168 sdc1
8 34 128 sdc2
8 0 120479744 sda
8 1 8 sda1
8 2 32768 sda2
8 3 1024 sda3
8 4 512 sda4
8 5 512 sda5
8 6 131072 sda6
8 7 1048576 sda7
8 8 131072 sda8
8 9 131072 sda9
8 10 64 sda10
8 11 64 sda11
8 12 16384 sda12
8 13 393216 sda13
8 14 393216 sda14
8 15 16384 sda15
259 40 8192 sda16
259 41 8388608 sda17
259 42 109786956 sda18
8 80 131072 sdf
8 81 104 sdf1
8 82 2048 sdf2
8 83 2048 sdf3
8 84 10240 sdf4
8 85 128 sdf5
179 0 125042688 mmcblk0
179 1 125041647 mmcblk0p1
253 0 1518988 dm-0
253 1 1398808 dm-1
253 2 2097152 dm-2
Yes, the partition exists, now there are high chance of recovery of hard brick device. Will you help me to create one. Please PM me if you are interested
That partition only exists due to external storage being mounted to the system via the microSD card slot.
Apple Pi said:
That partition only exists due to external storage being mounted to the system via the microSD card slot.
Click to expand...
Click to collapse
No, it a system partition which contains you firmware, fastboot, and gpt table and much more. It will be the size of your device memory but get compress to 2-3gb.
riyan65 said:
No, it a system partition which contains you firmware, fastboot, and gpt table and much more. It will be the size of your device memory but get compress to 2-3gb.
Click to expand...
Click to collapse
The Partition is 125,042,688 KBytes which is the size of my 128GB MicroSD Card.
Apple Pi said:
The Partition is 125,042,688 KBytes which is the size of my 128GB MicroSD Card.
Click to expand...
Click to collapse
Could you try the same with remove sd card?

Help! plz Data 0mb after phone updated, TWRP is working, data recovery with Dm-0?

Hi
My Poco F2 pro, rooted and encrypted (sadly) decided to auto update, when it flashed in twrp, after reboot I couldnt even mount Data, so I tried to change the file system, but still 0mb, tried try decryp with no luck
I reseach about it, and found that I could dump the dev/block/dm-xx (I trhink so, or to at least recover my data anywhere else but the phone
Please help, any ideas what could or should I do?
~ # cat /proc/partitions
major minor #blocks name
1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
1 7 8192 ram7
1 8 8192 ram8
1 9 8192 ram9
1 10 8192 ram10
1 11 8192 ram11
1 12 8192 ram12
1 13 8192 ram13
1 14 8192 ram14
1 15 8192 ram15
8 16 16384 sdb
8 17 7168 sdb1
8 18 7168 sdb2
8 19 512 sdb3
8 20 1492 sdb4
8 0 248700928 sda
8 1 8 sda1
8 2 32 sda2
8 3 32 sda3
8 4 32 sda4
8 5 128 sda5
8 6 256 sda6
8 7 512 sda7
8 8 512 sda8
8 9 512 sda9
8 10 2048 sda10
8 11 4096 sda11
8 12 8192 sda12
8 13 8192 sda13
8 14 8192 sda14
8 15 16384 sda15
259 0 16384 sda16
259 1 1024 sda17
259 2 16384 sda18
259 3 15360 sda19
259 4 32768 sda20
259 5 32768 sda21
259 6 65536 sda22
259 7 65536 sda23
259 8 65536 sda24
259 9 131072 sda25
259 10 98304 sda26
259 11 32768 sda27
259 12 131072 sda28
259 13 393216 sda29
259 14 393216 sda30
259 15 1048576 sda31
259 16 8912896 sda32
259 17 32768 sda33
259 18 237166572 sda34
8 32 16384 sdc
8 33 7168 sdc1
8 34 7168 sdc2
8 35 512 sdc3
8 36 1492 sdc4
8 48 32768 sdd
8 49 104 sdd1
8 50 128 sdd2
8 51 1024 sdd3
8 52 2048 sdd4
8 53 2048 sdd5
8 54 1024 sdd6
8 64 1048576 sde
8 65 104 sde1
8 66 32 sde2
8 67 32 sde3
8 68 32 sde4
8 69 32 sde5
8 70 128 sde6
8 71 128 sde7
8 72 256 sde8
8 73 256 sde9
8 74 32 sde10
8 75 32 sde11
8 76 32 sde12
8 77 32 sde13
8 78 128 sde14
8 79 128 sde15
259 19 128 sde16
259 20 128 sde17
259 21 128 sde18
259 22 256 sde19
259 23 256 sde20
259 24 256 sde21
259 25 512 sde22
259 26 512 sde23
259 27 512 sde24
259 28 128 sde25
259 29 128 sde26
259 30 128 sde27
259 31 3712 sde28
259 32 1024 sde29
259 33 1024 sde30
259 34 1024 sde31
259 35 1024 sde32
259 36 1024 sde33
259 37 1024 sde34
259 38 1024 sde35
259 39 1024 sde36
259 40 2048 sde37
259 41 2048 sde38
259 42 2048 sde39
259 43 2048 sde40
259 44 4096 sde41
259 45 4096 sde42
259 46 32768 sde43
259 47 8192 sde44
259 48 8192 sde45
259 49 16384 sde46
259 50 32768 sde47
259 51 65536 sde48
259 52 65536 sde49
259 53 131072 sde50
259 54 458752 sde51
259 55 32768 sde52
259 56 32768 sde53
259 57 53248 sde54
259 58 4096 sde55
259 59 4096 sde56
259 60 2048 sde57
259 61 2048 sde58
8 80 65536 sdf
8 81 104 sdf1
8 82 2048 sdf2
8 83 2048 sdf3
8 84 2048 sdf4
8 85 128 sdf5
8 86 768 sdf6
8 87 8192 sdf7
8 88 8192 sdf8
8 89 8192 sdf9
8 90 1024 sdf10
252 0 2842372 dm-0
252 1 1655520 dm-1
252 2 1147096 dm-2
252 3 131072 dm-3
252 4 404196 dm-4
~ #
------------------------------
Tried
~ # pull /dev/block/dm-0 /data.img
-/sbin/sh: pull: not found
~ # twrp decrypt 1238
Attempting to decrypt data partition or user data via command line.
Failed to decrypt data.
Tried flashing disableVerity
PD: Lost vendor partition
Any way I can copy the dm-0 (I understood that I could somehow manage to regain my data if I get those files)
Or is it anyway to mount them or any ideas
===================
Would mean the world to me if anyone could help
Kevincorella said:
Hi
My Poco F2 pro, rooted and encrypted (sadly) decided to auto update, when it flashed in twrp, after reboot I couldnt even mount Data, so I tried to change the file system, but still 0mb, tried try decryp with no luck
I reseach about it, and found that I could dump the dev/block/dm-xx (I trhink so, or to at least recover my data anywhere else but the phone
Please help, any ideas what could or should I do?
~ # cat /proc/partitions
major minor #blocks name
1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
1 7 8192 ram7
1 8 8192 ram8
1 9 8192 ram9
1 10 8192 ram10
1 11 8192 ram11
1 12 8192 ram12
1 13 8192 ram13
1 14 8192 ram14
1 15 8192 ram15
8 16 16384 sdb
8 17 7168 sdb1
8 18 7168 sdb2
8 19 512 sdb3
8 20 1492 sdb4
8 0 248700928 sda
8 1 8 sda1
8 2 32 sda2
8 3 32 sda3
8 4 32 sda4
8 5 128 sda5
8 6 256 sda6
8 7 512 sda7
8 8 512 sda8
8 9 512 sda9
8 10 2048 sda10
8 11 4096 sda11
8 12 8192 sda12
8 13 8192 sda13
8 14 8192 sda14
8 15 16384 sda15
259 0 16384 sda16
259 1 1024 sda17
259 2 16384 sda18
259 3 15360 sda19
259 4 32768 sda20
259 5 32768 sda21
259 6 65536 sda22
259 7 65536 sda23
259 8 65536 sda24
259 9 131072 sda25
259 10 98304 sda26
259 11 32768 sda27
259 12 131072 sda28
259 13 393216 sda29
259 14 393216 sda30
259 15 1048576 sda31
259 16 8912896 sda32
259 17 32768 sda33
259 18 237166572 sda34
8 32 16384 sdc
8 33 7168 sdc1
8 34 7168 sdc2
8 35 512 sdc3
8 36 1492 sdc4
8 48 32768 sdd
8 49 104 sdd1
8 50 128 sdd2
8 51 1024 sdd3
8 52 2048 sdd4
8 53 2048 sdd5
8 54 1024 sdd6
8 64 1048576 sde
8 65 104 sde1
8 66 32 sde2
8 67 32 sde3
8 68 32 sde4
8 69 32 sde5
8 70 128 sde6
8 71 128 sde7
8 72 256 sde8
8 73 256 sde9
8 74 32 sde10
8 75 32 sde11
8 76 32 sde12
8 77 32 sde13
8 78 128 sde14
8 79 128 sde15
259 19 128 sde16
259 20 128 sde17
259 21 128 sde18
259 22 256 sde19
259 23 256 sde20
259 24 256 sde21
259 25 512 sde22
259 26 512 sde23
259 27 512 sde24
259 28 128 sde25
259 29 128 sde26
259 30 128 sde27
259 31 3712 sde28
259 32 1024 sde29
259 33 1024 sde30
259 34 1024 sde31
259 35 1024 sde32
259 36 1024 sde33
259 37 1024 sde34
259 38 1024 sde35
259 39 1024 sde36
259 40 2048 sde37
259 41 2048 sde38
259 42 2048 sde39
259 43 2048 sde40
259 44 4096 sde41
259 45 4096 sde42
259 46 32768 sde43
259 47 8192 sde44
259 48 8192 sde45
259 49 16384 sde46
259 50 32768 sde47
259 51 65536 sde48
259 52 65536 sde49
259 53 131072 sde50
259 54 458752 sde51
259 55 32768 sde52
259 56 32768 sde53
259 57 53248 sde54
259 58 4096 sde55
259 59 4096 sde56
259 60 2048 sde57
259 61 2048 sde58
8 80 65536 sdf
8 81 104 sdf1
8 82 2048 sdf2
8 83 2048 sdf3
8 84 2048 sdf4
8 85 128 sdf5
8 86 768 sdf6
8 87 8192 sdf7
8 88 8192 sdf8
8 89 8192 sdf9
8 90 1024 sdf10
252 0 2842372 dm-0
252 1 1655520 dm-1
252 2 1147096 dm-2
252 3 131072 dm-3
252 4 404196 dm-4
~ #
------------------------------
Tried
~ # pull /dev/block/dm-0 /data.img
-/sbin/sh: pull: not found
~ # twrp decrypt 1238
Attempting to decrypt data partition or user data via command line.
Failed to decrypt data.
Tried flashing disableVerity
PD: Lost vendor partition
Any way I can copy the dm-0 (I understood that I could somehow manage to regain my data if I get those files)
Or is it anyway to mount them or any ideas
===================
Would mean the world to me if anyone could help
Click to expand...
Click to collapse
I don't know Bro. Seems like your data has gone read only. I don't know if I am right though. Anyways what I want to ask you is if you can manage to completely wipe your data and install a custom rom. I don't think I am much helpful but please let me know if you can do it.
Arc android said:
I don't know Bro. Seems like your data has gone read only. I don't know if I am right though. Anyways what I want to ask you is if you can manage to completely wipe your data and install a custom rom. I don't think I am much helpful but please let me know if you can do it.
Click to expand...
Click to collapse
I could install the rom via Fastboot, but I want to see if there is any hope for the data before wiping everything ):

Backup help: TWRP what's the path of sda ?

Background Information
My phone is stuck in a boot loop. Fortunately my phone is rooted and I have TWRP installed.
Original Plan
So my original plan was to just restore the data with TWRP.
However when trying to access the data I found out that the "data" partition can't be mounted in TWRP.
It apparently has to do something with it being encrypted. However I don't understand why I can't just decrypt it since I know my password! ??
New Plan
So my new plan was:
1. Create a disk clone with dd
2. Save it on my pc
3. Flash my phone and use it again
4. Wait (Maybe one day in the future I'll be able to decrypt my data and access it again)
So I listed all partitions in order to find the appropriate "hard drive" or in this case the appropriate flash drive (UFS)
p3s:/ # cat /proc/partitions
major minor #blocks name
1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
1 7 8192 ram7
1 8 8192 ram8
1 9 8192 ram9
1 10 8192 ram10
1 11 8192 ram11
1 12 8192 ram12
1 13 8192 ram13
1 14 8192 ram14
1 15 8192 ram15
7 0 264 loop0
7 8 888 loop1
7 16 98312 loop2
7 24 18604 loop3
8 0 499814400 sda
8 1 20480 sda1
8 2 20480 sda2
8 3 4096 sda3
8 4 8192 sda4
8 5 8192 sda5
8 6 512 sda6
8 7 40960 sda7
8 8 3072 sda8
8 9 2048 sda9
8 10 4096 sda10
8 11 8192 sda11
8 12 64 sda12
8 13 65536 sda13
8 14 65536 sda14
8 15 65536 sda15
259 0 71680 sda16
259 1 7680 sda17
259 2 1024 sda18
259 3 512 sda19
259 4 1024 sda20
259 5 53248 sda21
259 6 16384 sda22
259 7 64 sda23
259 8 64 sda24
259 9 32768 sda25
259 10 4 sda26
259 11 316 sda27
259 12 11468800 sda28
259 13 1433600 sda29
259 14 30720 sda30
259 15 614400 sda31
259 16 51200 sda32
259 17 51200 sda33
259 18 485654528 sda34
8 16 4096 sdb
8 32 4096 sdc
8 48 8192 sdd
8 49 6144 sdd1
8 64 20480 sde
253 0 6601340 dm-0
253 1 1764892 dm-1
253 2 845048 dm-2
253 3 4248 dm-3
Click to expand...
Click to collapse
So sda seems to be the main storage as it's the biggest one. I then wanted to know what's the path of sda . Like in normal linux on normal pcs it's always /dev/sda and one can just do dd if=/dev/sda .... .
I tried listing it via:
ls -l /sys/class/block/sda
Click to expand...
Click to collapse
/sys/devices/platform/13100000.ufs/host0/target0:0:0/0:0:0:0/block/sda
p3s:/sys/dev/block # dd if=/sys/devices/platform/13100000.ufs/host0/target0\:0\:0/0\:0\:0\:0/block/sda bs=512 count=1
dd: /sys/devices/platform/13100000.ufs/host0/target0:0:0/0:0:0:0/block/sda: read error: Is a directory
Click to expand...
Click to collapse
However when i try this, dd complains, that sda is a directory
Does anyone know the correct path ? Or how I can find out what the correct path is ?
Oh I think i found it :
I think it's
/dev/block/sda
Click to expand...
Click to collapse
when i now try to execute dd it works
p3s:/ # dd if=/dev/block/sda bs=512 count=1
☺�☺��rU�1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.004320 s, 116 K/s
Click to expand...
Click to collapse

Categories

Resources