Cyanogen App2sd script - huge problems! - Desire Q&A, Help & Troubleshooting

Hello xDA,
I'm trying to install/flash the legacy a2s script from Cyanogen to my Cyanogen 7 RC1.0 but without success. I've seen that there are no new files copied into the /sd-ext/ directory so I can't enable data2sd and cache2sd.
The error I get is the following after doing it in the Recovery.
"/sd-ext/userinit.d/11data2sdext-binds: not found
"/sd-ext/userinit.d/10cache2sdext-binds: not found"
Anyone got a solution for me? I would be really grateful for that!
I've got a FAT32+ Ext3 + Linux Swap partition. /sd-ext/ is mounted when I'm doing this.
Thank you!

try to download and install S2E (simple2ext) from market, it's special programm for CM7. works only with ext3

I don't like any app2sd method, I thing the best way to get more space for your apps is get S-OFF and flash CM7 hboot.

Related

[Q] Can't use App2SD+ with CM7

I've used the new CM7 stable for 1 day, everything's fine except I can't use the A2SD+, after I flash the rom & gapps, the internal memory is 11x MB free/ 148 MB total.
This is my first time flashing a mod rom, so maybe I did sth wrong when I flash it, plz help me to check the procedure, thx
My phone is: SHIP PVT1 S-OFF(by alpharev)
HBOOT 0.93.0001
1, I root my phone with Unrevoked 3.32 from unrevoked.com
2, S-OFF with Alpharev 1.8 from alpharev.nl (burning a bootable CD)
3, Before flash the rom, I partitoned the sdcard (Kingston 8GB) with sd-ext 1024 MB, swap 0 MB, then wipe all things I can with the recovery that Unrevoked gave to me, and factory reset, then flash the rom by select .zip file from sdcard
4, Boot into CM7 then turn off, and boot again to flash the gapps
that's what I did, but after all, my internal memory still decrease when I install any programs, and the sd-ext directory is empty when I check it by Root Explorer
Are there something wrong?
BIG THANKS!
Use s2e app in market. Enjoy.
Sent from CM7
I heard that if the SD card has ext partition, the A2SD+ will automatically enable after flashing CM7. Should I have to install a program to enable it? or is there some setting I should do in the CM setting? thx
wind4s said:
I heard that if the SD card has ext partition, the A2SD+ will automatically enable after flashing CM7. Should I have to install a program to enable it? or is there some setting I should do in the CM setting? thx
Click to expand...
Click to collapse
As far as I know, CM is no longer officially supporting apps2sd on ext partition (http://wiki.cyanogenmod.com/index.php?title=Apps2SD).
I'm using CM7 with Darktremor apps2sd - woks just fine
http://forum.xda-developers.com/showthread.php?t=715940
Simple2EXT is on the Android market. That works.
But once you enable the options, you have to restart and wait a while for the things to move around here and there. After doing so, your phone will function normally.
I haven't used any other scripts because this did the trick for me. Just make sure you have an adequately-sized EXT partition.
Meaple said:
Use s2e app in market. Enjoy.
Sent from CM7
Click to expand...
Click to collapse
THX, I got it work well
_BaTTi_ said:
As far as I know, CM is no longer officially supporting apps2sd on ext partition (http://wiki.cyanogenmod.com/index.php?title=Apps2SD).
I'm using CM7 with Darktremor apps2sd - woks just fine
http://forum.xda-developers.com/showthread.php?t=715940
Click to expand...
Click to collapse
THX, I wonder why they disable the support of app2ext in CM7, it's such a nice function to save the internal mamory..
the Darktremor installation seems a little bit complicated, I'll try it later, now I'm using S2E and it's easy to setup
aeoveu said:
Simple2EXT is on the Android market. That works.
But once you enable the options, you have to restart and wait a while for the things to move around here and there. After doing so, your phone will function normally.
I haven't used any other scripts because this did the trick for me. Just make sure you have an adequately-sized EXT partition.
Click to expand...
Click to collapse
thx, it's cool and easy to use
I think s2ext more stable than darktremor app2sd...my desire running cm7 stable release hboot cm7 table partition working great with s2ext/app2sdlegacy for cm7..

[HELP] APP2SD doesn't work in Desire HiApk V3.6 ROM

Hi guys,
yesterday I try to install a new ROM by djroobs team, the Desire HiApk ROM V3.6 (base CM7.0.0).
I found it very fast and stable, but unfortunately app2sd doesn't work!
I've partitioned the 16gb card in two; 512Mb ext4 and the remaining in fat32.
I've also tried to format the partitioned 512Mb in ext2 and ext3, always with Amon-RA Recovery 2.0.1, but the app link2sd (included in the ROM) return the error "Unable to create the script".
I have also tried ti install S2E (Simple to External) since the ROM is based on Cyanogen, but it doesn't work that way.
I noticed that in the settings of link2sd ext partition is unmounted
Someone has the same problem and can tell me how I can solve?
Thank you in advance who can help me!
P.S.: sorry for my bad english.
Marco.
Well as far as i can tell this is based on the official gingerbread sense rom and in no way on cyanogen mod?
But for your actual problem, i could not tell much from the app on the market, but it might require s-off, if it needs to place a script in the init.d folder. This might very well be your problem, and the reason the ext-partition is not mounted, is the lack of such a script, which mounts it on boot.
I would say the easy way is to remove the damn app and use a regular a2sd script instead.
Thanks for the replay!
Taking advantage of your kindness to ask you other two questions.
1) I download from the market a terminal emulator
2) I write this commands in the emulator:
su
a2sd check
a2sd reinstall
-reboot phone-
su
a2sd zipalign
a2sd cachesd
-reboot phone-
Is that correct? Obviously my phone is already s-off.
That probably won't work without the proper a2sd scripts in place(as far as i can tell this rom don't have any of those) Apparently it doesn't even use an init.d folder, so it is not very easy to run a custom script on boot.
That is probably because he meant for users to use the app, so i'll try to see how it works and report back, what might cause the problem. otherwise you can always edit the boot.img and make an init.d folder, where you can place an a2sd script.
edit: the app does indeed try to put a script in the init.d folder, which i cannot find on this rom, so it very likely wont work.(Please check if you have a folder called init.d in /system/etc/ and please check if this folder is mentioned in the bottom of /init.rc if it isn't, we will need to use a boot.img, which activates this folder)

Cyanogenmod 7 low space?

Hey I recently changed from an insertcoin a2sd rom where I had over 100mb worth of system space after moving most apps to SD. I've now moved the Cyanogenmod 7 which lets you move all apps to SD but I only have 55mb of space?
Is there any way to increase this space?
Sent from my HTC Desire using XDA App
You did already flash a2sd script, didn't you:
http://forum.xda-developers.com/showpost.php?p=10675412&postcount=2
If yes, go s-off and flash cm7 hboot:
http://alpharev.nl
Nice guide how to this;
http://forum.xda-developers.com/showthread.php?t=1016084 (STEP FOUR)
No warranty for any damage.
MatDroid, thanks. This also helps me.
I didn't realise you needed to flash a2sd in addition to the CyanogenMod 7 or CM7, which I am using. I switched from Leedroid, and it looks great.
I am getting low disk space warnings.
So, can I flash the Google or CyanogenMod A2SD they are talking about here AFTER I've been using the new Rom for a couple of days?
Second question, will this automatically manage my apps from internal to external storage for me?
Thanks!
Why not use something like Rom Manager to partition your sd card and s2e?
After flashing darktremor's A2SD script, I recommend to download a2sdGUI from market. With this program you are able to move apps and dalvik-cache to EXT partition. After a successfull reboot all apps you installed and the dalvik-cache are moved to EXT and all new apps will be automatically moved there.
To make sure everything worked (after the named reboot), you should download a terminal emulator from Market and enter these commands:
Code:
su
ls -l /data
Post the output here.
Great information!
Can I flash Darktremor's script after I've been using the CyanogenMod? Or do I need to reflash the ROM and start over from the beginning?
Where's a good place to go for Darktremor's script?
Thanks
Should work even you used the rom for a while. But make a nandroid backup, just in case. Check cyanogenmod-thread here on xda.
here is the link for the script http://forum.xda-developers.com/showthread.php?t=719151
yh you have to start from the beginning. wipe everything, than flash the rom and flash the script straight after
Cyanogenmod like to use thisapp2sd [Script/APK] S2E (simple2ext): app2sd for CyanogenMod7
As far as I know, after flashing the script (which I can highly recommend) the OP can follow my guide without wiping anything. Nevertheless, backups (Titanium Backup + Nandroid) should be created before doing anything!!
Thanks MatDroid, this helped a lot.

[Q] SD Card Ext Mount issues - INTERESTING clue but need help.

Dear enthusiastic helpful geeks
I have an interesting challenge for all those who are interested.
I am android fan, amateur and a doctor by profession.
I have 3 years old HTC Desire Bravo GSM
I rooted using Unrevoked 2 years ago and used CyanogenMod.
I have been using S2EXT app all these years to solve the well known internal memory problem.
I found Jelly Bean very interesting and flashed the VJ 4.2.2 CM10.1 V6.3
I just love it.
With terminal emulator, I used the commands as instructed and had this message.
$ su
# a2sd install
Found block device: /dev/block/mmcblk0p2
Removing flag a2sd
Removing flag ad2sd
Removing flag dc2sd
setting flag a2sd
/system/bin/a2sd: line 73: /sd-ext/.a2sd: Read-only file system
chmod: /sd-ext/.a2sd: No such file or directory
Would you also like to move DALVIK-CACHE?
You can later undo this with 'nocachesd' (y|n)
I came to know SD EXT is not mounted
Tried mounting sdext through ROM manager and got the message
E:Can't mount /dev/block/mmcblk0p2
(File exists)
I flashed back CM 7 reluctantly
SD ext did not mount at first.
I downloaded S2EXT and I had to tick the box which said Mount as ext4 (mount sd-ext as ext4 without journaling)
Now, the disabled options got enabled and I could ask for the movement of applications, dalvik cache and rest of the stuff to sd ext.
I have the log generated by S2EXT app about what happened.
Initialization...
Ext partition found: /dev/block/mmcblk0p2
Use built-in tune2fs
Use built-in e2fsck
Setup read_ahead value
Start mounting /dev/block/mmcblk0p2 as ext4
Setup options to /dev/block/mmcblk0p2:
tune2fs 1.41.12 (17-May-2010)
Checking /dev/block/mmcblk0p2:
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/mmcblk0p2: 839/262144 files (3.5% non-contiguous), 196501/1048576 blocks
Disabling journaling on /dev/block/mmcblk0p2:
tune2fs 1.41.12 (17-May-2010)
tune2fs 1.41.12 (17-May-2010)
Mounting /dev/block/mmcblk0p2...
/dev/block/mmcblk0p2 successfully mounted!
Config found on /data/data
Status dir not found! Create...
Config now on /data/data
Unmount /cache/download...
/sd-ext/download mount as /cache/download
Phone details
BRAVO PVT3 SHIP S-ON
HBOOT-0.93.0001
MICROP-051d
RADIO-5.11.05.14
Aug 10 2010,17:52:18
Unrevoked to root
Main and returned to CyanogenMod 7.2.0.1
ROM Manager
Clockworkmod revovery
S2EXT
GParted partitioning SD Card
1. Primary ~14GB FAT32
2. Primary ~1GB ext4
I want to use CM10.1 VJ version 6.3 and to be able to mount SD Ext and move apps to it so that my internal memory does not get full.
S2EXT can fix this issue but is not compatible with JellyBean. - How could it do? Can I do it somehow?
Why is that mounting SD Ext and moving apps is not possible on VJ version?
I am not so confident in using adb shell and other advanced stuff as advised in the forum.
Hence, writing all I know to see if someone can spot a solution and help me solve it in a simpler way.
Help me enjoy the Jelly Bean and make my Desire Re-Live !
[/FONT][/SIZE][/SIZE][/FONT][/FONT][/SIZE][/SIZE][/FONT][/FONT]
I suspect ROM manager may have caused a problem, it's a known issue that that app is bad for Desire. Mounting the ext-ext may have screwed it up somewhere.
Uninstall it.
I would backup the FAT32 bit of the sd card to PC, delete all partitions and repartition using gparted again, just in case. You can go for 1.5-2GB if you really don't want to run out of space.
Then reflash the rom, follow the instructions to use A2SD, don't bother with S2E anymore.
Up to you, I would also consider going s-off as well, it's a lot more advantageous. You can then do things such as change hboot for smaller ROMs and have even more space for apps. You could also install 4EXT recovery (see my sig), and do the partitioning using that recovery too.
Thanks a lot
Thanks Eddiehk6 for your wonderful advice.
ROM manager - I can uninstall it.
I tried S-Off using Revolutionary but it somehow did not let me pass with the Beta key (invalid key)
I will try again.
Advice on SD ext size is useful. I shall do it.
S2E does not work with Jelly Bean anyway
I shall try 4ext recovery.
Thanks once again.
I will update this for future reference of someone like me
gagbel
gagbel said:
ROM manager - I can uninstall it.
I tried S-Off using Revolutionary but it somehow did not let me pass with the Beta key (invalid key)
I will try again.
Click to expand...
Click to collapse
Yes, uninstall ROM manager. It's not all bad, just very bad with this phone, you don't need it.
As for the BETA key, just make sure you type it exactly, or copy / paste (but make sure you don't copy any leading or trailing spaces). Most likely you confused an i or 1 or L or O or 0 somewhere.
Update
Dear Eddiehk6
Thanks for the response.
I successfully S-OFF
You were right I mistook 1 l and I characters while using Revolutionary beta key. Also, I was wrong in putting IMEI number instead of the Serial number. Funny enough SN comes in the black window of Revolutionary.
I also installed 4EXT recovery as I became S-OFF.
Partitioned as per the tutorial in this forum.
Flashed CM10.1 VJ version as per the instructions.
A2SD Termminal emulator again had problems with mounting of SD EXT !
I used Mount2SD
Init.d script was not installed - when I installed it, moved the apps, they disappeared. I could not find the Play services also !
Memory was still consumed. Apps were there but not seen.
I finally gave up at early hours of the morning and went back to CM7 reluctantly.
The log from S2E has a clue. I just don't know how to use that clue.
Have a look above at the orange log of S2E if you can and see if you understand please.
My search tells me that I should have some adb shell knowledge to solve it and I don't !
I am ok with old ROM. Help me if you can to make my Desire live longer.
gagbel
gagbel said:
Dear Eddiehk6
Thanks for the response.
I successfully S-OFF
You were right I mistook 1 l and I characters while using Revolutionary beta key. Also, I was wrong in putting IMEI number instead of the Serial number. Funny enough SN comes in the black window of Revolutionary.
I also installed 4EXT recovery as I became S-OFF.
Partitioned as per the tutorial in this forum.
Flashed CM10.1 VJ version as per the instructions.
A2SD Termminal emulator again had problems with mounting of SD EXT !
I used Mount2SD
Init.d script was not installed - when I installed it, moved the apps, they disappeared. I could not find the Play services also !
Memory was still consumed. Apps were there but not seen.
I finally gave up at early hours of the morning and went back to CM7 reluctantly.
The log from S2E has a clue. I just don't know how to use that clue.
Have a look above at the orange log of S2E if you can and see if you understand please.
My search tells me that I should have some adb shell knowledge to solve it and I don't !
Click to expand...
Click to collapse
At least you're s-off now which is good
So how did you partition your sd card? I know you have 4EXT and it's easy to partition with that, but I would personally stick to gparted in this instance as you need to start from scratch, also you've used it before anyway?
Make sure you backup the sd card, then delete all partitions first (don't resize). Then make one FAT32 partition, and one (~1.5GB) ext4 partition, no swap.
Within 4EXT recovery there should be an option to check the partitions are aligned, do this (they should be if properly done in gparted, but worth a check)
Full wipe again, reflash rom just to be sure.
Try getting the terminal emulator commands working first, follow all instructions exactly. Don't use another app or script for now, start clean and get it working.
If you still get the error, /dev/block/mmcblk0p2 error, I think this may be related to a usb brick, not absolutely sure, there is 'USB unbrick' option within 4EXT as well, try that.
I am ok with old ROM. Help me if you can to make my Desire live longer.
gagbel
Click to expand...
Click to collapse
CM7 is still fine, just because it's 'old' doesn't make it bad, the Desire can still live long. Now that you're s-off you can even change hboot with that ROM and get more internal memory if you like, even more space for apps
I'm still on a GB ROM myself nothing wrong with it. Stable, battery is fine for me. Regardless you should still be able to get A2SD working.
Update
Thanks Eddiehk6
I would try all that you told me.
I had used 4ext recovery as I was exited with the S-OFF and Change of recovery status of my phone.
I would try and do clean start again and see.
The link I was mentioning which involves adb shell knowledge is the message #4 in this link http://forum.xda-developers.com/showthread.php?t=848967
recurrent theme is e2fsck. I don't know how to use these codes: Terminal emulator / adb shell ? But I would try your method as I can do them.
I would also check alignment through the recovery.
Mildwild download link is broken. I would try for JB first and then if no luck, I would try GB. Its just that in my nexus7, I am used to JB.
CM7 is most stable I have seen ( i have used only one ROM so far I am quite happy with it too.
Thanks for all the support.
gagbel
Another useful link
Another useful link which I don't know how to use as I don't have adb shell knowledge.
http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/#entry56396
Solved
Problem was with mounting ext 4 of my card
S2e could mount it
But s2e was not compatible with 10.1 of cyanogenmod
Hence I put 10 version
Used s2e to mount
It did not move apps
Used terminal emulator as per instructions by vj
All worked thanks all of you
Sent from my HTC Desire using xda app-developers app

[Q] Wildfire S SD partition/link2sd problems

Firstly I have read through every thread I can find with same problem but cannot solve this.
I have been partitioning a 16gb microsd card to be able to use Link2sd to move apps for more memory
The first partition is around 15gb Fat32 Primary
but it is the second partition I am having problems with ?
1gb Primary ext 2/3/4 and Fat32 I have tried them all and I still get the mount script error. In link2sd the scond partition is not mounted and does not show up at all in settings/storage or about phone/partition info
Android version 4.2.2
Kernel version 2.6.35.15-OWL-predator-v2.0 -gdb5e2e5-dirty
Cyanogen Mod CM10.1 release candidate v2.1 (owl project)
I bought this phone second hand with cyanogen mod already installed and fully rooted
Please help :fingers-crossed:
Here you go,
http://forum.xda-developers.com/showthread.php?t=2142844
Greetz,
I have managed to work my way through this thread and maybe I should try another like mount2sd first then Link2sd like Mikeyd125 posted
"For some custom roms and some phones like samsung galaxy ace plus gt-s7500. Partitioning the memory card using either the method above or using system recovery will not work as Link2sd is unable to create the mount script for the 2nd partition created.
An app from google play called Mount2SD is the solution as it has most of the mount scripts needed. However on installing it, it will uninstall link2sd.
once installed Mount2sd, install startup binaries and set the driver to EXT4.
Reboot phone.
Install Link2SD, create mount script using EXT4 and it will say ' success mount script created'
Leave Mount2SD installed as you have further functionality with it and it is required to manage the 2nd partition.
I searched for this solution a long time, so I thought I would share it "
Do you think this is worth trying ?

Categories

Resources