How to build kernel from source for Samsung GT S7262 - Android Q&A, Help & Troubleshooting

How to build kernel from source for Samsung GT S7262 . I did the following steps.
1. Download source code from Samsung Open Source Site (opensource.samsung.com/reception.do) for S7262.
2. Build the kernel on my Linux machine.
3. Prepare image with AnyKernel2 (github.com/osm0sis/AnyKernel2).
4. Using TWRP recovery try to install the image on the device. But we are getting error ''Invalid partition setting".
Please help me to build and install the kernel.

Related

[help] compile cwm from source for a new device

The samsung galaxy s wifi/player 3.6 haven't cwm because we have a verry small comunity (3.6 thread : http://forum.xda-developers.com/showthread.php?t=1864741)
I tried to compile cwm 5 from cm7 source while ago and I didn't succeed : a error with a too big size out image.
Today I re-download the cm7 source but too many file are missing.
If a developper can compile for me or help me for create the cwm recovery. You need the dump image of the recovery ?
vendor/core/definition.xxx
delete some limit,will ok

[kernel] Help for compiling

Hi, I downloaded from Samsung GT-I9100_HK_JB_Opensource_Update2 this kernel, I compiled using make u1_defconfig, in the "arch/arm/boot/" I am the zImage file of just 4.3 MB and Image file 9.5 MB. I try to flash but the phone does not start is still written on Samsung I9100 .... What configuration "xxx_deconfig" should I use to compile the kernel for galaxy s2?

Building recovery for simba Sx1

I am following this guide XDA university porting cwm to a new device and I just wonder if I need the same android version of sources as it is on the android phone.
I mean, the phone is running android 4.2 so it is neccecary to download cm 10.1 sources or can I build it using cm 11 sources?
tulen_kobi said:
I am following this guide XDA university porting cwm to a new device and I just wonder if I need the same android version of sources as it is on the android phone.
I mean, the phone is running android 4.2 so it is neccecary to download cm 10.1 sources or can I build it using cm 11 sources?
Click to expand...
Click to collapse
It is not necessary to have the same android source as your device's android version to make cwm. CWM is part of the kernel and not the android system. Your device's kernel will be extracted and the ramdisk will be replaced with cwm ramdisk and after that the kernel will be built with cwm ramdisk then you can use it as recovery.
If you want I can help you out with twrp recovery. I have done it for LG L65 and L70. If you want my help with twrp then please download omni rom sources (manifest: https://github.com/omnirom/android ) or just replace bootable/recovery folder with the omni's one in your cm source tree, get kernel source code for your device or have a boot.img, make sure your device has a recovery partition so recovery is not part of the kernel image as a secondary ramdisk like on samsung devices otherwise I could not help.

Making custom ROM for Samsung Galaxy Ace II ("codina")

Hello everyone!
I'm trying to port Kali Nethunter for my Samsung Galaxy Ace II (codename "codina"). I followed Kali Nethunter porting instructions and finally got zImage file.
After that I was trying to make a boot.img file by splitting CyanogenMod 11 boot.img into 2 parts, replacing 1 with my zImage and repacking it. But the problem is that I can't get ramdisk from boot.img.
If I use boot.img from CyanogenMod, I get error
Code:
Android Magic not found in boot.img. Giving up.
I tried to get it from the official ROM, but it is packed in tar.md5. And I don't know whether I can use that ramdisk with CyanogenMod's files.
How can I finally get working flash zip that can be installed using CWM?
I can't use links yet, so I attached them in links.txt (links to sources, ROMs and instructions that I use).
Thanks for help!

Upgrade kernel

When I was trying to flash nethunter for my samsung grand duos gt-i9082 I had a error kernel is to old :crying:
So Is there a way to upgrade the kernel version my kernel is 3.0.101 and nethunter require 3.4 +

Categories

Resources