a2sd for gingersnap - Optimus One, P500, V Q&A, Help & Troubleshooting

Yesterday I flashed gingersnap for better performance (had icysnap), but then few problems came :/. I can't normally setup a2sd thing, because phone always gets into bootloop and then i need to wipe everything again... Could someone recommend me a2sd mod that works with gingersnap? Also it would be nice to have links to files, because I have a tendention to download wrong files
Thanks
P.s. I'm using ext4, 1.8gb formated. And I tried ungaze's a2sd when it was ext2(i know, not supported), link2SD (by clockworkmod) on ext2, 3, 4 but ext2, 3 didnt worked and on ext4 i got bootloops. Also do i need to change settings in performance and select a2sd mod?

Just flashed ungaze's app2sd and now everything works exept that the play store is missing...
EDIT: Just installed playstore apk and now everything is fine
EDIT: Nope, it force closes...

Gingersnap comes with built-in a2sd. Just read the 1st page of the dev to know how to use it. If you want to use another a2sd script, first flash a2sd killer, then flash the script. Search xda for a2sd killer.

Syd_M said:
Gingersnap comes with built-in a2sd. Just read the 1st page of the dev to know how to use it. If you want to use another a2sd script, first flash a2sd killer, then flash the script. Search xda for a2sd killer.
Click to expand...
Click to collapse
Now everything is fine, used "emissions" command. Actually you are wrong, there are no a2sd already, it just says it supports it. Only 1 line about a2sd (You can ctr+f also): "Supports apps2sd scripts for EXT partitions, requirements EXT3 or EXT4".

Just use CronMod A2sd script very stable
Sent from Xperia L

Related

A2SD in the future

I'm going to start looking into running apps on the SD card.
What I'd like to know is, can I run the a2sd version (I plan on using Haykuro's ADP1.5Hr3) w/o any issues? Any differences to the regular version if I haven't moved my apps over?
I've been using A2SD for the past 3-4 version of Hakyuro's H series, I then went to the ADP A2SD, I have had no problem what so ever. It works great and is quick, I don't think I could ever go back to using the built in disk for application storage.
I'm currently running ADP1.5Hr3 with 192 applications.
If you dont have a SD card with the partitions necessary, and you load an a2sd version of firmware, when your phone boots up it will start looking for the partition to mount and will continue to do so in the background. This may have an adverse affect on the performance and or battery life.
If this has been fixed in any versions feel free to post it.
Dharkaron said:
If you dont have a SD card with the partitions necessary, and you load an a2sd version of firmware, when your phone boots up it will start looking for the partition to mount and will continue to do so in the background. This may have an adverse affect on the performance and or battery life.
If this has been fixed in any versions feel free to post it.
Click to expand...
Click to collapse
actually when u load an a2sd rom it doesnt look for anything to mount
because when u load an a2sd rom it only looks for a partition once you command it to
without your command it will work like an regular rom that doesnt have the a2sd mod...it will store applications and caches on your internal flash
once you start doing commands such a ln and rm that is when you are actually connecting folders to the ones on your sd card
the performance is the same if u have a2sd or not....the performance either increases or decreases when u tell the phone to do the symlinks to ur ext 2 partition
bigballa said:
actually when u load an a2sd rom it doesnt look for anything to mount
because when u load an a2sd rom it only looks for a partition once you command it to
without your command it will work like an regular rom that doesnt have the a2sd mod...it will store applications and caches on your internal flash
once you start doing commands such a ln and rm that is when you are actually connecting folders to the ones on your sd card
the performance is the same if u have a2sd or not....the performance either increases or decreases when u tell the phone to do the symlinks to ur ext 2 partition
Click to expand...
Click to collapse
????WHAT???
Looks for partition after you command to it???
The haykuro apps-to-sd roms load the ext2 module and a .sh script runs during boot that looks for the partition over and over in a loop. If found it is mounted, if not it keeps trying. This *can* cause battery issues, although I doubt it would be bad. I have no idea what you are saying about commanding to it, but that is wrong.
Re installed the app. Ran and have 54mb available happy.
on a mac
what is the equivalent of ex2 on a mac...it's not listed in the partition options
jaaronmoody said:
what is the equivalent of ex2 on a mac...it's not listed in the partition options
Click to expand...
Click to collapse
It's only possible with ext2 as far as I know. You are probably going to have to download a partition manager program
Darkrift said:
The haykuro apps-to-sd roms load the ext2 module and a .sh script runs during boot that looks for the partition over and over in a loop. If found it is mounted, if not it keeps trying. This *can* cause battery issues, although I doubt it would be bad. I have no idea what you are saying about commanding to it, but that is wrong.
Click to expand...
Click to collapse
Any more news about this and battery usage posted anywhere that i can read further?

[Script][A2SD]Darktremor 2.7.5.3 Beta 04 [Aria] (01/29/2011)

Introducing...
Darktremor Apps2SD 2.7.5.3 Beta 04
Date of Release: January 29, 2011
Download Current Version
Instructions - Change Log - Commands - ROM List - Developer's Guide
Darktremor Apps2SD Fan Page ----
Darktremor Apps2SD Development Group
Are you installing Darktremor Apps2SD on your phone? Here are the instructions to help you: Facebook
Are you a developer wanting to include Darktremor Apps2SD in your latest ROM? Here is the Developer Guide: Facebook
Click to expand...
Click to collapse
Update on Beta 4
It seems I'm getting mixed results with these betas. I'm not sure why this is occurring, some people have been able to get this working right while others have had a hard time with it.
Currently, I'm rebuilding the entire program. This takes a while because I have to figure out how to pack all these options into the program but make it small enough to where it will run correctly.
I will say that some of the beta features are coming back out...one of them is the search for a partition code. I suspect that code may be leading me into issues with certain platforms, so I'm going back to the 2.7.5.2 method of mounting (mmcblk0p2 or mmcblk1p2).
Also, parts of the code will use Busybox Ash (the only code that won't will be starta2sd, which will still use Bash for the time being). The startup code will definitely use Busybox Ash.
Until then, here are the links to the the last two betas and the last official release:
Version 2.7.5.3 Beta 04 - http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.3-beta04-signed.zip
Version 2.7.5.3 Beta 03 - http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.3-beta03-signed.zip
Version 2.7.5.2-1 - http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.2-1-signed.zip
And, if you want past versions, you can view the repository: ftp://dtuser:[email protected] (ignore the smiley face...that's XDA doing that.)
Click to expand...
Click to collapse
Beta 04 took longer than I expected to release. I have done major changes to the code:
1. New commands: convert-ext4 - This will convert your EXT3 partition into EXT4. Just a friendly reminder on this command: Not every rom supports EXT4, so it is possible to go into a boot loop if you switch roms. Use with caution.
2. Reworked convert-ext3 (convert-ext4 gets similar code)...now a flag file is set before the reboot (no conversion is done before the reboot). At load time, the conversion is performed. This takes longer in the reboot process and you may think your phone has locked up...wait about five minutes before doing anything with the phone.
3. Repair is rebuilt...now it uses existing commands to repair the setup (reinstall, remove, cachesd, cachepart, nocache, datasd, nodata). Definitely shrinks the code.
4. Added fix_permissions program to the package. This may help with Superuser issues when using the datasd feature. It is used in reinstall, remove, datasd and nodata.
5. a2sd install is back!!! Both a2sd install and a2sd reinstall do the exact same thing.
6. Dalvik heap code has been shrunk and now creates a file called dalvikheap. Actually, the code has been doing this all along (since about 2.7.5.2, I think), but I never put the code in to use the file.
7. Low Memory Killer code has also been shrunk and uses a file caled dtset_lowmem to set the low memory killer parameter.
8. Replaced Busybox PS function with Toolbox PS. The issue with Busybox PS is that it gives a false reading when I look for android.process.acore (which is the main program when the GUI starts up). If that is present, the program thinks you are trying to run Darktremor without any command line parameters. This was because Busybox would report the process was there when, in reality, it wasn't (validated this when my phone was boot looping.) Toolbox's PS reports the correct setting. This should fix the bootlooping issues some people are experiencing.
9. New commands: usedtbusybox and usedefaultbusybox - these commands may help in diagnosing issues that is may be related to the native Busybox on your rom. a2sd usedtbusybox will use the Busybox that is packaged with Darktremor. a2sd usedefaultbusybox will turn back on the scan behavior of the program introduced in Beta 03.
10. Support for Darktremor Apps2SD version 2.7 and earlier has been discontinued. To upgrade correctly from one of those versions, use version 2.7.5.3 Beta 03b or earlier.
11. Finally fixed stalled boot issues (or at least my tests with several roms says so.)
See the change log for additional details.
You will notice that if the program runs repair and finds a problem, it will correct the issue and reboot. You will see a second reboot when the dalvik-cache clears (this is to fix timing issues with CyanogenMod...I can't control that startup as well as I can other roms). This only happens if repair is ran or you flash a new rom (as repair will realign all data). If you are upgrading from a previous version of Darktremor, you should not see the reboots.
Click to expand...
Click to collapse
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.
what's the difference between the two installers?
The advanced installer uses updater-script, the same method that Cyanogen uses for CyanogenMod.
The other script is the standard update-script, for compatibility with older recovery programs.
Other than that one difference, they are identical.
hi2u2 said:
what's the difference between the two installers?
Click to expand...
Click to collapse
Bump...new version released: 2.7.5.2
why is it i have to run a2sd repair just to get this to boot otherwise it chokes out
http://pastie.org/1197625
rom: ported 2.2 sensui rom on droid1
using 512ext3 partition as mmcblk0p2 with the init.d startup method(same issue with the init.rc methed, not like that would matter)
Do you have a /data/dta2sd.log file? That would help me more than the log file you sent (the adb logcat is too late in the process for me to see what Darktremor is doing).
If you have the log file, send it to me at [email protected] and I'll see if I can find out what's going on.
EDIT: Jr33 may also be able to help out on this...he's got this working in two Motorola roms, so he may have to do something special with the rom to get the program to start. It may be a similar situation that I'm running into for the Samsung Galaxy S platforms.
jamezelle said:
why is it i have to run a2sd repair just to get this to boot otherwise it chokes out
http://pastie.org/1197625
rom: ported 2.2 sensui rom on droid1
using 512ext3 partition as mmcblk0p2 with the init.d startup method(same issue with the init.rc methed, not like that would matter)
Click to expand...
Click to collapse
Just want to make sure...
I am running Liberated R010. I have partitioned the class 4 sd card, in this order...6.5GB FAT 32, about 1GB Ext2, about 32MB Linux Swap. I have copied all of my old sd card into the 6.5GB partition. I'm wanting to stick this into the phone and let it do its thing. Will the apps be moved automatically? What control will I have during and after this big moment?
Do I need to reboot with the new card or can I do the unmounted hotswap?
Sent from my (liberated) HTC Liberty using XDA App
Apps will be moved automatically if the ROM supports A2SD+ or Apps2SD (Liberated should).
Not sure what you are meaning regarding "control". The move is pretty quick and happens at the start of the boot process. Technically, the user doesn't have control of the phone at this point.
duckredbeard said:
I am running Liberated R010. I have partitioned the class 4 sd card, in this order...6.5GB FAT 32, about 1GB Ext2, about 32MB Linux Swap. I have copied all of my old sd card into the 6.5GB partition. I'm wanting to stick this into the phone and let it do its thing. Will the apps be moved automatically? What control will I have during and after this big moment?
Click to expand...
Click to collapse
No...no hotswapping. The EXT2 or EXT3 partition is mounted...you could corrupt it. You will need to reboot with the card as the mounting of the EXT2 / EXT3 partition happens during boot time.
duckredbeard said:
Do I need to reboot with the new card or can I do the unmounted hotswap?
Sent from my (liberated) HTC Liberty using XDA App
Click to expand...
Click to collapse
I did tried as you recommended and nothing changed except for the size of the SD card. The partitioned card showed as 6.6GB, (instead of the full 8ishGB) but the internal memory stayed at 185MB. I used the live ubuntu method, 6.6GB fat 32, 1GB ext2, 32MB Linux. Partition session showed as successful.
Sent from my (liberated) HTC Liberty using XDA App
Okay, try this:
From the adb shell, type a2sd reinstall.
The reason for this is that, if you were running Darktremor without the SD card partitioned, boot protection would activate and set the NoA2SD flag.
a2sd reinstall will clear the flag and move the apps to the SD card. That should fix your issue.
duckredbeard said:
I did tried as you recommended and nothing changed except for the size of the SD card. The partitioned card showed as 6.6GB, (instead of the full 8ishGB) but the internal memory stayed at 185MB. I used the live ubuntu method, 6.6GB fat 32, 1GB ext2, 32MB Linux. Partition session showed as successful.
Sent from my (liberated) HTC Liberty using XDA App
Click to expand...
Click to collapse
Now that I'm on a real keyboard, I can better explain what got me to this point. Some of this you've heard before.
I did Nandroid backup, then copied all of my SD to a safe place on my PC. Partitioned the new Class 4 SD card using Linux LiveCd, with about 6.5GB Fat32, 1GB Ext2, and 32MB Linux swap. It took a few tries, I'm not a Linux person. Once It was successful, I went back into windows and looked at the card size. It was indeed about 6.5GB.
Powered off the Aria and inserted the SD card, then powered on like normal. No obvious change, other than the SD being smaller. No change to the internal storage. Found the darktremor .zip file and copied it to the root of my SD using a card reader, reinserted the SD (with power off) and rebooted in recovery, applied your .zip. Phone rebooted fine, again no changes.
I again tried to partition the card using ROM Manager, which had previously been unsuccessful on the new card. After it had been Linux partitioned the one time, ROM Manager seemed to have worked. I'd rather have more than 512MB Ext2, though.
I am perilously close to full on my internal storage, so I'm eager to get this going. Thanks for your replies.
hey tkirton,
upon installing 2.7.5.2 and running 'a2sd check', I see that swap does not start now ('partition not present or no swap support').
I installed it by rebooting into recovery and flashing the zip, same way I have been doing up until now.
Any ideas?
So, you setup the SD card via Rom Manager and all is working, but it didn't work via Linux LiveCD, correct?
It could be the EXT2 partition. It works, but because there is no journaling, the partition is more susceptible to corruption.
You may try the LiveCD method again. This time, create a 1GB EXT3 partition and make sure you unmount the partition before removing it (force removal while it is mounted is a good way to corrupt an EXT2 partition...can also corrupt an EXT3 partition). Don't worry about going into Windows to validate...you can do that with your phone.
I don't know if there is another recovery available to you. I run GodSpeed (based on Amon_RA's recovery) on my Hero and Amon_RA on my Evo. I know the Amon_RA recovery will allow you to select your EXT2/EXT3 size.
duckredbeard said:
Now that I'm on a real keyboard, I can better explain what got me to this point. Some of this you've heard before.
I did Nandroid backup, then copied all of my SD to a safe place on my PC. Partitioned the new Class 4 SD card using Linux LiveCd, with about 6.5GB Fat32, 1GB Ext2, and 32MB Linux swap. It took a few tries, I'm not a Linux person. Once It was successful, I went back into windows and looked at the card size. It was indeed about 6.5GB.
Powered off the Aria and inserted the SD card, then powered on like normal. No obvious change, other than the SD being smaller. No change to the internal storage. Found the darktremor .zip file and copied it to the root of my SD using a card reader, reinserted the SD (with power off) and rebooted in recovery, applied your .zip. Phone rebooted fine, again no changes.
I again tried to partition the card using ROM Manager, which had previously been unsuccessful on the new card. After it had been Linux partitioned the one time, ROM Manager seemed to have worked. I'd rather have more than 512MB Ext2, though.
I am perilously close to full on my internal storage, so I'm eager to get this going. Thanks for your replies.
Click to expand...
Click to collapse
Hmmm...works for both my Hero and Evo.
Which rom are you using? If you are using /dev/block/mmcblk1p3, it should work as it was introduced in this version.
I know this is going to sound stupid on my part, but are you sure swap has been working? The reason I ask is that earlier versions of CyanogenMod 6 Nightly Builds had the swap turned off in the kernel...of course, I didn't know that until I was working on another version of Darktremor (and I had already used three different versions of CyanogenMod prior to that).
hi2u2 said:
hey tkirton,
upon installing 2.7.5.2 and running 'a2sd check', I see that swap does not start now ('partition not present or no swap support').
I installed it by rebooting into recovery and flashing the zip, same way I have been doing up until now.
Any ideas?
Click to expand...
Click to collapse
I never got any different result from any method I tried. Except that after one attempt my Tasker widgets had lost their icons. I've put a lot into Tasker lately, which may explain my internal storage getting full.
I shall reattempt the Linux and pay particular attention to the mount status. I will also go with Ext3 if it is not a conflict with darktremor. Will the phone's storage be shown in addition to my partition (185+1024)? If my ROM (Liberated Aria R010) has DT A2SD, should I still install from .zip?
Sent from my (liberated) HTC Liberty using XDA App
Try flashing this one first: http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.1-adv-signed.zip
That is 2.7.5.1...the first release was bugged...this is release 2. I don't know which one does Liberated Rom have.
If that works, then jump up to 2.7.5.2. Make a backup so you can restore if something goes wrong.
duckredbeard said:
I never got any different result from any method I tried. Except that after one attempt my Tasker widgets had lost their icons. I've put a lot into Tasker lately, which may explain my internal storage getting full.
I shall reattempt the Linux and pay particular attention to the mount status. I will also go with Ext3 if it is not a conflict with darktremor. Will the phone's storage be shown in addition to my partition (185+1024)? If my ROM (Liberated Aria R010) has DT A2SD, should I still install from .zip?
Sent from my (liberated) HTC Liberty using XDA App
Click to expand...
Click to collapse
tkirton said:
Hmmm...works for both my Hero and Evo.
Which rom are you using? If you are using /dev/block/mmcblk1p3, it should work as it was introduced in this version.
I know this is going to sound stupid on my part, but are you sure swap has been working? The reason I ask is that earlier versions of CyanogenMod 6 Nightly Builds had the swap turned off in the kernel...of course, I didn't know that until I was working on another version of Darktremor (and I had already used three different versions of CyanogenMod prior to that).
Click to expand...
Click to collapse
I am using /dev/block/mmcblk0p2. Followed the instructions here: http://forum.xda-developers.com/showpost.php?p=7372509&postcount=9
Ok...tried it again. Here's exactly what I did: Linux liveD method partition: 6.7GB Fat32, 1GB Ext3, 32MB Linux swap. I was sure I did the mount thing as well. Did nandroid backup then copied my old card (entirely) into the new Fat32. Stuck the new card into the powered off phone and booted into recovery. Installed the zip you posted in this thread. After install (with no problems) I reboot phone and no change to the indicated internal storage capacity. I am running liberated aria r010 which is purported to include dta2sd, but disabled by default. If this is my issue, how do I enable it?
Sent from my (liberated) HTC Liberty using XDA App

[Data2SD-EXT] *Automated* Dalvik Left Internal

Yup, another data2sd script
Dalvik-cache is left internal on mtdblock5 (formerly /data)
/cache linked to mtdblock5 (so you can use cMTD to shrink the original cache partition down to 2MB leaving 302MB to be shared by cache and dalvik-cache)
I've only tested with a clean install but in theory it should be automated to add to your existing ROM in the /system/etc/init.d/ scripts (presuming your ROM is already setup to run scripts from that directory on boot). Also, this does NOT play well with existing apps2sd solutions or data2sd solutions. If you are already running one of those you would probably want to use Titanium Backup then do a clean install.
Here it is pre-installed into the 12/4 nightly of The Ultimate Droid for CDMA Desire. If don't know how to implement it manually in your existing ROM or you are having problems getting it implemented you can always use this instead.
Edit: Updated script with a bug-fix for the dalvik-cache on reboots
Thank you for sharing!
I have only to insert the file in the init.d folder and flash rom?
Can i try with any rom?
tnx bro ... for the script
testing it ...
If i'm on auraxTsense do i have to delete stuff2sd file and paste yours ? After that just reboot and i'll have data2ext? I have 512 ext2 and the rest is fat32
Sent from my HTC Desire using Tapatalk
script works, but i cant install any apps from market
RobakRatz said:
If i'm on auraxTsense do i have to delete stuff2sd file and paste yours ? After that just reboot and i'll have data2ext? I have 512 ext2 and the rest is fat32
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Yes, you would need to remove any apps2sd scripts. This is only been tested by me using two fat32 partitions (not an ext2 partition) and I'm not sure how nice this will play if you already used an apps2sd solution.
Can someone explain to me how to add this to a preexisting rom? I currently am running firerat's cmtd.. do I need to disable that, or are they compatible?
Additionally, if needed, how do I reverse it?
Am currently running LeeDrOid 2.2f, so what if I want to run this script? I've done a clockwork backup with ROM manager and Titanium backups on my SD card so what steps do I now need to take?
Sent from my HTC Desire using XDA App
live_0978 said:
Am currently running LeeDrOid 2.2f, so what if I want to run this script? I've done a clockwork backup with ROM manager and Titanium backups on my SD card so what steps do I now need to take?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Hi I'm interested too to know what i need to do for apply your script please ?
Regards.
Well the way it should theoretically work is partitioning your card and copying the file to /system/etc/init.d . When I did that I had to force the script to start from terminal emulator and after about 10 minutes the phone showed a lot more space, but everything was FCing, so I rebooted, got stuck in a boot loop, pulled battery after 15 min or so and it booted fine, although all of my settings/apps/widgets were gone. I also saw no performance increase in quadrant, running a class 6 16gb card. It might need to be integrated or something for it to work.
I think on existing rom with a2sd+ it should work like this:
Make a backup on your apps and settings (MyBackup, Titanium, etc)
Boot in recovery.
Make a nandroid backup.
Via adb or QtAdb (easier) delete a2sd script from init.d
Copy script from first post to init.d.
Optional, but could be essential, do it if other way don't work: wipe sd-ext, dalvik-cache.
Reboot.
The first boot will take some minutes until loop is created and data is being moved.
Restore MyBackup or Titanium backup if you done wipes.
If FC's occur try to solve them with RomManager.
Akilldema said:
Well the way it should theoretically work is partitioning your card and copying the file to /system/etc/init.d . When I did that I had to force the script to start from terminal emulator and after about 10 minutes the phone showed a lot more space, but everything was FCing, so I rebooted, got stuck in a boot loop, pulled battery after 15 min or so and it booted fine, although all of my settings/apps/widgets were gone. I also saw no performance increase in quadrant, running a class 6 16gb card. It might need to be integrated or something for it to work.
Click to expand...
Click to collapse
You should put the script when in recovery.
Then reboot and it should do the work.
bg_man said:
You should put the script when in recovery.
Then reboot and it should do the work.
Click to expand...
Click to collapse
?? From ADB? I essentially did the same thing from terminal emulator.. I got the extra space, etc. Just no performance boost.
No, what you did was NOT essentially the same. you were doing it from within the OS. doing it from recovery the system is not booted and files are not being modified as your trying to move them.
I haven't tried using the script with another rom, but i was scoring over 2100 in quadrant using Navalynt's ultimate droid rom he posted with the script integrated.
I'm using a class 6 sd card.
Akilldema said:
?? From ADB? I essentially did the same thing from terminal emulator.. I got the extra space, etc. Just no performance boost.
Click to expand...
Click to collapse
ipfreelytech said:
No, what you did was NOT essentially the same. you were doing it from within the OS. doing it from recovery the system is not booted and files are not being modified as your trying to move them.
I haven't tried using the script with another rom, but i was scoring over 2100 in quadrant using Navalynt's ultimate droid rom he posted with the script integrated.
I'm using a class 6 sd card.
Click to expand...
Click to collapse
In that case I'd suggest trying what you're suggesting before recommending it.
Edit: Sorry for the attitude, I know you were trying to help. I ended up deciding against it because I don't want the stress on my card doubt I'd notice any difference.
Hi navalynt,
Great script and very well written/commented. Switched to this script this morning, but like a previous poster, now apps won't install from market - starts to download then just stops. Thought it might have something to do with the market cache section at the end, so I removed it but no dice - still can't install apps.
Any ideas?
Jay.
Thanks for your great work !
I removed app2sd from init.d and copied 30data2sd to there.
I changed busybox to new one.
All process looks fine work on my MIUI 0.12.3. ;D
I'm using EXT4 partition, so quad score is 2000+- but I'm fully satisfied.
Thanks !
iroironz said:
Hi navalynt,
Great script and very well written/commented. Switched to this script this morning, but like a previous poster, now apps won't install from market - starts to download then just stops. Thought it might have something to do with the market cache section at the end, so I removed it but no dice - still can't install apps.
Any ideas?
Jay.
Click to expand...
Click to collapse
Apparently you don't have enough space in cache.
Reboot in recovery.
Restore the original script in init.d.
Wipe cache partition.
Reboot.
bg_man said:
Apparently you don't have enough space in cache.
Reboot in recovery.
Restore the original script in init.d.
Wipe cache partition.
Reboot.
Click to expand...
Click to collapse
Hi bg_man,
Good suggestion, unfortunately doesn't work. Rebooted into recovery and cleared cache but still no go. In Quick system info it shows system cache as "Total:148MB, Free:106MB", so don't think it's the cache.
Jay.
UPDATE: Not sure what the problem was but I decided to start fresh (after a titanium backup) and wiped everything and then ran this script - working awesome (including installing from market now).
UPDATE2: scrap that - half way through the titanium backup restore everything start fc'ing. Now titanium backup won't start. Will give it another go tonight.

[Q]Darktremor A2SD not working on HTC ChaCha!

Hi there,
I'm trying to use A2SD, since the HTC ChaCha has a ridiculously small amount of internal storage... After following the instructions thoroughly (Partitioned with MiniTool Partition Wizard, 1 partition Fat32, 1 partition EXT2 of 1024MB and then i flashed the A2SD zip through the CWM Recovery)
I installed Quick System Info Pro to check whether it's working. But the A2SD shows "no information available". My Application Manager tells me I only have 86MB left (I haven't installed much, yet, because I want A2SD to work first)
So after searching the internet for I few hours, I couldn't find anything like my problem. I tried the a2sd diskspace command in terminal, which gave me the errors "Darktremor Apps2SD may not have ran during boot. Cannot read a2sd.mountpoint" and "SD Card not mounted".
I can access my SD card with no problems at all. What's going on?
Can somebody help me? T.I.A.!
As far as I know the SD partitions only work if you create them with CWM. I'm pretty sure there was someone else posting a similar problem with a partition created using linux.
Try partitioning with CWM and check if that works.
I've tried partitioning via CWM before, but A2SD didn't work. Therefore I tried using MiniTool...
Well, did the whole thing over. Partitioned via CWM. Flashed A2SD zip again.
QSI: "A2SD-storage: No info available"
I ran a2sd diskspace in terminal again. This time I get the errors "No a2sd.swap environment variable found" and "Darktremor Apps2SD may not have ran during boot. Cannot read a2sd.mountpoint"
If I try a2sd reinstall i get the "DarkTremor Apps2SD may not have ran..." and "No SD mounted"
Darktremor A2SD working on HTC ChaCha but only for ext2
I dnt knw reason but i tried ext3 it dsnt work..(Partitioned with MiniTool Partition Wizard)..but when i tried ext2 it worked again Partitioned with MiniTool Partition Wizard...
but in command a2sd partlist it shows that my rom support ext2 and ext3 but dsnt support ext4.
But actually it is not supporting ext3 as well..
Doesn't CWM make a partition as EXT2 by default?
NO
Jorinde123 said:
Doesn't CWM make a partition as EXT2 by default?
Click to expand...
Click to collapse
No only make partition as EXT3 by default.
i'm using latest version of CWM 5.0.2.8..
Anyway.
First I partitioned with MiniTool 1 Fat32 and 1 Ext2. Didn't work.
The second time with CWM partition Ext3 it still won't work.
Anyone?
if ext2 is found during installation it will work without do anything
to check if it works type a2sd check
if ext2 is created after install type a2sd check then a2sd reinstall
(execute using adb shell ex. adb shell a2sd check)
Nope, didn't work. Maybe it's because i was using the stock rom, and the rom might refuse.
I installed CM7 now, but it's not really satisfying... I JUST WANT MY CHACHA WITH MORE THAN 150MB SPACE.
Sent from my HTC ChaCha A810e using XDA App
try to create ext2 partition after installation. because during installation CWM by default format SD ext partition and convert ext2 partition to ext3 partition (you select option to format SD ext or not but it 'll format SD ext partition during ROM installation). you can check it in (Mini Tool Partition Wizard) it 'll show 2nd partition as ext3 after ROM installation .. So try to convert ext3 to ext2(Mini Tool Partition Wizard) after ROM installation then open terminal in your mobile or use adb shell enter command a2sd check then a2sd reinstall.. i had same problem but solved it by this method now its working perfectly..
---------- Post added at 01:24 AM ---------- Previous post was at 01:14 AM ----------
Jorinde123 said:
Nope, didn't work. Maybe it's because i was using the stock rom, and the rom might refuse.
Click to expand...
Click to collapse
I think stock ROM does not support ext2 partition. but custom ROM are available that based on stock ROM and support a2sd and ext2 or ext3 partitions.
Can anybody confirms that Does stock rom support EXT2 partition.?
That's a negative. Stock ROM does not have support for extended partitions at all.
Latest SuperOSR released has an updated kernel which includes ext partitions support.
I'm using a modified stock ROM (removed a few useless APKs). On one ChaCha I have Link2SD working with an EXT3 partition, but with another it refuses to work.
The software version I'm using is 1.57 (the HTCdev one). Does this means that this version supports EXT2/3?
Valid and working properly on latest SuperOSR build. Screenshot attached.
r2b2 said:
The software version I'm using is 1.57 (the HTCdev one). Does this means that this version supports EXT2/3?
Click to expand...
Click to collapse
its not about ROM but kernel and official htc kernel only support ext2. no supprt for ext3 and ext4
To enable a2sd, after flashing the ROM go to market & download terminal emulator.
Follow instruction below:
Key in:
su
a2sd check
a2sd reinstall
Phone will reboot once.
su
a2sd check
a2sd zipalign
a2sd cachesd
Phone will reboot again & woot! app2sd+ enabled
If you facing problem for a2sd not detect the ext partition was ext4 but not ext2/ext3, after flashing ROM please re-partition your ext again. This should fix the issue. <<< hope this solve your issue.
faizkalwar said:
I think stock ROM does not support ext2 partition. but custom ROM are available that based on stock ROM and support a2sd and ext2 or ext3 partitions.
Can anybody confirms that Does stock rom support EXT2 partition.?
Click to expand...
Click to collapse
Yes! I'd like to know! Because the stupid unstable CM7 is driving me crazy! I don't know what irritates me more, the lack of storage or the lack of a proper working phone...
How is CM unstable? What do you mean by that? Do you have any problems with it? FC's?
Alex C. said:
How is CM unstable? What do you mean by that? Do you have any problems with it? FC's?
Click to expand...
Click to collapse
* Camera doensn't work, I know about the issue of the front camera, not working, but rear one doesn't work either.... (And no other camera app will...)
* No longer WiFi tethering HotSpot.
* Facebook App keeps signing out
* My Gmail no longer syncs (and since I can't delete my gmail account to add it again, i can't do anything about it)
1) Up until now you are the only one who reports rear camera not working.
2) There are apps for Wi-Fi tethering.
3) Facebook App - Not using it, unable to find out if the ROM is the issue or other factors.
4) Same as 1) - Have you tried a factory data reset?! That deletes your gmail account.
Alex C. said:
1) Up until now you are the only one who reports rear camera not working.
2) There are apps for Wi-Fi tethering.
3) Facebook App - Not using it, unable to find out if the ROM is the issue or other factors.
4) Same as 1) - Have you tried a factory data reset?! That deletes your gmail account.
Click to expand...
Click to collapse
Well, there you have my point. I don't want to factory reset it every time it doesn't work well... And there is a status bar widget for WiFi tethering, but I can't configure it...
Oh! And I remebered another weird thing. When my phone turns off due low battery, and I charge it. I can't turn the phone on. The LED turn on, orange. And if I disconnect the charger, the LED stays on, and the phone doesn't do anything. I have to remove the battery to be able to turn on my phone...
Edit:
Sorry for being a bit harsh about CM7 not working well and all. Of course I want to put some effort in it to make it work right. It's just... Well I want a super-duper-brilliant working phone! I'm just one lucky cookie to be a trouble shooter, when it comes to being the one GETTING the troubles! I hope you can do something with those issues, let me know if you need more info or logs or whatever!

[Q] Best way for app2sd?

Guys I m newbie.
Want to know what is the best script or app or MOD which is best for moving apps and data to external memory and will help improving performance of our phone.
I am using Gingersnap 2.3 by neko, but s2e does not work on it?
Please hepl me with this.
Is this mod is safe to use?( Interactive Data2sd )
http://forum.xda-developers.com/showthread.php?t=1042828
Search for cronmod and you can choose a2sd, d2ext or intext
imloy said:
Guys I m newbie.
Want to know what is the best script or app or MOD which is best for moving apps and data to external memory and will help improving performance of our phone.
I am using Gingersnap 2.3 by neko, but s2e does not work on it?
Please hepl me with this.
Is this mod is safe to use?( Interactive Data2sd )
http://forum.xda-developers.com/showthread.php?t=1042828
Click to expand...
Click to collapse
http://www.xda-developers.com/android/move-selected-apps-to-sd-with-link2sd-app/
Also for me Link2SD is the best solution, I've a rooted phone with stock rom, I followed the guide and I choose to put 1 GB in the second partition for APP. Now after 1 year I've more than 500 addition MB of apps!
rodem77 said:
Also for me Link2SD is the best solution, I've a rooted phone with stock rom, I followed the guide and I choose to put 1 GB in the second partition for APP. Now after 1 year I've more than 500 addition MB of apps!
Click to expand...
Click to collapse
I am a big fan of cronmod's scripts. You can put the script in the init.d folder of the rom's .zip before you flash it, or you can flash one of cronmod's .zips immediately after flashing a ROM (before first boot).
I like them because they are fully automatic. You can install tons of apps, and they get put on your sd-ext without having to link them, or do anything to them. I used link2sd for a long time before I found cronmod's scripts. After a while I still ended up running out of space, and I would have to go back into link2sd to figure out what ELSI I could link.
With cronmod's scripts your internal folders ( like /data or /data/app depending on the script) get automatically mounted to to sd-ext. This effectively adds to your internal storage. I see it as more of a fix, while link2sd is more like a band-aid.
Sent from my LG-VM670 using xda app-developers app
upconvert said:
I am a big fan of cronmod's scripts. You can put the script in the init.d folder of the rom's .zip before you flash it, or you can flash one of cronmod's .zips immediately after flashing a ROM (before first boot).
I like them because they are fully automatic. You can install tons of apps, and they get put on your sd-ext without having to link them, or do anything to them. I used link2sd for a long time before I found cronmod's scripts. After a while I still ended up running out of space, and I would have to go back into link2sd to figure out what ELSI I could link.
With cronmod's scripts your internal folders ( like /data or /data/app depending on the script) get automatically mounted to to sd-ext. This effectively adds to your internal storage. I see it as more of a fix, while link2sd is more like a band-aid.
Sent from my LG-VM670 using xda app-developers app
Click to expand...
Click to collapse
Hi, thankyou for the tips, yes link2sd will not give you infinite space, once you start to have a lot of apps, them continue to write some data (cache, etc.) on your internal memory and this will lead you to fill your internal memory. So in my opinion with a non rooted phone, simple move app to sd is like a band-aid while link2sd on rooted phone is like a powerfull band-aid.
About the script, it will move ALL and let you to install infinite apps? I've readed that these kind of script give you also some stability problem on some apps and also decrease speed of the phone while for now, with link2sd i've no problem at all, I moved also gapps.
rodem77 said:
Hi, thankyou for the tips, yes link2sd will not give you infinite space, once you start to have a lot of apps, them continue to write some data (cache, etc.) on your internal memory and this will lead you to fill your internal memory. So in my opinion with a non rooted phone, simple move app to sd is like a band-aid while link2sd on rooted phone is like a powerfull band-aid.
About the script, it will move ALL and let you to install infinite apps? I've readed that these kind of script give you also some stability problem on some apps and also decrease speed of the phone while for now, with link2sd i've no problem at all, I moved also gapps.
Click to expand...
Click to collapse
Im using cronmod (int2ext+) and I haven't experienced any problems, I guess (haven't tested) they just released a script that will work with 4.2.1 The only app that ive seen with noticeable lag was titanium backup, but other than that its been great
Ive also used link2sd and that works extremely well also.
rodem77 said:
Hi, thankyou for the tips, yes link2sd will not give you infinite space, once you start to have a lot of apps, them continue to write some data (cache, etc.) on your internal memory and this will lead you to fill your internal memory. So in my opinion with a non rooted phone, simple move app to sd is like a band-aid while link2sd on rooted phone is like a powerfull band-aid.
About the script, it will move ALL and let you to install infinite apps? I've readed that these kind of script give you also some stability problem on some apps and also decrease speed of the phone while for now, with link2sd i've no problem at all, I moved also gapps.
Click to expand...
Click to collapse
Obviously, not infinite, but on my ov I have about 180 mb for my data partition. Using the d2ext script with a 2 gb sd-ext partition means that I increase that by literally over 1000%. I have absolutely no stability problems with the scripts. Sometimes a particular rom won't boot with a particular script, but I've always been able to find at least one script that will play nice with any rom I've used.
I really liked link2sd when I started using it, but eventually running out of space again, and constantly having to link apps got old. The script will move ALL of your apps without you having to tell it what to do, and your apps will still "think" they are installed on the phone, so widgets will work fine.
thanks!!!!!
Thanks guys!!!
I m now using int2ext+ by cronmod ....works perfect!!!!
very stable and smooth...:good:
:angel:

Categories

Resources