FORUMS

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 … more

Google To Launch Next Gen Android One On July 14

The first gen of Android One devices to be launched in India in September 2014 were … more

RRO vs CM theme engine

660 posts
Thanks Meter: 139
 
By sandys1, Senior Member on 26th January 2015, 04:29 PM
Post Reply Subscribe to Thread Email Thread
A call to the community to use RRO instead of CM's theme manager.

https://plus.google.com/+SykoPompos/posts/5M7tzmgHZpu


Quote:

Sony intent on having swappabale themes worked with google to devise the current implementation of rro that provides a much more secure way of going about it.

They modified the asset manager to accept apks with just resources and map out the id of each resource in android and then overlay the modified resources at just runtime so those resources can map out to rro's changed or new resources to act like they were always part of those resources but only as long as that apk is there and loaded into the system.

With this system, it provides security because the system is already given permission but still confined in all of android but it is also powerful because new resources can made to add features, translations and so forth very quickly (OEMS are actually using it now to prototype )

With this system in place, the code was merged into aosp for lollipop, unfortunately with google keeping lollipop source mostly hidden, nobody realized that it broke in the process until 5.0 was already out and Sony quickly patched it in aosp for the next release (the 5 commits that need to be cherry picked for rro to properly work)

This means that future stock builds of android has this native theme engine built into it and Sony and Samsung and HTC are actually already using it (rumor is this works already in gpe Sony and Samsung lollipop builds) so it makes sense for the community to embrace it and build on it as our own project.

Cm though decided instead of embracing RRO (maybe they didn't know about it) ported their legacy code up for the theme engine with so much effort instead of looking for a new way with 13,000+ lines of code instead of probably about 200 lines of code to adapt the theme engine into was was already there so there is a ton of redundant code that is completely ridiculous.

The Following 6 Users Say Thank You to sandys1 For This Useful Post: [ View ]
 
 
26th January 2015, 07:23 PM |#2  
tholmes8291's Avatar
Senior Member
Flag Kentucky
Thanks Meter: 253
 
More
Just started learning about this. Do themes have to be RRO specific or do CM themes work?
26th January 2015, 07:38 PM |#3  
Lawlrus's Avatar
Senior Member
Thanks Meter: 3,875
 
More
@sandys1
A thread to link to a G+ page does not constitute as a development thread.

This belongs in general.
The Following 3 Users Say Thank You to Lawlrus For This Useful Post: [ View ]
26th January 2015, 08:40 PM |#4  
OP Senior Member
Thanks Meter: 139
 
More
Quote:
Originally Posted by tholmes8291

Just started learning about this. Do themes have to be RRO specific or do CM themes work?

I think the security model differs in RRO , so I suppose it is different. I was not able to find a lot of documentation though.
The Following User Says Thank You to sandys1 For This Useful Post: [ View ]
26th January 2015, 08:55 PM |#5  
tholmes8291's Avatar
Senior Member
Flag Kentucky
Thanks Meter: 253
 
More
Quote:
Originally Posted by sandys1

I think the security model differs in RRO , so I suppose it is different. I was not able to find a lot of documentation though.

Yeah me neither. Thx
27th January 2015, 12:38 AM |#6  
Senior Member
Flag Chesapeake, VA
Thanks Meter: 496
 
Donate to Me
More
Two issues with this.

1. Nothing in your post is even remotely related to development.

2. RRO aka Layers, is still in beta. I doubt it will be anymore bug free than CM's Theme engine. (see post here).

You didn't link to a github, or any other form of code repository for developers to use. So I'm not sure what you're calling for them to use... Pulling a G+ post into their code repo won't do a whole lot. The only repos I can find for the group developing this is: https://github.com/BitSyko as you can see, they really don't have anything related to usable code posted.

So do you have links that would be useful for coders... or is this just another "HEY EVERYBODY CHECK OUT THIS COOL NEW THING I READ ABOUT!" post?

*edit*
After an hour or so of searching around... Here's the link you should have provided...

http://forum.xda-developers.com/andr...0#post58406220

Post 2 provides the links to the code changes that must be included in the rom to use their layers (rro) system.

Quote:
Originally Posted by tholmes8291

Just started learning about this. Do themes have to be RRO specific or do CM themes work?

They have to be RRO Specific. See their Wiki
Last edited by Yoinx; 27th January 2015 at 12:57 AM.
The Following User Says Thank You to Yoinx For This Useful Post: [ View ]
27th January 2015, 01:47 AM |#7  
Siberian Tiger's Avatar
Moderator Committee - The Eye of the Tiger
Flag Piraeus
Thanks Meter: 6,577
 
Donate to Me
More
Thread moved in the correct section.
28th January 2015, 01:57 AM |#8  
ktetreault14's Avatar
Senior Member
Flag Largo
Thanks Meter: 1,687
 
Donate to Me
More
We should have a list of which Roms support
3rd February 2015, 02:04 AM |#9  
Snepsts's Avatar
Senior Member
Flag St. Louis, MO
Thanks Meter: 555
 
Donate to Me
More
Liquid Smooth supports it sorta? Although the dark and blue overlay does nothing for me :P
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes