Hey XDA Community,
I'm running into some troubles with a used Pandigital Novel tablet. I'll give a little history, I loaded a CM7 build, it (eventually) worked great. I started loading up apps, when I got a notification that I was low on disk space. I thought that odd since I replaced the internal micro SD with a 16GB class 10. I checked memory status and it says I have a maximum of 188MB (that's MEGA-bytes) and only 6MB free!
Properties-Storage shows the following:
SD Card
Total Space: 7.4GB
Available space: 7.12GB :good:
Internal storage
Total space: 188MB
Available space: 47.95MB
It looks like your script is searching for a partition file /dev/block/mmcblk1 and there isn't one there. I loaded a partition viewer app (after deleting two other apps to get some space) and it reads as follows:
Mount - None
Partition - /dev/block/mmcblk0
15193.5 MB
Mount - /sdcard
Partition - /dev/block/mmcblk0p1
305.0/7595.0 MB
Mount - None
Partition - /dev/block/mmcblk0p2
7596.7 MB
Mount - None
Partition - /dev/block/mtdblock0
2.0 MB
Mount - None
Partition - /dev/block/mtdblock1
8.0 MB
Mount - None
Partition - /dev/block/mtdblock2
1.0 MB
Mount - None
Partition - /dev/block/mtdblock3
10.0 MB
Mount - /system
Partition - /dev/block/mtdblock5
154.0/200.0 MB
Mount - /cache
Partition - /dev/block/mtdblock6
1.0/100.0 MB
Mount - /data
Partition - /dev/block/mtdblock7
140.0/168.0 MB
I tried moving apps to the SD card, but they fail... not sure why there either. I have a feeling something is really messed up in the partition tables, but I don't have the eye to see what it is or how to fix it. Guessing I need an expert to help me with a script and restore my install from backup or something. I'll keep looking around the forum, just don't want to start trying stuff and brick this thing.
Here's hoping there is a kind soul out there that can give me a hand.
~~JClouseau
Native Mount Data on Ext
Trying to get up the courage (and time) to follow the steps on XDA: Native Mount DataOnEXT. Could take some time, but would be really cool to have a couple gig for data.
Related
I flashed a CM10 rom, and the /system partition has 1.2 GB free, where the /data/ partition is only 468 MB, and I have to move apps to microSD because it was too full.
Is there any way to resize the partition?
Code:
Filesystem Size Used Available Use% Mounted on
tmpfs 184.5M 48.0K 184.5M 0% /dev
tmpfs 184.5M 0 184.5M 0% /mnt/asec
tmpfs 184.5M 0 184.5M 0% /mnt/obb
/dev/block/mtdblock2 468.0M 368.4M 99.6M 79% /data
/dev/block/mmcblk0p1 1.5G 316.0M 1.2G 20% /system
/dev/block/mmcblk0p2 190.0M 63.3M 126.7M 33% /cache
/dev/block/vold/179:9 14.8G 8.0G 6.8G 54% /storage/sdcard0
Or, is it possible to switch the partitions around?
1. make a Nandroid backup [just in case]
2. edit the fstab? or is it init.d? and switch the /system and /data devices around so the system is 468M, and data is 1.5G
3. boot into recovery mode, adb pull the /data/ to laptop
3. adb shell, rm -r the /data/ folder, cp -r the /system/ into /data/
4. rm -r the /system/, and then adb push the original "/data/" folder from laptop back to the phone
5. reboot.
6. profit?
lol
Wouldn't you just be undoing the work of jt1134? He's put all the critical stuff on the faster chip.
Originally Posted by jt1134
"System and data partitions have been SWAPPED. The I500 has 2 internal memory chips. The OneNAND (that Samsung ships for system and other storage) and the eMMC (that Samsung ships for data and cache storage). The OneNAND is a total of 512mb and contains system, along with the kernel and recovery images, bootloaders, etc. The eMMC is ~1.5gb and is used for data storage. In the newest builds, system is now stored on the eMMC, data is stored on the OneNAND, and cache has been moved to /dev/block/mmcblk0p3 which is a previously unused (by us, used by Samsung/Vzw for their stupid paid apps like tetris and other bull****) that is on the eMMC. This eliminates the "lag" experienced in earlier builds due to the fact that write speeds on the OneNAND are extremely faster than write speeds on the eMMC (Samsung should've never shipped those stupid, ****ty-ass chips to begin with).
This means that with the bootloaders, kernel, etc there is only 468mb left for data storage, along with a ****load of extra storage available for system. This is bad due to the fact we have less data storage space, and good due to the fact the device now performs much better and future versions of android will have plenty of system space available to them. Just the upgrade from ICS to JB alone requires nearly an additional 100mb of space for system. If you're running low on data storage, either move apps to the sdcard, or if you're crafty enough, move certain apps to /system/app. Things like updated Google apps (Market, Maps, etc) are perfectly fine working from /system/app, and can conserve lots of space. Attemping to do other trickery like place certain chunks of data onto the eMMC without impacting performance is both difficult to maintain and a pain the ass to come up with anyways. It is what it is, and it'll stay that way."
Hi,
Got this Desire Bravo with low internal memory so thought I should mount the app and data dirs to a ext4 partition on my SD card instead so I can install a lot of apps.
Followed this howto:
newton dot cx/~peter/2012/12/how-to-increase-app-space-with-a-partitioned-sd-card-on-an-htc-nexus-one-running-android-2-3-6-on-linux/
I found that my ext4 partition is mounted at boot time.
mount command gives the below:
/dev/block/mmcblk0p2 /mnt/sd-ext ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
I can copy the data to the ext4 partition without any problem using "cp -rlp /data/app /mnt/sd-ext/data" and "cp -rlp /data/data /mnt/sd-ext/data" .
I can see the data when doing a "ls /mnt/sd-ext/" - looks ok.
But after reboot the data is just gone - just dont get it. Grateful for any help for troubleshooting this.
Running ROM CM10.1_VJ_4.2.2_V6.3_May24 .
Thanks...
EDIT: installed S2E app (Simple2Ext) instead, which didnt work well, so tried Mount2SD instead and appears to be working OK.
Something I've been wondering about for a long time. On my 16gb S2, if I total the internal device memory ~2gb and the USB storage ~ 12gb (or less) it comes to 14gb. So where is the other 2gb hiding?
System. Not accessible by you.
/cache 98mb
/data 2000mb
/dev 400mb
/efs 19mb
/preload 502mb
/system 502mb
/sdcard 11500mb
These are values of partition
Remember:
1000mb=1gb in linux
1024mb=1gb in windows
You can also check partition informations using df in terminal emulator
Sent from my GT-I9100 using XDA Premium 4 mobile app
I wanted to have the fast SD Card, just to make the overall performance of my phone just a little better, and since my phone model (LG Optimus F7 everything has to be linked to SD card because the "external sd card" is a partition of the built in internal giving 1.27 gig of space - On a current gen phone! Jellybean!)
So I have a SanDisk Ultra 32 gig chip - active chip - partioned into 2 partitions - 1 Fat 32 and 1 ext4
The new card is a Micro Center Circle(10) HC 32 gig chip - partitioned into 2 partitions - 1 fat 32, and 1 ext 4
I have a multi-card reader for my laptop, when I try my main chip the fat32 partition can only have the files copied off, and the ext4 partition won't mount. So I can't just copy the files because any files on second mount are inaccessable. (I just thought while typing this I could makesure partition 1 is bigger than 2, use built in file manager copy all of partition 2 onto 1 on sd card, copy onto computer).
Anyway, I'll try that, but I was wondering if I transfered as much material, then made a back up of my rom, factory reset, re-installed backed up rom but with other sd card in, wouldn't the rom put the files on the sd card where they were? It won't know I switched?
Running Ubuntu Linux -
Errors I get from Terminal, etc below
Code:
####ERROR######
Error mounting /dev/sdb2 at /media/xieon/71937e1e-588a-4e44-a435-9c6485d066c3: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdb2" "/media/xieon/71937e1e-588a-4e44-a435-9c6485d066c3"' exited with non-zero exit status 32: mount: block device /dev/sdb2 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
#####ERROR#####
Hi Supporters,
there is a problem with my sdcard under Android 7.1.2 (root=true, adb=possible). The vFat Partition can be used, but the rest is not mounted and can not be used.
mmcblk1p1 vfat 183 GB Status : OK
mmcblk1p2 ext4 16 MB android meta Status: not mounted
mmcblk1p3 ext4 64 GB Status: not mounted (primary) (want to use that partition as adoptable Partition for extra internal memory)
mmcblk1p4 ext4 2 GB Status: not mounted (primary) (want to use that partition as SWAP Partition for extra RAM)
Trying to mount the Partition3 (64 GB) gives the error "mount: mounting /dev/block/mmcblk1p3 on /data/sdwyt2 failed: Invalid argument"
i have the apps "Apps2SD Pro" & "Link2SD" but they can't mount the 3 partitions too.
Does anyone know how i can mount and use the 3 ext4 partitions?
Solution: On devices running Android 7.0-8.1, file-based encryption (FBE) can't be used together with adoptable storage.
https://stackoverflow.com/questions...able-storage-not-available-on-device-with-nat