[ROM][12][OFFICIAL][GUACAMOLE]KOSP 2.2

Search This thread

npv12

Senior Member
Nov 28, 2020
186
282
Gujarat
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.
  */

banner.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 has dropped sdcardfs
  • We are enforcing and safety net passes out of the box

What's broken?
  1. 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:

  • Download the fastboot zip, It ends with -img.zip.
  • Boot to bootloader
  • fastboot update --skip-reboot --skip-secondary zipname
  • Now reboot to recovery
  • Factory reset in the recovery
  • Reboot system

Upgrading:
It is recommended to update using updater
Via recovery:
  • Reboot to recovery
  • Sideload with ADB (preferred)
  • Reboot to recovery
  • 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.4.1

Android Version: 12

Based On: AOSP

Version Information

Version: 2.2

Status: Beta

Created 2021-10-31
Last Updated 2021-12-18
 
Last edited:

Toutatis_

Senior Member
Oct 3, 2012
1,335
813
Code:
sudo fastboot update --skip-reboot --skip-secondary KOSP-2.0-guacamole-user-OFFICIAL-GAPPS-20211031-1701-img.zip
[sudo] password for username:
--------------------------------------------
Bootloader Version...:
Baseband Version.....:
Serial Number........: redacted
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product'                                 FAILED

Device product is 'msmnile'.
Update requires 'OnePlus7Pro'.

fastboot: error: requirements not met!

🤔

Edit: zip downloaded from the "GDrive" link. I guess changing

Code:
board=OnePlus7Pro

to

Code:
board=msmnile

in android-info.txt should work?

Edit 2: yes, it worked.
 
Last edited:
  • Like
Reactions: RokCruz and Nasty_z

Toutatis_

Senior Member
Oct 3, 2012
1,335
813
I cannot sideload Magisk with built-in recovery. I keep getting

Code:
Finding update package...
Verifying update package...
E: footer is wrong
Update package veridication took 0.1 s (result 1).
E:Signature verification failed
E:error: 21
Install from ADB completed with status 2.
Installation aborted.

I tried with 23.0 and latest Canary, same. Anyone else?

Edit: patching boot.img works just fine of course, I'm just curious as to why built-in LOS recovery doesn't allow me to sideload any Magisk zip file. Usually it asks if I want to skip the verification check and the process is successful.
 
Last edited:

paultje162

Senior Member
Oct 16, 2010
280
180
OnePlus 7 Pro
Google Pixel 6 Pro
Code:
sudo fastboot update --skip-reboot --skip-secondary KOSP-2.0-guacamole-user-OFFICIAL-GAPPS-20211031-1701-img.zip
[sudo] password for username:
--------------------------------------------
Bootloader Version...:
Baseband Version.....:
Serial Number........: redacted
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product'                                 FAILED

Device product is 'msmnile'.
Update requires 'OnePlus7Pro'.

fastboot: error: requirements not met!

🤔

Edit: zip downloaded from the "GDrive" link. I guess changing

Code:
board=OnePlus7Pro

to

Code:
board=msmnile

in android-info.txt should work?

Edit 2: yes, it worked.

Can confirm this works for me aswell
 

paultje162

Senior Member
Oct 16, 2010
280
180
OnePlus 7 Pro
Google Pixel 6 Pro
Sadly i can't seem to be able to install chrome on this. It's complaining about missing dependencies. Anyone know why this could be? All other stuff works fine. Even stock OOS camera (with all camera's) and Gallery work!

Edit: After a reboot it seems to install fine!
 
Last edited:

Toutatis_

Senior Member
Oct 3, 2012
1,335
813
So far so good after the first day, very smooth ROM. The fingerprint sensor feels much faster and accurate than any of the 10 and 11 custom ROMs I've used.


Do I have to be on 11.0.3.1?
Can it be a higher version of OOS?

Don't quote me on this but I think it doesn't matter. 11.0.3.1 is required but if you're on 11.0.4.1 it shouldn't be an issue.
 

KramerJohn

New member
Nov 2, 2021
4
0
When playing the game, switching back to the desktop and returning to the game, there will be abnormalities, broken sound, screen freezes, and dropped frames
 

Dhimas97

Senior Member
Sep 13, 2016
90
10
Sony Xperia Z5 Premium
LG Nexus 5X
I cannot sideload Magisk with built-in recovery. I keep getting

Code:
Finding update package...
Verifying update package...
E: footer is wrong
Update package veridication took 0.1 s (result 1).
E:Signature verification failed
E:error: 21
Install from ADB completed with status 2.
Installation aborted.

I tried with 23.0 and latest Canary, same. Anyone else?

Edit: patching boot.img works just fine of course, I'm just curious as to why built-in LOS recovery doesn't allow me to sideload any Magisk zip file. Usually it asks if I want to skip the verification check and the process is successful.
How to install the magisk root ?I already patch the boot.img with magisk manager, then reboot to bootloader to boot that patched boot.img. after that i've seen the ramdisk is said "no" . then i choose to direct install as alwyas. and its error it say cannot find target image.

edit :
I use command "fastboot flash boot bootpatched.img" instead of "fasboot boot" and use direct install from the app
 
Last edited:

Toutatis_

Senior Member
Oct 3, 2012
1,335
813
How to install the magisk root ?I already patch the boot.img with magisk manager, then reboot to bootloader to boot that patched boot.img. after that i've seen the ramdisk is said "no" . then i choose to direct install as alwyas. and its error it say cannot find target image.

edit :
I use command "fastboot flash boot bootpatched.img" instead of "fasboot boot" and use direct install from the app

I don't know, that's exactly what I did too and it worked as expected. I patched the boot.img with Magisk 23.

I guess you cannot sideload it via built-in recovery either, just like me? an alternative method is to flash the zip with apps such as EX Kernel Manager or Franco Kernel Manager (paid apps), I used the former to flash latest Magisk canary and it worked just fine.

Nevermind, you obviously need root for this. Silly me 🥴
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Anyone else has an issue with Ambient Display not showing on tap? Fixes itself sometimes after restart, but now it doesn't work for the entire day, tried messing around with all settings and can't get it back to work on tap, KOSP 2.7
  • 28
    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.
      */

    banner.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 has dropped sdcardfs
    • We are enforcing and safety net passes out of the box

    What's broken?
    1. 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:

    • Download the fastboot zip, It ends with -img.zip.
    • Boot to bootloader
    • fastboot update --skip-reboot --skip-secondary zipname
    • Now reboot to recovery
    • Factory reset in the recovery
    • Reboot system

    Upgrading:
    It is recommended to update using updater
    Via recovery:
    • Reboot to recovery
    • Sideload with ADB (preferred)
    • Reboot to recovery
    • 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.4.1

    Android Version: 12

    Based On: AOSP

    Version Information

    Version: 2.2

    Status: Beta

    Created 2021-10-31
    Last Updated 2021-12-18
    9
    Source side changes

    - Added lock screen charging info
    - Merged November patch aka r13
    - Fixed fod not working on aod
    - Updated a few GApps.
    - Fixed google dialer showing "Your device may not be supported"
    - Removed now playing from settings
    - Added sliders for monet engine color override
    - Added network traffice indicator
    - Added back wifi and mobile data tile
    - Fixed ota not working in Updater and some other possible crashes
    - Switched to lawnchair alpha 3
    - updated some Chinese translation
    - Add double tap to sleep on ls
    - Add double tap to sleep on statusbar
    - Extend double tap to wake to AOD
    - Added livedisplay and anti-flicker (DC dimming) tile
    - Add in-call vibration

    Device side changes
    - Updated blobs from 11.0.4.1
    - Fixed IFAA crashes
    - Nuked QCOM wfd
    - Prebuilt libssrec
    - Decrease fp hbm flash. Still happens but much rarer
    - Fixed als correction service
    - Fixed fps drops in games and while switching apps

    New build up
    Download link https://downloads.kosp.workers.dev/...ole-user-OFFICIAL-GAPPS-20211107-1631-img.zip

    You may also use the ota package and local upgrade using the updater. Hopefully we will be pushing OTA from next update. Have a great day :)
    7
    New update is up. You can download them from here:

    Changes in KOSP sauce:

    * Fixed fod being detected in notification shade after unlocking from ambient display.
    * Added option to unlink ring and notification volume.
    * Fixed some issues with app debugging.
    * Disabled transition to lockscreen from ambient display when unlocking with fod.
    * Vastly improved network traffic monitor.
    * Added fullscreen gestures(hidden pill and keyboard space).
    * Fixed certain app crashes (AXIS Bank for ex).
    * Fixed front cam not working in gcam / signal.
    * Dynamic fonts for lockscreen and quick settings.
    * Updated lawnicons.
    * Fixed lockscreen battery info toggle.
    * Imported setup wizard from Pixel 6.
    * Fixed unlimited Google photos backup.
    * Fixed lawnchair search.
    * Fixed live captions.
    * Fixed app info page crash.
    * Added some missing icons in wifi settings page.
    * Disable ss vibration when toggle is off.
    * Fix crash in app info page when play store is disabled
    * Merged latest CAF tags.
    * Updated Chinese translations.

    Device side changes
    * Improve fod and take care of a bunch of edge cases which made fod not work.
    * Fix retry/close buttons not working on error open/close camera alert.
    * Merge LA.UM.9.1.r1-11300-SMxxx0.0 treewide and for all wlan submodules
    * Upstream to 4.14.256

    Also i apologise for not being active here. I have been busy.
    Have a great weekend
    6
    KOSP Updater
    Device: guacamole
    Version: 2.2
    Date: 05.Jan 2022

    Source side changes:
    * Merged January security patch (android-12.0.0_r26)
    * Added gaming mode with quite some cool features
    * Added fps info tile
    * Imported new smartspace implementation (Brings back ambient clock to the center)
    * Removed lockscreen media art feature
    * Fixed alert slider theme not changing after toggling dark theme
    * Improved and fixed a few bugs with media notification background artwork
    * Fixed battery bar not appearing for guacamoleb in expanded qs panel
    * Suppressed annoying system ANR reports (waiting for fix from google)
    * Fixed battery stats * Added notification counter
    * Updated graphene os camera
    * Updated translations
    Device side
    * Fix carrier video calling
    * Fix zram issues on other kernels
    * Rewrite device settings in the basin and add few features like pop up while opening camera.
    * Adapt to a12 ui for device settings
    * Switch to qti bt * Update blobs from 11.0.5.1
    * Remove vibrator preferences for guacamoleb
    * Fix alert slider position for hotdogb
    * Fix charging position on hotdogb
    * Stop client package observer when oos cam is not installed
    * Update translation * Update kernel to latest dora

    original link changelog: AOSP-Krypton/ota


    P.S.
    I did the update right away,
    it works great. Thanks to the developers.
    5
    Source side changes

    * Merged aosp r20 tag
    * Dropped lockscreen shortcuts
    * Fixed DT2W not working from ambient / aod in some scenarios
    * Fixed refresh rate tile showing wrong refresh rate after setup
    * Reworked alert slider with a better design and animations
    * Added acherus icon pack
    * Added option to choose different ringtone for multiple SIMs
    * Added oos vibration patterns and an option to choose custom pattern as well
    * Added a new set of torch gestures (dropped old one's)
    * Added media notification background customisations
    * Added lockscreen media art
    * Added 3 finger swipe screenshot gesture
    * Updated chinese translations

    Device side changes

    * Fix nfc tap to pay
    * Enable fuse passthrough
    * Declare opengl depq level
    * Actually enable auto brightness on aod
    * Allow surface flinger to call als correction
    * For kernel changes tag thenem0

    Have a great weekend :)