[EOL][ROM+KERNEL][6.0.1] Unofficial CyanogenMod 13.0 with 3.4.0 kernel [Apr 30, 2017] - ONE Original Android Development

Code:
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
This is the successor to my no-frills CM12.1 ROM: http://forum.xda-developers.com/one...m-kernel-unofficial-cyanogenmod-12-1-t3120259
Unlike other unofficial CyanogenMod builds, these builds are based off of the stable branch instead of the nightly branch.
Custom kernels are not compatible with this ROM unless otherwise noted. I will NOT provide support if you install a custom kernel.
ROM features:
Based off latest generic CyanogenMod 13.0 stable sources (root access is NOT included)
OTA updates via built-in CMUpdater
OxygenOS camera libraries (no camera bugs and improved camera performance)
Snapdragon Camera app by Qualcomm (comes with many unique features, such as high-speed recording with audio)
Custom camera HAL I made myself from CAF featuring:
-Intelligent anti-shake algorithm (significantly reduces motion blur when capturing photos)
-Faster autofocus in low lighting conditions
-No stuttering/frame drops in camera viewfinder (viewfinder frame rate won't go below 30 FPS)
-Slow-motion video recording at 60 FPS, 90 FPS, and 120 FPS for 720p, and 60 FPS for 1080p
-High-speed video recording with audio at 60 FPS, 90 FPS, and 120 FPS for 720p, and 60 FPS for 1080p (you need to use the Snapdragon Camera app in order to use high-speed recording)
-1080p video recording with the front-facing camera
-2.5k 1440p video recording with the front-facing camera and back camera (only with the Snapdragon Camera app that comes with the ROM)
-4k video recording at UHD and DCI resolutions
-Manual focus
-Manual ISO control
-Slow shutter (ranging from 1/5000th of a second to 2 seconds)
-More picture sizes than plain OxygenOS, such as 9.7MP 16:9
Many other misc. improvements under the hood
Kernel features:
Based off latest CAF Marshmallow kernel source from Qualcomm (LA.BF.1.1.3_rb1.13)
Removed lots of excessive bloat
Rewrote battery driver (for the BQ27541 fuel-gauge chip; battery % readings are more accurate, there are various
safety mechanisms now, and you may get better battery life)
Rewrote half of the Synaptics touchscreen driver (over 2500 lines of code modified; your touchscreen may work better)
Newest-available Synaptics touchscreen firmware
Dynamic CPU input boost driver I wrote myself (makes the phone feel smooth without destroying battery life)
CPU underclocked to 1958MHz by default (you can disable this; see why I did this in the FAQ in the 3rd post)
Vibrator is automatically disabled when recording videos (so the buzzing noise doesn't get in the videos)
Custom thermal control driver I wrote myself (features 8 thermal throttle steps; keeps the phone cool)
LCD KCAL by Savoca
Westwood TCP congestion algorithm (enabled by default)
F2FS support
NTFS support
No placebo patches, features, or compiler "optimizations"
Many other misc. improvements not listed here
Source code:
Kernel (cm-13.0-caf branch): https://github.com/sultanxda/android_kernel_oneplus_msm8974
Local manifest (contains the rest of the sources): https://github.com/sultanxda/android/blob/master/bacon/cm-13.0-stable/local_manifest.xml
Credits:
CyanogenMod and its contributors
CAF (aka Qualcomm)
myfluxi (awesome friend with lots of amazing contributions)
69gm (loyal guinea pig)
Open GApps
If your name should be here and it isn't, then make me use an iPhone 4s running iOS 9
Installation instructions (for first-time installation):
First, perform a backup of your existing setup, and then perform a clean install (wipe /data and /system; TWRP is recommended). Next, try flashing the ROM and see if it installs; if it installs without any issues then congratulations! Now just flash a Google apps package, and then reboot.
If you get an error when trying to install ("oppo.verify_trustzone" error), then first you must install/use TWRP recovery 3.0.2-0. Next, download and flash the latest official CM13.0 snapshot. Then, without rebooting from recovery, wipe /system and flash my ROM. This process is necessary to update various firmwares (including TrustZone), as the updated firmware is needed by my ROM. After flashing my ROM, flash a Google apps package, SuperSU (ONLY v2.65 OR HIGHER) if you want root access, and then reboot.
Installation instructions (for updating to a newer release):
If you are already running my CM13.0 ROM, then you can update to a newer version of the ROM via the built-in OTA updater or by simply dirty-flashing the new ROM build without wiping anything. HOWEVER, do NOT reinstall Google Apps after installing a new update.
Downloads:
ROM:
Please read through the installation instructions before installing this for the first time.
Mirror 1: https://forum.xda-developers.com/devdb/project/dl/?id=24514
Mirror 2: https://www.androidfilehost.com/?w=files&flid=52505&sort_by=date&sort_dir=DESC
Google Apps (required): Platform: "ARM", Android: "6.0", Variant: "micro" or "nano" (I will not provide support if you install a different variant)
SuperSU (if you want root access): http://forum.xda-developers.com/showthread.php?t=1538053
Disable CPU underclock (optional): http://forum.xda-developers.com/devdb/project/dl/?id=15052
XDA:DevDB Information
CM13.0 with clean 3.4.0 kernel, ROM for the OnePlus One
Contributors
Sultanxda
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: No Longer Updated
Created 2015-11-06
Last Updated 2018-01-20

Changelog:
April 30, 2017:
ROM:
*Android Security Patch Level: April 1, 2017
*Camera: Fixed shutter button not working sometimes when taking pictures with the rear camera
Old changelogs:
March 25, 2017:
ROM:
*Android Security Patch Level: March 1, 2017
*Camera: Fixed out-of-focus photos when hitting the shutter button while the camera is automatically focusing
Kernel:
*Added several security fixes
February 20, 2017:
Kernel:
*Fixed reboot when disconnecting from L2TP/IPSec VPNs
February 12, 2017:
ROM:
*Android Security Patch Level: February 1, 2017
*Fixed several memory leaks in the camera HAL
*Updated GPS HAL to CAF LA.BF.1.1.3-02310-8x26.0
*Updated audio HAL to CAF LA.BF.1.1.3-02310-8x26.0
*Updated media HAL to CAF LA.BF.1.1.3-02310-8x26.0
Kernel:
*Updated to CAF LA.BF.1.1.3-02310-8x26.0 (contains many security fixes)
*Updated WiFi drivers to CAF LA.BF.1.1.3-02310-8x26.0
January 28, 2017:
ROM:
*Android Security Patch Level: January 1, 2017
*Removed CyanogenMod statistics
*Fixed buggy long press to turn off the screen for the home button (more info)
*Camera: Fixed another force close when face detection is enabled
*Camera: Fixed camera not focusing at all sometimes (the actuator would not move at all; more info)
Kernel:
*Added several security fixes from the LineageOS 14.1 kernel
December 25, 2016:
ROM:
*Camera: Fixed force close when taking a picture after focusing on a bright area while face detection is enabled
December 24, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH5Y) CyanogenMod changes
*Android Security Patch Level: December 1, 2016
*Camera: Fixed rare force close
*Camera: Fixed photo not getting saved when exiting the camera app before the photo is saved
*Camera: You can press the shutter button multiple times in fast succession now
*Updated AudioFX app from CM nightlies
Kernel:
*Android Security Patch Level: December 1, 2016
November 5, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH5Y) CyanogenMod changes
Kernel:
*Switched from CFQ to Deadline I/O scheduler (CFQ caused random reboots)
*Fixed inaccurate battery percentage reported when the device is asleep for long periods of time (battery percentage would drop quickly after waking the device from a long period of sleep)
October 26, 2016:
ROM:
*Removed Gello browser
October 25, 2016:
ROM:
*Added new off-mode charging animation from CM nightlies
Kernel:
*Fixed power-off/reboot not working correctly (kernel would crash, causing the device to always reboot back into Android)
*Fixed random reboot issue caused by WiFi drivers
October 23, 2016:
ROM:
*Updated to stable/cm-13.0-ZNH5Y CyanogenMod branch
*Android Security Patch Level: October 1, 2016
*Updated Adreno graphics libraries from OnePlus X (CAF branch: LA.BF.1.1.3_rb1.12)
*Fixed bug in reported LTE mobile signal strength (dBm was not being converted to ASU correctly)
*Removed cLock wakelock
*Added Gello browser
Kernel:
*Added fix for Dirty COW vulnerability (CVE-2016-5195)
*Switched from Deadline to CFQ I/O scheduler
September 21, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Android Security Patch Level: September 6, 2016
*Updated Adreno graphics libraries from HTC M8 MRA58K update
Kernel:
*Android Security Patch Level: September 6, 2016
*Fixed battery percentage dropping from 92% to 90% and from 50% to 48%
*Disabled debugfs for improved security and reduced kernel resource footprint
*Fixed dozens of coding errors detected across the entire kernel
August 8, 2016:
ROM:
*Fixed choppy display brightness scaling
*Fixed glitchy audio in Tsum Tsum app (and possibly other apps) (this wasn't really fixed)
Kernel:
*Fixed random reboots
*Added a missing security fix
August 6, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Android Security Patch Level: August 5, 2016
*Added upstream fix for Bluetooth stutters (doesn't do anything on the OnePlus One)
*Re-enabled Live Lockscreen (LLS) feature
Kernel:
*Android Security Patch Level: August 5, 2016
*Improved efficiency and performance of CPU input boost driver (device feels smoother)
July 17, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Android Security Patch Level: July 5, 2016
*Switched to newer version of Music app (from the nightlies)
*Snap Camera: Fixed touch focus not working on part of the screen sometimes
*Snap Camera: Fixed zoom circle not being centered correctly
*Added upstream NFC fixes
Kernel:
*Android Security Patch Level: July 5, 2016
*Added various SELinux fixes
June 24, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Fixed built-in OTA updater
*Fixed NTFS R/W functionality
*Switched to newer version of Screen Recorder app (from the nightlies)
Kernel:
*Added adaptive low-memory-killer feature
June 10, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Android Security Patch Level: June 1, 2016
*Enabled Mobile Station Based (MSB) assisted GPS when a newer Baseband is in use (i.e. if your Baseband version starts with ".4.0.1" then you will get faster GPS locks)
Kernel:
*Android Security Patch Level: June 1, 2016
June 3, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Added Performance battery mode for heavy gaming
*Power save battery mode now saves more power
*Potentially fixed SIM card not being detected for some users
Kernel:
*Added support for FiiO DAC
May 26, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
Kernel:
*Added various security fixes
*Added an 8th thermal throttle zone
*Fixed CPU not properly being throttled in rare cases
May 14, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Android Security Patch Level: May 1, 2016
*Fixed choppy audio in Miitomo app
Kernel:
*Increased scheduler tick rate to 300 Hz (reduces overall system latency)
*Updated WiFi drivers to CAF LA.BF.1.1.3_rb1.13
April 30, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Re-enabled new weather API (see: http://www.cyanogenmod.org/blog/plug-play-weather)
*Fixed pink line in DNG photos captured with FreeDCam
Kernel:
*Re-wrote my thermal control driver
-CPU is now throttled in 7 different stages instead of 3
-CPU throttling is less intrusive and more effective now
April 23, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Re-enabled noise cancellation for phone calls
*Snap Camera: Fixed UI glitches when camera is opened from the lock screen
*Camera: Reduced frame drops when recording high-speed and slow-motion videos
Kernel:
*Synced with CAF LA.BF.1.1.3_rb1.13
April 18, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Camera: Fixed flickering when using Sports mode
*Snap Camera: Re-arranged icons in the top bar
Kernel:
*Increased boost frequency for non-primary CPU cores (improves performance)
April 10, 2016:
ROM:
*Fixed "Invalid number" error message after a phone call ended
*If you are on T-Mobile USA, reset your APN (go to Settings -> Cellular networks -> Access Point Names -> 3 dots in the corner -> Reset to default)
April 9, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
*Android Security Patch Level: April 2, 2016
*Fixed force close when accessing voicemail settings
*Fixed crash when receiving two calls simultaneously and placing one on hold
*Reverted to Lollipop RIL (should fix all mobile network issues)
*Fixed random soft reboots
*Removed 'Update Cyanogen recovery' setting from Developer options
Kernel:
*Synced with CAF LA.BF.1.1.3_rb1.12
*Fixed display backlight not turning off during off-mode charging
April 4, 2016:
ROM:
*Fixed lock screen issues (lock screen unresponsive, icons not disappearing, etc.)
Kernel:
*Fixed display flicker
April 3, 2016:
ROM:
*Updated to new stable/cm-13.0-ZNH2K CyanogenMod branch
*Fixed weather not displaying in cLock widget
*Fixed crash when attempting to place call on hold
*Disabled Fluence noise cancellation
*Snap Camera: Fixed 100% picture quality setting
*Snap Camera: Fixed some minor visual bugs
Kernel:
*Updated display backlight driver from upstream cm-13.0
March 26, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH0E) CyanogenMod changes
*Camera: Fixed out-of-sync audio in high-speed video recordings
*Camera: Made anti-shake algorithm less aggressive (images are better quality now)
*Camera: Improved image clarity
*Camera: Added ability to control JPEG quality in camera apps
*Snap Camera: Fixed touch-to-focus not working on half the screen in camcorder mode
*Snap Camera: Added JPEG quality setting
*Removed unsupported battery modes from Battery mode tile
*Downgraded Adreno graphics libraries to LA.BF.1.1.3_rb1.3 (fixes some out-of-memory errors)
Kernel:
*Camera: Fixed severe overexposure when using flash
*Flashlight is 2.5x brighter
*Fixed msm_cci_wakelock never disappearing in rare cases
March 24, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH0E) CyanogenMod changes
*Fixed WiFi MAC address
*Re-enabled noise cancellation for phone calls
*Removed Cyanogen recovery
*Camera: Reduced JPEG quality to 95% (image files are smaller with no visible impact to quality)
March 22, 2016:
ROM:
*Latest upstream (stable/cm-13.0-ZNH0E) CyanogenMod changes
*Fixed mobile data dropping out (reverted back to old RIL)
*If mobile data does not connect, go to Settings -> Cellular networks -> Access Point Names -> Reset to default
*Snap Camera: Fixed force close when attempting high-framerate recording with 1440p
Kernel:
*Added F2FS support
March 21, 2016:
ROM:
*Switched to stable/cm-13.0-ZNH0E branch (CLEAN FLASH IS REQUIRED!)
*ROM is compiled as a production build (a "user" build)
*Removed built-in root (use SuperSU beta if you want root)
*Added customized version of CM Snap camera app
*Added missing battery profiles
*Removed Doze toggle (Doze is now enabled by default)
*Re-enabled software graphics rendering
*Reduced phone call microphone volume
Kernel:
*Added various security patches
*Added various patches that improve memory performance
March 12, 2016:
ROM:
*Latest upstream CyanogenMod changes
*Android Security Patch Level: March 1, 2016
*Camera: Implemented intelligent anti-shake algorithm (significantly reduces motion blur when capturing photos)
*Camera: Faster autofocus in low lighting conditions
*Camera: No stuttering/frame drops in camera viewfinder (viewfinder frame rate won't go below 30 FPS)
*Reduced earphone speaker volume
Kernel:
*Synced with CAF LA.BF.1.1.3_rb1.11
*Android Security Patch Level: March 1, 2016 (CVE-2016-0821)
February 21, 2016:
ROM:
*Latest upstream CyanogenMod changes
*Synced GPS with upstream cm-13.0
*Added back proximity check on wake feature
Kernel:
*Synced with CAF LA.BF.1.1.3_rb1.10
February 7, 2016:
ROM:
*Latest upstream CyanogenMod changes
*Added toggle to enable/disable doze (toggle is located in Settings -> Developer options; doze is disabled by default)
*Snapdragon Camera: Fixed high-speed video recording
*Snapdragon Camera: Synced with CAF LA.BR.1.2.6_rb1.9
*Fixed weather not displaying in cLock widget
Kernel:
*Synced with CAF LA.BF.1.1.3_rb1.9
January 24, 2016:
ROM:
*Latest upstream CyanogenMod changes
*Disabled doze and app standby (time to grab your pitchforks and torches)
*Updated ADSP firmware (ADSP version: ADSP.BF.2.2.C38-00002)
*Changed default I/O scheduler to CFQ
*Snapdragon Camera: Synced with CAF LA.BR.1.2.6_rb1.8
January 17, 2016:
ROM:
*Latest upstream CyanogenMod changes
*Added small Bluetooth updates from CAF (maybe Mi Band/Fitbit will work now?)
Kernel:
*Fixed battery % going up after unplugging the device from the charger
January 14, 2016:
ROM:
*Latest upstream CyanogenMod changes
*Reverted recent upstream Bluetooth change (may fix connection with Mi Band)
Kernel:
*Synced with CAF LA.BF.1.1.3_rb1.8
*Rewrote battery driver (for the BQ27541 fuel gauge chip):
-Battery % readings are more accurate
-Added various safety mechanisms
-You may get slightly better battery life
January 11, 2016:
ROM:
*Latest upstream CyanogenMod changes
*ROM .zip file is now ~56MB smaller thanks to LZMA compression
*Snapdragon Camera: Fixed user-set preferences getting reset when changing scene mode
Kernel:
*Added NFSv2 and NFSv3 support
*Added battery percentage calculations from official CM kernel (some users say this fixes battery getting stuck at 100%)
January 6, 2016:
ROM:
*Latest upstream CyanogenMod changes
*Android Security Patch Level: January 1, 2016
Kernel:
*Actually fixed double-tap-to-wake/gestures not working sometimes
*Fixed device immediately going back to sleep after using double-tap to wake
*Android Security Patch Level: January 1, 2016 (CVE-2015-6640)
January 4, 2016:
ROM:
*Latest upstream CyanogenMod changes
*Modem firmware is no longer built into the ROM (you can use the Lollipop modem if you had issues with the new modem)
January 1, 2016:
ROM:
*Latest upstream CyanogenMod changes
*Updated modem firmware (baseband version: MPSS.DI.4.0.1.c1.11-00004-M8974AAAAANAZM-1)
*Updated WiFi firmware (WCNSS version: CNSS-PR-1-4-1-c5-00086)
December 30, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Switched to new modem
*Modem firmware is now included in the ROM (you cannot change the modem)
*New firmware is required to install this update (if you see an "oppo.verify_trustzone" error when trying to install this update, dirty flash the newest CM13 nightly and then dirty flash this update)
December 27, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Reverted to older proprietary libraries (random data disconnects and reboots are fixed)
December 24, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed random reboots
December 23, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Actually fixed incorrect aspect ratio when video chatting in Hangouts
*Fixed over-exposure when taking photos with flash
Kernel:
*Synced with CAF LA.BF.1.1.3_rb1.6
*Fixed USB OTG not working when plugging the OTG cable in while the device is asleep
December 21, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed incorrect aspect ratio when video chatting in Hangouts
*Fixed poor video quality in WeChat
*Snapdragon Camera: Fixed split-exposure bug when turning Zero Shutter Lag off and on
*Snapdragon Camera: Fixed UI glitches when on-screen nav bar is enabled
*Increased boost frequency for primary CPU from 1036MHz to 1190MHz (device is slightly smoother now)
Kernel:
*Fixed slow charging
*Fixed double-tap-to-wake/gestures not working sometimes
*Added support for various human-interface devices (such as PlayStation and Wii controllers)
*Added support for CIFS
December 11, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Random reboots should be fixed
*Reverted recent proprietary RIL changes that caused mobile data to randomly disconnect (i.e. mobile signal with exclamation (!) mark in the status bar)
*Fixed camera corruption in some apps
Kernel:
*Fixed high battery drain when listening to music through Google Play Music while the screen is off
December 9, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Android 6.0.1
*Re-added quick pulldown
*Added camera sensor calibration from CM (picture quality may be slightly better)
*Snapdragon Camera: Added option for zero-second tap-to-focus duration (especially useful while recording videos)
*Synced audio HAL with CAF LA.BF.1.1.3_rb1.5
*Synced display HAL with CAF LA.BF.1.1.3_rb1.5
*Synced media HAL with CAF LA.BF.1.1.3_rb1.5
Kernel:
*Synced with CAF LA.BF.1.1.3_rb1.5
*Disabled MMC deferred resume (might've been causing rare reboots)
December 6, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed Google Play Movies (as well as other DRM media applications)
*Reverted back to old GPS libraries
*Reverted back to old GPS HAL
*Removed 'LCD density' option from Settings (it causes graphical glitches)
December 4, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Reverted to last functional GPS configuration
*Disabled the default quick pulldown for now (I can't stand this feature)
Kernel:
*Fixed screen backlight never turning off when ambient display is enabled (credit: myfluxi)
December 1, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added new Marshmallow proprietary libraries used in official CM nightly (many significant changes)
*Added new GPS HAL used in official CM nightly (CAF LA.BF.1.1.3_rb1.4; many changes)
November 29, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed graphical glitches
*Added OxygenOS WiFi configuration
Kernel:
*Disabled CPU boosting on thread migration (fixes occasional high battery drain and overheating, especially when streaming videos)
*Reduced CPU input boost duration
November 27, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed WiFi region issues (thanks to @Phoenix Wright)
*Notable upstream change: root apps are fixed now
Kernel:
*Fixed touchscreen breakage from previous build
*Rewrote core logic of CPU boost driver (better efficiency, better battery life, and phone heats less now)
November 26, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added HydrogenOS WiFi firmware
*Added HydrogenOS WiFi configuration
Kernel:
*Fixed rare cares of touchscreen not working when it's supposed to (round 2... I think it should be fixed now)
November 24, 2015:
ROM:
*Latest upstream CyanogenMod changes
Kernel:
*Fixed rare cares of touchscreen not working when it's supposed to (ex. you wake up the phone and touchscreen doesn't work)
November 21, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed out-of-sync audio in recorded videos
*Updated display HAL to CAF LA.BF.1.1.3_rb1.4
*Updated media HAL to CAF LA.BF.1.1.3_rb1.4
*Reverted recent GPS change
*Snapdragon Camera: Removed panorama mode
Kernel:
*Updated to CAF LA.BF.1.1.3_rb1.4
November 18, 2015:
ROM:
*Latest upstream CyanogenMod changes
November 16, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Reverted previous build's major upstream changes (GPS and mobile data not working after switching from WiFi are fixed)
November 15, 2015:
ROM:
*Latest upstream CyanogenMod changes (major upstream changes)
November 14, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Snapdragon Camera: Fixed exposure not changing after taking a picture
*Snapdragon Camera: Fixed some minor annoyances
November 13, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed CPU getting stuck at 729 MHz
*Updated GPS configuration
*Updated WiFi configuration
Kernel:
*Switched back to previous WiFi drivers
November 12, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed high battery drain after using flashlight (device would not go into deep sleep)
*Updated GPS configuration
Kernel:
*Updated WiFi (prima) drivers to CAF LA.BF.1.1.3_rb1.3
November 9, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed broken video streaming in browsers and various apps (it won't pause and freeze anymore)
*Fixed built-in OTA updater (you can update to the next build via OTA)
*Updated Adreno graphics libraries (better/more stable graphics, and no AnTuTu crash)
November 7, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed Facebook crash
*Snapdragon Camera: Fixed force close when changing to front-facing camera in camcorder mode
*Snapdragon Camera: Fixed force close when trying to use timelapse mode
*Snapdragon Camera: Fixed audio not recording for high-speed videos
*Fixed Tap-to-wake toggle in Settings
*CPU speed is reduced in Battery Saver mode
November 6, 2015:
ROM:
*Initial release
Kernel:
*Initial release

FAQ:
1. Could you add camera slow-shutter times greater than 2 seconds?
Answer: No, I cannot. The reason why exposure times are capped at 2 seconds is due to the proprietary camera libraries from OxygenOS. Only OnePlus and Cyanogen Inc. can modify the proprietary camera libraries, so there is no way for me, a regular consumer, to implement exposure times greater than 2 seconds.
2. Why did you use OxygenOS camera libraries? They don't have 4K camcorder support!
Answer: My custom camera HAL enables 4K camcorder support with Oxygen's camera libraries, so this isn't an issue. Cyanogen's camera libraries have had some issues with the camcorder since day 1. The big issue that I have been able to reproduce on all OnePlus One devices I've come across is graphical artifacts in recorded videos (look towards the right @25 seconds): https://youtu.be/LyIbb5wIyfY?t=22s
(issue report on JIRA: https://jira.cyanogenmod.org/browse/BACON-3582)
OxygenOS' camera libraries do not have this issue, and thanks to my modifications, we now have 4K camcorder support with the OxygenOS libraries, so not much is lost by using them. The OxygenOS libraries can also take pictures faster/better than Cyanogen's libraries.
3. Why did you underclock the CPU to 1958MHz? Yer crazy, bro.
Answer: At 1958MHz, the amount of heat generated by the CPU is quite a bit less than at 2457MHz, so the CPU is throttled less often (leading to better user experience), and battery life is better as well. The performance difference between 1958MHz and 2457MHz is also not really noticeable unless you use a benchmark application. If you want to remove the CPU underclock then flash the zip from the first post that disables the underclock. You must flash this zip every time you install a new ROM update.

Nice... Thanks, much appreciated by everyone

Yessss!!! CAF goodness tweaked and perfected by @Sultanxda !! ???
Sent from my A0001 using Tapatalk

Possibly one of the most anticipated Marshmallow builds!

Spider-Vice said:
Possibly one of the most anticipated Marshmallow builds!
Click to expand...
Click to collapse
Yes this ^^^
@Sultanxda the link goes to a login page for the rom, guessing your profile?
correct link
https://androidfilehost.com/?fid=24269982086989649
---------- Post added at 09:19 PM ---------- Previous post was at 09:19 PM ----------
Spider-Vice said:
Possibly one of the most anticipated Marshmallow builds!
Click to expand...
Click to collapse
Yes this ^^^ thank you very much @Sultanxda
@Sultanxda the link goes to a login page for the rom, guessing your profile?
correct link
https://androidfilehost.com/?fid=24269982086989649

Acces denied.. :/
EDIT : Thanks @tim071286 for the link.

Why can't i download the rom it says i dont have permission I really want to try this ROM really much!
Edit: I figured out the problem so just ignore this post

SultanXDA, thanks!
Can I dirtyflash it on your cm12.1 (1nov2015) ?

Better this link https://androidfilehost.com/?w=files&flid=43001 It goes to the folder, not the file.

Does the rom support multirom so I can flash it alongside my main rom? Sorry if the answer is obvious it's really late at night ?

I got several setting fc,other than that,stable and smooth

The rom didn't want to support the dual rom switcher.
First thing I'm noticing is a System UI crash when you long press Home. Playing around with it a bit more.
Does anyone know how to get the phone to redownload all of the previous apps that were on the phone? The setup wizard doesn't give the option for it.

I'm flashing.
Very happy to see you work on CM13 Sultan !
Keep the good work, i'll post some reviews later

Guys, just remember...this is still considered an Alpha build in @Sultanxda's own words so keep that in mind. Any bugs you might find, logcat or it didn't happen.
Most issues will probably be fixed in CM upstreams so let's hope CM continues to update at a feverish tempo!

I'll wait till reviews come up, currently on omnirom and having 0 bugs, so so far don't see the need to change to sultan's.

how's it in terms of stability on a scale to nigthly to daily driver?

Very nice Sultan
Sent from my A0001 using Tapatalk

Keep up your good job! Following your work from CM12 and your my top 3 developer, so don't give up! Keep walking and building!
There's no rest for the wicked until we close our eyes for good!

Related

[DISCONTINUED][ROM+KERNEL+TWRP][5.1.1] Unofficial CyanogenMod 12.1 [May 15, 2015]

Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
This is an unofficial CyanogenMod 12.1 Lollipop ROM. This is currently a work-in-progress, so you can expect to run into problems while using it.
You must perform a full wipe (wipe /data) before installing this ROM for the first time. New updates can be flashed on top without wiping anything.
The first boot may take up to 10 minutes.
Working:
WiFi
GPS
SD card
Modem
Mobile data
SMS
Phone calls
Audio
Camera
Camcorder
NFC
Bluetooth
Sensors
Video playback
Flashlight
USB
MTP
VoIP
Anything else that isn't listed as broken
Issues:
SELinux is currently set to permissive
Device sometimes (very rarely) locks up at the boot animation
Kernel source code:
(cm-12.1 branch): https://github.com/sultanxda/sultan-kernel-celox
Credits (in no particular order):
The CyanogenMod team
CyanogenMod contributors
CAF
dhacker for the gapps
ivanich
bryan2894
If I forgot you, slap me and force me to use an iPhone 4 running iOS 8
Social networking:
Google+ community
Downloads:
NOTE: You must virtually repartition your device, otherwise you cannot install this ROM! See the 3rd post for details.
ROM: https://www.androidfilehost.com/?w=files&flid=29849&sort_by=date&sort_dir=DESC
Google apps by dhacker (click on 'Download Now'): http://d-h.st/BX7Q
Kernel-only updates/kernel Aroma installer*: https://www.androidfilehost.com/?w=files&flid=22694&sort_by=date&sort_dir=DESC
TWRP recovery updates**: https://www.androidfilehost.com/?w=files&flid=26969&sort_by=date&sort_dir=DESC
*The ROM comes with my kernel built into it; however, sometimes I may release an update for only the kernel and not the entire ROM, so the newest ROM update might not come with the newest kernel. The kernel-only update package also comes with an Aroma installer that can be used to configure some kernel options (such as display undervolt).
**You must have completed the repartitioning process in order to install the TWRP recovery updates.
XDA:DevDB Information
CyanogenMod 12, ROM for the SGH-T989
Contributors
Sultanxda
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod
Version Information
Status: Beta
Created 2014-11-07
Last Updated 2015-07-06
Changelog:
May 15, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Android 5.1.1
*Fixed audio issues (credit: bryan2894)
*Fixed mobile network issues (credit: bryan2894, noobnl, arco, toastcfh, EnderBlue, nardholio, stargo)
*Fixed Google Play Services wakelocks (credit: Calkulin)
*Synced display HAL with CAF LA.AF.1.1_rb1.17
*Synced media HAL with CAF LA.AF.1.1_rb1.17
Kernel:
Sultan kernel v1.8.5:
*Added option to always enable low-power flash
*Updated core logic of the CPU input boost driver
April 18, 2015:
ROM:
*CyanogenMod 12.1
*Android 5.1
Kernel:
Sultan kernel v1.8.4:
*Reverted to CAF jb_2.5 GPU drivers
*Small improvements to CPU input boost
*Fixed a small bug in EBLN
March 18, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Attempted to fix audio issues
Kernel:
Sultan kernel v1.8.3:
*Fixed 2D GPUs (fixes reboots in Gallery and other random apps)
*CPU input boost is now intelligent:
-CPU input boost automagically decides which CPU cores to boost
-Decides which frequency to boost to
-Decides how long to boost the CPU
March 4, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed black screen when using secure apps (such as banking apps)
Kernel:
Sultan kernel v1.8.2:
*Upgraded GPU (KGSL) drivers to CAF LA.AF.1.1_rb1.12
*Increased GPU memory by 4x (fixes black screen and subsequent force close when trying to play some games)
March 1, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed broken microphone after using Snapchat or Hangouts Dialer
*Fixed VoIP
*Fixed USB charge-only mode
Kernel:
Sultan kernel v1.8.1B:
*Synced with ROM changes (the kernel itself is still exactly the same as v1.8.1)
February 28, 2015:
TWRP:
*Added back USB mass storage mode (for the external SD card)
*Fixed MTP
February 26, 2015:
ROM:
*Latest upstream CyanogenMod changes
*ROM has been virtually repartitioned for more storage space:
-You will now have 11GB of internal storage for apps
-You will now have 2GB of system space to install any Google Apps package you want
*You must "virtually" repartition your device to install this update. See the third post for instructions: http://forum.xda-developers.com/showpost.php?p=56564718&postcount=3
Kernel:
Sultan kernel v1.8.1:
*Enabled MMC deferred resume feature (saves power)
February 13, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Potentially fixed freezing issue
Kernel:
Sultan kernel v1.8.0:
*Merged entire kernel with CAF jb_1.9.6
*Removed some garbage
*Added NTFS support
Old changelogs:
February 4, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added SystemUI force-close fix
*Added workaround for Bluetooth issues and audio going to max when receiving a notification (thanks to myfluxi)
Kernel:
Sultan kernel v1.7.0:
*Enhanced BLN now switches to the low-power always-on mode after the blink timeout expires (it stops blinking and keeps the backlights on, while removing the BLN wakelock to save power)
February 2, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Potentially fixed broken mobile data for some unlucky users (take #6)(my money's on this one)
*Increased input boost duration to 1200ms
*Attempted to fix bluetooth streaming issues
Kernel:
Sultan kernel v1.6.9:
*Actually un-broke BLN (mega-derp)
*Updated some net drivers from Grouper's Lollipop kernel
January 31, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Potentially fixed broken mobile data for some unlucky users (take #5)
Kernel:
Sultan kernel v1.6.8:
*Un-broke BLN (derp)
January 30, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed mobile data
*Potentially fixed bluetooth issues
Kernel:
Sultan kernel v1.6.7:
*Fixed potential disruptions in enhanced BLN (the LEDs will always blink at a constant rate now)
January 25, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Potentially fixed broken mobile data for some unlucky users (take #3)
*Potentially fixed random audio issues
Kernel:
Sultan kernel v1.6.6:
*Made BLN blink timeout configurable
*Fixed null pointer dereference in keypad driver
January 23, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Potentially fixed broken mobile data for some unlucky users (take #2)
*Added back 2MP front-facing camera quality
*Fixed camera crash when taking pictures with 2MP front-facing camera quality
*Added USB mass storage mode
*Fixed USB OTG support
*Fixed contacts to SIM
*Reduced input boost duration to 900ms
*Fixed video recordings randomly not saving
*1080P and 720P videos you record are much smaller now (file sizes are smaller)
*Added support for Enhanced BLN
*Added Notification LED options to settings for Enhanced BLN (go to Settings->Display & lights->Notification light to configure Enhanced BLN)
Kernel:
Sultan kernel v1.6.5:
*Reverted CAF LA.AF.1.1_rb1.7 audio backport
*Increased vmalloc reserve from 432MB to 512MB
*Added some upstream Linux network patches
*Removed lots of garbage
*841MB of RAM
*Wrote new BLN driver from scratch named Enhanced BLN
*Added always-on mode to BLN (this keeps the backlights on forever with no timeout, and it does not make them blink; when always-on mode is enabled from Settings, BLN does not use a wakelock and the main BLN work function is suspended)
*Other Enhanced BLN features:
-Configurable on/off blink speed (go to Settings->Display & lights->Notification light to configure it)
-Supports different speeds for the LEDs to turn on and off (ex: you can have the lights turn on for 2 sec and then off for 1 sec)
-Properly stops blinking when it is supposed to
January 9, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Bluetooth audio issues should be fixed
*Potentially fixed broken mobile data for some unlucky users
*Disabled 2MP front-facing camera resolution for now (this was crashing the camera; no more HD duckface selfies )
*Fixed off-mode charging
*Fixed soft reboot when turning WiFi off and on
*Other fixes/improvements that I can't remember
Kernel:
Sultan kernel v1.6.2B:
*Synced with Jan. 9th ROM changes (the kernel itself is still v1.6.2)
January 7, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed phone calls (thanks to bryan2894)
*Fixed 1080P video recording
Kernel:
Sultan kernel v1.6.2:
*WiFi is a module again
*Added back support for loadable modules
*Reverted wireless stack backport from the Galaxy S5 (didn't do anything useful)
January 3, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Android 5.0.2
*Fixed moving apps to SD card (credit: ivanich)
*Fixed crashes when putting the device to sleep
*ROM is now flashed using block-based flashing (more secure and the ROM flashes faster now)
*Fixed battery stats
*Fixed missing fonts
*Added multi-user support
*Fixed a bunch of other things that I can't remember
Kernel:
Sultan kernel v1.6.1 (included version):
*Removed KSM (our CPU literally don't got time fo dis)
*Added kernel-based thermal mitigation driver
*Fixed minfreq getting stuck to the input boost frequency (1134MHz) when the user tried to modify the minfreq during a boost
Sultan kernel v1.6.0:
*Updated Ion memory drivers from CAF LA.AF.1.1_rb1.7
*Updated audio drivers from CAF LA.AF.1.1_rb1.7
*Added KSM support
*Increased Ondemand 2-phase frequency to 1134MHz
*Disabled kernel virtual terminal (tty0 device)
*Fixed camcorder bus overflow (this fixes the weird glitches that appeared in recorded videos)
*Updated xt_qtaguid from CAF LA.AF.1.1_rb1.7
*Fixed potential bugs in the CPU Input Boost driver
*Disabled early-suspend crap in the MDP driver (screen turns on faster now)
*WiFi is no longer built as a module (it's built directly into the kernel image)
*Disabled loadable module support (improves security)
*Backported wireless stack from Galaxy S5 kernel
*Updated WiFi drivers for compatibility with new wireless stack
December 17, 2014:
Kernel-only:
Sultan kernel v1.5.1:
*Fixed screen not turning on
*Fixed mobile data
December 14, 2014:
ROM:
*Initial CyanogenMod 12 release
Kernel:
Sultan kernel v1.5.0:
*Added support for Lollipop
Repartitioning Instructions
As of the February 26th update, I have virtually repartitioned the ROM. This means that you will now have 11GB of internal storage to install applications, and 2GB of system space to install any size Google Apps package that you want. Finally, no more storage space issues!
In order to install the February 26th update and newer updates, you must follow these instructions to virtually repartition your device. Note that this means your phone will not be actually repartitioned, so there is almost no chance that this process could brick or damage your device. After you have virtually repartitioned your phone, you will not be able to flash any other ROMs at all except for the February 26th update and newer versions of my ROM. The reason for this is that the special TWRP recovery I made for the new partition layout only allows you to flash ROMs that use the new partition layout. If you want to use a ROM that uses the original Samsung partition layout then you will need to flash a different recovery, and you must back up (nandroid) and restore your data manually.
If this is your very first time ever installing this ROM then skip step 6. After you have completed repartitioning once, you will not have to do it again unless you switch back to a ROM that doesn't use my partition layout (in other words, a ROM that does not have 11GB of internal app storage space).
Repartitioning instructions:
Materials:
Latest official TWRP recovery: http://forum.xda-developers.com/showpost.php?p=58814838&postcount=1271
Data-transfer package: https://www.androidfilehost.com/?fid=95916177934535406
Newest version of my TWRP recovery: https://www.androidfilehost.com/?w=files&flid=26969&sort_by=date&sort_dir=DESC
If anything goes wrong for you at any time then you can simply reboot your phone normally to get back into CyanogenMod.
Install the latest OFFICIAL TWRP recovery for your device (it is very important that you install the official version, NOT my version).
Reboot into TWRP recovery.
Go to Backup and make sure only Data is checked, then make a back up (this backup will ONLY be needed if something goes wrong later on; it's important, so don't delete it!).
Back up EVERYTHING on your internal SD card to your computer (the internal SD card WILL BE ERASED in the next step).
In TWRP, go to Wipe -> Advanced Wipe -> check Internal Storage -> press on "Repair or Change File System" -> press on "Change File System" -> press on "EXT4", and then swipe to start formatting the internal SD card. This can take up to a minute.
(SKIP THIS STEP IF THIS IS YOUR FIRST TIME EVER INSTALLING CYANOGENMOD 12) Copy the data-transfer package to your device and then flash it. This will copy everything from /data to /sdcard (since /sdcard will become /data).
Copy the newest version of my TWRP recovery to your device and flash it.
After that is finished, go back to the main menu, then go to Reboot and press on Recovery.
Once the device has rebooted back into TWRP recovery, flash the new ROM and then flash your Google Apps package.
Reboot normally (back into CM12).
Connect your phone to your computer and copy back your backed-up internal SD card data to the internal SD card.
Repartitioning is completed. Enjoy your 8GB of additional app storage space.
Undoing the virtual repartitioning:
If you would like to undo this process (so you can flash a different ROM), see this post: http://forum.xda-developers.com/showpost.php?p=59093149&postcount=611
Booted fine on T989D I did flash a compatible radio, still no cell network. Wifi does seem to be working fine for me. No cell network is a deal breaker for me. Hopefully you can continue development.
@Sultanxda
I know this is in testing, but brightness doesnt work. Sliding the brightness slider does nothing. Do you need a logcat?
Testing!
Lollypop Gapps:
www.theandroidsoul.com/download-gapps-for-android-5-0-lollipop/
Is this ROM available for i9300 just wondering??: p
Sent from my GT-I9300
Omg i thought Hercules is not gonna get lollipop. Thanks alot dev for your efforts
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
Holy **** no way
Props to mr dev sultan @!
WOW. I know this guy was up to something. Thanks man.
Omfg u did not ������
If you could get network to work I'd very much appreciate it. Thats a bug that I can't simply deal with lol
Hi @Sultanxda
I'm trying to build lollipop for htc sensation but no matter what I do I can't get past the following error
Code:
hardware/libhardware/include/hardware/camera_common.h:27:32: fatal error: system/vendor_tags.h: No such file or directory
#include <system/vendor_tags.h>
Did you get that error too? If yes, how do I solve it? Thank you
Sajito said:
Hi @Sultanxda
I'm trying to build lollipop for htc sensation but no matter what I do I can't get past the following error
Code:
hardware/libhardware/include/hardware/camera_common.h:27:32: fatal error: system/vendor_tags.h: No such file or directory
#include <system/vendor_tags.h>
Did you get that error too? If yes, how do I solve it? Thank you
Click to expand...
Click to collapse
Never saw that error. I didn't get any errors from generic ROM parts, only from device-specific stuff.
Sultanxda said:
Never saw that error. I didn't get any errors from generic ROM parts, only from device-specific stuff.
Click to expand...
Click to collapse
I synced the r1 repo, did you maybe use the r2 repo?
Sajito said:
I synced the r1 repo, did you maybe use the r2 repo?
Click to expand...
Click to collapse
I used r2, but I don't think it makes a difference.
Sultanxda said:
I used r2, but I don't think it makes a difference.
Click to expand...
Click to collapse
Well thank you. I'm still trying to figure out what's causing it.
im running this right now.... idk if its just me but i like app drawr better now
i managed to connect to wifi just fine
Dialer works
Wifi works
Cell signal + data doesnt work
Browser crashes
Camera doesnt work
messaging app works
nothing fces randomly (a plus)
i like it
T-mobile galaxy s2 is still good!?
I am deeply glad my T-mobile galaxy s2 is still supported. Thank you so much for your hard work on this rom. I appreaciate it! :good: :good:
Hi, [ROM][5.0.0] AOSP Lollipop have support samsung galaxy s2 i9100 ??? Thanks
JesusWazBlack said:
im running this right now.... idk if its just me but i like app drawr better now
i managed to connect to wifi just fine
Dialer works
Wifi works
Cell signal + data doesnt work
Browser crashes
Camera doesnt work
messaging app works
nothing fces randomly (a plus)
i like it
Click to expand...
Click to collapse
Should I try to install a new radio on recovery mode or just wait like a normal person?

[ROM+KERNEL][7.1.2] Unofficial LineageOS 14.1 with 3.4.0 kernel [January 09, 2020]

Code:
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
This is an unofficial LineageOS 14.1 ROM for the OnePlus One that focuses on stability and the overall user experience. This ROM comes with a highly-customized kernel, as well as some other very custom modifications.
Custom kernels are not compatible with this ROM unless otherwise noted. I will NOT provide support if you install a custom kernel.
ROM features:
Based off latest LineageOS 14.1 sources (root access is NOT included)
OTA updates via built-in updater in Settings
Nougat Stagefright camera hardening (improves security; more info)
OxygenOS camera libraries (no significant camera bugs and improved camera performance)
Custom camera app that comes with many unique features (such as high-speed video recording with audio)
Custom camera HAL featuring:
-Faster autofocus in low lighting conditions
-No stuttering/frame drops in camera viewfinder (viewfinder frame rate won't go below 30 FPS)
-Slow-motion video recording at 60 FPS, 90 FPS, and 120 FPS for 720p, and 60 FPS for 1080p
-High-speed video recording with audio at 60 FPS, 90 FPS, and 120 FPS for 720p, and 60 FPS for 1080p (you need to use the included camera app in order to use high-speed recording)
-1080p video recording with the front-facing camera
-1440p video recording with the front-facing camera and back camera (only with the included camera app)
-4k video recording at UHD and DCI resolutions
-Manual focus control
-Manual ISO control
-Manual shutter speed control (ranging from 1/5000th of a second to 2 seconds)
-More picture sizes than plain OxygenOS, such as 9.7MP 16:9
Many other misc. improvements under the hood
Kernel features:
Based off latest CAF Marshmallow kernel source from Qualcomm (LA.BF.1.1.3_rb1.15)
Removed lots of excessive bloat
Rewrote battery driver (for the BQ27541 fuel-gauge chip; battery % readings are more accurate, there are various
safety mechanisms now, and you may get better battery life)
Rewrote half of the Synaptics touchscreen driver (over 2500 lines of code modified; your touchscreen may work better)
Newest-available Synaptics touchscreen firmware
Dynamic CPU input boost driver (makes the phone feel smooth without destroying battery life)
CPU underclocked to 1958 MHz by default (you can disable this; see why this was done in the FAQ in the 3rd post)
Vibrator is automatically disabled when recording videos (so the buzzing noise doesn't get in the videos)
Custom thermal control driver (features 8 thermal throttle steps; keeps the phone cool)
LCD KCAL by Savoca
Westwood TCP congestion algorithm (enabled by default)
NTFS support
No placebo patches, features, or compiler "optimizations"
Many other misc. improvements not listed here
Source code:
Kernel (cm-14.1-sultan branch): https://github.com/sultanxda/android_kernel_oneplus_msm8974
Local manifest (contains the rest of the sources): https://github.com/sultanxda/android/blob/master/bacon/cm-14.1/local_manifest.xml
Credits:
LineageOS and its contributors
CAF (aka Qualcomm)
myfluxi (awesome friend with lots of amazing contributions)
69gm (loyal guinea pig)
Open GApps
If your name should be here and it isn't, then make me use an iPhone 4s running iOS 9
Installation instructions (for first-time installation):
First, perform a backup of your existing setup, and then perform a clean install (wipe /data and /system; TWRP is recommended). Next, try flashing the ROM and see if it installs; if it installs without any issues then congratulations! Now just flash a Google apps package, and then reboot.
If you get an error when trying to install ("bacon.verify_trustzone" error), then first you must install/use the latest TWRP recovery (3.1.1-0). Next, download and flash the latest official CM13.0 snapshot. Then, without rebooting from recovery, wipe /system and flash my ROM. This process is necessary to update various firmwares (including TrustZone), as the updated firmware is needed by this ROM. After flashing this ROM, flash a Google Apps package, and then reboot.
Installation instructions (for updating to a newer release):
If you are already running this ROM, then you can update to a newer version of the ROM via the built-in OTA updater or by simply dirty-flashing the new ROM build without wiping anything. HOWEVER, do NOT reinstall Google Apps after installing a new update.
Downloads:
ROM:
Please read through the installation instructions before installing this for the first time.
Last build by denser. Build date 2020.01.09: https://github.com/den-ser/android_...age-14.1-20200109-UNOFFICIAL-Sultan-bacon.zip
All builds by denser. Last build date 2020.01.09: https://github.com/den-ser/android_releases/releases
Last original build by Sultanxda. Build date 2018.05.14: https://github.com/sultanxda/androi...age-14.1-20180514-UNOFFICIAL-Sultan-bacon.zip
All original builds by Sultanxda. Last build date 2018.05.14: https://www.androidfilehost.com/?w=files&flid=193214&sort_by=date&sort_dir=DESC
Google Apps (required): Platform: "ARM", Android: "7.1", Variant: "micro" or "nano" (I will not provide support if you install a different variant)
Disable CPU underclock (optional): https://forum.xda-developers.com/devdb/project/dl/?id=25327
XDA:DevDB Information
LineageOS 14.1 with custom 3.4.0 kernel, ROM for the OnePlus One
Contributors
Sultanxda, [denser]
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: LineageOS
Version Information
Status: Stable
Created 2017-06-23
Last Updated 2020-01-09
Changelog:
May 14, 2018:
ROM:
*Latest upstream LineageOS changes
Old changelogs:
March 11, 2018:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Fixed rare random reboots caused by SELinux
January 28, 2018:
ROM:
*Latest upstream LineageOS changes
*Disabled user panic mode (hitting the back button quickly several times won't take you home anymore)
*Updated weather provider packages from lineageos.org
*Tweaked CPU governor for increased performance (at the expense of battery life)
*Increased performance in low-power mode
Kernel:
*Updated the battery driver so that it no longer reports the battery percentage as 1% lower than it actually is
December 30, 2017:
ROM:
*Latest upstream LineageOS changes
*Added fix for occasional difficulty swiping up to unlock the lockscreen (thanks to Gabriele M)
Kernel:
*Added the ability to read the battery's estimated full-charge capacity and cycle count (more info)
November 26, 2017:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Reduced overall power consumption slightly
October 22, 2017:
ROM:
*Latest upstream LineageOS changes
*Reverted headset volume increase
September 30, 2017:
ROM:
*Latest upstream LineageOS changes
*Increased maximum handset volume for phone calls
*Added more volume steps for handset volume and media volume
Kernel:
*Added fix for BlueBorne vulnerability
August 31, 2017:
ROM:
*Latest upstream LineageOS changes
*Added upstream fix for GPS issues (especially with Waze)
August 28, 2017:
ROM:
*Latest upstream LineageOS changes
*Camera: Added selfie mirror feature
Kernel:
*Fixed random reboot introduced in the previous build (thanks to aviraxp)
August 27, 2017:
ROM:
*Latest upstream LineageOS changes
*Removed F2FS support (the ROM will refuse to install on your device if you're using F2FS)
*Updated RIL from upstream LineageOS (this should fix some mobile network issues)
*Fixed Gallery app freezing sometimes
Kernel:
*Fixed some devices immediately rebooting when the screen is turned off
*Fixed decryption not working after performing encryption with this ROM
*Added various security fixes
*Removed F2FS drivers
August 7, 2017:
ROM:
*Latest upstream LineageOS changes
*Attempted to fix random app crashes due to GPU out-of-memory errors (again)
*Camera: Made auto anti-banding mode actually automatic (it checks the country that the mobile network is located in)
*Switched back to old Gallery app (the new one is buggy)
Kernel:
*Fixed inability to change the CPU's maximum frequency
*Added various security fixes
July 10, 2017:
ROM:
*Latest upstream LineageOS changes
*Attempted to fix random app crashes due to GPU out-of-memory errors (didn't work)
*Camera: Fixed viewfinder becoming dark after taking photos sometimes
*Camera: Fixed incorrect maker and model in photo details
Kernel:
*Fixed battery percentage being permanently stuck at 50% for some users
June 25, 2017:
ROM:
*Latest upstream LineageOS changes
*Fixed broken flashlight and reboots when attempting to turn on the flashlight (thanks to maniac103 and highwaystar)
June 24, 2017:
ROM:
*Initial release
Kernel:
*Initial release
FAQ:
1. Could you add camera slow-shutter times greater than 2 seconds?
Answer: No, I cannot. The reason why exposure times are capped at 2 seconds is due to the proprietary camera libraries from OxygenOS. Only OnePlus can modify the proprietary camera libraries, so there is no way for me, a regular consumer, to implement exposure times greater than 2 seconds.
2. Why did you use OxygenOS camera libraries? They don't have 4K camcorder support!
Answer: My custom camera HAL enables 4K camcorder support with Oxygen's camera libraries, so this isn't an issue. Cyanogen's camera libraries have had some issues with the camcorder since day 1. The big issue that I have been able to reproduce on all OnePlus One devices I've come across is graphical artifacts in recorded videos (look towards the right @25 seconds): https://youtu.be/LyIbb5wIyfY?t=22s
OxygenOS' camera libraries do not have this issue, and thanks to my modifications, we now have 4K camcorder support with the OxygenOS libraries, so not much is lost by using them. The OxygenOS libraries can also take pictures faster/better than Cyanogen's libraries.
3. Why did you underclock the CPU to 1958MHz?
Answer: At 1958MHz, the amount of heat generated by the CPU is quite a bit less than at 2457MHz, so the CPU is throttled less often (leading to better user experience), and battery life is better as well. The performance difference between 1958MHz and 2457MHz is also not really noticeable unless you use a benchmark application. If you want to remove the CPU underclock then flash the zip from the first post that disables the underclock. You must flash this zip every time you install a new ROM update.
First!
Thank you so much sultan!
and EID MUBARAK!
Hell yeah
And now we wait for people to complain about the lack of Xposed.
P. S. Thanks Sultan!
Sent from my A0001 using Tapatalk
Wow ill give it a shot first Lets charge it
Verstuurd vanaf mijn A0001 met Tapatalk
JJohnson1988 said:
And now we wait for people to complain about the lack of Xposed.
P. S. Thanks Sultan!
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Inb4 "Sultan, when is OMS coming?????"
Just when I thought I have flashed them all.
Thanks for keeping it alive.
Can I harass Lineage, if I find bugs?
This is THE most complete ROM I have ever tested... PERIOD! Thanks, @Sultanxda.
Never thought I would use Nougat until my next phone... but @Sultanxda made it happen, thank you!!!
im getting stuck halfway on patching system image unconditionally, help??
Ermahgerd! Thanks!
Man, i know it's just the first build, but it's being so many time waiting for this... Thanks for this @Sultanxda
Probably the most anticipated ROM for the OnePlus One
So many people must be going mad now
Thanks man, you make my day.
Best news for my OPO
Wow, thanks for not forgetting us sultan!!!
Finally.. Winter is here
Thnx sultan for your work
Sir,it does support OMS ?

[STABLE] LineageOS 17.1 for Galaxy S7 build 44

{
"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"
}
LineageOS 17.1 for herolte​
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Working:
- Wifi
- Sound
- mali drivers
- USB tethering
- HW Backed video Playback
- Ril (Mobile data,calls, sms and stuff)
- Sensors
- Buttons and their backlight
- Bluetooth
- Wifi HotSpot
- MTP
- 2D and 3D gpu acceleration
- HW encoding/decoding
- Charging with device powered off
- Stuff I didn't test yet
- Camera
- HWcomposer (HWC)
- GPS
- Fingerprint Sensor
- Mobicore
- SW codecs
Not Working
-
Take a note that a lot of LineageOS features have not been completed yet this is not a device bug and please do not report those
in this rom thread as you will be reported to moderator also do not post bug reports for known issues or bug reports without proper
a) Logcat
b) proc/last_kmsg (or proc/kmsg)
c) data/tombstones
d) dmesg
Also do not under any circumstances post bug reports if you are using substratum themes or unsupported magisk modules or you have performed any system modifications
Install gapps right after installing the rom itself dont try to boot to system before that
Downloads:
Google Drive
Mega.nz
GitHub releases
MD5: f917ab16f0c74c9472a1a76394e25b42
Gapps
if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler
BTC: 1Q823BsSbEKP62JFM7BjXiRCgF84qgcFST
ETH(erc20): 0x979a8e42551e62e6994d3762c9d9f0e76b5d87f9
Donations help cover the build server cost and since I do this in my free time, and also cover the coffee for time spent debugging stuff
Feel free to join telegram group with early builds progress updates and some off topic stuff Join
Based On Android 10/Q
Changelog
12.02.2023.
- Merged February 2023. Security update
- Synced with LOS source
08.01.2023.
- Merged January 2023. Security update
- Synced with LOS source
08.12.2022.
- Merged December 2022. Security update
- Synced with LOS source
10.11.2022.
- Merged November 2022. Security update
- Synced with LOS source
06.10.2022.
- Merged October 2022. Security update
- Fixed samsungs bug with gps where it would start acting up over time due to time rollover bug
- Synced with LOS source
08.09.2022.
- Merged September 2022. Security update
- Synced with LineageOS source
07.08.2022.
- Merged August 2022. Security update
- Synced with LineageOS source
08.07.2022.
- Merged July 2022. Security update
- Synced with LOS source
12.06.2022.
- Merged June 2022. Security update
- Synced with LOS source
08.05.2022.
- Merged May 2022. Security update
- Synced with LOS source
07.04.2022.
- Merged April 2022. security update
- Synced with LOS source
15.03.2022.
- Merged March 2022. security update
- Implemented OTA updates
- Synced with LOS source
14.02.2022.
- Merged February 2022. security update
- Fixed issue where camera would stop working after prolonged use
- Synced with LOS source
11.01.2022.
- Merged January 2022. security update
- Synced with LOS source
20.12.2021.
- Fixed issue where device would refuse to boot after going thru setup wizard
- Synced with LOS source
15.12.2021.
- Merged December 2021. security update
- Synced with LOS source
11.11.2021.
- Merged November 2021 security update
- Synced with LOS source
06.10.2021.
- Merged October 2021 Security Update
- Synced with LOS source
14.09.2021.
- Merged September 2021 Security Update
- Synced with LOS source
09.08.2021.
- Merged August 2021 Security Update
- Synced with LOS source
14.06.2021.
- Merged June 2021 Security Update
- Synced with LOS source
10.05.2021.
- Merged May 2021 Security Update
- Synced with LOS source
09.04.2021.
- Merged April 2021 Security Update
- Synced with LOS source
06.03.2021.
- Merged March 2021 Security Update
- Fixed mouse pointer icon
- Fixed issues with frp
- Synced with LOS source
03.02.2021.
- Merged February 2021 Security Update
- Added proper flicker free (DC dimming) implementation
- Added support for smart cover
- Misc performance and stability improvements
12.01.2021.
- Merged januart 2021 Security Updat
- Fixed issues with fingerprint in 3rd party secure apps (banking apps paypal password managers)
- Updated prebuilt binaries
- Cleaned up mixer paths
- Added neural network drivers
- Disabled p2p mac randomization
- Fixed wifi direct
- Removed unused 32bit drivers
- Improved performance and stability
- A lot more unmder the hood changes
11.12.2020.
- Merged December 2020 security update
- Added wireguard to kernel
- Update proprietary blobs to G93*KKKU3ETJ1 (Stuff that is not already using note fe blobs)
- Moved most of libraries to vendor subfolder
- Merged N935FXXS7CTJ2 kernel source
- Downported some changes from lineageos 18
- Misc performance and stability improvements
- Synced with LOS source
10.11.2020.
- Hotfix build with fixed stuttering issues from previous build
08.11.2020.
- Added irqbalance implementation adopted for 8890
- Improved power hal freq. boosting with (Should make whole system a lot smoother)
- uprevved configstore to 1.1
- Adjusted dex2oat rules to allow it to use up to 6 threads under load
- Misc performance and stability improvements
- Merged November 2020. Security update
- Synced with LOS source
08.10.2020.
- Improved audio handling in some voip apps (microphone)
- Adjusted zram values
- Imrpoved UI performance
- Merged october 2020 securiy update
- Misc performance and stability improvements
- Synced with LOS source
11.09.2020.
- Updated vendor blobs to N935KKKU4CTH1 with August 2020 vendor security update
- Enabled dynamic audio processing effects
- Improved microphone performance (Should also resolve headset mic issues with some apps)
- Increased recording volume
- Misc performance and stability improvements
- Merged September 200 security update
- Synced with LOS source
11.08.2020.
- Improved ui performance
- Resolved FRP issues
- Added sunlight enhancements for better visibility under direct sunlight
- Further Improved camera stability
- General performance and stability improvements
- Synced with LOS source
05.08.2020.
- New working camera drivers
- Improved power hal frequency handling
- Fixed echo in calls
- More precise signal reporting
- Added expandable volume panel
- Selinux is enforcing
- Kernel is using latest note FE base
- All of the drivers have been updated to latest note fe base
- Merged latest security updates merged (August 2020)
- New and improved power hal
- New thermal hal
- Ability to disable fast charging from settings
- Ability to enable flicker free from settings
- Ability to change vibration intensity from settings
- In call volume adjustment has been fixed
- Improved stability and performance (No random reboots anymore)
- Improved memory management
- Working hardware backed encryption
- Working AudioFX
- A lot more imrpovements that didnt make it to the list
03.06.2020.
- Merged June 2020. Security update
- Fixed crashes caused by graphics mapper
- Added advanced display features
- Color calibration backed up by mDNIe
- Accessibility mode
- More Modes?! check for yourself under Settings>Display
- Enabled zram
- Switched to bfq IO scheduler
- Switched to common Doze implementation
- Switched to mke2fs for fs generation and checking to improve performance and stability of filesystem
- Reenabled call recording for supported countries
- Added DRM hal
- Improved bionic runtime speeds by setting it to use exynos-m1 core optimizations
- Disabled samsung ZSWAP
- performance and stability improvements
- Synced with LOS source
05.06.2020.
- Switched to system side LMKD
- Fixed headphones (aux) microphone input
- Imporved UI performance
- Fixed ringtone output being routed to speaker with headphones/bt device plugged in
- Merged May security update
- General stability improvements
- Synced with LOS source
04.23.2020.
- Fixed audio routing to speakerphone after call
- Updated vendor security patch to march 2020
- Power hal improvements
- Added AptXHD support
- Merged new gralloc and mali blobs from G93*FXXS8ETC6
- Updated camera blobs
- Updated omx blobs
- Updated wifi firmwares
- Merged april 2020 security update
- Misc performance and stability improvements
- Synced with LOS source
03.11.2020.
- Removed camera wrapper that was causing issues with some apps
- Improved BT audio/call handling
- Updated power hal (Fixed hw keys reactivating while they should be off (Gestures are enabled))
- Fixed WiFi speed drops with bt enabled
- Merged XXU5ESD2 kernel changes
- Merged XXS6ESI4 kernel changes
- Fixed kernel side security issues related to binder
- Merged march security update
- Synced with LOS source
02.07.2020.
- Added AptX bluetooth audio blobs back
- Added new power hal which has more control over performance battery life (You cna also control
profile of device under battery entry in settings (Powersave/balanced/performance))
- Improved notification light on/off handling
- Added back Snap camera with working video recording
- Binderized audio hal process
- Added back camera wrapper
* Fixed Camera3 metadata
* Enabled HAL1 for some apps that had issues previously (e.g. whatsapp,snapchat,facebook,instagram)
* Fixed 2k/4k video recording handling in some apps
* Fixed bug where camera would hang after canceling auto focus in some legacy apps
- Enabled batch and backgroun Wifi scanning
- Fixed dual band wifi support
- Misc performance and stability improvements
- Synced with LOS source
01.22.2020.
- Merged january security update
- Fixed broken git tag detection in kernel which would show -dirty in kernel version
- Fixed dialer lag with touch tones enabled
- Added back Camera2 as snaps video recording was broken
- Removed unused custom gps impl
- Removed unused gps headers
- updated audio headers and fixed wrong declaration of SOUND_DEEP_BUFFER_DEVICE
- Added audio effects config for sound hal
- Updated audio policy to bne able to use aux as output
- Added libtinycompress
- Reimplemented audioserver arch
- Reimplemented audio hal and so its only building single arch now
- Fixed sound in games and voip apps like whatsapp
- Fixed audio routing going thru earpiece after calls
- Misc performance and stability improvements
- Merged LOS source
05.01.2020.
- Properly fixed Dual sim device detection
- Switched to early mounting EFS from dtb instead from fstab file
- Switched to new radio interface used for signal reporting instead of using frameworks hacks to do so
- Fixed OpenCL
- Fixed Vulkan
- Removed proximity check on system wake which was unusable
- Added Snap camera app back instead of Camera2
- Merged December system security patch from r18 tag together with all new features introduced with it
- Misc performance and security improvements
19.12.2019.
- Fixed software codecs (sw video playback)
- Fixed random crashes related to audio/video subsystem
- Fixed detection of dual sim devices
- Fixed wireless tethering
- Fixed regression that broke front facing camera
- Reimplemented sensor hal to handle SSENSOR permission properly on aosp
- Audio pahts file has been completely rewritten and cleaned up
- Added trust HAL to control usb otg
- Added device health hal
- Merged november security update to vendor
- Reimplemented display modes as hidl interface
- Reimplemented touch features as hidl interface
- Switched to hardware/samsung power hal
- Switched to a new light hal
- Added back AdvanceDisplay
- Misc performance and stability improvements
- Synced with LOS source
05.11.2019.
- Updated RIL hal to latest P blobs from samsung
- Updated GPS hal to latest P blobs from samsung
- Updated LHD (sensors) hal to latest P blobs from samsung
- Imrpoved handling of hal1 apps
- Updated mobicore
- Fixed GPS and Fingerprint
- Replaced FP driver with HIDL interface one
- fixed ashmemd access issues
- misc audio fixes
- Stability and performance improvements
08.10.2019.
- Initial release
XDA:DevDB Information
LineageOS 17.1 for Galaxy S7, ROM for the Samsung Galaxy S7
Contributors
Ivan_Meler
Source Code: https://github.com/8890q/android_kernel_samsung_universal8890/tree/lineage-17.1
ROM OS Version: Android 10
Version Information
Status: Stable
Stable Release Date: 2020-12-11
Current Beta Version: 1.2.0
Created 2019-10-08
Last Updated 2020-12-11
Pre release version
Check the OP if you are looking for latest version
Sorry for a bit buggy first releaser and delays, Had a little accident and ended up with hospital so i didnt include fixes that are on my local PC but still wanted to release somethig for the comunity, hope you enjoy it
Great! Thanks! And get well soon!
Can't wait to try this out.
Great work!????
Heck yeah, great job man, cannot wait to try!
Feel better soon!
Great job Ivan, thank you very much
Thanks a lot Ivan !!! Hope you get well soon.
Hope you aren't injured badly and will be able to leave hospital soon.
Wish you all the best man! :good:
Get well soon and great job!
Thank you so much Ivan, you are the best. Get well soon!
If we can do anything else than donating and testing the roms - let us know.
greetings
Hey. Hope it's not very serious and you get well soon.
Ivan sei un grande!(you are great!)
Magisk can be installed on LineageOS 17 now with this version https://drive.google.com/file/d/1DTnmMSDslhbNBcBoAGLbfJNcKTjnLI23/view?usp=sharing
Rom runs very good. The gesture navigation works but the line at the bottom is missing and if I use the button navigation then the navigation bar doesn't appear.
.
LucPlayer2004 said:
Rom runs very good. The gesture navigation works but the line at the bottom is missing and if I use the button navigation then the navigation bar doesn't appear.
Click to expand...
Click to collapse
It's a bug hasn't been fully implemented yet,
For me sounds are very quiet.
Anyone else having that problem?
is dirty flash possible (from 16)?
Holy crap! Thanks so much, Ivan! Hope you can recover soon as well.

[ROM][STABLE][Signature Spoofing/MicroG support][OTA updates] LineageOS 18.1 for S7 Exynos

{
"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"
}
LineageOS 18.1 for herolte​
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Working:
- Wifi
- Sound
- mali drivers
- USB tethering
- HW Backed video Playback
- Ril (Mobile data,calls, sms and stuff)
- Sensors
- Buttons and their backlight
- Bluetooth
- Wifi HotSpot
- MTP
- 2D and 3D gpu acceleration
- HW encoding/decoding
- HWcomposer (HWC)
- Charging with device powered off
- Stuff I didn't test yet
- Camera
- GPS
- Fingerprint Sensor
- Mobicore
- SW codecs
Not Working
-
Take a note that a lot of LineageOS features have not been completed yet this is not a device bug and please do not report those
in this rom thread as you will be reported to moderator also do not post bug reports for known issues or bug reports without proper
a) Logcat
b) proc/last_kmsg (or proc/kmsg)
c) data/tombstones
d) dmesg
Also do not under any circumstances post bug reports if you are using substratum themes or unsupported magisk modules or you have performed any system modifications
Install gapps right after installing the rom itself dont try to boot to system before that if you want to use gapps
NikGapps and BiTgapps were both tested and working
Downloads:
Google Drive
Mega.nz
GitHub releases
MD5: 4ed429913caa5cca1434ca0e084f4346
if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler
BTC: 1Q823BsSbEKP62JFM7BjXiRCgF84qgcFST
ETH(erc20): 0x979a8e42551e62e6994d3762c9d9f0e76b5d87f9
Donations help cover the build server cost and since I do this in my free time, and also cover the coffee for time spent debugging stuff
Feel free to join telegram group with early builds progress updates and some off topic stuff Join
Due to requests from some users I added signature spoofing support to the rom which allows usage of MicroG
you can simply install MinMicroG and grant it needed permissions for signature spoofing to make it work as intended
Based On Android 11/R
Changelog
08.05.2023.
- Merged June 2023. Security update
- Synced with LineageOS source
07.05.2023.
- Merged May 2023. Security update
- Switched to more source built components from new Exynos 850/Linaro BSP
hwcomposer
memtrack
libion_exynos
libGrallocWrapper
gralloc
libcsc
libexynosscaler
libexynosgscaler
libhwjpeg
Whole OMX stack (libOMX.Exynos.*) and stagefrighthw
- Performance, stability and battery life improvements
- Synced with LineageOS source
15.04.2023.
- Merged April 2023. Security update
- Synced with LOS source
21.03.2023.
- Merged March 2023. Security update
- Synced with LOS source
12.02.2023.
- Merged February 2023. Security update
- Synced with LOS source
05.01.2023.
- Merged January 2023. Security update
- Synced with LOS source
08.12.2022.
- Merged December 2022. Security update
- Switched to a new power hal (same one as in 19.1 and 20.0)
- Improved battery life and performance
- Rebased kernel to fix some issues with ipv4 stack
- Synced with LOS source
09.11.2022.
- Merged November 2022. Security update
- Synced with LOS source
06.10.2022.
- Merged October 2022. Security update
- Fixed samsungs bug with gps where it would start acting up over time due to time rollover bug
- Synced with LOS source
08.09.2022.
- Merged September 2022. Security update
- Synced with LOS source
06.08.2022.
- Merged August 2022. Security update
- Synced with LOS source
08.07.2022.
- Merged July 2022. Security update
- Synced with LOS source
09.05.2022.
- Merged June 2022. Security update
- Synced with LOS source
07.05.2022.
- Merged May 2022. Security update
- Synced with LOS source
07.04.2022.
- Drastically speed up app launch time (more info about that here)
- Merged April 2022. Security update
- Imrpoved performance and battery life by disabling some unnecessary logging
- Removed AudioFX which was causing audio issues
- Synced with LOS source
12.03.2022.
- Merged March 2022. Security update
- Implemented OTA updates
- Synced with LOS source
11.02.2022.
- Merged February 2022. security update
- Fixed issue where camera would stop working after prolonged use
- Removed unused custom ld.config.txt that was overriding main one
- Switched to few source built ril related libs
- Added support for changing wireless charging sound
- Misc performance and stability improvements
- Synced with LOS source
09.01.2022.
- Merged January 2022. Security update
- Synced with LOS source
15.12.2021.
- Merged December 2021. Security update
- Removed liboemcrypto which was breaking playback in some apps that use drm
- Synced with LOS source
05.11.2021.
- Merged upstream wireguard kernel changes
- Merged November 2021. Security update
- Synced with LOS source
05.10.2021.
- Merged October security update
- Merged October Kernel upodates to 3.18.x
- Added more advanced burn in protection
- Misc performance and stability updates
- Synced with LOS source
09.09.2021.
- Merged September 2021. Security Update
- Merged September 2021. Security update to kernel
- Fixed WiFi Display (Screen mirroring)
- Resolved few sepolicy issues
- Synced with LOS source
04.08.2021.
- Added battery saver options (settings -> battery)
This allows you to limit phone charging to given percentage
(By default it stops on 75% and starts charging at 25%)
this can be controled by sysfs paths
module/sec_battery/parameters/store_mode_min
and
module/sec_battery/parameters/store_mode_max
In future release there will be a slider for this
- Merged August 2021. Security update
- Merged August 2021. Security update to kernel
- Misc performance and stability improvements
- Synced with LOS source
08.07.2021.
- Merged latest kernel patches from kernel/common android-3.18 branch
- Merged July 2021. security update
- Synced with LOS source
- misc performance and stability improvements
05.07.2021.
- Kernel: Fixed issue where using external sdcard as combined internal storage caused high cpu usage
- Removed leftover aosp charging animations
- mounted cpefs folder on boot
- Added NFC Extended Lenght support
- Fixed power profile swtiching (Better performance/battery life)
- Synced with LOS source
21.06.2021.
- Audio: resewt mixer gains to default values since we have lifevibes working now and handling it
- Audio: Reworked incall audio handling in mixer paths to disable 2nd mic that was picking up noise
- Audio: Reworked voice commands input mixer paths
- Audio: Fixed voip calls not picking up microphone due to wrong paths (e.g. apps telegram, whatsapp)
- Replaced vulkan lib with symlink to mali lib (Like on stock) (This saved some space too)
- Kernel: Merged upstream aosp 3.18 kernel
- Kernel: Merged latest upstream cpufreq (DVFS) patches for dynamic voltage and frequency handling
- Kernel: Enabled CONFIG_HZ_300 for faster interaction handling
- Cleaned up public.libraries.txt
- Resolved few more sepolicy issues
- A lot of perforamnce and stability improvements
- Synced with LOS source
10.06.2021.
- Removed deprecated custom bt hal as AOSP one works too with extra config flag
- removed audio effects from voice_recognition as it caused audio hal to crash/restart
- Merged June 2021. Security update
- Synced with LOS source
06.06.2021.
- kernel: reverted "net: disable netpoll on fresh napis" which caused cpu to lock up at higher frequencies
- removed unsupported audio devices from audio policy config
- Synced with LOS source
03.06.2021.
- sepolicy: Resolved audioserver denial
- sepolicy: Allowed mediaserver to read exported_camera_prop
- Moved volume panel to left side
- Removed invalid media codec config for vc1 decoder
- Removed prop that would try to load non existing vulkan lib
- Updated media profiles to new schema
- kernel: Upstreamed and updated to 3.18.140 with all of the latyest security patches and updates to date
- kernel: enabled vdso32 (https://source.android.com/devices/architecture/kernel/config#vdso32-on-arm64) perf. and battery life improvements
- kernel: fixed issues with obb folder present in rare cases
- kernel: merged latest android kernel/common 3.18 branch
- kernel: updated wireguard
- kernel: merged N935FXXS8CUD1 source drop
- Synced with latest los source
05.05.2021.
- sepolicy: Allowed cbd (Modem daemon) service to read proc_net sysfs
- sepolicy: Allowed gpuservice acces to graphics_config_prop
- sepolicy: improved debugfs handling for mali and ion
- Fixed video recording in a lot of apps (Might require clean flash for some users)
- Updated blobs to N935FXXS8CUD1 (April 2021 security update)
- Fixed edge case where fast charging switch would be ignored because its chwoned too late
- Compiled NFC hal from source (Google released samsung nfc source
(https://android.googlesource.com/platform/hardware/samsung/nfc/), (Should improve stability)
- Upreved livedisplay implementation (to 2.1) with native flicker free support
- Added lifevibes blobs for audio effects and enhancements
- Merged May 2021 security update
- Synced with LOS source
07.04.2021.
- Fixed Vulkan
- Disabled WPA2 to WPA3 auto-upgrade (This caused issues on some wifi networks)
- Rebased AntiFlicker and livedisplay support
- Performance and stability improvements
- Synced April 2021 Security Update
- Synced with LOS source
22.03.2021.
- Added signature spoofing support for MicroG
- Cleaned up codebase
- Misc performance and satbility improvements
- Synced with LOSsource
04.03.2021.
- Fixed Mouse pointer icon when using an external mouse
- Improved swcodec handling
- Performance and stability improvements
- Merged March 2021. security update
- Synced with LOS source
18.02.2021.
- Fixed cover case display states being flipped
- Improved renderscript handling
- Further imrpoved selinux policies and fixed denials
- Fixed binder related vurnability in kernel
- disabled zcache compression which could caue kernel panics
- Misc performance and stability improvements
- Synced with LOS source
05.02.2021.
- Improved HWC handling
- Added always on display
- Fixed issue where some games would show swapped colors
- Rebased sepolicy
- Fixed hwc selinux denials that slowed down UI
- Added support for smart cover cases
- Imrpoved renderscript performance
- Imrpoved offline charging (New animation and it should recognize wireless charger while phone is off now)
- Misc performance and stability improvements (A lot of them, as always you can check github and lineageos gerrit)
- Merged February 2021. security update
- Synced with LineageOS source
24.01.2021.
- Fixed HWC
- Drastically improved performance and battery life
- Added back flicker free dimming and fast charging switch (Now as hiidl interfaces)
- Switched to samsungs DT2W driver used on AOD on stock (Battery life improvements)
- Added custom LiveDisplay modes
- Disabled some excess logging
- Cleaned up codebase
13.01.2021.
- Merged januart 2021 Security Updat
- Fixed issues with fingerprint in 3rd party secure apps (banking apps paypal password managers)
- Updated prebuilt binaries
- Cleaned up mixer paths
- Added neural network drivers
- Disabled p2p mac randomization
- Fixed wifi direct
- Removed unused 32bit drivers
- Improved performance and stability
- A lot more unmder the hood changes
22.12.2020.
- Merged december 2020 security update
- Fixed volume adjustment with audio
- Drastically improved audio quality
- Merged December pixel feature drop
- Fixed noise cancelling in call
- Misc performance and stability improvements
24.11.2020.
- Fixed in call audio (Volume changing in call is still somewhat broken)
- Merged November 2020 security update
- Imrpoved BT audio handling
- Selinux is back in Enforcing mode
- Fixed signal strenght indicator for all network modes (2g/3g/4g)
- Fixed soft buttons backlight handling
- Fixed fingerprint recognition in some apps (Non secure ones for now)
- Fixed glove mode
- Misc performance and stability improvements
- Synced with LOS source
06.10.2020.
- Improved brightness slider range
- Improved microphone input in some voip apps
- Synced with LOS source
05.10.2020.
- Initial release
XDA:DevDB Information
LineageOS 18.0 for S7, ROM for the Samsung Galaxy S7
Contributors
Ivan_Meler
Source Code: https://github.com/8890q/android_kernel_samsung_universal8890/tree/lineage-18.1
ROM OS Version: Android 11
ROM Kernel: Linux 3.18.x
Version Information
Status: Stable
Keep in mind this is early build and many los features are not merged yet do not report those as bugs as they are not device specific and will be resolved
Also here are some screenshots
Also big thanks to everyone who supported this and other projects since lineageos 15.1 since i do this in my free time and donations help offset server cost and get me coffee
reserved
Wow, you just keep this device alive. Cant wait to try this Rom(im currently downloading...) Will report in a few days how it is
Holy moly, that was real quick. Thanks for this ROM! Do you think you could fix the microstuttering that sometimes appears on LOS 17.1? I see you have an EAS implementation in the works but only you know the real status of your tree.
Alternatively, could you provide a no-op performance profile so we can tweak the interactive governor through a kernel manager? When I change my governor settings for my custom ones microstuttering goes away until they reset to default after a while even if I enable apply on boot, and the default performance option is janky when doing anything more intensive than scrolling a webpage or through the system UI. Sometimes playing games is impossible because it runs smoothly but randomly jumps.
Again, thanks for your ROM. We are blessed to have a dev like you working on this old horse
So far ROM is awesome smooth and fast ,only problems for me at least:
1-brightness slider
2-calls problem can't hear or talk and can't record in such apps like WhatsApp
Thx for ur awesome works so much appreciated
Hi,
Did anybody try to dirtyflash from 17.1? I had no luck so far...
And again, big thank to Ivan, for the rom and keeping device alive!!!!!
thx
vagika said:
Hi,
Did anybody try to dirtyflash from 17.1? I had no luck so far...
And again, big thank to Ivan, for the rom and keeping device alive!!!!!
thx
Click to expand...
Click to collapse
I don't think it will be possible to dirty flash from 17.1, you can use oandbackup
---------- Post added at 07:26 PM ---------- Previous post was at 07:21 PM ----------
Many thanks Ivan, great work!
New build is up here is a brief changelog
- Improved brightness slider range
- Improved microphone input in some voip apps
- Synced with LOS source
Big thanks to evryone who supported this project as their donations go towards build server cost and coffee
Thank you for your time!
Where can I find the changelog for lineage os 18? What is new?
Wattsensi said:
Holy moly, that was real quick. Thanks for this ROM! Do you think you could fix the microstuttering that sometimes appears on LOS 17.1?
Click to expand...
Click to collapse
I don't know if you mean the same thing, but at least Pokemon Go "jerkiness" can be completely fixed by changing GPU powersave mode from "coarse demand" to "always on".. But you need some adjustable kernel like Morokernel to be able to do this, and Moro is not very good with recent LOS versions.
I don't know what the issue with "coarse demand* is.. it turns off GPU power after 100ms of idle. That certainly shouldn't happen during gameplay when there's constant movement on screen?
Zuikkis said:
I don't know if you mean the same thing, but at least Pokemon Go "jerkiness" can be completely fixed by changing GPU powersave mode from "coarse demand" to "always on".. But you need some adjustable kernel like Morokernel to be able to do this, and Moro is not very good with recent LOS versions.
I don't know what the issue with "coarse demand* is.. it turns off GPU power after 100ms of idle. That certainly shouldn't happen during gameplay when there's constant movement on screen?
Click to expand...
Click to collapse
Thanks for responding. Changing to always_on does help a little but it makes the phone MUCH hotter...or is it my idea?
The phone is hotter and it still stutters, I tried changing the I/O schedulers to less intensive noop and tweaking the interactive governor helps but then it resets itself back to stock settings no matter what I do. But no matter what, there is always at least a bit of microstuttering. It is ruining the experience on this otherwise perfect ROM.
Also the custom kernels are using a different kernel/binary blob base that doesn't work with this ROM family anymore. I personally don't want to delve in the headache of merging commits and fixing build failures, it means downloading yet another kernel for yet another SoC and my space is kinda limited right now because I already maintain a device.
Hmm. I'm actually currently on FloydQ rom. It is very smooth with Moro and this "always on" mode. Battery use is very minimal, phone does not get hot.
FloydQ is using the older code base so Moro works. But earlier I was using some older LOS 17.1 beta with Morokernel and it was smooth. The later versions (with newer code base) stuttered..
Hmm.. perhaps there is some bug causing entire device to halt for over 100ms? Then coarse_demand mistakes this as idling and powers off the GPU, making things even worse.
I can't see call screen when someone calls please fix this
mertcaners12 said:
I can't see call screen when someone calls please fix this
Click to expand...
Click to collapse
As it says on the main post, it's pointless to report a bug without including:
a) Logcat
b) proc/last_kmsg (or proc/kmsg)
c) data/tombstones
d) dmesg
as he can't possibly recreate every issue.
Thank you !
I will test with NikGapps
please someone upload it on sourceforge ((((
i cant download from google drive
Zuikkis said:
Hmm. I'm actually currently on FloydQ rom. It is very smooth with Moro and this "always on" mode. Battery use is very minimal, phone does not get hot.
FloydQ is using the older code base so Moro works. But earlier I was using some older LOS 17.1 beta with Morokernel and it was smooth. The later versions (with newer code base) stuttered..
Hmm.. perhaps there is some bug causing entire device to halt for over 100ms? Then coarse_demand mistakes this as idling and powers off the GPU, making things even worse.
Click to expand...
Click to collapse
I am switching to another ROM and flashing echofix
Wattsensi said:
Does this ROM have all the bugs and instability older Lineage ROMs had, or it works as a daily driver? Apart from the fixable echo problem, do calls work well? I am considering switching ROMs to instal ThundeRStorms Kernel if I can't solve this issue from userspace. as a bonus I get EAS.
Click to expand...
Click to collapse
Well.. I'm probably the wrong person to answer, as I have never encountered the echo or volume problems on LOS either. And I use this as my work phone so I call quite a lot.
But still yeah, FloydQ feels very stable. I think it's mostly binaries moved from the S9+ rom, as it has all Samsung proprietaries working (like VoLTE calls).. I assume echo cancellation as well. And it passes SafetyNet out of the box, you don't necessarily need Magisk to run bank apps etc.
Zuikkis said:
Well.. I'm probably the wrong person to answer, as I have never encountered the echo or volume problems on LOS either. And I use this as my work phone so I call quite a lot.
But still yeah, FloydQ feels very stable. I think it's mostly binaries moved from the S9+ rom, as it has all Samsung proprietaries working (like VoLTE calls).. I assume echo cancellation as well. And it passes SafetyNet out of the box, you don't necessarily need Magisk to run bank apps etc.
Click to expand...
Click to collapse
Well, I flashed Resurrection Remix and indeed, the microstuttering is gone! Thanks for the recommendation.
EDIT: The culprit seems to be the N935KKKU4CTH1 rebase, running a ROM previous to their inclusion makes the problems disappear

[KERNEL] [11.0.0] Kazuki Kernel [February 18, 2022]

Introduction
Kazuki Kernel is a kernel based on Sultan's kernel with some additional modifications aiming to give a better experience than the stock kernel.
Compatibility
This kernel only supports devices running the latest firmware (vendor.img), and will NOT BOOT on anything else.
Features
Everything from Sultan Kernel
Backports from Sultan's Pixel 4/XL kernel
Patches from kdrag0n's Pixel 2/XL kernel
New set of optimized CPU frequencies and EAS energy model
Wi-Fi WPA3 support
Miscellaneous treewide optimizations
Downloads
Latest kernel
Enable support for flip covers (optional)
Credits
Sultan Alsawaf (Sultanxda/kerneltoast) for his kernel and help
Danny Lin (kdrag0n) for his patches and freqbench
Everyone else who I cherry-picked from
Source code
https://github.com/Kaz205/android_kernel_google_wahoo/commits/20220218
Changelog
February 18, 2022:
• Massively reduce latency
• Fixed a regression which caused performance to drop when executing heavy tasks
• More EAS patches from android-4.4-p
• Merged February ASB
October 26, 2021:
• Fixed the deadlock (finally!)
Thanks to @ab123321 for the help
October 14, 2021:
• Fixed a deadlock (for real this time).
October 11, 2021:
• Fixed a deadlock
September 28, 2021:
• EAS patches from android-4.4-p
• Optimized lock usage in various subsystems
• Lowered idle drain
September 12, 2021:
• Fix high power consumption when playing video
September 8, 2021:
• Bring back support for AFWall
• Allow vibration when the Camera is used
September 7, 2021:
• Complete revamp! Cleaned up broken commits
and rebased onto Sultanxda's 11.0.0-sultan branch
• Revert back to v4.4.223
• Update compiler to GCC 11.2
• Save power when rendering static images
• Massively save power when playing video
• Merge September ASB
• Further backports from Sultan's Pixel 4/XL kernel
• New set of optimized CPU frequencies for performance and battery life
July 11, 2021:
*Further tweak scheduler for better performance and battery life
*Better low-memory-killer performance (Thanks Sultan)
*Update WireGuard to v1.0.20210606
*Merge linux-stable v4.4.275
*More stuff that I forgot about
May 12, 2021:
*Switch compiler to GCC 11.1 for improved performance
*Merge April and May ASB
*Merge linux-stable v4.4.265
*Update Simple LMK
*Enable zram deduplication (saves 100~200mb of memory)
*Massively optimize Unity games (thanks Sultan)
*Further backports from Sultan's Pixel 4/XL kernel
*Micro-optimize Qualcomm secure channel manager
April 26, 2021:
*Revert zram compressor back to zsmalloc as z3fold was causing problems
*Slightly reduce overall power consumption
*Minor bug fixes from Qualcomm
April 24, 2021:
*Switch zram compressor backend to z3fold (for hopefully better long term performance)
*Micro-optimize Qualcomm G-link driver
*Slightly reduce overall power consumption
*Minor scheduler improvements
April 18, 2021:
*Initial release
Flashing straightaway!
Thanks for your work
Working fast and snappy on taimen running ProtonAOSP 11.4.0
Is anyone successful in flashing on crdroid? What's the experience like
Flash in walleye run 11.4 proton OS . Boot fail. Auto boot to bootloader
Show notify yellow at the bottom: ERROR: BootLinux Failed: Not Found
Can i use this on Android 10?
ValKyre said:
Flash in walleye run 11.4 proton OS . Boot fail. Auto boot to bootloader
Show notify yellow at the bottom: ERROR: BootLinux Failed: Not Found
Click to expand...
Click to collapse
Did you flash the kernel correctly? It appears that your boot image is corrupted.
Prattham said:
Can i use this on Android 10?
Click to expand...
Click to collapse
No, only Android 11 phones with the latest firmware are supported.
Kaz205 said:
Did you flash the kernel correctly? It appears that your boot image is corrupted.
Click to expand...
Click to collapse
Download your kernel.
And flash via twrp
It appears that I had removed important dtb files which made the kernel unbootable on walleye. I uploaded a new build to (hopefully) fix the issue. The new build should be called "Sultan-kernel-plus_20210418-fixup.zip".
EDIT: It's fixed and is safe to flash.
Kaz205 said:
It appears that I had removed important dtb files which made the kernel unbootable on walleye. I uploaded a new build to (hopefully) fix the issue. The new build should be called "Sultan-kernel-plus_20210418-fixup.zip".
Click to expand...
Click to collapse
Yay... It boot now. But do u know why it same issue like other kernel ? (kirisakura, sultan old version,...) .
The issue is: when restart, the boot amination very very slow. Some time when the screen of press power key to turn on phone it take 3-5s to open (sometimes not usually) .
New build is up with some original commits. Nice!
Kaz205 said:
新建了一些原始提交。好的!
Click to expand...
Click to collapse
希望优化的更好,感谢
any settings for rgb to eliminate the yellowish from white?
Newwwww build
@Kaz205 I've been following your github repo for a while and there was a period of time where you used PELT and is no longer using it. Just wanted to know what are your findings regarding PELT?
Chaninoza said:
any settings for rgb to eliminate the yellowish from white?
Click to expand...
Click to collapse
Yes it's present.
neekless said:
@Kaz205 I've been following your github repo for a while and there was a period of time where you used PELT and is no longer using it. Just wanted to know what are your findings regarding PELT?
Click to expand...
Click to collapse
I initially switched to PELT in hopes of lower jank. However I switched back because it turns out that PELT breaks live frequency stats and that jank is more or less the same as WALT with some proper tuning.
New build is out with lots of cool changes!
May I use this kernel for 10?
Sui77 said:
May I use this kernel for 10?
Click to expand...
Click to collapse
No. Already answered by dev before in this thread... Post#6
Kaz205 said:
New build is out with lots of cool changes!
Click to expand...
Click to collapse
hehe less jank
flashed for some testing....

Categories

Resources