[[Q]Android] A list from all currently loaded resources? - General Questions and Answers

Hello, and sorry for the Bad english.
Any way to list me.all currently loaded resources on Android (path)
Example:
Statusbar signal strength image :
/res/drawable-xxhdpi/blabla.png
Thaml.you.

Decompile the SystemUI/framework-res APKs and check, maybe? What are you trying to do?

Hello,
yeah i know the loaded resources but 'm not sure.
After Boot or airplane mode he use the res from xxxhdpi folder
Screen 1, cant use url and img command
After few seconds vor first data RX,TX he change back to the res hdpi folder.
Screen2
But i think he use other res too, but I can not locate them .
Then i replace the hdpi images with the xxxhdpi images Android scale incorect.
Is only a cosmetic Problem, it bugs me.
PS:
"To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!"
... Bull****, only Handicaps to write here :-/

gekkorist said:
Hello,
yeah i know the loaded resources but 'm not sure.
After Boot or airplane mode he use the res from xxxhdpi folder
Screen 1, cant use url and img command
After few seconds vor first data RX,TX he change back to the res hdpi folder.
Screen2
But i think he use other res too, but I can not locate them .
Click to expand...
Click to collapse
Correct. Which gets used depends on your device's resolution.
You can check this page for more info: http://developer.android.com/guide/practices/screens_support.html
gekkorist said:
Then i replace the hdpi images with the xxxhdpi images Android scale incorect.
Is only a cosmetic Problem, it bugs me.
Click to expand...
Click to collapse
You can't just replace them, you'll also want to resize the image to it has the same size.
gekkorist said:
PS:
"To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!"
... Bull****, only Handicaps to write here :-/
Click to expand...
Click to collapse
It's only for the the first posts, which shouldn't be too hard (especially if you can help others out). Spam posts will be removed, though, so please don't post things like "thanks" or "hi".
Also, a friendly reminder about the forum rules: there's no need for swearing.

OK,
but can i force the system.to use only one resolution?
Or it is a bug in the Rom?
He use hdpi and xxxhdp images but it is a xxhdpi device.
Test with "ro.sf.lcd_density " but dont work, same.Problem.

gekkorist said:
OK,
but can i force the system.to use only one resolution?
Or it is a bug in the Rom?
He use hdpi and xxxhdp images but it is a xxhdpi device.
Test with "ro.sf.lcd_density " but dont work, same.Problem.
Click to expand...
Click to collapse
That shouldn't happen unless an image doesn't exist in all resolutions.

Related

Theming question...

So I'm getting the hang on some basic theming and just had a question that I'm not completely sure about.
In most of the res folders, you have several different folders that contain images.
Can someone explain to me the difference between some of these folders? The ones I'm asking about are drawable and drawable-hdpi.
Any help will be greatly appreciated...
hacku said:
So I'm getting the hang on some basic theming and just had a question that I'm not completely sure about.
In most of the res folders, you have several different folders that contain images.
Can someone explain to me the difference between some of these folders? The ones I'm asking about are drawable and drawable-hdpi.
Any help will be greatly appreciated...
Click to expand...
Click to collapse
dont quote me, but from what i gather its for different phones that use different resolutions. Our phone used the hdpi folders but on occasion it may pull an image from the plain drawable folder. I read somewhere that the galaxy s currently uses the mdpi. I have yet needed to change one of those images.
Stick to hdpi, and if after you put the apk on your phone, an image is still stock then hunt in the drawable.
hope that helps.
bad4u6669 said:
dont quote me, but from what i gather its for different phones that use different resolutions. Our phone used the hdpi folders but on occasion it may pull an image from the plain drawable folder. I read somewhere that the galaxy s currently uses the mdpi. I have yet needed to change one of those images.
Stick to hdpi, and if after you put the apk on your phone, an image is still stock then hunt in the drawable.
hope that helps.
Click to expand...
Click to collapse
That's what I figured and just wanted to some clarification. Thanks...

[mod] My Amigo Skin Ported to Android Igo My Way

I created this for Amigo a long time ago. I made a quick port for the Android version, and I thought I would share it. I have ZERO plans to develop it more, but if anybody else would like to develop it, go ahead. I've included the gro converter to turn the file to a zip for editing.
Problems:
Only works in landscape mode.
There are alignment issues.
The starting animation is off center.
I'm sure there are more problems.
All these problems were fixed by Mmarz. Bobroberts has gone ahead and polished the skin and added multiple resolutions. Thank you to both of them!
You can use this skin by copying the data.gro to /data/data/com.navngo.igo.javaclient/
Back up your original data.gro first. You may need to change the permissions on the new data.gro to "777"
Here is what the skin looked in Amigo: http://www.igo8navigation.com/index.php?topic=161.0
To summarize, you can add vias, advanced saving of favorites, add/remove speed cameras, add/remove road blocks, create routes, and lots more.
Well, enjoy.
Use Bobroberts's version found here:
http://forum.xda-developers.com/showpost.php?p=18529122&postcount=32
Thank you for this!
I worked on this skin and got most of the portrait mode working:
MyAmigoSkinV41AndroidFix9
This is the 9th version I've made. (I upgraded the version number because I added some goodies)
Place the data.gro inside the folder /data/data/com.navngo.igo.javaclient/
I've included an audio folder with some wav files from the skin that you must place in the following folder if you want the red light camera voice prompts to work:
/data/data/com.navngo.igo.javaclient/audio
See above.
Thanks for this, very nice!
Exit button doesn't work though,
sbarro said:
Thanks for this, very nice!
Exit button doesn't work though,
Click to expand...
Click to collapse
What does it do when you press the exit button? Nothing?
Can you send me the data.gro that you used before that worked?
Sorry, I should have elaborated; the program goes thru the exit sequence, and then reboots.
I think I found the culprit, in \ui_android\common\ui\general.ui
<state ExitState>
<uselayer ui_Exiting/>
<script init>
remote_call 0 "android.on_exit_pressed" - change to: remote_call "android.on_exit_pressed"
1 EXIT
</script>
</state>
sbarro said:
Sorry, I should have elaborated; the program goes thru the exit sequence, and then reboots.
I think I found the culprit, in \ui_android\common\ui\general.ui
<state ExitState>
<uselayer ui_Exiting/>
<script init>
remote_call 0 "android.on_exit_pressed" - change to: remote_call "android.on_exit_pressed"
1 EXIT
</script>
</state>
Click to expand...
Click to collapse
Both ways work for me. I'll change it to your way since it is more compatible.... I guess. Not sure what the "0" does. Thanks! I'm really glad I found this skin for Android. I loved it for Amigo.
mmarz said:
Both ways work for me. I'll change it to your way since it is more compatible.... I guess. Not sure what the "0" does. Thanks! I'm really glad I found this skin for Android. I loved it for Amigo.
Click to expand...
Click to collapse
Me too. I considered freddysams' Amigo skin the best out there. Fascinating to follow his developing it from v10 or so up to his last - v40!
Thanks for the fixes, I know how much work is involved, been there, done that.
[REQ] Igo Skin/Modded apk for QHD Resolution for Atrix, Sensation,etc [I can pay $]​
I need it badly which is the best for Middle east navigation (United Arab Emirates). I can pay some $ if somebody can provide me a modded apk with QHD resolution support.
Thanks.
rselva_kr said:
[REQ] Igo Skin/Modded apk for QHD Resolution for Atrix, Sensation,etc [I can pay $]​
I need it badly which is the best for Middle east navigation (United Arab Emirates). I can pay some $ if somebody can provide me a modded apk with QHD resolution support.
Thanks.
Click to expand...
Click to collapse
You might be able to use this skin. Try adding the following to your sys.txt:
Code:
[rawdisplay]
screen_x=640
screen_y=910
screen_x2=960
screen_y2=590
highres=1
double_screen=1
show_cursor=0
combine_dirty=1
You can find sys.txt in this folder: /data/data/com.navngo.igo.javaclient/
For which resolutions is this skin?
I checked the link you provided and says that support 320x240 resolution, but it is very big for that.
Is there any way that I can do to make it fit, on 320x240 screen or it doesn't supported?
dancer_69 said:
For which resolutions is this skin?
I checked the link you provided and says that support 320x240 resolution, but it is very big for that.
Is there any way that I can do to make it fit, on 320x240 screen or it doesn't supported?
Click to expand...
Click to collapse
No it doesn't support it. It would take a lot of work to make all the resolutions function. This is 480x320. Igo does have a "stretch" option, but I don't think you can make it shrink.
thanks for this, i was using the only other 480x320 skin i could find: 12Carrera12 Sbertaud13 V7.0d EUR+ , but unfortunately some parts are in french, this one has the advanced options at least in english
EDIT: you can also use thin igo v1.2 http://oron.com/8c1dbsrv5rqs/2.rar.html if you dont have root or just want an easier way to edit data as it installs and run all data from SD
I made one last touch up to the interface. Everything should work for the most part.
http://www.multiupload.com/T53BLIC5XO
Application not found
Each time I modify something in the zip, iGO didn't start: application not found.
I have modified a lot of data.gro for win version without problem.
corfou said:
Each time I modify something in the zip, iGO didn't start: application not found.
I have modified a lot of data.gro for win version without problem.
Click to expand...
Click to collapse
Open the file, within the zip that you modified, using a hex editor. For me, sometimes random invisible characters are inserted at the beginning of the file. Delete those using the hex editor.
Never use the return key inside of a windows text editor as it might add hidden characters as well. Use copy and paste of nearby lines instead, and then overwrite the line.
Never completely unzip the zip. Extract the files you would like to edit. Modify them, and then add them back into the zip.
Last comment, does the unmodified data.gro work?
If anyone wants to carry this on, here is a half way done port of the skin for 800x480:
http://www.mediafire.com/?j85ht32c610vlxn
I don't have a device to test it on, but this should theoretically load on your device. It will look all wrong. That is for sure. But all of the functions and images are in there. The only thing that hasn't been done is fixing the x-y location of all the elements
Here is what needs to happen to finish the skin. I've included three folders. 800_480_final contains the files inside data.zip that still need to be edited. Every single element within these file is correct except their location and size. These are the values used in the 480x320 skin created by Mmarz. What needs to happen is that you need to go line by line and fix the following values:
x=
y=
w=
h=
fontsize=
paddingright=
paddingleft=
align=
iconalign=
iconvalign=
Just so you understand the language m3:x= would be the x location in landscape mode and m4:x= would be the x location in portrait mode. x is measured in pixels from the left side of the screen. y is measured from the top of the screen. w is the width of the element and h is the height in pixels.
In the folder 800_480_orig I included the files from a regular 800_480 igo my way skin. This contains the correct x,y,w,h..etc values for the majority of the elements. Use these as a reference when fixing the values. Some elements won't be in here.
In folder 800_480_myamigo_old I included the files from the original my amigo skin. This contains the correct x,y,w,h..etc values for any elements missing from the above folder. But this is only the landscape version. For portrait values (m4:x=, m4:y=, m4:w=...etc), you'll need to use your best guess as to the correct location and size of the elements.
If anyone decides to finish this, please post it back on here so others can enjoy it.
Not it! I don't have a 800-480 screen, nor the free time.
mmarz said:
You might be able to use this skin. Try adding the following to your sys.txt:
Code:
[rawdisplay]
screen_x=640
screen_y=910
screen_x2=960
screen_y2=590
highres=1
double_screen=1
show_cursor=0
combine_dirty=1
You can find sys.txt in this folder: /data/data/com.navngo.igo.javaclient/
Click to expand...
Click to collapse
Noob Here. Does his require rooting. Trying to get the QHD resolution on Sensation
sadiqsabia said:
Noob Here. Does his require rooting. Trying to get the QHD resolution on Sensation
Click to expand...
Click to collapse
You don't need rooting but the method described above does not work in general. Someone needs to make that resolution specifically for your phone.

how to change this "orange" hightlight color ???

i did a search for it
i also a post that says change
framework-res.apk\res\drawable\progress_horizontal.xml
, but after reboot , still shows orange...
that color shows when you slide to the top or bottom
and other one when push it
like attached pictures
thanks in advance
Try this:
http://rootzwiki.com/showthread.php?894-MOD-Overscroll-Glow-Colors-(2.3.3-2.3.4)
Basically you need 2 .png files with the color you want, and a custom XML to get them working. That topic features some pre-built colors for you, but you could easily make your own if you want. But that's a good base to start
Greetz
................................
.................................
how to use ? replace what?
i download file and read that post , didn't find any instructions....
Obviously you need to put this in the framework-res.apk, found in /system/framework/.
I suggest you copy the framework-res.apk to you computer, open it with an Archive Manager and then copy the content of one of the colours.zip files into it. Then, copy the modified framework-res.apk back to /system/framework/.
Reboot and see if that worked.
Greetz
frutelaken said:
Obviously you need to put this in the framework-res.apk, found in /system/framework/.
I suggest you copy the framework-res.apk to you computer, open it with an Archive Manager and then copy the content of one of the colours.zip files into it. Then, copy the modified framework-res.apk back to /system/framework/.
Reboot and see if that worked.
Greetz
Click to expand...
Click to collapse
...
okay , one more stupid question , files in .apk are .png, and these 2 files are ".psd" , so , how am i supposed to make them png?
Not a stupid question at all.
You have probably download the source files from that topic. These are 2 .psd files which are Photoshop format, making them highly customizable. In Photoshop (or GIMP) you can edit the .psd files and save them as .png files.
HOWEVER,
That topic has a small box that says "Click to expand choices of colors. (click to expand)".
If you expand it, you'll see many available colors right there (all packed in .zip files), with the .png files already made for you. These are the files that you have to put in in the framework-res.apk.
Let me know if you have any more questions,
Greetz
yes , thanks , i think i got idea how to do this althought i have not tried it yet because i´m outside of home right now
but , still , these files are for my first and second attached picture , how am i supposed to do to change the third picture´s orange color ?
That's actually a lot more difficult, it involves changing the attributes of the listView element. Read up on some theming articles and try to do it yourself. It will take some time but you'll be happy once you figure it out.
A tutorial on the listView selector for theming:
http://brainflush.wordpress.com/2009/03/15/understanding-android-themes-and-styles/
Greetz
frutelaken said:
That's actually a lot more difficult, it involves changing the attributes of the listView element. Read up on some theming articles and try to do it yourself. It will take some time but you'll be happy once you figure it out.
A tutorial on the listView selector for theming:
http://brainflush.wordpress.com/2009/03/15/understanding-android-themes-and-styles/
Greetz
Click to expand...
Click to collapse
Gosh... it does need some time , lots time , all in english , kinda make me nuts
it's gonna take me double even triple times to read a non mother-language article
-_____________- !!!
anyway
thank you very much for help ^^
Hahaha you're welcome.
You know you can also just apply themes and enjoy the merits of other people's theming work ?
Greetz
yeah ... well
but it would make me feel less feeling of fulfillment XD
i had flashed MIUI dozens times , it looks great but still , let's just call it battery killer ... as matter of fack , just yesterday and today , i have flashed MIUI and stock at least 10 times ... it's kinda like i have "Rom-Flash obsession" or what ...XD
at the end , i decided to flash stock and wait for ICS ...
i've replaced the icons of status bar , such as WIFI, Signal , 3G icon , power level ...etc
this **** orange is last thing i have to do
by the way , every you post , types "greetz" in last line ... what's that?
Greetz is short for 'greetings'. It's become a reflex after years of forums usage and is my way to salute you and end my post
Good luck getting rid of the orange, let us know if you succeeded!
Greetz
hehe , i have done first problem , now that's harder part
this part is much harder ... i decided leave it with that ...
cause i don't understand , it shows
<item name="colorForeground">@color/bright_foreground_dark</item>
<item name="colorBackground">@color/background_dark</item>
<item name="backgroundDimAmount">0.6</item>
<item name="disabledAlpha">0.5</item>
<item name="textAppearance">@style/TextAppearance</item>
<item name="textAppearanceInverse">@style/TextAppearance.Inverse</item>
Click to expand...
Click to collapse
@something , i think it's variable , i can not locate where/which file indicate them ...

[MOD][GUIDE] Animated Softkeys Sense 6 Lollipop (Flashable)

Hello to everyone
Before we start somthing about me, im 19 Years old and from swiss, so sorry for my bad english
I was able to animate the softkeys and i think it would make your device a little bit cooler
I attached various zip files, the Systemui.zip file is a flashable zip with Stock SystemUI with modded code, so you can flash a animated button.zip
the second zip file called dev-files.zip this zip contains the basic files for animated softkeys.
the preview.zip contains small videos how it looks
Guide how to add your own animated softkeys to a decompiled Systemui.apk
-Download the dev files.zip
-first delete navigation_icon_xxx.png in res/drawable-xxhdpi (the xxx is for the button you want to animate there could be home,back or recent_apps)
-now copy the Layouts from the zip, just copy the layouts for the button you want to animate ) copy to res/layouts
-now copy the navigation_icon_xxx_transparent.png in res/drawable-xxhdpi (the xxx is for the button you want to animate there could be home,back or recent_apps)
-make your own png set (i used paint with rotationzoom) and give them numbers, start at navigation_icon_xxx_1.png
copy them to res/drawable-xxhdpi
-now you just need to edit the navigation_icon_xxx.xml found in the files.zip at drawable-xxhdpi
so for every png you have made, made a line in the xml file like this :
<item android:duration="60" android:drawable= @drawable/navigation_icon_recent_apps_1" />
with android:duration you can set the time how long the png will show up at display in milisec.
and at android:drawable you will neet to add your png name. like @drawable/navigation_icon_xxx_1"
-compile and have fun :victory:
Guide to make flashable Icons
once you got the mod in your systemui you ar able to flash other icons.
you can use one of my flashable zips for buttons, just change the pngs found in vrtheme/system/priv-app/Systemui/Systemui.apk/res/drawable-xxhdpi
there where some restrictions:
-just flash the pngs no xml files else systemui will crash ( i think its because the generated IDs for every png ) correct me if im wrong
-your png set need to have the same amount of pngs , like the old animation ( in my systemui and files postet below for every buttons where 36 Pngs)
- they need to have the same name as before
-if you want to animate the back button, and you got a flashable animated home button zip, just change the name of all pngs like from navigation_icon_home_1 to navigation_icon_back_1 do this with all png in the zip.
Flashable Animated Buttons
Will add more and replace the old Stock animated because they look ugly
Homebuttons:
Stockhome.zip View attachment StockHome.zip
Atomic Home View attachment 3159198
Home Text View attachment Home_Text_homebutton.zip
Death_Home View attachment Death_home.zip
Circle-PulseView attachment 3170526
HTC ONE M8 Home View attachment 3159241
Backbuttons :
StockBack View attachment StockBack.zip
Back TextView attachment Back_text_Backbutton.zip
Atomic Back View attachment Atomic_Backbuttton.zip
Death BackView attachment Death_backbutton.zip
AOSP Back Pulsing View attachment 3171642
RecentButtons:
StockRecent View attachment StockRecent.zip
Recent Text View attachment 3163944
Atomic RecentView attachment atomic_Recentbutton.zip
Death RecentView attachment Death_Recent.zip
AOSP Recent Pulsing View attachment 3171641
If you want a home button.zip as back or recent button just change the png names to navigation_icon_back_x or navigation_icon_recent_apps_x
Its tested on Stock Android 5.0.1 Sense 6 Rom
Bugs:
-Sometimes the animation stops, you just need do put your device in landscape mode this will fix it
- Glow Animation of the recent Button is not working.
Credits:
-Vrtheme
-Spannaa
-Me
-XDA
If you got your own animations feel free to share them in this Thread
every feedback is appreciated
if you got questions or improvments just tell
Hope you like it:fingers-crossed:
Can you post a gif of this working?
I would love to see a gif of this
I flashed this and it did nothing
muppetmaster916 said:
I flashed this and it did nothing
Click to expand...
Click to collapse
Jep there is something wrong with the zip will fix it
New file is uploaded tell me if it works now
LudoGris said:
Can you post a gif of this working?
Click to expand...
Click to collapse
added a preview.zip in the Op will make gif if i had time
This is a pretty cool mod. I won't be flashing it myself because I like to stay pretty close to stock but definitely keep up the good work!
It's too busy for me, too much going on, but I appreciate the effort and the idea. It's definitely a cool thing to be able to do and to have. Also, it opens up the opportunity for people to explore similar mods.
I'd personally quite like to see something a bit more subtle, maybe 'pulsing' or 'breathing' buttons. I like the Lollipop buttons too (triangle, square, circle). Don't know why HTC stuck with their old style. I'm not asking for them but it would be nice
Good work by any means! Thanks for the contribution. More than I could do myself
Screen?
Miloud Florian said:
Screen?
Click to expand...
Click to collapse
In the Preview.zip are small videos to each button
Josh8550 said:
This is a pretty cool mod. I won't be flashing it myself because I like to stay pretty close to stock but definitely keep up the good work!
Click to expand...
Click to collapse
matmaneyre said:
It's too busy for me, too much going on, but I appreciate the effort and the idea. It's definitely a cool thing to be able to do and to have. Also, it opens up the opportunity for people to explore similar mods.
I'd personally quite like to see something a bit more subtle, maybe 'pulsing' or 'breathing' buttons. I like the Lollipop buttons too (triangle, square, circle). Don't know why HTC stuck with their old style. I'm not asking for them but it would be nice
Good work by any means! Thanks for the contribution. More than I could do myself
Click to expand...
Click to collapse
Thanks for the Feedback
Its a nice idea, will add one to the OP
erislav said:
In the Preview.zip are small videos to each button
Thanks for the Feedback
Its a nice idea, will add one to the OP
Click to expand...
Click to collapse
I just noticed the guide (love it when people pass on their learning haha), so if you don't get chance I could try myself. Thanks for that ? I don't get a lot of leisure time though so it's doubtful I'll get time, but if you manage to I'd definitely give it a flash, so thanks in advance but don't worry if you can't
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Will add it to the OP when i have break at work
The homebutton is already uploaded
erislav said:
Will add it to the OP when i have break at work
The homebutton is already uploaded
Click to expand...
Click to collapse
Lovely work...thanks.
I did a screen recording of the pulsing buttons here and I've credited you and linked to this thread in the description so feel free to add the link to the OP if you want
Thanks for this tutorial and files. just tested and works great. Had to edit 100 png files for my pulsing home button but is very subtle now ! Cheers
Does this only work for sense 6 or can you flash it on any type ROM?
Would love to see this as an xposed module.....the request is for whole xda....not to particalarly @erislav....
Great finding man....keep up......this is what makes us the XDA community
Mr Hofs said:
Thanks for this tutorial and files. just tested and works great. Had to edit 100 png files for my pulsing home button but is very subtle now ! Cheers
Click to expand...
Click to collapse
a flashable zip would be appreciated.
Any plans on porting this to Nexus 6?
Confirmed : Working great on IC 6.0.7
shredmatix said:
Would love to see this as an xposed module.....the request is for whole xda....not to particalarly @erislav....
Great finding man....keep up......this is what makes us the XDA community
Click to expand...
Click to collapse
Yeah would love to see this too
but there are 2 Problems:
the next 4 months i need to learn for school, and dont have much time to do this
and the other one is, i never made an app or somthing this way, i do not have that much knowledge in developing.
But if someone would help me or want to do this, why not
munchy_cool said:
a flashable zip would be appreciated.
Click to expand...
Click to collapse
would only play the first 36 images, so you would need to edit the animation xml in the decompiled systemui
mobile_maniac said:
Any plans on porting this to Nexus 6?
Click to expand...
Click to collapse
No but you can try it you may need to change the names of the images

[Q] How to dim soft keys Loli 5.1

Title say all , i have a Nexus 5 lolipop 5.1 and i want to full dim 0 my visor . Softkeys inclued.
Need help please.
If you want to dim the navigation bar (why would you need to?) you'll probably have to decompile SystemUI, modify the drawables then recompile, or use Xposed.
It's not necessary to decompile. As .apk is actually a .zip, you can simply change .png-s inside drawable folders.
But if you use 5.1 it will be much harder to change original SystemUI with yours, because of security changes in system partition.
zagorteney said:
It's not necessary to decompile. As .apk is actually a .zip, you can simply change .png-s inside drawable folders.
But if you use 5.1 it will be much harder to change original SystemUI with yours, because of security changes in system partition.
Click to expand...
Click to collapse
This one is tricky though since you have to make sure, not to damage the signature. Some PNG use a "special" format and need to be decompiled first --> modified --> recompiled --> injected again in the Framework.
Gorgtech said:
This one is tricky though since you have to make sure, not to damage the signature. Some PNG use a "special" format and need to be decompiled first --> modified --> recompiled --> injected again in the Framework.
Click to expand...
Click to collapse
I wrote this many times: you DON'T need to decompile apps which came from factory image. And even .9.png-s can be simplycomment on this are changed. For example: We wish to change background of power widget. 1. Pull the Settings.apk from /data/priv-app. Copy to PC. Rename it to .zip (you don't need any extra tool for this) or use TotalCommander - you even don't need to rename .apk to .zip with it. We must look for appropriate image (appwidget_bg_holo.9.png in /res/drawable-xxhdpi-v4) inside. Make some regullary png in Photoshop in size and resolution of original one - you can free your imaginations about colors as you like. Now copy the name of original image and with paste rename your own. Put your renamed image into .zip (overwrite original one) and thats all philosophy.
This is possible just with apps from factory image and you will not brake any signature. This works for me since Xperia X10 until Nexus 5 with 5.0.2. On 5.1 biggest problem is (at least for me) that I don't know how to integrate updates of system apps into rom. But if you are on 5.0.2 or above, you can simply try. Just remember to backup first.
Regards, Zagor
P.S. Any further informations are welcome, but at least people try this first. And it's a little annoying to write this down over and over again.
Extracting and inserting pictures is not the problem but like I mentioned before, the "9" PNG. If you simply copy them, edit them and reinsert them again, it might turn out to be a mess and these pictures are not displayed the right way. I gave up theming stuff a long time ago since it´s not really worth the trouble anymore. At least if you use a legal Gfx tool ( since I have my doubts that most people own a real licensed version of Photoshop anyway ) like eg. GIMP, you might expect some trouble if you don´t decompile "9" PNGs first. At least I can tell that I had to go through the trouble while I still had my old Galaxy S3 in order to make them usable, the way I wanted them to be
I know the procedure, don´t worry
Gorgtech said:
Extracting and inserting pictures is not the problem but like I mentioned before, the "9" PNG. If you simply copy them, edit them and reinsert them again, it might turn out to be a mess and these pictures are not displayed the right way. I gave up theming stuff a long time ago since it´s not really worth the trouble anymore. At least if you use a legal Gfx tool ( since I have my doubts that most people own a real licensed version of Photoshop anyway ) like eg. GIMP, you might expect some trouble if you don´t decompile "9" PNGs first. At least I can tell that I had to go through the trouble while I still had my old Galaxy S3 in order to make them usable, the way I wanted them to be
I know the procedure, don´t worry
Click to expand...
Click to collapse
As I said: you must not copy and edit existing .9.png. You have to create a new one and just name it with the procedure as I wrote above. So you have to copy the name of .9.png and paste that in the name of your own image. Am I clear enough now?
Forgive me to say, but you don't know this. Sorry.
Best regards, Zagor
I guess you don´t read what I write ? If you want to color a existing image ( "9" ), it will be displayed faulty if you don´t proceed like I did. End of the story. You can replace it with another image you can rename but it won´t be displayed the right way in some circumstances. I´m out.
zagorteney said:
As I said: you must not copy and edit existing .9.png. You have to create a new one and just name it with the procedure as I wrote above. So you have to copy the name of .9.png and paste that in the name of your own image. Am I clear enough now?
Forgive me to say, but you don't know this. Sorry.
Best regards, Zagor
Click to expand...
Click to collapse
Gorgtech said:
I guess you don´t read what I write ? If you want to color a existing image ( "9" ), it will be displayed faulty if you don´t proceed like I did. End of the story. You can replace it with another image you can rename but it won´t be displayed the right way in some circumstances. I´m out.
Click to expand...
Click to collapse
Out of what? Space?
I don't guess, I conclude: You don't read or understood what I wrote.
Back to topic: OP: If you want to change navbars buttons (those are ordinary .png-s) you can simply pull them off, modify them and put back into .apk as I already described. You don't need to decompile, compile, undercompile or hipercompile anything.
Regards from Jupiter (yes, I'm also out), Zagor
And the last and for all!
This has been done without superduperpuper compiling. Just pure windows and photoshop.
@Elluel, @Gorgtech and all of the other sceptics: Look at the navbars of attached screenshot and next time, please check the informations before you disagree with them.
Regards, Zagor
IMO @zagorteney is right as long as you do not unzip/extract the apk. If you check the .9.png with a zip viewer then you can see the black border of 1px. Modifying the icon/log/picture without touching the black borders should not create bugs.
Regarding the navbar buttons it's easier as explained above.
@Primokorn
I've changed almost all of Xperia S UI on that way, to looks more AOSP. But at the end I figured it out, that it's simplier if I get Nexus.
Just to notice you. The problem is because in photoshop you can't create .9.png-s. But if you create your own png and rename it with the mentioned method, there will be no problem with those images either. For example, you can try to change power widget background on this way.
zagorteney said:
@Primokorn
I've changed almost all of Xperia S UI on that way, to looks more AOSP. But at the end I figured it out, that it's simplier if I get Nexus.
Just to notice you. The problem is because in photoshop you can't create .9.png-s. But if you create your own png and rename it with the mentioned method, there will be no problem with those images either. For example, you can try to change power widget background on this way.
Click to expand...
Click to collapse
Actually you can create .9.png files with Photoshop. I did it a lot of times.
Anyways all my modded apks have been decompiled/modified/recompiled because you cannot use this method for .xml files, can you? Moreover, theming files with a phone is a mess compared to a comfortable destop version of PS lol
@Primokorn
Yes, its true if we are talking about some serious theming. But OP just want to get little different nav buttons. So, I just want to say, that you don't need to change any .xml for that purpose, you don't need to decompile and recompile and you don't need to worry that you'll break signatures. As simple as that.
That's all folks.
zagorteney said:
@Primokorn
Yes, its true if we are talking about some serious theming. But OP just want to get little different nav buttons. So, I just want to say, that you don't need to change any .xml for that purpose, you don't need to decompile and recompile and you don't need to worry that you'll break signatures. As simple as that.
That's all folks.
Click to expand...
Click to collapse
Yes, I know. Everything is clear on my side
Primokorn said:
Yes, I know. Everything is clear on my side
Click to expand...
Click to collapse
At least one who deserves all of those thanx.
zagorteney said:
At least one who deserves all of those thanx.
Click to expand...
Click to collapse
Do not be rude. Nobody can know everything and it is one of the goals of XDA to learn every day. All recognized members deserve their status.
A app that do that easy and without so much work is nice , my know how on this stuffs are limited :crying: , im kitkat i use a app that does that without so many work , now i use another but just dim the visor the softkeys still are very white full light... :crying:
Primokorn said:
Do not be rude. Nobody can know everything and it is one of the goals of XDA to learn every day. All recognized members deserve their status.
Click to expand...
Click to collapse
The problem is that n00bs are mislead by recognized members who think that they know everything. At least they could check before post.
And no, I'm not rude. Rude are exactly those contributors.

Categories

Resources