Need help with device blocks

Benzonat0r

Senior Member
Sep 4, 2009
1,298
1,256
0
Uhh... I kinda messed something very much up when compiling CM10.1 for I8190. I have no RIL but everything else is fine, IMEI, IMEISV, Serial number and all that jazz.

I've accidentally overwritten 4 device blocks while mistyping something in source code. Now I need some help here

I need you to pull a few device blocks from your phone for me.

Here is what I need from you:

Open your Terminal Emulator and type in these commands one by one. Once done please upload them for me from you external sd card and paste the links here. You can also zip them if you wish.

Thank you very much, Benz.

Code:
su

dd if=/dev/block/mmcblk0p1 of=/storage/extSdCard/mmcblk0p1.bin

dd if=/dev/block/mmcblk0p2 of=/storage/extSdCard/mmcblk0p2.bin

dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/mmcblk0p3.bin

dd if=/dev/block/mmcblk0p4 of=/storage/extSdCard/mmcblk0p4.bin

dd if=/dev/block/mmcblk0p7 of=/storage/extSdCard/mmcblk0p7.bin
 
Last edited:

Benzonat0r

Senior Member
Sep 4, 2009
1,298
1,256
0
Thanks a lot, but it didn't work, can you try again with .img please and also include mmcblk0p19 ?

Code:
su

dd if=/dev/block/mmcblk0p1 of=/storage/extSdCard/mmcblk0p1.img

dd if=/dev/block/mmcblk0p2 of=/storage/extSdCard/mmcblk0p2.img

dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/mmcblk0p3.img

dd if=/dev/block/mmcblk0p4 of=/storage/extSdCard/mmcblk0p4.img

dd if=/dev/block/mmcblk0p7 of=/storage/extSdCard/mmcblk0p7.img

[B]dd if=/dev/block/mmcblk0p4 of=/storage/extSdCard/mmcblk0p19.img[/B]
 
Last edited:

Benzonat0r

Senior Member
Sep 4, 2009
1,298
1,256
0
Thank you all for your help, but still no go. I don't understand it should've worked, that's all the partition that have been affected.

Never mind I'm taking it to Sammy tomorrow.
 

Benzonat0r

Senior Member
Sep 4, 2009
1,298
1,256
0
Thanks. Anyway yeah I've found a problem, the damn thing doesn't wanna mount /efs or /modemfs. I know that because it was supposed to create PERM/PROT and PERM/PLAIN directories on the first boot. Gonna take it to Sammy tomorrow they'll call it emmc bug. :)
 

tys0n

Senior Member
Nov 29, 2010
3,110
2,043
253
Stockholm
Oh ok, but it does boot? Guess you have tried to restore those blocks as well.
Had problem with mmcblk0p11 & mmcblk0p12 blocks yesterday after a bad flash but I managed to restore them at last. :)
 

Benzonat0r

Senior Member
Sep 4, 2009
1,298
1,256
0
It does boot yes, but after persistent messing around with it, now I can't see my IMEI anymore. :D

I've rebooted to recovery, chmod 775 /efs and /modemfs cause they were read only, they actually have to be -rw (read+write) otherwise it won't work. But for some weird reason that happened. :)
 

Byteater

Senior Member
Jul 4, 2011
145
18
0
R: Need help with device blocks

Sorry for this question... have you tried to restore an EFS backup and flash a stock rom? :)

Sent from my GT-P5100 using xda app-developers app