FORUMS

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

[Info] mmcblk* partitons reference of the P6 B107

262 posts
Thanks Meter: 94
 
By S34Qu4K3, Senior Member on 8th August 2013, 09:36 PM
Post Reply Subscribe to Thread Email Thread
Located in /dev/block, may be useful

Code:
mmcblk0p1     -> /xloader
mmcblk0p2     -> /round              (-empty-)
mmcblk0p3     -> /nvme
mmcblk0p4     -> /misc
mmcblk0p5     -> /splash             (-empty-)
mmcblk0p6     -> /oeminfo
mmcblk0p7     -> /reserved1          (-empty-)
mmcblk0p8     -> /reserved2          (-empty-)
mmcblk0p9     -> /splash2
mmcblk0p10    -> /recovery2          (-empty-)
mmcblk0p11    -> /recovery
mmcblk0p12    -> /boot
mmcblk0p13    -> /modemimage
mmcblk0p14    -> /modemnvm
mmcblk0p15    -> /modemnvm2
mmcblk0p16    -> /system
mmcblk0p17    -> /cache
mmcblk0p18    -> /cust
mmcblk0p19    -> /userdata
I took this info opening the direct accesses in /dev/block/platform/hi_mci.1/by-name
Last edited by S34Qu4K3; 12th August 2013 at 04:37 PM.
The Following User Says Thank You to S34Qu4K3 For This Useful Post: [ View ]
 
 
9th August 2013, 04:28 PM |#2  
TheProd's Avatar
Senior Member
Flag Kaiserslautern
Thanks Meter: 53
 
More
To extract the boot or recovery img with dd:

Code:
adb shell
su
dd if=/dev/block/mmcblk0p11 of=/sdcard/recovery.img
dd if=/dev/block/mmcblk0p12 of=/sdcard/boot.img
9th August 2013, 04:51 PM |#3  
S34Qu4K3's Avatar
OP Senior Member
Thanks Meter: 94
 
Donate to Me
More
Quote:
Originally Posted by TheProd

To extract the boot or recovery img with dd:

Code:
adb shell
su
dd if=/dev/block/mmcblk0p11 of=/sdcard/recovery.img
dd if=/dev/block/mmcblk0p12 of=/sdcard/boot.img

I already extracted recovery.img But i can't unpack it, i use unyaffs.exe but i get "broken image file" D:
Same with the other *.img files
10th August 2013, 09:45 PM |#4  
Stickman89's Avatar
Recognized Developer
Flag Milton Keynes
Thanks Meter: 2,391
 
Donate to Me
More
Code:
BOARD_KERNEL_CMDLINE vmalloc=512M k3v2_pmem=1 mmcparts=mmcblk0:p1(xloader),p3(n
me),p4(misc),p5(splash),p6(oeminfo),p7(reserved1),p8(reserved2),p9(splash2),p10
recovery2),p11(recovery),p12(boot),p13(modemimage),p14(modemnvm1),p15(modemnvm2
,p16(system),p17(cache),p18(cust),p19(userdata);mmcblk1:p1(ext_sdcard)
BOARD_KERNEL_BASE 00000000
BOARD_PAGE_SIZE 2048
BOARD_RAMDISK_ADDR 01400000

Unpacking ramdisk to "/ramdisk/" . . .

Compression used: gzip
2085 blocks

Done!
Boot.img unpacked, K3V2 uses ARMv7 Instruction Set. Let's see if we can't get something cooking already
Last edited by Stickman89; 10th August 2013 at 09:58 PM.
10th August 2013, 09:58 PM |#5  
S34Qu4K3's Avatar
OP Senior Member
Thanks Meter: 94
 
Donate to Me
More
I unpacked recovery and boot too :P

Sent from my HUAWEI P6-U06 using xda app-developers app
10th August 2013, 10:15 PM |#6  
Stickman89's Avatar
Recognized Developer
Flag Milton Keynes
Thanks Meter: 2,391
 
Donate to Me
More
Good show, unless your planning on beginning work on a Custom Recovery what are you going to gain by unpacking the recovery.img?

I see your working on a CM port, so wish you all the best on that. I'll be porting MIUIv5 for the Ascend P6 as I did for a few other devices, also going to have another crack at porting Flyme OS since I already ported 90% to my previous device.

Best Regards,

s89
10th August 2013, 10:44 PM |#7  
S34Qu4K3's Avatar
OP Senior Member
Thanks Meter: 94
 
Donate to Me
More
I unpacked boot and recovery to get info for BoardConfig.mk
Ty

Sent from my HUAWEI P6-U06 using xda app-developers app
11th August 2013, 03:11 AM |#8  
Stickman89's Avatar
Recognized Developer
Flag Milton Keynes
Thanks Meter: 2,391
 
Donate to Me
More
If you've already got a build environment setup you may aswel build CWM from CM sources, we have more then enough information here to proceed. Even more convenient considering you have the recovery.img unpacked. Google "Build CWM Cyanogenmod" for more info. Failing that i'll setup a build environment and do so myself tomorrow evening.

Best Regards,

s89
11th August 2013, 08:24 PM |#9  
S34Qu4K3's Avatar
OP Senior Member
Thanks Meter: 94
 
Donate to Me
More
I'm setting up the enviroment to build CWM, i hope to get it done in a few hours, anyways, i got bad news. My laptop screen broke today, and i send it to repair tomorrow and i don't know how much time will take :/
11th August 2013, 09:13 PM |#10  
Stickman89's Avatar
Recognized Developer
Flag Milton Keynes
Thanks Meter: 2,391
 
Donate to Me
More
Quote:
Originally Posted by S34Qu4K3

I'm setting up the enviroment to build CWM, i hope to get it done in a few hours, anyways, i got bad news. My laptop screen broke today, and i send it to repair tomorrow and i don't know how much time will take :/

Aww man that's unfortunate, wishing a speedy recovery for said laptop aha. Are you continuing the build on another machine or using an external monitor for the meantime?

Best Regards,

s89
11th August 2013, 09:31 PM |#11  
S34Qu4K3's Avatar
OP Senior Member
Thanks Meter: 94
 
Donate to Me
More
Quote:
Originally Posted by Stickman89

Aww man that's unfortunate, wishing a speedy recovery for said laptop aha. Are you continuing the build on another machine or using an external monitor for the meantime?

Best Regards,

s89

I got an small laptop and a pc, i have to install linux and will continue working (i think) i expect to be at least 1 week without my laptop (maybe i got it with screen broken ultil i wait the new screen)

Dam git sync, so ****ing long

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes