[fix] DTa2sd on AOKP/ICS - EVO 4G General

People have been having problems getting DarkTremor's A2SD script working on the latest builds of AOKP (ever since milestone 5).
Symptoms:
Reboot when attempting to install apps from Market or restore from TitaniumBackup
Cause:
The FAT32 partition is being mounted instead of the EXT2/3/4 partition. I don't know why.
Solution:
All of the main recoveries use the partitioning scheme 1:FAT, 2:EXT, 3:SWAP. Taking advantage of this, I patched DTA2SD script to mount the partitions based on the order. This seems to fix the problem and has worked for others.
Some have had trouble using this along with firerat mod. I suggest trying without firerat first.
I made this patch a few versions ago and posted about it on another forum:
rootzwiki.com/topic/17872-aokp-supersonic-may-24-build-37-404/page__st__560
You can see the feedback from people who have tried it already.
Download:
fishburnenterprises.com/android/dtapps2sd-2.7.5.3-beta04-fishburnmod.zip
Good luck!

have had sucess with the a2sd from jm's cm9 port also assuming the same one as team dirts since they are pretty close lol (duh i know but thought i'd state it) anyways thanks for this too will give it a go next flash lol

Related

[Q] CyanogenMod and Partition Questions

Hey Guys,Me again,with more question on hand.Thanks in advance for all answers given.
Before the questions,Here's what my WF is currently running : Wildpuzzle(the latest Froyo one),Overclock Kernel from the old wildpuzzle thread.
1)I'm thinking of changing my ROM to CyanogenMod 7,so can someone tell me exactly what are nightly builds and the differences between the nightlies and RC2?
2)Which version of CyanogenMod 7 is most stable? (With the least bugs and with most original functions like FM Radio and WIFI tethering included)
3)Will it be faster and more responsive than my current Wildpuzzle that uses LauncherPro?
4)When I installed Wildpuzzle like a month ago,I partitioned the SD card once.(although it doesn't seem to make much of a space differences with the Stock ROM when all the apps are installed back again)So can anyone explain how partition really works,how some people can have dozens of apps installed and still have 100+MB left and do I have to re-partition when installing CyanogenMod?
Thanks again in advance for your patience.
1) Nightlies are automated builds made by build bots. They contain minor (sometimes major) code changes, and, are experimental releases. RC's are release candidates, and, normally, stable enough for release.
2) Stick with RC2 for now. Nightly #22 should be the better one if the 3G bug is fixed, but, #22 is not released yet. Also, if, you get a bootloop with RC2, flash Jacob's kernel v4.1. Again, this bug will be removed in #22.
3) It should be. Can't really say for sure though, since, this is a subjective thing. For me, moving from Wildpuzzle to CM7 did seem to speed up everything. (After I switched from the default ADW to LP, it was more smooth). Besides, just for the level of options and customization you get, I would say it is worth it.
4) You need to flash DTApps2SD as well after partitioning. Simply partitioning will not make the apps move to the SD Card. Also, if you have a fast SD card, you can consider moving the Dalvik cache to your SD card as well, implying that no phone memory will be used at all when you install apps. You need not repartition again if you already have one.
Thanks for the reply
2)I've read somewhere on the forum that nightly 17 is better and more stable than RC2,is this true? and what are the major bugs in RC2 and what is missing in it(things that can currently be done on Wildpuzzle but not on RC2) and where can I find Jacob's 4.1 Kernel?
4)How do I know if I have a fast SD card? and where can I find DTApps2SD?
1) Don't know really. Since I have not tried #17 myself. Anyway, it looks like #22 is out. I'll be trying that, since it uses a newer kernel compared to Jacob's kernel and should fix the 3G bug. Anyway, just FYI, Jacob's kernel can be found here: (Repeat: Do not flash this if you are using a new nightly over and including #21)
http://forum.xda-developers.com/showthread.php?t=798471
2) You will have to remove the card and check it. Apart from the card vendor's name and capacity, there will be a number surrounded by an almost full circle. This number will be 2,4,6 or 10. For moving everything including the dalvik cache to SD card, it is recommended to have atleast a Class 4 SD Card, else it may potentially cause slowdowns.
DTApps2SD can be found here:
http://forum.xda-developers.com/showthread.php?t=925982
You can check the "Commands" Page (Link given in the thread given above) for instructions on how to use it.
EDIT: 3G Fix didnt happen in #22, but, you can still use it and flash this fix immediately after flashing the CM ROM:
http://forum.xda-developers.com/showpost.php?p=12157846&postcount=3531
1)I just flashed CM7 RC2 earlier today along with Jacob's 4.2 kernel,so what do I do now if I want to install nightly 22?
2)ok,I've checked and it's a class 4...How do I transfer Apps to Sd using Darktremor's A2SD? Through the standard method or with Titanium Backup?
FrydaeXIII said:
1)I just flashed CM7 RC2 earlier today along with Jacob's 4.2 kernel,so what do I do now if I want to install nightly 22?
2)ok,I've checked and it's a class 4...How do I transfer Apps to Sd using Darktremor's A2SD? Through the standard method or with Titanium Backup?
Click to expand...
Click to collapse
If you have already setup as per your liking, then, simply wipe cache and wipe dalvik cache under advanced partition. However, because this has a new kernel, I think it would be better to wipe data and do a factory reset as well.
Just flash the dtapps2sd ZIP file as you flash a ROM. If you want to move the dalvik cache to the SD as well, open terminal emulator, type the following:
su
a2sd
a2sd cachesd
Thanks and I've decides to stick with RC2 for now,so i've re flashed RC2,Google Apps,the 4.2 Kernel and DTa2sd...So how exactly does DTa2sd work?Like when I use Titanium Backup to restore all my apps does it go to sd automatically or there is some process to transfering it
Not aware of the Titanium Backup Process, since, I dont use it. But, what I do know is that when you flash the ZIP, the apps are moved then. But, if you have already flashed Dtapps2sd, and then restore from Ti Backup, it should go to the SD.
Anyway, you can check the thread for its functioning. Its explained much better than I can.
Em,How do I know if my SD is partitioned correctly,cos I did the a2sd check command and all I get are lots of codes ending with permission denied
FrydaeXIII said:
Em,How do I know if my SD is partitioned correctly,cos I did the a2sd check command and all I get are lots of codes ending with permission denied
Click to expand...
Click to collapse
Make sure you type su in your terminal emulator app before running that. This requires Superuser privileges.
Also, another noob way (lol) to check if it is partitioned properly is to go to check the size of your SD card. If it shows the full capacity, it is not partitioned. If it shows the capacity excluding the size of the EXT (eg: Default 2GB + 256 MB EXT will show SD card capacity as 1.60 GB), then, it is correctly partitioned.
Ok,I've checked everything and all seems to be running well,Thanks for all your help
Dammit,New problem...After installing CM7 everything runs fine and after I keep rebooting for everytime I flash something new(GApps,Kernel,DTA2SD),it reboots fine but after restoring my apps and rebooting it,It's stuck at the cyanogenmod bootscreen with the blue arrow(it's called Bootlooping right?) How do I fix this? I really like CM7 and don't want to go back to Wildpuzzle

[Q] external storage problem

I use an ext4 extension all the time,
but the 3 latest builds I installed, each from different devs, which all support ext4, don't work with my card. before it worked so I don't get it.
Is there something I might overlook?
also, can I create a data.img? because I think that is build specific? I can't really find the answer I googled for a few days now but I'm not getting any solution atm.
Maybe you could try flashing DarkTremor's A2SD, and then in Android Terminal Emulator entering the command su, then a2sd reinstall, but doing so will format your ext4, wiping all your apps on the ext. Just a last resort idea, I'd try everything else first, and if you do this, don't use one of DarkTremor's newer beta A2SD scripts.
Sent from my HTC HD2 using XDA App

[script][old][already build inCFROOT]Gingerbread Darktremor a2sd for sgace

Thanks To ysgace and all dev.
this is not my job, just made easy to share.
So it's taken a lot of reading from a number of different places but I figured out how to modify the boot.img in the Odin CODE tarball in order to flash with an edited init.rc. I realize that with this power I could have simply built a2sd into the boot.img but one step at a time. So for now, if you want a2sd for Gingerbread (S5830XXKPE) then files and instructions can be downloaded using
http://www.multiupload.com/TBACWA4ZBH
Follow That step included
http://forum.xda-developers.com/showthread.php?t=1120168
fixed a2sd_enabler.sh.. thanks to tineprogramming
this is the easiest way.. just go to this>> CFROOT
Better Choice >>PSN CLEAN ROM
>>[KERNEL][STOCK GB 2.3.x] 06-11-2012 PSN>> Kernel Memory-Modded SWAPALL v3.0 & SuperSU
Give credit To them who build the best development.
Will this work with VillainROM?
and is this just a script or the entire Rom(modified for apps2SD) itself?
It did not work for me!
have anyone try it yet? review pls
guys i want this on my have i am on villianrom and have also created a ext 2 partition but getting access denied in dos prompt please help me guys please
Still trying for dark tremor
modified rom only work for extream a2sd hihihihi... still find the answer how to port dt on gingerbread
Hey budddy thanks a ton I used darktremors script and then used the APP2SD GUI now the question I have is in settings i can see 168 MB internal storage free, and when i look at titanium backup i can see the following
System ROM : 218 MB (43.3 MB Free)
Internal 189 MB (176 MB free)
SD Card 13.9 GB (10.4 GB Free)
SD card (a2sd) 1.91 GB (1.82 GB free)
my dalvik cache is on sd card so is settings displaying improper info or titanium backup please advice
DO NOT INSTALL THIS ROM I ENDED UP CURRUPTING UP MY 16GB SDCH CARD .. I HAVE GIVEN IT FOR REPLACEMENT.. I HOPE THEY REPLACE IT...
sorry for caps...
imranaryan said:
DO NOT INSTALL THIS ROM I ENDED UP CURRUPTING UP MY 16GB SDCH CARD .. I HAVE GIVEN IT FOR REPLACEMENT.. I HOPE THEY REPLACE IT...
sorry for caps...
Click to expand...
Click to collapse
Was not working for me as well tried for 3 days finally i created a 2 GB EXT2 partition and then rooted the phone and used this and works like a charm
the script never worked for me
http://forum.xda-developers.com/showthread.php?p=12069632#post12069632
hypergamer1231 said:
Was not working for me as well tried for 3 days finally i created a 2 GB EXT2 partition and then rooted the phone and used this and works like a charm
the script never worked for me
http://forum.xda-developers.com/showthread.php?p=12069632#post12069632
Click to expand...
Click to collapse
so do you have a2sd by Darktremor?
Whenever i try to create an ext2 partition in my sdcard, it is not being mount and i get a warning saying that the card should be formatted. if i give yes, it gets formatted as one single partition of FAT32.. Please help
I used MiniTool Partition Wizard Home Edition in windows for partitioning
for partitioning use gparted
Before upgraded to gingerbread ROM, it was 2.2.1 where there is a app name "link2sd" free from market, which it mount ext2 partition of sdcard and move per apps apk file to sdcard, of ext2 partition, this is more flexible then Darktremor.
Where with Darktremor, the external sdcard will never able to hot remove from phone and plug it back. Which make external sdcard pointless. remove sdcard card will kill / reboot the phone, given without sdcard, phone can not start up. Also slow performance issues.
Where link2sd allow you select large apk only link to external sdcard, when unplug sdcard the phone still works without reboot / halt.
http://www.xda-developers.com/android/move-selected-apps-to-sd-with-link2sd-app/
cheers
James
keijames said:
Before upgraded to gingerbread ROM, it was 2.2.1 where there is a app name "link2sd" free from market, which it mount ext2 partition of sdcard and move per apps apk file to sdcard, of ext2 partition, this is more flexible then Darktremor.
Where with Darktremor, the external sdcard will never able to hot remove from phone and plug it back. Which make external sdcard pointless. remove sdcard card will kill / reboot the phone, given without sdcard, phone can not start up. Also slow performance issues.
Where link2sd allow you select large apk only link to external sdcard, when unplug sdcard the phone still works without reboot / halt.
http://www.xda-developers.com/android/move-selected-apps-to-sd-with-link2sd-app/
cheers
James
Click to expand...
Click to collapse
Sadly it doesn't work on Gingerbread. It's a pity, this app is a must to whom owns an ACE.
dur09 said:
for partitioning use gparted
Click to expand...
Click to collapse
i agreed, always succeed with gparted
mastrone said:
Sadly it doesn't work on Gingerbread. It's a pity, this app is a must to whom owns an ACE.
Click to expand...
Click to collapse
me too, i didn't try darktremor a2sd yet... hope it works for gingerbread sgace 2.3.4
arronov said:
me too, i didn't try darktremor a2sd yet... hope it works for gingerbread sgace 2.3.4
Click to expand...
Click to collapse
I tried on KPH ROM (2.3.4) and it doesn't work either...
I tried too, and didn't work
Anyone got this to work already on 2.3.4 KPH?
mohdnurr said:
Thanks To ysgace
this is not my job, just made easy to share.
So it's taken a lot of reading from a number of different places but I figured out how to modify the boot.img in the Odin CODE tarball in order to flash with an edited init.rc. I realize that with this power I could have simply built a2sd into the boot.img but one step at a time. So for now, if you want a2sd for Gingerbread (S5830XXKPE) then files and instructions can be downloaded using
http://www.multiupload.com/TBACWA4ZBH
Follow That step included
http://forum.xda-developers.com/showthread.php?t=1120168
fixed a2sd_enabler.sh.. thanks to tineprogramming
Click to expand...
Click to collapse
Great job!
It is possible to do the same thing with 2.3.4 KPH?
I found so many noobs here in ace forum and so little developers and I want to help you. I come from optimus one forum and i like to help.
You need a custom recovery to create an ext partition and to make darktremor a2sd to worked. Amonra or clockworkmod recovery is the best. Then create an ext partition whether ext2, 3 or 4 then flash dta2sd from the darktremor a2sd thread here in xda(search it). The latest ver is 2753 beta 04.
Remember, without ext partition the dta2sd will not worked.
To check if your a2sd is working, download terminal emulator, press su then enter then type a2sd check.
Or download titanium backup agd check if it says a2sd space=???
Or the best way to check is by a2sdgui app, it is a official app from the dta2sd itself. If it says apps are on sd, then your a2sd worked. And if you guys still reducing memory even after moving apps to sd via a2sd gui app, its time to put the dalvik cache to your sdcard.
Fuh, thats a lot of writing on my phone. I love to help because i will buy galaxy gio soon.
Or maybe you guys should take a look at optimus one forum and learn how to make a custom kernel and rom there. Theres a very good thread on guiding how to build a custom rom and kerne. Im pretty surprise so many noobs here. Like i said i really like to help to improve this community
Sent from my LG-P500 using XDA App

[Q] A2SD+ not working

Hi,
Sorry if this question gets posted too many times but I am downloaded [12-Sep-201][MAG/cLK][CWM] NDT GINGER V16.0 [CM Nightly 2.3.5][Kernel: Tytung r12] which states A2SD+ is in list of features (and I think this is supposed to use my 1gb ext3 partition as internal memory) but I only have 153mb after installing a few small apps. I know my old rom gave me about 900mb free, and am lost as to how to fix this.
Any help would be great.
Many thanks.
But your SD card got a sd-ext partition?
Try to use "s2e" from the market to enable your sd-ext partition.
i've tried it on the desire of my girlfriend and it works... it is still working
Im having same problem over multiple roms using hyperdroid a2sd+ seems to work fime but tried the experia arc rom and another and both have no a2sd+ although chefs both say its supported
I have totally wiped phone and sd card re-partitioned and formated
i have a 1gb ext3 partition but using a2sdgui gives error saying a2sd script not found or ext partition not found when i do in fact have one ?
You guys could always try flashing A2SD to the ROM from CWM recovery. Just do a forum search for Darktremor A2SD
Use the 2nd to most recent version, the most recent has never worked for me
If you can't find it, let me know and I'll attach it in a post on this thread.
Edit: Got bored and came back and attached it. Just flash it via CWM
thanks very much m8 ill give it a whirl
forgot to mention, after you flash it, go into terminal emulator and enter: a2sd reinstall
it should say a bunch of stuff, then reboot. then it'll take a long time to boot up cause it's moving everything to your ext3 partition and creating symlinks
app2sd is working fine with me.. i have only one issue.. all those apps shifted to ext partition, are auto starting up and i cant disable them!!! i used most of apps that used to block startup apps. but those in ext partition keep showing up and slow down starting up of the device! any idea???
huggs said:
You guys could always try flashing A2SD to the ROM from CWM recovery. Just do a forum search for Darktremor A2SD
Use the 2nd to most recent version, the most recent has never worked for me
If you can't find it, let me know and I'll attach it in a post on this thread.
Edit: Got bored and came back and attached it. Just flash it via CWM
Click to expand...
Click to collapse
Do I have to delete the previous version,I think mine is a custom one because the A2SD Gui doesnt work
phelenon said:
Do I have to delete the previous version,I think mine is a custom one because the A2SD Gui doesnt work
Click to expand...
Click to collapse
No, you don't have to delete it. The zip should automatically remove any previous scripts.

[Solved] Data2SD on ICS causes device to hang on bootscreen

Hello,
I've installed ICS now without any problems, but after installing the data2sd script and then rebooting my phone gets stuck in the boot animation. Even though it's very beautifull eyecandy it really isn't doing much for me.
I did a full wipe! Clear data/factory reset, Clear dalvick cash, etc. Also Task 29 and used HD2 toolkit to create 250MB system partiton with 5MB cache
First I formatted my SD card (8GB class 10) with MiniTool Partition Wizard 7 completely as FAT32 then I partitioned it (with CWM recovery 4.0.0.0) to 2048MB EXT3 with 256MB Swap, formatted that partition again in MiniTool to EXT3
Then I flashed the ROM (NexusHD2-IceCreamSandwich Beta6) to my device without any problem. Booted ICS, rebooted into recovery and flashed Data2SD installer wich didn't give any errors either.
Booted again and now it's stuck in bootscreen, I've waited for at least 45 to 60 minutes before removing the battery and try everything again all over, but with an EXT4 partition just like Yank555 did.
I followed the instructions from this post without flashing APP2SD Killer first since that causes the market to 'hang on app install'
I know there are people how got it to work so it must be something I did wrong! Can anyone give me some good advice?
BTW FYI, I did previously use TyphooN Gingerbread 2.3.3 CM7 A2SD with 1GB EXT partition without any problems...
Hi,
For me it seems you're doing it right...
Your ext4 partition IS a primary partition ? I suppose yes, since CWM will do it that way when you use it to partition your SD card.
Just to be sure, you did reformat the ext3 partion to ext3, or the swap ? I don't know how DATA2SD will react to finding 2 "sd-ext" partitons (more than one ext2/3/4 partiton), never tried that before... If you don't intend to use any swap, you'd rather leave that one out in CWM (choose 0Mb)...
JP.
PS: If you want to use swap (hard swap on a swap partition) I can explain to you how to do that. If you want to do it using a swapfile (once DATA2SD is up & running, you can have a look here).
Tanks for your reply. I don't have much time this weekend due to Christmas shopping and everything But I determent to get this to work! And I won't stop till I do. I'm using this ROM for every day and I just need more space. I found there are more people with the same issue as me, so when I get it to work I'll post my findings in the main development threat as well. But I'll make sure to give you all the credit that is due...
Fixed it! Did had to use sort of a "work-around" but it's working and it's all good! That's most important! If anyone else is looking for the solution for this problem, this is what I used and what works for me!
http://forum.xda-developers.com/showpost.php?p=20439320&postcount=2379
Please give thanks where they are due, that is to the original poster offcourse and not me!
The fixed work-around is App2SD rite? I think it will be good if we can get Data2SD working. I think the latter is faster.
I also read some managed to get Data2Ext working in Tytung ICS Beta7 already. See this http://forum.xda-developers.com/showthread.php?t=1403710
PPKLP said:
Fixed it! Did had to use sort of a "work-around" but it's working and it's all good! That's most important! If anyone else is looking for the solution for this problem, this is what I used and what works for me!
http://forum.xda-developers.com/showpost.php?p=20439320&postcount=2379
Please give thanks where they are due, that is to the original poster offcourse and not me!
Click to expand...
Click to collapse
Yank555 said:
Hi,
For me it seems you're doing it right...
Your ext4 partition IS a primary partition ? I suppose yes, since CWM will do it that way when you use it to partition your SD card.
Just to be sure, you did reformat the ext3 partion to ext3, or the swap ? I don't know how DATA2SD will react to finding 2 "sd-ext" partitons (more than one ext2/3/4 partiton), never tried that before... If you don't intend to use any swap, you'd rather leave that one out in CWM (choose 0Mb)...
JP.
PS: If you want to use swap (hard swap on a swap partition) I can explain to you how to do that. If you want to do it using a swapfile (once DATA2SD is up & running, you can have a look here).
Click to expand...
Click to collapse
hey HD2 expert !! i have the same prob over here , installed data2sd after flashing the rom and stuckin at the boot screen ,,
-anyone find a solution !!!!!!

Categories

Resources