• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][OFFICIAL][9.0.0_r35] COSP 9.0 [ENFORCING][No-VoLTE]

Do you like this ROM?


  • Total voters
    3
Status
Not open for further replies.

LinuxPanda

Senior Member
May 24, 2017
691
531
93
India


Code:
[B]/* Disclaimer 
* 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 blame me in any way for what happens to your device, I will laugh at you.
* BOOM! goes the dynamite
*/[/B]
Welcome to COSP, your new future Android Operating System.
Our goal is to have an Pixel-like android ROM that isn't spying on you and uses as few system space as possible. Also, we provide the option to go completely without GApps using MicroG support.

Why us?
We are focusing on stability and performance, having an debloated ROM is essential for that. Also, we want Users to decide what kind of Store they want to use, either F-Droid or the Play Store.
Also, we take User requests serious. To suggest something, contact us on telegram.


Features:

1) All systemUI tuning elements
2) An handy Network indicator
3) Charging Information
4) Lawnchair and Quickstep as default
5) Quick Settings mods
6) Signature spoofing
7) OP gestures
8) Navbar tuner
9) Rootless Substratum (with fixes to theme system correctly)
10) Screenshot/screenrecord tile
11) Advanced power menu
12) Double tap to sleep on statusbar
13) Option to disable quick settings/power menu on secure lockscreen

OTA Updating for official devices enables Users to get the newest version with ease.


Sources:
ROM Source
Kernel Source

Download Links:
ROM: Stable
Changelog: Stable
Gapps: Open GApps | MindTheGapps
Only Pico/Nano are the recommended Open GApps packages

Flashing Instructions:
You need to flash manually via recovery because OTA update doesn't seem to work with twrp/orangefox.

Clean Flash
• Downloaded the new rom build to your phone using the direct link or XenonOTA app
• Reboot to recovery
• Take full backup in twrp
• Wipe (system, data, cache, dalvik)
• Flash the new build
• Install GApps package
• Reboot - The first boot can take up to 5 minutes

Dirty Flash
• Downloaded the new rom build to your phone using direct link or XenonOTA app
• Disable Magisk modules if you're using any
• Reboot to recovery
• Take full backup in twrp
• Wipe (system, cache, dalvik)
• Flash the new build
• Reboot

What's working:
• Audio
• Bluetooth
• Camera/Camcorder/Flash
• Charging/Offline-charging
• Cast
• Doze/Deep-sleep
• Fingerprint
• GPS
• Hotspot/Tethering
• IR?
• SELinux [with neverallows]
• Torch
• RIL (Calls, SMS, Data)
• Wi-Fi

Known issues:
• Google Assistant [Found the proper fix, but it breaks in-call volume adjustment, so RIP for now]
• Volte [Apparently volte breaks other things, so no volte until a proper fix is made]

Notes:
• ROM built with doge kernel, so report bugs only if you're using doge kernel

XDA:DevDB Information
Official COSP 9.0, ROM for the Xiaomi Redmi 5

Contributors
xDoge
Source Code: https://github.com/cosp-project

ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.18.x
ROM Firmware Required: Oreo
Based On: AOSP

Version Information
Status: Stable

Created 2019-03-14
Last Updated 2019-04-13
 
Last edited:

LinuxPanda

Senior Member
May 24, 2017
691
531
93
India
ChangeLogs
20190413
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• Official stable build
• April security patch [9.0.0_r35]
• Enabled interaction boost support [seems to improve ui responsiveness]
• Build signed with private keys [Need clean flash else won't boot]
[B]Kernel Changes:[/B]
• Upstreamed to CAF tag LA.UM.7.6.r1-04500-89xx.0
• Upstreamed to 3.18.138
• Disabled vga arb support
• Removed kcal support
• Enabled triple framebuffer support
• Enabled ext4 encryption support
• Enabled f2fs encryption support
• More config changes, please [URL="https://github.com/LinuxPanda/android_kernel_rosy/commits/p-318/arch/arm64/configs/rosy-doge_defconfig"]check this link[/URL] for all changes
• External speaker driver changes
• Enabled fast io pagetable subset support
• Disabled irq time accounting & moved to tick cpu accounting
• Disabled hmp scheduler support since redmi 5 doesn't have heterogenous multi-processor and so don't need big.LITTLE cpu support
• Add BFQ i/o scheduler and made it as default i/o scheduler
• ROW i/o scheduler support removed[/COLOR]
20190314
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• Initial BETA build [9.0.0_r34]
• OSS camera hal upstreamed to LA.UM.7.6.r1-04300-89xx.0
• Defined TCP buffer sizes for various networks in qcom init file[/COLOR]
[B]Kernel Changes:[/B]
• Upstreamed to CAF tag LA.UM.7.6.r1-04300-89xx.0
• Audio driver cleaned up
• Video driver changes [Touch screen feels more responsive/smooth]
• Enabled support for host based touch processing [Unsure if it really changes anything since I have no idea if our touchscreen supports it?]
• Kcal support
• Westwood TCP congestion algorithm made as default [Makes network performance smooth/better][/COLOR]
 

Attachments

Last edited:
  • Like
Reactions: rishi4082

LinuxPanda

Senior Member
May 24, 2017
691
531
93
India
FAQ

1) Will there be regular updates?
Atleast once/month, usually after aosp security patch is merged.
Apart from that, Ill release a new build in case of major bugs that breaks the ROM to be used as daily driver.

2) When will you fix VoLTE?
After xiaomi releases miui pie stable for redmi 5. :cool:

3) How to report bugs?
• DO NOT Report bugs if you're running a custom kernel and/or if you've 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].
• If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
• Mention what custom stuffs you've installed in the rom, like Magisk modules, etc.
• If its a random reboot, grab dmesg. [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.

 
Last edited:

Manosdocpap

Senior Member
Feb 26, 2017
160
76
0
One of the fastest ROMs in general using I have seen.
Small bug, the statusbar items are too far away from the screen corners. The setting is probably around 5 where it should have been to 0 since this ROM does not have rounded corners or the vendor does not sets this. Having no rounded corners is the right choice for our panel. But the items border padding need tweaking.

Other than that we have the microphone not working in various third party apps like Google assistant, Shazam, etc. This is definitely an acdbdata thing.

Other than that it is absolutely simple clean and we'll thought. I would like to see it maintained as long as the microphone bug is resolved
 

LinuxPanda

Senior Member
May 24, 2017
691
531
93
India
Is there rounded corners on this ROM? If there is, is there customization?
No customization for rounded corner yet.

One of the fastest ROMs in general using I have seen.
Small bug, the statusbar items are too far away from the screen corners. The setting is probably around 5 where it should have been to 0 since this ROM does not have rounded corners or the vendor does not sets this. Having no rounded corners is the right choice for our panel. But the items border padding need tweaking.

Other than that we have the microphone not working in various third party apps like Google assistant, Shazam, etc. This is definitely an acdbdata thing.

Other than that it is absolutely simple clean and we'll thought. I would like to see it maintained as long as the microphone bug is resolved
Will fix the status bar icon placing in the next build.

Microphone with google apps, it works but breaks in-call volume adjustment. And thank you very much for the feedback. :)
 

LinuxPanda

Senior Member
May 24, 2017
691
531
93
India
New build is up. We're official now.

20190413
Code:
[COLOR="DimGray"][B]ROM Changes[/B]
• Official stable build
• April security patch [9.0.0_r35]
• Enabled interaction boost support [seems to improve ui responsiveness]
• Build signed with private keys [Need clean flash else won't boot]
[B]Kernel Changes:[/B]
• Upstreamed to CAF tag LA.UM.7.6.r1-04500-89xx.0
• Upstreamed to 3.18.138
• Disabled vga arb support
• Removed kcal support
• Enabled triple framebuffer support
• Enabled ext4 encryption support
• Enabled f2fs encryption support
• More config changes, please [URL="https://github.com/LinuxPanda/android_kernel_rosy/commits/p-318/arch/arm64/configs/rosy-doge_defconfig"]check this link[/URL] for all changes
• External speaker driver changes
• Enabled fast io pagetable subset support
• Disabled irq time accounting & moved to tick cpu accounting
• Disabled hmp scheduler support since redmi 5 doesn't have heterogenous multi-processor and so don't need big.LITTLE cpu support
• Add BFQ i/o scheduler and made it as default i/o scheduler
• ROW i/o scheduler support removed[/COLOR]
 
Last edited:

gingerboy92

Senior Member
May 7, 2011
730
187
0
alright i realized what's wrong.
https://github.com/gingerboy92/sdm450/commit/f1fa47d59ddcb0ce48d882897ccdd0fee39fca94
i applied the fix for the crazy focus hunting to your actual source. just realized you used a different path for camera source. can you help me clean up the patch? i'm not sure which part actually fixed the bug. also if you can make the front camera flash works it'll be great too.
i picked the code from here. didn't apply everything for front flash since it's too much for me and i dont really use the front camera much.
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commit/a87054ac05425a9974fcbf9e419c5a596180bad9
 
Last edited:
  • Like
Reactions: LinuxPanda
Status
Not open for further replies.