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
Related
Hello everyone...
I just looked for hours...
But can't find a program to make my own theme's for diamond.
I've tried using google, youtube and this forum... iam sure iam missing something,,,,
I understand i shall use Manila editor??? or???
But when iam opening it ... I can't se any pic's i can change...
I really hope someone can help me.. maybe its just in front off my eyes... But then iam totaly Blind.....
-Best regards Dennis
The easiest way is this, and do note themes do not work on any theme with a disattached Manila (for example, TLR ROMs seem to have problems with theming):
Preparations:
- Make a folder on your computers desktop called "Theme", and in it a folder called "My Theme" or the name of your personal theme.
- Connect your Diamond to your computer and copy ALL manila files (files ending in _manila) in the Windows subdirectory of your Diamond to the "Theme" folder on your desktop.
- Download Manila Editor and extract the files to a place where you can easily find it.
- In Manila Editor, press "Select Path" and select the "Theme" directory on your desktop. The program will "parse" the files and you'll see a loading bar in the bottom left.
Modifying:
- The files are now loaded. Browse through the files, and notice they're ordered by category. Also note the "Friendly name" is somewhat of a description as to what each image is. Finally, do note some files do NOT have a description and can be found in the "Unknown" category.
- Select the files you want to modify, and use Export -> Selected -> BMP/JPG/PNG (whichever you prefer). Choose a location to extract the files to.
- Use The Gimp, Photoshop, Paint Shop Pro or your image editing program of choice to edit the files as desired. Use the old file as indicator for placement and size. Save the files under the same name for practicality, or give them a name that lets you easily figure out what each image is.
- When done, go back to Manila Editor and select the items you modified one by one. Each time, click the item, then click "Replace". Select your new image, and click OK. Repeat this as many times as necessary.
- If all files are correctly changed, click Zip -> Zip All. I've found that Zip All gives the least problems on most ROMs. This will create a .zip file, which you can name and save anywhere you wish.
Installing: (Sushilange has confirmed that later versions of Manila Editor will have a "Create Theme" function).
- Rename the .zip file to .theme and copy it to a subdirectory on your Diamond.
- Download, Install and Run Diamond TF3D Config 0.6.7 or higher. Go to the appearance tab and select the "Path..." button. Select the DIRECTORY in which your .theme file is and click OK. Then, from the dropdown list, select the name of your theme (the name of the zip-file).
- Select "Apply'. Take into account you need AT LEAST 20MB of free space on your device, as indicated by the program.
- Select start, wait until it finishes (don't worry if it says something about deleting files), click Finish and let the program restart your Diamond.
Thank you very much...
Perfect explination...'
Thank you . Glad it helps.
Instead of renaming the exported manila files from .zip to .theme, you can also use QuickCab to make a cab file of the exported manila files. Then you don't have to use the Diamond TF3D Config 0.6.7 program.
Advantage is that you can run the cab file and you can easily uninstall your theme. Uninstalling your own theme means that the original manila files wil be restored again. Furthermore it's much more easier and faster to install a theme.
MRE-net said:
Instead of renaming the exported manila files from .zip to .theme, you can also use QuickCab to make a cab file of the exported manila files. Then you don't have to use the Diamond TF3D Config 0.6.7 program.
Advantage is that you can run the cab file and you can easily uninstall your theme. Uninstalling your own theme means that the original manila files wil be restored again. Furthermore it's much more easier and faster to install a theme.
Click to expand...
Click to collapse
Wouldn't uninstalling the theme through Diamond TF3D Config also restore the original theme? That's what happens here, in any case.
but how do you copy manilla files from Diamond to PC ?
it doesnt show Windows directory in Vista on Windows Mobile Device Center ?
Hello There Greg...
Your Going To Wanna Go To MY COMPUTER> MOBILE DEVICE>MY WINDOWS MOBILE DEVICE> Tools>folder Options>view>show Hidden Files And Folders
WHILE IN ACTIVE SYNC MODE
Hope I Helped... Ill Be Looking At The Thread So.... You Can Ask For More Help If Need Be
tha_rami said:
- If all files are correctly changed, click Export -> Export All. I've found that Export All gives the least problems on most ROMs. This will create a .zip file, which you can name and save anywhere you wish.
- Rename the .zip file to .theme and copy it to a subdirectory on your Diamond.
Click to expand...
Click to collapse
You meant "Zip" not "Export"... Export is only the converting-function qtc->png
tha_rami said:
- Download, Install and Run Diamond TF3D Config 0.6.7 or higher. Go to the appearance tab and select the "Path..." button. Select the DIRECTORY in which your .theme file is and click OK. Then, from the dropdown list, select the name of your theme (the name of the zip-file).
- Select "Apply'. Take into account you need AT LEAST 20MB of free space on your device, as indicated by the program.
- Select start, wait until it finishes (don't worry if it says something about deleting files), click Finish and let the program restart your Diamond.
Click to expand...
Click to collapse
No, no! Don't do this! Wait until I added a "Create Theme"-function in Manila Editor. A *.theme-File is not just a Zip-File. You can't use a custom zip as a theme-file.
sushilange said:
You meant "Zip" not "Export"... Export is only the converting-function qtc->png
No, no! Don't do this! Wait until I added a "Create Theme"-function in Manila Editor. A *.theme-File is not just a Zip-File. You can't use a custom zip as a theme-file.
Click to expand...
Click to collapse
I'm just telling what works, but I can't wait until you get that functionality in - sounds good.
And yup, I meant Zip All, will edit now.
tha_rami said:
I'm just telling what works, but I can't wait until you get that functionality in - sounds good.
And yup, I meant Zip All, will edit now.
Click to expand...
Click to collapse
I know that it is possible, that it works But the problem is, if it is not working in some reasons, the noobs are crying and i can't give support ;-)
When I add the feature officially, I can give support
I'd daresay screw them. It's not supported by your application yet, so you have no obligation to make it work for them until making *.theme files is actually supported by the program.
Great program, by the way.
I don't know whether I am asking too much. I want to know if it's possible to turn the big digital clock on the 3D theme to transparent (instead of white opaque color). I wanted to change the background to a photo and the clock occupies half of the screen and always blocks the person's face in the photo.
bbju said:
I don't know whether I am asking too much. I want to know if it's possible to turn the big digital clock on the 3D theme to transparent (instead of white opaque color). I wanted to change the background to a photo and the clock occupies half of the screen and always blocks the person's face in the photo.
Click to expand...
Click to collapse
Try this one
http://forum.xda-developers.com/showpost.php?p=2546236&postcount=584
NisseDILLIGAF said:
Try this one
http://forum.xda-developers.com/showpost.php?p=2546236&postcount=584
Click to expand...
Click to collapse
Wow, NisseDilligaf you are an angel!! I searched the forum for about 2 hours and couldn't find it. This is EXACTLY what I want.
Thanks!!
If I do not want to create a new theme (because I do not know how ) , can I change the png?.
So I change 123213_manila for my icon 123231_manila , Can it works?.
Thank you
Juan w said:
If I do not want to create a new theme (because I do not know how ) , can I change the png?.
So I change 123213_manila for my icon 123231_manila , Can it works?.
Thank you
Click to expand...
Click to collapse
Yep that works. See http://forum.xda-developers.com/showthread.php?t=420423
MRE-net said:
Yep that works. See http://forum.xda-developers.com/showthread.php?t=420423
Click to expand...
Click to collapse
Thank you.
I will try it.
tha_rami said:
The easiest way is this, and do note themes do not work on any theme with a disattached Manila (for example, TLR ROMs seem to have problems with theming):
Preparations:
- Make a folder on your computers desktop called "Theme", and in it a folder called "My Theme" or the name of your personal theme.
- Connect your Diamond to your computer and copy ALL manila files (files ending in _manila) in the Windows subdirectory of your Diamond to the "Theme" folder on your desktop.
- Download Manila Editor and extract the files to a place where you can easily find it.
- In Manila Editor, press "Select Path" and select the "Theme" directory on your desktop. The program will "parse" the files and you'll see a loading bar in the bottom left.
Modifying:
- The files are now loaded. Browse through the files, and notice they're ordered by category. Also note the "Friendly name" is somewhat of a description as to what each image is. Finally, do note some files do NOT have a description and can be found in the "Unknown" category.
- Select the files you want to modify, and use Export -> Selected -> BMP/JPG/PNG (whichever you prefer). Choose a location to extract the files to.
- Use The Gimp, Photoshop, Paint Shop Pro or your image editing program of choice to edit the files as desired. Use the old file as indicator for placement and size. Save the files under the same name for practicality, or give them a name that lets you easily figure out what each image is.
- When done, go back to Manila Editor and select the items you modified one by one. Each time, click the item, then click "Replace". Select your new image, and click OK. Repeat this as many times as necessary.
- If all files are correctly changed, click Zip -> Zip All. I've found that Zip All gives the least problems on most ROMs. This will create a .zip file, which you can name and save anywhere you wish.
Installing: (Sushilange has confirmed that later versions of Manila Editor will have a "Create Theme" function).
- Rename the .zip file to .theme and copy it to a subdirectory on your Diamond.
- Download, Install and Run Diamond TF3D Config 0.6.7 or higher. Go to the appearance tab and select the "Path..." button. Select the DIRECTORY in which your .theme file is and click OK. Then, from the dropdown list, select the name of your theme (the name of the zip-file).
- Select "Apply'. Take into account you need AT LEAST 20MB of free space on your device, as indicated by the program.
- Select start, wait until it finishes (don't worry if it says something about deleting files), click Finish and let the program restart your Diamond.
Click to expand...
Click to collapse
GREAT explanation! Thanx!
bbju said:
I don't know whether I am asking too much. I want to know if it's possible to turn the big digital clock on the 3D theme to transparent (instead of white opaque color). I wanted to change the background to a photo and the clock occupies half of the screen and always blocks the person's face in the photo.
Click to expand...
Click to collapse
You can find many transparent clocks here
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 !
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
Trying to add more smileys. I added the new ones to the names.txt in the windows directory and the smiley directory of the program folder. also added the new bmp image and mask to these directories as well. still no joy. any one have a solution for this.
This thread is 2 years old, and I'm replying to it. Yeah I know, but I needed such info, I came across this post, but there was no answer, so I decided to post an answer in case anyone needed it in the future.
Well, there's a folder called "smiles" in the vito sms-chat installation dir. And there, there's a file called "names.txt" as Exodusoffg mentioned. And besides that there's a folder called "bin". And this is how you add a new smiley:
open names.txt using a text editor and add a new line like this:
[NEW_SMILEY_NAME][TAB][REPRESENTING_STRINGS]
ex.
lol :lol =))
this means that if sms-chat encounters ":lol" or "=))" it shows the picture.
to define a picture for this smiley, you should put it in the "bin" folder where:
the filename of image should exactly as [NEW_SMILEY_NAME]. and there should be a mask image called "[NEW_SMILEY_NAME]_masked.bmp" too.
suggestion: edit one of the existing images in the bin folder.
I've tested this and it worked.
PS. If you've done all I've said EXACTLY, and it didn't work, then there's two possibilities:
1.The image you're using is invalid, try matching it's format to one of the existing images in the bin folder
2.we don't have the same version of SMS-Chat(mine: 1.25)
Thanks for sharing - I don't use it, but I like that you take care to share what you found!
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