CyanogenMod 7.2.0-RC2+ "Galaxy5" Port - Samsung Galaxy 5 I5500

CyanogenMod 7.2.0-RC2+ Galaxy 5 Port
Latest release: v2.4 [20120518]
Latest Google Apps package: 20110828
Hey folks,
This is a port of CyanogenMod 7.2.0-RC2+, a community-developed Android ROM based on Gingerbread 2.3.7, for the Samsung Galaxy 5 I5500 (Europa) phone. The current port status is stable - most hardware is working correctly, but see post #2 for known issues.
Special thanks to Motafoca for starting CyanogenMod development, DrMacinyasha for the hosting, OuNao for the fake dual-touch module, sensor work and general assistance, mikereidis (author of Spirit FM Radio app) for helping with FM audio issues, and of course, thanks to all of you for testing!
Pre-requisites:
Visit the Basebands thread and make sure that you are using a baseband that is recommended for CyanogenMod. If you are still using an Eclair ROM, you must update your baseband or you will experience boot loops.
Visit the ClockworkMod thread and install the latest ClockworkMod build via Odin.
Install the GooManager application from the Google Play store.
Installation (updating from older CM7 build):
Open the GooManager application.
Select the Check for rom updates option.
Click on the notification for the available update and then click the Download button.
When the download finishes, enter recovery and install the update package followed by the Google Apps package.
Installation (first time/new users):
Open the GooManager application.
Navigate to psyke83 -> roms -> galaxy5.
Click on the build you wish to install from the list.
If needed, click the Download Gapps button to download the Google Apps package. The most recent (and most suitable) version will always be selected for you automatically.
Click on the Download button to download the rom.
Once the download(s) are complete, reboot into recovery and install the update package, followed by the Google Apps package.
Important: if you are updating from a stock or custom ROM, choose the data wipe option before rebooting.
Latest Changelog:
20120518 [v2.4]
Updated CyanogenMod source - version 7.2.0 RC2+ (pre-release).
Various improvements to libaudio: updated to Adriano Carrata's rewritten libaudio code (with my Samsung customizations re-added), added user-adjustable audio attenuation (disabled by default - see post #2), implemented Samsung's proprietary snd_set_extamp ioctl to improve audio quality, reduce in-call volume on headsets & fix FM radio background hiss.
Updated kernel with KSM (Kernel Samepage Merging) support - disabled by default, see madconfig documentation in post #2 for details.
Switched to wpa_supplicant v5 & awext driver. This fixes the issue in which wifi didn't connect properly either on first boot, or when activated via the notification bar/widgets.
Switched to libjpeg-turbo for better performance in Gallery & other apps making intensive use of jpeg images.
Switched to CM7 version of libgralloc & libcopybit, updated libcamera source.
Added support for automatic ROM re-odexing to madconfig (recommended only for people not using an app2sd method).
Small change to fake dual-touch driver to slightly improve touchscreen edge sensitivity.
Added support for ROM downloads/OTA updates via MAD Manager. Note: GooManager is still supported - it's your choice which application to use.
20120401 [v2.3]
Hotfix 3 [18th April]: kernel: fix shutdown issue.
Hotfix 2 [16th April]: kernel: enabled CGROUPS + CFQ IO scheduler (seems to reduce lag), various patches to improve performance/stability; g5sensord updated to v3.4 (low pass filter to reduce compass needle dancing).
Hotfix 1 [10th April]: kernel: fix headset detection problems, experimental change to improve stability when rebooting to recovery; g5sensord updated to version 3.3 (corrected bug in calibration file, hack to stabilize compass on high pitch)
Updated CyanogenMod source - version 7.2.0 RC1.
New kernel (label: gio2europa). Based on Samsung Gio Froyo source, updated to latest Code Aurora froyo_almond revision. This kernel has a more accurate battery driver, more efficient power saving for the mmc (wifi/sd) interface, and includes many fixes from Samsung and Code Aurora Forum in contrast our original kernel source.
New wifi driver + firmware (3.0.70.23, from Samsung Gio Froyo system image). This wifi driver is more recent than our official source, has better mmc power management code, and appears to be more stable. The minimum CPU frequency also set to 122Mhz (really). This frequency usually caused sleep of death issues, but this new driver may be immune.
Various patches for memory leaks and minor bugs from gerrit.
Updated sensor daemon (g5sensord) to latest revision (v3.1) - adds calibration data persistence, calibrated data and magnetic z-axis, saving of hard and soft iron calibration data. Should fix the Google Sky sensor issue. Thanks OuNao!
Enable setup_fs tool by default. This tool will check /data and /cache on each boot, ensuring that they are formatted properly as ext4 filesystems. If not, the partitions will be formatted automatically. This should make upgrading from Froyo more painless, and also fixes a common issue in which /cache corrupts randomly (perhaps due to unclean dismounts when the phone is not rebooted properly).
GooManager support now working correctly, which allows for future OTA updates.
20120317 [v2.2]
Hotfix 1: changed kernel config (to test for battery improvements), re-enabled WOW suspend in wifi driver
Updated CyanogenMod source - version 7.2.0 RC1.
Cherry-picked various patches from gerrit to fix issues with core binaries/libraries (dalvik, bionic, zlib, etc.).
Kernel: updated europa-battery, pmem, fsa9280, android staging drivers.
Kernel: reduce minimum CPU scaling frequency to 122Mhz (to see if sleep of death occurs with the new wireless driver).
Wifi: using AR6kSDK.3.0_RC.298 source with patches to allow usage of Samsung's firmware blobs, disable WoW (Wake on Wlan), and fix a certain case in which the driver blocks suspend. Note: the newest driver from freescale (AR6kSDK.3.1_RC.563) is not stable with our phone. This can't be fixed easily, as the problem appears to be within the new proprietary firmware blobs, which is something I can't fix. In the meantime, this driver should work well (and hopefully without any sleep of death issue).
dhcpcd: patches to optimize dhcp requests for Atheros AR6003. This improves connection/reconnection speed and reliability.
libhardware_legacy: increase wifi loader timeout from 1 second to 5 seconds. This ensures that the wireless driver is given time to settle before the first scan occurs.
wpa_supplicant_6: wait for control interface monitor to be brought up before starting. Improves reliability of wireless when reconnecting from idle.
libaudio: fix for minimum in-call volume being incorrectly muted in certain cases (including on speakerphone); fix FM audio when using no-microphone headphones.
Switched to OuNao's open libsensors - completely fixes accelerometer lag.
Switched to "g5sensord", Ounao's open memsicd replacement based on freescale's eCompass code - more battery efficient than proprietary memsicd daemon.
GPS: use worldwide SUPL server by default. Initial reports indicate that people are having better connectivity with this setup overall.
Compcache: back to 18%.
ADWLauncher: lock action buttons by default (helps avoid cases in which users accidentally detach the icons for these buttons).
Change scrolling cache setting to further improve scrolling speed.
Disable automatic brightness setting by default. Our phone has no light sensor, and I suspect that the software implementation may be causing battery drain.
20120305 [v2.1]
Hotfix 2test3 [10th March]: Kernel: reverted all changes since v2.0 release (to hopefully prevent battery drain); ar6000: avoid setting refClock rate (may improve wireless stability); reverted to CyanogenMod wpa_supplicant v6.
Hotfix 2test2 [8th March]: Same as hotfix2test1, but using stable kernel instead. Please compare against hotfix2test1.
Hotfix 2test1 [7th March]: Reintroduce CodeAurora kernel with fixes for battery usage (but further testing is needed by the community); updated new ar6000 driver to match suspend/resume/bluetooth coexistence behaviour of stock driver; switched to wpa_supplicant & hostapd 0.8.x from Atheros SDK to improve wireless behaviour; fix FM audio when using no-microphone headphones.
Hotfix 1 [6th March]: New wireless driver (AR6kSDK.build_3.1_RC.563) from Freescale i.MX53 source release - wireless is now stable. Modified source is available on github (freescale branch).
Updated CyanogenMod source
New ar6000 driver (adapted from AR6kSDK3.1 source package used by the Sony PRS-T1/JP e-book reader); enabled combo scanning in wpa_supplicant_6.
libaudio: fixed combo device issue (ringtone in speaker + headset/headphone)
libsensors: using OuNao's libsensors with change to further reduce battery consumption during idle. This completely fixes sensor lag. Thanks to OuNao.
Adjusted smartassV2 CPU scheduler to idle at lower frequencies
Enabled CGROUPS in kernel to minimize data starvation issues.
Updated fake-dualtouch module to v9.1 (fixed).
Enabled Goo-inside.me OTA update support (requires Goo-inside.me app)
20120206 [v2.0]
hotfix 2 (6th February): more fixes for microphone and headset routing. I can't reproduce call echo, so it may or may not be fixed.
hotfix 1 (6th February): due to popular demand, the microphone has been enabled to allow voice calls. [sarcasm]In future releases this will be a paid feature.[/sarcasm]
Updated CyanogenMod source (almost 7.2.0-RC1).
Kernel: updated OuNao's dualtouch module to the latest version (v9.1, which also has edge sensitivity fix).
Kernel: updated android staging kernel drivers from 2.6.35 kernel (notably bringing improvements to the lowmemorykiller driver).
Kernel: audio driver patches to prevent rare blackscreen during incoming calls from idle/low memory conditions.
Framework: disable scrolling cache (prevents lag in certain apps).
Framework: switched to stable copybit version with blending bug fix.
Audio: further updates to latest CAF libaudio version with FM support added. Bluetooth calling needs testing (I don't have a peripheral to test).
Camera: fixed force close error during zoom.
Mobiledata: added 2g/3g mobiledata switch option (you can set the mobiledata button to switch between 2g/3g mode instead of simply turning on/off data)
FM: Fix audio routing (where headphones sometimes stopped working after closing the radio app); respect upper and lower frequency limits; looping between low/high frequency limit during manual seek is now possible.
Network: SIM lock messages will no longer be ignored. This may help people who have problems using SIM cards that require a PIN unlock (note: this is not related to the reboot problems with certain SIM cards).
Updated USBController.cpp (tethering) code to possibly prevent reboots after extended use.
Refreshed ClockworkMod Recovery official build to 5.0.2.8 (thanks to koush)
Moved to new hosting on goo-inside.me (thanks to DrMacinyasha), which allows for better ROM Manager integration. This also means no more weekend download restrictions!
Improved LatinIME key sensitivity (key presses are recognised with better precision than before).
Settings -> About phone -> Mod version will now show the exact build date, which helps you to know exactly what version you're running.
Update notifications & automatic ROM updating now available (ROM Manager Premium users only).
Increased compcache to 26% (may be useful for those who have no swap).
Decreased wifi scan interval to 45 seconds to help with reconnection problems if you use hidden SSIDs.
Switched to US GPS servers by default.
???
v1.9 - DepositFiles, Mediafire, HotFile - 25 January 2012:
Hotfix 3 - DepositFiles, Mediafire, HotFile [26 January]: libaudio: updated code based on rmcc's geeksphone zero version, fixed no mic headsets (including FM routing).
Hotfix 2 [bad, please wait for newer hotfix] [26 January]: libaudio: updated code based on rmcc's geeksphone zero version. May help with some routing problems.
Hotfix 1 - DepositFiles, Mediafire, HotFile [26 January]: Kernel: disable samsung's drop_caches hack (may help reduce lag related to paging of swap). libaudio: fix for headphones issue (thanks to kingmaya & OuNao for troubleshooting).
Data wipe?: only if you have problems.
Updated CyanogenMod source (7.2-RC0)
Now using ICS transition and rotation animations
Fix for "stuck" notification items
Kernel: remove SCHED_HRTICK patches due to instability
Kernel: tweak smartassV2 scheduler to use more appropriate CPU frequencies for idle and awake states
Use safer mount options to reduce chances of data corruption
Reduce default compcache usage to 10% of memory
Tweaked TCP buffer for wifi device to improve performance
Improved Bluetooth reliability (enable HFP, increase max connections 1 -> 3).
v1.8 - DepositFiles, Mediafire, HotFile - 6 January 2012:
Hotfix 1 - DepositFiles, Mediafire, HotFile [7 January]: Kernel: back to original europa_battery.c driver from 2.6.32 kernel, with fix for 99% charge issue (should now stably charge to 100% and discharge without any erratic jumps); fixed video encoders and decoders (more efficient decoding of Youtube, etc., and now video recording is as fast as the stock ROM); libcamera: tweaked default exposure settings to slightly darken video recording; Boot: disabled setup_fs service (just in case it's causing a random /cache corruption issue).
Data wipe?: only if you have problems.
Updated CyanogenMod source (Android version 7.2-RC0)
Kernel: rebased on updated Samsung source.
Kernel: rebuilt using latest stable linaro gcc release: 4.5-2011.11
Kernel: removed mmc31xx axis orientation hack
Kernel: added new interactiveX CPU governor
Kernel: stability/performance patches added
Using new memsicd daemon which doesn't require mmc31xx kernel driver hack
Renamed usb tethering device from usb -> rndis (cosmetic)
New wifi module built from updated Samsung source; the only change is that Wireless-N mode is enabled.
Using wpa_supplicant_6 with ar6000 supplicant driver.
Updated adreno200 libraries (from latest Callisto Gingerbread ROM).
Tweak LatinIME keyboard (more compact)
Enable surface dithering by default (it improves font rendering quality without much performance drop)
v1.7.2 - DepositFiles, Mediafire, HotFile - 7 November 2011:
Data wipe?: only if you have problems.
Hotfix 1 [7 November 2011] Fixes wireless hotspot mode. Note that the hotfix is on ROM Manager (but I don't want to be releasing hotfixes any further).
Updated CyanogenMod source.
Removed optimization from framework that causes split video issues on our phone.
Added brightness and vibration presets - should fix notification icon issues.
v1.7.1 - DepositFiles, Mediafire, HotFile - 1 November 2011:
Data wipe?: only if you have problems.
Now distributed via ROM Manager.
Updated CyanogenMod source.
Using stock ar6000 driver & new wpa_supplicant_6 with awext emulation (patch thanks to Nicu Pavel) and fix for wifi hotspot mode.
Swapped volume controls when phone is at 90 degree anti-clockwise orientation.
v1.6 - DepositFiles, Mediafire, HotFile - 7 October 2011:
Data wipe?: only if you have problems.
Hotfix 4 [fixed2] - DepositFiles, Mediafire, HotFile [16 October 2011]: Fixed random disconnect issue with wifi driver; updated wpa_supplicant_6. Note: please report if you can't scan for access points correctly (should only happen if you do a data-wipe/fresh install). If this happens to you, be patient and wait 1-2 minutes for the list to appear properly.
Hotfix 3 [fixed] - DepositFiles, Mediafire, HotFile [15 October 2011]: [Fixed: MAC address problem with Google Sync] Using CM7 wpa_supplicant v6 with patch to fix wifi-hotspot activation; downgraded to slightly older wifi driver based on 2.6.35 kernel source (should be more stable, prevent sleep of deaths, and has working ad-hoc networking); fixed lense lockscreen text position; fixed problem with "split" video; fixed rendering effects. Note: You should wipe your dalvik-cache to avoid any problems.
Hotfix 2 - DepositFiles, Mediafire, HotFile [13 October 2011]: Reverted to v5 CyanogenMod wpa_supplicant driver (to fix ad-hoc networking); updated wifi driver; new kernel battery driver; decreased lockscreen bottom dip; some optimizations to framework code for increased performance. Note: your dalvik cache will be regenerated (i.e. first boot will be slower), and you may want to clear your battery stats due to the new battery driver. If you have problems, manually clear the dalvik cache.
Hotfix 1 - DepositFiles, Mediafire, HotFile [12 October 2011]: New hotfix to celebrate 800,000 CyanogenMod downloads & 1 million total MADTeam downloads! Fixed compass orientation, changed to newer wifi driver due to sleep of death issues with stock version.
Updated Gingerbread 2.3.7 / CyanogenMod source - no longer marked as Release Candidate code.
Due to reported problems, reverted to stock wifi driver - the only change is that wireless-N mode is activated.
Replaced CyanogenMod's v5 wpa_supplicant with Samsung's v6 version. This should improve wireless signal with the stock driver.
Fixed light toggle button in notification menu.
Optimizations: reduced VM heap size to 24m, disabled surface dithering.
Small tweaks & fixes.
v1.5 - 1 October 2011:
Battery stats wipe?: You must wipe your battery stats in ClockworkMod for this release, since we are using a modified kernel battery driver (and your existing stats file may be invalid).
Data wipe?: A regular data-wipe is only necessary if you have problems (as usual).
Hotfix 2 [5 October 2011]: Kernel: Bluetooth initialization fix; enabled compatibility with new basebands - you are now free to use any Froyo-based baseband with CyanogenMod. Framework: enhanced dual-touch compatibility (enabling/disabling dual-touch will now change the touchscreen permissions to the proper type). If you're using dual-touch, please re-enable via madconfig after installing this update.
Hotfix 1 [5 October 2011]: Kernel: kernel source re-patched from vanilla to avoid unnecessary/unstable patches; fixed reboot/reboot to recovery hangs; optimized size of kernel modules to free extra RAM; upgraded to newer FSR drivers from I5500XWJQ3 ROM; reverted to stable version of compcache (ramzswap) driver; removed OuNao's dualtouch driver from kernel, but re-added as an optional kernel module. Framework: added new "madconfig" script to configure swap and dualtouch activation; various small fixes and hacks removed.
35% extra trololo.
Updated CyanogenMod source - Gingerbread version 2.3.7.
Fixed audio routing when headphone/headset is connected. You can now force ringtones to speaker - just remember that you need to change this in Settings -> CyanogenMod Settings -> Sound -> Always play on speaker.
Fixed FM Radio seek (left/right arrows) - thanks to OuNao.
Now includes fake dualtouch driver by default - see OuNao's Fake DualTouch thread for more details.
Now using improved ar6000 wireless-N wifi driver (based on Linux compat-wireless-20110329 ath6kl driver, with Samsung's patches for the G5).
Small tweaks to the new battery driver's voltages.
S2E corruption issues should now be completely solved. If your existing /sd-ext partition is corrupt from previous usage in older ROMs, see post #2 for instructions on how to manually format your partition (this is the only way to clear the bug).
[I5508] Touchscreen driver for I5508 now partially working. The x/y axis orientation is correct, but the accuracy is not good. I will try to fix this in future releases/hotfixes.
v1.4 - 23 September 2011:
Battery stats wipe?: You must wipe your battery stats in ClockworkMod for this release, since we are using a new kernel battery driver.
Data wipe?: A regular data-wipe is only necessary if you have problems (as usual).
Hotfix 1 [24 September 2011]: Fixed wifi tethering (reverted to v5 supplicant - should not reduce wireless quality as we are still using the newer WEXT driver); fixed stock FM radio; improved FM radio volume code (thanks to OuNao); improved FM audio quality (reduced hiss sound).
Updated CyanogenMod source.
Deodexed ROM: you can now install the full Google Apps package if you desire. Keep in mind that your first boot after upgrade/fresh install will be slower compared to previous versions, but regular boots will continue to be fast.
Patch to prevent S2E from applying bad filesystem tweaks (won't interfere if you don't use S2E).
Linked /cache/download -> /data/download by default (so all users can download large apps from Market, even if not using an app2sd method).
Kernel: Updated battery driver (based on tass_battery.c 2.6.35 kernel driver) - this should reduce battery drain and prevent the phone from staying stuck on 99% battery for extended periods. Note: your battery stats will be erratic for one or two charging cycles - make sure to wipe your battery stats to help this process.
Wireless: new driver with Wireless-N capability & better signal (based on Atheros source from Samsung I5508, with patches from 2.6.35 kernel).
Updated to wpa_supplicant v6 (awext -> wext driver) & reverted to CM7 dhcpcd. This restores wireless signals to Froyo levels.
Kernel: Updated fsa9280 USB switch driver (from 2.6.35 source).
Kernel: change default TCP congestion control method to "veno" - should improve wireless reliability, especially if there is wireless congestion in your area. It can also improve wireless throughput under normal wireless conditions.
Enabled hardware-accelerated 2D rendering (note: this feature wasn't working properly in the previous test hotfixes - it's working now, and there is no graphical corruption).
Various small bugfixes.
v1.3 - 10 September 2011:
Data wipe?: only if you have problems.
Updated CyanogenMod source.
Hotfix 2 [18 September 2011]: Boot: removed custom lowmemorykiller tweaks; kernel: various updates (smartassV2, TinyRCU, Simple and V(R) IO schedulers), bugfixes and optimizations, changed default scheduler to Simple IO; libaudio: code cleanup and reduced overall FM volume; Framework: enabled hardware-accelerated 2D rendering.
Hotfix 1 [10 September 2011]: Fixed volume controls on stock FM app (thanks again to OuNao and Mike).
Stock FM Radio app now working! Huge thanks to mikereidis and OuNao for the assistance. Note: the volume will be stuck at 100% in the stock app, so take care not to blow out your speakers (will be addressed in a later hotfix). Alternatively, you can use Mike's excellent Spirit FM application which has working volume controls (as well as many other features not present in CyanogenMod's stock FM app). See this thread and Mike's thread on XDA. Be sure to show your appreciation for Mike's work by purchasing the unlock key for his app.
Boot: small fix to /dev/log/* permissions (was causing log errors).
Graphical tweak to improve GUI performance.
Source Code:
Kernel: https://github.com/psyke83/kernel_samsung_europa
Device: https://github.com/psyke83/android_device_samsung_galaxy5

Known issues (any assistance on the following items is welcome)
The FM app will make a loud "pop" noise on first start after Bluetooth activation.
FM audio requires Bluetooth to be activated. This is how the CM7 FM app works, so please don't ask me to "fix" something that is not broken. Alternatively, you can purchase the Spirit FM app which can activate the FM radio without the need to fully enable the Bluetooth stack.
The Camera app does not properly save "zoomed" images at the highest resolution (WXGA). Note: the zoom function would only apply cropping to the image, as our camera does not have hardware zoom capability.
Rebooting into recovery can cause the phone to freeze sometimes. This seems to be a bootloader bug, so it's not something I can fix. To minimize the issue, make sure to remove the USB cable each time you want to reboot to recovery, as it reduces the chance of the bug occurring. If your phone gets stuck, use the hard reset key combination (volume up + power on for 10 seconds).
Some SIM cards seem to be incompatible with CyanogenMod. Please provide a radio logcat to help diagnose these problems.
Kies will not work properly on CyanogenMod. This is not a bug - it's a feature
Battery drains. If you don't use mobiledata at all, using the Use only 2G networks option in the Mobile network settings will significantly improve your battery life. If you use mobiledata, I recommended that you make use of the mobiledata 2G/3G switch. This downgrades the cellular network to 2G when you turn off mobile data, thus allowing battery savings without forcing you to use the slower EDGE mobiledata speed.
Erratic compass. Recent releases are using OuNao's g5sensord daemon. Its behaviour is not completely accurate yet, so if you wish to revert to the proprietary memsicd daemon, run these commands:
Code:
adb remount
adb shell mv /system/bin/g5sensord /system/bin/g5sensord.old
adb shell cp /system/bin/memsicd /system/bin/g5sensord
How to use madconfig:
The below text is the exact output shown when you run madconfig:
Code:
Code: [Select]
Usage: madconfig [option]
Options:
* dton - enable dual-touch
* dtoff - disable dual-touch
* ksmon - enable Kernel Samepage Merging (KSM)
* ksmoff - disable Kernel Samepage Merging (KSM)
* odexon - enable automatic ROM re-odexing
* odexoff - disable automatic ROM re-odexing
* swapon - enable swap
* swapoff - disable swap
In order to use madconfig from the Terminal app, make sure to switch to superuser by executing su before running madconfig.
A few notes on some of the above options:
The ksmon option will activate a kernel driver that allows the dalvik interpreter to share memory between processes when possible (via Kernel Samepage Merging). This dalvik interpreter feature has been backported from ICS, and is not enabled by default due to the possibility of causing problems or battery drain.
The odexon option will activate automatic ROM odexing. This will move the dalvik cache for system apps/components to the /system partition, which should free about ~32MB from your /data partition. Once activated, this option will automatically re-odex your ROM when you update to a later release of my ROM (not an official build from the CyanogenMod server, or any other builds). I don't recommend using this option if you already use an app2sd method that moves your dalvik cache to the SD card.
Audio attenuation:
There are now three system properties available to control audio attenuation:
Code:
persist.sys.speaker-attn - speaker
persist.sys.headset-attn - headset
persist.sys.fm-attn - FM audio (speaker & headset)
Example usage - set 6dB attenuation on speaker:
Code:
su
setprop persist.sys.speaker-attn 6
Technical details:
Kernel 2.6.32:
CPU & AHB overclock supported up to 768Mhz, but a safe frequency range (245-604Mhz) is used by default for safety/stability reasons
Backported KGSL drivers from 2.6.35 kernel, so we can use the newer Adreno200 libraries that support OpenGL ES 2.0 (faster 3D).
Built-in support for CIFS, TUN, compcache (ramzswap)
Added extra CPU schedulers: interactiveX, smartassV2 (default)
Added extra IO schedulers: Simple IO scheduler 0.2
Updated Android staging, pmem drivers from 2.6.35 kernel
Patches to improve CyanogenMod compatibility (e.g. USB tethering)
Various other stability & performance patches.
Before you ask...
I have no interest or intention to further "mod" the ROM with any kind of hacks or customizations (like custom apps, themes, Swype, etc.). My only aim is to have a 100% stable port of Cyanogen code. Any such requests will be ignored.
Reporting bugs
You must follow these instructions exactly, or I will ignore your requests. Provide the following information:
The version of the ROM you are using (to confirm that you have the latest release)
Report any customizations you have made to the ROM (themes, system apps, etc.)
Describe the problem clearly, including steps on how I can reproduce the issue.
Provide a logs from your system taken just after the issue has occurred. I usually need two logs - dmesg and logcat, but if it is a telephony problem, a radio logcat may also be needed.
Code:
Logcat: adb shell logcat -d >c:\logcat.txt
Radio logcat: adb shell logcat -b radio -d >c:\radio-logcat.txt
Dmesg: adb shell dmesg >c:\dmesg.txt
If I ask you to re-test the issue after a data-wipe, do the following: reboot into ClockworkMod, perform a full backup, then data-wipe, reboot and retest the issue, giving a new log if necessary. You can then reboot into ClockworkMod and restore your data backup.
Alternate download location: Using the GooManager application to download & install my ROMs is recommended. If you want to download via the PC, however, you can use this link.

Reserved for future use #2.

guyz the cards unmounts n mounts although I haven't taken it out and also I can't decrease the call sound when on Samsung earphone. And there's a notification dat my card has been removed unexpectedly. plz fix it!!! and great work from you guyz!!!

i have the same card problem. the mod runs great, i don't want to downgrade. please fix it soon

alifie said:
i have the same card problem. the mod runs great, i don't want to downgrade. please fix it soon
Click to expand...
Click to collapse
u wil find v7 in MAD forum. As I m new I can't post a link. go to the forum and read the installation process carefully b4 flashin ROM. I m usin v7 n the card problem has been solved n battery lasts longer as well.

great, thanks

welcme man!!! m on twitter as well. feel free to ask 4 any kind of Galaxy 5 related question. my twitter username: coolabhinesh .

So far 0.7+update5 has been really stable for me, best of the series so far. 0.6 was a nightmare (hangs while idle, ran very hot, battery life extremely short, sd card disappearing, etc.).

yup 0.7 is very stable

Version 0.8 hotfix 3 is out and it's not posted here how come?

Yes it is relesed..
You can find the new update in this blog
galaxy-5-updates.blogspot
update-cm-7.1.0-RC1-MADTEAM-v​0.8-signed

v0.8 works great

Hi all,
Just wanted to know if u can share bugs, issues on this builds, what may no work, for now....

smilewithakash said:
You can find the new update in this blog
galaxy-5-updates.blogspot
update-cm-7.1.0-RC1-MADTEAM-v​0.8-signed
Click to expand...
Click to collapse
Instead of going to that phony site, why don't you go to the official MadTeam site?
http://www.madteam.co/forum

Sorry guys, I neglected the XDA topics for a while because my post on the MadTeam forum (where the development happens) had lots of incompatible BBCode formatting due to a forum software upgrade. It's fixed now, and I'll keep my topics updated here on XDA more frequently.
The latest version (0.9hotfix1) is highly recommended .
P.S. Please don't download my releases from unknown sources (e.g.: smilewithakash) - only use the links I provide.

Yeah, 0.9+hotfix1 is insanely fast. On a screen that size scrolling feels subjectively as fast as my Galaxy S II.
Still having issues with BT though. I can pair with my other phones, but on the I5503 side the other phones don't show as online, even though I can see the I5503 fine from the other direction and send files to it no problem.

subpsyke said:
It's fixed now, and I'll keep my topics updated here on XDA more frequently.
Click to expand...
Click to collapse
Great !
Someone has asked me if I can get my FM app running on your port. I've looked at your libaudio code and see the analog FM audio enabling code isn't there yet.
Do you have any idea if or when that might be done ?
Thanks !

mikereidis said:
Great !
Someone has asked me if I can get my FM app running on your port. I've looked at your libaudio code and see the analog FM audio enabling code isn't there yet.
Do you have any idea if or when that might be done ?
Thanks !
Click to expand...
Click to collapse
Hey, I'd be happy to add the code, if you can give me a little advice.
My phone is using the regular msm7k qdsp5 libaudio code (the same as e.g. Commtiva Z71), with some custom patches for the microphone/latency. I'm not sure what routing code needs to be added?
I've looked as some other ports' libaudio such as the Blade ZTE - they have code for si470x radio chips, but the Galaxy 5's FM radio uses the BCM2049B0 chip.
I've checked the strings of the proprietary "btld" daemon from my official ROM and all the I2C calls seem to match the BCM432X calls that you can see in CyanogenMod's broadcom radio code. My port is compiled to try and use this same Broadcom FM radio code, but it doesn't seem to work.
Source: https://github.com/psyke83/android_device_samsung_galaxy5

Hi, subpsyke!
Maybe you know me as OuNao on MadTeam forum...
The spirit FM radio app can use de hci interface of the bcm2049 driver to tune radio, but can´t route the analog input to the sound driver.
here h**ps://github.com/mik9/android_device_lge_thunderg/tree/gingerbread/libaudio you can get a modified version of libaudio com FM routing...
Maybe this solves the problem...
Regards.

Related

[KERNEL][UV][CWM] Entropy's Daily Driver-GB, 03/07/2012 (Small Fixes))

OK, I figure it's time to start providing my kernels to the general public.
This should be compatible with most stock-derived Gingerbread firmwares. It is NOT compatible with CM7/MIUI or any other AOSP-derived firmware. It is NOT compatible with ICS and WILL NOT BE until ICS kernel source for the I9100 is released. At that point a new thread will be created for those kernels. I am testing it currently with self-deodexed/debloated/Hellraised XWKL1.
This kernel series is intended to be similar in spirit to my Daily Driver series for the Infuse at http://forum.xda-developers.com/showthread.php?t=1212795
It is built from sources at https://github.com/Entropy512/linux_kernel_sgh-i777/commits/master, and initramfs at https://github.com/Entropy512/initramfs_sgh-i777/commits/master
My general goals are to focus on stability and battery life. If it comes to a tradeoff between performance and the above two, I will choose stability/battery life. In general I will choose stability first, with the exception of undervolting.
Current features:
codeworkx's cpuidle patch - should improve battery life a bit. In most cases it will likely not improve things much, but in rare cases it will result in significant improvements. (I only have one partially-reproducible test case on the Infuse so far)
JHash 3
BFQ I/O scheduler
CIFS module in initramfs
CWM 5.0.2.8 pulled from latest CM7 source tree as of 2/28/2012
"insecure" kernel (meaning root in ADB)
CPU governor set to Conservative by default to conserve some battery - this will make your device slightly less responsive, use SetCPU or a similar app to return to ondemand if you want it, or reduce the conservative polling interval
Filesystem readahead tweaks in initramfs
netarchy's Sleep of Death fix
netarchy's conservative governor tuning patch - should improve responsiveness of devices when using the conservative governor if you reduce the polling interval (misnamed as sample_rate) - the I9100 community calls this "lionheart" even though it's really only a 2-line patch
Battery charge current monitoring (CurrentWidget) support - only reports charge current and not discharge, and reports a value 2.85 times the actual current. Use CurrentWidget's "operation on value" to divide by 2.85.
Miscellaneous bugfixes pulled from Ninphetamine and CM7 sources - see github for details
/system/etc/init.d support in initramfs - Note that this only runs stuff in /system/etc/init.d - ROM developers or you need to create it. Attached is an example script that will change the CPU frequency governor to ondemand if placed in /system/etc/init.d and set to executable
Four "use at your own risk" features that trade performance for stability - See Post #4 for details
Standard bootanimation support
/proc/last_kmsg crash debugging support
NFS modules in initramfs - note that they must be insmodded in a specific order: sunrpc.ko, lockd.ko, then nfs.ko
Fix for fuel_alerted perma-wakelocks
Fix for wifi tethering on I9100 ROMs that have been Hellraised
Bump up TCP buffer sizes in initramfs to match that of the Infuse - may help network performance in some cases
cpuidle driver from Tab 7 Plus kernel - allows entry into AFTR more often
Support Bluetooth HID on newer firmware bases
3-step GPU clock/voltage control
Extended hotplug tuning
Support for Xan's ExTweaks universal tuning app - https://market.android.com/details?id=com.darekxan.extweaks.app
Planned features, short term:
Pull in some improvements from myfluxi and arighi's trees
Planned features, mid-term:
????
Planned features, long-term:
Improved battery charge algorithm for faster charging - Initial research indicates we have an alternate battery charger chip (MAX8922) that differs from the MAX8997 used in the I9100. We DO have an 8997 also - but on our device for some reason Samsung decided to use an alternate chip instead of using the 8997's built-in charging. This means we have far fewer options (90,400,660 mA) in terms of charge rates compared to the I9100 (from 200 to 950 in 50 mA steps). So we might not be able to implement any fancy charging algorithms.
Features not planned:
BFS process scheduler - I have only once ever seen a test case where this clearly outperformed the mainline Linux scheduler (multithread x264 encoding) - The mainline schedule was fixed in the next release and BFS now has no performance benefits
Any feature that trades off stability or data integrity for performance unless it can be disabled entirely and defaulted to "off"
Any feature that cannot have functionality tested without a paid app. Interface-only checks don't cut it - I don't want users complaining that the app they paid for didn't work because an interface check worked but function didn't
Touch recovery - too prone to accidental user errors - Maybe I will revisit when ICS hits.
Known issues:
Power management regression somewhere between 12/8/11 and 1/2/12 - Intermittent high drain without high AOS or reduced deep sleep percentage when on some wifi networks - seems more likely if GPS is used when connected to wifi. Wifi with high AOS/reduced deep sleep is not a kernel problem. This appears to only happen on some firmwares - it happens on XXKI3 but not XWKL1. It is likely connected to a wifi power management bug in some firmwares. A debugging feature in 2/7 and later will allow identification of such firmwares - see http://forum.xda-developers.com/showpost.php?p=22581928&postcount=1777 for details
Some people have reported touchkey lights becoming disabled until the screen is turned off and back on again. Under investigation - seems to mainly happen on firmwares with BLN-modded liblights even if the BLN app isn't used
Internal and External SD card are swapped in CWM currently
Basic flashing instructions for .tar releases (NOTE - There are currently no releases in this category. These instructions only remain for heimdall+ZIP users:
(Tested on Linux, not tested MacOS/Windows but should work) Heimdall - Extract the contents of the tar file, enter download mode, and flash with the following command line:
Code:
heimdall flash --kernel zImage
Flashing instructions for .zip releases:
Flash in CWM, or extract the zImage and use the Heimdall instructions above.
Please do not ask how to enter download mode or install Heimdall/Odin in this thread - these are basic generic skills anyone flashing custom firmwares on Samsung devices should know and plenty of documentation exists elsewhere. If you really need to ask, use the General forum, or if created, the Q&A forum. I want to try to keep this thread clean and only with bug reports and issues specific to this release, not general HOWTO or troubleshooting posts. Some of the information you need is in jivy26's FAQs thread at http://forum.xda-developers.com/showthread.php?t=1288112 - Reading at least the first post of this thread in its entirety is STRONGLY recommended.
Bug reports:
If you have a crash (reboot all the way to Galaxy S I9100 screen), use ADB dump the contents of /proc/last_kmsg and post
If you have oddball behavior, include a clearly reproducible test case with your report, or use ADB to obtain a dmesg and logcat capturing the odd behavior at the time of error.
Similar to flashing - using ADB and obtaining last_kmsg, dmesg, and logcat dumps are basic skills that anyone working with custom firmwares on Android devices should have. If you need help with these, do some searching, or post in the General forum or, if created, Q&A forum.
Firmware ("ROM") Developers:
While I cannot restrict anyone from putting this kernel into a ROM as long as links are given to the github sources for GPL compliance, I request that anyone who includes this kernel in a firmware release does the following out of courtesy:
Link to this thread
Clearly indicate in your firmware changelog which Daily Driver kernel release is included in your firmware release whenever you change DD releases - this lets users identify whether a fix is present in the kernel they're using or not
Kernel Developers:
Similar to my request for ROM developers, while I can't restrict you from doing anything, I ask as a courtesy that if you cherry-pick my commits, you do the following:
Please don't rebase my commits into a large multi-feature without consulting me - rebasing related bugfixes together is OK.
Please try not to implement lots of unrelated features or bugfixes in a single git commit - it makes it hard to reimplement that when Samsung drops new sources or releases a new device
ALL OF MY RELEASES ARE NAMED BY RELEASE DATE - MMDDYYYY. See the changelog for differences between Experimental (exp) and non-exp versions for days where dual releases are made.
Change Log
3/7/2012 Release:
Default GPU voltages were slightly too high (but not dangerously so) due to misreading some #ifdefs. Adjusted them downwards.
03/05/2012 Release:
3-step GPU voltage control (thanks to gokhanmoral of SiyahKernel)
Extended CPU hotplug tunables (also thanks to gokhanmoral of SiyahKernel) - I didn't bother with Tegrak Second Core support as it offers nothing these tunables don't offer that makes sense
Preliminary support for Xan's ExTweaks tuning app - https://market.android.com/details?id=com.darekxan.extweaks.app (Yes, it currently says SiyahKernel only, but I added support) - use this to tweak the new features
03/04/2012 Release B:
Add GPU voltage control in addition to existing clock control - see http://forum.xda-developers.com/showpost.php?p=23260574&postcount=64 for more
Reduce default sampling_rate of conservative governor from 100ms to 50ms - conservative uses deferred ticks that shouldn't impact cpuidle
03/04/2012 Release:
Readd https://github.com/Entropy512/linux_kernel_sgh-i777/commit/0746aeb285341896877a3adddd79bdaa0cf4a6f6 (disable second core when screen is off)
03/03/2012 Release B:
Readd a couple of cpuidle register restore/saves that were removed by Samsung between the I9100 and Tab 7 Plus sources - Small chance this might be where the SoDs come from.
03/03/2012 Release:
Readd https://github.com/Entropy512/linux_kernel_sgh-i777/commit/373425c3130fbbb67cdae74793bd3df363a5dc04
Remove powersave governor - it's a guaranteed SoD if used and the same results (without SoD) can be achieved by setting conservative with min=max=200 MHz
03/02/2012 Release:
Revert https://github.com/Entropy512/linux_kernel_sgh-i777/commit/3954900055afe0d22a7ce71b50e4a5cb439c24bf - It turns out it's not actually in the mainline tree, and it has had questionable results from users. It may have caused power regressions for shoman94
Readd https://github.com/Entropy512/linux_kernel_sgh-i777/commit/ec9e34085c2e1284b3e30926862161fa63d498ea - Should improve performance a little on devices with "small" memory (compared to PCs, 1GB is "small")
02/28/2012 Release:
Revert https://github.com/Entropy512/linux_kernel_sgh-i777/commit/634b73c2d0b7e156b5c1626fd268662fcaa5fabe again - It was causing severe performance regressions for red5, and was clearly narrowed down to a single patch (red5 swapped between 18B and 26 multiple times, these are adjacent releases that differ by only one patch.)
Readd https://github.com/Entropy512/linux_kernel_sgh-i777/commit/9c10cd423cdcb0039c5f7730076d1f8db9c09442
Reduce minimum polling interval of conservative from 25 msec to 20 msec
Make defaults of conservative governor consistent with battery-optimized tuning - won't affect anyone using SetCPU to tune governors
Initramfs: Clean up cruft that was doing nothing but taking space
Initramfs: Compiled latest CWM 5.0.2.8 from sources - should fix advanced restore
Initramfs: Swap internal/external SD in CWM to be consistent with newer Android standards
02/26/2012 Release:
Readd https://github.com/Entropy512/linux_kernel_sgh-i777/commit/634b73c2d0b7e156b5c1626fd268662fcaa5fabe
02/16/2012 Release B:
PULLED - actual release was identical to 15C due to a mistake in creating the ZIP. - Replaced by 02/18/2012 Release B.
Readd https://github.com/Entropy512/linux_kernel_sgh-i777/commit/3954900055afe0d22a7ce71b50e4a5cb439c24bf (cpuidle: governor: menu: don't use loadavg)
02/16/2012 Release A:
PULLED - actual release was identical to 15C due to a mistake in creating the ZIP. - Replaced by 02/18/2012 Release A. (CWM will report this as 2/17A - ignore this, CPUSpy should report afternoon in 2/18)
Readd https://github.com/Entropy512/linux_kernel_sgh-i777/commit/4d8a7e7834e29cee232d6634454c0c38e9903d49 (Add MSHCI Power Control)
02/15/2012 Release C:
Fixes to multiple drivers that were attempting to lock frequency to certain levels. On an overclock kernel, these were all two frequency steps higher than originally intended:
Application-controlled lock in kernel/power/main.c - Likely this combined with arighi's frequency scaling patch was the cause of most 2/7 stability issues
Camera locking to 1.2 GHz is fixed
Thermal limits (reducing clock frequency while overheating) was broken, should now work properly
02/15/2012 Release B:
Readds the following patches, should be safe:
https://github.com/Entropy512/linux_kernel_sgh-i777/commit/35187426d15d05d465d07b6d743e1eb37c629a24 - small network performance improvement
https://github.com/Entropy512/linux_kernel_sgh-i777/commit/733758d888e4a23d7ae6487de0dbb525e9d7433c - another small network performance improvement
https://github.com/Entropy512/linux_kernel_sgh-i777/commit/325cdbf1b89e7d2138482e76879fabf9a6dac5b7 - Provide a warning when a broken firmware is preventing proper wifi power management
02/15/2012 Release A:
Revert most patches from 1/30 and 2/07 due to stability issues EXCEPT:
BTHID interoperability fix
MFC/new cpuidle interoperability fix
A BCM4330 patch revert (it was a revert to begin with)
There will be a second "B" release containing patches that I think should be safe stability-wise but want to have separated anyway. After that, I will be making releases 1-2 times a day, each with only one new patch. This will allow the offending patches for recently reported stability problems to be identified. As a result, releases will have A/B/C/etc letter codes after the date until I no longer expect multiple releases per day. Until the stability issues are resolved, Experimental releases are suspended.
02/07/2012 Release:
Lock out AFTR during hardware accelerated video playback - should fix issues with hwaccel video that some people had with 1/29 and later
Disables second core when the screen is off (this patch comes from arighi)
A patch from arighi ("smooth scaling") that prevents the performance governor from getting "stuck" at the wrong frequency, and should make ondemand a bit more responsive
Small cpuidle governor fix from mainline
Revert a wifi patch that did nothing at all if you read the code
Print an error in dmesg when suspend handling in the wifi driver is blocked by the system firmware for whatever reason (XXKI3 does this) - System firmwares that do this will make you vulnerable to battery drain on "dirty" networks (ARP spam, broadcast traffic)
Small performance patch by Russell King of ARM (see github for details)
Standard only for now - will release experimental in a day or two
Warning - This doesn't have as much testing as I normally put into a kernel, but I needed to get a cpuidle fix out ASAP in my opinion
1/30/2012 Releases:
Backport Bluetooth HID fixes from Epic 4G Touch EL29 sources - Seems to fix Bluetooth HID on UCKK6, should also fix it on newer I9100 bases
Backport a power management change (MSHCI power control) from E4GT EL29 - Actually, I think this is something that was in the AT&T drop and I9100 Update3 removed
ashmem deadlock fix - might fix nizda1's issue (unknown, I thought I had this in already but I guess I didn't) - found by arighi
Tweak from arighi - set SLUB_MAX_ORDER to 0 since our device doesn't have ginormous amounts of RAM
Increase TCP initial receive and congestion windows - should improve throughput on new TCP connections (such as web page loads)
Remove a small dmesg spam introduced by the cpuidle backport
Add ARM Errata 753970 (bugfix)
1/29/2012 Releases:
Backported cpuidle driver from the Tab 7 Plus - Allows AFTR idle to be entered more often, enables it my default, and permits it to be tracked separately from LPA idle mode.
Reverted some small I9100 changes to GPIO configurations - These changes may do nothing, the functions of these GPIOs are undocumented but appear to be somehow sleep related. See github commit for details
1/24/2012 Releases:
Include tun.ko
The above change is so small I'm removing the 1/23 download
1/23/2012 Releases (Note: Experimental might not actually be posted until 1/24):
Enable building for I9100 targets (source code change only, see github)
Revert some unnecessary patches from arighi's tree, prep for implementing more useful ones
A pile of upstream Linux kernel bugfixes, huge thanks go to myfluxi for finding these and testing them on himself: https://github.com/myfluxi/xxKernel
Bring in two small missing updates from I9100 update3 sources
Enable separate debugging of wake_lock_destroy() to enable diagnosing high deleted_wake_locks time
1/2/2012 Releases:
Road to I9100 Update3: COMPLETE - Video changes, media changes, battery/PMIC changes, Samsung-specific arch/arm changes
Road to I9100 Update3: Revert touchscreen drivers to I777 source codebase. SiyahKernel also did this, it seems to solve the wake lag issues. However those that didn't encounter lag may see reduced responsiveness. There's a possible workaround though.
12/21/2011 Releases:
Road to I9100: USB Host (untested), Touchkey, Broadcom DHD (Bluetooth, WiFi)
Initramfs: Bring in a few updates from UCKK6. Might fix wifi for KK6 people (UCKK6 compatibility UNTESTED.)
12/12/2011 Releases:
Road to I9100: Touchscreen Drivers
Irrelevant Road to I9100: DPRAM, WiMax, staging drivers
12/8/2011 Releases:
Resume dual-release standard (2.6.35.7) and experimental (2.6.35.14) builds - note exp does NOT fix the AOS bug, just hides it - see http://git.kernel.org/?p=linux/kern...it;h=a3fe22ee824895aafdc1b788e19c081a2e6dd9da
Remove some debugging printk()s from the AFTR cpuidle driver for those who enable AFTR deep idle mode (see init.d scripts thread linked below)
More components of I9100 update3 sources - MMC, filesystem, and generic arch/arm changes
Removed filesystem I/O scheduler tweak script from initramfs - this belongs as a separate init.d script. See http://forum.xda-developers.com/showthread.php?t=1378080 for this script's new home along with other scripts
Enable compilation of FUSE module. Combined with an ntfs-3g binary this should allow people who want to mount NTFS drives with OTG cables to do so. I cannot provide any additional support for this though - no OTG cable
12/1/2011 Release:
Disable interactive governor - it was causing kernel panics in LPM (e.g. reboot to normal poweron when power-off charging), too much risk of it causing a panic during normal operation so it's gone
Two small fixes, one to MMC power management and one to cpuidle - see github for details
Per-file fsync disable - see HERE BE DRAGONS post #4 and USE AT YOUR OWN RISK
First step of patching up to Samsung I9100 update3 sources - New sound drivers. Please focus on sound until the next release.
11/23/2011 Release:
BLN from Ninphetamine - WARNING: An active BLN notification WILL drain your battery by holding a wakelock. Also, you need to install a compatible liblights if your ROM doesn't already have it. VillainROM 3.0 has it, I'll try to post a library and installation instructions after the Thanksgiving weekend ends
Permissions changes for /data/misc/wifi that allow tethering settings to persist on Hellraised ROMs (EDIT: Not working for fresh flashes... Maybe not working at all. what the **** is overriding the perms?)
Enabled Interactive governor in defconfig. drowningchild says it's stable - I tend to be paranoid when it comes to governors
11/13/2011 Release:
Upgrade to CWM 5.0.2.7 pulled from Cyanogenmod 7 nightly 12 - adds nandroid backup/restore to external SD - advanced restore from extSD not working yet, also CWM labels external SD as "internal"
11/10/2011 Release:
Removed automatic root injection from the initramfs - It causes too many problems. Flash ChainsDD's Superuser package from CWM instead.
11/03/2011 Release:
Fix for wifi tethering on I9100 ROMs
Bump up TCP buffer sizes in initramfs to match that of the Infuse - may help network performance in some cases
Experimental (2.6.35.14) releases discontinued until further notice - They provided no discernible benefit, and hid the infamous "AOS Bug" making it harder to diagnose. (It did not fix the drain)
10/20/2011 Releases:
Fix for fuel_alerted perma-wakelocks
GPU clock control, same method as Ninphetamine - see Ninphetamine kernel for documentation. Completely untested other than that the default values don't change or break anything. Same rules as for my overclock code... Credit goes to Netarchy for this, it's his git commit 100%
10/16/2011 Releases:
Make root injection script less aggressive
NFS modules in initramfs - note that they must be insmodded in a specific order: sunrpc.ko, lockd.ko, then nfs.ko
Miscellaneous bugfixes, see git
10/13/2011 Releases:
Make root injection script in initramfs less aggressive
10/09/2011 Releases:
Update root injection script to install su-3.0 - Still need work on this to make it more robust when su updates again.
Misc. fixes from codeworkx's CM7 tree and Ninphetamine
Start of Experimental dual-release series - Experimental updates base to 2.6.35.14 using arighi's patches
10/07/2011 Releases: (There were multiple, but as their files are no longer posted I'm merging it into one changelog entry)
Conservative tuning patch no longer considered experimental
/system/etc/init.d support in initramfs
Overclocking/Undervolting implementation by codeworkx - USE AT YOUR OWN RISK. DO NOT REPORT BUGS OR PROBLEMS IF YOU ARE OVERCLOCKING OR UNDERVOLTING. IF YOU EXPERIENCE ANY STABILITY PROBLEMS, DISABLE ALL OC/UV
Standard bootanimation support
10/06/2011 Experimental Release:
netarchy's conservative governor tuning patch - should improve responsiveness of devices when using the conservative governor
10/06/2011 Release:
Automatic root injection in initramfs
Filesystem readahead tweaks in initramfs
netarchy's Sleep of Death fix
Battery charge current monitoring (CurrentWidget) support - only reports charge current and not discharge, and reports a value 2.85 times the actual current. Use CurrentWidget's "operation on value" to divide by 2.85.
Miscellaneous bugfixes pulled from Ninphetamine sources - see github for details
Initial Release: 10/04/2011
codeworkx's cpuidle patch - should improve battery life a bit. In most cases it will likely not improve things much, but in rare cases it will result in significant improvements. (I only have one partially-reproducible test case on the Infuse so far)
JHash 3
BFQ I/O scheduler
CIFS module in initramfs
CWM 5.0.2.3 from Codeworkx's CWM kernel
CPU governor set to Conservative by default to conserve some battery - this will make your device slightly less responsive, use SetCPU or a similar app to return to ondemand if you want it
"Insecure" kernel - ADB sessions ALWAYS have root
Here be dragons
This post is for features present in the kernel that are "use at your own risk" - They have either potential or guaranteed negative side effects if used.
Overclocking (CPU):
Enable using SetCPU or a similar app
USE AT YOUR OWN RISK. DO NOT REPORT BUGS OR PROBLEMS IF YOU ARE OVERCLOCKING OR UNDERVOLTING. IF YOU EXPERIENCE ANY STABILITY PROBLEMS, DISABLE ALL OC/UV
Overclocking (GPU):
See Ninphetamine kernel for documentation - Same control method
USE AT YOUR OWN RISK. DO NOT REPORT BUGS OR PROBLEMS IF YOU ARE OVERCLOCKING. IF YOU EXPERIENCE ANY STABILITY PROBLEMS, DISABLE ALL OC
Per-File fsync() disable:
This allows you to disable per-file write forced syncs. (e.g. if an app tries to force a write straight to disk, it'll just go to cache). This achieves the same goal as the modded sqlite hacks seen in tweaks such as USAS, however it can be disabled at runtime.
WARNING: THIS CAN CAUSE DATA LOSS OR CORRUPTION IN A CRASH
To enable, do the following in a terminal, or add it to an init.d script (look at my ondemand script as an example):
Code:
echo "1" > /sys/module/sync/parameters/fsync_disabled
And to disable (return to the default):
Code:
echo "0" > /sys/module/sync/parameters/fsync_disabled
Good for around 200 points of epeen in the database benchmarks in Antutu or 500-600 points of epeen in Quadrant. Real-world benefit: Probably not worth the data integrity risk, but you've got a choice now.
Backlight Notifications (BLN):
This allows the touchkey backlights to be used for notifications. Some stock apps (such as stock MMS) don't support it. Supposedly services.jar mods can change this.
This WILL drain your battery when a notification is active due to a wakelock that holds deep sleep. Sorry, it's either this or instability for the time being.
In addition to the BLN control app, the ROM needs a modified liblights file for this to work
Attached here - Liblights - both BLN-modified (extracted from VillainROM 3.0) and stock I777
To install, take the file and push it to /system:
Code:
adb remount
adb push <file> /system/lib/hw/lights.SGH-I777.so
adb chmod 644 /system/lib/hw/lights.SGH-I777.so
Then reboot
Note that on a Hellraised ROM, you need to replace SGH-I777 with GT-I9100. This includes manually ported ROMs like Cognition 777
Like my prerooted system image, this file is compressed using 7-Zip to prevent people from trying to flash it with CWM
OK, right now this post only has documentation of one "special but safe" feature:
To enable debugging of high deleted_wake_locks time, I've set this up to allow wake_lock_destroy() to be debugged without enabling DEBUG_WAKE_LOCK (which spams dmesg with a ton of stuff not needed for wake_lock_destroy() debugging). To enable, add 32 to the value of /sys/module/wakelock/parameters/debug_mask - This defaults to 3, so the proper value is 35.
Code:
echo "35" > /sys/module/wakelock/parameters/debug_mask
Return this to 3 to set it back to the default.
With this, you'll see wake_lock_destroy debugging information in your dmesg output. This is only needed if you have very high deleted_wake_locks times.
If we're not rooted(stock) this will give us root? Or just cwm where we can either use superoneclick or your pre rooted kernel?
eep2378 said:
If we're not rooted(stock) this will give us root? Or just cwm where we can either use superoneclick or your pre rooted kernel?
Click to expand...
Click to collapse
If it's in "planned features" - it's not in yet.
However it can be SOCed just like codeworkx's kernel
Works fine, as in I don't notice a huge difference in speed or anything but huge differences after changing kernels shouldn't really happen so I guess that's good.
I flashed your kernel with Odin and I think it went well. Will kernel version in About phone be the same as stock (2.6.35.7)?
Thanks for using the recommended toolchain to compile
all the newer ones seem to cause the SGS2 to get very warm.
shishir95 said:
Works fine, as in I don't notice a huge difference in speed or anything but huge differences after changing kernels shouldn't really happen so I guess that's good.
Click to expand...
Click to collapse
Shouldn't be any difference in speed - might even be slightly slower since I make conservative governor default for battery saving purposes. You can change this with SetCPU.
wonner said:
I flashed your kernel with Odin and I think it went well. Will kernel version in About phone be the same as stock (2.6.35.7)?
Click to expand...
Click to collapse
In About Phone, yes. If you use a more advanced info tool that shows the localversion, the git tag should be appended and the [email protected] build info should be [email protected] I'm going to be adding a CONFIG_LOCALVERSION tag in the future.
I just had my first Sleep of Death and realized I'm missing last_kmsg support. That's on the list for Planned Features, short-term now.
designgears said:
Thanks for using the recommended toolchain to compile
all the newer ones seem to cause the SGS2 to get very warm.
Click to expand...
Click to collapse
Newer ones make the Infuse die a horrible and painful death, if the kernel even compiles, and I want to retain that compatibility for now.
Sorry for my ignorance regarding Samsung Hardware, this is my first device from them.
Is this kernel aimed at CM or any Rom such as Cognition?
Drew
drewdatrip said:
Sorry for my ignorance regarding Samsung Hardware, this is my first device from them.
Is this kernel aimed at CM or any Rom such as Cognition?
Drew
Click to expand...
Click to collapse
Right now, stock-derived ROMs. NOT CM7/MIUI.
Regarding BLN - I am very unhappy to hear it may not be easy/possible to implement this on our phones. It appears that they've got it working on the international galaxy s 2s, do our phones have more in common with the Infuse than with those?
By the way, I almost forgot -- thank you for this! Flashed it with ODIN, no problems at all, and super-one-click-rooted as well. So far so good!
Any chance of adding a date to the thread title do I can know when you've updated and flash it again lol
jivy26 said:
Any chance of adding a date to the thread title do I can know when you've updated and flash it again lol
Click to expand...
Click to collapse
Will do. If you look at my Infuse series, I usually edit the first post with the update, and post to a post within the thread with a list of changes. The post in the thread will cause a bump - but since bumps don't always mean updates this is a good idea.
Initial observation.
With setting i/o to deadline i did not see my phone go into deep sleep much last night.
Today using noop the phone seems to sleem more often
Drew
drewdatrip said:
Initial observation.
With setting i/o to deadline i did not see my phone go into deep sleep much last night.
Today using noop the phone seems to sleem more often
Drew
Click to expand...
Click to collapse
Hmm... Interesting. That might be part of why battery life in CM7 on my Infuse seemed to be less the last time I used it, I never got tweak_scheduler.sh running on that.
Default in this kernel is CFQ, I've added BFQ but I've had bad things happen when it's the default at boot.
Is this a common issue that we're supposed to be having? Sleep of deaths? I haven't gotten any since I started using your kernel.

[KERNEL][CM9][24/03/12] Icy Glitch V14 - BETA - LiveOC-Voodoo-DIDLEv2-USBhost | TELUS

These kernels are provided as-is without warranty. I'm not responsible for any problem you can encounter with your phone or if your cat suddenly dies.
Although, don't expect support even if I will eventually help since I love cats.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note : These kernels are only compatible/tested with CyanogenMod 9 based roms.
Use them on any other rom at your own risks. You won't get support from us.​
Overview :
- 3.1.10 linux base
- LiveOC
- Custom Voltage
- Battery Life eXtender
- DIDLE
- Voodoo Sound 10
- PMFAST mode for best wifi performance (different low power mode than default, using a bit more power).
- USB host mode support
- 342MB RAM
- Various tweaks for more speed and battery saving
CHANGELOGS IN #2 POST
By default, no overclock/undervolt is applied.
You'll need NSTools to use/enable all the features of this kernel. (Available for free on the Android market)
​
Downloads
Glitch kernel (CWM flashable only)
Glitch Kernel Updater app now available on the Android market to support us !​Telus Fascinate :
- 24/03/2012 - V14 B6
PLEASE FLASH A FREAKIN' GB BOOTLOADER IF YOU WANT TO USE THIS KERNEL !
WARNING : THIS KERNEL IS USING MASS STORAGE USB MODE BY DEFAULT (TEAMHACKSUNG'S CM9 DEFAULT SETTING). IF YOUR USING A DIFFERENT ROM AND IT IS USING MTP BY DEFAULT, MAKE SURE TO SWITCH TO MTP IN GLITCH RECOVERY JUST AFTER FLASHING THE KERNEL, OR YOU'LL END IN A BOOTLOOP. YOU CAN THEN SWITCH TO MASS STORAGE IF YOU WANT AFTER A FIRST BOOT.​
Supported devices : I9000, Captivate, Vibrant, Telus Fascinate, Verizon Fascinate​
OLDER RELEASES​LIVE OC GUIDE​FAQ, Changelogshttp://forum.xda-developers.com/showpost.php?p=21703700&postcount=2http://forum.xda-developers.com/showpost.php?p=21703700&postcount=2​​
Do you want to discuss on this kernel, get the fresh news on development, or become a kernel tester ?
Join the IRC channel from your web browser herehttp://webchat.freenode.net/?channels=glitchkernel ! No registration needed
Make sure the channel is "#glitchkernel" and you're set.
For those who already have an IRC client,
here is the server : irc.freenode.net
port : 6667
Channel : #glitchkernel​
-------------------------
Source :
- Glitch repo : https://github.com/organizations/Glitchkernel
Who is the Glitch team ?
- Kernel developement : ssewk2x & Tk-Glitch.
- Public relations / web hosting : Sixstringsg.
- App developement : Smasher816.
- Extreme overclocking testing : Shaolin95
- Beta testers team, with members coming and leaving
Credits :
Pawitp, jt1134, Morfic, Ezekeel, Zacharias.maladroit, Supercurio, lippol94, sztupy, Eugene373, Franciscofranco
Thanks to the donators and everyone bying the Glitch Kernel Updater app from the market, it's much appreciated and encourages us to continue our work !
Thanks to the beta testers team and to everyone helping me to debug and find new useful things to integrate !
Without all of you, this kernel wouldn't be !​
Changelogs :
V14
24/03/2012 - BETA 6 :
- Upstream sync (modemctl, compass fix..)
- Fixed BLN, and added blink support
- Disabled Samsung sleep patches from Teamhacksung to prevent SODs
- Fascinate : Ported ssewk2x phantom keypress filter code from Glitch V13.1
- Vibrant : Merged GPS changes from FaultException
- Moved back to Deadline ioshed as default to fix nandroid
- Added Derteufel's selective LiveOC mod - It will prevent low frequency steps to OC, potentially providing enhanced stability and powersaving
- Fixed potential bug in vfat fs driver
- Fixed bug in ext4 fs driver
- Merged some audio changes from Teamhacksung
- Added touch support in Glitch recovery (incomplete)
- Some cleaning
22/02/2012 - BETA 5 :
- Voice audio through dock, thanks to xcaliburinhand (should fix related issues with Glitch volume boost hack)
- Renamed SmartassV2 governor to "GlitchassV2" to prevent latest NSTools version hanging
- Added FranciscoFranco Conservative governor tweaks for more speed
- Added a DIDLE enabler into screensate scaling script to kill BT in sleep and make DIDLE work with both TOP=ON and TOP=OFF. You'll need to enable screenstate scaling in Glitch menu from recovery in order to get DIDLE to use this (disabled by default). It's mostly for testing purposes - Feel free to report your experience with it.
- Moved back to previous sysinit to prevent the DIDLE enabler script to make the phone hanging on the bootlogo. Also fixes screenstate scaling making the phone unbootable, and some SOD/COD issues for guys using some other tweaking scripts
- Implemented BLN9 port from Derteufel with NSTools compatible sysfs. This way all the unsupported roms will get led notifications, and CMLed haters will hopefully stop to yell..
- The flash-time script has been updated to be able to clean more stuff
- A few fixes on the wifi driver to work better with our devices Please report your experience with DIDLE enabled. It may be required to disable DIDLE on some phones to prevent SOD/COD/softreboots or other instabilities. Also MAKE SURE YOU HAVE A DAMN GB BOOTLOADER !
- Reverted modemctl changes from Teamhacksung - should fix data issues some are having
21/02/2012 - BETA 4.1 :
- Reverted sleep GPIO stuff from THS stock samsung port. Should fix SODs some are encountering.
21/02/2012 - BETA 4 :
- Fixes on LiveOC and custom voltage from Ezekeel
- Fixes + various enhancements on I/O scheduling (up to 50% I/O speed improvement compared to beta 3)
- Fixed touchscreen freezing randomly
- Fixed various bugs here and there
- Back from Eugene's DIDLE to Ezekeel's DIDLE v2 mod (available through NSTools again) -> You may encounter SoD if enabled with wifi ON.
- Load balancing improvements
- Updated FIOPS I/O sched
- Sync with THS latest source
09/02/2012 - BETA 3 :
- LiveOC frequency steps changed again - Now all steps are using a 200MHz bus by default, so pushing liveOC % will give the same bus speed on all steps
- Default Int voltage for 1GHz set to Samsung's default to fix instability on bad overclocker devices
- Fixed recovery not displaying long lists items as well as cosmetic fixes - updated to latest source from Koush
- Fixed init.d support
- Switched to Tiny SHMEM, better on small devices
- Ext4 optimizations for more speed
- Readahead values tweaked a bit - should be better overall
- Fascinate : Use GB driver for i500 to fix prox/light sensors, and updated RIL init (Thanks to Sbrissen)
- Fsync() enabled again to prevent/limit data loss while experimenting with overclocking, and to (probably) fix the reboot->bootloop issue
- Disabled frame pointer, FIQ debugger, and some more debug stuff, Morfic-like
- Some writeback quickfixes
- Updated wifi drivers with added net fixes and optimizations
- GlitchOndemand polling tweaking for more stability
- Misc tweaks
29/01/2012 - BETA 2 :
- Updated to linux 3.1.10
- A few fixes on LiveOC (Thanks Ezekeel)
- GPU load affecting CPU frequency scaling (200 vs 100MHz) is back
- Removed CFQ and BFQ, and added SIO & the all new flash oriented FIOPS i/o schedulers - FIOPS is now default
- Better VM tweaks
- Fixed GlitchOndemand polling to fix stability issues some are encountering
- i/o-less dirty throttling backport from linux 3.2 (thanks to Franciscofranco)
- Added dynamic writeback & various writeback fixes
- Proportional rate reduction for TCP (thanks Google )
- Small fix on Lazy gov from Ezekeel
- Captivate : Port battery charging/fuel gauge code from stock --> Improves (but does not completely fix) phone turning off while
charging for some users (charging death). (Thanks to Pawitp)
- Vibrant : Headset buttons fix (Thanks to FaultException)
- Fixed and now built-in CIFS
- Changed OC steps (1152 step is now 1160, with 200MHz bus, 1440MHz step removed, added 1400 and 1500 MHz steps)
- Moved back to "old" DIDLE implementation for now
- Glitch call volume hack is back
- Various optimization and CPU load reduction in some typical cases
- Verizon Fascinate : fix for boot issue on preview 5 and BETA 1
- Updated USB host driver to build 5
23/01/2012 - BETA 1 :
- Dock audio support.
- Added gamma V1 hack and MDNIE bypass mode.
- Added more governors to play with & tweaked interactive and ondemand.
- DIDLE V2 added back for people who want to mod their framework (It may/will cause sleep of death on some devices, as always)
- Battery charging calculation fix (BLX will now show 100% as default).
- Changed overclocked steps for more stability and easier setup.
- Dm-cache support.
- Updated linux base to 3.1.9.
- Improved memory management and cache handling.
- General speed enhancements.
- Fsync disabled.
- Added an entry in the GLITCH menu (in recovery) to choose between mtp and mass storage USB mode.
- USB host mode (OTG) - updated to build 4, from sztupy - thanks to him and everyone involved in this !
- Bootmode injection fix from pawitp.
- Optimized RWSEM algorithm.
- VM and I/O performance enhancements.
- Added BFQ i/o scheduler.
- More cleaning, various optimizations and power management tweaks.
PREVIEW #5 : (For build 13+)
- Even better 720p video recording.
- Fixed Vibrant GPS.
- Added back various governors.
- New colors from Samsung stock.
- Toolchain sorcery with linaro 4.4.5, and using NEON and hardfloat optimizations.
- Bootmode injection support.
- Various speed enhancements.
PREVIEW #4 :
- Fixed softkeys on Captivate and Fascinate.
- Refresh rate back to 60Hz as the uncap breaks colors (it'll help to get better smoothness on heavy games too).
- Better 720p video recording.
- Tweaked governors and schedulers for testing.
- Big cleanup.
- Removed DIDLE for now - useless anyway, the rom prevents it to work correctly.
PREVIEW #3 :
- Added color adjustments to Nexus S framebuffer.
- Dock audio stuff back in.
- Cleanup.
PREVIEW #2 :
- Fixed GPS issues.
- Moved to Nexus S Framebuffer (stock colors, no more color adjustment available).
25/12/2011 - V14 Preview #1
- Compatible with Teamhacksung's ICS/CM9 builds 10 or higher.
- Now using linux 3.0.8 base from the Nexus S drop
- Upstream synced to the latest from THS (TVout, cleanup, 3.0 port..)
- Reverted to stock CM LED Notifications (fixing all the previous problems some users encountered with BLN) / No more BLN app needed, enabled by default.
- Removed Voodoo Color, and back to stock implementation.
- Added support for a new low power mode on wifi chipset, enhancing signal reception and stability, at the cost of a bit higher power consumption.
- Back to NEON mfpu for now
- Full support for init.d scripts
- Readahead value back to 1024 for better results (SDcard read Cache)
- Fixed headset buttons
- Fixed randomly freezing softkeys
- Big cleanup and rewrite of some stuff
- Removed the 200MHz lock when the GPU is active for battery life. Depending on your launcher and/or widgets, you'll get some slowdowns. Change min freq to 200 to fix it.
Major additions, ported from Ezekeel's work on the Nexus S (thanks Morfic !) :
You will need NSTools app, available for free on the market, or here : http://forum.xda-developers.com/showthread.php?t=1333696
- Added "LiveOC" system, giving access to GPU/bus overclocking on the fly, per 1% step.
- Added "Custom Voltage" control, giving access to ARM and Internal voltage undervoling and overvolting. (This makes the previous leakage system obsolete, which is now removed.)
- Added "Battery life eXtender" mod, allowing the user to limit the maximum charge percentage to preserve the battery life (not the battery runtime obviously)
- Added support for DIDLE V2, a very low power mode that will help battery life in many idle/semi-idle cases.
- Lazy governor sysfs, to enable or disable the frequency ramping up when screen is off (to end tasks quicker to sleep faster).
Keep in mind CM9 is at early stages of development and contains many bugs still.
​
Thank You
You seriously just saved me having to learn how to modify and compile my own kernel. Thank you! I have an old Fascinate I plan on hooking up an arduino which I've turned into a custom BBQ thermometer. To connect it to the internet I planned on taking advantage of the new USB host features of ICS running on my old fascinate which could connect to my wifi and act as a server. I just realized yesterday that the kernel I was using didn't enable USB host. I'm going to give this a try when I get home today. Thank you!
[UPDATE] - I put the V14 B1 kernel on my verizon fascinate. I know it's not made for that phone, but for my purposes I wanted to let you know that it's working. I had to do a factory reset, but no big deal. I can see my arduino using the USB Host Controller app and I am about to start writing an app that will communicate with my arduino. I'll report back if I run into any issues though I know I'm using a kernel that wasn't designed specifically for my phone. The only thing I've noticed is that the home key and back key are mixed, but I could care less about that. Thanks again!
lkspencer said:
You seriously just saved me having to learn how to modify and compile my own kernel. Thank you! I have an old Fascinate I plan on hooking up an arduino which I've turned into a custom BBQ thermometer. To connect it to the internet I planned on taking advantage of the new USB host features of ICS running on my old fascinate which could connect to my wifi and act as a server. I just realized yesterday that the kernel I was using didn't enable USB host. I'm going to give this a try when I get home today. Thank you!
[UPDATE] - I put the V14 B1 kernel on my verizon fascinate. I know it's not made for that phone, but for my purposes I wanted to let you know that it's working. I had to do a factory reset, but no big deal. I can see my arduino using the USB Host Controller app and I am about to start writing an app that will communicate with my arduino. I'll report back if I run into any issues though I know I'm using a kernel that wasn't designed specifically for my phone. The only thing I've noticed is that the home key and back key are mixed, but I could care less about that. Thanks again!
Click to expand...
Click to collapse
Is this kernel really running on your verizon fascinate? I'm tempted to test it out but don't want to risk anything. Also have you noticed anything else weird other than the home and back being switched?
mleonm5 said:
Is this kernel really running on your verizon fascinate? I'm tempted to test it out but don't want to risk anything. Also have you noticed anything else weird other than the home and back being switched?
Click to expand...
Click to collapse
Signal won't work, this kernel is GSM, your fascinate is CDMA.
Switching menu key and back key
This is a quick and dirty hack with [email protected] #1 and ice-cream-sandwich-sgs from the icssgs project, RC 3.1 released January 16th 2012.
If you happen to have your Home and Back keys switched, you can change one file in the system to make them work like they used to.
Code:
#Remount your /system filesystem as read-write
mount -o remount,rw /system
#Edit the file
vi /system/usr/keylayout/cypress-touchkey.kl
In the file, you should change
Code:
key 158 HOME VIRTUAL
key 102 BACK VIRTUAL
to
Code:
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
Do this at your own risks.
If this is off-topic, please direct me to a more proper thread. I believe I saw on the last V14 pre-release threads questions about those reversed buttons.
If this is not right for CM9, please forgive me, I still haven't looked at CM9 for my device.
BETA 3 is available ! I hope you'll enjoy it
Any chance we'll be seeing a version that will run on my Mesmerize? I believe I'd be looking for the Verizon Fassy build, correct?
madmike0408 said:
Any chance we'll be seeing a version that will run on my Mesmerize? I believe I'd be looking for the Verizon Fassy build, correct?
Click to expand...
Click to collapse
You are right, the Verizon Fascinate version works on Mesmerize.
Here it is, if needed : http://androtransfer.com/tk-glitch/CM9-kernels/Glitch/Fascinate/CM9-fascinatemtd-Glitch-V14-B3.zip
Thank you very much! I see that the kernel I want won't work just yet with THS 6.0, and I need my 3G data so I'll have to wait it out a bit longer I guess.
Thanks again though, I'll keep my eyes peeled for the proper kernel!
It should be up in about two or three hours
wrong topic! Sorry!
Telus Fascinate beta 4 is up !
I'll revert latest THS changes. That should fix the SOD problems. I'll then upload B4.1.
UPDATE : Beta 4.1 pushed to supposedly fix SOD issue.
UPDATE : Beta 5 is up !
Glitch. I'm such a fan but can't avoid the sod no matter what I do. Still the best kernel even without activating didle ? Is it just me? On cna 1.4 b4.1 but had the same even with b5..
PLEASE FLASH A FREAKIN' GB BOOTLOADER IF YOU WANT TO USE THIS KERNEL !
Click to expand...
Click to collapse
What would be the steps to properly check the presence of a GB Bootloader on my cellphone?
Would the Baseband version in About phone be helpful? While searching informations about a gingerbread bootloader, I found that JVK is a recurring theme. Is the baseband related to the bootloader in any way?
d88888b said:
Glitch. I'm such a fan but can't avoid the sod no matter what I do. Still the best kernel even without activating didle ? Is it just me? On cna 1.4 b4.1 but had the same even with b5..
Click to expand...
Click to collapse
Don't activated DIDLE
samueldr said:
What would be the steps to properly check the presence of a GB Bootloader on my cellphone?
Would the Baseband version in About phone be helpful? While searching informations about a gingerbread bootloader, I found that JVK is a recurring theme. Is the baseband related to the bootloader in any way?
Click to expand...
Click to collapse
Nothing in the about phone is gonna tell you about boot loaders. Are you or have you ran gingerbread 2.3 on your phone, if so then you have the gingerbread boot loaders. If you are still running froyo 2.2 then you don't probably.
Sent from my SGH-I897 using xda premium
samueldr said:
What would be the steps to properly check the presence of a GB Bootloader on my cellphone?
Would the Baseband version in About phone be helpful? While searching informations about a gingerbread bootloader, I found that JVK is a recurring theme. Is the baseband related to the bootloader in any way?
Click to expand...
Click to collapse
I have been looking for this too.. i have updated the bootloader by flashing darky's 10.2 RE via odin and then proceeding, but I then have no way to enter download mode again..Ive checked every thread and have tried everything with no success. Does anyone know the correct bootloaders for the t959d (a lot of threads seem to have it but are full of brick comments)
d88888b said:
I have been looking for this too.. i have updated the bootloader by flashing darky's 10.2 RE via odin and then proceeding, but I then have no way to enter download mode again..Ive checked every thread and have tried everything with no success. Does anyone know the correct bootloaders for the t959d (a lot of threads seem to have it but are full of brick comments)
Click to expand...
Click to collapse
It's impossible to get a full brick with your phone. Get a USB jig on Ebay
---------- Post added at 08:57 AM ---------- Previous post was at 08:56 AM ----------
Thank you sooo very much for BLN support!!!

[ROM][UNOFFICIAL] NCyanogenMod 11 for L7II

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (KitKat), which is designed to increase performance and reliability over stock Android for your device.
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
What are Nightly builds? Auto compiled builds of the latest CyanogenMod source from github. This version change each night and aren't officialy supported. If you find bugs/issues you can/must discuss here (do not submit nightlies bug on CyanogenMod issue tracker).
All bug reports that don't meet this conditions will be ignored:
You have the kernel provided in the zip file
You made a clean flash and didn't restore anything
You made a detailed review of the problem
You provide a logcat in a .txt file (Search internet)
You provide dmesg or last_kmsg if it is a kernel panic (Search internet)
What's working :
Booting
RIL and Mobile Data
Dual-Sim
Storages (Internal and External)
Notification Led
Flashlight
Sound
Wi-Fi
Bluetooth
GPS
Tethering (BT, Wi-Fi, USB)
Sensors
Video playback
Camera
Browser
What's not working :
NFC (causes instability)
Fm Radio
Cpu Governors SmartassV2 and H3 causing instability
Other stuff that is not here
I DO NOT RECOMMEND USING CM CAMERA (it can stuck and you need to restart); USE OpenCamera INSTEAD!!!
Care with volume. Lower until no cracking sound is present
Instructions :
Reboot to the latest TWRP/CWM/Philz
Make a full wipe (/system, /data, /cache, /dalvik-cache, /internal storage)
Flash the CM11 zip
Flash the four_button.zip (if you have dual)
Make factory reset
Reboot to system
Flash Gapps (if you want) => you need to test which work. Flash pico please or you will have crashes. You need to test this. FLASH ONLY AFTER FIRST BOOT
You can also flash Gapps before booting (after CM11) but if you know how to skip initialization screen (the clockwise press trick). If you don't know what I am talking about, don't ask use the flash after first boot method.
You will not have a setup wizard because I am using INIT to set device model. Please use settings to set up your stuff.
Downloads :
ROM:
cm-11-20160306-UNOFFICIAL-vee7-RC3.zip
md5: 95b61238767d250a06891461ef4a7882
four_button.:
four_button_RC3.zip
md5: 0c03597aa15338f1362c26d44f52d5d6
Credits :
@Dazzozo
@luca020400
@skyinfo
@weritos
@Caio99BR
@Kra1o5
@fonz93
TeamHackLg
CyanogenMod
Xda for this nice home
Donators (BIG THANKS!!!) :
@vlmaxx
The source code is entirely available here: https://github.com/Cyanogenmod11-vee7
XDA:DevDB Information
NCyanogenMod 11, ROM for the LG Optimus L7 II
Contributors
neutrondev
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod 11
Version Information
Status: Beta
Created 2015-06-12
Last Updated 2015-06-12
Reserved
Changelog:
RC3(06-03-2016)
Fm needs to much work and I don't have time; reverted that
reverted overclock causes problems
removed kernel stuff that caused instability
visual performance should be better now
removed hwcomposer
removed vsync ( we don't support that )
added headphones image when headphone is plugged
added the flashlight thing in drop-down menu
fixed blue video in camera
RC2(27-02-2016)
Initial commits for FM radio
Kernel changes:
fixed memory leaks in ext4
improved ext4 speed
added frontswap
limited max readahead to 1MB
improved response of the UI
added sio, sioplus, bfq, fiops, row I/O
changed default I/O to sio (best for our device)
dynamic read-ahead support
3 times faster integer SQRT operation
frandom entropy (way faster then urandom)
removed useless 320 KHz freq from CPU (more aggressive scaling, to be more responsive)
overclocked to 1036 GHz
Enabled ZCACHE
Enabled ZRAM
RC1 (26-02-2016)
reworked device tree, kernel tree entirely
now all is united under vee7
baseband search to set version
camera now compiled from source (focus while in video mode works); the restriction is still clear. no pause on videos
speed should be improved
battery drain should be gone
dual sim most likely fixed (needs confirmation)
enabled ZRAM
enabled ZCHACE
Beta 2 (19-06-2015)
[fixed] Browser
[fixed] Camera
[fixed] GPS, was not locking right
[observed] Battery drain
Beta 1 (12-06-2015) -> not public
[fixed] entire sound
[fixed] browser crash
[added] dual-sim support
[updated] RIL area
Alpha 2 (11-06-2015) -> not public
[fixed] internal storage
[fixed] part of sound
[fixed] flashlight
[working on] camera
Alpha 1 (08-06-2015) -> not public
Initial bringup
Reserved
Frequently asked questions (FAQ) and Instructions:
QUESTIONS AND ANSWERS:
1. How to enable Developer Option?
Go to Settings->About phone->Build number->Tap on it 7 times.
2. How to enable USB Debugging?
After you enable Developer Option go to Settings->Developer options->Check USB debugging.
3. How to enable Reboot recovery from the reboot menu?
Go to Settings->Developer options->Check Advanced reboot.
4. How to disable Home key unlock (it is enabled by default)?
Go to Settings->Buttons->Uncheck Home button wake.
5. Do you want faster UI?
Go to Settings->Developer options->Scroll down to DRAWING->Set Transition animation scale and Animation duration scale and (Optional: Windows animation scale) to Animation scale .5x
You are reworking it from source or it's werito's port just edited?
tomcis147 said:
You are reworking it from source or it's werito's port just edited?
Click to expand...
Click to collapse
As I said this is my last project. It contains my source.
Finally
Good work
Thank you for this final effort. And thank you for the TWRP 2.8.6.0(doesn't flip the screen on reboot anymore).
I'll be sure to try your CM11 rom once I'm out of university for the summer.
This is amazing. Been waiting for CM11 all my life. Good luck in this and in all your future projects neutrondev!
Sent from my [email protected] by neutrondev using XDA Free mobile app
neutrondev said:
As I said this is my last project. It contains my source.
Click to expand...
Click to collapse
I wish there will not be a battery drain the battery is more stable than the cm10.2. Hahahha. Good Luck with this sir.
What you mean with "not working browser" ?
luca020400 said:
What you mean with "not working browser" ?
Click to expand...
Click to collapse
Probly web view framework is not working that renders websites
luca020400 said:
What you mean with "not working browser" ?
Click to expand...
Click to collapse
I am using chromium webview not classic and genlock has some problems. It is a genlock problem that is also related to webview when I will have time I will investigate it
By the way, and it came to me just now, is it possible for you to include the following options?
- turn on/off the annoying "safe headset volume" message
- turn on/off camera shutter sound
- turn on/off heptic feedback(vibration on unlock/hold home key/input pin code when turning the device on)
- custom power off and restart option: reboot/reboot to recovery/reboot to boodloader
Those would be very comfortable for most of us, if not for everyone. Currently on the purified stock v2(KK 4.4.2) i have to use:
- GravityBox(Xposed) for headset volume message and custom restart options
- Open Camera(from play store) because it has an option to mute shutter sound
- Spare Parts to remove heptic feedback(although you can uninstall the app and still have heptic feedback disabled)
My whole point is to have the above mentioned options native to the ROM itself without using third party apps/frameworks.
shhnedo said:
By the way, and it came to me just now, is it possible for you to include the following options?
- turn on/off the annoying "safe headset volume" message
- turn on/off camera shutter sound
- turn on/off heptic feedback(vibration on unlock/hold home key/input pin code when turning the device on)
- custom power off and restart option: reboot/reboot to recovery/reboot to boodloader
Those would be very comfortable for most of us, if not for everyone. Currently on the purified stock v2(KK 4.4.2) i have to use:
- GravityBox(Xposed) for headset volume message and custom restart options
- Open Camera(from play store) because it has an option to mute shutter sound
- Spare Parts to remove heptic feedback(although you can uninstall the app and still have heptic feedback disabled)
My whole point is to have the above mentioned options native to the ROM itself without using third party apps/frameworks.
Click to expand...
Click to collapse
Haptic feedback in stock KitKat need to edit build.prop, in CyanogenMod you can enable and disable in sound settings and lock screen settings. Advanced restart mode in developer options (I think only CyanogenMod, not sure stock roms)
Sent from my p710 using XDA Free mobile app
What are the main differences between this build and @weritos one? In what way it's expected to be better?
doubt
When can we download ?
Wesley Silva said:
When can we download ?
Click to expand...
Click to collapse
You will see when, don't ask for eta.
Build will arrive soon. The thing is that I want to use Chromium Webview (it is new starting from kitkat). Before kitkat classic webview was used. I can use an external classic but I want to update the stuff to work with Chromium one.
Well just some updates. Found time to work today. Camera got fully fixed (Resume now works). I adverted GPS working. Well trying to get a signal it could not lock. That is also fixed now. I just switched to Classic Web View since exams are comming and I see no problems. We can count browser also fixed. Maybe tomorrow is a good day to release an RC already. Will test until then. Peace out.
neutrondev said:
Well just some updates. Found time to work today. Camera got fully fixed (Resume now works). I adverted GPS working. Well trying to get a signal it could not lock. That is also fixed now. I just switched to Classic Web View since exams are comming and I see no problems. We can count browser also fixed. Maybe tomorrow is a good day to release an RC already. Will test until then. Peace out.
Click to expand...
Click to collapse
What exactly are nightly builds? I searched a lot but still not sure how that will work with this rom. Sorry if I'm too dumb and thanks in advance!
Edit: And another question, no battery drain at the moment? (Is not listed in known issues so I guess is fixed or never wasn't there)
Sent from my p710 using XDA Free mobile app

[ROM][6.0.1] CyanogenMod 13 [2017/12/18 FINAL][STABLE] by SergeyL

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CYANOGENMOD 13 MARSHMALLOW 6.0.1
GALAXY ACE 2 GT i8160 by SergeyL
TWRP CHRONOKERNEL BASED SOURCES - BASE 6.0.1 CM13
I've translated from Russian with Google Translator the original thread of this ROM of @SergeyL.
I've made this thread just to have a suitable place to share our experiences and questions with this ROM.
DOWNLOAD CYANOGENMOD 13 STANDARD
There are two ROM versions, Standard and Full
Standard is "pure" CyanogenMod 13 and Full version has some extra features added by SergeyL
Full version's download links are posted periodically by @[-GuTi-] in this thread,
just look for last releases by reading latest messages
Swap Memories:
Now we have something like "swap memories"
Sdcard1 will forcibly be used by system for apps, images, etc.
Same like Sdcard0. But in File manager it'll look like Sdcard1
When you connect to PC, only Sdcard0 will be available (but actually it's Sdcard1)
To get "swap memories", first download THIS
Then open ROM file on your PC and replace its boot.img with new boot.img you have just downloaded
Finally, install ROM
Due to Ramdisk changes, don't install Chorno Kernel, 'cause all changes will be deleted
Optimizations:
There are 2 optimizations during installation.
Fast optimization: It's default one. It will boot faster the first time you install the ROM.
Full optimization: It will boot slowlier (+10' extra) for the first time, but ROM will be smoother.
To get full optimization, open CM13 zip file with your PC and edit build.prop (it's on /system), unzip and modify it
(e. g. with Notepad++) as explained below. Then replace original build.prop file with new one in the ROM zip.
Code:
You'll find these 4 lines:
dalvik.vm.image-dex2oat-filter=speed
dalvik.vm.dex2oat-filter=interpret-only
[B][COLOR="Red"]#[/COLOR] [/B]dalvik.vm.image-dex2oat-filter=everything
[B][COLOR="red"]#[/COLOR] [/B]dalvik.vm.dex2oat-filter=everything
Change them for this, which only modifies the location of [COLOR="Red"][B]#[/B][/COLOR]:
[B][COLOR="red"]# [/COLOR][/B]dalvik.vm.image-dex2oat-filter=speed
[B][COLOR="red"]# [/COLOR][/B]dalvik.vm.dex2oat-filter=interpret-only
dalvik.vm.image-dex2oat-filter=everything
dalvik.vm.dex2oat-filter=everything
Now you can flash ROM with full optimization.
HDPI MINI GAPPS 49 MB
[URL="https://yadi.sk/d/WyQ1Kat5snT6J"]OPENGAPPS PICO 45 MB
MINI GAPPS 8 MB
-INSTALL HDPI OR MINI GAPPS IF YOU HAVEN'T REPARTED MEMORIES-[/URL]
Bugs:
You say
How to install?
1. Download CM13 and one of the GAPPS files
2. Copy the zips in the external memory card
3. Boot in CWM or TWRP recovery
4. For CWM: Select "Wipe Data / Factory Reset" - "Wipe cache" - "Wipe Dalvik"
5. Choose "Install Zip from external storage"
6. Select CM13 file
7. Choose "Install Zip from external storage"
8. Select GAPPS file
9. Go back to the root of the CWM, and select "reboot system now"
10. Done! First boot takes a while, be patient
11. Ignore message about SD card after CM13 first boot:
Formatting SDcard as internal storage will ruin it (don't format / encrypt)
Firmware required: Stock 4.1.2 Jelly Bean & Custom Recovery
Installation using temporary CWM 6.0.2.8 Recovery is not supported
Install first any updated CWM/TWRP Recovery: Chrono Kernel r2.24.5 (or newer) provides you CWM 6.0.5.1
If you don't know how to install a new kernel/recovery, pick HERE
Xposed for Marshmallow:
1. Boot on recovery, install View attachment xposed-v80-sdk23-arm.zip and reboot system -it takes a while-
Pick HERE if you want latest version of Xposed
2. Install with File Manager View attachment XposedInstaller_3.0_alpha4.apk
If you don't have Root access, pick HERE​
ORIGINAL POST OF SERGEYL ON 4PDA:
http://4pda.ru/forum/index.php?showtopic=693497&st=780#entry44558613
FIXES AND IMPROVEMENTS:
(Thanks @[-GuTi-] for translations)
20160824
- Cm sources update
- Fixed minor irregularities of CM
- Updated ChronoKernel sources from 05.08.2016 Version 4.5.x - Standard
- Fixed some bugs from logcat
- Changed optimization for GCC LINARO_4.9.4, now must be more smoother and stable
- Fixed a memory leak when creating HWUI cache for textures. Improved patch
- Changed the delay 5sec and 3sec for 1.5 seconds when the volume panel up
- Added optimization for jemalloc. Better performance. Tnx Google
- Improved intefrace working by changing the delay. Final patch
- Fixed battery drain when WiFi or Mobile Data is working. Tnx Google
- Fixed memory leak when WiFi is shooting down. Tnx Google
- Many minor fixes. Which affects the stability of the phone
- Opened the branch for the init.d tweaks. Names 65tweaks file - there will be added new tweaks for system. Later it will be explained
20160722
- Cm sources update.
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Optimized RIL. Improved handling and adapted for new code
- Compiled from sources libsecril-client. More correct RIL work
- Disabled preload Resources. As for me, unneeded memory consumption. Almost 15 Mb
- Fixed battery drain when phone locked. Incorrect work of registerReceiver
- Fixed some delays with card synchronization
- Fixed bug with closing status bar. When CPU was loaded, sometimes was slowly closing
Now drowing cache will be cleaned. Fixed another memory leak
- Optimized set_process_name processing. Imroving work with long names
- Decreased some delays
- Many minor fixes. Which affects the stability of the phone
- The embedded firmware fix activation of continuous input into the standard keyboard
20160716
- Cm sources update. Update base to MOB30R - 6.0.1_r52
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Fixed memory leak when entering in Profile settings.
- Fixed MediaSessionService crash while processing the voice call
- Fixed Bluetooth reconnection after tearing
- Added to settings Unlock access via USB. New menu in Settings - For developers. Enable access to USB
Now all the settings will be saved, no need to unlock the phone when connecting to the PC
- Added UMS (USB Mass Storage) mode. Tnx ChronoMonochrome
- Trick for location check, to download games for other regions. Like Pokemon Go
- Fixed libhwui crashing. Google idea. As Google says, it will fix some failures in libhwui work
- Many minor fixes. Which affects the stability of the phone
20160630
- Cm sources update
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- New art tweaks. Tnx arter97. Test version
- In build.prop added tweak off loading Atlas service
To use Atlas comment on Atlas line config.disable_atlas = true
- Some RIL fixes. Tnx ghsr
- Improved apps starting by glGetProgramBinary optimization
- Improved On/Off mobile data
Short tap - On/Off. Long Tap go in Settings
- Another RIL improvements for new CM code
- Fixed battery drain while Data and WiFi is active
- Improved SQLite
- Many minor fixes
New tweak for low RAM devices persist.sys.force_highendgfx=true, not activated by default(you can activate), cause need more tests
Explanation:
Used by persistent processes to determine if they are running on a higher-end device so should be okay using hardware drawing acceleration (which tends to consume a lot more RAM).
20160622
- Cm sources update
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Added disable and enable profile display in Contact.
In build.prop ro.profile.header = 0 - the default, ro.profile.header = 1 - is displayed.
- Force ARM instructions for some modules. Optimization
- Fixed torchlight
- Changed IMT size from 64 to 43 in the art. Improved performance .
- Optimization to improve application launch. Test option
- Fixed ramdisk. Changed priority run zygote
20160612
- Cm sources update. Update base to MOB30M - 6.0.1_r46
- Fixed minor irregularities of CM
- Updated ChronoKernel sources from 07.06.2016 Version 4.4.x - Standard
- Fixed some bugs from logcat
- New fix for WiFi reconnection. Tnx ChronoMonochrome
- Fixed some problems in RIL
- Fixed reboot while switching 2G/3G when Mobile data is activated
- Fixed EOS codec processing. Tnx Google
- Removed SetState Unsafe from ART. Fixing unnecessary testing
- Fixed SystemUI crashing while using Weather form LockClock
- Activated CM function - LockScreen rotating
- A lot of minor fixes
20160425
- Cm sources update
- Fixed minor irregularities of CM
- Updated ChronoKernel sources from 24.05.2016 Version 4.4.x - Standard
- Reworked using elapsedRealtimeNano. Made selecting mode. Tnx ChronoMonochrome
Fixing conflicts with wifi autoreconnections and update the time
- Fixed substitution METHOD_CLOCK_GETTIME and METHOD_IOCTL to use Auto mode for wifi connection. Tnx
ChronoMonochrome
- Added fix for Instagram. If need to disable
In build.prop comment ste.use_google_h264_encoder = true
- Activated notification when phone is charged
- Fixed the black background on the lock screen by using a simple mode
CM decided to activate the lock screen blur, but did not think that the code does not work on all devices ..
- Activated in build.prop tweaks for B-services for better work
ro.sys.fw.bservice_limit = 3, ro.sys.fw.bservice_age = 3000, ro.sys.fw.bservice_enable = true
- Reworked the buttons to select the answer an incoming call. Will return standard if people dislike it
1. Removed the ring around the button.
2. Returned paint icons in the old look.
- Fix some display icons apk. It fixes a memory leak due of incorrect rendering
- Replaced TinyHashMap to use std :: unordered_map in DeferredDisplayList. Test option
- Activated sort applications by size in Settings - Apps
- Improved GLSurfaceView, improving conversion EGLChooseConfig. Test option.
- Disabled errors aapt for some action
20160519
- Cm sources update
- Fixed minor irregularities of CM
- Updated ChronoKernel sources from 11.05.2016 Version 4.4.x - Standard
- Fixed some bugs from logcat
- Added to Settings "Disabling error messages"
- Fixed and improved birany work
- Updated SQLite optimizations. Overall improvement
- Reverted "Weather" work
- Fixed WiFi recconection
- Fixed some crashes in libjhead work
- Fixed some problems with installing apps
- Improved amplification of sound while using Bluetooth
- Fixed AVC and MPEG2 decoders
- Some fixes for ramdisc
- Updated TopProcessState working
- Fixed memory leaks
- A lot of minor fixes
20160503
- Cm sources update
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Updated ChronoKernel sources from 30.04.2016 Version 4.3.x - Standard
Added some improvements and fixes
- Fixed memory leak while working with heavy apps
- Fixed droping network mode when signal is lossed. Test patch
- Fully fixed and improved Sqlite optimizations
- Fixed and improved patch for smoother work
- Fixed battery drain while screen is off
- New optimization for ART. Heavy improvement
20160421
- Cm sources update. Update base to MOB30D - 6.0.1_r30
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Fixed SystemUI crashing while scrolling selection of tiles to add
- Added trace definition work SQLite. Accelerate system work
- Optimized the SQLite. Improved performance in general. Entered 4 patch
- Fixed the memory leak when using SQLite patches
- Added tweak to automatically activate power saving mode for WiFi when the screen off
- Several patches to improve WiFi. For correct definition with some routers
- The patch changes the window while optimizing application when the phone starts
- Fixed battery drain after turning off the flashlight
- Fixed crashing Settings when adding a new APN
- Fixed issue with Yahoo Weather Provider. I change the URL for weather updates
- Improved patch for smoother work(with SQLite)
- Patch to optimize XmlParser work. Improves stability
- Tweeks to speed up Dialer. It's time to start improving dialer work
- A lot of minor fixes
201604116
- Cm sources update. Update base to MHC19Q - 6.0.1_r24
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Updated TWRP sources to 3.0.2.0
- Some tweaks in kernel
- Activated in Settings - Display doubletap2wake function
New code in power.default to on/off it in kernel
- Fixed Settings crashing while Bluetooth is scanning
- Fix for better readability of the list changes.
- Fixed incorrect work while using the Quick settings. Wrong work of disableForUser.
- Added 4PDA logo in application optimization window
- Fixed Autorotation for some apps that still are using elapsedRealtimeNanos()
- Fixed crash libaudiopolicyservice due to incompatibility updated addOutputSessionEffects
- Fix crash of the synchronization process applications in determining UidState.
- Improved patch for smoother work
- A lot of minor fixes
20160329
- Cm sources update
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Replaced old Sqlite library from CM to SQLite 3.11.1
- Replaced old jemalloc 3.6.0 library to 4.0.4 (October 24, 2015)
- Updated libasound sources from 1.0.20 to 1.0.23
- Removed from RIL unnecessary load while detecting network mode. Test patch for battery drain in 3G mode
- Reworked memtrack.montblanc. Agontuk idea
- Added script to auto delete SetupWizard after installing Google Apps. CM13 has his own setup wizard
- Improved StrictMath work. Improve smartphone working
- Fixed locking com.google.android.gms. Fixed crash while working with some apps
- Added to ramdisk new configuration for the memory card. It must improve permission for memory card
- Added audio.r_submix.default and edited audio_policy.conf. Driver needed for Chromecast. Didn't tested
- libril.so и rild compiling now from sources .Tnx ChronoMonochrome
- Enabled Shader cache for apps
- Added new tweaks for Bluetooth, test patch
- Fixed Display Settings crashing with some languages
- Disabled animation while optimizing applications. It accelerates loading and does not strain the processor once again.
- A lot of minor fixes
20160318
- Cm sources update.
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- TWRP version 3.0.0.0
- Fixed toybox work. Planners wasn't determined in autoload due of incorrect working of scripts
- Fully disabled Fast Session Transfer (FST) in wpa_supplicant. Improved work for old WiFi moduls
- Fixed crash while scanning wifi networks. Implemented checks to clear the error.
- Fixed DeskClock crash for Russian locale
- Fixed Dialer crash when viewing Call History - Missed and Statistics
- Fixed crash when activating the alarm. Fix for all types of crash WrappedDrawable procedure
- Fixed MobileNetworkSettings for smartphones which not support 4G
- Imrove code to set priority for WPS-network in wpa_supplicant. Improving newtwork searching
- A lot of minor fixes
- Ramdisc cleaning
- Cleaned init.rc form unneeded qcom flaqs
- Fixed permissions for Bluetooth
- Deleted /sys/kernel/debug from init.samsungcodina.rc. CM team added it in init.rc
20160314
- Cm sources update. CM team update base to MHC19J . 6.0.1_r22
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- New incall volume fix. Adapted and improved patch from golden-guy
- Fixed lockscreen while incoming call. Improved fix from ChronoMonochrome
- Fixed twitching green when viewing online video in fullscreen
- Fixed battery drain after disabling mobile internet
- Fixed data saving on some SD cards
- Fix alarm display on the status bar. In some cases, the icon going out of the screen area
- Added the missing symbol WriteString 16 in the source code libbinder. Chrono Monochrome idea
That made possible to remove the extra Lib to run our libril.so. Ramdisk cleaning
- Added the missing symbol the source code icu4c. Needed for cn_server.
That made possible to remove the extra Lib to add to our libicuuc.so. Ramdisk cleaning
- Fixed error selecting quality in YouTube app
- Fixed incorrect work of WiFi slider in Settings
In some cases slider was working when WiFi was disabled
- Added some tweaks for "Display events". Old name is "Ban hibernation", renamed by CM team
- Cleaned determination and verification of Fast Session Transfer (FST). Accelerate WiFi speed ofr our old modules whino not support FST
- Fixed camera crashing when start/stop a lot of times for videorecording. ChronoMonochrome patch
- Fixed CMFileManager crashing when going in Main Settings in Russian locale
- A lot of minor fixes
20160304
- Cm sources update. CM team update base to MMB29U . 6.0.1_r13
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Updated ChronoKernel sources from 28.02.2016 Version 4.2.x - Standard with updated WiFi driver
- Settings - added feature to On/Off media scanning while phone is booting. SlimRom feature
- Optimized working of some codecs while wathing video. Tnx temasek
- Optimized OMXCodec
- Fixed crashing while working with PDF
- Deleted some GPS tweaks from framework, which causes some satellites disappearing
- Fixed Status Bar for some custom themes
- Fixed timezonepicker issues
- Settings - added feature to On/Off showing in full-screen incoming call, not like notice
- Fixed some errors with some operators. Test patch
- Improve patch for smooth work
- Imroved WiFi work. Fixed some irregularities while working, also fixed searching(not autorecconect). Disabled some checks in deep sleep
- A lot of minor fixes
20160218
- Cm sources update
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Updated ChronoKernel sources from 17.02.2016 Version 4.2.x - Standard
- Fixed MTP mod memorizing.
- Activated Call recording
- Fixed battery drain while screen is blocked. Before this patch, some unneeded synch was working even in sleep.
- Correct SDcard working. Again toybox bugs
- Fixed updating accounts, in some times System was crashing
- Fixed art dex2oat timeout. Improved optimization, now working like in 12.1, but in another mode
- Fixed detecting network mode after reboot
- Improved RIL fix
- New patch to accelerate interface. Reduced animation time from 1 sec to 0.75 You will feel this
- Small fixes for Bluetooth
- Added in Settings enabling scrolling cache. Edit build.prop was uncomfortably
- Fixed eglSwapBuffers. Improve graphic work
- Edited and improved feature "Ban hibernation"
- Edited some commands which responsible for RIL
- Fixed battery drain. Disabled some processes in work with Services
- Fixed and improved Trebuchet working
- Fixed place to save of SoundRecorder, CM team changed this, and was needed to edit it for our phone
- A lot of minor fixes
20160208
- Cm sources update
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Updated ChronoKernel sources from 06.02.2016 Version 4.2.x - Standard
- Fixed SystemUI crashing, cause CM team decided that CM not need ToneGenerator on 6.0.1
Cause of this we got some bugs with volume controll and some others
- Added feature that provides apps that have no AndroidManifestе , to transfer them so sdcard
- Improve patch for videorecording
- A lot of minor fixes
- Added old fix to improve connection with operatores on some countries
- Activated HDR in Snap camera
- Fix for accelerate autoturn work. Test fix
- Now, phone must remember MTP when using USB. Test fix
- Fixed crahing of Snap camera while using manual exposure
- Memory swap
20160204
- Cm sources update
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Fixed adaptation for gapps(AOSP keyboard will not crash).
- Fixed ListView
- Fixed SystemUI crashing while changing settings in StatusBar
- Fixed StorageVolumePreference crashing in Settings
- Improve patch for smoother work
- Edited ramdisc. Added some fixes
- Changed level when message about low battery appeared. 20% - 10%, 15% - 5%
- Fixed videorecording
- A lot of minor fixes
20160128
- Cm sources update
- Fixed minor irregularities of CM
- Fixed some bugs from logcat
- Added in Settings On/Off Superuser icon in status bar
- Reworked OomMinFreeLowRam and OomMinFreeHighRam. In CM13 it was working for 1Gb RAM smartphones
- Fixed optimizations for GCC LINARO_4.9.4.
- Fixed crash setupwizard
- Improve patch for smoother work
- Fixed some reboots
- Fixed memory leak while working some third-party programs
- Added some tweaks in ART from Xposed. Improve ART
- Added working and new tweaks in build.prop. Improve memory usage by apps
- A lot of minor fixes
20160125
- Cm sources update
- Fixed minor irregularities of CM
- Updated ChronoKernel sources from 23.01.2016 Version 4.x.x - Standard
- Fixed mediaserver crash
- Fixed Camera crashing when at least 1 video file in camera folder
- Fixed keyboard crashing when working the third-party software
- Fixed reassign API(?) for getRunningAppProcesses. Cause of this , some third-party programs did not work
- Fixed battery draining when phone sleeping, reduced screen treatment cycles
- Improve patch for smoother work
- Disabled scroll cache to improve performance. In build.prop parametr persist.sys.scrollingcache=2
Settings 0 - all time active; 1 - active while apps need this; 2 - disable before apps will request for this; 3 - all time disabled
- Fixed MTP. Ramdisc changes
- Fixed GPS. Ramdisc changes
- Fixed AGPS
- Fixed Trebuchet crash
- A lot of minor fixes
Cause of Ramdist changes, dont install ChonoKernel now(all changes will be deleted), wait for new kernel version!
20160123
- Cm sources update
- Fixed minor irregularities of CM
- Deleted sepolicy from TWRP. Unneeded feature taking place in BOOT. We got only 16mb on BOOT.
- Fixed bug in Calculator
- Changed some delays (5 sec - 1 sec ,2 sec - 0.5 sec ) after finishing talking and InCallUI closing
- Fixed finding network while RIL is booting. No need to ON/OFF Flight mode now to enable Mobile network
- Accelerated RIL booting and finding network. Now it's 400ms. Good result
- Fixed work EGL Graphic Buffer. Improves performance in applications and games
- Fixed memory leak when using ToneGenerator
- Accelerated phone booting, deleted unneeded processing with log journal. Also dropped the load of processor
- Cleaned unneeded processing in WRITE_EXTERNAL_STORAGE
- A lot of minor fixes
20160117
- Cm sources update
- Fixed minor irregularities of CM
- Updated ChronoKernel sources from 13.01.2016. Version 4.x.x - Standard
- Reduced TWRP size
- Fixed WiFi
- Fixed reboot into Recovery from Power Menu
- Fixed reboot while USB connection
- New optimization for GCC LINARO_4.9.4. ROM working smoother
- Stock camera change to Snap camera
- Fix Media Buffer Group.
- New tweaks for framework. Improve stability
- Fixed interface speed
- Fixed some bugs in Trebuchet
- First patch for smoother work. Porting from 12.1
CM team adding new functions, and it reducing performance
- A lot of minor fixes
20160103
+ Updated the source.
+ Corrected minor irregularities after the upgrade.
+ Updated the kernel source ChronoKernel to 01.01.2016 .. The core version of chrono kernel r3.13.H - Standard
+ Reduce the parameters of treatments extra Buffers to 1 cycle .. accelerated interface. And just began to work better with the media
+ Threw processing VideoNativeMetadata .. How to .. CM11 and left some bugs with working media. As long as the test patch.
+ Threw bootchart of init .. 15 meters to save RAM .. I did not think that this Gavrik as otzhiraet.- This item disappears after installing the kernel Chrono.
+ Corrected charging the phone off. The amendments concern the ramdisk.
+ Updated sepolicy to work with a memory card.
+ Translated assembly on GCC LINARO_4.9.4. It reduces some libs. And improves the body work.
+ Optimized for GCC LINARO_4.9.4. when assembling the firmware. It removes some schools during compilation.
+ Smshniki introduced a patch to the camera to select the shooting location .. We had a little edit. Poorly defined memory card.
+ Found zhor battery. Fixed .. patch test.
+ Add to view the list of settings changes Refer updates.
+ Made smooth patch on the similarity Sm12.1 who did. It is time to be engaged and acceleration to improve performance
+ Lots of small fixes. That affect the stability of the phone ..
20151230
+ Updated the source of CM.
+ Fixed minor irregularities of CM.
+ Fixed crash when entering the Settings menu, the sound settings.
+ Fixed eliminate memory leaks.
+ Sped up the work interface.
+ Removed some delay when you press and hold well.
+ Remade Ril. Test. More adapted to CM13.
+ Added patches for Media Buffer. Adapted for CM13
+ Fixed eliminate blinking screen.
+ Lots of small fixes in code CM to improve your phone.
20151223
+ Updated the source of CM.
+ Fixed minor irregularities of CM.
+ Added a Russian translation in TWRP. Thanks Udjine, RogueIGROK and avantyurin.
+ Fixed mount internal memory... Well, I fixed the memory of all and works fine.
+ Fix eliminate glitches in the operation of the display of CM13.
+ Lots of small fixes, that affect the stability of the phone.
20151212
+ Updated CM the source base MMB29M 6.0.1.
+ Fixed minor irregularities of CM.
+ Updated kernel source ChronoKernel to 11.12.2015... The core of chrono kernel version 6.0.1 is r3.11.H - nodebug. Thank you ChronoMonochrome.
+ Fixed Ril.
+ Fixed mount memory... Thank you ChronoMonochrome.
+ Fixed a memory leak.
+ Lots of small fixes, that affect the stability of the phone.
It's running very good for me. But, you know, first launch, no apps yet. Is there any working gapps for 6.0.1? Actually I don't need Play Store, but I must synchronize contacts. :/
damian12332146 said:
It's running very good for me. But, you know, first launch, no apps yet. Is there any working gapps for 6.0.1? Actually I don't need Play Store, but I must synchronize contacts. :/
Click to expand...
Click to collapse
I don't know. I flashed these Pico Gapps. It was installed correctly and phone rebooted with no problem, but then I had continuous error message.
http://androiding.how/android-6-0-marshmallow-gapps/
I tried a testing version of 2015/12/20 ROM that has been deleted, and I don't know if it was a bug of rom or Gapps bug.
There's also Xposed for MarshMallow here on XDA... I haven't tested it, but it sounds good.
EDIT: There is also other links I haven't tested:
http://opengapps.org/
Culateralligator said:
I don't know. I flashed these Pico Gapps. It was installed correctly and phone rebooted with no problem, but then I had continuous error message.
http://androiding.how/android-6-0-marshmallow-gapps/
I tried a testing version of 2015/12/20 that has been deleted, and I don't know if it was a bug of rom (internal memory mount) or Gapps bug.
There's also Xposed for MarshMallow here on XDA... I haven't tested it, but it sounds good.
EDIT: There is also other links I haven't tested:
http://opengapps.org/
Click to expand...
Click to collapse
Please, stay away from flashing gapps just for now. Marshmallow or Gapss has some problems and conflicts with each other, and showing non stoppable error message. Not sure if it is gapps problem or marshmallow problem so just take care.
IAmLucky said:
Please, stay away from flashing gapps just for now. Marshmallow or Gapss has some problems and conflicts with each other, and showing error message. Not sure if it is gapps problem or marshmallow problem so just take care.
Click to expand...
Click to collapse
Opengapps.org says It's needed a patch to grant permissions.
Maybe that's the problem or just one of the problems?
EDIT: I have succesfully installed GApps with apparently no problems on 12/23.
Let's see how it works later.
Proper translation of whats new in 12/23 version
+ Updated CM the source base MMB29M. 6.0.1
+ Fixed minor irregularities of CM.
+ Updated kernel source ChronoKernel to 11.12.2015 .. The core of chrono kernel version 6.0.1 is r3.11.H - nodebug. Thank you ChronoMonochrome
+ Fixed Ril.
+ Fixed mount memory .. Thank you ChronoMonochrome
+ Fixed a memory leak.
+ Lots of small fixes, that affect the stability of the phone ..
damian12332146 said:
It's running very good for me. But, you know, first launch, no apps yet. Is there any working gapps for 6.0.1? Actually I don't need Play Store, but I must synchronize contacts. :/
Click to expand...
Click to collapse
Is your data conection working? I dont have wifi,and with 2312 its no internet for me
Sent from my GT-I8160 using XDA Free mobile app
Maybe you can try this Chrono Kernel https://yadi.sk/d/fYFUJY0ymBC9F
But you have before to change AOSP keyboard app for another one, cause it makes it crash and you won't be able to write anymore at all.
This kernel changes recovery to Philz CWM.
Culateralligator said:
Maybe you can try this Chrono Kernel https://yadi.sk/d/fYFUJY0ymBC9F
But you have before to change AOSP keyboard app for another one, cause it makes it crash and you won't be able to write anymore at all.
This kernel changes recovery to Philz CWM.
Click to expand...
Click to collapse
Is yours conection work with this?
Sent from my GT-I8160 using XDA Free mobile app
psidco said:
Is yours conection work with this?
Sent from my GT-I8160 using XDA Free mobile app
Click to expand...
Click to collapse
I have data and calls working since the beginning. Before and after flashing this kernel.
This Chrono Kernel makes some inestability in this ROM, but maybe it's worth to try it.
Culateralligator said:
I have data and calls working since the beginning. Before and after flashing this kernel.
This Chrono Kernel makes some inestability in this ROM, but maybe it's worth to try it.
Click to expand...
Click to collapse
Ok will try later,but from first i cant connect,but calls and text working,dont know why
Edit: sorry my fault my network is working,just need turn on airplane mode first at after reboot.and i flash gapps when my keyboard fc i delete system/lib/libjni-googleime.so and now my keyboard is fine
Sent from my GT-I8160 using XDA Free mobile app
psidco said:
Ok will try later,but from first i cant connect,but calls and text working,dont know why
Edit: sorry my fault my network is working,just need turn on airplane mode first at after reboot.and i flash gapps when my keyboard fc i delete system/lib/libjni-googleime.so and now my keyboard is fine
Sent from my GT-I8160 using XDA Free mobile app
Click to expand...
Click to collapse
So did you finally flash this Chrono kernel?
Confirmed, after install chrono_kernel_r3.11-nodebug there're no problems with Wifi or 3g. Now I'm trying to repart /system and install gapps.
psidco said:
and i flash gapps when my keyboard fc i delete system/lib/libjni-googleime.so and now my keyboard is fine
Click to expand...
Click to collapse
What gapps did u flash? I flashed this one from opengapps.org and it's not work property. Phone start, but there are a lot of FC errors (Google Play Services, First Launch Creator and Keyboard) . And what version of rom are you?
Culateralligator said:
So did you finally flash this Chrono kernel?
Click to expand...
Click to collapse
No,its default from rom zip but sometimes when no H/3g icon,i need to go airplane mode to make it work,i can go with this for now,did swap sdcard work for u?
Sent from my GT-I8160 using XDA Free mobile app
No, It didn't work. We have to wait for now.
Culateralligator said:
Maybe you can try this Chrono Kernel https://yadi.sk/d/fYFUJY0ymBC9F
But you have before to change AOSP keyboard app for another one, cause it makes it crash and you won't be able to write anymore at all.
This kernel changes recovery to Philz CWM.
Click to expand...
Click to collapse
hi, can i use this kernel for my lollipop 5.1.1 version? because my internet connection does not work either, that sucks, but i can have phone calls and texting. I tried a lot of ways to make my data working, but just that internet logo never appears thanks.
IAmLucky said:
hi, can i use this kernel for my lollipop 5.1.1 version? because my internet connection does not work either, that sucks, but i can have phone calls and texting. I tried a lot of ways to make my data working, but just that internet logo never appears thanks.
Click to expand...
Click to collapse
I don't know. Data always worked perfect in my phone and I never changed kernel on LP roms.
Data issue could be caused because Sergeyl LP doesn't support 8160P with NFC (at least that's what I've been told because I have normal 8160 model and I can't check this).
Do you have thIS model of Ace 2?
Culateralligator said:
I don't know. Data always worked perfect in my phone and I never changed kernel on LP roms.
Data issue could be caused because Sergeyl LP doesn't support 8160P with NFC (at least that's what I've been told because I have normal 8160 model and I can't check this).
Do you have thIS model of Ace 2?
Click to expand...
Click to collapse
I have ace 2 without NFC so no P at the end. When i click on my settings "about phone" then click "sim status" it says "mobile network type: Unknown" always. Also Mobile network state : disconnected. Even though i have plan for internet and even in city this says unknown, thats really something wrong with rom, because i used that sim card to my old nokia phone and i can connect to the internet. But not on my samsung, weird.

Development [Kernel][12.04.2023][Android 13] Kirisakura 3.0.1 for Sony Xperia 1 III aka "Sagami"

Kirisakura-Kernel for the Sony Xperia 1 III
Hello everyone,
To keep it short: Here is Kirisakura - Kernel for the Sony Xperia 1 III aka Sagami. Sagami is the internal codename for this years development platform of Sony Mark III devices. Please note this kernel is made to run only on Xperia 1 III.
I would appreciate if everybody that flashes the kernel, reads at least once through this opening post and the following ones.
Kirisakura - Kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!
If you expect a custom kernel to magically improve your devices battery life manifold and this is your only priority then this might not be the right place for you.
However the kernel is built to keep battery life close to the same as you would experience the on stock kernel while being tuned to perform better in various UI related benchmarks. The same benches are used by google to verify and ensure UI smoothness on the Pixel devices.
There´s also a cpu-battery saver mode that cuts back the CPU max- freqs, but without the disadvantages like delayed notifications from built into the system user-space power-saving modes.
If that got your curious, I welcome you to continue reading if you´re still interested!
The kernel includes a lot of improvements and contributions from other developers as well. Without this kernel would not exist.
A big part of improvements originate from @arter97´s, @kdrag0n´s and @Sultanxda´s work. Many others contributed in some way or another to this kernel.
A big thanks to all of them at this place!
Now lets continue with a list of features in the next paragraph!
Main Features:
- Based on latest kernel sources from Sony for Android 12 and intended to be used on the latest Stock-Firmware
- compiled with Clang 14.0.7 and built with -O3 speed optimizations
- Linux-Stable-Upstream included to 5.4.202
- upstreamed CAF base for the Snapdragon 888 (qcoms internal codename "lahaina")
- CPU-Battery saver to be able to restrict max cpufreqs on the fly, without enabling powersaving modes that might cause missed notifications (more info here)
- include important fixes/improvements from kernel/common
- reduce power consumption during deep sleep
- remove logging while device is suspended
- add SSG-IO scheduler from samsung (less overhead, better tuned towards android)
- disable various debugging mechanisms for drivers which are not needed on a perf build (e.g. binder)
- disable selinux auditing (we don´t have to adress selinux denials running a stock rom)
- disable unnecessary CPU errata for our specific SoC
- implement LRNG (thanks @arter97, see arter kernel OP for more info )
- Flashing the kernel will keep root!
- Flashable via EXKM, FKM or TWRP (if available) on a rooted system!
EAS related features:
- Implement dynamic WALT-Window size depending on current FPS, collecting information about CPU-Load to provide more precise information for the scheduler
- EAS implementation patched up to latest CAF state
- updates from kernel/common
- scheduler updates from sd888/ 5.4 kernel
CPU related features:
- Power saving workingqueues enabled by default (toggleable in EXKM)
- Change various drivers (WLAN, MM, audio, charger, power, thermal, glink etc) to use power efficient workingqueues. This compliments EAS in general
- improvements to cpufreq/times/stats
- vdso32 patches as found on Google Pixel devices (brief documentation here) (CAF 5.4 default, keep for documentation)
- remove event debug logging
- disable broken irq detection, disable debugmon
- improve suspend/resume from audio driver (caf-upstream for audio-kernel)
- cpuidle: wake only cpus for which qos has changed (this allows cores to keep idle states better)
- disable debugging during sleep states as per qcom recommendation
- remove RTB logging to reduce overhead
- disable trace_printk as it shouldn´t be used on production/perf kernel builds
- enable suspend_skip_sync to save power during suspend/resume
- disable edac and coresight (following google on the pixel kernels)
- disable jtagv8 debugging as recommended by qcom for perf builds to avoid potential power, performance and memory penalty
- disable s2idle in favor of deep idle state -> improves deep sleep drain (google initially used 2idle for improved suspend/resume latency on pixel 3 and pixel 4, but disabled it on pixel 5. qcom followed suit for sd 888, but apparently didn´t see google reverting it on pixel 5. Other OEMs such as Xiaomi or OnePlus already disabled s2idle on their SD888 devices in favor of deep- read more about s2idle vs deep here)
GPU related features:
- GPU driver updated to latest CAF-State
- gpu/kgsl improvements from pixel 4/pixel 5 kernel
- add low_prio_worker thread for gpu driver (Improves performance when tearing down processes (eg, via LMK) and not blocking currently running UI from submitting work to the GPU
File System related features:
- upstream BFQ-MQ to latest state in linux-mainline and default to 128KB readahead
- improve memory allocations in kernfs
- ufs improvements from pixel 4/ pixel 5 kernel
- improve GC as to not interfere while user interaction is happening and prevent possible jitter or latency spikes
Network related features:
- Wireguard Support (Details)
- advanced TCP algorithms enabled
- use bbr as default TCP congestion algorithm (fasted algo according to this excellent research from @kdrag0n found here )
- improved networking drivers from caf-upstream (especially wifi)
- remove unnecessary wakelock from WLAN driver to reduce thousands of very short wakeups during a 7 hour deep sleep period
- improved bluetooth performance (¹, ²)
- Enable support for TTL spoofing
Memory related features:
- Speculative Page Faults left enabled (1. 2) (CAF 5.4 default, keep for documentation)
- Fix various memory leaks in different subsystems
- improved mm with patches from mainline
- patches from kernel/common
- improve memory allocations in various subsystems, video encode/decode, kernfs, cgroup
- Backport to enable CONFIG_HAVE_MOVE_PMD (see here) , thanks @arter97
- Backport to enable CONFIG_HAVE_MOVE_PUD (commit here) , thanks @arter97
- free more RAM by removing unused reserved memory regions
- mm: Micro-optimize PID map reads for arm64 (improves game performance, especially unity based games such as genshin impact)
- MGLRU added (info here and here
Security related features:
- Control-Flow-Integration (CFI) and Link-Time-Optimization (LTO) (CAF 5.4 default, keep for documentation)
- Use ThinLTO which was first used in the Pixel 4 XL Android R-Kernel instead of full LTO (CAF 5.4 default, keep for documentation)
- Shadow Call Stack (SCS) Security-Feature ( 5.4 default, keep for documentation)
- enable init_on_alloc for even more security, more information can be found in the commit message (CAF 5.4 default, keep for documentation)
Misc Features:
Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- please read [URL="https://arstechnica.com/gadgets/2018/08/p-is-for-power-how-google-tests-tracks-and-improves-android-battery-life/"]this for further info
- blocking a kernel wakelock should only be done in case of firmware incompatabilities (WiFi network at work (can´t be changed) causes deep sleep to not work on the phone.) That´s the only use case I see for this feature. The kernel does not features this to improve battery life!
Other features:
- clean up asus drivers and fix a few warnings in kernel log
- disable logging and debugging to make the kernel more lightweight in various places (includes binder, mm, vma, gpu, ipa etc)
- fix several coding issues detected by newer Clang-Toolchains
- enlarge dmesg size to ease debugging
Flashing Guide, Download and Changelog
Requirements:
- unlocked Bootloader
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
- magisk root
- a backup of stock boot.img or your magisk patched boot.img in case you want to go back to stock.
How to flash the Kernel:
1. Download the latest kernel.zip and make sure you have properly updated to the latest matching Firmware (check the feature list for the current firmware the source is based on). When there´s an OTA update for the Sony Xperia 1 III it takes Sony a while to release the source code for the new OS and me a while to build a new kernel. If you don´t want to face any issues, wait until I either release an updated kernel or give green light because there were no kernel changes.
If you want to be sure there are no issues, always make sure to run the firmware the kernel is built for!
If you feel adventurous and try in advance, make sure you have a backup ready!
2. Flash the kernel.zip via latest TWRP (if available), EXKM or FKM app and do a full reboot.
3. Reboot and profit.
DOWNLOAD:
Download is located always in this folder:
https://www.androidfilehost.com/?w=files&flid=331114
Or attached to the release post starting with Android 13 as AFH is currently not working correctly
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
Android 11
1.0.0 Initial Release
1.0.1 https://forum.xda-developers.com/t/...xperia-1-iii-aka-sagami.4377449/post-86140929
Android 12
2.0.0
[Kernel][02.07.2022][Android 12] Kirisakura 2.0.0 for Sony Xperia 1 III aka "Sagami"
Kirisakura-Kernel for the Sony Xperia 1 III Hello everyone, To keep it short: Here is Kirisakura - Kernel for the Sony Xperia 1 III aka Sagami. Sagami is the internal codename for this years development platform of Sony Mark III devices. Please...
forum.xda-developers.com
Android 13
3.0.0 https://forum.xda-developers.com/t/...xperia-1-iii-aka-sagami.4377449/post-88048199
3.0.1 https://forum.xda-developers.com/t/...xperia-1-iii-aka-sagami.4377449/post-88404445
Donations:
Donations are not mandatory but very welcome if you want to support development or just buy me a coffee/tea
If you like my work: http://paypal.me/freak07
Credits:
Sony for the development device, giving me the opportunity to create this project!
@osm0sis for all his work, including the ak3 installer!
@tbalden for being the best HTC, Pixel, OnePlus and now Asus wingman!
@LeeDroid and @mwilky for their awesome roms and work I used on multiple devices!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for helping me out
@flar2 for all his work
@joshuous for all the help he provided to me in the past!
@arter97 for giving me advice
@kdrag0n for his help and advices!
@topjohnwu for magisk!
Source Code: https://github.com/freak07/Kirisakura_Sagami
F.A.Q:
Question: Is root preserved when flashing this kernel?
Answer: Yes, the AnyKernel.zip will detect root and keep it.
Question: Safetynet does not pass on my phone since I unlocked the phone, why is this so?
Answer: Google introduced hardware backed attestation recently. Unfortunately the old kernel tricks to still get safetynet passing won´t work. Instead you will have to rely on some magisk modules. Short guide in post #4 below.
Question: How do I return back to stock or another kernel.
Answer: Extract boot.img from the matching firmware you are on (you can do so by using this tool or similar ones found on XDA and when googling around) and flash them via fastboot. If you want to keep root flash back the magisk_patched_boot.img. Or dirty flash your rom and re-root.
Question: Why is having Magisk installed mandatory for this kernel?
Answer: The kernel uses a ramdisk overlay to apply some settings after boot. If you are not rooted these settings will not get applied and you miss some of the optimizations.
Question: How to report bugs properly?
Answer: Have a look at post #3 in the linked thread. The linked guide is a pretty good starting point.
Before reporting any bug make sure you´re running on a stock configuration. That´s means you´re not using any mods, tweaks in kernel managers or other root tweaks , magisk modules, scripts or other modifications that alter various functions like sound mods, data traffic, sleeping behaviour, scheduler, magical battery tweaks etc.
Try to describe the issue as detailed as possible! Give your exact setup, like rom, magisk version, kernel version.
Is the issue reproducible? Does it happen frequently?
Please make sure to meet the points described above, provide logs as detailed in the link above, otherwise debugging is a lot more time consuming and harder. (kernel flashing apps usually support exporting logs of flashes too) If these requirements aren´t met and I don´t find time to either reproduce the issue myself or I´m not able to reproduce the issue myself, reports might just be ignored. If you can already reproduce the issue and provide logs it greatly limits the amount of time I have to spent until I figure out how to reproduce it.
If the device force reboots/randomly reboots (that means you see the bootloader unlocked screen!) provide a .zip of /asdf.
Easiest way is immediately after booting up, with a root explorer navigate to /asdf. Copy the contents to your internal storage, zip it up and send it to me.
If the issue happens while the device is running provide a dmesg plus a logcat that you take while/shortly after the issue happens. This will log what´s running in the current session. Try to be as detailed as possible what´s happening when the issue appears. It will also help me in reading the log!
Feature Documentation:
Here´s a brief documentation about some of the features included in the kernel that can be changed as the user desires.
They can be accessed via either terminal, scripts or for example EXKM manager ( tools -> user settings).
CPU-Frequency Limiting:
Another option is CPU-Freq Limiting. You can now limit the CPU frequency to a few different levels with a sysfs interface. Original implementation is from @tbalden, I only changed it to be accessible via traditional root methods.
Main Switch:
sys/module/cpufreq/parameters/batterysaver
Set this option to "1" to enable the feature
Max-Frequency Selection (Input boosts, such as scrolling boost or app launching boosts will still apply, if touch boost restriction is not set to 1)
sys/module/cpufreq/parameters/batterysaver_level
Set this to "1" to restrict the max CPU-Freqs to 1,7GHZ/2,1GHZ/2,49GHZ (Little Cluster/Big Cluster/Prime Core)
Set this to "2" to restrict the max CPU-Freqs to 1,6GHZ/1,7GHZ/2,0GHZ (Little Cluster/Big Cluster/Prime Core)
Set this to "3" to restrict the max CPU-Freqs to 1,49GHZ/1,4GHZ/1,6GHZ (Little Cluster/Big Cluster/Prime Core)
Touch-Boost Restriction
sys/module/cpufreq/parameters/batterysaver_touch limiting
Set this to "1" to restrict the powerhal from boosting over the limit defined in batterysaver_level
Set this to "0" to allow the powerhal to boost above the values defined in batterysaver_level, but only during interaction with the Phone!
Screenshots:
View attachment 5309899View attachment 5309901View attachment 5309903
This is for example very useful during gaming to prevent additional heat, if not the highest performance from the CPU is required. Check if the game is running fine on level 1 or 2, and you´ll notice much less heat. Powerdraw will be reduced as well.
Another very useful trick while doing video calls or long extended navigation sessions with google maps to preserve battery or keep the phone from heating. Especially during summer if the ambient temperatures are high.
This is a very easy way to preserve battery or reduce heat without toggling the battery save mode in settings as that restricts background data usage, which can lead to delayed notifications.
How to pass Safetynet after unlocking the bootloader
With the introduction of hardware backed safetynet attestation, passing safetynet has become a lot more complicated.
Some probably remember a while ago, flashing a kernel that forced some flags was enough to pass it. However these days are gone.
Below is a short guide how to pass safetynet on phones that are flagged to use HW attestation (such as the ROG 5).
1. Make sure you´re running latest magisk canary.
2. In Magisk Manager enable both zygisk and deny list.
4. Download the latest Universal Safety Net Fix from @kdrag0n ´s github for zygisk cand flash it in Magisk Manager. Reboot.
5. Profit
this one is the last one
Freak07,
Please not this kernel is made to run only on Xperia 1 II
Click to expand...
Click to collapse
I guess it should be "Please note this kernel is made to run only on Xperia 1 III"
By the way, is there any plans to make same kernel for 5 III ?
Source Code: https://github.com/freak07/Kirisakura_Sagami
Click to expand...
Click to collapse
Leads me to nowhere (404).
dron39 said:
Freak07,
I guess it should be "Please note this kernel is made to run only on Xperia 1 III"
By the way, is there any plans to make same kernel for 5 III ?
Leads me to nowhere (404).
Click to expand...
Click to collapse
Fixed the typos and the link.
No, I only have the Xperia 1 III to work on.
Amazing work mate, very meticulous tuning. Would love to have this kernel on the 5 III. I understand the device architectures are quite similar?
treff89 said:
Amazing work mate, very meticulous tuning. Would love to have this kernel on the 5 III. I understand the device architectures are quite similar?
Click to expand...
Click to collapse
I asked the same question above
And unfortunatelly Freak07 do not support 5 III because he doesn't have it. Hope someone else could transfer his patches and things to 5 III.
Thanks for the kernel. However after installing the kernel my SD card gave an error. It says issue with the SD Card tap to fix and then asks me to format it?
BlazingKahn35 said:
Thanks for the kernel. However after installing the kernel my SD card gave an error. It says issue with the SD Card tap to fix and then asks me to format it?
Click to expand...
Click to collapse
I see. Thanks for the report!
I think i know whats up. They use a proprietary driver for exfat formatted sdcards ( I assume yours is formatted as exfat?) so it's not included in the source i build the kernel from.
I don't use a sdcard, that's why I missed it.
treff89 said:
Amazing work mate, very meticulous tuning. Would love to have this kernel on the 5 III. I understand the device architectures are quite similar?
Click to expand...
Click to collapse
dron39 said:
I asked the same question above
And unfortunatelly Freak07 do not support 5 III because he doesn't have it. Hope someone else could transfer his patches and things to 5 III.
Click to expand...
Click to collapse
They are similar, but I can't support a device i don't own. I also lack the time to do any remote debugging.
The phones however are similar as you mentioned, so if somebody is interested in starting to work on it all my work is up on GitHub. That might make it a lot easier than it would be otherwise.
Freak07 said:
I see. Thanks for the report!
I think i know whats up. They use a proprietary driver for exfat formatted sdcards ( I assume yours is formatted as exfat?) so it's not included in the source i build the kernel from.
I don't use a sdcard, that's why I missed it.
Click to expand...
Click to collapse
Yes mine is exfat since it's 256gb but not a big issue. I just transferred all my files to PC formatted the SD and transferred back now it works.
Also I'm using forced 4K all the time. But the only downside is the slowing down of the FP sensor. I think it's a kernel panic can you look in to that also maybe? (It was also slow on stock kernel)
Dear developer, if there is an opportunity, I would like to receive a kernel for PRO-I products!
I promise to donate
Update to 1.0.1
Good morning everybody,
thanks to @BlazingKahn35 ´s report exfat formatted sdcards are now working fine again.
Included an open source driver, that spoofs texfat support (the proprietary exfat driver) once an exfat sdcard is detected.
Download link can be found in the OP.
BlazingKahn35 said:
Also I'm using forced 4K all the time. But the only downside is the slowing down of the FP sensor. I think it's a kernel panic can you look in to that also maybe? (It was also slow on stock kernel)
Click to expand...
Click to collapse
Not sure what you mean. A kernel panic crashes the device so that it reboots.
The fingerprint scanner works fine for me. I place my finger on it, it scans and proceeds to unlock. It's not the fastest around, but it's quick enough for me.
Also used the adb commands to enable 4k and the speed of the fingerprint sensor stayed the same on my end.
I noticed just as I woke up that my phone was charged to 100%. Did you removed battery care from the kernel?
Freak07 said:
Not sure what you mean. A kernel panic crashes the device so that it reboots.
The fingerprint scanner works fine for me. I place my finger on it, it scans and proceeds to unlock. It's not the fastest around, but it's quick enough for me.
Also used the adb commands to enable 4k and the speed of the fingerprint sensor stayed the same on my end.
Click to expand...
Click to collapse
For me there is a big delay sometimes. Do you have AOD enabled?
BlazingKahn35 said:
I noticed just as I woke up that my phone was charged to 100%. Did you removed battery care from the kernel?
Click to expand...
Click to collapse
Not intentionally no. It might be not enabled the way I built the source or i need to see if the drivers is available somewhere else to be able to build it in.
I'll play around with it the next few days, see if I can reproduce the issue and find what's missing or broken. Thanks for the report again.
BlazingKahn35 said:
For me there is a big delay sometimes. Do you have AOD enabled?
Click to expand...
Click to collapse
Not constant AOD. Only waking to AOD screen when lifting the phone is enabled.

Categories

Resources