[ROM][12][OFFICIAL][HOTDOGB]KOSP 2.2

Search This thread

JChT

Member
Dec 7, 2021
11
0
i'm trying to flash the rom ( coming from PE 12 ) and it says

fastboot update --skip-reboot --skip-secondary KOSP-2.2-hotdogb-user-OFFICIAL-GAPPS-20211218-1816-img.zip
extracting android-info.txt (0 MB)...
extracting boot.img (96 MB)...
target didn't report max-download-size
archive does not contain 'boot.sig'
extracting dtbo.img (24 MB)...
archive does not contain 'dtbo.sig'
archive does not contain 'dt.img'
extracting recovery.img (96 MB)...
archive does not contain 'recovery.sig'
extracting system.img (796 MB)...
archive does not contain 'system.sig'
extracting vbmeta.img (0 MB)...
archive does not contain 'vbmeta.sig'
extracting vendor.img (654 MB)...
archive does not contain 'vendor.sig'
--------------------------------------------
getvar:version-bootloader FAILED (remote: GetVar Variable Not found)
finished. total time: 0.005s




any ideas ?
Enter fastbootd mode(usb调试,手机连接电脑,输入adb reboot fastboot)

adb reboot fastboot
fastboot -w
fastboot reboot fastboot
fastboot erase scratch(好像无效)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dtbo dtbo.img
fastboot flash odm odm.img
fastboot flash system system.img
fastboot flash system_ext system_ext.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash super_empty super_empty.img(好像无法写入,论坛有人提问,大神说跳过)
fastboot flash userdata userdata.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot reboot
 
Last edited:

dpj52190

Senior Member
Jan 7, 2013
75
14
Is anyone experiencing auto brightness issues? I'm having screen going full brightness when white background around light sensor. Else going full dark if dark background. Also when I adjust brightness to bit higher. After few seconds. Auto brightness adjusts to way higher. Almost like the screen is throwing light into light sensor in a closed loop. Really annoying. Oxygen os had it somewhat stable. Probably by comparing current OS brightness level with sensor output to figure out true ambient light data. Im using glass screen protector. But wasn't this bad in oxygen os. Any recommendation?
 
  • Like
Reactions: Raenzen

AnkeshReborn

Senior Member
Jan 6, 2014
584
253
Noida
OnePlus 7T
I can't get root tow ork after ota updating kosp. I tried patching boot.img from magisk app and sideloading it in fastboot but didnt workk. Any other known methods to root? Maybe via twrp?
 
I can't get root tow ork after ota updating kosp. I tried patching boot.img from magisk app and sideloading it in fastboot but didnt workk. Any other known methods to root? Maybe via twrp?
What did you do in sideloading?
I got it working via flashing magisk patched boot image to both a and b slots of boot. Also you will need canary magisk to root Android 12.

The command I used.
Code:
fastboot flash --slot=all boot migiskpatchedboot.img
 

AnkeshReborn

Senior Member
Jan 6, 2014
584
253
Noida
OnePlus 7T
What did you do in sideloading?
I got it working via flashing magisk patched boot image to both a and b slots of boot. Also you will need canary magisk to root Android 12.

The command I used.
Code:
fastboot flash --slot=all boot migiskpatchedboot.img
Not using the canary verison of the magisk was my mistake. Things are working fine now. My bad.
 
  • Like
Reactions: juned.khatri31

george.tian

Member
Mar 23, 2017
12
1
Hi @npv12, thank you for this ROM, love your work! For the people who would like to go the MicroG route, would it be possible for you to upload a version without Gapps installed?

Also, you state that it uses Dora kernel, does that mean I don't have to manually install/update Dora and use a kernel manager app according to the instructions found here?
 
Last edited:

shishir_13

New member
Jan 4, 2022
4
0
Bangladesh
I am loving this rom so much. But also missing oos stock Camera apk on my OnePlus 7T. Is this possible to add oos stock camera to this rom by default for OnePlus 7T ?
 

shishir_13

New member
Jan 4, 2022
4
0
Bangladesh
I am loving this rom so much. But also missing oos stock Camera apk on my OnePlus 7T. Is this possible to add oos stock camera to this rom by default for OnePlus 7T ?
 

npv12

Senior Member
Nov 28, 2020
186
281
Gujarat
OnePlus 7 Pro
Hi @npv12, thank you for this ROM, love your work! For the people who would like to go the MicroG route, would it be possible for you to upload a version without Gapps installed?

Also, you state that it uses Dora kernel, does that mean I don't have to manually install/update Dora and use a kernel manager app according to the instructions found here?
I won't make a non gapps version

You don't have to manually install Dora. It comes with the rom
 

justyoguy

Member
Nov 16, 2017
16
1
Chandigarh
Does the OTA updater on KOSP support security patches only, or major OS updates as well? Would I be able to update to KOSP for a13 from KOSP for a12 using the OTA updater?
 

nkhater

Senior Member
Dec 1, 2006
629
192
Jerusalem Palestine
I am having a continuous crashing/freezing issue with this ROM, I have to hard reset /reboot to fix it, it keep on freezing every 15 minutes, anyone else has this issue

not sure what happen, my phone is no longer crashing
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    I have a problem installing the rom, following instructions from the first post.

    After extracting super_empty.img my device reboots to the orange fastbootd and I'm getting an error:

    extracting super_empty.img (0 MB) to disk... took 0.000s Rebooting into fastboot OKAY [ 0.004s] < waiting for any device >
    Sending 'super' (4 KB) FAILED (remote: 'Download is not allowed on locked devices')
    fastboot: error: Command failed


    Tried sideload with the recovery.
    Following error :

    E: Current SPL : 2022-05-05 Target SPL : 2022-03-05 this is considered a downgrade
    E: Denying OTA because it's SPLdowngrade.

    However the file downloaded and sideloaded was KOSP-2.7-hotdogb-user-OFFICIAL-GAPPS-20220503-0502.zip
    Hotdog User here, Was facing the exact same error :
    Sending 'super' (4 KB) FAILED (remote: 'Download is not allowed on locked devices')
    fastboot: error: Command failed
    So I downloaded the Normal ZIP (one without -img.zip) and tried to adb sideload in recovery. Worked for me.
    If its not working then try a older version like 2.6.
    1
    I have a problem freshly installing the rom (coming from LOS11), following instructions in the first post.
    After extracting super_empty.img my device reboots to the orange fastbootd and I'm getting an error:
    extracting super_empty.img (0 MB) to disk... took 0.000s Rebooting into fastboot OKAY [ 0.004s] < waiting for any device > Sending 'super' (4 KB) FAILED (remote: 'Download is not allowed on locked devices') fastboot: error: Command failed
    1
    Once you have the recovery, you can download the other version (that doesn't have IMG in its name) and sideload it
  • 15
    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:
    • hotdogb 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 7T

    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
    13
    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
    * Remove oos gallery from prebuilt
    * Fix alert slider overlay

    Also i apologise for not being active here. I have been busy.
    Thanks and have a great weekend
    5
    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/...hotdogb-user-OFFICIAL-GAPPS-20211107-1752.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 :)
    3
    My display defaults to 60Hz. There seems to be no option to enable 90Hz. Could someone help me with this?
    There is a qs tile which you can use.
    3
    I have a problem installing the rom, following instructions from the first post.

    After extracting super_empty.img my device reboots to the orange fastbootd and I'm getting an error:

    extracting super_empty.img (0 MB) to disk... took 0.000s Rebooting into fastboot OKAY [ 0.004s] < waiting for any device >
    Sending 'super' (4 KB) FAILED (remote: 'Download is not allowed on locked devices')
    fastboot: error: Command failed


    Tried sideload with the recovery.
    Following error :

    E: Current SPL : 2022-05-05 Target SPL : 2022-03-05 this is considered a downgrade
    E: Denying OTA because it's SPLdowngrade.

    However the file downloaded and sideloaded was KOSP-2.7-hotdogb-user-OFFICIAL-GAPPS-20220503-0502.zip
    Hotdog User here, Was facing the exact same error :
    Sending 'super' (4 KB) FAILED (remote: 'Download is not allowed on locked devices')
    fastboot: error: Command failed
    So I downloaded the Normal ZIP (one without -img.zip) and tried to adb sideload in recovery. Worked for me.
    If its not working then try a older version like 2.6.