[Q] Dual boot android? - HD2 General

Can anybody tell me or post the link of the most easiest and updated methof of how to dual boot android and wp7.5.
Also can anybody post the link of the most stable fast and updated and best wp7.5 ROM?
Sorry I am new here and I have used the search option but I dont know which is the most updated and best method/rom.
Please can anybody help me

just follow the link below & see if it helps

I just did the following:
1. copied the entire American Android folder to my sd card
2. Installed mortscript to execute a run file for it
3. created a file called runAndroid.mscr (the mortscript run file) containing:
Run( "\Storage Card\Android\clrcad.exe" )
Run( "\Storage Card\Android\haret.exe")
When I execute runAndroid it just runs it and stays with Android each time the HD2 is switched on until I do a power down to restart in Windows Mobile.
Easiest way I've found to dual boot Android.

patcooke said:
I just did the following:
1. copied the entire American Android folder to my sd card
2. Installed mortscript to execute a run file for it
3. created a file called runAndroid.mscr (the mortscript run file) containing:
Run( "\Storage Card\Android\clrcad.exe" )
Run( "\Storage Card\Android\haret.exe")
When I execute runAndroid it just runs it and stays with Android each time the HD2 is switched on until I do a power down to restart in Windows MobileE].
Easiest way I've found to dual boot Android.
Click to expand...
Click to collapse
Nice job there, I like someone that is self reliant, but there are several dual boot Windows Mobile apps out there that already do this.
Also the OP is wanting to dual boot WP7 from NAND and Android from SD card. Not Windows Mobile from NAND and Android from SD card.

Related

Change Installation Directory

Hi,
i want to install the programs to a directory on the mmc card.
But if i do so, it installs in the root.
Now, thats not looking nice, and its hard to find anything there then.
I want create a directory for games and programms on the card.
How can i do that?
I can only choose between, Memory Card, Storage and Main Memory.
And that sucks!
Maybe u can user WinCE CAB Manager and edit the *.cab installation directory to any directory u prefer.
You can use the freeware CabInstall and install program directly from the SD.
Yes, but on the on hand this would be a lot of work, changing every single files directory in the cab and on the other hand it wouldn´t work out with Progs, that have an exe intallation, like the game AoE.
Thos Progs, first install on the PC and then on the PPC, and there are no editable CABs at all.
I thougt about changing the installation interface inactive sync , but i´m not a coder.
But maybe, there is somebody out there, who had the same idea like me and realised it already.
The Best solution ever: have a look at the attached files, open the TXT file first (the instructions)
You will not need any additional Software (except e Regestry editor like PHM Regedit), just follow the instructions and use the attached files.
Workes great I am having this now for 4 months!
if you install the programmes to the SD/MMC card, and they make their own folder, put the SD/MM card into a card reader on the pc and select the entire folder as hidden. this means that the programme still works, but does not show up when you explore the card. this does not work if u are using your phone as a card reader.
Sorry DerliebeWolf, The BEST solution is the follow (Tested on WM2003Se):
- Download a registry editor 4 Ur PPC
- Open AskDir_ON.reg with the program
- Reset your PPC
manually:
- Go to \HKLM\SOFTWARE\Apps\Microsoft Application Installer\fAskDest
- Change DWORD value (dec) from 0 to 1
- Reset your PPC
If you install a cab file or an exe file from the pc (that copy the cab into your ppc and then execute it), Windows Mobile will ask you in wich folder you want to install the sw.
Note that you can have problems with some applications (because they're not installed in their own directory)
Check out Nonentity's File System Tweak http://forum.xda-developers.com/vie...order=asc&highlight=file+system+tweak&start=0
Cabinstaller is the best and easy software i could recommend for this. Run the cab installer software once and set it to run for all installations, the whenever u try to install a cab file, it will prompt you for the path of installation. It also has an option to disable deleting of cab file after installation. Do you want anything more than this? and to the max, it is free ware! Its easy to get, if you can't find,I have it in my site' software section. www.cartystudios.com
oh yes, i've forget that cabinstall associes .cab files to it (and then, when you execute an exe from the pc, in the ppc will be opened always with cabinstall in auto)
They're the 2 Best Solutions

real simple request for all developers out there...

So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
shogunmark said:
So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
Click to expand...
Click to collapse
And how much do you pay for it?
Here it is...
shogunmark said:
So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
Click to expand...
Click to collapse
Here it is...
The applications is a command line application an works with 2 paramenters. 1º is the full path of the file or files patter that want to copy, in your case "\Windows\PalmMsgV001", other examples could be "\Test\log*" or "\*.txt". 2º is the full path of the destination directory without the date directory, in your case "\Storage Card\Back_up\Palm_back".
In the attached zip I include the application (CopyBackUp.exe) and the shortcut (.lnk) with the parameters required for your case ('CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back_up\Palm_back"').
Just extract the .exe to the root folder ("\") and the .lnk wherever you want (ie. "\Windows\Start Menu").
Any small donation would be appreciated.
Enjoy...
finthamoussu said:
Here it is...
The applications is a command line application an works with 2 paramenters. 1º is the full path of the file or files patter that want to copy, in your case "\Windows\PalmMsgV001", other examples could be "\Test\log*" or "\*.txt". 2º is the full path of the destination directory without the date directory, in your case "\Storage Card\Back_up\Palm_back".
In the attached zip I include the application (CopyBackUp.exe) and the shortcut (.lnk) with the parameters required for your case ('CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back_up\Palm_back"').
Just extract the .exe to the root folder ("\") and the .lnk wherever you want (ie. "\Windows\Start Menu").
Any small donation would be appreciated.
Enjoy...
Click to expand...
Click to collapse
This worked perfectly.. and am more than happy to kick you a small donation!!! pm me and let me know where to send it!
and also as i am looking at the shortcut, it appears that in theory you could make this little exe copy whatever you want, just would have to edit the short cut.. interesting...
shogunmark said:
and also as i am looking at the shortcut, it appears that in theory you could make this little exe copy whatever you want, just would have to edit the short cut.. interesting...
Click to expand...
Click to collapse
Yes, it tried to make it a bit more generic that what you were asking for, so maybe it could be usefull to somebody else
CopyBackUp V1.1
Attached is the new version of the application.
The changes are:
The first 2 parameters still being the same.
The next parameters are optional, and works as follow:
New commands:
·-kb[List of processes to Kill Before the backup is made]
Kills the specified list of processes before the backup
·-rb[List of processes to Run Before the backup is made]
Runs the specified list of processes after the backup
·-ka[List of processes to Kill After the backup is made]
Kills the specified list of processes before the backup
·-ra[List of processes to Run After the backup is made]
Runs the specified list of processes after the backup
·-noui
Runs the application without showing windows messages (only “Invalid Arguments” is showed)
These commands can be used multiple times, are case insensitive, and before backup commands and after backup commands are executed as they appears.
Sample:
copybackup.exe “/Directory with spaces/*.log” /Test –rb /test/test.exe /test2.exe –ka test2.exe –kb aaa.exe –NoUI –ra “/dir dir/bb.exe” –KA b.exe
This will
1.1. Run /test/test.exe
2.2. Run /test2.exe
3.3. Kill aaa.exe
4.4. Perform the backup of “/Directory with spaces/*.log” to /Test/[Date]
5.5. Kill test2.exe
6.6. Run “/dir dir/bb.exe”
7.7. Kill b.exe
All this without Windows UI messages
The application will fail only if some of the processes to run is not found, It won’t fail it some process to kill is not found.
Enjoy.
well i did find error.. maybe..
If i use:
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup"
Then it does as mentioned before...
If i manually kill messagingapp.exe first and use this then it works, it will copy the file and run the app:
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup" -ra messagingapp.exe
But if i leave messagingapp.exe running it will not kill it or copy the file, just throws up an error box that says "error":
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup" -kb messagingapp.exe
and i did verify that the process is running
shogunmark:
Are you sure that have extracted both files in the same directory?
This problem looks like copybackup.exe is not finding in the same directory OpenNETCF.dll.
This dll is needed when you use -kb or -ka, as is used to enumerate running processes.
I have made the test copybackup.exe /*.log /test -kb iexplore.exe and it works perfectly (Kills Internet Explorer before)
Can you cheek this?
Cheers
Hi finthamoussu,
Your application sounds really cool. I can appreciate the running processes fuctionality as that is a little bit tricky in .net. Good work!
Regards,
Slither2006.
I think this is a really useful app. Forgive my ignorance but where do you run the exe on the PC or on the device?
If on the device do we need to copy OpenNETCF.dll there as well? Which folder?
Thanks
gekkkko said:
I think this is a really useful app. Forgive my ignorance but where do you run the exe on the PC or on the device?
If on the device do we need to copy OpenNETCF.dll there as well? Which folder?
Thanks
Click to expand...
Click to collapse
Hi, you need to copy both files to the device (to any folder you want).
An to use it just call the exe with the parameters you need (look at previous post).
Enjoy

Android Question?

Okay so I used a .EXE file I found on a site and my phone shows the android application but when I click it, it doesn't load how do I load android..?
To launch Android, run "HaRET" using the phone's File Explorer app.
It might not be strictly necessary, but you'll probably have better luck if you put all the files needed to boot Android (HaRET, the .img file, etc) in the root directory of your uSD card. I discovered the hard way that if you unzip the files and copy them to a subdirectory (say, "//Storage Card/AndroidXXX"), then proceed to launch HaRET from that subdirectory, itseems to ignore one or more of the files in that directory and will use the files in "//Storage Card" instead.

Random problem loading Android

The file ‘HARET’ cannot be opened. Either is it not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
I have been happily using Android for the past several months. I have had no problems with it up until today where I can no longer load it.
I get the message above when clicking both HARET or CLRCAD and also as soon as I restart my phone, replacing HARET with 'boot' which I think is my Android loader.
I have searched and there have been very few cases of this and of those related to Android, the all happen the first time someone is installing Android.
Any help would be much appreciated.
Yep I get them too, But since I dont use WinMo currently, I just say erase and reset WinMo and then after its done bringing the phone back to factory default, I re-run clrcad and haret and no problems, I think its a security permission issue, so this time when it happened, I went in with a reg editor (CeRegEditor) and unlocked the registry, and then navigated to :
[HKEY_LOCAL_MACHINE\Security\Policies\Policies]
"0000101a"=dword:00000001
"0000101C"=dword:00000001
Make sure they look like that, save the registry and restart the phone. I think the "101a" setting being "0" is whats preventing the unsigned files to load. But cant hurt to try, since doing this I havent had to restart my phone to see if it works.
Are you saying that a hard reset is the only way to go?
Its the only one I found that allows you to get back into Android. If you have anything in WinMo back it up. Now there is one other possibility, its a Long shot but it might work. (Hence the KeyWord: "MIGHT").
Download yozgatg's Gen.Y Dualboot:
http://forum.xda-developers.com/attachment.php?attachmentid=299122&d=1269552359
See if you can install that (in windows obviously)on to Device no SDCard, if you can then download this file as well: HeadHunter2009 Mod
http://forum.xda-developers.com/attachment.php?attachmentid=464093&d=1292335730
HD2 ONLY:
First install MortScript
2. Install Gen.Y DualBOOT
3. Rename Haret.exe in your Android folder on StorageCard to Haret2.exe Important
4. Copy Haret.exe from my attachement to Android folder on StorageCard
5. Copy run.mscr and run.exe to Windows folder replacing axisting one
6. And then import Gen.Y.reg.reg file to the registry.
Need Mortscript.
Now, if that doesnt work, I have one FINAL try then im out of guess:
Extract the file run.mscr from the second link. Navigate to windows and paste that file, then go to startup folder, remove any shortcut links in there and add a shortcut to that file into this folder. (Again, this idea is heavily dependent that you can get Mortscript installed) reboot the phone, at initial startup, it should hit that shortcut and boot into Android without any intervention from you. (If this does work, and you want to go into Windows, remove SD Card to prevent booting to Android)
And one final thought, use CeRegEditor, and back up the Reg Location I stated, then after saved to your hard drive load it into the editor, or open it with notepad, edit the lines I said, save it and then import it back to the phone.
Short of these ideas, I dont have any more to offer. Good luck.
Thanks alot for that. I will have a go this weekend and report back on here.

[Q] Launching HARET.EXE from outside???

Hello,
How to run HaRET.exe from outside?
I mean from other program...
I am making a C# program which can launch HaRET.exe, i used this:
Code:
Process CLRCAD = new Process();
Process HARET = new Process();
CLRCAD.StartInfo.FileName = AndroidPath + "/CLRCAD.exe";
CLRCAD.Start();
HARET.StartInfo.FileName = AndroidPath + "/HARET.exe";
HARET.Start();
CLRCAD have success lanuched, but i can't launch a "Normal haret"...
Yes, haret have run, but it is not black screen, a penguin with htc logo, it popup a window, which i attached(image)...
*** I HAVE Startup.txt in the /Storage Card/Android ***
Any solution that i can launch Haret properly?
Thanks
I don't actually have a WM device at hand (I'm 100% Android now), so I can't check this, but to me it looks like that error is basically saying that it can't find the expected startup script, which in this case would be startup.txt. The reason that it can't find it is because it's not running in the Android folder, but the folder where your app is running. (From the screenshot, I suspect that HARET looks for the startup file in the current folder and if it's not there it pops up the dialog asking you to locate a suitable alternative. It may well take command-line arguments for the startup file too!)
Set the WorkingDirectory for the StartInfo to the Android folder and see if that helps...
Code:
Process HARET = new Process();
HARET.StartInfo.FileName = AndroidPath + "/HARET.exe";
HARET.StartInfo.WorkingDirectory = AndroidPath;
HARET.Start();
If you don't have any luck with that (but I think you will ), ask a mod to move this thread to a forum in the Windows Mobile Development and Hacking forum. That's a better place to ask this kind of questions, so you'll get a more relevant audience.
http://forum.xda-developers.com/forumdisplay.php?f=522
Thanks for your answer first, but your solution doesn't work...
Still same, any solution???
Thanks.
hopkinskong said:
Thanks for your answer first, but your solution doesn't work...
Still same, any solution???
Thanks.
Click to expand...
Click to collapse
Did you try running your app in the same folder as haret, just to see if it is the problem I suggested?
johncmolyneux said:
Did you try running your app in the same folder as haret, just to see if it is the problem I suggested?
Click to expand...
Click to collapse
Yes, i have tried, still same...

Categories

Resources