• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Darktremor A2SD for Prevail [Updated 5-7-12]

@ leftnut26 , sorry it took me so long to get back in here . I see you ended up getting some help . As for setting you size above 512M , I really think anything over 1G is overkill . Just my opinion . Glad Optimus and Inigomon were in here ta help ya . Peace
 
So I went further into to rabbit hole to do some more investigating and it seems to just keep going. I stopped counting at 12 folders in. Would some one mind look into the /system/sd/app, or any of those folder and let me know?
let you know what? that they dont do that on ours?
 
Could it be due to this script?

#!/system/bin/sh
# DARKY ROM 2011
# Much faster zipalign.

# Changelog:
# 1.2 (17/1/11) Added /data/zipalign.db file for faster apk check (ninpo,Bo$s)
# 1.1 (12/1/09) Switched to zipalign -c 4 to check the apk instead of MD5 (oknowton)
# 1.0 (11/30/09) Original

LOG_FILE=/data/zipalign.log
ZIPALIGNDB=/data/zipalign.db

if [ -e $LOG_FILE ]; then
rm $LOG_FILE;
fi;

if [ ! -f $ZIPALIGNDB ]; then
touch $ZIPALIGNDB;
fi;

echo "Starting FV Automatic ZipAlign $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE

for DIR in /system/app /data/app ; do
cd $DIR
for APK in *.apk ; do
if [ $APK -ot $ZIPALIGNDB ] && [ $(grep "$DIR/$APK" $ZIPALIGNDB|wc -l) -gt 0 ] ; then
echo "Already checked: $DIR/$APK" | tee -a $LOG_FILE
else
zipalign -c 4 $APK
if [ $? -eq 0 ] ; then
echo "Already aligned: $DIR/$APK" | tee -a $LOG_FILE
grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB
else
echo "Now aligning: $DIR/$APK" | tee -a $LOG_FILE
zipalign -f 4 $APK /cache/$APK
busybox mount -o rw,remount /system
cp -f -p /cache/$APK $APK
busybox rm -f /cache/$APK
grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB
fi
fi
done
done

busybox mount -o ro,remount /system
touch $ZIPALIGNDB
echo "Automatic ZipAlign finished at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE
 
Thanks. Now I just have to figure out why mine is like that and how to fix it.


Don't know what others would do but I would backup apps w/ Titanium , wipe everything and start from scratch reinstalling ROM and everything . Don't know how that happened on yours but that's really screwy . It'll take a lil time but it would be worth it . :D

Come to think of it ..... since you're having trouble w/ apps ...... I may even go as far as to reinstall everything manually not even using Titanium . Your call .
 
guess you could delete all recursive folders, reboot a few times and see if they come back. then do it again without that script and check results. i've not seen this happen before.

EDIT: the a2sd script has a zipalign function built in. you could check that one to see how it's handled with the symlink.
 
guess you could delete all recursive folders, reboot a few times and see if they come back. then do it again without that script and check results. i've not seen this happen before.

EDIT: the a2sd script has a zipalign function built in. you could check that one to see how it's handled with the symlink.


Thanks, I'll let you know what happens.
 
Ok so I fixed the issue. Not sure of the cause, but I was able to just delete all the unneeded folders. Just a quick question, what scripts in the init.d folder are for a2sd other than the obvious script?


Addition: Isn't there away to move data to the sd-ext as well?
 
Just an update:

I installed the new ctmod2.5, rebooted phone, booted back into cwm and ran the a2sd instructions and still have the same result....maybe a2sd just isnt for me and/or my phone :(
 
Just an update:

I installed the new ctmod2.5, rebooted phone, booted back into cwm and ran the a2sd instructions and still have the same result....maybe a2sd just isnt for me and/or my phone :(

try re-installing ctmod 2.5 then install KoumaKernel 1.2 and see what your space looks like. that should eliminate any need for an a2sd app
 
did you format the partition after the fresh install?
fresh install, factory wipe (this will also format sd-ext), wipe dalvik, mount partitions, flash script. if that doesn't work, then your phone hates you :p
 
I'n nor sure if this has already been answered but I've been having a problem. I'm on shabbymod .9 and shabbykernal and I followed all the steps but when I got to the app and I press "apps are on internal storage" a screen pops up with "are you sure?" I press yes and a screen with working appears with "changing settings" and in the background the button says apps are sd and then stops and a split second later has working again and then says "reading settings" and stops and seems like nothing happened. Has anyone else had this problem? If so please help. Thank you in advance
 
Just an update:

I installed the new ctmod2.5, rebooted phone, booted back into cwm and ran the a2sd instructions and still have the same result....maybe a2sd just isnt for me and/or my phone :(

i just tried ctmod 2.5 and kouma's 1.2 and decided to try a new partition size. 5.0.2.7 did not partition my card the first time, or the second...or at all. i reinstalled 5.0.2.6 and it partitioned.
i then tried 5.0.2.7 again and it's working fine now.

i hadn't changed my partition size in a while so i didn't think of it but it may be the same problem you're having. flash cwm again and give it a go.
 
Back
Top Bottom