[Q] How to find list of available LOCALES (LANGUAGES) from ROM image (file system) - Android Q&A, Help & Troubleshooting

How to find list of SYSTEM LOCALES (language list that we see in settings) from ROM file system image/file tree
(assuming that /system can be mounted as folder)?
Which files/folders have this information?

omyg said:
Some manufacturer and custom rom builds do not include ALL languanges in their ROMs.
How it is possible to find list of available SYSTEM LOCALES and DEFAULT KEYBOARD input languanges from FILE SYSTEM image (assuming that /system and/or other folders can be extracted or mounted in linux as folder)? Which files/folders have this information?
Click to expand...
Click to collapse
))))

DubbyDum said:
))))
Click to expand...
Click to collapse
so how ?

omyg said:
so how ?
Click to expand...
Click to collapse
+1

1- extract the Framework-res.apk
2- decompile the " framework-res.apk "
3- goto decompiled folder and check this folders.
for example:
framework-res.apk/res
/values-en-rAU
/values-de
/values-it
/values-pl
/values-nl
/Values-GB
/Values-Fa
/Values-Ar
, for example when you add " Values-Fa " to framework-res.apk, the Farsi language will add to locale settings.
if you add "values-it" , the Italian language will add to system and so on.
all languages are defined on android, you need just to create right folders.
this is for system language.
-------------------
for every application you need to create the folder same as framework-res.apk folders, and translate "Strings.xml" file.
every application have a different parameters, and you must know for keyboards some information will defines on lib files.

thanks, now i got it.
but what does it mean if this 3 system files have different sets of languages :
framework-res.apk
twframework-res.apk
Settings.apk
first file will be most accurate source ?

omyg said:
thanks, now i got it.
but what does it mean if this 3 system files have different sets of languages :
framework-res.apk
twframework-res.apk
Settings.apk
first file will be most accurate source ?
Click to expand...
Click to collapse
but how to see this apk code

You use an APK decompiler.

Related

[Q]Problem after changing AndroidManifest.xml

Hello Guys and Galls,
I want to change the background of Settings.apk from black to white. I use the FroyoMod Rom http://forum.xda-developers.com/showthread.php?t=815595.
If change
Code:
<application android:label="@string/settings_label" android:icon="@drawable/ic_launcher_settings" android:taskAffinity="">
to
Code:
<application android:theme=[COLOR="Red"]"@android:style/Theme.Light.NoTitleBar"[/COLOR] android:label="@string/settings_label" android:icon="@drawable/ic_launcher_settings" android:taskAffinity="">
in AndroidManifest.xml.
I use ApkManger to decompile and compile. The (de)compiling is without any errors.
After compile with ApkManager i do the follow:
- open original Settings.apk and unsignedSettings.apk with 7-zip
- delete AndrodManifest.xml in original Settings.apk
- copy AndroidManifest.xml from unsignedSettings.apk to original Settings.apk
- copy the modified original Settings.apk to the phone in /system/app
- chmod 644 Settings.apk
- chown root:root Settings.apk
So now if I start Settings nothing happens, nothing, not even an fc.
This is was logcat says:
Code:
com.android.settings has no certificates at entry AndroidManifest.xml
What I´m doing wrong?
Try one of the many apk re-packaging tools on this forum. Ive used apktool but there are some front ends built for it
From something awesome
killersnowman said:
Try one of the many apk re-packaging tools on this forum.
Click to expand...
Click to collapse
tigger-gg said:
I use ApkManger to decompile and compile.
Click to expand...
Click to collapse
By the way if I change any other xml file in /res there are no such problems.
tigger-gg said:
I use ApkManger to decompile and compile.
Click to expand...
Click to collapse
dur
i read this on the mobile and did not see that....
solving the problem? because I would be interested
Me too, I'm having a problem recompiling an AndroidManifest.xml with apkmanager 5.0.1., it won't install unless I use an original AndroidManifest.xml file first, then I can flash right over it. At first I thought it was a the change I made in the file, but I just decompiled and compiled an unmodified version, and it did the same thing. So its the compiler.
Settings.apk is a signed system app. It will refuse to run unless signed by the same key as the rest of the system apps. Just replacing a single XML in the APK will cause a signature mismatch.
Best bet? I'd say make your change, then use a kitchen like dsixda's to resign the whole system with the test key (I think this is a menu option).
Yep your whole system has to have the same signature. I did this edit for a rom a while back, but I made the settings transparent instead of white background by using Theme.Wallpaper.NoTitlebar. Just sign your whole rom together with testkeys and all should be good until another system app gets changed/modified and the signatures don't match again.
Sent from my PG06100 using Tapatalk
Thanks to Gene Poole and one_love_420, I will try your instructions.
If your after quickly signing a whole load of apk's, I wrote a command line front end to do all the hard work for you.
You can even generate your own private key.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
BUMP to top
Please big problem been fighting for weeks
any one know anything about this!!
So anybody find a solution yet? Seems to be the binary text conversion.
It is the signitures in manifest.inf fyi

From where are the Languages loaded into Settings.apk??

Hi Guys,
does somebody knows from where are the languages loading to the settings menu?
I know normally language strings are stored inside the apk, but I would know where can I edit the languages list which is selectable from any user.
I have attached a picture too
Thank you:
Teufel
teufel007 said:
Hi Guys,
does somebody knows from where are the languages loading to the settings menu?
I know normally language strings are stored inside the apk, but I would know where can I edit the languages list which is selectable from any user.
I have attached a picture too
Thank you:
Teufel
Click to expand...
Click to collapse
Inside the apk file, look in res folder, values then strings.XML
res/values/strings.xml
I believe, it should be inside res folder though. :thumbup:

[TUTORIAL]How to modify SysemUI.apk

Good Day Guys!​I present this small guide on how to modify your SystemUI.apk (ICS only)​Things yah need:​APK Manager (http://forum.xda-developers.com/showthread.php?t=695701)​Java (Oh... You know where to find it)​A Windows or Linux PC.​Lets Get Started!​Decompiling:
1. Extract APK Manager from the .zip file.
2. Run Setup.bat
3. Grab the untouched framework-res.apk and SystemUI.apk from the Base ROM.
4. Place them both in "place-apk-here-for-modding" folder
5. Double click on Script.bat
6. type in 24 and type the corresponding number for framework-res.apk
7. type 9 and it should decompile (If you don't decompile framework-res.apk first you'll have serious problems.)
8. Now type in 24 again and type in the corresponding number for SystemUI.apk
9 Type in 9 and decompile.
10. Now make your modifications in "projects folder"​
Click to expand...
Click to collapse
Recompiling:
1. Once your Done go back to script.bat
2.Make sure the "Current Project" is set to SystemUI.apk
3.Type in 11 ENTER to compile apk
4.Type "y" again to confirm you DO want to add additional files that you didnt modify from thee ORIGINAL apk
5.Go into where Apkmanager is installed, and you should see a new folder called KEEP
6.Open "KEEP" folder and whatever you modified, delete the stock version of it I.e: if you inserted new battery icon png's, delete the STOCK battery icon pngs, and if you also edited any xml(s), DELETE the resources.arsc from the KEEP folder
7.Once done, go back into Script.bat and press ENTER to continue
Click to expand...
Click to collapse
Well Good Luck! , Happy Modding! ​
Reserved for the Manual
Nice tutorial, man! You're back! http://bancomicsans.com/
Great! I believe lots of users will love this good to have you back
Sent from my awesome fridge
TAM
I respect your knowledge no doubt..However I have just opened systemui.apk by 7-zip>replaced png which I want>closed 7-zip..Thats it..Replace sytemui.apk at phone>Changed persmission.
R: [TUTORIAL]How to modify SysemUI.apk
KSKHH said:
TAM
I respect your knowledge no doubt..However I have just opened systemui.apk by 7-zip>replaced png which I want>closed 7-zip..Thats it..Replace sytemui.apk at phone>Changed persmission.
Click to expand...
Click to collapse
In fact only pngs you can replace without decompiling but if you want to edit smali or XML files you have to decompile like Tam wrote.
xpirt

[TUT] Xperia Z Lockscreen - change unlock screen tips/unlock times before remove tips

Hi everyone, I'm here to teach you guys on how to change the text "Swipe up or down to unlock" on Xperia Z lock screen. Since I saw some request on it.
Preparation:
*Framework Toolkit by Themike10452 http://forum.xda-developers.com/showthread.php?p=36085941 (at B section, only the toolkit) (from now on will call toolkit)
*Notepad++ http://notepad-plus-plus.org/ (under download tab)
*Java Development Kit http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html (choose the one compatible with your os) (install it before you open toolkit)
*Latest apktool (both apktool and and it's dependencies) http://code.google.com/p/android-apktool/downloads/list (use dependencies for windows if you are on windows)
*7zip File Manager http://www.7-zip.org/
{ above all software are essentials for one to mod any apk files and frameworks. }
*UxpNxtLockScreen.apk (extract from ROM either from phone memory using root file explorer or from flashable ROM zip (at system/app)
*A thinking Brain
**Framework Toolkit by Themike10452 http://d-h.st/Pkb (this is the version that I'm using to mod apk and framework (it mean it is working, for me), use it if your toolkit is not working, only for windows os only) (I have no idea am I allowed to share this tool or not, since i didn't get permission from Themike10452 yet, request sent but no reply at all at the moment, I will put this down if Themike10452 request so)
Click to expand...
Click to collapse
Instructions/Guide:
§ 1st, extract Framework Toolkit by Themike10452 and put it aside on any where of your comp (preferable desktop).
§ 2nd, extract apktool files with 7 zip. Yes, open the bz2 files you had download just now, you will see a tar file within, open it again, then you will see a folder, for apktool, you will see a file jar file ; for dependencies, you will see 2 files exe and bat each, copy them and replace the same file in toolkit folder (inside the "other" folder", just override the old files).
§ place UxpNxtLockScreen.apk in "place-apk-here-for-modding" within toolkit folder.
§ run "Apk-Multi-Tool.bat" as admin. Press any keys to continue after the "Multi Tool Screen" appear. It will lead you to a screen with multiple options shown with numbers in front of them.
§ check: at top right corner, "Current-App" should follow with "UxpNxtLockScreen.apk"(if no, please recheck whether if the file you put is in correct place or not and you shouldn't have more than 1 apk in that folder to start modding or theming), then press "9" and enter to decompile apk. Once it's done, minimize the toolkit, you will use it later, now go to root folder of toolkit, within projects folder you will see a folder named "UxpNxtLockScreen.apk".
(from 1st instruction until here is the general decompiling apk process, it should works on all apks unless the apk have extraordinary resources that can't be decoded by apktool by other toolkit, maybe? and the following instructions will be called "modding" *yes, you are now starting to mod a/an apk file now )
§ navigate to /projects/UxpNxtLockScreen.apk/res/values/ and you will see 11 xml files. Open strings.xml with Notepad++.
§ find the line with this name "lockscreen_unlock_hint", use Ctrl + F if you can't find them.
eg:<string name="lockscreen_unlock_hint">Swipe up or down to unlock</string>
§ change the sentence after " > " and before " </string> " with the sentence you desire and save the file (Ctrl + S)
§ Back to Apk Multi Tool, press " 21 " > enter > " 0 " > enter. ( This is to set compression level to 0. I'm not sure if it works with Compression level at 9) then " 11 " and enter to recompile the apk. A while later. screen will pause and show a message end with < y / n >:
2 options here:
# To be safe, press " y " and enter then wait for it to extract source from original apk, navigate to keep folder, delete a file named "resources.arsc" and back to apk multi tool and press any buttons to continues. (this is to keep the original sources at new modified apk to reduce error and maintain its compatibilities to the ROM.)
# Another is " n ", just press n and enter, and done. (i wont give 100% working in this way, do it on your own risk)
§ You will then get a file named "System_UxpNxtLockScreen.apk", move or copy it into your SD, rename to "UxpNxtLockScreen.apk", and replace it with correct permission ( R W - R - - R - - ).
Click to expand...
Click to collapse
# To change the number of times unlock to remove the unlock tips (unlock untill a certain times to remove the unlock tips), navigate to /projects/UxpNxtLockScreen.apk/res/values/ and open intergers.xml with note++, and find the following lines "unlocks_before_hint_removal"
eg: <integer name="unlocks_before_hint_removal">100</integer>
change the number value to number of times you desire and save the file, then recompile the apk.
Click to expand...
Click to collapse
Extra
You may use the apktool provided by stanlin salu from his tutorial of decompile/recompile apk. About decompile and recompile apk, follow his tutorial, just edit those files according to my instructions/guide. This thread is actually only providing the information about which file and which line to be edited to change the unlock tips and unlock times before remove tips.
{stanlin salu's apk decompile and recompile tutorial and apktool download------------> http://forum.xda-developers.com/showthread.php?t=2011337
CAUTION!
§ Please check both of your apk file by opening them with 7 zip file manager, compare both apk for their content(should be total of 3 files and 2 folders), all the files and folders within should have the same size except "resource.arsc" *unless you modified some other pictures, then check the number of files contained in the folder, the number of files must be the same. If "META-INF" is different, please copy the folder from original apk to modded apk and override them. None of those files (classes.dex, AndroidManifest.xml, META-INF...) can be 0kb (I think only odexed framework will get 0kb, deodexed framework will not get 0kb)
§ If you replaced any picture in drawable folders, please make sure that the picture have same file name with the original picture. And during recompile process, please delete the same picture file of the same name that you modified at keep folder if you choose < y > at the pause.
Miscellaneous:
§ If you seriously having problem to recompile or modding, you may upload UxpNxtLockScreen.apk or yours to me for modding and I will upload to you once I get it done.
§ Please give me some time to mod for you since I'm just a Pre-University Student who studied 12 hours a day and also spending my time with my family and friends as well. I'm doing all these as a part of my interest and my own free will. :angel:
Credits:
Themike10452 for the apk multi tool and his great tutorial there.
stanlin salu for his apk decompile and recompile tutorial (even though i didn't learnt to decompile apk from his tutorial, but something extra from his tutorial)
*I will take no responsibilities if your phone is bricked because of using any mod from this thread. Everything is done on your own risk. So please don't point your finger at me if anything goes wrong, or I will LMAO. You should have know the forum's rules, you are the one who chose to use this mod at your own decision, I do not use a gun point at you to use it
Please click the "Thanks" button if this mod helped you and of course those who are in credits for their effort
I´ll try and try but don´t works for me, I follow the steps. maybe i´ts a pc or sofware problem.
Re: [TUT] How to change "swipe up or down to unlock" for Xperia Z lockscreen
I think this should go in Theming section maybe if I'm not mistaken
But still nice work
Sent from my Xperia Neo V using xda premium
Ghostfreak NB said:
I think this should go in Theming section maybe if I'm not mistaken
But still nice work
Sent from my Xperia Neo V using xda premium
Click to expand...
Click to collapse
sorry about that, maybe i should request moderator to move this thread later
Re: [TUT] How to change "swipe up or down to unlock" for Xperia Z lockscreen
jordiluna said:
I´ll try and try but don´t works for me, I follow the steps. maybe i´ts a pc or sofware problem.
Click to expand...
Click to collapse
What kind of problem is it? Can you give more detailed info for me to sort it out? Best with screen shot of the toolkit.
Sent from my MT15i using xda app-developers app
Re: [TUT] How to change "swipe up or down to unlock" for Xperia Z lockscreen
xange said:
Hi everyone, I'm here to teach you guys on how to change the text "Swipe up or down to unlock" on Xperia Z lock screen. Since I saw some request on it.
Preparation:
*Framework Toolkit by Themike10452 http://forum.xda-developers.com/showthread.php?p=36085941 (at B section, only the toolkit) (from now on will call toolkit)
*Notepad++ http://notepad-plus-plus.org/ (under download tab)
*Java Development Kit http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html (choose the one compatible with your os) (install it before you open toolkit)
*Latest apktool (both apktool and and it's dependencies) http://code.google.com/p/android-apktool/downloads/list (use dependencies for windows if you are on windows)
*7zip File Manager http://www.7-zip.org/
{ above all software are essentials for one to mod any apk files and frameworks. }
*UxpNxtLockScreen.apk (extract from ROM either from phone memory using root file explorer or from flashable ROM zip (at system/app)
*A thinking Brain
§ 1st, extract Framework Toolkit by Themike10452 and put it aside on anyway of your comp (preferable desktop).
§ 2nd, extract apktool files with 7 zip. Yes, open the bz2 files you had download just now, you will see a tar file within, open it again, then you will see a folder, for apktool, you will see a file jar file ; for dependencies, you will see 2 files exe and bat each, copy them and replace the same file in toolkit folder (inside the "other" folder", just override the old files).
§ place UxpNxtLockScreen.apk in "place-apk-here-for-modding" within toolkit folder.
§ run "Apk-Multi-Tool.bat" as admin. Press any keys to continue after the "Multi Tool Screen" appear. It will lead you to a screen with multiple options shown with numbers in front of them.
§ press "9" and enter to decompile apk. Once its done, go to root folder of toolkit, within projects folder you will see a folder named "UxpNxtLockScreen.apk". and minimize the window, you will use it later.
§ navigate to /projects/UxpNxtLockScreen.apk/res/values/ and you will see 11 xml files. Open strings.xml with Notepad++.
§ find the line with this name "lockscreen_unlock_hint", use Ctrl + F if you can't find them.
eg:<string name="lockscreen_unlock_hint">Swipe up or down to unlock</string>
§ change the sentence after " > " and before " </string> " with the sentence you desire and save the file (Ctrl + S)
§ Back to Apk Multi Tool, press " 21 " > enter > " 0 " > enter. ( This is to set compression level to 0. I'm not sure if it works with Compression level at 9) then " 11 " and enter to recompile the apk. A while later. screen will pause and show a message end with < y / n >:
2 options here:
# To be safe, press " y " and enter then wait for it to extract source from original apk, navigate to keep folder, delete a file named "resources.arsc" and back to apk multi tool and press any buttons to continues. (this is to keep the original sources at new modified apk to reduce error and maintain its compatibilities to the ROM.)
# Another is " n ", just press n and enter, and done. (i wont give 100% working in this way, do it on your own risk)
§ You will then get a file named "System_UxpNxtLockScreen.apk", move or copy it into your SD, rename to "UxpNxtLockScreen.apk", and replace it with correct permission ( R W - R - - R - - ).
Credits:
Themike10452 for the apk multi tool and his great tutorial there.
Click to expand...
Click to collapse
Nice explanation for new learners...
I knew this but I thanked you because there was no post like this when I started theming.....
Cheers
---------- Post added at 04:30 PM ---------- Previous post was at 04:24 PM ----------
jordiluna said:
I´ll try and try but don´t works for me, I follow the steps. maybe i´ts a pc or sofware problem.
Click to expand...
Click to collapse
U should tell at which step u were struck whether it compiled and decompiled without errors
Sorry for the delay, I always compiled with errors, with this programe and with other versions of apktool. So I say it is software problem, something missing in my computer, I never could decompiled and compiled any apk.Whit this tutorial and others. This tutorial is great, and no doubt it will work.:good:
jordiluna said:
Sorry for the delay, I always compiled with errors, with this programe and with other versions of apktool. So I say it is software problem, something missing in my computer, I never could decompiled and compiled any apk.Whit this tutorial and others. This tutorial is great, and no doubt it will work.:good:
Click to expand...
Click to collapse
did you install the Java and restart your comp? the apktool require Java Development Environment(JDE) to run it. JDE download is on 1st post. and you must choose the correct version, for instance like me, i'm using windows 7 ultimate x64, so i installed windows x64 bits version. since you said u tried different version of apktool and its not working, you must have either java problem, or you did not running it as administrator.
Re: (Moderator plz move this to theme section) [TUT] Xperia Z change unlock screen ti
I download the java file, and restart, but run as administrator......., I'll try
send from my mind, without phone.
Re: [Tutorial] Xperia Z Lockscreen - change unlock screen tips
jordiluna said:
I download the java file, and restart, but run as administrator......., I'll try
send from my mind, without phone.
Click to expand...
Click to collapse
Try it friend and tell here...
If it still does nor work for u I will upload my apktool which I think will work 100%
I´ll try, ..... this is the apk, some png´s are modified by me. But something´s strange, classes.dex 0 kb, androidmanifest 0kb.In meta inf all three files 0 kb View attachment System_UxpNxtLockScreen2neon.apk
Is this normal?
And a lot of thanks for your time...:good:
jordiluna said:
I´ll try, ..... this is the apk, some png´s are modified by me. But something´s strange, classes.dex 0 kb, androidmanifest 0kb.In meta inf all three files 0 kb View attachment 1760764
Is this normal?
And a lot of thanks for your time...:good:
Click to expand...
Click to collapse
it souldn't be 0kb.... that dex file is what dalvik cache used to store. i upload mine apktool, you try and see if is it still the same or not......, you are running which os by the way?
would you mind to send me your original file as well?
Re: [Tutorial] Xperia Z Lockscreen - change unlock screen tips
I'm on windows vista. I'll send the original file this afternoon. Thanks
send from my mind, without phone.
Re: [Tutorial] Xperia Z Lockscreen - change unlock screen tips
jordiluna said:
I'm on windows vista. I'll send the original file this afternoon. Thanks
send from my mind, without phone.
Click to expand...
Click to collapse
I have a exam tomorrow after that I will surely solve it problem and by that time u will upload the original file
And till then just tell are u installing framework via apktool as uxpnxt is a framework dependent files
The original file......View attachment UxpNxtLockScreen4elements.apk
salsreloded said:
I have a exam tomorrow after that I will surely solve it problem and by that time u will upload the original file
And till then just tell are u installing framework via apktool as uxpnxt is a framework dependent files
Click to expand...
Click to collapse
I already uploaded a working version that i'm using......
jordiluna, you try it see if it works or not. and, after recompile, please recompare the modded apk and original apk, the 3 files must have same file size, choose < y > during recompile, just delete the resources.arsc only. leave other untouched files and pictures there to be rewrite to the new modded apk.
I downloaded apktool and I put the original file and.......recompile without errors!!! all files are well. but :crying: The word that I edit in strings, I put just UNLOCK, don´t shows in the lockscreen. I redownloaded notepad too, and nothing.:silly::silly::silly:
Please mod this file for me. I just only need this word- UNLOCK. And thanks for your time, a lot of thanks.
View attachment UxpNxtLockScreen.apk
Re: [Tutorial] Xperia Z Lockscreen - change unlock screen tips
jordiluna said:
I downloaded apktool and I put the original file and.......recompile without errors!!! all files are well. but :crying: The word that I edit in strings, I put just UNLOCK, don´t shows in the lockscreen. I redownloaded notepad too, and nothing.:silly::silly::silly:
Please mod this file for me. I just only need this word- UNLOCK. And thanks for your time, a lot of thanks.
View attachment 1765456
Click to expand...
Click to collapse
Apk is downloaded to my phone now, I will mod it and post to you once I done it tomorrow afternoon (+8 here) after I back from school.
Sent from my MT15i using xda app-developers app
Take your time, don´t hurry. And thanks.
jordiluna said:
Take your time, don´t hurry. And thanks.
Click to expand...
Click to collapse
Well, I gave you 2 versions. one is tips with "Unlock" as you requested, another one is "jordiluna @ XDA-Developers".
just rename anyone of those to UxpNxtLockScreen.apk and replace the old one with correct permission ( R W - R - - R - - ). correct permission 1st before replace. and reboot. hope you will like it

[Q] Custom icone toggle

Hello everybody,
I would like to modify the icons of the tiles of the quick adjustment panel ( app or xposed or modifi systemui.apk).
I can not find a tutorial that works for me.
An idea please
thank you in advance
Try "Apk Editor" from Google play.
Απουσιολόγος said:
Try "Apk Editor" from Google play.
Click to expand...
Click to collapse
Thanks
It's weird I can not find the icons in the systemUI.apk
I take a look for you asap!. But I think they are XML files . No pngs images
Gesendet von meinem P9000 mit Tapatalk
Bradco said:
It's weird I can not find the icons in the systemUI.apk
Click to expand...
Click to collapse
They will probably be in
SystemUI<simple edit<images
Regards,
milkyway3
icons are not images/ pngs .
that was in android 5 and 5.1 . but now they are xml files.
example:
the location icon
Code:
there it creates the icon via
Code:
pathData="M24.0,4.0c-7.7,0.0 -14.0,6.3 -14.0,14.0c0.0,10.5 14.0,26.0 14.0,26.0s14.0,-15.5 14.0,-26.0C38.0,10.3 31.7,4.0 24.0,4.0zM24.0,23.0c-2.8,0.0 -5.0,-2.2 -5.0,-5.0s2.2,-5.0 5.0,-5.0c2.8,0.0 5.0,2.2 5.0,5.0S26.8,23.0 24.0,23.0z"
and set the height and width with the upper vector one.. ( vector android:height="17.0dip" android:width="17.0dip)
you can change the hex color #ffffff to what you want
i will test and tell you what you can do to change it into pngs images. (this will take a bit because of real life and work etc.. a bit busy)
milkyway3 said:
They will probably be in
SystemUI<simple edit<images
Regards,
milkyway3
Click to expand...
Click to collapse
I modify the picture framed in green because it is in png
But the picture framed in red I did not succeed.
I found png but it was not the one
skeleton1911 said:
icons are not images/ pngs .
that was in android 5 and 5.1 . but now they are xml files.
example:
the location icon
Code:
there it creates the icon via
Code:
pathData="M24.0,4.0c-7.7,0.0 -14.0,6.3 -14.0,14.0c0.0,10.5 14.0,26.0 14.0,26.0s14.0,-15.5 14.0,-26.0C38.0,10.3 31.7,4.0 24.0,4.0zM24.0,23.0c-2.8,0.0 -5.0,-2.2 -5.0,-5.0s2.2,-5.0 5.0,-5.0c2.8,0.0 5.0,2.2 5.0,5.0S26.8,23.0 24.0,23.0z"
and set the height and width with the upper vector one.. ( vector android:height="17.0dip" android:width="17.0dip)
you can change the hex color #ffffff to what you want
i will test and tell you what you can do to change it into pngs images. (this will take a bit because of real life and work etc.. a bit busy)
Click to expand...
Click to collapse
No problem skeleton, I understand, you have already do a lot for our p9000
Bradco said:
I modify the picture framed in green because it is in png
But the picture framed in red I did not succeed.
I found png but it was not the one
No problem skeleton, I understand, you have already do a lot for our p9000
Click to expand...
Click to collapse
You will get an answer and a how to , as soon as possible
Gesendet von meinem P9000 mit Tapatalk
skeleton1911 said:
You will get an answer and a how to , as soon as possible
Gesendet von meinem P9000 mit Tapatalk
Click to expand...
Click to collapse
Thank you very much, I wonder how can display png via an xml file, The image should be stored somewhere
Bradco said:
Thank you very much, I wonder how can display png via an xml file, The image should be stored somewhere
Click to expand...
Click to collapse
Vector files are not stored but generated. You could try putting the custom png files you want in your applicable drawable folder (drawable-xxxhdpi-v4 for example) named exactly like the xml you are replacing (except it will end in . png obviously). Sometimes android looks first for png before it moves to the vector (drawable) folder.
WiFi is usually ic_qs_wifi_0.xml and ic_qs_wifi_full_0.xml from 0 1, 2, 3, and 4.
Bluetooth is ic_bluetooth_off.xml and one for on.
Airplane might be ic_signal_airplane_enable.xml and disable
Tulsadiver said:
Vector files are not stored but generated. You could try putting the custom png files you want in your applicable drawable folder (drawable-xxxhdpi-v4 for example) named exactly like the xml you are replacing (except it will end in . png obviously). Sometimes android looks first for png before it moves to the vector (drawable) folder.
WiFi is usually ic_qs_wifi_0.xml and ic_qs_wifi_full_0.xml from 0 1, 2, 3, and 4.
Bluetooth is ic_bluetooth_off.xml and one for on.
Airplane might be ic_signal_airplane_enable.xml and disable
Click to expand...
Click to collapse
Thanks mate for this information ( 1/2 months I'm looking for )
Can i edit with notepad++ ?
What do you think about TickleMyAndroid for editing apk ?
Bradco said:
Thanks mate for this information ( 1/2 months I'm looking for )
Can i edit with notepad++ ?
What do you think about TickleMyAndroid for editing apk ?
Click to expand...
Click to collapse
I highly recommend tma always. If you just want to change the colors, yes use notepad ++ on the vector xml's themselves by changing the fill colors. If you have some png files in mind, try just renaming them, if necessary, to the same names as the vectors like I mentioned above and drop them in one of your drawable folders, xhdpi, xxhdpi and see if it works.
Edit: Unzip and see if these are named like yours. Drop them in a drawable folder. Recompile, put on your phone and see if they show up. They won't fit right but you'll know whether or not you can use pngs. Always make a backup first.
Tulsadiver said:
I highly recommend tma always. If you just want to change the colors, yes use notepad ++ on the vector xml's themselves by changing the fill colors. If you have some png files in mind, try just renaming them, if necessary, to the same names as the vectors like I mentioned above and drop them in one of your drawable folders, xhdpi, xxhdpi and see if it works.
Edit: Unzip and see if these are named like yours. Drop them in a drawable folder. Recompile, put on your phone and see if they show up. They won't fit right but you'll know whether or not you can use pngs. Always make a backup first.
Click to expand...
Click to collapse
So, The files in the zip you gave me does not exist in png but in xml in systemUI.apk
My xml files have the same name as the png that you gave me.
As the png files does not exist in my systemUI.apk I take those you gave me and I put them in:
- systemUI / res / drawable-xxhdpi-v4
or
- drawable-xhdpi-v4 ?
Thank you for all this informations.
EDIT : For the size of the PNG in pixel, what dimension should it use ?
Bradco said:
So, The files in the zip you gave me does not exist in png but in xml in systemUI.apk
My xml files have the same name as the png that you gave me.
As the png files does not exist in my systemUI.apk I take those you gave me and I put them in:
- systemUI / res / drawable-xxhdpi-v4
or
- drawable-xhdpi-v4 ?
Thank you for all this informations.
EDIT : For the size of the PNG in pixel, what dimension should it use ?
Click to expand...
Click to collapse
It doesn't matter where you add them.. I would place them into xxhdpi.
The dimensions of the icons is also not that important. In XML file it's 48dpi. If your icons are xhdpi it should be fine
Gesendet von meinem P9000 mit Tapatalk
Tulsadiver said:
I highly recommend tma always. If you just want to change the colors, yes use notepad ++ on the vector xml's themselves by changing the fill colors. If you have some png files in mind, try just renaming them, if necessary, to the same names as the vectors like I mentioned above and drop them in one of your drawable folders, xhdpi, xxhdpi and see if it works.
Edit: Unzip and see if these are named like yours. Drop them in a drawable folder. Recompile, put on your phone and see if they show up. They won't fit right but you'll know whether or not you can use pngs. Always make a backup first.
Click to expand...
Click to collapse
I test with png for airplane mod, i put the png on drawable xxhdpi v4 with this name --Airplane might be ic_signal_airplane_disable.png--
with TMA :
1. Theming menu
2. Recompile files
3. Recompile with original signature
4. Select systemui.apk
5. Then create flashable zip file
6. Add system/priv-app/ file to project android 5.0
7. Select out folder
8. Create standard zip file
9. Flash with the phone
But the problem
Interface system has stopped
Bradco said:
I test with png for airplane mod, i put the png on drawable xxhdpi v4 with this name --Airplane might be ic_signal_airplane_disable.png--
with TMA :
1.Theming menu
2.Recompile files
3.Recompile with original signature
4.Select systemui.apk
5.Then create flashable zip file
6.Add system/priv-app/ file to project android 5.0
7.Select out folder
8.Create standard zip file
9.Flash with the phone
But the problem
Interface system has stopped
Click to expand...
Click to collapse
Have you signed it? If yes don't do it.
Do you use the latest apktool?
Btw . I use androidmultitool with latest apktool to make my rom themes and modifications.
Gesendet von meinem P9000 mit Tapatalk
skeleton1911 said:
Have you signed it? If yes don't do it.
Do you use the latest apktool?
Gesendet von meinem P9000 mit Tapatalk
Click to expand...
Click to collapse
Yes with original signature
Version of apktool = 2.2.1
I have already managed to change the icons with this same configuration and process.
I will go with a clean install of the phone, what do you think ?
Bradco said:
I test with png for airplane mod, i put the png on drawable xxhdpi v4 with this name --Airplane might be ic_signal_airplane_disable.png--
with TMA :
1. Theming menu
2. Recompile files
3. Recompile with original signature
4. Select systemui.apk
5. Then create flashable zip file
6. Add system/priv-app/ file to project android 5.0
7. Select out folder
8. Create standard zip file
9. Flash with the phone
But the problem
Interface system has stopped
Click to expand...
Click to collapse
ic_signal_airplane_disable, is this how your xml file is named? You didn't put "Airplane might be" in the name, did you?
Before decompiling, did you install your framework(s)?
Apktool 2.2.2 is the latest. You should update your TickleMyAndroid
Tulsadiver said:
ic_signal_airplane_disable, is this how your xml file is named? You didn't put "Airplane might be" in the name, did you?
Before decompiling, did you install your framework(s)?
Apktool 2.2.2 is the latest. You should update your TickleMyAndroid
Click to expand...
Click to collapse
The name of my xml file is ic_signal_airplane_disable.xml i name a png like that ic_signal_airplane_disable..png
I just realized that I put two points to the extension i'am an idiot )
you might with TMA ? yes framework(s) is installed on my computer.
y update TMA and clean my phone it's better
could you tell me the process for recompile ans create zip with TMA ?

Categories

Resources