Platinum Member

Rank: 4

Credits
2134
Device
Mi 5
Online time
84 Hours
Send PM

Mi Selfie StickMi Band 2Mi BandXiaomi 7th AnniversaryMIUI 8MIUI 2016MIUI Devices ContestMi 5Redmi 4/Prime/4ARedmi Note 4XHappy Valentine's DayCamera Filter Guru MedalSuper MondaySingapore Merlion MedalHappy Holi MedalRocket to FutureMIUI Happy MedalPuzzle MasterMIUI 7th AnniversarySuper SaturdayFan Of MIUI BangladeshMIUI 92017 Annual AwardsDebate MasterAndroid GuruIndia Independence DayMIUI FollowerMi Lover MedalScroll Of WisdomAndroid ElfStar Of Technology

[Review] Substratum theme engine For Custom Roms

[ Promote]
1137 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
22740
Device
Mi Note 3
Online time
772 Hours
Send PM

Magic CubeYi Action CameraMi Selfie StickMi BandYeelight Bedside LampMi KeyXiaomi 6 LaunchMi Bluetooth SpeakerMijia Qi CycleMi HomeMi Power Bank 10000MAH Mi Bluetooth HeadsetMi VR HeadsetMi Band 2Mi Kids WatchMijia Story TellerMi  BunnyMi VRMi HeadphonesUnlock MedalXiaomi 7th AnniversaryMIUI Devices ContestMIUI 2016MarshmallowFantastic!Awesome!MIUI 8MIUI 7I Love MIUI4 Million Forum MembersRedmi 4XMi TVMi 5Redmi Note 2Redmi Note 4Redmi Note 3Rooster Year of 2017Fan Of MIUI ItalyHappy New YearMIUI Weekly PollI Love 2016Pokemon Master MedalFan Of MIUI RussiaMIUI 2017Fan Of MIUI PolandMIUI Fan from Turkey1700K Forum MembersHilal Ramadan MIUI Fan From MyanmarOlympics Medal5 Million Forum PostsXiaomi 6th Anniversary10 Million Forum PostsMIUI PMIUI Fan From NepalFan Of MIUI Bangladesh1400K Forum Members1800K Forum MembersHappy DiwaliMIUI 6th AnniversaryMIUI Forum AppMIUI 300 WeeksMid-Autumn FestivalMIUI World TourMerry ChristmasHappy Holi MedalMIUI Font LoverSuper Sunday5 Million Forum App InstallsRocket to Future3 Million Forum MembersMIUI Happy MedalSuper Friday300K Forum Members3500K Forum MembersCamera Filter Guru MedalMIUI 7th AnniversaryFan Of MIUI IndiaMIUI 9MIUI Philippines Fan Meetup1900K Forum Members3 Million Forum App Installs90000 Forum MembersSuper ThursdaySuper MondayPuzzle MasterMIUI 20 Million UsersSurge S1Happy Valentine's DayMIUI Drawing TalentMIUI Lucky FridayWomen's Day MedalSuper TuesdaySuper WednesdayMIUI 100 Million UsersI Love Mi BunnyGamer Mi BunnySummer Mi BunnyMiPopMIUI G+ FollowerRingtone ExpertMi Note 3Mi Lover MedalMr. DependableMIUI Halloween 2017MIUI FB FollowerMIUI Weekly Devices QuizYouth Pledge7 Million Forum MembersMIUI Twitter Follower2017 Annual AwardsMIUI Expert8 Million Forum MembersForum Contest LoverTheme TalentMi Bunny Game Master Android ElfRingtone Star Updates LoverApp StarMIUI Ice Bucket ChallengeInbox ZeroHumor MasterAndroid GuruScroll Of WisdomMi A1MIUI Medals CollectorMaster Of TechnologyTechnology GuruStar Of TechnologyDebate MasterDie-hard MIUI FanMIUI Follower25 Million StrongMi TalentMIUI Android 4.4 KitKatOTA FeedbackMost Popular Forum UserPioneer of MIUI English Forum Most Active MIUIerMi Story Teller

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
2134
Device
Mi 5
Online time
84 Hours
Send PM

Mi Selfie StickMi Band 2Mi BandXiaomi 7th AnniversaryMIUI 8MIUI 2016MIUI Devices ContestMi 5Redmi 4/Prime/4ARedmi Note 4XHappy Valentine's DayCamera Filter Guru MedalSuper MondaySingapore Merlion MedalHappy Holi MedalRocket to FutureMIUI Happy MedalPuzzle MasterMIUI 7th AnniversarySuper SaturdayFan Of MIUI BangladeshMIUI 92017 Annual AwardsDebate MasterAndroid GuruIndia Independence DayMIUI FollowerMi Lover MedalScroll Of WisdomAndroid ElfStar Of Technology

 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 :)

MIUI Device Team

⚡⚡⚡⚡⚡⚡

Credits
12913
Device
Mi Max 2
Online time
502 Hours
Send PM

Mi BoxMijia Story TellerMijia Qi CycleMi Band 2Mi ScaleMi HomeMi Bluetooth SpeakerMijia VR Play 2Magic CubeUnlock MedalMi VRMi Kids WatchMijia Smart PTZ CameraMijia Walkie TalkieMi HeadphonesXiaomi 6 LaunchMi MIXXiaomi 7th AnniversaryI Love MIUIAwesome!MIUI Devices ContestFantastic!MIUI 8Redmi 4XRedmi Note 4X4 Million Forum MembersRedmi 4/Prime/4ARedmi ProRedmi Note 3Redmi 3SMi Max 2Super WednesdayMerry ChristmasRooster Year of 201790000 Forum MembersHappy Valentine's DaySuper TuesdayWomen's Day MedalMIUI Happy MedalSuper ThursdayPuzzle Master300K Forum MembersFan Of MIUI Ukraine3500K Forum MembersHappy New YearSurge S15 Million Forum App InstallsSuper SundayMIUI Lucky FridayFan Of MIUI Russia10 Million Forum PostsMIUI World TourRingolicious Medal500K Forum MembersMIUI 9Diwali MIUI Philippines Fan MeetupMIUI 100 Million UsersFan Of MIUI IndiaMIUI 7th AnniversaryMIUI Font LoverMIUI Fan From PhilippinesSuper FridayHappy DiwaliRocket to Future100k Forum MembersXiaomi 5th AnniversaryHilal Ramadan Ataturk MourningSuper SaturdayMIUI Forum AppSuper MondayMIUI 2017MIUI 50 Million UsersMiPopGamer Mi BunnyI Love Mi BunnySummer Mi BunnyMIUI Device TeamMIUI ReviewNougatRingtone ExpertMIUI Halloween 2017MIUI ExpertIndia Independence DayForum Contest LoverAndroid ElfStar WarsMIUI FB Follower8 Million Forum MembersMIUI Weekly Devices QuizMIUI Twitter FollowerMIUI G+ FollowerMr. DependableRedmi Quiz MasterMi Bunny Game Master 2017 Annual AwardsMIUI Medals CollectorTechnology GuruMi Story TellerDie-hard MIUI FanAndroid GuruDebate MasterOTA FeedbackMIUI SuperstarMost Popular Forum UserStar Of TechnologyUpdates LoverTheme TalentMost Active MIUIerMIUI KingMIUI FollowerScroll Of WisdomMi TalentPioneer of MIUI English Forum Mi Lover MedalMIUI Android 4.4 KitKat

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

Platinum Member

Rank: 4

Credits
4753
Device
Redmi Note 4 Qualcomm
Online time
36 Hours
Send PM

Mi Band 2Xiaomi 6 LaunchMi VRMijia VR Play 2Mi Bluetooth SpeakerUnlock MedalMijia Story TellerMi MIXNinebot MiniXiaomi 7th AnniversaryI Love MIUIMIUI Devices ContestAwesome!Redmi Note 4X4 Million Forum MembersHilal Ramadan Super Wednesday300K Forum MembersSuper TuesdayMIUI Forum AppMIUI Happy MedalMIUI 2017Super SundayFan Of MIUI BangladeshMIUI 100 Million UsersMIUI 7th AnniversarySuper ThursdayRocket to Future100k Forum Members500K Forum MembersMIUI 93500K Forum MembersMIUI Font LoverMIUI Philippines Fan MeetupI Love Mi BunnyMiPopMIUI ReviewDie-hard MIUI FanAndroid ElfMi Lover MedalScroll Of WisdomTheme TalentMIUI FollowerMi TalentMIUI Android 4.4 KitKatMi Bunny Game Master Pioneer of MIUI English Forum Technology GuruStar Of TechnologyDebate MasterUpdates LoverForum Contest LoverAndroid GuruOTA Feedback

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

Elite Member

Rank: 6Rank: 6

Credits
6208
Device
Mi 5
Online time
105 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
1711
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
1706
Device
Redmi 2
Online time
19 Hours
Send PM

Mijia VR Play 2Unlock MedalXiaomi 7th AnniversaryMIUI Devices ContestMIUI 2016Awesome!MarshmallowFantastic!Rocket to FutureMIUI Font LoverMIUI 300 WeeksSuper Wednesday90000 Forum MembersMIUI 9MIUI Fan From PhilippinesMIUI 7th AnniversaryMIUI 2017Summer Mi BunnyGamer Mi BunnyMi Lover MedalRingtone ExpertDebate MasterStar WarsRedmi Quiz MasterMIUI FollowerMr. DependableAndroid GuruForum Contest LoverTechnology GuruUpdates LoverDie-hard MIUI FanStar Of TechnologyMi TalentMIUI Expert

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

Gold Member

Rank: 3Rank: 3

Credits
488
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
363
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