Access To Entire NT Filesystem Storage - Barnes & Noble Nook Tablet

So... I'm showing /data mounted with 11GB free, and all of the custom apps I've loaded from the Market are in /data/app. The 1GB of "user" storage is mounted at /mnt/media.
Either I'm really stupid, or perhaps we already have access to the full NT memory???

anlog said:
So... I'm showing /data mounted with 11GB free, and all of the custom apps I've loaded from the Market is are in /data/app.
Either I'm really stupid, or perhaps we already have access to the full NT memory???
Click to expand...
Click to collapse
That's weird. Has there been an OTA update that we weren't told about, or did the root do a whole lot more than we thought? I'm confused.

conundrum768 said:
That's weird. Has there been an OTA update that we weren't told about, or did the root do a whole lot more than we thought? I'm confused.
Click to expand...
Click to collapse
I haven't received any OTA. I think root basically gave us access to the /data mount. B&N wasn't anticipating root or the ability to load Amazon/Android markets...

anlog said:
I haven't received any OTA. I think root basically gave us access to the /data mount. B&N wasn't anticipating root or the ability to load Amazon/Android markets...
Click to expand...
Click to collapse
Well, isn't that dandy.

Get busy and try side-loading 10GB of applications and see what happens!
Although I suspect /data is a mount point for the two file systems, app and whatever the B&N one is called.
What does /etc/fstab show?

rmm200 said:
Get busy and try side-loading 10GB of applications and see what happens!
Although I suspect /data is a mount point for the two file systems, app and whatever the B&N one is called.
Click to expand...
Click to collapse
It looks like the standard /data mount from any other Android device. They just didn't anticipate end users having access to it...

anlog said:
So... I'm showing /data mounted with 11GB free, and all of the custom apps I've loaded from the Market are in /data/app. The 1GB of "user" storage is mounted at /mnt/media.
Either I'm really stupid, or perhaps we already have access to the full NT memory???
Click to expand...
Click to collapse
Not to discredit you at all, but would you be able to post a screenshot for the guy who was asking for proof on repartition info earlier in another thread?
Speaking of which, is there an easy method to take a screenshot?
Sent from my Nook Tablet using Tapatalk

downsay said:
Not to discredit you at all, but would you be able to post a screenshot for the guy who was asking for proof on repartition info earlier in another thread?
Speaking of which, is there an easy method to take a screenshot?
Sent from my Nook Tablet using Tapatalk
Click to expand...
Click to collapse
You can run a "df" from an ADB shell to see the mount points.
/data is there with over 11GB free.
This is all stock - no repartitioning required.

Unfortunately I have not had the chance to root yet. I guess tons of others have and they should easily be able to verify your findings. Looking forward to your one click root btw.
Sent from my Nook Tablet using Tapatalk

Could you post the contents of /etc/fstab and the output of these two commands:
Code:
df -h
mount
I'd appreciate it. I am currently deciding between the KF and the NT, leaning towards the NT, and I think being able right away to use the entire space available for apps would seal the deal.
Thanks.

downsay said:
Looking forward to your one click root btw.
Click to expand...
Click to collapse
Indirect has incorporated my gapps install into his root script, so it's better to use his now.
Good luck!

rmm200 said:
Get busy and try side-loading 10GB of applications and see what happens!
Although I suspect /data is a mount point for the two file systems, app and whatever the B&N one is called.
What does /etc/fstab show?
Click to expand...
Click to collapse
See below...

tsubus said:
Could you post the contents of /etc/fstab and the output of these two commands:
Code:
df -h
mount
I'd appreciate it. I am currently deciding between the KF and the NT, leaning towards the NT, and I think being able right away to use the entire space available for apps would seal the deal.
Thanks.
Click to expand...
Click to collapse
I've loaded over 500MB in apps from the Android Market and can see all of my apps and settings stored in /data. It's the real deal.
# df
df
Filesystem Size Used Free Blksize
/dev 456M 44K 456M 4096
/mnt/asec 456M 0K 456M 4096
/mnt/obb 456M 0K 456M 4096
/system 602M 392M 209M 4096
/data 11G 580M 11G 4096
/cache 419M 7M 412M 4096
/bootdata 47M 3K 47M 512
/rom 47M 15K 47M 512
/mnt/media 1021M 7M 1014M 4096
/mnt/secure/asec 29G 5G 23G 32768
/mnt/sdcard 29G 5G 23G 32768
/mnt/secure/asec 29G 5G 23G 32768

500MB still fits within the 1GB user area.
Can't you dummy up a copy to exceed the 1GB boundary, just to see if it is real?
Easy for me to dream up work for other folks...

anlog said:
I've loaded over 500MB in apps from the Android Market and can see all of my apps and settings stored in /data. It's the real deal.
# df
df
Filesystem Size Used Free Blksize
/dev 456M 44K 456M 4096
/mnt/asec 456M 0K 456M 4096
/mnt/obb 456M 0K 456M 4096
/system 602M 392M 209M 4096
/data 11G 580M 11G 4096
/cache 419M 7M 412M 4096
/bootdata 47M 3K 47M 512
/rom 47M 15K 47M 512
/mnt/media 1021M 7M 1014M 4096
/mnt/secure/asec 29G 5G 23G 32768
/mnt/sdcard 29G 5G 23G 32768
/mnt/secure/asec 29G 5G 23G 32768
Click to expand...
Click to collapse
Thanks!
10char

rmm200 said:
500MB still fits within the 1GB user area.
Can't you dummy up a copy to exceed the 1GB boundary, just to see if it is real?
Easy for me to dream up work for other folks...
Click to expand...
Click to collapse
The 1GB area is mounted at /mnt/media, but sure I can try pushing more data to it...

downsay said:
Speaking of which, is there an easy method to take a screenshot?
Click to expand...
Click to collapse
Screenshot = press 'n' button and '-' volume button. It ends up in your Pictures folder.

I have read through those instructions many times. Unfortunately the instructions aren't clear cut enough for me. I have no idea on how to change to the proper directory, nor what that proper directory may be. I will wait for someone to create a step by step guide with numbers and every specific so that it is noob proofed for people like me.
I guess i should add...do i need to unzip the files first after downloading and before running the script.
Sent from my Nook Tablet using Tapatalk

Even before root all of my side loaded apps and amazon apps were getting installed into the B&N content storage(or what ever you want to call it.) I've already used 1.17 gb's in there.

Apps installed from market are one thing, but are we able to mount the partition as well? I.e. to sideload music or video files from our computers, in the usual drag and drop manner.
Sorry if I'm repeating the same question again!
Edit: i.e. Similar to in the SGS II, where there is 2GB for apps (more than enough), 11gb for app data/internal sd, plus external sd.

Related

[Q] Cannot install any apps - "The package file is invalid"

On my 32GB Transformer Prime (rooted with jcase's nachoroot method) I suddenly cannot install or update any apps via the Market. I get the message "Package file is invalid" right at the beginning of the install process, before it has even finished downloading.
I tried all the usual things: clearing Market and Download Manager caches and data, uninstalling Market updates, rebooting, clearing /data/dalvik-cache and rebooting again, but the problem persists.
So I did "adb shell" then "su" then "df" and I see this:
Code:
Filesystem Size Used Free Blksize
/dev 492M 32K 492M 4096
/mnt/asec 492M 0K 492M 4096
/mnt/obb 492M 0K 492M 4096
/system 503M 485M 18M 4096
/data 27G 4G 23G 4096
/cache 421M 7M 414M 4096
/Removable 492M 0K 492M 4096
/mnt/sdcard 27G 4G 23G 4096
/Removable/MicroSD 7G 52M 7G 32768
which shows that there are only 18 megabytes remaining in the /system partition.
I don't know a whole lot about Android's filesystem layout but I looked inside /system/app and I see a bunch of .apk and .zip files, which I take it are my apps. I do have quite a lot installed.
If this is my problem and I have run out of space for apps, what can I do?
Also, why is the System partition made so small when there's 27GB of space still in the internal memory?
Thanks for any help.
EDIT: On closer inspection the apps under /system/app seem to be just the built-in ones. How much space do other people have in /system? Thanks.
actually all memory can be used for apps if you want. this is how android changed it from b4 to where u only had a limited amount. how can u have alot of apps left n still have 27gb? you start off with 27 free out of 32 when device out of box. I would suggest you carry this question and that log you posted to the Nachoroot thread where Jcase could help you out on it. maybe the root somehow messed up permissions for app installation. do you have enable non market apps checked off?
demandarin, thanks for the reply. I have now figured out what the problem was, and I was barking up quite the wrong tree. I had recently installed an app called Set DNS and used it to configure my tablet's DNS server settings manually. The DNS servers I was using deliberately resolve some domain names to proxies to get around regional restrictions. Switching back to Google DNS got the Market install and update functions working again. I suspect that the custom DNS servers were routing me through a proxy that was confusing Google about my location, and that I was running afoul of some regional restriction on the packages or on my Market account. Whatever it was, switching back to Google DNS seems to have fixed the problem.
So partly my fault, but they could have provided a more informative error message.
Hello I've got the same problem & not even rooted the TPRIME yet. I tried to install apps from the market & on getting the same error message. If u have any advice please post it. Thanks

Prime is saying I have insufficient storage and won't let me install anything.

Hey guys I feel ridiculous asking this question because I feel like it's something I should be able to figure out myself with some searching, but after all my efforts of trying to figure it out, I'm still stuck. ;P
I cannot install any more applications on my tablet, it's saying insufficient storage. Whether trying to push the install using "adb install" or uploading the .apk to like say /sdcard/ and try installing it from the device, both methods come back with insufficient storage.
The exact error is: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
I currently do _not_ have an external storage drive in.
But this is where I get a little bit confused, if I have all this free space, why would it be complaining about space?
---
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 491M 48K 491M 4096
/mnt/asec 491M 0K 491M 4096
/mnt/obb 491M 0K 491M 4096
/system 503M 241M 262M 4096
/data 27G 3G 24G 4096
/cache 421M 58M 362M 4096
/mnt/sdcard 27G 3G 24G 4096
[email protected]:/ #
---
Thanks guys, I'm sure it's something ridiculous. :silly:
mmerlina said:
Hey guys I feel ridiculous asking this question because I feel like it's something I should be able to figure out myself with some searching, but after all my efforts of trying to figure it out, I'm still stuck. ;P
I cannot install any more applications on my tablet, it's saying insufficient storage. Whether trying to push the install using "adb install" or uploading the .apk to like say /sdcard/ and try installing it from the device, both methods come back with insufficient storage.
The exact error is: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
I currently do _not_ have an external storage drive in.
But this is where I get a little bit confused, if I have all this free space, why would it be complaining about space?
---
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 491M 48K 491M 4096
/mnt/asec 491M 0K 491M 4096
/mnt/obb 491M 0K 491M 4096
/system 503M 241M 262M 4096
/data 27G 3G 24G 4096
/cache 421M 58M 362M 4096
/mnt/sdcard 27G 3G 24G 4096
[email protected]:/ #
---
Thanks guys, I'm sure it's something ridiculous. :silly:
Click to expand...
Click to collapse
How many apps do you have installed? im not sure if this is the case on the TFP but on my Galaxy s1 when ever i ran into this problem it meant the /datadata or /data/data partion was full.
if you uninstall some large applications does it allow you to install others?
Are you unlocked? if so try wiping your cache partition through CWM or TWRP
if you can install other apps this way root your device and install sd maid and clear your /cache partition
hopefully this helps
I have about 33 apps installed, that's counting maps and gmail and such. Even on the apps screen it says "Internal storage 3.2G used 24GB free".
I noticed that it doesn't have a problem updating apps. For instance it just downloaded the 6mb updated app for facebook and updated it without a problem. It only seems new installations are a problem.
Yes I am unlocked and rooted. I wiped the cache via TWRP but it did not solve the problem either.
I uninstalled a few things and got sdmaid installed, I used it to clean stuff up but it's still giving me insufficient storage errors for new installs that are a little larger, such as titanium backup.
I'm so confused here.
of those 33 apps are any sideloaded and require root?
Yes but looking through them quickly I'd probably guess only 1 or 2. I did not realize the system actually cared how an app was installed.. what effect does sideloading apps have?
Guessing that app is luckypatcher?
http://www.transformerforums.com/forum/transformer-pad-300-help/24847-solved-installing-apps-2.html
found this through a google search
Dont cheat devs on there hard work if that is one of the apps you got
Actually no I've never had lucky patcher installed on the tablet. The apps that I use that have updated "pro" versions I do pay for.. there are only a handful maybe. Rom Manager, TexTab, and mSecure from what I'm looking at.
I don't cheat on the devs, I can screenshot my gogole play "my apps" section if you like.
Good!, i was hoping that wasnt the case, but yeah go ahead im thinking this is a confliction with an APP causing this somehow

Storage Mountpoints.....

So, I've been playing and looking at the filestructure/mountpoints. As we know, the 'internal' memory available for apps is only 2Gb.
To me, it looks like this 2Gb is shared with the /data directory.
Code:
1|[email protected]:/mnt # df
df
Filesystem Size Used Free Blksize
/dev 383.57M 52.00K 383.52M 4096
/mnt/asec 383.57M 0.00K 383.57M 4096
/mnt/obb 383.57M 0.00K 383.57M 4096
/system 984.27M 678.05M 306.22M 4096
/data 1.80G 1.10G 718.43M 4096
/cache 738.20M 12.57M 725.64M 4096
/dvp 4.84M 1.04M 3.80M 1024
/persist 7.26M 1.17M 6.09M 1024
/mpt 15.48M 11.28M 4.21M 4096
/mnt/sdcard 1.80G 1.10G 718.43M 4096
Now, the external SD gets mounted to /mnt/sdcard/external_sd. I'm dabbling and learning here - but what would be the best way to mount the partitions to maximize the use of the external SD card?
John.
Exchange sdcard and extsdcard
Sent from my LG-P765 using xda premium
What are the odds that this will enable app2sd on android 4.0.4? even if they are low, what should I alter in /etc/rc.d to make sure that the sd card is mounted quickly during the boot process? and finally, precisely how might one go about altering the fstab mounts properly? i could probably fumble through it but im not sure what's different about a phone's boot process as opposed to a normal linux box.
so it looks like /mnt/sdcard is mounted from /dev/fuse (filesystem in userspace)
/dev/block/platform/omap/omap_hsmmc.1/by-name/userdata is mounted as /data
/dev/block/vold/179:61 is mounted as /mnt/sdcard/external_sd
/etc/vold.fstab has mount data for external_sd:
dev_mount extsdcard /mnt/sdcard/external_sd auto /devices/platform/omap/omap_hsmmc.0/mmc_host
it still isnt obvious to me how /data and /mnt/sdcard are linked, though they are. /data seems to be using a block device and /mnt/sdcard is using the fuse filesystem. if there is a way to unlink the two we may be able to alter the mount point for the sdcard. does anyone know how this mounting works with a 4.0.4 device that DOES have the sd card mounted correctly?
let me know if im derailing the original point of the thread and ill make a new one
edit:
this forum page seems to have some of the droids im looking for.
http://forum.xda-developers.com/showthread.php?t=1786014 (the thread)
http://forum.xda-developers.com/showpost.php?p=29413682&postcount=53 (for cm9)
http://forum.xda-developers.com/showpost.php?p=29901478&postcount=70 (for stock ics)
this is for the galaxy tab 2, but is written for ics and will probably work for other ics devices with a little modification

[Q] Internal Storage

I just wonder how this phone manages its internal storage and phone storage. If I go to 'settings' - 'storage', I see the attached page, while says my phone has about 1.8G internal storage, some it used by `apps' and some by `misc'. If I click on `apps', I get a list of my downloaded apps; if I click on `misc', I can see my own files on the phone (/sdcard contents).
IIUC, Android should have 'internal storage' (mounted as "/data") and 'phone storage' (mounted as "/sdcard"). Does L9 somehow mix these two (say they are on the same partition, and 1.8GB is the total volume)?
I'm just confused. Anyone with better understanding please explain? Many thanks. Also I'm on stock ROM with P769, but I guess the same applies to all versions of L9.
mrmathematica said:
I just wonder how this phone manages its internal storage and phone storage. If I go to 'settings' - 'storage', I see the attached page, while says my phone has about 1.8G internal storage, some it used by `apps' and some by `misc'. If I click on `apps', I get a list of my downloaded apps; if I click on `misc', I can see my own files on the phone (/sdcard contents).
IIUC, Android should have 'internal storage' (mounted as "/data") and 'phone storage' (mounted as "/sdcard"). Does L9 somehow mix these two (say they are on the same partition, and 1.8GB is the total volume)?
I'm just confused. Anyone with better understanding please explain? Many thanks. Also I'm on stock ROM with P769, but I guess the same applies to all versions of L9.
Click to expand...
Click to collapse
Yes. L9 and most new devices merge /data and /sdcard to same internal phone partition. I'm confuse at first but after google more info on web I know that it's google ICS design. Not sure what's good for this but many people complain about it, me too. It make external SD card less useful to store app/game data. You must root your phone and do some extra work to fix this. And this is a main reason why I rooted my phone.
Thanks bro. That explains it. Also I did a df:
C:\>adb shell df
Filesystem Size Used Free Blksize
/dev 383.57M 52.00K 383.52M 4096
/mnt/asec 383.57M 0.00K 383.57M 4096
/mnt/obb 383.57M 0.00K 383.57M 4096
/system 985.59M 646.19M 339.40M 4096
/data 1.80G 1.11G 703.00M 4096
/cache 738.20M 12.55M 725.66M 4096
/dvp 4.84M 1.04M 3.80M 1024
/persist 7.26M 1.51M 5.75M 1024
/mpt 15.48M 11.10M 4.39M 4096
/mnt/sdcard 1.80G 1.11G 703.00M 4096
Seems the /cache and /dev could be a bit smaller for more space for /data and /sdcard. But I haven't found any way to adjust internal partition sizes...
AW: [Q] Internal Storage
P760 has 2.33Gb for data/sdcard.

[Q] Repartition internal storage

I'm running a SlimKat ROM on Sony Xperia Z Ultra. Officially the device has 16GB storage installed, but only 11.79GB are available to the user. I know that all the rest is reserved for the OS needs. May be the official Sony ROM really needs 3.5GB of space to function properly, but since SlimKat is a very compact ROM, I'm sure it doesn't need so much storage (am I right?).
So is there any way to make more storage available for the user needs and less for the OS? May be there are some ways to repartition the device memory.
When I tried to google the question, I learned that there are some tricks to make the device treat the external SD card as internal storage, but that's not what I'm looking for now
I believe the NAND (internal SSD) capacity is reported using the the binary system (base 2 i believe), so 16GB won't actually be 16GB, same as your 1TB HDD won't give you the full 1TB, because 1000GB isn't 1000GB, like 1MB isn't 1000KB, but 1024KB as an example. It's math. I have no idea how a typical SSD's capacity is counted though, but you can't "recover" those 3.5GB and have all 16GB to yourself. A part of the 3.5GB simply doesn't exist.
LordManhattan said:
I believe the NAND (internal SSD) capacity is reported using the the binary system (base 2 i believe), so 16GB won't actually be 16GB, same as your 1TB HDD won't give you the full 1TB, because 1000GB isn't 1000GB, like 1MB isn't 1000KB, but 1024KB as an example. It's math.
Click to expand...
Click to collapse
Yes, I know, but 16GB would be 14.9 "real" GB, not 11.79
netimen said:
Yes, I know, but 16GB would be 14.9 "real" GB, not 11.79
Click to expand...
Click to collapse
the storage isn't empty you know ...there is allot of files stored there other than your personal files
SÜPERUSER said:
the storage isn't empty you know ...there is allot of files stored there other than your personal files
Click to expand...
Click to collapse
Yes, I understand that. But does the system really need 3GB to store it's files? SlimKat is very compact, my /system partition is 500MB currently
netimen said:
Yes, I understand that. But does the system really need 3GB to store it's files? SlimKat is very compact, my /system partition is 500MB currently
Click to expand...
Click to collapse
if I select everything excluding /sbin, /sdcard and /storage I get 9.34GB
if i select everything excluding /sbin, /sdcard, /storage and /data I get 3.71GB
I am on slimkat rom with pimped kernel
netimen said:
Yes, I know, but 16GB would be 14.9 "real" GB, not 11.79
Click to expand...
Click to collapse
Sure, but the flashed size isn't the installed size. The ROM can be 200MB when downloaded, but it can easily be 1GB when installed. It's compressed like crazy. The stock ROM is even larger at what? 800MB? Installed, that'll be 2.5-3GB, easily. I backed up my GPe ROM (NAND) last week. It's around 3GB with all my apps, and I have (only) around 20 apps installed.
Just let this go now before you do some damage to your device.
Here is the mounted partitions in carbon only 2.2 GB for system, but there is 1.6 free. At the most I would think you could get back would be only a little over ~1 GB. not worth the risk I feel
Code:
[email protected]:~/dev/carbon> adb shell
[email protected]:/ $ df
Filesystem Size Used Free Blksize
/dev 904.7M 132.0K 904.5M 4096
/sys/fs/cgroup 904.7M 12.0K 904.6M 4096
/mnt/asec 904.7M 0.0K 904.7M 4096
/mnt/obb 904.7M 0.0K 904.7M 4096
/mnt/fuse 904.7M 0.0K 904.7M 4096
/tmp 904.7M 0.0K 904.7M 4096
/system 2.2G 657.6M 1.6G 4096
/cache 196.7M 5.8M 191.0M 4096
/data 11.8G 5.3G 6.5G 4096
/mnt/idd 7.5M 1.0M 6.5M 1024
/lta-label 15.7M 4.8M 10.9M 4096
/mnt/shell/emulated 11.8G 5.3G 6.5G 4096
/mnt/media_rw/sdcard1: Permission denied
/storage/sdcard1 29.5G 22.6G 6.9G 32768
1|[email protected]:/ $

Categories

Resources