王牌机师携带版金手指:Darktremor 2.7.5.3 Beta 04 [HeroCDMA] (01/29/2011)
来源:百度文库 编辑:偶看新闻 时间:2024/04/29 08:37:55
This is Darktremor Apps2SD, a multipurpose program that primarily allows a user to execute applications created for the Android OS on their Secure Digital card (with the proper setup...more on that later). But, Darktremor Apps2SD is all about stability. The goal is to be able for all users of the Android OS to be able to take advantage of a method to run their applications from a secure digital card.
But just because the Darktremor Apps2SD is all about stability, doesn't mean it isn't packed with features:
- Move applications (both free and paid) to the Secure Digital card.
- Move Dalvik Cache to run either from your Secure Digital card or from your cache partition and clears the cache on demand.
- Boot Loop Protection: prevents the phone from boot looping in the event the SD card could not be mounted.
- Dalvik JIT for faster performance on Roms which support it.
- User selectable sizes for the Dalvik heap sizes, allowing a user to freely optimize their system.
- Activate a swap partition on your SD card and sets how often the swap partition is utilized.
- Automatically fixes configuration issues.
- Users can check the free space on their SD card and check the installation to make sure all is setup correctly.
- Runs ZipAlign on demand...this makes your programs load faster.
- Built in help system for easy reference of commands.
- All features can also be reversed without repartitioning your Secure Digital card.
- New logging features assists in troubleshooting issues.
- Commands to set the Low Memory Killer feature at boot time. Great for those people who are the "set it and forget it" type.
- And more...
Darktremor Apps2SD is not the same as Froyo Apps2SD. Froyo Apps2SD creates a secure folder on the FAT32 section of your SD card (this is the section that you see when you mount your phone to your computer) and stores the programs there. This is nice as you don't have to do anything special with the phone, but it isn't backwards compatible with older versions of Android (Cupcake, Donut, Eclair) and, because of the way Froyo works, older programs not designed for Froyo will automatically stay on your internal storage (unless you install a program that forces the move to your SD card).
Darktremor Apps2SD takes a different approach. Based on the original CyanogenMod works, Darktremor Apps2SD uses symbolic linking to force Android into moving your applications to the SD card. Because Android will not allow anything to be ran from the FAT32 partition on your SD card (and, in Froyo, it will only allow you to run programs from a special folder), Darktremor utilizes filesystems called EXT2, EXT3 and EXT4. Each one of these filesystems is native to Linux (the operating system running Android), which allows you to run programs from them (same as, say, a computer running Ubuntu). This method is completely compatible with all versions of Android, including Froyo. In fact, you can run both the Darktremor Apps2SD and Froyo Apps2SD at the same time.
Check out the list of Roms that either have Darktremor Apps2SD installed or are compatible with Darktremor Apps2SD. Click on the link labeled ROM List at the top of this message.
Darktremor Apps2SD Commands
# /system/bin/a2sd install/system/bin/a2sd install[ ] Launching Darktremor A2SD[*] Starting Darktremor Apps2SD version 2.7.5 preview[ ] Mounting /system as read-write[ ] Starting Apps2SD in install mode[ ] Checking SD Card.[ ] Searching for Mount Point...[!] Mount point found..no further action required.[ ] Checking for ext partition[*] Ext partition found and already mounted.[ ] Moving apps to SD card.cp: '/data/app/YouTube.apk' and '/system/sd/app/YouTube.apk' are the same filecp: '/data/app/br.com.fast4ward.sdcardspeedtester.zip' and '/system/sd/app/br.com.fast4ward.sdcardspeedtester.zip' are the same filecp: '/data/app/btm.game.ui.apk' and '/system/sd/app/btm.game.ui.apk' are the same filecp: '/data/app/com.adobe.reader.apk' and '/system/sd/app/com.adobe.reader.apk' are the same filecp: '/data/app/com.agilesoftresource.apk' and '/system/sd/app/com.agilesoftresource.apk' are the same filecp: '/data/app/com.alfray.timeriffic.apk' and '/system/sd/app/com.alfray.timeriffic.apk' are the same filecp: '/data/app/com.bigtincan.android.adfree.apk' and '/system/sd/app/com.bigtincan.android.adfree.apk' are the same filecp: '/data/app/com.bonfiremedia.android_ebay.apk' and '/system/sd/app/com.bonfiremedia.android_ebay.apk' are the same filecp: '/data/app/com.dozingcatsoftware.WireGoggles.apk' and '/system/sd/app/com.dozingcatsoftware.WireGoggles.apk' are the same filecp: '/data/app/com.facebook.katana.apk' and '/system/sd/app/com.facebook.katana.apk' are the same filecp: '/data/app/com.google.android.apps.maps.apk' and '/system/sd/app/com.google.android.apps.maps.apk' are the same filecp: '/data/app/com.google.android.apps.shopper.apk' and '/system/sd/app/com.google.android.apps.shopper.apk' are the same filecp: '/data/app/com.google.android.apps.translate.apk' and '/system/sd/app/com.google.android.apps.translate.apk' are the same filecp: '/data/app/com.google.android.apps.unveil.apk' and '/system/sd/app/com.google.android.apps.unveil.apk' are the same filecp: '/data/app/com.google.android.maps.mytracks.apk' and '/system/sd/app/com.google.android.maps.mytracks.apk' are the same filecp: '/data/app/com.google.android.stardroid.apk' and '/system/sd/app/com.google.android.stardroid.apk' are the same filecp: '/data/app/com.google.zxing.client.android.apk' and '/system/sd/app/com.google.zxing.client.android.apk' are the same filecp: '/data/app/com.handcent.nextsms.apk' and '/system/sd/app/com.handcent.nextsms.apk' are the same filecp: '/data/app/com.luke.uktvguide.apk' and '/system/sd/app/com.luke.uktvguide.apk' are the same filecp: '/data/app/com.magicwach.rdefense_free.apk' and '/system/sd/app/com.magicwach.rdefense_free.apk' are the same filecp: '/data/app/com.maplekeycompany.apps.shake.apk' and '/system/sd/app/com.maplekeycompany.apps.shake.apk' are the same filecp: '/data/app/com.mathpad.mobile.android.wt.unit.apk' and '/system/sd/app/com.mathpad.mobile.android.wt.unit.apk' are the same filecp: '/data/app/com.mattwach.trap2.apk' and '/system/sd/app/com.mattwach.trap2.apk' are the same filecp: '/data/app/com.mgillespie.AutosportsFREE.apk' and '/system/sd/app/com.mgillespie.AutosportsFREE.apk' are the same filecp: '/data/app/com.mgillespie.GamingNews.apk' and '/system/sd/app/com.mgillespie.GamingNews.apk' are the same filecp: '/data/app/com.mixzing.basic.apk' and '/system/sd/app/com.mixzing.basic.apk'are the same filecp: '/data/app/com.neoline.music.apk' and '/system/sd/app/com.neoline.music.apk'are the same filecp: '/data/app/com.newsrob.apk' and '/system/sd/app/com.newsrob.apk' are the same filecp: '/data/app/com.opera.mini.android.apk' and '/system/sd/app/com.opera.mini.android.apk' are the same filecp: '/data/app/com.pgmsoft.wifinder.apk' and '/system/sd/app/com.pgmsoft.wifinder.apk' are the same filecp: '/data/app/com.rechild.advancedtaskkiller.apk' and '/system/sd/app/com.rechild.advancedtaskkiller.apk' are the same filecp: '/data/app/com.rerware.android.MyBackupPro.apk' and '/system/sd/app/com.rerware.android.MyBackupPro.apk' are the same filecp: '/data/app/com.shazam.android.apk' and '/system/sd/app/com.shazam.android.apk' are the same filecp: '/data/app/com.socialnmobile.dictapps.notepad.color.note.apk' and '/system/sd/app/com.socialnmobile.dictapps.notepad.color.note.apk' are the same filecp: '/data/app/com.xe.android.apk' and '/system/sd/app/com.xe.android.apk' are the same filecp: '/data/app/de.android_telefonie.appmanager.apk' and '/system/sd/app/de.android_telefonie.appmanager.apk' are the same filecp: '/data/app/de.czesla.android.remote.apk' and '/system/sd/app/de.czesla.android.remote.apk' are the same filecp: '/data/app/net.flixster.android.apk' and '/system/sd/app/net.flixster.android.apk' are the same filecp: '/data/app/org.transdroid.apk' and '/system/sd/app/org.transdroid.apk' are the same filecp: '/data/app/uk.co.johnsto.android.beebplayer.apk' and '/system/sd/app/uk.co.johnsto.android.beebplayer.apk' are the same file[ ] Linking /data/app to /system/sd/app.[ ] Moving private apps to SD card.cp: '/data/app-private/br.com.fast4ward.sdcardspeedtester.apk' and '/system/sd/app-private/br.com.fast4ward.sdcardspeedtester.apk' are the same file[ ] Linking /data/app-private to /system/sd/app-private.[ ] Removing No A2SD flag file.rm: cannot remove '/data/.noa2sd': No such file or directory[ ] Setting File System Ready property to 1.[ ] Remounting /system to read-only.#
Your android phone is designed to store applications in the phone's internal storage under the directory /data/app and /data/app-private.
Apps2SD allows the applications to be stored on the SD card by telling Android to store the applications somewhere else.
It does this by creating directories on your SD card, then replaces /data/app and /data/app-private with a symbolic link file. A symbolic link file is a file that is a reference to another file or directory. This is similar to how shortcuts work in Windows.
For example, without Apps2SD installed, if you used a file manager on your phone and tapped the /data/app folder, you would see a bunch of files. Now, if you look at where you are at in the directory chain, you would be at /data/app, since that is a directory.
When Apps2SD is active, if you tap on the /data/app folder, you would still see files, but you will noticed that you are in a completely different directory (/system/sd/app). This is because /data/app is a file that points to /system/sd/app. When Android stores your program in /data/app, it thinks it is still storing it in /data/app (Internal storage). But, because of redirection, it is really storing the program in /system/sd/app.
When you type a2sd install, one of the processes it performs is moving all the data from /data/app to /system/sd/app. In your case, it looks like you tried to perform an install of Apps2SD after it was already installed. In other words, the files were trying to copy to themselves, which can't happen.
The a2sd install command is usually not necessary, as the program will automatically set itself up upon boot. The only time you really need to use a2sd install is if you used an a2sd remove command in the past or the Boot Loop Prevention code activated (your SD card failed to mount). Both scenarios activate the No Apps2SD flag file, which a2sd install removes.
To check your diskspace on your ext partition, you can use a2sd diskspace.
Originally Posted by mgillespieDarktremor Apps2SD Credits and Change LogRunning a GSM Hero using a stock 2.1 repack ROM.
I've not used A2SD before, but giving it a shot now. I had no problems setting it up, the instructions are very clear and concise, but I am having problems using it.
I setup a 750MB ext3 partition, and I was expecting AppMonster to report I had loads of freespace. It was reporting my freespace as pretty much what it was before. (100MB free)
I tried /system/bin/a2sd install and it appears I have lots of duplicated files from the rather verbose output.
What have I done wrong?
Thanks.
Code:# /system/bin/a2sd install/system/bin/a2sd install[ ] Launching Darktremor A2SD[*] Starting Darktremor Apps2SD version 2.7.5 preview[ ] Mounting /system as read-write[ ] Starting Apps2SD in install mode[ ] Checking SD Card.[ ] Searching for Mount Point...[!] Mount point found..no further action required.[ ] Checking for ext partition[*] Ext partition found and already mounted.[ ] Moving apps to SD card.cp: '/data/app/YouTube.apk' and '/system/sd/app/YouTube.apk' are the same filecp: '/data/app/br.com.fast4ward.sdcardspeedtester.zip' and '/system/sd/app/br.com.fast4ward.sdcardspeedtester.zip' are the same filecp: '/data/app/btm.game.ui.apk' and '/system/sd/app/btm.game.ui.apk' are the same filecp: '/data/app/com.adobe.reader.apk' and '/system/sd/app/com.adobe.reader.apk' are the same filecp: '/data/app/com.agilesoftresource.apk' and '/system/sd/app/com.agilesoftresource.apk' are the same filecp: '/data/app/com.alfray.timeriffic.apk' and '/system/sd/app/com.alfray.timeriffic.apk' are the same filecp: '/data/app/com.bigtincan.android.adfree.apk' and '/system/sd/app/com.bigtincan.android.adfree.apk' are the same filecp: '/data/app/com.bonfiremedia.android_ebay.apk' and '/system/sd/app/com.bonfiremedia.android_ebay.apk' are the same filecp: '/data/app/com.dozingcatsoftware.WireGoggles.apk' and '/system/sd/app/com.dozingcatsoftware.WireGoggles.apk' are the same filecp: '/data/app/com.facebook.katana.apk' and '/system/sd/app/com.facebook.katana.apk' are the same filecp: '/data/app/com.google.android.apps.maps.apk' and '/system/sd/app/com.google.android.apps.maps.apk' are the same filecp: '/data/app/com.google.android.apps.shopper.apk' and '/system/sd/app/com.google.android.apps.shopper.apk' are the same filecp: '/data/app/com.google.android.apps.translate.apk' and '/system/sd/app/com.google.android.apps.translate.apk' are the same filecp: '/data/app/com.google.android.apps.unveil.apk' and '/system/sd/app/com.google.android.apps.unveil.apk' are the same filecp: '/data/app/com.google.android.maps.mytracks.apk' and '/system/sd/app/com.google.android.maps.mytracks.apk' are the same filecp: '/data/app/com.google.android.stardroid.apk' and '/system/sd/app/com.google.android.stardroid.apk' are the same filecp: '/data/app/com.google.zxing.client.android.apk' and '/system/sd/app/com.google.zxing.client.android.apk' are the same filecp: '/data/app/com.handcent.nextsms.apk' and '/system/sd/app/com.handcent.nextsms.apk' are the same filecp: '/data/app/com.luke.uktvguide.apk' and '/system/sd/app/com.luke.uktvguide.apk' are the same filecp: '/data/app/com.magicwach.rdefense_free.apk' and '/system/sd/app/com.magicwach.rdefense_free.apk' are the same filecp: '/data/app/com.maplekeycompany.apps.shake.apk' and '/system/sd/app/com.maplekeycompany.apps.shake.apk' are the same filecp: '/data/app/com.mathpad.mobile.android.wt.unit.apk' and '/system/sd/app/com.mathpad.mobile.android.wt.unit.apk' are the same filecp: '/data/app/com.mattwach.trap2.apk' and '/system/sd/app/com.mattwach.trap2.apk' are the same filecp: '/data/app/com.mgillespie.AutosportsFREE.apk' and '/system/sd/app/com.mgillespie.AutosportsFREE.apk' are the same filecp: '/data/app/com.mgillespie.GamingNews.apk' and '/system/sd/app/com.mgillespie.GamingNews.apk' are the same filecp: '/data/app/com.mixzing.basic.apk' and '/system/sd/app/com.mixzing.basic.apk'are the same filecp: '/data/app/com.neoline.music.apk' and '/system/sd/app/com.neoline.music.apk'are the same filecp: '/data/app/com.newsrob.apk' and '/system/sd/app/com.newsrob.apk' are the same filecp: '/data/app/com.opera.mini.android.apk' and '/system/sd/app/com.opera.mini.android.apk' are the same filecp: '/data/app/com.pgmsoft.wifinder.apk' and '/system/sd/app/com.pgmsoft.wifinder.apk' are the same filecp: '/data/app/com.rechild.advancedtaskkiller.apk' and '/system/sd/app/com.rechild.advancedtaskkiller.apk' are the same filecp: '/data/app/com.rerware.android.MyBackupPro.apk' and '/system/sd/app/com.rerware.android.MyBackupPro.apk' are the same filecp: '/data/app/com.shazam.android.apk' and '/system/sd/app/com.shazam.android.apk' are the same filecp: '/data/app/com.socialnmobile.dictapps.notepad.color.note.apk' and '/system/sd/app/com.socialnmobile.dictapps.notepad.color.note.apk' are the same filecp: '/data/app/com.xe.android.apk' and '/system/sd/app/com.xe.android.apk' are the same filecp: '/data/app/de.android_telefonie.appmanager.apk' and '/system/sd/app/de.android_telefonie.appmanager.apk' are the same filecp: '/data/app/de.czesla.android.remote.apk' and '/system/sd/app/de.czesla.android.remote.apk' are the same filecp: '/data/app/net.flixster.android.apk' and '/system/sd/app/net.flixster.android.apk' are the same filecp: '/data/app/org.transdroid.apk' and '/system/sd/app/org.transdroid.apk' are the same filecp: '/data/app/uk.co.johnsto.android.beebplayer.apk' and '/system/sd/app/uk.co.johnsto.android.beebplayer.apk' are the same file[ ] Linking /data/app to /system/sd/app.[ ] Moving private apps to SD card.cp: '/data/app-private/br.com.fast4ward.sdcardspeedtester.apk' and '/system/sd/app-private/br.com.fast4ward.sdcardspeedtester.apk' are the same file[ ] Linking /data/app-private to /system/sd/app-private.[ ] Removing No A2SD flag file.rm: cannot remove '/data/.noa2sd': No such file or directory[ ] Setting File System Ready property to 1.[ ] Remounting /system to read-only.#Can someone also explain how A2SD works in a simplified form? It may help in understanding things.
Thanks.
Special Thanks:
Thanks to the following people for helping me with Darktremor Apps2SD:
Toastcfh
- For assisting me in getting my test kernel setup to run ext4...that helped tremendously with development.
- For testing it (along with Flipzmode) on FreshToast 2.0 (CDMA Hero).
- For (along with Flipzmode) helping to identify the disappearing marketplace issue.
shahid.malik
- For testing on VillianROM 5.5 (HTC GSM Hero)
- For testing on VanillaEclair 2.0.1 (HTC GSM Hero)
Andrizoid
- For testing on Evil Eris 2.0 (HTC Eris)
- For including it in Smash Rom (HTC Eris)
Framework43
- For adding to Evil Eris 2.0.1 (HTC Eris)
DS36
- For testing on Eris Official 1.0 Alpha w/ Controllable Overclocking (HTC Eris)
4SidedDice (and others)
- For testing it on DamageControl's 2.08 and later (CDMA Hero)
Flipzmode
- For including it (along with Toastcfh) in FreshToast 2.0 (CDMA Hero)
- For including it in Fresh Hero (HTC CDMA Hero)
- For including it in Fresh Evo (HTC Evo)
- For (along with Toastcfh) helping to identify the disappearing marketplace issue.
Kurt666
- For testing on Pay's ROM for Desire v1.4 (HTC Desire)
Cordy
- For helping with general testing of Darktremor Apps2SD
zygame
- For including it on Daguu_Espresso_v1.2_By_FlZyGaMeUp-Pre-release-2 (HTC GSM Hero)
chuckhriczko
- For including it in SuperSonic v2.0 (HTC Evo)
zenulator
- For including it in ZenEXP 0.9.6.2 (HTC CDMA Hero)
crunchybutternut
- For including it in Buufed 1.7.2 (HTC CDMA Hero)
.mac
- For including it in ZenEXP Eris Expresso (HTC Eris)
Papa Smurf151
- For including it in Blue Echo (HTC CDMA Hero)
- For including it in Red Dawn (HTC CDMA Hero)
beezy420
- For including it in HoneyBun Rom (HTC CDMA Hero)
britoso
- For testing it on Froyo FRF50 and FRF83 (Nexus One)
djmcnz
- For including it in Kang-o-rama 0.9 Froyo (Nexus One)
THATTON
- For testing the installation process on ClockworksMod Recovery.
eViL D:
- For including it in eViL n-One-sh0t Noir 7 (Nexus One)
t2noob
- For including it in Plain Jane T2 2.1 (HTC Eris)
Jr33
- For including it in Froyo AOSP Beta3 (Nexus One)
- For including it in CliqMod (Motorola Cliq)
UltimoJedi
- For supplying the elusive base address to build a boot image on the HTC Legend.
MrDanger
- For including it in DangerRom (HTC CDMA Hero for Cellular South)
Kiljacken
- For including it in KiljackenROM (HTC Tattoo)
BesFen
- For including it in BesFen Apps2SD ROM (HTC Legend)
dsixda
- For including it in his Android Kitchen
freddyemmer
- For including it in Vodafone 845 MR Edition
attn1
- For including it in Liberated_Aria (HTC Aria)
capychimp
- For including it in RCMagic 4.2 for Rogers Cellular (HTC Magic)
nfinitefx45 (and others)
- For showing me the binding mount method for using dalvik-cache on the cache partition and using SenseUI (roboclk helped with this as well).
- For including it in NFX-HeroIf I forgot anyone...let me know.
__________________Change Log
Darktremor Apps2SD Version 2.7.5.2
- Added additional code to allow /dev/block/mmcblk1p3 to be a swap partition. This complements the multiple location codes that were added in 2.7.5 Final that allows for EXT mounting from /dev/block/mmcblk0p2 or /dev/block/mmcblk1p2
- Fixed a few lines in the code that did not write to the log file correctly.
- Fixed the log file reference. It was pointed at "/data/dta2sd.log;"...the semicolon didn't need to be there.
- Adjusted the installer script to only remove files in /system/etc/init.d that have the following words in it: apps2sd, a2sd, cache, dalvik. It will also name the launcher file either 04apps2sd, 10apps2sd or 40apps2sd...depending on number availability (the number in the front of the file tells Busybox what sequence to run the file...you can't have two or more files start with the same number (i.e 04modules and 04apps2sd...one of these files will be skipped). This is to address concerns with other roms regarding the partition mounting as an ext2 when it was formatted as an ext4 (module launcher was overwritten by Darktremor).Darktremor Apps2SD Version 2.7.5.1
- Added mounting functions to the cache partition. This mounts dalvik-cache directory on the cache partition (/cache/dc) to /data/dalvik-cache. The end result is SenseUI thinks it is storing dalvik-cache files on /data/dalvik-cache rather than the cache partition. No more force closes when using the cache to store dalvik-cache and using SenseUI.
- Added swappiness settings for swap partition. The command is a2sd swappyxx, where xx is the value you wish to set swappiness to (i.e. to set swappiness to 30%, type a2sd swappy30).
- Added a2sd partlist to list the available EXT partitions available on your rom. This should reduce the number of complaints about incorrectly mounting the ext partition.
- Rebuild a2sd repair to run from starta2sd. Fixa2sd is no longer available.
- Unmounts the EXT partition before it performs an automated reboot. This should reduce the time to mount the SD card (which it doesn't look like it did..oh well).
- Removed smallheap, largeheap and jumboheap command. Replaced with heapsizexx command, where xx is the number of megs you wish to set aside for dalvik cache.Darktremor Apps2SD Version 2.7.5 Final
- New commands: cachepartreset, cachesdreset, nocachereset. These commands do the same as their counterparts (cachepart, cachesd, nocache), but it doesn't move the contents of the dalvik-cache. This allows users to perform both a move and a reset of the dalvik-cache.
- cmpatch command has been removed. The CyanogenMod patch that was related to that command automatically installs as part of startup.
- boota2sd has been removed. All functions have been transferred to launcha2sd. The "lite" version of Apps2SD no longer exists (replaced by the contents of boota2sd). This was done to speed up Apps2SD load time (this is part of the CyanogenMod 6 fixes).
- Mount commands now looks for both /dev/block/mmcblk1p2 and /dev/block/mmcblk0p2. This is to allow compatibility with phones that use mmcblk0p2 for other items (i.e. Froyo).Darktremor Apps2SD Version 2.7.5 Release Candidate 3 (RC3)
- Four releases (three official, one unofficial): RC3, RC3A, RC3B (unofficial), RC3C...subsequent versions used to fix interactive issues between Darktremor Apps2SD and CyanogenMod Nightly Builds.
- Mount point has changed from /system/sd to /data/sd (RC3 only). This is mostly for stability with NAND protected phones. This was reversed back in RC3A. However, there is code in RC3C that detects whether the mount point /sd-ext (used in CyanogenMod and Froyo builds) exists...if so, it uses that mount point instead of /system/sd. - Include /system/bin/sysinit from CyanogenMod for developers who wish to use the CyanogenMod Froyo method outlined in the Rom Guide.
- a2sd swapspace now uses different data to show the swap sizes and free.
- Changed verbage in a2sd check to reflect the a2sd reinstall and a2sd reswap commands.
- New command: a2sd cmpatch - this command symlinks /cache/dalvik-cache to /data/dalvik-cache. Also creates a new Dalvik to Cache directory: /cache/dc.
- Now have a way to detect if the program is running during boot. Type a2sd by itself on a command prompt will display the help file.Darktremor Apps2SD Version 2.7.5 Release Candidate 2 (RC2)
- a2sd install and a2sd swap have been renamed to a2sd reinstall and a2sd reswap. This is due to too many people thinking that a2sd install and a2sd swap is the commands used to install apps2sd and to turn on swap. These functions are automatic when apps2sd starts. Those commands are suppose to be used to a) reactivate apps2sd after running the a2sd remove command and b) reactivate swap after running a2sd noswap.
- Corrected lowmem-default command to work.
- Uses the installed Busybox on the phone or the included Busybox for Apps2SD. This may help with phones that are ext3 capable but only mount as ext2.
- Added more logging for Sysinfo
- Creates a separate dump file during Sysinfo that has numerous pieces of information about the phone. This will help in future troubleshooting and development of Apps2SD (it doesn't get sent anywhere).
- Detects Froyo build in a2sd check and a2sd repair. This will use the asterisks (old format) rather than the checkmarks (new format) in the report.Darktremor Apps2SD Version 2.7.5 Release Candidate 1 (RC1)
- Added mknod command to create /dev/block/mmcblk0p2 (mostly for Froyo kernels)
- Added logging. Log is saved in /data/dta2sd.log
- Added Low Memory Killer commands (lowmem-moderate, lowmem-strict, lowmem-optimum, lowmem-aggressive, lowmem-extreme, lowmem-ultimate). Now the user can control the low memory killer settings and reapply them on boot. a2sd check reports Low Memory Killer settings - Moved launching of boota2sd from starta2sd to launcha2sd. This eliminates one level of bash shell, which should make the program use less memory.
- Now displays the help file when a2sd is called without command parameters from the command line.
- Added a new property: apps2sd.run. This is used for determining if a2sd is being called at first boot or the command line.
- Fixed an issue with moving /data/app and /data/app-private where the permissions were not being copied. This caused strange issues to occur in applications, especially the paid apps.
- a2sd check now reports "default setting" used when dalvik.vm.heapsize doesn't exists.
- Detection of No Apps2SD flag file has been installed in the Apps2SD Lite Version (apparently that was skipped all this time).
- Moved the code to activate swap to the front of launcha2sd. This is until I find a better way of detecting it.
- New format for a2sd check and a2sd repair. Now displays graphic symbols. Should make the report easier to read. Note: New graphics doesn't work so well in Froyo builds. A fix is coming soon.
- New commands: a2sd swapspace shows the amount of swap space (this may not work in all roms). a2sd sysinfo shows a complete profile of your phone.Darktremor Apps2SD Version 2.7.5 Preview Fix 4a
- Removed 00a2sdremove script file. Removal of other apps2sd is done during the flash process.
- Fixed a coding error during the rebuild process where a2sd install and a2sd cachesd was not proceeding when the ext partition was mounted.Darktremor Apps2SD version 2.7.5 Preview Fix 4
- Complete rebuild from Apps2SD 2.7 Update 3r1. This one is built a little different than Preview releases. Changes from Preview Fix 3 are included.
- Help system will now show the entire command list using Busybox More. - a2sd check will now display the ext type on the SD card.
- a2sd defaultheap will return the heap size to the device's default setting (removes all heap flag files)Darktremor Apps2SD version 2.7.5 Preview Fix 3
- Removed reference to mounting /system (except in JIT installation/removal). This is to accommodate NAND protection in the Desire.Darktremor Apps2SD version 2.7.5 Preview Fix 1 and Preview Fix 2
- Fixed JIT installation and removal error.Darktremor Apps2SD version 2.7.5 Preview
- Added Boot Loop Protection...moves app, app-private and/or dalvik-cache back to internal storage if SD card could not be mounted. Sets No Apps2SD flag.
- Added Dalvik JIT. - Added user selectable Dalvik heap sizes (smallheap = 16mb, largeheap = 24mb, jumboheap = 32mb) - Renamed many programs with new .a2sd extentions.
- Corrected bugs from Darktremor A2SD 2.7 Update 3r1.
- Apps, Dalvik Cache and Swap Partition can be activated separately.
- Install and Davik Cache to SD will not work if the SD card can't mount. This prevents a user-inflicted boot loop.Darktremor A2SD Version 2.7 Update 3r1
- Fixes a bug in fixa2sd that causes the dalvik-cache to automatically move to the SD card.
- Created a new program called launcha2sd that now does the launching functions of a2sd. The program a2sd now launches launcha2sd using bash. This fixes any /system/bin/sh issues with open brackets being interpreted at commands rather than conditions in an IF statement.Darktremor A2SD Version 2.7 Update 3
- If a rom has the dalvik-cache on the cache partition, it will not attempt to move it to the internal cache.
- Users now have an option to move the dalvik-cache to the cache partition. The option to move dalvik-cache to the SD card is still retained.
- New commands introduced: cachepart moves dalvik-cache to cache partition, cachesd moves dalvik-cache to sd card (phased replacement to a2sd cache).
- Fixes some minor bugs.Darktremor A2SD Version 2.7 Update 2
- The /system partition returns to read-only state when the program is finished. The /data partition is left untouched.
- ZipAlign does not automatically start on boot. You must type a2sd zipalign to activate the start on boot feature.
- Taken out visual references of CyanogenMod's cm.filesystem.ready and DamageControl's dc.filesystem.ready. It now refers to both visually as "File System Ready property"
- A2SD Check no longer mounts the ext partition. It will indicate when the ext partition is not already mounted. This should help in troubleshooting roms that do not automatically launch A2SD.Darktremor A2SD Version 2.7 Update 1
- Reversed a decision on 2.7 final to set /system and /data to read-only when the program completes. This is causing major issues with some newer roms.Darktremor A2SD Version 2.7
- Completely rebuild the entire program from ground up. Attempted to simplify the process and to better detect different environments.
- All programs use the included busybox.a2sd to avoid conflicts with the different busybox installations.
- Mounts /system and /data in read-write to prevent any conflicts. Remounts them in read-only when completed.
- Except for a2sd, all programs built as bash scripts.
- Separated the original program into the following programs:
a2sd - Simple script that detects whether the init.rc was fixed with the cm.filesystem.ready and sets it accordingly. Starts starta2sd if either a command is included or the cm.filesystem.ready patch is installed, otherwise runs A2SD that does not move dalvik-cache. Runs a smaller version of the boota2sd if the cm.filesystem.ready or dc.filesystem.ready are not present.
starta2sd - Processes all commands...it's the controller program. Adds the following commands: align, zipalign, nozipalign, resetcache, clearcache, fixmarket, diskspace. boota2sd - Used when the cm.filesystem.ready fix or the dc.filesystem.ready fix is present in init.rc. Resets dalvik-cache, app and app-private to internal storage upon the following conditions:
- Mount failure or missing ext partition, and
- Any or all key directories are symlinked to the SD card. This step prevents a bootloop or a stall from occuring during the boot process. Also incorporates better detection of mounted partition. If it detects the partition mounted in /proc/mounts, it will skip trying to mount. Automatically executes fixa2sd if the flags and symlinks to dalvik-cache, app and/or app-private do not match. Also moved the mounting of the swap partition to the end and reintegrated auto partition detection when mounting (similar to A2SD 2.6.1). Added ZipAlign functions.
chka2sd - Incorporates bug fixes that did not detect the dalvik-cache correctly. New report layout (should be simpler to read). Code was simplified. fixa2sd - Incorporates same bug fixes as chka2sd. Does a better detection of flag files and symlinks. Code was simplified.
setupa2sd - Used to execute setup commands from starta2sd (install, remove, cache, nocache, align, fixmarket). Also controls a2sd help.
aligna2sd - zip aligns all apk files in /data/app and /data/app-private.
010a2sdmodaco - Part of the Beta8 Modaco Desire testing, does the following:
- If 02cachedalvikcache exists, back the program up and overwrite the program, preventing the contents from executing.
- if 40a2sd exists, do the same thing.Darktremor A2SD Version 2.6.1
- Mainly a bugfix. Corrects the dalvik-cache code where it would put the dalvik-cache back on the sd card even when the flag file was set.
- Put the flag files back on /system/sd. Fresh 2.0d was incompatible with the new setup (it doesn't mount the /sdcard until later in the boot process).
- Added code for Fresh 2.0d...the boot can be hung if the dalvik-cache is changed during boot. Program automatically determines if 04apps2sd exists in /system/etc/init.d (this is signature for any roms built from Fresh 2.0d) and automatically sets the NoCache flag if the dalvik-cache is in internal memory and the NoCache flag isn't set.
- Fixed swap code. It was not turning on swap when it should.
- (Release 1) - Fixed some minor issues.
- (Release 2) - Recreated a new flash package that is more compatible with different recovery system.Darktremor A2SD Version 2.6
- Moves all flag files from /system/sd to /sdcard. The kernel mounts the FAT32 SD partition and that will be available before Apps2SD runs. Future flag file creation will be in /sdcard.
- Added a check feature (a2sd check). This will check your flag files and symlinks. A report on your screen will tell you what needs to be fixed, if any.
- Added a repair feature (a2sd repair). This will repair your a2sd installation.
- Flashing the A2SD checks Busybox installation and reinstalls it if necessary (it only checks for a missing Busybox installation...it won't replace the one you have installed).
- Automatically remounts /system and /data partitions for read-write access when started with any of the install/repair options (install, repair, cache, nocache, remove).
- Fixed mount command...now uses auto detect rather than the individual partitions. This allows A2SD to work on ext4.
- Separate nocache version available for slower SD cards.Darktremor A2SD Version 2.5
- Added functionality to move dalvik-cache to the ext partition.
- Added option a2sd cache to manually move the dalvik-cache to the ext partition.
- Added option a2sd nocache to manually move the dalvik-cache back to the internal phone storage.
- Added option a2sd install to setup a2sd on a phone (all apps and dalvik-cache on ext partition)
- Added option a2sd remove to revert all a2sd changes back to normal mode (all apps and dalvik-cache in internal storage).
- Added option a2sd noswap to turn off swap partition.
- Added option a2sd swap to turn on swap partition.
Darktremor Apps2SD 2.7.5.3 Beta 04 (2011-01-29)
Download - Discuss - Donate
Follow: Twitter
Facebook: Darktremor Portal - DT Development Group
Last edited by tkirton; 9th February 2011 at 12:33 PM.