request file from windows/startup dir - Touch Pro2, Tilt 2 Windows Mobile ROM Development

Hi,
I accidently deleted a file from windows/startup folder. From what i can remember it started with btxxxx.exe
Because of this accident, bluetooth cannot be enabled anymore within com manager.
I am running wm 6.5
Thanks in advance.

BTTrayCE.lnk?

Yes! that sounds familiar
But, if its a lnk i should be able to recreate the link from the original location.

You may copy it from /Windows. Just tap and hold on the link, go to /Windows/StartUp and paste it there.

Thanks, I hope thats it.
Could you let me know what other startup links you have in the startup folder (except for the apps you installed yourself)

Hahhaha, sure
You messed up with the "boot speed up process"? Cleaned too much?
BTTrayCE
HTCStartUp
PKG
poutlook
Edit: Btw. I'm using Rhodium S2 rom, but I believe that the shortcut's in Rhodium S are same.

thread closed, not rom development

Related

What brings up Memory on Tilt/TYTN II?

anyone know what command brings up the memory program in settings? meaning in windows folder java.exe brings up java, camera.exe brings up the camera, i can't find a memory.exe or storage.exe so i was hoping someone around here might know what it is and what folder it's in.
I have a "running programs.lnk" but I think this is a file that came with Slithers cube.
Having said that \windows\start menu\programs\shortcuts\task manager.lnk seems to do the job...
hmm, i don't have "shortcuts" i'm just using a stock tilt rom, so i'm not sure where it's at. i've looked everywere. it's probably called something that i don't recognize. under \windows\start menu\settings\ is empty but when i go on the device i see all the apps in settings. i'm assuming it's somewhere around there.
22#ctlpnl cplmain.cpl,4,2
is the link to open up the stock task/memory manager to the running programs tab, i've attached the lnk for your use
Just unzip and drop on your device where ever you desire....
_DrG_ said:
22#ctlpnl cplmain.cpl,4,2
is the link to open up the stock task/memory manager to the running programs tab, i've attached the lnk for your use
Just unzip and drop on your device where ever you desire....
Click to expand...
Click to collapse
thanks, that works, i don't suppose there's a way to get it to open up to the memory instead of tasks??
were is ctlpnl cplmain.cpl,4,2 located at? is it in the windows folder? i didn't see it, i did see ctlpnl.exe or what ever it was. i tried that one, but it didn't work.
22#ctlpnl cplmain.cpl,4,0
Sure just change the number 2 to 0 at the end of the link (this is the number of tab to open (zero based))
cplmain.cpl exists in the /windows directory, it will be there its part of Windows Mobile, maybe you need to unhide all file types (or system files/dlls etc) as they maybe hidden....
Hope this helps...
_DrG_ said:
22#ctlpnl cplmain.cpl,4,0
Sure just change the number 2 to 0 at the end of the link (this is the number of tab to open (zero based))
cplmain.cpl exists in the /windows directory, it will be there its part of Windows Mobile, maybe you need to unhide all file types (or system files/dlls etc) as they maybe hidden....
Hope this helps...
Click to expand...
Click to collapse
ok, were do i change the 2 to 0 at? on the zip file you gave me or on what the file in the widows directory? i didn't see were you can change on the zip you gave me.
The last digit of the string within the .lnk file thats in the zip file....
remebering to unzip the file and drop it onto your device (usually somewhere on the start menu/ today screen) i only zipped it up coz you cant upload .lnk files
Running Tasks
22#ctlpnl cplmain.cpl,4,2
Memory
22#ctlpnl cplmain.cpl,4,0
Anyhow heres the modified lnk attached to open memory for you...
Cheers,

Can I import a *.reg file into registry?

I have tried using several registry apps to successfully export [HKEY_LOCAL_MACHINE\Software\HTC\HTCHome\Launcher] belonging to a previous Hutch 3 ROM.
I now want to re import these keys into my newly installed Duttys 6.1.
How do I do this?
Scuse the newb question (duck for cover) but on a PC you tap the *.reg and it will import into the registry. On my Kaiser running Duttys 6.1 I have PHM_Regedit but Import option is greyed out.
A search did not resolve it so any help would be appreciated.
logger said:
I have tried using several registry apps to successfully export [HKEY_LOCAL_MACHINE\Software\HTC\HTCHome\Launcher] belonging to a previous Hutch 3 ROM.
I now want to re import these keys into my newly installed Duttys 6.1.
How do I do this?
Scuse the newb question (duck for cover) but on a PC you tap the *.reg and it will import into the registry. On my Kaiser running Duttys 6.1 I have PHM_Regedit but Import option is greyed out.
A search did not resolve it so any help would be appreciated.
Click to expand...
Click to collapse
Install FdcSoft's Taskmanager (it has a built in Regedit), by DotFred. In there you can associate .reg files with it. Then just run them to import.
Great I'll grab it. Thanks Dave I really appreciate the help. I know you all get sick to death of our newb questions.
logger said:
Great I'll grab it. Thanks Dave I really appreciate the help. I know you all get sick to death of our newb questions.
Click to expand...
Click to collapse
Dont worry. I spent 10 minutes trying to use PHM before I gave up.
Dot Fred's TaskManager is a kick ass task manager as well as a reg editor (amongst other stuff).
P.S. Easiest way to associate is: Open TaskMgr, tools, options, Create RegEit Shortcut. This will ask do you want to associate.
Cool I can see how to do all that now thanx.
Only hiccup is I can only run it from my Storage card. I cannot work out how to copy it to my \Windows folder. I cannot work out how to delete the existing basic taskmgr.exe that installed with Dutty's. I guess this is because it is a system file. If I try and copy and replace I get error message saying not possible. Whats the trick here?
logger said:
Cool I can see how to do all that now thanx.
Only hiccup is I can only run it from my Storage card. I cannot work out how to copy it to my \Windows folder. I cannot work out how to delete the existing basic taskmgr.exe that installed with Dutty's. I guess this is because it is a system file. If I try and copy and replace I get error message saying not possible. Whats the trick here?
Click to expand...
Click to collapse
Don't know. I just leave the exe in My Docs, and run it from the shortcuts.
Okay. Will do same. thanks..
Resco Explorer will also do it.
To dotfred from your SD Card, do this:
Place the .exe in you \Storage Card\Programs folder. With your desktop PC, navigate to \Windows Mobile Device\My Device\Storage Card\Programs & right click on the exe file. Select create shortcut. Move the shortcut to \Windows\Start Menu\Programs using desktop pc.
Voilla! you are done, go check Programs & it's there.
this is the steps i usually take when entering in a reg file. I use resco explorer for all this. I double click. Then I make sure I close resco through the menu exit and not the X button. Then I continue to play around with my phone for a while opening up menus and stuff. Then I soft reset. Doing these steps, I for sure get my stuff to work. There might be some unnecessary steps I take, but I end up with what I want. Many people have trouble keeping their registry stuff to stick. The steps I take, I never worry about that.
GSLEON3 said:
Resco Explorer will also do it.
To dotfred from your SD Card, do this:
Place the .exe in you \Storage Card\Programs folder. With your desktop PC, navigate to \Windows Mobile Device\My Device\Storage Card\Programs & right click on the exe file. Select create shortcut. Move the shortcut to \Windows\Start Menu\Programs using desktop pc.
Voilla! you are done, go check Programs & it's there.
Click to expand...
Click to collapse
Thanks for the tip. Was not aware you could make shortcuts this way. Running from the card appeals because the .exe will still be there after reflashing a new ROM and I will only need to move/copy the shortcut. Being a newb I have been somewhat reluctant to run apps from the card but I am gathering that is is a quite an acceptable thing to do.
Is there a way to place registry keys inside a CAB so that they will get imported when the CAB is launched? Whilst the above DotFred association method works a treat for me with ".reg" files I would like to find a standalone method to import registry info. So that I can pass a single file to someone else and without any extra config they can import the contents into their registy.
definitely. There are a lot of cab creators where you can just enter in your reg key and will create your cab. Someone recommended me this program. I really like it.
http://www.aperitto.com/content/view/14/159/
thomassster said:
definitely. There are a lot of cab creators where you can just enter in your reg key and will create your cab. Someone recommended me this program. I really like it.
http://www.aperitto.com/content/view/14/159/
Click to expand...
Click to collapse
Thanks for the link thomasster. Does the job well. Probaly an overkill (and therefore overpriced for what I need), but I got it to work OK. Also from using it, I learnt that the process simply converts the registry keys to provxml. So now I am looking to manaully create the "_setup.xml" and then use iexpress.exe in Vista to create the CABs.
Is there a way to undo changes made by import .reg file?
I imported a reg file using DotFredd's Taskmanager. Now I want to undo it? Is it possible? How?
Thanks

How do I add .exe files to my All Programs list?

I downloaded a program called Flashlight, and I wanted to know how I could get it onto my all programs list, since it came as an .exe rather than a cab. Thanks in advance!
mchao92 said:
I downloaded a program called Flashlight, and I wanted to know how I could get it onto my all programs list, since it came as an .exe rather than a cab. Thanks in advance!
Click to expand...
Click to collapse
Either move the file to \Windows\Start Menu\Programs or Create a shortcut to the exe (Copy the file in File Explorer and Choose Paste Shortcut) there.
Ta
Dave
Ah! That did the trick. Thank you very much
doesn't work with GpsCompass
I installed a program called GpaCompass that doesn't show up in my win/startmenu/programs, so I copied and pasted the .exe there, I tried to cut/paste the .exe there, still no go. it gives me an alarm about microsoft.net, but i have 3.5 installed. I've tried using 2.0 as default AND 3.5 as default. not sure what to do. I'll try to include screenshot of error msg.
scottspa74 said:
I installed a program called GpaCompass that doesn't show up in my win/startmenu/programs, so I copied and pasted the .exe there, I tried to cut/paste the .exe there, still no go. it gives me an alarm about microsoft.net, but i have 3.5 installed. I've tried using 2.0 as default AND 3.5 as default. not sure what to do. I'll try to include screenshot of error msg.
Click to expand...
Click to collapse
Don't copy (or cut!) and paste the exe to your Startmenu/Programs folder. Instead you should copy and paste a SHORTCUT to the exe in your Starmenu/Programs folder. By pasting the exe file itself into your folder it is trying to execute from that folder when other files that it may need are in the installation directory somewhere else on your device.
So first, cut and paste the .exe back to where it was originally located. Next copy the exe and "Paste as shortcut" into your Startmenu/Programs folder
Thanks lots
@ Rumbal,
worked beautifully, thanks a lot! I apparently misunderstood other posts I had read about doing this. And , call me an idiot, but somehow completely overlooked "paste as shortcut", and only saw "paste".
Thanks
woot!
Thanks!
This is something I just learned as well. Now I'm going to go ahead and make all the shortcuts I want!
It took a while, but I didn't want to ASK and get flamed for it. Anyway, these forms are tens of thousands of posts deep....I knew the answer was here
Rock
Mitch
Thanks a lot for this info.
DaveShaw said:
Either move the file to \Windows\Start Menu\Programs or Create a shortcut to the exe (Copy the file in File Explorer and Choose Paste Shortcut) there.
Ta
Dave
Click to expand...
Click to collapse
Amazing trick...this worked without troubles, and it can be set manually mostly for portable applications which does not install in Program Files folder.
I just did a trick with portable Dreamweaver by simply copying the portable folder to the Program Files, and then copied and pasted Dreamweaver.exe shortcut in Star Menu\Programs folder....worked fine.
Thanx for ur tips...

Strange file size

my phone memory fulled by a file with 54 Mb size,it's in Deblogger folder and it's name is cprog.log . i can't dellet it from device or from pc.i have just 300 kb free.can any one help me?
i'm using AthineOS build 23016 CHome Multimedia Edition rom
I hope you have a backup, just in case.
Connect to PC with ActiveSync and with file explorer (in the settings enable "show hidden and system files") copy the file to your PC if anything goes wrong. Then try to rename the file to "cprog.old" and delete it.
Or on device, kill “cprog.exe” with task manager and try as above.
Otherwise, temporarily remove some big files from your device and paste them on the PC to gain some memory. Download and install (preferably on your storage card) Total Commander here: http://www.ghisler.com/ce.htm
Now, with Total Commander, try to delete or rename as above and then delete the file.
If unsuccessful, try to kill “cprog.exe” with task manager or after freeing some memory, install Task Manager on storage card from here http://www.dotfred.net/TaskMgr.htm
then kill “cprog.exe” and delete the file.
Soft reset.
Also see this post: http://forum.xda-developers.com/showthread.php?t=547711
and/or search "cprog.log"
Good luck.
Thank you,i have deleted the file but when restat it creat another and it's size increasing again.
saleh_iraq said:
Thank you,i have deleted the file but when restat it creat another and it's size increasing again.
Click to expand...
Click to collapse
Glad you fond some memory back. With TotalCommander and when the file is small, try to set the file properties to "read only" and see what happens. Does it stop or crate a new file under another name or number?
saleh_iraq said:
my phone memory fulled by a file with 54 Mb size,it's in Deblogger folder and it's name is cprog.log . i can't dellet it from device or from pc.i have just 300 kb free.can any one help me?
i'm using AthineOS build 23016 CHome Multimedia Edition rom
Click to expand...
Click to collapse
There is a reg entry that must be deleted first, If i remember right it HKLM\Software\HTC\DebLogger Use total commander to delete this entry then softreset then delete the deblogger folder in the root of your device. This will fix the issue.
Solution
Hi, i've found the solution in the TPC thread, someone found the way to delete cprog.
- With Registry Editor go to:
HKey_Local_Machine\Software\HTC\Deblogger
delete the whole Deblogger folder
- Soft Reset
- Delete the folder Deblogger with cprog inside in the Device Memory.
You have no more cprog growing and the mobile runs smoothly.
Do this procedure again if you do a hard reset, because the Deblogger is cooked inside Windows 6.5 build.
I think chefs will remove the Deblogger in their future ROMs.
Monfro said:
Hi, i've found the solution in the TPC thread, someone found the way to delete cprog.
- With Registry Editor go to:
HKey_Local_Machine\Software\HTC\Deblogger
delete the whole Deblogger folder
- Soft Reset
- Delete the folder Deblogger with cprog inside in the Device Memory.
You have no more cprog growing and the mobile runs smoothly.
Do this procedure again if you do a hard reset, because the Deblogger is cooked inside Windows 6.5 build.
I think chefs will remove the Deblogger in their future ROMs.
Click to expand...
Click to collapse
Glad I found this thread! Thank you for the solution.
cprog.log
You people are the absolute BEST!!!! Any questions or problems, I am sure to find an answer here at xda. Thank you so much, all of you.
TedK

how to extract cabs from NBH file

im trying to extract some cabs from a NHB file...can anyone guide me in the direction on how to do this
I'd say the best way to do that is to extract the ROM into regular files.
You need to download a bunch of EXE files: NBHextract.exe, NBSplit.exe, ImgfsToDump.exe, and ImgfsFromNB.exe
You need to extract the NBH with NBHextract.exe. This will yield a .nb file
You need to use NBSplit (use the "-kaiser" parameter) to split the .nb into a .nb.payload file and a .nb.extra file
You then need to use ImgfsFromNB on the .nb.payload file, which will create a file called imgfs.bin
Use ImgfsToDump on imgfs.bin, which will create a folder called "Dump". When it finishes, All of the ROM's files will be there. You will probably want to search the folder for .cab files, since there are thousands of files in the average ROM dump.
That should do the job for you.
Or just use Visual Kitchen to Dump the ROM, and then rebuild the OEMs to CABs.
Dave
could u walk me through the visual kitchen program?
Hmmm look for htcRIE_0.4.0.47 and extract what you want.
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
little help will might ...
You do not search for it at you WM ROM,
Search at the site...
Anyway i have been find it for you !
A newer version of htcRIE, enjoy!
michealmyers said:
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
Click to expand...
Click to collapse
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
michealmyers said:
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
Click to expand...
Click to collapse
With Visual Kitchen, just click on the Dump button at the bottom - and then browse to the NBH file .
Dave
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
michealmyers said:
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
Click to expand...
Click to collapse
Yeah, you have to rebuild the EXT packages to CAB's I don't know if there is a tool for that actually. Might be better dumping it the Dave (TyTNII) way, that will give you OEM's. There are tools for OEM 2 CAB.
Jason8 is working on a tool to convert all 3 all ways IIRC.
Dave
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
michealmyers said:
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
Click to expand...
Click to collapse
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
DaveTheTytnIIGuy said:
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
Click to expand...
Click to collapse
that would be so helpful
Alright, I fixed all the bugs in it (it was still in progress) and added some new features I had meant to add for a while, such as renaming the processed files by date processed (though you probably won't need them if you're only extracting one ROM). Hit [WINDOWS KEY] and R on your keyboard at the same time to open the Windows Run dialog, and type "%USERPROFILE%" without the quotes. Simply unzip the file and drag the folder called "Flashing" in the user folder (it's vital to have the Flashing folder in the correct spot. Otherwise, the entire script will fail). Place the NBH file you want to extract in the NBHDUMP folder (in the Rhodium folder, which is in the Flashing folder), and go to the IMGFS folder (in the Rhodium folder, which is in the Flashing folder). Now, run RhodiumRomDump.bat and the dump should commence, and a folder with your dump should appear in the same directory.
If anything should go wrong, please tell me so I can try to fix it.
EDIT: Please redownload, all issues I could find are fixed in this version. If you get errors about needing MSVCr71.DLL with this version, google is your friend.
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
michealmyers said:
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
Click to expand...
Click to collapse
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
michealmyers said:
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
Click to expand...
Click to collapse
Try downloading cabtools V 0.3 and use pkg2cab to build the package back into a .cab file. I've never done it myself, but this looks like what you want.
DaveTheTytnIIGuy said:
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
Click to expand...
Click to collapse
This is What i got....where the "and" and "settings" folder apear is "untitled2.zip"

Categories

Resources