Need some help to start kernel coding on Galaxy J5 - Samsung Galaxy J5 Questions & Answers

Hi everybody,
I am new to this forum, so I introduce myself a bit:
I am the owner of a Samsung Galaxy J5 (2015) J500F, bought in India.
running Android 6.0.1 from last official update.
I am a long time linux developer, (more than 20 years), but I have not a lot of experience on android dev,
I have already compiled some kernels for my old wiko phone, and test them successfully...
On my Galaxy J5, I already installed TWRP for 6.0.1, and supersu via TWRP to root it..
my Goal , is to port some of Nethunter kernel patches,
mainly android usb hid keyboard patch ( github.com/pelya/android-keyboard-gadget )
and wifi injection patches also.. this is the basic need for a Nehunter port.. with some kernel .config mods also..
There is already a Galaxy A5 port in Nethunter Github, and it should not be too hard to port nethunter to Galaxy J5 I Think..
Sorry for this lengthy introduction,
So my question is....
From which source code do I have to start to compile a stock kernel for android 6.0.1 for Galaxy J5 (J500F) ?
I found the Nick Verse Repository: github.com/DJSteve/kernel_j500fn_djsteve
thereis also: github.com/Galaxy-J5/samsung_j5_kernel-mm.git (kernel for CyanogenMod 13.0 I think)
ans also: github.com/Galaxy-J5/kernel_samsung_j5lte (kernel for CyanogenMod 12.1 I think)
and other ones laying around.. (MSM8916 samsung released ?? )
so from which kernel source code do I have to start, to build an android 6.0.1 stock kernel for a J500F ????
I want to start from an unmodified kernel, then add each patch one by one, test them, to validate each steps...
I hope some one will have some time to help me

Related

MM Kernel Build Request

Hello All,
I'm from the GrandPrime Forums. Can any of you build a MarshMallow Touchwiz Kernel for our device. Unfortunately, our latest official update had been Lollipop. I've already Build the ROM zip and named it "Galaxy J5 Hybrid"! But i have no progress on building the Kernel. Please, would anyone build the kernel for me?
Regards,
Eden532
Hoping you would help me... to build the MM kernel for my Galaxy Grand Prime.
I bought J5 (2015) yesterday and same as you i really need custom kernel plus i read somewhere about enabling OTG support. Maybe someday some kind developers would build custom kernel especially j500G that always fallen behind.
Samir96 said:
I bought J5 (2015) yesterday and same as you i really need custom kernel plus i read somewhere about enabling OTG support. Maybe someday some kind developers would build custom kernel especially j500G that always fallen behind.
Click to expand...
Click to collapse
I mislead you i guess so. Im requesting MM kernel build for GP and not J5. :/
Eden532 said:
I mislead you i guess so. Im requesting MM kernel build for GP and not J5. :/
Click to expand...
Click to collapse
Link for Kernel Source Code:https://github.com/Bulgaricus/android_kernel_samsung_msm8916
For build it ask to Grand Prime Dev
(The source works with Nougat and Marshmallow)

Samsung S8+/s8 kernel source code

Open source kernel for s8/s8+ is finally available for download. ROM DEVELOPMENT can start anew!
https://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=G955F
Samsung releases Galaxy S8/S8+ Oreo kernel sources
G950FXXU1CRAP
SM-G950F_OO_Opensource.zip
https://mega.nz/#!ZlkRlLaY!t-urLzWRV-ez7GkWc7NAl9BTiFD2UE_sXJJBw9wH3xw
G955FXXU1CRAP
SM-G955F_OO_Opensource.zip
https://mega.nz/#!w0EyWIIJ!P-DissAwpGYVe3ALNfrp69Ima4H66QzfDmeveOGAEJo
is remove
I need Nethunter Kernel for my Galaxy S8. Can anyone help me???

[Request][Porting Kernel]Hammerhead NethunterOS 14.1 to hlte 14.1

I am trying Nethunter on galaxy Note 3.My Original plans were to get a Nexus 5 but due to shortage(Or being Nonexistant in my country)I was finding a same device with identical chipset WiFi card etc and I matched Samsung Galaxy Note 3 with identical hardware.Now I am trying the nethunter on CM 13 with Internal monitor mode support from NEXMON but the only problem is that I am getting a Kernel Panic Which Reboots the device when I enable monitor mode on any script.The kernel requires a patch to fix it.So,I wanted to request Anybody Out there to port the
hammerhead NethunterOS CM 14.1 kernel or the marshmallow Hammerheadmon to hlte Cm or lineage.Or you can Point me in direction to porting kernel but I must mention that I don't have a PC and would have to borrow one which I would've to return very soon.I can provide you with links to both kernel Imgs But I guess you can find it yourself.
Sent from my SM-N9005 using Tapatalk
Can you port it?

(question) how to upgrade device tree?

I have a Samsung Galaxy A7 2015 (A700FD). The phone is currently in Android 6.0 and there are no more upgrades for it. I wanted to upgrade to Android Oreo or Pie, so I did some research How to Build a Custom Rom, and everything worked out except the device tree compatible. I found a GitHub thread for A700FD but the device kernel is for CM12/Andoid Marshmallow. I need a guide on how to upgrade the device kernel to oreo or pie. I would like to continue developing for A700FD device. Anyone know how to upgrade a device tree. Doesn't matter the device you are using, I just need the procedures. Thanks!

How to create HID PATCHES AND NETHUNTER KERNEL for galaxy grand prime g530h fortunav

Hey, dev i have request .. Can anyone say how to build a fully functional nethunter kernel and hid patches for galaxy grand prime G530H ?
Codename : fortunave3g
Pls help me to compile it..
Thanks in advance

Categories

Resources