[Q] [Mod][Theme] Add new icons to LGHome theme Bunnyfairy - G2 Q&A, Help & Troubleshooting

Hi everyone.
First, thank the developer that remake Bunnyfairy theme for G2!
I love the theme so much I want to add more icons. After able to de-compile the .apk using apktool I modified "appfilter.xml" and add a line:
<item component="ComponentInfo{com.estrongs.android.pop/com.estrongs.android.pop.view.FileExplorerActivity}" drawable="lg_launcher_ic_filemanager" />
...and hope that will makes ES File Explorer changes its icon but after build and install new apk (already uninstalled old one) and apply the theme nothing changed... Other icons and style work just fine but ES icon doesn't change
I believe that the name of the app (com.estrongs.android.pop) and the main activity (com.estrongs.android.pop.view.FileExplorerActivity) are all correct, what more must I do to make it work?
Please help, thank a bunch!
PS: the icon used above already exists I haven't added new one yet.

NVM I solved the problem by adding new line into theme_resources.xml

Now I'm facing another issue... if I change ES File explorer icon size to 2x2 it looks blur. Each icon have its large version, and another icons are displayed correctly using their large image when size changed to 2x2 but not my addition icon. I am searching in the decoded source and haven't yet found any clue...
Please help, thanks!

Related

REQUESTING HELP Editing and creating NEW flipfont APKs

I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK

REQUESTING HELP Editing and creating NEW flipfont APKs

I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
You only can use .ttf (true type font) any other type will not work,if you have a font u want to use but is not in .ttf then you need to convert it to .ttf, btw i prefer the Type Fresh app to manage and change my fonts is easier than the method you described.
Also, make sure the font has a full latin library. I learned the hard way from the TypeFresh app (which is a way better solution IMO). In its instructions which I only read the second time, one font (i believe its called DroidSansFallback.ttf) needs to have a COMPLETE set, including latin, I believe for certain coding going on somewhere. I bricked my phone within two hours of rooting it. Took three to get it back. (Backup people!)
Anyways, now I use TypeFresh, it gives you options on which system font to replace, and I never replace that one.
Hope this helps.

[APP] Mms.apk Contact Box Fix for CodeROM

I patched a copy of the Mms.apk to remove the green bars behind the contact photo.
Tested with CodeROM NexusAce and CodeROMv2, should work CodeROMv1.
Note:
Skins feature is disabled.
Instructions:
1. Download the modified Mms.apk (Attached file)
2. Make a backup of your old Mms.apk in /system/app (Use Root Explorer).
3. Mount /system/app as R/W
3. Copy the modified Mms.apk to /system/app
4. Set the permissions to ---rwxr-x
5. Chane the file owner and group to 0 - root
6. Reboot
7. Hit the Thanks button if it worked
Update:
- Smaller file size.
Maybe i can help or give you an idea:
1. The Skin Option in menu is activated via the preferences.xml included in the MMS.apk file (you can copy from XXKPE, and try to install the MMS.apk, however whatever skin you select it does not change) which i think you need to do the next part.
2. The actual implementation of the skin is under the coding of classes.dex, which i dont know how to decompile.
thanks, it works
i will be waiting for the update for the skins
worked for me!
Thanks a lot!
vertcam9 said:
2. The actual implementation of the skin is under the coding of classes.dex, which i dont know how to decompile.
Click to expand...
Click to collapse
thanks for this, can't get past this one though...
I found out that there must have been a miss declaration of an image res file in the class.dex or in the Mms.apk's before compiling. Its calling progressbar_indeterminate4.png instead of quickcontact_badge_small_unpressed.9.png or quickcontact_badge_unpressed.9.png from the /system/framework/framework-res.apk file.
Updated the first post.
- Smaller file size.
- Still no support for skins [May not be updated to support this feature. Sorry]
help!!
after reboot message icon in now inside menu and gone in the launcher, however the green thing is gone.
now there are only 3 icons in launcher ( keypad, contacts, menu )
update:
thanks i got fixed it myself, btw it is working but no skins.
mikko3024 said:
Updated the first post.
- Smaller file size.
- Still no support for skins [May not be updated to support this feature. Sorry]
Click to expand...
Click to collapse
Mikko3024, how did you get by the problem? was it via the XML files?
vertcam9 said:
Mikko3024, how did you get by the problem? was it via the XML files?
Click to expand...
Click to collapse
The problem is in the classes.dex of the apk.
I copied a properly working classes.dex from another version of the Mms.apk and patched the res files to match the appearance of CodeROM's Mms.apk. But the new classes.dex either does not support the skin features or there is something in conflict.
As mentioned by vertcam9, preferences.xml activates the skin selection in the settings part of the app, but does not apply any changes whatever skin is selected. Proper classes.dex is necessary.

Remove the ugly icon backgrouns

(credit to karvindi from this thread)
http://en.miui.com/thread-134403-1-1.html
Download this file;
http://en.miui.com/forum.php?mod=at...zNzM1fDE0ODM3MjcwMzJ8MjIyNzg2NjE5NnwxMzQ0MDM=
*requires root
Extra the rar and copy the icon file to the sd card
copy the icon file to /system/media/theme
edit the permissions to be rw-r--r--
copy that file to /system/media/theme/default (overwrite the old file, you may want to make a backup of the old file first)
apply the default theme again
Thanks!
Hello,
I'm sad to reactivate this old thread but I'm searching for a resolution for exactly this issue. On my new Mi MIX 2 (running with MIUI 8.5) it's the same ugly style.
So I replaced the attached file with the original version. The white background is gone away, but the icon for "Clock" and "Mi Account", too. Only the app label is still visible.
Is there a way to remove the ugly background and keep the icons for these two apps?
PS: Maybe this thread should removed to a better place, if there exists one for device unspecific MIUI questions
Best regards
Dan
It removed the icon for Calendar in MIUI 9.6.2.0.
Here I've prepared the file "icons" from MIUI9 with some alternations:
folder "res" comes from MIUI8, it doesn't give transparent background but sort of adaptive colour depending on the icon itself, i always liked it in MIUI8 that way
removed folders:
animating_icons\com.whatsapp
animating_icons\com.facebook.orca
as they still gave white background for Whatsapp and FB Messanger
- drawback: google play store doesn't have white background now, folder needed with icons with white background would be:
animating_icons\com.android.vending
download link: https://www55.zippyshare.com/v/4uWe9Hp2/file.html
apply as described above by loudog3114
it is also easy to reedit the file from loudog3114 with transparent background and add the missing icon for calendar from my file but i'm not interested, as stated before i like the "adaptive" background for icons from MIUI8

[FONT] CyanogenMod Hexolibre font for any device

This is the official CyanogenMod's theme Hexolibre font. I have extracted all the font files from the Hexolibre app itself and put all of them in a *non flashable* zip.
I tested this on my phone (VS985 running Resurrection Remix 7.1.1 v5.8.1). I saw that the colon on the lock screen and the Dollar icon ($) on keyboard is appearing as a question mark (?). Other than that, everything is working great. All the special symbols, exponential numbers, fractions etc are working too.
_INSTRUCTIONS:_
1) Take a backup of all the files which are starting with 'Roboto' such as 'Roboto-Italic'.
2) Download the zip file and extract all the *.ttf files to /system/font.
3) Set permissions to rw-r-r (644).
4) Reboot and enjoy! \(^O^)/
How to fix the semi colon? Any ideas?
abefaxe said:
How to fix the semi colon? Any ideas?
Click to expand...
Click to collapse
I am not a developer. I just pulled the original files from CM 13 ROM, renamed and put them all in a zip file. I have no idea how to fix it. Sorry
Sorry to necro, but for anyone still looking to do this I fixed it with a font editor. The colon in the clock is in Roboto-Light.ttf, so you can patch 0xEE01 with another colon yourself for any font, or if you are trying to specifically get that awesome Hexolibre font (aka Lato, my favorite system font) just use the attached already-fixed Hexolibre fonts. If you have already replaced them all and just want to fix the lock screen colon, you just need to replace the Roboto-Light.ttf file. Enjoy!

Categories

Resources