Hey guys,
Maybe you've noticed that CM10 Preview's bootanimation is exactly the same as in CM9, since updating it is obviously not a top priority, so, I quickly modded it with some jollybean for anyone who cares to change it. All I did was overlay the official JellyBean jar mascot image over the old number "9" in most frames, and then zipped it right back up.
Download #1 for ClockWorkMod & TWRP flashable version is here: CWM-cm9_720x1280_bootanimation_jboverlay.zip. This CWM version also installs to /data/local/bootanimation.zip instead of overwriting /system/media/bootanimation.zip
Download #2 for manual install is here: cm9_720x1280_bootanimation_jboverlay.zip. Install it manually by simply renaming it or copying it as bootanimation.zip and then placing it @ /data/local/bootanimation.zip (it will take priority over the default /system/media/bootanimation.zip)
Preview frame:
{
"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"
}
How I did it (with the maaaagggggical power of linux & ImageMagick scripting):
Code:
$ adb pull /system/media/bootanimation.zip
$ unzip bootanimation.zip -d cm9_bootanimation_jboverlay
$ cd cm9_bootanimation_jboverlay/part0
$ for i in CM9_720x1280_08[1-9].jpg CM9_720x1280_09*; do convert $i ../../jb-new-logo1b.png -gravity southeast -composite $i; done
$ cd ../part1
$ for i in *; do convert $i ../../jb-new-logo1b.png -gravity southeast -composite $i; done
$ cd ..
$ zip -r0 ../cm9_720x1280_bootanimation_jboverlay.zip .
$ cd ..
$ adb push cm9_720x1280_bootanimation_jboverlay.zip /data/local/bootanimation.zip
$ adb reboot
Note: : This won't work for stock TouchWiz. Boot animations "just work" on AOSP ROMS (CM, AOKP, etc), but Touchwiz requires extra prodding to support custom bootanimations. In summary, for Touchwhiz, you have to first backup /system/bin/samsungani (to .bak), then copy /system/bin/bootanimation on top of the old /system/bin/samsungani, and then it'll work, ALMOST. You also have to remember to mod every single bootanimation you want to use on TouchWiz in order to disable infinite looping on its last part# sequence, otherwise you'll never be able to finish booting your phone, because samsung's stupid bootanimation binary won't break out of the loop when it's ready to show the lockscreen. (A more detailed touchwiz howto is here)
Added a ClockWorkMod flashable version to the original post to make it easier to flash in CWM right after updating the ROM...
Very nice. And thanks for showing how you did it with ImageMagick. That will come in handy.
Sent from my SAMSUNG-SGH-I747 using xda premium
Jirv311 said:
Very nice. And thanks for showing how you did it with ImageMagick. That will come in handy.
Click to expand...
Click to collapse
NP. Good to know there's more people out there aware of the ImageMagick swiss army knife. (Photoshop? what's that for? )
thank you for this even though I am not using this I needed this zip file to put my boot animation in
justin860 said:
thank you for this even though I am not using this I needed this zip file to put my boot animation in
Click to expand...
Click to collapse
Yeah that's what we all do - build off someone elses older CWM zip & scripts.
It still baffles me that there's no official GO TO source for official CWM templates or even official edify scripting docs (google results almost always lead back to XDA posts )
zmore said:
Hey guys,
Maybe you've noticed that CM10 Preview's bootanimation is exactly the same as in CM9, since updating it is obviously not a top priority, so, I quickly modded it with some jollybean for anyone who cares to change it. All I did was overlay the official JellyBean jar mascot image over the old number "9" in most frames, and then zipped it right back up.
Download #1 for ClockWorkMod & TWRP flashable version is here: CWM-cm9_720x1280_bootanimation_jboverlay.zip. This CWM version also installs to /data/local/bootanimation.zip instead of overwriting /system/media/bootanimation.zip
Download #2 for manual install is here: cm9_720x1280_bootanimation_jboverlay.zip. Install it manually by simply renaming it or copying it as bootanimation.zip and then placing it @ /data/local/bootanimation.zip (it will take priority over the default /system/media/bootanimation.zip)
Preview frame:
How I did it (with the maaaagggggical power of linux & ImageMagick scripting):
Code:
$ adb pull /system/media/bootanimation.zip
$ unzip bootanimation.zip -d cm9_bootanimation_jboverlay
$ cd cm9_bootanimation_jboverlay/part0
$ for i in CM9_720x1280_08[1-9].jpg CM9_720x1280_09*; do convert $i ../../jb-new-logo1b.png -gravity southeast -composite $i; done
$ cd ../part1
$ for i in *; do convert $i ../../jb-new-logo1b.png -gravity southeast -composite $i; done
$ cd ..
$ zip -r0 ../cm9_720x1280_bootanimation_jboverlay.zip .
$ cd ..
$ adb push cm9_720x1280_bootanimation_jboverlay.zip /data/local/bootanimation.zip
$ adb reboot
Click to expand...
Click to collapse
Tried installing on stock rooted rom there is no bootanimation.zip and manul move doesnt work
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
ak789 said:
Tried installing on stock rooted rom there is no bootanimation.zip and manul move doesnt work
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Yeah, sorry, custom bootanimations won't work on a rooted Touchwiz ROM until you backup /system/bin/samsungani (to .bak), and then copy /system/bin/bootanimation as /system/bin/samsungani. Also, even after you switch, bootanimations on Touchwhiz look crappier for some reason, as-if only 32-colors are being shown, so there's a ton of banding.
Here's an old post where I fully detail how to do this (before I switched to CM).
edit: updated the OP, but... I haven't also provided a modded version of this bootanimation that'll work with touchwhiz, so heed the warning, and only use it if you mod yourself to remove the infinite loop.
zmore said:
Yeah, sorry, custom bootanimations won't work on a rooted Touchwiz ROM until you backup /system/bin/samsungani (to .bak), and then copy /system/bin/bootanimation as /system/bin/samsungani. Also, even after you switch, bootanimations on Touchwhiz look crappier for some reason, as-if only 32-colors are being shown, so there's a ton of banding.
Here's an old post where I fully detail how to do this (before I switched to CM).
edit: updated the OP, but... I haven't also provided a modded version of this bootanimation that'll work with touchwhiz, so heed the warning, and only use it if you mod yourself to remove the infinite loop.
Click to expand...
Click to collapse
i was able to install it following the link but still looks like infinte loop was seen and mod was the only thing i see on screen but when i put the phone in landscape mode somehow it went away and i was able to access my icons again....some crazy stuff hihi
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
ak789 said:
i was able to install it following the link but still looks like infinte loop was seen and mod was the only thing i see on screen but when i put the phone in landscape mode somehow it went away and i was able to access my icons again....some crazy stuff hihi
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Wait, what? Rotating the phone to landscape mode breaks out of the infinite bootanimation on Touchwiz?
zmore said:
Yeah, sorry, custom bootanimations won't work on a rooted Touchwiz ROM until you backup /system/bin/samsungani (to .bak), and then copy /system/bin/bootanimation as /system/bin/samsungani. Also, even after you switch, bootanimations on Touchwhiz look crappier for some reason, as-if only 32-colors are being shown, so there's a ton of banding.
Here's an old post where I fully detail how to do this (before I switched to CM).
edit: updated the OP, but... I haven't also provided a modded version of this bootanimation that'll work with touchwhiz, so heed the warning, and only use it if you mod yourself to remove the infinite loop.
Click to expand...
Click to collapse
I am trying to figure what you mean by "(to .bak)" Please could explain. I am also stuck on boot loop.
Thanks in advance.
DeaDman594 said:
I am trying to figure what you mean by "(to .bak)" Please could explain. I am also stuck on boot loop.
Thanks in advance.
Click to expand...
Click to collapse
A backup filename. As in, rename foobar to foobar.bak. That way you can restore it later if you want to go back to the standard samsung bootanimation
(And if you're stuck in a bootloop, it's because you didn't heed my Touchwiz warning to MODIFY every bootanimation to remove the infinite loop in desc.txt. If you're still stuck, let me know, as I have a CWM script you can use to fix it. Basically, all it does is delete /system/bin/samsungani in order to bypass the animation. Also, FWIW, some guy above mentioned that if you rotate your phone to landscape it breaks out of the bootloop. Try it and see.)
bootani 4 oneplus one size
zmore said:
Hey guys,
Maybe you've noticed that CM10 Preview's bootanimation is exactly the same as in CM9, since updating it is obviously not a top priority, so, I quickly modded it with some jollybean for anyone who cares to change it. All I did was overlay the official JellyBean jar mascot image over the old number "9" in most frames, and then zipped it right back up.
Download #1 for ClockWorkMod & TWRP flashable version is here: CWM-cm9_720x1280_bootanimation_jboverlay.zip. This CWM version also installs to /data/local/bootanimation.zip instead of overwriting /system/media/bootanimation.zip
Download #2 for manual install is here: cm9_720x1280_bootanimation_jboverlay.zip. Install it manually by simply renaming it or copying it as bootanimation.zip and then placing it @ /data/local/bootanimation.zip (it will take priority over the default /system/media/bootanimation.zip)
Preview frame:
How I did it (with the maaaagggggical power of linux & ImageMagick scripting):
Code:
$ adb pull /system/media/bootanimation.zip
$ unzip bootanimation.zip -d cm9_bootanimation_jboverlay
$ cd cm9_bootanimation_jboverlay/part0
$ for i in CM9_720x1280_08[1-9].jpg CM9_720x1280_09*; do convert $i ../../jb-new-logo1b.png -gravity southeast -composite $i; done
$ cd ../part1
$ for i in *; do convert $i ../../jb-new-logo1b.png -gravity southeast -composite $i; done
$ cd ..
$ zip -r0 ../cm9_720x1280_bootanimation_jboverlay.zip .
$ cd ..
$ adb push cm9_720x1280_bootanimation_jboverlay.zip /data/local/bootanimation.zip
$ adb reboot
Note: : This won't work for stock TouchWiz. Boot animations "just work" on AOSP ROMS (CM, AOKP, etc), but Touchwiz requires extra prodding to support custom bootanimations. In summary, for Touchwhiz, you have to first backup /system/bin/samsungani (to .bak), then copy /system/bin/bootanimation on top of the old /system/bin/samsungani, and then it'll work, ALMOST. You also have to remember to mod every single bootanimation you want to use on TouchWiz in order to disable infinite looping on its last part# sequence, otherwise you'll never be able to finish booting your phone, because samsung's stupid bootanimation binary won't break out of the loop when it's ready to show the lockscreen. (A more detailed touchwiz howto is here)
Click to expand...
Click to collapse
Hi ,
can anyone in size make for OnePlus one ?
thx
Related
06/23/11
I have complied the original post's off all the bootanimation threads in the G2/DZ forum. Feel free to add your bootanimations to this list. Please do not ask questions in this thread. It is only intended to have final bootanimations.
[WIP] Post Your Bootanimations Here
I really like the stock G2 boot image, but without being animated, it felt very stiff and boring. So I added some animation to it. It's very simple, with the fading grey lines at the top and bottom moving to the left slowly:
{
"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"
}
(this is a low quality GIF, the actual animation looks better, I promise)
I made this mostly for myself, but it turned out better than I expected so I wanted to share it. This is my very first boot animation, so be gentle in your criticism. This is an 800x480 boot animation, so it should work on other devices with that screen resolution, though I don't know why you'd want a G2 boot screen on your Nexus One or Droid Incredible.
To use this animation, use adb or a root explorer app to put the file in /data/local and make sure it's named bootanimation.zip. The file is attached below, or you can download it from MediaFire.
UPDATE: I just finished the modified version of this boot animation that replaces the T-Mobile logo with the HTC logo. Aside from that, they're the same. The new one is attached below, or you can grab it from MediaFire.
Enjoy!
[WIP] Post Your Bootanimations Here
**ROOT Is Required**
For BootAnimations:
The usual notice i am not repsonsible if you brick your device but this is pretty easy to do... follow the instructions below:
1. Follow the link to download.
2. Download and rename the file to bootanimation.zip
3. Put it on your sdcard
4. Open terminal enter these commands: (for Cyanogen and Stock Rom)
su
cp /sdcard/bootanimation.zip /data/local/
For those of you who have it the root explorer.apk also works to install
1. Same as above
2. Same as above
3. Same as above
4. Open Root explorer
5. Select bootanimation.zip from sdcard
6. Select move
7. Find Data folder
8. Find Local folder
9. Paste into Local folder
SENSE Roms Instructions: (Absolute System.apk Needed)
1. Download and install Absolute System.apk
2. Select download bootanimations
3. Press Menu
4. Change Install Location
5. Select EVO4G
6. Download Bootanimation
7. Use a File Manager to move Bootanimation into sdcard/goodies/bootanimations
8. Open Absolute System.apk
9. Select Downloaded Bootanimations
10. Select the Bootanimation you just placed in the file
Coming Soon
To Replace the white bootsplash screen:
1. Download splash zip file
2. Extract entire zip file
3. Rename extracted file to splash.img
4. Open Terminal Emulator (enter these commands)
su
dd if=/mnt/sdcard/splash.img of=/dev/block/mmcblk0p19
it will then say transferring and your done.
Now onto the good stuff, Below you will see images of the Splash screens and Bootanimations. I have a link going directly to my mediafire folders. Click the link and find the files you want.
The XBox Files: Sorry Animations were too large to get a Preview to play (Notice: The Animation Plays Vertically... So turn your phone sideways)
Here Is a preview of a few images in some of the animations
View attachment 609716
Halo View attachment 609061
New Windows Animation View attachment 609720
New Transformer View attachment 610910
Transformers Preview
The 360 Bootasplashes View attachment 603206
These both come in one zip so extract and choose the one you want to load up
Windows BootSplash View attachment 609746
YouTube
Download Files
[WIP] Post Your Bootanimations Here
I didn't make the original work. I just modified the information so that it tailored the specs of the G2.
Code:
adb devices (optional, only to see if adb sees your phone)
adb remount
adb push bootanimation.zip /data/local
(if this doesn't work, try pushing to /system/media also)
Now to test if it worked type:
Code:
adb shell bootanimation
<press ctrl+c to quit>
Info on BIOS is for G2.
*Update* 01/03/11
All the updates are in! 800 MHz is made per request.
Added Gingerbread versions for those running 2.3!
Rename file to "bootanimation.zip", then follow instructions above.
Enjoy!
*Update* 02/28/11
Added CM6 and CM7 version for those using Flippy125's Kernel.
Okay...WE NOW HAVE SOUND!!
First off, thanks to mrdaviso for script and instructions from spiicytuna.
My apologies to amazinglarry311, credit goes to him/her for the enablesound script.
enablebootsound scripts can be found here:
Enable Sound Boot
Here's how I did it:
Flash zip file from recovery.
reboot
Place android_audio.mp3 on sdcard root (change name of android_audio.zip to android_audio.mp3)
adb shell(I am assuming you are root)
enablebootsound(mine wasn't already enabled)
newbootsound
You can also use this script to install bootanimation now. ( I still prefer the old way)
place bootanimation.zip on sdcard root
newbootanim
A "Thanks" will do.
[WIP] Post Your Bootanimations Here
Bootanimations should work at the CM Nightly Builds too!
Now time to start with my first try!
Bootanimation Dancing Droid:
Download: http://www.multiupload.com/57CBHO720Y
Bootanimation Andro-Ring:
Download:
http://www.multiupload.com/8V0A7EE4MH
Stock CyanogenMod Bootanimation:
Download: www.multiupload.com/AI4BCL0SQA
[WIP] Post Your Bootanimations Here
Hi all. This isnt new but for those of you that havent found it yet this is the Xoom Honeycomb boot animation feel free to download. But I need assistance, after installing it when the animation ends and it is about to loop there is a quick flash to white screen and then it continues. Not too big of a deal but was wondering if anyone could help me, Im kind of a perfectionist but have no idea how to fix it myself. Thanks
Heres a vid of what it looks like
http://www.youtube.com/watch?v=qSWnKu5hr7g&feature=player_embedded
and I will attach the bootanimation.zip
For those that dont know. All you have to do is take the .zip, rename it to bootanimation.zip and copy it to the /system/media folder. Backup your old boot file if you want.
Edit: Found a ported version for the droid x that looks pretty good going to attach that. I also attached two landscape bootanimations. One has the Honeycomb Bee at the beginning and the other doesnt. Just thought you guys might want to see it.
[WIP] Post Your Bootanimations Here
****Disclaimer!!! I am not responsible for any errors or issues that may come from using these directions. This method has been tested and used by me on the T-Mobile G2 ONLY.****
Ok, I like playing with boot animations on my device. And I have this quirk for running everything I can on the device, rather than through ADB, unless I have to. While digging through assorted threads, here and abroad, I ran across a nifty app called GScript lite, free on the Market, and amazingly useful. On another thread, someone pointed out that if you copy a boot animation to /data/local, it will take precedence over any boot animations that your favorite ROM may install. So, I decided to simplify changing boot ani's, so I can swap them around whenever I feel like it. I now have it down to about 30 sec, and decided to post this for everyone interested to try it. Ok, so, here's the details;
Requirements: GScript lite, file manager, new boot animations
1) Download the animation you want to try to your SDcard
2) Copy the zip to /mnt/sdcard
3) Rename animation file "bootanimation.zip"
4) Open GScript and hit menu
a) Type in whatever you want to call the script in the top
box
b) Make sure "Needs SU?" is checked
c) Type cp /mnt/sdcard/bootanimation.zip /data/local
<enter>
reboot
d) Now hit "save"
5) Just press your scriptname in the list and enjoy!
From here on out, to change boot animations, all you need to do is copy the renamed file to SD root, and click on that script, phone will reboot showing your brand new animation. "Share and Enjoy!"
I'd like to thank the GScript devs for a very useful tool, and Kaanha for the commands
Click the Thanks button if this helps you.
[WIP] Post Your Bootanimations Here
Bootanimation for CM7.
"CM7-3D"
1. Download bootanimation.zip
2. Put it on your sdcard
3. open terminal enter these commands:
su
cp /sdcard/bootanimation.zip /system/media/
reboot
If it doesn't work in /system/media, try in /system/local
You can also use any root explorer app to move this from your sd card manually.
DO NOT TRY AND FLASH FROM RECOVERY, IT DOES NOT WORK THAT WAY.
Enjoy.
[WIP] Post Your Bootanimations Here
Here are some bootanimations I created. Some of these are pointless. I just made them to mess with my friends.
Im open to input, sugestions, etc....as I want to create a more smoother version.
::Instruction::
Download the zip and place it in /system/media
You should already have a file named bootanimation.zip...simply replace it with the downloaded one, of course renaming to bootanimation.zip
If it doesn't work in /system/media than
try in /system/local
**********
You all should know the warnings, so dont bother unless you know what your doing.
**********
::Marvel:: V1.2 (3/21/11)
This version is different from the first version. I thought the images looked better, however I had to play with them in order to get a good enough flow.
I also added an old school ending.
Thanks to al28283 for making the video, and to everyone else in the community who made these mods possible!
http://www.youtube.com/user/al28283
:IN:: V1.0 (3/24/11)
::Shutdown::V1.0 (3/25/11)
Thanks and have fun!
wilnotdie said:
Was about to say that lol. Good work tho.
I know you probably intend to create an animation, with thoes files, but with the current setup, you could have just left it with one png and set the fps to 1 ...since there is no animation.
Cant wait to see what you crank out...feel free to share.
Goodluck.
Click to expand...
Click to collapse
Probz gonna be NSFW ones =D
EDIT: Here! (NSFW-ish)
[WIP] Post Your Bootanimations Here
Here are four bootanimations I did.
Please be gentle, they are my first attemps.
Images:
I need help though. I find it very hard to find gifs at 480x800. Does this mean that if I have to make my own?
[WIP] Post Your Bootanimations Here
Enjoy!
btw the gif is laggier than the bootanimation because the gif has a lower framerate than what I set for the bootanimation
[WIP] Post Your Bootanimations Here
This is a port of another boot animation I saw in another thread (if anyone knows which one, let me know and I'll give the original author credit). If you want the added "fatality dun-dun-dunnnnnnn" sound, download the attached "android_audio.zip" file, unzip it, and put it in /system/media (if you're running a CM-based Gingerbread build like GingerVillain 1.5 or PyroMod 1.1, rename finishhim.zip as bootanimation.zip, put android_audio.mp3 and bootanimation.zip on the root of your SD card, and follow this guide).
*psst...this boot animation might be illegal in Australia *
[WIP] Post Your Bootanimations Here
Hey Guys. Here is the boot animation extracted from the Destroyed ROM which, to the best of my knowledge, was only available for the EVO. I I thought it looked pretty cool so I had my friend extract it for me and I thought I'd share it with you guys. I hope you like it!
Installing:
I'm not sure how other people like to install their boot animations, however if you don't know how here is how I do it:
*Must have super user permissions
1.Download and Open Terminal Emulator from the android market
2.Download bootanimation.zip from this thread and put it on your sd card
3.Enter this code into Terminal Emulator:
Code:
su
mount -o remount,rw /system
cp /locationOfFile/bootanimation.zip /system/media
where the /locationOfFile/bootanimation.zip would just be the directory where you have the zip file. if you just put it on the root of your sd card it would be /sdcard/bootanimation.zip and if you downloaded it using your phone it would probably be under /sdcard/download/bootanimation.zip
restart your phone and it should work. Hope this helps!
Edit:
*Be sure to backup your old bootanimation.zip if you think you may ever want to go back to it!
[WIP] Post Your Bootanimations Here
extracted the boot animation from Cyanogenmod's april fools joke, if anyone wants it
[WIP] Post Your Bootanimations Here
Just found a really cool boot animation over in the N1 forum. Head over to have a look and download http://forum.xda-developers.com/showthread.php?t=1042544
Credit goes to maxib123
Sent from my HTC Desire Z using XDA Premium App
[WIP] Post Your Bootanimations Here
Hello, I tried searching around but couldn't find any similar problem.
I've created my own bootanimation.zip which can be downloaded here http://www.megaupload.com/?d=576GF823 Its Red Wings Related, showing the Center Ice at Joe Louis Arena, then an awesome goal by zetterberg, then loops center ice again. That all works great.
The problem I've run into is that the first time it plays any of the animations they are slow. and when I'm only playing the goal once it goes in slow mo, if i loop it, the 2nd time it plays fast as it should. Is there anyway to fix this? I originally was just doing the goal, then the center ice on loop. I tried putting 1 center ice first, hoping it would take the lag and allow the goal to play full speed, but it doesn't.
Any help is appreciated.
Omg so kewls
I would seriously enjoy a boot animation done with the Android Police video Intro.
Here's the link: http://www.youtube.com/watch?v=1RSpGkM6EtU&feature=player_embedded
Voltron Force!!!!! 11
Voltron Force http://forum.xda-developers.com/showthread.php?t=1207156
{
"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"
}
I cant bellieve how hard it was to find any info on this topic
I was working on my rom and wanted to change the secondary splash screen image.
I searched around, asked devs and had no success finding a step by step tutorial on how to do this.
Finally after much research I did it! so here i bring you my experience.
Click to expand...
Click to collapse
Boot order
1. To modify/change the first boot image go here:
http://forum.xda-developers.com/showthread.php?t=895089
2. To modify/change the bootanimation go here for some examples:
http://forum.xda-developers.com/showthread.php?t=1129705
Click to expand...
Click to collapse
First we need to establish where this splash image is located,
the image file is called logo.rle and is located here:
(i used 7-zip to view but don't use it to modify)
This is the file we need to change/modify, you can extract it with 7-zip.
Now we need to be able to convert this logo.rle to .png and back to a logo.rle
To do this go here:http://forum.xda-developers.com/showthread.php?t=1140406
Code:
1.run command promt
a.browse to folder with those bat files
-type:cd \users\you\desktop(if located on desktop)
-copy logo.rle to this folder
b.to conver rle to png type: Convert_rle_to_image.bat logo.rle
c.to convert back to rle type: Convert_image_to_rle.bat logo.png
Click to expand...
Click to collapse
If you have your logo.rle ready now we need to replace the one that came in your initrd.gz
this is harder than i thought, because initrd.gz is a image file it cant be modified with 7-zip
first you will need to be running linux (im running ubuntu on a virtual machine)
once you get linux create a new folder on the desktop called "temp" copy
the initrd.gz to this folder, open applications/accesories/terminal
and browse to the temp folder with the initrd.gz file(mine is "cd /home/isidro/Desktop/temp)
now type
Code:
gunzip -c ./initrd.gz | cpio -i
now in the temp directory you have unpacked initrd.gz. Replace logo.rle then when you're done still in the temp directory type:
Code:
find ./ | cpio -H newc -o | gzip > ./initrd.gz
this will replace the initrd.gz with the modified logo.rle
Click to expand...
Click to collapse
Now just Copy/Replace the modified initrd.gz to your Rom's boot folder and Test!
This worked for me on the HD2 but I would assume it works on any android Rom. Keep in mind this is the best way I could do it, if you know of a better way please share.
nice compilation...thanks bro
nice work bro
really
but I hope there i some easier way to do it
cuz this involves linux and virtual machines and I dont think many of us have this
Been looking for this for a while now, thank you very much !
very clear! i search for this a long time
THX bro
nice to see some dev sharing their knowledge ...thanks bro
If anybody cant get this to work at all!!!
send me your initrd.gz and your new image and ill give it a go.
thanks for taking so much time for making this excellent article. thanks added.
Excellent tutorial!! Very time consuming process for changing just one image but definitely easy when given step by step instructions.
Thank you for all your hard work and effort!
Ok, please tell me what am I doing wrong- I want to replace the logo.rle from one initrd.gz to another initrd.gz
I extract both with gunzip -c ./initrd.gz | cpio -i into their own separate folders
I copy the logo.rle I want over the logo.rle I want to replace
I do find ./ | cpio -H newc -o | gzip > ./initrd.gz after ensuring the old initrd is not there in the folder
I flash it on my phone, and it wont boot - if I flash same the initrd.gz without replacing the logo.rle, all is fine. I have tried this so many times
works perfect
10x
works nice. thanks.
you know what's nicer?
removing the logo.rle completely.
and what's even nicer than that?
finding the way to do it to clk boot.img
(how to patch it's initrd.gz or kernel)
then what you get is the First Boot Screen (HSPL) and then boot animation directly.
I can find a way to unpack the boot.img and repack it successfully.
If you find this out, that would be great.
Should be possible to do on linux, but I get a corrupted boot.img every time i try.
Is there any way of changing this after the ROM is installed? Unfortunately the ROM I use requires that you flash a kernel .zip after installing it, which then resets the second splash screen.
ellisbodds said:
Is there any way of changing this after the ROM is installed? Unfortunately the ROM I use requires that you flash a kernel .zip after installing it, which then resets the second splash screen.
Click to expand...
Click to collapse
open the update_kernel.zip with 7zip
replace the initrd.gz with the one with the new image, now just flash
the kernel and that's it
There is guide for change it use Window OS:
http://forum.xda-developers.com/showthread.php?t=1140406
isidromxz said:
open the update_kernel.zip with 7zip
replace the initrd.gz with the one with the new image, now just flash
the kernel and that's it
Click to expand...
Click to collapse
Unfortunately though, that doesn't seem to work. It's got a boot.img, so I had to extract that first in Linux, then I replaced logo.rle and recompiled boot.img. I then replaced the old boot.img in the kernel zip file and attempted to flash it, and I can't remember what happened. Either I got a message about update-script being deprecated and was told that installation was aborted, it flashed fine but didn't work, or it stopped my phone working.
tl;dr: I've spent far too long trying to figure out that one little image and in the end decided to just change the first splash screen to match the second one that flashes with the kernel.
Sent from my HTC HD2
I've follow all your staff and when I repack the initrd.gz with ubuntu I get this message error ( in french the message error so I try to translate) : cpio : the file ./initrd.gz is bigger, 163840 new bytes does not have been copied
That is the problem
BoBaN75 said:
I've follow all your staff and when I repack the initrd.gz with ubuntu I get this message error ( in french the message error so I try to translate) : cpio : the file ./initrd.gz is bigger, 163840 new bytes does not have been copied
That is the problem
Click to expand...
Click to collapse
Yeah I know it says it's not copied but it is just test the initrd after that
I found a guide to do it on window.
I will check and post here if I can find it on my Laptop
Sent from my GT-I9100 using xda premium
I Have tried it and it didn't work. When I tried to flash my phone via clk via rebuild rom installion aborted. Can explain how to put back the moded file on the phone
Sent from my HTC HD2 using xda premium
This CWM script will reodex any custom ROM.
With BOOTCLASSPATH edit in dexo.sh it can work on any ROM and phone.
Reodexing gives some people perceivable speed up. And it frees data partition from system dalvik cache. So dalvik-cache rebuild is also accelerated.
I ran it with stock kernel (root injected). And had problems with running it on any custom kernel.
http://galaxytree.net/bravomail/universalOdex.zip
Also a good example of output from shell script into CWM console.
{
"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"
}
This is the work of the brilliant TommyTomatoe
strongsteve said:
This is the work of the brilliant TommyTomatoe
Click to expand...
Click to collapse
That it is, and he should prolly be credited in the 50 threads that this fellar started
Sent from my SPH-L710 using xda premium
Awesome.
Anyway to run this from ADB via PC for individul files rather than a whole ROM? I have been doing it manualy with this same script from TT but it takes a while typing it all in for each file.
This is what i do for individual files using dexopt wrapper:
Make sure you are currently runing an odex ROM or the script will not work
Move the dexopt wrapper file to /system/bin and cmod it 775 (you can get this file by unzipping the file in the OP)
move the files you want to odex to /mnt/extSdCard (for this exanple I will use SystemUI.apk)
Open an ADB window and type the following:
Code:
adb shell
su
mount -o remount,rw /system
chmod 777 /system
cd /mnt/extSdCard
dexopt-wrapper SystemUI.apk SystemUI.odex /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar
:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework
/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sec_edm.jar:/system/fram
ework/seccamera.jar
It will take a couple secoonds and it should spit out a "success" when done. If not, you typed something wrong.
Then you need to sign your new .odex file with the odex on your current system by typing the following code:
Code:
busybox dd if=/system/app/SystemUI.odex of=SystemUI.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
obviuosly if you were dealing with a file from say /system/framework you would change the line above to point to /system/framework instead of /system/app
Now you will have 2 files on your extSdCard:
SystemUI.apk (the original deodexed file you started with)
SystemUI.odex (the file the script just made)
Use 7zip or winrar to extract the classes.dex from the SystemUI.apk
Chmod them 644 and push them to the appropriate folder, for our example it would be /system/app
restart the phone and you should now be good.
Thats a lot of typing to go through for each file so a script or batch file would be awesome to be able to run and save some time. I like to run odex ROMs because they do seem to be faster but YRMV. I generally use DSIXDA's Kitchen to deodex the files I want to modify so I can get to the Smali files. I make the changes to the file and test them out in a dedoxed enviornment. When I know they work, i re-odex them (with the process above) and push them back into my stock odexed rom.
Not trying to step on your thread OP, just posting an alternate method of doing just individual files intead on an entire ROM.
Obviously credit for the process above goes to Tommy T!
ThanksTommy!
Didact74 said:
Awesome.
Anyway to run this from ADB via PC for individul files rather than a whole ROM? I have been doing it manualy with this same script from TT but it takes a while typing it all in for each file.
This is what i do for individual files using dexopt wrapper:
Make sure you are currently runing an odex ROM or the script will not work
Move the dexopt wrapper file to /system/bin and cmod it 775 (you can get this file by unzipping the file in the OP)
move the files you want to odex to /mnt/extSdCard (for this exanple I will use SystemUI.apk)
Open an ADB window and type the following:
Code:
adb shell
su
mount -o remount,rw /system
chmod 777 /system
cd /mnt/extSdCard
dexopt-wrapper SystemUI.apk SystemUI.odex /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar
:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework
/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sec_edm.jar:/system/fram
ework/seccamera.jar
It will take a couple secoonds and it should spit out a "success" when done. If not, you typed something wrong.
Then you need to sign your new .odex file with the odex on your current system by typing the following code:
Code:
busybox dd if=/system/app/SystemUI.odex of=SystemUI.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
obviuosly if you were dealing with a file from say /system/framework you would change the line above to point to /system/framework instead of /system/app
Now you will have 2 files on your extSdCard:
SystemUI.apk (the original deodexed file you started with)
SystemUI.odex (the file the script just made)
Use 7zip or winrar to extract the classes.dex from the SystemUI.apk
Chmod them 644 and push them to the appropriate folder, for our example it would be /system/app
restart the phone and you should now be good.
Thats a lot of typing to go through for each file so a script or batch file would be awesome to be able to run and save some time. I like to run odex ROMs because they do seem to be faster but YRMV. I generally use DSIXDA's Kitchen to deodex the files I want to modify so I can get to the Smali files. I make the changes to the file and test them out in a dedoxed enviornment. When I know they work, i re-odex them (with the process above) and push them back into my stock odexed rom.
Not trying to step on your thread OP, just posting an alternate method of doing just individual files intead on an entire ROM.
Obviously credit for the process above goes to Tommy T!
ThanksTommy!
Click to expand...
Click to collapse
That's exactly what I do as well.. I just baksmali the odex when I need to edit the smali.
If you are already in the odexed rom environment, you do not have to include the bootclasspath
Awesome bro, simply awesome! I used a similar script during my brief EVO 3D days that I always ran after flashing a new rom and I considered it priceless!
Thanks man..
strongsteve said:
If you are already in the odexed rom environment, you do not have to include the bootclasspath
Click to expand...
Click to collapse
What?!? I been typing all that for nothing? LOL.
So all i would need is:
dexopt-wrapper SystemUI.apk SystemUI.odex
Didact74 said:
What?!? I been typing all that for nothing? LOL.
So all i would need is:
dexopt-wrapper SystemUI.apk SystemUI.odex
Click to expand...
Click to collapse
Dextopt-wrapper sdcard/folder/app.apk sdcard/folder/app.odex
Sent from my SPH-L710 using xda premium
strongsteve said:
Dextopt-wrapper sdcard/folder/app.apk sdcard/folder/app.odex
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Sweet.
Thanks man.
Strongsteve is the king of odex. Lol.
Sent from my Nexus S 4G using xda premium
So i flashed the zip on sonic free. how can i tell if the rom is now odexed?
Flashing zips in rehab!!
Holy cow amigo. You started a bunch of threads. A little credit to original author would have been nice if you took the work and revamped it. All credit cause you didn't.
Sharing is caring. But I suggest you put where you got the script, etc, as well as the original author.
edit. upon further review, i see that you did change some things, mainly removing the original header (which is absolutely lame) and made it work with CWM. Also, you set a static BOOTCLASSPATH - which defeats the purpose of this script!!
Let me check my pms and emails. Someone contacted me a long time ago asking me review to their changes. Maybe it was you lol.
Sent from my EVO using Tapatalk 2
tommytomatoe said:
Holy cow amigo. You started a bunch of threads. A little credit to original author would have been nice if you took the work and revamped it. All credit cause you didn't.
Sharing is caring. But I suggest you put where you got the script, etc, as well as the original author.
edit. upon further review, i see that you did change some things, mainly removing the original header (which is absolutely lame) and made it work with CWM. Also, you set a static BOOTCLASSPATH - which defeats the purpose of this script!!
Let me check my pms and emails. Someone contacted me a long time ago asking me review to their changes. Maybe it was you lol.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Tommy I miss your classic tomato over here! I know you got an HTC lte so I'm guessing we won't be seeing any roms from you here but one can only hope
-Sprint Galaxy Slll_Transformer Prime-
manso1102 said:
Tommy I miss your classic tomato over here! I know you got an HTC lte so I'm guessing we won't be seeing any roms from you here but one can only hope
-Sprint Galaxy Slll_Transformer Prime-
Click to expand...
Click to collapse
Haha thanks. Yeah I'm over here on HTC. Taking a long extended break from Android. Things have changed since I last did anything
Sent from my EVO using Tapatalk 2
tommytomatoe said:
Holy cow amigo. You started a bunch of threads. A little credit to original author would have been nice if you took the work and revamped it. All credit cause you didn't.
Sharing is caring. But I suggest you put where you got the script, etc, as well as the original author.
edit. upon further review, i see that you did change some things, mainly removing the original header (which is absolutely lame) and made it work with CWM. Also, you set a static BOOTCLASSPATH - which defeats the purpose of this script!!
Let me check my pms and emails. Someone contacted me a long time ago asking me review to their changes. Maybe it was you lol.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
LOL.. Tell it like it is Tommy.
Tommy can u fix this script then for us since he set a static boot class path?
Sent from Galaxy SIII
musclehead84 said:
Tommy can u fix this script then for us since he set a static boot class path?
Sent from Galaxy SIII
Click to expand...
Click to collapse
http://classictomatoe.net/dexo-universal-odex-tool
Edit. Original thread. http://themikmik.com/showthread.php?t=12988
Sent from my EVO using Tapatalk 2
Disclaimer: Flashing is fun, but get irritating when softbrick, bootlooooooooop etc happens. Nandroid back up and use tb101 themer! [im not selling it enough, this will save u from dead end troubleshooting. I didnt flash YOUR phone but i will help in anyway i can if you run into trouble.
IC.JeLLY_oNGB.BeAN.S [WIP]
[Based off EG04]
[screens]
{
"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"
}
What is it? It is a starter pack. [all other releases will be in form of starter and update packs]
Deodexed and zip-aligned
ALL TB101 mods (-TW4-Havent played with that one yet)
ICS Boot Ani & Sounds [working on boot/bootsound, had this trouble w/ec07]
My ICS/JB Theme [Latest Release [00] (still beta, havent heard back from yall)]
-No xml mods yet, ie. Horizontals and text colors [see Patch]
Gps.config mod
DeBloated_Pro (cleaned most that i was i aware i could, so if anything is gone u want, they are in deodex.zip)
SuperSU [must install after 00]
BusyBox (update if you need to)
More to come....
ICS SOFTKEYS?
In the past with my themes the initial rom flash doesnt boot softkey mods correctly so... YOU will need to patch them. [For Alphas]
Download the attached zip and [unzip&] put in TB101 themer with other softkey imgs, then pull your frameworks in and mod.
MAKE A ZIP WITH YOUR OG FRAMEWORKS WITH DEFAULTS AS MODS [flash if bootloop]
How to install? [updated:10.25]
Download 00&SuperSU [attachment] and put on sdcard root
BACKUP [nandroid via cwm, contacts, sms, apks via TiBU etc]
Flash [install] 00.zip in CWM
Wipe Cache/Dalvik
Reboot (Should boot now )
-if bootloop Flash SuperSU.zip
Reboot
Reboot
Enjoy!
Initial Alpha_00 Release: Here [10.24.12] [will WIPE DATA] [updated:10.25]
-should boot now
Patch_00: Here [must have 00_release installed, you will need to patch this framework again for ics keys etc]
+XMLs now editted
+ICS Tasker skin [hold home]
+ICS 5 bar network pngs now
+build.prop tweaks
Patch_00 Screens
My Goal:
I wish this to be a starter rom for all to own. So input is needed and support will be in form of patch [you can also patch and post] until all system are go. This forum has been best supported over my 3 devices, let learn and continue.
Thank YOU!
credits:
trailblazer101 (everything as always)
dsixda (rom kitchen, updaterscript)
Vertemus (og Domination themer)
and YOU!
As well as credit given in theme thread.
...
DEODEXed ROM [will WIPE DATA, back up nandroid, flash, restore data]
[CWM]: here (thank the poster too!)
debloated
rooted (superuser)
busybox
stock zImage (placeholder)
OG STOCK DEODEX FILES: Here
(just put into cwm zip to add or drag into Trailblazer101s framework maker)
Working on a ROM myself... Will be my first ever.
added oneclick method to deodex ROOTED, BUSYBOX, EG04 STOCK ROM.
Any idea why when I mount cache.rfs in MagicISO there is no recovery folder?
jaizero said:
Any idea why when I mount cache.rfs in MagicISO there is no recovery folder?
Click to expand...
Click to collapse
What are u trying todo?
Extract csc?
Sent from my SPH-M580BST using Tapatalk 2
im in irc
What is the name of the room in IRC? Yup trying to extract the recovery folder.
ciscogee said:
MANUAL or ONECLICK!!! added [10.17.2012]
Requirements:
Rooted device (google "Super One Click" and then when rooted, dl latest SU or superSU)
Busybox installed (via market after root)
ADB installed and working properly (added to path is optimal) ADB added to zip (for one click method)
Flashed and working EG04 rom
EG04_STOCK_DEODEX.zip
and just enough adb knowlege to follow directions
ONECLICK
Download zip, follow README.txt (windows only atm)
MANUAL
Step 1:
Download EG04_STOCK_DEODEX.zip, Unzip and place folders done_app and done_frameworks on root of sdcard.
Step 2:
Open cmd prompt (in sdk/platform-tools/ or any folder if in path)
and copy and past each cmd line. (if any errors occcur, post them).
Code:
$ adb shell
$ su
[you may need to accept permissions by superuser on phone, if 1st time shelling)
# stop
# mount -o rw,remount /system/ /system/
# cp /sdcard/done_app/* /system/app/
# rm /system/app/*.odex
# cp /sdcard/done_frame/* /system/framework/
# rm /system/framework/*.odex
# mount -o ro,remount /system/ /system/
# reboot
[$ & # are showing you root access]
BAM! deodexed!,
use titanium back up to delete bloat you do not want.
Im working on a rom after homework.
Yay we're active again!
Click to expand...
Click to collapse
Nevermind Got it working.
The one click isn't working for me.
The cp command isn't found
Confused
Im a little confused about how to flash this as its different from when I was flashing on ec09. So if someone could provide me detailed steps that would be great
---------- Post added at 02:39 AM ---------- Previous post was at 02:15 AM ----------
Ok so I understand what to do and I rooted successfully. However when I try to update my su binary it fails every time and I cant figure out what to do to get it to become successful so for now I unrooted.
Who here was wanting a way to get the call screen in the ticker working on different launchers? Well, I just figured it out Go to my new thread in theming for new info heh
lets stay on topic!!!!!
jus bs-ing yas!
since we are off topic, when decompiling your modded apks, am i using stock or your modded frameworks to install?
Jaggar345 said:
Im a little confused about how to flash this as its different from when I was flashing on ec09. So if someone could provide me detailed steps that would be great
---------- Post added at 02:39 AM ---------- Previous post was at 02:15 AM ----------
Ok so I understand what to do and I rooted successfully. However when I try to update my su binary it fails every time and I cant figure out what to do to get it to become successful so for now I unrooted.
Click to expand...
Click to collapse
I dont recommend flashing things just to flash them because they are there. Thats how phones get bricked. Read some tutorials on ADB and the Android SDK before diving into code etc... Just my .02
cwm up
lost it if someone has it can u upload, if not ill make another soon.
New rom added
xml patch up...
anyone using these?
Just getting ready to flash cwm and get started, just want to make sure I've got the order right... Flash 00.zip then the patch, both in cwm. Then if I want ics softkeys download the zip and use tb themer to mod framework, make zip and flash from cwm... Right? Maybe... I have yet to use TB's themer.
Sent from my SCH-I400 using xda app-developers app
roaddog665 said:
Just getting ready to flash cwm and get started, just want to make sure I've got the order right... Flash 00.zip then the patch, both in cwm. Then if I want ics softkeys download the zip and use tb themer to mod framework, make zip and flash from cwm... Right? Maybe... I have yet to use TB's themer.
Sent from my SCH-I400 using xda app-developers app
Click to expand...
Click to collapse
Back up you stuff first. Nand and apks etc
Flash rom_00.zip then supersu.zip.
(I don't have too much time to script, I'm way behind in classes due to gb fun) then patch_00.zip
Clear caches
Reboot.
Then when boots legit restore your data nand and apks etc.
And yes for ics keys use tb themer, it will do it for you, just add the png folder in themer dirs
Sent from my SPH-M580BST using Tapatalk 2
Having technical difficulties at the moment, can't get into download mode... Trying another comp now.
Oops... Operator error... Flash after supper.
Sent from my SCH-I400 using xda app-developers app
any idea why it would be stuck at the installing update step? I can't get by that
Hello.
I am running this ROM, and my lockscreen looks like this:
{
"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"
}
I want to replace the white circle around the icon (displayed when hovering the icon, before releasing the finger from the screen). It just needs to be transparrent.
The developer of the ROM wrote this to me:
final Drawable activeBack = mResources.getDrawable(com.android.internal.R.draw able.ic_lockscreen_target_activated);
...
So change icon ic_lockscreen_target_activated.png
Click to expand...
Click to collapse
The commit to the Git is here: https://github.com/IceColdJelly42/frameworks_base/commit/f1971285b709593873bf8c3effd144087b710104
Question: So far, i understand that i must replace the PNG in the system, but where would it reside? I dont think its in an APK as such, as its the system itself (though that could be apk's aswell...?). I was pointed to this tutorial that should have info on how to do it, but the guide refers to APK-filenames, and again, whats the APK filename? I have no APK in data/app or in system/app that matches "com.android.internal" - so im quite out of luck....?
Any advice on how to proceed is welcome. I have downloaded the PNGs attatched in the ZIP, from the source (git), those are the ones i want to replace with (they are all transparrent as they should be, for my project).
Kind Regards
TwinAdk
The image that you're looking for, is in "framework-res.apk\res\drawable-xhdpi.
When you have changed the image, push framework or copy/paste it in system\framework and reboot!
For security, make a nandroid backup
Okay, so framework-res.apk, and then follow the guide i linked to, and just mirror the structure of the folders in the apk (\res\drawable-xhdpi) - correct?
Or should i unpack the apk, replace pics, resign the apk and push instead?
Also, xhdpi, hdpi, etc.. Whats the difference except the size of the images (resolution)? Is it if i have a phone with lower res, i will need the lower res images?
Thanks so far!
EDIT: You made me laugh there sir..! ALWAYS a nandroid backup! Rather 10 useless backups, than one missing..! :victory:
TwinAdk said:
Okay, so framework-res.apk, and then follow the guide i linked to, and just mirror the structure of the folders in the apk (\res\drawable-xhdpi) - correct?
Or should i unpack the apk, replace pics, resign the apk and push instead?
Also, xhdpi, hdpi, etc.. Whats the difference except the size of the images (resolution)? Is it if i have a phone with lower res, i will need the lower res images?
Thanks so far!
Click to expand...
Click to collapse
With winrar or similar, open the apk, go to res\drawable-xhdpi and change image.
Now, you can push framework in rom and see results
I know that change only resolution of icons in that folder
Here you go. Push to /system/framework/ and set permissions.
Don't know if it will work 'cause I don't have ICJ flashed at the moment. Make a backup before trying it.
I had to compress it before uploading because the limit was 8mb.
Sv: [Q][THEME] Replacing PNG in system file
TToivanen said:
Here you go. Push to /system/framework/ and set permissions.
Don't know if it will work 'cause I don't have ICJ flashed at the moment. Make a backup before trying it.
I had to compress it before uploading because the limit was 8mb.
Click to expand...
Click to collapse
Wow, will try that! If it fails ill investigate tomorrow.
Kind Regards
TwinAdk
- Via the XDA app
Hello.
How can i push it to system/framework? I tried adb shell when in recovery, but i cannot access the framework folder.. /system/ nothing (only bin?)
Also, adb push gave this:
C:\fastboot>adb push framework-res.apk system/framework/framework-res.apk
failed to copy 'framework-res.apk' to 'system/framework/framework-res.apk': No s
uch file or directory
Click to expand...
Click to collapse
Output from shell, while in recovery (only place adb shell works, except from when the phone is booted, but i tried renaming the apk via a file explorer, the system crashed, lol).
~ # whoami
whoami
root
~ # df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 488.2M 48.0K 488.1M 0% /dev
/dev/block/mmcblk0p13
315.0M 5.2M 309.7M 2% /cache
Click to expand...
Click to collapse
Any advice?
Put / in front of system. It should be /system/framework/
Sent from my One X
adb works in android, not in recovery
Guich said:
adb works in android, not in recovery
Click to expand...
Click to collapse
It does work in recovery too. You should try it.
Sent from my One X
TToivanen said:
It does work in recovery too. You should try it.
Sent from my One X
Click to expand...
Click to collapse
Ill try to add / in recovery. When i did so in android, i got an error that the filesystem was read only.. I am rooted.
Update: It pushed correctly, but i only see that one file..... After reboot the file was not modified.. Verified with solid explorer.
ls while in recovery:
/system/framework # ls -lah
ls -lah
drwxrwxr-x 2 root root 0 Jan 29 20:28 .
drwxr-xr-x 4 root root 0 Jan 29 20:28 ..
-rw-rw-rw- 1 root root 8.6M Jan 29 16:09 framework-res.apk
Oh well, moved the apk with solid explorer, from sd to system/framework (overwrite exsisting) - phone is rebooting now..
UPDATE: Didnt boot up.. Trying to clear cache and dalvik, then well se.. Think ill have to revert to my dear nandroid
Well, damn it. I replaced the pngs with the files you provided, built and signed without an error. It should be OK but as I said I don't have ICJ installed so troubleshooting is a bit difficult.
Try to do it yourself with apktool.
Sent from my One X
Sv: [Q][THEME] Replacing PNG in system file
Will do. Your apk was considerably smaller than my original, also it struck me that you cannot have guessed my version of the custom rom, and thus the correct apk to use as source. I guess it is modified on each version?
Kind Regards
TwinAdk
- Via the XDA app
Hello.
I tried recreating the APK, using my own framework-res.apk as source.
I also found out how to push to system from CWM - you need to mount /system - DOH!
But it fails.... The phone never boots, i even chmodded the apk with 644, so the permissions are the correct ones..
Back to nandroid backup, and drawing table....
Anyone have any clue as to why the new apk failed? Followed this guide, and loaded the sources to UIsystem,apk and framework-res.apk before editing the APK.
When building the APK i got this output, and it does however not match the output in the guide - the "Could not find sources" does worry me a bit, should it..?
Found the reason for the "could not find sources":
A framework-res.apk is itself the source of other apks( when you install it - apktool if...). So the message that you got is normal.
Click to expand...
Click to collapse
Ref: http://forum.xda-developers.com/showpost.php?p=31832660&postcount=12
The .apk I started with was from 1.5.9 and it was 12mb in size.
Apks tend to lose weight when they are de/recompiled and that's why the finished product was only 8mb.
If the apk method fails, you could build the whole ROM yourself on a linux PC.
Keep me posted!
Sent from my One X
Well, though i used unix before, i dont wish to put the effort into building from source It seems building in a VM fails for many, and it requires quite alot of space...
My apk also lost weight, 8 mb after rebuild.. If the image is there, it does not matter what bitdepth and other fancy settings it was saved with, right? Aslong as the apk was build correctly, and chmodded correctly, the phoen should boot, right (and display an ugly image, if it wants - but at least boot!)
Did you sign the package?
Sent from my One X
No, according to the guide i followed:
Now, final step is signing the apk file.
Remember don't sign the apk if it's a SYSTEM app, unless you have edited the AndroidManifest.xml.
Click to expand...
Click to collapse
I suppose its a system app, as it resides in /system/framework...?