initFlashFileGenerator - Windows Mobile Development and Hacking General

Ok guys, i've been using the Molski.Biz HTC Wizard Custom Rom Cooking Pack and started to create my own rom. I was quite tired to create/modifing the initFlashFile.dat file every time by hand.
So i created this little tool. It will regenerate automaticaly the structure and will merge it with the original initFlashFile.dat.
{
"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"
}
Requirement : Java Runtime (exe should indicate if it's needed or not)
Usage :
1 - modify the initFlashFileGenerator.bat and provide the good uri for 3 variables
set ROOT=C:\DEVPACK\ROMDUMP\root"
set INPUT="C:\DEVPACK\ROMDUMP\dump\initflashfiles.dat"
set OUTPUT="initflashfiles.dat"
ROOT : containe the file structure you want to integrate
INPUT : The original initflashfiles.dat
OUTPUT : The generated initflashfiles.dat (original merged with the discovered structure provide by INPUT)
Click to expand...
Click to collapse
2 - run the .bat file
3 - replace the original initflashfiles.dat with the new one
4 - You will need to copy all the new files from the root directory (and sub content too) into the C:\DEVPACK\ROMDUMP\dump\ to be able to recreate a working rom
You'll also find the initflashfilegenerator.excluded. It's not really usefull except if you want to exclude directory creation
(Don't forget to double every \ in every path)
NOTE : \Windows will never be "created in" and files inside \Windows\ either but all subdirectories will generated
Click to expand...
Click to collapse
Hope it helps, any comment or feature idea will be appreciate
Source will not be publish mainly because it's crappy one... But usage of this tool is free !

Wow....sounds great!
Gonna test it out and add it to the pack in a couple of days!
Thanks,
Molski

Hi Naboleo,
You helped me with these *.hv to *.txt files, now you're helping again! Thank you, saves a lot of work. I will modify the batch to my needs!
Leo

Greate software man
Thanks alot

Related

[SKIN] My Program Icons - 7 April (Glossy Icons)

Hey folks,
i have had some requests for my program icons so i decided to post them
I will add more when i have more time
{
"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"
}
=====
NOTES
=====
1. This cab will install the following
icon.dll (required for the icons to your windows directory)
Folders with my icons to your start->programs menu
2. The folders that will be installed have been given an ENGLISH name. If you have your default folders in another language, you will end up with your original ones PLUS my own folders.
===================
CUSTOMIZE YOUR FOLDERS
===================
1. Using a file explorer navigate to /windows/start menu/programs
2. Every folder (from my skin, has its own icon.lnk file. You can copy that to any folder you like to give it the same icon
3. Put that mess in a nice organized order!!!
==============
DOWNLOAD MIRROR
==============
Download from Rapidshare
Thanks, they are cool. looks great with the new rhodium icons.
Thanks
Excellent. These might end up in my ROM, if I can get evrything else working. Seems like nobody wants to share the Rhodium commanager, which is all I need to make more progress. Thumbs up
Here's some I put together. Not quite as nice, but effective.
Same install instuctions as Gianni86's folder icons.
jmckeejr said:
Excellent. These might end up in my ROM, if I can get evrything else working. Seems like nobody wants to share the Rhodium commanager, which is all I need to make more progress. Thumbs up
Here's some I put together. Not quite as nice, but effective.
Same install instuctions as Gianni86's folder icons.
Click to expand...
Click to collapse
try this mate
http://forum.xda-developers.com/showpost.php?p=3583785&postcount=94
Hi Giannis86,
Could you please list the Folder namesyou have created........
its the same names as in the screenshot (1st post)
Very nice, Thanks It definetly cleans everything up. You sure have been busy, I also love your FingerKeyBoard!

[APP] htc programs.EXE very smooth scrolling

hi guys i have this program extracted from my friend touch dual
it let you scroll and view your programs folder very fast and smooth
{
"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"
}
Name : htc programs
Size : 150kb
Info : 3X FASTER than the original program folder
Comparing Video : http://www.youtube.com/watch?v=YWlZC_ZPIXA
so now i need your help to change the original programs folder path to this EXE
YOU NEED TO TRY IT
installing: unzip it and copy it anywhere in your diamond and make shortcut to startmenu
Very smooth indeed. Nice one mate.
Got a question though. How do you create a shortcut in the start menu to a program like this that hasn't been installed?
look at this - Link Creator 1.3 ... it should do the job... (if u are using english rom)
Wonderful
Is there the settings.exe?
I think this is the same as something that should already be on your phone. Check in \Windows for a file called folderview.exe (it's on my Fuze and I presume it's in Diamond's as well). I've seen this in the past since the tweak to get 4 columns in the programs directory will not work for this file. What I've done n the past is set this as a soft key to make it quicker to get to.
Aqrab said:
so now i need your help to change the original programs folder path to this EXE
Click to expand...
Click to collapse
Renaming this file to folderview.exe and cooking it in the ROM overwriting the existing file wont help?
DevilzGtr said:
Very smooth indeed. Nice one mate.
Got a question though. How do you create a shortcut in the start menu to a program like this that hasn't been installed?
Click to expand...
Click to collapse
use resco explorer
1-hold on the file you want to make shortcut for
2-a screen will popup
3-press send/send to startmenu
wow thanks for this! makes such a big difference
Where did you get the background from?
Thanks guys for the solving my shortcut program. It was really bugging me that I didnt have a shortcut to the TomTom 7.9.

{BiGnAdAd HowTo} Want to Learn How to Make a Cab File? Step by Step Screenshots!

This How To will show you step by step how to create a cab file.
You can cab up anything you want to put on your phone in ANY directory...
Cab Manager Program
I use and recommend WinCE Cab Manager (Get it HERE)
it has a 30 day free trial and is $99 after that...
Sure there are more out there... Feel free to Post
Getting Started
First you will need a file to cab. We will start with a basic single manila file.
i have attached one if you don't already have..
* Here you can simply add a document/picture to your my documents folder
After Installing Open WinCE Cab Manager
{
"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"
}
Enter Name's for Company and whatever cab your making
Just Click Next..
Just Click Next Again....
And now click finish...
Now this should be what you have. Displays all info for cab file
Now we need to add the files.
From windows explorer just click and drag the files right on top of Files...
Once you do that the following dialog box pops up...
Here you can change name or attributes
Click Location tab
Here you can choose what directory to put file(s) in. you can also add a new folder
Click Ok
Now back at main screen
Here you can "Allow Uninstall"
also you can Compress
I recommend compressing for files over a meg or two
From the menu click CABINET...PROPERTIES...
Here you can change ALL properties of cab file
Click OK...
Back at the Main Screen...
All left to do is review and Save
You can also add Shortcuts and make changes to the registry...
Now to Save...Choose location and SAVE!
reserved......
reserved....
bignadad said:
reserved....
Click to expand...
Click to collapse
Awesome, thank you!! I'd been looking at some other "how-to-cab" guides, this one seems to be as simple as can be
Looks like I've got my weekend project all lined up now

[SCRIPT] APK Manager like UI interface to edit m10 files

Based on apk manager script I have created a script which gives ease to modify m10 files. Copy script.bat into folder where m10tools binaries exist (at location where m10decoder.exe, m10encoder.exe, etc...).
{
"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"
}
Download Script File Here
Installation:
1. Create folders Decoded, Encoded and m10_files at location where m10tool binaries are placed.
2. Copy script.bat at location where m10tool binaries are placed.
How to use
1. Place you m10 files in m10_files folder.
2. Select desired operation as shown in screen shot.
Change Logs
Code:
[B]Version 1.0[/B]
Initial release
Let me know if anyone needs any help on this
Hmmm... We need something like this impleted in apkmanager... Looks great amresh!
worked like a charm, thanks a ton amresh
Man thats great thanx!
Senergized in 3D
Can't believe I haven't thanked you yet. I've been using this for about a month now, and one thing everyone should know, is this tool has an extra advantage. Contrary to the m10 Editor UI Application, this script uses straight command line which makes all of your sense 3.0 m10 images decode with the same file name every time, where as the UI will give you random file names every time. And this is way simpler
Amresh, This was an ingenious idea and I can't thank you enough!
mpitcher225 said:
Can't believe I haven't thanked you yet. I've been using this for about a month now, and one thing everyone should know, is this tool has an extra advantage. Contrary to the m10 Editor UI Application, this script uses straight command line which makes all of your sense 3.0 m10 images decode with the same file name every time, where as the UI will give you random file names every time. And this is way simpler
Amresh, This was an ingenious idea and I can't thank you enough!
Click to expand...
Click to collapse
Has this program been optimized to work with sense 3..5?
Sent from my A500 using xda premium
i tried to modify the htc love apk. m10 files, but the thing is when i separate the dat and png files the folders are empty...plz help if u can..
sweet, thanks, will give it a shot

[Tool][Windows] Cassini.1.2 - Now Compress Any App! (*)

{
"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"
}
Now Support all Apps! (*)​
Download - Cassini.1.2 - 3.5MB [Google Drive]
Download - Cassini.1.2 - 3.5MB [Dev-Host]​
About
First of all, the reason that this program took this much time to come out is because my career-deciding exams where on. So I'm sorry about that.
The newest edition features a GUI - like UI that helps user to easily create new projects (for rom or collection of apps) and manage them.
With the new algorithm the for compression you can ensure that almost all of your apps get compressed successfully! You just have find the perfect set of settings for that particular app. Use it ti compress apps and get a performance boost for your phone as well as save some space!​
Setting Up your PC!
Note: You can skip this step if you already have Java installed on your PC, or you don't want to use the Sign Apk setting for compression.
Download The following resources first:
Java SE Run-time Environment 7 [ Java Dependencies For Signing APK tool ]
Now let's begin setting up your PC,
Install the above mentioned programs.
Go to Advanced System Properties.
It looks like this:
Go to Environment Variables, then create a new System Variable, having name JAVA_HOME and value as the path where you have installed the JRE.
It looks like this:
Now after creating the JAVA_HOME variable, search for Path system variable in the System Variables list. Now this is a bit tricky. Once found click on it and then on Edit. Move the cursor to the end of the string till you see ";" (without quotes), add the path to your JRE bin folder just after it.
It looks like this:
Manual for Cassini.1.2 - Information about the program.​
Include this in your signature if you like and support Cassini and you are using the apps compressed by Cassini!
​
:good: Hit thanks if you liked it! :good:​
Screens for Cassini.1.2
Screenshots of Cassini.1.2

Categories

Resources