I used kernel source from samsung opensource website and compiled the kernel using arm-eabi-4.7 cross-compile toolchains by following tutorials in xda forum.
I now have zImage, Image and also .ko modules.
flashable-zip:
I tried placing zImage and .ko modules in AnyKernel by koush, zipped it, signed it using SignApk.
Modified updater-script for the code: mount("MTD", "yaffs2", "system", "/system"); (If I didn't change the code, there was mount error stating mount requires 4 arguments something like that)
Placed the zip to sdcard, flashed it via CWM. Everything went fine.
But there was no change in "About device" i.e, Kernel version hasn't changed, that means zImage hasn't flashed.
boot.img:
And also I extracted boot.img from stock rom, extracted zImage and ramdisk from stock boot.img, replaced stock zImage with custom one, repacked the boot.img, made md5 file of it, flashed it via odin3.
But the mobile was stuck at boot logo with a red exclamation mark on top left corner of the screen. The phone wasn't booting normally, nor did it boot into recovery. But could boot into recovery using key combinations.
Also I used Image instead of zImage while making boot..img because the stock zImage extracted from stock boot.img was about 7.4 mb and the zImage I got from compiling was 3.3 mb and Image was 7.5 mb. Hence I also used Image and made another boot.img but that also didn't work.
Whats going wrong?
My Mobile: Samsung Galaxy Star Pro GT-S7262
I now have zImage, Image and also .ko modules.
flashable-zip:
I tried placing zImage and .ko modules in AnyKernel by koush, zipped it, signed it using SignApk.
Modified updater-script for the code: mount("MTD", "yaffs2", "system", "/system"); (If I didn't change the code, there was mount error stating mount requires 4 arguments something like that)
Placed the zip to sdcard, flashed it via CWM. Everything went fine.
But there was no change in "About device" i.e, Kernel version hasn't changed, that means zImage hasn't flashed.
boot.img:
And also I extracted boot.img from stock rom, extracted zImage and ramdisk from stock boot.img, replaced stock zImage with custom one, repacked the boot.img, made md5 file of it, flashed it via odin3.
But the mobile was stuck at boot logo with a red exclamation mark on top left corner of the screen. The phone wasn't booting normally, nor did it boot into recovery. But could boot into recovery using key combinations.
Also I used Image instead of zImage while making boot..img because the stock zImage extracted from stock boot.img was about 7.4 mb and the zImage I got from compiling was 3.3 mb and Image was 7.5 mb. Hence I also used Image and made another boot.img but that also didn't work.
Whats going wrong?
My Mobile: Samsung Galaxy Star Pro GT-S7262
Aucun commentaire:
Enregistrer un commentaire