[REQ] HTC Youtube Player (Reg) Tweaks - Touch HD General

Does Anybody know how to change the TempFileLocation to SD-Card?
I found an Registry string, but if i change it eg. to 2 than the Youtube Player hang while loading the Video
"HKLM/Software/HTC/YouTube/TempFileLocation with a value of 1
Also the downloaded Temp.3gp from Youtube can not be played with any Player, also VLC on my Computer says that he can not play the file.
Is there Anyway to download thwe Videos with the HTC Youtube Player, like on the Iphone (eg. MxTube)? I tried several Registry stings but no one work.
I only found out that the EnableSW improves the Video quality very, but while on loading the file it is a little bit frameskipping.
Thanks for helpful answers.
greetz

I'm trying to find answer to the same question. Someone pls help.

Silentd said:
Does Anybody know how to change the TempFileLocation to SD-Card?
I found an Registry string, but if i change it eg. to 2 than the Youtube Player hang while loading the Video
"HKLM/Software/HTC/YouTube/TempFileLocation with a value of 1
greetz
Click to expand...
Click to collapse
Looking for an answer as well...
Did you try changing the PurgeMinStorage value to a higher one?

About the "TEMP.3gp" file
I ran TrID on the file and it gave this:
Code:
TrID/32 - File Identifier v2.02 - (C) 2003-06 By M.Pontello
Definitions found: 3975
Analyzing...
Collecting data from file: C:\Users\HS\Desktop\Temp.3gp
100.0% (.SKC) ISIS sketch (1001/2)
hmmmm!! seems irelevent any Ideas??
by the way did you try to set the registry key to "0" ??!!

Guess I DID IT!!!!!!!!!!!!!!
Scaning the file in hex editor for media headers brought this up
"....ftypmp42....isomavc1mp4"
YES!!
It IS mp4
The hex address was
Code:
0x318
then I just cut from there up ie:
From the top of the file
Code:
0x0
To
Code:
0x317
The Header Must Be Like this
Code:
00000000h: 00 00 00 1C 66 74 79 70 6D 70 34 32 ; ....ftypmp42
And also renaming the file to something.mp4
wheeeww......now it works..!!!!
seems google was adding some sort of additional herder!
If you don't know hex editing don't bother it aint that important is it?
PS:Your file might be something else (not mp4) then the header will have to
change but I guess the additional header is the same length!?
correct me if I'm wrong!

Hello!
I hacked HTCYouTubeService.dll in the context of cache location....
Now you need to create a directory \Storage card\YT (new youtube cache location) and copy content of \Windows\YouTube to it
After that necessary to install sdkcert.cab and Allbest_mod_htc_you_tube_dll.cab...

Related

The ultimate Pocket PC hacking + Asus MYPAL A620BT thread

The ultimate ( Asus MYPAL A620BT ) Pocket PC thread
World Wide English Windows Mobile 2003 / PocketPC 2003
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
German Windows Mobile 2003 / PocketPC 2003
(Screenshoots, PNG conversion and highest possible lossless PNG optimization & file size reduction by:
Borg Number One - borg_no [dot] one -at- gmx [dot] net
Thanks go to GIMP, PNGCRUSH and PNGOUT)
1. Introduction
2. Attemps getting a A620BT ROM image
3. Hacking/modifying the ROM image
4. A620BT Combo Buttons
5. Screenshots - how did I built them?
6. Problems/questions
1.) Introduction
Hi.
Short time ago I bought the Asus MYPAL A620BT Pocket PC / PDA.
It is a great PDA bundled with the superb "Destinator" navigation software.
Well, I like it to modify embedded software & firmware (especially BIOS files),
as you can see here:
The BNOBTC homepage
So I started to do some reverse-enginering with the A620BT.
2.) Attemps getting a A620BT ROM image
So, logically, I looked for a method how to dump / get the ROM file,
before I could start modifying the Asus MYPAL A620BT ROM itself.
I could not find anything, even the Asus support homepage did not help any further.
But with the help of google.com I could find other interesting stuff:
3.) Hacking/modifying the ROM image
Asus' FTP Server for "special" PDA related files:
"ftp4.asus.com.tw"
UN: PDAUser
PW: pda9983!
( Tip: When I was writing this article the UN:ftp01tk* and PW:vtf2g6z* seemed to be outdated and did/do not work anymore.)
*= can also be found by google.com
Here:
ftp4.asus.com.tw/PDA/AD620BT/ROMImage/PPC2003
I was able to find English, German, etc..., ROM update files.
Inside the zip archives (e.g.: "SW-A4H01WA-007_09931WWE.ZIP") you can find following files:
+ AD620N.nb0
+ BOOT620N.nb0
+ IPL620N.nb0
+ .doc / .txt / readme file
3.1.) AD620N.nb0
It contains the Pocket PC operating system (Windows Mobile 2003 [a.k.a PocketPC 2003])
and the PocketPC Diagnostic Program
(Screenshoots, PNG conversion and highest possible lossless PNG optimization & file size reduction by:
Borg Number One - borg_no [dot] one -at- gmx [dot] net
Thanks go to GIMP, PNGCRUSH and PNGOUT)
The eight symbolic characters, which are shown on the upper-left and upper-right corner inside the
PocketPC Diagnostic Program can also be found in the "AD620N.nb0" file.
Here is the list with offsets, data and images of/from the symbolic chars:
symbolic character 1 @ 0x0000A400:
00001010FFFE101000007FFC01001110FFFE111001007FFC01003FF801000100
symbolic character 2 @ 0x0000A420:
00007DFE1010102021FE21024102FDFE4502450245FE4502450245FE7C480084
symbolic character 3 @ 0x0000A440:
00003FF80100FFFE8102BD7A8102BD7A00003FF821083FF821083FF8010201FE
symbolic character 4 @ 0x0000A460:
00007C924492452446487D244492449244407DFE4586454A4532454A45868DFE
symbolic character 5 @ 0x0000A480:
000020202020202023FCF82020202BFC310420886050A02020502088A1046202
symbolic character 6 @ 0x0000A4A0:
000003FE00480048FC48084811FE20484048BC482448244824483C8801080208
symbolic character 7 @ 0x0000A4C0:
000001000100010001007FFC41044104410441047FFC01000100010001000100
symbolic character 8 @ 0x0000A4E0:
00000000020001801100510851045006D00290021008100810080FF000000000
There is also another method to get the symbolic characters:
The ROM update file contains a kind of a file system which can be viewed with the really great utility:
=+ DUMPROM += by Willem Jan Hengeveld ( The XDA Developers homepage ).
With DUMPROM I could extract all files and "nk.exe" is the actual/proper/real file
which contains the PocketPC Diagnostic Program / AD620 Test Program.
Because of the "nk.exe" does not begin at offset 0x00 inside the "AD620N.nb0" file,
the real adresses are following:
symbolic character 1 @ 0x00009800.
symbolic character 2 @ 0x00009820.
symbolic character 3 @ 0x00009840.
symbolic character 4 @ 0x00009860.
symbolic character 5 @ 0x00009880.
symbolic character 6 @ 0x000098A0.
symbolic character 7 @ 0x000098C0.
symbolic character 8 @ 0x000098E0.
To view / see the symbolic characters, you just need to convert the hex data into binary (0,1) strings.
For example let us convert the data of the first symbolic character into a viewable symbolic character:
0000 1010 FFFE 1010 0000 7FFC 0100 1110 FFFE 1110 0100 7FFC 0100 3FF8 0100 0100
==>
Code:
HEX |Binary
------+--------
00 00 |00000000 00000000
10 10 |00010000 00010000
FF FE |11111111 11111110
10 10 |00010000 00010000
00 00 |00000000 00000000
7F FC |01111111 11111100
01 00 |00000001 00000000
11 00 |00010001 00010000
FF FE |11111111 11111110
11 10 |00010001 00010000
01 00 |00000001 00000000
7F FC |01111111 11111100
01 00 |00000001 00000000
3F F8 |00111111 11111000
01 00 |00000001 00000000
01 00 |00000001 00000000
Now, let us convert all "0" to "." and "1" to "X" to get a better view:
Code:
................
...X.......X....
XXXXXXXXXXXXXXX.
...X.......X....
................
.XXXXXXXXXXXXX..
.......X........
...X...X...X....
XXXXXXXXXXXXXXX.
...X...X...X....
.......X........
.XXXXXXXXXXXXX..
.......X........
..XXXXXXXXXXX...
.......X........
.......X........
Then, with a drawing program / utility,
each "X" will be drawn as a colored pixel and each "." will not be painted.
Finally, you reached to convert a binary character into a bitmap and you can see the first symbolic character:
(Screenshoot, PNG conversion and highest possible lossless PNG optimization & file size reduction by:
Borg Number One - borg_no [dot] one -at- gmx [dot] net
Thanks go to GIMP, PNGCRUSH and PNGOUT)
(Now you are able to modify the upper-left and upper-right corner of the diagnostic screen inside the "nk.exe" )
(The background color green was just used for easier image processing.)
The PocketPC Diagnostic Program ( AD620N Test Program ) also contains a nice
Key/Button Test
title scren --> testing the buttons
-->
(Screenshots / animations, PNG / gif conversion and highest possible lossless PNG optimization & file size reduction by:
Borg Number One - borg_no [dot] one -at- gmx [dot] net
Thanks go to GIMP, PNGCRUSH and PNGOUT)
3.2.) BOOT620N.nb0
This file contains the bootloader and a built-in flash utiliy which can be accessed by/with special Combo Buttons in section "4"
Furthermore it contains the splash logo which is shown after a reset / after "booting" the Asus MYPAL A620BT PDA.
Here is a photo, which I made:
(Photo by:
Borg Number One - borg_no [dot] one -at- gmx [dot] net)
However, I am not able to rip and display the logo in a decent way.
If you open the BOOT620N.nb0 file in a HEX editor and if you jump to offset:
0x00001E45 (or: 0x00001E47, if the 0D0A string does not belong to the image data),
then you can see the beginning of the image data.
It seems to be any kind of a palette area.
The real / plain image data seems to begin @ offset: 0x00001F98 and seems to end @ offset: 0x00027798.
That means 25800 Bytes [Hex] = 153600 Bytes.
After extracting the area ( after extracting the mentioned 153600 Bytes ) and pasting the data to a new (.RAW) file,
you can open the file in programs which are able to import/open raw files, such as:
"Irfanview".
( http://www.irfanview.com )
In Irfanview choose "RAW - RAW Image Data" as file type when you open the new built .RAW file.
After selecting and opening the file, a new window appears, where you can enter the dimensions and select the bits per pixel.
Take: 240 * 320 * 16bit.
This was my first attempt.
(The RAW image file began with one byte too much. )
(I did not copy and paste the area: 0x00001F98 - 0x00027798. I copied 0x00001F97 - 0x00027798. )
(Screenshoot, PNG conversion and highest possible lossless PNG optimization & file size reduction by:
Borg Number One - borg_no [dot] one -at- gmx [dot] net
Thanks go to GIMP, PNGCRUSH and PNGOUT)
This was my final attempt:
(This time, the area: 0x00001F98 - 0x00027798 inside the BOOT620N.nb0 was copied and pasted to a new raw file exactly.)
(Screenshoot, PNG conversion and highest possible lossless PNG optimization & file size reduction by:
Borg Number One - borg_no [dot] one -at- gmx [dot] net
Thanks go to GIMP, PNGCRUSH and PNGOUT)
The logo seems to be have a color depth of 16 bit (2bytes per pixel) + a kind of a palette??????!????
Well, as you can see, I am currently not able to display the image correctly.
So, there are questions.
Please goto section 6.
3.3.) IPL620N.nb0
? ? ?
So, logically, there are questions.
Please goto section 6.
3.4.) .doc / .txt / readme file
The file contains helpfull information and detailed instruction for a ROM Image Update.
It also describes the special Combo Buttons.
4.) Special Combo Buttons
1. Power button + Reset Button --> Cold Boot
2. Record button + Reset Button --> ROM Image Update (Immediately Update AD620N.nb0)
3. AP1 button + Reset button --> Eboot Mode
4. AP2 button + Reset button --> ROM Image Update (Need User Input File Name)
5. AP3 button + Reset button --> Diagnostic Program
6. Power button + AP4 button --> Calibration for Touch Screen
There are further questions.
Please goto section 6.
5.) Screenshots - how did I built them?
Here are some programs which are able to control Pocket PC systems via PC (Netmeeting-like)
and which can be used to build screenshots as long as the Pocket PC is not in FlashROM mode or inside the Diagnostic Program.
+ ActiveSync Remote Display ( part of Windows Mobile Developer Power Toys)
( free download: http://www.microsoft.com/downloads/...d6-1dcc-47aa-ab28-6a2b006edfe9&displaylang=en )
( http://download.microsoft.com/downl...-83a0-81d7d9ac9ce1/WindowsMobilePowerToys.msi )
+ dotPocket (commercial software)
( http://www.dotpocket.com/pocket-pc-software.html )
+ Pocket Controller (commercial software)
( http://www.soti.net/ )
Because there are no(**) lossless methods to grab the screen while the PDA is in Diagnostic - or in FlashROM mode,
and because there are no screen dumping utilities which would work in the mentioned states/modes,
I looked for alternatives and I found some.
With the help of my Plustek USB scanner I could take some really huge and detailed scans from my Asus MYPAL A620BT.
The images were scanned with 1200 DPI, so I was able to:
+ see each dot/pixel/transistor on the touchscreen/TFT
+ re-draw each character and symbol and store each of them in a single graphics file.
With the help of HTML I could rebuild the different screens in a pixel accurate way.
So, I did a huge amount of reverse engineering to get decent screenshots instead stupid and bad photos.
( **= Theoretical, I could open the PDA and grab the digital video / display data from the
TFT / touchscreen pins. )
There are further questions.
Please goto section 6.
6.) Problems, troubles & questions.
Reffering to: 3.) Hacking/modifying the ROM image & 3.3.) IPL620N.nb0:
What are the files: "BOOT620N.nb0" "IPL620N.nb0" detailed for?
How to dump the bootloader area from a Pocket PC to a file?
Reffering to: 3.2) BOOT620N.nb0,
I would like to know:
"How to rip and modify the splash logo in a accurate way?"
"Did I forget something to do?"
Reffering to: 3.4.) .doc / .txt / readme file,
are there further Combo Buttons?
Reffering to: 5.) Screenshots - how did I built them?:
I already tried find the binary data for the displayed font /characters,
when the Asus MYPAL A620BT is in Diagnostic - or in FlashROM mode.
So, I tried to find the binary data for many re-painted chars in the three .nb0 files and extracted files.
For example, I also looked for the binary data of the character: A [ 3078CCCCFCCCCC ]
Code:
HEX|Binary
---+--------
30 |00110000 ..XX....
78 |01111000 .XXXX...
CC |11001100 XX..XX..
CC |11001100 ==> XX..XX..
FC |11111100 ==> XXXXXX..
CC |11001100 XX..XX..
CC |11001100 XX..XX..
However, no files seems to contain the "console font".
In the PC area, the VGABIOS contains the (8*8, 8*16,...) charsets/fonts,
which are "encoded" in the same binary way.
Is there any kind of "VGABIOS" inside the Pocket PC?
(WinRAR and TotalCommander are able to search HEX strings inside files.)
Where is the standard/console font stored (in)?
Is it also stored in one of the .nb0 files?
Reffering to 2.) Attemps getting a A620BT ROM image:
After a second search with http://www.google.com,
I could find two methods to dumping the rom, but both methods do not really work.
a)
The OSImage Tool ( http://www.xs4all.nl/~itsme/projects/xda/OsImageTool.html ) seems to work,
but after ~ 1.5 - 1.7MB nothing happens anymore.
No crash, ...etc., the dumping process just stops and nothing happens anymore.
I tried the OSImage Tool many time and I also removed/closed all applications from the memory.
(Pocket PC->settings->memory)
But everytime I try to dump,
the OSImage Tool stops after ~ 1.5 - 1.7MB.
The dumped part seems to be ok. (There are no weird chars inside the 1.5MB dumped part.)
However, it is just a part - not the whole dump.
In this forum I could find another person, who described the same problem in another thread:
http://forum.xda-developers.com/viewtopic.php?p=34550#34550
I did not try the "bootblaster" yet.
But, I think it is important that the current OSImage Tool will also be improoved.
b)
grab_it ( http://forum.xda-developers.com/viewtopic.php?t=22861 ) brings a stupid error message:
(Screenshoots, PNG conversion and highest possible lossless PNG optimization & file size reduction by:
Borg Number One - borg_no [dot] one -at- gmx [dot] net
Thanks go to GIMP, PNGCRUSH and PNGOUT)
The autostart feature worked and I also tried to start the grab_it manually, but everytime I get the error message:
Cannot create file
I think this will work
grab_it by default trys to write dump.bin file to "/Storage Card" folder since you have "/Speicherkarte" instead it ends with error message try attached file with modiffyed grab_it to work with your asus.
How to restore ROM
Is it possible to restore the original ROM as my PDA doesn't boot (I believe it lost the ROM image).
latest rom for A620BT GER
hi everybody,
i know it's an old post and i'm very unhappy to get it outside the recycle bin but i really need ur help.
IS THERE SOMEBODY WHO HAD THE LATEST ROM v0.99.31 or so in german language for Asus MyPal A620BT? I really need it.
Thanks to the one who can share it with me.
gReeTs
cYBERdEL
rom asus a620bt
hello guys.I desperately need a ROM in English for a620bt.ma someone can help please. [email protected]
Finally i found ROM for A620bt v0.99.31 WWE,and German language,and for A620 the last ROM.I am verry hapy.yeah
A620BT ROM image?
Finally i found ROM for A620bt v0.99.31 WWE,and German language,and for A620 the last ROM.I am verry hapy.yeah
I'd also be a happy guy like you - could you please send the ROM for A620bt v0.99.31 WWE?
thanks in advance
Luke
[email protected]

Tsk file association for Jasjar

Hi there to all i have by mistake deleted the file association for tsk file in total commander and now whenever i try to open any tsk file it says there is no associated application with this and i have checked in total commander options for setting it back is asking for four things namely icon file index number parameter and command .
Can anybody help me by providing these settings from their I -Mate Jasjar
anykind of help will be appreciated Thanx .
Code:
HKEY_CLASSES_ROOT\tskfile\
(Default) = tsk
EditFlags = 0x10000
HKEY_CLASSES_ROOT\tskfile\DefaultIcon
(Default) = shellresapps.dll,-15618
HKEY_CLASSES_ROOT\tskfile\Shell\Open\Command
(Default) = ctlpnl.exe cplmain,13
HTH
thanks for such a fast reply but i m already having all these settings in my regstry but what i want is the setting for tsk association files in total commander software which are in the properties of the file
hi there to all comeon its nearly 2 days and 39 views but no one with the settings comeon man here we all are to help each other
please help .............
You could try some software which will allow you to change file associations such as http://www.pocketgear.com/software_detail.asp?id=2430
I havent tried it, so Im not sure if it will work.
Hi there i dont want any software i just want the default settings for .tsk and dat file associations thats it
hence they can be found with the total commander software in the properties tab of these kind of files and hence i m sure that many of us would be using that software but still it has been two days and nobody is there to help me with this simple problems .
Perhaps you could tell me how to get the information and I'll see if I can pull it off my XDA-Executive for you.
G
niketkumar: I've checked my file associations in GSFinder, and they're exactly as PReDiToR has posted above.
Now you suggest that you already have those settings, so it appears that the problem may be located elsewhere. If you've definitely got exactly the settings indicated, then you may have deleted something else related.
I suggest that you investigate the problem more carefully and come back to us with more detail. The registry settings are what causes the file to be launched with the associated control panel page, ctlpnl.exe cplmain,13
Perhaps you've deleted other settings that you've not told us about?
If those settings already exist in your registry, how can we help you further? Perhaps you should try dumping your registry, backup, hardreset, dump registry, use SSnap to compare the registry dumps, and then teach us what you know. http://s-k-tools.com/ You can then revert to your backup and fix the problem yourself. However, if you want a virgin registry dump, I'm happy to send you one.
You seem to be fairly confident that we are all incompetent, unable or unwilling to help you. I would contend that that's very much untrue. However, to quote PReDiToR's sig,
Do not meddle in the affairs of geeks for they are subtle and quick to anger
Click to expand...
Click to collapse
V
vijay 555 u surely misunderstood me i never meant the way what you thought of it is for sure that we all are here to help each other so i m very greatful to everybody who did replied to my post and let me be frank what actually i did was that in my application total commander i selected the tsk file then properties then association option there it showed an icon with x when i clicked it , it deleted its association
Hence i checked these settings in my registry they all are there but when i m trying to open that application it says " there is no application associated with it Run the app first and then open it within the application "
and if now if you dont trust me that still i m hiding something from you then you urself can download that ghisler's total commander and try it yourself to believe me .
The other setting that is needed to make a file open is the .tsk association that points it to the settings that I gave you.
Code:
HKEY_CLASSES_ROOT\.tsk
(Default) = tskfile
Code:
HKEY_CLASSES_ROOT\tskfile\
(Default) = tsk
EditFlags = 0x10000
HKEY_CLASSES_ROOT\tskfile\DefaultIcon
(Default) = shellresapps.dll,-15618
HKEY_CLASSES_ROOT\tskfile\Shell\Open\Command
(Default) = ctlpnl.exe cplmain,13
With these two pieces of code you should be able to use the ordinary Windows File Explorer to launch a .TSK file.
If that works then your problem is mostly solved. I don't suppose the file working in TC is important if you can use WinFE to install a theme?
Thanx PReditor that settings worked .
can you do me another favour , can you also tell me both the settings for .dat file extension in your registery coz i have deleted that also .

HOWTO: programmaticaly create a shortcut to a file/folder

hi,
I need to create a shortcut to a file or folder using eVC++ 4.0, anybody knows how to do this??
Thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanx alot
Mohammad
It's very easy:
Just create a file (with lnk extension)
and write to it:
10#"my_app.exe" -launch
this is what it means:
10 - length of the string after #. This value doesn't have to be accurate because it is usually ignored.
"my_app.exe" - path and name of the target of the shortcut.
-launch - command line parameters (if you have any)
You can also add: ?incon.exe,0 to take an icon from another exe / dll
Thaaaaaaaaaaaaaaank you very very much,
but I need a small thing, could you please provide me with a complex example so I can understand all features supported for shortcuts.
Thank you again,
Mohammad
Mo.
A number of us have posted about the structure of the .lnk file.
Search against my username for the word completeness.
V
now, I searched and got how the thing works, but I have a problem with coding this stuff:
When I attemp to write to shortcut file like this:
strData.Format(_T("%d#\"%s\""),strFilename.GetLength(), element.strPathname);
ShortcutFile.Write(strData,strData.GetLength()*2);
The file is not written correctly, what I get is the data I wrote in the file with a square charecter after each letter like this:
#□4□0□"□\□S□t□o□r□a□g□e□ □C□a□r□d□\□M□y□P□r□o□g□r□a□m□.□E□x□e□"□
so how can I solve this? and does it relate to unicode?
That's because you are trying to write it in UNICODE. This adds zero to every byte.
You must use fopen, fprintf, fclose functions or just create an array of char and use FileWrite to create an ASCII text file.
Thanks levenum,
but isn't windows ce file system unicode based? if so, how can I use ASCII format to write unicode filenames?
Thanks alot
Mohammad
#include <Oleauto.h>
......
char convertUshortToChar(unsigned short in)
{
char con='\0';
VarI1FromUI2(in,&con);
return con;
}
and add Oleaut32.lib to the list of object/library moduals in you project settings.
just call that for each unicode character that you want to be ascii and write the result to file.
Two things:
a) The file system may be UNICODE, but shortcuts are ASCII text. Also ASCII functions like fopen are supported.
b) There is a much easier way to convert UNICODE to ASCII:
mbstowcs(unicodeStrBuffer, asciiStrBuffer);
OK, I did it, but I think that there is a problem with Windows mobile, and it is a big problem.
Till now, I beleive that you cannot create a shortcut to a unicode-named file, I failed to do that, File explorer was not successful, Resco Explorer was not better.
Worse, they do not tell you that you cant create the shortcut, they create the shortcut for you and when you try to open it they conclude that the path was not found!!.
Very bad huh?
Mohammad
I thought that all file names are in unicode?? Use my shortcut creator in GSMbeam file open dialog to try and make a shortcut to a file named like you said. If that shortcut dose not work send me the file in question and I will try and see whats going on.
Ok, I downloaded your program and tried to create a shortcut for an arabic-named file, simply it did not work.
I know its not a bug in ur program, its a bug in Windows Mobile, it is mainly a bug in the design itself, how does Micro$oft design windows mobile to be unicode based while non-ascii characters are not supported in the shell links, its really a shame.
You can be sure that this will happen with asian characters along with Farsi, Hebrew, Arabic and all non-ascii characters.
Programmatically, what happens is as follows:
1. A program converts a filename from unicode to ASCII to save it in the .lnk file.
2. If the file name contains non-ASCII characters, those will be converted to NULL character.
3. When the shell tries to resolve the link target it does not recognise the filename because some characters are NULL.
Thats what I found out!!
Take this file name for example (Arabic): 2مرحبا.mp3
Try to solve the issue, and please inform us whatever happens with you..
Best Regards,
Mohammad
So the problem is how to get the shell to read unicode in lnk files. I re-wrote a lnk file in unicode to see if it would work but it would not. There are a lot of non english ppc users, surely this problem has come up before?
As an experiment I also made shortcut to a folder using utf-8, I think that contains arabic characters and also the ascii characters. After removing some garbage that my editor put at the front of the lnk file worked fine. Try making a shortcut in notepad and saving it as a utf-8 file then rename it on your device but make sure there is no extra characters.
أنا قادر على أكل الزجاج و هذا لا يؤلمني. -- I think those characters are arabic and they are copied of a utf-8 table site so if the shell can read a utf-8 lnk that contains english letters then maybe it can do the arabic too.
Actually, non English UNICODE characters are translated in to extended ASCII codes (128 - 255). When the system needs to translate these codes back to UNICODE it relies on code page definitions in the wince.nls file.
If your locale is properly set to Arabic and you have a valid nls installed (ether you have Arabic ROM or some sort of Arabic language support installed) you should be able to reference Arabic file names using ASCII links.
So, can I depend on string conversion functions we discussed before in this topic to convert characters according to my code page?
I have an arabic ROM installed on my Wizard, it is the i-mate rom on O2 device, so the arabizer doesnt work well, may be because the serial number of the O2 device.
Anyway, I should invistigate this issue on my friend's JamIn device, and we should come up with a workaround for this wiered problem.
Regards all,
Mohammad
OK,
I have tried creating a shortcut on my friend's arabic-enabled JamIn device, the shortcut refers to arabic-named file and it worked good.
levenum, you are right, it depends on the code page on each device, so your device will not be able to create a shortcut to an arabic named file.
Mohammad

HTC Home - replace Windows Media Player with TCPMP

Hi fellas,
any hint how to make such change
I was stfg for a while and found someone on XDA asking the same question, but got no reply at all
I have seen Dutty made something with it in his SupaLite rom but more details would be great
Thanks,
Gabriel
Yes, it's possible.
I replaced my (Videos) with (TCPMP) by modifying the registry:
HKLM\HTC\Biotouch\MediaHubMini\App1_3
Change Path from
\Windows\HTCAlbum.exe
to
\Program Files\TCPMP\player.exe
Change Param from
-mode:camera -type:video
to
(null)
Soft-reset.
Same thing can be done for Music, Photos icons, or other applications (ie. IE, CommManager,...) with HKLM\HTC\Biotouch\APLauncher and appropriate APPx registry.
This doesn't make sense since the change you're suggesting refers to the program htcalbum.exe instead of windows media player...wouldn't this just route all calls to htc album to tcpmp instead of rerouting everything that would normally go to WMP to TCPMP? Or am I a douche?
My solution is referring to the TouchFlo (sorry if it was confusing/misleading)
mr_ding said:
My solution is referring to the TouchFlo (sorry if it was confusing/misleading)
Click to expand...
Click to collapse
Search for an app called Cube Config tool.
Anybody have the solution?
I'm interested too!
THX!
I'm too.
I posted something in the other post here #10 :
http://forum.xda-developers.com/showthread.php?t=359973
THX
quick and dirty
hi,
here is a quick and dirty solution i made some minutes ago for my self.
copy all files from the tcpmp dir to the windows folder.
rename player.exe to wnplayer.exe
install mycert_cert.cab file and replace the htcalbum.exe with the one in the rar file.
now the htcalbum should open videos with the tcpmp.
regards stavro
???
What RAR file?
^^ sorry my mistake, here is the rar file

[APP] VipRegExport 8.0 Registry backup Utility based on ini file

I have created small utility Called VipRegExport.
Requirement : .netCF 2.0 higher
What Utility Do
It reads input ini file and create registry export per section for every values in that section. It saves registry in .reg file.
Sample ini file
# Secion name will file name to be export registry values in it
# this is how you can comments
[MyKeys]
F01=HKLM\Software\Microsoft\Shell\Keys
F02=HKCU\Software\Microsoft\Today\Keys
#Setting for all third party software
[MySoftware]
F03=HKCU\Software\HButton
F04=HKCU\Software\waku
F05=HKEY_CURRENT_USER\Software\TodayAgenda
F06=HKEY_CURRENT_USER\Software\pocketMax
F07=HKEY_CURRENT_USER\Software\AlenSoft
F08=HKCU\Software\Microsoft\Shell\TaskSwitch
F09=HKLM\Software\ThrottleLauncher
F10=HKEY_CURRENT_USER\Software\Parlingo
F11=HKEY_CURRENT_USER\Software\Mort
F12=HKEY_CURRENT_USER\Software\Ghisler
F13=HKEY_CURRENT_USER\Software\FdcSoft
F14=HKEY_CURRENT_USER\Software\CallCalendar2
F15=HKEY_LOCAL_MACHINE\SOFTWARE\SHEALD
F16=HKLM\Software\HTC\HTCHome\Weather\Settings
F17=HKEY_LOCAL_MACHINE\Software\Pointui
F18=HKEY_LOCAL_MACHINE\Software\WiFiFoFum
F19=HKLM\Software\Apps\VicSoft ClearTemp
F20=HKEY_LOCAL_MACHINE\Software\Saman
[MyExtention]
F21=HKEY_CLASSES_ROOT\.mscr
F22=HKEY_CLASSES_ROOT\.mortrun
F23=HKEY_CLASSES_ROOT\MortScript
F24=HKEY_CLASSES_ROOT\.mbi
F25=HKEY_CLASSES_ROOT\MortButtonInfo
F26=HKEY_CLASSES_ROOT\.reg
F27=HKEY_CLASSES_ROOT\regfile
F28=HKEY_CLASSES_ROOT\.pdf
F29=HKEY_CLASSES_ROOT\AdobeReaderLE.2
[MySetting]
S01=HKLM\Software\Softick\Card Export\RunTrayClientAtStartup
S02=HKLM\Software\HTC\PHONE\BatteryIconLevel
S03=HKLM\Software\HTC\PHONE\bShowBatteryIcon
S04=HKCU\Software\Microsoft\Internet Explorer\Main\Default storage location\All Files
S05=HKCR\SystemFileAssociations\image\shell\save\Save Location\Default
S06=HKCR\SystemFileAssociations\audio\shell\save\Save Location\Default
S07=HKCR\SystemFileAssociations\video\shell\save\Save Location\Default
S08=HKCU\Software\HTC\Camera\4.00\Strings\Save Location
S09=HKLM\Software\HTC\Camera\General\EnableDCIM
S10=HKLM\Software\HTC\SUPL AGPS\EnableAGPS\Assisted GPS
S11=HKLM\Software\HTC\SUPL AGPS\EnableAGPS
S12=HKCU\ControlPanel\Phone\ShowSIM
S13=HKEY_CURRENT_USER\ControlPanel\BackLight\QKeyLedTimeout
S14=HKLM\Software\OEM\Power\ShowMovingChargeBar
S15=HKCU\ControlPanel\Sounds\RingTone0\Sound
S16=HKCU\ControlPanel\Sounds\RingTone0\script
S17=HKCU\ControlPanel\Sounds\RingTone0\Category
S18=HKLM\Security\Policies\Policies\0000101a
S19=HKLM\Software\Microsoft\Shell\ShowTitleBarClock
S20=HKCU\Software\Microsoft\Today\Skin
S21=HKCU\ControlPanel\Keybd\DefaultKeyLock
S22=HKLM\Software\HTC\HTCHome\TabSetting
Click to expand...
Click to collapse
There are three command line arguments supported
argument 1 : <inifilename including path> if not given then default is VipRegExport.ini
argument 2 : <Output Folder name including path> If not given default Application Folder
argument 3 : <slient Option> Default is 'N'. If you want to run in slient option then pass third parameter as "Slient"
What is slient option : It will not display any error message like "Registry key does not exist to export" and exit application after export completes.
GUI also gives ability to select input file as well output Folder.
HKEY_LOCAL_MACHINE\Security\Policies\Policies\000010a will export just one key 0000101a in HKEY_LOCAL_MACHINE\Security\Policies\Policies
where as F03=HKEY_CURRENT_USER\Software\HButton will export all keys and subkeys under that registry.
Basically if you want to export full registry including all subkeys and values then put actual key name in value If you only want to just export single keyvalue in specific registry then put keyname\valuename.
It also support HKCU, HKLM, HKCR, HKUS formats as well.
Restriction : Currently export can not export some new registry type like reg_multi_size etc but so far none of my registry values that I needed to export are of those type they mostly String, int, and binary value they all are supported.
Above restriction is removed. Now utility support all types of Registry. Credit Goes to Elemris craetor Kheb. ELemris Thank for helping me out on and sharing your code.
Uploaded new version
Now you can export entire registry with below in INI file
[MyFULLRegistry]
F01=HKLM
F02=HKCU
F03=HKCR
Version 8.0
Fixed "\" in key reported in post # 10
Version 9.0
Quick Fixed "@" in key http://forum.xda-developers.com/showpost.php?p=8347552&postcount=10
If you like my work then please consider donating
FAQ:
Do we need to put F01, F02..... what's happening if I have 2 F01?
F01, F01, F03 is just key in ini File It is not used any where in Program but it is needed in ini file as they are part of ini like section , key and value
Posted Version 4.0
Posted Version 4.0
posted new version 6.0.
Completely working. no restriction any more.
Interesting, thanks.
just one question, then.
So using:
[MyKeys]
F01=HKLM
F02=HKCU
F03=HKCR
will make complete registry dump? in one file?
I wouldn't ask, but i just cannot test it at this moment..
Can not export all reg's at present but i will include in next version
pupakota said:
Interesting, thanks.
just one question, then.
So using:
[MyKeys]
F01=HKLM
F02=HKCU
F03=HKCR
will make complete registry dump? in one file?
I wouldn't ask, but i just cannot test it at this moment..
Click to expand...
Click to collapse
New version can export entire registry
Strange,
F50=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Configuration
returns an empty key
I have a question:
Do we need to put F01, F02..... what's happening if I have 2 F01?
F01, F01, F03 are basic part if inin and they are needed.
romualdrichard said:
Strange,
F50=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Configuration
returns an empty key
I have a question:
Do we need to put F01, F02..... what's happening if I have 2 F01?
Click to expand...
Click to collapse
F01, F01, F03 is just key in ini File It is not used any where in Program but it is needed in ini file as they are part of ini like section , key and value
F50=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Configu ration
Click to expand...
Click to collapse
notice that space between configu
and
ration
here.
Tipo here only. I found that it tries to write this key but I have:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila] instead and empty.
Maybe the key is locked or something like that.
\\ are not written correctly I think in name of keys?
I tried to backup F10=HKEY_CURRENT_USER\Software\FdcSoft (pimBackup settings) and found that the custom list (folders list) does not have \
I have "\Windows\Rings\*.*"=dword:00000001 in the backup reg
But after, in the reg I have WindowsRings*.*
Looks like, the import (from sktools) needs \\ to save \...
Actuly it was fixed in version 7.5 but i did not released it.
It is now fixed in new version 8.0
Hi,
May be a good option would be to have an information in the .ini to set the export directory when you load the ini.
romualdrichard said:
Hi,
May be a good option would be to have an information in the .ini to set the export directory when you load the ini.
Click to expand...
Click to collapse
I will add in next version. Right now planning to add WAP export e.g emails setting, wi-fi setting etc exported to xml
Hi v3patel,
stuff like this must be a sticky, because it helps us devs a little bit. Ok there are more other things, but not based on a ini file. With that and mort i have done now two tests and they look really good. I hope you will support it further. And when i read your last post (top on my one) then it is very interesting. Thank you for sharing with us...

Categories

Resources