Too many a2sd a2sd+ app2sd, really confused... - Desire Q&A, Help & Troubleshooting

I'm really confused, first with all the different a2sd variants and ones that are made by Darktremor or other people or the FroYo version. This is as much as I know for this app.
Secondly, I really couldn't find any information on doing partitions manually or setting ALL partitions to ext since I have a linux box, I really don't care to use windows to copy over files or whatever. I have a VMware box to do that on my windows machine anyways.
Third, the ClockworkMod recovery has NO options to do the partition following Darktremor's faq, and I don't know if I should install another recovery after flashing my hboot to 0.93 S-OFF (Alpha)
Mind you I only had my android for about 6 days and this is my first one, so learning curve is hard.
Please help

1) the names can be confusing but old apps2sd is an ext partition on your SD card that appears to the system as internal storage. Froyo apps2sd is using Froyo to transfer mapps to the fat32 partition (normal partition) of your SD card. You just need to use context because people tend to use apps2sd for both.
2) you can use gepart to partition. You need a fat32 partition for apps to write to and for any personal data because Android looks to that partition for that kind of data. I have my SD card as 5 gb fat32 and 3 gb ext3. Fat32 goes first.
3) go to ROM manager. Partition SD card. Choose size....there is only 3 sizes though.
If anything I wrote is wrong I'm sure I'll be corrected.

Sorry to hijack the thread, but since this is related to a2sd in general I might as well ask it here. What's the effect of having a2sd+ on your battery? Would it lower battery life due to cache and apps being stored mainly on SD instead of internal memory? I observed that this was often the case when I store always-on apps on SD back on my old Windows device.

So no way of not using a fat32 eh?
It still seems I don't have much space left after using the Rom manager way. I have 120meg free on internal mem.
Could I just format using linux mkfs? I want to make the apps partition about 2GB to hold more apps. Though it seems some widgets can't take putting on SD card, it dissipates.

BriEE said:
So no way of not using a fat32 eh?
It still seems I don't have much space left after using the Rom manager way. I have 120meg free on internal mem.
Could I just format using linux mkfs? I want to make the apps partition about 2GB to hold more apps. Though it seems some widgets can't take putting on SD card, it dissipates.
Click to expand...
Click to collapse
Widgets must be installed on internal storage, or they wont work.

If you want an easy method to make a ext 3 partition use ROM manager premium from the Market. It will make you automatically an ext3 partition with a maximum of 512 mb which is enough (put swap to 0). Just keep in mind that first inside ROM Manager you need to select the option Flash ClockworkMod Recovery, and after that go to the SD partition option otherwise it wont work. And also remember you need to have the PREMIUM version otherwise it might not work
Now if you want to have more than a 512 mb you can use gparted. It is a livecd which means that can work on linux, mac or windows just reboot with the cd inside and is quite straightforward to use. Hope this helps.

Hello guys, any thought about that issue maybe?
http://forum.xda-developers.com/showthread.php?t=816098

Related

Official Froyo A2sd vs A2sd+

Hey guys
Im on holiday now so cannot really check myself the differences, but just wanted some quick info on the A2SD, with the official froyo i was hoping everybody will start using it, but somehow people still using the old method, whys that?
thanks
Froyo A2SD is completely reliant on app developers. If the devs doesn't allow it in their app then it can't be moved to the SD card. This is really only a problem because Froyo is still new.
Old A2SD you can dump everything on the SD
However, I'd be interested in seeing if there is a way to force an app onto the nand using A2SD+. Would work better for things like widgets, home replacements etc, as they'd run quicker for people with slow sd cards.
Probably because the FroYo one sucks !
Why ? Well, mostly because devs have to rewrite their apps so they can use FroYo's app2sd function...
With the "old-fashioned" a2sd, there is no need to do anything, just sit and enjoy the free space
APP2SD allows you to move certain apps to your SD card and run them from there BUT as these are placed on the normal root of the SD when you mount the SD, via USB for example, you loose access to these apps until you remount SD. This means you cant install widgets to the SD and such like.
APP2SD+ on the other hand uses an ext3 partition (or ext4 on newer versions) which then installs all apps & widgets to that partition and when the SD is mounted you dont lose any apps or widgets as is located in a seperate partition.
Hope that helps.
Sent from my HTC Desire using XDA App
Sent from my HTC Desire using XDA App
wow! thats quick thanks for you input guys think you explained everything i wanted to know really
Id want to use the offical a2sd as i think using ext3 partitioned sd card have already slightly damaged the card cuz it keeps giving me errors everytime i connect it to a pc
mrwookie6379 said:
APP2SD allows you to move certain apps to your SD card and run them from there BUT as these are placed on the normal root of the SD when you mount the SD, via USB for example, you loose access to these apps until you remount SD. This means you cant install widgets to the SD and such like.
APP2SD+ on the other hand uses an ext3 partition (or ext4 on newer versions) which then installs all apps & widgets to that partition and when the SD is mounted you dont lose any apps or widgets as is located in a seperate partition.
Hope that helps.
Click to expand...
Click to collapse
So let me understand the names:
APPS2SD = Froyo Original (comes with official Froyo release)
APPS2SD+ = Hacked version which has been out since FRF50 leak?
EDIT: But if APPS2SD+ is so much better (keeps apps on ext3 partition), why to people keep using the original APPS2SD on their ROMs?
Check this explaination. Quoted from neoKushan from yesterdays thread.
neoKushan said:
Ok, so here's the deal, in a very longwinded way that should hopefully explain everything and answer ALL questions.
You have an SD card in your phone and, a bit like normal PC Hard Drives, you can "partition" them (split them into two or more sections of different filesystems). Normally, your SD card is just one big FAT32 partition, which is fine for storing your pics, messages, emails, etc.
Now, other then your Phone's SD card, your phone will have its own internal flash memory (or "NAND") storage. Tradditionally with Android, you could only install applications to this NAND storage, you cannot install them onto your SD card. So if you have an empty 32GB SD card, but only 5Mb of internal phone storage, you still wont be able to install many apps, if any at all.
This was done to protect the apps from things like piracy - it's not easy to access the location where apps are installed on your phone's internal storage (normally impossible without root), so you can't for example buy an app, copy it, refund it, then install it again.
Still, this is no good for those of us who like to install lots and lots of apps, legitimately, as we run out of internal storage very quickly.
So Google came up with a way to install apps to the SD card. A folder is created called something like .android_secure and this stores (I believe) encrypted versions of applications, but there's a few catches:
1) Apps aren't automatically stored here, you have to manually "move" them
2) Not all apps are capable of being moved, in fact most apps aren't, the developer needs to update their app and allow it. Some apps aren't and wont be updated and some developers may not want to allow it for whatever reason.
3) Not all app data is moved, most of it is but some data is left on your phone so many people still run out of internal storage quickly.
4) You can force ALL apps to be moved to this area by default, but it breaks incompatible ones - such as Widgets, which are unable to load due to the SD card not being "prepared".
So that's Froyo's version. Before Froyo existed, some very clever people came up with a thing called "Apps2SD". Remember I said that your SD card normally is one big FAT32 partition? Well, Apps2SD works by having your SD card patitioned into TWO filesystems. A normal FAT32 partition for your usual stuff and a secondary "EXT" partition. EXT is just a filesystem, like FAT32 or NTFS, but it's the filesystem used by Android internally. The SD card is normally FAT32 because it's a "universal" filesystem, that just about any machine will be able to read, whereas EXT filesystems are generally Linux only, but I digress.
EXT has several different versions. The most common one you'll see is ext3. The main difference between ext2 and ext3 is "journaling", which is just a fancy way of saying that should an operation (such as copying, writing or reading) be interrupted unexpectedly (say, by you turning your phone off), then no data should be lost or corrupted. You know how when you turn your phone on, it says "preparing SD card"? It takes a few minutes, but what it's actually doing is checking that the FAT32 partition hasn't been damaged, because FAT does NOT have journaling. If you used a computer back in the Windows 98 days, you may remember that lovely blue "Scandisk" screen that had to run every time you didn't shut your computer down correctly - that's the same thing. But then Windows 2000/XP came along with NTFS, which also has journaling, meaning you had less chance of loosing data. But I digress once more.
So you have your SD card partitioned into EXT and FAT32. Generally it doesn't matter if it's ext3 or ext4, but you don't get any real advantage with ext4 over ext3 in this instance. Apps2SD then runs a special script on your phone which "symbolically links" the folder from your phone's internal storage where your apps are normally stored, to the ext partition on your SD card. A symbolic link is a bit like a shortcut for folders, except it's transparent to the OS: In other words, Android doesn't know that when it's installing it's apps to the internal phone storage, it's actually being stored on the SD card. This effectively boosts your internal phone memory from the previous 5mb that you had in my example above, up to whatever size you made the ext partition on your SD card (often 512Mb or 1Gb, but it depends on how many apps you install).
Plus, because it's "journaled", it doesn't need to be "prepared", meaning it's ready to go as soon as the phone starts - so your widgets and apps work immediately (unlike "forced" Froyo Apps2SD, where widgets disappear).
The catch with Apps2SD is that whatever space the ext partition takes up is taken away from the SD card. So if you have a 4Gb card (with something like 3.5Gb of actual storage) and you make a 512Mb ext partition, your SD card will "shrink" to 3Gb. The space isn't actually lost, it's just being used by the ext partition. If you reformat your card, you'll get it back.
Finally, there's a difference between "Apps2SD" and "Apps2SD+". Remember I said that your apps are stored on a special folder inside your Phone's NAND storage? Well, that was a bit of a lie. It's actually stored in TWO places. There's a second area which is called the Davlik Cache. You don't really need to worry about what this is for (Hint: IT's to do with the Java runetime your phone uses to run apps), all you need to know is that apps use it to store data, which also eats up internal phone memory. Apps2SD+ moves davlik cache to the ext partition on your SD card as well, freeing up even more space. Some people believe that this may come at the cost of performance, as the internal NAND memory should be faster than your SD card (Which is why you also get people arguing over which "class" SD card is better for Apps2SD - the logic being that a faster SD card means less impact from this move), but the truth of the matter is that your applications will be running from your Phone's RAM anyway, so performance isn't really impacted at all. Since most apps are only a few hundred Kb's in size, or a couple of MB at the most, it's a non-issue.
Finally, any recent version of Apps2SD/Apps2SD+ should work with an SD card that is or isn't formatted with an ext partition. It'll check for this partition when your phone first boots and if it's not there, just use internal phone storage.
Having an ext partition WITHOUT Apps2SD+ shouldn't cause any issues, either, so you can format your SD card whenever you're ready.
So in summary:
Apps2SD "fakes" your phone's internal memory and puts it all on a hidden section of your SD card.
Apps2SD+ pushes even more content to the SD card, freeing up even more space on the phone itself.
"Froyo" Apps2SD has various limitations that "old" apps2SD does not, but is much easier to handle as it doesn't involve any kind of "partitioning".
Click to expand...
Click to collapse
That's a great summary, thanks for that!
But... how can I create an ext3 partition on a new SD card? I don't want to use ROM Manager because that has a maximum of 512Mb for ext3, I want to make 1gb or more.
Also, what size should I make swap partition?
Vice83 said:
That's a great summary, thanks for that!
But... how can I create an ext3 partition on a new SD card? I don't want to use ROM Manager because that has a maximum of 512Mb for ext3, I want to make 1gb or more.
Also, what size should I make swap partition?
Click to expand...
Click to collapse
You can do that thru recovery-windows.bat by going thru recovery mode by volume down + power, go to recovery then when the red exclamation point appears just run the recovery-windows.bat by double clicking on it. You can get these files from r5-desire-root-alt from the rooting process files (search the forums for this if you don't have it). But be cautious cause when you partition your sd card, all your files will be wiped so make sure to backup everything you need. Cheers!
Edit:
Actually this summary about the ap2sd and ap2sd+ and froyo ap2sd should be stickyed for everyone, so it would not be ask over and over again.
Couple of extra ways to partition:
1) Flash AmonRA's Recovery to your phone (I used Unrevoked to do it)
2) Use GParted on a Linux LiveCD (e.g Slax) to partition your card exactly how you want it
Vice83 said:
That's a great summary, thanks for that!
But... how can I create an ext3 partition on a new SD card? I don't want to use ROM Manager because that has a maximum of 512Mb for ext3, I want to make 1gb or more.
Also, what size should I make swap partition?
Click to expand...
Click to collapse
ROM Manager is probably the easiest way to do it, but I was stuck with EXACTLY the same problem when I rooted. I chose to flash AMON Ra recovery (don't have the link, but you can google it up), and then used that to create a 1024MB ext partition. Then used AMON Ra again to convert the ext partition to ext3. Hope that helps.
However, one question I have regarding neoKushan's explanation is that if I did create a 1024MB ext3 partition, then the same capacity should be visible in the phone's internal memory. However, after I rooted and restored my apps, I could only see about 100+ MB of free internal memory. Can anyone help me with this please? Am using the Opendesire Official Froyo 1.0c ROM that has A2SD built in
deepdevil said:
ROM Manager is probably the easiest way to do it, but I was stuck with EXACTLY the same problem when I rooted. I chose to flash AMON Ra recovery (don't have the link, but you can google it up), and then used that to create a 1024MB ext partition. Then used AMON Ra again to convert the ext partition to ext3. Hope that helps.
However, one question I have regarding neoKushan's explanation is that if I did create a 1024MB ext3 partition, then the same capacity should be visible in the phone's internal memory. However, after I rooted and restored my apps, I could only see about 100+ MB of free internal memory. Can anyone help me with this please? Am using the Opendesire Official Froyo 1.0c ROM that has A2SD built in
Click to expand...
Click to collapse
I'm not sure about what exact capacity for the internal memory after partitioning to ext3 but when I was on Opendesire before for the eclair 2.1 after I'm done flashing the rom and setting up the whole ap2sd+ my internal memory was 410mb. I used:
swap=0
ext=1024
fat32 is for the rest of the card
Then after upgrading to froyo rooted ROM, I'm only getting 140mb tops. I dunno... I'm too lazy now to get into it right now... maybe soon I'll play around with it again so I can get back my 410mb internal space with the ap2sd+
Stewge said:
Froyo A2SD is completely reliant on app developers. If the devs doesn't allow it in their app then it can't be moved to the SD card. This is really only a problem because Froyo is still new.
Click to expand...
Click to collapse
Not 100% true, because you can change the default install location to SD card (via ADB if stock, and an app if rooted) and then you can have the vast majority of your apps on SD card even if they've not been updated for Froyo.
Regards,
Dave
I always thought the main negative with A2SD+ was that the cache was moved to the sdcard, which of course would wear out the sdcard (slightly) quicker.
Vice83 said:
So let me understand the names:
APPS2SD = Froyo Original (comes with official Froyo release)
APPS2SD+ = Hacked version which has been out since FRF50 leak?
EDIT: But if APPS2SD+ is so much better (keeps apps on ext3 partition), why to people keep using the original APPS2SD on their ROMs?
Click to expand...
Click to collapse
Not exactly!
Prior to Froyo, there were principally two versions of Apps2SD:
1. APPS2SD (or A2SD )
2. APPS2SD+ (or A2SD+)
The first would move your apps to the EXT partition, and the second would move your apps and the Dalvik cache to the EXT partition (see here for an explanation of the Dalvik cache).
Now we have Froyo, we have "native", or "Froyo" apps2sd as well, which does much the same as (1) above except that there is no EXT partition and the apps are on the FAT32 partition of your SD card.
Regards,
Dave
sparksalot said:
I always thought the main negative with A2SD+ was that the cache was moved to the sdcard, which of course would wear out the sdcard (slightly) quicker.
Click to expand...
Click to collapse
Dalvik cache is only actually updated when a new app is installed or and old app is updated, so whilst it will incur more writes to SD card, it probably isn't anywhere near as much as the apps write themselves to the FAT32 partition.
Regards,
Dave
Great summary, but can I format my 8 GB SD card as EXT3 and just forget about the FAT partition? I'm using Ubuntu on my laptop and my EXT4 /home partition is just fine for storing images, movies etc. I really don't get this ado about having an EXT and a FAT partition. Or am I wrong here?
quick question, if i move to another bigger sd card, can i copy my card and transfer it to the new one without losing the EXT, and the apps on it? would i need to make a image of the card? thanx for any advice.
make a backup of them first on your pc and copy them to the newly partitioned sdcard....ext to ext and fat to fat
So there is 3 versions?
1. Froyo A2sd = fat32 only = apps installed to sd
2. A2sd = fat32 + ext = apps installed to sd in ext partition
3. A2sd+ = fat32 + ext = apps installed and Dalvik cache moved to sd in ext partition
Is there any more variants? lol
Sent from my HTC Desire using XDA App

[Question] SD Card formatting/partitioning guide

I can only assume this has been asked and answered, but I have searched and not been able to fine a suitable post yet...
I want to find a guide to format and partition my (16GB in my case) SD card in the best way for the current/future Desire ROMs
eesmm said:
I can only assume this has been asked and answered, but I have searched and not been able to fine a suitable post yet...
I want to find a guide to format and partition my (16GB in my case) SD card in the best way for the current/future Desire ROMs
Click to expand...
Click to collapse
You can use Windows to format the sd card to Fat32, after which you can then use Rom Manager (download from market) to create a ext partition (it will shrink the Fat32 partition to make room for the ext partition)
Alternatively, you can do it all in linux and it's pretty straight forward.
For example, Ubuntu (you can download a live version of ubuntu which you can burn to cd or copy to a bootable usb stick) can read the sd card (I just connect the phone whilst in clockworkmod recovery, select mount usb, and voila) and then you can use 'Disk Utility' located in the administrative tools area of Ubuntu to delete the stock partition that comes with most pre-formatted memory cards, create a Fat32 partition (Eg: 15GB) and then create an ext4 partition with the remaining space.
Using Linux is handy for backing up the contents of your ext partition - particularly useful when upgrading from a smaller sd card to a larger one but wanting to keep all your data.
I'm not the greatest at writing instructions and I have no idea if any of the above helps you in any way, but I hope it does!
I would use ROM Manager, but the Max partition size seems to be 512 and i want to make a 2GB partition. I am also unsure of whether the EXT partition (is EXT 3 or EXT4 best) should be primary or secondary, and will the Desire automatically start putting APPs there?
...and and what point do I turn the card back into a Goldcard, if at all necessary?
eesmm said:
I would use ROM Manager, but the Max partition size seems to be 512 and i want to make a 2GB partition. I am also unsure of whether the EXT partition (is EXT 3 or EXT4 best) should be primary or secondary, and will the Desire automatically start putting APPs there?
...and and what point do I turn the card back into a Goldcard, if at all necessary?
Click to expand...
Click to collapse
1) Gparted is the best partition tool ;-) It can be used as a live CD - which can be booted in virtual box.
2) You'll never need a goldcard, unless you want to go back to stock RUU (ie to send your phone back to get fixed).
3) EXT4 Primary partition
4) The desire will put apps there if the rom has Apps2sd enabled. Most roms these days do, but some require you to install the script yourself. 2gb seems a lot for just apps though.
Simple is better.
I myself have an 8gb sd card and used rom manager to partition it. I did not format my sd card beforehand, just took out the card from the package and put it into my phone.
Checking my appbrain list, i currently have 132 apps with a total size of 344MB.
Using the app Quick System Info:
A2SD storage-- Total: 458MB, Free: 110 MB
Internal storage-- Total: 148MB, Free:63.34 MB
I personally think 512 MB partition is more than enough.
friedkimchi said:
I personally think 512 MB partition is more than enough.
Click to expand...
Click to collapse
Yeah, I'd agree with this. I had a 512MB partition - extended it using gparted to 1GB but it really was a pointless activity as I was nowhere near using the 512MB in the first place
Oh well - future proof I guess!
@ OP... What would you need 2GB for? Seems, well, excessive...
BTW, the latest clockworkmod supports partitioning directly in the recovery menu and I believe it will give you the size you want.

[Q] Freeing Up Internal Memory

I keep getting a message about storage space running low.
I have installed Apps2SD so all my apps that can be moved have been moved.
My contacts folder seems large at 18Mb
QuickOffice is 5Mb but I never use it.
Am I missiing something here?
Is there a way to free up memory easily?
If you have an a2sd+ script (most custom roms have), the apk files of your apps will be moved to the ext2/3/4 partition on the sd card, but there still remains the dalvik cache on the /data partition which uses up memory. There are scripts to move this dalvik cache to the sd card as well, but they require you have a class 4 or faster card. The best thing to do is search the thread of your rom, since it's probably been asked about it there.
If you're using google's a2sd (because you're not using a custom rom with such a script), not all apps can be moved to the sd card, since the developer has to specifically state the app can be moved, and for some reason, a lot of people don't do that. You can download a program called SDMove or App2sd from the market which will tell you which apps can be moved (and give you an option to move them), but there isn't very much you can do about getting more space. That is, if you don't want to get a new rom or install a a2sd+ script.
Cheers for the feedback.
Iam not sure if LeeDroid has the APPS2SD in the rom, I have Rom Manager and I THINK i now have ext2 and swap file but yet to confirm that with the new sd card as I am unable to copy the files from the old to the new, (thats another story)
So are you saying that APPS2SD on the ROM is better than APPS2SD from the market? I liked the market one so much I actually paid for to pro version.
Some of the apps will not move which is annoying, esp if what you say is that its all down to the lazy developers.
Can I reduce the phone book size? Text Messages etc to alleviate this issue?
I have no qualms in installing a new ROM if that will give me more space.
As many Desire users, I had the same issue.
Oxygen ROM is the best thing that had happened to Desire.
First do S-OFF, put Bravo Oxygen HBOOT patch (see alpharev.nl for more info), and then flash Oxygen ROM. And you will never have to worry about space again. I don't even move my apps to SD anymore, since there is no need.
Porcupine00 said:
As many Desire users, I had the same issue.
Oxygen ROM is the best thing that had happened to Desire.
First do S-OFF, put Bravo Oxygen HBOOT patch (see alpharev.nl for more info), and then flash Oxygen ROM. And you will never have to worry about space again. I don't even move my apps to SD anymore, since there is no need.
Click to expand...
Click to collapse
I said that around in other posts and other members were moaning at me because "not everyone can do that". Anyway, yes flashing a hboot will give you more data to work with (depending on which template you get).
Using A2SD(+) is a workaround if you don't want to S-Off you Desire. However, A2SD(+) still uses /data partition unless you get a Data2SD script or at least a script to move the Dalvik cache. I think a lot of people fail to realise this.
Flashing Hboots? Sounds like Gary Glitters footwear!
What is S-OFF?
So is A2SD (+), different from A2SD?
Does this require a degree in Linux like so many of the other things?
If your contacts app is too large ...
http://androidforums.com/htc-desire/127440-internal-memory-again.html
for me, data2sd was the only solution to consider when it comes to internal memory issues
uktotty said:
Flashing Hboots? Sounds like Gary Glitters footwear!
What is S-OFF?
So is A2SD (+), different from A2SD?
Does this require a degree in Linux like so many of the other things?
Click to expand...
Click to collapse
Firstly, HBOOT is the partition table in your phone. By default it has 147 MB for the /data partition (that's where your apps go) and 250 MB for the /system (where your ROM is installed).
Secondly, HTC implemented a security flag in our phones that protect this HBOOT from being changed and denies writing to /system when using the phone.
Now, this security flag can be disabled (S-OFF = security off), which will allow you to change the layout of your partition table. What @Porcupine00 was saying is a lot of people do the procedure to S-OFF their devices, flash the Oxygen HBOOT (which gives 300+ MB of /data storage), because Oxygen ROM is very small (about 90 MB) and doesn't need that much space in /system, so this space is made available in /data. However, messing with partitions is quite dangerous and you should read all the guides carefully before trying, because it can really brick your device. Must I add is voids you warranty?!
Now, to clear up the confusion about a2sd. There is the a2sd system implemented by Google and available in FroYo and higher which can only move the apps meant to be moved. There is the app on the market which is called App 2 SD which shows the apps installed on your phone that can use this system. And there are a2sd+ scripts which move all apps to the ext partition on your sd card.
Data2SD is another kind of script for moving apps to ext partition, along with their other data, but it requires a fast sd card (I think a class-6 or higher is recommended, whereas my stock Desire sd card is a class-2).
I advice you read through the Desire Android Development forum and find out about all these methods and make sure you know what you are doing before flashing.
Good luck!
thank you sir, very informative and non patronising
I still need to work out how to get the date from my old 4gb to my new 16Gb card as everyhing I have tried has failed, then I can get some larger partitions and the ext's
What is the problem you are having? When I rooted my phone, I swapped my 4-GB with an 8-GB one and the only thing I did is just copy all the contents from the former to the latter. I had no issues with apps, media files whatsoever.
However, I only had a FAT partition back then, so if you are talking about moving the apk's on the ext partition, you'll need to use a Linux operating system (because Windows doesn't read ext, and also doesn't mount anything else than the first partition on an external drive, which happenes to be the FAT one in our case). There are live cd's from several linux distributions that are available for free download, which you can use to copy the content from your ext partition to your pc, then back to the new card.
The problem is as follows.
Titanium back up all apps and data to 4gb card
Copy contents to windows desktop, folder properties 3.6gb
Change card to 16gb in phone, connect etc
Copy contents of 3.6gb file to new card
800mb on new card.
It seems to be copying FOLDERS but not the contents of those folders.
I am using standard USB mount
I have tried Droid Explorer
I also have ABD installed and stuff but it confuses me!
I have also got various versions of linux and a VM but not tried any of that as 20 years of windows experience probably wont help me
Only thing missing is a card reader currently so doing all of this via usb cable with card in phone
Maybe it has something to do with your Windows system? Could you try on another computer? Also, have you tried reformatting the new card before copying the files?
good point, dont have any other pcs to try here and works laptop is pgp encrypted.
I have used partionmanager to format the car, partition the card etc and it shows healthy partitions.
Just cant seem to copy and paste the files!
OK so I copy 3.6 gb from android to desktop, do the reverse and droid explorer says
"Copying 439Mb"
Can you try to open up your card using Windows Explorer and look at what size it shows? I'm thinking it's not actually the '439 MB' that's wrong, but the '3.6 GB'. I remember my Sense nandroid backup had about 400 MB as well, and also, how could you possibly fit 3.6 GB of apps in a Desire's 147-MB /data partition?
After you copy, try looking at some random files and cross-check the size it says on the phone (use Astro or some other fille manager), then chech the size on the card shown on your PC, and the size of the copied file. Maybe there is no copying error at all, but just a size-showing one, so maybe you've nothing to worry about
Sorry not the data partion the MicroSD Card
I am moving from a 4gb card which will hold around 4gb to a 16gb card which will allow me ext, swap parttions etc
Sorry, my bad, I meant 'Titanium Backup' and not 'nandroid backup'. I was saying the Titanium backup alone is fine if it's about 400 MB. So you can't copy your files like music, wallpapers and stuff? I wonder where the problem is
Trying something now, which is bot into recovery mode and mount the USB, copy to the new card via that method, no error messages yet
Guys
Thanks for the feedback
We have a result!!
Copy files from old CD Card to PC (3.6Gb)
Change cards in phone
reboot into recovery and mount usb
Copy files back (3.6Gb)
Woo Hoo
Phone runs quicker now, will see what we can do about internal memory after new rom

[Q] CM7 r2 HBOOT Help

I'm bored because the UOT Kitchen is down so since I flashed CM7 only a couple of days ago, and pretty much like it, I thought I'd also now take the plunge and flash the CM7 r2 HBOOT but I have a couple of questions first:
1) I've read the instructions on Alpharev site but still confused by the partition table. Do I somehow have to change the various system/data/cache size before flashing the HBOOT, or am I right in thinking that when I flash the HBOOT this will automatically resize them as part of the flash process?
2) What's the benefit of flashing this particular HBOOT? Is it because it'll increase system partition due to the number of apps? (noticed much less available space since swapping from LeeDroid)
and (yes I know I said only "a couple" of questions but...)
3) % chance of bricking my phone???
1. It will automatically resize the partition tables.
2. More space on data partition for apps.
3. None if you do it properly and check the MD5 of the image file you've downloaded.
Sent from my HTC Desire using XDA App
I'm confused by the two methods shown on Alpharev. Method 1 says to donwload the image file and Fastboot flash the file and Method 2 says to add the renamed PB99IMG.zip to SD card and flash. With method 1 do I do I have to do any of the process on PC or all on the phone? With method 2 do I just boot into recovery and flash the .zip like I would flash a new ROM (i.e. "Install zip from SD Card">"Choose zip from SD Card") or do I have to go into Fastboot the same as in Method 1?
As you can tell, I'm confused, but this is something I want to get right, for obvious reasons. The instructions on the Alpharev are basic but need to be a bit better explained for noobs like me, I think.
Which of the 2 methods are the easiest/safest and could some one be kind enough to give a more precise walkthrough please?
xybadog said:
I'm confused by the two methods shown on Alpharev. Method 1 says to donwload the image file and Fastboot flash the file and Method 2 says to add the renamed PB99IMG.zip to SD card and flash. With method 1 do I do I have to do any of the process on PC or all on the phone? With method 2 do I just boot into recovery and flash the .zip like I would flash a new ROM (i.e. "Install zip from SD Card">"Choose zip from SD Card") or do I have to go into Fastboot the same as in Method 1?
As you can tell, I'm confused, but this is something I want to get right, for obvious reasons. The instructions on the Alpharev are basic but need to be a bit better explained for noobs like me, I think.
Which of the 2 methods are the easiest/safest and could some one be kind enough to give a more precise walkthrough please?
Click to expand...
Click to collapse
I think fastboot is the best way to do it.... Not one of your choices - Edit - sorry it is i'm just blind!!! you have more control because you run the commands
As the previous dude said CHECK MD5SUMS!! if they match you should be fine
You flash the hboot depending on your needs.... I use reflex s CM7 with CM7 r2 hboot and I have a huge internal memory
The fastboot method says I have to rename the image file for the HBOOT I downloaded. The file I downloaded was bravo_spl_cm7r2.img so what do I have to rename it to?
Jeez I'm confused @!*$!&
EDIT: Ignore me, I just figured it out
xybadog said:
The fastboot method says I have to rename the image file for the HBOOT I downloaded. The file I downloaded was bravo_spl_cm7r2.img so what do I have to rename it to?
Jeez I'm confused @!*$!&
EDIT: Ignore me, I just figured it out
Click to expand...
Click to collapse
For others, please write your solution here.
Swyped from Oxygen with Transparent XDA App
@matdroid - No solution, just me misreading the instructions on Alpharev :/
I'm in the fastboot.exe cmd screen (made sure that the HBOOT .img file is in the same folder as fastboot.exe) and when I enter "fastboot flash hboot bravo_alphaspl-cm7r2.img" I get the error "cannot load bravo_alphaspl-cm7r2.img". When I enter Fastboot on the phone do I then have to select "BootLoader"? before I can flash the HBOOT?
Any ideas?
EDIT: Done it I used the info here.
Do I just "Power Down" now that flashing the HBOOT is complete or "Reboot Bootloader" or what? (Hope I get an answer quick coz don't want to leave the phone attached to the laptop in fastboot mode all night lol.
OK, so just installed the CM7 HBOOT but while my internal memory is excellent (currently 154MB free) the system storage size repartitioned to 145MB as expected but is showing only 15MB free. Is this worryingly low? What could be hogging this space?
xybadog said:
OK, so just installed the CM7 HBOOT but while my internal memory is excellent (currently 154MB free) the system storage size repartitioned to 145MB as expected but is showing only 15MB free. Is this worryingly low? What could be hogging this space?
Click to expand...
Click to collapse
The less space on /system/ partition the better, apps will use only /data/.
Actually i have like 400kb free space on /system.
double post sorry
///delete please
xybadog said:
OK, so just installed the CM7 HBOOT but while my internal memory is excellent (currently 154MB free) the system storage size repartitioned to 145MB as expected but is showing only 15MB free. Is this worryingly low? What could be hogging this space?
Click to expand...
Click to collapse
Unless you've got a lot of apps installed it shouldn't be that low (did you do a fresh instal after flashing the hboot? if not then..) .. do a nand backup of your rom, then do a full wipe (/mounts & storage/ format boot, system, data, cache; /advanced/ wipe dalvic cache) and install CM7 again.. you should have the full 145mb.. and if you don't (for some reason) you can always restore your backup ^_^
If you install MIUI-XJ it actually see's your sd-ext as internal memory.. so I have 2GB recognised as internal memory
I have quite a few user apps installed (about 60).Did full wipes after flashing the hboot then restored my nandroid backup.
xybadog said:
I have quite a few user apps installed (about 60).Did full wipes after flashing the hboot then restored my nandroid backup.
Click to expand...
Click to collapse
Yeah then the 15mb free space sounds about right lol.. you could try A2SD if you need more space, for that you need an EXT parition on your SD.. just read this, I can't explain what it is and how to use it better than that lol
neoKushan said:
Ok, so here's the deal, in a very longwinded way that should hopefully explain everything and answer ALL questions.
You have an SD card in your phone and, a bit like normal PC Hard Drives, you can "partition" them (split them into two or more sections of different filesystems). Normally, your SD card is just one big FAT32 partition, which is fine for storing your pics, messages, emails, etc.
Now, other then your Phone's SD card, your phone will have its own internal flash memory (or "NAND") storage. Tradditionally with Android, you could only install applications to this NAND storage, you cannot install them onto your SD card. So if you have an empty 32GB SD card, but only 5Mb of internal phone storage, you still wont be able to install many apps, if any at all.
This was done to protect the apps from things like piracy - it's not easy to access the location where apps are installed on your phone's internal storage (normally impossible without root), so you can't for example buy an app, copy it, refund it, then install it again.
Still, this is no good for those of us who like to install lots and lots of apps, legitimately, as we run out of internal storage very quickly.
So Google came up with a way to install apps to the SD card. A folder is created called something like .android_secure and this stores (I believe) encrypted versions of applications, but there's a few catches:
1) Apps aren't automatically stored here, you have to manually "move" them
2) Not all apps are capable of being moved, in fact most apps aren't, the developer needs to update their app and allow it. Some apps aren't and wont be updated and some developers may not want to allow it for whatever reason.
3) Not all app data is moved, most of it is but some data is left on your phone so many people still run out of internal storage quickly.
4) You can force ALL apps to be moved to this area by default, but it breaks incompatible ones - such as Widgets, which are unable to load due to the SD card not being "prepared".
So that's Froyo's version. Before Froyo existed, some very clever people came up with a thing called "Apps2SD". Remember I said that your SD card normally is one big FAT32 partition? Well, Apps2SD works by having your SD card patitioned into TWO filesystems. A normal FAT32 partition for your usual stuff and a secondary "EXT" partition. EXT is just a filesystem, like FAT32 or NTFS, but it's the filesystem used by Android internally. The SD card is normally FAT32 because it's a "universal" filesystem, that just about any machine will be able to read, whereas EXT filesystems are generally Linux only, but I digress.
EXT has several different versions. The most common one you'll see is ext3. The main difference between ext2 and ext3 is "journaling", which is just a fancy way of saying that should an operation (such as copying, writing or reading) be interrupted unexpectedly (say, by you turning your phone off), then no data should be lost or corrupted. You know how when you turn your phone on, it says "preparing SD card"? It takes a few minutes, but what it's actually doing is checking that the FAT32 partition hasn't been damaged, because FAT does NOT have journaling. If you used a computer back in the Windows 98 days, you may remember that lovely blue "Scandisk" screen that had to run every time you didn't shut your computer down correctly - that's the same thing. But then Windows 2000/XP came along with NTFS, which also has journaling, meaning you had less chance of loosing data. But I digress once more.
So you have your SD card partitioned into EXT and FAT32. Generally it doesn't matter if it's ext3 or ext4, but you don't get any real advantage with ext4 over ext3 in this instance. Apps2SD then runs a special script on your phone which "symbolically links" the folder from your phone's internal storage where your apps are normally stored, to the ext partition on your SD card. A symbolic link is a bit like a shortcut for folders, except it's transparent to the OS: In other words, Android doesn't know that when it's installing it's apps to the internal phone storage, it's actually being stored on the SD card. This effectively boosts your internal phone memory from the previous 5mb that you had in my example above, up to whatever size you made the ext partition on your SD card (often 512Mb or 1Gb, but it depends on how many apps you install).
Plus, because it's "journaled", it doesn't need to be "prepared", meaning it's ready to go as soon as the phone starts - so your widgets and apps work immediately (unlike "forced" Froyo Apps2SD, where widgets disappear).
The catch with Apps2SD is that whatever space the ext partition takes up is taken away from the SD card. So if you have a 4Gb card (with something like 3.5Gb of actual storage) and you make a 512Mb ext partition, your SD card will "shrink" to 3Gb. The space isn't actually lost, it's just being used by the ext partition. If you reformat your card, you'll get it back.
Finally, there's a difference between "Apps2SD" and "Apps2SD+". Remember I said that your apps are stored on a special folder inside your Phone's NAND storage? Well, that was a bit of a lie. It's actually stored in TWO places. There's a second area which is called the Davlik Cache. You don't really need to worry about what this is for (Hint: IT's to do with the Java runetime your phone uses to run apps), all you need to know is that apps use it to store data, which also eats up internal phone memory. Apps2SD+ moves davlik cache to the ext partition on your SD card as well, freeing up even more space. Some people believe that this may come at the cost of performance, as the internal NAND memory should be faster than your SD card (Which is why you also get people arguing over which "class" SD card is better for Apps2SD - the logic being that a faster SD card means less impact from this move), but the truth of the matter is that your applications will be running from your Phone's RAM anyway, so performance isn't really impacted at all. Since most apps are only a few hundred Kb's in size, or a couple of MB at the most, it's a non-issue.
Finally, any recent version of Apps2SD/Apps2SD+ should work with an SD card that is or isn't formatted with an ext partition. It'll check for this partition when your phone first boots and if it's not there, just use internal phone storage.
Having an ext partition WITHOUT Apps2SD+ shouldn't cause any issues, either, so you can format your SD card whenever you're ready.
So in summary:
Apps2SD "fakes" your phone's internal memory and puts it all on a hidden section of your SD card.
Apps2SD+ pushes even more content to the SD card, freeing up even more space on the phone itself.
"Froyo" Apps2SD has various limitations that "old" apps2SD does not, but is much easier to handle as it doesn't involve any kind of "partitioning".
Click to expand...
Click to collapse
Already got A2SD with Ext3 partition. I've noticed though that the A2SD partition doesn't show up on Titanium Backup or System info like it does with other ROMs.
xybadog said:
Already got A2SD with Ext3 partition. I've noticed though that the A2SD partition doesn't show up on Titanium Backup or System info like it does with other ROMs.
Click to expand...
Click to collapse
Partition your sd card again (make sure to save all important data on it before) with recovery or gparted again and take care, you set correct sizes. When you use gparted:
1st create fat32 (primary) and then ext partition (also primary).
MatDrOiD said:
Partition your sd card again (make sure to save all important data on it before) with recovery or gparted again and take care, you set correct sizes. When you use gparted:
1st create fat32 (primary) and then ext partition (also primary).
Click to expand...
Click to collapse
Got a new SD card on order so I'll wait till I get that and partition from new and see if that works.

[Q] Using Link2sd correctly

Hey People,
As the title shows I have some questions about using Link2sd correctly.
First off my phone is rooted and is using a standard VM rom with most of the bloatware already removed and apps2sd built into the rom.
I am only using a 4 gig SD card that has 2 partitions.
In Link2sd SD(/mnt/sdcard) card shows total .97GB and SD Card 2nd Part (/data/sdext2) has total 2.84GB.
I think I have them backwards, should /mnt/sdcard be the larger partition since that is the one I have access to?
And what is the difference between Linking something to the SD card and just moving it to the SD card?
From what I have gathered when something is Linked to the SD card it gets moved to the /data/sdext2.
And if you just move it to the SD card it gets moved to the /mnt/sdcard partition.
When would you choose one over the other?
Thanks
Quick study Links2SD can move any app; A2SD can only move apps written to be moved to SD [/sdcard]. I prefer to use the ext2 or ext3 [/sdext] as much as possible for apps as its a native file system [android is a linux branch after all]. The fat32 can cause longer delays at boot time imo. I believe your partition sizes to be a good choice though. Your fat32 will fill up with nandroids, downloaded roms and mods, music, documents and such before you know it
Hope that helps.
Rob
Sent from my HTC_A510c using Tapatalk 2
I think your ext partition is to big for a 4gb sdcard, you may want to reduce it to 1gb or 2gb if you have plenty of apps. Let me tell you more about this link2sd, app2sd and data2sd so that you will understand better and be able to decide which is suitable for your phone.
As mentioned above, link2sd moves apps to your ext2/ext3/ext4 partition. But not only apps or the apk's, it also moves the dalvik, cache, and library files supporting the apps. The advantage of link2sd is the freedom to choose which of those you want to move. You can easily check or uncheck this options during the linking process.
Native app2sd moves apps to the fat32 partition (/sdcard). And it only moves the apk, leaving cache, dalvik and library files in the internal memory. If you have several applications moved in this manner, a certain portion of your internal memory is still being consumed.
There's also Data2Sd, it creates a link of the entire /data folder and moves everything to the ext partition. Logically speaking, your ext partition becomes your /data partition. The original data partition now becomes a useless space. The advantage of this is the size of your internal memory, which is only limited to the size of your ext partition. But there's also a disadvantage, to use app2sd you need a fast sdcard (category 6 and above is recommended) because everything is now residing on the sdcard which is normally slower than the built-in memory and may result to lagging on some applications.
I have a new SD cart I have partition it like the 1i use know
How do I copy all of my staff from one card to another? So that link 2sd will work with no problem?
Sent from my HTC Wildfire S A510e using Tapatalk 2
anhelogr said:
I have a new SD cart I have partition it like the 1i use know
How do I copy all of my staff from one card to another? So that link 2sd will work with no problem?
Sent from my HTC Wildfire S A510e using Tapatalk 2
Click to expand...
Click to collapse
I you mean the apps linked into your old sdcard, then do this:
1. Backup all your apps using titanium backup. The backup will be stored in your /sdcard under "TitaniumBackup" folder.
2. Use a card reader to copy that folder to your new sdcard.
3. Insert your new sdcard to your phone, then download and reinstall titanium backup.
It will automatically scan for backup up files in your sdcard and will allow you to restore all your apps.
Ok thanks s I will try this
Send from my Wildfire S Rom : Wildchild Lite v1. 1
Why is link2sd not finding my ext 2 particion ?
Is this because I used cwr to particion my SD card ?
I have made a 2gb ext2 with 512 swap I have linked a lot of apps to SD card but when I get the memory status I get the SD particion not detected
What can I do? The think is that the phone works fine
Send from my Wildfire S Rom : Wildchild Lite v1. 1
2GB is probably more that you'll ever need. I've always used 1GB and it has not yet run out.
Could you clarify what you mean when you say that you have linked a lot of apps but the SD partition is not detected?
Does Link2SD say that the apps are on the sdcard or the apps are LINKED to SD?
AceRoom said:
2GB is probably more that you'll ever need. I've always used 1GB and it has not yet run out.
Could you clarify what you mean when you say that you have linked a lot of apps but the SD partition is not detected?
Does Link2SD say that the apps are on the sdcard or the apps are LINKED to SD?
Click to expand...
Click to collapse
Well the problem is this when I open the link2sd a windows pops up and tells me to choose
Ext2 ext 3 ext 4 fat 32 if I choose ext 2 it say that it can't found the ext2 and I have to do a restart then it finds the ext2 and tells me to restart again if I do not turn the phone off there is no problem but if I turn the phone off at night I have to do this again:banghead: in order for the link2sd to find the ext2 partition if I go to link2sd settings storage use the 2end partition is not available only if I do 2 restarts
Sent from my HTC Wildfire S A510e using Tapatalk 2
Did you ever use data2sd or s2e or anything else which uses the sd-ext partition? It sounds like there might be a conflict between different startup scripts.
Could you open a root explorer (Or terminal or adb) and find the init.d folder.
On my CM9, the folder is at /system/system/etc/init.d
Post here a list of all the files inside that folder.
AceRoom said:
Did you ever use data2sd or s2e or anything else which uses the sd-ext partition? It sounds like there might be a conflict between different startup scripts.
Could you open a root explorer (Or terminal or adb) and find the init.d folder.
On my CM9, the folder is at /system/system/etc/init.d
Post here a list of all the files inside that folder.
Click to expand...
Click to collapse
No I haven't use anythink
I have a new rom Installed with link2sd ready for use
I have a lot of free space the rom is what I wanted the only promplem is this :banghead:
The solution is never turn off my phone (I think this is no good for any phone )
Send using Htc Wildfire S
Rom Wildchild v1.1
anhelogr said:
No I haven't use anythink
I have a new rom Installed with link2sd ready for use
I have a lot of free space the rom is what I wanted the only promplem is this :banghead:
The solution is never turn off my phone (I think this is no good for any phone )
Send using Htc Wildfire S
Rom Wildchild v1.1
Click to expand...
Click to collapse
I've got confirmation that the Link2SD/a2sd in this ROM are working just fine. Many users have reported that; and a few users have even told me that Data2SD also works just fine (I dunno... I only use Link2SD) with the only point being that you can't delete/uninstall any of the app2sd scripts that come bundled with the ROM. If you must use Data2SD (why??) then simply install it and you're off and running. Other than that, Link2SD should work just fine (it does for me and, literally, hundreds others).
I suspect this has to do with what/how you restored from Titanium Backup... or the fact that you partitioned with CWM. No offense, but CWM's strength is in backup/recovery, not partitioning (or even partitioning WIPING, if you read a few key posts on this forum).
I suggest you format with MiniTool Partition Wizard (lots of good tutorials on XDA). I'm using ext2fs myself and it works just fine (of course, ext4fs also works... I've tried it myself).
Good luck,
Tigger31337 said:
I've got confirmation that the Link2SD/a2sd in this ROM are working just fine. Many users have reported that; and a few users have even told me that Data2SD also works just fine (I dunno... I only use Link2SD) with the only point being that you can't delete/uninstall any of the app2sd scripts that come bundled with the ROM. If you must use Data2SD (why??) then simply install it and you're off and running. Other than that, Link2SD should work just fine (it does for me and, literally, hundreds others).
I suspect this has to do with what/how you restored from Titanium Backup... or the fact that you partitioned with CWM. No offense, but CWM's strength is in backup/recovery, not partitioning (or even partitioning WIPING, if you read a few key posts on this forum).
I suggest you format with MiniTool Partition Wizard (lots of good tutorials on XDA). I'm using ext2fs myself and it works just fine (of course, ext4fs also works... I've tried it myself).
Good luck,
Click to expand...
Click to collapse
I though the same that the problem is the partition method I use I will try the mini tool
Send using Htc Wildfire S
Rom Wildchild v1.1
I found the problem I was selecting ext2 for link2sd but when I use mini tool it said ext3 so I load up again the card start link2sd ext3 reboot and vouala all ok know I really enjoy my phone
Send from my HTC Wildfire S
ROM. Wildchild. v2. 0

Categories

Resources