[KERNEL-MT6589] Discussion about source and changes made - Android General

Hi,
Actually I'm working on a project.
I'm building a kernel for MT6589 and found some changes between mediatek and AOSP (I mean the changes introduced by mediatek themselves)
Here is my work :
https://docs.google.com/document/d/1J2LxPTLSqpq71ivrfyXdKxtPnugISvvNnO-WzyxQBW0 <- feel free to comment and add information about what I've done, just don't spam
So I want to have a discussion here with other developers working on MT6589 kernel only
Our topic is to understand what are the differences introduced by Mediatek

Good work in finding out the changes. I hope this will help us in understanding the mediatek kernel more deeply and compile it with new features.
Btw, which device are you working for?

Faea F2S

do you believe that 6589 and 6589T are the same? i mean... do you believe that 6589T is just an kernel OC version of 6589?

co0led said:
do you believe that 6589 and 6589T are the same? i mean... do you believe that 6589T is just an kernel OC version of 6589?
Click to expand...
Click to collapse
Actually, I'm watching kernel part and not mediatek stuff so it should be the same.

They are the same. Its just a somewhere hidden file that lets the cores work on 1.5ghz instead of 1.2ghz.
Firmware of the same devices but with mt6589 or mt6589t are also working on both. There's just some configuration that enables the higher clock frequency.
Sent from my iOcean X7 using xda-developers app

Anyway, the most interesting part is the tuxonice on mediatek kernel (used for hibernating)
I'm still wondering what it really does (fastboot ? hibernate instead of power off ? etc...)

Any chance of adding usb otg support to kernel ? I have ZOPO zp910.

@Dr-Shadow , As you are working on OmniROM, I think you have access to the full source. Can you help us in building Omni for our device as we already have the kernel source and just need to know the required changes.
I know you are busy with your projects but when you get time please help us.
Thanks.
Sent from my Micromax A116i using Tapatalk

Really sad to see this development slowed down. Mt6589 had real potential if optimized i think.
Sent from my LG-D802 using xda app-developers app

voetbalremco said:
They are the same. Its just a somewhere hidden file that lets the cores work on 1.5ghz instead of 1.2ghz.
Firmware of the same devices but with mt6589 or mt6589t are also working on both. There's just some configuration that enables the higher clock frequency.
Sent from my iOcean X7 using xda-developers app
Click to expand...
Click to collapse
although it has been a while...if you want to force an 6589 to be clocked like 6589T, you need to set this config: CONFIG_MTK_FORCE_CPU_89T = y

DerTeufel1980 said:
although it has been a while...if you want to force an 6589 to be clocked like 6589T, you need to set this config: CONFIG_MTK_FORCE_CPU_89T = y
Click to expand...
Click to collapse
Actually, this shouldn't overclock the CPU on MT6589. It was a fix for MT6589T platform detection

custom kernel
MT6589 Phone users do need a custom kernel..

Dr-Shadow said:
Actually, this shouldn't overclock the CPU on MT6589. It was a fix for MT6589T platform detection
Click to expand...
Click to collapse
I didn't try building with this yet, but the code seems to overlock the cpu.
If this config is set, the related function returns a value to another function, in which max freq is set.
Gesendet von meinem T0LTE mit Tapatalk 2

Dr-Shadow said:
Anyway, the most interesting part is the tuxonice on mediatek kernel (used for hibernating)
I'm still wondering what it really does (fastboot ? hibernate instead of power off ? etc...)
Click to expand...
Click to collapse
I just saw your post. The main idea here is to boot up the phone as fast as possible. It does not save apps, but it keeps the kernel in the ram with minimal features as possible so it wont drain battery as much. And as every hibernation it saves its last state for the essential stuff that will later transfer into ram. The whole idea is to skip bl and kernel loading part, and put sruff into ram that have been saved on the ssd

lolerpro8 said:
I just saw your post. The main idea here is to boot up the phone as fast as possible. It does not save apps, but it keeps the kernel in the ram with minimal features as possible so it wont drain battery as much. And as every hibernation it saves its last state for the essential stuff that will later transfer into ram. The whole idea is to skip bl and kernel loading part, and put sruff into ram that have been saved on the ssd
Click to expand...
Click to collapse
I removed this feature on my kernel because this stuff was not used. This made things more easy for merging AOSP patches

Dr-Shadow said:
I removed this feature on my kernel because this stuff was not used. This made things more easy for merging AOSP patches
Click to expand...
Click to collapse
It needs to be triggered by the os for it to run. Most manufacturers dont use it becouse it may not be stable for the way it operates

It really isn't used? My stock rom boots up within few seconds, where omnirom takes much longer.
Gesendet von meinem T0LTE mit Tapatalk 2

In most cases - no. Sinve the kernel is still in the ram you cant boot anything else even if you need too. This may not be good on devices without removable batteries. And the second reason i got from one source(but im not really sure about this one) is that you need to prepare your rom to run this feature, and its not alwats being as stable( either kernel crashing or not being able to boot the os)
DerTeufel1980 said:
It really isn't used? My stock rom boots up within few seconds, where omnirom takes much longer.
Gesendet von meinem T0LTE mit Tapatalk 2
Click to expand...
Click to collapse

DerTeufel1980 said:
It really isn't used? My stock rom boots up within few seconds, where omnirom takes much longer.
Gesendet von meinem T0LTE mit Tapatalk 2
Click to expand...
Click to collapse
Hmmm idk why u get this . Maybe you wiped data ? Because omnirom should boot fast too.

Related

[PETITON][SHARE]Petitioning Broadcom to relase missing ics sources and JB/kitkat too

Hey all
Now we know that broadcom knows and Trys to do what we wont
We got ICS Sources ?ok But missing audio ones and also camera libs
So i started new petition
To demand The missing sources
And also sources for Jellybean and kitkat
We need support
Lets do it Guys SIGN and SHARE this
★Petition★ Every Where Please
Good Luck For All Of Us
Reserved
@op Broadcom didn't release sources for us, it was for 'Raspberry Pi'…
madboy777 said:
@op Broadcom didn't release sources for us, it was for 'Raspberry Pi'…
Click to expand...
Click to collapse
However, we can mod it to work with this device.
and if they release jb/kk which i believe they wont
we could port "jb" on this
kk is impossible, device doesnt meet the min requirements of kk
Nachiket.Namjoshi said:
However, we can mod it to work with this device.
and if they release jb/kk which i believe they wont
we could port "jb" on this
kk is impossible, device doesnt meet the min requirements of kk
Click to expand...
Click to collapse
Galaxy mini with specs less than SGY has KK roms
Sent from my GT-S5360 using Tapatalk 2
Nachiket.Namjoshi said:
However, we can mod it to work with this device.
and if they release jb/kk which i believe they wont
we could port "jb" on this
kk is impossible, device doesnt meet the min requirements of kk
Click to expand...
Click to collapse
Lol Think of tass
**** that it has no power to run forio smothly but,, they have kk stable
wait until raspberry pi have 3rd anniv :v
Thank you man maybe this thing works
Sent from my GT-S5360 using XDA Free mobile app
Not for reperry
Read the article well They Heared Our call
This petition only to help devs
Devs are working if the made it its great
If they didnt
The petition would be grown up
myaservip said:
Not for reperry
Read the article well They Heared Our call
This petition only to help devs
Devs are working if the made it its great
If they didnt
The petition would be grown up
Click to expand...
Click to collapse
If it was the petition, then why didn't they released full source ? why only GPU oriented ?
mohamedrashad said:
Galaxy mini with specs less than SGY has KK roms
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
myaservip said:
Lol Think of tass
**** that it has no power to run forio smothly but,, they have kk stable
Click to expand...
Click to collapse
sg mini:
384 MB RAM, Qualcomm MSM7227, Adreno 200
totoro:
290 MB RAM, 830 MHz ARMv6, BCM Videocore iv.
And google says KK can "comfortably" run on devices with 312mb ram
so.... its a lil hard to predict if it could run on totoro...
however, JB May run...
Open GL can be handled.
camera and touch will be a very big speed braker on this one though
ONLY after it successfully boots on totoro... which again, cant be predicted
but i will go with a yes. with an improved Ramdisk we may be able to boot it
I wish we could make it have the source codes... and complete CM9 /10/10.1/11
Thanks for your concerning
ربنا يباركلك و يقويك علي الاعداء D:
Sent from my GT-S5360 using XDA Free mobile app
Nachiket.Namjoshi said:
tassve:
384 MB RAM, Qualcomm MSM7227, Adreno 200
totoro:
290 MB RAM, 830 MHz ARMv6, BCM Videocore iv.
And google says KK can "comfortably" run on devices with 312mb ram
so.... its a lil hard to predict if it could run on totoro...
however, JB May run...
Open GL can be handled.
camera and touch will be a very big speed braker on this one though
ONLY after it successfully boots on totoro... which again, cant be predicted
but i will go with a yes. with an improved Ramdisk we may be able to boot it
Click to expand...
Click to collapse
Bro okey maybe ram is bad on sgy but our cpu is better than tassve its a advance
Sent from my e-tab4 using XDA Free mobile app
Deopolos14 said:
Bro okey maybe ram is bad on sgy but our cpu is better than tassve its a advance
Sent from my e-tab4 using XDA Free mobile app
Click to expand...
Click to collapse
yuea... bcm vidcore iv is better.
thats y it can handle opengl better... but since ram....
so... lags lags everywhere. :|
anyways... those are just my guesses.
there is no harm in building and testing is there ? haha. was just sharing what i felt like
Deopolos14 said:
Bro okey maybe ram is bad on sgy but our cpu is better than tassve its a advance
Sent from my e-tab4 using XDA Free mobile app
Click to expand...
Click to collapse
Tassive cpu is from qualcomm
With full source
So overclocking and optimisation are available
Totoro cpu broadcomm
Incomplete sources- no actual overclocking and no optimisation
Galaxy y is very old i had it and its not good contender for KK
Sent from my C6502 using XDA Premium 4 mobile app
Nachiket.Namjoshi said:
tassve:
384 MB RAM, Qualcomm MSM7227, Adreno 200
Click to expand...
Click to collapse
alkesh95 said:
Tassive cpu is from qualcomm
With full source
So overclocking and optimisation are available
Click to expand...
Click to collapse
Wrong... wrong.
Those stats are for tass, not tassve. Tassve has exactly the same hardware as a Galaxy Y, and runs with the same BCM21553 CPU and VideoCore IV as totoro.
Remember,
Tass= GT-S5570
TassVe= GT-S5570I
totoro, tassve, cooperve and the Galaxy Pocket use the BCM21553 chipset.
It is true, however, that tass has full sources, and that is why they do have a somewhat stable KK.
Broadcom, like what madboy said, only released their sources because it was Raspberry Pi's second anniversary, not because of the petition. If it were, they would have released the sources shortly after the petition reached 10,000 signatures, but instead there was a lapse and they did not release it. Only on Feb 28, Raspberry Pi's 2nd anniversary did they release the sources. Even the main XDA site (not the forum) states that it was the anniversary that prompted Broadcom to release their sources.
Get your facts right.
NightRaven49 said:
Wrong... wrong.
Those stats are for tass, not tassve. Tassve has exactly the same hardware as a Galaxy Y, and runs with the same BCM21553 CPU and VideoCore IV as totoro.
It is true, however, that tass has full sources, and that is why they do have a somewhat stable KK.
Broadcom, like what madboy said, only released their sources because it was Raspberry Pi's second anniversary, not because of the petition.
Get your facts right.
Click to expand...
Click to collapse
oops sorry my mistake... but the specs are of sg mini
sorry, my mistake
post edited
Broadcon has released their sources for raspberry pi anniversary
Galaxy mini(tass) has a qualcomm processor 600mhz
GPU adreno 200
278MB of ram
Inviato dal mio GT-S5570i con Tapatalk 2
I thought Broadcomm doesn't have the libs for camera or audio they are with samsung. So we are never gonna get it.
Correct me if i am wrong.
___________________________________
««||Proud to be a geek. #lovexda||»»
The question that is in my mind now. Those libs are written on Java or C++ or what?
Sent from my GT-S5360 using Tapatalk 2

New Adreno GPU binaries (Sep2015) for CM12.1 and Stock 5.1

Wooow! Making smiles around the world, two packages containing Adreno drivers for Moto E users!
"This is the generic GPU drivers for adreno GPU found in snapdragon chipsets by Qualcomm.
Although this will not magically make your GPU fast, updated drivers will fix bugs and show improvements all round." ( @abhifx quote)
For AOSP/CM Lollipop 5.1.1 based
Stable:
This file is working without issues (until now) and a slight performance gain for CM12.1 and AOSP 5.1.1
Download: https://www.androidfilehost.com/?fid=24052804347848002
Unstable:
It's the last version of Qualcomm binaries. Runs 3DMark and Basemark with more performance, but it isn't okay to normal use. Well, if you wanna to compete with benchmarks (like in Hwbot) these libs are for you.
Download: https://www.androidfilehost.com/?fid=24052804347847159
Known bugs:
Antutu doesnt run 3D tests (other applications runs correctly) - Nexus related bug
Camera doesn't work
Video playback issues
Tested with:
Resurrection Remix 5.5.8 (Android 5.1.1)
You tell me
For Motorola Stock 5.1:
For Stock 5.1, I found another package in a latin forum. It works flawlessly!
Download: https://www.androidfilehost.com/?fid=24052804347847133
Tested with:
Stock Moto 5.1 Rom
lost101's Brazil 5.1 Optimized 1.1
Known bugs:
none (until now)
Installation:
- Boot into TWRP/CWM/Philz
- Flash respective zip file
- Reboot system
- Enjoy
Special thanks to:
@RoyJ (for the Qualcomm september 2015 Nexus driver)
GrupoAndroid Forum (for the Stock qualcomm binaries)
HWBOT.org (for the rankings that encourages me to find some way to improve GPU performance)
wondering does cm team include these in rom or do we have to flash it on every rom update we flash (ofcourse based on cm12.1) ?
and yes the device seems more snappy and responsive.
nik007rock said:
wondering does cm team include these in rom or do we have to flash it on every rom update we flash (ofcourse based on cm12.1) ?
and yes the device seems more snappy and responsive.
Click to expand...
Click to collapse
This package is the last released by Qualcomm for Lollipop. The october 2015 version is exclusive to Marshmallow.
I think CM does include only when QC release the source (and this binaries are for developers, so it can not has the source released). Look at the disclaimer
This release is intended only for developers, and does not meet our customer release quality. Please refer to the included readme file for installation.
Click to expand...
Click to collapse
Camera stopped working after flashing this this package ! But got a boost in performance!!
camera force close,whenever opened any video phone reboots.
so clearly it is unstable for now
jwellwin said:
Camera stopped working after flashing this this package ! But got a boost in performance!!
Click to expand...
Click to collapse
nik007rock said:
camera force close,whenever opened any video phone reboots.
so clearly it is unstable for now
Click to expand...
Click to collapse
Try this: https://www.androidfilehost.com/?fid=24052804347848002
Dan_Jacques said:
Try this: https://www.androidfilehost.com/?fid=24052804347848002
Click to expand...
Click to collapse
This worked with no problem!! Kudos!!
what changes you made?coz the file size is reduced just asking ?
Dan_Jacques said:
Try this: https://www.androidfilehost.com/?fid=24052804347848002
Click to expand...
Click to collapse
noob questions, this version is for cm 12.1?? askin cuz its the same size as the one for stock 5.1. and will i need to flash this everytime i flash a nightly update???
jwellwin said:
This worked with no problem!! Kudos!!
Click to expand...
Click to collapse
nik007rock said:
what changes you made?coz the file size is reduced just asking ?
Click to expand...
Click to collapse
shilanjan said:
noob questions, this version is for cm 12.1?? askin cuz its the same size as the one for stock 5.1. and will i need to flash this everytime i flash a nightly update???
Click to expand...
Click to collapse
I changed the libs version to a previous one. The last is buggy, and Qualcomm wont correct it in a standalone package (the are focused in Marshmallow).
Yes, this link is for CM12.1 and AOSP. I'll update the OP links today with it :laugh:
EDIT: The OP is edited with the "Stable" Adreno drivers Thanks for your feedback!
so now which version is this exactly ?aug ?
Dan_Jacques said:
I changed the libs version to a previous one. The last is buggy, and Qualcomm wont correct it in a standalone package (the are focused in Marshmallow).
Yes, this link is for CM12.1 and AOSP. I'll update the OP links today with it :laugh:
EDIT: The OP is edited with the "Stable" Adreno drivers Thanks for your feedback!
Click to expand...
Click to collapse
This old version, is bug free?
brundark said:
This old version, is bug free?
Click to expand...
Click to collapse
No bugs found till now.
Sent from my Moto E using XDA Free mobile app
brundark said:
This old version, is bug free?
Click to expand...
Click to collapse
I've post the bugfree version as "stable" in the OP
Do I have to flash it again when will flash another rom or it is a one time flashed?
anilkashyap.tech said:
Do I have to flash it again when will flash another rom or it is a one time flashed?
Click to expand...
Click to collapse
Yeah, I was thinking just about it. If dirty flashing a nightly...
Enviado de meu Moto G usando Tapatalk
noob doubt.. how much points in antutu has increased after flashing this lib file ??
I used stable version and my gaming performance decreased. It started stuttering.
nilanko said:
I used stable version and my gaming performance decreased. It started stuttering.
Click to expand...
Click to collapse
I think this is ROM/Kernel-Dependent because i've noticed slow downs in some ROMs while in other speedup
Inviato dal mio Moto E utilizzando Tapatalk
using stable version for cm12.1 with FUSION ROM an SAMSUNG Galaxy S5 (gt900f). I thougth that this should not only work for Nexus or Moto .- so I hope I can let this message also here ! I can confirm that this runs on my device without any problems so probably also on other devices with GPU Adreno 3xx. I did not made a formal benchmark -however feel a light increase / clearly no stuttering or lower performance.

[ROM][DEPRECATED] OLD Cyanogenmod 11

ROM DEPRECATED, USE LAST CM11 HERE
ROM DEPRECATED, USE LAST CM11 HERE
USE ONLY LASTEST BUILD
I forgot the rom name but there's a kitkat rom with no screen flickering issue by niropa (on lollipo bootloader). u can contact with niropa to solve screen flickering issue.
Yes,was in a wrong place, i have contacted a moderator, now is in android development.
Ok , i think cm11 its the most stable tree from cm team , i like KK because its more ligth weigth , i dont know why the developers wonma make roms unstable and buggies hehe , can u add a custom features? Like another toolchain? (Linaro , Uber) or new features from kernel? Like more i/o (zen ) , gpu OC or cpu OC?...
Anyway , Thank U its run great
Enviado desde mi Moto G mediante Tapatalk
STR4NG3R-GUY said:
Ok , i think cm11 its the most stable tree from cm team , i like KK because its more ligth weigth , i dont know why the developers wonma make roms unstable and buggies hehe , can u add a custom features? Like another toolchain? (Linaro , Uber) or new features from kernel? Like more i/o (zen ) , gpu OC or cpu OC?...
Anyway , Thank U its run great
Enviado desde mi Moto G mediante Tapatalk
Click to expand...
Click to collapse
unfortunately I am only at the beginning, I'm learning slowly how to create rom from source code, for the moment I do not know to create kernels with overcloclock or similar. I'm only 15 years old, and this is the second ROM in total which I compile
SLATE21&MOTOG said:
this rom works with all bootloader, kitkat and lollipop, but with the lollipop one you will get screen flickering. If anyone knows how I can do a build with no screen flickering can contact me in pm.
Click to expand...
Click to collapse
See PACMan builds with overkill kernel by niropa. Just search in that thread and you'll find many ROMs like CarbonKK or PA, which are made to work on LP bootloader
Will this work on msim variant also? I read you mentioned xt1032 but still if you know..
It might work, but has been tested only on xt1032 aka falcon.
tested on XT1033, very stable ROM, smooth ROM ever :fingers-crossed::fingers-crossed:
Stock cm11 kernel or something else is there? I can see "overkill kernel" that reminds me really good things
Rocketval said:
Stock cm11 kernel or something else is there? I can see "overkill kernel" that reminds me really good things
Click to expand...
Click to collapse
Yes, I have used Overkill kernel that @Niropa has used in his Pac-man rom build, with the hope of fix the screen flickering, but the problem remain. This is aniway a good and stable kernel. For more information see: https://github.com/ReaperXL2/Overkill_V4_extended/tree/cm-11.0
SLATE21&MOTOG said:
Yes, I have used Overkill kernel that @Niropa has used in his Pac-man rom build, with the hope of fix the screen flickering, but the problem remain. This is aniway a good and stable kernel. For more information see: https://github.com/ReaperXL2/Overkill_V4_extended/tree/cm-11.0
Click to expand...
Click to collapse
But are kernel sources updated? Or using it cause some incompatility such as hotspot, bt or something else?
All work fine, bluetooth and hotspot work. I have tested it, the only warnings are 3:
-Do not active kernel samepage merging, you will have problem in camera
-install gapps only after the first reboot of the rom
-If you use whatsapp install it before switching to ART (in developer setting, for better performance select ART)
There aren't particular bugs
SLATE21&MOTOG said:
All work fine, bluetooth and hotspot work. I have tested it, the only warnings are 3:
-Do not active kernel samepage merging, you will have problem in camera
-install gapps only after the first reboot of the rom
-If you use whatsapp install it before switching to ART (in developer setting, for better performance select ART)
There aren't particular bugs
Click to expand...
Click to collapse
Why gapps only on second boot?
ale467 said:
Why gapps only on second boot?
Click to expand...
Click to collapse
Because if you install the rom and after the gapps and you reboot, the setup wizard crash. I have tryed it
https://www.youtube.com/watch?v=YFATFIufW7Q&feature=youtu.be
This is a small video demonstration of the rom, 60 second.
SLATE21&MOTOG said:
Yes, I have used Overkill kernel that @Niropa has used in his Pac-man rom build, with the hope of fix the screen flickering, but the problem remain. This is aniway a good and stable kernel. For more information see: https://github.com/ReaperXL2/Overkill_V4_extended/tree/cm-11.0
Click to expand...
Click to collapse
Check out xperience kernel to get rid of screen flickering
Niropa said:
Check out xperience kernel to get rid of screen flickering
Click to expand...
Click to collapse
could you give me the kernel link on github ?
SLATE21&MOTOG said:
could you give me the kernel link on github ?
Click to expand...
Click to collapse
I don't have the link I haven't built for the moto g in ages, just go to the xperience thread, their is only 1 kernel by teamex called xperience

[RACER] [KERNEL] [N5X] [O+N] [3.10.105] [EAS] [SDCARDFS] [F2FS] [Linaro 6.3.1] [0524]

RACER KERNEL for Nexus 5X is the result of my adding cherry-picks from expert developers to a base consisting of the latest google and linux sources. It satisfies my needs, and may be good enough for others which is the reason I am sharing it. Please don't ask me to add features or specific commits.
Do please let me know if you come across a bug or some feature does not work as it should.
RACER_N5X_2017MMDD
Changelog
Source Code
Features
Tool Chain: GCC-Linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu
OS Used to build : Ubuntu 17.04
Acknowledgements: @franciscofranco, @jollaman999, @flar2, @osm0sis, @Razorless, @LazerL0rd, @The Flash
XDA:DevDB Information
RACER-N5X, Kernel for the LG Nexus 5X
Contributors
rachanta
Kernel Special Features: [LINUX 3.10.105] [EAS] [LINARO] [F2FS] [SDCARDFS]
Version Information
Status: Stable
Created 2016-03-19
Last Updated 2017-05-24
Reserved
I might need this later
Reseved
This might be required later
happy to see you here man, I loved your caf kernel for nexus 5 ,
Sent from my Nexus 5X using Tapatalk
Link is broken
Enviado desde mi Nexus 5X mediante Tapatalk
yeah man happy to see that
Racer_bull_20160320
Here's my first shot - stock kernel built with UBERTC GCC 6.0.0 - I think I've got my build environment right
Download RACER_BULL_20160320 Nexus 5X Kernel
nice to see you here @rachanta
keep up the good work :good:
New build is up. Wake controls, kcal, led support, sound control and more... added.
rachanta said:
New build is up. Wake controls, kcal, led support, sound control and more... added.
Click to expand...
Click to collapse
Deleted
I take it, forced encryption is disabled? Don't see it mentioned anywhere and as it cost me all my data just recently, I'm kind of paranoid
schaggo said:
I take it, forced encryption is disabled? Don't see it mentioned anywhere and as it cost me all my data just recently, I'm kind of paranoid
Click to expand...
Click to collapse
@schaggo forced encryption in disabled.
Don't work autorotation on DU ROM.
I will be glad to try after fix.
Bl4ckSn0w said:
Don't work autorotation on DU ROM.
I will be glad to try after fix.
Click to expand...
Click to collapse
Is DU based on Android N preview? Autorotation works with N preview, for which this kernel is developed.
cpufreq governors added
RACER_N5X_20160321
Feedback required.
Some governors may need to be tweaked if you have any freezes or RRs.
I am looking at your kernel and will report back with any findings I might make.
I'm glad we are getting options regarding kernels. N5X owners live in a bit a sad world ? for owning a Nexus device, the international dev community is astonishingly absent. So new blood is always appreciated!
Technical question: do you use a native Ramdisk or do you rely on anykernel? Meaning can we just cross-flash or do we need to create a clean basis when flashing your kernel?
Gesendet von meinem Nexus 5X mit Tapatalk
schaggo said:
I am looking at your kernel and will report back with any findings I might make.
I'm glad we are getting options regarding kernels. N5X owners live in a bit a sad world ? for owning a Nexus device, the international dev community is astonishingly absent. So new blood is always appreciated!
Technical question: do you use a native Ramdisk or do you rely on anykernel? Meaning can we just cross-flash or do we need to create a clean basis when flashing your kernel?
Gesendet von meinem Nexus 5X mit Tapatalk
Click to expand...
Click to collapse
The kernel makes ramdisk changes.
rachanta said:
Is DU based on Android N preview? Autorotation works with N preview, for which this kernel is developed.
Click to expand...
Click to collapse
Sorry, I did'n know. How about develop for ROM based on 6.0.1?
Working with Kernel Adiutor, I get system lockups and reboots when trying to change cpu governor tuneables. Kernel Adiutor is also a hit or miss operation in general, aespecially after reboots.
Sometimes it refuses to launch, when letting the system settle for a couple minutes, it comes up.
I have disabled all boost and touchboost settings, there is still boosting going on (big 864MHz, little 12xx MHz). To rule out governors, I changed governors but the behaviour stayed the same. Regarding Kernel Adiutors weird behaviour earlier, it could be though that the new values I set never get written to the system. Not sure.
I also have random reboots, never caught one in the act, I only notice it when unable to unlock by fingerprint and I must enter my unlock pattern.
Log is from playing with governor tuneables.
CPUQUIET Framework trial
New build is up
cpufreq governors removed
cpuquiet framework added
Download

[KERNEL] [MTD] [TW/CM9/CM11] [DEV] Watson Kernel (MTD support on Gingerbread!)

Hello guys,
This is a project I was working on for a kernel for our SGY.
I made it with a few things in mind:
>Improve it's performance
>Be universally compatible (after I nearly given up on trying to get a snappier CM11 and after the need for a snappier SGY, I decided to go back to GB. However, BML is terrible, and it is annoying to come back to. I decided to build a MTD kernel for Gingerbread then, and it works!)
>Experiment and upgrade as much as I can (thanks @robcore!!!!)
But since I lost my device, I cannot continue developing it. I am then releasing the source code (sorry, no flashable stuff, I deleted it long ago ) for any of you to continue(?) my work if your heart so desires.
If I ever get myself another SGY (or another BCM21553 device), I will gladly continue development (and support whoever does it too), but before I lose all my data and the kernel code alongside it, I am making it available.
This kernel features:
-OC up to 1040MHz (It's questionable even today if the bcm21553 OCs really work, but I tried hacking a way that works very similarly to MarocOS's one, maybe even better. Be warned though, the source around it is messy)
-GPU hacks for performance (Again, even I don't know if they do work, probably the values are just there to be seen, I'm not sure. I do know though that increasing the CPU speed will much likely increase the speed of V3D too)
-DVFS disabled (I found out DVFS is mostly the culpirit in the "832MHz crisis" where the kernel would forcefully scale itself to 832MHz, so I eliminated any reference to it in kernel code. Apparently DVFS on the processor is only available under the bcm21553 governor, but it is present on the other drivers as well. The idea for disabling DVFS came from my friend @robcore)
-A few additional governors and a buggy interactive governor (which is the default xd)
-MTD support for Gingerbread (Thanks Samsung Epic 4G! Although it only works on TouchWiz (I tried it with SL v2 and v2.1 and it works, but under NougatME(CM7) I got no success and loads of segfaults), it works ALMOST perfectly. See bugs for details )
-Some scraped source code from Samsung's FSR I found on the internet (barely compilable, though)
Bugs:
>Gingerbread version:
-IMEI won't appear in the Status screen, I also faced problems with non-working radio for calls. Data works just fine, but calling and receiving calls is unavailable. I believe it is EFS-related. My suggestion is backing up the EFS partition's file structure, then converting it to MTD, then restoring the backup.
-TWRP will crash and panic when exiting, a workaround is force rebooting
>ICS version:
-TWRP will crash and panic when exiting (I believe fixing it here will fix the bug above too)
>KitKat version:
-Flashing images fail randomly, you may also be unable to reboot normally if you do so. I tried addressing this but I couldn't get anywhere.
DOWNLOAD THE SOURCE: Here!
Thanks to:
 @robcore - his development on the Snapdragon S4 breathes life on my dev soul!
 @zman0900 - I saw his thread on an MTD TW kernel for the Samsung Epic 4G, which led me to believe MTD on GB is possible.
nice kernel
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
vdhero said:
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
Click to expand...
Click to collapse
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Building and fixing
sonickles9 said:
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Click to expand...
Click to collapse
I don't sure so I decided to build a kernel from your source and another cm9 version from Mohamad.Afaneh's source and I'll merge the audio on both of them for the best think to fix the bug.Thank you .
Link for kernel?
(img files...)(stock/cm9/cm11)
TheRealModder said:
Link for kernel?
(img files...)(stock/cm9/cm11)
Click to expand...
Click to collapse
Compile one for yourself,man. It only takes like 15-25 mins
vdhero said:
Compile one for yourself,man. It only takes like 15-25 mins
Click to expand...
Click to collapse
I don't know how to compile....
TheRealModder said:
I don't know how to compile....
Click to expand...
Click to collapse
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
vdhero said:
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
Click to expand...
Click to collapse
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
TheRealModder said:
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
Click to expand...
Click to collapse
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Click to expand...
Click to collapse
zlimage? We don't have that here, we only have boot.img for kernel
vdhero said:
zlimage? We don't have that here, we only have boot.img for kernel
Click to expand...
Click to collapse
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
Click to expand...
Click to collapse
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
vdhero said:
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
Click to expand...
Click to collapse
Ok. If you want to install linux i recommend using ubuntu or linux mint.
Ubuntu official website:https://www.ubuntu.com/
Linux mint official website:https://linuxmint.com/
Sent from my Zenfone 2 Laser using XDA Labs
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
vdhero said:
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Click to expand...
Click to collapse
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Assabtigle said:
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Click to expand...
Click to collapse
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Be fast bro!!
vdhero said:
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Click to expand...
Click to collapse
BE fast BRO Love U and Your WORK!!
All Your DEVELOPMENT are Faster than The ORIGINAL one Please Buy a NEW one!
and Yeah install the Stock Rom in your Phone by ODIN it will be fine!:laugh:

Categories

Resources