Skip to content

CAOS11 Project

Victor Bo edited this page Mar 22, 2022 · 15 revisions

Download

All target builds

About

CAOS11 (Custom AOSP OS) is a project which based on phhusson's Treble AOSP Roar GSI. I began it because original project have not only pros (stability, speed, support) but also some issues and limitations - pure AOSP code have some bugs / haven't much useful things and it's a hard way pulling it. So i did this fork. System can run with SELinux enforced state, as an original Phh AOSP GSI. Fully compatible with PHH-Treble patches. Has dynamic root which can be activated/deactivated without reboot - 'su' binary and SuperUser app (can works on all devices even with system read-only). Also has dynamic SafetyNet helper (but it compatible not with all devices), users have four ways to pass SafetyNet: a. just enable SafetyNet option (recommended) b. disable SafetyNet and enable "Spoof Pixel 5" then reboot c. enable both options and reboot d. mount system as RW and create empty file /system/phh/secure (legacy method), and in the Recovery do Wipe or Format Data

Changes

CAOS R 2022.03.21

  • March 2022 SPL (only date bumped)
  • restored Wi-Fi 'Do not validate' option in CA certificate spinner
  • added blockdev calls for RW system, this can be fix read-write mounting for some devices and otherwise can broke boot on some ones (need test)
  • backported changes from device_phh_treble: Fix Play Services crashing on Galaxy S21 Ultra, Fix bluetooth audio Motorola 'liber', Disable fingerprint gestures for Stylo 7 4G variant
  • backported from frameworks_av: fixup! Not all sources in a route are valid
  • backported from system_core: Let system override ro.apex.updatable
  • opt-out cringe TCP info parsing error (AAAAA....) on legacy kernels (commit)
  • libprocessgroup: Do not remove uid cgroups directory (commit)
  • reworked 'daisy' overlay

CAOS R 2022.02.28

  • February 2022 SPL (only date bumped)
  • to the Phh settings > Misc added new options: Restart systemUI and Dump system logs
  • backported changes from available device_phh_treble: Give Sony shutter/focus on all Sony devices, Overwrite media volume vendor values on Xiaomi Mi 11 Lite 5G, Disable fingerprint sensor input from Doogee S88 Pro, Add MiPad5's Netflix L1 prop, Fix DT2W on Xiaomi Mi 11 Lite 5G, Rename our brand from "Phh" to "google", [Moto One vision] Set eSCO size, Disable ODM display overlay for OnePlus 10 Pro, Remove Mi 11 Lite 5G (renoir) from the audio effects fix
  • to the Settings > Backup added options to select SeedVault provider; also now worked *#*#restore#*#* from dialer
  • for "daisy" enabled navbar by default to prevent conflicts with SystemUI + Gapps

CAOS R 2022.01.21

  • January 2022 SPL
  • implemented Huawei IMS patches from Iceows
  • added Seedvault app and option in Treble app for activating it
  • fixes for for some devices (mainly with Oreo vendor, A-only) access for media files from some apps like WhatsApp or Telegram (based on Iceows's patch)
  • backported changes from v400h device_phh_treble: All devices support unprocessed audio source, Fix audio for Umidigi X and Gome U9, Add Netflix ID for Mi 11 lite 5G
  • patch for gsicharger removed, should fix offline charger animation for some devices (need test)
  • added fix for Samsung J4 j4lteub with telegram and whatsapp camera (thanks •Johann• from tg)
  • trying to add support RMX2195: brightness, jackinput, fp (need test)
  • fix touch issue for Realme 6 Pro RMX2061/2063 devices, based on this report
  • volume dialog UI now follows rounded corners
  • imported Realme 6 Pro RMX2061 overlay
  • added CAOS logo image

CAOS R 2021.12.27

  • December 2021 SPL
  • phh patches v313 + some stuff backported from v400 device_phh_treble: fixes for Xiaomi Mi 11 Lite 5G, Motorola One Fusion Plus, Huawei P10, Realme GT ME, Blackview BV9500Plus etc
  • trying to fix screen recorder bug on some devices (onemoretime..), thanks Iceows for the points
  • added Phh option for enabling old cutout covering behavior in fullscreen mode
  • Umidigi A7 Pro: put notch value from stock framework-res
  • added patch for Huawei RIL signal indicator (by Iceows)
  • patch for vold timeout (by Iceows)
  • override system fonts with user-selected overlays (partially)
  • picked some commits from ProtonAOSP

CAOS R 2021.10.10

  • October 2021 SPL
  • latest available phh patches
  • trying to fix VoLTE and VoWiFi icon switches in UI tuner (need test)
  • trying to fix wrong VoLTE and VoWiFi icon color with dark theme (need test)
  • picked patches from Andy Yan: "always render windows into notch cutouts" and "enable multiple snap targets in landscape mode"
  • set system prop "ro.odm.camera=1" for all (maybe can help with camera on some devices)
  • added fix overlays resetting on every reboot
  • few Portuguese Brazilian translation
  • added network traffic monitor

CAOS R 2021.09.11

  • September 2021 SPL
  • latest available phh patches
  • added VoLTE and VoWiFi statusbar icon support (VoLTE confirmed)
  • added VoLTE and VoWiFi icon switches in UI tuner (works not as expected)
  • reverted native AOSP Miracast screen sharing feature (confirmed it works)
  • fixup "show bluetooth battery level when available" (confirmed it works)
  • added open source replacement for Qualcomm aptX libraries (need test)
  • fixed a crash in settings in tts engine selection screen
  • moar UI rounded corners target
  • disabled vendor mismatch warning
  • possibility tap outside to dismiss power menu
  • fixed UI corner overlays for default icon shape
  • fixed SafetyNet CTS for Pixel5 Spoofing option
  • new updates for Redmi Note 9S/Pro/ProMax overlays
  • added wifi 5GHz hotspot support for "daisy"
  • plus other small improvements

CAOS R 2021.08.15

  • August SPL
  • phh v312 treble patches
  • imported much patches from @sooti treble project: overlays and tweaks for Xiaomi Note 9 S/Pro/Max, overlays for Doogee Y8 and Umidigi A7 Pro, fix for IR blaster
  • included improvements for Xiaomi Note 9 S/Pro/Max overlays from @Aarqw12
  • fixed random SystemUI force-close with some of the icons styles (not default/circular/filled/rounded)
  • reworked statusbar UI tuner and added switches for privacy icons: VPN, location, camera and microphone
  • option to switch back to pre-P mobile type icon style
  • added Bluetooth battery statusbar indicator
  • set device DHCP client hostname like the device name
  • fixed location icon margins for statusbar
  • disabled WPA2 to WPA3 auto-upgrade
  • added more Clang optimizations

CAOS R 2021.07.21

  • phh v310 treble patches
  • in Display settings added UI rounded corners options (similar to G-Visual Mod)
  • debug.sf.latch_unsignaled disabled for mt6785 and sd450

CAOS R 2021.05.27

  • phh v308 treble patches
  • reworked Pixel 5 spoofing patch
  • added debug.sf.latch_unsignaled=1 (experimental)
  • set LTE by default for 'lavender'
  • fixed DT2W for Lenovo Z6
  • more optimizations

CAOS R 2021.05.07

  • SPL 5 May 2021
  • phh treble patches v307
  • fixed (my fault) WiFi hotspot for some devices, like EMUI8
  • fixed Dialer crashing, which was wrong prop "ro.kernel.android.checkjni=1" in v306
  • added zero sensitivity for back swipe gesture
  • fixed clock ":" colon on the lockscreen
  • updated PixelProps to May SPL
  • removed patch for user build
  • disabled host and target debugging
  • fixed Treble App options info
  • added more optimizations

CAOS R 2021.04.24

  • phh treble patches v306
  • reworked dynamic root, now it fully compatible with Termux
  • folder for scripts moved from /sdcard/phh to the /data/adb/phh
  • reworked SafetyNet helper, now we have four ways to pass SafetyNet: a. just enable SafetyNet option (recommended) b. disable SafetyNet and enable "Spoof Pixel 5" then reboot c. enable both options and reboot d. mount system as RW and create empty file /system/phh/secure (legacy method)
  • separated vendor apps & overlays disabling prop, you can still using old phh's variant or custom new one in Phh settings
  • reworked NFC tile behavior, again was taken from GrapheneOS (hope it works)
  • disable extra StrictMode features for userdebug builds
  • in Gapps/Go Gapps builds added Digital Wellbeing (nope, still not)
  • renamed autobrightness overlay to match phh style
  • recovery title removed from restarting message
  • set in build.prop 'user' type build

CAOS R 2021.04.03 (beta13)

  • still March SPL
  • latest v303 phh patches
  • added treble app to the allow-in-power-save list (to fix sounds in calls)
  • tweaks and overlay changes for 'lavender' Redmi Note 7
  • fixed led bug when battery is lower 15%
  • set 0.5x animation scale as default
  • new system optimizations

CAOS R 2021.03.25 (beta12)

  • phh v302+ patches
  • added new option in Phh Settings to the spoof device as Pixel 5. now we have four ways to pass SafetyNet: a. just enable SafetyNet option (recommended) b. disable SafetyNet and enable "Spoof Pixel 5" then reboot c. enable both options and remove first three lines in /sdcard/phh/secure then reboot d. mount system as RW and create empty file /system/phh/secure (legacy method)
  • added new option to the Phh settings: disabling vendor overlays from /{vendor,odm}/{overlay,app} folders (on my device this helps to blocking qcom spy application)
  • added treble app to the hidden-api-whitelist (trying to stop unloading treble app and fix calls voices)
  • reworked overlays and added some UI performance tweaks for 'curtana' & 'joyeuse'
  • fixed abnormal wake up caused by WifiConnectivityManager
  • increased low video bitrate for screen recorder to the 4Mbps
  • new offline charger fix, can help for some devices
  • added fix for Sony Xperia X notifications led
  • added power off option to the QS Reboot tile
  • overall system optimization

CAOS R 2021.03.09 (beta11)

  • March SPL
  • phh v302 patches
  • included Magisk sbin PATH support
  • reworked dynamic root to avoid any conflicts with Magisk and other system modding apps
  • included patch to the allow audio for external screen recorders
  • added options to the control DT2S on lockscreen and statusbar
  • in stock Dialer added option to set fullscreen photo
  • added option to disable notification headers
  • added QS tiles 5x3 overlay
  • interface speed up

CAOS R 2021.02.19 (beta10)

  • updated phh treble base
  • updated TrebleApp
  • reverted back apps network restriction option
  • fixed media sound policy for A-only (thx HamiDo)
  • added patch for PiP mode on lowram devices (coop with AkiraNoSushi)
  • for 'daisy' default mobile network mode changed from 21 to 9
  • added Go Gapps builds
  • and in Gappsed builds added Gboard

CAOS R 2021.02.09 (beta9)

  • February SPL
  • v300m phh patches
  • added camera fix for some vndk28-lite devices (now camera works on Xiaomi Mi A2 Lite)
  • real fix for HAL3 vendor prop (cam2api option in Phh Settings)
  • ContactsProvider from LOS
  • extendent mobile network menu
  • added screenshot quick delete button
  • added options in TrebleApp for autobrightness overlay and disabling logs
  • selinux adb rule for some MTK devices
  • added torch power button gesture
  • QS tile for reboot/recovery
  • removed some experimental patches
  • reworked system images size
  • fix for some banking apps

CAOS R 2021.01.17 (beta8)

  • implemented new workaround for SafetyNet passing, should help for many devices (used solution by kdrag0n)
  • set dynamic root services disabled by default, maybe can help for Magisk modules which using /system/xbin folder as mount point
  • added replacement for InitD, you can put commands in /sdcard/phh/run and enable AutoRun option in Phh Settings
  • fixed bug in launcher, when fullscreen apps with forced landscape mode had gesture pill on the side faces
  • added one more patch for the fixing screen recorder on some devices
  • allow snoozing SD card notification unconditionally
  • patch for fixing renaming file and moving files issue in MTP
  • added initial overlay for Realme C2 'RMX1941' with fixed power profile and improved (auto)brightness
  • few other improvements for stability and security (upstream AOSP bugfixes)

CAOS R 2021.01.10 (beta7)

  • January 2021 SPL and latest v300l treble patches
  • added new flexible variant of SafetyNet helper (Phh settings > Misc), you can using it without reboot, with system read-only and even without root (video here); use it before login to the Google account; this is beta option so send reports me if you have issues with it - but should works for many devices, especially if device had SafetyNet with secure file (btw file with commands for safetynet stored in /sdcard/phh/secure - you can modify it, you can even put Pixel props there. i hope i gave for all users universal solution)
  • all builds now in un-sparse format, raw ext4 image - you can easy mount it and modify
  • added option Screenshot with three finger swipe gesture
  • in launcher "Clear all" button moved down
  • fixed Cam2API switcher for some devices
  • updated Chromium WebView to 87.0.4280.101 (from LineageOS 18.1)

CAOS R 2020.12.25 (beta6)

  • fixed SuperUser root (was race condition, now works stable)
  • fixed custom options in Display menu, no more resets after reboot
  • restored one-click to add/remove tiles
  • added Styles & Wallpapers
  • in vanilla added FOSS Browser
  • removed touch improvement patches, seems some devices have regression
  • FUSE storage layer enabled by default (AOSP behavior, disable it in Phh Settings if you have storage low speed)
  • added fixes for Redmi Note 9 Pro 'joyeuse' (for audio, Netflix and fp touches)
  • updates from LineageOS apps

CAOS R 2020.12.21 (beta5)

  • latest Treble base v300j+
  • added enhanced dynamic root (Z) you can enable/disable superuser root without rebooting and with read-only system and even pass SafetyNet (see video). so, it should work on all treble devices
  • removed "secure" file /!\ if you need passing SafetyNet do that (better if you do it before logging to the Google account and tuning phone): in Phh Settings enable SuperUser and then hit "Add secure file" (allow root access for that), disable SuperUser, reboot device to recovery and wipe or format data. possible two problematic cases: (a) if phone doesn't boot then your phone not able using that method (weird treble base?), flash GSI again and try to find another way to passing SafetyNet (b) phone booted but still not pass SafetyNet - well, maybe your system not writable or treble base not compatible with CTS passing
  • also added new options in Phh Settings: switch to enable cgroup freezer, and switch to use FUSE storage layer (try it if you have any problem with SD-card, e.g. low speed)
  • force HAL1 for predefined package list (vendor.camera.hal1.packagelist prop)
  • removed screenshot icon from global actions
  • added QS tile mobile data switcher
  • fixed USB quick dialog
  • touch response optimizations
  • reworked NFC tile (again lol)
  • many other improvements for speed, performance, stability, security and user experience

CAOS R 2020.12.13 (beta4)

  • latest Treble base v300j
  • included post-v300j patches, so should be fixed hotspot for MTK/Exynos devices; disabled console debug notification; included Realme C2/C3 fixes for audiojack and brightness
  • specific changes beside AOSP Roar:
  • all builds can be mounted as RW by-default
  • added patches for HUAWEI USSD and call muting
  • initial overlays for Redmi Note 9S/Pro ('curtana' and 'joyeuse')
  • reworked overlay for Redmi 9 'galahad' - added (auto)brightness arrays and other fixes
  • tweaks for Xiaomi Redmi 'angelican' and 'dandelion' (brightness, audiojack)
  • imported overlays for Nokia 5.1 and Umidigi A3S from master branch
  • reworked offline charger patch, need test (on my device at least screen blanked and no more loops)
  • DeskClock replaced to Lineage 18.1 variant (AOSP have weird bug when sounds triggered with alarm notification)
  • in Treble app added option to set debug.sf.latch_unsignaled, which can help to fix UI animation lags
  • reworked NFC tile patches, need test
  • in custom settings added rounded corners tuning
  • option for gestures to set back swipe height
  • reworked QS tiles overlays for Android 11
  • GAPPS changes
  • image sizes around: arm64 2.8Gb, arm 1.9Gb, a64 1.8Gb
  • removed many Google apps, which you can easy get from Play Store
  • default launcher is Trebuchet

CAOS R 2020.11.27 (beta3)

  • added capability to allow tethering to use VPN upstreams
  • added QS tiles: Volume panel, USB-tethering, HeadsUp, Ambient trigger
  • added options to disable network access for selected apps (wifi, mobile, VPN or total)
  • disabled some disputable Google components, for sample is fixed overall WiFi speed in the aggregate with GPS + Bluetooth
  • option to reset battery stats (also to the opening battery stats just tap battery icon)
  • relax AVC level requirement to fix screenrecording on old devices
  • removed DUN requirement for tethering
  • added back 2-button navigation overlay
  • enabled screenshot action for 3-button nav too
  • allow adjusting screen density to smaller sizes
  • many other improvements for speed, performance, stability, security and user experience

CAOS R 2020.11.17 (beta2)

  • latest v300i patches
  • reverted sbin folder for magisk
  • added mark as read in SMS notification
  • added call recording in Dialer
  • updated SimpleGallery to 6.17.3+
  • option to customize handle in full gestural navigation mode (change width or total hide)
  • improved screen recorder (stop dot and quality switch)
  • slightly improved speed of laucher's animations
  • Package installer: show current and new version on apk
  • speed up storage by disabling FUSE
  • removed black bottom area for old apps
  • added screenshot sound trigger
  • many other improvements for speed, performance, stability and user experience

CAOS R 2020.11.13 (beta1)

  • beta builds if you want test
  • recommend only for users who can boot Roar v300i
  • changes beside AOSP Roar:
  • no 'su' root, no superuser
  • added /system/phh/secure
  • stock AOSP sounds replaced with Q Google sounds
  • replaced apps: Camera, Dialer, Messaging, Contacts, Calendar, launcher, keyboard & calculator (from LineageOS 18); Gallery (Simple Gallery)
  • tuning of the status bar, icons more tightly to each other
  • Phh Setting moved to bottom of all settings (please don't be scare😄)
  • slightly changed visual style, color accent Pixel, fixed some visual design flaws
  • added option "Swipe for notifications" for fingerprint scanner
  • DPI change setting is now in the "Display" section
  • IMEI info is hidden under each available SIM card
  • added 0.2x, 0.8x & 1.2x to the animation speed selection menu (default set to the 0.8x)
  • added the Recovery option to the reboot menu
  • appends app name to the screenshot filename
  • for Mi A2 Lite, LTE is set by default
  • added display of SELinux status in Settings
  • turned off the indicator flashing when the battery level is low
  • added an custom options in the Display menu to choise color of accent (added much), font (also added much fonts), icons style/shape, dark theme colors, statusbar padding, QS alpha, QS layout, UI speed/powersaving
  • in stock camera removed HAL3 green artefacts which exist on Xiaomi devices
  • fixed status info of security patches (system and vendor)
  • in launcher added double tap for screen-off gesture
  • on battery saver auto dark mode disabled, you can choise light/dark theme
  • removed annoying build number in QS footer
  • added doubletap-to-sleep on lockscreen
  • OOS style switches (picked from HavocOS)
  • added custom Google Cloud restore option (Settings > Accounts)
  • fixed error when uninstalling some programs (which used SD-card)
  • added option to invert navbar buttons order (in Phh settings > Misc)
  • tweaks for Xiaomi Redmi 9 'lancelot' and Redmi Note 9 'merlin' (audiojack, brightness, fp touches)
  • changed minimal brightness level for Redmi Note 8 Pro
  • import OnePlus 8 Pro 'instantnoodlep' overlay
  • initial Redmi 9 'galahad' overlay
  • added System UI Tuner (Display menu)
  • disabled suggestions on Settings main screen
  • removed ugly divider lines in Settings UI
  • added additional CLI utils: 7z, ntfs-3g
  • added DT2W support for QIN 2
  • updated Redmi 6 Pro overlay
  • lock icon disabled
  • and other bug-fixes and improvements

Bugs

  • excluding fixes, the same as on AOSP Roar (in some cases doesn't work: broadcasting on TV, calls via BT; offline charging does not work normally etc etc)
Clone this wiki locally