Cyanogenmod defconfig for kernel - Samsung Galaxy Star

Hey guys can ny 1 tell me what changes do we have to make to compile a kernel for cyanogenmod?? I know that cyanogenmod requires somekernel tweaks in the stock defconfig.. So how do we make a cyanogenmod defconfig??? What changes do we have to make in the
Code:
make menuconfig
Dialogue?
Please reply guys... Im usig a samsung galaxy star pro...

Btw i got my answer! Thanks k2wl bro! He told me to get the config.gz file from /proc partition and extract it..
Code:
adb pull /proc/config.gz
And extract the file... So a .config file will be obtained.. We have to rename it as
Code:
cyanogenmod_(device name)_defconfig
That can be used by us for compiling cm upto jb 10.2... For kitkat, u need to edit it with a linux program (make menuconfig) included in kenel source and enable selinux.. I dont know hw to do that as of now.. so compiling cm10.2 for star pro s7262

regalstreak said:
Btw i got my answer! Thanks k2wl bro! He told me to get the config.gz file from /proc partition and extract it..
Code:
adb pull /proc/config.gz
And extract the file... So a .config file will be obtained.. We have to rename it as
Code:
cyanogenmod_(device name)_defconfig
That can be used by us for compiling cm upto jb 10.2... For kitkat, u need to edit it with a linux program (make menuconfig) included in kenel source and enable selinux.. I dont know hw to do that as of now.. so compiling cm10.2 for star pro s7262
Click to expand...
Click to collapse
thanks for the info man. I would've not known about that.

twilighttony said:
thanks for the info man. I would've not known about that.
Click to expand...
Click to collapse
Lmao that was 3 years old. Now i have my own ROM (http://halogenos.org) haha

regalstreak said:
Lmao that was 3 years old. Now i have my own ROM (http://halogenos.org) haha
Click to expand...
Click to collapse
is it based on LineageOS/cm? if so i would totally build for it for my axon7.

twilighttony said:
is it based on LineageOS/cm? if so i would totally build for it for my axon7.
Click to expand...
Click to collapse
Based on CAF and some parts are from AOSP. Would love to have a dev for axon 7. We have a team member who badly needs a build for it xD
Just telegram me telegram.me/regalstreak We will discuss!

regalstreak said:
Based on CAF and some parts are from AOSP. Would love to have a dev for axon 7. We have a team member who badly needs a build for it xD
Just telegram me telegram.me/regalstreak We will discuss!
Click to expand...
Click to collapse
I had gotten a kinda working build after writing this, but I got shat on by the other team members on telegram so i left. Such elitism. We can discuss still if you want. Sorry, I've been very busy.

Related

[Q] How to build Android 4.0.4_r2.1 from source /w official Samsung source

Hi folks,
i am new to android development and I successfully compiled 'full-eng' for testing. :victory:
Is it possible to build 'android-4.0.4_r2.1' with the official Samsung opensource 'GT-I9100_ICS_Opensource_Update4.zip' package or do I need (to code) something more?
On github I just found some older "android_device_samsung" repositories and the one for CM9.
I did not find any guide in the S2 and Android forums (just one for compiling CM9).
The samsung readme give only the instructions to add two more libs and overwrite the 'full-eng' folders if wanted.
A guide or some tipps would be awesome, because compiling took 6+ hours on my computer. :crying:
thanks in advance
push
100+ Views and nobody knows?
Nope, but grats on compiling what you have!
Sorry but i have no idea, i downloaded the source but i haven't compiled it yet
push
TheStickMan said:
Nope, but grats on compiling what you have!
Click to expand...
Click to collapse
thanks! maybe i will print it out and put it on my wall :laugh:
i am still reading,reading and did i say i am reading a lot? :silly:
All you would have to do is copy the proprietary files from latest cm9 rom and use the kernel from cm9. I'll create a tutorial tommorow if I'm up to it.
Sent from my GT-I9100 using Tapatalk 2
would be great, thanks! :good:

[ROM][4.2.2][WIP]Galaxy Star CM-10.1[Unofficial]

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.2.2 JB, which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Downloads
Latest Build:
2/9/14
Link Removed
Gapps - Not needed until build is completely fixed.
Installation
- First time flashing CM-10.1 ROM?
Download Rom to sdcard.
Reboot into Recovery
WIPE: (wipe data/factory reset + wipe cache + dalvik cache partition)
Install the ROM
Working
Gralloc is currently crashing surfaceflinger
Not working
Almost everything due to force closes.
Changelog:
20140209
Updated device tree.
Built hwcomposer and gralloc from source code based on comoyo device tree.
20140208
Initial release with significant changes.
Previous builds:
Taking a logcat on these builds:
As soon as the bootanimation begins to play execute below command via terminal
or command prompt with adb installed for Windows. Upload the file it makes which is logcat.txt
Code:
adb logcat -d > logcat.txt
Special Thanks
Comoyo https://github.com/comoyo for commits for spreadtrum
batman38102 , sambathpkr , and Archit
This is a test build thanks to everyone for helping me
Source (Branch cm-10.1)
https://github.com/CM-SPRD
https://github.com/CyanogenMod
Dude i will help u as much i can. Currently i even didnt own this device Feel free to ask for any support.
Sent from my GT-9505i using Tapatalk
Building now hopefully it boots with more working things after some massive changes I've did a lot of research about this stuff
https://github.com/TeamRegular/android_device_samsung_mint/commits/cm-10.1
Unjustified Dev said:
Building now hopefully it boots with more working things after some massive changes I've did a lot of research about this stuff
https://github.com/TeamRegular/android_device_samsung_mint/commits/cm-10.1
Click to expand...
Click to collapse
Hoping For a Stable Build......:good:
yup we are with u
just keep up the work we really need a cm for our phones by now
let us know for any help ofcourse:laugh::good:
And it's off to building again build had failed previously and now I am able to produce a working cwm as well .
Here's a little surprise same instructions from DOC thread
cm-10.1
http://goo.gl/ZoIYcr
Unjustified Dev said:
And it's off to building again build had failed previously and now I am able to produce a working cwm as well .
Here's a little surprise same instructions from DOC thread
cm-10.1
http://goo.gl/ZoIYcr
Click to expand...
Click to collapse
So for which version of cwm u r porting for s5282
Sent from my GT-9505i using Tapatalk
rahulsinghal said:
So for which version of cwm u r porting for s5282
Sent from my GT-9505i using Tapatalk
Click to expand...
Click to collapse
Same one. My issue was my kernel . I did not want to release a build that would get stuck on bootlogo I had batman test recovery to make sure it worked we got it working by pulling defconfig from the device.
https://github.com/TeamRegular/andr...mmit/e8bb5520806d9028a50acf03daf3a1a29a1de8f5
Now I am actually porting twrp since they added a new 240 theme
Unjustified Dev said:
Same one. My issue was my kernel . I did not want to release a build that would get stuck on bootlogo I had batman test recovery to make sure it worked we got it working by pulling defconfig from the device.
https://github.com/TeamRegular/andr...mmit/e8bb5520806d9028a50acf03daf3a1a29a1de8f5
Now I am actually porting twrp since they added a new 240 theme
Click to expand...
Click to collapse
Nice work. Keep it up
Sent from my GT-9505i using Tapatalk
rahulsinghal said:
Nice work. Keep it up
Sent from my GT-9505i using Tapatalk
Click to expand...
Click to collapse
No ones going to test my cm build?
Unjustified Dev said:
No ones going to test my cm build?
Click to expand...
Click to collapse
Dude i will surely test your cm build but i cant bcoz i dont own this device now. Let me ask from @batman38102
Sent from my GT-9505i using Tapatalk
Unjustified Dev said:
No ones going to test my cm build?
Click to expand...
Click to collapse
Hey i'm going to test it.but downloading is not working.it says some 509 error
sambathpkr said:
Hey i'm going to test it.but downloading is not working.it says some 509 error
Click to expand...
Click to collapse
Go for it dude. Hope it works better than previous one
Sent from my GT-9505i using Tapatalk
rahulsinghal said:
Go for it dude. Hope it works better than previous one
Sent from my GT-9505i using Tapatalk
Click to expand...
Click to collapse
DONT FLASH IT. It boots but everything force closing so PLEASE DO NOT FLASH IT
problem
I tested it.it booted successfully.but it has issues
1. systemui unfortunately stopped.
2. Unfortunately cyanogenmod cannot be created.
it does not even goes to launcher.:crying:
Unjustified Dev said:
Hi , I am developer I do not own this device. I will attempt at my best to provide a working build on cm-10.1 and maybe we can go even further. If you are able to donate a phone that will speed up the process if not it's ok . I will only work on this on weekends. I ask that anyone interested in helping me please PM me and get on hangouts. I will not be able to chat much nor always answer post. I am not the best developer , but i should be able to fix some things even without the device.
Device source same as the one used to build booting cm-10.1 soon to be rewritten
https://github.com/TeamRegular/android_device_samsung_mint
Kernel source
https://github.com/TeamRegular/android_kernel_samsung_mint
vendor
https://github.com/TeamRegular/android_vendor_samsung_mint
Click to expand...
Click to collapse
Dude note that only deodexed rom seems to work fine on this device
Sent from my GT-9505i using Tapatalk
rahulsinghal said:
Dude note that only deodexed rom seems to work fine on this device
Sent from my GT-9505i using Tapatalk
Click to expand...
Click to collapse
I am using odexed like DOC. Look at my commit. I am not using software rendering. I have the actual egl and gpu blobs working. I added audio blobs and more. Doc had no proprietary files and it had no reason to force close.
https://github.com/TeamRegular/android_device_samsung_mint/blob/cm-10.1/BoardConfig.mk#L111
Unjustified Dev said:
I am using odexed like DOC. Look at my commit. I am not using software rendering. I have the actual egl and gpu blobs working. I added audio blobs and more. Doc had no proprietary files and it had no reason to force close.
https://github.com/TeamRegular/android_device_samsung_mint/blob/cm-10.1/BoardConfig.mk#L111
Click to expand...
Click to collapse
so r we at a dead end??
hey and i checked the link you sent me
and m not a develpoer so i dint understand a thing:silly:
but some data as i understand it is probably wrong
for eg the device resolution is 240x320
u mite have written it for a reason but i thot i should point out
again i am no developer i just want to help
@rchit said:
so r we at a dead end??
hey and i checked the link you sent me
and m not a develpoer so i dint understand a thing:silly:
but some data as i understand it is probably wrong
for eg the device resolution is 240x320
u mite have written it for a reason but i thot i should point out
again i am no developer i just want to help
Click to expand...
Click to collapse
That's correct unless you were looking at twrp they don't have a 240x320 theme yet. I am not working on this as it's a school day I will only work on free days and weekends.
Sent from my SPH-D710 using Tapatalk
Unjustified Dev said:
That's correct unless you were looking at twrp they don't have a 240x320 theme yet. I am not working on this as it's a school day I will only work on free days and weekends.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
ok cool do u think u can build us a stable recovery and cm
and i know you might be getting a lot of msgs but can u give us an estimate time for a stable build??
thanks a lot for ur help really appreciate it

[ROM][PORT][MAKO > HUASHAN]PA 3.99 (currently not booting!)

Hello everyone!
I present to you a paranoid android 3.99 port for our Xperia SP
Changelog:
V2: Device no longer hard reboots on bootanimation
V1: initial release
BUGS:
V2: Device doesn't boot (stuck on bootanimation and ADB offline)
V1: Device doesn't boot (hard reboot after 10 seconds of showing splash screen)
Download: PA_HUASHAN_V2
Now as you can see this ROM port is not booting but at least it doesn't do a hard reboot anymore! Currently I have no ADB access as it is listed as offline when doing: ADB devices of course I can't figure out the problem myself so I'm asking you guys for help. Since there is no logcat I know that it might be nasty to determine the problem and where the phone stops booting. I hope you guys can help me get this ROM to boot so we will finally have a working PA rom
thanks to: @-NickHalden- for his nice guide on how to port ROM's
@FXP for the base rom (cm10.2)
and the paranoid android team for the ROM that was ported (pa 3.99 from nexus 4)
Why don't you simply build from source?
kamarush said:
Why don't you simply build from source?
Click to expand...
Click to collapse
I'm trying that as well but i'm having some issues getting these files working
<device>.adds
<device>.removes
pa_<device>.conf
pa_<device>.mk
If I could easily get/make these files a source build would already be here
Do you have a idea on how to create these files? or where I can get them?
for example for the .adds file I need something like this (this comes from nexus 4)
https://github.com/ParanoidAndroid/android_vendor_pa/blob/jb43/manifests/mako.adds
It's pretty simple
Adds and removes are the repos what you need and don't need. About the makefiles. You can simple use the mako files as base, only need to change the values to match for our device.
kamarush said:
It's pretty simple
Adds and removes are the repos what you need and don't need. About the makefiles. You can simple use the mako files as base, only need to change the values to match for our device.
Click to expand...
Click to collapse
OK this is the .adds file I just made can you take a look at it?
huashan.adds
kamarush said:
Why don't you simply build from source?
Click to expand...
Click to collapse
A long ago, i dont have see you on xda....
now you've back....great master
OK guys PA is currently building from source! now let's prepare to wait a long time xD
noahvt said:
OK this is the .adds file I just made can you take a look at it?
huashan.adds
Click to expand...
Click to collapse
This file will be almost the same as the cm dependencies. So this isn't good.
Levered said:
A long ago, i dont have see you on xda....
now you've back....great master
Click to expand...
Click to collapse
Yeah was long time ago i just bought this device a week ago. I just came back to Sony from Samsung
noahvt said:
OK guys PA is currently building from source! now let's prepare to wait a long time xD
Click to expand...
Click to collapse
@kamarush
damn I ran into some building issues already (hopefully nothing to serious)
Lunching device
build/core/product_config.mk:231: *** device/sample/products/pa_huashan.mk: PRODUCT_NAME must be defined.. Stop.
Device huashan not found. Attempting to retrieve device repository from ParanoidAndroid Github (http://github.com/ParanoidAndroid).
Repository for huashan not found in the ParanoidAndroid Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:231: *** device/sample/products/pa_huashan.mk: PRODUCT_NAME must be defined.. Stop.
** Don't have a product spec for: 'pa_huashan'
** Do you have the right repo manifest?
i'll upload my "pa_huashan.mk" file: https://mega.co.nz/#!gZESjTKQ!ESlhCwWQROoh53SFYJ5vqyA177o5jqZdy9V688BWUNs
EDIT: I modified my huashan.adds file
EDIT2: I really needs some help with this! I'm familiar with the compiling process of cyanogenmod but this is a whole new story
I'm a huge fan of PA, I hope this one for our SP will progress nicely. Keep up the good work devs. Currently on CM coz stock is too laggy on my one.
Tapatalked from my Xperia P
noahvt said:
@kamarush
damn I ran into some building issues already (hopefully nothing to serious)
Lunching device
build/core/product_config.mk:231: *** device/sample/products/pa_huashan.mk: PRODUCT_NAME must be defined.. Stop.
Device huashan not found. Attempting to retrieve device repository from ParanoidAndroid Github (http://github.com/ParanoidAndroid).
Repository for huashan not found in the ParanoidAndroid Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:231: *** device/sample/products/pa_huashan.mk: PRODUCT_NAME must be defined.. Stop.
** Don't have a product spec for: 'pa_huashan'
** Do you have the right repo manifest?
i'll upload my "pa_huashan.mk" file: https://mega.co.nz/#!gZESjTKQ!ESlhCwWQROoh53SFYJ5vqyA177o5jqZdy9V688BWUNs
EDIT: I modified my huashan.adds file
EDIT2: I really needs some help with this! I'm familiar with the compiling process of cyanogenmod but this is a whole new story
Click to expand...
Click to collapse
Just need to update/add pa_huashan to the pa vendor makefiles.
@kamarush
Remember you in developing the Xperia line 2011. Glad to see it with our Xperia SP. Some project in mind?
[QOUTE]Yeah was long time ago i just bought this device a week ago. I just came back to Sony from Samsung [/QUOTE]
Great, i really want rom by you. i hope you can make it soon..:good:
OK guys the build has started again! All my previous problems were caused by syncing the old repo (github.com/paranoidandroid) instead of the new one (github.com/AOSPA-legacy) if you get errors like I did try and use the new source (repo init -u git://github.com/AOSPA-legacy/manifest.git -b kitkat)
Just letting you guys know that this project isn't dead
noahvt said:
OK guys the build has started again! All my previous problems were caused by syncing the old repo (github.com/paranoidandroid) instead of the new one (github.com/AOSPA-legacy) if you get errors like I did try and use the new source (repo init -u git://github.com/AOSPA-legacy/manifest.git -b kitkat)
Just letting you guys know that this project isn't dead
Click to expand...
Click to collapse
When you port AOSPA to unlocked Bl's, could you make a version for locked BL's?
MrSteve555 said:
When you port AOSPA to unlocked Bl's, could you make a version for locked BL's?
Click to expand...
Click to collapse
I'm already using the locked bootloader vendor blobs
Sent from my C5303 using XDA Free mobile app
noahvt said:
I'm already using the locked bootloader vendor blobs
Sent from my C5303 using XDA Free mobile app
Click to expand...
Click to collapse
That's really good. :thumbsup: One last question, why aren't you porting the latest PA(4+)?
MrSteve555 said:
That's really good. :thumbsup: One last question, why aren't you porting the latest PA(4+)?
Click to expand...
Click to collapse
I am now! I forgot to tell you that the version updated this ROM will now be 4.4.2 kitkat!
@kamarush still getting product name not defined but build started! I'll finish it tomorrow
Sent from my C5303 using XDA Free mobile app
noahvt said:
I am now! I forgot to tell you that the version updated this ROM will now be 4.4.2 kitkat!
@kamarush still getting product name not defined but build started! I'll finish it tomorrow
Sent from my C5303 using XDA Free mobile app
Click to expand...
Click to collapse
It's really good! If you finish the build tomorrow, I'll flash it right away . I loved PA on my N7, and I think it's the one of the best ROM's on xda. Hopefully PA won't have that annoying freeze bug.
MrSteve555 said:
It's really good! If you finish the build tomorrow, I'll flash it right away . I loved PA on my N7, and I think it's the one of the best ROM's on xda. Hopefully PA won't have that annoying freeze bug.
Click to expand...
Click to collapse
Unfortunately it probably will have the freeze bug as it's based on the vendor blobs that bagyusz uses
Sent from my C5303 using XDA Free mobile app

[Kernel Source / Tutorial] Custom Kernel 101

This thread is NOT for general Q & A about using the kernel or configuring a specific version.
This thread IS for sharing source code or attempting to apply debugging to code changes.
In English: This is what a development thread really looks like. No downloads, No user manual.
Note to Mods: OT is welcome, so long as it is relevant to the kernel developer experience
Building the kernel 101:
A clean branch with only the build tools, ramdisks, and MacOS updates is at:
https://github.com/StarKissed/starkissed-kernel-trlte/tree/master
The stockish branch adds Linux patches, mainline updates, and SELinux mods
The deported branch is the customized version described in the OP feature list
You are going to need a few things, especially if building this kernel for MacOS.
GCC 4.7 (This is the version Samsung's documentation listed)
An updated mkbootimg (Must have DTS support)
A dtbtool (Included in the source, but only for Linux)
Insomnia (Not a requirement, but it will help you in the long run)
For MacOS, the tools are available from the following repositories:
https://github.com/StarKissed/android-toolchain-eabi-4.7
https://github.com/StarKissed/starkissed-build-tools
Let's jump ahead a moment for those of you who have built kernels and notice your boot.img is only around 11 MB while the versions you see listed here are all roughly 14 MB. This is where the new mkbootimg and dtbtool are necessary.
Attempting to retrieve the commandline arguments from the boot.img will not tell you one important piece:
Code:
./dtbtool -o dt.img -s 4096 -p ../scripts/dtc/ ../arch/arm/boot/dts/
chmod a+r dt.img
mkbootfs (ramdisk creation)
mkbootimg (mkbootimg params) --dt dt.img
This takes the DTSI that was built into a dtb as one of the first steps in the compile process and turns it into an image that is appended to the end of the boot.img. The dt.img just happens to be about 3 MB. (11 MB + 3 MB = 14 MB)
If you grabbed the original Samsung kernel source, you may notice that their default compile script directs the build to an "out" folder in the root of the kernel directory.
The obvious advantage to this is that their clean command runs into some errors, so the clean process is simply deleting the "out" folder and making a new one.
This doesn't work for a lot of the custom components you may want to add to your kernel, though. Some modifications, such as intelli-thermal, rely on a subdirectory that is referenced in the Makefile.
Building to this out folder will result in an error because it cannot find the output of that component, but building in the tree, or actual source, will also result in an error. The lesser of two evils is to fix in-tree builds.
Code:
Instructions for TRACE_INCLUDE_FILE in include/trace/define_trace.h say
"the path is relative to define_trace.h, not the file including it".
Fix in-tree compilation by making the path relative to define_trace.h.
What this means is that when you have a line that refers to the TRACE_INCLUDE_PATH or an include reference to a file that uses a relative location instead of a global, these need to be updated
The only two files that currently require updates in the stock source code are
Code:
drivers/scsi/ufs/ufs_test.c
#include -> #include "../sd.h"
and
Code:
drivers/video/msm/mdss/mdss_mdp_trace.h
#define TRACE_INCLUDE_PATH . -> #define TRACE_INCLUDE_PATH ../../drivers/video/msm/mdss/
If you want to be able to debug your kernel, you will need to enable last_kmsg.
Open up the arch/arm/configs/apq8084_sec_defconfig and add
Code:
CONFIG_SEC_DEBUG_NOCACHE_LOG_IN_LEVEL_LOW=y
CONFIG_PRINTK_PROCESS=y
CONFIG_SEC_DEBUG_LOW_LOG=y
More to come soon...
This is a great idea!
Looking fwd to seeing this thread take off...it will be very interesting for sure.
Sent from my SM-N910W8 using Tapatalk 2
@ktoonsez im back ready to play my man 
 @twistedumbrella my man i hope i dont become a ball buster on this thread but i have the 1st 2 questions on this thread:
1. How do you patch your kernels? (i use the p1 command.. is there another way?)
2. How did you manage to make the OC values show?
Disclaimer: I may have a lot of follow up questions
friedrich420 said:
@ktoonsez im back ready to play my man
@twistedumbrella my man i hope i dont become a ball buster on this thread but i have the 1st 2 questions on this thread:
1. How do you patch your kernels? (i use the p1 command.. is there another way?)
2. How did you manage to make the OC values show?
Disclaimer: I may have a lot of follow up questions
Click to expand...
Click to collapse
I use git am -3 so that any issue defaults to a merge then git mergetool to resolve it.
Switching the index in the dtsi that was modified was the only change to show it that I remember needing.
https://github.com/StarKissed/stark...mmit/695abe187620acf513b33237042925d60a99f0c1
friedrich420 said:
@ktoonsez im back ready to play my man
@twistedumbrella my man i hope i dont become a ball buster on this thread but i have the 1st 2 questions on this thread:
1. How do you patch your kernels? (i use the p1 command.. is there another way?)
2. How did you manage to make the OC values show?
Disclaimer: I may have a lot of follow up questions
Click to expand...
Click to collapse
Im back too.
ktoonsez said:
Im back too.
Click to expand...
Click to collapse
right on
any thoughts my man?
friedrich420 said:
right on
any thoughts my man?
Click to expand...
Click to collapse
Im in the process of just starting over from the "F" source and looking for testers on INTL thread. I wish I didnt have to start over but looks like Im going to have to
ktoonsez said:
Im in the process of just starting over from the "F" source and looking for testers on INTL thread. I wish I didnt have to start over but looks like Im going to have to
Click to expand...
Click to collapse
we know for sure that your source without bfq works fine... now its a matter of figuring out what of all the additions from yesterday's source to today's source caused the bootloop..
friedrich420 said:
we know for sure that your source without bfq works fine... now its a matter of figuring out what of all the additions from yesterday's source to today's source caused the bootloop..
Click to expand...
Click to collapse
I wonder if its any of the top 4 commits from here:
https://github.com/ktoonsez/KTNOTE4/commits/tw4.4?page=2
ktoonsez said:
I wonder if its any of the top 4 commits from here:
https://github.com/ktoonsez/KTNOTE4/commits/tw4.4?page=2
Click to expand...
Click to collapse
give me a little bit of time and ill revert it manually and compile again the one i compiled in the afternoon (your morning)
I got lost in Freedom Wars for a bit. I need to figure out an issue with thermal then I'll be back
friedrich420 said:
give me a little bit of time and ill revert it manually and compile again the one i compiled in the afternoon (your morning)
Click to expand...
Click to collapse
Here is a test one starting all over again, just has OC and Voltage control:
http://ktoonsez.jonathanjsimon.com/note4/TW/KT-NOTE4-KK4.4-TW-N910-11.13.2014D.zip
ktoonsez said:
Here is a test one starting all over again, just has OC and Voltage control:
http://ktoonsez.jonathanjsimon.com/note4/TW/KT-NOTE4-KK4.4-TW-N910-11.13.2014D.zip
Click to expand...
Click to collapse
Unfortunately same bahavior my man..
friedrich420 said:
Unfortunately same bahavior my man..
Click to expand...
Click to collapse
LOL, really? I just had 3 people boot up successfully, finally. You have the "F" or the "G"?
EDIT:
The guy I am testing with has the "G".
ktoonsez said:
LOL, really? I just had 3 people boot up successfully, finally. You have the "F" or the "G"?
Click to expand...
Click to collapse
the F...
friedrich420 said:
the F...
Click to expand...
Click to collapse
Just edited my post above, the guy that is answering me quick has the "G". Now Im really getting PISSED!!!!!!!!!! WTH!!
ktoonsez said:
Just edited my post above, the guy that is answering me quick has the "G". Now Im really getting PISSED!!!!!!!!!! WTH!!
Click to expand...
Click to collapse
Did anyone diff the ramdisk? If not, I can throw the two in git and see if anything lights up. I have the visual editor for Mac for exactly that.
ktoonsez said:
Just edited my post above, the guy that is answering me quick has the "G". Now Im really getting PISSED!!!!!!!!!! WTH!!
Click to expand...
Click to collapse
this may or may not confuse you more...
i made a test git repository : https://github.com/friedrich420/Note4-AEL-Kernel2
all i did was cherry pick your oc and voltage control commits..
It booted im running it @2.99ghz right now and its fine...
Could it be that you need the F source my man?
twistedumbrella said:
Did anyone diff the ramdisk? If not, I can throw the two in git and see if anything lights up. I have the visual editor for Mac for exactly that.
Click to expand...
Click to collapse
I started with stock N910F ramdisk in version "C", version "D" went back to my original universal ramdisk you can try the "C" and see if anything changes:
http://ktoonsez.jonathanjsimon.com/note4/TW/KT-NOTE4-KK4.4-TW-N910-11.13.2014C.zip
friedrich420 said:
this may or may not confuse you more...
i made a test git repository : https://github.com/friedrich420/Note4-AEL-Kernel2
all i did was cherry pick your oc and voltage control commits..
It booted im running it @2.99ghz right now and its fine...
Could it be that you need the F source my man?
Click to expand...
Click to collapse
That is exactly what I just merged in so the "D" that wont boot for you is pretty much the same thing, lol. See what happens on the "C" version which is stock N910F ramdisk.

N915F kernel with SeLinux Permissive - done

Hello,
This is a stock SeLinux permissive kernel and init.d activated for Samsung Galaxy Note Edge (N915F) for Lollipop 5.0.1.
There are inputs that is working also on N915FY.
The kernel was compiled from Samsung source LL_CIS kernel using Google toolcahin v4.8.
If you want to test it, please flash in cwm the attached file and report back. Please make a backup of your actual kernel (boot.img) befor flashing this one.
Special thanks to @Micky387 who advised me to update the source kernel (MH driverI), @Wuby986 for his support and guidance and @daxgirl for his advices.
My kernel source for N915F (N915FOXE1BOC6) is here.
Happy flashing.
PS. Kernel updated. Same functionality but some different info in "About".
Well you got further than I did .. Kept getting some driver file referenced so it would not complied.. Thanks for effort I hope you work it out soon.. Unfortunately I don't have time at the moment ..
starbucks2010 said:
Hello,
Since few days I struggle to build a SeLinux permissive kernel for Samsung Galaxy Note Edge with Lollipop 5.0.1 but without success. Or with partial success.
I followed several guides from xda and other sites but it seems that everyone has his different way of doing it.
What I have done so far:
- I installed Ubuntu 14.04 with all updates and apt-get xxx
- I installed the Google toolchain arm-eabi-4.8
- I Installed Samsung kernel source for N915F_CIS from here
- I changed the path to the toolchain in Makefile and build_kernel.sh
- I run from kernel source folder: ./build_kernel.sh
- After 10-15 min of compilation I get a zImage file in //output/arch/arm/boot of ~ 9.8 Mb
- Using Android Image Kitchen v2.2 I integrated the zImage into a boot.img to be flashed with cwm
I flashed this new boot.img but the phone is rebooting every minute and in about I have "unknown"as baseband.
Anyone have an idea how to fix this?
Thank you in advance.
Click to expand...
Click to collapse
hi man. How are you ?
So many thing are change in lollipop . the modem and firmware modem dont call same as KK ROM.
So be sure you are this commit https://github.com/CyanogenMod/andr...mmit/784aa9a84b77090fa591bff77045341c3e3c6293
and add MHI module into tblte_defconfig
https://github.com/CyanogenMod/andr...mmit/1dd44659ee26c2d8b313c1346192e2bfa2ac7bb9
dont delete 18 and 19 line if you build for TW rom .
Try and report
micky387 said:
hi man. How are you ?
So many thing are change in lollipop . the modem and firmware modem dont call same as KK ROM.
So be sure you are this commit https://github.com/CyanogenMod/andr...mmit/784aa9a84b77090fa591bff77045341c3e3c6293
and add MHI module into tblte_defconfig
https://github.com/CyanogenMod/andr...mmit/1dd44659ee26c2d8b313c1346192e2bfa2ac7bb9
dont delete 18 and 19 line if you build for TW rom .
Try and report
Click to expand...
Click to collapse
Bonjour Mickey,
Thank you for your advice. I'll try it and let you know how it goes. Do you know if I have to flash also the modules together with the new kernel or only the boot.img alone ?
Merci.
starbucks2010 said:
Bonjour Mickey,
Thank you for your advice. I'll try it and let you know how it goes. Do you know if I have to flash also the modules together with the new kernel or only the boot.img alone ?
Merci.
Click to expand...
Click to collapse
No need to flash module. The MHI module will be in the kernel so you have boot.img with all inside.
starbucks2010 said:
Hello,
Since few days I struggle to build a SeLinux permissive kernel for Samsung Galaxy Note Edge with Lollipop 5.0.1 but without success. Or with partial success.
I followed several guides from xda and other sites but it seems that everyone has his different way of doing it.
What I have done so far:
- I installed Ubuntu 14.04 with all updates and apt-get xxx
- I installed the Google toolchain arm-eabi-4.8
- I Installed Samsung kernel source for N915F_CIS from here
- I changed the path to the toolchain in Makefile and build_kernel.sh
- I run from kernel source folder: ./build_kernel.sh
- After 10-15 min of compilation I get a zImage file in //output/arch/arm/boot of ~ 9.8 Mb
- Using Android Image Kitchen v2.2 I integrated the zImage into a boot.img to be flashed with cwm
I flashed this new boot.img but the phone is rebooting every minute and in about I have "unknown"as baseband.
Anyone have an idea how to fix this?
Thank you in advance.
Click to expand...
Click to collapse
Wait one more day..
Or maybe earlier
Finally done.
Make backup of your actual kernel, flash the attached zip from post 1in cwm and please report back.I didn't check the init.d support but it should work.
Good, I'll try.
Dev.
Just a small request please.
If you could please make sure a link to YOUR kernel sources in OP.
Any Linux kernel publicly released must have source to compile the exact binary (zImage) as repacked into your distributed boot.img. This must be current at time of every released version.
This is not just a XDA rule, but a legal GPL requirement, applying to all, even if modification is only minor. This is open-source
I would suggest the use of a github repo that helps keep track of your changes (commits), promotes open transparency, sharing and colaboration
If you have any questions on how to go about this, i would be happy to help via pm (but currently away with work), but would suggest to contact our friendly forum Mod.
Best of luck with your project. :thumbup:
Cheers.
UITA
Any chance that you would be willing to make this kernel compatible with the Sprint variety? Man.... I need my viper4android bro. Please. Lol
UpInTheAir said:
Dev.
Just a small request please.
If you could please make sure a link to YOUR kernel sources in OP.
Any Linux kernel publicly released must have source to compile the exact binary (zImage) as repacked into your distributed boot.img. This must be current at time of every released version.
This is not just a XDA rule, but a legal GPL requirement, applying to all, even if modification is only minor. This is open-source
I would suggest the use of a github repo that helps keep track of your changes (commits), promotes open transparency, sharing and colaboration
If you have any questions on how to go about this, i would be happy to help via pm (but currently away with work), but would suggest to contact our friendly forum Mod.
Best of luck with your project. :thumbup:
Cheers.
UITA
Click to expand...
Click to collapse
Thank you for your advices.The link to Samsung kernel source was already there . Anyway, I added it one more time just to be sure that is more visible.
For the github repo, I have to create an account and then I'll upload the files.
Best regards.
Well done mate ..... Yea
---------- Post added at 08:32 AM ---------- Previous post was at 07:36 AM ----------
Boot and works fine , nice one
Can this be used on N915FY as well?
I don't have any reports from N915FY users. You can try and tell us
Don't forget to make a backup first.
starbucks2010 said:
Thank you for your advices.The link to Samsung kernel source was already there . Anyway, I added it one more time just to be sure that is more visible.
For the github repo, I have to create an account and then I'll upload the files.
Best regards.
Click to expand...
Click to collapse
Hey, no problem.
Just to clarify....
If you've made any (even minor) change to "Samsung" source, then you have to upload "your" complete source and link "your" source, not "Samsung" So if you've made the kernel permissive or even use a different toolchain or path, technically you have modified from original and is now "your" source If you use a custom defconfig, don't forget it too
github is well worth the pain I Google for answers all the time (how to do this and that), but still screw things up (sometimes majorly) now and then.
dubart said:
Can this be used on N915FY as well?
Click to expand...
Click to collapse
Using this kernel with a N915FY. Great job btw I can finally use viper audio which I've missed so much. Major props dude!
I'm gonna flash this on sprint variant either that or throw this device out my window
dinaps86 said:
I'm gonna flash this on sprint variant either that or throw this device out my window
Click to expand...
Click to collapse
Lol it booted just no data. Yaaayyy!!!
I see that there are other people who are interested in Selinux permissive kernels.
So, if you want, I can add selinux permissive to any samsung kernel as long as you provide me 2 files: your original kernel (boot.img) from the ROM you want to flash and the Kernel.tar.gz - source kernel from Samsung site. In order to get Kernel.tar.gz file you'll need to download the kernel source file (~ 1Gb) from Samsung site, open the archive and upload ONLY the Kernel.tar.gz (~ 100-150 Mb) and the readme file from the archive to some sharing site. Then, I'll try to compile that kernel for you.
There are also downsides. I cannot stay up to date will all new commits done to the kernel source so I'll compile your kernels only with info that I have at that date. If you fork the github and find kernel source updates, I can add them.
PS. I only set up a working PC with Ubuntu and Google toolchain v4.8. If you find any information that this setup is not suitable for compiling your kernel, then there is no point of providing me the above files.
Best regards.
OP updated with some Antutu screen shots.

Categories

Resources