Android on Kaiser: The difference between SD/NAND/EXT2? - Tilt, TyTN II, MDA Vario III Android Development

In short:
Is there a thread somewhere stating the pro's and con's of running Android from different types of "media" (SD, NAND, EXT2)?
If there is, please provide a link, I can't seem to find anything that isn't an unanswered question or small comments.
If there isn't, let this be a starting point for those looking for the answer to this question.
Longer:
I've seen this question pop up once and again but it might be that the topic is totally exhausted and people have stopped commenting on it. I can't seem to find an answer though; What are the pro's and con's of using NAND, EXT2, FAT32 or any combination of it?
I see a couple of installation alternatives and some I have been able to conclude myself but others not.
* Running from SD-card using HaRET
This option is the slowest in terms of Android performance. It has the added value of easily getting back to Windows Mobile by rebooting the phone, gaining easy access to the SD card and manipulation options.
* Running the system AND data on NAND
This option has in my view the fastest Android experience. Access to files on the SD card is a bit more cumbersome (there is the SD card split widget APK available but I have yet to see it working) and access to files for manipulation I can't comment on (haven't gotten to that yet).
* Running the system from NAND and data on EXT2
The performance seems almost as fast as the system+data on NAND. I have no idea about the added value of running anything from an EXT2-partition in the SD card but I'm guessing it will be slower. I have no idea if file access for manipulation is easier or not compared to the other options.
* Running the system AND data from EXT2
I have not tried this yet and cannot comment on it. Something tells me it will be slower than NAND because of SD card overhead.
* Running the system from EXT2 and data on NAND
I have not tried this yet and cannot comment on it.
Now, I've missed out on several of the installation options but I'll edit this post as soon as I get to investigating it further.
Any comments/experience/knowledge in this is greatly appreciated, as it can make things clearer as to what options to choose.

Well these are very good question and wanted to start a thread on this matter as well. I also could not find a strait answer anywhere.
I also want to know if there is an advantage using ext2 over fat32.
So, people out there having knowledge about this matter please share it.

Ext2 and Fat32 are both types of filesystem used on various different types of media, including SD card, Hard drives etc.
EXT2 is (one) of the native linux filesystems, and is fully supported in kernel, and is usually faster and more stable in that OS
FAT32 is the 32bit version of the old MSdos filesystem, used up to Windows 98, and still supported by windows machines, but slower and less stable than the native NTFS filesystem used by XP and above.
Nand is actually the type of flash ROM used by our devices, and not a filesystem as such, and running Android in Nand refers to where the information is stored, rather than the filesystem used to store it.
It's equally valid to say that we run WM in Nand also.
I think that in the case of Android EXT2 should be faster and more stable than fat32 since it's designed for Linux, and works better in that OS.

Zenity ik would like to thank you very much as this answers mij questions.
And i think this would many others aswell.

Don't forget - if you format your MicroSD to just EXT2 then you will make it very awkward to transfer files to/from the card on a Microsoft Windows based system.
This may, or may not be a problem for you.
Ultimately, the current ideal situation (IMHO) is to run your OS from NAND, and to store your data (music / movies / documents) on a FAT32 format MicroSD - as this enables you to swap the MicroSD card without turning off the device, and provides best cross-platform usability of the MicroSD for the purposes of transferring data to/from it.

Thank you all!
Thank you all for commenting! I will add your comments to the Android-wiki I'm building as this question could come back repeatedly from newcomers (and old ones who forgot )!

boli99 said:
Don't forget - if you format your MicroSD to just EXT2 then you will make it very awkward to transfer files to/from the card on a Microsoft Windows based system.
This may, or may not be a problem for you.
Ultimately, the current ideal situation (IMHO) is to run your OS from NAND, and to store your data (music / movies / documents) on a FAT32 format MicroSD - as this enables you to swap the MicroSD card without turning off the device, and provides best cross-platform usability of the MicroSD for the purposes of transferring data to/from it.
Click to expand...
Click to collapse
There is a program for allowing the mounting of EXT2 file systems on windows, however they are not signed. This is more problematic in Windows that are 64bit. The program is called 'ext2fsd' and you can get it from source forge. EXT2 is a better file system, and does not have the 4GB file size limit, and does not fragment (although on a SD card, this should not be an issue). EXT2 also has file permissions that Linux understands. Fat32 has no Access control file permissions.

I have just recently got polymod's eclair running with both system and data on ext2 partitions.
my question is...
I am just wondering what the boot order is...
and where(if possible) can it be changed?
system.img in the andboot folder VS system on partition.
I know it can be set in the installer. but lets say I had installed system on ext2 partition. and then later placed a system.img in the andboot folder.
can I swap between the two?

OK...
I figured it out myself,
You can use the installer to select boot options (Not just options to install)
so I have a system and data on partitons. (currently using)
and I also have a second build installed to .img files in the andboot folder. (for failsafe backup)
if I want to swap from one into the other
I enter installer and change the settings for the system and data to
their respective locations and then just QUIT.
I also still have a donut build in the android folder. as well as still running winmo.
quad boot system on my phone...LOL

Now thats a neat use of the installer, I think this find deserves it's own thread in fact, I'm certain others will find it useful

Tanks !

binlabin said:
* Running the system from NAND and data on EXT2
The performance seems almost as fast as the system+data on NAND. I have no idea about the added value of running anything from an EXT2-partition in the SD card but I'm guessing it will be slower. I have no idea if file access for manipulation is easier or not compared to the other options.
Click to expand...
Click to collapse
I've done some tries with this doing the partitioning from within android and then formatting the FAT32 partition from Windows 7 but the FAT32 partition doesn't work very well afterward. Really slow and sometimes crashes the explorer. Propably something to do with my SD-card. May try doing the partitioning and formatting from Linux to see if it works better.
Seems to me the main advantage of this option is to increase the size of available data storage which i suspect can become a limitation sooner or later in a pure NAND install.
EDIT: Now I've done it and gone NAND-System + EXT2-Data... Partitioned the SD-card from Ubuntu with gparted. Resized the FAT32 partition and created 3 primary EXT2 partitions. only the second (partition 3) should be used though with the setup I am using. It's charging right now so I haven't tried it out much yet but I will later on. However I noticed that I now have 171Mb free phone storage instead of 30-something that I had before (same apps installed).
EDIT2: Ran gparted again and shrinked the unused partition (partition 2) and expanded the data partition (partition 3) so I now have 369Mb free "Internal phone storage". Haven't noticed any speed differences between this and when I had data on NAND.

nand
By then one question:
If im install android in the NAND is more fast ready? But this process erase WM6?
Because now android work good in my HTC TYNT II but the camera and bluetooth not work and have one or two performance problems and for this dont like delete WM6 of my phone, and for this im use Android from my SD.
But look the NAND option because have a problems with the time live of my battery only lasts 5hours with android and SD.
Thanks for your help and cooperation

excellent thread which answers some questions that I had. Thanks to everyone who contributed. The only question remaining though and I have posted this elsewhere without getting an answer:
I partitioned a 2 gb sdcard with ~1.6gb Fat32 and the rest as a single Ext2. I selected system on nand and data on ext2 in the installer. After installation, it does show alot more memory for data as compared to data on nand, BUT I also have a data.img in andboot which is in the Fat32 partition, with a size around 250mb. The question is, is the data in that file or on ext2? If I backup data from installer, it creates a databackup.img in andboot with the same size as data.img. Seems to me the ext2 partition is just taking up space and not being used. Can anyone more knowledgeable shed some light on this? Thanks.

Not quite sure what is going on there, seems very counter-intuitive, I would have assumed that system on Nand, data on EXT2 would have installed the data partition to EXT2 on SD. This would seem not to be the case in this instance.
There are a few experiments you could try, if you are brave enough, since you may cause problems by trying any of these suggestions, which could mean a reinstall, I leave it to your judgement how to proceed
Ok firstly I assume you have a card reader, since you managed to partition and format the SD card in the first place. Remove the SD card, insert in card reader, delete the andboot folder, or the contents of the folder, ( may be wise to have a spare SD with either a winmo or android install handy at this point, just in case things go horribly wrong ).
Now with the cleaned SD, put it in the phone and boot, it should boot fine, IF the data is truly on the EXT2 partition.
That at least will answer one question, namely, where the heck is my data?
If this works fine, then I'd just put it down to some inner weirdness of android on non-native devices, if it fails then I'm wondering if your EXT2 partition may have problems, forcing the phone to dump it on the first available good partition, namely the FAT32 one.
Oh and if it does fail, you will have to reinstall, since your data will be toast.
Finally, good luck, I await with interest

As I recall, the install has the FAT32/Ext2 options incorrectly swapped. It has been this way for a while.

zenity said:
Not quite sure what is going on there, seems very counter-intuitive, I would have assumed that system on Nand, data on EXT2 would have installed the data partition to EXT2 on SD. This would seem not to be the case in this instance.
There are a few experiments you could try, if you are brave enough, since you may cause problems by trying any of these suggestions, which could mean a reinstall, I leave it to your judgement how to proceed
Ok firstly I assume you have a card reader, since you managed to partition and format the SD card in the first place. Remove the SD card, insert in card reader, delete the andboot folder, or the contents of the folder, ( may be wise to have a spare SD with either a winmo or android install handy at this point, just in case things go horribly wrong ).
Now with the cleaned SD, put it in the phone and boot, it should boot fine, IF the data is truly on the EXT2 partition.
That at least will answer one question, namely, where the heck is my data?
If this works fine, then I'd just put it down to some inner weirdness of android on non-native devices, if it fails then I'm wondering if your EXT2 partition may have problems, forcing the phone to dump it on the first available good partition, namely the FAT32 one.
Oh and if it does fail, you will have to reinstall, since your data will be toast.
Finally, good luck, I await with interest
Click to expand...
Click to collapse
Great idea, I'll try this on the weekend. I wont delete data though, I'll just rename andboot and backup data for good measure, because I want to be able to go back to the data by renaming it back if it doesn't work. I was also thinking if there is any way to get to the ext2 partition and read it... I'm on xp so I cant do it on my pc, and on the phone, I've looked around in astro n other file managers but cant see anything. But if the case is as golfnz34me points out, then I should just backup the data, and change the option to Fat32 in install and restore data. That should do the trick.
golfnz34me said:
As I recall, the install has the FAT32/Ext2 options incorrectly swapped. It has been this way for a while.
Click to expand...
Click to collapse
Thanks, will check this out. If its true, then great, more speed for my /data! I wonder how I missed this, been going through these forums regularly...

Ok I checked it out, and golfnz34me is correct it seems.
But now I found a new problem. I backed up data, and in the installer, set the data to SDCard, and tried to restore data. It gives various errors like
Code:
cannot determine filesystem size
failed
failed to format
...some other lines...
losetup: /dev/block/loop2: no such device or address
I created the partition with Paragon partition manager, and after getting this error I rechecked in PPM. I reformated the partition, but still get the error. In PPM the partition drive letter isnt assigned. Or, the partition isnt the active partition. Can one of those be the problem? The volume name is Ext2. Im not very experienced in partitioning etc, apart from normal ntfs partition for new hds in windows, so I didnt play with any options. I dont have a linux system either. Any got any ideas? Any help would be appreciated alot!

Not sure about using partition managers other than gparted, afaik most people are using the Gparted live cd if they don't have a linux install handy.
The errors all point to some sort of problem with the EXT2 partition, or it's formatting.
Also EXT2 partitions do not have drive letters, nor do they have to be active partitions.

Apps and data on SD card.
I cant seem to figure out how to make all the apps and other stuff install to the SD card. Do I have to partition the card into two partitions? or is there a way to install the system to Nand and make all the apps and data go to the SD card? Ive tried setting it to System on nand and data on SD partition but it says no partitions to install to or something.

Related

Extend ext3 partition on SD Card

Hi everyone,
is there any way to extend an existing ext3-partition (512MB, created with ROM Manager) without loosing the data?
I'm using the DJ Droid 1.1-R1 ROM on a Desire and the internal memory was fine (about 90MB free, no matter what i've installed so far). However after installing a few games today it dropped to a mere 20MB. Is it possible, that the ext3 partition is already completely used and the latest apps were just installed to the internal phone memory?
Thanks for any hint and solution
Best wishes,
hunchi
hunchi said:
Hi everyone,
is there any way to extend an existing ext3-partition (512MB, created with ROM Manager) without loosing the data?
I'm using the DJ Droid 1.1-R1 ROM on a Desire and the internal memory was fine (about 90MB free, no matter what i've installed so far). However after installing a few games today it dropped to a mere 20MB. Is it possible, that the ext3 partition is already completely used and the latest apps were just installed to the internal phone memory?
Thanks for any hint and solution
Best wishes,
hunchi
Click to expand...
Click to collapse
You can expand the ext3 partition on the SD card by using something like gparted (http://gparted.sourceforge.net/livecd.php).
This is probably not your problem though. Although your apps are on the SD card the data is still on the internal memory and this is what is reducing your available memory.
Thanks for the help! Will have a look into gparted once it gets necessary. Indeed, the problem was somewhere else: After I rebooted the free internal memory went back to 85MB. However I have no idea what caused this memory usage and the memory release after the reboot... Anyways, as long as it works, I'm happy
Thx again!
extend partition
The most efficient way to extend partition, you asked, and will not wiping data.
I think, want to finish this work, use Extend Partition Assistant Professional Edition. As I knew, this software has gained the best opinion by the users.
And I have tried several times, certainly flawless.
extend-partition.com/extend-system-boot-partition.html
live said:
The most efficient way to extend partition, you asked, and will not wiping data.
I think, want to finish this work, use Extend Partition Assistant Professional Edition. As I knew, this software has gained the best opinion by the users.
And I have tried several times, certainly flawless.
extend-partition.com/extend-system-boot-partition.html
Click to expand...
Click to collapse
My experience with Partition assistant is that it will not recognize a SD card, only hard disk.
I also recommend the use of gparted. But before this action you should save all data (very easy with linux, because it does not hide any files). If you do not have any linux, download ubuntu live cd, burn it and start your computer with it:
http://www.ubuntu.com/download/ubuntu/download
When you connect your phone with your computer, linux should recognize two partitions: The FAT32 partition and the ext partition (you can find out which is which by comparing the partition sizes). Copy their content on an external storage (e.g. an usb stick): Create two folders, one for fat32 and one for ext. Copy the content in the corresponding folders. Partition the sd-card again with gparted or your phone's recovery system. Start your computer with ubuntu live, connect phone to computer and copy the content of the fat32 and ext partition back to the sd card.
Hi,
copy your data to you hard drive and then BU all your app + data with nandroid and titanium backup then extend your partition on windows disc manager and restore everything.
Eran.
eranbaruch said:
Hi,
copy your data to you hard drive and then BU all your app + data with nandroid and titanium backup then extend your partition on windows disc manager and restore everything.
Eran.
Click to expand...
Click to collapse
This will not working. Windows does not support the creating of ext partition (much less the change of it).
I used the GParted GUI utility in Ubuntu. Worked wonders for me!
used gparted also, done twice and no issue. save your data from sd.
to do this i use vmplayer and let run ubuntu distri
fragargon said:
used gparted also, done twice and no issue. save your data from sd.
to do this i use vmplayer and let run ubuntu distri
Click to expand...
Click to collapse
Are you use ubuntu live cd, if you do not want to get used with virtual machines (vm).
@matdroid
i know about live cd even usb... advantage of vmplayer is that you launch it without any reboot while playing with your current OS. nowodays comp are enough powerfull to supporte both environment. give a try
fragargon said:
@matdroid
i know about live cd even usb... advantage of vmplayer is that you launch it without any reboot while playing with your current OS. nowodays comp are enough powerfull to supporte both environment. give a try
Click to expand...
Click to collapse
It's not new to me that computer from today are powerful enough for vms. That's not the point. With live cd's you do not have a running system in background which can disturb. Thats exactly why i use/prefer them. On this way i can concentrate on this one operation very easy. But that's a personal thing.
tool good on pc for fragargon
use MiniTool Partition Wizard Home Edition

Too many a2sd a2sd+ app2sd, really confused...

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

[Q] Why my phone is slow after "Data on SD Card"

Ok lets start this discussion
Some reports:
- Fresh install, Wiped Data. Startup Manager throws a dozen of NOT RESPONDING errors before having my finger tip read
- Ok after a pain taking process of going to home, I see everything quick (entering/exiting from Drawer, switching homes, widgets etc)
- The native web browser hangs up after every GO to entered web address. (same is the case with xScope and Opera Mini
- Frequent incomplete downloads and failures
- tTorrent randomly PAUSES and goes to SCHEDULE when phone goes to sleep.
- Download speed is like 12KB/sec (my wifi router broadcasts an 8Mbps connection)
When I installed on NAND (SYS + DATA)
- Speed is just a dream, Menu transitions, Settings APIs etc open really fast (competing my friend's experia x10i )
- Browser seldom stalls on webpage " GO "s
- Download never fails and speed is decent (from 50KB/s to 120KB/s)
- tTorrent doesnt crash the download
- All application I install dont show black screen for too long.
So whats the remedy?
Obviously no one would want a space of only 90MB for a heap of software. Are there any suggestions?
My SD Card is partitioned as:
1.1GB FAT32 Primary
180MB Ext2 Primary (dont know whats that for)
Remaining space to Ext 2 Primary (for Data since Android installs DATA on LAST ext2 Partition)
Please propose some working solutions. My phone has like 2MB of system memory left (shown in settings) and I have to clear cache and end all tasks after like every 20 minutes of web browsing.
As a start, you'll have to realise that probably ANY sdcard, is slower that your NAND drive. To make matters WORSE, the sdcard drive on the kaiser, is kind of slow.
So, your apps not responding are a direct cause of this whole slowness. What can you do ?
Use another SD. Class 4 or 6 should do the trick.
If you can't, try formating your SD card with those special tools to fix FAT32 errors. I remember a HP tool...
Also, are you using DATA on SD Card Partition, or data on SD card imagefile ??
daedric said:
As a start, you'll have to realise that probably ANY sdcard, is slower that your NAND drive. To make matters WORSE, the sdcard drive on the kaiser, is kind of slow.
So, your apps not responding are a direct cause of this whole slowness. What can you do ?
Use another SD. Class 4 or 6 should do the trick.
If you can't, try formating your SD card with those special tools to fix FAT32 errors. I remember a HP tool...
Also, are you using DATA on SD Card Partition, or data on SD card imagefile ??
Click to expand...
Click to collapse
The img file is made on FAT32 and the Data on Partition uses the last Ext2 Partition available.
I'm still figuring out which one's better of the two file systems. I suspect that the .img loop file doesnt get fatter with more income :| (Tried with the regular Slackware Live distros which make a specific sized .img file and store data in there and its un-expandable)
dark_prince said:
The img file is made on FAT32 and the Data on Partition uses the last Ext2 Partition available.
I'm still figuring out which one's better of the two file systems. I suspect that the .img loop file doesnt get fatter with more income :| (Tried with the regular Slackware Live distros which make a specific sized .img file and store data in there and its un-expandable)
Click to expand...
Click to collapse
ext 2 for running off an sd card is better for 1 or 2 reasons
1. since its on a separate partition from your user data the system doesnt have to sort through your user data when trying to run the system
2. ext2 and 3 are both native linux formats, so its just a little more efficient at reading them. like somebody who's native language is english but knows how to speak spanish, its always going to be easier to speak english
Actually, i belive even linux reads/writes FAT32 faster than EXT2/3.
It simply doesn't have to write/read as much, there's no ACL, no owner for the files, you simply get a creation date, last modification date, and 3 or 4 attributes (read only, system, hidden, archive)
Either way, i don't belive its possible to expand a filesystem mounted through loop. you probably would need LVM (i thin its LVM) for this, which would be overkill for this matter.
As for... data on imagefile or on partition, i belive a partition is always better. First, although as of yet impossible, you can not mount the sd card via USB if the DATA is on a imagefile in it. Android cannot access /sdcard if its mounted.
Second, FAT32 is subject for fragmentation. A SD card does not suffer as much as a normal harddrive from it, but due to the major slowness of our sdreader, it would be noticable. Worse, you risk more data lost, as even if you don't get errors on the EXT2 filesystem, you might get them on the FAT32 filesystem.
IMHO of course
daedric said:
Actually, i belive even linux reads/writes FAT32 faster than EXT2/3.
It simply doesn't have to write/read as much, there's no ACL, no owner for the files, you simply get a creation date, last modification date, and 3 or 4 attributes (read only, system, hidden, archive)
Click to expand...
Click to collapse
Thats what I believe
Either way, i don't belive its possible to expand a filesystem mounted through loop. you probably would need LVM (i thin its LVM) for this, which would be overkill for this matter.
As for... data on imagefile or on partition, i belive a partition is always better. First, although as of yet impossible, you can not mount the sd card via USB if the DATA is on a imagefile in it. Android cannot access /sdcard if its mounted.
Second, FAT32 is subject for fragmentation. A SD card does not suffer as much as a normal harddrive from it, but due to the major slowness of our sdreader, it would be noticable. Worse, you risk more data lost, as even if you don't get errors on the EXT2 filesystem, you might get them on the FAT32 filesystem.
IMHO of course
Click to expand...
Click to collapse
Agreed. I wish Kaiser had slightly bigger native storage tsk tsk

[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.

Categories

Resources