[DEV][KERNEL] 3.4 Touchwiz kernel - Sprint Samsung Galaxy S III

Looking for some help/extra pairs of eyes with this project. Would be great to get this going as it would make it possible for qualcomm S3's to run S4 ROM's and also the GPE roms, as well as just plainly being a 3.4 touchwiz kernel with the goodies that the 3.4 kernel has
I've already done a lot of merging, but of course there is still work to be done...
----------
Now the quick and dirty part
My source (branch master): https://github.com/cnexus/kernel_tw_43
Base: Sprint MK3 kernel source
Port: i9505 MJ5 4.3 source
Useful links:
https://github.com/CyanogenMod/andr...mmit/82770a924880073d595f1e9d4195ab6d90b11ad2 (merge of m2 devices into aosp 3.4 kernel)
https://github.com/detule/linux-msm-d2/commits/msm-3.4 (3.4 kernel with commits ONLY up to when M2 was functionally merged, beats having to dig through cm kernel commits)
https://github.com/anoane/ville-4.2.2-sense5-evitaul_porting (msm8960 3.4 to msm8960 3.0, by XDA user pirlano)
https://github.com/zarboz/Evita_UL_422-JB (another apq8064 to msm8960 port like this one, good reference)

I'll look thru it and see what I can contribute.
Sent from my SPH-L710 using XDA Premium 4 mobile app

Related

[Q] Kernel sources

I would like find the freshest available 3.0 kernel for the Desire Z. Where is it hosted? My intention is to make a kernel more stable than others available, as all are undervolted, and unfortunately with those settings I am experiencing random reboots. I've found some sources, tuned voltages to the original ones (as in htc's 2.6.35 kernel), and the reboots disappeared.
Thanks in advance,
The Andromadus 3.x kernel and cn.fyodor's are the most recent, I might say fyodor's might be slightly ahead being as he is the Andromadus kernel guy and his kernel stuff which goes into his ROM probably gets merged into Andromadus later (or maybe he does entirely different things for each, I'm not sure, you'd have to ask him).
By the way if you manage to get either of the above up and running, I'd appreciate some help as I've been trying to compile the Andromadus kernel but have so far not been able to produce a zImage, although compilation seems fairly smooth .
And are these kernel for sense? I always read on forums that there are kernels for sense roms, but actually I dont know the difference.
Last time I compiled from github / ajhavery / htc7x30-3.0.git, and it compiled well for me.
Then two linked to you by htcdreamon are for aosp/cm/aokp etc, you are right that you can not interchange aosp kernels and sense kernels, by and large they are not compatible
Sent from my Nexus 7 using xda premium

Request with linaro toolchain

As some people may have been reading an article about compiling all ROM using linaro in XDA portal toolchain or even it's kernel . At this moment I don't have the proper equipments to compile any ROM since my pc is very old .
And also here on XDA we don't have any Rom for our beloved HOX being compiled by any of these tool chains
So I'm placing a simple request here so some guy or developer can try out compiling a SENSE ROM or an AOSP Rom using any of the available toolchains
Since toolchains have proven to enhance performance very well
Sent from my HTC One X using Tapatalk
HTC Venom said:
As some people may have been reading an article about compiling all ROM using linaro in XDA portal toolchain or even it's kernel . At this moment I don't have the proper equipments to compile any ROM since my pc is very old .
And also here on XDA we don't have any Rom for our beloved HOX being compiled by any of these tool chains
So I'm placing a simple request here so some guy or developer can try out compiling a SENSE ROM or an AOSP Rom using any of the available toolchains
Since toolchains have proven to enhance performance very well
Sent from my HTC One X using Tapatalk
Click to expand...
Click to collapse
Absolutely no for sense base (close source). AOSP yes...but need little more work. For kernel as far I know, lyapota & next use linaro 4.7. Enhanced..but not with wow factor.
Sent from my HTC One X using Tapatalk
OK , sad news for any hope for sense based ROM, So I hope someone will be able to get a pure AOSP ROM being optimized by one of these tool chains
Sent from my Nexus 7 using Tapatalk

Caf/aosp

Is there a master list of every caf and or aosp rom And their equivalent compatible kernels?
I've tried nearly every kernel on Vanir to no luck..
Sent from my Nexus 7 using Tapatalk
there isn't a massive list. generally speaking most kernels and roms will be AOSP, only CM is CAF and the odd kernel here and there afaik

[GEE] Vanir 4.4.4

This is not the same rom as "Vanir" in Orig Development, becuase it's GEE based and there are the newest nightly builds, the Vanir from Orig Development is Gproj based and the last build is 4.4.2 from December 2013 - outdated and without significant features​Firstly, all below is not my work... I just wanted to share it, because on my e975 it works like a charm
it has full of less or more tweak and features like:
- Halo, Hover, Heads Up
- Floating Mode
- Active Display
- Peek
- etc...
Here is the original thread.
http://forum.xda-developers.com/showthread.php?t=2601475
Download link:
http://www.emccann.net/nuclearmistake/VanirAOSPNightlies/gee/
I recommend Franco kernel (from faust93 thread), it's batter efficient.
But if you like check these kernels... (MiRaGe, AK and mart1x)
https://drive.google.com/folderview?id=0B9EFp1W1O3f2SFVaNGg4SzVHelk&usp=sharing
If you use any of these kernels i suggest flashing this too (after flashing you have to install "Synapse" from Google Play):
https://drive.google.com/folderview?id=0B77BTW0zStYCU0VOa3FHY2NNTjQ&usp=sharing&tid=0B77BTW0zStYCSTRIYWpZQS1nOWs
This (with Synapse app) lets you control many different hotplug version like Autohotplug, Autosmp or MSM Hotplug (I'm almost sure that Trickster Mod can't do that), also it has a lot of options to tweak your kernel.
You can also check out these drivers for better performance ( for me i think the march adreno drivers are the fastest +100 to 3d in antutu)
https://drive.google.com/folderview?id=0B77BTW0zStYCU0VOa3FHY2NNTjQ&usp=sharing&tid=0B77BTW0zStYCSTRIYWpZQS1nOWs
Just let me know which combination of kernel and drivers are working the best (the most in performance)
Enjoy
Pretty sure there's already a thread for Vanir Gee in original android development, be careful your post may be removed. Anyway, did you get the camera working properly without stretching and stuff?
itsdacj said:
Pretty sure there's already a thread for Vanir Gee in original android development, be careful your post may be removed. Anyway, did you get the camera working properly without stretching and stuff?
Click to expand...
Click to collapse
Yes, there is Vanir in original android development, but it's 4.3 (stable) and 4.4.2 nighlty build from Dec 2013 - so it's outdated.
Furthermore, it's made from Gproj sources. This one is for Gee and it has daily updates/nightlies (last from 2nd Sep).
About camera there are three little bugs:
- when you turn on HDR, the camera preview is a bit stretched (but the photo is made as it should, i mean, it has bigger fov than preview).
- the camera app starts a little bit slow, you have to wait about 2 seconds.
Probably you mean aspect ratio problem (the preview is a bit vertically stretched) ? This camera doesn't have true view (true aspect ratio mode). When you change image size to 6MP , there is no problem.
If you want to have 4:3 preview (in 13MP) you have to flash PA rom, make a TB backup of camera app, then flash Vanir, and delete Vanir camera app (otherwise the PA cam won't replace the Vanir one), then restore PA cam, (don't reboot till restore or you can have some problems with cam).
It was working on Gproj roms, i haven't tried it on Gee roms, but probably you'll need Gee based PA. Hope it helps.
Just discovered that faust93 has released an experimental kernel which fixes camera bugs on gee roms if you're interested
itsdacj said:
Just discovered that faust93 has released an experimental kernel which fixes camera bugs on gee roms if you're interested
Click to expand...
Click to collapse
Yes, I'm interested... (you mean using stock kk kernel camera drivers or sth?) maybe i could contact with vanir devs to impelemt it into their nightlies. Is it a zip, or some kind of terminal typing (like in volume keys trick)?
banangrg said:
Yes, I'm interested... (you mean using stock kk kernel camera drivers or sth?) maybe i could contact with vanir devs to impelemt it into their nightlies. Is it a zip, or some kind of terminal typing (like in volume keys trick)?
Click to expand...
Click to collapse
He has used stock kk kernel drivers yes, he has an experimental kernel out that works but to implement it into an existing kernel you need to patch it which i dont know how to do. Awesome news though!
itsdacj said:
He has used stock kk kernel drivers yes, he has an experimental kernel out that works but to implement it into an existing kernel you need to patch it which i dont know how to do. Awesome news though!
Click to expand...
Click to collapse
About the camera,i didn't see any problems with camera (maybe you have other camera hw module) , can you record your screen?
edit: patching doesn't seem too hard, there's a program which does it if you have patch source, but if someone doesn't know C well this can be really hard
BTW
I don't even know how too anyway, i'm often dissatisfied of kernels (always there's a lack of sth), so maybe i'll try to build my own (sounds crazy).
I'm thinking about modifying franco kernel (such a great work, but no cpu & gpu oc and gpu uv) for aosp, or sth for gproj (f93 is great but no oc, solid has oc but in the end f93 has less slowdowns in games and it has faux123's hotplug & thermal).
It fixes camera stretch, improves the quality and photosphere and pano work in Google Camera. Building a kernel sounds fun
itsdacj said:
It fixes camera stretch, improves the quality and photosphere and pano work in Google Camera. Building a kernel sounds fun
Click to expand...
Click to collapse
Downloadin the exp version of franco, did you noticed any bugs except vk and 13mp problem?
Vk? 13mp camera bug is ROM dependent. On dirty unicorns the official camera is 8mp but every other camera app on Google play is 13mp. Battery life is men but it might be DU. Trying vanir tonight.
itsdacj said:
Vk? 13mp camera bug is ROM dependent. On dirty unicorns the official camera is 8mp but every other camera app on Google play is 13mp. Battery life is men but it might be DU. Trying vanir tonight.
Click to expand...
Click to collapse
VK i mean volume keys bug, when i was using DU with AK-xGenesis kernel, battery life was poor (maybe to much app wakelocks). In my opininion CM11 (with f93 gproj kernel) and "the rom posted above " (with franco ) has very good battery life.
banangrg said:
VK i mean volume keys bug, when i was using DU with AK-xGenesis kernel, battery life was poor (maybe to much app wakelocks). In my opininion CM11 (with f93 gproj kernel) and "the rom posted above " (with franco ) has very good battery life.
Click to expand...
Click to collapse
I think its different ROMs. In Vanir the volume key bug is present, in DU its the same. In PA and TEMASEK it is not. Where did you say faust's volume key trick was?
EDIT: Found it but don't think it's compatible with Vanir.
itsdacj said:
I think its different ROMs. In Vanir the volume key bug is present, in DU its the same. In PA and TEMASEK it is not. Where did you say faust's volume key trick was?
EDIT: Found it but don't think it's compatible with Vanir.
Click to expand...
Click to collapse
Temasek? You mean unofficial cm? Btw, maybe it will work, just try, i noticed the volume key bug is kernel related too (it seems the VK bug is a relic from original nexus 4 version) (on Sprint OG Franco Kernel there no inverted keys ,check it out -> http://d-h.st/3kM ). Btw Vanir is mainly CM based (i've seen it somewhere but i don't remember where)
Some offtopic:
I'm not sure, but the performance is rom relative too? Some builds are slower, some faster (even if both are 4.4 roms).
I wonder why the 4.4 builds are slower than 4.3 ones. Vanir 4.3 was really ultra lighting fast, never seen such a fast rom, some roms with oc gpu & cpu were not as fast a Vanir 4.3 with f93 [email protected] stock cpu & gpu freq. What is that magical , maybe gpu driver (tried some kk adreno drivers, but there were no big effect).
Look, i've migrated from vanir 4.3 to cm11 m8 (then m9), on both roms i was using f93 kernel with the same settings, but the difference in Antutu 5.0 is about 2-3k ( on 3d test vanir works much more fluid), in games 4.3 works better too.
Hmmm... If 4.3 kernel can work without any problems on 4.4 (i mean f93 gproj), so maybe a jb 4.3 driver could be work (with some modifications) on 4.4. Probably you already know what I'm lookin for, i want as great performance as on Vanir 4.3 and ART runtime (or shortly the most power)
(It had a rom thread, but it looks more like a disscussion, LOL)
banangrg said:
Temasek? You mean unofficial cm? Btw, maybe it will work, just try, i noticed the volume key bug is kernel related too (it seems the VK bug is a relic from original nexus 4 version) (on Sprint OG Franco Kernel there no inverted keys ,check it out -> http://d-h.st/3kM ). Btw Vanir is mainly CM based (i've seen it somewhere but i don't remember where)
Some offtopic:
I'm not sure, but the performance is rom relative too? Some builds are slower, some faster (even if both are 4.4 roms).
I wonder why the 4.4 builds are slower than 4.3 ones. Vanir 4.3 was really ultra lighting fast, never seen such a fast rom, some roms with oc gpu & cpu were not as fast a Vanir 4.3 with f93 [email protected] stock cpu & gpu freq. What is that magical , maybe gpu driver (tried some kk adreno drivers, but there were no big effect).
Look, i've migrated from vanir 4.3 to cm11 m8 (then m9), on both roms i was using f93 kernel with the same settings, but the difference in Antutu 5.0 is about 2-3k ( on 3d test vanir works much more fluid), in games 4.3 works better too.
Hmmm... If 4.3 kernel can work without any problems on 4.4 (i mean f93 gproj), so maybe a jb 4.3 driver could be work (with some modifications) on 4.4. Probably you already know what I'm lookin for, i want as great performance as on Vanir 4.3 and ART runtime (or shortly the most power)
(It had a rom thread, but it looks more like a disscussion, LOL)
Click to expand...
Click to collapse
Sorry I've been busy with school but sounds good. So you aren't on a gee ROM anymore? I'm on PA gee and the volume keys bug is present but I'm working round it. By TEMASEK I mean faust93's unofficial CM yes.
itsdacj said:
Sorry I've been busy with school but sounds good. So you aren't on a gee ROM anymore? I'm on PA gee and the volume keys bug is present but I'm working round it. By TEMASEK I mean faust93's unofficial CM yes.
Click to expand...
Click to collapse
Yep, just as you, i still changing rom... Vanir 4.4.4 is packed of features and pretty stable... but for the performance is the most important, gee kernels are too weak for me (or maybe it's a rom issue). I'll try the TEMASEK
banangrg said:
Yep, just as you, i still changing rom... Vanir 4.4.4 is packed of features and pretty stable... but for the performance is the most important, gee kernels are too weak for me (or maybe it's a rom issue). I'll try the TEMASEK
Click to expand...
Click to collapse
OK cool [emoji1]
Gapps for this rom? Tx :laugh:
Edit: ok found, the same
Check this everyone
http://www.emccann.net/nuclearmistake/VanirAOSPNightlies/gee/
Flash rom 15012015 no boot...bootloop bootlogo
zed923 said:
Flash rom 15012015 no boot...bootloop bootlogo
Click to expand...
Click to collapse
remember build 15-01 is a Lollipop ROm. If you're using Jolla kernel ( gee/geeb/stock ) version, please:
- Before flash, format boot.img and format system in Advanced setting at Recovery
- Make sure your bootloader is updated to lastest Lollipop version ( mako )
- The best way to flash Lollipop Rom if you have a problem like bootloop or freezing is try to KDZ and return to stock, root and install recovery again.

Multi-rom

Well I have gotten everything compiled and mostly working for multi-rom. The newest plasma kernel is compatible for aosp roms but I dont have a tw kernel compiled yet. Also wifi does not work on any rom but primary. The wifi issue also exists on the builds for n7100/n7105 so it is most likely an issue with the device files.
Hopefully over the next few days I can get wifi issue fixed and get a kernel compiled for tw roms. Plan is to use shift kernel so both tw and aosp will run with one kernel.
Sent from my XT1045 using XDA Premium 4 mobile app

Categories

Resources