yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] Mr. Makk:
XDA_UC serves up all my needs for sure. But on personal side i want 1extra feature if anyone could just help me out. am using this script on 1st boot so i wan a permanent message on screen completely during the customisation process so as just keep the user informed that there is an ongoing customisation.

i know the whole purpose of this script is to be silent but i jus want this feature personal.

If anyone could help out then i would be greatly appreciated.
[Windows Mobile Software Development] Noonski:
Just a minute

This Should do it.

Disabling Backlight really gives installation speed of the whole process a boost.
[Windows Mobile Software Development] RoryB:
Early line in my script is run( "\windows\running_setup.bmp" ) that is a picture with the text that states this "RUNNING SETUP Do not reset phone or you will mess things up"

I had to add the command periodically through my script to make it show up over things like google maps screen after I install my sdcard cabs.
[Windows Mobile Software Development] Noonski:
Yeah i did a quick search for the mortscripts to get that StatusMessage screen to which you could add/change the text from at set intervalls to say what was going on but i did not save those commands and can't find them in the mort manual.

Looks like showing the BMP might be the best solution for now.

Is it possible to do an while for a mortscript that is running and cycling that with the show bitmap?
[Windows Mobile Software Development] RoryB:
I did not think you could run two mortscripts in parallel.

I just added the command based on when the bmp gets covered up. It's not perfect, but it does help keep the screen image on top.

I tried the condition in sleepmessage, but the script seems to pause while the message is sleeping and if the condition does not have something to create it started before the sleepmessage is started it never reaches the condition before the time out.
[Windows Mobile Software Development] wg5566:
From the stocks ROMs and all the ROMs I've been used. After first bootup, there will popup a window said like 'Please wait, will customize device in 3 seconds.' And then in the coming window, radio is shut down, screen is covered by a window with two parralleled progress bars on botom. And the system is installing cabs, tsk etc. Until finish everything and reset the screen will not be turn off.

If we can not use that command used by this, nor can we make XDA_UC become one of the process inside this thingy?

Or maybe it's time to request Mort to add this function to his program.

Another thing is once I passed by Yonsm's blog (all Chinese language), noticed he posted a code for 'lock system', while I dunno the computer language, is that for this? Anybody knows?

#pragma once
#include <Windows.h>
#include <TodayCMN.h>

// CLockHelper class
class CLockHelper
{
public:
STATIC BOOL GetLockStatus(BOOL bOrgLock)
{
HWND hWnd = GetForegroundWindow();
if(hWnd != GetDesktopWindow())
{
RECT rt;
if(GetWindowRect(hWnd, &rt))
{
if((rt.left < 0) && (rt.top < 0))
{
return TRUE;
}

if(_RectWidth(rt) == GetSystemMetrics(SM_CXSCREEN))
{
return bOrgLock;
}
}
}

return FALSE;
}

STATIC VOID LockDevice()
{
if (HMODULE hModule = LoadLibrary(TEXT("shutil.dll")))
{
HWND (WINAPI *pInitializeCustomItem)(TODAYLISTITEM* ptli, HWND hParent);
(PROC&) pInitializeCustomItem = GetProcAddress(hModule, MAKEINTRESOURCE(240));
if (pInitializeCustomItem)
{
TODAYLISTITEM ti = {0};
HWND hBar = pInitializeCustomItem(&ti, GetDesktopWindow());
if (hBar != NULL)
{
SendMessage(hBar, WM_TODAYCUSTOM_ACTION, 0, 0);
SendMessage(hBar, WM_LBUTTONDOWN, 0, 0);
DestroyWindow(hBar);
}
}
FreeLibrary(hModule);
}
}
};
[Windows Mobile Software Development] teorouge:
Impressive work, Noonski! I'm not a chef but I do have a Diamond, if you need someone to test a cab for the script I'd be happy to help! ;)
[Windows Mobile Software Development] Noonski:
There is no real need to Lock the screen, it isn't the plan to do so.

The meaning is to either get people to drop Build in HTC Auto config so people can start using their phone as quickly as possible.

Or keep using it with a stealthy second boot option that does nothing when there is nothing to be done.

I only added the Pop Up with the same text as the HTC autorun to mock HTC.

Flash addicts hate the Status message that locks up their phone.

You are on my HitList, it's not as scary as it sounds.

I will try to remember you when time comes.

Note:

Added an extra 1 second sleep to \Storage Card\XDA_UC

folder cab installation.

At:

sleep( 1000 )

While( ProcExists ( "wceload.exe" ))

sleep( 3000 )

endwhile

Sometimes i had two cab installations starting only seconds after each other that where in the XDA_UC and the XDA_UC\SD folder.

Hopefully this will help Mort catch the current WceLoad process.
[Windows Mobile Software Development] RoryB:
I have never used SHOW in config.txt file. Anyone know what it does and what program it uses? Does it replace the screen that shows while the autorun program installs stuff?

yup, sort of like the same as puttin a bitmap up on screen with mort but it then still shows the autorun loading bar.
[Windows Mobile Software Development] Mr. Makk:
you added the backlight script that you PMed me. i did that. and yes it does boosts the speed of cab installation.

below is my script. can you add that running_setup.bmp line to the script where ever required.??

what dimensions of BMP you using and wont it slow down the customisation process??

am gonna do some experiments and let you know.
[Windows Mobile Software Development] Mr. Makk:
Suggestion

well the more you experiment the more better it can get.

earlier i was using this script with my rhodium manila roms. but nowam even rolling out old style manila roms and thing to notice is that :

with rhodium manila, on 1st boot, the script haults the loading of manila.

but in case of normal manila, on 1st boot, the manila loads completely while the script is running.

how to work that out??
[Windows Mobile Software Development] RoryB:
I added based on my best guess, but you may need to add some to the cook.mscr because it may cause the bmp to be covered by other things too.

I did my best, but I do not have XDA_UC. I have my owns scripts and do not have all the optional methods, etc.

Let me know how it goes.

On Manila, you could copy the lines regarding setting today item enable to 0 to be at the top of the script. I added it now.
[Windows Mobile Software Development] Mr. Makk:
before yoou could edit for me i already did a few experiments.

and what i found is that its not required to put it between scripts.

just once at the start is enough.

but its something else thats bugging.

1st - the image opens in album and screen is not locked, so when the user touched screen, he can play with the file(its not soo comfortable)

2nd - my phone resets after the script is complete and the image shows up again. why so? how to not make it show up again on next boot? and how to keep the screen locked while the image is open during the customisation.

these few additions can make diff versions of xda UC which many chefs can use as per their requirement.
[Windows Mobile Software Development] RoryB:
That is why I asked if anyone knew what SHOW: in config.txt did. I have not used it, but what I have read makes me think it shows an image while cabs are loaded in the background. Maybe if we can figure that out we can do the same. Else it would require something similar to LOCK:Enabled from config.txt
[Windows Mobile Software Development] Mr. Makk:
few posts back wg5566 talked something about locking the screen. whats that?
[Windows Mobile Software Development] B4PJS:
That looks like C or C#, def not mortscript
[Windows Mobile Software Development] Mr. Makk:
Also is there a command to disable network during customisation?
[Windows Mobile Software Development] Mr. Makk:
oops double post. sry.
[Windows Mobile Software Development] wg5566:
Got it, check the wiki here.

And this thread may also have some useful information, even for PIMbackup.

Edit:And also something from ppcgeeks.
[Windows Mobile Software Development] Mr. Makk:
another suggestion would be:

if its being used as 1st boot installation, then after it installs cabs from windows directory, it even deletes those cabs so that then it'll free up some memory.

i think it'll get little complicated doing this but will help. just guess as am no mortscript expert.
[Windows Mobile Software Development] Mr. Makk:
i did checked out the links. one had the registry entries to block radio on 1st boot. i tried it but radio kept off even on 2nd boot.

but what we can do is, add radio off registry in the app.reg. and at the end of the script, add registry values enabling the radio.
[Windows Mobile Software Development] Noonski:
Just search for Radio Of or Radio Togle

It's an Exe, that i unfortunately wiped from me SD card.

If you go screwing up the codes in the script, you will take the change of deleting Flashers SD card.

Luckily it looks like you test everything, this is good until you find each Non Read Only File From Device Memory Till SD is gone.

And mort is fast.

Anyone that wants to go changing this around and not getting into the manual of Mortscript a bit more, it will not be my responsibility.

Should Call the script whatever they want.

The script says not to remove one specific line.

I have said this privately, i have said this in the script and in the thread.

You leave the line out That specifies that any errors a user might get from the usage of the UC, Your on your own in support.

I will now move to the beginning of the Script starting V3, so i know for sure that it is shortly shown to the user as everything that comes after that can be broken by bad user scripts.

Don't underestimate how powerful this could be.

This is the third and the last time i'm saying this.

The user warning stays, Because the rest is supposed to be silent. No news means good news. And when something pops up it should be something positive like "You have just walked away rfom you phone, made breakfast, checked you Mafia status and your phone has been configured, please do continue as the registry settings have aplied, reboot whenever you get the chance"

I respect Mort's wise request, i'm glad he pointed it out.
[Windows Mobile Software Development] wg5566:
I like it! Fantastic... & Can it just serve the breakfast for me?:D

Back to the topic of its power. One important function is missing from MortScript. That is somewhere called ShellExecute, which will allow users to open any files from a command line with its registered association app. This came out from the PIM backup issue, and I've already searched it for days with no luck. I got some clue from this, this & this thread, but still did not have the chance to test the apps recommended there.

I do think that the best way is that Mort integrates this function into MortScript & I do think that Mort can make it if he sticks to this issue. (Otherwise who can?)

So can you request Mort to make it happen. I'm not sure that I can convince him myself, so I don't do this.

And for anybody accidently deleted or lost some files in SD card, FinalData maybe the last rescuer.
[Windows Mobile Software Development] Mr. Makk:
i think these warnings are coming out for me. hmmm.

i really dont know the rules of mort so i better start from scratch. i respect the policies that might be related to this script or even mort and aplogise if not understanding something or doing something wrong.

i have the manual but have been lazy to read it. so better i start from scratch. i hope no1 took it to heart.
[Windows Mobile Software Development] Noonski:
The question is, how much cooks do put in Pim Backup?

So do i try to assume PimBackup is in Windows?

Or do i leave having the PimBackUp.exe in XDA_UC up to the User?

In both cases passing "A" .pib as a Parameter should be possible, PimBackup uses the same File Open registry commands as any other application.

But if PimBackup is in Rom, then the file type association regs could be included in rom.

And then a simple Run command to the .pib file should already get it opened in PimBackUp

Ill think of something.

Propably something like if *.pib exists in XDA_UC folder

Check if PimBackUp.exe is in Windows Folder, If Not, Write File Association To PimBackUp.exe on Storage Card\XDA_UC

Run the .Pib File.
[Windows Mobile Software Development] wg5566:
Beside the .pib there's still another issue: PIM Backup can not restore email account settings. Anybody got an idea for this?
[Windows Mobile Software Development] Noonski:
If you Check the SDAutorun user thread you'll find loads of .XML files and code for getting back e-Mail accounts.

http://xdaforums.com/showthread.php?t=366337
[Windows Mobile Software Development] wg5566:
Thanks, Noonski.

I was also reading some xml solutions here. Apparently how to use and make xml files is still out of my knowledge. But will start to learn and start to catch up step by step. (It's been 15 years that I never touch a computer language again until recently made some little trick with MortScrpt! off-topic.)

Then seems we already can restore everything by XDA_UC. Great!

What else is not covered, anybody? Just make sure we don't miss anything. And latter on I'll collect a list on how to restore everything on the Q&A of User to User thread.

BTW, what is the command, say for mortscript to open a word doc like mydoc.doc. ?
[Windows Mobile Software Development] RoryB:
Should just be Run( "path\mydoc.doc" ) because *.doc has been set to start pocket word in the registry settings. That is what is great about the setup of what program gets called by what extension.
[Windows Mobile Software Development] wg5566:
Thanks RoryB.

If like that ShellExecute function is already included in MortScript, basically MortScript can run or open any file types. That a smart Mort!

I did not try it since my phone was not back to me. But I spent hours to search for a solution, while it's already integrated into MotScript. Anyway very happy to know this. This helped me to decide that I'll try my best to promote the use of Mortscript and XDA_UC.

Noonski's right, never underestimate the power of it.
[Windows Mobile Software Development] RoryB:
@Noonski, I added an if file exists to my sdconfig.txt parser in case the user deleted the file from their sdcard, but forgot to delete it from the sdconfig.txt list.

ElseIf( SubStr( xcount, 1, 5 ) eq "CAB: " )
If( FileExists( SubStr( xcount, 6 ) ))
RunWait( "\windows\wceload.exe", "/nodelete /silent " & """" & SubStr( xcount, 6 ) & """" )
EndIf
[Windows Mobile Software Development] Noonski:
Smart thinking Thanks,
[Windows Mobile Software Development] Black Antitoon:
Hi. I have installed latest Laurentius26's ROM (THD 3.55), which claims to be UC compatible and has a link to this page. I have put several .cab files in \Storage Card\XDA_UC and one in \Storage Card\XDA_UC\SD, and they didn't get installed. I didn't see anything, no progress bars, nothing. There were also two reg files in the XDA_UC folder, and they were not imported.

My SD is one of those which don't work for flashing from SD, maybe this info can help you.

Any suggestions? Thanks! :)
[Windows Mobile Software Development] blazingwolf:
You should check with the creator of the ROM.

Looking at what you wrote above then they should be installed if the .cab files are good and the correct stuff was put in to the ROM.
[Windows Mobile Software Development] Noonski:
If you can copy the XDAUC.mscr in Laurentius his Windows folder and post it here, i can take a look at it.
[Windows Mobile Software Development] Black Antitoon:
There is no file with this name in the Windows folder. :eek:
[Windows Mobile Software Development] Noonski:
Did you set Explorer to Show all hidden files?
[Windows Mobile Software Development] Black Antitoon:
I am using Total Commander, which always shows all files, AFAIK.

EDIT: And the "Hide files in ROM" option was NOT selected.
[Touch Pro2, Tilt 2 Themes and Apps] rorytmeadows:
I go to the comm manager and click the bluetooth switch, it turns gray, then 15 seconds later "Can't turn on Bluetooth" in a popup, in the submenu where it says "Bluetooth must be turned on to use this feature. Turn on Bluetooth" clicking YES gives a "Cannot start the Bluetooth stack."

I'm unable to move/rename/delete btcoreif or btsdk50 or whatever they are. Using standard T-Mobile ROM and so many cabs since the last time I had it on. Love to see if there is a driver reset somewhere or something that would screw with the bluetooth enough to get it to work.
[Touch Pro2, Tilt 2 Themes and Apps] foldgate:
Have you installed TomTom?
[Touch Pro2, Tilt 2 Themes and Apps] rorytmeadows:
I think I may have at one point. I'm unable to delete the files that other people have recommended if TomTom was the problem. Do you think it might be worth a try to put it back in place on my TP2?
[Touch Pro2, Tilt 2 Themes and Apps] airon11:
you can't delete files in rom, but you can rename...

after renaming the files softreset...

at next boot the renamed files will be recovered from the rom and you will be able to delete the renamed ones, and you will have the original ones from the rom again...
[Touch Pro2, Tilt 2 Themes and Apps] foldgate:
Additionally, if you have accidentally deleted Bttrayce.exe, reinstall that too, and remember to put a lnk file relating to it in the startup folder.
[Touch Pro2, Tilt 2 Themes and Apps] rorytmeadows:
I think I accidentally deleted this one. I think I thought it was related to TomTom.

I'm having trouble renaming the files. Is there a good program to do this with?
[Touch Pro2, Tilt 2 Themes and Apps] rorytmeadows:
Just as a note, I was able to restore my Bluetooth by getting new copies of BTTRAY
[Touch Pro2, Tilt 2 Windows Mobile General] lainard:
Hi Guys,

currently i have htc dutch version, i would like to use english rom, does anyone would like to share their serial number so i could download the latest rom english wwe?

Regards,
[Touch Pro2, Tilt 2 Windows Mobile General] drawflex:
you can download ROMs from here : http://xda.caspersworld.co.uk/

Saves needing a serial number at all
[Touch Pro2, Tilt 2 Windows Mobile General] lainard:
Thank you Very much! this is awsome, will it work on my dutch htc pro 2?
[Touch Pro2, Tilt 2 Windows Mobile General] drawflex:
yes mate, you'll need to use hardSPL first though to be able to flash roms, see the ROM section
[Touch Pro2, Tilt 2 Windows Mobile General] lainard:
Yes i have already flash it using hardSPL and this rom is working
[Touch Pro2, Tilt 2 Windows Mobile General] magorov:
WM 6.5

Hi!

Maybe you can tell me, where can i find windows mobile 6.5 rom for Rhodium?

Thanks!
[Touch Pro2, Tilt 2 Windows Mobile General] Heijdemann:
http://wiki.xda-developers.com/index.php?pagename=HTC_Rhodium/Shipped_Roms
[Hero, G2 Touch Q&A, Help & Troubleshooting] jonata:
Hi,

after flash new rom, lost the start-up sound ...

ther is any way ti have ?

Tks for help
[Hero, G2 Touch Q&A, Help & Troubleshooting] liamhere:
hummmm

i take it you have flashed the cooked rom???

if so read the chef's info in 1st post.

states sounds removed....but also tell you what to do to put it back

good luck :)
[Hero, G2 Touch Q&A, Help & Troubleshooting] Heppieboeddah:
See these posts

http://xdaforums.com/showpost.php?p=4487600&postcount=875

http://xdaforums.com/showpost.php?p=4487919&postcount=876
[Hero, G2 Touch Q&A, Help & Troubleshooting] jonata:
tks so much for help !!!
[Hero, G2 Touch Q&A, Help & Troubleshooting] jonata:
try the 2° method with adb ...

edit the boot_animation.xlm and put the value "1" in the 3 places ... then push the file to hero but no result ...

always without start-up sound .

any idea ?

Tks
[MDA II, XDA II, 2060 Accessories] fulgerul:
Hi! I just received a fully functional HTC Himalaya, but unfortunately it didn't came with a Travel Charger included.

So I would want to make one, because they are hard to find, and on ebay the shipment takes a very long time.

I have searched the forum (and on googgle) but i cannot find the power supply specifications for the charger.

If you have one, please take a photo or type the specs, like this :

INPUT : 100-240V ~ 150 mAH 50-60 Hz

OUTPUT : 4.9V 700mAH (copied from a Sony Ericsson charger, LOL :))

Thanks in advance!
[MDA II, XDA II, 2060 Accessories] fulgerul:
Since this is the Himalaya forum, nobody has a Himalaya ?!?

Weird...
[MDA II, XDA II, 2060 Accessories] fulgerul:
Really? Nodoby with a Himalaya ?!?!?!?!

58 replies and no response. WTF ?!?

Ok, found this image, but can't read the specs (too small)

5V 2000mAH ? CLICK HERE!
[MDA II, XDA II, 2060 Accessories] Rudegar:
5volts is the only spc that matters

amps are not pushed into a device it's drawn by the device

according to owns law amp=volts/resistance

no device will draw more then it was max made to

so you can get a 5volts 1000000MAmp supply and it would make no difference

there is a lower amp level before it begin to charge but being that you can get

manual chargers with a swing it should be soo low it irrelevant

about the 5volts then that's in general seen as 5volts +-20%
[MDA II, XDA II, 2060 Accessories] fulgerul:
Thanks for your reply.

I know that the ampers ar not so important, but i would like to know the standard value for a genuine HTC charger.

From what i see in the picture, it is a 5V 1280mAH.

That means that if i try to use a 5V 650mAH charger (that i currently have) the charging will be done 2 times slower.

So instead of 2 hours 30 minutes (for example) the phone will pe fully charged in 5 hours (quite a lot of time, in my perspective).

What do you think?
[MDA II, XDA II, 2060 Accessories] Rudegar:
I think the charger that comes with the xda2 is overpowered vs. now much power the device will take in think thats the general deal with all wall chargers

usb will only provide 500mA

could take a look on my old charger apart that it's in the back of the cupboard so have to go passed tons of cables fans chargers and the likes so not right now
[Touch Pro2, Tilt 2 Windows Mobile General] ccezar2004:
I'm about to buy a TP2 and 'till then I have a few questions...

1. I plan to use this phone in my car a lot... navigation and stuff... the thing is... if I put it horizontaly (landscape) will I see something if I wear polarized sunglasses?... with my actual phone (e71) if i turn it 90 degrees I see nothing...

2. voice dialing... I saw there are many problems with this... my question... is there an aplication to voice dial like nokia phones do (s60 3rd)?... I mean to just recognize the name in the agenda... and not having to asign tags to each contact?...

that's it for now... thanks...
[Touch Pro2, Tilt 2 Windows Mobile General] ccezar2004:
no one?...

another one?... how is the responsivness of the phone app?
[Touch Pro2, Tilt 2 Windows Mobile General] xnifex:
2. Voice Command (or whatever its called) is true voice dialing, you don't have to set up any tags. To access it you just hold down the SEND/TALK key. It also recognizes other commands too, such as openning programs.
[Touch Pro2, Tilt 2 Windows Mobile General] ccezar2004:
how it is in size comparing to the tytn I?... i wanna buy but in my area there is no shop displaying it on the shelf... only by order... and i hate to buy something without ”feeling” it!...
[Touch Pro2, Tilt 2 Windows Mobile General] ccezar2004:
today i was about to buy it... i went down to a shop that had it... but there i changed my mind... the box was unsealed... the original screen protection was weird... i mean full of bubles between it and the screen... like it was taken off and re applied... but the worse was that the tilting mechanism had a powerfull click sound when tilting off the screen... is this normal?... anyway i was a bit dissapointed with it... i remember when i saw my tytn or my e71 i was the happiest man on earth... today wasn't like this... the phone felt like those replicas they put in shops on the shelves... i may be mistaken... but i don't know... i have to see another one live before i buy it... if i will buy it...

i don't now... it felt cheap... not sturdy at all... i cannot belive this... i thought this was the one... for about to weeks i think i read all about it and watched all clips on youtube with this phone...