Building Kernel for SM-G900F - Galaxy S 5 General

Warning: There is currently no one can say whether this kernel works on the Samsung Galaxy S5! By following these instructions only if you know exactly what you are doing! We are not liable for any damage! Everything is at your own risk!
I have created a script that will help you to create a kernel! This script is for the SM-G900F!
Developers will find in my Github the build scripts. The source can be loaded at Samsung.
Github: https://github.com/HRTGroup/Hacker_Kernel_SM-G900F
You have the following in the file change build_kernel.sh:
Kernel dir
Code:
KERNEL_DIR=/path/to/the/kernel
Toolchain Path
Code:
BUILD_CROSS_COMPILE=/path/to/toolchain
Your defconfig File
Code:
USER_DEFCONFIG=YOUR_defconfig
Copy the boot.img into the kernel folder and run the script "build_kernel.sh".
The new boot.img is created after the build process.
Credits:
Samsung
google
osm0sis
cyanogenmod
kylon

Im willing to test
Sent from my SM-G900F using Tapatalk

Update OP!
Please let me know whether the script works!

So there is no kernel source for the S5 yet?
EDIT:
Just found it
Uploaded the whole kernel source for G900F on my git: Link

@thehacker911 are you having issues with mkbootimg? It seems its not working on mine, it just shows the configuration.
EDIT:
Im using the one from googlesource. If this wont work I'll just use anykernel
EDIT2:
nvm, just found a solution. anyways anyone willing to test a kernel?

Gnome said:
Im using the one from googlesource. If this wont work I'll just use anykernel
Click to expand...
Click to collapse
Link?
Gesendet von meinem SM-G900F mit Tapatalk

thehacker911 said:
Link?
Gesendet von meinem SM-G900F mit Tapatalk
Click to expand...
Click to collapse
I got it. If you can test this please and see if it boots.

It does not boot. Flashing goes from kernel but after the flash starts the phone into download mode.
Gesendet von meinem SM-G900F mit Tapatalk

Related

[Q] Someone can please help me? :(

I want to port a rom to our i9000.
Installation through CWM was successful , but it doesn't come to Bootanimation
The recovery menu works perfectly.
It only gets to the Kernelscreen (Devil-Kernel).
Here a logcat (attached).
Does someone know what the problem is?
Please help
There is something wrong with your video drivers. Where did you take the gpu libs in the rom from?
Gesendet von meinem GT-N7105 mit Tapatalk 2
DerTeufel1980 said:
There is something wrong with your video drivers. Where did you take the gpu libs in the rom from?
Gesendet von meinem GT-N7105 mit Tapatalk 2
Click to expand...
Click to collapse
Could i upload the rom for you to look at it?
I really can't find the mistake..
I tried to replace the libsurfaceflinger.so but still the same.
I don't know if this rom would ever boot up

[KERNEL] Mokee Kernel !!NOT MY WORK!!

NOT MY WORK. THIS IS KERNEL OF MOKEE OS
Hey Guys. I extracted the important things of Mokee OS. Boot image and Modules and i packed them together in a zip. The zip was from iodak v8.
Nothing is compiled from me so there is no source code. Its just packed as Kernel-Only from Mokee OS.
Features:
Smartass v2 Govenor
Gaming Gouvenor
Speed Tweaks from Mokee.
The Kernel performs very well playing games! No zero Lag in Dead Trigger 2. DONT USE SMARTASSV2 it will just turn your 4x in very hot toaster
CM10.2 compatible and no phone fc in newer nightlys! Based on Mokee OS from 26th October
Im not a developer maybe a modder so i cant fix bugs....only way to fix is to repacking it with other modules blabla
Source:
http://forum.xda-developers.com/showthread.php?t=2320141
http://bbs.mfunz.com/thread-708000-1-1.html
Source Code:
https://github.com/MoKee/android_kernel_lge_p880
Every Credits to all the People who added Commits!
ANYKERNEL VERSION ADDED (Thanks to Koush and Thanks to ezet for porting)!
One for me
I would make on of the 31102013 but....the pan baidu load is so damn slow and the faster link has a broken file
Gesendet von meinem LG-P880 mit Tapatalk
Bad News guy.
I think the thread will be closed from Moderator when he see this because no GPL or Source.
I know that is from Mokee but Moderator.
Sent from my Optimus 4X HD using xda premium
Hmm damn i thought it would be okay if i say its all from mokee
I will add the source from the mokee thread so its okay
Gesendet von meinem LG-P880 mit Tapatalk
Nemeziz 56th said:
Bad News guy.
I think the thread will be closed from Moderator when he see this because no GPL or Source.
I know that is from Mokee but Moderator.
Sent from my Optimus 4X HD using xda premium
Click to expand...
Click to collapse
SRC: https://github.com/MoKee/android_kernel_lge_p880
Many thanks will add it to firsr post
Gesendet von meinem LG-P880 mit Tapatalk
DarkFantasy6 said:
Every Credits to Mokee Developers
Click to expand...
Click to collapse
Only Mokee developers? Interesting. I can see commits from more than one developer from 4X HD boards. They should be included too, don't you think?
Just as a general note, pure shares (not developed by the OP) should either go into General section or Themes&Apps (depending on what you are sharing )
But as it is a kernel, we moved it in here, instead of General
And about MoKee in General, well... let's forget about it
laufersteppenwolf said:
And about MoKee in General, well... let's forget about it
Click to expand...
Click to collapse
What do you mean by this
Gesendet von meinem LG-P880 mit Tapatalk
DarkFantasy6 said:
What do you mean by this
Gesendet von meinem LG-P880 mit Tapatalk
Click to expand...
Click to collapse
I mean it's not worth discussing
All the time I have been @ xda, i haven't seen one properly, self-developed kernel.
All kernels I have seen were cherry-picked, and "sold" under their own name
Ahh okay
now i get what you mean
I think that is the shadow side of the the open source things of android and sometimes its the light size
Gesendet von meinem LG-P880 mit Tapatalk
cm10.2
Thanks a lot for this ultra fast Kernel. I just wanted to report that data is not working
Data works on Vanir.
Sent from my Optimus 4X HD using xda premium
Which rom are you using?
In this moment i dont have a internet flat so i cant test it myself :/
Gesendet von meinem LG-P880 mit Tapatalk
I?
Sent from my Optimus 4X HD using xda premium
Sorry the question was for @alberteske
DarkFantasy6 said:
Sorry the question was for @alberteske
Click to expand...
Click to collapse
Thanks DarkFantasy.
It was mentioned in my post: I am using CyanogenMod 10.2, the latest release
alberteske said:
Thanks a lot for this ultra fast Kernel. I just wanted to report that data is not working
Click to expand...
Click to collapse
Data works well in cm 10.2 latest build, try to format cache, dalvik cache and fix permissions
Hmm weird I will try it tomorrow! Maybe i can fix it maybe you can try the anykernel version!
SuperLamic said:
Data works well in cm 10.2 latest build, try to format cache, dalvik cache and fix permissions
Click to expand...
Click to collapse
Before reporting, I did everything but Fixing Permissions. I will try it

[S5 SM-G9009D] Opensource code

S5 SM-G9009D Opensource code (Kernel & Platform) - samsung_opensource
Pako7 said:
S5 SM-G9009D Opensource code (Kernel & Platform) - samsung_opensource
Click to expand...
Click to collapse
wonder what the differences are from G900F...
PlayfulGod said:
wonder what the differences are from G900F...
Click to expand...
Click to collapse
I think what differences 9009D & 900F will be minimal. This is but not 900H (Exynos)
Pako7 said:
I think what differences 9009D & 900F will be minimal. This is but not 900H (Exynos)
Click to expand...
Click to collapse
screw exynos lol
it builds for em all anyhow, msm8974 that is.
PlayfulGod said:
**** exynos lol
it builds for em all anyhow, msm8974 that is.
Click to expand...
Click to collapse
but for me - **** msm8974 because there is no margin of safety, speed and new technologies. But if we will not be officially on exynos devices - will have to take snap
Pako7 said:
but for me - f**k msm8974 because there is no margin of safety, speed and new technologies. But if we will not be officially on exynos devices - will have to take snap
Click to expand...
Click to collapse
exynos sux if you dev tho. lol
PlayfulGod said:
exynos sux if you dev tho. lol
Click to expand...
Click to collapse
possible because is a closed system, but I patcher - and I do not care.
I'm not in the assembly of kernels
Guys can we please cut the expletives? I find you can often express your feelings without resorting to such language... also there are minors on XDA, lets try not to corrupt their minds more than they undoubtedly are already
Jonny said:
Guys can we please cut the expletives? I find you can often express your feelings without resorting to such language... also there are minors on XDA, lets try not to corrupt their minds more than they undoubtedly are already
Click to expand...
Click to collapse
edited mine.
you look at this.
Building Kernel for SM-G900F - http://forum.xda-developers.com/showthread.php?t=2701525
Building Kernel for SM-G900F
Gesendet von meinem Nexus 5 mit Tapatalk
thehacker911 said:
you look at this.
Building Kernel for SM-G900F - http://forum.xda-developers.com/showthread.php?t=2701525
Building Kernel for SM-G900F
Gesendet von meinem Nexus 5 mit Tapatalk
Click to expand...
Click to collapse
nope I just compiled it with cwm and had leo test it lol
I ported the hlte repo of cms over to the klte and edited as needed.
I had to edit the dtbtool/dtbtool.c for dts to get built from src. I also got it to build with prebuilt.
I will look that thread over tho.
I built with make recoveryimage or bootiamge using the cm repo to btw.
i have Make this
https://github.com/HRTGroup/Hacker_Kernel_SM-G900F/blob/master/test_build_sm-g900f.sh
Gesendet von meinem Nexus 5 mit Tapatalk
thehacker911 said:
i have Make this
https://github.com/HRTGroup/Hacker_Kernel_SM-G900F/blob/master/test_build_sm-g900f.sh
Gesendet von meinem Nexus 5 mit Tapatalk
Click to expand...
Click to collapse
yea I seen that and the script included. It didnt build the dtb tho, so I worked on getting it to build with cm.
I do not quite understand what you mean. look at times in the build log from me to you. Kernel: arch / arm / boot / zImage is ready CAT arch / arm / boot / zImage-dtb Kernel: arch / arm / boot / zImage is ready dtb
Gesendet von meinem Nexus 5 mit Tapatalk
thehacker911 said:
I do not quite understand what you mean. look at times in the build log from me to you. Kernel: arch / arm / boot / zImage is ready CAT arch / arm / boot / zImage-dtb Kernel: arch / arm / boot / zImage is ready dtb
Gesendet von meinem Nexus 5 mit Tapatalk
Click to expand...
Click to collapse
it might have been getting the dtb wrote as the dt.img cm wanted, dont recall now. Either way I got it to build
you need ramdisk? I have the ramdisk extracted from the G900F.
and as you prolly noticed the kernel src seems to have everything for the other models except model specific dts file.
Yes I need the Ramdisk.
Gesendet von meinem Nexus 5 mit Tapatalk
thehacker911 said:
Yes I need the Ramdisk.
Gesendet von meinem Nexus 5 mit Tapatalk
Click to expand...
Click to collapse
I attached it to this post.
I have created the image. The kernel was built from the SM-G9009D open source code. This image is not tested! I am not responsible for any damage! This image is for the SM-G900F!
Install:
Code:
adb push boot.img /data/local/tmp/boot.img
Code:
adb shell su -c dd if=/data/local/tmp/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
Use at your own risk:
https://www.dropbox.com/sh/qqoczz3pirxztgv/3n0KF3SiDt
additional information: http://forum.xda-developers.com/showthread.php?t=2701525
thehacker911 said:
I have created the image. The kernel was built from the SM-G9009D open source code. This image is not tested! I am not responsible for any damage! This image is for the SM-G900F!
Install:
Code:
adb push boot.img /data/local/tmp/boot.img
Code:
adb shell su -c dd if=/data/local/tmp/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
Use at your own risk:
https://www.dropbox.com/sh/qqoczz3pirxztgv/3n0KF3SiDt
additional information: http://forum.xda-developers.com/showthread.php?t=2701525
Click to expand...
Click to collapse
I linked leo to one I did earlier too. So hopely one or both boot.
have you information if the kernel works?
Gesendet von meinem Nexus 5 mit Tapatalk

[Q] Problem while installing Paranoid 4.44 and alpha 2.

Hello Friend.
Samunsg galaxy Note N7000
I am using MIUI rom at the moment. I tried to install Paranoid 4.44 and 4.45 alpha 2 by CWM recovery( 6.0.3.2)
But i am getting error
"set metadata recursive some changes failed status 7"
I did factory reset and then tried to install from internal sd but its showing me this error. Please help me and suggest me some solution.
I would be very thankfull to you.
Try update recovery first...
Gesendet von meinem GT-N7000 mit Tapatalk
JulGer01 said:
Try update recovery first...
Gesendet von meinem GT-N7000 mit Tapatalk
Click to expand...
Click to collapse
Update recovery? Ok bro. can you please tell Which is latest recovery version is available for samsung galaxy note?
and can i just flash new recovery file directly from my old recovery ?
You can flash forest kernel afaik. Then reboot recovery. From that you should be able to flash your ROM... Always read first.
http://forum.xda-developers.com/showthread.php?t=2739044
That kernel comes with Philz recovery.
Gets overwritten while flashing your ROM. Updates should be no problems from there. As always, I'm not responsible for any problems. Always have a working backup ready. [emoji6]
Gesendet von meinem GT-N7000 mit Tapatalk
JulGer01 said:
You can flash forest kernel afaik. Then reboot recovery. From that you should be able to flash your ROM... Always read first.
http://forum.xda-developers.com/showthread.php?t=2739044
That kernel comes with Philz recovery.
Gets overwritten while flashing your ROM. Updates should be no problems from there. As always, I'm not responsible for any problems. Always have a working backup ready. [emoji6]
Gesendet von meinem GT-N7000 mit Tapatalk
Click to expand...
Click to collapse
Thanx for replying bro. 1 more thing i want to ask you. ( sorry i am really not much good about this)
I am currently having DDLSC ( baseband or watever). So i can flash that forest kernel right?
That I'm not sure. Sorry. You should ask in that thread...
Gesendet von meinem GT-N7000 mit Tapatalk
Thanx bro.
i installed the lastest recovery form phillz and it solved my problem.
This time with new recovery, no problem occured while flashing the rom. THanx a ton Bro.
Glad if some of my clues could help. ? My best wishes!
Gesendet von meinem GT-N7000 mit Tapatalk

[kernel][emui-5] huawei p10 lite [testers needed!]

Hello! As I compiled a kernel for the Huawei P10Lite with some features contained I would like every user who is unlocked and has TWRP installed to PM me to test my kernel.
Regards,
felix-development
Gesendet von meinem Honor 6X mit Tapatalk
Send me mate
kisvagen said:
Send me mate
Click to expand...
Click to collapse
Please tell me first if you are on stock or custom rom.
Gesendet von meinem Honor 6X mit Tapatalk
Stock lx1c432b198
kisvagen said:
Stock lx1c432b198
Click to expand...
Click to collapse
Then forget it
Gesendet von meinem Honor 6X mit Tapatalk
removed
Ah sad ;( im really want a good stock kernel with various tweaks improvents ...
kisvagen said:
Ah sad ;( im really want a good stock kernel with various tweaks improvents ...
Click to expand...
Click to collapse
You can try my kernel on stock but I can't give any guarantee that it works or even boots.... Just make a Backup of Boot Partition before you flash kernel that you can restore Stock Kernel If something went wrong... Report pls...
Gesendet von meinem Honor 6X mit Tapatalk
U can tell me how make backup of my boot thing? In twrp?
kisvagen said:
U can tell me how make backup of my boot thing? In twrp?
Click to expand...
Click to collapse
Go to Backup - Select Boot - swipe to confirm.
If you want to restore - Go to restore - select your backup you did - swipe to confirm - reboot - done
Gesendet von meinem Honor 6X mit Tapatalk
Oh okay thank u soo much!!! I will report back if its working or if it has some bugs
kisvagen said:
Oh okay thank u soo much!!! I will report back if its working or if it has some bugs
Click to expand...
Click to collapse
It would be great, if Kernel booted for you, to send me a screenshot of your "about phone" (with your IMEI ereased of course) to let me see device model and kernel version
Gesendet von meinem Honor 6X mit Tapatalk
Tried to flash but unsupported device
kisvagen said:
Tried to flash but unsupported device
Click to expand...
Click to collapse
let me check my zip... bbl
Gesendet von meinem Honor 6X mit Tapatalk
kisvagen said:
Ah sad ;( im really want a good stock kernel with various tweaks improvents ...
Click to expand...
Click to collapse
which twrp do you have installed?
Gesendet von meinem Honor 6X mit Tapatalk
3.1.1.2
Here there is that command line in updater script
kisvagen said:
Here there is that command line in updater script
Click to expand...
Click to collapse
If you know how to edit it to pass yourself installation, then do it... i am not at home so otherwise you need to wait
Gesendet von meinem Honor 6X mit Tapatalk
Sadly no What if i make write "match=1" to "match=0" ?
felix-development said:
Hello! As I compiled a kernel for the Huawei P10Lite with some features contained I would like every user who is unlocked and has TWRP installed to PM me to test my kernel.
Regards,
felix-development
Gesendet von meinem Honor 6X mit Tapatalk
Click to expand...
Click to collapse
Hi, i would like to test, using emui 5 based Resurrection remix (by based i mean it has some files such as libs from huawei)

Categories

Resources