Manila editing and lua:tutorial - Windows Mobile Development and Hacking General

Hey people,
Many people were pm'ing me n asking me to write tutorials on how to edit manila files n write lua.
As its a very less known topic im one of the few people who knows how to write it and edit it.
I will try to explain the basics first n then the advanced stuff
WHAT WE DO
---
To be frank
manila editing is complicated.Not cause its hard but cause it need a lot of imagination
UnLike other languages that uses graphics like flash or vb or whatever lua and manila editing DOES NOT give you a visual workspace
You have to image what you write in real time and so it needs a lot of trial /error
THE BASICS
What we need
1>m9editor
the files we want to work on
1>As the basics i would like to explain how the background for all tabs mod was made
1.we have a file called 5c9aa261_manila.
for me this is the most important file that a developer needs
in manila this is a file that controls backgrounds
1>For example it runs on every tab and executes its functions on every tab
It is the shadow of tf3d
So anything that you want in the background in every tab or u want to be seen in every tab u put here
So by common sense the slider and the background are in this file
Now what we do for the bgfor all mod
STEP 1
1>Make a png file size 512 X 512
Manila cant take a image of any size.Therea re fixed sizes.i personally always use the size 512 X 512
So now we have a image named lets say sample.png
STEP 2
copy the file 5c9aa261_manila from the windoes folder and open it in m9editor
doubl click it
NOw the hard part
the structure of a manila file was something that took me loads of thinking to figure out
a basic structure
Group (named whatever)
--FIle in group(top most layer)--this is what is seen right on top
--File in group(second layer)--this is what is seen underneath the upper file
and so on a and so forth
LUA
lua files are action script that are recognised by the tf3d
usually lua files are either of two types
1>binaries(damn its just a name nothing more)
using the search button you can search for "binary"
click on it and you will see code in it underneath
2>files that we ad..they always end in .lua ..so using search search for ".lua" and you will find it
Lua is scanned through by tf3d when u start it the first time
lua is usually at the top of the file
so for example lets write a little lua
Code:
money=function()
rotastrainsdonations=whatpeopledonated
if rotastrainsdonations>200$ then
title.String="rotastrainsrich"
else
title.String="need smore donations"
end
end
slider.onPress:money
this is seen by tf3d
whenever you will press the slider this function will be called
and it will display what the function does!!
So when u move around in the file you will see groups and files in them..
if you understand this much its enough to make whatever the hell u want
ok now getting back to what we want to do
Step 3
Searching for the existing background
images are always .qtc files
So search for ".qtc"
you will come to a file called "backgroundlevel1..blahblahblah.qtc"
now that we found it we need to place the file we want on top of it..so thats its seen in right on top and in every tab
so how to make a file that we want?heres secret no1
1>copy any qtc file thats existing by right clicking its entry ..for example the file now is "backgroundlevel1..blahblahblah.qtc"
right click copy
now right click on the entry again
click paste below
so now we have two entries of the same name
Group
--backgroundlevel1..blahblahblah.qtc
--backgroundlevel1..blahblahblah.qtc
change the top entries name
---change this name to whatever you want--for example firstbg
so now we have two entries
--firstbg.qtc
--backgroundlevel1..blahblahblah.qtc
now click ok
move your mouse over the entry
a small popup will appear
with a name like gftfgrh455_manila
thats the name of your file
Write it down somewhere
Click save
owerwrite
Step 4
now we need a qtc file to put ur image in
just take any _manila file from the windeos foler which is a image file
For example the file that i have used in my panoramic background mod
i will attach that here
paste it in the same place as the 5c9aa261_manila file
open it in m9editor
right click it
save as png
open the png file
paste your image in
save
open m9editor
right click the qtc file
load from png
rename the file to what we got earlier "gftfgrh455_manila"
done
Now paste both these files in ur widows folder
and walla
bgforall tabs in a second
This is a basic thing to do
Next step will be to integrate images with lua..
!!
Cheers
Rotastrain

Thank you, thank you!
Awesome... exactly what I was looking for! Please, do go on....
xoxo Maureen

thats a great idea!
you are tha man!

This is very nice... I can not wait for the followup. image editing is pretty nice but I am having more trouble with decompiling the lua files. Also is there an easy way to break out the scripts and files into there directory structure? so that we can find all the internet tab items in one folder and all the common in another? I tried a few of the lua kitchens that I have seen around but most of them seem to crash when I try to use them on the 2.5 manila files. is there a difference?
Thanks for this. It is nice to see someone sharing there knowledge and expertise.
SoBBie

Related

Black-based Blackstone Dialer

Thanks to the great job from all the greater guys for the Blackstone dialer.
But I am thinking whether anyone has a way to change the current white-based dialer to a black-based colour scheme. Thanks.
hotiron07 said:
Thanks to the great job from all the greater guys for the Blackstone dialer.
But I am thinking whether anyone has a way to change the current white-based dialer to a black-based colour scheme. Thanks.
Click to expand...
Click to collapse
yes unpack the folder of the dialer and go through and manually change each and every part of the dialer using your favourite image editor. Repackage it up and wait for the adulation of the masses, or more likely someone to start moaning at you because you haven't done it exactly as they want you to... ;p
you mean the folder on the ppc itself or the cab provider ? ...
i don't mind doing the photoshop work if i have the jpg/gif/etc ... but i still need someone to package it into a cab ... as i don't know how
I too would like to know if there's a simpler way to do this.
I'm happy to edit all the files myself in photoshop, but...
When I extract the cab file i recieve alot of files with numerical extensions.
Fine and dandy, i've gone through a few of them and changed the extensions so that they are jpg/png etc just so i can view what they are.
Can anyone with previous experience of editing cab files like this write a simple howto, i.e. how to know which files are which and what format they should be saved in jpg/png/bmp/ico etc.
i saw from the _setup.xml file that all the filename are mentioned inside but was wondering if the marker of this cab can release the original package before cab-ing so that I can photoshop all the image file individual before they cab it again ...
THJahar said:
I too would like to know if there's a simpler way to do this.
I'm happy to edit all the files myself in photoshop, but...
When I extract the cab file i recieve alot of files with numerical extensions.
Fine and dandy, i've gone through a few of them and changed the extensions so that they are jpg/png etc just so i can view what they are.
Can anyone with previous experience of editing cab files like this write a simple howto, i.e. how to know which files are which and what format they should be saved in jpg/png/bmp/ico etc.
Click to expand...
Click to collapse
It sounds like you didn't use a decent program to extract the cabs...
Try http://www.codeppc.com/telechargements/msceinf/msceinf.htm instead
oh and if you want some background reading ....
http://www.cabextract.org.uk/wince_cab_format/
fards said:
It sounds like you didn't use a decent program to extract the cabs...
Try http://www.codeppc.com/telechargements/msceinf/msceinf.htm instead
oh and if you want some background reading ....
http://www.cabextract.org.uk/wince_cab_format/
Click to expand...
Click to collapse
wow ... this make it so much simpler ...
but i see most of the image files are already inside, just got to switch the white image to black and vice-verse ...
hotiron07 said:
wow ... this make it so much simpler ...
but i see most of the image files are already inside, just got to switch the white image to black and vice-verse ...
Click to expand...
Click to collapse
Give it ago, I think the pink images need to stay pink though.
I can cab it up if you need to but there are some free cabmakers around..
They aren't hard to use, the main problem I've found is giving them enough permissions to overwrite files..
this one is supposed to be okay, but I haven't tried it.
http://www.aperitto.com/content/category/23/226/lang,en/ LOL, okay I have tried it now, it's working under WINE on my ubuntru machine
Wince cabmanager is pretty nice as well, but it costs $99, the demo does 15 cabs I think..
hotiron07 said:
wow ... this make it so much simpler ...
but i see most of the image files are already inside, just got to switch the white image to black and vice-verse ...
Click to expand...
Click to collapse
If you do not want to pay for a cab maker to rebuild a cab after you change an image, you can do this by following these steps :
Run MSCEInf. Open the Cab you want to modify (or the TSK which are also Cabs) with the first button.
Make sure that the 9th button is not with red cross. Else click on it. This make sure that extraction preserves Folders names.
Click on the 7th button to extract all files.
Select or create a folder for the extraction.
Extraction is done !
Modify the file you want in the folder or subfolder without changing its name.
Put at the root of the folder you selected or created the Microsoft program (free) CABWIZ. (Do a G....E search)
Open a Dos Windows in the folder (CMD...).
Msceinf has rebuilt the Inf File a the root of your folder so you can do in CMD mode : Cabwiz "name of the inf file".
And your new CAB is at the root of your folder.
Easy, but not really automatic, nevertheless cheaper than with WinCE...
It would be SO cool if someone made a black Blackstone dialer, especially for black Xperia X1s.
I REALLY like the "slide to answer or hangup" function of the blackstone dailer, rather than just the "push to answer" version on the stock Xperia ROM/firmware.
It would be SO cool if someone made a black Blackstone dialer, especially for black Xperia X1s.
I REALLY like the "slide to answer or hangup" function of the blackstone dailer, rather than just the "push to answer" version on the stock Xperia ROM/firmware.
BenThon said:
If you do not want to pay for a cab maker to rebuild a cab after you change an image, you can do this by following these steps :
Run MSCEInf. Open the Cab you want to modify (or the TSK which are also Cabs) with the first button.
Make sure that the 9th button is not with red cross. Else click on it. This make sure that extraction preserves Folders names.
Click on the 7th button to extract all files.
Select or create a folder for the extraction.
Extraction is done !
Modify the file you want in the folder or subfolder without changing its name.
Put at the root of the folder you selected or created the Microsoft program (free) CABWIZ. (Do a G....E search)
Open a Dos Windows in the folder (CMD...).
Msceinf has rebuilt the Inf File a the root of your folder so you can do in CMD mode : Cabwiz "name of the inf file".
And your new CAB is at the root of your folder.
Easy, but not really automatic, nevertheless cheaper than with WinCE...
Click to expand...
Click to collapse
Nice one Benoit,
Nothing beats MSCEInf for extraction
That aperitto one looks pretty neat for all inclusive building including reg editing etc.. damn site better than wince cabmaker and is free (for non commercial), so far so good..
I have installed the blackstone dialler by itje its cool but i thought it was this big digit one from blackstone modded for the X1.
Ive tried to download the big digit one from Blackstone but get no dl link by email, I have big sausage fingers and keep making mistakes with the default size touch dialler on the X1 and need a bigger digit keyset to aim my stubby fingers at while making calls.
Is there a big digit dialler available yet for the X1?.
Edit,: Just found this, a nice touch on the dialler by itje is the bluetooth headset icon that when connected changes from the default bt icon to a headset !

How do I access phone content to reskin?

How do you access all of the images/files for the os? There are some things Id like to swap out here and there. Try re-skining a few things. Do I need a kitchen?
Any help would be appreciated!
Thanks
-Aaron
CFC_GUI would be the ticket you are looking for.
Depending on what you are trying to edit depends on if they are manila files, png, bmps. what are you trying to edit?
CFC GUI seems like the ticket! I cant seem to locate the manila folder to edit the file though.
aaronbass said:
CFC GUI seems like the ticket! I cant seem to locate the manila folder to edit the file though.
Click to expand...
Click to collapse
The manila files are all stored in the windows folder but it is not a simple as editing the image and then putting it back. Make folder on your desk top for the files. Once you have CFC loaded up then go to tools and export to png, then you can edit them. once you edit the png files then use cfc to make them QTC files again and move them to your device. it will take some trial and error and maybe a reset or two to get the hang of it. Just read all you can on CFC and manila file editing
Active Sync the phone and the "windows" folder is nowhere to be found.
I have been reading about CFC GUI and I understand how stuff is done but, I cant find the windows folder...makes me feel retarded
aaronbass said:
Active Sync the phone and the "windows" folder is nowhere to be found.
I have been reading about CFC GUI and I understand how stuff is done but, I cant find the windows folder...makes me feel retarded
Click to expand...
Click to collapse
you just need to set the "show all files and folders" option in windows on your pc, then the windows folder on the phone will be visible
thanks man, found the folder and grabbed the files!
It's even easier then your making it. You can Active Sync , start CFC_GUI , go to Device, select "export files" , pick a folder to send them all to.

[Solved][Q] EXT packages + app.dat = duplicates of files in \windows\

I tried to keep the title as descriptive and short as possible, I hope it makes sense
I picked up the kitchen of nhathoa (a retired Topaz cook) hoping to get it customized to make it exactly the way I want but I'm running into some issues.
Long story short, I'm using Ervius Visual Kitchen (1.8.2) and I noticed that the EXT packages I added end up leaving two copies of the files, a copy under \windows\ and another one in the places I specified using app.dat using:
Code:
Directory("\Program Files\bla\"):-File("bla.exe","\Windows\bla.exe")
Is there some way to get rid of the copy under \Windows\ ??
I know that I could simply leave everything there and discard the app.dat files but I would really prefer having everything organized properly (I have a bit of an OCD when it comes to organizing everything neatly ).
I'm pretty sure that this is a rather simple and noobish issue but I couldn't find anything relevant by searching and I took a look at some ext packages by various cooks and noticed the same behaviour.
MusikMonk said:
I tried to keep the title as descriptive and short as possible, I hope it makes sense
I picked up the kitchen of nhathoa (a retired Topaz cook) hoping to get it customized to make it exactly the way I want but I'm running into some issues.
Long story short, I'm using Ervius Visual Kitchen (1.8.2) and I noticed that the EXT packages I added end up leaving two copies of the files, a copy under \windows\ and another one in the places I specified using app.dat using:
Code:
Directory("\Program Files\bla\"):-File("bla.exe","\Windows\bla.exe")
Is there some way to get rid of the copy under \Windows\ ??
I know that I could simply leave everything there and discard the app.dat files but I would really prefer having everything organized properly (I have a bit of an OCD when it comes to organizing everything neatly ).
I'm pretty sure that this is a rather simple and noobish issue but I couldn't find anything relevant by searching and I took a look at some ext packages by various cooks and noticed the same behaviour.
Click to expand...
Click to collapse
No, it's call Read-Only-Memory (ROM) and is the reason you can hard-reset your phone. Every file you cook into the ROM is in \windows. Two ways I know of to reduce the amount of files would be to zip them and have a mortscript unzip them to the proper location during customization or cook in a cab containing all of the files and have it run during customization.
That makes a lot of sense, I really feel ashamed that I didn't figure it out earlier
EXT packages seemed easier than bothering to read about customization but I guess it's time to start reading about this kind of stuff.
Thread marked as solved.
Thanks for the quick reply!
Yup, files in rom are in rom forever, or until you flash again, lol. The trick is to just run bla.exe from \windows. I would say that 90% of the time, bla.exe runs just fine out of the windows directory (especially if it's the only file in the package). When people create cabs, they naturally install the app in \program files, but in general apps don't need to be in a specific folder. If there are other files present, usually an .exe will search within its own folder for those files. So, if you just cook everything straight into windows, you'll be good to go. It's easy enough to test: just move all the files from program files to windows after installing a cab, fix the shortcut in the start menu, and then try to run the app. It's always a good idea to do a soft reset and try again (found this out the hard way many times). The one thing you have to watch out for is settings files, like .dat files. These files frequently have to be archived (not read-only). Particularly with apps that use net 3.5, if there's a setting file that is read-only, the app won't boot and you'll get an error message. The fix is to name the file settings-1.txt (or whatever) and have an app.dat rename it to settings.txt (and keep it in \windows).
Also, remember to fix the shortcut path in the start menu, and examine the registry entries to see if there are any paths for files present-you may need to change them to point to \windows (this could also be true in settings files).
mwalt2 said:
No, it's call Read-Only-Memory (ROM) and is the reason you can hard-reset your phone. Every file you cook into the ROM is in \windows. Two ways I know of to reduce the amount of files would be to zip them and have a mortscript unzip them to the proper location during customization or cook in a cab containing all of the files and have it run during customization.
Click to expand...
Click to collapse
This actually made me think a little bit. When you think about read only, I always thing can't delete or overwrite. Obviously I can run a cab and replace a file that is located in the \Windows directory, that leads me to believe there is a way to delete a file or maybe even replaced with an empty file of the same name.
You can over-write a rom file, but the rom file is still there. The file system just flags it somehow or another and tells the device to ignore it and instead use the new file.
TMartin03 said:
This actually made me think a little bit. When you think about read only, I always thing can't delete or overwrite. Obviously I can run a cab and replace a file that is located in the \Windows directory, that leads me to believe there is a way to delete a file or maybe even replaced with an empty file of the same name.
Click to expand...
Click to collapse
The new file you copy over goes into the "user" partition of the file system and windows knows to use that file instead. Once you delete this newly copied file from \windows, the old one from the ROM will take its place back in the filesystem.
Farmer Ted said:
Yup, files in rom are in rom forever, or until you flash again, lol. The trick is to just run bla.exe from \windows. I would say that 90% of the time, bla.exe runs just fine out of the windows directory (especially if it's the only file in the package). When people create cabs, they naturally install the app in \program files, but in general apps don't need to be in a specific folder. If there are other files present, usually an .exe will search within its own folder for those files. So, if you just cook everything straight into windows, you'll be good to go. It's easy enough to test: just move all the files from program files to windows after installing a cab, fix the shortcut in the start menu, and then try to run the app. It's always a good idea to do a soft reset and try again (found this out the hard way many times). The one thing you have to watch out for is settings files, like .dat files. These files frequently have to be archived (not read-only). Particularly with apps that use net 3.5, if there's a setting file that is read-only, the app won't boot and you'll get an error message. The fix is to name the file settings-1.txt (or whatever) and have an app.dat rename it to settings.txt (and keep it in \windows).
Also, remember to fix the shortcut path in the start menu, and examine the registry entries to see if there are any paths for files present-you may need to change them to point to \windows (this could also be true in settings files).
Click to expand...
Click to collapse
First of all, a small question about the underlined part, just to make sure that I got it right: it won't be exactly a rename just a copy with a different name, correct?
Some of the apps I use need a specific directory structure for the resources and files they use, so just dumping them in one big folder won't work.
Another possible issue that I think I'll run into is having two files sharing a generic name (let's say settings.xml) while each belongs to a different app. I didn't personally encounter such a situation just yet but my packages are still a work in progress and I did see a post or two about this while searching.
I was still hoping there would be a simple way to arrange the files in folders while keeping them under \windows\ but I can't find such a method either. Doesn't seem like I have other options than to decided on a firstboot customization method: Runcc, autorun, xda_uc or something that I haven't read about yet...
"Runcc" is currently used in the base kitchen so that gives it an edge right now.
Edit:
Remembered that I had another question, and it's probably not worth a new thread.
I was looking at how to manually create .lnk files and I noticed something that I didn't understand and couldn't find info about.
For example:
Code:
21#"\Windows\MSDict.htm"
What exactly does the "21" refer to?? I tried changing it randomly to other values a couple of times and it didn't effect anything.
NRGZ28 said:
The new file you copy over goes into the "user" partition of the file system and windows knows to use that file instead. Once you delete this newly copied file from \windows, the old one from the ROM will take its place back in the filesystem.
Click to expand...
Click to collapse
Ok now that makes a lot of sense. I guess I'm just use to Android and being able to see that separate partition. Thanks for the explanation.
That sort of leaves me to another question. Can't someone develop a way to overwrite directly to the "system" partition? It would almost be like a root/superuser for WinMo.
Sent from my HTC Evo 4G!
MusikMonk said:
First of all, a small question about the underlined part, just to make sure that I got it right: it won't be exactly a rename just a copy with a different name, correct?
Click to expand...
Click to collapse
Yup, that's correct. Another approach is to take all similar files that go into windows and stick them in a zip file that unzips to the windows directory. I do that in a few cases (power radio comes to mind; it has an ini file). What I do in most cases though is use a backup/restore mortscript. The backup copies all settings files (and similar things) on my device to my sd card. During customization, the restore copies them back. It's convenient for apps where I change the settings a lot and I don't want to have to constantly fuss with the packages.
Some of the apps I use need a specific directory structure for the resources and files they use, so just dumping them in one big folder won't work.
Click to expand...
Click to collapse
What you do in that case is move the sub-folders into windows. In this case, I'll use a zip file to unzip those folders into windows. Using app.dat files to copy large numbers of files blows. It increases the rom file count as well as the storage used. A zip file is a single file, and usually it saves space.
Another possible issue that I think I'll run into is having two files sharing a generic name (let's say settings.xml) while each belongs to a different app. I didn't personally encounter such a situation just yet but my packages are still a work in progress and I did see a post or two about this while searching.
Click to expand...
Click to collapse
In that case, you're screwed unless there's a registry key that lets you change the name. I've run into a few complications; tcpmp and OMarket both use a common.dll. My solution was to buy Core Player, lol.
I was still hoping there would be a simple way to arrange the files in folders while keeping them under \windows\ but I can't find such a method either. Doesn't seem like I have other options than to decided on a firstboot customization method: Runcc, autorun, xda_uc or something that I haven't read about yet...
"Runcc" is currently used in the base kitchen so that gives it an edge right now.
Click to expand...
Click to collapse
Using cabs or zip files is the way to go if you want to copy large folders in one shot (with a mortscript; you can also un-rar rar files, but I don't know how. Yet, lol). Zips are easier to make and edit than cabs, but you need to have mortscript cooked in and know how to write the simple script (aka cut-and-paste).
Edit:
Remembered that I had another question, and it's probably not worth a new thread.
I was looking at how to manually create .lnk files and I noticed something that I didn't understand and couldn't find info about.
For example:
Code:
21#"\Windows\MSDict.htm"
What exactly does the "21" refer to?? I tried changing it randomly to other values a couple of times and it didn't effect anything.
Click to expand...
Click to collapse
The 21 is the number of bytes after the #. It doesn't matter. I usually just change the first number to 1. It works fine. Counting bytes blows.
That was extremely helpful. Too bad these boards don't use a rep system
Farmer Ted said:
Yup, that's correct. Another approach is to take all similar files that go into windows and stick them in a zip file that unzips to the windows directory.
Click to expand...
Click to collapse
Well, if I'm going to follow this method, and it seems like I am, I don't see why I would still have to limit myself to the \windows folder. I can just put everything the way I originally wanted to do. I only looked at arranging files under \windows when I found out that there's no way to get rid of the duplicates.
Farmer Ted said:
Using cabs or zip files is the way to go if you want to copy large folders in one shot (with a mortscript; you can also un-rar rar files, but I don't know how. Yet, lol). Zips are easier to make and edit than cabs, but you need to have mortscript cooked in and know how to write the simple script (aka cut-and-paste).
Click to expand...
Click to collapse
I haven't tried writing mortscripts yet but I've seen enough to figure out the basic and notice how easy it is. I'm gonna check how usable is the WM version of 7zip, as long as it accepts arguments combining it with mortscript will be easy and perfect for me.
7z archives can get smaller in size than half of the zip archives for the same files. And cabs are too annoying to work with and keep updated later on.
Only issue remaining now is checking whether I should put the archived files under \windows or use the sdcard for customization. I'm leaning toward the first but I'll have to wait and see how much memory I would be sacrificing that way.
Farmer Ted said:
The 21 is the number of bytes after the #. It doesn't matter. I usually just change the first number to 1. It works fine. Counting bytes blows.
Click to expand...
Click to collapse
Ah! I thought about counting bytes/characters and noticed that it works sometimes. But I thought it was a coincidence after I experimented in changing the value and noticed that it wasn't always the right count in the .lnk files that I found.
[rant]
Nice, I was messing around with some packages to free up ram and storage and I seem to have ended up with a rather b0rked up xTask. And then there's still convincing Resco Explorer that the registry add-in IS in fact there.
Figuring out the causes should keep me happily busy for a while (and probably heavily pissed for another while afterwards).
[/rant]
Edit:
Just for the record, I ended up using xda_uc it's a lot easier than doing things manually. Although it would help if there was some kind of documentation available, took me a while to understand what .xda, xdai, xdas & .xdaz files are supposed to be.
hi by the way is it possible to convert ext packages of QVGA phones to one another?

[HOW TO] S-Note templates with custom backgrounds

I was looking for an easy way of having the "Note" and "Meeting" templates with white background, so it would print decently. So far it seems there's no easy way to create own templates apart from messing with the .apk file. The alternative of manually setting the background each time I create a note or add a page does not look appealing as well.
Until somebody comes with a better solution, here's what I managed to get:
Simple description:
Modify original '"Note" template
Download the "Wine" template form 'new snote' dialog window
Replace the "Wine.snb" with modified "Note.snb"
Detailed description
* Intro:
Templates are stored in *.snb files, which are plain zip files (just like .apk's), easy to open/change with e.g. 7-Zip.
We want to customize the Note template ('note.snb' file).
Root is necessary.
* How to modify note.snb backgrounds:
Copy the file '\system\app\Snote_wxga.apk' to your PC
On PC:
Open the 'Snote_wxga.apk' file and
Goto to '\assets\templates' folder
Open the 'Note.snb' file
Go to folder 'snote\media\':
- the two .png files located there are note backgrounds (for title page and normal ones) - edit or replace the files with your own
- the two .jpg files are thumbnails - edit or create your own, by e.g. resizing and converting the .png files from previous step
* How to get the modified template to the device:
Download new template from the web (in new note window dialog) - let's say it's "Wine"
Go to folder '/data/data/com.sec.android.app.snotebook/download/template', it should contain following files:
/T_001/template/thumb_l.png
/T_001/template/thumb_p.png
/T_001/template/wine.snb
/T_001/widget/widget_thumb.png
/template.list
Replace the file '/T_001/template/wine.snb' with your modified copy of 'note.snb' (remember to change the name from 'note.snb' to 'wine.snb')
All other .png files are thumbnails - edit, make your own or leave as it is
* How to change name of the new template from 'Wine' to something else:
Copy the 'template.list' file to PC
Open it with a decent text editor (e.g. Notepad++)
Find the string {"value":"Wine","lang":"en"} for your language, and change the 'Wine' label to one of your choosing
Copy the file 'template.list' back to folder '/data/data/com.sec.android.app.snotebook/download/template' on your device
The following procedure can be repeated - so far there are 3 downloadable templates provided by Samsung, each of those can be replaced the same way.
PS1. It works.
PS2. At least on my device.
Thanks for trying that out. I haven't got round to it yet, but I was planning to try something similar myself.
The other solution I had considered was a rather more radical hack of the snote apk, but a more flexible solution: If it was possible to hack the apk so that the downloaded templates are stored in the default external storage in /sdcard/Android/data/com.sec.android.app.snotebook/ rather than the internal storage you could get to that without root, and just edit the templates any time you wanted.
It would be easy enough to do with access to the java code, and while I'm sure it might be possible to do by hacking the smali files, it's more work than I can find the time for at the moment.
rmein said:
Thanks for trying that out. I haven't got round to it yet, but I was planning to try something similar myself.
The other solution I had considered was a rather more radical hack of the snote apk, but a more flexible solution: If it was possible to hack the apk so that the downloaded templates are stored in the default external storage in /sdcard/Android/data/com.sec.android.app.snotebook/ rather than the internal storage you could get to that without root, and just edit the templates any time you wanted.
It would be easy enough to do with access to the java code, and while I'm sure it might be possible to do by hacking the smali files, it's more work than I can find the time for at the moment.
Click to expand...
Click to collapse
Hopefully Samsung will discover the idea of custom templates some day. Also, judging from the structure of snb files, they must have some template editor (i don't believe they would edit all the xml's manually). Would be great if the editor was made public as well.
As for the solution - editing java lives far above my abilities, so I hope you'll find the time. I chose the described method, because the other solution, i.e. replacing the snb files directly inside the snote apk, would not survive the flashing, unless the new apk was installed to data, which I had no time to check if would work at all. Besides, having the ready-made template folder, I was able to repeat the process on my wife's Note within a minute.
One final remark - I did not bother with creating new backgrounds, any decent graphic editor enables to edit images palette colours, I used GIMP, to simply change background of 'Note' and 'Meeting' to white.
Sent from my GT-N5100 using xda premium
Thank you for finding and sharing this. I am still struggling with finding the Wine template. On the dialog "new note" in my Galaxy note 10.1 it just shows me the 10 templates available to choose. No template to download. Or do you mean another dialog? I don't understand that part really well.
Another question (I suppose I will know that when I can do it). Can I put templates (background images) of higher resolution? . That is the whole reason why I want to change the templates. I think the finest pen stroke looks pretty thick.
Thanks!!
Cristian
duguet said:
Thank you for finding and sharing this. I am still struggling with finding the Wine template. On the dialog "new note" in my Galaxy note 10.1 it just shows me the 10 templates available to choose. No template to download. Or do you mean another dialog? I don't understand that part really well.
Click to expand...
Click to collapse
Don't know how it works with Note 10, on the 8 the pressin the "+" for new note shows window as in attached screenshot - the 'download button' is marked
duguet said:
Another question (I suppose I will know that when I can do it). Can I put templates (background images) of higher resolution? . That is the whole reason why I want to change the templates. I think the finest pen stroke looks pretty thick.
Click to expand...
Click to collapse
I guess you could try, but it could require additional editing of one of xml files - I think template dimensions are stored there
Many thanks!!!
So now I know I don't have the same S-note version. I don't see that download option. Could somebody send me the Wine template file? thanks!
I'll let you know if I made it increasing the resolution.
BR,
Cristian
duguet said:
Many thanks!!!
So now I know I don't have the same S-note version. I don't see that download option. Could somebody send me the Wine template file? thanks!
I'll let you know if I made it increasing the resolution.
BR,
Cristian
Click to expand...
Click to collapse
I'm afraid this might not work for you - the whole template/background swapping works because additional templates are installed by SNote app itself. I doubt your version will be able to recognize template files if you just copy them.
anyway, I'll attach the templates after the weekend, so you can try for yourself
duguet said:
Could somebody send me the Wine template file? thanks!
Click to expand...
Click to collapse
As promised - modified templates with white background (names in template.list unchanged):
1. Note (replacement of Wine template)
2. Meeting (replacement of Movie template)
3. Memo (replacement of Weaning Food template)
p107r0 said:
I was looking for an easy way of having the "Note" and "Meeting" templates with white background, so it would print decently. So far it seems there's no easy way to create own templates apart from messing with the .apk file. The alternative of manually setting the background each time I create a note or add a page does not look appealing as well.
Until somebody comes with a better solution, here's what I managed to get:
Simple description:
Modify original '"Note" template
Download the "Wine" template form 'new snote' dialog window
Replace the "Wine.snb" with modified "Note.snb"
Detailed description
* Intro:
Templates are stored in *.snb files, which are plain zip files (just like .apk's), easy to open/change with e.g. 7-Zip.
We want to customize the Note template ('note.snb' file).
Root is necessary.
* How to modify note.snb backgrounds:
Copy the file '\system\app\Snote_wxga.apk' to your PC
On PC:
Open the 'Snote_wxga.apk' file and
Goto to '\assets\templates' folder
Open the 'Note.snb' file
Go to folder 'snote\media\':
- the two .png files located there are note backgrounds (for title page and normal ones) - edit or replace the files with your own
- the two .jpg files are thumbnails - edit or create your own, by e.g. resizing and converting the .png files from previous step
* How to get the modified template to the device:
Download new template from the web (in new note window dialog) - let's say it's "Wine"
Go to folder '/data/data/com.sec.android.app.snotebook/download/template', it should contain following files:
/T_001/template/thumb_l.png
/T_001/template/thumb_p.png
/T_001/template/wine.snb
/T_001/widget/widget_thumb.png
/template.list
Replace the file '/T_001/template/wine.snb' with your modified copy of 'note.snb' (remember to change the name from 'note.snb' to 'wine.snb')
All other .png files are thumbnails - edit, make your own or leave as it is
* How to change name of the new template from 'Wine' to something else:
Copy the 'template.list' file to PC
Open it with a decent text editor (e.g. Notepad++)
Find the string {"value":"Wine","lang":"en"} for your language, and change the 'Wine' label to one of your choosing
Copy the file 'template.list' back to folder '/data/data/com.sec.android.app.snotebook/download/template' on your device
The following procedure can be repeated - so far there are 3 downloadable templates provided by Samsung, each of those can be replaced the same way.
PS1. It works.
PS2. At least on my device.
Click to expand...
Click to collapse
Thanks!
S Note of Galaxy Note 3
Does anyone know how we can get large (A4) size templates for S Note? The default pages are like small (size) notes.
Can someone give me the S Note apk files for Galaxy Note 3? I want to install this on my Asus tablet as well so I can synchronize my work done on either of the two.
I have been using Asus Supernote earlier on my Asus Tablet and Galaxy S3 mobile, but the Supernote does not work on my new Galaxy Note 3.
Unless I missed it - is it possible to change the default save file name? I used the memo template to create my new one - copied over wine. When I hit save it defaults to Memo_date_time. If I can find where to change the Memo portion of the filename. Would make for a sweet setup then

How to set Dz09 ( mt6261 ) custom watchfaces , tool and tips !

okay, so i have a Dz09 smartwatch with mt6261 chip 4MB/32MB variant, the roms of these watches don't support the standard way of changing your watchfaces with mtk resource editor and i searched XDA for any way to do this, my search came up empty! so i looked on the internet, there is a java application that i have found on surfing a russian website, this application works really well in changing the watchfaces but i couldn't find any instructions to use it either, so i used some trial and error method and found the steps !
The website is (https: w3bsit3-dns.com/forum/index.php?showtopic=670733) they have a lot of information on this page, but for your ease of use i will lay down the steps in this post for editing your watchface without MTK resource editor!
firstly you can find the java application here : romdz09_b.jar (https://nofile.io/f/yNZmOQfzPKS/romdz09_b.jar)
Warning :fingers-crossed: : please take a backup/ readback of your own firmware before doing anything else, this backup will save you in case of any trouble!​
Steps to follow:
preparation
1. create a readback file using the flash tool
2. use readback extractor to extract the rom files
you should get following files
config_mtk.cfg , EXT_BOOTLOADER, FILE_01_mtk, FILE_02_mtk, INT_BOOTLOADER
Extract original file
3. now you must open the "romdz09_b.jar" java application (you will need Java Runtime Environment installed)
4. you will see this box https://imgur.com/ukeFZhQ
5.click on new and navigate to the FILE_01_mtk from your rom (this is the file we need for watchfaces )
6.click load ,then click extract and then finally click get pictures in this exact order , this will open the second window
like this https://imgur.com/QRedJio
7. click on a *.b file in the first list and let the progress bar complete! (if you dont let it complete the application crashes !)
8.use the down arrow button to go to next file or click the next *.b file to see it , some files display as garbage while others display their image!
9.scroll down till you don't find your watchface , for my firmware the first watchface has the file name "9D840.b"
10. now suppose you want to replace it, then when the watchface file is selected on top left , click on "extract" button
(this will create a .gif file on your pc to edit and make into new watchface )
note the exact name of the extracted file in the bottom right corner of he window in yellow. in my case it is "9D840b_0Ct.gif"
11. after extracting the file,close both the windows of the java application,
(you must exit the application to be able to edit the watchface file you just extracted !)
Modify the File
12.go to the folder that has the firmware files, you will see a folder called "files" inside this, you will find the extracted watchface
gif file
(you might also see other files in this folder, there is no point in editing those as the application will overwrite any file that you didnt extract!)
13. now see the exact file size of the watchface that you have extracted in file properties , for me it is around 1.733kb or 1733 bytes , your watchface has to match or be smaller than this exact file size, which means your modified watchface has a mere 1.7KB of file size to store your image , but we can still get some cool results !:good:
14. use your image editing program of choice and edit the watchface file and save it.
(reduce the number of colors in the image and use solid colors as much as possible in your image to reduce the file size, photoshop has an excellent "export for web" option to do this and minimize the file size for an acceptable image)
Import the modified File
15.now that you have the file edited, we will add it to our firmware, open "romdz09_b.jar" again and click new to open your rom and click load and get pictures
16. find the file you had extracted and select it, then click on import in top left of the window
17. the application will say "the file is big file=<your file size> place=<size of the place in the firmware> write?" say yes
(be warned that if the file value is larger than the place value it will not import it and overwrite your edited file with the original again !)
after clicking yes it will seem like nothing has happened, dont worry the application just doesnt show the change automatically. after importing we will now save the file in the rom
18. on the top right click on "to file" then on "to rom" then close this window
19. on main application window we will now save the edited rom file , in the top left text box (by default says "ROM") enter the name of the rom file you are replacing for me it is "FILE_01_mtk" then click on save
That's it you have saved your newly made watchface into your firmware and replaced the old one ! you can verify this by loading the rom again in the java application and checking if the new watchface is there or not !if all went well you should see your modified watchface in the rom like this
https://imgur.com/5F3UAzl
Now all you need to do is flash this edited firmware to your watch and you will get the new watchface :highfive:
use the appropriate flash tool version to flash the firmware !
Sadly I could not find the watchfaces anywhere, just the arrows.
Exanneon said:
Sadly I could not find the watchfaces anywhere, just the arrows.
Click to expand...
Click to collapse
Sometimes a few watchfaces are in the 2nd list of a file maybe yours are in the same ? If you could upload your firmware files I could check it out for you.
I don't know where they are, but yeah I'd appreciate it if you could find them for me; https://mega.nz/#!q543SThT!TglSdU54u1kleOwbHdXVCo7q4siA2GJqF184pZT5wMo
Exanneon said:
I don't know where they are, but yeah I'd appreciate it if you could find them for me; https://mega.nz/#!q543SThT!TglSdU54u1kleOwbHdXVCo7q4siA2GJqF184pZT5wMo
Click to expand...
Click to collapse
i found one watch face and some dials here file name A0B00.b , is this how your watchfaces look? if not could u post a picture?
also try another firmware that your watch supports that may have editable watchface that shows up in the java application
https://imgur.com/a/L24FZ
Nope, that's the clock that displays in the middle of the app menu, not the actual watchaces.
And I've already tried many firmwares and all of them had some sort of issue like inverted colors or upside down screen.
https://i.imgur.com/UkQknqN.jpg
https://i.imgur.com/BNFYlwy.jpg
https://i.imgur.com/XGmpn7e.jpg
Edit: And yeah I know this isn't dz09 but it has the same chip (mtk6261), so yeah
mohtaprashantrocks said:
Import the modified File
15.now that you have the file edited, we will add it to our firmware, open "romdz09_b.jar" again and click new to open your rom and click load and get pictures
16. find the file you had extracted and select it, then click on import in top left of the window
17. the application will say "the file is big file=<your file size> place=<size of the place in the firmware> write?" say yes
(be warned that if the file value is larger than the place value it will not import it and overwrite your edited file with the original again !)
after clicking yes it will seem like nothing has happened, dont worry the application just doesnt show the change automatically. after importing we will now save the file in the rom
18. on the top right click on "to file" then on "to rom" then close this window
19. on main application window we will now save the edited rom file , in the top left text box (by default says "ROM") enter the name of the rom file you are replacing for me it is "FILE_01_mtk" then click on save
/QUOTE]
In my case, it is impossible . When I click on this picture again, program automatically overwrites file in old shape. I try many times, I change permission modified file, only to read, but modified file shows in the program, even and I see communicate: the file is big etc. but finally it was blank space in the new rom and I have only 2 watchfaces, not three. This method does not work in my case. I try 20 times, program always rewriten modified picture and change to old. It is hilarious.
Click to expand...
Click to collapse
irtrin said:
In my case, it is impossible . When I click on this picture again, program automatically overwrites file in old shape. I try many times, I change permission modified file, only to read, but modified file shows in the program, even and I see communicate: the file is big etc. but finally it was blank space in the new rom and I have only 2 watchfaces, not three. This method does not work in my case. I try 20 times, program always rewriten modified picture and change to old. It is hilarious.
Click to expand...
Click to collapse
the same was happening to me initially, then i realised the file sizes were off. if the file is overwriting its usually because the file size of your new watchface is larger (even a single byte is too much) than the older watchface , it needs to be smaller than that exact watchface ! do check for the file sizes
You are master. You are a right. I set picture smaller, 3,1 kb to original 3.37 kb, in fact it was too big. I change picture and I get picture which has only 1,15 kb. It was good option. Big thanks for your advice.
I have sharingan DZ09.
irtrin said:
You are master. You are a right. I set picture smaller, 3,1 kb to original 3.37 kb, in fact it was too big. I change picture and I get picture which has only 1,15 kb. It was good option. Big thanks for your advice.
I have sharingan DZ09.
Click to expand...
Click to collapse
you're welcome and that watchface looks great ! i have tobi in one of mine.
I develop my concept of watchface.
Now I see - "Tobi is a good boy"
Sir can u help me with "Import the modified File" part, kinda confuse on this part :
15.now that you have the file edited, we will add it to our firmware, open "romdz09_b.jar" again and click new to open your rom and click load and get pictures
(open your rom is that mean open FILE_01_mtk again? i try to new open FILE_01_mtk, click load and get picture but i am not find the file that i modified, do i miss something or if possible can you help with picture tutorial, and thank you for your help )
Help For Smartwatch New Faces
mohtaprashantrocks said:
okay, so i have a Dz09 smartwatch with mt6261 chip 4MB/32MB variant, the roms of these watches don't support the standard way of changing your watchfaces with mtk resource editor and i searched XDA for any way to do this, my search came up empty! so i looked on the internet, there is a java application that i have found on surfing a russian website, this application works really well in changing the watchfaces but i couldn't find any instructions to use it either, so i used some trial and error method and found the steps !
The website is (https: w3bsit3-dns.com/forum/index.php?showtopic=670733) they have a lot of information on this page, but for your ease of use i will lay down the steps in this post for editing your watchface without MTK resource editor!
firstly you can find the java application here : romdz09_b.jar (https://nofile.io/f/yNZmOQfzPKS/romdz09_b.jar)
Warning :fingers-crossed: : please take a backup/ readback of your own firmware before doing anything else, this backup will save you in case of any trouble!​
Steps to follow:
preparation
1. create a readback file using the flash tool
2. use readback extractor to extract the rom files
you should get following files
config_mtk.cfg , EXT_BOOTLOADER, FILE_01_mtk, FILE_02_mtk, INT_BOOTLOADER
Extract original file
3. now you must open the "romdz09_b.jar" java application (you will need Java Runtime Environment installed)
4. you will see this box https://imgur.com/ukeFZhQ
5.click on new and navigate to the FILE_01_mtk from your rom (this is the file we need for watchfaces )
6.click load ,then click extract and then finally click get pictures in this exact order , this will open the second window
like this https://imgur.com/QRedJio
7. click on a *.b file in the first list and let the progress bar complete! (if you dont let it complete the application crashes !)
8.use the down arrow button to go to next file or click the next *.b file to see it , some files display as garbage while others display their image!
9.scroll down till you don't find your watchface , for my firmware the first watchface has the file name "9D840.b"
10. now suppose you want to replace it, then when the watchface file is selected on top left , click on "extract" button
(this will create a .gif file on your pc to edit and make into new watchface )
note the exact name of the extracted file in the bottom right corner of he window in yellow. in my case it is "9D840b_0Ct.gif"
11. after extracting the file,close both the windows of the java application,
(you must exit the application to be able to edit the watchface file you just extracted !)
Modify the File
12.go to the folder that has the firmware files, you will see a folder called "files" inside this, you will find the extracted watchface
gif file
(you might also see other files in this folder, there is no point in editing those as the application will overwrite any file that you didnt extract!)
13. now see the exact file size of the watchface that you have extracted in file properties , for me it is around 1.733kb or 1733 bytes , your watchface has to match or be smaller than this exact file size, which means your modified watchface has a mere 1.7KB of file size to store your image , but we can still get some cool results !:good:
14. use your image editing program of choice and edit the watchface file and save it.
(reduce the number of colors in the image and use solid colors as much as possible in your image to reduce the file size, photoshop has an excellent "export for web" option to do this and minimize the file size for an acceptable image)
Import the modified File
15.now that you have the file edited, we will add it to our firmware, open "romdz09_b.jar" again and click new to open your rom and click load and get pictures
16. find the file you had extracted and select it, then click on import in top left of the window
17. the application will say "the file is big file=<your file size> place=<size of the place in the firmware> write?" say yes
(be warned that if the file value is larger than the place value it will not import it and overwrite your edited file with the original again !)
after clicking yes it will seem like nothing has happened, dont worry the application just doesnt show the change automatically. after importing we will now save the file in the rom
18. on the top right click on "to file" then on "to rom" then close this window
19. on main application window we will now save the edited rom file , in the top left text box (by default says "ROM") enter the name of the rom file you are replacing for me it is "FILE_01_mtk" then click on save
That's it you have saved your newly made watchface into your firmware and replaced the old one ! you can verify this by loading the rom again in the java application and checking if the new watchface is there or not !if all went well you should see your modified watchface in the rom like this
https://imgur.com/5F3UAzl
Now all you need to do is flash this edited firmware to your watch and you will get the new watchface :highfive:
use the appropriate flash tool version to flash the firmware !
Click to expand...
Click to collapse
Hey Bro Can I Send you my firmware and find watchfaces for me pls ? cause i dont have java and storage to download it
irtrin said:
You are master. You are a right. I set picture smaller, 3,1 kb to original 3.37 kb, in fact it was too big. I change picture and I get picture which has only 1,15 kb. It was good option. Big thanks for your advice.
I have sharingan DZ09.
Click to expand...
Click to collapse
can you send me your watch face pls
Cannot compress PNG
I followed your steps but using GIMP I cannot compress the png to file size lower than 8 kb which is needed if i import it replaces with original
only way i can somewhat change it by setting the "to negative" which inverts the colour so it looks a bit different
how to compress the png
i wonder how the original file is 4 kb being a PNG file
does not seem to be working
I'm trying hard but I don't think this works with my rom
h t t p s://drive.google.com/drive/folders/1umCdETY2ZMgx51UHpylkZBzgQfZznUSa?usp=sharing
LD991F7_V7.0_A_YX_DZ09_XRM7789_3029_9307_9305_Z_A_V54.4
11CW1352MP
MTK61D_BTDIALER_11C
2018/07/11 16:35
266923712
Can you tell me if it works on you ? When I reflash it doesn't change anything...
this tutorial made by me long ago: https://forum.xda-developers.com/showpost.php?p=72063702&postcount=2128
yosito75 said:
I'm trying hard but I don't think this works with my rom
h t t p s://drive.google.com/drive/folders/1umCdETY2ZMgx51UHpylkZBzgQfZznUSa?usp=sharing
LD991F7_V7.0_A_YX_DZ09_XRM7789_3029_9307_9305_Z_A_V54.4
11CW1352MP
MTK61D_BTDIALER_11C
2018/07/11 16:35
266923712
Can you tell me if it works on you ? When I reflash it doesn't change anything...
Click to expand...
Click to collapse
Can you share your watchface image file please?
---------- Post added at 08:51 AM ---------- Previous post was at 08:50 AM ----------
PriyanshuHacks said:
I followed your steps but using GIMP I cannot compress the png to file size lower than 8 kb which is needed if i import it replaces with original
only way i can somewhat change it by setting the "to negative" which inverts the colour so it looks a bit different
how to compress the png
i wonder how the original file is 4 kb being a PNG file
Click to expand...
Click to collapse
Can you share your watchface image file please?
mohtaprashantrocks said:
okay, so i have a Dz09 smartwatch with mt6261 chip 4MB/32MB variant, the roms of these watches don't support the standard way of changing your watchfaces with mtk resource editor and i searched XDA for any way to do this, my search came up empty! so i looked on the internet, there is a java application that i have found on surfing a russian website, this application works really well in changing the watchfaces but i couldn't find any instructions to use it either, so i used some trial and error method and found the steps !
The website is (https: w3bsit3-dns.com/forum/index.php?showtopic=670733) they have a lot of information on this page, but for your ease of use i will lay down the steps in this post for editing your watchface without MTK resource editor!
firstly you can find the java application here : romdz09_b.jar (https://nofile.io/f/yNZmOQfzPKS/romdz09_b.jar)
Warning :fingers-crossed: : please take a backup/ readback of your own firmware before doing anything else, this backup will save you in case of any trouble!​
Steps to follow:
preparation
1. create a readback file using the flash tool
2. use readback extractor to extract the rom files
you should get following files
config_mtk.cfg , EXT_BOOTLOADER, FILE_01_mtk, FILE_02_mtk, INT_BOOTLOADER
Extract original file
3. now you must open the "romdz09_b.jar" java application (you will need Java Runtime Environment installed)
4. you will see this box https://imgur.com/ukeFZhQ
5.click on new and navigate to the FILE_01_mtk from your rom (this is the file we need for watchfaces )
6.click load ,then click extract and then finally click get pictures in this exact order , this will open the second window
like this https://imgur.com/QRedJio
7. click on a *.b file in the first list and let the progress bar complete! (if you dont let it complete the application crashes !)
8.use the down arrow button to go to next file or click the next *.b file to see it , some files display as garbage while others display their image!
9.scroll down till you don't find your watchface , for my firmware the first watchface has the file name "9D840.b"
10. now suppose you want to replace it, then when the watchface file is selected on top left , click on "extract" button
(this will create a .gif file on your pc to edit and make into new watchface )
note the exact name of the extracted file in the bottom right corner of he window in yellow. in my case it is "9D840b_0Ct.gif"
11. after extracting the file,close both the windows of the java application,
(you must exit the application to be able to edit the watchface file you just extracted !)
Modify the File
12.go to the folder that has the firmware files, you will see a folder called "files" inside this, you will find the extracted watchface
gif file
(you might also see other files in this folder, there is no point in editing those as the application will overwrite any file that you didnt extract!)
13. now see the exact file size of the watchface that you have extracted in file properties , for me it is around 1.733kb or 1733 bytes , your watchface has to match or be smaller than this exact file size, which means your modified watchface has a mere 1.7KB of file size to store your image , but we can still get some cool results !:good:
14. use your image editing program of choice and edit the watchface file and save it.
(reduce the number of colors in the image and use solid colors as much as possible in your image to reduce the file size, photoshop has an excellent "export for web" option to do this and minimize the file size for an acceptable image)
Import the modified File
15.now that you have the file edited, we will add it to our firmware, open "romdz09_b.jar" again and click new to open your rom and click load and get pictures
16. find the file you had extracted and select it, then click on import in top left of the window
17. the application will say "the file is big file=<your file size> place=<size of the place in the firmware> write?" say yes
(be warned that if the file value is larger than the place value it will not import it and overwrite your edited file with the original again !)
after clicking yes it will seem like nothing has happened, dont worry the application just doesnt show the change automatically. after importing we will now save the file in the rom
18. on the top right click on "to file" then on "to rom" then close this window
19. on main application window we will now save the edited rom file , in the top left text box (by default says "ROM") enter the name of the rom file you are replacing for me it is "FILE_01_mtk" then click on save
That's it you have saved your newly made watchface into your firmware and replaced the old one ! you can verify this by loading the rom again in the java application and checking if the new watchface is there or not !if all went well you should see your modified watchface in the rom like this
https://imgur.com/5F3UAzl
Now all you need to do is flash this edited firmware to your watch and you will get the new watchface :highfive:
use the appropriate flash tool version to flash the firmware !
Click to expand...
Click to collapse
\
Hey, I have an original DZ09 with 6260A but the firmware is like the 6261's
So i tried to do your method but i only get one watch face which is in the format of png.
So can you help me ?
every pic i try to change it gets corrupted like this(img attached) https://imgur.com/JF4ToZI

Categories

Resources