If we can get the kernel working, its because we have the right kernel drivers, so then we can repack any kernel and install any i9505 ROM
i see much windows user are here..
its not so easy as you think...
the drivers are written to a specific kernel version. most time they work only on one kernel repository
this is caused through the headers .h files in kernel wich implement shared functions.
cm and googy kernels are version 3.4.104 but complete different it cost me a week to patch cm11 adreno driver in googymax kernel to fix gfx tearing.
atm im patching the zte-nex mako wifi driver into googymax kernel
but its like a rat tail change driver dir. get compile error find header which lacks function. change file get other error. merge files. fix next error
and at the end you get zimage and driver wont load.
im not able to write code in c which gets over hello world.
but implementation, rewriting fixing and detecting functions or part of code thats making problems is not so hard.
but after everything in kernel is fine we have to fix wifi and bt init.
the boot.img is spitted inside.
zimage is the pure kernel most time usable for every rom from kitkat
initrd.cpio.gz is the compressed rootfs with init as you see on / after boot
lets take bt
if i repack my kernel with initrd for stockrom and boot stock tw bt does work
on cm11 the same driver is inside kernel but init does not work properly
i checked the mako init and stock init from /system/etc/ and run it manually.
you have to copy the missing files from stockrom and mako rom to get the bt mac loaded
also edit the line to get the address from /efs instead /persist
but after all i get smd3 not accessible error
so i checked uevent.rc in init which sets permissions on devices
everything no success
next problem if wifi driver compiles 4differen tried kernel wont load if inside
and as module also
tried extraversion and speciial cflags to compile no success module wont load
i think i need special wcnss core that supports the prima driver but patching this into kernel is this im working on.
you all could help try to fix the init.
make bt work
unpack image repack unchanged to check if it works and boots properly after repacking
note you need mkbootimg with extra offset for samsung as told from unmkbootimg 1.2
then fix init....
---------- Post added at 11:25 AM ---------- Previous post was at 11:24 AM ----------
@phil2sat i dont know but as i install your last kernel my earphones doesent work ? is that a kernel bug or rom spezificated . after i install miui rom for our phone my earphone doesnt work too, where is the probleme,
mine work fine cm11 m12