CAB Installation after hardreset fails. Why? - Windows Mobile Development and Hacking General

Hello guys,
I have cooked my own ROM for my E-TEN M700 with Windows Mobile 6.1 inside. It can be found here: http://eten-users.eu/index.php?showtopic=14257
The Problem
There is only one issue I can't find any solution for! By default E-TEN comes with an application very simelar to autorun.exe for HTC devices or the great UC tool in order to automatically install OEM packages from ExtROM. It is called CustomInit. Ufortunatelly I had to discover that none of the mensioned tools works. CustomInit returns with XML-parse error, but there is no mistake in the oem.xml. UC2.0 tells me something about failures, too.
Indead I discovered installing cab files manually after hardreset does not work. Even microsofts WrlsMgr.exe does not start. After rebooting the device once, everything is ok. Running UC2.0 again (by resetting registry values,...) works perfect.
The Question
Can anybody explain me, why I can't install any cab files just after hardreset? Why must I reboot once in order to make cab installation work?
Regards.

Related

.NET CF Problems

Hi,
Ive got 5 CAB files which all go together to run a little program i have written, however, when installing them on my XDA IIS every one of them displays the message 'The program you installed may not display properly because it was designed for a previous version of windows Mobile software'. I think these errors may become a problem when i place it in the Extended Rom folder.
the files are as follows
- OpenNETCF.PPC3.ARM
- MyProgram_PPC.ARM.CAB
- sql.ppc3.arm.CAB
- sqlce.dev.ppc3.arm.CAB
- sqlce.ppc3.arm.CAB
Any suggestions would be great!
Thanks,
James
Hi LinQ
The problem is that the OpenNETCF and SQL CAB files were built for WM2003 and _NOT_ WM2003SE. This means that WM2003SE cannot verify that they will work correctly with features such as the screen rotation facility.
To stop your app from coming up with the same message, you need to download the WM2003SE SDK from MS (haven't got a link sorry... but google for it and you should find it) and then target your application at the new WM2003SE device option that you get.
Hope that helps

MachinaGod RAPI Unlocker - certificate disable on WM5 v0.1

Hi,
Just an util I got together in no time.
Rapi Enabler, certificate disabler.
Enable all the security on your Windows Mobile 5 phone.
Credits to the author of the ce remote tools.
Instructions:
1. Download the attached file (you have to be logged into xda-dev);
2. Extract it somewhere in your computer
3. Connect your phone via activesync
4. Run the EnableRapi.bat (on your computer)
5. Done.
Have fun,
Ricardo
How does it differ from this CAB file I pulled off the HTC Apache?
I use this in my Extended ROM so that I can run unsigned applications, CAB files, and CPF files during the initialization procedure after a hard reset.
Hi BTT,
This is based on that exact cab. The only difference in enabling RAPI calls also, and doing it without needing user interaction, only needing a activesync connection.
Is a little utility I use for integration into batch files.
Bye,
Ricardo
Certificate disabler..
Probably a dumb question, but is it a replacement fort certchk on 2003 devices? Still looking for such a program.
Thx
Thanks Machinegod, this worked well. I used it on an XDA exec will it work with all WM5 devices?
Hi Machinagod
Is there a way i can call your routine from code?
I have developed software for WM5 but cannot access the database with the standard MS settings. I would like to give my users the option to unlock the rapi calls and install automatically.
Thanks in advance
Steve
ronaldovic said:
Certificate disabler..
Probably a dumb question, but is it a replacement fort certchk on 2003 devices? Still looking for such a program.
Thx
Click to expand...
Click to collapse
to ronaldovic: I believe this utility is for disabling signed applications so you can install apps that have not been signed. I have used BTT cert cab in my extended rom since he posted it (Thanks BTT, It has been very usefull)
If you are looking for disable cert check so you can activesync with MS exchange without a a SSL . Certificate connection, Micro$oft still offers a download to disable the cert sync check..
see http://www.microsoft.com/downloads/...b8-8b3a-4f1d-8e94-530a67614df1&displaylang=en
Miracle Registry
i checked many registry of "Security policies" in different device, and also SDK.
http://asukal.seesaa.net/article/12583144.html
You can understand how change it for your neccesity.
this was for your refference.
and also i got made one registry file which has many "Certificate Sotre"
from different setting devicees and CABs and SDK Emu.
This registry make your device to enable working many kinds of dll and exe or any other files without digital signed(not for all)
multi user interface files also can effect without digital signatures.
(shellress still can not, but worked with Smartphone signature)
The security revel will be same or lower than SDK emu.
but not completely finish to edit it.
so possibility of some side-effect or unkown problem.
Hope understand this point and use it as test.
But once you use this registry, you got understand why i said it miracle.
just import this registry and make soft reset.
"syntac error" displayed when you import this, but works.i will cheking the reason of this error.
lets test it.
Re: MachinaGod RAPI Unlocker - certificate disable on WM5 v0
I try to use it on my new Jamin but nothing happen.... Prog still not work.
Pls I'm a newbe, Can you help me ?
Thanks a l ot
Hi MachinaGod,
Could you tell me please what exactly this RAPI unclocker is doing? Is it possible to undo it? RAPI locker or something? Is there any security threat after you execute tis program?
Thank you!
cingular
please tell me what tool can unlock (simlock) my cingular 8525, Thank you very much!
hmmmmmmmmytfghvghdgfgfdtrsdr
unlocking spv m1500
hello,
i tried the RAPI unlocker but it did not work,
could it be because my Pocket pc is running 2003 CE?
hi
someone can send me the file i can download him pls
and one qwuestion this unlock mi simlock???
htc 8125 need help please
machinagod said:
Hi,
Just an util I got together in no time.
Rapi Enabler, certificate disabler.
Enable all the security on your Windows Mobile 5 phone.
Credits to the author of the ce remote tools.
Instructions:
1. Download the attached file (you have to be logged into xda-dev);
2. Extract it somewhere in your computer
3. Connect your phone via activesync
4. Run the EnableRapi.bat (on your computer)
5. Done.
Have fun,
Ricardo
Click to expand...
Click to collapse
i have a htc 8125 and tried your method and it never gave me a code but when i put my sim card in it says sim lock and unlock? explain how to unlock this d$$m phone.It is a cingular phone but i dont have that service.it is version 2.25
[email protected]

*.exe as a service installation

Hi,
I have cooked my own ROM for my Kaiser - so far so good.
Under \windows\startup I have some *.lnk so that these programs are started during the boot process.
Unfortunately after installing Goodlink one of my programs under startup does not start any longer.
Does someone knows how to install a programm as a service on WM6.1 ?
Regards
kuzco

CAB "Installation Unsuccessful"

Hi guys,
Just got my new Touch Diamond on Thursday and so I'm trying out all the awesome software on here! Except I can't...
I've installed Advanced Config, GSen, and Diamond TF3D Config. I've tried to install:
-DiamondHologram
-TomTom 7 for Diamond (TTN_7.450.9028.cab)
I just get a notification saying "Installation of name of cab was unsuccessful".
I haven't done any ROM upgrades, unlocks. I have only installed the new Google Maps 2.2.0.19 and the .NET 3.5.
Is there any reason why I can't install these applications? It's doing me nuts because I can't install half of these wicked apps!
Thanks guys
James
Can anyone help? Please?!?
Same here... and i'm going mad. Seems this issue affects random cabs. I succesfully installed your same TomTom version, but I can't install G-sensor Calibrate, or even TotalCommander...
I tried to update to Project V3.3 but issue is still there with the same cabs.
Any ideas?
I also tried disabling security warning by using Schap's Advanced Config. Nothing changed.
random
as you said it is a random effect... same prb here.... but i saw something odd...
i downloaded a cab with opera installed on htc and selected "open" when it asks what to do with the file... download complete but instalation unsuccessfull.
i've downloaded the same file but saved it on the storage and after that i installed... and surprise it worked! maybe it is a memory prblm.... i don't know!
this method does'nt work with every cab
Weird thing! I re-downloaded two cabs, moved to diamond... installation succeded. But i still not know if it was because of corrupted cabs or a Diamond problem.
Anyway I'll try to do a simple cab corruption check (try open the cab with a compressor like 7zip wich is free) for the next cabs.
Just for ask: did you download your "cannot install" cab with a download manager?
parlato_edoardo said:
Weird thing! I re-downloaded two cabs, moved to diamond... installation succeded. But i still not know if it was because of corrupted cabs or a Diamond problem.
Anyway I'll try to do a simple cab corruption check (try open the cab with a compressor like 7zip wich is free) for the next cabs.
Just for ask: did you download your "cannot install" cab with a download manager?
Click to expand...
Click to collapse
no... just using opera from the diamond
Same problem here... I have some CABs which dont fail and some which fail... Very anoying problem
I confirm i solved my problems by downloading WITHOUT any download manager or download accelerator all cabs on my pc, then check them with 7zip, then copy to my Diamond and install.
It's a bit strange way to get cabs installed but it's a safe method.
You can also choose to use download managers or download with your pda to download cabs, but you have to check them later if they don't install and... re-download them.
I also found solution which someone could explain....
I upload all SW using active sync and not USB drive and all what was not working now works.
So what is wrong here?
thedino said:
I also found solution which someone could explain....
I upload all SW using active sync and not USB drive and all what was not working now works.
So what is wrong here?
Click to expand...
Click to collapse
I have the same problem when the device - an o2 XDA Diamond - is connected in "Disk Drive" mode.
Whenever I transfer files from a Windows Server 2003 system (w/o Service Pack) to the "Internal Storage" of my Diamond the files become corrupted on the device.
This happens with any file type, but only with larger files - they become corrupted when they are several megabytes in size.
This doesn't happen randomly, it happens every time.
Reading large files from the "Internal Storage" works without problems.
When I transfer the very same files from a Windows XP system then they are OK on the device.
Also when I transfer the files in "Active Sync" mode the files are OK, but the "Active Sync" transfers are randomly aborted and the sync is lost.
I knew I'm not the only one with that problem, but I never found any information.
The ROM is the newest official one, 1.93.207.2.
Of course the Windows Server 2003 system transfers large files to other flash storages - camera, card reader and other Pocket PCs - without any problems.
My only advice is to transfer the cab to your internal storage using disk drive option the disconnect your Diamond and see if that works. e.g navigate to the cab using diamond file explorer then double tap on cab should install ok then
Sorry, doesn't work for me, but I thought that it was clear. (Because I wrote all info, like Service Pack, etc.)
buffystar said:
My only advice is to transfer the cab to your internal storage using disk drive option the disconnect your Diamond and see if that works. e.g navigate to the cab using diamond file explorer then double tap on cab should install ok then
Click to expand...
Click to collapse
You dont understand this... The file is corrupted while transfering via USB Drive but OK if we use ActiveSync... We know how to install CAB files. there is not problem.
BTW, I have Win2000 so it might be same as mentioned 2003...
I will try on another system and see how it works.
I just installed Windows XP SP3 on my machine: SAME PROBLEM!!
thedino, what mainboard do you have and how old is it and what is its USB version (1.0, 1.1, 2.0)? I have a K7S5A with USB 1.1.
For now I have to assume that HTC produced crap and that I'm gonna send my Diamond back.
I bought an USB card for PCI and there is no problem when connecting the HTC Diamond to this card.
No data corruption at all.
So obviously it must be something with onboard USB chipsets, but it's definitely a problem on HTC's side,
else these onboard USB chipsets wouldn't work correctly with any other USB device.
jameshpg said:
Hi guys,
Just got my new Touch Diamond on Thursday and so I'm trying out all the awesome software on here! Except I can't...
I've installed Advanced Config, GSen, and Diamond TF3D Config. I've tried to install:
-DiamondHologram
-TomTom 7 for Diamond (TTN_7.450.9028.cab)
I just get a notification saying "Installation of name of cab was unsuccessful".
I haven't done any ROM upgrades, unlocks. I have only installed the new Google Maps 2.2.0.19 and the .NET 3.5.
Is there any reason why I can't install these applications? It's doing me nuts because I can't install half of these wicked apps!
Thanks guys
James
Click to expand...
Click to collapse
I had the same problem (either "installation unsuccessful" or just gets stuck during installation). I was using changescreen v2.5 for handling the display rotation. Apparently this software has a conflict with the .cab installer. It was enough to disable changescreen, then run the .cab, then re-activate changescreen again.
Hope that this helps.
maTTeo
Temporary Fix
Try this
Rename the cab file with a different extension, eg TotalCommander.cab to TotalCommander.txt. Do this on your computer.
Select the file within Windows Explorer and do the usual "Edit -->Copy" to copy the file.
Establish ActiveSync connection with your Diamond and using "File Management" select the Internal Storage of your Diamond. Then select "Paste" to paste the file into the internal storage of your DIamond. Rename the file back to having the .cab file extension by using the explorer shell you opened through ActiveSync.
Unplug Diamond from the USB and ensure ActiveSync on your Diamond is not active. Using file explorer program on your Diamond tap on the cab to install it.
The only alternative is uninstall all extra apps you have put on one by one and try to install other cabs as some of these may conflict with the cab install OR you can update your ROM from the 1.93 series to the 2 series.
Let me know if this temporary fix works. Best of luck.
Aussie

I can't run CAB files

From some days after i download Google Mobile app, then click the CAB file to running and make installation, some thing bad, i can't run CAB file and install it, i try with many cabs but same thing, no cab install, my device is HTC Toutch HD with Windows Mobile 6.1.
Please help me..
is there any error message shown or the phone just didn't respond you?
I guess you have to upgrade to WinMo 6.5 for a better performace and a way to fix that problem
No any respond.
I'm still waiting Official WM 6.5.
tarksiala said:
From some days after i download Google Mobile app, then click the CAB file to running and make installation, some thing bad, i can't run CAB file and install it, i try with many cabs but same thing, no cab install, my device is HTC Toutch HD with Windows Mobile 6.1.
Please help me..
Click to expand...
Click to collapse
Hi,
You can use this program to install cab files.
tarksiala said:
From some days after i download Google Mobile app, then click the CAB file to running and make installation, some thing bad, i can't run CAB file and install it, i try with many cabs but same thing, no cab install, my device is HTC Toutch HD with Windows Mobile 6.1.
Please help me..
Click to expand...
Click to collapse
You have forgotten to mention was happens when "it doesn´t install a cab". Is there any error message?
There´s no need to wait for WM6.5 as cabs are installable even under WM 6.1.
Btw: I don´t think you will ever get any official version of WM 6.5 for Blackstone by HTC and cooked ROMs with WM 6.5 are available right now
tarksiala said:
From some days after i download Google Mobile app, then click the CAB file to running and make installation, some thing bad, i can't run CAB file and install it, i try with many cabs but same thing, no cab install, my device is HTC Toutch HD with Windows Mobile 6.1.
Please help me..
Click to expand...
Click to collapse
Going to ask a basic query here, but I'm assuming you are trying to open cab file directly from your HD and not on your pc, yes? All cabs files need to be transferred onto your HD first and installed directly by using your file explorer to navigate to saved location and clicking on it.
As stated by Matthes42 above you do not need wm6.5 on your device for this to work. It should work fine on wm6.1
If this is what you are doing and its still not working can your provide the error message you recieve. Also, make sure you have .net framework 3.5 installed on your device.

Categories

Resources