yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] ##W4TCH0UT##:
i never saw this repository. btw thanks.im downloading this one right now.

Now after putting right path, it's showing syntax error :

w4tch0ut@w4tch0ut-HP-Pavilion-dv6000-RQ375EA-ABV:~/kernel/android_kernel_samsung_i9082$ make ARCH=arm CROSS_COMPILE=/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 1: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: ELF####: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 2: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: @###@@@@@0#0##p#p#@p#@####@@��

��

: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 3: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: Syntax error: "(" unexpected

Makefile:1414: warning: overriding commands for target `clean'

Makefile:1180: warning: ignoring old commands for target `clean'

CHK include/linux/version.h

CHK include/generated/utsrelease.h

make[1]: `include/generated/mach-types.h' is up to date.

CC kernel/bounds.s

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 1: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: ELF####: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 2: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: @###@@@@@0#0##p#p#@p#@####@@��

��

: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 3: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: Syntax error: "(" unexpected

make[1]: *** [kernel/bounds.s] Error 2

make: *** [prepare0] Error 2

w4tch0ut@w4tch0ut-HP-Pavilion-dv6000-RQ375EA-ABV:~/kernel/android_kernel_samsung_i9082$

I need help [MENTION=4487443]rmbq[/MENTION]. Why is it showing a grammatical mistake.
[Miscellaneous Android Development] ##W4TCH0UT##:
[MENTION=4487443]rmbq[/MENTION], the only error I'm getting is syntax error, how can I fix it? Also I'm using Ubuntu 14.04.
[Miscellaneous Android Development] rmbq:
i don't think they only error you have got is Syntax error: "(" unexpected, never saw something like

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 1: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: ELF####: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 2: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: @###@@@@@0#0##p#p#@p#@####@@��

��

: not found

have you follow the guide to setup the environment(aka have you installed all required packages)? are your sources ok?
[Miscellaneous Android Development] werty100:
Always happen this i am under open suse

/home/werty100/toolchains/arm-eabi-4.7/bin/arm-eabi-gcc: /home/werty100/toolchains/arm-eabi-4.7/bin/arm-eabi-gcc: no se puede ejecutar el fichero binario

/bin/sh: /home/werty100/toolchains/arm-eabi-4.7/bin/arm-eabi-gcc: no se puede ejecutar el fichero binario

make[1]: *** [kernel/bounds.s] Error 126

make: *** [prepare0] Error 2
[Miscellaneous Android Development] rmbq:
do you use

make ARCH=arm CROSS_COMPILE=/home/werty100/toolchains/arm-eabi-4.7/bin/arm-eabi-

?

your path is wrong, maybe toolchains folder is Toolchains and not toolchains or something like this..
[Miscellaneous Android Development] werty100:
Yes i checked and is all good...

I am on 32bits

Enviado desde mi GT-I9000 mediante Tapatalk
[Miscellaneous Android Development] rmbq:
in a terminal windows opened in toolchain folder

chmod 755 -R .
[Miscellaneous Android Development] werty100:
I hace exwcuted chmod 755 -R *

And happen the same

Is open suse 13.1 32bits

Can be becouse is 32bit??

Enviado desde mi GT-I9000 mediante Tapatalk
[Miscellaneous Android Development] rmbq:
the command isn't chmod 755 -R *....

btw why do you use a 32bit OS??
[Miscellaneous Android Development] werty100:
chmod 755 -R doesnt work...

And 32 bits os the only one i can install

Enviado desde mi GT-I9000 mediante Tapatalk
[Miscellaneous Android Development] Freewaymad:
Adding Files to a Kernel

Hi,

Hopefully someone here can help me with this. My kernel has to be updated from the ICS version to JB. I have had to hack my kernel to get the proprietary files since the manufacturer does not seem to answer emails for the source. I have been able to update and modify the initramfs and get it into my source, no problem, but getting the proprietary files extracted and into the new kernel has been another story. I used binwalk, strings, and hex to identify and extract these files from the decompressed kernel. Example here:

DECIMAL	HEX	DESCRIPTION
-------------------------------------------------------------------------------------------------------
184108	0x2CF2C	ASCII cpio archive (SVR4 with no CRC), file name: "dev"
184224	0x2CFA0	ASCII cpio archive (SVR4 with no CRC), file name: "dev/console"
184348	0x2D01C	ASCII cpio archive (SVR4 with no CRC), file name: "root"
184464	0x2D090	ASCII cpio archive (SVR4 with no CRC), file name: "TRAILER!!!"
6444868	0x625744	Linux kernel version "3.0.35 (android@amdroid) (gcc version 4.4.3 (GCC) ) #474 SMP PRersion 4.4.3 (GCC) ) #474 SMP PREEMPT Tue Dec 4 14:36:40 CST 20REEMPT Tue Dec 4 14:36:40 CST 2012012"
6458712	0x628D58	LZMA compressed data, properties: 0x02, dictionary size: 16777216 bytes, uncompressed size: 50331648 bytes
6460112	0x6292D0	gzip compressed data, from Unix, NULL date: Wed Dec 31 17:00:00 1969, max compression
6479000	0x62DC98	LZMA compressed data, properties: 0x01, dictionary size: 33554432 bytes, uncompressed size: 50331648 bytes
6535846	0x63BAA6	LZMA compressed data, properties: 0x02, dictionary size: 33554432 bytes, uncompressed size: 133128 bytes

The files are .LZMA compressed according to binwalk. If I use abootimg to update I can get the new image to show up in logcat:

[ 05-28 21:47:17.790 2147: 2147 I/DEBUG ]
Build fingerprint: 'Freescale/sabresd_6dq/sabresd_6dq:4.3/PARANOID_IMX6Q/20140407:eng/dev-keys'

but it is a bootloop, due to the missing proprietary files. So how would I get these .LZMA files into the new kernel? Please help.

Thanks,
[Miscellaneous Android Development] rmbq:
the command is

chmod 755 -R .

there's a dot after -R...

i don't understand, usually a boot.img has got inside the kernel (zImage) and the ramdisk (it's compresssed with gzip or lzma or some other compression algo).. what are those file lzma files? and what's your phone?
[Miscellaneous Android Development] werty100:
[MENTION=4487443]rmbq[/MENTION] this afternoon i will try in 64bits version i am triying to compile for i9000
[Miscellaneous Android Development] Freewaymad:
Hi,

This is for a Zenithink C-94 (Freescale IMX6Q). What I did was; I took abootimg and extracted these files: boot.cfg, kernel, and ramdisk like this:

Then I take the kernel and rename it "kernel.gzip". I extract that to to get a decompressed kernel. I then would run binwalk like this:

$ binwalk kenel.dec

(assuming the decompressed kernel is renamed "kernel.dec") This is what lists out the Linux kernel and all the instructions and drivers (1st post ex.). The gzip file in this is actually the "Linux/arm 3.0.35 Kernel Configuration". This is what you would rename as your deconfig and put in your /arch/arm/configs folder of your kernel directory. The LZMA files are the instructions, drivers, and any proprietary drivers or files for the kernel. I have extracted the LZMA files that are proprietary for my tablet, I don't know how to get them into the kernel I'm building to run JB (new kernel). Once that is done, I could then compress the new kernel and run:

to put everything back together. The boot.cfg's are the same, the kernel (for JB) and ramdisk (for JB) would be new. I already have the ramdisk setup. It is just a matter of somehow getting the LZMA files into the new kernel.

Thanks,
[Miscellaneous Android Development] ##W4TCH0UT##:
[MENTION=4487443]rmbq[/MENTION], whenever i run the make command in <root>, it shows 'restart config' and i have to write the whole .config file all over again. is there any way to prevent this.
[Miscellaneous Android Development] rmbq:
sorry man but i don't know

had you try to run "make ARCH=arm xconfig" before make?
[Miscellaneous Android Development] ##W4TCH0UT##:
no.

Edit: i ran your given command and i got the build to work.thanks.
[Miscellaneous Android Development] grorg:
[MENTION=4487443]rmbq[/MENTION], may be you can explain why is it so many errors become when I try to compile stock cm11 kernel?
[Miscellaneous Android Development] rmbq:
there aren't errors if you compile stock CM kernel (for msm8960 devices) with google GCC 4.7 toolchain!
[Miscellaneous Android Development] grorg:
and what about latest linaro toolchain?
[Miscellaneous Android Development] rmbq:
build a kernel is different to fix build errors, this guide is for compile a kernel that's why i linked google toolchain (used by CM)

if you want to fix build errors with linaro you need programming skill or cherry-pick some other repositories commits to fix your errors
[Miscellaneous Android Development] hell_lock:
Where do you get patches to upgrade kernel?
[Miscellaneous Android Development] rmbq:
https://www.kernel.org/ ;) there are all 3.4.x patches
[Miscellaneous Android Development] hell_lock:
how do you update your kernel to caf sources?

[thanked you already :) ]
[Miscellaneous Android Development] rmbq:
here is CAF git for msm (version 3.4) https://www.codeaurora.org/cgit/quic/la/kernel/msm/log/?h=kk_2.7-stable

there are a lot of branches, kk_2.7* are for older socket (8960 family and similar SOC like APQ8064) and kk_3.5* for newer ones
[Miscellaneous Android Development] roshan2989:
hello there

im getting this error

roshan2989@roshan2989:~/kernel/android_kernel_samsung_smdk4412$ make ARCH=arm CROSS_COMPILE=/home/roshan2989/toolchains/arm-eabi-4.7/bin/arm-eabi- > compileLog
arch/arm/mach-exynos/Kconfig:875:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:877:warning: defaults for choice values not supported
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
roshan2989@roshan2989:~/kernel/android_kernel_samsung_smdk4412$

sorry i new to this,will tis build cm11 homebuild kernel..
[Miscellaneous Android Development] rmbq:
make ARCH=arm xconfig

, save then retry
[Miscellaneous Android Development] roshan2989:
i just do as you say and im getting the inintframs error

roshan2989@roshan2989:~/kernel/android_kernel_samsung_smdk4412$ make ARCH=arm CROSS_COMPILE=/home/roshan2989/toolchains/arm-eabi-4.7/bin/arm-eabi- > compileLog
/home/roshan2989/kernel/android_kernel_samsung_smdk4412/scripts/gen_initramfs_list.sh: Cannot open 'source/usr/galaxys2_initramfs.list'
make[1]: *** [usr/initramfs_data.cpio] Error 1
make: *** [usr] Error 2
roshan2989@roshan2989:~/kernel/android_kernel_samsung_smdk4412$
[Miscellaneous Android Development] rmbq:
make ARCH=arm xconfig

search for "INITRAMFS_SOURCE" and leave it empty. the file it requests are already in the official boot.img so when you switch zImage everything should be ok
[Miscellaneous Android Development] Dhinesh Ravi:
Actually i hav a doubt at kernel image compression part...can the image be compressed with snappy compression??? and if so could u explain me how to apt-get snappy??

:rolleyes:
[Miscellaneous Android Development] rmbq:
yes it can (you need to add snappy support to your kernel)

you can find the source code here https://code.google.com/p/snappy/ , install instructions are in the tar.gz
[Miscellaneous Android Development] Shahan_mik3:
help me please m stuck in the compiling part :(

when it try to use

make ARCH=arm CROSS_COMPILE=/home/<username>/toolchains/arm-eabi-4.7/bin/arm-eabi- > compileLog

getting error

root@Shahan-Pc:/# make ARCH=arm CROSS_COMPILE=/home/shahan_mik3/toolchain/arm-eabi-4.7/bin/arm-eabi- > compileLog

make: *** No targets specified and no makefile found. Stop.

root@Shahan-Pc:/#

---------- Post added at 10:40 AM ---------- Previous post was at 10:11 AM ----------

I have followed almost all the threads and I get error while MAKE command :(
[Miscellaneous Android Development] rmbq:
You don't need to be root and you aren't in the kernel folder with terminal, you are in the root folder
[Miscellaneous Android Development] Shahan_mik3:
I tried in kernel folder also same prob :(

gimme a min i will provide u the steps i followed.

here is the steps

shahan_mik3@Shahan-Pc:~$ cd /home/shahan_mik3/kernel

shahan_mik3@Shahan-Pc:~/kernel$ make ARCH=arm CROSS_COMPILE=/home/shahan_mik3/toolchain/arm-eabi-4.7/bin/arm-eabi- > compileLog

make: *** No targets specified and no makefile found. Stop.

shahan_mik3@Shahan-Pc:~/kernel$ make ARCH=arm CROSS_COMPILE=/home/shahan_mik3/toolchain/arm-eabi-4.7/bin/arm-eabi-

make: *** No targets specified and no makefile found. Stop.

i used samsung source code
[Miscellaneous Android Development] rmbq:
Are there other folders in /home/shahan_mik3/kernel? Probably yes
[Miscellaneous Android Development] Shahan_mik3:
oops sorry i though i just had to point to source code folder. now i pointed it to

andoridkernel/kernel/ (contains arch/arm folders)

Also when i checked for defconfig file i saw 2 (in screenshot)

View attachment 2864737

then i got this error

shahan_mik3@Shahan-Pc:~$ cd /home/shahan_mik3/androidkernel/kernel

bash: cd: /home/shahan_mik3/androidkernel/kernel: No such file or directory

shahan_mik3@Shahan-Pc:~$ cd /home/shahan_mik3/androidkernel/Kernel

shahan_mik3@Shahan-Pc:~/androidkernel/Kernel$ make ARCH=arm CROSS_COMPILE=/home/shahan_mik3/toolchain/arm-eabi-4.7/bin/arm-eabi- > compileLog

arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group

arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported

***

*** Configuration file ".config" not found!

***

*** Please run some configurator (e.g. "make oldconfig" or

*** "make menuconfig" or "make xconfig").

***

make[2]: *** [silentoldconfig] Error 1

make[1]: *** [silentoldconfig] Error 2

make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
[Miscellaneous Android Development] rmbq:
copy a defconfig file (the one for your device) from arch/arm/configs to the root of your kernel source (i think it's /home/shahan_mik3/androidkernel/Kernel) and rename it .config... but i wrote this stuff in the tutorial why you didn't read it before ask?
[Miscellaneous Android Development] Shahan_mik3:
no i did that but i was confused there are two files in the config... please see the screenshot it will be easy to explain :)

2 files u1_defconfig and u1_defconfig___

so i renamed the first one to 9100.config.

and thanks a lot for your time and patience :) after i'm succesful with stock samsung kernel i will try aosp and then ultimate goal is to finally cherry pick and update kernel version to Dorimanx kernel :D
[Miscellaneous Android Development] ##W4TCH0UT##:
So what's your problem right now?? Just rename to .config not 9100.config.. and run 'make menuconfig' or 'make xconfig'..
[Miscellaneous Android Development] Shahan_mik3:
Can I rename any file? I mean it has two files right?
[Miscellaneous Android Development] ##W4TCH0UT##:
The first one..
[Miscellaneous Android Development] rmbq:
wtf! please use

tag or paste it on pastebin

you said you were able to compile, so...?
[Miscellaneous Android Development] Shahan_mik3:
No I meant during that compile step I got 2 errors :(

And dude sry abt that code....I'm totally new to sharing error and compiling....so posting the only way I know
[Miscellaneous Android Development] ##W4TCH0UT##:
I already told you to use the 9100.config. The other config, might give you errors.
[Miscellaneous Android Development] Shahan_mik3:
If u notice the steps....I have followed each and every steps exactly and also regarding .config. Was having problem with that. So I used the default name make u1_defconfig and it worked correctly. The problem now is an error message after I start compiling

It has to do something with

cc1: all warnings being treated as errors

make[1]: *** [arch/arm/mach-exynos/cpuidle-exynos4.o] Error 1

make[1]: *** Waiting for unfinished jobs....

make: *** [arch/arm/mach-exynos] Error 2
[Miscellaneous Android Development] ##W4TCH0UT##:
Hmm. Something you cherry picked not compatible with your phone platform..
[Miscellaneous Android Development] rmbq:
usually brands' sources are a mess you need to play a bit with defconfig to find the right config(or use a working one). if you just want to build a kernel to learn i suggest you to start with an aosp from CM o any other stable kernel
[Miscellaneous Android Development] Shahan_mik3:
I will start with cm today than....can I know the git link for cm kernel i9100?
[Miscellaneous Android Development] rmbq:
https://github.com/CyanogenMod/android_kernel_samsung_smdk4412/tree/cm-11.0
[Miscellaneous Android Development] Shahan_mik3:
Thanks bro.....I will download the sources today or day after tomoro. Hope the size is small as my ISP started burning holes in my wallet :p

edit: SO i'm confused now.

samsung galaxy s2 i9100 is smdk 4210 or 4412????

isnt i9300 4412?
[Miscellaneous Android Development] rmbq:
i think they merged i9100 into i9300 cos sources are similar (infact there are commits for i9100)... it's only a my opinion ask to someone on i9100 forum which is cm's i9100 kernel source
[Miscellaneous Android Development] judas1977:
Hello,

i have compilation error at very beginning of that process...

make: *** Brak reguł do zrobienia obiektu
`/home/batlin/android/sr/out/target/product/codina/obj/STATIC_LIBRARIES/libsysutils_intermediates/export_includes',
wymaganego przez `/home/batlin/android/sr/out/target/product/codina/obj/RECOVERY_EXECUTABLES/minivold_intermediates/
import_includes'. Stop.

It's popular issue "no rules to make target".."required for"...

I think it could be connected to (wrongly made?) TWRP adaptation, but i cannot find it by myself...

Looks like deleting some lines connected to minivold from system/vold/android.mk solves the error, but... what's that minivold?

what if i compile rom without it?
[Miscellaneous Android Development] roshan2989:
deleted

---------- Post added at 10:54 AM ---------- Previous post was at 10:18 AM ----------

where can i find the INITRAMFS_SOURCE folder?

i guess i found it..is this correct?

View attachment 2874985
[Miscellaneous Android Development] rmbq:
yes could be that, but i never had the need to use those files
[Miscellaneous Android Development] roshan2989:
still have the same issue after delete..still the same error..

make ARCH=arm CROSS_COMPILE=/home/preshot2989/toolchains/arm-eabi-4.7/bin/arm-eabi- > compileLog
/home/preshot2989/kernel/android_kernel_samsung_smdk4412/scripts/gen_initramfs_list.sh: Cannot open 'source/usr/galaxys2_initramfs.list'
make[1]: *** [usr/initramfs_data.cpio] Error 1
make: *** [usr] Error 2

i guess because of this "Cannot open 'source/usr/galaxys2_initramfs.list'" should i need to edit the list..?
[Miscellaneous Android Development] rmbq:
You don't need to delete the folder but the string in defconfig, as I said in previous post

EDIT: or check the file in your initramfs folder
[Miscellaneous Android Development] roshan2989:
i just edit my CONFIG_INITRAMFS_SOURCE in config which the path wrong,and im getting this..

preshot2989@preshot2989:~/kernel/android_kernel_samsung_smdk4412$ make ARCH=arm CROSS_COMPILE=/home/preshot2989/toolchains/arm-eabi-4.7/bin/arm-eabi- > compileLog
File source/usr/galaxys2_initramfs_files/busybox could not be opened for reading
line 27
File source/usr/galaxys2_initramfs_files/init could not be opened for reading
line 28
File ../../ramdisk.cpio could not be opened for reading
line 32
File ../../ramdisk-recovery.cpio could not be opened for reading
line 33
make[1]: *** [usr/initramfs_data.cpio] Error 255
make: *** [usr] Error 2
preshot2989@preshot2989:~/kernel/android_kernel_samsung_smdk4412$

here is the Compile LOG View attachment compileLog.txt

sorry if i made any mistake
[Miscellaneous Android Development] rmbq:
i dunno which files are in your folder, why you don't try to replace the line in your defconfig with

CONFIG_INITRAMFS_SOURCE=""

? and see what happen?
[Miscellaneous Android Development] Shahan_mik3:
+1 even I had got the sanlme error while compiling from aosp sources
[Miscellaneous Android Development] roshan2989:
you mean by the deconfig that i copy to root...?

go to "<root>/arch/arm/configs" and copy "<you-device-name>_defconfig" to <root>
rename <you-device-name>_defconfig to ".config"

As you say in OP.i just copy the defconfig to root and rename it..? is that right..?
[Miscellaneous Android Development] mukulsoni:
Hi getting the below error while issueing the comand "make ARCH=arm CROSS_COMPILE=/home/mukul/toolchains/arm-eabi-4.7/bin/arm-eabi- > compileLog". I already copied and renamed <device>_defconfig to ".config" file.

Error:

any help please
[Miscellaneous Android Development] roshan2989:
did you copy to the root (kernel folder)?
[Miscellaneous Android Development] mukulsoni:
yes, I have copied to <root> kernel folder and renamed it to ".config" only.
[Miscellaneous Android Development] Shahan_mik3:
How about dont rename it leave it default and use that name.

Eg

If defconfig name is 9100_defconfig

Than use MAKE 9100_DEFCONFIG
[Miscellaneous Android Development] ##W4TCH0UT##:
You making for which device?
[Miscellaneous Android Development] mukulsoni:
Thanks

Solved that error by executed the command as "make VARIANT_DEFCONFIG=msm8226-sec_ms013g_eur_defconfig msm8226-sec_defconfig"

Now stuck on this command

find ./ -name "*.ko" -exec cp {} <absolute/path/destination/folder> \;

Can anyone please explain the path?

for ms013g
[Miscellaneous Android Development] ##W4TCH0UT##:
You should also run ,

make SELINUX_DEFCONFIG=selinux_defconfig

And that absolute path means the path directly starting from root folder and ending up with the folder you want to store your modules in.
[Miscellaneous Android Development] Shahan_mik3:
Ok i have compiled a zimage successfully from samsung sources.

i need help with this part

*copy in the same folder of "repack.sh" file the stock boot.img and yout zImage, you can find it in <root>/arch/arm/boot.

run the script

where can i find the stock boot image? device i9100
[Miscellaneous Android Development] ##W4TCH0UT##:
That you have to fine yourself. You can find it any of your device's stock based custom ROMs.
[Miscellaneous Android Development] Shahan_mik3:
Thats the prob.... I tried to find it in samsung roms not available.....

But.it is available in aosp roms
[Miscellaneous Android Development] rmbq:
So you are building a kernel for a non existing ROM?
[Miscellaneous Android Development] Shahan_mik3:
M trying to build a kernel for any rom aosp/sammy

Aosp m having errors....but sammy rom thanks to a guys help I compiled and got zimage..

What next??
[Miscellaneous Android Development] rmbq:
so keep the boot.img from a sammy rom and switch zImage
[Miscellaneous Android Development] Shahan_mik3:
But there is no boot image in any sammy roms. In official or custom.
[Miscellaneous Android Development] rmbq:
this guy made a kernel for non samsung rom and he use anyKernel zip (or something like that), so download his kernel, extract the zip, replace his zImage with yours and make another zip file
[Miscellaneous Android Development] Shahan_mik3:
Can I do that? There is a kernel (apolo) can I download the samsung version and replace the zimage?
[Miscellaneous Android Development] rmbq:
that kernel is for samsung (my error xD), btw yes you can
[Miscellaneous Android Development] Shahan_mik3:
Yes that is sammy kernel.but it was discontinued long long ago :D.

Ill try that unzipping and rezipping.

Also what is the use of initramfs?? Other user told it is important?

Edit: unzip change zimage and rezip doesnt work.