Make a .ttf emoji font file. - Android Q&A, Help & Troubleshooting

I have acquired all the .svg files and now trying to develop a working .ttf emoji font file for my magisk modules . How can I do thism

kawaii.beans said:
I have acquired all the .svg files and now trying to develop a working .ttf emoji font file for my magisk modules . How can I do thism
Click to expand...
Click to collapse
I don't know if you still need help with this or whether you found a solution, yet, but there is this tool that you can use to compile and extract emoji files. Unfortunately the tutorial page for the applet doesn't exist anymore, but it shouldn't be too difficult to figure out how the program works.
https://mitchtalmadge.com/project/emoji-tools/

Just search "svg to ttf" in google.
You will find plenty of tutorials and videos.

Related

[Q]Edit strings.xml in APK files. Need help!

I looked everywhere tried every program from APK Edit, APK Tool, APK Manager, Eclipse and a few others, I cannot figure out how to edit the Strings.xml in APK files.
APK Edit and APK Tool / APK Manager just gives me issues when i try to edit the strings, when i finally get them changed over and push to the phone it doesn't install the .apk, tried this on two different devices with no change.
I'm making theme files but i require to edit the strings value so the names are different, and i'm using an OEM file as my base file.
When I edit the .apk with my themed graphics and go to install it, it always wants to overwrite the original, but i've found that others have been able to just rename the strings value to another name so it wouldn't replace it.
What i'm trying to do is not replace original skins in HTC sense 2.x. Since there installable they can be installed multiple times if there values are changed in strings.xml, allowing for massive customization options.
I need the developers community to show me how to do this, i've tried on my own and i've failed each time, and i also tried contacting the themers that have done this on there own but they refuse to help me.
I have a bunch of skins i'm working on but i can't render my skins and theme the apk files until i can do this
You guys are my last bit of help i can find.

[Q] apk decompiled, recompiled, signed won't install

Hello,
I'm trying to hack an apk.
My first step was to use apk multi tool, and to just decompile and recompile it.
This is what i've done:
decompiling
recompiling (without any mod)
signing
No error appears during those steps.
But this new apk won't install on my phone !
If I check difference between the two apk:
all xml files are differents
.RSA and .SF have not the same name
classes.dex, resources.arsc and manifest.mf are differents
I don't understand those difference. can somebody help me to understand that and how to recomile a proper version ?
PS: This app is a french app that shows speed cameras on the road. However this app is now only showing a big zone and not the exact location for france. But it stills show precise location for other countries, so obfuscation is done at the apk level, and I already found where it is in the code, so i'd like to bypass it and recompile a "special' version
Thanx
Just a few quick questions. Is you phone set to install from sources than Droid market? You do know the newly compiled and signed project will be located in the "place_package _here_ for_Modding" folder and is named "Signed(yourappnamehere).apk?
Sent from my SAMSUNG-SGH-I727 using xda premium
Hi,
yes, i took the newly compiled apk in this directory, and yes my phone is set accept unknown sources.
When i install the apk, i first have the
- liste of phones serviesc that will be used
- then the install progress bar
- then the message "application not installed"
I guess there is some kind of protection in the sources...
I also noticed that the two apk - original, and resigned one - don't have same size.
The only difference is actually in the META-INF directory : the .RSA and the .SF files.
In the original application they are:
- IFOX_.RSA
- IFOX_.SF
But when recompiling, those files are:
- CERT.RSA
- CERT.SF
I'm shure the problem comes from here, but i'm too noob to analyse that...
So my proble can be sum-up by:
Why the recompilation doesn not give me the same RSA and SF file ??
Beware there are some modifications that you cant do on decs, expecially the packagename.
also beware to disable the "non-market" tag on the phone.
Yes, but for the moment i didn't make any modification:
Just decompiling, recompiling and resigning.
Maybe you want to tell that the apk name must stay the same ? (sorry my english is not perfect )
GOT IT WORKED !!!
You must first uninstall the previous application !
I was trying to install my new one over the old one, but the signatures are not the same !!!
Thanx everybody, and hope this will help somebody !
APK edit error 103
Ok im having a similar issue.
I know the file size is mismatched but ive never had this issue
as a test i only modded 1 thing but 4 files
changed a link in an html / changed an image and its name and the html included the link to the new name
when this failed i changed the manifest and the .sf to match the change i made with name but not the sha :"no clue here"
Tried...
APK multi tool ... and 7zip to make the mods
Tried... Bothsigned and unsigned.
Tried copying the sig from old apk to new with names corrected "notsha" fail still
Tried....
Origional APK installs no issue
Uninstall orig apk rebooted
Allow out side apps yes and no.both
using file manager explorer and root browser and es file manager
Copying directly to /system/app fail
copying to data/data/app/copy fail " yes it wont even copy to there"
Tried.. Multiple phones
I then tried a hex editor on the apk. And after changes install still fail.
I modded several other apk's even my framework but this is the first app that ha given me so many issues
This is an app to help elderly users access internet and the devs are AWOL and the project abandoned
Code:
https drive google com/folderview?id=0B5PggxVy7c8meDhrcjNJOGs5cFk&usp=sharing
Code:
www eldy eu/en/software/eldy-tablet/‎
"edited for posting "
The goal here is to make it more U.S. friendly its English base is geared to English UK and this does not help my family as we are in the U.S.
All i can get from logcat is error 103
Logcat shows package it.vegans.eldy has no certificate at entry AndroidManifest.xml ignoring
Knstallation error code 103
I tried apk multitool certify thing
i tried copying the certs from old to new apk
i tried modding the cert to correct names
So maybe im mentally challenged but i just cant figure this one out
---
Edit .
I attached a zip with original and modified apk's
All i want to do is simple html edits xml link edits and img changes since mostly the app is a series of pages.

Replacing icons in apk

Hi
sorry if for expert devs this is a basic question
I have been looking around but I did not found this explained
HOW TO CHANG THE ICON ASSOCIATED WITH AN APK ????
I know how to open a apk with 7 zip and that I have to change the png file there
but which file ?????
do I need to change just the file associated with the icons or all the others ?
I mean .... inside (for example) mm.apk I found the icons related to contacts.apk to email.apk etc ... do I need to chenge all of them with the new ones ?
decompile and recompile
Decompile the app with apktool and go into the res folder and find the icon u want to replace ,,change it and recompile with apktool.Lastly sign the app and you are good to go
I have never tried change icons but i tried to change the background images for dialer and system menu. I used the same method mentioned above by opening the apk using 7zip and changing the images files with my custom images and rename them exactly the same as old ones.
Then I used CWM to flash the zip which contains the modified apk (i.e. contacts.apk and framework-res.apk)
However, I would recommend that you backup your ROM before flashing the modified zip file just in case something wrong happens.
Good Luck
I remember that there is a tool much faster than apktool ti decompile recompile but ... I have not been on the forum for long and I lost it
Is it also possible to change only theicon by using vrtheme ? if yes can someone explain how ?
Thanks
Give this thread a whirl...should be very useful
Basic theming guide by Dully79
Darkside Agent said:
Give this thread a whirl...should be very useful
Basic theming guide by Dully79
Click to expand...
Click to collapse
All very interesting I am sure I will use it at some point
I installed Java SDK and APKtool ... I remembered what they are for ... but still ...
the only thing I needed to know was if I need to change all the images in res or only that associated to the icon.....
ads7112 said:
All very interesting I am sure I will use it at some point
I installed Java SDK and APKtool ... I remembered what they are for ... but still ...
the only thing I needed to know was if I need to change all the images in res or only that associated to the icon.....
Click to expand...
Click to collapse
fine, whatever, ignore my post
Please .. do not missunderstand me !!!
Your help is very much apreciated
I knew approximately what to do to modify the theme also if in general I preferred kitchen uot
Instead I was hoping in a simple change of icon afetr decompressing/decompiling the apk but apparently it is not so simple ...never mind

Modify LG theme font apk to load your own font

As you may know, you can install a third party font via LG smart world. But the fonts on there are too cutesy and not what I like.
I found an apk (no root required) that, once installed, adds a font you can select as system font in Settings>Display>Font
https://wsdeveloper.net/index.php/portfolio-item/sjsecret/
Tested working on LG V40 running pie.
I tried to disassemble the apk with apkstudio and rebuild it with my own font replacing the default font.ttf in the assets folder. It installs but no font shows up. If someone who knows their way around this stuff can figure out how to get it to work, I'd greatly appreciate their help.
(Note: I'm just trying to do this for my own use, I'm not trying to steal this person's work and/or distribute it as my own.)
Have you found a way?
Ht3tzN4ing said:
Have you found a way?
Click to expand...
Click to collapse
There's a proper method now. Here's the guide:
- https://m.cafe.naver.com/ca-fe/web/cafes/optimuslteuser/articles/838504?useCafeId=false
There's also a Telegram group called "LG UI Fonts" with a bunch of pre-made font APK's using this.

How do I move files to /system root? There is an error "this folder is read only"

Hi, I'm using pixel experience android 11. I wanted to change the custom font so I was replacing /system/fonts/Roboto-Regular.ttf with my ttf file.
I faced an error 'This folder is read-only" How do I fix it? If not, is there any other way to change fonts?
mnkh4nt said:
Hi, I'm using pixel experience android 11. I wanted to change the custom font so I was replacing /system/fonts/Roboto-Regular.ttf with my ttf file.
I faced an error 'This folder is read-only" How do I fix it? If not, is there any other way to change fonts?
Click to expand...
Click to collapse
You have to be rooted with magisk and use a magisk module.
Tulsadiver said:
You have to be rooted with magisk and use a magisk module.
Click to expand...
Click to collapse
The phone is rooted already, but I couldn't find the font changer module anywhere.
The post from xda is missing the download link, and it's nowhere on Google either. Can you help?
mnkh4nt said:
The phone is rooted already, but I couldn't find the font changer module anywhere.
The post from xda is missing the download link, and it's nowhere on Google either. Can you help?
Click to expand...
Click to collapse
Put the fonts you want in the CFI folder in this zip and flash in magisk app.
Try this script. It makes system, vendor and product partitions read write on Android 10 and newer.
https://forum.xda-developers.com/t/script-mount-system-as-read-write-android-10.4240703/

Categories

Resources