Platinum Member

Rank: 4

Credits
2334
Device
Redmi Note 5/Pro
Online time
98 Hours
Send PM

Mi BandMi Band 2Mi Selfie StickXiaomi 7th AnniversaryMIUI 2016MIUI Devices ContestMIUI 8Redmi Note 4XMi 5Redmi 4/Prime/4ACamera Filter Guru MedalHappy Valentine's DaySuper MondaySingapore Merlion MedalMIUI 7th AnniversaryMIUI Happy MedalRocket to FutureMIUI 9Fan Of MIUI BangladeshPuzzle MasterSuper SaturdayHappy Holi MedalSurpriseDebate MasterMIUI Follower2017 Annual AwardsMIUI Weekly Devices QuizAndroid ElfAndroid GuruScroll Of WisdomMi Lover MedalStar Of TechnologyIndia Independence Day

[Review] Substratum theme engine For Custom Roms

[ Promote]
1433 11 |
03:16, Feb-15-2017 | From PC
|
|
Go to reply no.
This post was edited by mnnahid at 01:41, Feb-15-2017

SUBSTRATUM1-810x298_c.png


Meet Substratum, the Future of Theming That’ll Take over Layers



What is Substratum?
Substratum is an application, downloadable from the Play Store, that utilizes all of Sony's Overlay Manager Service (OMS), found on the official AOSP code review. This is similar to Layers in terms of stability and customization as it runs off an upgraded version of the Resource Runtime Overlay system, with the added benefit of running up-to-date Sony code on a customized ROM.




1.PNG 2.PNG
3.PNG 4.PNG
5.PNG 6.PNG


What is Masquerade?
Masquerade is, simply, a helper app, that gets prebuilt by Substratum supported ROMs, allowing Substratum to alleviate OMS tasks in the background without refreshing any assets. In technical terms, Masquerade is a service that loads OMS commands into the system directly, and while OMS itself refreshes resources and assets on runtime, it will refresh the caller's window, asking it to refresh resources and assets each time an overlay is loaded/unloaded from the system.

What about CMTE?
I would like to say here, that we aren't trying to compete with the CyanogenMod Theme Engine at all. Think of the Substratum project as a community-driven project where a chunk of the open-source community coming together to create something we wanted in the start.

We want to start from ground zero, without basing any code off of a huge chunk of code made by a corporation, but creating what we call "tweaks" as a built-in within our system (such as prebuilt accent choosing, theme customization based on user selection, infinite possibilities based on themers, etc.).

Substratum was built by and with themers in mind. OMS was created by Sony and is planned to be merged into the source, meaning that we are running what Android should be running, rather than completely modifying a framework from the base with many changes that can't be understood by the average ROM developer.

CMTE runs on the RRO2 system, which is the base of what Layers was running on. RRO2 is deprecated, and superseded by the OverlayManagerService (OMS) within Sony's code in the AOSP code review.

Final thing, instead of competing against CMTE, we sincerely thank them for providing CMTE as an open sourced project. We were able to filter out everything needed by understanding the Theme Engine completely from a low level standpoint.

Why is this better than Layers?
  • No longer require soft or hard reboots when applying themes
  • We can apply fonts without rebooting
  • We can apply System sounds from a theme, such as lock/unlock/effect_tick sounds, to make your unlock sounds match your theme
  • Does not use the vendor/overlays partition/folder anymore, to limit down possible security vulnerabilities and reflashing vendors constantly
  • Active and consistent development based on upstream Sony code, as well as team code. Relying on the old system meant bringing up legacy code to newer versions of Android, even when we know the RRO2 system is being superseded already.

How is this different from Layers?
  • Overlays are loaded at runtime (truly) when you launch an application. You may briefly see an original resources screen flicker when you open an app, and that is being worked on by the team. However, due to the nature of how OMS works, it truly brings runtime theming when you start applications, rather that bloating the system down trying to extend resources of applications you aren't currently using.

Download Link

7.PNG
Favorite Share

Rated by 1 person   Experience Reason  

msalauddins + 10 Awesome!

Experience +10  View Rating Log

Moderator

Mi Fan Club Bangladesh

Rank: 7Rank: 7Rank: 7

Credits
23807
Device
Mi Note 3
Online time
814 Hours
Send PM

Mi HeadphonesMi HomeMi Band 2Mi VRUnlock MedalYeelight Bedside LampMi Bluetooth SpeakerMi KeyMijia Story TellerMi VR HeadsetMi BandMi Power Bank 10000MAH Yi Action CameraMi  BunnyMi Selfie StickMijia Qi CycleXiaomi 6 LaunchMi Kids WatchMi Bluetooth HeadsetMagic CubeXiaomi 7th AnniversaryMIUI Devices ContestMIUI 8MIUI 7Fantastic!MIUI 2016AnTuTuMarshmallowI Love MIUIAwesome!Mi 5Mi TVRedmi Note 3Redmi Note 4Redmi 4X4 Million Forum MembersRedmi Note 2MIUI Weekly PollFan Of MIUI ItalyMIUI P10 Million Forum PostsHappy Singles' DayMIUI 2017MIUI Fan from TurkeyMIUI Fan From Myanmar1st AnniversaryMerry ChristmasFan Of MIUI PolandFan Of MIUI RussiaI Love 2016Xiaomi 6th AnniversaryMid-Autumn FestivalMIUI Forum AppRooster Year of 2017MIUI 300 Weeks5 Million Forum PostsMIUI Fan From Nepal1700K Forum MembersMIUI 6th AnniversaryFan Of MIUI BangladeshHappy Diwali1800K Forum MembersHilal Ramadan 1400K Forum MembersOlympics MedalMIUI World TourPokemon Master Medal5 Million Forum App InstallsHappy Holi MedalMIUI Font LoverSuper SundaySuper MondayMIUI 100 Million Users3 Million Forum MembersMIUI Happy MedalSuper FridayCamera Filter Guru Medal300K Forum MembersMIUI 9MIUI 7th AnniversaryFan Of MIUI IndiaMIUI Philippines Fan Meetup90000 Forum Members3500K Forum Members1900K Forum MembersHappy New YearSuper ThursdayRocket to FutureSurge S1Puzzle MasterSuper TuesdayMIUI Lucky FridayHappy Valentine's DayMIUI Drawing TalentMIUI 20 Million UsersSuper Wednesday3 Million Forum App InstallsWomen's Day MedalMiPopSummer Mi BunnyI Love Mi BunnyGamer Mi BunnyMIUI G+ FollowerMi Note 3MIUI Twitter FollowerYouth PledgeForum Contest LoverMIUI FB FollowerAndroid ElfMi Bunny Game Master Surprise2017 Annual AwardsMi Lover Medal8 Million Forum MembersMIUI Weekly Devices QuizMIUI SuperstarXiaomi 8th Anniversary7 Million Forum MembersMr. Dependable9 Million Forum MembersTheme TalentMIUI Halloween 2017Most Popular Forum UserUpdates LoverApp StarInbox ZeroMIUI Ice Bucket ChallengeTechnology GuruHumor MasterAndroid GuruMIUI Medals CollectorMi A1Scroll Of WisdomMaster Of TechnologyStar Of TechnologyRingtone Star MIUI Android 4.4 KitKatMIUI Follower25 Million StrongMi Story TellerMIUI ExpertDie-hard MIUI FanDebate MasterOTA FeedbackPioneer of MIUI English Forum Most Active MIUIerMi TalentRingtone Expert

11:45, Feb-15-2017 | From PC
|
Thanks for share..
Keep posting nice threads, thanks for being with us.
MI Fan Club Bangladesh

Platinum Member

Rank: 4

Credits
2334
Device
Redmi Note 5/Pro
Online time
98 Hours
Send PM

Mi BandMi Band 2Mi Selfie StickXiaomi 7th AnniversaryMIUI 2016MIUI Devices ContestMIUI 8Redmi Note 4XMi 5Redmi 4/Prime/4ACamera Filter Guru MedalHappy Valentine's DaySuper MondaySingapore Merlion MedalMIUI 7th AnniversaryMIUI Happy MedalRocket to FutureMIUI 9Fan Of MIUI BangladeshPuzzle MasterSuper SaturdayHappy Holi MedalSurpriseDebate MasterMIUI Follower2017 Annual AwardsMIUI Weekly Devices QuizAndroid ElfAndroid GuruScroll Of WisdomMi Lover MedalStar Of TechnologyIndia Independence Day

 Author| 11:58, Feb-15-2017 | From Mi 5
|
msalauddins replied at 2017-2-15 09:45
Thanks for share..
Keep posting nice threads, thanks for being with us.

welcome sir :) keep me in your prayers :)

Elite Member

⚡⚡⚡⚡⚡⚡

Rank: 6Rank: 6

Credits
13632
Device
Mi Max 2
Online time
519 Hours
Send PM

Unlock MedalMijia Story TellerMijia Qi CycleMijia Walkie TalkieMijia Smart PTZ CameraMi HeadphonesMi Band 2Mi Bluetooth SpeakerXiaomi 6 LaunchMi BoxMi HomeMi VRMijia VR Play 2Mi MIXMi ScaleMagic CubeMi Kids WatchXiaomi 7th AnniversaryI Love MIUIAwesome!MIUI Devices ContestMIUI 8Fantastic!AnTuTuRedmi Note 34 Million Forum MembersRedmi ProRedmi 4/Prime/4AMi Max 2Redmi Note 4XRedmi 4XRedmi 3SSuper FridayMIUI 2017Super TuesdayMIUI Font LoverMIUI World TourRocket to FutureMIUI Happy MedalHappy Valentine's DayRooster Year of 2017MIUI Forum AppSuper WednesdaySuper SundayFan Of MIUI RussiaSurge S1Super MondayHappy New Year300K Forum MembersSuper ThursdayHappy DiwaliSuper SaturdayFan Of MIUI Ukraine3500K Forum MembersPuzzle MasterMerry Christmas5 Million Forum App InstallsMIUI 100 Million UsersMIUI 9MIUI Philippines Fan MeetupMIUI 50 Million UsersMIUI 7th AnniversaryDiwali Fan Of MIUI IndiaAtaturk MourningMIUI Fan From Philippines10 Million Forum Posts500K Forum MembersHilal Ramadan Ringolicious MedalMIUI Lucky Friday100k Forum MembersXiaomi 5th AnniversaryWomen's Day Medal90000 Forum MembersMiPopGamer Mi BunnyI Love Mi BunnySummer Mi BunnyMIUI ReviewMIUI Device Team25 Million StrongXiaomi 8th Anniversary9 Million Forum MembersNougatMIUI FB FollowerRedmi Quiz MasterMIUI Weekly Devices QuizStar Wars8 Million Forum MembersAndroid Elf5 Million Forum MembersForum Contest LoverOTA FeedbackMIUI Twitter FollowerMIUI G+ FollowerMIUI Medals CollectorMost Active MIUIerMIUI FollowerTheme TalentMIUI Android 4.4 KitKatMi Bunny Game Master Ringtone ExpertMIUI Halloween 2017Mr. DependableMIUI ExpertIndia Independence DayPioneer of MIUI English Forum 2017 Annual AwardsDie-hard MIUI FanMi Story TellerStar Of TechnologyMi TalentMi Lover MedalAndroid GuruDebate MasterTechnology GuruUpdates LoverMost Popular Forum UserMIUI SuperstarMIUI KingScroll Of Wisdom

01:24, Apr-30-2017 | From PC
|
Nice one

Elite Member

Rank: 6Rank: 6

Credits
5249
Device
Redmi Note 4 Qualcomm
Online time
41 Hours
Send PM

Mi Bluetooth SpeakerMi Band 2Xiaomi 6 LaunchMi VRMi MIXMijia VR Play 2Mijia Story TellerNinebot MiniUnlock MedalXiaomi 7th AnniversaryAwesome!MIUI Devices ContestI Love MIUIRedmi Note 4X4 Million Forum Members500K Forum MembersMIUI Happy MedalFan Of MIUI BangladeshMIUI 7th AnniversarySuper WednesdayMIUI Forum AppMIUI 2017300K Forum MembersSuper TuesdayMIUI 100 Million UsersMIUI 93500K Forum MembersMIUI Philippines Fan MeetupMIUI Font Lover100k Forum MembersRocket to FutureSuper ThursdaySuper SundayHilal Ramadan MiPopI Love Mi BunnyMIUI Review9 Million Forum MembersXiaomi 8th AnniversaryDie-hard MIUI FanMi Lover MedalAndroid ElfForum Contest LoverTheme TalentMIUI FollowerMi TalentMIUI Android 4.4 KitKatMi Bunny Game Master Pioneer of MIUI English Forum Technology GuruStar Of TechnologyDebate MasterUpdates LoverAndroid GuruScroll Of WisdomOTA Feedback

03:03, Apr-30-2017 | From Redmi Note 4X
|
Nice.

Elite Member

Rank: 6Rank: 6

Credits
6206
Device
Mi 5
Online time
106 Hours
Send PM

Mijia Smart PTZ CameraXiaomi 6 LaunchMi VRMi MIXMagic CubeMijia Electric ScooterMi Selfie StickMi Power BankMi Power Bank 10000MAH Mi HomeMi Band 2Unlock MedalXiaomi 7th AnniversaryFantastic!MIUI Devices ContestI Love MIUIMIUI 8AnTuTuAwesome!Redmi 2Mi 5Redmi 4XMi Note 2Super MondayMIUI Forum AppMIUI P5 Million Forum App InstallsWomen's Day MedalHappy Holi MedalSuper SundayMIUI Font LoverSuper Saturday3 Million Forum MembersCamera Filter Guru Medal10 Million Forum PostsSuper WednesdaySurge S1Happy DiwaliMIUI Happy MedalMIUI 2017Super ThursdayRocket to FutureSuper FridayRooster Year of 2017Fan Of MIUI UkraineMIUI SDiwali MIUI 7th AnniversaryFan Of MIUI AustraliaMIUI Lucky FridayHilal Ramadan MIUI 9Fan Of MIUI Russia3500K Forum MembersSuper Tuesday300K Forum MembersPuzzle MasterMIUI World TourI Love Mi BunnyGamer Mi BunnyMiPopMIUI ReviewTechnology GuruStar Of TechnologyAndroid ElfScroll Of WisdomDebate MasterMIUI SuperstarUpdates LoverMaster Of TechnologyDie-hard MIUI FanMi Talent25 Million StrongMIUI KingMIUI Medals CollectorMost Active MIUIerRingtone Star MIUI Android 4.4 KitKatMIUI Ice Bucket ChallengeMi Lover MedalYouth PledgeForum Contest LoverMIUI ExpertMIUI Halloween 2017Android Guru

03:10, Apr-30-2017 | From Mi 5
|
thanks

Diamond Member

Rank: 5Rank: 5

Credits
1696
Device
Redmi Note 4 Qualcomm
Online time
72 Hours
Send PM

Unlock MedalMi  BunnyMi VRXiaomi 6 LaunchMijia VR Play 2Mi HomeMijia Qi CycleXiaomi 7th AnniversaryI Love MIUIMIUI Devices ContestMIUI 8AnTuTuFantastic!Mi Max Redmi Note 3Redmi Note 4X90000 Forum MembersRingolicious MedalMIUI Font LoverMIUI World TourMIUI 20173500K Forum Members300K Forum MembersFan Of MIUI RussiaAtaturk MourningHilal Ramadan Super MondaySuper ThursdayMIUI Happy MedalFan Of MIUI IndiaMIUI 5th AnniversaryMIUI SMIUI 20 Million Users1st AnniversaryRocket to FutureMIUI 9MIUI Forum App10 Million Forum Posts5 Million Forum App InstallsPuzzle MasterRooster Year of 2017Gamer Mi BunnyI Love Mi BunnyMiPopMIUI ReviewDebate MasterMIUI ExpertYouth PledgeMi TalentMost Popular Forum UserMost Active MIUIerTheme TalentMIUI FollowerMIUI Medals CollectorMi Bunny Game Master OTA FeedbackMIUI Android 4.4 KitKatMi Story TellerPioneer of MIUI English Forum Forum Contest LoverStar Of TechnologyMi Lover MedalScroll Of WisdomAndroid GuruMIUI KingUpdates LoverDie-hard MIUI FanTechnology GuruAndroid Elf

03:13, Apr-30-2017 | From PC
|
Thanks for share.

Diamond Member

Rank: 5Rank: 5

Credits
1817
Device
Redmi 2
Online time
19 Hours
Send PM

Unlock MedalMijia VR Play 2Xiaomi 7th AnniversaryFantastic!Awesome!MarshmallowMIUI Devices ContestMIUI 2016Super WednesdayRocket to FutureMIUI 300 Weeks90000 Forum MembersMIUI 9MIUI Font LoverMIUI 2017MIUI Fan From PhilippinesMIUI 7th AnniversaryGamer Mi BunnySummer Mi BunnyMr. DependableRedmi Quiz MasterSurpriseMIUI Weekly Devices QuizXiaomi 8th AnniversaryStar WarsMi Lover MedalDebate MasterUpdates LoverStar Of TechnologyMIUI ExpertRingtone ExpertMi TalentTechnology GuruAndroid GuruDie-hard MIUI FanForum Contest LoverMIUI Follower

20:20, May-19-2017 | From Redmi 2
|
thanks for the information
#shahidm

Gold Member

Rank: 3Rank: 3

Credits
492
Device
0
Online time
2 Hours
Send PM
21:44, Nov-21-2017 | From Redmi Note 4X
|
I Like 👍

Gold Member

Rank: 3Rank: 3

Credits
367
Device
0
Online time
37 Hours
Send PM

MIUI 9

22:21, Mar-20-2018 | From APP
|
Good job

Credits Management

Quick Reply Top Return to the list