Hi all--
I'm sorry in advance for the confusion I might have. I'm an extreme noob when it comes to this platform, and I'm not that great when it comes to Windows either...
Basically I was surprised to see that the external SD Card is used so much by CGM7 and is required for so much. For instance, all downloads HAVE to go to the external card. In addition: I don't know if this has anything to do with operating system, but all saved documents from basically any productivity program seems to save here by default as well.
So here are my questions:
Is there anyway to alter where things are downloaded to by the built in browser? I'd prefer that internal memory (EMMC, right?) be used... Does the default location for app installation handle this?
What exactly uses the external card by default?
Using the built-in file browser, why does it not want me to move items from internal to external storage? Why can I only copy and paste them?
I thought CWM was suppose to look on the external SD card when I use "Install zip from SD card." Instead, it looks at whatever is marked as the internal SD card. Why's that?
Thanks for your help and suggestions. I am using a gTablet, and I couldn't find a more appropriate forum for this question...
scyld said:
So here are my questions:
1. Is there anyway to alter where things are downloaded to by the built in browser? I'd prefer that internal memory (EMMC, right?) be used.
Click to expand...
Click to collapse
There is a thread just for this at the forum.cyanogenmod.com and also here:
http://forum.xda-developers.com/showthread.php?t=1028305
The last link in the first post does what you want. However, read my warnings if you do switch SD cards using that method:
http://forum.xda-developers.com/showpost.php?p=13569415&postcount=26
2. What exactly uses the external card by default?
Click to expand...
Click to collapse
Is the question what will use the external SD card, or what is using the external SD card. If it is the latter, Settings > Applications > Manage applications & Storage use has that info.
3. Using the built-in file browser, why does it not want me to move items from internal to external storage? Why can I only copy and paste them?
Click to expand...
Click to collapse
You can move them in the default File Manager. Keep your finger on the filename until a menu pops up. There is a "Move" choice.
4. I thought CWM was suppose to look on the external SD card when I use "Install zip from SD card." Instead, it looks at whatever is marked as the internal SD card. Why's that?
Click to expand...
Click to collapse
I will have to look into this, but I guess what SD card it uses depends on whether you have an external SD card in the slot or not.
The version of CWM I use, which is Clockworkmod Recovery v2.5.1.3, will use the external SD card by default when installing stuff or when making backups and when restoring, if it detects an external SD card. If one is not detected, then it will use the internal SD card instead for all its actions. See the blog post on the front page of http://bekit.net
rajeevvp said:
There is a thread just for this at the forum.cyanogenmod.com and also here:
http://forum.xda-developers.com/showthread.php?t=1028305
The last link in the first post does what you want. However, read my warnings if you do switch SD cards using that method:
http://forum.xda-developers.com/showpost.php?p=13569415&postcount=26
Click to expand...
Click to collapse
Yep, that's exactly the file I flashed in order to switch what SD card was labelled as "EMMC." Hmm, I suppose I could just move all my apps from the phone to "the external SD card"...
Is the question what will use the external SD card, or what is using the external SD card. If it is the latter, Settings > Applications > Manage applications & Storage use has that info.
Click to expand...
Click to collapse
Thanks.
You can move them in the default File Manager. Keep your finger on the filename until a menu pops up. There is a "Move" choice.
Click to expand...
Click to collapse
Pardon, I should have explained: when I do use the default File Manager's "Move" command, I get the message "Could Not Move File" whenever I try to move the file from one storage to the other.
I just downloaded Root Explorer, and it allows me to do this. However, I'm a little worried that it has Super User status, making me worried that I might accidentally do something bad with my clumsy fingers. But I suppose that's why I have CWM backing up my tablet.
Speaking of CWM...
I will have to look into this, but I guess what SD card it uses depends on whether you have an external SD card in the slot or not.
The version of CWM I use, which is Clockworkmod Recovery v2.5.1.3, will use the external SD card by default when installing stuff or when making backups and when restoring, if it detects an external SD card. If one is not detected, then it will use the internal SD card instead for all its actions. See the blog post on the front page of http://bekit.net
Click to expand...
Click to collapse
Interesting, thanks. I unfortunately do not remember which version of CWM I use, but I think it is not this one. I should check it out.
scyld said:
Yep, that's exactly the file I flashed in order to switch what SD card was labelled as "EMMC." Hmm, I suppose I could just move all my apps from the phone to "the external SD card"...
Click to expand...
Click to collapse
Here's my /system/etc/vold.fstab in its entirely. With this, my tablet uses the internal SD card as the default for storage.
Code:
## Vold 2.0 NVIDIA Harmony fstab
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
#dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc0 /devices/platform/tegra-sdhci.3/mmc_host/mmc1
# dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
Pardon, I should have explained: when I do use the default File Manager's "Move" command, I get the message "Could Not Move File" whenever I try to move the file from one storage to the other.
I just downloaded Root Explorer, and it allows me to do this.
Click to expand...
Click to collapse
Ah, OK. The reason for the difference is due to the way the move is actually implemented in File Manager and Root Explorer.
I had an idea about why File Manager couldn't move files across filesystems, and to confirm my suspicion I attached strace to a running File Manager:
Code:
$ su
# strace -e rename -p `pidof org.openintents.filemanager`
Process 28466 attached - interrupt to quit
[I]lots of irrelevant output omitted[/I]
rename("/mnt/sdcard/Kernel/Pershoot/lib-2632.40_gb.tar.gz", "/data/local/tmp/lib-2632.40_gb.tar.gz") = -1 EXDEV (Cross-device link)
[I]more irrelevant output omitted[/I]
File Manager calls the rename() system call to move the lib-2632.40_gb.tar.gz file, which, as the spec says, will fail in this case. The program is then supposed to do the move the old-fashioned way if rename() returns an EXDEV error: copy file1 to file2 by reading bytes from file1 and writing bytes into file2; then delete file1 if the copy is successful.
But, File Manager doesn't perform this very basic fallback step. It throws up its hands at the first error and spits out the error message you got. And, it's not just File Manager. The system mv command (if you have it) in /system/bin also exhibits the same dumb behaviour. The busybox mv is more robust. (You should actually report this as a bug to the File Manager people.)
Which brings us to Root Explorer. I got curious about it after the experiment with File Manager. RE handles cross-device moves just fine. What's more, it also moves entire directory trees across devices. Having written directory tree-moving programs before, I know that this is a non-trivial bit of programming. So, I ran strace on Root Explorer to see how it handled things, and the result made me laugh.
Code:
$ su
# strace -f -e execve `pidof com.speedsoftware.rootexplorer`
Process 3602 attached with 12 threads - interrupt to quit
[I]lots of irrelevant output omitted[/I]
10893 execve("/system/xbin/busybox", ["busybox"..., "cp"..., "-pr"..., "/sdcard/Kernel/Pershoot/lib-2632"..., "/data/local/tmp/lib-2632.40_gb.t"...], [/* 19 vars */] <unfinished ...>
10893 <... execve resumed> ) = 0
10914 execve("/system/xbin/rm", ["rm"..., "-r"..., "/sdcard/Kernel/Pershoot/lib-2632"...], [/* 19 vars */] <unfinished ...>
10914 <... execve resumed> ) = 0
[I]more irrelevant output omitted[/I]
Root Explorer is also taking the easy way out: It's actually using busybox to do (almost) all of its work.
I suspected this when I compiled a new version of busybox a few days ago to test out a new compiler toolchain. I moved the newly compiled busybox into /system/xbin without properly testing it first, and discovered that most of the commands died with segfault errors.
I re-uploaded the working version of busybox back onto the tablet in /mnt/sdcard/download, and then went into Root Explorer to move this busybox into /system/xbin, and RE started force closing on every action. Once I had managed to replace busybox through other means, RE started working fine again. At that time, I didn't look at the issue too closely--I thought it was just another example of the random lossage that Android exhibits from time to time. Now I know why.
Please feel free to post guides for
tweaks on how to root / unroot
device drivers
rom customizing
app 2 ext sdcard/sdcard2 default
here are some i found just want to share....
info link thanks to darkjf
TOOKY Beijing Kawasaki A981 + can also use this phone for some time
had the phone's internal phone storage space 2:00 4G ...
But with the passage of time a little bit
more slowly on its own is not enough to use a
mobile phone that supports SD cards
, but it is separate block
does not belong to the system default SD
and SD to determine the phone internal storage space is
to explain how the following Qian Kun Da Nuo
allow SD cards can become an internal storage space
of course ...
this part of the phone must have to gain root privileges
TOOKY A981 + install drivers get ROOT permissions:
SD card first using the original
files will all move to the inside of the computer
to this part of the main premise of this card clean and
replace the main reason is to avoid the
mess memory card files
have to pull out the SD card if I remember putting it back
, but this phone Most are using a USB
card first pull the battery because the pull ... (trouble)
Then back to the mobile operating
system to use can browse the program file browser
where I was using Total Commander
browse the file system / system / etc directory
down here looking for a vold.fstad file
(remember the figure below R switch to RW)
Click on the file and select Edit File
Here I use Total Commander built-in editor
Will see this screen and tap on the map
Looking down at the beginning of the previous two lines have no #
1
2
dev_mount sdcard / mnt / sdcard emmc @ fat / Devices / Platform / goldfish_mmc . 0 / Devices / Platform / MTK - SD . 0 / mmc_host
dev_mount sdcard / mnt / sdcard2 Auto / Devices / Platform / goldfish_mmc . 1 / Devices / Platform / MTK - SD . 1 / mmc_host
The figure has been modified is good
we will be the first line to / mnt/sdcard2
second line to / mnt / sdcard
1
2
dev_mount sdcard / mnt / sdcard2 emmc @ fat / Devices / Platform / goldfish_mmc . 0 / Devices / Platform / MTK - SD . 0 / mmc_host
dev_mount sdcard / mnt / sdcard Auto / Devices / Platform / goldfish_mmc . 1 / Devices / Platform / MTK - SD . 1 / mmc_host
After modification by the return
will be whether to save? choice
Then reboot the phone
into the Total Commander will see the SD card has already lost
this case your SD card and then (2) where the data
is moved to the SD card which can be covered
so that the completion USB storage space into the SD card Hello ~
Hi,
i recently changed the partition on my A820 using the meteos utility to 2,5gb data. Looking at the storage pane in the settings it says the following:
internal storage (~5% used)
total storage space: 2,46gb
available: 2,34gb
Phone storage~10% used)
total storage space: 273mb
SD-card (~20% used)
available: 6,08gb
Problem is, whenever i try to install the game "Blitz Brigade" from play store, it keeps complaining that i'm out of storage space (which i shouldn't be). I did set the installLocation to SD-card (same result) and even ran the Meteos tool again + recovery + factory reset. Same problem remain.
I tried the "Storage Analyzer" app in play store and got the following
/storage/sdcard0 : 273mib total / 238mib free
/storage/sdcard1 : 7,39gib total / 6,08gib free
/system : 590mib total / 94,5mib free
/data : 2,46 gib total / 2,33gib free
and also entries for /cd-rom, /protect_f and /protect_s
Could it be my partitioning that went wrong or is it just Blitz Factory that insists on installing in the wrong partition (i.e not adjusting to the preferences in the storage section?)
rgds
I have two identical phones (Xtreamer Q). One of them id reporting 13.14 Gb internal storage (one large area), but the second - 0.98Gb internal storage and 12.35Gb phone storage (two areas). When I try to install any application on the second phone it says "Not enough memory", but I can't find how to connect together the two memory areas.
What may be the problem - is it software or hardware bug? May be I have to change something in the preferences - but what?
When I open the directory tree on the first phone it is:
Code:
/
--- storage
--- emulated
--- 0
--- legacy
--- sdcard0
--- sdcard1
But on the second (wrong) phone it is:
Code:
/
--- storage
--- sdcard0
--- sdcard1
Attached are the screenshots of both phones.
Thank you for advance.
Alcatel OneTouch Elevate
Hardware : Qualcomm
Model : 5017B
Build number : Android L
Build date UTC : 20150725-065328
Android v : 5.1.1
file being modified: vold.fstab
code to be modified:
dev_mount sdcard /storage/sdcard1 auto /devices/msm_sdcc.2/mmc_host
#MTP
#dev_mount sdcard2 /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host
Should I swap out the highlighted red text in each line, or perhaps it is another section of each line? Or is storage mount embedded in the ROM, which would require opening the ROM and editing it then repacking it (which no one can do right now, no means of backing up full ROM)?
Is it even possible to modify these lines in Lollipop 5.1.1 without bricking an Alcatel OT Elevate that's rooted? There is no recovery possible for this device at present. No custom ROMs, and no custom recovery to flash with. This phone is mysterious, has a hidden fastboot partition, looks like.