[Q] Data2ext - N00b questions - Legend Q&A, Help & Troubleshooting

Hi Guys,
I would have tacked this onto the back of an existing thread, but the only relevant ones I could find were in development (I’m still under 10 posts) – and this is more of a general usage question anyway.
I’m running CM7.0.2 and been I’ve been using Apps2SD (darktremor) for a month or so. The onboard memory for apps on the Legend is abysmal, so freeing space up and being able to have more than half a dozen apps is great. I was looking to take up Data2ext too. I’m still S-ON (I haven’t found a serious need for S-OFF yet, and I figure the less access I have to the bowels of my phone, the less likely I’m gonna brick it), so still using CWM2.x and obviously not running EXT4 yet.
Just wanted to ask a couple of stupid n00b questions before I try anything (I’d rather ask this now, then be posting “help I ****ed up my phone” later on).
- Am I right in believing that that data2ext only moves app data, not the apps themselves to the SD car so I need to continue using apps2sd as a companion script?
- Does data2ext need its own additional partition setting up prior – or does it create its own partition/utilize an existing partition? If there needs to be a preconfigured partition, any recommendations on how much space to allocate?
- Is there anything in particular that I need to know before I run through TGF’s guide (http://forum.xda-developers.com/showthread.php?t=902395)?
Thanks for the help guys!

data2ext will use the partition that darktremor currently uses, and you don't want to have dark tremor and data2ext on at the same time, funny things happen.
Data2ext remounts the entire data partition to a partition on the SD card. So anything that gets written to /data (apps, app data etc) goes to the SD card instead.
You need to know that this could go wrong, but I think the first post covers most of it.

That makes sense. I previously wasn’t sure if data2ext only moved app data only, and apps2sd still needed to be used to move the actual apps themselves. As that’s not the case, it’ll make things much easier not having to **** around with 2 different scripts to hopefully get them to play nicely.
I did actually end up stepping up to Blayo’s fake-flash CWM 3.0.1.3 yesterday; though I’m still trying to work out partitions/file systems with it – creating partitions in CWM recovery defaults to EXT3 with no option to set EXT4, and after manually creating an EXT4 partition in GParted CWM wouldn’t let me mount /sd-ext. As your initial post already details formatting /sd-ext to EXT4 anyway, it’ll be interesting to see how nicely this plays with 3.0.1.3.
Thanks for the disclaimer on the risks involved. Without intending to sound patronising; I’m well aware there is the ever present potential to really **** things up, and that I do only have limited knowledge compared to a lot of people posting on xda – which is why I try and get any/all information available before hand, and follow instructions given closely.

Coo'. Just shout if you need help, I'm subscribed to this thread so I should see it

Seems to have worked like a charm.
One question though – I know you can confirm data2ext is successfully running by launching "data2ext --enable" a second time after the final reboot, but is there any means to monitor the used/available space on /sd-ext?
Both Titanium Backup and a2sdGUI allowed me to keep tabs on this, but Ti is unable to see the /sd-ext partition now (I haven’t bothered installing a2sdGUI, not really any point).
It might be a small thing, but if possible I would like to be able to see it fill up, just to give me piece of mind all is OK.
*edit* scratch that last part, just noticed Android and Ti now sees the Internal Memory as a total combined capacity the internal memory + /sd-ext. Eitherway, I'm up and running

i no my question is noob but still.....i m using CM7 nd CWM 2.5.0.7....if i use d optioned partition ur sd card....is dat data to ext ? ndnd wat is swap size ? also how to check what claSS SDCARD I HAVE... I HAVE 16GB KINGSTON SDCARD!

I've a noob question too, if the sd card is partitioned to allow some internal apps to run on this special partition what is currently the safest procedure to do this?

tushar_beriwal said:
i no my question is noob but still.....i m using CM7 nd CWM 2.5.0.7....if i use d optioned partition ur sd card....is dat data to ext ? ndnd wat is swap size ? also how to check what claSS SDCARD I HAVE... I HAVE 16GB KINGSTON SDCARD!
Click to expand...
Click to collapse
The Class should be written on the Card.. in a circle..
Sent from my Legend using XDA Premium App

I got mine up and running last night... created a 1 gig partition for data... data2ext is active, but my phone is now SLOW as molasses. SD card is Class 10 and tests on a computer reveal it to be fast.
I'm at a loss.

Konowl said:
I got mine up and running last night... created a 1 gig partition for data... data2ext is active, but my phone is now SLOW as molasses. SD card is Class 10 and tests on a computer reveal it to be fast.
I'm at a loss.
Click to expand...
Click to collapse
The card probably doesn't handle small files very well. Class 4 seems to be the best bet for data2ext

You're kidding. Ugh! Maybe it was the method I used to format?

TheGrammarFreak said:
The card probably doesn't handle small files very well. Class 4 seems to be the best bet for data2ext
Click to expand...
Click to collapse
Seriously?
So are you using a class 4 with your own cm data2ext script and in ext2 or ext4?

Serious.. It is mentioned several times before by Blay0. Even a fast card will work very slow with data2ext. Why do you even need data2ext? Are you a developed? If not app2ad should beer enough for you... NInge really needs data to be on as i they are not often changing system files..
Sent from my HTC Legend using XDA Premium App

whitetigerdk said:
Serious.. It is mentioned several times before by Blay0. Even a fast card will work very slow with data2ext. Why do you even need data2ext? Are you a developed? If not app2ad should beer enough for you... NInge really needs data to be on as i they are not often changing system files..
Sent from my HTC Legend using XDA Premium App
Click to expand...
Click to collapse
easy man, i was just asking out of curiosity
i'm already using apps2ext and dont need data2ext, but it thought data2ext was slow on all card classes thats why i asked his setup just so i know

Hi,
Since this is a noob thread I'm feeling free to ask for help.
Somehow without any knowledge I've managed to Root my Legend, Flash roms numerous times, make my Legend S-Off, twig and play with different options like splash screen and all sorts of stuff that you need a bit or more of development knowledge. I'm a psychologist - I have no knowledge whatsoever.
Now that I've flashed ogo2's rom found here - http://forum.xda-developers.com/showthread.php?t=987251, I have cut down internal space to about 20MB+-.
I need help with this whole data2ext, ext2/ext4 and all the commands I've never met in earlier development stuff I've done to my Legend.
Where do I start? Is there anywhere I can read a noob guide for these issues?
Please help!
reupugi
edit: Oh I forgot - I have 8 GB class 4 card.

What help do you need? Understanding what it is and how it works? Or just setting it up.
Are you planning on using the data2ext found in my thread, or somewhere else?
Sent from my Legend using XDA App

Hi TGF,
I need help mainly with setting it up. I have no intention learning developing through trying here and there to implement different things others created.
My intention was to use the data2ext you created.
At the moment I've changed back to the nightly builds of CM7 (currently #153), since I had sync problems with ogo2's ROM. So I'm not so pressured space wise, but I'll still be glad to go through with the Data2ext.
Thanx,
reupugi

Ok, well the guide in the first post covers most of it, is there a specific bit you're stuck on?
Sent from my GT-P1000 using XDA App

It assumes I understand how to create ext2 or ext4, or to choose between the two. DO I have to backup my SD card when I create an ext2/4 partition?
Where do I use the commands in your post of data2ext?

reupugi said:
It assumes I understand how to create ext2 or ext4, or to choose between the two. DO I have to backup my SD card when I create an ext2/4 partition?
Where do I use the commands in your post of data2ext?
Click to expand...
Click to collapse
You do need to backup your sd card, our you lose all your data. Rom manager has an option for creating ext partitions on your sd card, and I'd go for ext4, as it's safer. There's a section in that thread on upgrading from the ext2 version. Create your position with rom manager, then follow that section through. The commands can be executed on the phone using a terminal emulator, or from the pc using adb.
Sent from my GT-P1000 using XDA App

Related

Move apps to sd

Guys I need some clarification around app2sd or indeed apps2sd, apps2sd+ etc etc...
Basically whats the differnece? I know some versions only allow certain apps to be moved buts whats the apps2sd+ method ? and how do I go about getting it ?
I dont have masses amounts of apps but my current method (app2sd) only allows certain apps to be moved....I want to move all and app data if poss ?!
cheers in advance
rtorbs said:
Guys I need some clarification around app2sd or indeed apps2sd, apps2sd+ etc etc...
Basically whats the differnece? I know some versions only allow certain apps to be moved buts whats the apps2sd+ method ? and how do I go about getting it ?
I dont have masses amounts of apps but my current method (app2sd) only allows certain apps to be moved....I want to move all and app data if poss ?!
cheers in advance
Click to expand...
Click to collapse
I am not aware of any apps + data to SD. I must ask though, why are you so keen to move stuff off /data?
Remember that there is no advantage in having lots of free /data space, so you're better making use of it. If you have so many apps that you need the space, then look at apps2sd and dalvik2cache or dalvik2sd, since that stores the dalvik cache onto the SD card too.
Also, what method are you using? You should be using the EXT method rather than the froyo method, as that stores all apps on the SD card, and doesn't listen to the developer's preference about storage.
I don't know what apps2sd+ is that you talk about though, as I don't recognise the term. Do you mean apps2sd + dalvik or something like that?
pulser_g2 said:
I am not aware of any apps + data to SD. I must ask though, why are you so keen to move stuff off /data?
Remember that there is no advantage in having lots of free /data space, so you're better making use of it. If you have so many apps that you need the space, then look at apps2sd and dalvik2cache or dalvik2sd, since that stores the dalvik cache onto the SD card too.
Also, what method are you using? You should be using the EXT method rather than the froyo method, as that stores all apps on the SD card, and doesn't listen to the developer's preference about storage.
I don't know what apps2sd+ is that you talk about though, as I don't recognise the term. Do you mean apps2sd + dalvik or something like that?
Click to expand...
Click to collapse
Yeah sorry mate its probably my inexperience on all things android showing here....
Basically Im using the EXT method, 0 swap, 512 ext3 and rest Fat32 i think? coupled with the sam lu version of app2sd and tbh its fine its just I received the latest update for it which now shows which apps are 'phone only' so only really came to light recently....
I currently only have 11 apps 'on SD' with 37 on 'phone only' (maybe 55 apps in total) and wondered if this was normal ? or have I set something up wrong ? Phone memory shows 104.58mb free from 165.75mb....
So approx 1 in 4 apps are being moved to sd shall we say (please dont shoot me other the maths either lol)...surely im going run out space within the next 100 apps if 50 apps to date has used approx 60mb (cant see it happening though as i dont see myself installing that many) or is the majority of the used data used for other processes ?
Just trying to get my head around the whole thing thats all....and was wondering if you could realistically have 200+ apps as mentioned in multiple threads.
And as for the apps2sd+ maybe that was an error in the way i read/interpreted a thread so ignore it....
Irrespective everything works fine, was just curious thats all
Hold on... can you check, as I think your apps are all being held on the SD card just now.
Using a file browser, go to /system/sd and check out the app folder. Compare the contents with /data/app and see if it matches.
Remember the dalvik cache and data use up space, so dalvik2cache or dalvik 2 sd should be next on your list if you want hundreds of apps.
I think you are just getting told apps are on phone when they are on SD, since android can't tell when you are using this apps2sd method or not
pulser_g2 said:
Hold on... can you check, as I think your apps are all being held on the SD card just now.
Using a file browser, go to /system/sd and check out the app folder. Compare the contents with /data/app and see if it matches.
Remember the dalvik cache and data use up space, so dalvik2cache or dalvik 2 sd should be next on your list if you want hundreds of apps.
I think you are just getting told apps are on phone when they are on SD, since android can't tell when you are using this apps2sd method or not
Click to expand...
Click to collapse
edit - Right I must have seriously done some thing wrong here? using astro to check /system/sd is empty and there is no /app folder fullstop within /data ? WTF?!
I have just flashed FoydVillain 1.5 but have since restored all apps and got back to a point where I was when I subbed this post...blagged !
Ive gone back to the drawing board and revisited the 'newbie guide to rooting' thread and doubled checked the apps2sd instructions, I want to run the gscript check to see if its set up right but cant find the check.zip file thats mentioned in the guide (says its attached at bottom?! but I cant locate it) where can I get it from otherwise?
cheers
Use the vr wiki article to get the script. Click wiki and search apps2sd.
Did you use a file browser with root BTW?
pulser_g2 said:
Use the vr wiki article to get the script. Click wiki and search apps2sd.
Did you use a file browser with root BTW?
Click to expand...
Click to collapse
Cheers Ill have a look today....
Can you expand on 'a file browser with root' though please, I have a file browser and root access but not sure what you mean....
Ta mate
Sent from my HTC Hero using XDA App
Ive managed to run the check script through gscript and apps2sd is working but without dalvik-cache but at least its a start....will now look at sorting that cheers pulser!

[Solved] Memory shortage

Hi,
I am new here and did my best searching but couldn;t find a conclusive answer so i just need some suggestions about a way forward.
So far using Froyo's move to SD implementation I have managed to gain some space on the phone for more apps but i am still running out. I also have to use the slow Apps 2 SD application.
So my problem is I want more space for apps. Using adb, setting the install location to SD card helps provide some more but i have hit that limit too.
So, from what i've read so far, there is another symbolic link based method, that creates a partition on the SD card and then the phone appears to think its still on the phone.
I have a stock ROM and would prefer not having a custom ROM for now. What would be the suggested way of getting Apps2sdext functionality? I mean like installing a package after rooting.
I have read about rooting, and apps2sdext also seems to need root. But i'd really appreciate if somebody could drop some links as to what I could do. Here are my thoughts of what they might be:
Root phone
Format SD card with partitions
Install a2sd
Another question: is there no way of using Gparted, etc to resize partitions and create the ext4 partition on pc? As in before taking it to the phone? that way no need to reinstall some apps.
Ok so for now I see I can use Z4Root to root my phone. So i've sorted that part out.
I also saw on DarkTremor apps2sd page that stock roms need a custom init.rc. Where are the instructions for that?
gontadu said:
Another question: is there no way of using Gparted, etc to resize partitions and create the ext4 partition on pc? As in before taking it to the phone? that way no need to reinstall some apps.
Click to expand...
Click to collapse
I'm not quite sure. I'm not an A2SD user. But, here are my hunches/ideas/opinions:
I suggest you partition with the partitioner in the recovery image. A2SD may have trouble finding the ext partition when the layout is quite different from what it expects, though I'm not quite sure.
As for not having to reinstall apps, this is what I did prior to installing A2SD:
Move all apps to phone memory
Backup
Partition SD
Flash A2SD
Install A2SD (yes, I had to manually launch a2sd scripts --')
Done
Works as intended, but I've found that there wasn't a significant increase in free phone memory storage, but I'm very sure a2sd was applied.
So I went back to native A2SD.
Which leads me to say: I suggest flashing a custom ROM with A2SD integrated
Idk, maybe I just didn't give A2SD some time. Just try it out.
Hmmm interesting! Still digging up more info as i go along...
Ok so far I installed, z4root and it installs fine and does the whole root and restart thing.
Now when i browse from adb shell i still get the $ prompt and not the # prompt. But when i go into z4root it provides options for re-root and un-root...
UPDATE: well i found out that once the shell opens as $, you type su. When you do that look at your phone and accept the superuser request, otherwise permission denied appears on the pc screen. now i have the # prompt!!!
UPDATE: Got Clockworkmod running now! and exploring a2sd... i give up. cannot find a concise thing that says here's the script that you use after doing the clockworkmod. what do i do???
Hi,I came from megatron rom and is using CM7 rom now.Not sure partitioning of sd card work on stock rom but you can try.
Disclaimer: I'm not responsible for anything that happens to your phone! Below is what I did.
Instructions: Download DarkTremor Apps2sd.zip file.
Then,Backup all your sd card contents on your PC.You MUST backup as partitioning of sd card will wipe the whole sd card.
Reboot in recovery and select partition sd card > Partition sd card again> Swap Size:Choose 0 (I'm not sure what the other numbers will do.) > Then 512mb for the next option.Then it will start partitioning. > After you're done,upgrade ext.2 to ext.3 > Then upgrade ext.3 to ext.4 > After that,connect usb or take out sd card and put DarkTremor apps2sd.zip file in the root of your sd card and then flash it!
DONE AND PROFIT!
Your internal storage should decrease very slowly because your apps are now 'tricked' into being installed on your sd card Hope this helps!
Sorted my problem out!!
Gonna post details asap! So excited
gontadu said:
Sorted my problem out!!
Gonna post details asap! So excited
Click to expand...
Click to collapse
So you did my method or what?
Nope actually not. Found a simpler method that's easier for noobs.
So here goes in very short since I don't have links
1. Split memory card into two partitions. I used 1GB. I did the partitioning on Ubuntu as it was much easier to just resize the partition using gparted. I am not sure what file systems are supported for the apps but i used ext3 for the 1GB. Backup should not be necessary but you are welcome to be careful
2. Root phone with z4root, very straightforward process
3. Install Link2SD from Android Market.
4. Once its installed, it'll prob ask for root permissions. Grant them.
5. Open Link2SD and in the list, one by one for each app you'd like to move, select and it opens a page with some details. Just click on create link, and in the next page an option for moving cache also shows. Select that too. Then the app gets moved in the background and slowly your space starts increasing.
6. I did not move any preinstalled apps that came with the phone. Just moving the apps I installed gave me plenty of space not to worry with App 2 SD (froyo method) or anything. Also with this method, mounting for USB Mass Storage also gets quicker.
What's there not to line?
Always do a nandroid backup! I didn't as i didn't think much of an app.. my phone went into continued android logo loop. After several tries of battery pull,I managed to get into the phone but many of my apps went missing.. sighz...
Running Stock rom
Sent from my LG-P500 using XDA App
yanuk said:
Always do a nandroid backup! I didn't as i didn't think much of an app.. my phone went into continued android logo loop. After several tries of battery pull,I managed to get into the phone but many of my apps went missing.. sighz...
Running Stock rom
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
You mean the backup option that is there in clockwork mod recovery menu right? I screwed up the files once and the backup came in real handy!
Sent from my LG-P500 using XDA App
It may not help you but I was using megatron rom froyo 2.2 and had barley any memory space on my phone and since I flashed CM7 rom from milk I have tons of space I have twice as many as many apps and stol 100 megabits left
Sent from my LG-P500 using XDA Premium App
Just curious, on a scale of 10 how hard is it to get cm7 onto your optimistic? And any clue whether existing settings are lost? Any other benefits? And features missing? It would be nice if we either got more battery life or better performance if not both
Sent from my LG-P500 using XDA App
I use a stock ROM (2.2.1) and I have rooted and installed "Move2SD Enabler" from the market and moved all the apps to SD (except for widgets) in the plain simple old fashion. I currently have over 150 apps installed with about 90MBytes of internal memory free.

[Q] Easiest way to expand app storage space

Hi guys. I've reached my breaking point on the anemic app storage space on our handy dandy little device. So far I've avoided any real mods for this device because I didn't want to start a new habit of flashing on the regular (been there, done that, fun but sometimes time consuming). But right I can't install any large programs without having the constant low space message. So if the only real functionality I need is an extended app storage partition what method would be best to achieve that. Thanks in advance everyone.
dancnpete said:
Hi guys. I've reached my breaking point on the anemic app storage space on our handy dandy little device. So far I've avoided any real mods for this device because I didn't want to start a new habit of flashing on the regular (been there, done that, fun but sometimes time consuming). But right I can't install any large programs without having the constant low space message. So if the only real functionality I need is an extended app storage partition what method would be best to achieve that. Thanks in advance everyone.
Click to expand...
Click to collapse
I think there is only one way: Urukdroid.
I thinks its the only way to extend app partition Try it
Okay follow up question, should I then get a ne SD card as mine is only class 2, or should I install on internal. Pros?cons? Again thanks
dancnpete said:
Okay follow up question, should I then get a ne SD card as mine is only class 2, or should I install on internal. Pros?cons? Again thanks
Click to expand...
Click to collapse
Install on sd card is better if you want more space on your tablet
But otherwise i prefer install on internal
There is a thread in here somewhere in which a fella found that gen8 devices keep a cache of old APK files. I cleared out that cache and it fixed all my maddening app storage problems. Look for that thread.
I tried finding the thread you mentioned with no luck, any idea what to search for?
I just spent a good 20 minutes searching and couldn't find it either.. weird. I'll see if I can't find the directory on my own when I get home.
Can you get a temp root? That's necessary.
Knowing there is an answer is half the battle.
I found .apk's in internal \Downloads directory and \system\APK. I didn't even have to use adb, just mounted the disks and used explorer.
I can confirm that deleting them doesn't hurt anything. However, there really wasn't that much and it didn't help my sort of storage issue.
I haven't tried this on my A101 yet, but Link2SD http://market.android.com/details?id=com.buak.Link2SD should work. You will have to create a second partition on your internal storage or SD card though.

SD card with 2 partitions not detected !!

Hi all.
First of all, I apologize if my post already exist.
I have a prob with my sd card that can't be recognized with the achtojan ROM downloaded from this post http://forum.xda-developers.com/showthread.php?t=1151933.
My sd card is configured to be using with link2sd (2 partitions, one with FAT32 that have almost all my datas and applications saved in it , and the other in ext2).
The question is, what can I do to make my sd card recognized with both FAT32 and ext2 because I wanna to use link2sd again, whether with this ROM or with any other ROM having this prob.
Thanks for your precious help.
Guantanamo said:
Hi all.
First of all, I apologize if my post already exist.
I have a prob with my sd card that can't be recognized with the achtojan ROM downloaded from this post http://forum.xda-developers.com/showthread.php?t=1151933.
My sd card is configured to be using with link2sd (2 partitions, one with FAT32 that have almost all my datas and applications saved in it , and the other in ext2).
The question is, what can I do to make my sd card recognized with both FAT32 and ext2 because I wanna to use link2sd again, whether with this ROM or with any other ROM having this prob.
Thanks for your precious help.
Click to expand...
Click to collapse
First of all nothing to do with development, second a few threads down is a simular topic if you had searched and 3rd why not take it to the Dev's thread of whose rom you are using, i am sure he not bite.
http://forum.xda-developers.com/showthread.php?t=1177442
smartgardens said:
First of all nothing to do with development, second a few threads down is a simular topic if you had searched and 3rd why not take it to the Dev's thread of whose rom you are using, i am sure he not bite.
http://forum.xda-developers.com/showthread.php?t=1177442
Click to expand...
Click to collapse
Thanks for reply, but, the prob in the post you suggested to me isn't the same. And I won't format my sd card, because I've a lot of things in it, and it will be a hard work to copy all in my pc, and before all, I wanna to use link2sd with the ROM I use, whether if it will be the achtojan ROM or any other.
Please, if there is something that can i do, let me so. Thanks.
Guantanamo said:
Thanks for reply, but, the prob in the post you suggested to me isn't the same. And I won't format my sd card, because I've a lot of things in it, and it will be a hard work to copy all in my pc, and before all, I wanna to use link2sd with the ROM I use, whether if it will be the achtojan ROM or any other.
Please, if there is something that can i do, let me so. Thanks.
Click to expand...
Click to collapse
Use mini tool data recovery this will repair your card without losing data, can be found here it's free for home users.
http://www.powerdatarecovery.com/
This might sound obvious but next time backup your sd card first before partitioning, even though it says it wont interfere with your data. I had the same problem but luckily i had a backup.
I think that you did not well understood my problem. The fact is that my sd card already works on another ROM without any issue, it has just to be detected with the ROM that I use at present, here it is.
Guantanamo said:
I think that you did not well understood my problem. The fact is that my sd card already works on another ROM without any issue, it has just to be detected with the ROM that I use at present, here it is.
Click to expand...
Click to collapse
Look buddy i gave you the link and the answer you are looking for in my first post to you, do some searching and reading, here is the post in that thread that solves your issue.
http://forum.xda-developers.com/showpost.php?p=15824115&postcount=12
also it applies to the same rom you are using.
Look dude, I saw you that there are big big big differences between the problem in the post you suggested to me and my problem. First : I have in my sd card 2 partitions (one in FAT32 with lot of datas and the other one in EXT2 for use of link2sd) and the sd card have to be detected, but the poste have just a problem with formatting his sd card. Second : my sd card already work with another ROM with no issue, if I reflash to the other ROM, it will certainly work with no prob of detecting. Third : I wanna to rest with the ROM I've flashed actually (I mean Achtojan's ROM) and fixing this issue if somebody can help without formatting the sd. That's all.
Thanks for your tries to help, but it seems that you don't understood my request the first time, then you tryed with something useless in our case. Anyway, Thanks for your tries again.
Why don't you just copy all your data to your pc, delete your partition, restore your data and then use the rom you want, why have you issue in formatting your sdcard?
Sent from my X10 using XDA Premium App
It is a known issue for ALL custom ROMs.
They actually mount the 2nd partition of the SD -if there are more than 1.
Being an ext2, it's not recognised by the system as storage space.
So if you want to use a custom ROM, Link2sd is a NO-GO.
You need to reformat your SD into a single FAT32 partition. That's the way it is.
Also, I have wrote this exact same post more than 10 times. So, the question has already been asked. Using Search is not always easy but it pays off eventually. Please make the effort next time.
Xperia X10i via Tapatalk
This is a general problem in EVERY 2.2+ ROM for X10
My guess is that the new vold (known also as "vold2") that manages the storage devices is not properly configured.
My_Immortal and me were the ones who tried to find an actual cure for the root of the problem, but both of us ended up PMing the devs
Try to write a nice message to Zdzihu, Jerpelea or even DoomLord(that guy surely has some knowledge as well) and cross your fingers
Till it's not fixed try to stay on 2.1 as the new Gingerbread update is on its way... hopefully.
oops, someone was faster than me... or I was just polite to let the girls be the first
i will again say what everyone else has said before.
link2sd has problems with custom rom's so far.
check my sig for details on how you can have multiple partitions and still get your card detected in custom ROMs
however basic problem is X10 checks the last partition (should be vfat) mounts it as /sdcard
link2sd takes /sdcard partition number and add's a 1 to it to get ext2 partition. (which could not exist)
on top of that xrec will take first partition as /sdcard when you boot to sdcard.
so thats a mess as of now.
i tried vold and other stuff also all in vain even tried contacting the dev behind link2sd asknig him to add a option to select partion but no reply so far.
hope this helps in solving your query.
In the droid forums, there are a thread that speak about this problem too, and many people searching solution managed something to make sd card detecting, but I am not very advanced in the subject, thus I cannot say about it more. Maybe that some of you who know a little more in the subject can find something useful for us there.
The thread in question is here :
http://www.droidforums.net/forum/cyanogenmod/129723-ultimate-apps2sd-thread.html
Thanks.
Guantanamo said:
In the droid forums, there are a thread that speak about this problem too, and many people searching solution managed something to make sd card detecting, but I am not very advanced in the subject, thus I cannot say about it more. Maybe that some of you who know a little more in the subject can find something useful for us there.
The thread in question is here :
http://www.droidforums.net/forum/cyanogenmod/129723-ultimate-apps2sd-thread.html
Thanks.
Click to expand...
Click to collapse
thanks for the link
quick check suggests some modification at rom or ramdisk level might solve issue.
lets not jump to conclusion. if i do get some time off work this weekend , i will try and see what exactly is going on and can give you a response on that.
anantshri said:
thanks for the link
quick check suggests some modification at rom or ramdisk level might solve issue.
lets not jump to conclusion. if i do get some time off work this weekend , i will try and see what exactly is going on and can give you a response on that.
Click to expand...
Click to collapse
even a "patch" in hw_config.sh file should do the trick... but i am not 100% sure
DooMLoRD said:
even a "patch" in hw_config.sh file should do the trick... but i am not 100% sure
Click to expand...
Click to collapse
ohk sorry to OP first i am hijacking this thread
@Doom, just thinking out loud.
I don't have required tools till next 3-4 hrs
i just need to check how link2sd is mapping (once again last exercise was month back so forgot all of it.)
we can see what volume label he is using to mount the partition and can use hw_config.sh or a new file say /system/etc/init.d/99sd_ext2.sh just about anyname till it has 99 in front making it last item to run.
and add code to mount the partition we want to be mounted in our predefined location that should make it work.
Hope that can work. but will need to check and same as i did last time i will again have to go 3 partitions way.
anantshri said:
ohk sorry to OP first i am hijacking this thread
Click to expand...
Click to collapse
No problem mate, take your ease. It can help a lot of people.
I've read little in the thread, but as I said it, I am not really very advanced in the subject, and I can make nothing . I can just say to you that with a buddy and the help of this subject, and after a lot of tries, we were able to make his sd card detectable on his phone (an HTC mytouch 3G slide), but I don't rememeber what we have done, and the solution was just temporary. In rebooting the phone, it was necessary to do all again from the beginning, which we were not able to make due to our limited knowledge .
As now, I hope that you or any other person can make anything useful for all people around here.
Thanks for your efforts.
PS : I've temporary returned to EWJET ROM that is already configured for use with a sd card parted. Maybe Erickwill can help too. Good Luck.
ohk a quick check
if something is mounted on /data/sdext2 then link2sd thinks it has found the second partition
what i did was
1) created a temporary img file 100 MB
2) did a loopmount of img file on /data/sdext2 folder
3) link2sd working.
(I know i am lazy i don't want to format my card just wanted to help all as much as i can.)
now this was test so what we are missing here
1) we need a way to automatically mount a pertition on /data/sdext2
2) we will still need 3 partition on sdcard as my last experiment was to check the same and we if want to use ext2 we need
vfat-ext2-vfat to the minimum.
last being your sdcard
first being your recovery sdcard
and ext2 partition used by link2sd
3) tried hw_config.sh as suggested by DooMLorD
even checked /system/etc/init.d/
they all seem to be executing well before sdcard gets mounted or not at all.
so this is where i am stuck and right now out of time need to focus on other tasks.
hope someone can find a way around to this.
NOTE : EWJET ROM are 2.1 rom if i am not wrong. 2.1 roms do support link2sd as of now its basically the problem of 2.2 roms.
I will try your method with the three partition, but I have a question, how to make the third partition detected in windows for copying all my datas in it.
The method with three partitions don't work too. I'm really confused now.
Sent from my X10i using XDA App

[Q] About Partition and Swap?!?!?!

hi people!! im impressed one more time with the new rom 2.1.9!! but i have a question related to one of its new features which i dont understand very well... i hope some one has a little time to explain it with details to help me and other people who may have these same questions...
first of all whats partition and swap? i suppose partition is to take a part of ur sd card for aps and all this stuff, but swap?
second... i dont have any partition and i always move lots of aps to sd card without problem,then,why should i do a parition? is there any advantage in doing it?? in that case, is there a guide around here to do it in an easy way?
and finally.. swap! what is it for? is there advantages in doing it? in that case what are them and how could i do it in an easy way?
i hope some one could have a moment to explain it a little bit but please as clear as possible,taking into account im a full noob in this topic... and if anyone have more questions related to this topic post here if u want...
i would just like fully understanding all the functions, possibilities and goods of my x10 mini and this incredible rom...
thanks everybody who wants to help!!!
About swap and partition, actually I've tried it both, but it just makes my device slower (even on class 10 SD card)... Maybe, the explanation of this issue is because our phone already use up speed reading files and programs installed on SD card, so swap just makes it any harder...
I tried partitioning my sd card with swap file, using swapper, swapper2, but the best result is when I don''t partition my sd card at all..
Then, the next question perhaps : then why are there swap availability ? That I can't answer...
Sent from my U20i using XDA App
StardustGeass said:
About swap and partition, actually I've tried it both, but it just makes my device slower (even on class 10 SD card)... Maybe, the explanation of this issue is because our phone already use up speed reading files and programs installed on SD card, so swap just makes it any harder...
I tried partitioning my sd card with swap file, using swapper, swapper2, but the best result is when I don''t partition my sd card at all..
Then, the next question perhaps : then why are there swap availability ? That I can't answer...
Sent from my U20i using XDA App
Click to expand...
Click to collapse
thx for ur answer!! at least u can talk from experience... the fact is that i feel my phone runs amazingly without these swap and partition things... but as u say, taking into account they are available i wanted to know if it would be even better for my phone to try them.
however watching ur results i will stay without swap and partitions, because i have all i need in my phone and still free space
thank u buddy!

Categories

Resources