Platinum Member

Rank: 4

Credits
2646
Device
Redmi Note 5/Pro
Online time
119 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]
1988 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

Bangladesh Sub Forum

Rank: 7Rank: 7Rank: 7

Credits
26779
Device
Mi Note 3
Online time
956 Hours
Send PM

Mi HomeMi KeyMagic CubeMi Band 2Mijia Qi CycleMi HeadphonesMi Bluetooth SpeakerMi VRUnlock MedalXiaomi 6 LaunchMi Selfie StickYi Action CameraMi Kids WatchMi Bluetooth HeadsetMi BandNinety Degree LuggageMi  BunnyMi T-ShirtMi Power Bank 10000MAH Mijia Story TellerMi VR HeadsetMi Power BankYeelight Bedside LampXiaomi 7th AnniversaryMIUI Devices ContestAwesome!AnTuTuMarshmallowMIUI 2016MIUI 7Fantastic!MIUI 8I Love MIUIRedmi Note 3Redmi 4XMi 5Redmi Note 4Mi TV4 Million Forum MembersRedmi Note 2Fan Of MIUI RussiaMIUI Marathon MedalMIUI SHappy DiwaliI Love 2016MIUI Weekly PollMIUI World TourFan Of MIUI PolandPokemon Master Medal1st Anniversary10 Million Forum PostsHappy Singles' DaySuper Saturday1400K Forum MembersMIUI Fan From NepalFan Of MIUI BangladeshMerry ChristmasOlympics MedalHilal Ramadan 5 Million Forum PostsXiaomi 6th AnniversaryMIUI 300 WeeksMIUI Fan From Myanmar1800K Forum MembersMIUI 6th Anniversary1700K Forum MembersMid-Autumn FestivalMIUI Forum AppMIUI PFan Of MIUI ItalyWomen's Day MedalSuper WednesdayHappy Holi MedalMIUI Font LoverSuper SundayPuzzle Master300K Forum MembersMIUI 100 Million UsersSuper ThursdayCamera Filter Guru MedalRocket to FutureSuper MondayMIUI 7th AnniversarySuper Friday3 Million Forum MembersMIUI Happy MedalSurge S1Super TuesdayFan Of MIUI IndiaMIUI 9MIUI Drawing Talent3 Million Forum App InstallsHappy New YearMIUI Fan from TurkeyRooster Year of 20175 Million Forum App InstallsMIUI Lucky Friday3500K Forum MembersMIUI 20 Million Users1900K Forum MembersMIUI 201790000 Forum MembersHappy Valentine's DayMIUI Philippines Fan MeetupSummer Mi BunnyI Love Mi BunnyMiPopGamer Mi BunnyMi Note 3Ringtone ExpertMIUI SuperstarMIUI 10MIUI Weekly Devices Quiz8 Million Forum MembersMi Story Teller25 Million StrongMIUI ExpertHeart to HeartMIUI Halloween 2018Theme TalentSurpriseMIUI Quick DiscussionMIUI King7 Million Forum Members10 Million Forum MembersMIUI 8th AnniversaryMr. Dependable6 Million Forum Members2017 Annual AwardsDiscuss Here9 Million Forum MembersMIUI Halloween 2017Xiaomi 8th AnniversaryOTA FeedbackUpdates LoverInbox ZeroTechnology GuruStar Of TechnologyRingtone Star MIUI Ice Bucket ChallengeMaster Of TechnologyScroll Of WisdomAndroid GuruMIUI Medals CollectorHumor MasterApp StarMi A1Mi TalentDebate MasterForum Contest LoverAndroid ElfYouth PledgeMi Bunny Game Master MIUI G+ FollowerMIUI Twitter FollowerMIUI Android 4.4 KitKatMi Lover MedalMIUI FollowerDie-hard MIUI FanMIUI FB FollowerMost Popular Forum UserPioneer of MIUI English Forum Most Active MIUIer

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

   Reply
      to
Notify Me

Platinum Member

Rank: 4

Credits
2646
Device
Redmi Note 5/Pro
Online time
119 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
13703
Device
Mi Max 2
Online time
543 Hours
Send PM

Mijia Qi CycleMi VRMi MIXMijia Walkie TalkieMi HeadphonesMi Bluetooth SpeakerUnlock MedalMi HomeXiaomi 6 LaunchMi Band 2Mijia Story TellerMi ScaleMijia Smart PTZ CameraMi BoxMagic CubeMijia VR Play 2Mi Kids WatchXiaomi 7th AnniversaryI Love MIUIAnTuTuMIUI 8Fantastic!MIUI Devices ContestAwesome!Redmi Note 4XRedmi 3SMi Max 2Redmi Note 3Redmi Pro4 Million Forum MembersRedmi 4/Prime/4ARedmi 4XMIUI World TourHappy Valentine's DaySuper SundayFan Of MIUI UkraineMIUI Happy MedalSuper TuesdaySuper SaturdayMIUI Font LoverRocket to FutureSuper FridayWomen's Day Medal5 Million Forum App Installs10 Million Forum PostsMIUI Forum AppSuper Monday300K Forum MembersFan Of MIUI RussiaSuper ThursdaySuper WednesdayMIUI 2017Puzzle Master3500K Forum MembersRooster Year of 201790000 Forum MembersFan Of MIUI IndiaMIUI 7th AnniversaryMIUI 100 Million UsersMIUI 9500K Forum MembersDiwali Happy DiwaliHappy New YearSurge S1Merry ChristmasMIUI 50 Million UsersAtaturk MourningMIUI Philippines Fan MeetupMIUI Fan From PhilippinesXiaomi 5th AnniversaryRingolicious MedalMIUI Lucky Friday100k Forum MembersHilal Ramadan Summer Mi BunnyI Love Mi BunnyMiPopGamer Mi BunnyMIUI ReviewMIUI Device TeamMIUI FB FollowerAndroid ElfMr. DependableRedmi Quiz MasterMIUI G+ FollowerMIUI Twitter FollowerXiaomi 8th Anniversary5 Million Forum Members9 Million Forum Members25 Million StrongMIUI 8th AnniversaryNougatStar Wars8 Million Forum MembersMIUI Weekly Devices Quiz2017 Annual AwardsUpdates LoverForum Contest LoverTechnology GuruMIUI SuperstarMIUI Android 4.4 KitKatMost Popular Forum UserDebate MasterOTA FeedbackPioneer of MIUI English Forum MIUI KingTheme TalentMost Active MIUIerMIUI Medals CollectorAndroid GuruMi Bunny Game Master Mi Lover MedalScroll Of WisdomRingtone ExpertMIUI FollowerMIUI ExpertMi TalentMi Story TellerDie-hard MIUI FanIndia Independence DayStar Of TechnologyMIUI Halloween 2017

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

Elite Member

Rank: 6Rank: 6

Credits
7872
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
1694
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
1903
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

Diamond Member

Rank: 5Rank: 5

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

Gold Member

Rank: 3Rank: 3

Credits
327
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