• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][A11]KOSP for OnePlus 7 Pro[OFFICIAL][guacamole]

Search This thread

Joker123##

Senior Member
Feb 11, 2019
210
138
OnePlus 7 Pro
Code:
/*
  * DISCLAIMER: Read this carefully
  * 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.
  */

KOSP cover2_(0).png


KOSP is a small project based off AOSP and we intend to improve upon AOSP to provide a stable and better alternative to OEM roms with additional features.

Features

There are some cool features, see for yourself :D
Truth is I'm just lazy to write a long list of features and we intend to focus on the stability rather than adding a ton of features.

Gapps is included!
Note: guacamole uses sdcardfs

What's broken?
You tell me!

Bug reporting:
-> DO NOT report bugs if you're running a custom kernel or you installed Xposed
-> Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
-> Do not approach us without any logs for reporting bugs
-> If it is a random reboot, grab everything from /sys/fs/pstore. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
-> Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.


Downloads: GDrive, Sourceforge
Magisk: https://github.com/topjohnwu/Magisk/releases


INSTRUCTIONS

First time installation:

* Reboot to recovery
* Flash ROM zip from TWRP or sideload with ADB (preferred)
* Format data if encrypted
* Reboot to recovery
* Flash magisk and other stuff (optional)
* Reboot and profit :D

Upgrading:
Via recovery:
* Reboot to recovery
* Flash ROM zip from TWRP or sideload with ADB (preferred)
* Reboot to recovery
* Flash Magisk and other stuff (optional)
* Reboot

Via updater app:
* Open Settings -> System -> KOSP Updater
* Download the ota if available or if you have already downloaded the zip then use it for local upgrade
* Install the update
* Flash magisk to inactive slot (optional)
* (optional) Reboot to recovery if you have anything else to flash
* Reboot

Follow us on Telegram

Credit/Thanks:

Google for AOSP
LineageOS
YAAP
DerpFest
MSM-Xtended
And all others we may have forgotten to credit
Special thanks to @npv12 and also to @AnnoyingZlatan for his amazing kernel.
Thanks to @Mohammed_Gabr for making our awesome banner.
Last but not the least, thanks to all our testers, who have helped us to squash many bugs as possible


XDA:DevDB Information

KOSP, ROM for the OnePlus 7 Pro

Contributors: @Joker123##, @npv12

Device maintainer: @npv12

ROM source: https://github.com/AOSP-Krypton

ROM Kernel: Dora kernel

Kernel source: https://github.com/AOSP-Krypton/kernel_oneplus_sm8150

ROM Firmware Required: OOS 11.0.2.1

Android Version: 11

Based On: AOSP

Version Information

Version: 1.0

Status: Stable

Created 2021-08-08

Last Updated 2021-09-21
 
Last edited:

npv12

Senior Member
Nov 28, 2020
118
124
Gujarat
OnePlus 7 Pro
New update is up
Changelog:
* Add accent picker
* Fix safetynet not passing by default
* Add dolby from moto audio
* Add IFAA support
* Add sys ui restart option in the power menu
* Fix issues with Launch camera gesture action
* Bug fixes in updater
* Update kernel to 4.14.243
* Sync with latest dora
* Show battery in QS Header

OTA has been pushed as well.
 

Joker123##

Senior Member
Feb 11, 2019
210
138
OnePlus 7 Pro
New update (18/08/21) is up!

Changes in KOSP sauce:
* Added systemui tuner preference to settings
* Added support for setting both light and dark accent color.
* Killed a whole lot of debug spam.
* Added styles and wallpapers to settings
* Added OxygenOS icon pack
* Updated some strings and theme in updater app
* Fixed wonky statusbar header layout
* Added option to choose volume panel position
* Added option to choose gesture navbar length
* Added option to adjust the transparency of media notification background
* Merged latest caf tag in many repos
* Fixed a bug in gaming mode and some other settings

Device side changes:
* Upstreamed parts of blobs to LA.UM.9.1.r1-10200-SMxxx0.0
* Enabled uxe
* Enabled incremental fs
* Nuked some vibrator logs
* Updated media props.
* Use uncompressed dtbless kernel image
* Update cam blobs from oos
* Fix issues with blurry rounded corners
* Changed 'dash charging' string to 'warp charging'
 

Tidewater

Senior Member
Aug 30, 2012
846
697
I appreciate the honesty in the first post very much. It made me laugh. Been on here for years and often wondered how long it must take to create these mile long lists of features that you always see. Don't get me wrong, it is appreciated, just seems daunting
 

Joker123##

Senior Member
Feb 11, 2019
210
138
OnePlus 7 Pro
Edit: In reply to post #10
It shouldn't take that long tbh, I might add some later but it's not really my concern and we do not intend to add a lot of features. But it doesn't mean that we don't have any :D. And for those who really want to know the current set of features, they can see pretty much all of it in here
 
Last edited:
  • Like
Reactions: Tidewater

Joker123##

Senior Member
Feb 11, 2019
210
138
OnePlus 7 Pro
New update (08/09/21) is up!

Changes in KOSP sauce:
* Merged september security patch
* Merged latest caf tags
* Low battery check and other improvements in updater
* Added our own network traffic monitor
* Added option to disable screenshot sound
* QS now shows 2 / 3 rows dynamically
* Updated icons in oos icon pack
* Fixed a systemui crash with media artwork in lockscreen
* Improvements to FOD code
* Fixup brightness slider position when switching orientation
* Added support for different actions with alert slider
* Improvements to accent picker code
* Added font picker with ability to directly choose ttf files. No more magisk modules :D
* Fixed accent overlays not working when rgb accent is used

Device side changes
* Added alert slider customization
* Updated build prop to September coral fp
* Rebased common tree over yaap to fix the all time favourite jitter wall
* Updated blobs from 11.3.1.0
* Removed moto Dolby
* Updated kernel to dora v2.2
* Some more things I may have missed :)

OTA has been pushed as well. Enjoy :)
 

Joker123##

Senior Member
Feb 11, 2019
210
138
OnePlus 7 Pro
Changes in KOSP sauce:
* Add an option to mute notification when screen is on
* Improvements to font picker code
* Added qs tile for switching data card
* Optional Haptic feedback for qs tiles
* Fixed a major bug in updater (affected only non magisk users)
* Switched to double click effect for charging vibration (only for some devices like guacamole
that doesn't support amplitude control)
* Added screen locking sounds from miui and keyboard sounds from oos
* Reworked statusbar / navbar burn in protection impl
* Added an option to set separate ringtone for each sim cards
* Added an option to unlink volume controls for call and notification
* Added PixelPropsUtils
* Unlocked reading mode in livedisplay
* Added refresh rate qs tile and toggles for it.
Now it's under display settings instead of device specific settings.
* Added support for scheduling AOD
* Grouped all the major theme related settings to a separate section in krypton settings page
* Added option to upload application crash logs to hastebin.com (option is there in the dialog shown when an app crashes more than once)
* Update external card state based on current app. This possibly fixes issues people have with verizon
* Add auto call record option
* Users have to reboot now for the applied font to take effect
* Fixup edge light setting title
* Relocated aod prefs in krypton-ify section to Display -> Lockscreen

Device side changes:
* Revert the livedisplay rework and bring back the old modes
* Introduce oos cam
* Enable multiple vibration support
* Update brightness overlay to ramp up smoothly and slowly
* Enable call recording in dialer
* Updated kernel to dora v2.3

OTA has been pushed as usual. Enjoy :)
 

Joker123##

Senior Member
Feb 11, 2019
210
138
OnePlus 7 Pro
New update is up (06/10/21)
Changes in KOSP sauce
* Fixed inability to add new fonts because of insufficient permissions
* Introduce kosp clock (Credits to @madnesssubmod)
* Unified burn in protection timers for doze
* Fixed preferences not hiding properly in launcher settings
* Added option to choose custom ringtone vibration pattern
* Merged october security patch (android-11.0.0_r48)
* Addressed yet another selinux denial for updater app
* Some other fixes and improvements

Device side changes
* Increase statusbar padding
* Move charging text down
* Sync audio props with wanplus
* Updated kernel to dora v2.4

OTA has been pushed as usual. Enjoy :)
 

Zhuang zhuang

Senior Member
Apr 16, 2016
207
66
Ho Chi Minh
@Joker123## May I ask if you change something in the code of Ambient Display or Color profile of latest update? I found that if I set the color profile sRGB and offscreen gesture single tap to show ambient display, turn screen off and wake the phone with single tap and scan the fingerprint reader to unlock, the color profile will revert to Standard. But if I wake the screen by Power button, there's no issue.
The previous version (0921) didn't have this issue
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    New update is up (06/10/21)
    Changes in KOSP sauce
    * Fixed inability to add new fonts because of insufficient permissions
    * Introduce kosp clock (Credits to @madnesssubmod)
    * Unified burn in protection timers for doze
    * Fixed preferences not hiding properly in launcher settings
    * Added option to choose custom ringtone vibration pattern
    * Merged october security patch (android-11.0.0_r48)
    * Addressed yet another selinux denial for updater app
    * Some other fixes and improvements

    Device side changes
    * Increase statusbar padding
    * Move charging text down
    * Sync audio props with wanplus
    * Updated kernel to dora v2.4

    OTA has been pushed as usual. Enjoy :)
  • 19
    Code:
    /*
      * DISCLAIMER: Read this carefully
      * 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.
      */

    KOSP cover2_(0).png


    KOSP is a small project based off AOSP and we intend to improve upon AOSP to provide a stable and better alternative to OEM roms with additional features.

    Features

    There are some cool features, see for yourself :D
    Truth is I'm just lazy to write a long list of features and we intend to focus on the stability rather than adding a ton of features.

    Gapps is included!
    Note: guacamole uses sdcardfs

    What's broken?
    You tell me!

    Bug reporting:
    -> DO NOT report bugs if you're running a custom kernel or you installed Xposed
    -> Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    -> Do not approach us without any logs for reporting bugs
    -> If it is a random reboot, grab everything from /sys/fs/pstore. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    -> Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.


    Downloads: GDrive, Sourceforge
    Magisk: https://github.com/topjohnwu/Magisk/releases


    INSTRUCTIONS

    First time installation:

    * Reboot to recovery
    * Flash ROM zip from TWRP or sideload with ADB (preferred)
    * Format data if encrypted
    * Reboot to recovery
    * Flash magisk and other stuff (optional)
    * Reboot and profit :D

    Upgrading:
    Via recovery:
    * Reboot to recovery
    * Flash ROM zip from TWRP or sideload with ADB (preferred)
    * Reboot to recovery
    * Flash Magisk and other stuff (optional)
    * Reboot

    Via updater app:
    * Open Settings -> System -> KOSP Updater
    * Download the ota if available or if you have already downloaded the zip then use it for local upgrade
    * Install the update
    * Flash magisk to inactive slot (optional)
    * (optional) Reboot to recovery if you have anything else to flash
    * Reboot

    Follow us on Telegram

    Credit/Thanks:

    Google for AOSP
    LineageOS
    YAAP
    DerpFest
    MSM-Xtended
    And all others we may have forgotten to credit
    Special thanks to @npv12 and also to @AnnoyingZlatan for his amazing kernel.
    Thanks to @Mohammed_Gabr for making our awesome banner.
    Last but not the least, thanks to all our testers, who have helped us to squash many bugs as possible


    XDA:DevDB Information

    KOSP, ROM for the OnePlus 7 Pro

    Contributors: @Joker123##, @npv12

    Device maintainer: @npv12

    ROM source: https://github.com/AOSP-Krypton

    ROM Kernel: Dora kernel

    Kernel source: https://github.com/AOSP-Krypton/kernel_oneplus_sm8150

    ROM Firmware Required: OOS 11.0.2.1

    Android Version: 11

    Based On: AOSP

    Version Information

    Version: 1.0

    Status: Stable

    Created 2021-08-08

    Last Updated 2021-09-21
    7
    New update is up
    Changelog:
    * Add accent picker
    * Fix safetynet not passing by default
    * Add dolby from moto audio
    * Add IFAA support
    * Add sys ui restart option in the power menu
    * Fix issues with Launch camera gesture action
    * Bug fixes in updater
    * Update kernel to 4.14.243
    * Sync with latest dora
    * Show battery in QS Header

    OTA has been pushed as well.
    7
    New update (18/08/21) is up!

    Changes in KOSP sauce:
    * Added systemui tuner preference to settings
    * Added support for setting both light and dark accent color.
    * Killed a whole lot of debug spam.
    * Added styles and wallpapers to settings
    * Added OxygenOS icon pack
    * Updated some strings and theme in updater app
    * Fixed wonky statusbar header layout
    * Added option to choose volume panel position
    * Added option to choose gesture navbar length
    * Added option to adjust the transparency of media notification background
    * Merged latest caf tag in many repos
    * Fixed a bug in gaming mode and some other settings

    Device side changes:
    * Upstreamed parts of blobs to LA.UM.9.1.r1-10200-SMxxx0.0
    * Enabled uxe
    * Enabled incremental fs
    * Nuked some vibrator logs
    * Updated media props.
    * Use uncompressed dtbless kernel image
    * Update cam blobs from oos
    * Fix issues with blurry rounded corners
    * Changed 'dash charging' string to 'warp charging'
    7
    New update (08/09/21) is up!

    Changes in KOSP sauce:
    * Merged september security patch
    * Merged latest caf tags
    * Low battery check and other improvements in updater
    * Added our own network traffic monitor
    * Added option to disable screenshot sound
    * QS now shows 2 / 3 rows dynamically
    * Updated icons in oos icon pack
    * Fixed a systemui crash with media artwork in lockscreen
    * Improvements to FOD code
    * Fixup brightness slider position when switching orientation
    * Added support for different actions with alert slider
    * Improvements to accent picker code
    * Added font picker with ability to directly choose ttf files. No more magisk modules :D
    * Fixed accent overlays not working when rgb accent is used

    Device side changes
    * Added alert slider customization
    * Updated build prop to September coral fp
    * Rebased common tree over yaap to fix the all time favourite jitter wall
    * Updated blobs from 11.3.1.0
    * Removed moto Dolby
    * Updated kernel to dora v2.2
    * Some more things I may have missed :)

    OTA has been pushed as well. Enjoy :)
    6
    A hotfix has been pushed to OTA just now. Fixes aod schedule settings crash and oos camera video mode crash as well.