SMALL APPS PORT SYSTEMUI EDITING.
.
FIles I ADDED ::::::
ExternalTaskSwitcher ------------ In smali/com/android/systemui/recent
FIles I EDITED ::::::
PhoneStaturBar ,PhoneStaturBar$H ------------ In smali/com/android/systemui/statusbar/phone
.
SO JUST ADD THOSE FILES FROM MY SYSTEMUI AND PASTE IN YOURS
OR JUST DIRECTLY COPY MY CLASSES.DEX IF COMPATIBLE
.
.
.
Press Thanks If I helped You
I just copy your classes.dex in my systemUI and works good
Best Regards
..:: [email protected]€m!c ::..
M8, I tried everything to mod "my" SystemUI (with 7ZIP for classes.dex, APKtool,Manager etc.for .smali files) but i just get a smaller apk compared with the original (600-800kb vs 1.32mb) and a FC Anyways, here is the SystemUI
Jonfensu said:
M8, I tried everything to mod "my" SystemUI (with 7ZIP for classes.dex, APKtool,Manager etc.for .smali files) but i just get a smaller apk compared with the original (600-800kb vs 1.32mb) and a FC Anyways, here is the SystemUI
Click to expand...
Click to collapse
Use apktool, and after compiling take the classes.dex only from /build of apktool and replace the classes.dex of your systemui.apk by opening in winrar ( apk -> zip)
Thank You,
Aeon
AeonWorld said:
Use apktool, and after compiling take the classes.dex only from /build of apktool and replace the classes.dex of your systemui.apk by opening in winrar ( apk -> zip)
Thank You,
Aeon
Click to expand...
Click to collapse
Thanks, but nothing Look what I am doing
-Replace clasess.dex using 7Zip or APKtool (as you said) from your SUI.apk to my SUI.apk ----- Nothing
----
-Decompile Your SUI,extract the three .smali files and replace those on my SUI
-Recompile the new SUI and then place the META-INF folder with 7Zip in the new SUI (Here I get the smaller APK) ----- Nothing
-Replace the res folder in the new SUI with the original of my SUI (Because in the new one is smaller) ----- Nothing
----
-I did the previous steps in one ---- Nothing
I don't know if its happening due i am using an original (Untouched) SystemUI (I guess) Anyways I did not get any error de/re-compiling.
I am gonna try so, with other SUI
Jonfensu said:
Thanks, but nothing Look what I am doing
-Replace clasess.dex using 7Zip or APKtool (as you said) from your SUI.apk to my SUI.apk ----- Nothing
----
-Decompile Your SUI,extract the three .smali files and replace those on my SUI
-Recompile the new SUI and then place the META-INF folder with 7Zip in the new SUI (Here I get the smaller APK) ----- Nothing
-Replace the res folder in the new SUI with the original of my SUI (Because in the new one is smaller) ----- Nothing
----
-I did the previous steps in one ---- Nothing
I don't know if its happening due i am using an original (Untouched) SystemUI (I guess) Anyways I did not get any error de/re-compiling.
I am gonna try so, with other SUI
Click to expand...
Click to collapse
same problem here. i can decompile and recompile SystemUI without any errors and placed ExternalTaskSwitcher,PhoneStaturBar$H on my SystemUI but after replacing the mooded SystemUI i got FC when pressing long the Home button....
---------------------------------------------
EDIT: Finally it works i just copied the classes.dex to my modded SystemUI. many many thanks AEON. you rocks
jobayer said:
same problem here. i can decompile and recompile SystemUI without any errors and placed ExternalTaskSwitcher,PhoneStaturBar$H on my SystemUI but after replacing the mooded SystemUI i got FC when pressing long the Home button....
---------------------------------------------
EDIT: Finally it works i just copied the classes.dex to my modded SystemUI. many many thanks AEON. you rocks
Click to expand...
Click to collapse
Yes indeed, you dont have re and decompile systemUI just copy the classes.dex to the systemUI you want and tadaaa! It works and it stand clear enough in the OP
Best Regards
..:: [email protected]€m!c ::..
Pandemic said:
Yes indeed, you dont have re and decompile systemUI just copy the classes.dex to the systemUI you want and tadaaa! It works and it stand clear enough in the OP
Best Regards
..:: [email protected]€m!c ::..
Click to expand...
Click to collapse
friend which SystemUI you are using? i like xperia t SystemUI (got it from hdpi devices) but got FC when turn on gps would you please guide me to solve this problem? i'm using xperia mini
jobayer said:
friend which SystemUI you are using? i like xperia t SystemUI (got it from hdpi devices) but got FC when turn on gps would you please guide me to solve this problem? i'm using xperia mini
Click to expand...
Click to collapse
my own mate, this one, and then in 3rd post
http://forum.xda-developers.com/showthread.php?t=1690037
Pandemic said:
my own mate, this one, and then in 3rd post
http://forum.xda-developers.com/showthread.php?t=1690037
Click to expand...
Click to collapse
friend everthing works but FC when use gps...why this happening
Have someone read my post? Of course, change classes.dex IS the FIRST thing that I did. ---- Nothing
EDIT. Its not working with Untouched or Official SystemUI. period.
Thanks for the tuorial, i've just copy your classes.dex in my systemUI like Pandemic and it's perfect ! :good:
Jonfensu said:
Have someone read my post? Of course, change classes.dex IS the FIRST thing that I did. ---- Nothing
EDIT. Its not working with Untouched or Official SystemUI. period.
Click to expand...
Click to collapse
Yes thats why I said "if compatible " cause the classes include toggles, so it should be a systemui with toggles
Thank you,
Aeon
How to add text in statusbar like Bluetooth, wifi, reboot, shutdown etc...??????
How to add text under the icon???
Where is download link of systemui??????
Sent from my ST21i2 using xda app-developers app
Related
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
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
This is a port of Xperia Z framework.
All the ported frameworks for Xperia U had one thing missing which I liked, their app background did not change with the theme. So I decided to do my own port where I retained this feature. This framework is compiled by me and has over 2000 images ported from Xperia Z. And the app background also does change now :good:
Features:
1. Complete Xperia Z framework.
2. Fixes AOSP music controls alignment issue.
3. I cannot possibly list all the changes here so why don't you consult the screenshots for some, or better yet try it for the whole experience
See attachments for screenshots
How to install:
1. Download framwork-res.apk from the attachments
2. Copy it to your sdcard
3. Move it to any folder in your system (ANY folder other than system/framework)
4. Change permissions to rw-r-r-
5. Now move the the file to system/framework
6. Immediately reboot your system
7. Enjoy
NOW! Before you proceed any further let me explain something to you. Framework-res.apk is an extremely sensitive file. Do NOT copy the file directly to system/framework without changing permissions first, or it will crash the OS and brick your phone. Copy the file first to any folder in system/ (except framework) (I personally copy files to system/media/ then change permissions and move files elsewhere) Change the permissions to rw-r-r- like:
X-X
X
X
And then move the file to system/framework.
Finally I am not responsible if you brick your device due to not following the instructions properly. If you did everything right and there are any bugs or problems you're most welcome to ask and I will surely help.
Try and post your experiences in the comments.
Credits to ZN6 and Mtakween for their Xperia Z framework port. Check their work out as well :good:
If you like it, don't forget to press thanks :victory:
Download HERE
k, I hav a framework. I want the app background not to change(wants only black) how to do it. Can u jst tell
Can you upload the xperia Z JB Framework for xperia U again because it says that the file is missing
:silly:
Here is a little tutorial on how to get smaller onscreen navigation buttons... i was formely using On Screen Button Enabler App by Soheil_rf but tha buttons re too big for my liking so i explore here on xda & get solution.
Tools Needed:-
- Framework-res.apk from yur ROM
- Notepad++
- Apktool but yhu can also use ApkManager
Steps:::::::::::::::::::::::::::::
1. Copy yur framework-res.apk to Apktool folder
2. Install yur framework-res.apk for de/recompiling....
Code:
apktool if framework-res.apk
3. Decompile tha apk
4. Goto folder framework-res/res/values, Open bools.xml with Notepad++ & edit den save; change from false to true
Code:
<bool name="config_showNavigationBar">true</bool>
5. Goto folder framework-res/res/values, Open dimens.xml with Notepad++ & edit den save; i change tha Height & Width values
Code:
<dimen name="navigation_bar_height">35.0dip</dimen>
<dimen name="navigation_bar_width">32.0dip</dimen>
6. Recompile tha edited decompiled framework-res.apk
7. Voila & Flash.......:highfive::highfive::highfive:
Update:::::::::::
VRTheme mod added... just flash & enjoy, no need for editing!!! it should work for all Xperia P CM9/STOCK ROMs.
- On Screen Button (OSB)
- Auto-Rotation for Lockscreen
- Navigation bar pngs for SystemUI incase its not present in yur SystemUI....
Optional;
* check yur SystemUI.apk for tha files in Nav_bar.zip, if present den yhu dnt need it but if not copy all tha pngs to your SystemUI.apk [res/drawable-hdpi folder]
* i attach a flashable zip for yhu guys...... hope yhu guys dnt mind!:silly:
Hope tha tutorial is helpful......
Thanks:-
Evilsto
Abhinav2
XDA
Me
How to Enable Lockscreen Rotation
Additional.....
Steps:::::::::::::::::::::::::::::
1. Copy yur framework-res.apk to Apktool folder
2. Install yur framework-res.apk for de/recompiling....
Code:
apktool if framework-res.apk
3. Decompile tha apk
4. Goto folder framework-res/res/values, Open bools.xml with Notepad++ & edit den save; change from false to true
Code:
<bool name="config_enableLockScreenRotation">true</bool>
change from true to false
Code:
<bool name="lockscreen_isPortrait">false</bool>
5. Recompile tha edited decompiled framework-res.apk
6. Voila & Flash.......:highfive::highfive::highfive:
Thanks:-
Sandy
Me
thank you very much
Mtakween said:
thank you very much
Click to expand...
Click to collapse
thanks a ton buddy.........
Good work man :good:
Keep going
Best Regards,
AJ
alokbina is now Abhinav2
Abhinav2 said:
Good work man :good:
Keep going
Best Regards,
AJ
alokbina is now Abhinav2
Click to expand...
Click to collapse
thanks for helping & posting motivational comments!
Godbless...:highfive::good:
Just a correction....Well you included the bools.xml and dimens.xml within the vrTheme but not all roms will have same bools.xml and dimens.xml which may conflict with their framework...so just leave the vrTheme empty with the correct file structure and tell them how to add bools.xml and dimens.xml in it
Best Regards,
AJ
Abhinav2 said:
Just a correction....Well you included the bools.xml and dimens.xml within the vrTheme but not all roms will have same bools.xml and dimens.xml which may conflict with their framework...so just leave the vrTheme empty with the correct file structure and tell them how to add bools.xml and dimens.xml in it
Best Regards,
AJ
Click to expand...
Click to collapse
Okies brov..... but i guess it will work on all CM9 roms for Xperia P!
Nice work brov!!
But many devs already know this(me)!
Anyways Good for freshers......
Sent from my Xperia P using XDA-premium
sadiq23 said:
Nice work brov!!
But many devs already know this(me)!
Anyways Good for freshers......
Sent from my Xperia P using XDA-premium
Click to expand...
Click to collapse
i know but just for new members brov......
Would you mind doing The same for XU?
Strike_Riku said:
Would you mind doing The same for XU?
Click to expand...
Click to collapse
post yur framework file den i ll make it brov..... if yhu can get framework-res.apk from stock & cm9!!!
thanks!
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 ?