Need help in Editing MTD-Dump - Android Software/Hacking General [Developers Only]

Hi,
I'm working on modding a cheap Android-based MediaPlayer.
I already got root-access and dumped the partitions with "cat /dev/mtd/mtdx".
Here is the partition table("cat /proc/mtd"):
dev: size erasesize name
mtd0: 00020000 00020000 "block0"
mtd1: 00100000 00020000 "bootloader"
mtd2: 01900000 00020000 "bootimgs"
mtd3: 01900000 00020000 "bootimgs-B"
mtd4: 00080000 00020000 "u-boot.env"
mtd5: 0c000000 00020000 "system"
mtd6: 08000000 00020000 "userdata"
mtd7: 06800000 00020000 "cache"
mtd8: 00400000 00020000 "factory_setting"
mtd9: 00400000 00020000 "factory_data"
mtd10: 01000000 00020000 "sysconf"
mtd11: 20000000 00020000 "mv_nand"
Click to expand...
Click to collapse
As you can see this system has a very different partition-organisation.
I dumped bootloader but I can't find a way to open/extract it.
I tried unyaffs but it doesn't work.
I already tried to do the same with the partitions cache, data and system.
Because they are mounted as yaffs2 in the system I thought it should work. But it does not. unyaffs say "broken image file" or "Memory Access Error".
I don't know if this will help but I uploaded the bootloader-Backup:
http://www.multiupload.com/QY9RV46GQZ
My purpose is to get access to the bootloader so I could install CWM (as you can see there is no recovery-partition).
I really hope that anyone of you experts can help me.
m11kkaa

Hi, I found out, that MTD-partitions are no block-devices and that they need transition-layer. /dev/block/mtdblockx is an emulated block-device.
Can I do the same under Ubuntu with an image-file instead of a real block device?

Related

Can't install recovery - Bad Block

Hello to all...
I try to flash custom recovery in my LG P500 but every time I get error message and my phone becomes a brick!
I follow every single instruction here but when I type
Code:
flash_image recovery /sdcard/recovery.img
I get the error
Code:
mtd: not writing bad block at 0x00440000
error writing recovery : No space left on device
I get the same error with every method about flashing custom recovery and after reboot I get in fastboot mode.
I don't know if this helps but with the next command I get the results
Code:
>adb shell cat /proc/mtd
dev: size erasesize name
mtd0: 00440000 00020000 "boot"
mtd1: 0be00000 00020000 "system"
mtd2: 00500000 00020000 "recovery"
mtd3: 002c0000 00020000 "lgdrm"
mtd4: 00100000 00020000 "splash"
mtd5: 00180000 00020000 "FOTABIN"
mtd6: 005c0000 00020000 "FOTA"
mtd7: 00040000 00020000 "misc"
mtd8: 04000000 00020000 "cache"
mtd9: 0c780000 00020000 "userdata"
Thank you in advance for every help!

about Cwm recovery 5.5。0.4 compiled

HTC Z510d
I want to cwm recovery
but compiled fail
please help
Thanks!!!
z510d
dev: size erasesize name
mtd0: 00100000 00040000 "misc"
mtd1: 00480000 00040000 "recovery"
mtd2: 00340000 00040000 "boot"
mtd3: 1a400000 00040000 "system"
mtd4: 00100000 00040000 "local"
mtd5: 06400000 00040000 "cache"
mtd6: 19f40000 00040000 "userdata"
mtd7: 00a00000 00040000 "devlog"

[Q] PLZ!! Help me to root MT6575 device!!!

Hi...guys.......I m in serious problem to root my device.....that is local branded as Symphony W5.and it is clone device of Micromax A52 and Gionee gn100..but without 3g..I tried a52 root method but didn't work...it gives eboot error 16008...that means the problem is in scatter.I made a scatter file via MT65xx rom dump..but it also didn't work.....I tried all the known rooting software but no success!!! What should I do now????? This is what I got after "cat proc/mtd" on terminal emulator--------------------------------------------------------------------- $ export PATH=/data/local/bin:$PATH
$ cat proc/mtd
dev: size erasesize name
mtd0: 00080000 00040000 "preloader"
mtd1: 00180000 00040000 "dsp_bl"
mtd2: 00300000 00040000 "nvram"
mtd3: 00040000 00040000 "seccnfg"
mtd4: 00080000 00040000 "uboot"
mtd5: 00a00000 00040000 "boot"
mtd6: 00600000 00040000 "recovery"
mtd7: 00140000 00040000 "secstatic"
mtd8: 00080000 00040000 "misc"
mtd9: 00300000 00040000 "logo"
mtd10: 000c0000 00040000 "expdb"
mtd11: 00400000 00040000 "gionee"
mtd12: 10400000 00040000 "system"
mtd13: 03c00000 00040000 "cache"
mtd14: 08c40000 00040000 "userdata"
$.........
Did you rooted your phone....
Sent from my A52 using xda app-developers app

cherry mobile rave w110

Requesting for clockworkmod recovery for this phone. Its a philippine local brand mobile phone. Heres the specs for reference. thanks a lot.
Qualcomm MSM7X27A Snapdragon 1GHz (not sure if same with msm7627a)
Adreno 200 GPU
Android 2.3.5 (Gingerbread)
256MB RAM
512MB of internal storage
kernel: 2.6.38.6-perf+
dev: size erasesize name
mtd0: 00a00000 00020000 "boot"
mtd1: 0c800000 00020000 "system"
mtd2: 00300000 00020000 "splash"
mtd3: 04100000 00020000 "cache"
mtd4: 00200000 00020000 "persist"
mtd5: 00a00000 00020000 "recovery"
mtd6: 00200000 00020000 "misc"
mtd7: 0b860000 00020000 "userdata"
mtd8: 20000000 00020000 "msm_nand"
up..up..up..neeed help....thanks
this handset is a rebrand micromax ninja a54.

Creating a custom recovery. (Huawei acsend H866C)

My wifes phone has been rooted through the poot method. However it is now time to install CWM. And none have been created yet for this version. Can someone point me in the right direction. Here are my mounts. I can dump the mounts as needed.
$ su # cat /proc/mtd dev: size erasesize name mtd0: 00500000 00020000 "boot" mtd1: 00500000 00020000 "recovery" mtd2: 00140000 00020000 "misc" mtd3: 00240000 00020000 "MTD-Crash" mtd4: 0ba00000 00020000 "system" mtd5: 03a00000 00020000 "cache" mtd6: 0a500000 00020000 "userdata" mtd7: 01400000 00020000 "userdata2" mtd8: 01400000 00020000 "cust" mtd9: 00140000 00020000 "MIBIB" mtd10: 00060000 00020000 "QCSBL" mtd11: 00800000 00020000 "OEMINFO" mtd12: 001a0000 00020000 "OEMSBL1" mtd13: 001a0000 00020000 "OEMSBL2" mtd14: 01e00000 00020000 "AMSS" mtd15: 00600000 00020000 "EFS2" mtd16: 00060000 00020000 "APPSBL" mtd17: 00040000 00020000 "FOTA" # cat /dev/mtd/mtd1 > sdcard/recovery.img
Sent from my LGL55C using Tapatalk 2
I second that motion. I would like to CWM Recovery on this phone.
I will third that.

Categories

Resources