Jump to content

Darktremor only shows half partition


Recommended Posts

Guest Michael Vegfruit
Posted

I'm trying to set up darktremor a2sd correctly. I have an ext partition set to 256mb, (using clockwork recovery when I first installed this new ROM) and showing correctly as such. But, when I look at my available internal storage, it only shows ~110mb. I and s fgot out of space warnings when my installed apps reached around 100mb. Disk usage confirmed that internal storage was showing as that size, with the appropriate amount of free space.

I did read something somewhere about 'not using old partition for new A2SD'. Should I have not created a new partition? Something else?

Here's the results of running a2sd check:

# /system/bin/a2sd check

[ ] Apps2SD is launching...

[ ] Starting Apps2SD Check Program.

[ ] Searching for Mount Point...

[] Mount point /system/sd located.

[ ] Checking for ext partition


Darktremor Apps2SD Status Report

===============================================================

Legend: []=Setting is correct

		[]=Setting is correct, but not optimal.

		[]=Setting is incorrect and needs to be fixed.

===============================================================

Partition	 - [] Mounted as EXT2


Apps		  - [ ] Linked to SD Card.

				[ ] No Apps2SD Flag File not found.

				[] Programs run from SD card

					To run from internal storage, type a2sd remove


Private Apps  - [ ] Linked to SD Card.

				[ ] No Apps2SD Flag File not found.

				[] Private Programs run from SD card

					To run from internal storage, type a2sd remove


Dalvik Cache  - [ ] Regular directory.

				[ ] Dalvik to /cache flag file not found.

				[ ] Dalvik to SD flag file not found.

				[] Dalvik runs from Int. Storage.

					To run from SD card, type a2sd cachesd.

					To run from /cache partition, type a2sd cachepart.


Swap		   - [ ] Partition not present.

				 [] Swap does not start.


ZipAlign	   - [] Not running at boot.

					 To activate it, type a2sd zipalign


Dalvik Heap(MB)- [] 24m


Low Memory

Killer Settings- [] 1536,2048,4096,10240,12800,15360

					 Note: Values are in pages.

					 1 page = 4KB memory.


					 Values represent the following:

					 1st number = Foreground App

					 2nd number = Visible App

					 3rd number = Secondary Server

					 4th number = Hidden App

					 5th number = Content Provider

					 6th number = Empty App


Property Patch - [] File System Ready property

					 found.

				 [] Boot image init.rc patched.


[] For a list of commands that you can use with Apps2SD

	Type:  a2sd help

#

I'm running commands directly in the terminal emulator, as I'm struggling to get ADB working from my ubuntu machine. So, fixes that I can run like that (I guess most are the same, anyway) would be nice.

Guest AdamBaker
Posted
I'm running commands directly in the terminal emulator, as I'm struggling to get ADB working from my ubuntu machine. So, fixes that I can run like that (I guess most are the same, anyway) would be nice.

To get adb (and fastboot) working on ubuntu add the 2 lines


SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", ATTR{idProduct}=="1501", ENV{ACL_MANAGE}="1"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", ENV{ACL_MANAGE}="1"
[/codebox]

to the smat phones section of the file /lib/udev/rules.d/70-acl.rules

They will get overwritten there if udev gets updated - there's probably a better place for end user changes but it's a workable solultion for now

Guest Michael Vegfruit
Posted (edited)

@rulerofkaos

OK, that seems to have sort of worked. It is definitely showing more space now: around 160mb in total, with about half used. But that still leaves 90mb or so missing, from the 256mb on the partition. Is that all cache? That sounds a lot. Looking at the size of the cache roughly, by mounting it in Linux, it looks like it is just 38mb.

@AdamBaker

cheers, I'll try that later. have added various things to udev rules, but with no luck, although none looked like that, IIRC. tried the usb switchmode thing other people here have used, but gave up when i realised i needed to compile it.

Edited by Michael Vegfruit
Guest rulerofkaos
Posted

Android always shows your internal memory in the settings, not your ext2 partition. So where are you looking?

Guest Michael Vegfruit
Posted
Android always shows your internal memory in the settings, not your ext2 partition. So where are you looking?

First, thanks again for pointing out the Dalvik cache thing. As I say, it did give a bit more space, but not the amount I had expected. And, as I am using the MicroSD card supplied (2gb, not type 6, as far as I can tell), moving the cache off of internal storage causes frequent FCs and hangs. So, while it is good to know for when I have a fast, big, card, it isn't a fix I can use now. So, all that follows is based on setting A2SD to 'nocache'.

Anyway, I'm working out the partition sizes and use a number of ways.

I realised there was an issue first because of that 'short of space' warning, when I knew I had nowhere near 256mb of apps installed. I didn't take screencaps then, and have more space now after trimming some big apps. But the numbers still don't add up for me.

So, first place to look was, as you say, internal memory. Here, now, I have 38mb available, apparently

6gQSP.jpg

Next, I checked using DiskUsage. That shows a ~119mb data partition with

36mb free:

ci8GE.jpg

Then, went into terminal and ran a2sd sysinfo. Key points seem to be:

[ ] Partition Information:

Filesystem				Size	  Used Available Use% Mounted on

tmpfs					52.5M	 12.0K	 52.5M   0% /dev

tmpfs					 4.0M		 0	  4.0M   0% /sqlite_stmt_journals

/dev/block/mtdblock1	100.0M	 96.5M	  3.5M  96% /system

/dev/block/mtdblock2	 90.3M	 53.7M	 36.6M  59% /data

/dev/block/mtdblock3	 20.0M	  1.4M	 18.6M   7% /cache

/dev/block/mmcblk0p2	228.4M	 90.9M	125.3M  42% /system/sd

/dev/block//vold/179:1

						  1.6G	  1.4G	175.4M  89% /sdcard
Here's the full results though, as a text file. Also ran a check with a2sd diskspace. That's short, but says the same:
# a2sd diskspace


[ ] Displaying Disk Space statistics on SD card

Filesystem				Size	  Used Available Use% Mounted on

/dev/block/mmcblk0p2	228.4M	 90.9M	125.3M  42% /system/sd

[ ] Setting File System Ready property to 1.

#

I'm reading that last one as saying I have the nearly 256mb (228mb) partition I expected, only 125.3mb of which is 'available'. 90.9mb of that is already used by apps, leaving me 34.4mb that I could use for new apps. So, someone's had 102.7mb of my precious storage, haven't they? Or am I misreading that?

Guest Simon O
Posted
# a2sd diskspace

[ ] Displaying Disk Space statistics on SD card
Filesystem Size Used Available Use% Mounted on
/dev/block/mmcblk0p2 228.4M 90.9M 125.3M 42% /system/sd
[ ] Setting File System Ready property to 1.
#[/code]

I'm reading that last one as saying I have the nearly 256mb (228mb) partition I expected, only 125.3mb of which is 'available'. 90.9mb of that is already used by apps, leaving me 34.4mb that I could use for new apps. So, someone's had 102.7mb of my precious storage, haven't they? Or am I misreading that?

I think you are misreading it. The ext2 partition is 228.4M in size. 90.9MB is being used and 125.3MB is currently free. 90.9 + 125.3 = 216.2MB which is slightly smaller than the 228.4M written.

On my partition the size is 457.9M with 17.1M being used leaving 416.4M free. Technically this means I'm missing 24.4M

I don't know why this happens. Might be best contacting the guy that wrote DarkTremor A2SD.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.