Related
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
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 ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am not responsible for your device.
You must be rooted.
So far as I'm aware, the Google Sans font is new for the 8.1.0 preview, or at least it being used for the colon in the lockscreen is new.
Due to this, the old lockscreen-clock font fix didn't work.
So, I've made my own flashable font zips with the fix applied.
Change Log:
3/21/18
- Added Nunito font
3/16/18
- Added Open Sans font
- Added Fira Sans font
3/11/18
- Added Roboto-Light font
2/28/18
- Added Bariol font
- Added San Francisco font
2/23/18
- Added Atma font
- Added Storopia font
- Added Averia Sans Libre font
- Added Averia Serif Libre
- Added Lemonada
- Added Lobster Two
- Added Overlock
2/21/18
- Added Slate Pro font
- Added Raleway font
2/17/18
- Added fix for lock-screen clock issue on custom ROMs
2/13/18
- Added Alegreya Sans font
2/12/18
- Added Sofia Pro font
1/21/18
- Added "Gotham" font
- Added "China Cat" fixed for Pixel 2/XL font
- Added "Advent Pro" font
- Added "Arima Madurai" font
- Added "Arsenal" font
- Added "Dosis" font
- Added "Expletus Sans" font
1/19/18
- Added "Tahoma" font
1/6/18
- Added "Tinos" font
1/8/18
- Added "Google Sans" font
1/4/18
- Added "Evolventa" font
- Updated "HelveticaNeuev2_Pixel2XL_8.1.0" zip with fixed version
12/10/17
- Added "Ubuntu Taller" font
- Added "Merriweather" font
12/5/17
- Added "Custom Unrivalled" font
What are probably going to be frequently asked questions:
Q: Will this work on 8.0, 7.1.1, or 7.1.2?
A: So far as I can tell, the GoogleSans font is new for 8.1.0, so the zip will probably work, but the lockscreen clock will probably have the square issue. I would have a full backup of all your stock font files before you try it, if I were you.
Q: Will this work on my device (that's not a Pixel 2 or 2 XL)
A: So far as I can tell, the GoogleSans font is new for 8.1.0, so the zip will probably work, but the lockscreen clock will probably have the square issue. I would have a full backup of all your stock font files before you try it, if I were you.
Q: Do I take request? Can you please make xxxx font work?
A: Yes, but you will need to do some work as well, and you will have to be patient. I will work on them as time allows.
Here's what I will need from you:
The font files you want zipped up and posted in this thread. (I'm not going to go searching)
The font files you upload MUST have at least the follow types of files/weights, otherwise I WILL NOT BOTHER WITH IT:
Bold
Bold Italic
Regular or Medium
Regular Italic or Medium Italic (not absolutely necessary, but preferred)
If you want your font to really look good everywhere, then you should look for fonts that come with the following weights as well:
Thin or Light
Thin Italic or Light Italic
Condensed-regular or condensed-medium. The more condensed versions the better (eg - condensed-bold, condensed-italic, condensed-light, etc.)
Custom ROM and Android P Font Fixes
-Custom ROMs for the Pixel 2/XL apparently don't use the GoogleSans-Regular font for the lock screen clock; hence, the fix that has been applied to all of these fonts does not work on custom ROMs.
-As far as Android P, Google decided to use some of their GoogleSans-xxxx files in places that they didn't in Oreo. Because they weren't used in previous versions Android (at least as far as anyone was able to tell), they were never thought of as needing to be replaced in custom font zips, and so there are a few spots in Android P where the custom font does not get set properly.
Don't worry, though. I've got you covered.
- If the zip you're going to flash says something along the lines of "FixedForStockAndCustomROMS," then it's already been fixed and it will work on a custom ROM.
- If the title of the zip you're going to flash says anything about "Android P" in it, then it's already been fixed and should work without any issues on Android P.
Otherwise if the zip title makes no mention of custom ROMs or Android P, you'll need to use this fix.
AFTER you flash one of these font zips, flash the Pixel2XL_FontFixFor-CustomROMs+Android-P zip from this post: https://forum.xda-developers.com/showpost.php?p=75605109&postcount=373.
That will fix your lock-screen clock issue when on custom ROMs or Android P.
So far, it's been verified as working on Nitrogen, Dirty Unicorn, Resurrection Remix and Android P. If you've tried it successfully on other ROMs, please let us know.
Available fonts so far:
*All fonts have fully functioning lockscreen fonts, meaning there is no need to apply a fix because I've already done that.
Ubuntu - screenshots here: https://forum.xda-developers.com/showpost.php?p=74660773&postcount=14
Walkaway - screenshots here: https://forum.xda-developers.com/showpost.php?p=74660793&postcount=15
SonySketch - screenshots here: https://forum.xda-developers.com/showpost.php?p=74660698&postcount=13
Bellota 1.9 - screenshots here: https://forum.xda-developers.com/showpost.php?p=74662699&postcount=19
Comfortaa - screenshots here: https://forum.xda-developers.com/showpost.php?p=74673323&postcount=30
Rosemary - link, info, and screenshots here: https://forum.xda-developers.com/showpost.php?p=74683775&postcount=39
Oswald - screenshots here: https://forum.xda-developers.com/showpost.php?p=74685035&postcount=41
HelveticaNeueLSTStdUltraLight - screenshots here: https://forum.xda-developers.com/showpost.php?p=74685244&postcount=43
HelveticaNeuev2 - screenshots here: https://forum.xda-developers.com/showpost.php?p=74685358&postcount=44
Custom Unrivalled - screenshots here: https://forum.xda-developers.com/showpost.php?p=74748954&postcount=78
Ubuntu Taller - screenshots here: https://forum.xda-developers.com/showpost.php?p=74803089&postcount=100
Merriweather - screenshots here: https://forum.xda-developers.com/showpost.php?p=74805195&postcount=106
Evolventa - screenshots here: https://forum.xda-developers.com/showpost.php?p=75081193&postcount=182
Google Sans - screenshots here: https://forum.xda-developers.com/showpost.php?p=75119650&postcount=199
Tinos - license information, original unaltered font zip, and screenshots here: https://forum.xda-developers.com/showpost.php?p=75131198&postcount=205
Tahoma - info and screenshots here: https://forum.xda-developers.com/showpost.php?p=75264476&postcount=262
Gotham - screenshots here: https://forum.xda-developers.com/showpost.php?p=75283655&postcount=267
Chinacat - info and screenshots here: https://forum.xda-developers.com/showpost.php?p=75283946&postcount=268
Advent Pro - screenshots here: https://forum.xda-developers.com/showpost.php?p=75288937&postcount=281
Arima Madurai - screenshots here: https://forum.xda-developers.com/showpost.php?p=75288966&postcount=282 See Post # 3 for zip
Arsenal - screenshots here: https://forum.xda-developers.com/showpost.php?p=75288969&postcount=283 See Post # 3 for zip
Dosis - screenshots here: https://forum.xda-developers.com/showpost.php?p=75288976&postcount=284 See Post # 3 for zip
Expletus Sans - screenshots here: https://forum.xda-developers.com/showpost.php?p=75288988&postcount=285 See Post # 3 for zip
Sofia Pro - screenshots here: https://forum.xda-developers.com/showpost.php?p=75546576&postcount=313 See Post # 3 for zip
Alegreya Sans - screenshots here: https://forum.xda-developers.com/showpost.php?p=75556402&postcount=315 See Post # 3 for zip
Raleway - screenshots here: https://forum.xda-developers.com/showpost.php?p=75651095&postcount=400 See Post # 3 for zip
Slate Pro - screenshots here: https://forum.xda-developers.com/showpost.php?p=75651235&postcount=401 See Post # 3 for zip
Storopia - screenshots here: https://forum.xda-developers.com/showpost.php?p=75672205&postcount=405 See Post # 3 for zip
Atma - screenshots here: https://forum.xda-developers.com/showpost.php?p=75672212&postcount=406 See Post # 3 for zip
Averia Sans Libre - screenshots here: https://forum.xda-developers.com/showpost.php?p=75672228&postcount=407 See Post # 3 for zip
Averia Serif Libre - screenshots here: https://forum.xda-developers.com/showpost.php?p=75674331&postcount=408 See Post # 3 for zip
Lemonada - screenshots here: https://forum.xda-developers.com/showpost.php?p=75674340&postcount=409 See Post # 3 for zip
Lobster Two - screenshots here: https://forum.xda-developers.com/showpost.php?p=75674346&postcount=410 See Post # 3 for zip
Overlock - screenshots here: https://forum.xda-developers.com/showpost.php?p=75674354&postcount=411 See Post # 3 for zip
San Francisco - screenshots here: https://forum.xda-developers.com/showpost.php?p=75729584&postcount=424 See Post # 3 for zip
Bariol - screenshots here: https://forum.xda-developers.com/showpost.php?p=75729569&postcount=423 See Post # 3 for zip
Roboto-Light - screenshots here: https://forum.xda-developers.com/showpost.php?p=75856645&postcount=453 See Post # 3 for zip
Open Sans - screenshots here: https://forum.xda-developers.com/showpost.php?p=75878800&postcount=480 See Post # 3 for zip
Fira Sans - screenshots here: https://forum.xda-developers.com/showpost.php?p=75916664&postcount=494 See Post # 2 for zip
Nunito - screenshots here: https://forum.xda-developers.com/showpost.php?p=75972277&postcount=510 See Post # 2 for zip
Amarante - screenshots here: https://forum.xda-developers.com/showpost.php?p=76005243&postcount=555 See Post # 2 for zip
Ropa Sans - screenshots and information here: https://forum.xda-developers.com/showpost.php?p=76089735&postcount=588 See Post # 2 for zip
Playfair - screenshots here: https://forum.xda-developers.com/showpost.php?p=76089708&postcount=587 See Post # 2 for zip
Barlow Condensed - screenshots here: https://forum.xda-developers.com/showpost.php?p=76115431&postcount=598 See Post # 2 for zip
Barlow Condensed EXTRA BOLD - screenshots here: https://forum.xda-developers.com/showpost.php?p=76115446&postcount=599 See Post # 2 for zip
Cyclo - screenshots and information here: https://forum.xda-developers.com/showpost.php?p=76179469&postcount=604 See Post # 2 for zip
Tillium Web - screenshots here: https://forum.xda-developers.com/showpost.php?p=76329859&postcount=645 See Post # 2 for zip
User submitted font zips. Thank you guys!
OnePlus font courtesy of @zupastef: https://forum.xda-developers.com/showpost.php?p=75149094&postcount=209
Proxima Nova, San Fransisco, and Inter UI fonts courtesy of @aj.pai.r: https://forum.xda-developers.com/showpost.php?p=75242775&postcount=244
Samsung Sans font courtesy of @Amjad.AbdulGhani: https://forum.xda-developers.com/showpost.php?p=75306414&postcount=292
Flash via TWRP. A Pixel 2 XL 8.1.0 stock-font flashable zip is also attached, in case you want to revert back.
How to Make Your Own Flashable Font Zips
Picking the Right Font
Notice the image below.
The screenshots are of the following:
Quick Settings
XDA Labs
The Project Fi App
My app drawer
In just these four snippets we have six different font weights. A font weight typically refers to the thickness or thinness of a font, as well as styles like italic.
In the first post, I mentioned that I will only put together files with a certain amount of font-weight files. This is because, as you can see from the image, they are necessary.
Now, you could Google your favorite font, and find it in only one weight -- regular. Then you could apply that regular weight font to the twenty different types of font files that are found natively in /system/fonts so that all of your font files are now replaced by that one font weight file you found.
What you'll have then is a mess, in my opinion. Apps layouts are designed with certain font weights in mind. Aside from that, they are also used to draw the users attention to certain things. Important things are usually bold. Headers are usually bold. Italics can emphasize a point in a different way. Some things, like the app drawer, for example, used a condensed font so that as many letters as possible can be used in the relatively small space allotted for icon text. As you can see in my image, even though I've used an Ubuntu condensed font for the app drawer, there still isn't enough room. Imagine if I used a non-condensed font. I might only get half of what I'm getting now.
My point is this: You should really try to find a font that has as many weights as possible.
Below is a list of all the native fonts in /system/fonts:
Roboto-Black.ttf
Roboto-BlackItalic.ttf
Roboto-Bold.ttf
Roboto-BoldItalic.ttf
Roboto-Italic.ttf
Roboto-Light.ttf
Roboto-LightItalic.ttf
Roboto-Medium.ttf
Roboto-MediumItalic.ttf
Roboto-Regular.ttf
Roboto-Thin.ttf
Roboto-ThinItalic.ttf
RobotoCondensed-Bold.ttf
RobotoCondensed-BoldItalic.ttf
RobotoCondensed-Italic.ttf
RobotoCondensed-Light.ttf
RobotoCondensed-LightItalic.ttf
RobotoCondensed-Medium.ttf
RobotoCondensed-MediumItalic.ttf
RobotoCondensed-Regular.ttf
Well, that's not entirely accurate. Those files listed are the important ones. Replacing those files will, for the most part, replace everything that you'll see.
Notice that there are twenty different font weights available for the Roboto font. This is the ideal situation.
I'll go ahead and say that you're not likely to find a font that you really like that comes with even half that many weights.
Hence, in the first post I said to have at least these weights in any fonts that you want me to make: bold, bold italic, regular or medium, regular italic or medium italic. In my opinion, those weights should be the absolute least amount that you settle for. And, I'll say it again, even finding a font with just that many weights is difficult.
So, let's say you've found a font that has at least the weights that I recommend. Continue on to the next section.
Replacing the Stock Font Files with Your Own
For our example, we'll use the SonySketch font that someone requested I make.
Below are the font files that were the zip I was given:
SonySketch-Bold
SonySketch-BoldItalic
SonySketch-Italic
SonySketch-Regular
Now technically, that's a little short of what I asked for; however, "Italic" can be taken to simply mean regular italic or medium italic, so it works.
Next, we have to figure out how to turn those four font files into the twenty stock files.
Basically, we'll just copy the SonySketch files, then rename the copies to match stock fonts.
So, lets start with the bold.
I know from double clicking the font files on my PC and then viewing the font that, the "Black" font/weight is a bold or bold-ish weight. So, we'll use the SonySketch-Bold for the Roboto-Black file, Roboto-Bold, and RobotoCondensed-Bold.
I'll copy the SonySketch file and rename that copy to Roboto-Black. Now we have a Roboto-Black file that is actually the SonySketch-Bold font.
I'll repeat that step two more times for the other Roboto bold font weight files.
I'll use the SonySketch-BoldItalic for Roboto-BlackItalic, Roboto-BoldItalic, and RobotoCondensed-BoldItalic (since the SonySketch didn't come with a condensed weight).
In the end, this is what we did:
SonySketch-Bold --> Roboto-Black
SonySketch-Bold --> Roboto-Bold
SonySketch-Bold --> RobotoCondensed-Bold
SonySketch-BoldItalic --> Roboto-BlackItalic
SonySketch-BoldItalic --> Roboto-BoldItalic
SonySketch-BoldItalic --> RobotoCondensed-BoldItalic
Now, let's look at the SonySketchRegular.
Since SonySketch didn't come with thin, light, or medium weights, we'll have to use regular for those weights as well.
Following the same copying and renaming scheme from above, we'll do this with the SonySketch-Regular file:
SonySketch-Regular --> RobotoCondensed-Light
SonySketch-Regular --> RobotoCondensed-Medium
SonySketch-Regular --> RobotoCondensed-Regular
SonySketch-Regular --> Roboto-Light
SonySketch-Regular --> Roboto-Medium
SonySketch-Regular --> Roboto-Regular
SonySketch-Regular --> Roboto-Thin
We're almost there.
We have one more SonySketch file to deal with -- SonySketch-Italic.
Again, since we dont have thin-italic, light-italic, or medium-italic weights, we'll have to use the one SonySketch-Italic file for all of those.
Following the same copying and renaming scheme from above, we'll do this with the SonySketch-Italic file:
SonySketch-Italic --> RobotoCondensed-Italic
SonySketch-Italic --> RobotoCondensed-LightItalic
SonySketch-Italic --> RobotoCondensed-MediumItalic
SonySketch-Italic --> Roboto-Italic
SonySketch-Italic --> Roboto-LightItalic
SonySketch-Italic --> Roboto-MediumItalic
SonySketch-Italic --> Roboto-ThinItalic
That's it! We're done copying and renaming files. Now you should have all twenty stock font files replaced with your own font files.
The last things we need to do is to do the same thing with the GoogleSans-Regular.ttf file. This file is new to Android 8.0, I believe, and it is the file responsible for the clock font.
Since it's a regular font file, just make yet another copy of the SonySketch-Regular file and rename it to GoogleSans-Regular.
We're mostly done. All that's left is that we've got to fix the GoogleSans-Regular file you just made so that you don't get the square character instead of the colon in your lockscreen font.
Keep reading to learn how to do that.
Fixing the Lockscreen Clock Square Issue
Many thanks to @AndroPlus for telling me where to look to fix this file.
Tools Required:
FontForge - https://fontforge.github.io/en-US/ (it's free)
1. Run the FontForge application as administrator (this will allow you to save it to your C: drive, if you want to)
2. You only have a limited number of places to choose when you choose to open a file:
C:/
Anywhere in your user folder
The "Documents" folder
Anywhere in the "Users" folder
I work from a secondary drive called F:/Data that FontForge can't get to for some reason. So, I had to move the file I was working with to one of those locations. Just keep that in mind.
3. Find your font file, leave everything as is and click "OK" to open your font file.
4. Once the file is open, you'll notice a bunch of squares. Some will have letters, numbers, characters, or symbols in them, and some will be empty.
Each one of those squares is called a glyph.
5. Find the glyph with the colon in it. It will usually be near the top mixed in with other symbols like the coma, exclamation point, etc.
6. Once you find the colon glyph, double click on it to open it up in a separate window.
7. Next we need to find the uniEE01 glyph.
This is the glyph that the lockscreen clock font looks to to grab the colon. It's a Google specialized character. Hence, most other fonts won't have it, which is why we get the "character not found" square instead of a colon.8. The uniEE01 glyph is usually located nearly at the bottom of the file, although I've seen some files where it's in the middle of the file. Be patient and take your time scrolling.
A word of advice... Keep the FontForge window as small as possible. The more glyphs you can see the slower the window will respond. If you have the FontForge window maximized to the size of your monitor so that you can see a hundred or so glyphs at once, it will be a pain staking effort to scroll to the bottom of the window.9. Once you've found the glyph labed EE01, double click on it to open it up.
10. In your secondary window, you should now have two tabs. One will be labeled as "Colon," and the other will be labeled as uniEE01.
11. In the secondary window, ensure that the colon tab is in the foreground.
12. With the colon tab in the foreground, go to Edit from the top taskbar, then choose "Copy" from the menu.
13. Then switch to the uniEE01 tab, ensuring that the uniEE01 tab is now in the foreground.
14. With the uniEE01 tab in the foreground, go to Edit from the top taskbar, then choose "Paste."
15. Ensure that the uniEE01 tab now shows a colon.
16. Close the secondary window. There is no need to save anything form that secondary window. We will save the main file in a minute.
17. Back in the main window, ensure that the EE01 glyph now contains a colon.
18. Assuming that the ee01 glyph now contains a colon, it's time to save the file.
19. Go to File in the top taskbar.
20. From the File menu, choose "Generate Fonts..."
21. In the "Generate Fonts" dialog box:
Ensure that NO checkboxes are checked. They are not necessary for our purposes.
Ensure that the file type is set to TrueType
Choose where you want to save the file to
Set the name of the file
22. Click the "Generate" button.
23. You may receive a message that says:
24. Ignore this message, by just clicking "Yes."
25. If you had already renamed your font file to GoogleSans-Regular before you opened it, and you're naming your edited file the same thing, you will of course get a prompt telling you that the file already exists, and asking you if you want to replace it.
26. Assuming that you do want to replace the file with your newly edited file, click "Replace."
27. You're finished! You have successfully patched or fixed your font file so that you won't get the lockscreen clock square instead of a colon.
28. Add your newly edited GoogleSans-Regular file to wherever you have all of your other "custom" font files.
Putting it all Together to Make Your Flashable Zip
For the sake of keeping things easy, and because I'm tired of typing at this point, I've attached a flashable font template zip to this post.
Using this template, here's how you put together your flashable zip:
1. Unzip the template zip.
2. Place all of your now customized Roboto font files inside the /system/fonts folder.
3. Place your "fixed" GoogleSans-Regular.ttf file inside the /system/fonts folder.
4. Ensure you have 21 font files inside your /system/fonts folder (20 Roboto files and 1 GoogleSans-Regular file):
4. If you want to, edit the updater-script file to include your name and anything else you want people to see when they flash your zip. You are going to share it aren't you!? The updater-script can be found in /META-INF/com/google/android.
5. Select both the META-INF and system folders and make them a compressed zip folder:
6. Name your zip whatever you like, but be sure to include the font name in the title so other people know what it is.
7. Place the zip on your phone, boot into TWRP, and flash away!
8. You've done it! CONGRATULATIONS!
More flashable zips...
???
Awesome work @sharkie405
Keep up the good work!
Here's a font that i always install when i format my phone or flash a new rom, its called Sony Sketch.
Hope you guys like it too. Attaching the necessary files as you instructed! Thanks!
Here's the link:
https://drive.google.com/open?id=1dkURQzb3YUNPDMOD2Ag67ySpgvHmXFee
Please add walkway bold font if possible
And can i flash the fonts if i just boot twrp and don't have permanent?
pa.pn2 said:
Please add walkway bold font if possible
And can i flash the fonts if i just boot twrp and don't have permanent?
Click to expand...
Click to collapse
I'll fix the file you sent me this evening when I get home from work. If you also want me to compose a zip for you, post all the walkway font files here.
Yes, you can flash the fonts it if you just fastboot boot TWRP and don't have it flashed permanently. However, did you know that beta-2 of TWRP was released? That's the first version that actually works on my phone. If you haven't already, you might want to give that a try for a permanent TWRP.
Sent from my Pixel 2 XL using XDA Labs
aj.pai.r said:
Awesome work @sharkie405
Keep up the good work!
Here's a font that i always install when i format my phone or flash a new rom, its called Sony Sketch.
Hope you guys like it too. Attaching the necessary files as you instructed! Thanks!
Here's the link:
https://drive.google.com/open?id=1dkURQzb3YUNPDMOD2Ag67ySpgvHmXFee
Click to expand...
Click to collapse
I will try to have this done for you this evening at some point.
Sent from my Pixel 2 XL using XDA Labs
sharkie405 said:
I'll fix the file you sent me this evening when I get home from work. If you also want me to compose a zip for you, post all the walkway font files here.
Yes, you can flash the fonts it if you just fastboot boot TWRP and don't have it flashed permanently. However, did you know that beta-2 of TWRP was released? That's the first version that actually works on my phone. If you haven't already, you might want to give that a try for a permanent TWRP.
Click to expand...
Click to collapse
Yeah i saw that.maybe ill flash it this evening.
But first step is to flash stock boot image right.
The boot to twrp.flash custom kernel twrp.zip and magisk after i guess
All needed files for the font should be in the zip
I used it on my 6p without issues
pa.pn2 said:
Yeah i saw that.maybe ill flash it this evening.
But first step is to flash stock boot image right.
The boot to twrp.flash custom kernel twrp.zip and magisk after i guess
All needed files for the font should be in the zip
I used it on my 6p without issues
Click to expand...
Click to collapse
I read somewhere that if you're already rooted and you're going to reflash TWRP, then you need to flash stock boot.img first. However, when I updated to the beta 2 version, I was already rooted and I did not flash the stock boot.img first, and everything went fine. Then I just rerooted using the latest magisk zip and it all went fine.
Sent from my Pixel 2 XL using XDA Labs
pa.pn2 said:
Yeah i saw that.maybe ill flash it this evening.
But first step is to flash stock boot image right.
The boot to twrp.flash custom kernel twrp.zip and magisk after i guess
All needed files for the font should be in the zip
I used it on my 6p without issues
Click to expand...
Click to collapse
- In the attached zip is the GoogleSans-Regular.ttf file to add to your zip.
- You also need to make an adjustment to the updater-script your flashable zip because it doesn't work on the Pixel 2 like it is currently. Actually, this might have changed since the Pixel OG. I say this because I tried to flash yours like it was and the font didn't get installed. After making the change below, it worked.
The package extract line:
Code:
package_extract_dir("system", "/system");
Needs to be change to:
Code:
package_extract_dir("system", "/system/system");
Add another level of /system to that line.
I was going to post the zip, but since you put the package together, you should post it to share it, if you want. I will mention that font in the first post and link to your post with the zip attached. If you post it, also include a screenshot or two so that others can tell what it looks like before they download it.
sharkie405 said:
- In the attached zip is the GoogleSans-Regular.ttf file to add to your zip.
- You also need to make an adjustment to the updater-script your flashable zip because it doesn't work on the Pixel 2 like it is currently. Actually, this might have changed since the Pixel OG. I say this because I tried to flash yours like it was and the font didn't get installed. After making the change below, it worked.
The package extract line:
Needs to be change to:
Add another level of /system to that line.
I was going to post the zip, but since you put the package together, you should post it to share it, if you want. I will mention that font in the first post and link to your post with the zip attached. If you post it, also include a screenshot or two so that others can tell what it looks like before they download it.
Click to expand...
Click to collapse
It's absolutely ok if u post it.its not my font at all lol
Im not the master in editing any script yet.i can post just the screenshot later?
aj.pai.r said:
Awesome work @sharkie405
Keep up the good work!
Here's a font that i always install when i format my phone or flash a new rom, its called Sony Sketch.
Hope you guys like it too. Attaching the necessary files as you instructed! Thanks!
Here's the link:
https://drive.google.com/open?id=1dkURQzb3YUNPDMOD2Ag67ySpgvHmXFee
Click to expand...
Click to collapse
You requested has been added to the first post!
Just using this post as a reference for Ubuntu screenshots. Don't mind me.
Just using this post as a reference for Walkaway font screenshots. Don't mind me.
pa.pn2 said:
It's absolutely ok if u post it.its not my font at all lol
Im not the master in editing any script yet.i can post just the screenshot later?
Click to expand...
Click to collapse
Okay, I posted it in the first post if you don't want to bother with compiling your own, you can just grab it from there.
Sent from my Pixel 2 XL using XDA Labs
Thanks for adding these fonts awesome work. Would it be too much trouble to add this bella font. https://drive.google.com/file/d/1wqS2xAXY76CEPODpD5N8wniRVvAcwuUt/view?usp=drivesdkit worked on my original pixel it's an actual magisk module. If not no big deal. Thanks again
In-Depth Tutorial Added
I've added a ridiculously in-depth tutorial on how to make your own flashable-font zips from start to finish (including the lockscreen clock font fix) to the second post. Enjoy!
mac796 said:
Thanks for adding these fonts awesome work. Would it be too much trouble to add this bella font. https://drive.google.com/file/d/1wqS2xAXY76CEPODpD5N8wniRVvAcwuUt/view?usp=drivesdkit worked on my original pixel it's an actual magisk module. If not no big deal. Thanks again
Click to expand...
Click to collapse
Your requested has been added to the first post.
It's not a Magisk Module, though. It's just a normal flashable zip.
sharkie405 said:
Your requested has been added to the first post.
It's not a Magisk Module, though. It's just a normal flashable zip.
Click to expand...
Click to collapse
That's perfect I really appreciate it thank you sir
Since I'm no longer updating my themes (at least for now) and I've been asked a few times, I'll provide a quick guide to changing the accent colours.
https://forum.xda-developers.com/ma...ed-black-theme-accent-colour-options-t4051377
May do a full guide at some point in the future, but that would be quite long.
Huawei themes are just zip files but with ".hwt" file extension.
Apps I use:
*Note, you can use any similar apps that serve the same function, though I believe mixplorer is the best file manager especially for editing themes.
File Explorer (to edit the .hwt & .zip files).
https://play.google.com/store/apps/details?id=com.mixplorer.silver
*also note if you're using a different file manager you might have to add ".zip" to the theme.hwt e.g. theme.hwt.zip before you can open it, with mixplorer you don't.
Download:
iOmix-Temp.hwt
https://bit.ly/2M82lHT
Colour picker (to find the hex colour code of your choice).
https://play.google.com/store/apps/details?id=com.jahirfiquitiva.pals
Vector image editor (to create the .png files).
https://play.google.com/store/apps/details?id=com.shoebillsoftware.vectordraw
Download:
iOmix Theme Png Templates
https://bit.ly/2ZxJtdd
Includes .png & .svg use either as a template to create your own brightness & volume scrubbers these ideally should be the same accent colour that you use in the theme.xml
1. (Optional) Create a folder on your phone, call it whatever you want, I usually name it editing.
2. Copy the theme file (iOmix-Temp.hwt) to the folder.
3. Rename the theme file by adding ".zip" extension to the end "iOmix-Temp.hwt.zip"
*you can skip this if you're using mixplorer.
4. Open the zip and extract the following files to the editing folder:
com.android.contacts
com.android.systemui
framework-res-hwext
framework-res
5. Rename all files by adding ".zip" to the end
com.android.contacts.zip
com.android.systemui.zip
framework-res-hwext.zip
framework-res.zip
6. First we'll edit the theme.xml files in each of the files we extracted in step 5.
The process will be the same > replace 007DFE (this is a hex code without the #) with your own colour code (also without the #).
7. Editing theme.xml files
**Contacts.zip**
A. In the contacts zip open the theme.xml use the replace function to replace 007DFE with any other colour code *make sure [replace all] is selected.
B. Open framework-res-hwext folder > open theme.xml and repeat previous steps of replacing 007DFE with your preferred colour.
**Systemui.zip**
Edit the theme.xml in the following.
A. Main folder > theme.xml
B. Framework-res > theme.xml
C. Framework-res-hwext > theme.xml
**Framework-res-hwext.zip**
Edit the theme.xml in the following.
A. Main folder > theme.xml
B. Res > theme.xml
**Framework-res.zip**
Edit the theme.xml in the following.
A. Main folder > theme.xml
8. Replacing the main .png files.
**Contacts.zip**
A. Res > drawable-xxhdpi > fastscroll_label_phonebook_emui_null_icon.png (needs to be 152*152 pixels)
**Systemui.zip**
Edit the theme.xml in the following.
A. Framework-res-hwext > Res > drawable-xxhdpi > scrubber_control_normal_emui.png
(needs to be 98*98 pixels)
B. Res > drawable-xxhdpi > ic_seekbar_thumb.png
(needs to be 90*90 pixels)
**Framework-res-hwext.zip**
Edit the theme.xml in the following.
A. Res > drawable-xxhdpi > scrubber_control_normal_emui.png
(needs to be 98*98 pixels)
Finally you might want to rename the theme so you can find it in the Huawei theme manager app.
In the root of the theme zip there is a file called description.xml, open this file and change the title Theme title
Now remove the ".zip" from the files you renamed at the start:
com.android.contacts.zip
com.android.systemui.zip
framework-res-hwext.zip
framework-res.zip
Back to:
com.android.contacts
com.android.systemui
framework-res-hwext
framework-res
Copy the 4 files back into the theme.theme.hwt, If you used mixplorer then just copy the edited theme.theme.hwt back to your main themes folder
If you used a different file manager then remove the ".zip" extension from the theme.hwt then move to your main themes folder.
If you edited theme isn't showing in the Huawei themes manager, you might need to force stop it then reopen the app.
I hope this is clear enough.
Would be great if you share your edited theme here.
Let me know if there's any questions
***(This is a work in progress will be updated as time goes on)***
View attachment 5025795View attachment 5025797View attachment 5025801View attachment 5025803View attachment 5025805View attachment 5025807View attachment 5025809View attachment 5025811View attachment 5025813
Saved 1
Saved 2
Saved 3
Saved 4
Saved 5
How convert volumen bar to transparent?
Thx
Youtube_Ll0r3nt3 said:
How convert volumen bar to transparent?
Thx
Click to expand...
Click to collapse
The volume pop up has 3 sections, can you screen shot and annotate exactly what part you want to change.
Sent from my LYA-L09 using Tapatalk
kam333 said:
The volume pop up has 3 sections, can you screen shot and annotate exactly what part you want to change.
Sent from my LYA-L09 using Tapatalk
Click to expand...
Click to collapse
https://we.tl/t-6eYpgSaGFJ
Need transparent vol bar loeo to Ll0r3nt3
Youtube_Ll0r3nt3 said:
https://we.tl/t-6eYpgSaGFJ
Need transparent vol bar loeo to Ll0r3nt3
Click to expand...
Click to collapse
You didn't provide the info I asked for so I'll guess you're talking about the black part
Go to:
com.android.systemui>res>drawable-xxhdpi> volume_popup.9.png (edit this)
Sent from my LYA-L09 using Tapatalk
Instagram sharesheet color and black quick settings toggle and black notifications
Hi bro,
remember me? thank you so much for supporting us newbies on making emui themes.
Just wanted to ask where is the section to change instagram sharesheet background color and also where to change the quick setting tiles and make black notifications if i have a theme that is not yours.
Thanks in advance
---------- Post added at 04:06 PM ---------- Previous post was at 03:36 PM ----------
faisal.fmq said:
Hi bro,
remember me? thank you so much for supporting us newbies on making emui themes.
Just wanted to ask where is the section to change instagram sharesheet background color and also where to change the quick setting tiles and make black notifications if i have a theme that is not yours.
Thanks in advance
Click to expand...
Click to collapse
Also mixplorer is not saving the file after replacing the color code, its says not supported. How do you open the theme.xl file? code editor, text editor???
faisal.fmq said:
Hi bro,
remember me? thank you so much for supporting us newbies on making emui themes.
Just wanted to ask where is the section to change instagram sharesheet background color and also where to change the quick setting tiles and make black notifications if i have a theme that is not yours.
Thanks in advance
---------- Post added at 04:06 PM ---------- Previous post was at 03:36 PM ----------
Also mixplorer is not saving the file after replacing the color code, its says not supported. How do you open the theme.xl file? code editor, text editor???
Click to expand...
Click to collapse
Hi Faisal,
To change the share sheet colour:
framework-res > theme.xml >
<color name="GM2_grey_800">#ff161616</color> (change to preferred colour)
In mixplorer you can use the code or text editor (I prefer the code).
If your editing the theme.xml in framework-res (for example) you first need to extract it from the theme.hwt, then add .zip = framework-res.zip then edit the xml inside
As for the other theme you're best asking the theme creator of that, not all themers use the same structure and this thread is just a quick guide to changing the accent colour since a few people have asked.
Maybe I'll do a longer guide at some point in future but right now I don't want to spend too much time on this.
Sent from my LYA-L09 using Tapatalk
Thank u so much
kam333 said:
Hi Faisal,
To change the share sheet colour:
framework-res > theme.xml >
<color name="GM2_grey_800">#ff161616</color> (change to preferred colour)
In mixplorer you can use the code or text editor (I prefer the code).
If your editing the theme.xml in framework-res (for example) you first need to extract it from the theme.hwt, then add .zip = framework-res.zip then edit the xml inside
As for the other theme you're best asking the theme creator of that, not all themers use the same structure and this thread is just a quick guide to changing the accent colour since a few people have asked.
Maybe I'll do a longer guide at some point in future but right now I don't want to spend too much time on this.
Click to expand...
Click to collapse
kam333 said:
The volume pop up has 3 sections, can you screen shot and annotate exactly what part you want to change.
Sent from my LYA-L09 using Tapatalk
Click to expand...
Click to collapse
kam333 said:
You didn't provide the info I asked for so I'll guess you're talking about the black part
Go to:
com.android.systemui>res>drawable-xxhdpi> volume_popup.9.png (edit this)
Sent from my LYA-L09 using Tapatalk
Click to expand...
Click to collapse
There is no file to edit, can you check the topics that I send you?
Youtube_Ll0r3nt3 said:
There is no file to edit, can you check the topics that I send you?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showthread.php?p=82700185
Sent from my LYA-L09 using Tapatalk
kam333 said:
Saved 1
Click to expand...
Click to collapse
Hello there.. Please can. U guide me. How do i know what part is called what in the theme. Xml file please. I cannot get it done and there is no guide for themeing emui settings app . God bless u brother
Hi All,
So I have successfully converted some of the Windows fonts to Huawei .hwt fonts/Text Styles. Attached file link contains a list of all the Windows 10 Fonts (.ttf) that are required to do so.
1. Download the "Themes Manager for Huawei / Honor / EMUI" app from the Playstore. This version Contains ads but still worth it.
2. Extract the zip file to your desired directory on your phone or Windows (copy the folder to your desired phone directory)
3. Now Open the Themes Manager App and go to the Fonts Tab.
4. Next Click on Font Generator
5. Now Click on Generate Font.
6. Select your desired .ttf font file from the Directory that contains the Fonts.
7. Follow the next steps and Apply Them through the Text Styles.
Download Link to the TTF Fonts:
https://drive.google.com/file/d/1rtRdWsFNYrrcdQuZ2ID2lomkn2SLA1Yk/view?usp=sharing