Related
Okay I understand you have to use mkrom and Linux (or cygwin on Windows) to roll your own ROM my question is regarding how one could say remove one program from the SE ROM and include something else, for instance take off the byte counter and put another different counter on or such, would you just copy the necessary files (.exe and dll's) to the files1 or files2 folder and that's it ? What more is involved? Thanks in advance!
for simple programs, that is all there is to it.
some might need more research, as to which registry settings need to be tweaked to get te program to run from the windows directory. and what settings it needs to run at all.
You copy the files to either files1 or files2. Both sets of files end up in the \Windows subdir. So if you do not want to copy the files to RAM (see below), you should make sure the program is set to run from \Windows. Then you add any necessary registry keys to "default.reg", and any file-copy or directory creation commands to initobj.txt. Then run "mkrom <ROMfile>" and hey-presto.
Thanks so much for all your guys awesome work!!
entropy1980 said:
ok sounds good, what would one need to do to mod the registry for the programs (By that I mean prior to booting) I don't want to be mucking around with a reg editor after the device boots just to get the progs to work...
Click to expand...
Click to collapse
Not sure I understand the question. Default.reg just holds the entire registry as present after a cold restart. So if you put something in there, this will be in the registry when the device wakes up.
I think we wrote at the same time , so you answered my question before I posted it !!! What you said made complete sense! Thanks!
entropy1980 said:
[...]so you answered my question before I posted it !!! [...]
Click to expand...
Click to collapse
I installed the phpBB telepathy mod a couple of days ago, so I guess it's working.
Hey I knew you were going to say that.... :lol: :lol:
hi,
i want to add the skelmir java virtual machine (thats default installed in windows\ceej) and copy the swingall.jar in the windows\ceej map.
I have the cab file of the virtual machine but i can't find out which files are in it (when i open it with cabextract is shows .001 files and not the files that i find back in the device)
please help me
Using Special Edition ROM, Tthe CabInst tool will run CAB files on the device if you move it there manually and double-tap it. It allows to set a new directory to install in.
Also the System Snapshot tool will write a file in the root of the device which holds a list of the entire filesystem and registry contents, so you can compare and see what changed. UltraEdit for the desktop has a compare function.
Good luck...
hi,
i installed it to a seperate directory and zipped the files. i also took a snapshot when the xda was fresh and after install. i only can't find where the xda's gets is files from in:
43 <! [\Windows\AppMgr]
8544 <! 31/12/2002 12:31 1632 FC0E9EE1 Skelmir CEEJ Virtual Machine.DAT
8576 <! 16/02/2003 23:10 27 AEBB1DF3 CEEJ.lnk
8587 <! 16/02/2003 23:10 40 1EAF4EB3 CEEJ Examples.lnk
8588 <! 16/02/2003 23:10 27 AEBB1DF3 CEEJ.lnk
because these are not in the map where i extracted the cab file too. maybe you can take a look for me and tell me what i have to change in mkrom to have ceej by default installed
the extraced cab map:
http://www.devosjansen.nl/xda/java installed.rar
the snapfiles:
http://www.devosjansen.nl/xda/xda snapshots files.rar
thanks in advance
laurens0619 said:
hi,
i installed it to a seperate directory and zipped the files. i also took a snapshot when the xda was fresh and after install. i only can't find where the xda's gets is files from in:
43 <! [\Windows\AppMgr]
Click to expand...
Click to collapse
These files are generated during the install process, and contain uninstall information. You do not need to write them if you install in ROM, since you don't need/want your programs to show up the in the 'Add/Remove Programs' dialogue.
ah i understand,
so i just put the files in the files1 or files2 directory and add this reg files to the default.reg? i dony really understand the readme file
ah little kick,
isn't also good for the next SE rom? because you have finally a java virtual machine on the xda and the app is freeware (got it from www.skelmir.com)
laurens0619 said:
isn't also good for the next SE rom?
Click to expand...
Click to collapse
Noted...
nice but can you please help me out for the moment? i dont know which part i must add to the default.reg file
laurens0619 said:
I dont know which part i must add to the default.reg file
Click to expand...
Click to collapse
default.reg holds the registry that is present when the system wakes up from cold-boot. So any registry entries your installer (or first run of the app) has made that you would like to have present should go in there. Clear enough?
almost
so i just copy paste the **** at the end of the reg file? and the files in the files 2 map
but how will the rom know where to put the files??
sorry if i'm stupid but i don't want to f*ck my rom so i can use me xda's as a frisbee
Yes, the registry entries can be pasted at the end of default.reg. It doesn't matter if there's earlier entries with the same values, since the latter ones override.
All files in files1 and files2 will end up in \Windows, and if you want them somewhere else, (where they'll take up RAM), you must manually copy them (or pre-made links pointing to them) by issueing commands in initobj.txt.
Take a real close look at initobj.txt, and you'll get the picture.
Say I wanted to install a new version of poutlook on a device. If I install the exe in a folder outside of \windows along with any dependant dll's will the OS search for these dll's in the run dir and use them over the ones in \windows?
Yes. Dll search path on Windows Mobile are run dir, windows, root. Not sure about the order of the last two but run dir is definitely first. This behavior is inherited from desktop windows.
hannip said:
Say I wanted to install a new version of poutlook on a device. If I install the exe in a folder outside of \windows along with any dependant dll's will the OS search for these dll's in the run dir and use them over the ones in \windows?
Click to expand...
Click to collapse
The search dll path is always first in the application directory, then in the system directories. So it should work...
Cheers,
.Fred
That's good news. Thanks!
Also, you can add your own system path directories (to look for DLL's) at HKEY_LOCAL_MACHINE\ Loader\SystemPath ; see links in http://www.pocketpcmag.com/blogs/menneisyys/UltimateRoundupOfRegistryEditors.asp for more info
Menneisyys said:
Also, you can add your own system path directories (to look for DLL's) at HKEY_LOCAL_MACHINE\ Loader\SystemPath ; see links in http://www.pocketpcmag.com/blogs/menneisyys/UltimateRoundupOfRegistryEditors.asp for more info
Click to expand...
Click to collapse
You could add my registry editor...
Cheers,
.Fred
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
I know people use total commander but I have no idea how to use it. Is there an easier way? Or can someone explain to me how to use it to copy over some files to my \windows\ folder?
alpha_omega said:
I know people use total commander but I have no idea how to use it. Is there an easier way? Or can someone explain to me how to use it to copy over some files to my \windows\ folder?
Click to expand...
Click to collapse
Just use Resco Explorer. It's not freeware but is a great application with the ability to overwrite protected files and has many settings to play with.
dharvey4651 said:
Just use Resco Explorer. It's not freeware but is a great application with the ability to overwrite protected files and has many settings to play with.
Click to expand...
Click to collapse
Yeah I was actually looking into that program. Heard a lot of good things about it. Any place with a good tutorial on it?
alpha_omega said:
I know people use total commander but I have no idea how to use it. Is there an easier way? Or can someone explain to me how to use it to copy over some files to my \windows\ folder?
Click to expand...
Click to collapse
Select the file you want... Click file... Select Copy/Move... Click Tree to select where you want to drop the file.
I found this at this page, and it works for me about 90% of the time.
Download EnableRAPI and extract all files from the zip archive.
Double click on EnableRAPI.bat and leave the DOS window it launches open
Open Folder Options and choose to "Show hidden files and folders" and de-select the "Hide protected operating system files" option.
On Windows XP, this would be done by launching Windows Explorer and clicking on Tools --> Folder Options and then the View tab.
On Windows Vista, this would be done by going to Folder Options from the Control Panel and then clicking on the View tab.
Connect your device to your PC using ActiveSync (Windows XP) or Windows Mobile Device Center (Windows Vista).
Browse the device's file system using the File Manager tool in ActiveSync or Windows Mobile Device Center.
When you have finished making all of your modifications, close the EnableRAPI DOS window.
I'm not sure what this actually does, though, or why it works.
PeterDLai said:
I found this
Download EnableRAPI and extract all files from the zip archive.
Double click on EnableRAPI.bat and leave the DOS window it launches open
Open Folder Options and choose to "Show hidden files and folders" and de-select the "Hide protected operating system files" option.
On Windows XP, this would be done by launching Windows Explorer and clicking on Tools --> Folder Options and then the View tab.
On Windows Vista, this would be done by going to Folder Options from the Control Panel and then clicking on the View tab.
Connect your device to your PC using ActiveSync (Windows XP) or Windows Mobile Device Center (Windows Vista).
Browse the device's file system using the File Manager tool in ActiveSync or Windows Mobile Device Center.
When you have finished making all of your modifications, close the EnableRAPI DOS window.
I'm not sure what this actually does, though, or why it works.
Click to expand...
Click to collapse
I tried that, it doesn't work. I'm using a Blackjack II running WM6.1. Does anybody know why it doesn't work and how to copy files into the windows directory?
im2foolish4u37 said:
I tried that, it doesn't work. I'm using a Blackjack II running WM6.1. Does anybody know why it doesn't work and how to copy files into the windows directory?
Click to expand...
Click to collapse
You are posting in the wrong forums. However, your question is rather generic. I find it best to use either Resco Explorer or TotalCommander (as well as ActiveSync of course).
I have created a folder on my external sd card named Movies.
I use Moboplayer, and have pre-set it to only view that folder when opened. But, after viewing any of the files in the sd card folder, the folder and files are displayed in Gallery. How can I prevent that from happening?
Or, put another way, I want to store some video files on my external sd card
and want to be the only one who is able to view them?
create a file in that directory called .nomedia that will prevent it being scanned by Gallery
Thanks, I'll try that later today and report back.
gunnyman said:
create a file in that directory called .nomedia that will prevent it being scanned by Gallery
Click to expand...
Click to collapse
As a beginner with Android, I'm not sure I know how to do what you said to do.
Can you please tell me the easiest way to create that file? Thanks again.
Sure. Open an adb shell. Change to the directory you want the file in. Type "touch .nomedia "
Press enter
Sent from my Desire HD using XDA Premium App
As an Android beginner, I have no idea what or how to use and adb shell.
Does it require that the Tab be Rooted?
Can I use a file manager like Astro?
Can I open the folder on my win xp desktop and create the file om the sd card with windows explorer?
Sorry to be so dense here, but, I am trying to learn what to do.
jostarr said:
As an Android beginner, I have no idea what or how to use and adb shell.
Does it require that the Tab be Rooted?
Can I use a file manager like Astro?
Can I open the folder on my win xp desktop and create the file om the sd card with windows explorer?
Sorry to be so dense here, but, I am trying to learn what to do.
Click to expand...
Click to collapse
Get the free ES File Explorer from the store. You can do all the MS Windows-esque file management with that.
What is going to prevent someone else from launching Mobo and seeing the same files that you do?
I do have ES File Explorer installed, and didn't find a way to create a new file in that folder. Can you please suggest what to do when I get to the folder in question? Thanks.
As for your question about others using Mobo, is there a way to password protect a give app?
jostarr said:
I do have ES File Explorer installed, and didn't find a way to create a new file in that folder. Can you please suggest what to do when I get to the folder in question? Thanks.
As for your question about others using Mobo, is there a way to password protect a give app?
Click to expand...
Click to collapse
Ok, es 101: the key to finding everything is the menu button that spears on the dock in es. From there you can select new> folder.
android/linux 101: any file or folder named starting with a period is deemed "hidden". An example would be a folder called .media. Because the name behind with a period, it is now hidden. To show hidden file, go into es file explorer settings, and check "show hidden files"
...and if you don't want to play with renaming folders every time, try Hide It Pro from the market. You set a password that is required to open the app. It disguise itself as a fake audio manager. You just need to browse to the file you need to hide and select "share with audio manager". There's a really good guide inside the app when you install it but its rather simple Works great on Iconia.
https://market.android.com/details?id=com.smartanuj.hideitpro&feature=search_result
It also displays adds but its free and your hidden content is just a "click" away You can hide any file type compared to Photo Vault and Video Vault (they support only several file formats and they are paid apps)
Use a file manager such as astro, and change the format of the video to a format that doesn't exist by renaming it, for example: video.avi ----> video.uitpo, then the video won't be shown in gallery or anywhere else, and whenever you wanna view the video just change the format back to what it was.
gunnyman said:
create a file in that directory called .nomedia that will prevent it being scanned by Gallery
Click to expand...
Click to collapse
I have created a file in my directory named .nomedia
But, when the Acer is powered off and started up again, all the files in this directory show up in the Gallery again. That approach doesn't seem to work for me.