Wednesday, January 27, 2016

Galaxy S Duos completely dead after flashing kernel via CWM

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?


via xda-developers http://ift.tt/1nn7uNe

IFTTT

Put the internet to work for you.

Turn off or edit this Recipe

No comments:

Post a Comment