[Project] Change the fingerprint unlock animation of your Huawei Mate 20 Pro - Huawei Mate 20 Pro Themes, Apps, and Mods

In earlier EMUI 9.0.0 we had the option to change the fingerprint unlock animation. This option was later removed and hasn't come back.
Inspired by the thread for the Huawei P30 Pro, I investigated whether it was possible to change the lockscreen fingerprint icon of our Huawei Mate 20 Pro.
What works when applying the files provided in the thread:
The lockscreen fingerprint changes - although it's smaller than the default lock screen icon.
What doesn't work when applying a new fingerprint animation:
When you use one of the animations, there are two possible scenarios: Either only the fingerprint icon changes with no change to the animation or the animation changes but is shifted to the left and thus doesn't light up directly over the fingerprint scanner which means that the fingerprint reader won't work. The likely reason for this not working is because the resolution of the P30 Pro is only FHD+ while the resolution of the Mate 20 Pro is QHD+.
What I have tried:
I've tried changing the name of the 'drawable-xxhdpi' to 'drawable-xxxhdpi' - doesn't work.
I extracted the 60 pictures from the OnePlus 6T McLaren Fingerprint GIF animation and renamed them properly as suggested in the guide in the P30 Pro thread, but it doesn't work.
Apparently, only the aod-files that have both 'wave_500x500_01'.jpg AND 'wave_600x600_black50_01'.jpg will actually change the fingerprint animation but the animation seems to be limited to only 12 frames and is - just as with the suggested animations in the thread - shifted to the left which leaves them unusable. Having the files in '.png' format doesn't work.
Any help or suggestions are welcome!
UPDATE:
I successfully managed to change the fingerprint unlock animation to 'Blue Electric'! I downloaded a clean Huawei Mate 20 Pro Theme, moved the com.huawei.aod file into the theme and renamed the 'drawable-xxhdpi' folder to 'drawable-xxxhdpi' and it worked!
I created a guide for the installation

It worked! I sucessfully managed to change the fingerprint unlock animation to 'Blue Electric'!

This looks very promising. Is there a way to change the animation without a theme? In other words I dont currently have any theme installed except the one which comes from Huawei out of the box. Is there a way to change that animation?

dwojr said:
This looks very promising. Is there a way to change the animation without a theme? In other words I dont currently have any theme installed except the one which comes from Huawei out of the box. Is there a way to change that animation?
Click to expand...
Click to collapse
Copy and mod the stock theme you are actually using.

Thank you, perfect.

Good luck with projects for electrical engineering students I think this gonna be an awesome project nice and a great project with unique ideas.

Related

Startup animation on our prophets

I've noticed that on some newly released roms there is a startup animation integrated.
It would be interesting how to ad this animation to an existing rom.
Maybe one of the "romgods" here could give a tip which files and regkeys are needed.
Im dreaming of a cool startup maybe with sound.
Is it only a dream?
Greetings from Germany,
skylow
It would be great if this can be implemented, like nokia and all other has startup animation with sound.
ROM guru's is this possible??
Waiting for reply
Thanks
Aju
EVO8en has a 4 welcome screen not 3 !
and the third screen is animate
Sure, I know and tyed out.
The question is, how to integrate the animation into other roms.
Reanimation. Dr defi please
I just want to bring this thread back in your minds.
I think there must be a way to integrate this animation to any wanted WM6 rom. But i stuck in findig thr right files and reg keys.
Does noone els like this gimmic?
third file could have been animated but it is not a gif and there is no way png would animate and one should not soft reset too often ,and animated flash file today plugin already exist.

[SOLVED] Pattern Lock Screen: How do I change the clock font and dots?

UPDATE: All info in this thread summarized here: [GUIDE] Pattern lock tweaks - Wallpaper Brightness, Pattern Lock Dots, etc.
Rooted phone running Cognition 1.5.1. I am using a pattern lock so I have the standard Samsung lockscreen.
How can I change the clock font on the pattern lock screen? It looks very out of place compared to the other fonts.
Can I make the pattern lock dots smaller or more transparent? I don't like how it covers up almost all of my wallpaper. I know CyanogenMod has an option to make the pattern lock dots completely invisible. I don't really want that either, I just want them to be less obstructive.
Thanks in advance!
You can't change them afaik! You can always use third party lockscreen app like Widget Locker to get your desired lock screen.
I figured out how to change the clock font. Simply replace the Clockopia.ttf in /system/fonts. You can also use the Font Changer app, available on XDA or Market: http://forum.xda-developers.com/showthread.php?t=874658
However I noticed that my replacement clock font did not seem to line up properly. I think this is a common problem with replacing Clockopia.ttf. So you might need to adjust your font with something like FontForge first. Check out the guide here: http://forum.xda-developers.com/showthread.php?t=990853
UPDATE: This thread on Rootzwiki gives a good description of the Clockopia alignment problem and how to fix it. Basically, use a font editor to replace the glyphs in the Clockopia.ttf with the glyphs from your favorite font.
Still investigating the pattern lock dots.
Figured out the pattern lock dots! The files are in the framework-res.apk, under res\drawable-hdpi. There are two files you need to edit:
btn_code_lock_default.png -- This is the white dot in the middle
indicator_code_lock_point_area_default.png -- This is the dark circular background of the dot
I reduced the size of the white dot by 50% and used a clear transparent background so it doesn't block the wallpaper. Files are attached below in case anyone wants to use these.
One more discovery today. Normally the pattern lock wallpaper is not as bright as the original -- there's a dim or dark filter over it. To change this, decompile framework-res.apk (need to use apktool or apk_manager), and edit res\layout\keyguard_screen_unlock_portrait.xml.
On line 4, change android:background="#70000000" to android:background="@color/transparent"
Compile framework-res.apk and put it back into system\framework. Reboot and you should see that the pattern lock wallpaper is much brighter!
Also I've made another set of pattern lock dots. For this one, I reduced both the white middle dot and the outer ring by 50%. Then I increased the transparency of both and made the outer ring a lighter gray. So now the dots are larger, but even less intrusive. I've attached the files below, plus a screenshot.
Thanks a lot for the background transparency trick ! That was exactly what I was loogking for.
Also, may I add something just for information if ppl need it :
There are other files if you want a complete edit :
the ones you told about :
btn_code_lock_default.png (the small dot in the center)
indicator_code_lock_point_area_default.png (the black circle around)
The pngs that shows up when the pattern is the wrong one :
indicator_code_lock_point_area_red.png (the circle around)
indicator_code_lock_drag_direction_red_up.png (the arrow showing the direction)
And if you use "visible pattern" in the options, these are the green ones :
indicator_code_lock_point_area_green.png
indicator_code_lock_drag_direction_green_up.png
btn_code_lock_touched.png (the small dot in the center, touched version)
One more thing, if you're only editing pngs, you don't need apk tool, a simple unzip with 7zip is possible.
Thanks for the modification ideas.
I am using a Htc Desire on dGB aosp rom but just to add to this thread. In the keyguard_screen_unlock_portrait.xml, I changed:
android:background="#70000000" to android:background="@drawable/patternlock_background"
Added an image called patternlock_background.png to the drawable-hdpi folder.
Made some of the images mentioned in the previous posts transparent.
And came up with this:
Obviously, I still need to edit other aspects of that screen to tidy it up.
Great work LfcFan1977! I would be really interested in seeing more wallpapers that incorporate the pattern lock into their design. There could be some pretty cool ideas by mixing a pattern lock wallpaper with custom pattern dots and lines.
Yea, I have been wanting this kind of mod ever since I got my Android.
Here's a few ideas:
Galaxy with stars/rockets/shuttles/astronauts/planets/moons.
Dot to dot of a gingerbread man.
Flowers with the honeycomb bee.
Treasure maps and pirates.
Football.
Homer Simpson and donuts.
Pacman.
Anyway, I had a bit more of a play with the xml/images and got this.
Hi,
a few month ago I investigated the size of the background image to fit the pattern dots, and after a few experiments I saw that android was doing a bit of resizing, even if the image was exactly the screen size.
What worked for me, is to make an image smaller than 800 in height (763px to be precise) and 480 in width (regular width of 1 screen). But when done editing, I stretch its height back to 800. Then, when applying within gallery ("use as..."), it stretch it back to undeformed.
I made a template in photoshop, for those who are interested, also with my actual pattern background. Still can't post urls here, so...it's hosted at mediafire.com :
Code:
/?fo04gtvp82y1xw1 (the template)
/?82txu5qxdea6usb (the background)
Wow, this thread is a great resource for customizing the lockscreen, and it's rather painless (not much APK tool messing to do, if simple unzip, rezip works, wonderfull )
This is going into my bookmarks
I wish I would have found this thread sooner. I was looking for which files to edit for the buttons but found them elsewhere. I still have one question, though. Does anyone know how to change the path color? I can't find which file it is located in. TIA.
I can only assume the colour is applied by something in the framework.jar but as my understanding of smali coding is practically none, I can not figure it out.
I was thinking that maybe re-posting all the previous information and the above question in the android themes thread may be better. I do not think any of it is device or rom specific and we may need a wider audience in order to resovle questions like the last one.
I can't find the path color in the xml or png files so it must be something in smali code. Moving to the Android themes forum is a good idea. I am going to summarize everything and repost it in that forum.
Check out the new thread here! http://forum.xda-developers.com/showthread.php?t=1330063
A little help
This line about android:background is in keyguard_screen_unlock_portrait? I think it's keyguard_screen_password_portrait

bootanimation.zip not playing on boot - easy fix

I made a custom animation for my CM7 modded Galaxy SII (AT&T).
It's here: http://www.mediafire.com/file/wxui88597m6w1le/bootanimation.zip
The zip contains the animation, with only two frames included (of the 200+), which is what I am currently testing, but it doesn't seem to work- the boot screen stays blank until it just loads the home screen.
I have tested other animations, and they work fine.
Anyone mind taking a super-duper quick peek into the zip and tell me if I perhaps mis-configured the desc.txt
I did test the animation with success using the Boot Animation Previewer 2.0 Beta (http://forum.xda-developers.com/showthread.php?t=1133703).
RESOLVED -
Seems my 24-bit images were not liked by the phone for some reason, which were batch-processed with Irfanview. I re-saved all png's using an Action in Photoshop, via Safe for Web, PNG-24, with transparency disabled. It worked that way.
Thanks.

Lock-Screen App

What lockscreen app are you using, if any?
The Glance feature is lacking so much. I want something that works well with Android Oreo's lockscreen that can read fingerprint.
I tried several, but eventually ended up removing them all. Nothing works as proper for a "Glance" feature as the build in Glance does.
I even disabled the glance feature because every theme I apply with substratum makes the glance background bright blue...
I hope somewhere soon we're able to apply changes to the build in Glance.

Huawei custom theme not showing up in app

Hello everyone
I recently made a video lock screen and exported it into a huawei theme with the hwtDesigner app. I have created the .hwt file and everything, but when I put the theme in my phone it doesn't show up in the theme app. If I put other template themes those do show up. I was wondering what is wrong with mine. Maybe someone could help out because it would seem nice to be able to use this functionality.
Thanks in advance.

Categories

Resources