Question for the devs - HD2 Android Q&A, Help & Troubleshooting and Genera

I have a question, I am not a linux pro and I am learning more daily so don't bash me too hard if I am way off base...
On eu roms, and even more recently tmous, why do you make the rom super small only to require an ext. and then shove huge parts of the rom into the data partition waisting space there? Why not use the rest of the rom space for the parts of the rom that are put in the data partition and/or a huge cache partition.
Is the cache and dalvik cache really being put in the data partition too? I've seen it in there on a few roms is it really there or is that just where it is shown in the file explorer.
Sent from my HTC Desire HD A9191 using XDA App

You can see my Rom, always make app2sd+ support to moved app to Ext partition and support move dalvik cache to Ext partition too
Sent from my GT-I9100 using xda premium

That is not quite what I am asking. I am asking why do all of the devs make these super small roms for the eu then require an ext then take up a portion of that data partition and use it for parts of the system. What happens to the rest of the nand that isn't used?
Why not use the rest of that nand space for cache or better yet the rest of the rom that was stuffed into the data ext?
Don't take this negatively, I don't even have a 512, I am just trying to learn what is going on in the background with our phones.
Sent from my HTC Desire HD A9191 using XDA App

?
Sent from my HTC Desire HD A9191 using XDA App

Still curious...
Sent from my HTC Desire HD A9191 using XDA App

Firstly, there's little benefit in a large cache partition, so ignore that.
There are two general things that go in a normal data partition,,, user/app data,, settings, calendar, contacts, browser history etc,,, and user installed apps.
If you leave both on the nand it very quickly fills up, if you move the whole data partition to SD ( A.K.A data2sd) you leave loads of space free on the nand.(fine for large roms, wasteful for small ones) so a happy medium is to leave user data on nand, and put user installed apps to sd-ext,,, A.K.A app2sd+.
As for dalvick, dunno what it does or why move it to SD or not.
What I can say is I use a v small rom, only 140 system partition, my data partition is 250mb, around 90meg used, my sd-ext about 170 used, so wouldn't all fit on nand, and would waste 170 if it were all on SD ext, even with a tiny rom.
For the big sense roms, they are simply too big to not run the data and sometimes parts of the system from SD.

Related

[Q] what's sd-ext?

i looked around the forums a bit but the search returns too many results not related to what i'm looking for...
So not really sure what this sd-ext is. I've read that it's for apps that are moved to the SD card... But the thing is i'm running CM7 and i've moved apps using Apps2SD as well as directly from within GB itself without ever creating an SD-ext partition.
So whats the purpose of this? Should i create the partition? And does it make a soft link to a directory on my SD card since it seems /sd-ext is in the root folder. If so, if i change my SD card later and transfer all the files over to it, will it break the link?
Your SD card has a fat32 format, which is mostly typical for usb storage devices, computers, etc.
Android runs natively in an ext format environment.
The stock Apps2SD uses the fat32 portion of your SD card, which has limitations, because it isn't Androids native environment. If you format your card so you have an ext partition, you can trick the phone into thinking it's part of it's native environment...
A good example can be seen with widgets, which won't work if you move them to SD, but will work on an ext partition. Other uses include being able to move cache and dalvik...
Sent from my Nexus One using XDA App
danger-rat said:
Your SD card has a fat32 format, which is mostly typical for usb storage devices, computers, etc.
Android runs natively in an ext format environment.
The stock Apps2SD uses the fat32 portion of your SD card, which has limitations, because it isn't Androids native environment. If you format your card so you have an ext partition, you can trick the phone into thinking it's part of it's native environment...
A good example can be seen with widgets, which won't work if you move them to SD, but will work on an ext partition. Other uses include being able to move cache and dalvik...
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Thanks for the explanation. What happens to all the apps already moved to my sd card now? How do I get them over to sd ext partition?
And right now I only hasn't an eight gb card which I plan to upgrade in the future. Will I be okay just transferring everything over to the new card at that time?
Sent from my HTC Glacier using XDA App
You will need to be rooted...
You first set up the ext partition. Doing this will format your card, and erase everything. You will then need a script to run the a2ext. Darktremor is the popular one for the Nexus, but I'm not sure about the MT4G...
Once you have an a2ext script, then you just move your apps to internal, since the phone thinks the ext is internal memory.
Titanium backup can help backing up your apps, and also with moving them to internal in a batch...
Read up, because I know little about the mt4g specifics. I've ordered one, but until it arrives, I'm just reading...
Sent from my Nexus One using XDA App
danger-rat said:
You will need to be rooted...
You first set up the ext partition. Doing this will format your card, and erase everything. You will then need a script to run the a2ext. Darktremor is the popular one for the Nexus, but I'm not sure about the MT4G...
Once you have an a2ext script, then you just move your apps to internal, since the phone thinks the ext is internal memory.
Titanium backup can help backing up your apps, and also with moving them to internal in a batch...
Read up, because I know little about the mt4g specifics. I've ordered one, but until it arrives, I'm just reading...
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Thanks. Yup I am rooted and running CM7.
seems to be a bit of a pain to format my sd card..
Sent from my HTC Glacier using XDA App
I must admit, I wouldn't think you would need to?
The mt4g has more rom and ram than my Nexus, so I wouldn't have thought that you would run out of space quickly... Or am I wrong, and space is an issue?
Sent from my Nexus One using XDA App
danger-rat said:
I must admit, I wouldn't think you would need to?
The mt4g has more rom and ram than my Nexus, so I wouldn't have thought that you would run out of space quickly... Or am I wrong, and space is an issue?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
No you're right actually. It's not really an issue but not sure why I think I should move the apps to the sd.. Haha
Sent from my HTC Glacier using XDA App

memory partition for apps

searched around and can't really find right answers.
I currently have HD2 with 512mb running android. Due to the lack of internal storage space, all apps are stored in the EXT4 on the SD card. This is a very neat function actually. Every time I flash a rom, all the apps will still be there.
I am about to get the DHD soon and since it's got plenty internal storage I guess it's natural to install app on internal rather than on SD (i know some rom do have support for EXT on SD). My question is, is there a way to partition the internal storage so part of it act as EXT, this way every time flashing a rom I don't have to restore all the apps??
If there is another way to achieve this, please let me know as well.
thanks,
No need to do anything like that. Before you flash a new ROM just wipe all the partitions apart from the data partition. Once you have flashed the ROM your apps will still be there.
You can use an add on script for apps to SD as well if you prefer.
Sent from my Desire HD using Tapatalk
Blinkydamo said:
No need to do anything like that. Before you flash a new ROM just wipe all the partitions apart from the data partition. Once you have flashed the ROM your apps will still be there.
You can use an add on script for apps to SD as well if you prefer.
Sent from my Desire HD using Tapatalk
Click to expand...
Click to collapse
Good to know that there will be no problem re-installing apps. Since I can't get hands dirty with an actual unit yet, could you please explain a little on the "wiping all the partitions apart from data partition". So by default, apps will be installed in a separate partition? what do you use to WIPE paritions? Clockwork or wipe-all?
Go into clockwork recovery you can select which partitions to wipe. Go into the mounts part and you can wipe them individually, wipe each one in turn apart from the data partition.
If however you experience problems yo. May have to wipe the data partition. Just do a backup first.
Sent from my Desire HD using Tapatalk

Move all apps to sd and set as default?

Hey guys how do you move ALL apps and data to your sd card so when I flash roms (theres a new update everyday it gets too hard) I dont lose my progress in apps and I dont have to reinstall they are already there, is it possible to do this?
Also can you set sd card as default so new apps you install automatically go there.
It would be nice if I could partition just like 1 gb of my SD card just for apps!
Ive searched a few threads and stuff trying to gather information but none of them really helped alot so sorry if this has been answered!
What ROM are you running?
Daz555 said:
What ROM are you running?
Click to expand...
Click to collapse
RCmix3D at the moment, thinking about flashing Honey sense hd for a while!
I just want to make a partition of about 700mb onto the SD and move ALL my apps to it so I dont lose my progress and I dont have to worry about them when I flash roms!
thanks in advance!
Hello,
I'm unsure of any batch command to send all existing apps to SD so you may have to go to Settings> Applications> Manage Apps and move each one individually.
To change default app install location, use the following command either through ADB or in a terminal emulator:
pm setInstallLocation 2 //for SD card
pm setInstallLocation 0 //for phone internal memory
You'll find after setting the install location to SD, you'll notice that more apps can be moved to the SD card manually instead of just being greyed-out. However, be careful though - personally, I wouldn't move the following to SD since they've affected performance:
- apps which use a widget on your home screen (music players, aggregators)
- apps which explicitly interact with the system (e.g. task managers, autokiller, autostarts)
- Google apps
Hope this helps.
Backup all user apps in batch mode using titanium backup pro. Saves to sdcard backup folder.
Or
Partition sdcard to ext3 or 4, 0 swap, and use a a2sd+ patch (if your ROM supports it). Backup data on the fat32 partition first, as it may get wiped when the partition is split to make the ext partition. All user apps and associated dalvik will be moved to the ext partition on boot. Just make sure the ext partition is not wiped / formatted prior to flashing ROM. Use pc software such as gparted or mini partition tool free. Been a few phones bricked using the wrong cwm version to partition.
But, if were me, just use Titanium Backup Pro.
Sent from my Desire HD using XDA Premium App
UpInTheAir said:
Backup all user apps in batch mode using titanium backup pro. Saves to sdcard backup folder.
Or
Partition sdcard to ext3 or 4, 0 swap, and use a a2sd+ patch (if your ROM supports it). Backup data on the fat32 partition first, as it may get wiped when the partition is split to make the ext partition. All user apps and associated dalvik will be moved to the ext partition on boot. Just make sure the ext partition is not wiped / formatted prior to flashing ROM. Use pc software such as gparted or mini partition tool free. Been a few phones bricked using the wrong cwm version to partition.
But, if were me, just use Titanium Backup Pro.
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
Gparted wouldnt find my phone when plugged in when I tried.
Also when you just move to SD through settings>application, it doesnt move the whole app only half and when you install a new rom they arnt there
Gparted is Linux, mini partition tool for Windows.
A2sd+ moves apps to ext partition, not fat32 partition your referring to. A2sd or apps to SD move only to fat32 partition.
There's the difference between a2sd+ & a2sd.
Sent from my Desire HD using XDA Premium App
UpInTheAir said:
Gparted is Linux, mini partition tool for Windows.
A2sd+ moves apps to ext partition, not fat32 partition your referring to. A2sd or apps to SD move only to fat32 partition.
There's the difference between a2sd+ & a2sd.
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
So to move the apps COMPLETELY on to the SD so they are there when you install a new rom and stuff, I partition my sd card in Ext 3/4 and then use a2sd+ to move them over right?
I'm on LeeDrOiD, and don't bother with the patch anymore.
But the method I used was, setup ext partition, flash ROM followed immediately by the a2sd+ patch for 1gb ext, then reboot. First boot will take a while.
Is useful if you stick to the same ROM, ...... as long as you don't wipe the ext partition before each update / build flash, or the ROM doesn't have a inbuilt script that wipes the ext. If that happened, you'd lose the apps and their dalvik cache, although the dalvik should be wiped anyway.
Edit: important, Forgot to mention, move all apps to "internal" memory prior. A2sd+ will take care of it on boot / flash and move all to ext. Any other app DL, just move to internal, and it'll be moved auto next boot.
Sent from my Desire HD using XDA Premium App
Delete, finger trouble.
Sent from my Desire HD using XDA Premium App
UpInTheAir said:
I'm on LeeDrOiD, and don't bother with the patch anymore.
But the method I used was, setup ext partition, flash ROM followed immediately by the a2sd+ patch for 1gb ext, then reboot. First boot will take a while.
Is useful if you stick to the same ROM, ...... as long as you don't wipe the ext partition before each update / build flash, or the ROM doesn't have a inbuilt script that wipes the ext. If that happened, you'd lose the apps and their dalvik cache, although the dalvik should be wiped anyway.
Edit: important, Forgot to mention, move all apps to "internal" memory prior. A2sd+ will take care of it on boot / flash and move all to ext. Any other app DL, just move to internal, and it'll be moved auto next boot.
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
I got the partition set up and I installed the patch and the reboot took ages but how do I know if there on SD, I dont think they are because when I click on the app some still say move to sd?
Repsys7 said:
I got the partition set up and I installed the patch and the reboot took ages but how do I know if there on SD, I dont think they are because when I click on the app some still say move to sd?
Click to expand...
Click to collapse
Open titanium backup, the first page that opens "overview", look down the bottom, will say something like;
Rom
Internal
Sdcard
A2sd+
Sent from my Desire HD using XDA Premium App
ok it says sd card (A2sd) 575mb 60.4 free, so I think that means the apps are on there, so if I wipe my phone the apps will stay right?
It will always say move to SD if installed in any other place. But the SD it refers to is the fat32 partition, not your ext. A2sd+ will take care of it and move all new apps to ext on boot, as long as you install to internal memory first.
After some market updates of apps installed to ext , you may have to move to internal and reboot to ensure they're on the ext
Sent from my Desire HD using XDA Premium App
Repsys7 said:
ok it says sd card (A2sd) 575mb 60.4 free, so I think that means the apps are on there, so if I wipe my phone the apps will stay right?
Click to expand...
Click to collapse
Maybe a slightly bigger partition would have been better.
The apps should stay, as long as the ext is not wiped / formatted.
If apps not recognised in market, clear market cache, boot cwm, clear dalvik, boot, use titanium backup pro to restore market link if needed.
Sent from my Desire HD using XDA Premium App
UpInTheAir said:
Maybe a slightly bigger partition would have been better.
The apps should stay, as long as the ext is not wiped / formatted.
If apps not recognised in market, clear market cache, boot cwm, clear dalvik, boot, use titanium backup pro to restore market link if needed.
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
I did the biggest one possible in Rom manager
Alright thanks for all your help mate!
Maybe your version, I have not done it since 1gb using cwm 2.5.1.3. But some newer versions had bricked phones. ROM manager is just an interface for cwm, so that's why its best to do it through pc. Should recognise the card through a sdcard adaptor
Sent from my Desire HD using XDA Premium App
UpInTheAir said:
Maybe your version, I have not done it since 1gb using cwm 2.5.1.3. But some newer versions had bricked phones. ROM manager is just an interface for cwm, so that's why its best to do it through pc. Should recognise the card through a sdcard adaptor
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
Yeah but I use windows, and I'm having problems using Gparted live (it just wont let me partition my sd card) and using virtualbox I cant find my device in Ubuntu :S
Mini partition tool , free version for windows, maybe you missed it in an earlier post.
Sent from my Desire HD using XDA Premium App
UpInTheAir said:
Mini partition tool , free version for windows, maybe you missed it in an earlier post.
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
Ahh stupid me haha, il try it out, thanks

/data/data partition full WTF

It appears that HTC made the app storage on this phone limited to ~150 megs and I see a lot of people deleting apps or clearing data from apps to fix. Does any custom partition utility exist for this phone? App so files are killing me. Thx for any pointers.
Sent from my ADR6300 using Tapatalk
notenoughspace if you're feeling risky. learn it before you use it otherwise you'll be SOL if you didn't make a backup. useful to move data to emmc instead of sd. otherwise cleaners like one click or sd maid are for routine cleaning if you wish to be safe
Cool, thx for the tip!
Sent from my ADR6300 using Tapatalk
Check out link2sd on the market. It allows you to move apps dalvik and libraries to a ext2/3/4 extension. It also has a setting to automaticly move new apps to the extension. I have about 55 apps installed and have about 113mb free.
Do these affect the standard apps2sd, or get wiped in a flash? When I ran into this,it was a game with "additional content " , which gave the option of storing on the sd instead.
I was wondering why I was having those low space notifications. I'll try these out.
Sent from my ADR6300 using XDA App
Notenoughspace doesn't work (well) with GB but GB native app2SD moves the app lib folders which I don't remember previous versions doing this. Still I'm low space even though I have 580 megs free on internal storage. Wish there was a way to resize these partitions but I know this is very tricky. Just a pain to deal with space issues when I have so much free internal space that is unused.
Sent from my ADR6300 using Tapatalk
To clarify notenoughspace works for cache/databases/files but doesn't work with lib data on GB since it recreates these on reboot so still a really nice utility.
Sent from my ADR6300 using Tapatalk
I've been using NotEnoughSpace with the Business GingerSense 3.0 ROM with no problems. It's great for those apps that store lots of databases and files in the /data/data partition.
Yeah, moving cache to /cache seems to work with most but moving databases and files seems to break a lot of apps. Also, remember to backup apps if you use this since nandroid backups don't include the /cache partition.
Sent from my ADR6300 using Tapatalk
I eliminated my low space issues by doing the following:
FACEBOOK: Clear cache / Deleted Data
FACEBOOK for HTC SENSE : clear cache / Deleted Data
ADOBE AIR : Uninstalled
ADOBE FLASH: Uninstalled the Updates
HTC MAIL: Clear cache / Deleted accounts / Deleted Data
This solved my problem... I installed K9 mail and allowed Flash to update and the issue has not returned.... yet!
Lego
Yeah, Adobe's a huge culprit. No app2sd and huge lib's. Also, AIR apps are sensitive to even moving cache. If you look you'll see AIR cert/sigs in data cache for these.
Sent from my ADR6300 using Tapatalk

Htc hd2 us tmbl internal memory.

I had to exchange my US tmoble phone which was a 1028? memory? Now when I go to hardware it says 768? Is this one of the old htc's before they were 1028. I have a android Rom installed and noticed I have no room for apps.
Sent from my HTC Runnymede using XDA App
Showing 768 in android means you flashed a 250/260mb cwm partition layout, because android doesn't include the system, boot and cache partition sizes when calculating internal storage. Only the data partition counts towards the available internal storage reading.
so, add whatever size cwm partition you flashed to the reported internal storage and you should come out around 1024mb
Ok thanks for the info. I have about 48mb left, I've only downloaded about three apps? This sound right?
Sent from my HTC Runnymede using XDA App
No, doesn't sound right, but without info like rom, cwm size flashed, ext partition set? its hard to know what to expect.
Cwm
5/235/5
Runnymeade sense 3.5 herios ..........
Sent from my HTC Runnymede using XDA App

Categories

Resources