yashsingh1/xdaforums huggingface dataset:
[One (M8) Themes and Apps] erislav:
Does not work for me

i tried almost every apktool i found :(

i always get errors when recompiling

Errors ar not in every sense app the same but in every sense app i tried its always no resource found :confused:

if i decompile without resources it works but i need the resources

errors look like this...

C:\Users\TINUS\com.htc.resources\res\menu\common_gallery_single_photo_menu_onlin

e.xml:9: error: Error: No resource found that matches the given name (at 'id' wi

th value '@id/menu_hide_caption').

C:\Users\TINUS\com.htc.resources\res\menu\common_gallery_single_photo_menu_onlin

e.xml:9: error: Error: No resource found that matches the given name (at 'title'

with value '@string/button_hide_caption').

C:\Users\TINUS\com.htc.resources\res\menu\common_gallery_single_photo_menu_onlin

e.xml:10: error: Error: No resource found that matches the given name (at 'id' w

ith value '@id/menu_show_description').

C:\Users\TINUS\com.htc.resources\res\menu\common_gallery_single_photo_menu_onlin

e.xml:10: error: Error: No resource found that matches the given name (at 'title

' with value '@string/button_show_description').
[One (M8) Themes and Apps] Basil3:
try this one:

https://www.dropbox.com/s/96w239n6kx2e0a5/apktool_2.0.0rc3_edit.jar?dl=0

and aapt:

https://www.dropbox.com/s/83gksyseh8sx5hz/aapt.exe?dl=0
[One (M8) Themes and Apps] erislav:
will try it later

hopefully rc4 will fixes the errors flying around

thanks sir
[One (M8) Themes and Apps] alexdiaz:
I think it should only work when you have a notification and you pull the phone out of your pocket. At least I think this is how it worked on GPE. And for incoming of course.

Could you please mod these files? Then share and I'll try it out. The files are from .401 Lollipop base.

https://drive.google.com/open?id=0B3GGrEh5gNiQcVJ3WnVmZnpaeDA&authuser=0
[One (M8) Themes and Apps] Raymond Ebertt:
I have a modded apktool and aapt.exe that works fine for Android 5 and I've tested on HTC Sense for Android 5 with no problems. I believe [MENTION=918378]Basil3[/MENTION] posted links for them already. Give them a shot but I can't confirm if they will work for framework-res as RC3 seems to be alright for now.
[One (M8) Themes and Apps] maurydes:
well im really annoyed whit this situation in new base but and so,i have one apktool version for systemUI another one for com.htc.resources.apk and other and now can decompile message and calculator apk but not recompile.....got me error also whitout change.any idea?:eek:
[One (M8) Themes and Apps] Basil3:
I think for message i decompiled with rc3 and compiled with rc2. something messed up like that anyway. can't remember problems with calculator.
[One (M8) Themes and Apps] maurydes:
mmm will try, ok for me same situation message/calculator decompile but not recompile.thanks:good:
[One (M8) Themes and Apps] Kiray1982:
i also cant recompile systemui or calculator...

i built apktool from github and now it works for this.

for message it suxx again, but should work with another posted before

dl: http://gugl-deluxe.de/dark_sense/apktool-kiray.jar

(aapt, smali,baksmali included in jar)
[One (M8) Themes and Apps] ineedone:
Obviously in need of some font colors... If anyone can help me out?

edit:

okay, found them, in framework-res,

<color name="primary_text_default_material_light">#deffffff</color>

<color name="secondary_text_default_material_light">#8affffff</color>
[One (M8) Themes and Apps] Neo:
Frustrated

Got another annoying situation for you guys ;)

We all know that when adding an extra color theme (Let's call it theme 10) we have to add

an htcprogress_themeten xml for theme and all 4 categories (5 files),

an htcprogress_full_themeten xml for theme and all 4 categories (5 files),

and an htcprogress_b_themeten xml for theme and all 4 categories (5 files).

This is a total of 15 new xmls added to Data/res/drawable which define necessary color codes.

Let's pretend I set all 15 of these, in their xmls, to red ff0000 (ffff0000).

Now we take a trip into Data/res/arrays and add in the new theme on all the necessary lines (mirroring that of the other themes obviously).

Moving on, we modify styles.xml in Data/res/values and add in theme, and all 4 category lines (roughly 129 lines of code) mirroring exactly, the pattern outlined by that of the previous theme (theme 9). However, we will pretend we changed all of the available 6 digit hex color codes to red as well (ff0000).

After successfully compiling, we add our new wallpaper into resources for our rom, the weird apparently now necessary lines into ACC/default.xml, and the wallpaper name into default.xml for MNS like in the past.

The result: My theme color is in place, viewable and selectable in the theme selector with theme preview, and the theme can be chosen. Everything in the rom (that doesn't follow it's own styles of course) is now red.

However!!!... The Quick Settings Toggles remain that disgusting spiramint green for some reason as well as volume sliders...

In my Sense 6 KK build, I have 33 selectable themes and the toggles will change with the themes primary color following the same implementation method I outlined, so obviously something has changed in Sense 6 Lollipop...

TL/DR: Does anyone know how the heck I can change the colors for Quick Settings toggles and volume sliders on this new Android Platform?

Much appreciated,

Neo
[One (M8) Themes and Apps] ineedone:
In sense lollipop systemui got it's own theme colors as well..
[One (M8) Themes and Apps] Raymond Ebertt:
I'd love to help but for some strange reason, I'm unable to push apps with VTS on the Android 5 Sense Rom.

If anyone else is able to remount and or shell stop using VTS, please kindly let me know what Rom you are using and any other secrets you did to make it work.

I know I'm not alone on this mystical journey
[One (M8) Themes and Apps] Neo:
I just drop it into a rom zip and flash with the rom tbh. Flash a whole rom to test 1 thing :P
[One (M8) Themes and Apps] Raymond Ebertt:
You got ballz... I did that before but got frustrated a bit quickly.

I got to sort this out
[One (M8) Themes and Apps] Basil3:
At very worst, you'll have to boot to recovery, mount system, adb push, reboot.

---------- Post added at 07:33 AM ---------- Previous post was at 06:45 AM ----------

Surely changing that is going to have a serious knock-on effect to third party apps? Would say you need to change in sysui.
[One (M8) Themes and Apps] ineedone:
It's a nasty edit, and I'm not happy about it... An edit in systemui would be perfect, but I was not able to find out how, probably it needs a smali edit which is not my strongest thing...

About vts, I can't push files too. I simply copy them with es filexplorer over the network, and set permissions, this works fine for apps and priv-apps. Framework files I copy to my sdcard, move them in recovery with file manager, after mounting system, and set permissions on the copied file and reboot.
[One (M8) Themes and Apps] Raymond Ebertt:
Everything sounds quite tedious. There's definitely something going on with the Sense version of Android 5. I have no problems with GPE on Android 5. Hopefully someone out there will find a cure for the VTS bug....
[One (M8) Themes and Apps] ineedone:
yep, i decided to report it in the vts forum, now i seems this is a common problem.

Personally i think htc didn't do a really good job on this update, the mixture of lollipop and sense feels a bit strange. Like systemui pulldown are pure lollipop, including animations, also battery statistics are straight from lollipop. I'm curious what sense 7 will bring us...
[One (M8) Themes and Apps] Raymond Ebertt:
I totally agree. Something is fishy with this update and even unsecured doesn't do anything. I'd love to know what HTC did to lock it up as tight as Fort Knox. Someone seriously doesn't want this Sense to be themed easily.
[One (M8) Themes and Apps] Kiray1982:
Hey mates,

after hours of try and error decompiling and compiling, i built a batch-script.

it decompiles each apk with my personally favorised apktool and also compiled it with one of these.

i have upload my results to my ftp and its dynamically updated while batch is running.

example:

[B]BackupRestoreConfirmation [/B]
DECOMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]1_apktool_lollipop_edit	2.0.1-34147f-SNAPSHOT
COMPILING	[COLOR="Red"]FAILED	[/COLOR]1_apktool_lollipop_edit	2.0.1-34147f-SNAPSHOT
COMPILING	[COLOR="Red"]FAILED	[/COLOR]2_apktool-cli	2.0.9-kiray
COMPILING	[COLOR="Red"]FAILED	[/COLOR]3_apktool_2.0.0rc3_edit	2.0.0-20504d-SNAPSHOT
COMPILING	[COLOR="Red"]FAILED	[/COLOR]4_apktool_2.0.0rc3	2.0.0-RC3

DECOMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]2_apktool-cli	2.0.9-kiray
COMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]1_apktool_lollipop_edit	2.0.1-34147f-SNAPSHOT

DECOMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]3_apktool_2.0.0rc3_edit	2.0.0-20504d-SNAPSHOT
COMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]1_apktool_lollipop_edit	2.0.1-34147f-SNAPSHOT

DECOMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]4_apktool_2.0.0rc3	2.0.0-RC3
COMPILING	[COLOR="Red"]FAILED	[/COLOR]1_apktool_lollipop_edit	2.0.1-34147f-SNAPSHOT
COMPILING	[COLOR="Red"]FAILED	[/COLOR]2_apktool-cli	2.0.9-kiray
COMPILING	[COLOR="Red"]FAILED	[/COLOR]3_apktool_2.0.0rc3_edit	2.0.0-20504d-SNAPSHOT
COMPILING	[COLOR="Red"]FAILED	[/COLOR]4_apktool_2.0.0rc3	2.0.0-RC3

[B]framework-res [/B]
DECOMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]1_apktool_lollipop_edit	2.0.1-34147f-SNAPSHOT
COMPILING	[COLOR="Red"]FAILED	[/COLOR]1_apktool_lollipop_edit	2.0.1-34147f-SNAPSHOT
COMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]2_apktool-cli	2.0.9-kiray

DECOMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]2_apktool-cli	2.0.9-kiray
COMPILING	[COLOR="Red"]FAILED	[/COLOR]1_apktool_lollipop_edit	2.0.1-34147f-SNAPSHOT
COMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]2_apktool-cli	2.0.9-kiray

DECOMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]3_apktool_2.0.0rc3_edit	2.0.0-20504d-SNAPSHOT
COMPILING	[COLOR="Red"]FAILED	[/COLOR]1_apktool_lollipop_edit	2.0.1-34147f-SNAPSHOT
COMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]2_apktool-cli	2.0.9-kiray

DECOMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]4_apktool_2.0.0rc3	2.0.0-RC3
COMPILING	[COLOR="Red"]FAILED	[/COLOR]1_apktool_lollipop_edit	2.0.1-34147f-SNAPSHOT
COMPILING	[COLOR="Lime"]SUCCESS	[/COLOR]2_apktool-cli	2.0.9-kiray

as you can see, "framework-res" compiling fails only with lollipop_edit, but works with second apktool.

GOOGLE DRIVE - Checkapk results

after apktool rc4 or another version is out, i will re-run these script and publish my results.

thx for incoming feedback, kiray

EDIT// actually i test arhd-files from whole system/app, system/priv-app and system/framework

EDIT// (more coming soon(ViperOne))
[One (M8) Themes and Apps] Kiray1982:
added apktool_rc4 by choi for arhd v34 and insertCoin revision 89

may errors are failed by corrupted images in apk, i think it can be fix as before (kitkat)
[One (M8) Themes and Apps] ineedone:
I've been using this apk tool with external aapt the last couple of days. I didn't have any issues with it. https://www.dropbox.com/s/upzxq3qfklbmm4w/apktool with external custom aapt.zip?dl=0

And yes, just replace the images before decompile
[One (M8) Themes and Apps] Kiray1982:
Thx will check myself
[One (M8) Themes and Apps] BrandonBaskin:
Possible to change text color for each mail account?

what about changing the text color of mail accounts? is that possible?
[One (M8) Themes and Apps] Raymond Ebertt:
Are you referring to the default generic mail apps that come preinstalled? If so, I've never touched them and not even sure if any of the other experienced Sense themers had. I know fisha and I spent some time tracking down the launcher icon but other than that, no specific theming
[One (M8) Themes and Apps] BrandonBaskin:
Yeah, I meant the stock Htc Mail app. It color codes each account that you add. It seems the original uses the overall theme for the app (Orange) and the others use variants of the Sense 6 theme colors (pale red, a sort of pastel green, and yellow/gold) wondering how those could be modded, or even better changed based on account type (purple for Yahoo mail accounts, blue for Outlook, red for Gmail, etc.)
[One (M8) Themes and Apps] Basil3:
Pretty sure I've changed that before in smali, but stopped doing it because it interferes with other mods in the ROM I'm on.
[One (M8) Themes and Apps] BrandonBaskin:
Thanks! So it's definitely in the smali then and not the xml? Could you point me in the right direction?
[One (M8) Themes and Apps] Basil3:
I'll have a look in a bit
[One (M8) Themes and Apps] Basil3:
All the account colors just appear to be in colors.xml

<color name="account_color01">#ff0086cb</color>
<color name="account_color02">#ffff5d3d</color>
<color name="account_color03">#ff8766c8</color>
<color name="account_color04">#ff4ea770</color>
<color name="account_color05">#ff0f4eac</color>
<color name="account_color06">#ff3dd0ac</color>
<color name="account_color07">#ff978e25</color>
<color name="account_color08">#fff88461</color>
<color name="account_color09">#ffea89ee</color>
<color name="account_color10">#ffd3c203</color>
<color name="account_color11">#fffb5e6d</color>
<color name="account_color12">#ff2e9f36</color>
<color name="account_color13">#ffb42a2e</color>
<color name="account_color14">#ff9e593b</color>
<color name="account_color15">#ff118f97</color>
<color name="account_color16">#ffc8919e</color>
<color name="account_color17">#ff8a997c</color>
<color name="account_color18">#ffc14cb5</color>
<color name="account_color19">#ffb1c2c7</color>
<color name="account_color20">#ff88cbff</color>
<color name="account_color21">#ffdb9000</color>
[One (M8) Themes and Apps] Basil3:
i'm on lollipop now, was in smali for kitkat i think.

edit: are you sure it's not those common_label colours on kitkat?
[One (M8) Themes and Apps] BrandonBaskin:
I was wondering about that. Especially since the values seem exactly the same, but when I edited them there was no effect.
[One (M8) Themes and Apps] Basil3:
In that case, it is smali. It will be this file:

\Data\smali\com\htc\android\mail\eassvc\common\EASCommon.smali

Example, on line 486 is const v2, -0xa2c3, which is smali for #FFFF5D3D.
[One (M8) Themes and Apps] BrandonBaskin:
AWESOME. i never would have found this without your help. Can' t thank you enough.
[One (M8) Themes and Apps] Basil3:
Finding this stuff is actually not bad.

First get the colour code of the colour you're looking from a screenshot using photoshop, android monitor, whatever.

Search for the colour code in xml using vts.

If you get no hits, then try converting the hex colour code to smali using Android Color Converter found here

Search for the smali colour code in smali.

That technique will find you most stuff, probably 80%.
[One (M8) Themes and Apps] BrandonBaskin:
Thanks so much! By the way, it worked :)
[One (M8) Themes and Apps] erislav:
animated softkeys

Is there a way to animate the softkeys ? Like spinning all time.

I tried it, making a xml animationdrawable and renamed it to navigation_icon_home, but it dont play it it only shows the first png.

Does i need to change somthing in the smalis, that the animation starts ?

If im right the home button gets loaded in navigationbarview.smali

Thanks for help ;)
[One (M8) Themes and Apps] Kiray1982:
Nope, simple create XML with animated image. Saw this many moons before
[One (M8) Themes and Apps] wil123:
Hello everyone,

I have one question : how to change open/close animations in sense 6 to match android 5.0 ?

Thanks in advance.
[One (M8) Themes and Apps] erislav:
Does not work a

Just shows the first png

I set oneshot to false
[One (M8) Themes and Apps] Pneuma1985:
Well animations will only work in certain places and if the nav bar doesn't have an anim in out in smali it's only going to show the first image always make sure you have one shot set to false also in your selector list.
[One (M8) Themes and Apps] Onepagebook:
Sorry buddies, is there anyone know or got idea where I can mod the background (color or png) for part A and B show on the screenies I post?

Thanks in advance for all
[One (M8) Themes and Apps] Basil3:
They are just:

<color name="notification_header_color">#ffwhatever</color>

<color name="notification_panel_color">#ffwhatever</color>

in SysUI colors.xml.....unless you mean something else :D
[One (M8) Themes and Apps] Neo:
Hey guys! I have another question for you brilliant minds.

As you know, in Sense 6 Android 5.0.1 the theme preview header colors are now defined by strings added into ACC/default.xml ie:

<item type="string-array" name="htctheme_list">
<string>GRE00</string>
<string>0</string>
<string>wallpapers_00.jpg</string>
<string>ORG00</string>
<string>1</string>
<string>wallpapers_01.jpg</string>
<string>HTC00</string>
<string>2</string>
<string>wallpapers_02.jpg</string>
<string>GRY01</string>
<string>3</string>
<string>wallpapers_03.jpg</string>
<string>BLU00</string>
<string>4</string>

and so on. Where are the strings located that it calls on? If I wanted to change all these default color themes, I'd like the preview headers to reflect that of my new themes..

Any help would be appreciated ;)

Neo

EDIT: Nevermind! Strangely enough, it knew what the header colors should be and generated the correct colored headers for me :)
[One (M8) Themes and Apps] ineedone:
As far as I know those doesn't make the color, the naming HTC00 is of no concern, you can make your own, just the amount of string 0,1,2,3,4, etc and the attached wallpaper are of importance. Your themepreviews get autogenerated , at least the first so few . You,just need to delete the previews in /data/data/com.htc.home.personalize/files/themePreview/ and reboot

To explain a bit more, the wallpapers and 0,1,2,3 etc should correspond to the wallpapers and wallpaper_themes integer arrays you find in arrays.xml of com.HTC.resources
[One (M8) Themes and Apps] Neo:
Thanks. I appreciate the response :)
[One (M8) Themes and Apps] ineedone:
Extended previous response a bit ?
[One (M8) Themes and Apps] Mr Hofs:
I have themed the white background of the dropdown box before but cant seem to find it anymore (this is the stock message app btw) anybody a hint.

A common dropdown background in com.htc.resources.apk ?
[One (M8) Themes and Apps] ineedone:
Okay a hint: your only missing the .9 ?
[One (M8) Themes and Apps] Mr Hofs:
yeah i figured, building the apk now. Thanks :p

Edit : Yep that fixed it :)
[One (M8) Themes and Apps] ineedone:
Thank you, had fun about that one, couldn't resist ?
[One (M8) Themes and Apps] Mr Hofs:
hahaha yeah i understand that you did :D
[One (M8) Themes and Apps] erislav:
Animated Softkeys

I finaly got my animated Homebutton :D

If somebody want it too, just tell me and i will attach the files ;)

Guide

-Download the attached zip

-Decompile Systemui.apk

-Delete Navigation_icon_home.png in systemui/res/drawable-xxhdpi/

-Copy the files from the zip in sytemui/res/

-Build and have Fun :)

The animation is image controlled, so you can only edit the icon_home.xml and replacing the images.
[One (M8) Themes and Apps] ViNOK16Bit:
It would be awesome if you post the edits here!

Sent from my HTC One_M8 using Xparent Red Tapatalk 2
[One (M8) Themes and Apps] Neo:
Thanks Guys [emoji4]
[One (M8) Themes and Apps] Neo:
Has anyone managed to prevent a modified SystemUI from FC on the first boot? When I adb push my SystemUI on my already flashed rom, it works just fine and the themed Settings look fantastic. However, when I attempt to include that modified SystemUI in my rom zip and clean flash, I get a permanent SystemUI FC on first boot which keeps me from proceeding past any point... This on on Sense 6 5.0.1
[One (M8) Themes and Apps] Mr Hofs:
Hmm haven't tried that, sorry
[One (M8) Themes and Apps] Onepagebook:
yo bro, figure it out and help by a friend, not just that, I will share later,

thanks very much

Edit:

been discussing all about QS part with my friend (ICI), below is some input I thought would help

as what I mentioned eralier about A, B part of background and stuff:

A:

method 1:

<color name="notification_header_color">#c5ff9000</color>

or

method 2:

In layout\status_bar_expanded_header.xml

<com.android.systemui.statusbar.phone.StatusBarHeaderView android:layout_gravity="center|left|top" android:orientation="vertical" android:id="@id/header" android:background="@drawable/header_bg"

and put a png names header_bg in folder drawable-xxhdpi

B:

method 1:

<color name="notification_panel_color">#ffd91010</color>

or

Method 2:

In layout\qs_panel.xml

<FrameLayout android:id="@id/quick_settings_container" android:background="@drawable/qs_bg" android:paddingTop="8.0dip"

and put a png names tile_bg in folder drawable-xxhdpi

**one color control all when you press the qs tile effect

in drawable\ripple_drawable.xml

<?xml version="1.0" encoding="utf-8"?>

<ripple android:color="#ffff0000"

xmlns:android="http://schemas.android.com/apk/res/android" />

this color is to control button reaction color when you press any button in pull-down screen

in this example, it will show pure red

**method 2 can give you image as background
[One (M8) Themes and Apps] Basil3:
Using modified SysUI atm, no problems.
[One (M8) Themes and Apps] Neo:
Thanks. I meant to post in here that I found my SystemUI FC to be the result of a com.htc.resources issue rather than the SystemUI itself (which I had modified prior to the issues). Thanks for checking though! I'm up and running like a champ.
[One (M8) Themes and Apps] Basil3:
Ah yes, I did have that problem at one point :D
[One (M8) Themes and Apps] erislav:
quick question is it possible to flash edited xml files in recovery to a app ?:confused:

because im trying it with compiled and decompiled xml files and still got FC.

Im trying to get my mod flashable, but i dont want do flash the full apk because im using lyopotas Mod pack, and this flash the whole systemui.apk
[One (M8) Themes and Apps] Basil3:
Yes, use vr theme (search xda for thread)

Edit: it also depends on what he has edited, and what you're editing. You could also flash his mod, then pull SysUI from your device, then do your edits and push back.
[One (M8) Themes and Apps] LeeDroid:
Have you restored the original AndroidManifest.xml and the signatures in META-INF

Edit - just seen your post re resources.....
[One (M8) Themes and Apps] Mr Hofs:
Been browsing here in the OP but couldn't find this white background and where it's called from ?
[One (M8) Themes and Apps] fisha21:
This any help?

http://xdaforums.com/showthread.php?p=57009997
[One (M8) Themes and Apps] Mr Hofs:
Amongst the living again buddy ! :D thanks, must have missed it in the busy mess called life

Will test it ASAP !
[One (M8) Themes and Apps] nightrainbow:
Hi everyone,

Does anybody knows how to remove the am/pm from the statusbar clock?

I know there was a simple smali edit on kitkat, but is not working anymore.

Thank You
[One (M8) Themes and Apps] dmonium:
Go to Settings, next Date & time, and check Use 24-hour format
[One (M8) Themes and Apps] SoLdieR9312:
Hey guys,

do anyone know this one? i know that the text color is controlled in framework-res.apk, but the same color is for share menu, so i need to change the background

of this material element :)
[One (M8) Themes and Apps] Basil3:
I posted the solution if you read back a few pages. Resolver layout xmls.
[One (M8) Themes and Apps] fisha21:
More of a visit than a return, most likely!
[One (M8) Themes and Apps] adtino:
Does anyone know how to add an animation to the home button when leaving an app and returning to the home screen?

Thanks for any help you can give!! :)
[One (M8) Themes and Apps] threetwentyfizzle:
Nicee, how did you get Beats in your settings? You on the M7?
[One (M8) Themes and Apps] bdizzle1686:
If you're on the m8, all u have to do is edit system/customize/acc/default.xml , towards the bottom, there should be a line that says enabled beats ... Change it from false to true, reboot, and you'll have beats audio in your settings. Can do the same with BoomSound and music channel on m7