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!
Related
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
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.
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
I saw a thread on this last week, before I'd rooted the tablet, and can't find it any more. Please feel free to point me if my question's already been answered!
I have an A101It, so gen 8. I've just rooted it with the '-rw' method on here. Thing is, I can still only use the SD card for file storage - can't even move apps onto it - and would really like to know how to get the system using it as extra 'internal' memory. I might possibly be looking to use it as a swap file, I'm not clear on the terminology. At the very least I should be able to install apps to it, shouldn't I?
Can you do this with the root method I've used, or should I undo that and use uruk droid instead? Has anybody posted working instructions on getting some performance advantage from an SD card? (Or shall I just fill it up with 32gb of pointless home videos that nobody will watch?)
Not sure if i can help but ill try it anyways , did u try the ''app 2 sd'' apps?
I used them when my internal storage was full so i could move my apps to my SD card so i had enough space again.
Hope this helps!
Hi everyone, need some help
Since i want my device's RAM to increase, or atleast make it become less prone to overloads, i search around the web until i found this "Swap partition"
i wanna give it a try, tbh i am ready to do it, i have the steps, a free SD card, a device that supports it (i guess) and the apps required
however there is one problem...
It seems that i cant determine my SD card's class, as you can see in the picture, so am not sure if it will really work fast...
however i decided to include my SD cards benchmark (default option)
so ya guys, what do you think? Will it work for my SD card? if so what is the recommended size? 128MB or 256MB?
Thanks for reading!