[DEV][PORTING]Linux 3.4.x/3.10.x/3.12.x Kernel for I9300 - Galaxy S III Original Android Development

Hey guys!
As you maybe know, we have the newest Android 4.4 but only a 3.0 Kernel. But we need the newer versions since Android is based of this new ones and if the gap between our version and Google's version is too big, it will take a long time to reach this. So i would say: "We need a newer kernel, let's go for it!" and i wanted to know if anybody is willing or if somebody is even able to port the 3.4 (or a newer version like 3.10 or 3.12) to our device to get better performance and to be safe to get all updates. If anybody is able and wants to help, please write it here or PM me. Also we should form a dev team to have the control over this project.
So if anybody is willing to, I will really appreciate it. I start this project on my own and you can join in to help and contribute your knowledge to this project. I will provide more info if needed. And yes, I know that it will be difficult but it is possible to reach the target.
Greets and best regards,
markey
If you want, have a look over here:Thread in development discussion section
Edit1: As i've seen in the poll, everybody (till now) wants the 3.4 kernel to be ported. So I have another question: Do you want me to port the 3.10 (or higher) Kernel also, after the 3.4 is running stable?
If yes, just write at the end of your post. Thanks. :good:
Edit2: I have decided to start porting the 3.1x+ Kernel based on dorimanx' sources first and then will try to port 3.4 cause 3.4 will have a better ability to be well integrated into Android till now and 3.10+ will take us one step further and keep us on track for the next Android versions which will be propably based on 3.8 or 3.10 Kernel.
If you have questions what this upgrade will (roughly) bring us, have a look at my last post in this thread.

This is great. It will be HARD, but, worth it. Just, maybe, this will see completion one day. I'll copy in kernel devs if I were you.
@DerTeufel1980
Sent from my Omni 4.4 Galaxy S3. Proud Googy Beta tester.

Great to see this! We need 3.4.x kernel!!
Regards :good:

Yes we can
tapatalked with my i9300
ROM: CyanogenMod 11
Kernel: Googy-Max2 (r3p2)

Googy to the rescue?!
Sent from my Omni 4.4 Galaxy S3. Proud Googy Beta tester.

It will be great!!!! Good luck, man:good:

Yes. Its gsear. Wait!!!
Sent from my GT-I9300 using XDA Premium 4 mobile app

Let the fun begin
Envoyé de mon GT-I9300 en utilisant Tapatalk

This a is a great quest ... my props to the dev !
About kernel
3.4 would be amazing
3.10/12 more than we ever could ask
Thanks for u guys doing what samsung never cared to do for us
Enviado do meu GT-I9300 através de Tapatalk

googy_anas said:
Let the fun begin
Envoyé de mon GT-I9300 en utilisant Tapatalk
Click to expand...
Click to collapse
We have lift off!
Sent from my Nexus 7 (2014) using Tapatalk. My mobile is an Omni run Galaxy S3.

Stunning idea! I just wish I already had the knowledge and the time to help, but I really hope this takes off!
edit. go for 3.10-3.12 of course, the Sky's the limit, but 3.4 is a good stopgap as it runs on similar Samsung-devices ...

Someone could try merging dorimanx smdk4210 (s2) Kernel. He has already merged most of 3.13, and our s3 kernel is also working for s2, after cm had merged some parts.
Gesendet von meinem SAMSUNG-SGH-I317 mit Tapatalk 2

DerTeufel1980 said:
Someone could try merging dorimanx smdk4210 (s2) Kernel. He has already merged most of 3.13, and our s3 kernel is also working for s2, after cm had merged some parts.
Gesendet von meinem SAMSUNG-SGH-I317 mit Tapatalk 2
Click to expand...
Click to collapse
Thank you for that great info DerTeufel, I will see when I can start to merge it and work on it. So it would mean, we could directly start at 3.13. Isn't that great? I will search for his git, and then i will compare our actual kernels with a 3.0 s2 kernel and see what i have to change. Most difficult part will be to get it booting...rest shouldn't be a thing that big. Let's wait and see.

markey97 said:
Thank you for that great info DerTeufel, I will see when I can start to merge it and work on it. So it would mean, we could directly start at 3.13. Isn't that great? I will search for his git, and then i will compare our actual kernels with a 3.0 s2 kernel and see what i have to change. Most difficult part will be to get it booting...rest shouldn't be a thing that big. Let's wait and see.
Click to expand...
Click to collapse
Great idea! Hope it goes well.
Sent from my Nexus 7 (2014) using Tapatalk. My mobile is an Omni run Galaxy S3.

Maybe stupid question, this kernel will be used only on AOSP Roms?, or may run on sammy roms?

niikko said:
Maybe stupid question, this kernel will be used only on AOSP Roms?, or may run on sammy roms?
Click to expand...
Click to collapse
No its no stupid question, just ask if you want to know anything. You're welcome and i am here to answer questions :good:
And now to your question: For now, its meant to run on AOSP ROMs and then afterwards, I will take a deeper look and see if I can get it running good on Sammy, so just wait a bit
And I think I will add features of googy-max kernel, devil-kernel, boeffla-kernel...whatever you want, just write it then when its running fine, and i will try to add it.
I also already thought about adding dual-boot, so yes, you will most likely see Sammy support in this kernel. And afterwards, I will try to make it a kexec kernel and get multiROM or sth like this running, to have e.g. Android and Ubuntu Touch on 1 single device

dat shi cray

samisax said:
dat shi cray
Click to expand...
Click to collapse
What do you want to say with that?
Does this have any sense?

Very nice initiative. Devs in SGS Plus (i9001) also made a fully working 3.4 kernel from the scratch (CAF sources at least ) and now they can release KitKat without pains
Sent from my GT-I9300 using Tapatalk

sanefirst said:
Very nice initiative. Devs in SGS Plus (i9001) also made a fully working 3.4 kernel from the scratch (CAF sources at least ) and now they can release KitKat without pains
Sent from my GT-I9300 using Tapatalk
Click to expand...
Click to collapse
Haha I know, I own this device myself and followed all developement of the 3.4 Kernel and all other work done by ADC team. :good: They used CAF sources but we will use sources from dorimanx cause we have an exynos processor.
Erik is a good dev, isn't he? Thanks to him we also got dual boot and I think we can also get further versions of Android thanks to ADC team.
Well, we will see how good I can get this working in a short time.

Related

[KERNEL] International FROST Kernel

[KERNEL] International FROST Kernel
NOTICE: This is COMPATIBLE with AOSP+ AND PureAosp JellyBean 4.3!
Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to hack this kernel. If you use my modified kernel source in parts or in its entirety, I kindly ask you mention its origins and to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel hack further. This way the entire community will truly benefit from the spirit of open source. Thank you !​
THIS KERNEL IS CURRENTLY IN TESTING STATUS AND NOT BETA OR STABLE
*Features*
Quad Core is disabled by default, the X+ will now turn into a Dual core device (this can be changed with the performance governor)
Memory features are = to that of a 3.4 android kernel
more to come
XDA:DevDB Information
Frost, a Kernel for the HTC One X+
Contributors
Lloir, tombriden, corne, Maxwen, faux123
Kernel Special Features:
Version Information
Status: Testing
Created 2013-09-18
Last Updated 2013-09-30
Reserved
Reserved
Re: [KERNEL] SUPER WIP Pizza Kernel AT&T
Thb I know I dont have this phone but I planing on getting it and didn't see a linaro optimized just saying its a change of pace ...if u don't put it in its cool and anyone saying linaro doesn't do anything is crazy if its there why not use it ..its different could mean better
Sent from my SGH-T989 using xda app-developers app
don728871 said:
Thb I know I dont have this phone but I planing on getting it and didn't see a linaro optimized just saying its a change of pace ...if u don't put it in its cool and anyone saying linaro doesn't do anything is crazy if its there why not use it ..its different could mean better
Sent from my SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Someone correct me if I'm wrong, but I'm pretty sure the Linaro optimizations consist of both changes made to the Android Open Source Project (and CM) as well as a special toolchain that uses GCC 4.7. Because this is a kernel that is only offered in its source form, it is up to you to build it with the Linaro toolchain if you want to see the performance benefits that can arise from the Linaro optimizations. Also Lloir was somewhat specific in telling you not to make feature requests (I would consider Linaro such a request), so you might want to read his post a bit more closely next time.
The link doesn't work! It's dead link!
Can you fix it?
fantik_m said:
The link doesn't work! It's dead link!
Can you fix it?
Click to expand...
Click to collapse
You can go here. This is the most up to date that i could find.
TheJokah said:
You can go....... This is the most up to date that i could find.
Click to expand...
Click to collapse
Thanks but same sh***it bro...
fantik_m said:
Thanks but same sh***it bro...
Click to expand...
Click to collapse
This is a link to the kernel source. you would have to build the kernel yourself. if your looking for a CM kernel for ATT HOX+, then i would wait for a fully working CM rom first. There is still audio issues with CM, however devs are working on it. Be patient :laugh:
TheJokah said:
This is a link to the kernel source. you would have to build the kernel yourself. if your looking for a CM kernel for ATT HOX+, then i would wait for a fully working CM rom first. There is still audio issues with CM, however devs are working on it. Be patient :laugh:
Click to expand...
Click to collapse
and i'm ultra busy this month so i have VERY little time to debug or work on ATT X+
Lloir said:
and i'm ultra busy this month so i have VERY little time to debug or work on ATT X+
Click to expand...
Click to collapse
You can take as long as you want. Nobody is trying to rush your fantastic work. Keep it up bro! :highfive:
[No message]

Cyanogenmod 10.1 DNA discussion thread

As stated in the cm 10.1 dev thread lets keep the general CM discussions here instead of cluttering the dev thread.
Great idea - now we can have all the misguided, misinformed speculation we want as to what hurdles have yet to be cleared before the DNA gets official CM nightly support
jk
Haha, exactly.
Actually, I think efforts might soon be underway to port straight AOSP as well I hope what I've heard (I can't give details, so please don't ask) comes to fruition.
That'd be great. I've been trying to learn more about programming and the build system so I can start helping out with some of it. I've setup ubuntu and sync and build cm every couple of days and I've been messing with building aokp since its based on cm.
AOKP, PA, PAC ROMs me want
Also some AOSP kernels as well
Sent from my TF300T using Tapatalk 2
I made a few changes and aokp started to build but I came across an error and haven't had time to look into it. If I get it built I'll try to learn some more about git and upload the source
skynet11 said:
Actually, I think efforts might soon be underway to port straight AOSP as well I hope what I've heard (I can't give details, so please don't ask) comes to fruition.
Click to expand...
Click to collapse
Why pure aosp as opposed to CM?
123421342 said:
Why pure aosp as opposed to CM?
Click to expand...
Click to collapse
Because a lot of popular ROMs out there are based on AOSP rather than on CM. Besides, there's always room for both right?
I'd love to try pure AOSP. I've always had HTC devices so I never got the pure Android experience.
123421342 said:
Why pure aosp as opposed to CM?
Click to expand...
Click to collapse
because I want android and not all the stuff that comes with CM, if I want themes and mods ill do them myself
Does anyone have any resources that break down the build process?
I'm pretty excited for the 10.1 rom to become a daily driver. Once it's complete I hope to see possible other roms that are desensed... I'm sick of sense! I want some unadulterated android (or close to it)!
why would you want an aosp kernel? how are they better?
atishpatel2012 said:
why would you want an aosp kernel? how are they better?
Click to expand...
Click to collapse
Sense kernels won't work on aosp and the stock one they included in CM can't be overclocked or undervolted.
Nowak4G said:
Sense kernels won't work on aosp and the stock one they included in CM can't be overclocked or undervolted.
Click to expand...
Click to collapse
The kernel we are using right now is our stock kernel with cm commits. It doesn't include overclock or any other features because they could cause more bugs. Better to work all the bugs out of cm before you start doing things that could introduce more. Cplamer has already said that he has run a custom kernel with cm on his DNA so it is definitely going to happen. Just have to wait or build your own kernel unfortunately.
amathophobia said:
The kernel we are using right now is our stock kernel with cm commits. It doesn't include overclock or any other features because they could cause more bugs. Better to work all the bugs out of cm before you start doing things that could introduce more. Cplamer has already said that he has run a custom kernel with cm on his DNA so it is definitely going to happen. Just have to wait or build your own kernel unfortunately.
Click to expand...
Click to collapse
The other reason is because they're making so many changes to cm right now to get it working that a new kernel would have to be released for every update. I believe T1gartist has been running cm oc'd with a custom kernel as well
Sent from my Nexus 7 using Tapatalk 2
If you have the source it's not hard to add overclocking.
I'm not a dev or anything but I built AOKP
TheDanimal said:
I'm not a dev or anything but I built AOKP
Click to expand...
Click to collapse
Can u upload the build.
I wud like to test it out.
What all features are working ? Are all" Whats Working" features CM10.1 working for it ?
Sorry for asking all these questions.
BTW, u should create a new thread in Orig. Android Dev. with AOKP build :victory:

SGP 5.0 + PAC latest nightly

Hi,
I'm not sure if this is the right forum or not but I've been using the PAC MAN rom nightlies now for some time now until the recent update on the 14-15th when I got stuck in a bootloop and had to revert back to the 10-09 nightly. after doing a lot of research I found that the reason for this seems to be an issue with the overall update to jb 4.3.1 and there is a kernel side fix that needs to be done.
basically what I'm asking is if there is anything I can do on my end to resolve this or if I have to wait for someone who develops kernels for the US variant of my device to fix it on their end?
I'm using the SGP 5.0 US (non physical button variant) with sultan kernel v6b2 and pac 10-09-2013 nightly currently if any of this info helps at all.
luraziel said:
Hi,
I'm not sure if this is the right forum or not but I've been using the PAC MAN rom nightlies now for some time now until the recent update on the 14-15th when I got stuck in a bootloop and had to revert back to the 10-09 nightly. after doing a lot of research I found that the reason for this seems to be an issue with the overall update to jb 4.3.1 and there is a kernel side fix that needs to be done.
basically what I'm asking is if there is anything I can do on my end to resolve this or if I have to wait for someone who develops kernels for the US variant of my device to fix it on their end?
I'm using the SGP 5.0 US (non physical button variant) with sultan kernel v6b2 and pac 10-09-2013 nightly currently if any of this info helps at all.
Click to expand...
Click to collapse
So far I don't think you can do something at the moment to fix this. Are you using sultan perhaps? If so then he have to fix his kernel so it can work with pac again.
zaclimon said:
So far I don't think you can do something at the moment to fix this. Are you using sultan perhaps? If so then he have to fix his kernel so it can work with pac again.
Click to expand...
Click to collapse
yeah I'm running the latest sultan kernel for US players. I've recently been looking into how to build my own kernel also. figuring maybe there would be a way to update either an existing one or making one of my own (although I doubt I could make one as good or better then those out there right now lol)
either way I went back to gingerbread for the time being with the ACkernel that works for it until a kernel can be updated/modded/whatever...
just out of curiosity though. do you know what aspects of the kernel I would have to edit to allow for 4.3.1?
luraziel said:
yeah I'm running the latest sultan kernel for US players. I've recently been looking into how to build my own kernel also. figuring maybe there would be a way to update either an existing one or making one of my own (although I doubt I could make one as good or better then those out there right now lol)
either way I went back to gingerbread for the time being with the ACkernel that works for it until a kernel can be updated/modded/whatever...
just out of curiosity though. do you know what aspects of the kernel I would have to edit to allow for 4.3.1?
Click to expand...
Click to collapse
Well the pac team modified some thing concerning the init.rc so the custom kernels would need to incorporate it. However, the stock kernel within the build should work no problem as its most likely nightlies.
Envoyé depuis mon Nexus 7 avec Tapatalk 4
zaclimon said:
Well the pac team modified some thing concerning the init.rc so the custom kernels would need to incorporate it. However, the stock kernel within the build should work no problem as its most likely nightlies.
Envoyé depuis mon Nexus 7 avec Tapatalk 4
Click to expand...
Click to collapse
I looked into the kernel that the nightlies provide but they are all international versions of the device, and currently the Us rom they offer is an older version from back in September.
I'll look into the init.rc file though. hopefully it wont be too difficult. looking at some basic code for kernels and stuff it doesn't seem like it will be much harder to understand than the LUA was for making wow add-ons

Kernel sources finally

Hi people,
Finally sources are released, great news, this time they wasn't lying!
Here they are for cancro :
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/cancro-kk-oss
Regards!
Edit : just wait I guess they are uploading everything.
ATLAST!!!!!!!!!
YEAHHHHHH READY TO FLASH STABLE CUSTOM ROMS.....:fingers-crossed::victory:
Finally they released sources
Sent from my MI 3W
Sagar.Shwrmni said:
Apart from few bugs being fixed, will these sources mean anything more ?
I mean developers have already given us some really amazing roms without the kernel.
Click to expand...
Click to collapse
Devs were using ivan's kernel, and by using this kernel they got nearly the same bugs as ivan's build (like no hdr, a little bit overexposed pictures in normal mode).
We may see custom kernels that support cpu clock modifications or voltage modifications.
Envoyé de mon MI 4W en utilisant Tapatalk
Somebody knock on Franco's door and start porting his kernel. :3
Remember that the kernel released is still on KK.
bluerain28 said:
Remember that the kernel released is still on KK.
Click to expand...
Click to collapse
Yes I know, so have to make some documentation.
its good to know that kernel sources are released . having a small confusion i have read its only for KK...
so is it possible for the developers to build a lollipop rom using KK kernel.
Please use existing thread for this subject,
http://forum.xda-developers.com/xiaomi-mi-3/general/kernel-sources-hugo-barra-update-t2900843
Thread closed.
Thanks,
Darth
Forum Moderator

[DISCUSSION][AOSP] Let's build!

Ok, first i had done this for cm13, let's see what I can do for AOSP! Lulz. Think my earlier thread for cm13 created too much of hype and development restarted (joy++)
So, First of all, i haven't built AOSP as of yet for op2, will do it. If anyone can get the recovery working, or any progress, report here.
If we have AOSP caf tree, we will be able to port UBUNTU TOUCH, and many other ROMs based of aosp directly.
So here we go!
regalstreak said:
Ok, first i had done this for cm13, let's see what I can do for AOSP! Lulz. Think my earlier thread for cm13 created too much of hype and development restarted (joy++)
So, First of all, i haven't built AOSP as of yet for op2, will do it. If anyone can get the recovery working, or any progress, report here.
If we have AOSP caf tree, we will be able to port UBUNTU TOUCH, and many other ROMs based of aosp directly.
So here we go!
Click to expand...
Click to collapse
If I can help you in any way, let me know mate, will be a pleasure !
I don't have much experience with AOSP source code but I would help you as good as possible.
If you give me some instructions or ask some questions I could help you out a bit, just let me know!
xdvs23 said:
I don't have much experience with AOSP source code but I would help you as good as possible.
If you give me some instructions or ask some questions I could help you out a bit, just let me know!
Click to expand...
Click to collapse
casual_kikoo said:
If I can help you in any way, let me know mate, will be a pleasure !
Click to expand...
Click to collapse
Umm, the problem is that, that there is no guide for editing the cm source to make it run aosp, nevertheless we will make it boot no probs. Logcat will help. @k2wl you had a semibooting caf build or something?
Sent from my ONE A2003 using Tapatalk
regalstreak said:
Umm, the problem is that, that there is no guide for editing the cm source to make it run aosp, nevertheless we will make it boot no probs. Logcat will help. @k2wl you had a semibooting caf build or something?
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
Maybe we can try this method : http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code ?
Edit: forgot there is no source code for OOS. Shame on me.
@regalstreak i've wrote to you on telegram, check this out
@regalstreak you can't have a caf free build since kernel and blobs of oneplus2 (oxygenos and hydrogenos) are based on caf
regalstreak said:
Ok, first i had done this for cm13, let's see what I can do for AOSP! Lulz. Think my earlier thread for cm13 created too much of hype and development restarted (joy++)
So, First of all, i haven't built AOSP as of yet for op2, will do it. If anyone can get the recovery working, or any progress, report here.
If we have AOSP caf tree, we will be able to port UBUNTU TOUCH, and many other ROMs based of aosp directly.
So here we go!
Click to expand...
Click to collapse
Dude I have no idea on how to do it, but I actually started looking in it. I installed Ubuntu on my computer and downloaded the software but I don't know how to start it
manups4e said:
@regalstreak you can't have a caf free build since kernel and blobs of oneplus2 (oxygenos and hydrogenos) are based on caf
Click to expand...
Click to collapse
So cant we do any thing to compile aosp? We will try atleast
Sent from my ONE A2003 using Tapatalk
regalstreak said:
So cant we do any thing to compile aosp? We will try atleast
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
sure of course you can i already did it while cyanogenmod 13 was not yet booting.. the only thing is that you will have to modify tons of things into the device tree and tons of things into the aosp code to make hardware to work.. the only things that will work without modifications will be wifi and bluetooth.. maybe audio too but i'm not sure about that
regalstreak said:
Umm, the problem is that, that there is no guide for editing the cm source to make it run aosp, nevertheless we will make it boot no probs. Logcat will help. @k2wl you had a semibooting caf build or something?
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
I have some experience with git (because I am developing a browser which is on github) and I can download and edit sources, but I am a very beginner in C/C++ so don't expect me to do much, but I can try to help you anyways if possible.
---------- Post added at 08:17 AM ---------- Previous post was at 08:15 AM ----------
AndroidBeginNinja said:
Dude I have no idea on how to do it, but I actually started looking in it. I installed Ubuntu on my computer and downloaded the software but I don't know how to start it
Click to expand...
Click to collapse
AFAIK First of all you need to install JDK, a toolchain, git etc. and then you can clone the repos and start modifying them and compile them using breakfast and lunch or similar.
Guys keep calm! I have an alpha ROM based on CAF/AOSP that is booting, something is broken, but I will share sources with regal and we will try to make it stable
WaxLarry said:
Guys keep calm! I have an alpha ROM based on CAF/AOSP that is booting, something is broken, but I will share sources with regal and we will try to make it stable
Click to expand...
Click to collapse
Finally, i was trying to compile omni rom but kept getting errors. It was too much work. Way beyond my capabilities and even if i tried it would have taken me months to even make any sort of build. Bootable was not even in the equation. So i dropped it.
Will definitely try to compile omni again once we have AOSP build.
WaxLarry said:
Guys keep calm! I have an alpha ROM based on CAF/AOSP that is booting, something is broken, but I will share sources with regal and we will try to make it stable
Click to expand...
Click to collapse
Thanks for your effort, remember to add Paypal donation button.. :highfive:
Maxximo88 said:
Thanks for your effort, remember to add Paypal donation button.. :highfive:
Click to expand...
Click to collapse
Off course, when we have something ready to be released :highfive:
---------- Post added at 10:14 AM ---------- Previous post was at 10:12 AM ----------
Kapiljhajhria said:
Finally, i was trying to compile omni rom but kept getting errors. It was too much work. Way beyond my capabilities and even if i tried it would have taken me months to even make any sort of build. Bootable was not even in the equation. So i dropped it.
Will definitely try to compile omni again once we have AOSP build.
Click to expand...
Click to collapse
I know, is an huge work, I've spent a lot of time on this to get it compile and boot
This seems to be based on AOSP CAF, and Exodus 6.0 OP2 is also AOSP based.
Guys tipsy os , broken os , vanir ROM these Roms are based on aosp Right,
All of these Roms are there for oneplus 2
Not a Dev of any kind , just ignore if the info is of no use
#noob_who_wanted_2_help
Cheers and best of luck guys
Edit
Vanir Roms -Team Vanir
http://www.emccann.net/nuclearmistake/VanirAOSPNightlies/oneplus2/
Broken Os build by Naman Bhalla
Tipsy OS- martinsube
Yes right, you can ask tipsy devs for help
Thanks brother. I wanted a pure AOSP. Even I created a request thread and u did it.
Many thanks for your continued efforts @regalstreak, I look forward to seeing and using the end product!
Sent from my ONE A2001 using Tapatalk

Categories

Resources