Quick FXZ file mod? - Motorola Droid Bionic

Im thinking this might go in the question section but its more of a general help idea.
I was thinking of modding an FXZ file and delete the webtop.img because it takes too long to FXZ back to stock.
Is it possible or would it not pass an inspection of security.
thoughts are welcome.
plz if nothing to say then i thank you for being silent...

If I were in your position I'd feel better about the flash process if I went and created a modified .XML file to skip over webtop flashing.
Basically, you just gotta open a text editor and remove the following line:
<step operation="flash" partition="webtop" filename="grfs.img" MD5="c9502cd8fd6fa7206c64e4dae3ed9b50" />
Then when RSD Lite reads the .XML file to flash, it will completely skip over that step. If you delete grfs.img without removing the reference in the XML file, RSD Lite might crash out on you and give you a bad flash.

projektorboy said:
If I were in your position I'd feel better about the flash process if I went and created a modified .XML file to skip over webtop flashing.
Basically, you just gotta open a text editor and remove the following line:
<step operation="flash" partition="webtop" filename="grfs.img" MD5="c9502cd8fd6fa7206c64e4dae3ed9b50" />
Then when RSD Lite reads the .XML file to flash, it will completely skip over that step. If you delete grfs.img without removing the reference in the XML file, RSD Lite might crash out on you and give you a bad flash.
Click to expand...
Click to collapse
Thanks. Ill try that out.
Sent from THE most powerful smartphone in the world!

Related

[Tutorial] How to make manila 2.5 animated wallpapers

I've been making a few of these and I decided after a couple of requests that I should make a tutorial. I will try to be as thorough as possible. If I missed a step, please let me know and I will correct it. Thanks!
This tutorial will be for the Circles Animated Wallpaper. If I have time, I will add the Brush and Light Wallpapers later.
Things you will need:
1. A .png picture editor - Photoshop, Gimp, Paint.Net etc.
2. CFC_gui editor http://forum.xda-developers.com/showpost.php?p=3164600&postcount=1
3. A file explorer that will allow you to overwrite files in the Windows folder : Total Commander, Resco Explorer etc.
Step 1.
Create a folder on your Desktop PC Called Circles.
Step 2.
Open the file explorer on your phone that you will be using and go to the "Windows" folder.
Step 2a.
Locate, copy, and paste the following files to your storage card:
1f3e9503_manila
2bfd66c8_manila
2c0f7f49_manila
2c33b04b_manila
2c45c8cc_manila
2c2197ca_manila
5ad77c2b_manila
199e77cf_manila
4256a2d4_manila
42448a53_manila
423271d2_manila
Step 3.
Go to the "Windows>Animated Wallpaper" folder.
Step 3a.
Copy the file _RAW_Circle.png to your storage card
Step 4.
Copy these files to the "Circles" folder on your PC that you have created.
Step 5.
Open CFC_gui.exe
Step 6.
Select "File>Select Folder>Circles (Wherever you saved your Circles folder)
Step 7.
Select "Tools>Export to PNGs". To keep things simple, export the PNGs to the Circles folder.
Step 8.
Now open your photo editing software and begin editing your pictures.
_RAW_Circle.png is the thumbnail veiw that you will use to select your Wallpaper when you are finished.
5ad77c2b_manila is a 512x1024 image of your background
To make the next two images (199e77cf_manila and 1f3e9503_manila) you will need to start out with a 480x640 wall that you are using. These two images when combined, need to match up perfectly.
The rest are simply the circles that you can replace with any image you desire.
Be sure to replace and save all of the pngs with the same name in the circles folder.
Step 9.
Go back to CFC_gui. Select the first file in the window on the left. Hit the "Replace with" button on the lower right. Select the png from the "Circles" folder that has the corresponding name. This will overwrite the manila file with that name in the "Circles" folder. Do this with all of the files in the window on the left.
Step 10.
Now hit: Tools>Finish Up. The wizard that follows will CFC Compress, Pad, and Trim your files to optimize them for use on your device.
Step 11.
Move all of the manila files in the folder and the _Raw_Circle.png back to your storage card.
Step 12.
Copy all of the manila files in step 11 over to your Windows folder on your device. If asked to overwrite the existing files, click yes
Step 13.
Copy the file _RAW_Circle.png to the "Windows>Animated Wallpaper" folder. Again, if asked to overwrite the existing files, click yes
Now restart your device, go to Settings tab>Personalize>Home tab wallpaper>animated wallpaper and select your new wallpaper!
Big Thanks out to DavidMMorley over at PPCGeeks for this. If you want to change the WAY that the images animate, follow these instructions:
You will need m9converter http://forum.xda-developers.com/show...54&postcount=2
Convert your file to a XML using that tool (dos command line tool)
Now you can edit your XML, Notepad++ is perfect
snippet of lines 539-563
<Object Type="GLESSprite2D">
<Property Name="Center" X="8.0" Y="-8.0" Z="0.0" />
<Property Name="Position" Animated="true">
<Keyframes>
Each moving item has 5 positions it moves to during the animation time. Change the X and Y values to tell it where to go on your screen. 0,0 is top left.
<Keyframe Frame="180" X="0.0" Y="-550.0" Z="0.0" />
<Keyframe Frame="250" X="300.0" Y="-450.0" Z="0.0" />
<Keyframe Frame="479" X="0.0" Y="-380.0" Z="0.0" />
<Keyframe Frame="480" X="50.0" Y="-180.0" Z="0.0" />
<Keyframe Frame="550" X="300.0" Y="0.0" Z="0.0" />
</Keyframes>
</Property>
<Property Name="Opacity" Animated="true">
<Keyframes>
You can control the transparancy of each step also, why their is a extra one I do not know
<Keyframe Frame="220" Value="50.0" />
<Keyframe Frame="250" Value="50.0" />
<Keyframe Frame="479" Value="50.0" />
<Keyframe Frame="480" Value="50.0" />
<Keyframe Frame="520" Value="50.0" />
<Keyframe Frame="550" Value="50.0" />
</Keyframes>
</Property>
<Property Name="Texture Path" Value=".\Assets\Images\Home\WVGA\circle01.qtc" />
You can stretch your image if you want also here:
<Property Name="Size" Width="76.0" Height="76.0" />
How long do you want this particular one to last:
<Property Name="Duration" Value="956" />
</Object>
Lots of trial and error in there to play with, have some fun. I have ones that go around the screen and ones that fall upwards.
Now use the m9converter and turn back into a manila file and place in your windows directory.
Amazing tutorial...will try this sometime...thanks.
Wow............this is awesome!
ezzie said:
Wow............this is awesome!
Click to expand...
Click to collapse
Thought you would like it.
Thanks for this, i've started to make a theme...upload shortly..if it works !
Do you know what the manila files are for the _RAW_Brush and RAW_Light animations?
Awesome.
.
is it also working on 2.1 ???
rickiri69 said:
is it also working on 2.1 ???
Click to expand...
Click to collapse
These are for 2.5 only.
skilty said:
Thanks for this, i've started to make a theme...upload shortly..if it works !
Do you know what the manila files are for the _RAW_Brush and RAW_Light animations?
Click to expand...
Click to collapse
As soon as I have some free time, I'll update the tutorial to include those as well.
Is it normal that after Step 10 - Tools>Finish Up, the files atributes for the Manila files is modified to Hidden.
EDIT: forget it, solved
Thanks
cool
asset path?
I'd like to change the graphics of the icons, not just their scripted movements... but when I open the file (as well in your example portion) there is the line:
<Property Name="Texture Path" Value=".\Assets\Images\Home\WVGA\circle01.qtc" />
where the hell is this .\Assets... stuff? I really cannot find this path!
ruspa said:
I'd like to change the graphics of the icons, not just their scripted movements... but when I open the file (as well in your example portion) there is the line:
<Property Name="Texture Path" Value=".\Assets\Images\Home\WVGA\circle01.qtc" />
where the hell is this .\Assets... stuff? I really cannot find this path!
Click to expand...
Click to collapse
For the graphics part, follow the directions in the first post.
xpressyourcell said:
If you want to change the WAY that the images animate, follow these instructions:
You will need m9converter http://forum.xda-developers.com/show...54&postcount=2
Convert your file to a XML using that tool (dos command line tool)
Now you can edit your XML, Notepad++ is perfect.
Click to expand...
Click to collapse
Thanks for all this info, but can you tell me which file your referring to in the quote above? which file has the scripts in?
skilty said:
Thanks for all this info, but can you tell me which file your referring to in the quote above? which file has the scripts in?
Click to expand...
Click to collapse
Sorry, I copied his instructions from my PPCGeeks thread and forgot this post was before it...
"Nice! Also a note that 011f4a3f is a m9/xml that you can easily control the pattern and speed of each moving item if you get tired of them just falling down the same way! "
Hi xpress, can u share some of your animated-wallpaper archievements?
Hi.
A question: How can I increase the speed of the bubbles in animated wallpaper?
Thanks.!
vodanhdaisu said:
Hi xpress, can u share some of your animated-wallpaper archievements?
Click to expand...
Click to collapse
Go Here To See Examples!
I've been trying to create my own animated theme but i'm struggling to get the RAW_Circle/background image to work.
I'd created a new RAW_Circle file and put that in the windows folder and the animated wallpaper folder, I also created the two manila files 1f3,199etc and the 512 background image but when i select the new one via animated wallpapers (I can see my new image) the screen/background goes white.
I've also resized them to 480x640 dimensions (i've got a VGA device) but now i just get a plain black background?
I've also been trying to play with the scripts via m9editor. I want to make all 8 manila files (the circles) appear and replace each other in the same place. e.g the first one appears in the bottom right corner and the next one replaces it in the same position and so on. I won't need the five stages/keyframes of each animation just one, but can i just delete the other four keyframes from the script below??
<Object>Type="GLESSprite2D"
<Property> Name=Center Value="X=38 Y=-38 Z=0"
<Property> Name=Position Value="PosX=2E-05"
<Keyframes>
<Keyframe> Frame=160 Value="X=6553600 Y=-6553600 Z=0"
<Keyframe> Frame=260 Value="X=16384000 Y=-36044800 Z=0"
<Keyframe> Frame=459 Value="X=16384000 Y=-36044800 Z=0"
<Keyframe> Frame=460 Value="X=6553600 Y=-6553600 Z=0"
<Keyframe> Frame=560 Value="X=16384000 Y=-36044800 Z=0"
and would i need to change this line... <Property> Name=Position Value="PosX=2E-05"
to...
<Property> Name=Position Value="PosX=2E-01"
anyone help??
I already have this problem in cooking room...
You do copy thefiles in W/animated and windows...
I know it's strange...
Ex:
In Energy rom copy the files in W/animated
In MaesusLeo V1.9 Copy W/animated is not enough... copy to windows again

[FIX] Show status bar item press (10/28/10)

One very annoying thing about the vibrant status bar (in ALL eclair ROMs) is the lack of visual feedback from selecting a notification item. Usually when you click a notification on stock, the item will turn orange. With the vibrant, this does not happen. The "pressed" state uses the same drawable as normal for notification icons. The same is true for the clear notifications button. I find this extremely annoying.
So, I went poking around in the framework-res.apk and found a typo in a status bar layout file. I fixed it so now it works!
EDIT: Oops! I posted the wrong file. It is actually "status_bar_latest_event.xml"
Sorry about that.
Here is the typo:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="66.0sp"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:background="@drawable/quick_panel_list_stroke_01" android:layout_width="fill_parent" android:layout_height="1.0sp" />
<com.android.server.status.LatestItemView android:id="@id/content" android:background=[COLOR="Red"]"@drawable/status_bar_item_background_normal"[/COLOR] android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="65.0sp" />
</LinearLayout>
That's the whole file. The "typo" is in red. "@drawable/status_bar_item_background_normal" points to a .9.png file which is why the drawable simply stayed the same ("normal") even when you clicked it.
What the file SHOULD say is this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="66.0sp"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:background="@drawable/quick_panel_list_stroke_01" android:layout_width="fill_parent" android:layout_height="1.0sp" />
<com.android.server.status.LatestItemView android:id="@id/content" android:background=[COLOR="Red"]"@drawable/status_bar_item_background"[/COLOR] android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="65.0sp" />
</LinearLayout>
"@drawable/status_bar_item_background" points to an xml file which is a selector that tells the drawable to switch according to the view's state (pressed, selected, normal)
I've looked at several frameworks and they all have the same typo in them. After I found this, I looked at a nexus one framework and that confirmed that this is indeed the way the file should read. Whether this was intentionally done by Samsung or not, I do not know. Although I'm assuming it was a mistake.
To use:
1. Download attachment "status_bar_latest_event.xml.zip" and remove ".zip" (don't unzip)
2. MAKE A BACKUP OF YOUR FRAMEWORK-RES.APK
3. Open framework-res.apk with 7-zip or winrar or whatever (DO NOT unzip it)
4. Copy status_bar_expanded.xml to /res/layout/ and overwrite.
5. Do this:
Code:
adb shell stop
adb push /path/to/framework-res.apk /system/framework/
adb reboot
Enjoy!
I just wanted to say 1up on this... I
'd love to have this figured out.
I've noticed this as well. I'm not sure why out isn't doing it either, but I know it definitely works correctly in froyo.
I think I found it. Testing now.
EDIT: See first post.
Awesome find, adding to the directory now!
matt_stang said:
One very annoying thing about the vibrant status bar (in ALL ROMs) is the lack of visual feedback from selecting a notification item. Usually when you click a notification on stock, the item will turn orange. With the vibrant, this does not happen. The "pressed" state uses the same drawable as normal for notification icons. The same is true for the clear notifications button. I find this extremely annoying.
So, I went poking around in the framework-res.apk and found a typo in a status bar layout file. I fixed it so now it works!
To use:
1. Download attachment "status_bar_expanded.xml.zip" and remove ".zip" (don't unzip)
2. MAKE A BACKUP OF YOUR FRAMEWORK-RES.APK
3. Open framework-res.apk with 7-zip or winrar or whatever (DO NOT unzip it)
4. Copy status_bar_expanded.xml to /res/layout/ and overwrite.
5. Do this:
Code:
adb shell stop
adb push /path/to/framework-res.apk /system/framework/
adb reboot
Enjoy!
Click to expand...
Click to collapse
Hi,
Thanks for figuring this out.
Any chance of posting the typo fix in the OP?
It would make it easier for those of us running our own customized frameworks.
Mostly I'm just lazy and don't want to drop your xml into a file, decompile, diff against stock, diff against my customizations, etc., etc.
Cheers, =)
Did you ever try my ROM? You can't really say that it is missing in ALL ROMS if you haven't tried them all.
It defiantly wasn't missing in my Axura, it was just blue instead of orange
s0niqu3 said:
Hi,
Thanks for figuring this out.
Any chance of posting the typo fix in the OP?
It would make it easier for those of us running our own customized frameworks.
Mostly I'm just lazy and don't want to drop your xml into a file, decompile, diff against stock, diff against my customizations, etc., etc.
Cheers, =)
Click to expand...
Click to collapse
Yeah I'll update the first post in a second. I'm not sure if it was a typo or not but it seems like Samsung would have fixed it in the latest releases and leaks.
Master™ said:
Did you ever try my ROM? You can't really say that it is missing in ALL ROMS if you haven't tried them all.
It defiantly wasn't missing in my Axura, it was just blue instead of orange
Click to expand...
Click to collapse
Sorry! It's only the Eclair ROMs. As mentioned earlier, Froyo ROMs already have this fixed.
Thanks a lot....nice observation to find AND fix the typo
Hey good work! Will be including this in an update.
Hi again,
Quick FYI, if you want the "clear-all" button to show the pressed state, decompile twframework-res.apk and edit /res/layout/status_bar_expanded.xml
change the red highlighted text in the following to:
@drawable/quickpanel_btn_default
Code:
<Button android:textSize="14.0sp" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="[COLOR="Red"]@drawable/quick_panel_btn_default_normal[/COLOR]" android:layout_width="75.0dip" android:layout_height="wrap_content" android:layout_marginRight="6.0dip" android:text="@string/status_bar_clear_all_button" />
Then save and recompile.
Cheers everyone, =)
s0niqu3 said:
Hi again,
Quick FYI, if you want the "clear-all" button to show the pressed state, decompile twframework-res.apk and edit /res/layout/status_bar_expanded.xml
change the red highlighted text in the following to:
@drawable/quickpanel_btn_default
Code:
<Button android:textSize="14.0sp" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="[COLOR="Red"]@drawable/quick_panel_btn_default_normal[/COLOR]" android:layout_width="75.0dip" android:layout_height="wrap_content" android:layout_marginRight="6.0dip" android:text="@string/status_bar_clear_all_button" />
Then save and recompile.
Cheers everyone, =)
Click to expand...
Click to collapse
Thanks! I looked for that but didn't think to check the twframework again because the other fix was in the regular framework. I noticed in the regular framework the button code was fine but it didn't occur to me it might be in tw.
s0niqu3 said:
Hi again,
Quick FYI, if you want the "clear-all" button to show the pressed state, decompile twframework-res.apk and edit /res/layout/status_bar_expanded.xml
change the red highlighted text in the following to:
@drawable/quickpanel_btn_default
Code:
<Button android:textSize="14.0sp" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="[COLOR="Red"]@drawable/quick_panel_btn_default_normal[/COLOR]" android:layout_width="75.0dip" android:layout_height="wrap_content" android:layout_marginRight="6.0dip" android:text="@string/status_bar_clear_all_button" />
Then save and recompile.
Cheers everyone, =)
Click to expand...
Click to collapse
------------------------------
I don't get why when I make changes to the twframework-res.apk file it always breaks the system with force closes.
phone - media - email all force close
I am using bionix 1.1
APK Manager 4.9
If I make any change to twframework-res.apk it ends in FCs.
When I tried to recreate from this tutorial its a no go.
I thought originally it might be a problem when recompiling, so I copied the modified files into the apk (I use winrar) but it still FCs.
The only way for me to have this work on my phone is to install it as it.
Any ideas?
Muffin-Factory said:
------------------------------
I don't get why when I make changes to the twframework-res.apk file it always breaks the system with force closes.
phone - media - email all force close
I am using bionix 1.1
APK Manager 4.9
If I make any change to twframework-res.apk it ends in FCs.
When I tried to recreate from this tutorial its a no go.
I thought originally it might be a problem when recompiling, so I copied the modified files into the apk (I use winrar) but it still FCs.
The only way for me to have this work on my phone is to install it as it.
Any ideas?
Click to expand...
Click to collapse
Hi,
Are your wiping your cache,
Dalvik-cache and fixing permissions before rebooting?
I'd say 95% of the time that solves fc issues for me when modifying system files.
Else I have no clue, I modify twframework-res all the time without issue.
Good luck though, cheers, =)
Help
s0niqu3 said:
Hi again,
Quick FYI, if you want the "clear-all" button to show the pressed state, decompile twframework-res.apk and edit /res/layout/status_bar_expanded.xml
change the red highlighted text in the following to:
@drawable/quickpanel_btn_default
Click to expand...
Click to collapse
Do you think you could post that xml file for us who are not so good at decompiling and using adb.
s0niqu3 said:
Hi,
Are your wiping your cache,
Dalvik-cache and fixing permissions before rebooting?
I'd say 95% of the time that solves fc issues for me when modifying system files.
Else I have no clue, I modify twframework-res all the time without issue.
Good luck though, cheers, =)
Click to expand...
Click to collapse
Ok, I don't quite understand how to edit twframework-res.apk.
If you would, please, a quick run down of options I should be selecting when decompiling and recompiling.
As of right now i have found out that my recompiling is not reencoding the xml files
Muffin-Factory said:
Ok, I don't quite understand how to edit twframework-res.apk.
If you would, please, a quick run down of options I should be selecting when decompiling and recompiling.
As of right now i have found out that my recompiling is not reencoding the xml files
Click to expand...
Click to collapse
Hi,
Do you use apk manager 4.9 to decompile?
If so, a straight decompile (option 9) is all I ever do for twframework-res.apk and it works fine. Now, when recompiling, if you start from something like bionix/hybrid/etc. base, its likely that they "cheated" when they replaced .9.png files for their theme, so you'll get errors when you recompile the framework.
So, here's my process if modding an already themed framework-res/twframework-res apk:
1) decompile apk
2) make my edits, try to recompile, if it errors, then:
3) Check the log, if its an error about a .9.png then:
4) decompile stock, non-themed apk from the rom version I use (JFD or JI6)
5) copy over the entire contents of the drawable-hdpi(-v4) folder to the apk I'm editing.
6) try to re-compile, 99% of the time, this works, since it seems most rom cooks like to cheat with their .9.png edits.
optional - 7) open the newly compiled apk and the original apk with 7zip and copy over the contents of the drawable-hspi(-v4) folder from the original/themed apk to my new compiled apk
8) zipalign apk
9) push apk to /system/framework
10) adb reboot recovery
11) reinstall packages to get into clockwork recovery
12) wipe cache, advanced wipe dalvik-cache and fix permissions
13) reboot
Hope this helps, cheers, =)
Dugorf said:
Do you think you could post that xml file for us who are not so good at decompiling and using adb.
Click to expand...
Click to collapse
Hi,
I don't really want to post my xml file for 2 reasons, (mostly for reason number 1 though.)
1) I made extra edits to it for my own personalized theme, and it might cause display issues for people using anything other than my own specific theme.
2) I'm kind of tired of people using somebody else's work and not giving credit. I see a lot of my battery icons used all over the place, and very rarely do people link back to the thread, or even say thanks in their OP.
I do this purely for fun (well, and to kill boredom time since I'm unemployed currently), but I also don't like people not giving credit to original content authors.
Anyway, sorry about that, cheers, =)
s0niqu3 said:
Hi,
I don't really want to post my xml file for 2 reasons, (mostly for reason number 1 though.)
1) I made extra edits to it for my own personalized theme, and it might cause display issues for people using anything other than my own specific theme.
2) I'm kind of tired of people using somebody else's work and not giving credit. I see a lot of my battery icons used all over the place, and very rarely do people link back to the thread, or even say thanks in their OP.
I do this purely for fun (well, and to kill boredom time since I'm unemployed currently), but I also don't like people not giving credit to original content authors.
Anyway, sorry about that, cheers, =)
Click to expand...
Click to collapse
That is totally understandable. Thank you for the detailed instructions. I am just getting into making my own themes (starting just for me). I have used your battery mod for awhile and love it. I'm looking forwards to learning how to make that kind of thing myself.
Thanks again.
Can you make a MM zip or flashable zip? I don't know exactly how to do this in Fusion 1.2 I don't want to mess anything up, last time I tried it was a fail. I kept getting FCs.

[Q] Boot loop after apk update

So I think I've done everything I should have. I've made some changes to framework-res.apk and twframework-res.apk. I've resigned the packages. Included them in my ROM and when I flash on first load I get an infinite boot loop. What else could be going wrong here.
X10D3 said:
So I think I've done everything I should have. I've made some changes to framework-res.apk and twframework-res.apk. I've resigned the packages. Included them in my ROM and when I flash on first load I get an infinite boot loop. What else could be going wrong here.
Click to expand...
Click to collapse
You should never sign system apk's, what you do is extract the contents out, modify, then import the contents back into the apk. Never, ever, re-compile or re-sign system apk's.
ok. When you say import and export from APK are you talking about changing the extension to zip, extracting, then repacking into a zip, and then changing the extension back to apk?
X10D3 said:
ok. When you say import and export from APK are you talking about changing the extension to zip, extracting, then repacking into a zip, and then changing the extension back to apk?
Click to expand...
Click to collapse
Nope.
Download 7-zip (www.7-zip.org).
Right-click the apk> 7-zip > Open Archive.
Drag out the files you want to edit. Images are pretty easy, xml has to be converted in order for you to edit.
After you're done modifying, Drag the files back into the archive. Then just close the window, you're done.
Thanks for the help.
ryude said:
Nope.
Download 7-zip (www.7-zip.org).
Right-click the apk> 7-zip > Open Archive.
Drag out the files you want to edit. Images are pretty easy, xml has to be converted in order for you to edit.
After you're done modifying, Drag the files back into the archive. Then just close the window, you're done.
Click to expand...
Click to collapse
Ditto, this method works perfectly. I use WinRAR to the same effect.
Have you ever had any issues with framework-res.apk not looking like it's being updated when it reaches your phone? IDK if I have some sort of cache issue that's placing the unmodified version back in the zip when I save the changes or what but it seems like the file isn't being updated..
NM. I nailed it down to the modem causing the boot loop.

[TUTORIAL]Boot Animation Sound

MAKE A BACKUP!!! I am in no way responsible for anything you do to your phone!
I thought I'd do a write up on how you can add, remove, or change your ROOTED Thunderbolt animation sound. You have to do some of your own poking around to locate the files needed for your specific rom. There are many people that don't want to do this cause they are afraid they will screw something up. You can safely do this on your PC. Create a folder and extract your rom into that folder. Navigate to system/customize/cid where you extracted your rom. Locate the default.xml file and right click and to open with notepad. Now, scroll to the bottom and look for something that resembles the following.
<BootAnimation animation="/system/customize/resource/VZW_bootanimation.zip" audio="/system/customize/resource/Verizon_Thunderbolt_3sec.mp3" audiostart="VZW" />
Click to expand...
Click to collapse
OR this...
-
<BootAnimation animation="/system/media/bootanimation.zip" audio="/system/media/FinalThunder.mp3" audiostart="VZW" />
Click to expand...
Click to collapse
OR maybe even this...
-
<BootAnimation animation="/system/customize/resource/bootanimation.zip" audio="/data/local/bootsound.wav" />
Click to expand...
Click to collapse
You are looking for the name of the boot animation and sound. Write down the location and exact spelling paying attention to capitalization. Now go back to your extracted rom and look for your boot animation in the path that you wrote down. Open the zip and look at the folders contained inside. This will vary. Some animations have part0 and part1, while others might have just android. This will be needed for the start up boot animation and/or the down boot animation sounds.
***If you're running Synergy Rom yours will most likely look like the last one above.*** I've always edited the "audio="/data/local/bootsound.wav" />" string to match that of the boot animation. Just makes it easier in the long run. Modifying the xml file is easy to do on your phone with a web editing app from the market and never have to touch a PC. However, I prefer to do it with the PC because it is much easier to read, and edit.
To simplify things a bit I’m going to post some pics with the corrected strings so that you can copy and paste to your own XML file.
Synergy’s Stock XML
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Notice there is no string for the down boot animation audio. We will be adding that next as well as changing the location and identity of the boot sounds. Overwrite by copying and pasting the following into your XML starting directly below <BootConfiguration> and stopping after </ShutdownConfiguration>
<BootAnimation animation="/system/customize/resource/bootanimation.zip" audio="/system/customize/resource/FinalThunder.mp3" audiostart="android" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/customize/resource/downanimation.zip" audio="/system/customize/resource/DownSound.mp3" audiostart="android" image="" fps="15" />
</ShutdownConfiguration>
Click to expand...
Click to collapse
Synergy’s Stock XML should now look like this.
Once your XML file matches the above, you are now ready to save and close out of notepad. Transfer the edited default.xml file to your phones sd card. Using Root Explorer (mount R/W) copy the transfered file to system/customize/cid. Before you paste the edited XML file, rename your existing file by putting .old on the end for a backup. Paste the edited file. Give the default.xml proper permissions and ownership. Long press on the XML file and select "Permissions". Make it look like below and select ok.
X X
X
X
Now long press on the file again and select "Change Owner". Make it look like below.
Owner - Root
Group - Root
Time for your mp3 file! Your start up mp3 can be as long as you want but keep in mind that it will keep playing (mine are around 30 seconds). In contrast, your shutdown mp3 should be no longer than 4 to 5 seconds. Name your start up mp3 FinalThunder.mp3. Name your shutdown mp3 DownSound.mp3. Place your properly named mp3’s on the sd card and with root explorer (mounted R/W). Copy and paste the two mp3 files to system/customize/resources. Give them proper permissions and ownership as shown above.
Reboot and enjoy!
See Post 2 for Th3ory V6.02 and Bamf. The directions are exactly the same.
I'd like to give THANKS to McLabia for testing things out for me and also giving me some "constructive" criticism!
If this helped you at all, hit the Thanks!
hinds73
Th3ory 6.02 AND Bamf Stock XML (Previous versions differ)
Overwrite by copying and pasting the following into your XML starting directly below <BootConfiguration> and stopping after </ShutdownConfiguration>
<BootAnimation animation="/system/media/bootanimation.zip" audio="/system/media/FinalThunder.mp3" audiostart="part0" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/media/downanimation.zip"audio="/system/customize/resource/DownSound.mp3" audiostart="android" image="" fps="15" />
</ShutdownConfiguration>
Th3ory 6.02 AND Bamf Stock XML should now look like this.
Follow the bottom of post 1.
Th3oryRom INFUS3TH3ORY V1.0B (Open like above and copy/paste)
<BootAnimation animation="/system/customize/resource/VZW_bootanimation.zip" audio="/system/customize/resource/FinalThunder.mp3" audiostart="part0" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/customize/resource/downanimation.zip" audio="/system/customize/resource/DownSound.mp3" audiostart="android" image="" fps="15" />
Click to expand...
Click to collapse
I have attached what I am currently using for Th3ory Rom. Enjoy!
Edit:Added Th3oryRom INFUS3TH3ORY New build V1.08
Reserved for issues and resolutions...
HA! I didnt expect this to be this long. It didnt read like it was this long. Hopefully people do this though, cause I know I dig the hell outta mine. Thanks again for the help and for writing this dude.
McLabia said:
HA! I didnt expect this to be this long. It didnt read like it was this long. Hopefully people do this though, cause I know I dig the hell outta mine. Thanks again for the help and for writing this dude.
Click to expand...
Click to collapse
I know right!!! Geez, now that it's up I'm like damn!
Not a problem! Thanks for your help too!
hinds73 said:
MAKE A BACKUP!!! I am in no way responsible for anything you do to your phone!
I thought I'd do a write up on how you can add, remove, or change your ROOTED Thunderbolt animation sound. You have to do some of your own poking around to locate the files needed for your specific rom. There are many people that don't want to do this cause they are afraid they will screw something up. You can safely do this on your PC. Create a folder and extract your rom into that folder. Navigate to system/customize/cid where you extracted your rom. Locate the default.xml file and right click and to open with notepad. Now, scroll to the bottom and look for something that resembles the following.
OR this...
OR maybe even this...
You are looking for the name of the boot animation and sound. Write down the location and exact spelling paying attention to capitalization. Now go back to your extracted rom and look for your boot animation in the path that you wrote down. Open the zip and look at the folders contained inside. This will vary. Some animations have part0 and part1, while others might have just android. This will be needed for the start up boot animation and/or the down boot animation sounds.
***If you're running Synergy Rom yours will most likely look like the last one above.*** I've always edited the "audio="/data/local/bootsound.wav" />" string to match that of the boot animation. Just makes it easier in the long run. Modifying the xml file is easy to do on your phone with a web editing app from the market and never have to touch a PC. However, I prefer to do it with the PC because it is much easier to read, and edit.
To simplify things a bit I’m going to post some pics with the corrected strings so that you can copy and paste to your own XML file.
Synergy’s Stock XML
Notice there is no string for the down boot animation audio. We will be adding that next as well as changing the location and identity of the boot sounds. Overwrite by copying and pasting the following into your XML starting directly below <BootConfiguration> and stopping after </ShutdownConfiguration>
Synergy’s Stock XML should now look like this.
Once your XML file matches the above, you are now ready to save and close out of notepad. Transfer the edited default.xml file to your phones sd card. Using Root Explorer (mount R/W) copy the transfered file to system/customize/cid. Before you paste the edited XML file, rename your existing file by putting .old on the end for a backup. Paste the edited file. Give the default.xml proper permissions and ownership. Long press on the XML file and select "Permissions". Make it look like below and select ok.
X X
X
X
Now long press on the file again and select "Change Owner". Make it look like below.
Owner - Root
Group - Root
Time for your mp3 file! Your start up mp3 can be as long as you want but keep in mind that it will keep playing (mine are around 30 seconds). In contrast, your shutdown mp3 should be no longer than 4 to 5 seconds. Name your start up mp3 FinalThunder.mp3. Name your shutdown mp3 DownSound.mp3. Place your properly named mp3’s on the sd card and with root explorer (mounted R/W). Copy and paste the two mp3 files to system/customize/resources. Give them proper permissions and ownership as shown above.
Reboot and enjoy!
See Post 2 for Th3ory V6.02 and Bamf. The directions are exactly the same.
I'd like to give THANKS to McLabia for testing things out for me and also giving me some "constructive" criticism!
If this helped you at all, hit the Thanks!
hinds73
Click to expand...
Click to collapse
Thanx for this...
Just a little tip for those that are wondering how to trim the boot sound, if you download Ringdroid( https://market.android.com/details?id=com.ringdroid&hl=en ), you can chop and rename the files as needed. Just a shortcut for anyone that doesnt want or know how to use audio editing software.
my question to you, how do you use more then 1 mp3 at a time? For example it plays 1 first, and then goes to the other?
so for example
<BootAnimation animation="/system/media/bootanimation.zip" audio="/system/media/scream.mp3" audiostart="part1" audio="/system/media/android_audio.mp3" audiostart="part2" />
I tried this and only android_audio.mp3 started - it skipped/did not play scream.mp3
edit: also how do you make a song loop until animation is finished, or play a song a second time?
Wicked123 said:
my question to you, how do you use more then 1 mp3 at a time? For example it plays 1 first, and then goes to the other?
so for example
<BootAnimation animation="/system/media/bootanimation.zip" audio="/system/media/scream.mp3" audiostart="part1" audio="/system/media/android_audio.mp3" audiostart="part2" />
I tried this and only android_audio.mp3 started - it skipped/did not play scream.mp3
edit: also how do you make a song loop until animation is finished, or play a song a second time?
Click to expand...
Click to collapse
Hey Wicked, I use audacity for all my mp3 trimming. Especially if I want to merge 2, 3, 4 or more clips into one. You can do all kind of things with it. To answer your question, I'm not so sure that can be done. The easiest way would be to time your boot animation from start to finish and then make your clip to suit. If you want, you can upload your mp3s that you want and give me the order you want them in and exactly how long. Also let me know which "part" you want to have them start.
hinds73
PMGRANDS said:
Thanx for this...
Click to expand...
Click to collapse
Welcome, let me know if you hit any snags? With as many updates that come out, zips and xmls seem to get changed regularly.
hinds73
This helped me fix my boot sound
hinds73 said:
Th3ory 6.02 AND Bamf Stock XML (Previous versions differ)
Overwrite by copying and pasting the following into your XML starting directly below <BootConfiguration> and stopping after </ShutdownConfiguration>
<BootAnimation animation="/system/media/bootanimation.zip" audio="/system/media/FinalThunder.mp3" audiostart="part0" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/media/downanimation.zip"audio="/system/customize/resource/DownSound.mp3" audiostart="android" image="" fps="15" />
</ShutdownConfiguration>
Th3ory 6.02 AND Bamf Stock XML should now look like this.
Follow the bottom of post 1.
Th3oryRom INFUS3TH3ORY V1.0B (Open like above and copy/paste)
I have attached what I am currently using for Th3ory Rom. Enjoy!
Edit:Added Th3oryRom INFUS3TH3ORY New build V1.08
Click to expand...
Click to collapse
Your tutorial on the XML was great, helped me figure out how to fix boot sound on my EVO with Synergy. +1 Thanks button hit
Bumping cause I recommended it to someone... Lol.
Sent from my rooted, Dark Horse INFECTED Synergy bolt running Ziggys latest.
is the default.xml not in an aosp rom? I have searched everywhere in shiftao5p v1.2 but cannot find one.
bigd5783 said:
is the default.xml not in an aosp rom? I have searched everywhere in shiftao5p v1.2 but cannot find one.
Click to expand...
Click to collapse
You may be looking for something like this to make it work.
http://forum.xda-developers.com/showthread.php?t=1048231
Let me know if it works for you?
hinds73

[Q] Slap My Moto/SBF Help

I am running a Verizon Moto X on KK right now, I believe I have all my files in the correct places to use adb/fastboot for the steps that require pushing files or flashing something. In the xml. file I need to delete a line with "getvar" in it. Checking that the correct line to delete is this:
<step var="max-download-size" operation="getvar"/>
Also its been 2-3 years since I had to use RSD lite, Will I put the phone into bootloader mode, then click the dots to find the file needed? Which I believe is the xml file?
For things like this I like to be overly careful
GandalfTehGray said:
I am running a Verizon Moto X on KK right now, I believe I have all my files in the correct places to use adb/fastboot for the steps that require pushing files or flashing something. In the xml. file I need to delete a line with "getvar" in it. Checking that the correct line to delete is this:
<step var="max-download-size" operation="getvar"/>
Also its been 2-3 years since I had to use RSD lite, Will I put the phone into bootloader mode, then click the dots to find the file needed? Which I believe is the xml file?
For things like this I like to be overly careful
Click to expand...
Click to collapse
Yes that is correct, if you receive a gpt.bin failure , you can't flash that firmware package, its a safety
Sent on my Moto X
flashallthetime said:
Yes that is correct, if you receive a gpt.bin failure , you can't flash that firmware package, its a safety
Sent on my Moto X
Click to expand...
Click to collapse
Ok, gonna give it a shot in the morning.
3 Solutions for tethering I'll also need to try.
http://forum.xda-developers.com/showthread.php?t=2443562
http://forum.xda-developers.com/showthread.php?t=2536166
http://forum.xda-developers.com/showthread.php?t=2449534
What kind of program do I need to open the xml file to edit it? All I can open it with right now is IE and I can't edit that way.
Nvm got it.
Ok trying to do the SBF, when I click start it throws back this error: "failed flashing process. Failed Flashing Process. Unknown fastboot command.
Again nvm, updated RSD.

Categories

Resources