Related
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
I have this problem with Opera Mobile 9.5 where I try to download a cab file to install on my phone but it instead opens the cab file as text. There isn't a "Save file as" option in the menus so how can I download the cab file without opening it as text?
Type in opera:config and check through the settings, or you could reinstall.
Guys I am having this problem also and need to fix it.
The thing is when I type :config in Opera and try to log into settings nothing happens. Please how can I remove that **** Opera off my phone?????????
Need to install all the cabs that I need...
Any help would be appreciated, thanks
I have never had any problem downloading anything with Opera... Actually, I tend to try and use Opera to download with because it's download manager works so well.
It sounds like you have a setting off somewhere in your phone... probably with Opera, assuming you can download with IE just fine.
Also, you want to type in the address bar "opera:config" without the quotation marks, and that is where you will find the advanced settings that control downloads with Opera.
As well, maybe try downloading a different version of Opera? I like this one:
http://www.mediafire.com/file/ywydu3iczxn/WM6_PPC_HTC_Opera9-build_15954_WWE_QVGA.CAB
That is not what I mean.
I downloaded files throught my PC, hooked Omnia to it and copied the files to the phone's SDcard.
The cab files of all progs are "branded" Opera. meaning if you want to run them, they open through Opera and not execute style. Got it?
SilverSpear7 said:
That is not what I mean.
I downloaded files throught my PC, hooked Omnia to it and copied the files to the phone's SDcard.
The cab files of all progs are "branded" Opera. meaning if you want to run them, they open through Opera and not execute style. Got it?
Click to expand...
Click to collapse
Ah, ok... I don't think that is the same problem they were having... I don't know what the solution to that would be, since a .cab file is an .exe file written to run a PPC, thus when you click on it, it should run itself without any other program opening it...
I would say try downloading the cab files directly on to your phone with the built in browser, save them to your memory card of course...
But if you are copying a .cab file on to your phone, and using file explorer to launch it, there is no reason it shouldn't work, it is a self executing file that doesn't look for a mother program to run it... Unless somehow you have managed to change them so that they try and open with Opera, either through your phone settings or properties of the cab itself type thing.
I think I have no choice but to disable or uninstall Opera in some way.
If someone can help me to do this, I think I can manage with the cab files then...
I don't think that will fix your problem. Those files will still be linked to Opera. And if Opera is part of your ROM, you can't uninstall it... actually even if you loaded it yourself, unless you did one of the uninstallable versions, it can't be uninstalled...
At this point, it would help if you gave more information:
What, if any mods, you have done to your phone?
What program did you use to copy the files to the SD card?
Where did you get the cab files?
Heck, what cab files are they?
These mods:
http://www.samsung-omnia.org/how-to/howwhatwherewhichwhywhen/
And the cab files are related to advanced configuration tools, Omnia patched dialler, SPB mobile shell and a couple others.
You might want to ask that forum for assitance? It looks like they are pretty dedicated to the Omnia, which most everyone here does not have one. This forum is for the HTC Kaiser specifically, and the site as a whole is dedicated to HTC devices. Perhaps post in the general section of this site, but I think you will have better luck with the omnia site you got all of your cabs from.
In general, without having screen shots, or hands on knowledge of the cab files you are trying to use, about all I can say(and anybody really) in this forum is that there is something corrupt with the .cab files or your file explorer is corrupted. I would bet the .cab files are corrupted, and that somewhere along the way you did something wrong. Maybe you skipped a step in the whole process, and Opera is coming up not because they are tagged to run through Opera, but because it is suggesting to search for something using your default browser.
It really is hard to say, but I would suggest asking that forum for some support. Also, I would flat out re-download all the cabs straight to your phone from the site, not your computer. This will make sure you don't have any issues with the sync process. As well, save them to the root of you SD card, in other words not in a folder.
Sometime i got this problem but it seem it happen when the page is not fully loaded
Do you open cab files through Opera?
Open link in new tab
Hi
I have also had this problem with opera version 9.5.16277. I have found a couple of work arounds:
1) Tap and hold on the link and then select "Open in new tab"
2) Tap and hold on the link and select "Copy link location". Then manually open a new tab and paste the address into the address bar.
I have found that if 1) above does not work 2) will.
Cheers
andrew-in-woking
Sometimes it's the website itself.
For example, for Josh's Test ROM, if we click directly (even on PC) on the link, it'll open the zip file on the page. I had to 'right-click' and 'save the link as' to save the file.
It might be some code on the page ..
Input the two .reg files to the registry, should just solve the problem. You can use any regiedit tools or taskmgr.exe or total command to do it. If don't know how, please search some info first.
Skrp said:
Input the two .reg files to the registry, should just solve the problem. You can use any regiedit tools or taskmgr.exe or total command to do it. If don't know how, please search some info first.
Click to expand...
Click to collapse
The above is my answer to origional poster of this thread.
But since this thread is already goes to off-topic, I would also write my comments:
Opera opens compressed file as text on page, is a big bug for opera software, it happens to both its mobile and desktop vdersions. But latest releases of Opera Mobile seems have some progress on this issue, although still can not completely avoid it.
I have just bought a HTC Diamond. I am new to the world of Windows Mobile.
So far the phone is great! I love it.
I have noticed you can download lots of apps and tweaks.
I want just wondering how to instal these programs on the phone.
I have downloaded a few games, Unzipped and copied over the files to the phone. It recognioses one of the games with a '.cab' format and it installed, but the rest are .xml.
Any pointers, tips and hints for this phone?
Cheers
the program you use to extract compressed files identifies cab files as compressed. All you need to do is copy the cab files to your phone and run the file from there. If you try to extract a cab file, you'll get those xml files you talked about.
1. Copy cab to phone
2. Run cab from phone to install the program
good luck
elcom said:
1. Copy cab to phone
Click to expand...
Click to collapse
Hi - my first post!
You mention .cab files... I expect this applies to .exe's as well (for example, hot fixes)???
Any particular folder(s) on the phone we should be copying these files to before running them? I tried to install a hot fix today, but after running the .exe and receiving a 'success' message, the phone restarts OK, but the fix does not appear to have worked.
all exe install's for pocketpc's are pc exe files which have to be run
on the pc and then it use activesync to transfer the cab file to the
pocketpc and run it there
Rudegar said:
all exe install's for pocketpc's are pc exe files which have to be run
on the pc and then it use activesync to transfer the cab file to the
pocketpc and run it there
Click to expand...
Click to collapse
Thanks for the response.
Unfortunately, running the exe on my PC (Win Vista) doesn't seem to work.
Error: "{C:\filepath\filename.exe} is not a valid Win32 application."
Any ideas? I'm a complete newb at this so have exhausted my very limited list of possible ideas...
some people don't distribute their apps with installers so it could
just be the program itself
in which case you have to execute it on the pocketpc
this of cause mean that it will not put a shortcut to the exe
in your programs thats just something you have
to do manualy with a program like total commander
which you can also use to browse to where you put the
exe file and execute it to start the program
some people don't distribute their apps with installers so it could
just be the program itself
in which case you have to execute it on the pocketpc
this of cause mean that it will not put a shortcut to the exe
in your programs thats just something you have
to do manualy with a program like total commander
which you can also use to browse to where you put the
exe file and execute it to start the program
OK thanks - I already tried running the exe straight from my Diamond, and although it appeared to work correctly, the hotfix didn't actually fix what it claimed to. Not to worry, I'm still learning all this stuff (only had my Diamond for a day and a half now... ).
Hi, I am using the iskoot software, installed by an apk files. But I need to change a setting of this software, and in Windows Mobile I used to change the registry setting I need, but now, we do not have a registry....so what I am asking is, there is a way to unpack an apk files to see where and wich files it install? So that I can go there and edit the conf file I need?
Thanks!
alex_time said:
Hi, I am using the iskoot software, installed by an apk files. But I need to change a setting of this software, and in Windows Mobile I used to change the registry setting I need, but now, we do not have a registry....so what I am asking is, there is a way to unpack an apk files to see where and wich files it install? So that I can go there and edit the conf file I need?
Thanks!
Click to expand...
Click to collapse
apks are just zip files. Set them to open with your archive manager or change the extension to .zip. All applications install their settings into /data/data/%PACKAGENAME% where %PACKAGENAME% is the Java-style package name of the app.
Ugh, no need to use the evil "R" word here. You're going to give us nightmares!
Each application stores its configurations/settings in its home directory in /data/data as pointed out by the previous poster. You might want to bone up on 'sqlite3' as most configuration settings tend to be stored in such databases.
alex_time said:
Hi, I am using the iskoot software, installed by an apk files. But I need to change a setting of this software, and in Windows Mobile I used to change the registry setting I need, but now, we do not have a registry....so what I am asking is, there is a way to unpack an apk files to see where and wich files it install? So that I can go there and edit the conf file I need?
Thanks!
Click to expand...
Click to collapse
I'am trying right now to find this confing files, thanks, I'll let you know if it's ok.
Note that depending on what you are trying to do, the config files may or may not be able to adjust the property you're after. No matter what, the program itself must support what you are trying to do (this goes for ALL OS's -- you simply can't change something that is irrelevant and expect it to do what you want) and more often than not, the ability to adjust that property would be presented by the program itself.
That is, of course, not to say that manually adjusting the config files is useless, because there IS a lot you can do directly from the config files.
alex_time said:
I'am trying right now to find this confing files, thanks, I'll let you know if it's ok.
Click to expand...
Click to collapse
Er, delete please
Modify an " .apk " file in " .exe " file
Hi everybody ,
Please , does anyone know how
I can modify an Android Mobile File .apk
in a .exe to use it with Windows Mobile ?
ccpgclap said:
Hi everybody ,
Please , does anyone know how
I can modify an Android Mobile File .apk
in a .exe to use it with Windows Mobile ?
Click to expand...
Click to collapse
No, they have absolutely nothing in common.
Modify an " .apk " file in " .exe " file
Originally Posted by ccpgclap View Post
Hi everybody ,
Please , does anyone know how
I can modify an Android Mobile File .apk
in a .exe to use it with Windows Mobile ?
Originally Posted by RubenGM View Post
No, they have absolutely nothing in common.
Originally Posted by ccpgclap View Post
But I have found this and it doesn't work ....
Download APK2EXE and NSIS install system
Follow these steps to create your executable!
* Extract APK2EXE to a new directory
* Add your APK to the directory
* Doubleclick APK2EXE.NSI and edit the 3 lines containing information about your application.
* Right click the NSI file, and select 'Compile NSIS Script' - this will create your install EXE
* Done!
And it is a .apk to .exe converter !!!
Can anyone tell me why it doesn't work ? Many thanks
because your trying to run a Android application on Windows.
it's like saying I want to make this MAC application run on windows.. it just doesn't work..
I dont care what programs say.. Its not coded for Windows so it wont understand what the program does...
BTW you application you speak of is meant to install APK's FROM windows not TO windows
"Hot on the heels of my installAPK utility to let you install APKs from your Windows desktop, I now have another neat trick... which allows developers to distribute APKs as Windows EXE files instead."
boostnek9 said:
because your trying to run a Android application on Windows.
it's like saying I want to make this MAC application run on windows.. it just doesn't work..
I dont care what programs say.. Its not coded for Windows so it wont understand what the program does...
BTW you application you speak of is meant to install APK's FROM windows not TO windows
"Hot on the heels of my installAPK utility to let you install APKs from your Windows desktop, I now have another neat trick... which allows developers to distribute APKs as Windows EXE files instead."
Click to expand...
Click to collapse
shouldnt be too tough. just make a executable file that installs and configures adb, allows user to select apk or select a folder of apk's, create a .bat file that tells windows command prompt adb push the .apk to the sd card, then adb install /sdcard/nameofapk.apk
simple enough!
Can anyone tell me how to edit the app / extracted APK file to make the phone think it's a completely different app i.e. install it twice...
Not trying to cause trouble, I'm just looking to install an older version of an app as well as the updated version...
RichCowell said:
Can anyone tell me how to edit the app / extracted APK file to make the phone think it's a completely different app i.e. install it twice...
Not trying to cause trouble, I'm just looking to install an older version of an app as well as the updated version...
Click to expand...
Click to collapse
apk manager will let you
Asadullah said:
apk manager will let you
Click to expand...
Click to collapse
Thanks for replying, I've had a go with that and extracted / decompiled, compiled, signed, and that doesn't work, when I try to install the newly created apk it still tries to overwrite it...
I've watched the vid and read the comments but haven't worked it out yet... Can you point me in the right direction about which bit to edit?
i think you need apktool
Cool, I'll look into that... Any pointers on how to do it once I've got apktool?
command line usage, this tool unpak and repak
my question is this, say for example I have my phone setup just as I like with the theme of my choosing, htc music app instead of the stock android app in the cyanogen mod. i would like to be able to create a rom from this setup that I could then just load on my phone as oppsed to loading a cm mod, then installing music player, then installing the theme. before the flaming begins, i tried the search to no avail. i am aware of how to sign the zip and all of that. just a point in the right direction would be MUCH appreciated.
Its something I would like to be able to do as well. According to Haykuros twitter hes going to be making a video about android rom cooking soon so that should help
jholt0130 said:
my question is this, say for example I have my phone setup just as I like with the theme of my choosing, htc music app instead of the stock android app in the cyanogen mod. i would like to be able to create a rom from this setup that I could then just load on my phone as oppsed to loading a cm mod, then installing music player, then installing the theme. before the flaming begins, i tried the search to no avail. i am aware of how to sign the zip and all of that. just a point in the right direction would be MUCH appreciated.
Click to expand...
Click to collapse
This should've gone in the Q&A section. Will probably get locked soon.
But in response to your question, I guess you could grab the CM rom, then grab the theme you use and overwrite the files in the rom, and then overwrite the music app with the HTC music. Resign and you got your update.zip customized how you want it.
xidominicanoix said:
This should've gone in the Q&A section. Will probably get locked soon.
But in response to your question, I guess you could grab the CM rom, then grab the theme you use and overwrite the files in the rom, and then overwrite the music app with the HTC music. Resign and you got your update.zip customized how you want it.
Click to expand...
Click to collapse
Thanks for the help and my apologies for the wrong section
how do you resign it?
joey3002 said:
how do you resign it?
Click to expand...
Click to collapse
by searching.
Stericson said:
Automatic version!
Do not use this to sign APK files in Vista or windows 7! It will cause your theme to loop phones when placed on a device. Only use this to sign update files if your using those O/S's
Note, this will not work if your SDK or the path that you place this in has any spaces in the dir name!
An Example of this is c:\users\Nikki and Stephen\sdk\tools
Try to put the SDK and the contents of the zip in a dir where the names are all together and not like the one above.
I have made a batch file that will automate the entire process of setting up to use the signing tool made by JF. This batch file will set the CLASSPATH, set the PATH, install the registries, and will even allow you to sign files manually if you wish. I plan on building onto this batch file to include other things. However, for the moment, it will only include what you see here.
In order to use this you should have downloaded the sdk already. Simply extract all of the files into the tools dir of your sdk, and run autosign.bat follow the instructions and go through the options one by one, starting with 1 working through 4. You can however, put the contents of this zip anywhere on your computer and it will work. It is just better to put them into the tools dir of your SDK. Especially for the consideration of future versions.
Autosign .zip: http://www.fightforthepits.com/Androidstuff/signing.zip
Want to set up the signing tool manually?
Here is the link for the signing tool: Http://www.FightForthePits.com/testsign(2).zip
Before using this you need to know how to set this up:
Now you will need to add the tools dir of your sdk to the environment variable CLASSPATH.
FOR XP:
Right click on My Computer click properties, then choose the tab that says advanced.
Click the button that says environmental variables.
Go to system variables find the one that says CLASSPATH
double click it
go to the end of variable value.
There should be a semicolon ; at the end, type in the path to the testsign.jar located in the tools directory of your SDK
for example the path to my testsign.jar was c:\sdk\android-sdk-windows-1.0_r1\tools\testsign.jar
If CLASSPATH is not in your system variables then create it.
Secondly, Find the system variable called PATH and add to the end of it, the full path to your sdk directory.
For example, mine was c:\sdk\android-sdk-windows-1.0_r2\tools
FOR VISTA:
Open a cmd prompt.
Replace THEEXACTPATHTO-TESTSIGN with the path to the dir that holds the file testsign.jar.
Type:
echo %CLASSPATH%
If it is returns %CLASSPATH%
Type the following:
set CLASSPATH=THEXACTPATHTO-TESTSIGN\testsign.jar
If it comes back with something else then
Type the following:
set CLASSPATH=%CLASSPATH%;.;THEXACTPATHTO-TESTSIGN\testsign.jar
For Example, when I type this it looks like:
set CLASSPATH=%CLASSPATH%;.;c:\Android\SDK\tools\tests ign.jar
To set the PATH
Replace THEEXACTPATHTO-SDK with the path to the tools dir of your SDK.
Now type:
set PATH=%PATH%;.;THEXACTPATHTO-SDK\tools
For example, when I type this out it looks like this:
path-%PATH%;.;c:\Android\SDK\tools
Now through doing this you have done two things, first off you have made the resigning process extremely easy, secondly you will not have to cd to the tools dir of the sdk to use adb or any other tool in the sdk.
Signing the Files:
Now right click the reg file that you extracted and choose to install it, or merge.
Now, right click an apk, do you see an option that says ResignApk? That's how you will resign your .apks and .zips.
When you choose it a cmd window should open for a few seconds and then close. the file you signed will be overwritten with the new resigned file.
If you find the right click menu not working for some reason you can type the following in cmd to sign your files: java testsign whateverfiletosign
Click to expand...
Click to collapse
.apk's not showing up after flash in resigned .zip
Ok, so I've created a ROM to my liking. All the .apk's I normally use and got rid of the ones I don't. My problem is after I customized the ROM and flashed it none of the .apk's I added showed up. The only ones that showed up were the paid apps. I never opened the .apk's and made changes. I assume I don't need to change them to .zip resign and back to apk. Do I? I am using Windows 7 though and am able to resign no problem. Thanks to anyone who replies.