Tried to make things smaller and I changed lcd density (from 240 dpi to 213 dpi) on my OB (running IZS v0.4) and i need to remove/strech shadow image on lockscreen. It looks bad after DPI change.
After i search a little ... i found a way to remove that overlay image from lockscreen.
1. Copy this file "Lockscreen3.apk" from \system\app to sdcard then download to your computer;
2. Open file with 7zip navigate to folder \res\drawable-hdpi\ and replace lockscreen_gradation_bg.png & lockscreen_gradation_bg_h.png with files from lockscreen_gradation_bg.zip (see attachments);
3. Replace Lockscreen3.apk in \system\app and set permissions to -rw-r--r-- (this is very important!!!)
Voila .... now you have your lockscreen without that overlay.
OR you can use this modified Lockscreen3.apk and skip step 1 & 2.
Related
i´m trying to change the settings.apk icon.....
so
1) i rename the apk to .zip
2) open the archive
3) replace the original with another .png
4) save the new archive
now comes the strange part,
after saving my archive, i only got half the size of the original archive but it contains exactly the same files (4,4 mb <--> 2 mb)
i did the same way when i changed all folder icons in the arc launcher and it worked without any trouble
--------------
and is there a way to have two icons for the same app?
for example:
settings in app drawer ---> white icon
settings in widget menu ---> black icon
or does android automatically use the same icons for both?
still didn´t solve this problem ;(
tried via root manager and using 7zip under windows....filesize stayed the same but didn´t work.
and when i changed the icon, i couldn´t open the widget menu or go to options --> settings
oh boy....
try this :
1.) do all your customizing with this apk ...
2.) copy AndroidManifest.xml & META-INF (folder) from original settings.apk to your new settings.apk
3.) put in update.zip to flash in CWM, or push to system/app manually, check if permissions are ok (rw-r-r)
this worked for me theming framework-res.apk from FR18b2 ...
without copying AndroidManifest.xml & META-INF (folder) from old to new file, i always had bootloop ...
if it´s still not working, you can try and
1.) decompile with apkmanager or apktool
2.) do your customizing
3.) compile apk
4.) copy AndroidManifest.xml & META-INF (folder) from original settings.apk to your new settings.apk
5.) flash
tried your first hint but it didn´t work......
so, when i try to open the widgets i get this message:
sony ericsson home (process com.sonyericsson.home) gets force closed
maybe it has something to do with that?
i deleted lglauncher.apk and launcher2.apk and replaced it with a modified arc launcher as main launcher
---------------
im thankful for your advises but i have ZERO knowledge and experience in stuff like adb, apktool, scripts and stuff...
i can handle illustrator or photoshop
if it´s not working, i think i have to let my idea go.....
This works on any Rooted Android device. I tried to make the guide easy for those who don't know much. Please backup before attempting this mod.
REQUIREMENTS:
1. ROOT
2. Install root browser on the device: https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree
3. Install Android Multitool the computer: http://www.mediafire.com/download/7px0d9i51cv5boc/AndroidMultitool_3.3.zip
TUTORIAL:
1. Use root browser and copy /system/framework/framework-res.apk to /sdcard
2. Save framework-res.apk from /sdcard to AndroidMultiTool Files folder in your computer
2. Now we need to Decompile the apk with AndroidMultiTool. Run AndroidMultiTool.exe
3. Under Decompling, select the framework-res.apk file and click decompile. Decompiled files will show up in Decompiled_apk folder
4. go to the folder Decompiled_apk/framework-res/res/values/
5. Open dimens.xml with notepad
6. change values for:
<dimen name="navigation_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_height_landscape">48.0dip</dimen>
<dimen name="navigation_bar_width">42.0dip</dimen>
Use 25 for all dip values to match status bar; or use a bigger number for all three values to make them bigger. Then save.
7. Now we need to Compile the apk with AndroidMultiTool. Under Compiling, select the folder /decomplied_apk/framework-res and click OK. Then click compile. After it's done, you can close Android Multitool
8. Go to the original framework-res.apk in the Files folder and rename it to framework-res.zip
9. Open framework-res.zip and copy AndroidManifest.xml and META-INF folder to your desktop.
10. Go to compiled_apk/framework-res folder
11. Rename framework-res.apk to framework-res.apk.zip
12. Copy and replace AndroidManifest.xml and META-INF folder from your desktop in the framework-res.apk.zip
13. Rename framework-res.zip back to framework-res.apk
14. Copy framework-res.apk into your device /sdcard.
15. Then use root browers to copy and replace framework-res.apk into /system/framework
16. Your device will reboot by itself with the new smaller soft keys
REFERENCES AND THANKS TO:
Flextrick : http://forum.xda-developers.com/nexus-4/themes-apps/mod-customize-navigationbar-height-t2306742
Flextrick : http://forum.xda-developers.com/showthread.php?t=2326604
Charles Chow : http://chromloop.com/2013/07/how-to...on-bar-in-cyanogenmodcm10-1-on-nexus-4-guide/
there's also a way to enable the softkeys http://forum.xda-developers.com/galaxy-s3/themes-apps/mod-how-to-enable-soft-keys-t1960460.
the question is, after I enable the softkeys to my SGNote 3 would your instructions above work?
Update:
I tried your process, upon decompiling, the tool said that the .apk file is not found or is not readable -,-'
its not working.
Under framework-res folder no sub folder res creating, and in android multi tool log showing 7 errors relating with java. please get back to me.
Doesn't work for me
I try 3 times, always stuck on boot screen.
Not working, followed each steps with detailed.
Phone stuck in bootloop..
---------- Post added at 12:06 PM ---------- Previous post was at 12:03 PM ----------
barrugo said:
I try 3 times, always stuck on boot screen.
Click to expand...
Click to collapse
Sad
I've got a problem: This tool can't decompile framework-res.apk, says it can't find it! How do I resolve this?
Hi all !
Today, I'll show you how to resize Android .9.png (NinePatch PNG) file.
Little Information :
-------------------------
NinePatch PNG (.9.png) is a complex PNG which have resolution scaling ability. NinePatch PNG basically a PNG, but with a black 1 pixel borders around it, these borders are used to resize the PNG, so removing these borders will remove the resolution scaling and making them normal PNG.
So, don't resize the border, don't remove the border, or you'll lose the NinePatch PNG and turning it to normal PNG.
Requirements :
-----------------------
1.) Java JRE [Windows, Mac] / OpenJDK [Supported Linux distros]
2.) A .9.png file or a full framework containing .9.png file
Let's Start !
Steps :
-----------------------
Windows User :
1.) Installing Java JRE
1.) Download Java JRE (if you don't have one) > Here
2.) Install the .exe
3.) Restart your browser
2.) Download 9-patch-resizer
1.) Click Here
3.) Running 9-patch-resizer
1.) Open CMD window, this can be done by pressing [Windows Key + R], then type cmd.exe
2.) Navigate to 9-patch-resizer folder, navigating can be done by typing :
Code:
cd %directory%
Example
cd C:\Program Files
3.) On 9-patch-resizer folder, type :
Code:
java -jar Resizer_1.3.1.jar
4.) Resizing the .9.png
1.) Find a .9.png file, if you already have, skip this step
2.) Select your input density, this input density is the density of .9.png, press the button below the 'Input Density' text.
3.) Select your output density, output density is the screen size / density of your phone. Check your density and make the other density unchecked.
4.) Drag then drop the .9.png in 9-patch-resizer window (at the huge, arrow icon)
5.) Your resized image is located at drawable-yourdensity (example : drawable-hdpi)
-----------------
Linux User :
1.) Installing OpenJDK
1.) Find openjdk package in your package manager, or search on Google.
2.) Download 9-patch-resizer
1.) Click Here
3.) Installing 9-patch-resizer
1.) Download the 9patch-resizer_depencies_all.zip from attachment
2.) Run your file manager as root
3.) Navigate to downloaded 9patch-resizer_depencies_all.zip, open it
4.) Extract the zip file in /usr/local/bin
5.) Put the Resizer_1.3.1.jar in the same folder (/usr/local/bin)
4.) Running 9-patch-resizer
1.) Simply type "resizer" (without quotes) on terminal emulator
5.) Resizing the .9.png
1.) Find a .9.png file, if you already have, skip this step
2.) Select your input density, this input density is the density of .9.png, press the button below the 'Input Density' text.
3.) Select your output density, output density is the screen size / density of your phone. Check your density and make the other density unchecked.
4.) Drag then drop the .9.png in 9-patch-resizer window (at the huge, arrow icon)
5.) Your resized image is located at drawable-yourdensity (example : drawable-hdpi)
--------------------
Mac User > Soon, no tutorial available now ^_^
--------------------
[EXTRA-TUTORIAL] Knowing your density :
-----------------------------------
1.) Download the com.MTMDevelopers.ScreenSpecs apk from attachment (app courtesy of MTM Developers, LLC)
2.) Open it on your phone
3.) You'll see three text, Screen Resolution, Scale and Pixel / Inch.
4.) Focus on the Pixel / Inch text, find out your density by comparing with this :
Code:
120 / larger = LDPI
160 / larger = MDPI
240 / larger = HDPI
320 / larger = XHDPI
480 = XXHDPI
Enjoy ! Happy Resizing !
Placeholder
Another placeholder
Hello People,
Today i am going to show you how to extract bootanimation.zip from apk. So lets begin,
You would want to apply custom boot animation like the CM theme engine but as the animations in cyanogenmod are in apk format, you cannnot apply them on other Roms. But now don't worry now i have got a way to apply them to non-cyanogenmod devices.
Requirements :
Boot animation apk. I will use the one given below.
File explorer (I would use Es file explorer)
Steps :
Navigate to the downloaded apk and long press it.
Under the 3 dot menu select extract to and extract the apk.*
Now you will find the bootanimatio.zip file in assets folder.*
Now*go to the root folder and navigate through system>media.**Once there locate your current bootanimation.zip file
Long-press your current bootanimation.zip file, and click copy, as we'll want to have a backup just in case. Paste it wherever convenient for you OR simply change the extension from .zip to .bak
Once your new bootanimation.zip has been selected for moving, navigate back to system > media and paste it there. You'll have to overwrite your current animation zip, but that's fine since you have a backup in case something goes wrong. Go for it.
For many of you, the previous step will be the last step. But, if for any reason you're still stuck with you old animation, you can try aligning the permissions of your newly-copied bootanimation.zip file with the permissions in the system/media folder. In our case, those were rw-r-r. Just long-press your new bootanimation.zip file and click Permissions and change them until they fit. The logic behind these abbreviations goes like this: Owner - Group - Other. Read for 'r', Write for 'w', and Execute for 'x'. Save the changes and restart...
Done, Show this awesome boot animation to your friends.*
Note :
You are choosing to make these modifications, and dont point the finger at me for messing up your device.
Watchdogs bootanimation download :
Mega - http://goo.gl/KGMS9i
Drive - http://goo.gl/FfvY8a
Hit the thanks button if you found this helpful :good:
If you have ever wanted to use a custom font on your phone and have tried to change the font using iFont you will know the resulting theme file generated by iFont doesn't work. Fortunately, there is a simple fix.
1. Use iFont to create a theme file containing your desired custom font.
2. This theme file is stored under /storage/Huawei/Themes and will have a name similar to "iFont-123456789.hwt".
3. Copy this file to your PC, and change the file extention to .zip.
4. Using 7-Zip or similar extract the fonts folder and open it.
5. You will see the folder contains two font files one called "Roboto-Regular" and the other called "Roboto-Bold".
6. Both of these files contain a copy of your desired font.
7. Change the name of one of these files to "DroidSansChinese".
8. Replace the fonts folder in your zip file with your newly modified fonts folder.
9. It's important that your modified fonts folder contains two font files (each with a different name) and the "pic_font_default" file.
10. Change the zip file extension back to "hwt" and copy it back to your phone replacing the original.
You can then apply the font by changing the text style using your phones Themes app.