MortScript to change the S2U gif Picture - Windows Mobile Apps and Games

Hey Folks,
I'm an absolute noOb in programming but I need a Script for MortScript.
The Script should do the following:
In S2U i can only set Jpg Images for a random change.
So, i would like to use Mortscript to
-copy .gif picture X from /StorageCard/My Pictures to /ProgramFiles/S2U/gfx/wallpaper.gif
-and after time X copy the file back and take another one.
I think the problem is that the wallpaper for S2U must be named as wallpaper but i can't have a folder on storage card with 20 or more wallpaper.gif files.
Is there the possibitity to use MortScript to rename the files to wallpaper.gif and later back to the old name (or maybe another name like 1, 2, 3 and so on.)
It would be great if someone could make such a script, an i'm sure that other people would like it, too.

Randomly change S2U2 wallpaper
Hey, buddy,
I wrote this script some time ago and I've been using it for a while now. I thought I was the only one who wanted random gifs, guess not
Attached is a MortScript I wrote, it will choose a random file in a directory of your choosing and set it to the S2U2 background every 2 hours.
To change the directory: edit Line 8
To change how often you want the images changed: edit Line 33
Make sure you copy this to your My Documents folder on the device mem and run it. Then it'll change randomly for you.
Currently I have it set up to choose gifs and jpegs, but you can change that in Line 8, in theory
Enjoy and pass it on to others!
- chis

thank you amigo it s cool idée

chris.wilcox said:
Hey, buddy,
I wrote this script some time ago and I've been using it for a while now. I thought I was the only one who wanted random gifs, guess not
Attached is a MortScript I wrote, it will choose a random file in a directory of your choosing and set it to the S2U2 background every 2 hours.
To change the directory: edit Line 8
To change how often you want the images changed: edit Line 33
Make sure you copy this to your My Documents folder on the device mem and run it. Then it'll change randomly for you.
Currently I have it set up to choose gifs and jpegs, but you can change that in Line 8, in theory
Enjoy and pass it on to others!
- chis
Click to expand...
Click to collapse
This is really cool, thanks a lot

In my p3600 the gif's does't animate.. what am i doing wrong? how do i use your tool?

Related

CommManager Skinning

Hey fellas.
I am sure it's been discussed before and my searches to find something fruitful have been met with limited success:
I am looking for a way (if possible) to skin my comm manager. I have the 6 Button lateral one from Custel's V1.1 and not the 8 or 10 button manager.
Any idea's?
You should find one in this thread: http://forum.xda-developers.com/showthread.php?t=316107
I'm using the HTC Kaiser Comm Manager Fixed.
I see the comm managers but I am trying to find a way to skin my current one. Is there a way to editthe skin on my device? Where are the skins for the comm manager kept at on the device?
All of the graphics for the Comm manager exist in windows\
If you find those files and edit/replace them, you can change the whole way comm manager works.
Problem is, every button is its own image and each has 3+ states (on, off, disabled, or other options). On the 10 button comm manager, that means there are 80+ files to edit.
Thanks Dishe.
Looks like I have a lot of cutting & pasting...
Update:
For anyone looking, on my Alltel PPC6800 I found the files to edit in the \windows dir. The backgrounds are the P_BG & L_BG (portrait & landscape). The status icons are labeled as Status_Off & Status_On.
xweaponx said:
Thanks Dishe.
Looks like I have a lot of cutting & pasting...
Update:
For anyone looking, on my Alltel PPC6800 I found the files to edit in the \windows dir. The backgrounds are the P_BG & L_BG (portrait & landscape). The status icons are labeled as Status_Off & Status_On.
Click to expand...
Click to collapse
What someone should do (I'd do it if I had the time!) is create a photoshop .psd file with all of these graphics assembled as slices. Then we can change the background color, etc. and export them as individual files without having to manually edit each one.
In the mean time, the long way is the only way...
Dishe said:
What someone should do (I'd do it if I had the time!) is create a photoshop .psd file with all of these graphics assembled as slices. Then we can change the background color, etc. and export them as individual files without having to manually edit each one.
In the mean time, the long way is the only way...
Click to expand...
Click to collapse
i just got done getting all the files on to my card... and now on my computer.. should i make a PSD or just zip it and then people can do w/e they would like?
i have all the PNG files in the windows dir.
I am trying to do what you are but I posted a thread about the access rights of the files for being able to replace them... are you not running into the same problem?
It wouldnt let me modify them at first but once I copied them to my computer, clicked on properties and removed the read-only, all was well. After amendment, they copied over the original on my device with no problems...
Oh wow I will give that a shot... thank you!
I am not sure how that would work though, seeing that the files on the device would still be read-only and shouldn't be allowed to copy over. When I changed the settings in TC it didn't save them either...
Nvm I figured it out! Thx
skanndelus said:
Oh wow I will give that a shot... thank you!
I am not sure how that would work though, seeing that the files on the device would still be read-only and shouldn't be allowed to copy over. When I changed the settings in TC it didn't save them either...
Click to expand...
Click to collapse
Honestly, I'm planning on replacing them on the ROM-level, and flashing a new custom rom with my new files.
dc13 said:
i just got done getting all the files on to my card... and now on my computer.. should i make a PSD or just zip it and then people can do w/e they would like?
i have all the PNG files in the windows dir.
Click to expand...
Click to collapse
dc13, getting the files are not a big deal... I have a decomposed ROM image on my computer with all the files that go inside it, so I didn't even need to look on the PPC. I just viewed all files by thumbnail, and grabbed the 80+ files that looked like they belong to the comm manager. BTW, not every .png is for the CM. Some of them can be HTC Home, or the Dialer, etc...
I would have put them up if people were actually having a hard time getting them. The problem is changing them in a uniform fashion!
For example, if you're familiar with photoshop, and you want to change the gradient background to be, say, red and black instead of grey and black, you'll need to create a full sized gradient background that starts from the bottom of the screen and goes to the top (just like the current background image which starts at the bottom as a darker color and ends as a lighter gray on the top), and then make sure somehow that every icon has the appropriate part of the background appearing behind it in the png. This is very time-consuming to do to 80 files.
However, if you had the time and knowledge of Photoshop and ImageReady slices, you could create ONE .psd file that contained all the .pngs arranged in their proper places. Then, change the background of this larger picture, and do whatever you need to do with the icons (which would have to be arranged as layers), then you click to save it, you can have it automatically split it into all the slices needed as individual .png files.
Once this is set up, skinning the comm manager will take a matter of minutes. The problem is that this is probably 2-4 hours worth of work to set up, and I personally don't have the time to dedicate to it right now, especially since its not a paying gig.
I put together a quick guide to creating a Today, Slide2Unlock, Startup, Dialer and Commanager theme. It's in the Hacking & Modifying section of the forum...
xweaponx said:
I put together a quick guide to creating a Today, Slide2Unlock, Startup, Dialer and Commanager theme. It's in the Hacking & Modifying section of the forum...
Click to expand...
Click to collapse
I couldn't find your thread, could you provide a link?
thnx
Raudel
It's not that difficult to create a commanager skin, but it does take time to make it look good.
I currently have skinned my commager. I am using the commanager that poorlyduck uses in his theme package but mine has a new vista look.
[email protected]$ said:
It's not that difficult to create a commanager skin, but it does take time to make it look good.
I currently have skinned my commager. I am using the commanager that poorlyduck uses in his theme package but mine has a new vista look.
Click to expand...
Click to collapse
You wouldn't possibly want to share that skin would you, looks great and would go good with my wisbar theme.

[11.12.2009, v 1.4.7] Wallperizer - wallpaper changer

Here is a free, open source, wallpaper changer. The screenshots explain what the program can do.
Note: If a phone call is in progress, the wallpaper is not changed (because it takes a number of seconds to change it).
Download. Simply copy it on your Windows Mobile 6 device and run it. (Works on my Polaris.)
Details
Source code
Works great, thank you very much.
I'll try it on my Samsung Omnia If I get it right, this app will finally let me set pictures that are smaller/bigger than my sreen with resizing them to the screen size?
THANKs
.
Awesome!! does it work for wm5? .. dont say 6 only
It should work on Windows Mobile 5 (I haven't tried the latest version), but you first have to install .Net Compact Framework 2 from Microsoft: here.
Windows 6.5 Wallpaper
A good place to get wallpapers is FFFFound.com
Here is the wallpaper that I'm using
http://ffffound.com/image/1833eeacd07acf07502260ed70c5be62af6f9185
Cool...good job!
Cool works great.
It would be awesome if it had a "silent" mode without gui and the wallpaper given by parameters for scripting use.
i.e.
wallperizermob.exe -silent -changeto "/Wallpapers/mywalpaper.jpg"
I know it´s open source but I´m not able to code/compile this feature
Version 1.4.4 works on Windows Mobile 6.5. (Or any other OS where the system's wallpaper files were marked as read-only.)
See the first post.
6ITdtvFQqY said:
Version 1.4.4 works on Windows Mobile 6.5. (Or any other OS where the system's wallpaper files were marked as read-only.)
See the first post.
Click to expand...
Click to collapse
That is nice, and I'm loving your app! It was quite slow at changing wallpaper at first, but I unchecked all fades/normalizes/sosoes and now it does change pretty fast. Any chance you could add:
a "random picture" setting (not to have it change in alphatbetical order, that is);
shorter change intervals (like 15 mins and 5 mins);
"Load at phone startup" option (I know I can place a shortcut in the windows/startup folder, but I think this is way cooler and can easily be undone!);
And maybe even cab the exe up and get a custom icon?
So far it's the best automatic wallpaper changer for 6.5 Titanium interface!
EDIT: as you can see from my screenshots, looks like we have a couple of glitches... in today screen, bottombar gets funky (looks like it replicates upper taskbar, don't think it should...) and in start menu background remains the one it was there at boot (it changes only after a soft-reset). Think you can sort that out?
teorouge said:
"random picture" setting (not to have it change in alphatbetical order, that is);
Click to expand...
Click to collapse
I'll implement that.
teorouge said:
shorter change intervals (like 15 mins and 5 mins);
Click to expand...
Click to collapse
I didn't add those settings because the user would have to start the phone too often to see the wallpaper changing. I guess some people might do that just to see a new picture. Also note that this would consume more battery. I'll add these too.
teorouge said:
"Load at phone startup" option (I know I can place a shortcut in the windows/startup folder, but I think this is way cooler and can easily be undone!);
Click to expand...
Click to collapse
The programming framework doesn't have a way to do that. It could be done but I don't know how much work that would involve... and the development of the program is frozen.
teorouge said:
And maybe even cab
Click to expand...
Click to collapse
I didn't make a cab because I like my programs on the SD card, being able to run without being installed, so that no matter how many times I hard-reset the device, I will still have the programs ready to run (I don't have to install any program ever again).
teorouge said:
a custom icon
Click to expand...
Click to collapse
I'll add one.
teorouge said:
in today screen, bottombar gets funky (looks like it replicates upper taskbar, don't think it should...)
Click to expand...
Click to collapse
The wallpaper pictures are shorter on purpose (and so the OS tiles them vertically). Normally, the today bars are opaque and stretching pictures on the entire screen area would cover a significant part of the pictures; this doesn't matter on a desktop computer, but a PDA's screen is too small (relative to the bars). For now this will remain unchanged.
teorouge said:
and in start menu background remains the one it was there at boot (it changes only after a soft-reset).
Click to expand...
Click to collapse
I did that on purpose (but it should not display any kind of picture, or the skin's default picture, as it happens in WM 6.1). On WM 6.1, the today menu doesn't cover the entire screen and when it's opened, if it were to display the same picture as the screen, it would look as if the menu doesn't end anywhere. That's a weird feeling. We'll see how WM 7 will display it's today menu.
Version 1.4.5 is up.
In the "Various" tab there is a check-box to use a random picture.
The background picture of the start menu is changed on my WM 6.1, but only if TouchFlo is not running (I don't know why TouchFlo is not using it).
I have a problem.. not with our program, but with one that we e been trying to fix with roryB on a different thread:
the idea is that the wallpaper would change baed onthe regitry of htc home or manila weather panel and use e riginal weather graphics. there are 40 files in all and they are png's located in windows. we have been able to get mortscrip to change the reg but not the wallpaper.
It has do do the folowing:
1. watch the regitry for changes to the weather update
(the registry updates when you go to the weather panel and it auto updates)
2. based on the updated registry change the wallpaper to HH_WEATHER_##.png
3. refresh the wallpaper on the today screen.
it would be fine if the program copied the image and saved it n a different format such as jpg or gif; howver due to the large filecount t can not have the all 40 weather graphics in a separate folder or have duplicates. that would cost too much space.
RoryB is uing manila 1.5 (update 23) I am uing the mega manila which requres the media package to be able to set the today walpaper... however can be set via the file explorer or any other program for that matter. it does not allow to use the walpaper from the tsk.
my question is: what exactly does your program do tochange the wallpaper?
does it copy the file and rename it?
what actually sets the walpaper and refreshes it?
how can we replicate thi process and make it work?
If you could please let me know via pm or email? please.
Thank you so much, very appreciated!
S.V.I said:
what exactly does your program do tochange the wallpaper?
does it copy the file and rename it?
what actually sets the walpaper and refreshes it?
how can we replicate thi process and make it work?
Click to expand...
Click to collapse
You can look at the source code, in file "HaraWork \ SourceCode_VS \ Wallperizer \ Wallperizer \ MainForm.cs", the "void SetNativeWallpaper" method.
There are lots of steps and they have to be followed exactly, or else either Windows Today or Manila do not show the wallpaper. Just as an example, Manila refuses to show the wallpaper if the "HKCU \ Software \ Microsoft \ Today \ Wall" registry key is not set with whatever text.
By the way, I don't think PNGs are supported by the OS. You must copy the wallpaper in the "Windows" directory as BMP or JPEG (GIF works too). Note that the file name is specific, you can't use anything you want; "tdywater_[screen width]_[screen height]" is the name. The file name is created in the "string GetWallpaperFileName" method.
(Be sure to remove the read-only attribute of the "tdywater" / "stwater" files before you try to overwrite them.)
wallpaper doesn't change automatically
the wallpaper doesn't change automatically when the program is minimized or is in the background. can someone help me with this. thanks.
Arashi1118 said:
the wallpaper doesn't change automatically when the program is minimized or is in the background. can someone help me with this. thanks.
Click to expand...
Click to collapse
Make sure you download the latest version (1.4.5).
Click on the "Wallpaper information" button and see "Loaded pictures". If it says "0" then the program failed to either load the pictures or failed to set any of them as wallpaper (if this happens, they are cleared from the internal queue).
(You could manually set a wallpaper in order to be sure it works on your PDA.)
Version 1.4.7
* Added command line parameters.
* Check the "Portrait and landscape" check-box (from the "Various" tab) in order for the wallpaper to be set for both screen formats (= portrait and landscape). Note that this requires twice the processing time every time the wallpaper is changed.

[MOD]SASHIMI - regexport the values YOU want

I recently started to use SASHIMI heavily to customize my HD after a ROM flash. Congrats and credits to bengalih who did an awesome job.
One option i really missed in SASHIMI is to be able to specify specific values for custom registry export, so i decided to modify the script to my needs. From what i've read in various threads/forums other people wants to do the same, so i'll share it here for everyone who wants to try.
The mod allows additional parameters in REGEXPORT.INI:
key1=<yourkeypath1>
key2=<yourkeypath2>,<value1>,<value2>,<value3>, ... ,<valueN>
key3=<yourkeypath3>,*
key1 is the traditional way of exporting registry keys as its already implemented. It exports this key including all values/subkeys.
key2 specifies a key, plus the value names you want to export (value1-valueN). Value names are CASE SENSITIVE (!), if they dont match you end up with an empty key.
key3 specifies a key, plus ALL values, but WITHOUT subkeys.
WARNING: DO NOT mix filtered (like in key2, key3 examples) and unfiltered keys (key1) in the same section, as this will lead to missing values. If you need to do this, split them into separate sections.
examples from my own usage:
[Opera vibration]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\Software\Opera\Defaults,VibrationEnabled
[power+backlight settings]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts,BattSuspendTimeout,BattSuspendTimeoutSave,ACSuspendTimeout,ACSuspendTimeoutSave
key2=HKEY_CURRENT_USER\ControlPanel\BackLight,BatteryTimeout,BatteryTimeoutUnchecked,ACTimeoutUnchecked
If you want to give it a shot here are the downloads:
CustomRegistryExport.txt
SASHIMI.mscr
Nice mod, m'lady!
I hope bengalih will consider it for future SASHIMI versions
Great job!
Very Very helpfull!
Thanks a'lot!
well... just tried this (kept a backup of the original mscr). The only key it exported was key9. It took what felt like 5min to get past the "mysettings.............." line.
Code:
[MySettings]
RegExportDirMode=Auto
key1=HKLM\Ident
key2=HKLM\Software\Microsoft\Clock
key3=HKCU\Software\Microsoft\Vmail\UserProvidedNumber1
key4=HKCU\ControlPanel\Notifications
key5=HKLM\Software\Microsoft\Bluetooth\Devices
key6=HKLM\System\CurrentControlSet\Control\Power\Timeouts
key7=HKCU\Software\HTC\People\OwnerInfo
key8=HKLM\Software\HTC\Manila\Configuration
key9=HKCU\Software\HTC\Manila,Weather.CityList,Weather.ServerURLOverride,Locale,Weather_Focus,Weather.Fahrenheit,Weather.PostRunFirst
key10=HKLM\Software\Arcsoft\ArcSoft MMS UA\Config\mm1
key11=HKCU\Software\HTC\TaskManager
key12=HKLM\Software\HTC\Manila\ProgramLauncher
And Generated this .reg file
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\HTC\Manila\]
"Weather.CityList"="37384,30914,31106,30824"
"Weather.ServerURLOverride"="http://weather.conflipper.com/htcweather/weathertranslate.php?ac=CONFLIPPER&locCode=%25ls&version= 1&device=innovation"
"Locale"="en-US"
"Weather_Focus"="United States"
"Weather.Fahrenheit"=dword:00000001
Notepad shows that all on 1 line w/ carriage returns as open squares.
Sashimi.mscr is in the BIN folder along w/ the .txt file. The weather entries are the main reason I need this mod. I think I did everything right, but looks like I missed something.
ProfEngr said:
well... just tried this (kept a backup of the original mscr). The only key it exported was key9. It took what felt like 5min to get past the "mysettings.............." line.
Notepad shows that all on 1 line w/ carriage returns as open squares.
Sashimi.mscr is in the BIN folder along w/ the .txt file. The weather entries are the main reason I need this mod. I think I did everything right, but looks like I missed something.
Click to expand...
Click to collapse
congrats ... you found a bug
Notepad showing only 1 line is normal, it cant handle lines terminated with LF only.
Is a fix in the works?
ProfEngr said:
Notepad shows that all on 1 line w/ carriage returns as open squares.
Sashimi.mscr is in the BIN folder along w/ the .txt file. The weather entries are the main reason I need this mod. I think I did everything right, but looks like I missed something.
Click to expand...
Click to collapse
Hello ProfEngr,
I'am exporting a lot of keys with Dotfreds taskmanager.... with a simple text editor I place all of them in 1 Reg file..... and afterwards I import only 1 reg file with all the keys in it ...
Not really a solution, but a work-around
Greets from sudist
thanks, I'll try that in the interim.
sudist said:
Hello ProfEngr,
I'am exporting a lot of keys with Dotfreds taskmanager.... with a simple text editor I place all of them in 1 Reg file..... and afterwards I import only 1 reg file with all the keys in it ...
Not really a solution, but a work-around
Greets from sudist
Click to expand...
Click to collapse
I do that with normal SASHIMI too. I setup several registry settings in a text ini file, mysettings1 for registrations and program setup, mysettings2 for CHome setup like weather, used icons, launchers shortcuts etc, mysettings3 for device setup like email, ISP, bluetooth, advanced config etc and so on. So i can restore everything after a hard reset or flash, or only one set of registry at any time. From time to time i do a custom backup of the current registry.
ProfEngr said:
Is a fix in the works?
Click to expand...
Click to collapse
I'll look after that sometime next week
any luck squashing that bug?
I'm currently testing the changes. Looking good so far. If they turn out ok i'll publish them tomorrow.
I tested the changes and they work great, however it takes ages to process a fair amount of regitems.
I wont publish this as its practically unusable. The reason is that i adapted the script to filter out unwanted regentries, which is slow by design. The better way would be to write a filter in C++ or .net and call it from Sashimi.
My advice is this: split the settings in two or more sections, and dont mix regkeys that need filtering with the ones that dont.
For your example this would look like this:
Code:
[MySettings1]
RegExportDirMode=Auto
key1=HKLM\Ident
key2=HKLM\Software\Microsoft\Clock
key3=HKCU\Software\Microsoft\Vmail\UserProvidedNumber1
key4=HKCU\ControlPanel\Notifications
key5=HKLM\Software\Microsoft\Bluetooth\Devices
key6=HKLM\System\CurrentControlSet\Control\Power\Timeouts
key7=HKCU\Software\HTC\People\OwnerInfo
key8=HKLM\Software\HTC\Manila\Configuration
key10=HKLM\Software\Arcsoft\ArcSoft MMS UA\Config\mm1
key11=HKCU\Software\HTC\TaskManager
key12=HKLM\Software\HTC\Manila\ProgramLauncher
[MySettings2]
key9=HKCU\Software\HTC\Manila,Weather.CityList,Weather.ServerURLOverride,Locale,Weather_Focus,Weather.Fahrenheit,Weather.PostRunFirst
Or - and thats the way i prefer - split it into functional portions, one section per key. If you need to troubleshoot something its way easier to handle small bits instead of one megaload of settings.
I added a warning to the first post to make that clear.
Works, but wow - slow
I got it to work, creating two ouput files (allmyregistryneedsnotfiltered.REG & allmyregistryneedsyesfiltered.REG). Output was about 2500 lines and 250 lines respectively. The non-filtered 2500 lines ran in the blink of an eye. The filtered 250 lines took about 40 minutes. It seems to have worked perfectly, but wow, what a time investment.
[AllMyRegistryNeedsNotFiltered]
RegExportDirMode=AUTO
HTC-Camera=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera
Internet-Shortcuts=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\InternetPush
Keyboard-Config=HKEY_LOCAL_MACHINE\SOFTWARE\KeyboardConfig
LockScreen=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\LockScreen
Mail-Settings=HKEY_LOCAL_MACHINE\System\Inbox\Mail Settings
Manila-Home=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Home
Manila-Tabs=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Configuration
S2U2-Settings=HKEY_CURRENT_USER\Software\A_C\S2U2
Sound-Notifications=HKEY_CURRENT_USER\ControlPanel\Notifications
SPB-Backup=HKEY_CLASSES_ROOT\CLSID\{7B9996D8-B043-4013-98B5-FC12829C28D6}
SPB-Time=HKEY_CLASSES_ROOT\CLSID\{B6C22A2E-6610-4033-990C-C8CDCF73B1BE}
Splashid=HKEY_CURRENT_USER\Software\SplashDataReg\SplashID
Total-Commander=HKEY_CURRENT_USER\Software\Ghisler
XDA-Folders=HKEY_LOCAL_MACHINE\Software\XDA\DirCopy
[AllMyRegistryNeedsYesFiltered]
RegExportDirMode=AUTO
Date-in-Titlebar=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell,*
Facebook-Photo=HKEY_CURRENT_USER\Software\HTC\People\OwnerInfo,FBPhotoFromFB,PhotoPath
Facebook-Settings=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\FacebookSDK,*
HTC-Accounts=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\HTCAccountManager,*
Identity=HKEY_LOCAL_MACHINE\Ident,*
Manila-Settings-Level-a=HKEY_CURRENT_USER\Software\HTC\Manila,*
Owner=HKEY_CURRENT_USER\ControlPanel\Owner,*
Owner=HKEY_CURRENT_USER\ControlPanel\Owner,*
Softkey=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila,HomeLSKText,HomeLSKPath
Auto install jar games/apps
I'm looking for a software that auto-install .jar games / apps (something like sashimi does with .cab files), may you help me ?
Thank a lot
ciao

[Guide] [Miui] Introductory Guide To Theming! [Updated 11/14/11]

An Introductory Guide To Theming Miui
Much like CM7’s theme chooser, Miui has it’s own powerful theme engine. If you’ve ever wanted to create your own theme or have a theme that you like, but want to make some personalized changes; then this guide’s for you. This guide is intended as a supplement to Team D3rp’s thread; [Guide][Reference] An Intro to Themeing. Please keep all questions, comments, and suggestions in this thread Miui related also feel free to hit us up at #miuithemes on the IRC. General theme questions, image editing questions, xml editing questions, or anything of that nature should be asked in the afore mentioned thread. Before we begin it’s necessary to thank scott951 and bigrushdog for there past, present, and future work on this rom. In addition, thanks to toastcfh & Cayniarb for they’re work on the AOSP kernel, to bliind for his ongoing IRC support, tips & tricks, and lastly thank you to Team D3rp (il Duce, ranger61878, thoughtlesskyle, vanessaem, dkdude36, jdeloach, and pstevep), all the old HeroC guys, the many talented themers, and everyone else on XDA and IRC who continue to advance my knowledge of the Android Operating System.
To begin your adventure into the world of Miui theming you will need some tools, listed below:
7zip or similar archiving program
Notepad ++ or similar text editor
gimp or another image editor of your liking
Root Explorer (or your prefered file manager with root access)
Patience, patience, patience
Time, time, time
A willingness to bork your theme over and over again until you’re satisfied with how it looks
Recommended knowledge of adb and/or Android Commander- not required but may save you the time of having to restore a nand.
Table Of Contents: for your convenience in finding specific areas of help.
Lesson 1: File Structure
Lesson 2: Beginning Your Theme
Lesson 3: Lockscreens
Lesson 4: Changing Icons
Lesson 5: SystemUI
Lesson 1-File Structure
Before you can actually theme anything, you need to learn and understand the basic file structure used by Miui. Themes are compressed into zip files with a .mtz extension and are applied by the Miui theme engine at “run time”, meaning you can change almost any aspect of your theme on the fly, without a reboot. Download my intro.mtzfor use along with this guide. This is the default Miui theme with a simple lockscreen included that you will have to edit (It works but you will have to edit it per my instructions for it to look good), and a generic android boot animation / boot audio file. If you currently have a theme that you are generally happy with and would prefer to edit that more to your liking, you may do so by opening the Miui theme engine, select customize, scroll down to the bottom of the page and select “Backup Theme” After the backup finishes running, navigate to /sdcard/Miui/theme/backup and move the “backup.mtz” to your computer. Now let’s extract our .mtz and have a look at what’s inside. Right click on the intro.mtz, select 7zip from the popup window, and then select extract. Now navigate to the extracted intro.mtz folder and have a look inside. You should see the following:
“boots” folder
“preview” folder
“ringtones” folder
“wallpaper” folder
“com.android.launcher” zip file
“description” xml file
“icons” zip file
“lockscreen” zip file
The folders can be opened as any normal non-compressed document folder, the zip files (although their extensions are nonconventional can be extracted with 7zip, and the xml file can be edited with notepad ++.
Lesson 2 – Beginning Your Theme
Decide what you want your theme to be called and create a new folder for it somewhere that’s easily accessible.
Open up the description xml with notepad ++ and edit it to reflect your theme name on this line: <title>Default</title> (Change default to the name of your theme), edit this line: <author>MIUI</author> (Change MIUI to your name), and edit this line: <version>1.0</version> (from 1.0 to whatever version # you would like to call your theme). Save your changes and move the document to your newly created theme folder.
Now, if you so desire, in your theme folder create a sub-folder entitled “boots”. Place any boot animation & boot audio files in there that you would like to use, and make sure they are named correctly (bootanimation.zip & bootaudio.mp3).
Create a “preview” sub-folder next. This is where you’ll put screenies of your theme as you continue to develop it. Make a note of the file names and sizes in our original preview folder, also if you look you’ll see that some of the photo’s are jpegs and some are pngs. I’m not sure as though it matters, but I’ve developed a habit of keeping the extensions the same.
Now you can create an optional “ringtones” subfolder and assign rintones, notifications, and alarm sounds, by default when applying your theme. Use any mp3 you like so long as the files are named alarm.mp3, notification.mp3, and ringtone.mp3.
Create a “wallpaper” sub-folder within your theme folder next. This will be the home of your theme’s default wallpapers. Again look back at the intro.mtz and notice the size of the wallpapers in that folder and the file names. When you put your jpegs in this folder make sure they are named exactly default_lock_wallpaper & default_wallpaper.
Congratulations, you’re now on your way to making your own custom theme. Now that we have the simplest things covered and out of the way, we can really start to dig in and do some theming!
Lesson 3 – Lockscreens
Skipping over icons for a moment, lets jump to the lockscreen. As you know by now our Evo 3D’s QHD displays don’t play nice with a lot of lockscreens. So lets have a look at what we can do to fix some lockscreens. Please keep in mind that depending on which lockscreen you want to use they will require varying degrees of changes to work properly. The lockscreen I included with the intro.mtz functions, but looks terrible so now we’re going to fix it.
{
"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"
}
Extract the “lockscreen” file that you downloaded. Inside you’ll see an advance folder.
Open the advance folder. This is where the lockscreen magic happens. In this folder are all of the lockscreen png’s and the manifest.xml
Let’s start with the png’s.
-Resize bg to 540X854
-Resize bottom to 540X178
-Resize bottom_batterylow to 540X178
-Resize bottom_batterylow_light to 540X240
-Resize charging_bg to 540X178
-Resize charging_bg_mask to 540X178
-Resize status_bar to 540X40
-Resize time_bg to 540X107
Feel free at this time to edit and/or replace any of the png’s in here, as you see fit, but be sure to keep the icon names correct and watch out for the .9png’s (there are none in this lockscreen, but if you’re using a different one beware).
Now that the png’s have been fixed let’s have a look at the manifest.xml, shall we? Our images are all the proper size, but if we loaded the lockscreen now the icons and text would all be shifted to the left of the screen. In addition to making positional adjustments in this file we can change font sizes, font colors, time & date format, even which apps the lockscreen will launch. Go ahead and open that xml file now with notepad ++.
Find the two lines that begin with <DateTime. On these lines you can change the x & y locations to get the proper spacing from the edge of the screen. (x is the horizontal plane, y is vertical x0,y0 being the top left corner of the screen). You can change the text color (#FFFFFFFF) to whatever you like, the font size (size="22"), and the date format (format="EEEE, MMM d")
Now, work your way down through the xml file making any adjustments you want to make to text sizes, colors, and the necessary x shifts to get your lock screen lined up and centered. If by chance you get stumped, compare your manifest.xml with my manifest_edited.xml.
*hint, I usually use a pencil and paper to draw out the screen, then calculate how big of a left margin I want, add the image widths, to figure how big of a change to make. For example x20 + 480 png width=500 (leaving a margin of 40 on the right). Now if I change to x30 + 480 png width = 510 (leaving me a margin of 30 on both sides).
Once you’re done editing the .xml save it (keeping the original of course to refer back to)
Back out of the advance folder now and right click on it. Select 7zip from your popup window and “add to archive”. When prompted, save as “lockscreen.File”, set your file type as .zip and save your lockscreen to your theme folder. After it saves delete the .File from the name. Windows will prompt you that this may make the file unusable, click ok.
Navigate to your theme folder and select all of the contents inside of it (boots, preview, etc…). After selecting all of your theme components, right click again, select 7zip, and add to archive. Save your theme as “whatever_name”.mtz again choosing .zip as the file type.
Place your newly created theme on your sd card in /sdcard/MIUI/theme
Apply your theme and enjoy. If you’re happy with your lockscreen take a screenie to add to your preview folder when you make your next edits. Remember if you do something that breaks your lockscreen you can unlock by pressing back & volume up, or you can use adb to delete lockscreen from /data/system/theme and push a good lockscreen back.
Lesson 4 – Changing Icons
Changing your desktop and folder icons is a great way to enhance your theme. Miui’s theme manager makes this a relatively simple process. You can edit the default system icons with your image editor, or take your favorite icon collection and resize them to 90 X 90 pixels if you wish to keep the default Miui icon size. Lets begin!
Navigate to your intro.mtz and use 7zip again to extract the icon.File
Inside your extracted icon folder you’ll find all of the icons for the default system apps.
Changing system app icons
Find the icon that you want to replace in the folder. Let’s use the browser for example.
Find the icon you want to replace it with and rename that icon to com.android.browser
Copy your new browser icon into the icon folder, overwriting the existing one.
Adding icons for user installed apps is a little more involved but worth the extra time to make your theme complete. Here is where it’s handy to have Root Explorer.
Let’s say we want to add an icon for dropbox
To do this we need to know the process name. There’s a couple of ways we can figure this out. Since every app installed creates a data folder we can use Root Explorer to look in /data/data for the package name of dropbox.
If the package name didn’t jump out at you, don’t worry there’s another way to do this. Again using Root Explorer navigate to /data/app and find the dropbox apk, long press on in and select “extract all”, navigate to /sdcard/extracted and open up the extracted dropbox apk. Now tap the AndroidManifext.xml file, which should open up a text document and the very first line should give you the manifest package name.
By now you should know that the package name for dropbox is com.dropbox.android
Find the dropbox icon you want to use.
Rename the icon to com.dropbox.android
Drop the icon into your icon folder.
Repeat these steps for all of the icons which you want to replace.
Once you are finished replacing and / or adding icons, from within the icon folder, select all, then right click, select 7zip, and add to archive.
When the 7zip popup screen appears, save them as icons.File
Delete the .File extension
Move your zipped icons file to your theme folder.
Zip your themes folder up as a .mtz and apply it to your phone the same as you did after you finished your lockscreen.
Again, if you are happy with your icons take a couple of screenshots for your preview folder.
One last side note in regards to icons. You may notice some apps such as google + install additional icons to your homescreen (G+ Messenger). I have not figured out the image naming trick yet for these icons to display from the theme, but I’m working on it. For the time being I extracted my G+ Messenger and replaced the icon in the /res/drawable-hdpi folder, but I am searching for the correct way of doing this and will update accordingly once it’s figured out.
Lesson 5 – SystemUI
Now, we're going to add a whole new element to our theme. We're going to create a SystemUI zip in our theme mtz. Examples of some things that we can change in SystemUI are notification bar icons (signal, battery, gps etc), Statusbar back ground, and the various tabs you see in your drop down expanded notification page. Let's begin.
Create a working folder somewhere easily accessible on your computer (I like to work from my desktop)
Inside of your working folder, create a subfolder named "res"
download my theme_values_SysUI.xml, place it in your working folder (not in the "res" subfolder), and rename it to theme_values.xml.
Now you will need a SystemUI.apk from Miui. You can either unzip the rom on your computer and move the .apk to a convenient location of your choosing, or you can use adb to pull the SystemUI.apk from your phone. It's located in /system/app.
Now that you have your SystemUI.apk, using 7zip, extract it.
Open up your extracted apk and navigate to the "res" folder. Copy the "drawable-hdpi" folder and the "raw" folder and move them to the working folder on your desktop, placing inside of the "res" subfolder you created earlier.
Begining with the "drawable-hdpi" folder, use your image editor to make any .png adjustments that you want incorporated into your theme, or replace the png files as you see fit. Be sure to maintain the nomenclature of the images if you opt to replace them. Beware of editing .9.png's as they cannot be edited in a conventional fashion. If you need help editing .9.png's there are several methods and guides around xda. Or ask in [Guide][Reference] An Intro to Themeing.
When you're finished with the drawable-hdpi folder move to the raw folder. This is where your battery icons are located, contrary to Sense and CM7 roms. You'll notice that there are not 200 little battery png's but 3 large png's with all of the images put together in a sort of battery collage. To assemble a battery collage, take your individual battery pngs and resize them to 38 X 38. For graphical and charge indicators, you will now need to create a new image sized at 152 X 190, copy and paste your individual png's into the large image so that you have 5 rows each with 4 png's. Follow the same procedure for making a % png, except that you'll be using 10 rows of 10 images, so your png size should be 380 X 380.
When you're done with all of your images, open up the theme_values.xml with notepad ++ and make any color edits that you see fit. Please note, that these color changes will have minimal impact on the look of your theme. Most of the color changes of your system will not happen here. These are default values for only a handfull of apps.
When you're finished editing the xml save it and close it.
Finally select your theme_values.xml and your "res" folder and right click your mouse, select 7zip, and add to archive. In the 7zip popup window name your file com.android.systemui (no additional extension here, make sure it does not say zip at the end....just: com.android.systemui)
After the folder is compressed and zipped, move it to your theme folder and zip your theme up as a .mtz as you have been doing right along. Apply theme to your phone and enjoy.
To Be Continued…..Next update will be for Framework-res or launcher depending on my upcoming amount of free time!!!
Additional Information: Tips, Tricks, & Links
Advanced Lockscreens - Tips and Tricks
Thanks il Duce for these links:
Lockscreen 2.0 Reference
General Miui Tips & Tricks
I wasn't born rich, I'm good lookin' instead!!
Great job Hockey!! Love how everything is coming together!
Added to the OP in the one stop shop also.
Edit: This is really thorough. Very nice indeed.....
Awesome work
Sent from my PG86100 using xda premium
Place holder for me
Is that all we do to the manifest because I really want that Evoluer slider to unlock my phone.
Temari x Shikamaru
scott951 said:
Place holder for me
Click to expand...
Click to collapse
Thank you sir, for providing us with a rom worthy of the time it takes to do all of this!......No disrespect intended to any of the other developers who's roms I also use, but I've fallen head over heels for Miui
knowledge561 said:
Is that all we do to the manifest because I really want that Evoluer slider to unlock my phone.
Temari x Shikamaru
Click to expand...
Click to collapse
Well, there's a lot you can do with the manifest xml, but to make them work properly yeah....It's just resizing the png's and shifting the x & y values accordingly for our screen size. I'm downloading the lockscreen you're trying to use now.
Thanks for this.
hockeyfamily737 said:
Well, there's a lot you can do with the manifest xml, but to make them work properly yeah....It's just resizing the png's and shifting the x & y values accordingly for our screen size. I'm downloading the lockscreen you're trying to use now.
Click to expand...
Click to collapse
Thanks because im Stumped!!!! If you manage to hook it up do you think you can throw in that green charging light? And when its not charging it turns blue when you touch it? Check out "ikun" to understand the lockscreen.
Temari x Shikamaru
vanessaem said:
Thanks for this.
Click to expand...
Click to collapse
My pleasure. Hopefully everyone including myself can learn from this, because I'm certainly no expert. Just a guy who like to take stuff apart to see how it works.
knowledge561 said:
Thanks because im Stumped!!!! If you manage to hook it up do you think you can throw in that green charging light? And when its not charging it turns blue when you touch it? Check out "ikun" to understand the lockscreen.
Temari x Shikamaru
Click to expand...
Click to collapse
I'll do what I can. First let's see if I can get it to work right Working lots of O/T right now so I haven't had a heap of time.
Thanks so much for this hockeyfamily737!
Sent from my PG86100 using Tapatalk
Thanks homie.
Temari x Shikamaru
Also I will possibly be able to help out on this as well if someone doesn't get it figured out by Sunday... been working alot of double shifts..
knowledge561 said:
Thanks because im Stumped!!!! If you manage to hook it up do you think you can throw in that green charging light? And when its not charging it turns blue when you touch it? Check out "ikun" to understand the lockscreen.
Temari x Shikamaru
Click to expand...
Click to collapse
Sent from my PG86100 using Tapatalk
Hey, nice introduction =)
If anyone is inerested in speeding up the process of testing your themes, I have created a Makefile/Windows Batch file for compressing themes and pushing them to the phone auto-magically
http://forums.miui.us/showthread.ph...ild-Script-(Windows-Unix)-Now-with-a-Makefile
Let me know if you guys have any problems!
Thank you for posting this amazing tutorial!
I am slowly fixing my lock screen, I'll post some before and after screen shots.
Before:
After:
thanks for this. i rlly needed it....
now to figure out more stuff...
steam374 said:
Thank you for posting this amazing tutorial!
I am slowly fixing my lock screen, I'll post some before and after screen shots.
Before:
After:
Click to expand...
Click to collapse
Terrific and this was the one I was trying to do today. Great job with this.
Brought to you from my EVOlutionary 3-Dimensional Smartphone
Wow! Great work... looking forward to more. Thanks hockeyfamily!
Sent from 3D A.W.E.S.O.M-O

[TUTORIAL] Samsung QMG Boot Animation Creation: An Easy Guide

Part of making a great rom lies in personalizing it with a great startup animation. When it comes to Samsung however, things can get a bit tricky as samsung likes to deviate from the norm by using their own unique boot animation format. Thus, instead of the standard "bootanimation.zip", which contains the whole startup animation and whatever image or loop you would like to have appear at the end until the device boots up, with Samsung things get split up into 2 separate files. These files are called "bootsamsung.qmg"(the start of the animation) and "bootsamsungloop.qmg"(the end of the animation that repeats until startup or whatever still image at the end that you'd like to land on). Recently I tried to make one such animation and managed to get it right on the first try, but since making animations for Samsung devices seems to be somewhat of an elusive topic on the net I decided to make an easy to understand tutorial.
So, here we go then. Let's get started, but first let's make sure we have the required things.
REQUIREMENTS:
- Samsung Theme Designer: http://developer.samsung.com/bada-themes/tools-sdks/Samsung-Theme-Designer-2-0-4
- Photoshop(or another image editing program)
- A ROOTED DEVICE
- A Root Explorer App(like "ES File Explorer", "Root Browser", etc.)
- An awareness of the target device's screen resolution size in pixels.(ie. 480x800, 1440x2560, etc.)
Alright, now here are the steps to making a Samsung boot animation.
NOTE: For the purposes of this tutorial we're just going to keep things simple by only working with 3 images that will alternate repeatedly, but you can always do more images to create a more elaborate animation if you want.
NOTE 2: If you already have your own images from a bootanimation.zip, then you can just skip steps 1 and 2.)
STEPS:
1) Create Your Images In Photoshop - Just start by creating a new image in Photoshop. The image dimensions must be the same as your device's screen resolution. Mine is 480x800, so that's what I made. Now do whatever you like with the images. I just made 3 images for mine with the title of the rom and just used the fill tool in Photoshop to add different colors to the text and the background. Then I saved the image in PNG format and used the fill tool to change the colors again and then saved that file too under a different name. I did this 3 times and ended up with 3 different images of different colors and put them in a folder on my computer. I just named the folder "boot", but you can call it whatever you want.
2) Create The Full Animation - For this part you're going to want to turn those 3 images you made into about 30 images by duplicating them so that the image doesn't flash by too fast in the animation. Just open the "boot" folder where you saved the images and right click on the name of the first one and select copy. Then paste it 9 times so you end up with 10 duplicate images. Now do the same thing for the other 2 images to make a total of 30 images(10 of each) in this folder. Now go to the first set of images and name them whatever you want, but name them in sequence using this format here. Start with "yourimagename_000.png", then "yourimagename_001.png" on up through "yourimagename_009.png". Then go to the second set of identical images and start naming those starting where you left off with "yourimagename_010.png" and so on and do the same for the third set. You should end on "yourimagename_029.png" with 30 images.
Next make another folder. I called this folder "loop" just to keep things organized. Afterwards, copy the previous 30 images from the "boot" folder into the "loop" folder, so that you now have a total of 60 images in 2 folders, with the same 30 images in each. Then, go into the "loop" folder and start renaming the images in there in sequence. Make sure to start from where you left off in the previous folder so that you end up with "yourimagename_030.png" through "yourimagename_059.png" in there. These will be the images that loop at the end until the phone boots up.
3) Set Up Your Animation Project - Open Samsung Theme Designer and under "Create New Theme" select "Feature(NonTouch) Phone". Then under "Select Model" just click on the one near the bottom that has the word "Spring" in it. Then under "Select Showcase" just click on "Default" and just type any name you want to call your project in the "Name" box. You might want to then just make sure to save it to the same folder location where you have your image folders stored just to make things easy and after all that, then just click on "Ok".
4) Define The Animation Parameters - Once you have your project loaded, just ignore the preview that you see in the window(as it's irrelevant ALWAYS) and click on the "View" tab at the top of the theme designer and click on "Tree View Window" just to make sure that you can see that menu in the left pane. Then near the top of the tree view under "Idle Component" click once on "Idle Background" to pull that menu up on the right. Now, in the "Idle Background" window, click on where it says "fixed" under "Background Type" and change it to "animated". Then change "Frames" to "30", because that's how many images we have in our first folder, and change the "Duration" to "50"(usually between 30-450 is best) and make sure "Repeat" is set to "False" for this one.
5) Building The First Animation - After you have everything set, then let's start by building the first part of your animation. To do this you need to go back to your "boot" folder where you stored your first 30 images and select them all. Now drag and drop them all into the "Animation Object Window" pane at the bottom of theme designer to fill the 30 empty frames with your images. Then click the "Save" button at the top left of the theme designer to save your work before finalizing your project. Now click on the "Home" tab. Then in the top right of theme designer click on "Export Theme" and export the theme to your same project folder. The project name doesn't matter. It takes a few seconds to export too, but once it does just click "Ok" and then on "Yes" to open the folder where you saved the file. Then rename the "yourprojectname.smt" file in that folder to "yourprojectname.smt.zip" and open the zip file. Extract ONLY the "IdleBgAnimObj.qmg" to your project folder and rename it to "bootsamsung.qmg". BOOM! You're done with the first part of your animation.
6) Building The Second Animation - Now to make the second part. The second animation is the part that loops at the end and is pretty easy as it's basically the same process as the first part with only a couple of changes. First thing you want to do is click "Save As" at the top left of the theme designer and change the name of this new animation to something else. Then, you want to click on one of the images in the "Animation Window" at the bottom and just keep hitting delete until they're all gone. Now, since we made the images in our "boot" and "loop" folders exactly the same images, then we can just once again set the "Frame" to "30" and the "Duration" to "50". The only difference this time actually is that we want to set "Repeat" to "True" so it loops. Then open your "loop" folder and drag the next 30 images and drop them in the "Animation Object Window" like you did with the first 30 above and export. Once you extract the "IdleBgAnimObj.qmg" file this time, however, you will be renaming this one to "bootsamsungloop.qmg". After that you are done creating your animation files!
7) Copying The Files & Fixing Permissions - Now that you've created your animation you will want to test it to make sure it looks right and that everything works. Plug your device into your computer and navigate to your device storage in a new window. Then, from your original project folder window, drag and drop the "bootsamsung.qmg" and "bootsamsungloop.qmg" files over to anywhere you want on your devices sdcard. Next, open your root explorer app on your device and navigate to the place where you copied the files. Select both and either move or copy them to the "System/Media/" folder. BE SURE TO BACKUP THE ORIGINAL FILES TO ANOTHER FOLDER ON YOUR DEVICE FIRST though, just for safe keeping, as this will overwrite the originals. Then, once you've moved the files, you want to make sure they have the right permissions. To do this touch and hold on each of the files and click on either "Permissions" or "Properties", whatever it says in your app, and look for the permissions. The only permissions you want to have checked for each is both "Read" and "Write" for "Owner" and only just "Read" for both "Group" and "Others". So the abbreviated version should read "rw-r--r--".
8) Testing Your Animation - After that you're all done. The only thing you have to do now is just reboot and see if it looks the way you want. If the animation is too fast or slow, then you just need to go back and adjust the "Duration" setting in each of your projects and do steps 5 through 7 again. If you're doing a more elaborate animation where each frame is different and the finished product doesn't look right then you may just need to go back and rework some of your images. Other than that, if you've followed these steps correctly, you should now have successfully made your very first Samsung boot animation. Congrats! You can now add it to your own custom rom or just use it on your own device.
I hope this helps some of you by the way. Feel free to respond to this thread if you have any questions or comments regarding the Samsung QMG boot animation creation process. Thank you!
----
HERE ARE SOME SAMPLE ANIMATIONS THAT I'VE MADE USING THESE STEPS:
HONOR 8 Boot Animations
https://forum.xda-developers.com/showthread.php?p=70645944
"ASCENSION" Boot Animation
http://forum.xda-developers.com/showthread.php?p=70324907
"ASH vs EVIL DEAD" ANIMATION(w/ Sound):
http://forum.xda-developers.com/android/themes/boot-animation-ash-vs-evil-dead-sound-t3307025
"TWILIGHT ZONE" ANIMATION(w/ Sound):
http://forum.xda-developers.com/showthread.php?p=64538922
"DOS STYLE" ANIMATION(For Galaxy Core Prime).
http://forum.xda-developers.com/showthread.php?p=64186973
HERE'S THE SIMPLE ANIMATION THAT I MADE WHILE CREATING THIS TUTORIAL TOO.
http://forum.xda-developers.com/showpost.php?p=64093741
Please be sure to hit the "Thanks" or Donate button below if this helped you out!
I've tried this multiple times and am still not able to boot after swapping the files, changing the permissions and rebooting the device. I've also tried multiple settings in the duration ranging from zero to 30 (which happens also to be the amount of frames in my image sequence). the only alteration I've made from this guide (which I believe to be irrelevant) is the naming of the pings, in which I just left them named 001, 002 so forth without any prefix. Oh also I have left the closing boot in place (figured I'd change it after I get the first one working), that wouldn't be a big deal would it (The beginning and ending boot animation being different)? Oh btw, I have also tried with loop on and/or off, neither booted for me. Am I missing something? The images were in 480x800 resolution as per the device. I feel like I really should have had it right the first time. This is the guide I was following originally http://forum.xda-developers.com/gal...animations-t2217795/post39844577#post39844577 (obviously with the specs changed for my device), which is similar to this guide just not as detailed or in depth maybe, but I've followed the steps and I just can't seem to be able to duplicate the results. Maybe I could upload the images or my boot that I created or something for you to look at but I dunno if that would even help or what that would accomplish.
---------- Post added at 04:59 AM ---------- Previous post was at 04:57 AM ----------
Koognod said:
I've tried this multiple times and am still not able to boot after swapping the files, changing the permissions and rebooting the device. I've also tried multiple settings in the duration ranging from zero to 30 (which happens also to be the amount of frames in my image sequence). the only alteration I've made from this guide (which I believe to be irrelevant) is the naming of the pings, in which I just left them named 001, 002 so forth without any prefix. Oh also I have left the closing boot in place (figured I'd change it after I get the first one working), that wouldn't be a big deal would it (The beginning and ending boot animation being different)? Oh btw, I have also tried with loop on and/or off, neither booted for me. Am I missing something? The images were in 480x800 resolution as per the device. I feel like I really should have had it right the first time. This is the guide I was following originally http://forum.xda-developers.com/gal...animations-t2217795/post39844577#post39844577 (obviously with the specs changed for my device), which is similar to this guide just not as detailed or in depth maybe, but I've followed the steps and I just can't seem to be able to duplicate the results. Maybe I could upload the images or my boot that I created or something for you to look at but I dunno if that would even help or what that would accomplish.
Click to expand...
Click to collapse
Also found this page regarding framerate description http://forum.xda-developers.com/showthread.php?t=2189934 Still no help to me though, unfortunately...
Koognod said:
I've tried this multiple times and am still not able to boot after swapping the files, changing the permissions and rebooting the device. I've also tried multiple settings in the duration ranging from zero to 30 (which happens also to be the amount of frames in my image sequence). the only alteration I've made from this guide (which I believe to be irrelevant) is the naming of the pings, in which I just left them named 001, 002 so forth without any prefix. Oh also I have left the closing boot in place (figured I'd change it after I get the first one working), that wouldn't be a big deal would it (The beginning and ending boot animation being different)? Oh btw, I have also tried with loop on and/or off, neither booted for me. Am I missing something? The images were in 480x800 resolution as per the device. I feel like I really should have had it right the first time.
Click to expand...
Click to collapse
If you set the duration to 0 you will see nothing. It should be at least 20 or 30 probably, but I'm not sure how elaborate your animation is or how often you want it to change. If you look at my animation everytime it changes color that's 50 duration x 10 frames. The duration by the way is in milliseconds. You're right about the image names though. The title doesn't really matter as long as alphabetically & numerically it falls in the right order. Maybe try starting at "000" though. Also, are your images in PNG format? Again too, make sure that the number of frames matches the number of images in each of your animations as well.
I realize that now, I only had it set to zero the very first time I tried to render (have tried at least 4 times since then starting at 1 and most recently at 30). I will try next extending the duration to 80 maybe. Oh also i have gone back to look at the files and I did start with 000 although I believe this to be necessary only so you can drag and drop the images into the software and have them still be in order.
Sent from my OG 420 using Tapatalk
Koognod said:
I realize that now, I only had it set to zero the very first time I tried to render (have tried at least 4 times since then starting at 1 and most recently at 30). I will try next extending the duration to 80 maybe. Oh also i have gone back to look at the files and I did start with 000 although I believe this to be necessary only so you can drag and drop the images into the software and have them still be in order.
Click to expand...
Click to collapse
Yeah, name doesn't really matter just the sequence. The duration will probably always do better higher than 30 I think too unless you have a very low number of frames. How many frames do you have for each animation btw?
Sent from my SM-G360T1 using Tapatalk
4 for some 2 for the rest. Theres only 30 frames in all
Sent from my OG 420 using Tapatalk
---------- Post added at 06:02 AM ---------- Previous post was at 05:54 AM ----------
So 80 didn't work, still bootlooped =(
Sent from my OG 420 using Tapatalk
Koognod said:
4 for some 2 for the rest. Theres only 30 frames in all.
Click to expand...
Click to collapse
So, you have about 15 frames for bootsamsung.qmg and 15 for bootsamsungloop.qmg then maybe? Are you duplicating some of the images like I mentioned above or is each one different? Do you want it to loop at the end or just hang on a final image? You can go as high as 5,000 duration if you just have one or two images that you want to hang on in the bootsamsungloop.qmg, but I found that that doesn't work as well as just duplicating some of the images and providing a lower duration(ie. frame rate). Also, if you have a significantly low amount of frames and/or duration too, it may be that it's happening but it's just flickering by too fast.
Sent from my SM-G360T1 using Tapatalk
bogarty said:
So, you have about 15 frames for bootsamsung.qmg and 15 for bootsamsungloop.qmg then maybe? Are you duplicating some of the images like I mentioned above or is each one different? Do you want it to loop at the end or just hang on a final image? You can go as high as 5,000 duration if you just have one or two images that you want to hang on in the bootsamsungloop.qmg, but I found that that doesn't work as well as just duplicating some of the images and providing a lower duration(ie. frame rate). Also, if you have a significantly low amount of frames and/or duration too, it may be that it's happening but it's just flickering by too fast.
Sent from my SM-G360T1 using Tapatalk
Click to expand...
Click to collapse
No sorry, I only have made one folder so far because I was only focusing on getting the beginning animation working. so 30 frames for the total sequence. Also, if it were flickering by to fast my device would still be able to boot all the way, I could imagine, which has not been the case.
Koognod said:
No sorry, I only have made one folder so far because I was only focusing on getting the beginning animation working. so 30 frames for the total sequence. Also, if it were flickering by to fast my device would still be able to boot all the way, I could imagine, which has not been the case.
Click to expand...
Click to collapse
It's true it would just kick to the standard samsungbootloop.qmg after your animation if you only did the first part and only replaced the bootsamsung.qmg. I would say first though maybe, just put back the originals to make sure it still boots fine, then try making it work. Also, remember that the more complicated your animation is, the more complicated this process will be. Make sure your permissions still say that they're "rw-r--r--". Make sure that resolution is right and everything else is too, etc. Did you download the newest theme manager too? The link I provided should be fine. Also, if there's any steps you skipped because maybe you already did some stuff, maybe try starting from the beginning(except the image creation of course), but once you get it working right I think it's pretty easy to make more from here on out. Maybe try the animation emulator in theme manager too on the home tab. It won't show you the whole display, which is normal, but it will show you the rate of change between frames and whether or not it seems to be working.
Sent from my SM-G360T1 using Tapatalk
It plays in the emulator. Also I have been restoring system from saved recovery in order to replace my custom animation in between flashes. My permissions have been set proper as well. Resolution too it says 480x800. It really confused me as well that my animation not working caused my phone to bootloop but as I've said I really can't find a step I'm missing.
Sent from my 000 using Tapatalk
Koognod said:
It plays in the emulator. Also I have been restoring system from saved recovery in order to replace my custom animation in between flashes. My permissions have been set proper as well. Resolution too it says 480x800. It really confused me as well that my animation not working caused my phone to bootloop but as I've said I really can't find a step I'm missing.
Click to expand...
Click to collapse
Yeah it should be working if you followed those steps. We have the same device after all. The only thing I could say is maybe try making a super simple one first and get that working, then slowly build on it with more images as you go along. I rebuilt these files while I was making this tutorial to make sure I didn't miss anything and it still works fine. Also, you don't have to reflash the whole rom everytime to go back. Just copy back the originals. That's why I definitely always prefer copying over moving myself, as that way you always have the originals somewhere on your device.
Oh snap, finally saw a glimpse of it!!
Sent from my 000 using Tapatalk
---------- Post added at 07:36 AM ---------- Previous post was at 07:36 AM ----------
Think I might have maybe figured out the issue.
Sent from my 000 using Tapatalk
---------- Post added at 07:45 AM ---------- Previous post was at 07:36 AM ----------
I believe the culprit was maybe the fact I hadn't picked the same device in samsung theme manager you recommended. I had read previously it didn't matter. Once I tried again following your guide more thoroughly I got it to boot.
Sent from my 000 using Tapatalk
---------- Post added at 08:02 AM ---------- Previous post was at 07:45 AM ----------
Thank you again, sorry about giving you such a hard time. Especially since your tutorial is on point.
Sent from my OG 420 using Tapatalk
Koognod said:
Oh snap, finally saw a glimpse of it!!
Think I might have maybe figured out the issue. I believe the culprit was maybe the fact I hadn't picked the same device in samsung theme manager you recommended. I had read previously it didn't matter. Once I tried again following your guide more thoroughly I got it to boot. Thank you again, sorry about giving you such a hard time. Especially since your tutorial is on point.
Click to expand...
Click to collapse
I'm so glad to help!
REQUIREMENTS:
- Samsung Theme Designer:[/B] http://developer.samsung.com/bada-themes/tools-sdks/Samsung-Theme-Designer-2-0-4
- Photoshop
Click to expand...
Click to collapse
Could this also be accomplished with Gimp photo editor?
---------- Post added at 07:57 PM ---------- Previous post was at 07:56 PM ----------
also can they be made to 60 frames instead? for smoothness purpose
drago10029 said:
Could this also be accomplished with Gimp photo editor?
also can they be made to 60 frames instead? for smoothness purpose
Click to expand...
Click to collapse
Not sure what Gimp photo editor is, but probably not as the QMG format is pretty exclusive to Samsung. Why wouldn't you want to use the theme designer?
You can use as many frames as you want though. My last animation had about 200 frames. It just depends on how much you want the animation to change. The example I gave in this tutorial was just a simple one to make it extra easy to learn. You can do up to 500 duration btw to make the frame last longer, but if it's still not long enough, then you just have to duplicate some frames.
bogarty said:
Not sure what Gimp photo editor is, but probably not as the QMG format is pretty exclusive to Samsung. Why wouldn't you want to use the theme designer?
You can use as many frames as you want though. My last animation had about 200 frames. It just depends on how much you want the animation to change. The example I gave in this tutorial was just a simple one to make it extra easy to learn. You can do up to 500 duration btw to make the frame last longer, but if it's still not long enough, then you just have to duplicate some frames.
Click to expand...
Click to collapse
I meant can I use GIMP instead of photoshop? it's a open source free photo editor. Photoshop is like a lot of money that some people don't have
drago10029 said:
I meant can I use GIMP instead of photoshop? it's a open source free photo editor. Photoshop is like a lot of money that some people don't have
Click to expand...
Click to collapse
Oh shoot...haha! Sorry. To me the term "Photoshop" is a specifically universal term for just making decent images. It won't matter where you make your animation, but it will matter for your Core Prime that they are exactly 480x800 resolution. They should probably be PNG format too if you can produce that. Also, obviously, the names of each frame must be numbered properly.
bogarty said:
Oh shoot...haha! Sorry. To me the term "Photoshop" is a specifically universal term for just making decent images. It won't matter where you make your animation, but it will matter for your Core Prime that they are exactly 480x800 resolution. They should probably be PNG format too if you can produce that. Also, obviously, the names of each frame must be numbered properly.
Click to expand...
Click to collapse
cool thanks, and is there anyway to make a bootanimation run 60 fps instead of 30?
drago10029 said:
cool thanks, and is there anyway to make a bootanimation run 60 fps instead of 30?
Click to expand...
Click to collapse
Well, 30 was just the number of frames I used total for each animation in the example. Not the frames per second. If you had 60 frames per second for a 2 minute boot animation, then you'd have to make 7,200 images, so you don't want that. It doesn't do that anyway though. The animation is more like a gif than a video, where each frame lasts awhile. The speed is altered in "duration" too, but I believe it's in milliseconds, which isn't very fast. That's why you might have to duplicate some frames to allow for enough time so that each image can be seen.
For instance, in my DOS animation(linked in the OP), I used about 185 frames(which was 36 images duplicated) for the first animation, but only 20 frames(which was only 4 images duplicated) for the second animation(ie. the looping part at the end). In other words, I had to be duplicate each image 5 times and put the each animation at a duration of 450, so that it would last long enough to appear at the proper speed, as I don't think the duration goes higher than 500ms. There's an emulator in theme designer where you can preview your animation too, but unfortunately it doesn't seem to show the true speed, so you may have to just make the animation a few times and test it out each time until it displays at the speed you want. Anyhow, I hope this helps.
How's it going, so I've started playing with creating custom boot animations on my SCH-I545 running on OF1.
Instead of using a photo shop program I've used a video to jpg converter to create image files from some anime vids then built them into qmg on Samsung Theme Designer.
I've also have successfully created sound clips to go with the bootup. I use a free online ogg converter. I've had full success with this process.
Its just a matter of tweaking the fps/duration to get "my desired" play out length. Once I get this down I'd like to share my animations. Could you direct me to the best thread to post them to.

Categories

Resources