Best Alarm App for Android?

There are tons of choices to choose from when looking for a great alarm app for Android. While the stock … more

Unofficial CM12.1 Available for Moto E 2014

While Motorola is yet to release a final 5.0.2 build for the Moto E 2014, XDA Senior … more

Pinsy Brings Social Sketching To Your Watch & Phone

Did you watch Apple’s VP draw on his wrist during the Apple Watch announcement … more

CyanogenMod 12.1 for Samsung Galaxy S5

Android 5.1 is slowly putting its mark in the custom ROM world. CyanogenMod 12.1 is available to … more
Post Reply Subscribe to Thread Email Thread

[Info] mmcblk* partitons reference of the P6 B107

8th August 2013, 09:36 PM   |  #1  
S34Qu4K3's Avatar
OP Senior Member
Thanks Meter: 92
 
262 posts
Join Date:Joined: Jun 2012
Donate to Me
More
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
 
110 posts
Join Date:Joined: Jan 2012
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: 92
 
262 posts
Join Date:Joined: Jun 2012
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,347
 
1,499 posts
Join Date:Joined: Apr 2007
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: 92
 
262 posts
Join Date:Joined: Jun 2012
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,347
 
1,499 posts
Join Date:Joined: Apr 2007
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: 92
 
262 posts
Join Date:Joined: Jun 2012
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,347
 
1,499 posts
Join Date:Joined: Apr 2007
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: 92
 
262 posts
Join Date:Joined: Jun 2012
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,347
 
1,499 posts
Join Date:Joined: Apr 2007
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

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

Advanced Search
Display Modes