I used the UOT kitchen to cook up some changes and the only one not working is the bootanimation. I searched in my phone and found the ATT_bootanimation.zip in the system/resources/customize folder. I also found a bootanimation.zip in the same folder. I renamed the ATT one by adding a .bak to the file name then rebooted. Now it shows a different bootanimation, but not the one I made in UOT. Just a simple "Android" word. Where is my dancing droid how do I make it the default bootanimation?
duckredbeard said:
I used the UOT kitchen to cook up some changes and the only one not working is the bootanimation. I searched in my phone and found the ATT_bootanimation.zip in the system/resources/customize folder. I also found a bootanimation.zip in the same folder. I renamed the ATT one by adding a .bak to the file name then rebooted. Now it shows a different bootanimation, but not the one I made in UOT. Just a simple "Android" word. Where is my dancing droid how do I make it the default bootanimation?
Click to expand...
Click to collapse
your new animation needs to be labeled ATT_bootanimation.zip, just like the old one was. the system looks for that specific name for the boot animation.
Thanks! That did it.
You can't know your limits until you exceed them.
Pirateghost said:
your new animation needs to be labeled ATT_bootanimation.zip, just like the old one was. the system looks for that specific name for the boot animation.
Click to expand...
Click to collapse
Just so happens I was looking for this answer. Since most HTC ROMs run them from /data/local is there a way to change the location to that?
I saw a reference to editing bootanimation in /system/bin but I'm not sure how to decode that file.
Jirv311 said:
Just so happens I was looking for this answer. Since most HTC ROMs run them from /data/local is there a way to change the location to that?
I saw a reference to editing bootanimation in /system/bin but I'm not sure how to decode that file.
Click to expand...
Click to collapse
/system/customize/CID/default.xml
This is what i have configured for RumRaider:
Code:
<BootConfiguration>
<BootAnimation animation="/data/local/bootanimation.zip" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/data/local/downanimation.zip" image="" fps="15" />
</ShutdownConfiguration>
Pirateghost said:
/system/customize/CID/default.xml
This is what i have configured for RumRaider:
Code:
<BootConfiguration>
<BootAnimation animation="/data/local/bootanimation.zip" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/data/local/downanimation.zip" image="" fps="15" />
</ShutdownConfiguration>
Click to expand...
Click to collapse
You sir, are my hero.
Related
The issue: Using Metamorph I'm unable to apply a theme I've made. It says it's successful (or at least I think it does) and then asks if I want to reboot. I click yes, it reboots, and nothing changes when the phone is back on.
I've created a folder structure called BananaPie, and in that first folder there's an .xml (BananaPie.xml) and a folder named framework-res. In the latter things are arranged as follows: res/drawable-mdpi/stat_sys_batteryXX
Using 7-zip I put the framework-res and BananaPie.xml in a zip-folder called BananaPie.zip.
As of now it looks like this: BananaPie.zip/framework-res/res/drawable-mdpi/stat_sys_batteryXX as well as the BananaPie.zip/BananaPie.xml.
If it's confusing I could add screenshots.
Anyway here's what the BananaPie.xml looks like:
Code:
<?xml version="1.0"?>
<themename>asdas</themename>
<themeversion>asdas</themeversion>
<screenshot></screenshot>
<author>asdasd</author>
<authorweblink>asdas</authorweblink>
<phone>asdas</phone>
<rom>asd</rom>
<themedescription>adb</themedescription>
<item>framework-res.apk</item>
<path>system/framework/</path>
<description>Here goes nothing!</description>
I'd be thankful if anyone could spot a simple mistake, or if it's a common problem and they know a work-around. Whichever is true
Thanks in advance.
be sure that you are going to replace mdpi folder with mdpi, and not hdpi. if so, you have to change your metamorph to hdpi.
(open your framework-res and you will see).
P4p3r1n0 said:
be sure that you are going to replace mdpi folder with mdpi, and not hdpi. if so, you have to change your metamorph to hdpi.
(open your framework-res and you will see).
Click to expand...
Click to collapse
I'm not entirely sure what you mean, but this is made for Hero which, AFAIK, has MDPI, so if I'm not wrong I got that part right, right?
I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR DEVICE BY FLASHING THIS MOD. !THIS MOD IS ONLY FOR MIUI GB ROM!
FOR ALL OF YOU WHO WANT ONLY PATTERN DOTS, HERE IS FLASHABLE ZIP FOR CM7.2, NO NEED TO MOUNT SYSTEM
AS SOON AS CM9 GET STABLE ENOUGH FOR DAILY USE, I'LL TRY TO MAKE IT WORK ON IT
Hi, I made something for You! Now You can have anything in place of Your mobile carrier name on status bar! happy? ;d And also, now You can use pattern lockscreen, because I replaced those big black ugly circles with something much more subtle ;p screenshot's and flashable zip in attachments.
TODO:
I will make this tutorial n00b friendly as soon as possible, so no one will get confused I'm also planning to expand this thread with other modifications like center clock, carrier logo for cm7, and others...
MIUI & CM7 STATUSBAR CARRIER LOGO GUIDE
I assume that You are familiar with ADB and ApkTool
1. pull and decompile SystemUI.apk
2. go to .../res/layout and open status_bar.xml
3. remove this line:
Code:
<com.android.systemui.statusbar.CarrierLabel
4. find start of this line:
Code:
<com.android.systemui.statusbar.IconMerger
5. now You have to put this right above the line mentioned above:
Code:
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:id="@id/carrier" android:background="@drawable/carrier_logo" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
6. You can save and exit now
7. now open .../res/values/ids.xml
8. check if this line is present:
Code:
<item type="id" name="carrier">false</item>
if yes, move it to bottom, right before closing tag. if no, paste it there
9. save and compile SystemUI
10. go to .../build/apk/res/layout and drag status_bar.xml to SystemUI.apk (opened in other window)
11. do the same with ids.xml (that way You won't have to sign apk)
12. put image of Your choice in res/drawable_xdpi (it must be named "carrier_logo.png", put any letter corresponding to Your resolution instead of x, for example ldpi)
13. push SystemUI.apk and reboot, and You've almost done!
14. now You just install Carrier_Name_1.2.apk from here, open it, put space in textfield and press ok, then reboot and that's it!
for CM7 skip step 3, and edit line in point 5 to Your needs (android:layout_width="wrap_content")
*edit* best way to add carrier logo to cm7, is to resize your logo to 20px in height, and put proper number in "layout_width" and "layout_heigth" eg. if your logo is 20px in height and let's say 34px in width, it will be layout_width="34pix" and layout_height="20pix" (depends on your phones resolution, this one is for ldpi)
!note - if You can't compile it back, make sure that all files referred to in xml are present in folders (eg. carrier_logo.png)
to use Your own image as carrier logo:
-open SystemUI.apk from my flash with winzip, or any other similar program of Your choice
-go to /res/drawable-hdpi and replace carrier_logo.png with any image of Your choice ;p
Bugs: image stretches when signal is null (emergency calls only)
*reserved*
For future use
Can you make it for CM7? Between NAIZ!!!
Sent from my GT-S5570 using xda premium
bookmarking....
ensoy said:
Can you make it for CM7? Between NAIZ!!!
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Yeah, I will try to make it for cm7
Where to find pattern unlock files?
Sent from my GT-S5570 using xda premium
ensoy said:
Where to find pattern unlock files?
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
framework-res.apk/res/drawable-xdpi but I don't remember file names
Hi..
Can you make an ICS Style/MIUI 4 style settings? that would be great if you can Thanks in advance
Hmm, why there is still operator text on my status bar ? I just want carrier logo without carrier label text
Sorry for my bad English
ichambi said:
Hi..
Can you make an ICS Style/MIUI 4 style settings? that would be great if you can Thanks in advance
Hmm, why there is still operator text on my status bar ? I just want carrier logo without carrier label text
Sorry for my bad English
Click to expand...
Click to collapse
Use this app to remove your carrier name.
www.mediafire.com/download.php?0zg8wuc24xu7e3h
nishanty13 said:
Use this app to remove your carrier name.
www.mediafire.com/download.php?0zg8wuc24xu7e3h
Click to expand...
Click to collapse
Don't know why but my carrier label name still on my status bar.. I've changed it to blank ..
ooh it just happen when i scroll down status bar.. Anyone can help me?
ill be monitoring this thread
also OP it would be nice if you could write what files should be edited to make this, i know most people would appreciate it because of different miui patchroms and devices because it doesnt work properly on all devices i guess, i know mine got a bit messed up with both carrier logo and stretched picture under it
good work tho, thumbs up
edit: nvm OP, i decompiled your SystemUI and fixed it for my rom, looks nice now, thanks
Give Up .......
I give up. Been trying since morning to get carrier logo but in the end I got this.
No matter what logo I use I get this logo. I even tried editing my systemUI.apk manually and replacing it. Used the zip the OP attached but still get this logo. I wonder why.:banghead::banghead::banghead:
nishanty13 said:
I give up. Been trying since morning to get carrier logo but in the end I got this.
View attachment 1025490
No matter what logo I use I get this logo. I even tried editing my systemUI.apk manually and replacing it. Used the zip the OP attached but still get this logo. I wonder why.:banghead::banghead::banghead:
Click to expand...
Click to collapse
If its miui change theme to default, some themes have built-in logo. To edit theme, open mtz with winzip, and find systemui, then open it and change it there
I will post full step by step guide today evening
On mine, I can't delete/or change the default Carrier label name.. No matter how I tried to change it with Carriername.apk..
kitrax59 said:
On mine, I can't delete/or change the default Carrier label name.. No matter how I tried to change it with Carriername.apk..
Click to expand...
Click to collapse
Try changing it with eri.xml in /system/data I hope it helps
i had to edit xml to make it work and look good, the measures were a little off but managed to fix them for my phone
attaching image with default theme
yackovsky said:
Try changing it with eri.xml in /system/data I hope it helps
Click to expand...
Click to collapse
Can't find that xml buddy..
yackovsky said:
If its miui change theme to default, some themes have built-in logo. To edit theme, open mtz with winzip, and find systemui, then open it and change it there
Click to expand...
Click to collapse
Lol, I forgot.
Edit: I figured out how to successfully edit framework-res for HTC Sense 3.6. I google'd the problem and found quite a bit of people having trouble with framework-res for Sense 3.6, so I figured I'd post a little guide on how to do it.
1. Download APK-Multitool and extract it to your C:/ directory.
2. Run the "Setup" batch file and use option 3.
3. Copy "Framework-res.apk" to the "Other" and "place-apk-here-for-modding" folders inside your APKMultitool folder.
4. Your going to need to run the "Setup" batch file again if you closed the terminal window. Choose option 2 which installs the framework.
5. Run the "Script" batch file and choose option 10 "Decompile apk with dependencies"
6. Locate the com.htc.resources.apk inside the same folder you took framework-res.apk. Drag com.htc.resources.apk onto the terminal window, this will automatically enter the path for your dependency and install it so you can de/recompile framework-res.
7. Do whatever you need to do with framework-res.
8. Choose option 11 "Compile system apk" and follow the prompts.
That's it, you should be able to successfully de/recompile framework-res using that method.
I don't know enough about your environment or Java to be much help, but check what version jdk is recommended. You might get a better response in general forums.
Nonverbose said:
I don't know enough about your environment or Java to be much help, but check what version jdk is recommended. You might get a better response in general forums.
Click to expand...
Click to collapse
I'm using the latest JDK which is version 7 (or update 7) and I'm running Windows 7 64 bit. I'm using a command prompt window for apktool, but I also have cygwin which also works with apktool. Every question I post in chef central or general Q&A gets ignored, which is why I thought I'd ask here where people know me.
Anything else you need to know?
Edit: Also how do I recompile framework-res from Sense 3.6? I can decompile just fine, but I've tried multiple programs (apktool, apkmulti-tool, and Virtuous ten studio) and none of them can recompile framework-res. I only changed a line in bools.xml.
ZaySk said:
I'm using the latest JDK which is version 7 (or update 7) and I'm running Windows 7 64 bit. I'm using a command prompt window for apktool, but I also have cygwin which also works with apktool. Every question I post in chef central or general Q&A gets ignored, which is why I thought I'd ask here where people know me.
Anything else you need to know?
Edit: Also how do I recompile framework-res from Sense 3.6? I can decompile just fine, but I've tried multiple programs (apktool, apkmulti-tool, and Virtuous ten studio) and none of them can recompile framework-res. I only changed a line in bools.xml.
Click to expand...
Click to collapse
Have you tried decompiling and recompiling with no changes? It could be a problem with your setup?
Nonverbose said:
Have you tried decompiling and recompiling with no changes? It could be a problem with your setup?
Click to expand...
Click to collapse
Hmm I'll give that a try. I know I tried that not long ago with android.policy, and it worked. I figured out the problem with android.policy, now I'm stuck on trying to recompile framework-res. I remember reading somewhere that certain proprietary ROM .apk's have dependencies on other ROM .apk's. I'm trying to re/decompile framework-res by itself, could that be the problem? If so which .apk do I need to use?
Appreciate you're help, thanks.
Have you read any of fernando sor's tutorials? He seems to have it sorted http://forum.xda-developers.com/showthread.php?t=1601511
Nonverbose said:
Have you read any of fernando sor's tutorials? He seems to have it sorted http://forum.xda-developers.com/showthread.php?t=1601511
Click to expand...
Click to collapse
Thank you! I had been searching for a thread like that since last night. Hopefully I'll be able to get things sorted out
ZaySk said:
Thank you! I had been searching for a thread like that since last night. Hopefully I'll be able to get things sorted out
Click to expand...
Click to collapse
No problem. Keep us updated.
Nonverbose said:
No problem. Keep us updated.
Click to expand...
Click to collapse
Ok, one more question and it's a pretty noob question. I can't for the life of me, find layout.xml! I even did an in-folder search for layout.xml and didn't find it. Is it not in framework-res for Sense 3.6? If so, what's the equivalent file? Or since I can't find the file, does that mean it's been depracated and I can skip that step? Sorry, I just want to be sure.
Edit: What about raws.xml? Is that also no longer in Sense 3.6 either?
I'm stuck at this part in the thread you linked to me -
go to res/values layout.xml
change this
Code:
<layout name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</layout>
<layout name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</layout>
<layout name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</layout>
<layout name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</layout>
<layout name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</layout>
<layout name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</layout>
<layout name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</layout>
<layout name="pin_keyboard">@layout/zzzz_pin_keyboard</layout>
to this
Code:
<item type="layout" name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</item>
<item type="layout" name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</item>
<item type="layout" name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</item>
<item type="layout" name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</item>
<item type="layout" name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</item>
<item type="layout" name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</item>
<item type="layout" name="pin_keyboard">@layout/zzzz_pin_keyboard</item>
res/values layout.xml?
Nonverbose said:
res/values layout.xml?
Click to expand...
Click to collapse
It's not there.
Edit: Figured it out, thanks for your help Nonverbose.
ZaySk said:
It's not there.
Edit: Figured it out, thanks for your help Nonverbose.
Click to expand...
Click to collapse
Lol, help? I just realized that my answer was the almost the same as your question. Where did you find it?
Nonverbose said:
Lol, help? I just realized that my answer was the almost the same as your question. Where did you find it?
Click to expand...
Click to collapse
Lol, yea that post wasn't what helped me, it was you're previous posts. I used APKMulti-tool to decompile with com.htc.resources as a dependency and made my changes, then it FINALLY recompiled properly!
[Using Android 4.3.1 (CM10.2) on a Galaxy Nexus]
I'm attempting to replace the stock gradient background of the settings menu. I was able to get it to show all black instead of the gradient but I can't seem to get it to show a PNG image.
This is what is found in the /res/drawable/background_holo_dark.xml file
Original gradient:
Code:
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#ff000000"
android:endColor="#ff272d33" android:angle="270.0" />
</shape>
Black background:
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/black" />
</shape>
Attempt at using a PNG image (image placed in /drawable-nodpi/background_holo_dark.png) courtesy of this thread
Code:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/background_holo_dark" />
Using the above code to use an image as the background causes settings to force close. When I open Root Browser (which uses background_holo_dark.xml) it says something along the lines of "size of image too large".
Anyone know why the code fails? 4.2.x only required you to delete the .xml file and add the .png file to nodpi which doesn't work for 4.3.x. Prior to 4.2.x all you had to do was replace the .png file.
I've looked everywhere and it seems every time someone asks something similar the thread ends without any solution.. looks like this isn't any different. Tried countless different things with no luck
Bump... still having no luck.
DonDizzurp said:
Bump... still having no luck.
Click to expand...
Click to collapse
Im pretty sure it resides in framework-res.apk/res/drawable-nodpi/ the current background is in there so editing/replacing it should work!(note- the file might be in systemUI.apk/res/drawable-nodpi) im not too sure
ricky310711 said:
Im pretty sure it resides in framework-res.apk/res/drawable-nodpi/ the current background is in there so editing/replacing it should work!(note- the file might be in systemUI.apk/res/drawable-nodpi) im not too sure
Click to expand...
Click to collapse
Thanks but ever since android 4.2.x the PNG in /nodpi was removed and an XML file in /drawable is used for the gradient. My question is what code is required in this XML file in order to use a PNG instead of the gradient
Sent from my Galaxy Nexus using Tapatalk
DonDizzurp said:
Thanks but ever since android 4.2.x the PNG in /nodpi was removed and an XML file in /drawable is used for the gradient. My question is what code is required in this XML file in order to use a PNG instead of the gradient
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
really? im using 4.3 tw rom(My rom(smartdroid)) and i can still see the png file?
send your files and ill see what i can do!
FINALLY!!
If anyone else is stuck, follow the steps here: http://forum.xda-developers.com/showthread.php?p=49811369
Read my post in that thread as well if you get stuck.
Here's a short refresher course on apktool http://forum.xda-developers.com/showthread.php?t=1752201
if anyone have original Bootanimation and down animation from HTC ONE M8 Sprint, can you upload here? i have taken from stock ROM, but when i replace on My M8 Harman Kardon Device nothing happen... im using Viper ROM v1.60
i replace to /system/customize/resource
here the zip i take from Stock ROM, but i've tried on my Harman Kardon, seems not working
monyozt said:
if anyone have original Bootanimation and down animation from HTC ONE M8 Sprint, can you upload here? i have taken from stock ROM, but when i replace on My M8 Harman Kardon Device nothing happen... im using Viper ROM v1.60
i replace to /system/customize/resource
here the zip i take from Stock ROM, but i've tried on my Harman Kardon, seems not working
Click to expand...
Click to collapse
the name of the zip must match what is in /system/customize/CID
ie...
Code:
<BootConfiguration>
<BootAnimation animation="/system/customize/resource/spcs_startup_animation.zip" audio="/system/customize/resource/HTC_Sense5_Boot.mp3" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/customize/resource/spcs_shutdown_animation.zip" image="" fps="10" />
</ShutdownConfiguration>
O.M.J said:
the name of the zip must match what is in /system/customize/CID
ie...
Code:
<BootConfiguration>
<BootAnimation animation="/system/customize/resource/spcs_startup_animation.zip" audio="/system/customize/resource/HTC_Sense5_Boot.mp3" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/customize/resource/spcs_shutdown_animation.zip" image="" fps="10" />
</ShutdownConfiguration>
Click to expand...
Click to collapse
viper rom original bootanimation and down animation is stored on /system/customize/resource and the name was boootanimation.zip and downanimation.zip. i try to change manually or via viper tweaks. seems not working. i dpnt know whats wrong
After you move the files to the correct folder and rename them, you have to set permissions to rw-r--r-- using ROM toolbox or similar program. Should look like attached image when permissions are set correctly.
Sent from my HTC One_M8 using XDA Free mobile app
bimmerbot said:
After you move the files to the correct folder and rename them, you have to set permissions to rw-r--r-- using ROM toolbox or similar program. Should look like attached image when permissions are set correctly.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
i did.. still not working
There is a text file you have to edit also. Go to the Matrix Bootanimation thread and read up on it. There is a Text file somewhere in SYSTEM/RESOURCE that you have to change.
SantinoInc said:
There is a text file you have to edit also. Go to the Matrix Bootanimation thread and read up on it. There is a Text file somewhere in SYSTEM/RESOURCE that you have to change.
Click to expand...
Click to collapse
system/resource/CID/default.xml is that what your thinking of
The zip i upload here was taken from stock harman kardon.. But still not working