[APP][9/23/11] RunDroid-dual boot to (multi) Android [SD] or WM6 - HD2 Android SD Development

I've created an app for dual booting automatically to Android or WM6. V2.3.2 can boot multiple version of Android on a single SD card and can be customized for text content and language. See post #2 for documentation and screenshots.
The "lite" version is a replacement for using a file explorer to run CLRCAD then HaRET, allowing Android to be started with a single tap on an icon. To install the lite version, simply un-RAR the contents to your Android folder then use a file explorer to create a Start Menu shortcut.
Please leave feedback and suggestions/questions.
French translation:http://forum.xda-developers.com/showpost.php?p=13123392&postcount=151

Documentation and Screenshots
RunDroid app v2.3.2 for HTC HD2 by Pop45398 (@ XDA Developers)
This app can start Android on an SD card automatically on boot-up or with a single tap, thus allowing for an easy dual boot to Android or Windows Mobile, and should be compatible with all versions run with CLRCAD/HaRET. It features a setup menu which allows for user customization including setting the timeout before the default OS is started, thus allowing time to access the setup menu or select a non-default OS. It is actually a MortScript and corresponding MortRunner with a custom icon. It may work on other WM6 devices.
CHANGES:
Version 2.3.2 added a new subroutine to rename the Android folder back to its original name when “Enable Builds” is selected if RunDroid had renamed the folder to Android. This eliminates the folder being renamed to Android[1]. (Thanks to crazycranky!)
Version 2.3.1 features language/text customization. By editing RunDroid.ini with a text editor the user can now change all text for desired content and language (with exception of button text, i.e. Ok/Cancel, Yes/No). There is no longer a need to edit the script for non-English ROMs where the SD card is not called “Storage Card”, a directory tree will appear for the user to locate the SD card’s root.
Version 2.2.1 features some minor changes over v2.1.1. A StartUp shortcut is no longer used for auto-launching at boot-up, instead it is launched during the init process before StartUp programs, hence the elimination of creating and deleting shortcuts from the Setup Menu. A new option to Enable Sense has been added so that Sense can be easily re-enabled if somehow not properly re-enabled during script execution. A setup.dll is now used to run Install and Uninstall scripts.
Version 2.1.1 represents a major overhaul from version 1 and features the ability to boot to a basically unlimited number of Android builds and a guided setup that walks through the setup process on initial running. It will scan all folders in the SD card's root for Android builds, indicated by the presence of HaRET.exe. It asks whether to use each build then asks if it requires renaming the folder to Android in order to run (some builds don't require being in the Android folder). A .cab file is used for installation which is now in the RunDroid folder in the root of the device. The folder name is used for displaying the build's name in RunDroid, with one caveat: if there is more than one build and one of them is named Android, that folder will be renamed to Android[1] so that the selected build folder can be renamed to Android (which is renamed back to original when another build is selected), hence descriptive folder names should be used.
INSTALLATION:
Simply copy the .cab file to the SD card and run it with a file explorer to install. Version 2.3.1 MUST be installed to the device due to hard coded addresses required for auto-launching. This also eliminates the occasional possibility of the SD card not being initialized before RunDroid is started during boot-up. If during installation the SD card is not found by the default name “Storage Card” (usually due to a non-English ROM) a directory tree will appear for choosing the correct SD card root, not Android folder (see screenshots below for an example).
OPERATION:
Start RunDroid with the Start Menu icon. On initial running, a guided setup will walk through the settings. Menus are self-explanatory (see screenshots). Selection is done by double-tapping an entry or tapping once then tapping OK. Only the main (Boot Selection) menu is timed for auto-selecting. If auto-running at boot-up is NOT desired, select “Disable AutoStart” during initial setup or later from the Setup Menu. The Timeout Delay may be adjusted to suit the user and system (see ISSUES section below). Whenever another build is added or deleted, one is no longer desired to be run, or a folder name changed, Enable Builds must be selected from the setup menu which will once again walk through the setup of builds and default OS selection (but not other settings). Builds are displayed in alphabetical order and can only be rearranged by renaming folders, like by adding a number at the beginning of folder names.
ISSUES:
Startup programs, including HTC Sense and Notifications, etc, can briefly interfere with the ability to make selections, causing the default OS to be started before menu selections can be made. To combat this, if enabled and not already started, Sense is disabled then re-enabled on app exit. The Timeout can be adjusted to help with this. If the Timeout is set too low and selecting the Setup Menu or Boot to Windows is not possible, simply re-install the .cab. If unable to boot to Windows because Android starts before the menu appears, power off the device, remove the SD card, then power on the device; if not already at the menu, start RunDroid and go to the Setup Menu and adjust the Timeout to allow more time to access the menu, then power down and re-insert the SD card.
CUSTOMIZATION:
The user interface can be customized for text size, font type, language, and size of menu selection entries by editing RunDroid.ini with a (pure text) editor such as Notepad. Once RunDroid is installed, locate the .ini file in the RunDroid folder in the root of the device (not SD card) and open or copy to PC then open.
The following variables control the font and size of menu entries:
FontSize=23
EntryScale=1.3
FontType=Tahoma
Increase or decrease FontSize to make menu selection text larger or smaller. EntryScale controls the size of menu selections, larger size makes selections easier to make. The scale is in percentage of the font size, i.e. 1.3 equals 130% of the font size. To use a different FontType than Tahoma, the desired font must be installed on the device.
In addition to descriptive variable names, to make RunDroid.ini easier for editing text content and language certain conventions are used:
Variables containing “Sel” are for menu selection entries.
......WMsystemSel=Windows Mobile
Variables Containing “Hint” are for the text that appears in the upper portion. Note that “Setup Menu” is preceded by a period and several spaces. The spaces are to center the text; the period is required because leading spaces will otherwise be ignored and the text will begin on the left instead of centered.
......SetupMenuHint=. Setup Menu
Variables containing “Txt” are for messages and questions which pop-up in new windows.
......NoBuildsMessTxt=There were no Android builds using HaRET.exe found on this SD card.
Do not change the actual variable names, for example “TimeoutMessHint=”, only the text following the “=” sign as these names are hard coded into the script and the new text will not appear.
Editing prior to completing the initial setup is preferred. Once editing is complete, copy the modified file to \RunDroid, overwriting the original. A copy of the modified RunDroid.ini file should be saved somewhere besides \RunDroid because if RunDroid is reinstalled or a newer version installed the entire folder will be deleted along with the modified file. Once reinstalled, copy the modified file to \RunDroid before completing the initial setup.

Let me try.

Works Great!
Thanks

shadowburt said:
Works Great!
Thanks
Click to expand...
Click to collapse
78 downloads (and another dozen in another thread) and finally some feedback, was beginning to wonder if it only works for me. Am glad it works for you.
My original intent was just to make a script that runs CLRCAD then HaRET by simply tapping an icon on the Start Menu instead of using a file explorer to run them separately like the chefs all say. That is what the "lite" version does. I then remembered I had routines in other scripts I'd written a few years ago that could be used to spice it up.

Hi, I´m gonna try it i a minute - sounds goode - thank you!!!
pronor

Is there interest in RunDroid having the ability to select different Android builds from the same SD card? If enough interest I can do this but because most builds require being located in the Android folder a small .ini file will be required in each build folder so that folders can be renamed then renamed back when a different build is selected. Sorry, I can't edit the original post to make it a poll so you will have to post your interest in this mod.

Pop45398 said:
Is there interest in RunDroid having the ability to select different Android builds from the same SD card? If enough interest I can do this but because most builds require being located in the Android folder a small .ini file will be required in each build folder so that folders can be renamed then renamed back when a different build is selected. Sorry, I can't edit the original post to make it a poll so you will have to post your interest in this mod.
Click to expand...
Click to collapse
Hooo man i want this +1

Pop45398 said:
Is there interest in RunDroid having the ability to select different Android builds from the same SD card? If enough interest I can do this but because most builds require being located in the Android folder a small .ini file will be required in each build folder so that folders can be renamed then renamed back when a different build is selected. Sorry, I can't edit the original post to make it a poll so you will have to post your interest in this mod.
Click to expand...
Click to collapse
That would be awsome!!!

New version
yesucan said:
Hooo man i want this +1
Click to expand...
Click to collapse
palmbluetooth said:
That would be awsome!!!
Click to expand...
Click to collapse
I've PMd y'all a download link for v2.01. The new version represents a major overhaul from v1.02 and features the ability to boot to an unlimited number of Android builds and a guided setup that walks through the process on initial running. It will scan all folders in the SD card's root for Android builds, indicated by the presence of HaRET.exe, then ask whether to use that build, then ask if it requires renaming the folder to Android to run (some builds don't require being in the Android folder). A .cab file is used for installation which is now in the RunDroid folder (when installing, be sure to select Storage Card) . The folder name is used for displaying the build's name in RunDroid, with one caveat: if there is more than one build and one of them is named Android, that folder will be renamed to Android[1] so that the selected build folder can be renamed to Android (which is renamed back to original when another build is selected). Whenever another build is added/deleted, one no longer desired to run, or folder named changed (in this case the Droid.ini file in that folder should be deleted), Enable Builds must be selected from the setup menu which will once again walk through the initial setup of builds (but not other settings).
I've tried every combination I could think of and the folder renaming process seems to work fine. Please post if you find any issues.
PS> Order of build appearance is by alphabetical order and can only be rearranged by renaming folders, for example by placing a number at the beginning of the folder name; however, more than 1-9 will screw that up because 10 will appear before 2, etc.

Pop45398 said:
I've PMd y'all a download link for v2.01. The new version represents a major overhaul from v1.02 and features the ability to boot to an unlimited number of Android builds and a guided setup that walks through the process on initial running. It will scan all folders in the SD card's root for Android builds, indicated by the presence of HaRET.exe, then ask whether to use that build, then ask if it requires renaming the folder to Android to run (some builds don't require being in the Android folder). A .cab file is used for installation which is now in the RunDroid folder (when installing, be sure to select Storage Card) . The folder name is used for displaying the build's name in RunDroid, with one caveat: if there is more than one build and one of them is named Android, that folder will be renamed to Android[1] so that the selected build folder can be renamed to Android (which is renamed back to original when another build is selected). Whenever another build is added/deleted, one no longer desired to run, or folder named changed (in this case the Droid.ini file in that folder should be deleted), Enable Builds must be selected from the setup menu which will once again walk through the initial setup of builds (but not other settings).
I've tried every combination I could think of and the folder renaming process seems to work fine. Please post if you find any issues.
PS> Order of build appearance is by alphabetical order and can only be rearranged by renaming folders, for example by placing a number at the beginning of the folder name; however, more than 1-9 will screw that up because 10 will appear before 2, etc.
Click to expand...
Click to collapse
Thanks man . will try it out ..

Hello,
Is it possible to have the link to download the latest release?
Thank you

tristano said:
Hello,
Is it possible to have the link to download the latest release?
Thank you
Click to expand...
Click to collapse
Sent you a PM.

Thank you.
Downloading.
Gonna try it

Pop45398 said:
Sent you a PM.
Click to expand...
Click to collapse
Can you please post the download link for v2.01? Thanks.

would like to try it out mate....
thanks

Could I have the link also pls ) to the latest version
Thanks)

I got problem when i install the 2.0.1 version follow the instruction . After doing set up press yes to all folder but i don't see the Android folder in the main screen only window . Reinstall delete RUNDROID folder still the some . thanks.

yesucan said:
I got problem when i install the 2.0.1 version follow the instruction . After doing set up press yes to all folder but i don't see the Android folder in the main screen only window . Reinstall delete RUNDROID folder still the some . thanks.
Click to expand...
Click to collapse
After install was there a RunDroid folder in the root of your SD card? When running the .cab file you must select to install to Storage Card, not to the Device which is the default when installing cabs. It's best if you don't have an Android folder to start with. Each build should have a meaningful name which will be renamed to Android if required, however the original name will appear in the menu, not Android. I found a problem when reinstalling because of the Droid.ini files that were created on the first install but don't think that is your problem. I have now fixed v2.02 to delete all Droid.ini files whenever a setup of builds is done, whether on initial setup or when Enable builds is selected from the setup menu. Sent PM with new link.

Pop45398 said:
After install was there a RunDroid folder in the root of your SD card? When running the .cab file you must select to install to Storage Card, not to the Device which is the default when installing cabs. It's best if you don't have an Android folder to start with. Each build should have a meaningful name which will be renamed to Android if required, however the original name will appear in the menu, not Android. I found a problem when reinstalling because of the Droid.ini files that were created on the first install but don't think that is your problem. I have now fixed v2.02 to delete all Droid.ini files whenever a setup of builds is done, whether on initial setup or when Enable builds is selected from the setup menu. Sent PM with new link.
Click to expand...
Click to collapse
Thanks man ,will try out now .And give feedback . Will hit the thanks button tomorrow. Finish used already .
Edit: It works ! thanks .

Related

Adding Apps to the OEM folder

Okay trying to cook my first ROM, but I have some apps that I always seem to need to install after I change my ROM. How can I add these to my ROM?
The programs are Remote Desktop (Finster's CAB file), BackGammon (exe taken from another PDA), Logmein (CAB file), Advanced Config 3.3 (and NetFrame 3.5), plus some other games I have gathered over the years.
Can anyone assist? I have looked at the OEM directories from OEM 5.5, but there are no CAB files and the other files I can't see how to create.
Anyway - any assistance for a total noob would be appreciated.
DT
From the Nike kitchen, tools>package creator. Copy your cab there, and then run package creator and select the cab. A full package will be created for you to add to your OEM folder.
THanks for that, what about the exe files that just need to be placed in a folder and a shortcut created - eg the backgammon game from the other PDA?
Also - just checking - I open the can and then extract it to create the package?
Thanks
DT
d_train said:
THanks for that, what about the exe files that just need to be placed in a folder and a shortcut created - eg the backgammon game from the other PDA?
Click to expand...
Click to collapse
Probably easier to do one manually or modify another package to suit. If you look in a package:
1) option.xml gives the tickbox for you to include or exclude in cooked ROM.
2) ****.dsm is a 'time stamp' of order of processing of the package.
3) ****.rgu are registry entries that you can change to configure the program.
4) initflash.txt gives the location for files to be copied to - directories, links, folders etc.
5) ****.provxml is an alternative to using .dsm and .rgu.
Also - just checking - I open the can and then extract it to create the package?
Click to expand...
Click to collapse
Just click on open cab, select the cab, and wait for the okay. The package is ready for use.
Thanks for the info - tried the manual way copying some of the info from other packages. I get an error - "Error building default.hv and user.hv!" when I try the first step in creating the ROM. Without the backgammon program selected this step goes fine.
Here is the info I used...
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="Backgammon" group="Programs" checked="true">
<Tip></Tip>
<Guid type="p">f70211a0-0b0a-11de-8c30-0800200c9a66</Guid>
</Item>
</Items>
and...
;-------------------------------------------------------------------------------------------
;Package: BackGammon
Directory("\Program Files\"):-Directory("Games")
Directory("\Program Files\Games"):-Directory("Backgammon")
Directory("\Program Files\Games\Backgammon"):-File("pGammon.exe","\Windows\pGammon.exe")
Directory("\Windows\Start Menu\Games"):-File("Backgammon.lnk","\Windows\Backgammon.lnk")
;END Package: BackGammon
;-------------------------------------------------------------------------------------------
I have two files - f70211a0-0b0a-11de-8c30-0800200c9a66.dsm and f70211a0-0b0a-11de-8c30-0800200c9a66.rgu which are empty. then I have the shortcut and exe file.
I also tried adding REGEDIT4 to the f70211a0-0b0a-11de-8c30-0800200c9a66.rgu file
Am I missing something?
Thanks
DT
Okay removed the rgu file for that app and have successfully built my first ROM - yippee!!!
The only things I noticed and am not sure if it what I have done or a bug, but the phone doesn't switch off. Hold the button and it pops up asking yes or no (as usual) click yes and the phone goes blank. but switching it on again instantly brings you back to the page you were on, it doesn't start from scratch.
Also the Manilla 2D is great, but the email widget doesn't recognise my Exchange email - it wants to create an imap or pop3 account, but says "No Accounts" in the display (even though it shows the unread amount on the icon) - did I do something wrong?
Thanks
D
Sorry double post
Thanks
D
d_train said:
Okay removed the rgu file for that app and have successfully built my first ROM - yippee!!!
Click to expand...
Click to collapse
Congratulations.
The only things I noticed and am not sure if it what I have done or a bug, but the phone doesn't switch off. Hold the button and it pops up asking yes or no (as usual) click yes and the phone goes blank. but switching it on again instantly brings you back to the page you were on, it doesn't start from scratch.
Click to expand...
Click to collapse
Sounds like bug. Which XIP/SYS/OEM combination did you use? Left any packages out? Have a look at others who have built a similar ROM using the combination and check the thread out for bug reports.
thanks will do
The XIP/SYS/ROM I used is - not sure the XIP but I downloaded SYS and ROM version 21109 and used OEM 5.5
How can I extract OEM and SYS from an nbh file?
I have an original ROM installation file that I want to extract some apps for my ROM.
Thanks for your help.
D
I use an old Kaiser kitchen (the first we had, by NetrunnerAT if I remember...) which had tools that can extract automatically NBHs.
But with the newest cooked ROMs, you won't have any "real" OEM or SYS packages since they are protected deleting some files you need to make different folders. You can get the XIP and maybe some individual files but nothing really interesting...

[APP] Link2Cpl for WM 6.5 - Create shortcuts to Control Panel items

Here is a simple app I wrote to create shortcuts to items inside the Control Panel.
On Windows 6.1 it was quite easy to create link to items such as "Remove Programs" or "Connections", it was a matter of finding the correct command line that launch the cpl applet and use the same icon. (e.g: "#ctlpnl.exe cplmain.cpl,23?\Windows\shell.dll,13")
On Windows 6.5, Microsoft has decided to use PNG for icons, which makes the job a little bit more complicate.
While you can create the link in the same way, to get a picture you have to convert the PNG file into an ICO file and move it into some binary as a resource file (exe or dll)
This tool allows you to create links to items inside the "Settings" keeping the original icon, so you can use them as QuickLinks.
What it does is pick the PNG associated with a particular item, converted it to ICO (64x64-8bit) and create a small executable to hold the picture.
The executable also contains the command line so you can launch the specific Settings item running the exe.
I wrote it for my HD2, but it should work on any other device with WM 6.5 (at least it does with the emulator)
Reqs:
The main binary (link2cpl.exe) needs .NET CF 3.5 to run.
The exe it creates are stand alone binaries, so you can use create the files once, and remove the tool.
Any feedback welcome (if is good of course 8)
Couple of screenshots to give you an idea:
good idea. I wonder: how do you create .exe files?
it works good, except backlight doesn't work and it seems that some parts are targetting wwe-Roms.
Great work!
Micha
Thanks for testing 8)
What I did was to create a "generic" exe in c++, with an icon of the size size (64x64 8-bit) inside and enough space for a big command line.
Then, the application loads whatever PNG associated with the settings entry and convert it to ICO format (which was a little tricky because .NET CF does not have any direct conversion, so I have to write the ICON manually (header,bits and mask).
After the ICON is created (in memory) I put it inside the .EXE file.
First it writes the first part of the .EXE, then replace the command line with the one from the registry for that particular item, and finally writes the ICON as a resource.
I found that some of the entries in the registry are not been display (I'm running an Energy Rom in my HD2, and I see more items in my list than the ones that appear in the "Settings" menu. for example, the "Beam" item.
I guess those are the ones that don't do anything at all.
If you choose to not create an exe file, the link (.LNK) it generates contains the command line (e.g: cntlpnl.exe cplmain.cpl,23) which can be used to see if it does something or not.
The main reason I create it, is beacuse I wanted to have an direct link to the "Usb2PC" so I can disable the ActiveStorage while connected with just one click. I guess I'm a lazy b*st*rd 8)
Thanks. Work great for TP2
dubidu said:
What I did was to create a "generic" exe in c++, with an icon of the size size (64x64 8-bit) inside and enough space for a big command line..................
The main reason I create it, is beacuse I wanted to have an direct link to the "Usb2PC" so I can disable the ActiveStorage while connected with just one click. I guess I'm a lazy b*st*rd 8)
Click to expand...
Click to collapse
Thank you. It worked great for my TP2 with Energy ROM. I always use quickmenu (now compact menu in NRG ROMs) for which I had created the shortcuts for all the setting menu items without any icons. Now that I have all the exe with original icons, it will stay in my UC folder and I can use it anywhere as you did. Thank you again.
Glad that it works, I only tested on my HD2 and with the VM emulators.
There are a couple of apps out there that allow you to create links, but don't work on WM6.5 due the "new" png files.
As far as I know, the only way to provide a image for a link file is if it embedded as an ICO inside a library (or exe). You can get the link easily, but not the original image, that's why I wrote this one, so it's easy to obtain icons from PNGs files 8)
8)
Just notice that backlight settings lnk does not work for me.
Did you test it?
Just notice that backlight settings lnk does not work for me.
Did you test it?
Ummm...
I'm using Energy rom in my HD2, and I don't have a BackLight icon in my 'settings', but it's possible that other roms got it.
The tool goes through the registry and gets all the entries corresponding to CPL items.
The key is 'KLM\Security\Shell\StartInfo\Start'
The links and exes are created using the information from the regsitry, so depends on the version of WM (vaniala, rom, etc).
for example, you may have:
KLM\Security\Shell\StartInfo\Start\cplmain.cpl,13 (use for the Today icon)
Icon=\Windows\Start_Icon_today.png
This tool takes all the entries, puts the .png into a .exe (converting it an icon), and creates a link pointing to the created exe.
If executing 'cntlpnl.exe cplmain.cpl,13' doesn't bring the Today settings, it's something outside the link it self.
I notice there are some items with a 'Redirect' key.
Inside 'KLM\ControlPanel\BackLight' key I can see a String key 'Redirect' with the value: 'BackLight.exe' so I guess the control panel will automatically execute that binary rather than load a control panel library (cpl) as it does for the rest of items.
If that's the case, you can just create the lnk to that exe which will also give you the icon, the idea of the Link2CPL was to access the .cpl items directly, and to have the proper icon which since WM 6.5 is not as easy as it looks 8)
Yes I see that in registry too but cannot find backlight.exe to create a shortcut. I actually don't know what does Redirect mean.
Anyway, very good job Dubidu!
Quack2 said:
Yes I see that in registry too but cannot find backlight.exe to create a shortcut. I actually don't know what does Redirect mean.
Anyway, very good job Dubidu!
Click to expand...
Click to collapse
Redirect means to run the exe instead of use the original/default.
I will check tomorrow in one of the emulators, my HD2 doesn't have a BackLigth in the settings, so that entry is not there.
You can create 'manual' links with the notepad, or with something like totalcommander, so if you can find the exe that does the backligth.exe on your WM, should be easy.
I will keep you posted 8)
I don't access to backlight directly from settings but using power settings. I had just tried to create a shortcut from the backlight item shown in the list displayed in your app.
Older phones have backlight settings as a separate item in the control panel, but newer ones have it as a tab in power settings.
If the backlight settings you want to access is the one in the first attached picture (tab in power settings), that it's a external executable.
On my HD2 (Energy), the name of the exe is powerexe.exe in the \windows directory.
there are a couple of links (power.lnk and power settings.lnk) to that exe.
unfortunately, the exe does not bring you directly to the 'backlight' option, it shows both battery and backlight (second capture)
btw, today one friend at work asked me for a simple app to enable and disable the
"dim backlight if devide is not used for:" checkbox, with a just one click.
Maybe that's was the reason why you wanted a link to that backlight settings.
attached is the simple program which does that, check/uncheck that option.
Is it possible to make additional tab to put own path to application and path to .png file? Because sometimes it is necessary to link executable without icon with png, or ico file. It will be very useful function. Thank you in advance.
hi,
I can add that option, shouldn't take too long, but the icon will not be "inserted" in the original exe, that would require lot of work to rebuild/recreate the resource section inside the executable.
The icon (png converted to icon) would be put inside a separate exe or a dll.
the new generated exe would contain the command line to execute the original exe, and the png icon, so when you create a link to that one, it will automatically pick the embedded image.
Would that help?
Yes, it is the same that I mean. To link together exe without icon and png or ico files. Because if you put icons in dll file you must sign it. For exe it is more convinient.
check this out.
Png2Exe 8)
I will try to change the FileDialog and use something different because the default .NET ones are rubbish 8)
Thank you! It is the same that I mean. File dialogue really bad, it is impossible to find exe everywhere. If it possible to meke normal one it will be really great program.

Firefox download folder location

I can't seem to locate the directory folder that the new firefox app downloads to. anyone?
Nevermind, it goes right to the sdcard, no folder. I didn't see the files because the downloads failed...
can't seem to get the download folder to change.
I went into:
about:config
created a new string: browser.download.dir
set the value to: /mnt/extSdCard/Downloads/
Restarted Firefox
But still the downloads go into the sdcard/downloads
I've also tried:
/extSdCard/Downloads/
/sdcard/
/extSdCard/
/mnt/sdcard
none of these have any effect.
Any ideas?
Bump:beer:
Sent from my SGH-I747M using Tapatalk 2
Im also looking for changing my dl directory. It have work once for me when modifying the "browser.download.folderList" after creating the browser.download.dir string. But after reboot of firefox the next dl will go back again to the sdcard.
Wonder if anyone else could tell how to do it
creating a new string is a good step for changing your dl directory. But you should also add this step to make it work.
Modify the value of "browser.download.folderList" from 1 to 2
Thats it!!
Click to expand...
Click to collapse
When editing your old posts, try not to delete the original information that could have been useful to others.
People won't have known what value to put into the string.
Sent from my SGH-I747M using Tapatalk 2
I hate managing folders so now I use directory bind which allows me to bind two folders together. Basically you create another downloads folder on your external sd card and use directory bind to "bind" them. Checkbox to transfer contents and your downloads (source) folder will be dumped into the empty folder you've created automatically (destination must be empty when checking the box). When altering files in either downloads folder, the changes appear in both. When you look at storage, the original source folder is not calculated into your used internal storage amount even though every other app sees files in there (since that would defeat the purpose). I use it for my downloads, camera and several apps and game folders not designed to be pushed to SD. Instead of continuously resetting app download destinations, I sit back and relax knowing every app downloads to the proper place (minus the rogues who think they deserve their own folder lol). When flashing a new ROM, simply unbind everything first and disable autostart, backup with titanium backup, after restore, you should be good (depending on your new version of android in which case you may need to adjust some settings). If setting up from scratch again, assuming your working folder structure is still in tact, you can bind again without ticking the box (since the files are in their proper place and a transfer is no longer necessary).
You can get it here, it looks like it hasn't been updated in a while, but I've tested it from Android 4.0 through 4.2.2 and it's perfect (settings adjustments will likely be required): http://forum.xda-developers.com/showthread.php?t=1410262
Hi everyone, was a solution found to that still issue? I tried to move the default download folder to the ext SD card with settings into about:config, I changed as well the "browser.download.folderList" value to 2 and add a "browser.download.defaultFolder" string, but everything failed, please does someone know what to do? Or is there another setting menu or mod/Exposed module to achieve this..?
Thanks in advance for the help!
May I Taste said:
Hi everyone, was a solution found to that still issue? I tried to move the default download folder to the ext SD card with settings into about:config, I changed as well the "browser.download.folderList" value to 2 and add a "browser.download.defaultFolder" string, but everything failed, please does someone know what to do? Or is there another setting menu or mod/Exposed module to achieve this..?
Thanks in advance for the help!
Click to expand...
Click to collapse
Use this config (I am assuming you're on 4.4 and have used SDFixer)
SeraphSephiroth said:
Use this config (I am assuming you're on 4.4 and have used SDFixer)
Click to expand...
Click to collapse
Hi, thanks for your help, but it still don't work for me. What I don't understand is that the path can be whether
/storage/sdcard1/Download
or
/ext_card/Download
Maybe you know why? I'm running CM11 nightlies (4.4.4) on Xperia Z2
May I Taste said:
Hi, thanks for your help, but it still don't work for me. What I don't understand is that the path can be whether
/storage/sdcard1/Download
or
/ext_card/Download
Maybe you know why? I'm running CM11 nightlies (4.4.4) on Xperia Z2
Click to expand...
Click to collapse
With a r/w sd? Use a root explorer to find the path to the r/w sd
I'm very busy and sorry not to say anything for long but thank you much for your answer and help.
My path is correctly pointing the SD, I checked carefully the settings and got no success. Then suddenly Firefox began to write on ext sd, but still this is only sometimes! I tried to see if the files type or size had something to do with that behavior but it seems to be just erratic..
It actually seems that it's the "Flash Video Downloader" module who sends files into the internal storage regardless of the browser settings..

[Tool][28-11-2011] (Rom)Archive Compare and Edit v2.1

About:
This tool is meant to easily compare the contents of two rom archives and allow easy manipulation by copying files from one rom to another and removing files from a rom archive. The idea is to specify two rom archives which have the same structure, usually something like the following:
[data]
[META-INF]
[sdcard]
[system]
flash_image
modem.bin
zImage
I made it because I would like to know which files/apks might have been removed from one rom compared to another, which isn't always clear from the descriptions. But then thought other people might find it usefull as well, so here it is
It's written in java, just extract the zip and run through run.bat (windows only) or the .jar file.
Update, version 2 added
Ok, I tested it today and seems to work fine... Was able to reflash a rom modded with this tool (file from another rom added, other files removed).
For now it just allows transferring of files between roms and removal of files from a rom archive.
How it works:
1. Load the rom-archives (zip only) using the browse buttons. If one file is selected all contents are simply listed, in case 2 files are supported only the extra files per rom are listed.
You can filter on .apk/.odex files only by using the checkbox and pressing 'Scan'.
2. By using the 'Copy >>' and '<< Copy' buttons you can copy files between roms, these entries will be colored GREEN in the respective table views.
3. By using the 'Remove files' buttons you can remove files from the roms, these entries will be colored RED in the respective table views.
4. Save the rom by pressing the proper 'Save Changes' button and specifying the name of the .zip it has to be saved to.
A progressbar will show the progress and you'll get a message telling you when it's done. It's not the fastest but it does the job. The resulting zip can then be flashed through clockworkmod (at least the one I tested it with could ).
THere are prolly some bugs when you move files back and forth and delete files in between and adding them again, etc... I just tested it with moving a few files from one rom to another and deleting a few form the target rom. This worked fine, but please let me know about bugs and issues.
Update, version 2.1 added
Allrighty, I included the data from the spreadsheet found here:
http://forum.xda-developers.com/showthread.php?t=1069924
To display information about the selected apk's in the table. This gives you a quick overview about what an apk does and whether or not you can and want to remove it. It's displayed in a little text area below the table.
I also changed it so that by default one 'view' is shown, once a first archive is selected the option to select a second one is enabled by displaying the proper buttons. Only after a second file is specified the complete view is shown (two tables, etc).
That's it again for now
Use it at your onwn risk!
Thanks this is very helpful tool.
Would love to see this further developed...two thumbs up!
Sent from my GT-I9100 using Tapatalk
Subscrived to this topic in a hope to see development on it
Sent from my GT-I9100 using xda premium
Woooww, this tool is awesome, how about adding feature like u can copy one or more file from one archive to another one so we can not only remove but also add
I hope u will improve this app further in the future!
Sent from my GT-I9100 using Tapatalk
Thanks for the comments people, good idea about moving apk's to one and another as well indeed To be continued (and always open for suggestions!)
Also updated main post, but...
I rewrote it to allow removal of files and copying of files between two rom packages, I haven't been able to test it myself yet (finished it just now and really need to catch some sleep) but will try to do so tomorrow... However, if anyone else wants to give it a shot as well please let me know and I'll send it (tomorrow evening or monday prolly). I will not put it up before it has been tested and it is about 2:30am here so time to go to sleep. If I get a chance to test and upload tomorrow I'll do so...
Will try to check this topic tomorrow again but can't promise... Busy day.
Clever tool. Will definitely watch this develop
Gr8 work pal. Please continue your development. Is really a handy tool.
Updated 1st post with new version and some instuctions/clarifications
wow. missing that tool.
And another update, added ifnormation display about the apk's using the spreadsheet from this source:
http://forum.xda-developers.com/showthread.php?t=1069924
and changed the UI a bit to make it a bit simpler...
ps. Thinking about adding a feature where you can add seperate apk's/files... Would have to think about how to add that without rewriting too much.

[HOW TO]Adding and changing sounds on boot animations

Intro:
Another boot animation fix comin at ya. A TON of people want to know how to add and change sounds on custom boot animations on the Droid X2 and like all of them I could not find enough info on the world wide web that I could send a link to them to help out. SO after a little bit of messing around and some help from WugFresh I have the answer.
The apps:
First you will need a couple apps. You will need absolute system, root explorer and file converter. You can get them from the android market, just do a search for them. They're not free but if you know anything about root you probably already have root explorer and maybe even absolute system, but you will need file converter by ice cold apps.
The programs:
Again if you know anything or a decent amount about root you probably already have these programs but if not then download them. You will need 7Zip (preferably 7Zip) because as far as I know it is one of the only if not the only program that can zip files correctly WITHOUT compression which is mandatory because if there is any compression applied to the bootanimatiom.zip file OT WILL NOT WORK! You will also need either GVIM or Editor++ in order to properly edit the desc.txt file in the bootanimation.zip which we all know is what makes the boot animation work and if that is not configured correctly then, well, you're gonna be throwing things.
The method:
1.
Find the boot animation you want and download it using absolute system or from whatever source, whether it be from a forum thread or whatever. If you download it from a source other than absolute system you have to make sure before applying it you have to place it on the root of your sd card and make sure it is not named bootanimation.zip if there are other boot animations on your sd card because if they are named the same, obviously, they will overwrite eachother so name them however you want.
2.
Find the sound you want to use, it can be any sound file as long as it's short enough (or not) to play completely on boot. Download it, place it in your sd card and open the file converter app. Use file converter to find the file and once you've found and selected it select to convert it to .ogg. It MUST be converted to .ogg or it WILL NOT work. Once it is converted find the converted version ("sound".ogg or "whatever you named it".ogg) and use root explorer to move it to /sytem/media and leave it there for now.
3.
Plug your phone in to your computer, make sure USB debugging is enabled, and put your phone into USB mass storage mode once your phone is connected. Open up the files from your sd card on your computer and find the boot animation .zip you are going to change and move it to your computer. Next open up 7Zip and find the boot animation .zip file you just moved. Select the file and extract it to wherever you want to on your computer. Once you have extracted the .zip files with 7Zip go to the extracted files on your computer.
Note: (This next part will save the edited version as the orginal version so if you want to make a backup before you edit it just rename however you want or copy it into a separate folder named desc backup.)
4.
Right click on the extracted desc.txt file from the boot animation amd right click on it. Once you right click you will see an option that says either "edit with Editor++" or "edit with VIM" depending on which program you decided on (I prefer Editor++). Select the option and it will open up the desc.txt in your editor of choice. There may be a lost of guidelines in the desc.txt file for editing parts of the desc.txt but this is usually only in stock boot animations. Decide where you want the sound file to play and comment in the sound file you want to use by adding a line under the part you choose it to play at by typing "s 'sound'.ogg" DO NOT type what I wrote verbatim, the name 'sound' is just to give an example. Here is an example of a desc.txt file that has been edited to have sound:
(The red part is the sound line)
# 540 wide, 960 tall 10 frames per second
540 960 10
# p means we're defining a part
# first number is repeat count, 0 means infinite
# second number is delay in frames before performing the next part
# so if you are playing 15 frames a second 15 would be... one second
# string defines the directory to load files from
# files will be loaded in order but names don't matter
# s defines a sound for a part
# sounds will be loaded from /system/media
# oggs with loop points will loop automatically
# only one sound will play at a time
# timing is driven by the part, not the sounds
# if you want no sound, leave blank
# droid
p 1 0 01_droid
s Fusion.ogg
# fusion
p 1 0 02_fusion
# mobility
p 1 0 03_mobility
# loop
p 0 0 04_loop[/SIZE]
Click to expand...
Click to collapse
Notice the name of the sound in the desc.txt file is the same as the one I want to use. I hate to sound like I'm trying to make you feel stupid, which I am most definitely not, I just want to make sure this is detailed enough for anyone to follow.
4. Continued:
Once you have commented in the sound line, and you can add as many as you want just make sure you read the guidelines in the example desc.txt file above, save the file and exit your editor.
5. Open 7Zip and find the extracted boot animation files again with the edited desc.txt file. Make sure that the only files showing up in 7Zip are the boot animation files you extracted including the original desc.txt file that was edited and only that edited one, not the backup if you made one. In the menu bar on the 7Zip program click on "edit" and click on "select all" in the drop down menu that pops up. Next click "file" in the menu bar, move your cursor to the 7Zip option and when the drop down menu pops up click on "add to archive..." Then when the window pops up just change the name to whatever you want, select "zip" in the Archive format drop down menu, select "store" in the compression level drop down menu (you must select store or the boot animation .zip file you are creating will be compressed and as I mentioned above it won't work with compression) and then click "OK" to create the .zip file. Once it is created go ahead and move it onto the root of your sd card.
6. Unplug your phone from your computer and once the sd card is mounted open up absolute system. Go to boot animations and press menu and selct "boot animation editor." Press menu again and select "import from sd card." Find the boot animation you edited and slect it. Pres menu once it brings up the window with all the .png images and select "import" and when the window pops up prompting you to name the bootanimatiom just name it however you want and select "import." In order for the boot animation you edited to show up in your list of downloaded boot animations in absolute system you must first close absolute system and reopen it, go into boot animation editor again and it should be there. Select your edited boot animation and when it opens up the window with all the .png images press menu and select "desc.txt editor" which will open up the desc.txt file in absolute systems own editor. Scroll down untill you see the "s" line you commented in and press on it, this will open up a small window prompting you to choose the file from either /data/local or /system/media. Selct to choos from /system/media and there will be a list of .ogg files to choose from (if there are more than one you put in there). Select which one you want to play for that line. This is just to make sure the bootanimation.zip is using the right .ogg file and so your phone knows where to play it from on boot. You can change these if you want but you cannot comment lines in or out using absolute system. Once you have finished making changes or confirming the sound files press menu and select "save changes." Once it's done saving the changes press back.
NOTE: THIS NEXT PART IS VERY IMPORTANT AND MUST BE DONE EXACTLY AS I HAVE WRITTEN, IN THE EXACT SAME SEQUENCE I AM GIVING YOU.
7.Sorry for yelling hehe. Once absolute system is done saving the desc.txt file and you have pressed back to re-enter the .png images window in absolute system press home and open up root explorer. In root explorer go to /system/media where you placed your .ogg files and move them again into /system/media/audio/notifications and press home key again. Open absolute system and install the boot animation to /data/local by selecting change install location and selecting "/data/local" and reboot your phone. If the sound does not play, which it should, install the boot animation in BOTH /data/local AND /system/media using absolute system.
You should now have sound along with your boot animation. I hope you all have fun adding crazy sounds to your boot animations. The thanks button is always happy when you press it!
Awesome. The sound always gives me a hard time. Good job on this.
Sent from my DROID X2 using xda premium
Nice tutorial!
Sent from my Droid BionicX2 using my XDA App.
Thanks I was surprised and a little aggravated that there is no other instructional thread for this.
Sent from my DROID X2 using XDA Premium App
Thanks
Good Job on this tut. Im sure it will help others. You have my thanks, others should do the same.
Thanks a bunch I really appreciate it
SBF'd from my tasty X2 MAXX
Did all the steps to the t and still no sound
Sent from my SGH-T839 using xda premium
Thanks for sharing really usefull info
Hello..... Is this method still valid? Does it work with Android 4.0.4?
Kind regards.
will this method work on the Galaxy S4 SGH-M919?
i only want to change the sound,
i already changed the boot animation.
Great thread!!
But,will this work on a Nexus5?
Code:
640 400 30
c 1 30 part0
c 1 0 part1
c 0 0 part2
c 1 30 part3
c 1 0 part4
c 1 0 part5
My desc.txt file is shown like this!!
Where should i add the file name?? What if i insert my .gg file name at the last?
Does this method work for Huawei phones? Someone led me to this post. If so, sound isn't working for me. After every boot the 's name. ogg' tag gets removed. 'Boot animation' is 25 seconds and 'boot sound' is 19 seconds.
I want to play one bootsound throught the entire Bootanimation, please tell me how to do it. I have one sound that i want to play in 11 parts.
Thank you
Pls give me a link for absolute system.Cant find a place to download it?
adarshm4you said:
Pls give me a link for absolute system.Cant find a place to download it?
Click to expand...
Click to collapse
The directories being listed are referring to SYSTEM directories (hidden from user-land view). Your phone must be rooted (root access) first. I'd suggest you use a 'root file browser' afterwards.
The "Root Browser" application (unsure if its listed on Google Play at this time) is an excellent one to use. Simple and fast interface. Minor annoyance with banner ads (free copy).
Hope that helps you (albeit a late reply). These forums are a gold mine of information!
In reference to the OP:
Infantry667 said:
6. Unplug your phone from your computer and once the sd card is mounted open up absolute system. Go to boot animations and press menu and selct "boot animation editor."
Click to expand...
Click to collapse
It sounds as if you're referring to an application (I will Google it after this post) named "absolute system." It piqued my curiosity. You should be able to use adb strictly to push/pull all files onto the Android phone. I understand this thread was made in 2011. I can only assume times were different back then.
However: Why would you need or be required to place the "bootanimation.zip" (stored) and "XXX.ogg" into both the ./system/media and ./data/local directories? Does Android (for some unknown reason) pull two copies for security verification (stab in the dark)?
On this rooted LG K7 (Android 5.1.1): The ./system/media directory appears to be full of all related boot animation data and the latter is void of life; To reiterate: I understand this thread was from 2011 and the Android version was more than likely significantly lower.
If anyone could shine some light on this subject: I'd heavily appreciate it. I'm attempting to add in sound (a converted *.wav into *.ogg file) to the boot animation (no loop; Simply play it once).
Thank you, future poster.
ObliviousEnigma,
At this point, adding bootanimation zip to data/local will no longer be recognized by android 5.0+. Just /System/media.
Also, considering if you want to add sound to it, I noticed that you have an LG phone. It should be easier for you to change it if you are on a stock ROM. you must go into the directory /system/media/audio/ui. And inside you should find the file called PowerOn.ogg. That is what you want to replace if you want to have different sound along with your boot animation. My recommendation, make sure that the audio is atleast 7 seconds long. I tried to experiment past it and it didn't work for me no matter what phone I used.
For others who are still using the droid x2 but with a custom rom (other devices work too), First off, your best bet is to extract the bootanimation zip first. Secondly, if you want the sound to be played at the beginning, add the sound file to the part 0. Leave the sound file the way it is instead of converting it to .ogg, but make sure to rename it to audio.wav. There are 3 things to keep in mind before moving on:
1) the desc.txt is not required to change.
2) it seems that only a 7 second audio can be played. Any others more than 7 seconds will not play.
3) if there are other existing audio wav files inside any folder of the bootanimation (except the one you placed at), delete it.
Thirdly, once you are finished, rezip the file without compression, whatever app that you use to do it (I use the RAR app by Rarlabs). Fourth, drag the bootanimation.zip back into /System/media. If permissions need to be set, make it rwxr-r-. Lastly, reboot your phone to watch the magic happen!
How to add sound in bootanimation now

Categories

Resources