Changing bootloader: dead Defy

danimagrin

Senior Member
Apr 15, 2011
143
20
0
Hey guys.

I executed dd if=/dev/zero of=/dev/block/mmcblk1p1

I've read in droid-developers.org that mbmloader is locked so I thought dd was going to give me write errors. I was wrong, and dd wrote zeros in the mbmloader partition. Now, phone is completely dead and I'll have to get a new one.

But I think that if it's possible to change mbmloader code with zeros, why can't we replace it with a new unsigned bootloader using dd? I couldn't find many real explanations why bootloader can't be replaced besides "it's locked and forget about it", so dd may be a way to replace it. We gonna need the opinion of someone with more knowledge about low-level programming and Defy's hardware.

Bye... And never type this in your Defy if you like it.
 

bavo_t

Member
Oct 5, 2009
13
7
0
If you managed to do
dd if=/dev/zero of=/dev/block/mmcblk1p1
shouldn't you also be able to
dd if=/dev/block/mmcblk1p1 of=~/bootloader.img ?
and if someone can do that and send you the image, shouldn't you also be able to repair your phone?

And why would you try anything like that anyway?? Especially without making a backup first?

I don't have my phone atm, i'm waiting for it to be returned from warranty. So i can't do any tests right now.

Edit: apparently you just found out yourself what I said :)
 
Last edited:

danimagrin

Senior Member
Apr 15, 2011
143
20
0
Thank you very much for the effort, but it didn't work.

Besides putting the file in root of sdcard, it seems that some code should be put on the phone to make it look on the sdcard for the mbmloader. Since the phone doesn't turn on, i can't put this code.
 

Sqoerk

Senior Member
Jun 2, 2009
342
120
0
Thank you very much for the effort, but it didn't work.

Besides putting the file in root of sdcard, it seems that some code should be put on the phone to make it look on the sdcard for the mbmloader. Since the phone doesn't turn on, i can't put this code.
when you plug in the phone to a linux pc, do you see a USB device?
 

sunoldman

Senior Member
Jan 20, 2011
144
34
0
It seems that it's possible to replace the mbmloader with an unsigned bootloader. In fact, they've tried it on milestone, but failed.
(http://and-developers.com/custom_recovery:alternative_methods)
Either you have to find a existent one or write a new one.
As to the former, we can't find an unsigned bootloader unless moto unlock it.
To do the latter one, you have to get all the information about the phone, another almost impossible thing.
here is the milestone boot chain, similer to defy.
http://and-developers.com/boot:boot_chain
 

polovinamozga

Senior Member
Jan 25, 2009
230
101
0
St.Petersburg
Code:
# cat /proc/mtd
Code:
dev:    size   erasesize  name
mtd0: 00180000 00020000 "pds"
mtd1: 00060000 00020000 "cid"
mtd2: 000a0000 00020000 "logo"
mtd3: 00060000 00020000 "misc"
mtd4: 00380000 00020000 "boot"
mtd5: 00480000 00020000 "recovery"
mtd6: 008e0000 00020000 "cdrom"
mtd7: 0b260000 00020000 "system"
mtd8: 082a0000 00020000 "cache"
mtd9: 0ab20000 00020000 "userdata"
mtd10: 00200000 00020000 "kpanic"
Can't see mbm =)
Maybe you loaded mtd-hack?
 

farsight73

Senior Member
Dec 29, 2010
1,080
193
93
Selangor
Damn... Good guy with dead bootloader. I remember last time we could actually flash just the bootloader at will with phone Motorola E398 using ramloader or the famous flashbackup3.0. The E398 is really immortality. Hope this Defy can reach that height to justify its name.

Sent from my awesome Moto Defy Gingerbread 2.3.3 - XDA Premium
 
Last edited: