FORUMS
Remove All Ads from XDA

[MOD/THEME] NMF26F | Various Framework-res Accent Colors

2,604 posts
Thanks Meter: 1,811
 
By sharkie405, Senior Member on 9th December 2016, 06:08 AM
Post Reply Email Thread
13th December 2016, 08:14 PM |#11  
SiliconMage's Avatar
Junior Member
Thanks Meter: 3
 
More
Stupid question: how did you get your changes to SystemUI and Framework-Res to stick? I tried modifying SystemUI using apktool and baksmali and I can't seem to get my modifications to work correctly, and I end up having to restore to a backup because if I flash back to stock SystemUI the app keeps crashing upon reboot. Thanks in advance!
13th December 2016, 09:07 PM |#12  
sharkie405's Avatar
OP Senior Member
Earth
Thanks Meter: 1,811
 
More
Quote:
Originally Posted by SiliconMage

Stupid question: how did you get your changes to SystemUI and Framework-Res to stick? I tried modifying SystemUI using apktool and baksmali and I can't seem to get my modifications to work correctly, and I end up having to restore to a backup because if I flash back to stock SystemUI the app keeps crashing upon reboot. Thanks in advance!

If I had to guess I'd say that's a signature issue. All /system apps need to have the same signature. You can either take the Meta-inf and Android.Manifest.xml files from the stock apk and put them in your modified apk replacing the ones that are already in your modified apk, or the easier way, IMO, when you recompile the apk using apktool, use the "-c" command at the end. For example: apktool b SystemUI -c

The -c makes the compiler keep the same signature as the original apk.

Sent from my Nexus 6P using XDA Labs
The Following 2 Users Say Thank You to sharkie405 For This Useful Post: [ View ] Gift sharkie405 Ad-Free
13th December 2016, 09:25 PM |#13  
SiliconMage's Avatar
Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by sharkie405

If I had to guess I'd say that's a signature issue. All /system apps need to have the same signature. You can either take the Meta-inf and Android.Manifest.xml files from the stock apk and put them in your modified apk replacing the ones that are already in your modified apk, or the easier way, IMO, when you recompile the apk using apktool, use the "-c" command at the end. For example: apktool b SystemUI -c

The -c makes the compiler keep the same signature as the original apk.

Sent from my Nexus 6P using XDA Labs

You beautiful shark, you. That was definitely it. Thanks so much.

PS: The blue looks fantastic. Thanks for these accent colors!
The Following User Says Thank You to SiliconMage For This Useful Post: [ View ] Gift SiliconMage Ad-Free
31st January 2017, 04:34 PM |#14  
PaideLis's Avatar
Senior Member
Flag Rio de Janeiro
Thanks Meter: 123
 
More
@sharkie405

Could you please make a blue one, like Pixel phone to my Moto G 2014?

Lineage OS 14.1 01/26 build NMF26V

Here's my framework-res:

https://mega.nz/#!lAMT0ByJ!V4QzCyvxZ...TBfRR4MqF4Jq6w

PS: I can't upload because it's too big.
5th April 2017, 05:24 AM |#15  
SiliconMage's Avatar
Junior Member
Thanks Meter: 3
 
More
Will this be updated to support 7.1.2?
27th June 2017, 09:45 AM |#16  
SKULSHADY's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 6,412
 
Donate to Me
More
I can't seem to figure out how to change those color accents to pixel blue. I dont know which lines to modify in the xml files of framework-res.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170627-123846.jpg
Views:	154
Size:	130.5 KB
ID:	4194575   Click image for larger version

Name:	Screenshot_20170627-123901.jpg
Views:	150
Size:	114.9 KB
ID:	4194576   Click image for larger version

Name:	Screenshot_20170627-125918.png
Views:	152
Size:	63.3 KB
ID:	4194577  
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes