Galaxy S Duos completely dead after flashing kernel via CWM

webbandro

New member
Jan 27, 2016
2
0
0
Hi everyone,

I'm having some trouble with my Galaxy S Duos. I've had PMP™ King ROM running on it, and everything worked fine, but I wanted to replace the kernel boot logo.

So I unpacked the boot.img from the ROM using Android Kitchen, used png2rle to convert my custom logo into rle-format, replaced the file initlogo.rle and repacked boot.img again with Android Kitchen.

To be able to flash the kernel via CWM I created an update zip-package and signed it with testsign.jar.

I included the update-binary from the PMP™ King ROM and my updater-script had the following lines in it:

Code:
ui_print("boot.img is being flashed...");
show_progress(0.1, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
ui_print("flashing boot.img...");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
ui_print("kernel imaged flashed");
ui_print(" ");
delete("/tmp/boot.img")); 
show_progress(0.1, 10);
ui_print("you can reboot now");
Flashing the kernel worked without problems, but when I chose the option the reboot the device, it is completely dead since then. The screen stays dark, I can't enter download mode or recovery mode. The device isn't recognized on a PC (Linux and Windows). The battery had about 85% when I did the flashing, I put it in and out several times, tried to charge it, but still nothing happens.

I suppose I made a mistake in the updater-script. I think the line

Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
should have been

Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p8");
Is there any chance to get back into download mode again and bring it back to life?
 

billysam

Senior Member
Oct 3, 2014
551
298
0
This is the biggest mistake, you flashed the kernel on a different partition. It's dead, JTAG is the only thing that can work now
 

billysam

Senior Member
Oct 3, 2014
551
298
0
forum.xda-developers.com/showpost.php?p=63949797&postcount=4

If you want to give this a try, keep a sd card that is class 10. Preferably a 4gb or 16gb card and try this.
 

webbandro

New member
Jan 27, 2016
2
0
0
Thanks for your reply, billysam.

First of all, I have to say you are right. I also made some further research on flashing kernels, and this was a stupid mistake from me. I've learned my lesson the hard way ...

I will try the debrick-image, but unfortunately I only have a 8gb class 10 card at the moment. I will get a 4gb card and give a report if it worked.
 

billysam

Senior Member
Oct 3, 2014
551
298
0
Thanks for your reply, billysam.

First of all, I have to say you are right. I also made some further research on flashing kernels, and this was a stupid mistake from me. I've learned my lesson the hard way ...

I will try the debrick-image, but unfortunately I only have a 8gb class 10 card at the moment. I will get a 4gb card and give a report if it worked.
Well we all Learn here through hard ways, but that should not let you stop, anyways about the debrick method, It's a experimental process, it has only worked on sgs3. I still haven't heard from anyone who had success with that process with our device. Still there are chances it might work on us too. Plus I don't see any harm on our device because of trying that process, unless your device is same and already bricked. Anyways, do let us know, if it works.