SystemUI Navigation Bar Animations (Solved) - Nexus 5X Themes and Apps

Hey I know that other people have asked this sort of question before, but I was wondering if anyone can help me with setting up the Pixel/Pixel XL navigation bar animation on a none Pixel device (in my case Nexus 5X).
The reason I have started this thread is because I'm very suspicious of people when ever I see someone post a system modification for a device without explaining what they did to get there so I research things online and make my own version of they're system mod. Another reason is that asking these questions allows people to help me with my struggles and it expands everyone's knowledge on system modifications allowing everyone to create their own system mods or this same mod for their own device on any version of android.
Anyway the current things that I have found out is that the Pixel's SystemUI has a few extra files in the drawable folder (SystemUI.apk\res\drawable) they are
ic_sysbar_opa_blue.xml
ic_sysbar_opa_green.xml
ic_sysbar_opa_red.xml
ic_sysbar_opa_yellow.xml
Click to expand...
Click to collapse
they contain a information similar to these
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="oval"
xmlns:android="http://schemas.android.com/apk/res/android">
<size android:height="@dimen/opa_dot_diam" android:width="@dimen/opa_dot_diam" />
<solid android:color="#fffbbc05" />
</shape>
What this means:
Version of XML
Start of draw circle shape string
Thing
The size of the circle
Colour of the circle
End of string
Click to expand...
Click to collapse
This tells android to draw the little dots that appear when you press the home button on the Pixel. I have inported these files into my sytemui and was now wondering how to create the dots and make them move. I believe that this can be activated by finding out which file causes the home button to make that little ripple effect when you tap it and comparing it to find out what's different. So my question is at the moment is:
What file controls current home button animations (the home button ripple effect) on the Nexus 5X?
Click to expand...
Click to collapse
If any of you want the uncompressed versions of the Pixel's SystemUI and current Nexus SystemUI that I'm using then feel free too download them. (I have removed any unnecessary guff).
Edit: I think I have found the file. It's located at:
SystemUI.apk\res\layout\home.xml
Edit: I have edited the home.xml and it seems that it just cuases my SystemUI to crash. I believe this is caused by something else in the apk.
My current guess is that there is another file in the Pixels SystemUI that reads the xml file ic_sysbar_opa_colour.xml or home.xml
If anyone knows of a way I can search for those values in a large amount of xml files quickly, then please tell me.

No, It is not that simple. lots of things needs to modify, not only the res, dex code needs to patch, the one that detect the assistant and trigger the animation.
The worse thing is, if you do anything wrong, you have to use the twrp to restore the phone...

Charles_l said:
No, It is not that simple. lots of things needs to modify, not only the res, dex code needs to patch, the one that detect the assistant and trigger the animation.
The worse thing is, if you do anything wrong, you have to use the twrp to restore the phone...
Click to expand...
Click to collapse
I've edited the navigation bar in the SystemUI before without any problems. I know what you mean by resetting the phone if I mess anything up because I messed up a few things while editing the framework.apk but I haven't run into any problems with the dex file before.

Jackio987 said:
I've edited the navigation bar in the SystemUI before without any problems. I know what you mean by resetting the phone if I mess anything up because I messed up a few things while editing the framework.apk but I haven't run into any problems with the dex file before.
Click to expand...
Click to collapse
The dev that figured out how to enable the animated nav bar for the Nexus 5 posted this I hope it helps
http://forum.xda-developers.com/goo...-fake-nexus-rom-nexus-5-t3466736/post69496350

kevtrysmoddin said:
The dev that figured out how to enable the animated nav bar for the Nexus 5 posted this I hope it helps
http://forum.xda-developers.com/goo...-fake-nexus-rom-nexus-5-t3466736/post69496350
Click to expand...
Click to collapse
I noticed that someone else has done it before, (it's on page 120) link:
http://forum.xda-developers.com/goo...t/rom-fake-nexus-rom-nexus-5-t3466736/page120
Click to expand...
Click to collapse
And that inspired me to ask how it was done. Another thing is that I have a nexus 5X and he has a nexus 5 which both have different processor types (arm and arm64). I also tried flashing his zip which as you would of guessed caused my phone to crash as soon as the phone had booted up requiring me to factory reset it. I might try flashing the zip onto a phone that has an arm processor (my moto g 2nd generation running cyanogenmod 14 beta) and figure out how to export it to my Nexus. Anyway I have asked qitt the guy that made the original nav bar animation for the nexus 5 work how he did it and he still hasn't responed.
Also taking a look at it, it seems that the Pixel's SystemUI and qitt's SystemUI are almost identical with only about a 200 byte difference.

Jackio987 said:
Hey I know that other people have asked this sort of question before, but I was wondering if anyone can help me with setting up the Pixel/Pixel XL navigation bar animation on a none Pixel device (in my case Nexus 5X).
The reason I have started this thread is because I'm very suspicious of people when ever I see someone post a system modification for a device without explaining what they did to get there so I research things online and make my own version of they're system mod. Another reason is that asking these questions allows people to help me with my struggles and it expands everyone's knowledge on system modification allowing everyone to create their own system mod or this same mod for their own device on any operating system.
Anyway the current things that I have found out is that the Pixel's SystemUI has a few extra files in the drawable folder (SystemUI.apk\res\drawable) they are
they contain a information similar to these
This tells android to draw the little dots that appear when you press the home button on the Pixel. I have inported these files into my sytemui and was now wondering how to create the dots and make them move. I believe that this can be activated by finding out which file causes the home button to make that little ripple effect when you tap it and comparing it to find out what's different. So my question is at the moment is:
If any of you want the uncompressed versions of the Pixel's SystemUI and current Nexus SystemUI that I'm using then feel free too download them. (I have removed any unnecessary guff).
Edit: I think I have found the file. It's located at:
SystemUI.apk\res\layout\home.xml
Edit: I have edited the home.xml and it seems that it just cuases my SystemUI to crash. I believe this is caused by something else in the apk.
My current guess is that there is another file in the Pixels SystemUI that reads the xml file ic_sysbar_opa_colour.xml or home.xml
If anyone knows of a way I can search for those values in a large amount of xml files quickly, then please tell me.
Click to expand...
Click to collapse
I'm working on same and I'm willing to help you .. it's quite a surprise why despite so many ppl being there, none have managed to figure this one out. I'm also moderately knowledgeable about the subject so I just might be Able to help you. Can you share the systemUI.apk file for pixel?

raghavsharmaxda said:
I'm working on same and I'm willing to help you .. it's quite a surprise why despite so many ppl being there, none have managed to figure this one out. I'm also moderately knowledgeable about the subject so I just might be Able to help you. Can you share the systemUI.apk file for pixel?
Click to expand...
Click to collapse
Here you go.
I got this by flashing the Pixel's system.img onto my Nexus 5X extracting the entire system partition then re flashing android 7.1.1 beta. I have also included the .obex files in the system_other.img that comes with the Pixel's factory image.
I'm just wondering if it's as simple as changing the name of the Pixel's SystemUI, the AndroidManifest.xml, the meta-inf, the .odex and anything else related to application identification to get it working. The reason I say this is because qitt claims to have done this and I've taken a look at what he has done and it seems that there is basically no different between the Pixel's SystemUI and his in terms of file and folder layout. One problem is that qitt's SystemUI is optimized for the Nexus 5 which has a arm based processor not a arm64 one like the nexus 5x meaning that we just can't install it.
Here is qitts post
http://forum.xda-developers.com/goo...t/rom-fake-nexus-rom-nexus-5-t3466736/page120
Just create a flashable zip of systemui with animated navbar ( from 26/10 ). Try it if you want. Worked for me on 1/11 Fake Nexus. All credits to author this ROM ganachoco.
Attached Files
File Type: zip Pixel_NavBar.zip - [Click for QR Code] (11.56 MB, 856 views)
Click to expand...
Click to collapse

Jackio987 said:
Here you go.
I got this by flashing the Pixel's system.img onto my Nexus 5X extracting the entire system partition then re flashing android 7.1.1 beta. I have also included the .obex files in the system_other.img that comes with the Pixel's factory image.
I'm just wondering if it's as simple as changing the name of the Pixel's SystemUI, the AndroidManifest.xml, the meta-inf, the .odex and anything else related to application identification to get it working. The reason I say this is because qitt claims to have done this and I've taken a look at what he has done and it seems that there is basically no different between the Pixel's SystemUI and his in terms of file and folder layout. One problem is that qitt's SystemUI is optimized for the Nexus 5 which has a arm based processor not a arm64 one like the nexus 5x meaning that we just can't install it.
Here is qitts post
http://forum.xda-developers.com/goo...t/rom-fake-nexus-rom-nexus-5-t3466736/page120
Click to expand...
Click to collapse
I'm wondering how to solve the signature problem after modifying the AndroidManifest.xml?

Charles_l said:
I'm wondering how to solve the signature problem after modifying the AndroidManifest.xml?
Click to expand...
Click to collapse
I really want to just flash the files and then start editing from there but since my 5X is my personal device and if there are any stuff ups with this installation it meas that I have to factory reset my device which isn't that great if I have to do it every time I flash the file. I also don't want to make a TWRP backup and just recover from that when I'm all finished be cause every time I have done that my data partition always stuffs up basically causing me to factory reset again.
Testing this could become a slow and repetitive process

Ok I have figured out how to keep my devices data intact so I can flash the systemUI.apk over and over again without having to factory reset my device, now it's time to get this thing working.

Jackio987 said:
Ok I have figured out how to keep my devices data intact so I can flash the systemUI.apk over and over again without having to factory reset my device, now it's time to get this thing working.
Click to expand...
Click to collapse
If you keep the apk signature, when you get systemui fc, you can always replace the original apk file with TWRP, reboot and everything back to normal.

Jackio987 said:
Ok I have figured out how to keep my devices data intact so I can flash the systemUI.apk over and over again without having to factory reset my device, now it's time to get this thing working.
Click to expand...
Click to collapse
I have succeeded in porting all res and smali things to 5X's systemUI which is related to Assistant.
Process by now, the sendOpaBroadcast refuse to work.
issue:
Code:
11-11 11:58:02.915 D/AssistManagerGoogle(3038): New assistant: null

Charles_l said:
I have succeeded in porting all res and smali things to 5X's systemUI which is related to Assistant.
Process by now, the sendOpaBroadcast refuse to work.
issue:
Code:
11-11 11:58:02.915 D/AssistManagerGoogle(3038): New assistant: null
Click to expand...
Click to collapse
Do you have the new google assistant enabled?
If not then you can change your build.prop to get it working
Code:
change
ro.product.model=Nexus 5X to ro.product.model=Pixel
and add
ro.opa.eligible_device=true
somewhere into the build.prop then flash it or push it back onto the device.
This might be useful since the little circles the home buttons draws are called
ic_sysbar_opa_colour.xml
Click to expand...
Click to collapse
and the build prop tells the device that you can use opa with this line
ro.opa.eligible_device=true
Click to expand...
Click to collapse

Charles_l said:
I have succeeded in porting all res and smali things to 5X's systemUI which is related to Assistant.
Process by now, the sendOpaBroadcast refuse to work.
issue:
Code:
11-11 11:58:02.915 D/AssistManagerGoogle(3038): New assistant: null
Click to expand...
Click to collapse
Also can you tell us how to got the System UI's nav bar working, if it does work after you have changed the build.prop

Jackio987 said:
Also can you tell us how to got the System UI's nav bar working, if it does work after you have changed the build.prop
Click to expand...
Click to collapse
What did you do with build.prop, if you add a line in it to enable some settings, the setting doesn't turn off when you delete the line, you have to set the value to 0 of what you have added.
Good news, now I got the home button animation, though the four dots didn't appera.
I might need the Pixel phone user setting, if I can't override the Opa_Enabled settings.

Charles_l said:
What did you do with build.prop, if you add a line in it to enable some settings, the setting doesn't turn off when you delete the line, you have to set the value to 0 of what you have added.
Good news, now I got the home button animation, though the four dots didn't appera.
I might need the Pixel phone user setting, if I can't override the Opa_Enabled settings.
Click to expand...
Click to collapse
Here goes the build.prop from the Pixel if it helps.

Jackio987 said:
Here goes the build.prop from the Pixel if it helps.
Click to expand...
Click to collapse
Thank you but no need, after analysising Google App, I found a way to get systemUI turn on the OPA animation switch. I will start a new thread for details.

Charles_l said:
Thank you but no need, after analysising Google App, I found a way to get systemUI turn on the OPA animation switch. I will start a new thread for details.
Click to expand...
Click to collapse
Can you please make a tutorial on this so we can port it to other devices like my moto g 2014 or a nexus 6P or future updates to the nexus 5X.

Charles_l said:
Thank you but no need, after analysising Google App, I found a way to get systemUI turn on the OPA animation switch. I will start a new thread for details.
Click to expand...
Click to collapse
I worked on this for week but no luck .. if you have figured out how and do know the exact reasons, let me know..thank you
PS- don't back and restore /data all the time. Simply replace the apk and grand permissions from aroma file manager which can manipulate data from recovery itself.

Related

[REQ] Super Circle Battery with %

We need this.
http://forum.xda-developers.com/showthread.php?t=724778
That's really cool looking; I hope someone can figure out how to port it, but I imagine it shouldn't be too hard.
this kind of post belongs in apps and themes.....
i like it though just change the colors
and it would be very cool
I would like to see this too. It won't work as is?
Sent from my rooted Incredible w/ Flash
I installed the sense-eclair 2.1 "modaco" version, used clockwork to install zip, works fine for me.
Sent from my ADR6300 using XDA App
Ok after toying with my phone with the new battery Meter. I found that the search button reboots my phone.... don't know If its just mine.
Sent from my HTC Droid Incredible.
Be careful flashing these. They contain build.prop and wireless driver files that are not for your phone.
Thread moved to General.
egzthunder1 said:
Thread moved to General.
Click to expand...
Click to collapse
Actually, this needs to be in Development where I posted it due to the fact that it requires major editing of the stat_sys_battery.xml and stat_sys_battery_charge.xml files to allow it to display the actual battery percentage for each level, such as 99, 98, 97, etc.. Please put it back.
Agreed. I too would really like to see this develop into a reality for inc users. it would free up a spot on my notification bar.
I was able to edit the images and repack the latest nightly so now I have the circle battery meter. The 1% increment isn't working. I assume there must be an xml file to edit??? Can anyone shed some light on that?
Edit: This is on CM6 nightly
Wish this could be ported with the percentage over a battery icon. The circle icon reminds me too much of WinMo.
I'd love to get this on my phone along with something similar for wifi!
Can those of us using the SkyRaider (2.2) rom get a little love with this?
Sent from my ADR6300 using XDA App
I would love to get this..
how to modify xml files?
Hi all -- I would love to have this batt on my DI too...and honestly it doesn't look difficult from a theming perspective. But we need some way to extract the necessary XML files from framework-res.apk, modify them, then correctly re-encode them as binary and repackage into the apk.
If someone can point me to a tool, short of the using the full SDK to rebuild the apk from scratch, it should be a relatively quick mod...
*thread subscribed*
bcgaynor82 said:
Hi all -- I would love to have this batt on my DI too...and honestly it doesn't look difficult from a theming perspective. But we need some way to extract the necessary XML files from framework-res.apk, modify them, then correctly re-encode them as binary and repackage into the apk.
If someone can point me to a tool, short of the using the full SDK to rebuild the apk from scratch, it should be a relatively quick mod...
*thread subscribed*
Click to expand...
Click to collapse
You need to use AXMLPrinter2 to edit stat_sys_battery.xml and stat_sys_battery_charge.xml, which are located under /res/drawable/ in framework-res.apk. I just don't know what modifications to change.
this would be awesome!
xvenom89 said:
You need to use AXMLPrinter2 to edit stat_sys_battery.xml and stat_sys_battery_charge.xml, which are located under /res/drawable/ in framework-res.apk. I just don't know what modifications to change.
Click to expand...
Click to collapse
unfortunately AXMLPrinter2 only converts the XMLs from binary back into editable text -- it doesn't do the reverse. But if you use it and take a look at the XMLs, the modifications are actually pretty straightforward. In fact, the file is already set up to have an image for every 1% step, but images for 95 of those steps are undefined.
what we need is a tool that repackages the XMLs back into the APK appropriately -- i haven't found anything to do this, and i'm not skilled enough to use the SDK in full yet...
still would really love to see this...how can we get some love from the more experienced themers?
Madcaddie said:
I installed the sense-eclair 2.1 "modaco" version, used clockwork to install zip, works fine for me.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Madcaddie said:
Ok after toying with my phone with the new battery Meter. I found that the search button reboots my phone.... don't know If its just mine.
Sent from my HTC Droid Incredible.
Click to expand...
Click to collapse
i also just installed this. it also reboots my phone when quickly pressing the search button, but it does not reboot the phone when long pressing the search button. so far so good otherwise. i'm gonna try this for a day and see if any other problems arise, i have a nandroid backup i can go right back to at anytime, so no biggie.

[request] Themed 3G icon

can anyone post up a themed version of the stock or new MIUI rom flashable 3G indicator, themed to match this (or both):
http://forum.xda-developers.com/showthread.php?t=788214
Thanks!
Do you mean you're after:
A theme for MIUI which has the 3G icons from that theme
or
That theme with the MIUI 3G icons?
Josh.
fllash said:
Do you mean you're after:
A theme for MIUI which has the 3G icons from that theme
or
That theme with the MIUI 3G icons?
Josh.
Click to expand...
Click to collapse
I would like the 3g icon from that rom to flash over SkyRaider 3.2
^Same^ but likt the one from the smooth blue theme that is a blue 3G indicator. Or JUST the stock HTC 3G indicator in blue if possible. Thanks
just pull it out of the framework and color it yourself, it's like 4 images
worm- said:
just pull it out of the framework and color it yourself, it's like 4 images
Click to expand...
Click to collapse
How do I do this?
Thanks
Funny. I was just going to post asking anyone if they had it in red. I would also like to know how to do it.
Contempt4You said:
Funny. I was just going to post asking anyone if they had it in red. I would also like to know how to do it.
Click to expand...
Click to collapse
I know. I really want it lol, because i kinda hate the 3G indicator in the theme i have currently, as it's hard to see the upload/download arrows, so i just wanted a flashable indicator so I dont lose the cool notification pulldown
I can edit it with photoshop if I can find it. Can anyone give me a hint to the file path?
EDIT: Hah...ok I suck and fail.
I found the apk and edited the images. Looked great. Put the apk back together. Unistalled the original apk and tried to install my modified apk. Would not install. I'm done with it for now. I guess I will read up on signing tomorrow although I thought I had read that system apps didn't need to be signed.
I'll play with it more tomorrow.
do adb pull /system/framework/framework-res.apk
And the images should n in the drawable-hdpi. Folder if not just look around until u find the images
Then pull the framework from your current Rom and replace your images with the images you want then repush your framework hack to the phone and reboot
Sent from my ADR6300 using Tapatalk
Contempt4You said:
I can edit it with photoshop if I can find it. Can anyone give me a hint to the file path?
EDIT: Hah...ok I suck and fail.
I found the apk and edited the images. Looked great. Put the apk back together. Unistalled the original apk and tried to install my modified apk. Would not install. I'm done with it for now. I guess I will read up on signing tomorrow although I thought I had read that system apps didn't need to be signed.
I'll play with it more tomorrow.
Click to expand...
Click to collapse
If you figure it out can you pack a zip of just the 3g icon in blue as well for me?
Thanks man
Thanks for the tips. With a little help from google, I was able to figure it out.
Which icon did you need exactly? The 3g toggle or the notification bar?
well, i did it and replaced some old icons with cooler looking ones, but the 3g icons (along with similar data icons) did not show up. all of the other ones showed up. also, i read a thread where this dude got 4g icons from another rom and installed them on his phone to make it look like he had 4g, but then hours later, he experienced loss of mobile data... and now i think i am too... any suggestions?
I'm sorry I can't help you. I am learning all this myself and wouldn't pretend to know where to start on that. All I can say is that if you are going to make any changes then backup early and often.
The 3g toggle icons I was looking for were in system/app. I merely reskinned them and dropped them back in.
Contempt4You said:
I'm sorry I can't help you. I am learning all this myself and wouldn't pretend to know where to start on that. All I can say is that if you are going to make any changes then backup early and often.
The 3g toggle icons I was looking for were in system/app. I merely reskinned them and dropped them back in.
Click to expand...
Click to collapse
i wanted notification bar icon
I'm running a theme and mine is already skinned. I think either way you would still have to adb push it onto your phone. I did some googling and took a crash course on changing system icons.
Once I figured it out, it made sense (i know that sounds stupid, but after i did it, I was like oh yeah I get it now). I know that's not a big help, but I'm new to this and wouldn't want to bork your phone. Maybe someone more knowledgable will come save the day.
Otherwise I would google in terms like editing apks and adb pull adb push etc. and maybe you will figure it out too.
Hell I can't wait to ruin my phone now that I am armed and dangerous =)
Contempt4You said:
I'm running a theme and mine is already skinned. I think either way you would still have to adb push it onto your phone. I did some googling and took a crash course on changing system icons.
Once I figured it out, it made sense (i know that sounds stupid, but after i did it, I was like oh yeah I get it now). I know that's not a big help, but I'm new to this and wouldn't want to bork your phone. Maybe someone more knowledgable will come save the day.
Otherwise I would google in terms like editing apks and adb pull adb push etc. and maybe you will figure it out too.
Hell I can't wait to ruin my phone now that I am armed and dangerous =)
Click to expand...
Click to collapse
Lol, i actuallly finally figured out how to extract the png's, so i am going to edit in photoshop, then replace the current images with the app ninjamorph.
*didnt work* left a huge blank space on noti. bar and when I rebooted to see if it would show, I bootlooped*
Well. I spent last night learning to resign edited apk files, so literally nothing on my phone is safe now.
Contempt4You said:
Well. I spent last night learning to resign edited apk files, so literally nothing on my phone is safe now.
Click to expand...
Click to collapse
Is there any way to pack the png's so that I can flash them or install as an apk?
Anyone know how I'd do this? I already have the edited png's.
Can I send any of you guys the folder with the icons and you can help me out with this?
Thanks again
It seems the easiest way to change or theme icons is to not unzip them. Just open them with 7zip and make your changes, then close it. They will stay compressed and all of the info and size will remain intact.
Once changed you will have to resign the apk or zip file.
I spent the better part of 2 hours reading up on it using these forums and google, but I do not in any way feel knowledgable enough to instruct you on the finer points. There are oodles of topics on editing apk's and signing them when you are finished.
The steps seem pretty clear:
1. download or pull apk
2. open with 7zip
3. make changes keeping sizes and file names the same
4. close
5. re-sign the apk or zip file (most likely have to delete the existing files to the original signing which will be replaced with your own)
6. push or install the zip or apk (make sure the original app is uninstalled prior to reinstalling the changed app)
There are various methods and tools. The most helpful thread I found on signing is here: http://forum.xda-developers.com/showthread.php?t=473580
I hope this covers it all and is helpful to you. I am new at it and can only tell you to backup everything and if you are unclear on any of it, then don't attempt it.
Read all the posts related to it. There is great info and plenty of feedback on known issues or mistakes others have had.

[Q] 10% Battery icons for Tranquility 3.0

I've been trying to modify Tranquility 3.0 to use 10% increments instead of the default 20% with the icons found in this thread: 821606
(Apparently a link to another topic is an "outside link" and I'm not allowed to post it. Just replace this topic's ID with that one and you'll find the thread I'm talking about)
So far I've been able to boot with the correct icons but I get strange force closes and weird patterns, especially in the little loading bars and in the volume bars. It's odd.
I've attached the .pngs and .xmls I would like to use - can anyone build a working framework-res.apk for Tranq's dark theme to use these icons/xmls, or at least tell me where I've gone wrong in creating my own?
Sunblood said:
I've been trying to modify Tranquility 3.0 to use 10% increments instead of the default 20% with the icons found in this thread: 821606
(Apparently a link to another topic is an "outside link" and I'm not allowed to post it. Just replace this topic's ID with that one and you'll find the thread I'm talking about)
So far I've been able to boot with the correct icons but I get strange force closes and weird patterns, especially in the little loading bars and in the volume bars. It's odd.
I've attached the .pngs and .xmls I would like to use - can anyone build a working framework-res.apk for Tranq's dark theme to use these icons/xmls, or at least tell me where I've gone wrong in creating my own?
Click to expand...
Click to collapse
No thread identified. But upload the tranquility framework and i'll try.
yawdapaah said:
No thread identified. But upload the tranquility framework and i'll try.
Click to expand...
Click to collapse
Thanks, I appreciate it.
Sunblood said:
Thanks, I appreciate it.
Click to expand...
Click to collapse
Be careful I don't have Tranquility so I can't test it. Use it at your own risk.
Thanks
http://www.mediafire.com/?4c2ynglf5bzzpk5
I'd be interested to know if it works out after the edits. On that note if you guys wouldn't mind if it does work I can get it off t oP3 so he could add it into his next update of TranQ.
will2live said:
I'd be interested to know if it works out after the edits. On that note if you guys wouldn't mind if it does work I can get it off t oP3 so he could add it into his next update of TranQ.
Click to expand...
Click to collapse
Well if you have tranquility, you can try it out. I've already uploaded the file.
Thanks
yawdapaah said:
Well if you have tranquility, you can try it out. I've already uploaded the file.
Thanks
Click to expand...
Click to collapse
Well I do have it and run it, but atm I don't have the device in my possession. I lent it to a friend to use as they are waiting for a replacement so I'm using one of my other devices right now. If I get it back prior to hearin or seeing as reply here I will check it out tho.
will2live said:
Well I do have it and run it, but atm I don't have the device in my possession. I lent it to a friend to use as they are waiting for a replacement so I'm using one of my other devices right now. If I get it back prior to hearin or seeing as reply here I will check it out tho.
Click to expand...
Click to collapse
Thank you. I've been rom-whoring recently and have settled down with Fission . If I install tranquility, I'll test it myself as well. GL
Nope, not working - now I just have a bootloop. Thanks for the effort though - maybe someone else could have a go at it?
Your best bet is to take the original DX-Tranquility_3.0.zip and modify it then install it again. Since this ROM does not require a wipe.
I did have issues at first when I tried to extract the zip then make my changes, but this link helped me figure out how to do it through 7zip. Once you are in the correct location you can add your new images to the “drawable-hdpi” folder.
I have done this and added different battery icons, changed the notification bar and replaced the "Verizon Wireless" text.
FYI:
I added "stat_sys_battery_0.png" through "stat_sys_battery_100.png" in increments of 10 with 5 and 15 added but it is still reporting 20% increments.
L8
@ Sunblood: how did you install it?
tonm156 said:
Your best bet is to take the original DX-Tranquility_3.0.zip and modify it then install it again. Since this ROM does not require a wipe.
I did have issues at first when I tried to extract the zip then make my changes, but this link helped me figure out how to do it through 7zip. Once you are in the correct location you can add your new images to the “drawable-hdpi” folder.
I have done this and added different battery icons, changed the notification bar and replaced the "Verizon Wireless" text.
FYI:
I added "stat_sys_battery_0.png" through "stat_sys_battery_100.png" in increments of 10 with 5 and 15 added but it is still reporting 20% increments.
L8
Click to expand...
Click to collapse
I'll concur as that is the same thing I've done to make some changes to framework-res. Its actually pretty simple to do once you have the files you want to add, and know the location of where they need to be. Kinda just turns into a drag & drop and you are done.
As for the reporting of 20% increments like you mention. I asked P3 about it and it is a thing with the X and the way the software is done by Moto/VZW. He has yet to get it working to report in 10% increments even if you have the images there.
I have seen other ROMs report that have 10% increments working but my guess if they are once that are fully built from source which TranQ is not.
yawdapaah said:
@ Sunblood: how did you install it?
Click to expand...
Click to collapse
Pushed to /sdcard with adb, moved to /system/framework/framework-res.apk with adb shell. Rebooted.
As for the 10% increments, that's achieved by editing the .xml that tells the OS what images to use at what battery percentage. Replacing already-used images is easy, but the .xml is encrypted. You'll have to use APKTool to decrypt it. The difficulty comes from re-encrypting properly.
You don't have to build from source to get the 10% working. I've done it for NexTheme and Revo for ApeX.
The file I uploaded was created via the same process. Only problem is that i'm not using Tranquility and can't test it. Furthermore, the level of P3droids mods may cause any changes to the framework to bootloop. I'll try to test it when I get home.
http://androidforums.com/droid-x-all-things-root/210016-nextheme-10-circle-battery-mod.html
yawdapaah said:
You don't have to build from source to get the 10% working. I've done it for NexTheme and Revo for ApeX.
The file I uploaded was created via the same process. Only problem is that i'm not using Tranquility and can't test it. Furthermore, the level of P3droids mods may cause any changes to the framework to bootloop. I'll try to test it when I get home.
http://androidforums.com/droid-x-all-things-root/210016-nextheme-10-circle-battery-mod.html
Click to expand...
Click to collapse
first off that is good to hear seeing as I've been told otherwise by many different people. And seeing as I don't know enough in general to question them I don't.
That said if you are willing and had the time if you could PM me the info on what needs to be changed I'll try it out myself. Least of my concern is a bootloop or brick to be honest. I have anything and everythign I'd need to get it back running again no matter what happens as it is pretty much next to impossible to completely brick one of these devices as long as you don't mess up the actual bootloader which would not be an issue in this case.
will2live said:
first off that is good to hear seeing as I've been told otherwise by many different people. And seeing as I don't know enough in general to question them I don't.
That said if you are willing and had the time if you could PM me the info on what needs to be changed I'll try it out myself. Least of my concern is a bootloop or brick to be honest. I have anything and everythign I'd need to get it back running again no matter what happens as it is pretty much next to impossible to completely brick one of these devices as long as you don't mess up the actual bootloader which would not be an issue in this case.
Click to expand...
Click to collapse
Easy peasy. Long read but very simple process.
http://androidforums.com/droid-x-all-things-root/210021-how-10-battery-themed-framework-apks.html
yawdapaah said:
Easy peasy. Long read but very simple process.
http://androidforums.com/droid-x-all-things-root/210021-how-10-battery-themed-framework-apks.html
Click to expand...
Click to collapse
Thanks give me something to mess with over the weekend while watching some football seeing as my golf season has come to a close iwth it being so dam cold around here already.

Alter Cyanogen mod Settings

Hey everyone,
i have removed apps that i don't think i will ever use, E.G themes, and would like to alter the Cyanogen mod Settings to remove the entires that are no longer needed, as i have never done this before, i will most likely need to be helped step by step, or if you have a link to a guide already made that will be great
This is probably more involved that you would like to go.
That is part of "ROM" itself and can't be removed like a apk in system app.
Do you want to remove it from the source and compile it yourself? Think that is the way you have to go to accomplish what you want. Maybe it can be edited out in the ROM.zip prior to flash but I don't know
dam, i hoped it would be simple, i may have to re-compile it as you say, cause since i removed themes, it obliviously crashes if i accidentally hit the theme button in settings, i'll go looking to see if i can find something relating to that, thanks
kenpachizero said:
dam, i hoped it would be simple, i may have to re-compile it as you say, cause since i removed themes, it obliviously crashes if i accidentally hit the theme button in settings, i'll go looking to see if i can find something relating to that, thanks
Click to expand...
Click to collapse
Hi,
You can always just try a launcher that allows u to hide the apps u do not want to use....
And you can also disable some of those hidden apps under "manage applications" but be careful since some of the main apps are used by other system apps like gallery, email, etc. I just hide them and its like they do not exist.
This way if a force close happens due that app being disabled u can always reenable it so it fixed the force closures.
Or find a ROM that slim/minimal so u dont have worry about those apks in the first place.
Good luck
Vs Nexus S4G using tapatalk2
He is actually referring to the stuff in the settings menu.
So when he deletes the theme manager apk for example it also disappears from the settings.
At least that's what I think he is talking about.
albundy2010 said:
He is actually referring to the stuff in the settings menu.
So when he deletes the theme manager apk for example it also disappears from the settings.
At least that's what I think he is talking about.
Click to expand...
Click to collapse
After reading the post again..
I believe ur correct since it seemed to easy of a question to ask and answer.
But I just wonder why those settings are even a bother to the phone or its performance.
Vs Nexus S4G using tapatalk2
Minimalist approach. I can see how it can annoy somebody very easily.
Decompile and edit the smali files which is a huge pain in the ass or do it from source, those are generally your only 2 options. I did it for my GS2, it's much, MUCH, easier to do it from source. Understanding smali makes me want to rip my hair out. Stick to the source, haha trust me.
Try your luck. Here are some resources to help you out.
http://code.google.com/p/smali/w/list
http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html
http://s.android.com/tech/dalvik/dalvik-bytecode.html
Look for something called dex2jar, it'll convert the classes.dex in an apk file to a jar which you'll be able to read/understand with jd-gui.

[Q] Material Stk.apk (SIM Toolkit) for Marshmallow ?

Hi !
Marshmallow was rolling out on our Nexus 5 and brought many features. But every year, the problem remains the same : the SIM Toolkit app (Stk.apk) comes with an ugly and old design and a low-res icon.
Decompile Stk.apk, change the icon, recompile it and put it in the right folder (/system/app/Stk) is not really difficult. But "materialize" this app is not something I'm able to do.
So, can someone here materialize Stk.apk and give a better look to this app ?
Thanks !
PS : I know that it is not a really important app for many users, but I think that it could be better if we can give an updated UI to this app, there are many reports about that but Google does not seem to want change something...
It can be easily done with a custom launcher like Nova. No need to decompile
[Gorgasm] said:
Hi !
Marshmallow was rolling out on our Nexus 5 and brought many features. But every year, the problem remains the same : the SIM Toolkit app (Stk.apk) comes with an ugly and old design and a low-res icon.
Decompile Stk.apk, change the icon, recompile it and put it in the right folder (/system/app/Stk) is not really difficult. But "materialize" this app is not something I'm able to do.
So, can someone here materialize Stk.apk and give a better look to this app ?
Thanks !
PS : I know that it is not a really important app for many users, but I think that it could be better if we can give an updated UI to this app, there are many reports about that but Google does not seem to want change something...
Click to expand...
Click to collapse
Best way is to simply dematerialize it forever. By removing it.
Primokorn said:
It can be easily done with a custom launcher like Nova. No need to decompile
Click to expand...
Click to collapse
I prefer to stay on GNL (and XGELS is not available for MM for the moment). But I have already changed the icon myself, so the main problem is the overall design of the app :/
I know that an app can be materialized by using Layers, I will investigate with apktool et try something in that way but I'm not sure of the result ^^
zagorteney said:
Best way is to simply dematerialize it forever. By removing it.
Click to expand...
Click to collapse
You have already said that in the Cataclysm thread and it is not what I want. This issue was already reported to Google but nothing comes from them, so I just want to begin a discussion to solve this problem ourselves ^^
Decompile the apk with apktool.
Go to mipmap folders and put your custom icon (same dimensions).
Recompile and sign the new apk.
Sent from my Nexus 5 using Tapatalk

Categories

Resources