AOSP Kernel - One (M7) Q&A, Help & Troubleshooting

Hey guys. I'm wondering if there's any AOSP kernels that support Doubletap2wake, Sweep2wake/Sweep2sleep, Pocket detection, clock control and latest CM11 M9.

Related

[Q] Kernel with undervolting?

Hi,
Undervolted kernels are available for other devices (like the desire), is it possible to implement this feature in legend kernels?
This can save a lot of battery

[JB 4.2.2][ROM]Mackay ROM 2.999 Final (11-Oct-13) - Kernel 3.2 (24-Aug-13)

I have been sharing my CM7/CM9/CM10/CM10.1 builds for galaxy s for some time in several thread, which culminated in the MackayROM. I continue now with JB4.2 for optimus black, based on this ROM for galaxy s. MackayROM is based on CyanogenMod sources, with several performance enhancements.
About Cyanogen: CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.2 (JellyBean), which is designed to increase performance and reliability over stock Android for your device.
Disclaimer: 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.
If you run into errors, I may not be able to solve it!
If you know a solution to a problem, either upload it yourself to Gerrit Code Review or contact me through pm.
The ROM is based on CM10.1 with the following changes:
-Mackay Kernel
-Set of cherries picked from gerrit (differing by the day)
-Some handmade patches I did myself to the source code
Feature request are OK, but remember:
1. I try to stay close to stock
2. I will not include additional apps, unless they can be build from source
3. The time I spend on features depends on how much I like them myself
Changelog of 2.999 FINAL compared to previous release (2.91)
-Upstream code improvements - updated to CM10.1.3 stable release
Full changelog of 2.999 FINAL compared to stock CM10.1:
CM10.1 sources of 11-Oct-2013
All features compared to stock kernel:
Mackay kernel 3.2:
-Updated to upstream linux kernel v3.0.93
-SIO scheduler
-ROW scheduler (tweaked, default scheduler)
-FIOPS scheduler (tweaked)
-many improvements to IO schedulers in general
-tweaks to kernel scheduler
-Tweaking of interactive governor
-OndemandX: Battery-friendly version of ondemand
-SmartassV2: Moves quickly to a prespecified "ideal frequency" which should make the experience more smooth. It scales quickly to low frequency when load is gone to save battery.
-SavagedZen: A more aggresive SmartAssV2-based governor
-InteractiveB: An interactive based governor with a more balance batterylife/performance profile
-Lionheart: Based on conservative, but a bit more aggresive
-Aggressive: Like Lionheart, it is based on conservative, but even more aggressive
-reduced LED brightness
-Improve memcopy/memmove
-Improve the performance of memcpy and memmove
-Kill task closest in size to memory needed to free
-LOAD_FREQ (4*HZ+61) avoids loadavg Moire
-Entropy tweaks: http://lwn.net/Articles/489734/
-arm/crypto: Add optimized AES and SHA1 routines
-Revert some v30b code to solve chipmunk voice
-Improvements to RWSEM code
-Improvements to binder code
-Improvements to tmpfs
-Added frandom (much faster random number generator)
-hwcomposer from dhiru1602
-Proportional Rate Reduction for TCP
-Introduce timer slack controller
Source: https://github.com/kasperhettinga/lge-kernel-sniper
Removed apps:
-VideoEditor & demo VideoFiles
vendor/cm:
Adapt for custom MackayROM building (bootanimation, ROM&file name)
Custom bootanimation (Thanks to Malcho)
frameworks/base:
Changed USB page icon from Android to Cid
Set QS panel opening to outer 15% of statusbar
RAM bar
SystemUI: Option to display Quick Settings when there are no ongoing notificaions
Phone:
Transparent incoming call screen
Settings:
Removed user stats
Disable on/off toggle button for profiles on Settings main page
RAM bar
WiFi : Add “Forget all networks”
Added option to always pull down quick settings
Coming from stock ROM or when coming from CM7/9/10:
-Make sure you are rooted and have CWM (for stock ROM)
-Wipe data/Factory reset
-Install zip
-Install the gapps package of your choice (e.g. from http://goo.im/gapps‎)
-Reboot & you are done.
Can be flashed on top of CM10.1 build:
-Flash the zip
-Reboot & you are done (so this is non-wipe)
-Custom kernels can be used only if specific for JB4.2
Known issues
Same problems as stock CM10.1, except for removal of the chipmunk voice & improved GPS performance. Main issues:
-Gallery / movie recording often leads to FC or hot reboots
-Battery drain is high, especially when using 3G
Credits:
-Ricardo Cerqueira for making CM work on our ancient phone
-stratosk/DerTeufel/Mialwe for the inspiration I got from their kernels
-rootax &xdafileserver for providing a high-speed server for high quality downloads
-Malcho for his bootanimation & kernel splash
Downloads:
https://s.basketbuild.com/devs/kasperhettinga/sgs/rom/pre-KK/
Separate kernel 3.2: can be flashed on top of CM10.1 or any CM10.1-based ROM (same download link as above)
Gapps need to be flashed on top of the ROM if you want to use Google Play and other Google apps.
FAQ
Q. Process x (e.g. mediaserver/phone) is eating 50+% of my battery, what should I do?
A. Go to settings>apps>all and find the app which is causing the battery drain. Then delete app data and reboot phone. If it does not help, you can combine this step with clearing dalvik cache.
Q. I have problems with Play Store FC
A. Please install a recent gapps package (see e.g. http://goo.im/gapps)
Q: My camera is failing me!
A: Try this method: http://forum.xda-developers.com/showpost.php?p=41853069&postcount=950
Re: [JB 4.2.2][ROM]Mackay ROM 2.6.1 (17-February-2013)
kasper_h said:
I have been sharing my CM7/CM9/CM10/CM10.1 builds for galaxy s for some time in several thread, which culminated in the MackayROM. I continue now with JB4.2 for optimus black, based on this ROM for galaxy s. MackayROM is based on CyanogenMod sources, with several performance enhancements.
About Cyanogen: CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.2 (JellyBean), which is designed to increase performance and reliability over stock Android for your device.
Disclaimer: 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.
If you run into errors, I may not be able to solve it!
If you know a solution to a problem, either upload it yourself to Gerrit Code Review or contact me through pm.
The ROM is based on CM10.1 with the following changes:
-Mackay Kernel
-Set of cherries picked from gerrit (differing by the day)
-Some handmade patches I did myself to the source code
Feature request are OK, but remember:
1. I try to stay close to stock
2. I will not include additional apps, unless they can be build from source
3. The time I spend on features depends on how much I like them myself
Full changelog of 2.6.1 compared to stock CM10.1:
CM10.1 sources of 17-Feb-2013
Factory blobs updated to V30C.
All features compared to stock kernel:
Mackay kernel 1.2:
-SIO scheduler
-ROW scheduler (tweaked, default scheduler)
-many improvements to IO schedulers in general
-reduced LED brightness
-Improve memcopy/memmove
-Improve the performance of memcpy and memmove
-Kill task closest in size to memory needed to free
-LOAD_FREQ (4*HZ+61) avoids loadavg Moire
-Entropy tweaks: http://lwn.net/Articles/489734/
-arm/crypto: Add optimized AES and SHA1 routines
Source: https://github.com/kasperhettinga/lge-kernel-sniper
Added apps:
-Gapps (Reduced version of 121212 + Updates)
-AngryGPS
-YouTube HD v2b (wifi, 3G, also with screen off, normal colour scheme)
Removed apps:
-Apollo (replaced by Google Music)
-VideoEditor & demo VideoFiles
vendor/cm:
Adapt for custom MackayROM building (bootanimation, ROM&file name)
Custom bootanimation (Thanks to Malcho)
system/core:
>>Gerrit cherries:
charger: do not suspend when handling home
frameworks/base:
Option to enable gfx effects
Changed USB page icon from Android to Cid
Set QS panel opening to outer 15% of statusbar
Statusbar Clock modding (position, color, date)
FastCharge toggle for QuickSettings/Powerwidget
Battery bar
RAM bar
>>Gerrit cherries:
SystemUI: Option to display Quick Settings when there are no notifications (updated)
Add back backlight brightness curve adjustment.
SystemUI: option to toggle dimming of the notification shade
Make Safe headset volume handling user configurable
frameworks/opt/telephony:
Update the SMS sending limit instantly
Calendar:
>>Gerrit cherries:
Allow configuring the delay for snoozing calendar reminders
Calculator:
>>Gerrit cherries:
General series of updates in code (new features part 3)
Camera:
Fix the settings panel freeze
Fix Camera screen nail for external
Add external storage capability
>>Gerrit cherries:
HDR option
DSPManager:
Remove from drawer
Gallery2:
>>Gerrit cherries:
Localize strings
Filtershow toast translations
LockClock:
>>Gerrit cherries:
Reduced City and Weather Condition font by 2sp to avoid ending dots
Chronus: Optimize widget loading/display
Mms:
>>Gerrit cherries:
Mms: Remove text from notification
Phone:
Transparent incoming call screen
>>Gerrit cherries:
Flip to mute/dismiss call
Settings:
Removed user stats
Option to enable gfx effects
Statusbar Clock modding (position, color, date)
Disable on/off toggle button for profiles on Settings main page
FastCharge toggle for QuickSettings/Powerwidget
Battery bar
RAM bar
>>Gerrit cherries:
KeyguardAppWidgetPickActivity : Show all widgets
Use PreferenceCategories to group system category
PowerUsage: show more apps in battery statistics
Added option to always pull down quick settings
Option to toggle dimming of the notification shade
Add back backlight brightness curve adjustment.
Make Safe headset volume handling user configurable
Trebuchet:
Show the uninstall button by default when dragging from the app drawer
And a series of Dutch translations.
Coming from stock ROM or when coming from CM7/9/10:
-Make sure you are rooted and have CWM (for stock ROM)
-Wipe data/Factory reset
-Install zip
-Reboot & you are done.
Can be flashed on top of CM10.1 build:
-Flash the zip
-Reboot & you are done (so this is non-wipe)
-Custom kernels can be used only if specific for JB4.2
Credits:
-Ricardo Cerqueira for making CM work on our ancient phone
-stratosk/DerTeufel/Mialwe for the inspiration I got from their kernels
-theos0o for creating such a nice YouTube HD app
-rootax &xdafileserver for providing a high-speed server for high quality downloads
-Malcho for his bootanimation & kernel splash
Downloads:
Full version (including gapps & apps):
XDAfileserver
RootAxBox
Click to expand...
Click to collapse
Wouldn't it lag using the YouTube HD app without OC or tweaks when watching HD videos there?
Sent from my LG-P970 using Tapatalk 2
i have youtube hd on zeus gb and it works fine
Re: [JB 4.2.2][ROM]Mackay ROM 2.6.1 (17-February-2013)
AcrosDev said:
Wouldn't it lag using the YouTube HD app without OC or tweaks when watching HD videos there?
Sent from my LG-P970 using Tapatalk 2
Click to expand...
Click to collapse
For me it works fine....
Verstuurd van mijn GT-I9000
Re: [JB 4.2.2][ROM]Mackay ROM 2.6.1 (17-February-2013)
any known bugs?
Sent from my LG-P970 using xda app-developers app
Re: [JB 4.2.2][ROM]Mackay ROM 2.6.1 (17-February-2013)
Looks good indeed.
My hard drive got fried or something and now Im with no pc, is it really tested that it boots and it has working recovery?
I couldnt use adb if it bootloops and I dont know if this has e-recovery.
Thank you so much for bringing us this. I appretiate your efforts.
Re: [JB 4.2.2][ROM]Mackay ROM 2.6.1 (17-February-2013)
Looking good mate but do you actually own an optimus black ?!
Sent from my LG-P970 using xda app-developers app
@rrg: it doesn't really matter that, look at his rep first.
@kasper_h: thanks for the rom i'll test it and give reply if any strange thing appears.
sounds great but I don't see any download links
VyktorJonas said:
sounds great but I don't see any download links
Click to expand...
Click to collapse
Here:
.........
-Custom kernels can be used only if specific for JB4.2
Credits:
-Ricardo Cerqueira for making CM work on our ancient phone
-stratosk/DerTeufel/Mialwe for the inspiration I got from their kernels
-theos0o for creating such a nice YouTube HD app
-rootax &xdafileserver for providing a high-speed server for high quality downloads
-Malcho for his bootanimation & kernel splash
Downloads:
Full version (including gapps & apps):
XDAfileserver
RootAxBox
Click to expand...
Click to collapse
Re: [JB 4.2.2][ROM]Mackay ROM 2.6.1 (17-February-2013)
Thanks for that great surprise.
Sent from my LG-P970 using Tapatalk 2
thanks downloading and gonna try..
Re: [JB 4.2.2][ROM]Mackay ROM 2.6.1 (17-February-2013)
purewater said:
any known bugs?
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
Regular CM bugs.
Grakel said:
Looks good indeed.
My hard drive got fried or something and now Im with no pc, is it really tested that it boots and it has working recovery?
I couldnt use adb if it bootloops and I dont know if this has e-recovery.
Thank you so much for bringing us this. I appretiate your efforts.
Click to expand...
Click to collapse
Off course this is tested I build and share for four devices here on XDA. Everything is tested before I put it online.
rrgrrg said:
Looking good mate but do you actually own an optimus black ?!
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
Actually, my wife does
That also tells something about the level of bugs. She is not an Android junkie and needs the phone for work. My cm10/JB4.1 ROMs led sometimes to complaints (crash) so I never shared those build. She is very happy with the JB4.2 build.
Only two things that are still an frequent issue: SD card getting unmounted and 3G battery drain. I am still hoping I can collect a logcat of the first. And 3G drain is 'solved' by using 2G when idle and only switch to 3G when needed.
Verstuurd van mijn GT-I9000
Re: [JB 4.2.2][ROM]Mackay ROM 2.6.1 (17-February-2013)
Testimony/Review:Mild amount of customization and pretty smooth,I have not ran a benchmark yet but I will soon.Look out guys,this ROM is one to watch!
Sent from my LG-P970 using Tapatalk 2
Screen Shoot pl.
Nice,i didnt expect that you would give your antention on our ancient phone,hope you have the time in the future for updates,just a request when you think you done all you can inform cm about your mods so that they know and release their official release,im glad there is someone that cares about ob cause cm is not so much,will try asap and give you feedback.
---------- Post added at 09:06 AM ---------- Previous post was at 09:04 AM ----------
When i flash cm10. i always deleted myself videoeditor and videos in media folder,do you know why its there??
Alucard said:
Nice,i didnt expect that you would give your antention on our ancient phone,hope you have the time in the future for updates,just a request when you think you done all you can inform cm about your mods so that they know and release their official release,im glad there is someone that cares about ob cause cm is not so much,will try asap and give you feedback.
Click to expand...
Click to collapse
I am especially interested in feedback on the updated vendor blobs (camera, gps, LED). If these work better than stock CM10.1, I can send a pull request to see whether they allow the v30c blobs into mainstream CM
Some of the additional features I added to this ROM will not be accepted by mainstream CM. Their policy nowadays is took keep the number of user settings to a minimum to have a clean experience. Although I like this (AOKP is too much settings for me), I do like some additional goodies on top of CM.
Another thing that may be useful upstream is the ROW scheduler. I have seen improvements on all phones I used this on, so I also added it to this p970 build.
Alucard said:
[/COLOR]When i flash cm10. i always deleted myself videoeditor and videos in media folder,do you know why its there??
Click to expand...
Click to collapse
I also don't like/use it. I can imagine using it on a tablet though...
-Smooth
-Good battery compsution.
-Camera is a bit better.
-At the start the phone take at least 2 or 3 mins to charge Launcher
downloading....want to try a new rom

Torch app

I am interested if there is any torch app that can control brightness of camera flash.
I know that Arararagi's customized ROM has it, but it is odexed and I failed to deodex it.
I think several custom roms have ability to use low brightness and high brightness option in torch app. Atm it's limited to 4.3.x and previous roms, kitkat has some issues with it (araragi's stuff is causing some conflicts, adam has fixed it on builds newer that two days ago or so iirc)
arararagi's customizations are open-source, you can get the Torch app patches at his GitHub. Of course that only works if the kernel supports it.
Sent from my OmniROM-powered LG Optimus 4X HD

[Q] Can you add features to cm11 kernel?

I'd like to add the knock to wake function to the cm11 m7spr kernel. I'm not sure if this is possible. I've seen the bulletproof kernel and it adds knock tp wake, among other features, to the htc one m7. Is there anyway to build the knock to wake function into the cyanogenmod 11 kernel or, if that isnt possible, perhaps some other alternative?

[ROM][AOSP Based][5.1.1] Nexus Experience NX9.8.1 [Victara]

NEXUS EXPERIENCE RELEASE 9.8.1 [VICTARA]
Based on AOSP Code from Google
All stable CM12.1 features
Android 5.1.1 merged
Fully user experience of Nexus devices since first boot
Gestures menu in Settings with following features:
Pick up for Ambient display
Approach for Ambient display
Wave to silence calls and snooze alarms
Twist for Quick Capture
Chop twice for flashlight
Heads Up Enabler/Disabler and Heads Up for all notifications options
Notification ticker option
Lock screen custom shortcuts
Navigation bar height
FAB for Clear all recents
Clock and Date customizations
Network traffic on Status bar with Auto hide option
More Animation scales
Option to add Sound panel to power menu
Advanced IME options
Option to disable Quick settings on lock screen
Smartmax governor as default CPU governor
Release 3.0 and up use WebViewGoogle instead of AOSP WebView and can be updated from Play Store like Stock ROM when an update is available.
DOWNLOAD ROM
https://nxrom.us/motox2.html
DOWNLOAD GAPPS
http://corte.us/nxgappsmirror
SITE
https://nxrom.us/
Credits: Anderson Aragão - Donate
Google
CM12 - Cyanogemod
Paranoid Android
Slim Roms
NX G+ Community
Follow us in our community --->> http://goo.gl/vr6yBT
18/08/2015
Changelog of Release 9.8.1
Android 5.1.1 R13 merged
Stagefright vulnerability fix merged
Updated Kernel and binaries from official Android 5.1 from Motorola
All fixes from Google
Fix a weird behavior when expanding Lock screen notifications
Fix saving default sim from select SIM dialog
Some fixes and improvements in system
14/08/2015
Android 5.1.1 R13 merged
All fixes from Google
Fix a weird behavior when expanding Lock screen notifications
Fix saving default sim from select SIM dialog
Some fixes and improvements in syste
*Option to disable Superuser icon on Statusbar settings
*Fixed a bug that some applications can't be installed with successful
*Fix volume key music control with Ambient display
*Ambient display Tile
*Add 10% Battery Saver Trigger and expand options up to 30%
Vamos testar pra ver se da certo aqui no nordeste essa ROM
Amazing rom so faaaaar!!!!!
Excelent!!!... everything works fine
Coming son.
http://imgur.com/nzK5N1R
Tayrom said:
Coming son.
http://imgur.com/nzK5N1R
Click to expand...
Click to collapse
When when????
Sent from my Nexus 5 using XDA Free mobile app
Flamehell said:
When when????
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I'm only waiting the fix for WiFi issue from CM12.1 repos. Almost is done!
andersonaragao said:
I'm only waiting the fix for WiFi issue from CM12.1 repos. Almost is done!
Click to expand...
Click to collapse
So,i think still some days,right bro?I m Samuel
Sent from my Nexus 5 using XDA Free mobile app
NEXUS EXPERIENCE RELEASE 3.0 is here!
All stable CM12.1 features
WiFi bug from CM12.1 fixed
Android 5.1 merged
New Gestures menu in Settings with following features:
Pick up for Ambient display
Approach for Ambient display
Wave to silence calls and snooze alarms
Twist for Quick Capture
Chop twice for flashlight
FAB for Clear all recents
Date customizations in Clock options
Network traffic on Status bar with Auto hide option
More Animation scales
Latest commits from CM12.1 (04-11)
DOWNLOAD ROM
http://corte.us/459537
DOWNLOAD GAPPS
http://corte.us/nxgapps
https://nxrom.us/
Credits: Anderson Aragão
Google
CM12.1 - Cyanogemod
Paranoid Android
Slim Roms
NX G+ Community
Follow us in our community --->> http://goo.gl/vr6yBT
Tayrom said:
NEXUS EXPERIENCE RELEASE 3.0 is here!
All stable CM12.1 features (No WiFi bug)
Android 5.1 merged
New Gestures menu in Settings with following features:
Pick up for Ambient display
Approach for Ambient display
Wave to silence calls and snooze alarms
Twist for Quick Capture
Chop twice for flashlight
FAB for Clear all recents
Date customizations in Clock options
Network traffic on Status bar with Auto hide option
More Animation scales
Latest commits from CM12.1 (04-11)
DOWNLOAD ROM
http://corte.us/459537
DOWNLOAD GAPPS
http://corte.us/nxgapps
https://nxrom.us/
Credits: Anderson Aragão
Google
CM12.1 - Cyanogemod
Paranoid Android
Slim Roms
NX G+ Community
Follow us in our community --->> http://goo.gl/vr6yBT
Click to expand...
Click to collapse
JEEEZ i was on a promise to myself not to flash anything other than stock for a while, but you're doing such a great work i must try this...
Downloading right now.
just a Q:
How's battery life??
arzafran said:
JEEEZ i was on a promise to myself not to flash anything other than stock for a while, but you're doing such a great work i must try this...
Downloading right now.
just a Q:
How's battery life??
Click to expand...
Click to collapse
About 4h of SOT on a full day use or about 5h ~ 6h with INTENSE use! This with ALL Sync services enabled, all sensors enabled, Adaptive brightness and Live Display enabled and WiFi, GPS and Mobile data enabled.
downloading, i'll try it and report back, just FYI i was building Vanir based on CM12.1 but i think there's no need for building another near stock rom.
THX again.
Does this rom have root ?
marquesini said:
Does this rom have root ?
Click to expand...
Click to collapse
Yup! Only active in developer options
Guys,i m trying this rom and is amazing,trust me!!Really fast and stable.....and with a lot of stock moto x features.....veeeery nice!!!!
Great lets try this
arzafran said:
JEEEZ i was on a promise to myself not to flash anything other than stock for a while, but you're doing such a great work i must try this...
Downloading right now.
just a Q:
How's battery life??
Click to expand...
Click to collapse
Haha! Same here... this sounds so good, downloading now!
armandocorti said:
Great lets try this
Click to expand...
Click to collapse
You will not regret it......
An hour in and... DAMN GOOD ROM!!!

Categories

Resources