yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] cityhunter71:
Why Date Change color... but....

Date Color why change ?

--------------------------------------------------------------------------------

Hi Guy !

i have make my frist manila CLOCK...

i have modify 1c684cd8_manila for make DATE and OPERATOR in upper right corner.

AND i have insert into "GLESTex", istance value "DATE " a declaration of COLOR.

When manila start all is ok and DATE color is red (default is White)

BUT if i PRESS CLOCK (upper left) for change TIME, the COLOR of DATE change from RED to WHITE !!

IF i press ALARM ICON (for set ALLARM TIME) color remain RED !

Can HELP ME to FIx this little problem ?

Cityhunter71

PS: this 1c684cd8_manila work with all background to all page !
[Touch Diamond, MDA Compact IV ROM Development] rotastrain:
Scrolling upwards

Does anyone know how to attach a action to the upward scrolling?

set (whateva)(l_1_0)...

i decompiled scroll physics but cant make out which instance name or which action to set what i want to do...

Maybe someone can help?

Cheers,

Rotastrain
[Touch Diamond, MDA Compact IV ROM Development] lombardjini:
leuk om eens te probreren thnx
[Touch Diamond, MDA Compact IV ROM Development] drreaman:
Need Help

Please provide me with info how to restore my TouchFlo 3D on my HTC Touch HD T8282.

It seems I lost all my files and TouchFlo 3D won't start ?
[Touch Diamond, MDA Compact IV ROM Development] ady_uaic:
which one is the photos & videos tab file, to edit it?
[Touch Diamond, MDA Compact IV ROM Development] meltwater:
I've heard you may be able to restore it if it is cooked in, using TF3D Config, never tried it myself.

Guys, I've been working hard on some manila tutorials, would welcome any help/guidance anyone can give.

[GUIDE][TUT] Manila Development for Beginners
[Touch Diamond, MDA Compact IV ROM Development] Z80-Man:
Well, after having painfully tried all possible tools to decompile HTC LUAQ, it appears that the only one able to do that is the one Co0kie Monster gave a few years ago :

http://xdaforums.com/showthread.php?t=568281

This one could decompile AND disassemble the eRader LUA script, at last ! :)

So now I'm working on bringing an eReader tab able to access to the standard library management (including sorting options) AND the SQL Lite database management tool. Should be ready in a few minutes, actually. :)

BTW, I'll try to remove the 20 books limits there ; is there any reason why HTC put that here ? (Edit : I could modify the limit, but the EXE seems not to care for it. Too bad...)

The script also looks like it does a huge usage of the G-Sensor and landscape mode is explicit, but the eReader won't rotate... The display just doesn't adapt to landscape orientation, either the tab with the books list, or the reader itself. That's really strange. :confused:
[Touch Diamond, MDA Compact IV ROM Development] l3v5y:
I'll look into the headers...
[Touch Diamond, MDA Compact IV ROM Development] Pharaohnough:
mun_rus,

Looking very good! How do you get the operator logo to show next to the name? I've been trying to do this for ages!

Seeing as you've deleted it (as part of de-branding I presume) there should be a way for me to add it to mine :D
[Touch Diamond, MDA Compact IV ROM Development] mun_rus:
Oh ) Have another idea)) it's bmp)

make bmp file and look it in hex)) there are many similar bytes ;)
[Touch Diamond, MDA Compact IV ROM Development] mun_rus:
I think it's more easier to del ))

Anyway this string in 26948339_manila will set sprint logo (and date bottom the clock)

<Page Order="0" Name="home.page" PackageName="HTC" Default="true" Title="[[IDS_HOMETITLE]]" ExternalScriptPath="HTC\Scripts\sprinthome.luac">
[Touch Diamond, MDA Compact IV ROM Development] Ameet:
guys i know this is for diamond roms, but can the true manila also be used for qvga roms? i mean just a thought so this can actually work on our devices too :D
[Touch Diamond, MDA Compact IV ROM Development] ratcom:
Great Work

Nice one l3v5y , it must of took some time to check 900 odd files? ;)
[Touch Diamond, MDA Compact IV ROM Development] l3v5y:
I have a life... :S
[Touch Diamond, MDA Compact IV ROM Development] sushilange:
Did anyone extracted a *.luac script file?

They are in 'HTC\Scripts\' but i couldn't find this folder with Total Commander.

I need them...
[Touch Diamond, MDA Compact IV ROM Development] Pharaohnough:
Thanks mate. Now where do I locate the specific image file. Appreciate your help. Again, I'm sort of reverse engineering this :)
[Touch Diamond, MDA Compact IV ROM Development] AF241:
These tabs look good. How did u get to change them? I want transparent glass one's so the bg image can be seen through the current tab as well. At the moment I have no idea what files to edit and what format. Would appreciate your help. :)
[Touch Diamond, MDA Compact IV ROM Development] leopardone:
found this pics on http://www.netimes.com/ where I bought something

dunno if it's a photoshop work...
[Touch Diamond, MDA Compact IV ROM Development] Pharaohnough:
Very odd-looking plastic case if it is indeed real. Also assuming it's real, they seem to have made a lot of progress with editing Manila. It looks very polished!
[Touch Diamond, MDA Compact IV ROM Development] mun_rus:
This is the real pic. It's "orange" operator's customization
[Touch Diamond, MDA Compact IV ROM Development] sushilange:
Does nobody have a *.luac-File??
[Touch Diamond, MDA Compact IV ROM Development] leopardone:
oh...

so it could be wonderful to have this mod to study :)
[Touch Diamond, MDA Compact IV ROM Development] ryujakk:
Well actually it's available already. At least the French version: http://xdaforums.com/showthread.php?t=405481
[Touch Diamond, MDA Compact IV ROM Development] demacus:
Great work guys! With this TouchFLO seems to go great!

I tryed to convert/open them with every known graphic extension but i had no luck.

After that I looked a little around for the .qtc files and think that MIME Type of them is video/quicktime

video/x-qtc

maybe this will be helpful for somebody... I'll keep on tryin'.

edit:

I really think that these are video files but I couldn't work out the right format/codec.

Gstreamer tryes to play the files without any error!

regards
[Touch Diamond, MDA Compact IV ROM Development] ratcom:
Keep at it my friend ;) I dont know about you but I would be happy just to be able to change the background on all the tabs and maybe the font colour.

I've even cooked a WWE rom with the french Orange touchflo plugin (which I like the look of) however the main clock tab is very poor :( so I'm back to the original one now....
[Touch Diamond, MDA Compact IV ROM Development] demacus:
Hi guys,

I have to say that my last thoughts were false. The qtc files seems to be some encrypted png images (kinda like flash animation).

Until now I didn't find a way to decrypt them but I'm goin' in with it.... Hope we're gonna see some nice customized TFLO's here soon! :D

btw:

qtc = "Quasi True Color. 256 color image generated by combining the three SeaWiFS bands that most closely represent red, green and blue (RGB) in the visible spectrum."

regards
[Touch Diamond, MDA Compact IV ROM Development] mun_rus:
Cud u upload orange manila package )?
[Touch Diamond, MDA Compact IV ROM Development] ratcom:
http://rapidshare.com/files/129337242/package_Diamond_manila_orange_fr.rar.html

done :)
[Touch Diamond, MDA Compact IV ROM Development] l3v5y:
Where did you get the ROM from?

I suspect that may help a lot with editing...
[Touch Diamond, MDA Compact IV ROM Development] ratcom:
Got it from here http://xdaforums.com/showthread.php?t=405481 then I decompiled it and simply swapped it in my WWE rom base, intresting there are around 190 extra files in the french orange version :confused: otherwise Id have a list of all gfx files by now :(
[Touch Diamond, MDA Compact IV ROM Development] l3v5y:
Damn Orange!!!

Why can't HTC realise that someone will crack this sooner or later, and it would have been easier just to give us the files?
[Touch Diamond, MDA Compact IV ROM Development] mun_rus:
Thanx a lot :) Will play with it)
[Touch Diamond, MDA Compact IV ROM Development] Pharaohnough:
ratcom,

Have you posted your WWE version of the Orange FRE ROM anywhere on XDA? I would be interested to have a look inside it.
[Touch Diamond, MDA Compact IV ROM Development] ratcom:
No simply because there never much to them really, all I do is strip out what I dont use personally like java and MMS then add ringtones and a few programs i brought. Give me a minute I'll knock a WWE rom up with the orange touchflo init if you want?
[Touch Diamond, MDA Compact IV ROM Development] Pharaohnough:
That would be fantastic if it's not too much trouble

Which version of Manila does it use?

If you have the Orange Manila WWE that would suffice- no need for the entire ROM I guess
[Touch Diamond, MDA Compact IV ROM Development] ratcom:
no trouble, is there anything in the normal wwe rom you would like taking out? before I start?
[Touch Diamond, MDA Compact IV ROM Development] Pharaohnough:
The things I would normally remove are:

- MS Update

- Zip

- Adobe Reader

- HTC RSS Hub

- Voice commander

Thanks a million in advance. I'll buy you a beer :D
[Touch Diamond, MDA Compact IV ROM Development] pietrucci:
hi, are you sure this works on every ROM?

because in your .rgu file there are links to a DIL_APP map that doesn't exist on my ROM (Dutty's).

for example:

"CallPlanPath"="\\Application Data\\DIL_APP\\DIL_CALLPLAN.exe"
[Touch Diamond, MDA Compact IV ROM Development] l3v5y:
That must be an Orange OEM app...
[Touch Diamond, MDA Compact IV ROM Development] ratcom:
Guys you are right.... I very crudely dropped it onto a wwe rom just to see what it looked and felt like tbh as I love the original white manilla theme ;) but that home tab is so ugly I gave up ;)
[Touch Diamond, MDA Compact IV ROM Development] l3v5y:
I wish I had a Diamond so I could do something like that! And go through each file and try to work out what it does...

I may try and rig Manilla up in the WM6.1 VGA Emulator...
[Touch Diamond, MDA Compact IV ROM Development] sushilange:
Hey guys,

please help working to find out how the Lua-Files are working and how to make own lua-files, because as i think the whole functionality in touch flo 3d (e.g. showing weather, contacts, etc.) was made with lua.

I made a own lua-file which just printing 'hello world', but if I add this script to Home-tab:

<Page Order="0" Name="home.page" PackageName="HTC" Default="true" Title="[[IDS_HOMETITLE]]" [B]ExternalScriptPath="filename.luac"[/B]>
<ComponentReference Name="page" Mode9Path="HTC\home.mode9?testParam=1" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\icons.mode9" Component="Home_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="Home_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\icons.mode9" Component="Home_Preview" />
</Page>

manila will not start. I also tried to decompile the luaq-files but it doesn't work :( All decompilers are not able to decompile the luaq-files.

So lets figure out how the lua-script has to look like, and then we can made every plugin for manila like the today-plugins!
[Touch Diamond, MDA Compact IV ROM Development] ratcom:
@mkhattab > http://www.megaupload.com/?d=OGNM6G4J
[Touch Diamond, MDA Compact IV ROM Development] demacus:
Here you can get some more Information about lua: http://lua-users.org/

regards
[Touch Diamond, MDA Compact IV ROM Development] sushilange:
thanks, but i know everything about lua ;-)

The problem is, that HTC doesn't use normal compiled lua-scripts. the seem different, thats why a decompiler can't decompile the htc-lua-files.
[Touch Diamond, MDA Compact IV ROM Development] demacus:
Sorry, didn't want to disrespect ur knowledge!

I think ur gettin' something like this too?

demacus@demacus-mobile:~/Desktop/manila/luaq$ luadec 0d465002_manila
luadec: bad signature in 0d465002_manila

There are very similar files at Sony PSP and I think they're hacked already.

I'll search a little, may there are some useful things for us in PSP resources...

edit:

demacus@demacus-mobile:~/Desktop/manila/luaq$ luadec manila
luadec: virtual machine mismatch in manila: size of OP is 6 but read 0

Any Idea how to fix this?

regards
[Touch Diamond, MDA Compact IV ROM Development] dremanueleb:
Hi,

is the purpose of this thread to create a cab file for qvga devices?

thanks
[Touch Diamond, MDA Compact IV ROM Development] l3v5y:
It may be possible, but the main purpose of this thread is to mod manilla for the Diamond.
[Touch Diamond, MDA Compact IV ROM Development] davidebeatrice:
for qvga development go here
[Touch Diamond, MDA Compact IV ROM Development] rvdgeer:
I'm sorry that I can't really contribute to this thread (yet?), but I just wanted to say I totally support this idea!

I would love one or two tabs with "today-screens" or "today-tabs"...

:)

Hope you guys (and girls) find something soon!
[Touch Diamond, MDA Compact IV ROM Development] sushilange:
Any news on lua decompiling???

Also we have to know how this function works:

mode9InitializeHashPaths

If we know the hash algorithm, we know how to name own filenames (images, lua, etc.) and also which existing filename stands for.
[Touch Diamond, MDA Compact IV ROM Development] OS-ZloyMuh:
How to add the city in a file 2330fc3c_manila ?

Replacement any of cities on mine does not work (Changed code (correct) and name) ...

I can choose my city from the list, but updating does not work.

... excuse for my English
[Touch Diamond, MDA Compact IV ROM Development] ykat:
Hi all,

i just started my investigations 2 days ago, maybe somebody has already mentioned my idea:

about \HTC\ASSETS\blabla\*.qtc

what if there is a "virtual storage" (like in old DOS times) made by manila..

Manila makes a "virtual drive" and extracts/decodes all the stuff there..

Is there a way to look through the memory of a running Win 6.1?
[Touch Diamond, MDA Compact IV ROM Development] sushilange:
@ykat:

no, no.

All the required files are in the windows-folder.

e.g.: "12a4c67_manila"

The string before "_manila" is a hash of "\HTC\ASSETS\Images\filename.qtc"

Thats why I'm asking a few posts above, how the hash-algortithm is working so that we know which file belongs to which path.
[Touch Diamond, MDA Compact IV ROM Development] bepe:
hm... interesting, we could try some standard hash algorithms for strings.

Is there already one known path with it's hash?
[Touch Diamond, MDA Compact IV ROM Development] ykat:
hmm

anyway ther must be a way: Diamond Project Team knows the solution because they changed somehow the pics. (do you remember the first version of their ROM?)
[Touch Diamond, MDA Compact IV ROM Development] ykat:
Though the source code wasn't widely-distributed

INN Solution #1: File Naming by MD5 Hash

Perhaps first proposed in [Aguirre], this method was suggested to reduce file creation, access, and removal delays by making the INN spool directory ``bushier,'' i.e., putting a limit on subdirectory depth and limiting the number of files in any particular directory. (With a standard INN server, it's common to run into directory depth extremes like those in Figure 2.) Instead of storing an article in a path based on a newsgroup + article number tuple, the Message-ID is hashed using the MD5 cryptographic hash algorithm [Rivest]. The result is converted to an ASCII hexadecimal representation and then modified using this algorithm. (See also Figure 3.)

Use 6 bits in the first byte as the first subdirectory name.

Use 6 bits in the second byte as the second subdirectory name.

Use the next 4 bytes for the filename.

In the event of a collision, append a ``+'' to the filename and test again for collision.

In April 1996, when this method was implemented, Usenet article volume was typically 180,000 articles/day. Subdirectories on a feeder machine storing articles for three days would contain approximately 125-135 files. Each filename was 8 bytes long, making each subdirectory consume about 2KB.

http://www.usenix.org/publications/...a97/full_papers/14.fritchie/14_html/main.html
[Touch Diamond, MDA Compact IV ROM Development] mun_rus:
:))

I continue my experiments :)
[Touch Diamond, MDA Compact IV ROM Development] ykat:
nice attachments..

so how did you do?:confused::D
[Touch Diamond, MDA Compact IV ROM Development] ratcom:
nice one my friend! well done!
[Touch Diamond, MDA Compact IV ROM Development] sushilange:
Nice, but tell us how you did it.

Also i want to know, how you know which files to edit, so how you know that for example the home-icon is in "123456_manila" ?

I think this shouldn't be a secret of a few peoples around the world, because this will stopping further developments for our nice Diamond!
[Touch Diamond, MDA Compact IV ROM Development] Riel:
I am pretty sure that was HTC based pics of a .33 manilla version... They never mentioned that they changed it themselves and I see another rom coming up and mentioning the .33 graphics :)

But compare the files with a .30 version maybe gives some info where to look for the pics?
[Touch Diamond, MDA Compact IV ROM Development] ryujakk:
Just wondering... What are the .png files in the /Windows folder for? Because they very much resemble the pics on the phone! (ie YT_AP_bt_homeUp_mask.png and the like for the home icon.) So wouldn't simply modifying these .png files work for a start?
[Touch Diamond, MDA Compact IV ROM Development] WM_69:
Any idea which file should i modify in manila to change the default Microsoft Calendar to point to my Installed Calendar.. say Super Calendar or Agenda. Thks
[Touch Diamond, MDA Compact IV ROM Development] cyphol:
YT_* is for YouTube app
[Touch Diamond, MDA Compact IV ROM Development] ykat:
I am wondering about an x bytes long chiper.

first i thought the filenames are a kind of ignition keys in "encrypting"

BUT

This chiper must be "permanent chiper": NOT useing any keys/passwords, because all files starts with qtc1..... (or useing always the same key...)

PNG files always starts with %PNG, and if you look into them from a big distance you can see a kind of "pattern", just like in the "coded" files, starting with QTC1.

If you use a STATIC chiper on a Pattern, i think you should get an different pattern

One more thing..

all files starting with QTC1 are filled to a x lonf bytes FRAME with (ff)hex...

512 bytes, 1024 bytes, 4608 bytes.

It must be a kind of encryption or chiper i think...

just thinking , don't listen:D:p
[Touch Diamond, MDA Compact IV ROM Development] ykat:
QTC1 FILES are 99% PNG files.

If you look into mode9.dll:

Ignoring incorrect gAMA value when sRGB is also present Missing IHDR before sBIT Invalid sBIT after IDAT Out of place sBIT chunk Duplicate sBIT chunk Incorrect sBIT chunk length Missing IHDR before cHRM Invalid cHRM after IDAT Missing PLTE before cHRM Duplicate cHRM chunk Incorrect cHRM chunk length Invalid cHRM white point Invalid cHRM red point Invalid cHRM green point Invalid cHRM blue point Ignoring incorrect cHRM value when sRGB is also present Missing IHDR before sRGB

gAMA, cHRM, sBIT, sRGB, tRNS, etc are words from the "world of PNGs"...
[Touch Diamond, MDA Compact IV ROM Development] ykat:
:(:confused::(

found traces also for jpg :-((((
[Touch Diamond, MDA Compact IV ROM Development] Huey85:
Wow those TF3D icons look niiiiiiice! Thanks for your efforts with this so far! :D
[Touch Diamond, MDA Compact IV ROM Development] sushilange:
@ykat: hm... I opened a qtc file in hex editor and also a png file and i can't see any similarities.. they look both very different???
[Touch Diamond, MDA Compact IV ROM Development] ryujakk:
It looks promising! How did you do it? "Direct file editing," I know, but more precisely?
[Touch Diamond, MDA Compact IV ROM Development] ykat:
i said there is a kind of pattern not they are similar.

I just saw this thread::(

http://xdaforums.com/showthread.php?t=398173

They ARE PNGs
[Touch Diamond, MDA Compact IV ROM Development] Ximoon:
Nice job all, I hope you'll come with some configuration rocking tool !

Is there an easy way to make a pack from the current version of manilla, in order to be able to save/restore/distribute it easily ? I'd love to try to replace the orange clock by the HTC one, but I kinda fear to blow everything up.
[Touch Diamond, MDA Compact IV ROM Development] boinger66:
neat feature in orange manila you can drag the clock around...

also call history tab would be nice to have in other manilas
[Touch Diamond, MDA Compact IV ROM Development] cyphol:
Tom Codon has uploaded a modified version of Manila in his Diamond Project Thread.:)
[Touch Diamond, MDA Compact IV ROM Development] dremanueleb:
can i flash the rom on device mio a701 (wm 6)?

Thanks
[Touch Diamond, MDA Compact IV ROM Development] Mauser.NET:
This thread isn't about a ROM. It's about trying to edit Manilla (=codename for TouchFlo3D) for the HTC Touch Diamond.

I doubt you will be able to find any ROM for your Mio on this forum, cause it's all about HTC phones, and maybe some HP iPAQ's and one Palm Treo, but that's because these were made by HTC also :D
[Touch Diamond, MDA Compact IV ROM Development] KukurikU:
omg! LOL! :D:D: you made me laugh!!!!!

from what planet are you? what's are you doing here? mio? flash? do u even look where u posted yr question:D:D
[Touch Diamond, MDA Compact IV ROM Development] riri:
Net view

Hello,

i wan't modify the favorit link of the net view in manila.

I editind the XML files, i don't see the tex or link who i wan't change.

If anyone know the solution.. thanks
[Touch Diamond, MDA Compact IV ROM Development] Pharaohnough:
KuKurikU,

YOU make me laugh with your comments :D:D:D - hahaha
[Touch Diamond, MDA Compact IV ROM Development] AF241:
Hi guys, I don't know much about hacking and etc. but I was wondering if the tlof3d is based on some sort of flash animation that uses xml rr these graphic files are in 3d format. I remember a speech from the CEO of HTC where he was talking about the tflo3d. He mentioned something like- the tflo3d is real 3d not just fancy images and also something about millions of pixels getting rendered real time as you flick through tabs and etc. Well... these are just my thoughts and hope you guys can figure this manila out and show us how to customize the look of manila the way we like.
[Touch Diamond, MDA Compact IV ROM Development] dremanueleb:
thanks kukuriku,

you are a gentlman ...
[Touch Diamond, MDA Compact IV ROM Development] heien:
..

These are the danish localization files, if the theme is showing IDS_COMMAND instead of pure text. :) I believe its the same for all themes.
[Touch Diamond, MDA Compact IV ROM Development] idsk:
the first big favorite link is in 27c65cbd_manila (you can change the link but maybe not the icon since it's in compressed format)

the other favorite links are the pocket ie ones, so these are stored in the registry:

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\xxxxx]

"URL"="xxxxxx"

"Icon"="xxxxx"

"Order"=dword:X
[Touch Diamond, MDA Compact IV ROM Development] lauffer:
Hello,

Did anyone ever find a way to put favorites on the left side of the "People" screen?
[Touch Diamond, MDA Compact IV ROM Development] HerrVorragend:
luadec can only decompile lua-5.0-binaries... but when you open the lua-dll with a hey-editor you can see that it is lau 5.1... so the reason why you get this error is that you can't decompile 5.1-files with luadec (or have you found a newer version of luadec? I can't find one)
[Touch Diamond, MDA Compact IV ROM Development] HerrVorragend:
I don't thint that it is a hash (MD5 or something like that), becaus you can not reverse a hash, and if you can't revers it you can't get back the filename.

I'll try to decompile the manile.exe... perhaps a can get some informations about how to decrypt that number
[Touch Diamond, MDA Compact IV ROM Development] HerrVorragend:
do we know at least for one 1234567_manila-file the original name? that would realy help to find out how to get the filename ;-)