[Q] [NativeSD]Increase space for apps - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi guys,
First I want to thank you all, I get my HD2 few days ago with a so old and boring windows 6.5, and i had a lot of fun upgrading it to Android.
I successfully installed the CM9 nexus rom with the nativeSD option (http://forum.xda-developers.com/showthread.php?t=1437463), i'm very impressed by the smoothness of the rom.
I have a small issue with space available for apps, i only have 914Mo of "internal space", 815Mo are aleady used (i guess for the system), meaning i only have 99Mo remaining to install my apps. As i use a lot of them, even if i move most of them to SD card, it is a too small space left.
Do you know how i can increase my "internal space", as i use a 16Go SD i have no problem re-partitioning my sd card, i just don't unsderstand how to do it (with MAGLDR? with CWM? manually with my parition manager?).
thanks a lot in advance for your anwers,

cimourdain said:
I have a small issue with space available for apps, i only have 914Mo of "internal space", 815Mo are aleady used (i guess for the system),
Click to expand...
Click to collapse
800+Mb?? that's HUGE that's not the system! system files take up usually 150 - 350mb depending on eth rom you flashed, nowhere near 800+
anyway, just backup your rom through recovery, and then use a partition manager via the pc, or the one in recovery, to make a bigger ext partition, say 2gb, and then restore your rom through recovery.

Yes 800MB is indeed a lot. IF you go to Settings->Storage which numbers do you see by Internal Storage?
If you backup your system, how big is the backup ZIP?
You can go through your file system with a tool like Root Explorer (paid) to find out where the big data of your system is. You have about 500MB too much.
Use MiniTool Partition Wizard Home Edition to partition your SD card. Make an EXT4 of about 2GB en default cluster size. The remaining part should be FAT32, 32k cluster size.

Thank you to both of you,
You were perfectly right about the fact that 800Mo+ is way to big. I opened my Ext4 partition with my Ubuntu, and "surprise", i found 2 folder remaining from previous (and failed) attempts of installing MIUI roms. After manually deleting those two, my internal storage went back to normal.
Thank you again for your help.

Related

[Q] Question about phone backup

Hi, i am very new here and ilack some of the basic info. so i have couples of questions. thanks very much for your answers.
1. what is the internal memory of the htc hd2? and when you partition your sd to fat32 and ext3, will the internal memory be the sum of the ext3 and the phone internal storage?
2. when you want to flash your hd2 with a new rom. do you need to format both partitions of your sd card (fat32 and ext3)
3. when i tried the latest ultimate droid rom, i saw the author posted the rom and another thing called the layout (3.0.2.4_magldr_150M_partitionLayout_30M_cache). what does this do?
4. how do you make the phone to move or install apps in the ext3. and how do you back up those data and apps in the ext3?
and again, thanks guys for helping me out.
1 internal memory, do you mean what's available after a flash? 260 Meg or so with the small cm7 roms (typhoon for example)
No, the internal memory wont show the sum of internal plus ext BUT it will work as if it is. Say you install a 20meg program, internal mem goes down 20 but back up 20 after a restart.
2 no, when you perform the wipes through cwm it takes care of the ext partition and the .android folder on the fat32 for you.
Some apps may put data on the fat32, in which case you can delete those if you want or if you have isues.
3 the layout (clockworkmod, or cwm) sets up the various partitions on your nand (internal) memory, boot, system,cache,data. Without the layout there would be nowhere for the rom to flash into.
The main point of interest in cwm is the system partition size, big roms need big system partitions, sense roms for ex. need 250meg or more, typhoon needs 130. Flash a big rom to small layout fails, small rom on big layout wasted space.
4 you don't, if the rom says ap2sd enabled or words to that effect, it does it automatically. You can test this by loading up some apps then browsing the SD card on a Linux PC
When you run backups and such, it just does it, the phone has no idea that some of the info is on the SD, it treats it as internal.
samsamuel said:
Say you install a 20meg program, internal mem goes down 20 but back up 20 after a restart.
Click to expand...
Click to collapse
i dont understand why is that? so if the rom is apps2sd supported, it will automatically install apps to ext3. then it makes sense to me that the mem goes down, but then why it goes back up???
Example, 250meg internal plus 1gig ext partition.
internal memory shows as 250meg,, install 20 Meg app which goes to ext partition BUT the system displays internal mem as 230, , you reboot the phone and check again and internal memory shows as 250 again.
oh, thanks alot, i get it. but which backup solution is the best? and how does backup using clockworldmod work? does it make a backup file to sd card?
ljaypham said:
oh, thanks alot, i get it. but which backup solution is the best? and how does backup using clockworldmod work? does it make a backup file to sd card?
Click to expand...
Click to collapse
Hi,
It depends what you want to back up.CWM backup will take a snapshot of your entire ROM system,data,settings,everything.A bit like a ghost image of a drive on your PC.
This way, if you install a new ROM and there is a problem,or you don't like it,you can RESTORE your original ROM and everything is back the way it was before.
CWM backup saves to the sd card.
If you just want to backup data,use something like Titanium Backup.

[Q] Different partition sizes in CM7 SD installer

Hi. Did my usual +3 hours googling but came empty handed.
Could size-agnostic CM7 SD installer script be modified so that /Data partition is set to 2Gb instead of 1Gb? I know that I can always do the "move to SD" routine but Android keeps bugging me that I`m out of space even when I have 170Mb free on /data. And also moving apps back and forth from internal to SD somehow wrecked my system process. As a result I now have constant rebooting of the launcher as my only Android experience. Uninstalling recent apps did not work. Neither did freeing up space on SD and denying root to all apps that previously asked for it.
zuzka said:
Hi. Did my usual +3 hours googling but came empty handed.
Could size-agnostic CM7 SD installer script be modified so that /Data partition is set to 2Gb instead of 1Gb? I know that I can always do the "move to SD" routine but Android keeps bugging me that I`m out of space even when I have 170Mb free on /data. And also moving apps back and forth from internal to SD somehow wrecked my system process. As a result I now have constant rebooting of the launcher as my only Android experience. Uninstalling recent apps did not work. Neither did freeing up space on SD and denying root to all apps that previously asked for it.
Click to expand...
Click to collapse
If you are willing to start from scratch you can burn the image again to the SD, but don't put any zips in it. Boot and let the script create the new partitions. Then put the card back in the PC and use Mini-Tool Partition Manager to shrink partition 4 (sdcard) and grow partition 3 (data) That program will handle the ext partition (3) as long as there is no data written to it yet. You can get that program free on the internet. Do a Titianium backup of your apps and data and restore later.
Edit: Now after thinking about it, you may be able to doctor your existing card. Partition 4 is fat so you can shrink it with data in it. Take the space off the front. Then I think the program will let you grow partition 3 into the empty space even with data already in it. It is just trying to move it with data does the program balk. Windows does not know how to read ext. Of course if you are running linux, just use gparted to do everything.
Yes, you could do that or you could use a program like easeus partition manager and move the partitions around after the first boot of the card.
Edit (while typing): It looks like you might be talking about an internal installation in which case you don't need to use size agnostic SD installer. Just repartition the internal the way you want it (there are threads for this) then flash your CM7.
Edit 2: beat out by leapinlar while editing 1
JP
Thanks for the idea of repartitioning prior to installing CM7. I`ll also try to repartition SD the way it is now- with data. I was concerned that /data partition is unmountable under Ubuntu when /boot and /system can be read without problems.
Hi again. I`ve managed to srink /sdcard partition under Windows and sort of grow /data partition under Ubuntu LiveCD (gparted froze right after doing its magic).
Boot loop on my Nook stopped as free space on /data increased from 175Mb to 1.2Gb. So I guess I wont be doing a fresh install at the moment.
Question is, exactly how much free space does CM7 need on /data partition? In a real world?
(at ~200Mb it starts bugging me about free space but overall Android stays stable)
zuzka said:
Question is, exactly how much free space does CM7 need on /data partition? In a real world?
(at ~200Mb it starts bugging me about free space but overall Android stays stable)
Click to expand...
Click to collapse
Original Nook Color had 1GB for data. B&N upped it to 5GB on the new Nook Colors. I personally would make it 2GB unless you are going to be adding some really big apps.
Sent from my Nook Color running ICS and Tapatalk

[Q] What's a good utility to determine storage capacities.

For example, I've got A2SD installed and I want to know how much I've got available in my sd-ext partition, but none of the stock storage utilities tells me how much storage I have in my partitions. Only internal and sd card.
I'm currently running NexusHD2-ICS-4.0.4-CM9-HWA V2.0 (Kernel: tytung_HWA_r2) with 40ad2sdx.
When I'm looking at my apps via ROM Tooldbox Pro, It shows I have less then a MB left in System, but my internal storage is well over 700mb.
I had to do some digging around in File Expert to find out where my downlaoded apps where going. They wound up in /data/apps on phone internal storage, which means the script didn't install right, or it's spoofing internal storage so good, it's fooling file expert.
Mooncalled said:
For example, I've got A2SD installed and I want to know how much I've got available in my sd-ext partition, but none of the stock storage utilities tells me how much storage I have in my partitions. Only internal and sd card.
I'm currently running NexusHD2-ICS-4.0.4-CM9-HWA V2.0 (Kernel: tytung_HWA_r2) with 40ad2sdx.
When I'm looking at my apps via ROM Tooldbox Pro, It shows I have less then a MB left in System, but my internal storage is well over 700mb.
I had to do some digging around in File Expert to find out where my downlaoded apps where going. They wound up in /data/apps on phone internal storage, which means the script didn't install right, or it's spoofing internal storage so good, it's fooling file expert.
Click to expand...
Click to collapse
Less than a mb left in system is normal I think. The system partition is filled up by the ROM apps (hence when you flash a ROM you flash a system partition)
Try titanium backup. Internal memory is displayed as a2sd. The actual a2sd partition is displayed as internal.
Sent from my HTC HD2 using xda app-developers app
FreeSpace

Increase HD2 internal memory

hi guys new user of HTC HD2 here (previous motorola defy user)
so I got this phone yesterday thru swapping, and this phone is awesome, but I was rather disappointed with the internal memory. Mines got 186mb of application space so I always get memory full prompts. I know there is a mod to increase the size.
I flashed paranoid android this morning and boy is it good looking
I just want to increase my internal memory and Id be happy with it
what's the maximum I can a lot to it?
chachoi said:
hi guys new user of HTC HD2 here (previous motorola defy user)
so I got this phone yesterday thru swapping, and this phone is awesome, but I was rather disappointed with the internal memory. Mines got 186mb of application space so I always get memory full prompts. I know there is a mod to increase the size.
I flashed paranoid android this morning and boy is it good looking
I just want to increase my internal memory and Id be happy with it
what's the maximum I can a lot to it?
Click to expand...
Click to collapse
OK first things first,
Are you familiar with the 'stuff' of the HD2? MAGLDR bootloader, ClockworkMod Recovery(CWM)? sd-ext partitions?
well I'm trying to learn this terms but this is gonna take a while I think,
the Previous owner has installed magdlr 1.13 and clockworkmod and I have flashed paranoid android rom this morning. So I do have a recovery
sd-ext partion not so much
**okay okay, you will need to do a lot of research about your device and using it to its full potential; too much that it can't be explained within one post **
but here is a method I found in xda of performing a sd-ext partition within cwm:
> GO to advance and then partition SD card
> Remember this will wipe the sd card so back everything up if need be
> Choose how much space you want, 1024mb is recommended, on the partition then then choose 0MB for swap
>PLEASE NOTE PARTITIONING WILL WIPE THE SD CARD!
>and hey presto your done
> from here you can install link2sd and your set to go. -note, you will need to read about link2sd before use. just search it
There are many benifits of this using EXT-Partition such as you apps will automatically transfer to your partition meaning you will free space on your internal storage!
apologies if there's any misinformation there, quite tired :$
Sent from space..
ah I see, so basically the sd card will be detected as and internal card and I won't face memory full errors whenever uninstalling?
but I can just use link2sd app to transfer apps to sd card manually right?
I was wondering why I only have 186mb of internal memory wherein in GSM arena it says at least 512mb.
what I want to do is a phone modification to increase it, just in case the sd card was corrupted, I still have my apps on the phone memory
thanks for the reply though, if you can add something feel free :victory:
chachoi said:
ah I see, so basically the sd card will be detected as and internal card and I won't face memory full errors whenever uninstalling?
but I can just use link2sd app to transfer apps to sd card manually right?
I was wondering why I only have 186mb of internal memory wherein in GSM arena it says at least 512mb.
what I want to do is a phone modification to increase it, just in case the sd card was corrupted, I still have my apps on the phone memory
thanks for the reply though, if you can add something feel free :victory:
Click to expand...
Click to collapse
It says 186Mb because when you flash CWM, you also partition your NAND to run Android. Essentially, the storage you get is 512Mb-CWM partition size, although normally it's lower as there are probably things other than this installed to the NAND.
Thank you
Nigeldg said:
It says 186Mb because when you flash CWM, you also partition your NAND to run Android. Essentially, the storage you get is 512Mb-CWM partition size, although normally it's lower as there are probably things other than this installed to the NAND.
Click to expand...
Click to collapse
Hi so are you saying I can increase my phone memory by re-partition? how can you tell me please! id be happy by 300mb at least
chachoi said:
Hi so are you saying I can increase my phone memory by re-partition? how can you tell me please! id be happy by 300mb at least
Click to expand...
Click to collapse
Well it depends on the partition size you're currently using. If it's already the minimum for your ROM then no you can't increase the storage by repartitioning the NAND, but if it's any more than the minimum then you can increase this, by reflashing recovery with the correct size. Make a full backup in CWM first though.
so I reflashed 150MB recovery partition and flashed AOKP build by xylograph
now I have 217MB of internal memory
what should I flash so I can have more space?
the less is your recovery partition - more internal memory you get. Minimal recovery partition can be about 100 mb for some light roms I belive. So you can get 50 more mb than you hav now.
You've mentioned 300mb earlier, even if you get your desired 300mb it's gonna get filled up very soon.
I would advise you as was mentioned above to borrow 1gb from your sd card for sd-ext partition. Most of the roms support from the box (without intsalling any additional apps or scripts) sd-ext partition and install apps by default on that partiotion, Paranoid Android does, for instance, actually 80% of the roms do as well...
I don't know if it means anything, but you could look into a US HD2. Its got 1024 mb internal memory! That's double!
ok maybe ill experiment with this sd-ext partition
never had to deal with tgis when I was on defy
try this: http://forum.xda-developers.com/showthread.php?t=1661892
I installed AOKP in NAND & had only a few 100mb's available, I just used Link2SD & moved most apps/ games to SD. SD has no ext. part. yet. will do it latter when i get a 32gig card, now just testing a 4gig SD

[Q] Space for Apps

Hi,
I have two Nook Color tablets that are running CM11 on SD. The SanDisk microSDs are 16GB each.
I have a constant problem that the space for Apps runs out. So I can't update apps or download any new. The only thing these NCs are used for are Apps. & web browsing. So I don't need alot of space for other tings like saving videos, music & files.
Is is possible to increase the size for the "volume" where the apps are saved?
Thanks in advance.
frav.se said:
Hi,
I have two Nook Color tablets that are running CM11 on SD. The SanDisk microSDs are 16GB each.
I have a constant problem that the space for Apps runs out. So I can't update apps or download any new. The only thing these NCs are used for are Apps. & web browsing. So I don't need alot of space for other tings like saving videos, music & files.
Is is possible to increase the size for the "volume" where the apps are saved?
Thanks in advance.
Click to expand...
Click to collapse
You must be running some very large apps because the space is already generous. But yes, you can use partitioning software to change the allocation. But you need to start over fresh. Make the SD and boot once before adding the CM rom zip. Use partitioning software like MiniTool and decrease the size of partition 4 (from the front of the partition), then expand partition 3 to fill the space. That gives you less for media and more for apps. Then install the CM zip and gapps.
Sent from my BN NookHD+ using XDA Premium HD app
Thank you for your information. I have now re-imaged (v1.3-largest-rev8c) the two 16GB SD-Cards with Win32diskimager, that i have for my two Nook Colors, installed "MiniTool Partition Wizard 9.0" & decreased the size of partition 4 [SDCARD(FAT32)] to 8.0GB. "Apply" on that & then start Resize partition 3 (Ext4) . But I can´t resize that one to use the unallocated space. Isen't it possible to resize an Ext4 partition?
Anyhow, My solution was to delete the third partition. Create a new Primary Ext4 partition. I diden't choose any Cluster size (1/2/4KB) more that let it be as "Default". This way I now have a 5.6GB third partition (for apps), instead of the default that had 1.9GB . I hope this helps me with my out of space problems. Installation of latest Nightly is running.
Unfortunately it looks like it diden't was successfull. The Cyanoboot only loops around now. It says "Loading..." then it gets black & after a while it start over again.
I suppose that the third partition wasen't empty. That't why it dosen't work for me.
Is it possible to re init that partition with data like the first run did? Or do we have another suggestion of partitioning program that can expand an existing Ext4 partition, in Windows, on a SD-Card?
I have now tried with "Paragon Partition Manager". Then it was possible to resize. But still the same problem with loop at boot after installing CM11.
Are there any limit of how large the third partition can be?
Hmmm... Now I have redone everything again, without any modifications to the partitions. But still the same problem, Cyanoboot just loops. Do we have a problem with the nightly? cm-11-20150405-NIGHTLY-encore.zip
The reason I told you to start over is an ext4 partition must be empty to be resized. And if you don't start really fresh your data will still be there. And by fresh I mean taking the card back to a full 16Gb and formatting it with a program like SDFormatter. Then you can reimage. And yes, you must not use new nightly on a new SD. You must start with CM11 CM11 or older. See my warning in the SD thread.
Sent from my SCH-i705 using XDA Premium HD app
Okay, so... is this a step by step procedure that would work?
SD Formatter to fully format the SD-card
Win32diskimager with "v1.3-largest-rev8c"
Boot once so partitions are created
Decrease the size of partition 4 (from the front of the partition), then expand partition 3 to fill the space
Add the CM zip and gapps to SD-Card
Install the CM zip and gapps
Then I have done a new try, based on below steps,
SD Card Formatter V4.0 , Full(OverWrite) Took almost an hour for 16GB
https://www.sdcard.org/downloads/formatter_4/index.html
Used "Win32DiskImager 0.9.5" to write "generic-sdcard-v1.3-CM7-9-10-10.1-10.2-11-largest-Rev8c.img"
SD-Card mounted in NookColor, start it up to create partitions & filesystem.
SD-Card back into PC,
Resize partitions 3 & 4 with "Paragon Partition Manager™ 14 Free"
Insert SD-Card in NookColor & start, to make sure it still boots.
SD-Card back into PC,
Copy...
cm-11-20141008-SNAPSHOT-M11-encore.zip
gapps-kk-20140105-signed.zip
... to SD-Card
Insert SD-Card back into NookColor & start it up, installation started to run.
After that the installation is finnished & that the NC it powered off. Power it up again & the CM11 will boot!
Success!
After first boot & configuration. I will update to latest Nightly, cm-11-20150405-NIGHTLY-encore.zip
Thank you for all help!
frav.se said:
After first boot & configuration. I will update to latest Nightly, cm-11-20150405-NIGHTLY-encore.zip
Click to expand...
Click to collapse
When you install the nightly (or any zip after M11), you will get an error message during install but you can ignore it. It only causes a problem during the FIRST install to the card. That's why you need to begin with M11.

Categories

Resources