Ok so something odd just happened.. - AT&T HTC One (M7)

Yesterday I put some roms on my sdcard of the phone. I then installed and aosp rom but the camera didn't work so I installed Trickdroid 5.4.0 instead. Today I just went to put a different rom on the sdcard and I noticed that some of my folders were missing that I added. There is a folder now called 0. That's it, just 0 and all my folders are inside that. There are also some of the same folders in that folder on my root storage with the same exact name but empty. Wtf? Anyone have any idea how that happened?

Cm10.1 adds multi user support. User 0 is the default. All your /data stuff is in there now

gunnyman said:
Cm10.1 adds multi user support. User 0 is the default. All your /data stuff is in there now
Click to expand...
Click to collapse
Time for another PSA, I think, Gunnyman!
Or one big FAQ since this keeps popping up.

They just get locked.

SkizzMcNizz said:
Yesterday I put some roms on my sdcard of the phone. I then installed and aosp rom but the camera didn't work so I installed Trickdroid 5.4.0 instead. Today I just went to put a different rom on the sdcard and I noticed that some of my folders were missing that I added. There is a folder now called 0. That's it, just 0 and all my folders are inside that. There are also some of the same folders in that folder on my root storage with the same exact name but empty. Wtf? Anyone have any idea how that happened?
Click to expand...
Click to collapse
Same exact scenario with me I'm confused. TWRP recovery doesn't detect my old backups cause of the Damm 0. I'm still trying to sort this out. I don't want to deal with /sdcard0 then have all my new pictures or files being stored at a new location.
Sent from my HTC One using xda premium

shook187 said:
Same exact scenario with me I'm confused. TWRP recovery doesn't detect my old backups cause of the Damm 0. I'm still trying to sort this out. I don't want to deal with /sdcard0 then have all my new pictures or files being stored at a new location.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Gogogo copypasta:
0 is intentional. Android 4.2.2 added the ability for multi-user support, and it divides up the internal storage accordingly. "0" belongs to the first user, "1" belongs to the second... so on and so forth. Pull what files you want to keep out of the 0 folder and onto your computer then delete it. As long as you stay on pre-4.2.2 ROMs, it won't resurface. Even if it did, it's not that big of a deal since that's where we're heading anyway with Android development.

Related

Firefox download folder location

I can't seem to locate the directory folder that the new firefox app downloads to. anyone?
Nevermind, it goes right to the sdcard, no folder. I didn't see the files because the downloads failed...
can't seem to get the download folder to change.
I went into:
about:config
created a new string: browser.download.dir
set the value to: /mnt/extSdCard/Downloads/
Restarted Firefox
But still the downloads go into the sdcard/downloads
I've also tried:
/extSdCard/Downloads/
/sdcard/
/extSdCard/
/mnt/sdcard
none of these have any effect.
Any ideas?
Bump:beer:
Sent from my SGH-I747M using Tapatalk 2
Im also looking for changing my dl directory. It have work once for me when modifying the "browser.download.folderList" after creating the browser.download.dir string. But after reboot of firefox the next dl will go back again to the sdcard.
Wonder if anyone else could tell how to do it
creating a new string is a good step for changing your dl directory. But you should also add this step to make it work.
Modify the value of "browser.download.folderList" from 1 to 2
Thats it!!
Click to expand...
Click to collapse
When editing your old posts, try not to delete the original information that could have been useful to others.
People won't have known what value to put into the string.
Sent from my SGH-I747M using Tapatalk 2
I hate managing folders so now I use directory bind which allows me to bind two folders together. Basically you create another downloads folder on your external sd card and use directory bind to "bind" them. Checkbox to transfer contents and your downloads (source) folder will be dumped into the empty folder you've created automatically (destination must be empty when checking the box). When altering files in either downloads folder, the changes appear in both. When you look at storage, the original source folder is not calculated into your used internal storage amount even though every other app sees files in there (since that would defeat the purpose). I use it for my downloads, camera and several apps and game folders not designed to be pushed to SD. Instead of continuously resetting app download destinations, I sit back and relax knowing every app downloads to the proper place (minus the rogues who think they deserve their own folder lol). When flashing a new ROM, simply unbind everything first and disable autostart, backup with titanium backup, after restore, you should be good (depending on your new version of android in which case you may need to adjust some settings). If setting up from scratch again, assuming your working folder structure is still in tact, you can bind again without ticking the box (since the files are in their proper place and a transfer is no longer necessary).
You can get it here, it looks like it hasn't been updated in a while, but I've tested it from Android 4.0 through 4.2.2 and it's perfect (settings adjustments will likely be required): http://forum.xda-developers.com/showthread.php?t=1410262
Hi everyone, was a solution found to that still issue? I tried to move the default download folder to the ext SD card with settings into about:config, I changed as well the "browser.download.folderList" value to 2 and add a "browser.download.defaultFolder" string, but everything failed, please does someone know what to do? Or is there another setting menu or mod/Exposed module to achieve this..?
Thanks in advance for the help!
May I Taste said:
Hi everyone, was a solution found to that still issue? I tried to move the default download folder to the ext SD card with settings into about:config, I changed as well the "browser.download.folderList" value to 2 and add a "browser.download.defaultFolder" string, but everything failed, please does someone know what to do? Or is there another setting menu or mod/Exposed module to achieve this..?
Thanks in advance for the help!
Click to expand...
Click to collapse
Use this config (I am assuming you're on 4.4 and have used SDFixer)
SeraphSephiroth said:
Use this config (I am assuming you're on 4.4 and have used SDFixer)
Click to expand...
Click to collapse
Hi, thanks for your help, but it still don't work for me. What I don't understand is that the path can be whether
/storage/sdcard1/Download
or
/ext_card/Download
Maybe you know why? I'm running CM11 nightlies (4.4.4) on Xperia Z2
May I Taste said:
Hi, thanks for your help, but it still don't work for me. What I don't understand is that the path can be whether
/storage/sdcard1/Download
or
/ext_card/Download
Maybe you know why? I'm running CM11 nightlies (4.4.4) on Xperia Z2
Click to expand...
Click to collapse
With a r/w sd? Use a root explorer to find the path to the r/w sd
I'm very busy and sorry not to say anything for long but thank you much for your answer and help.
My path is correctly pointing the SD, I checked carefully the settings and got no success. Then suddenly Firefox began to write on ext sd, but still this is only sometimes! I tried to see if the files type or size had something to do with that behavior but it seems to be just erratic..
It actually seems that it's the "Flash Video Downloader" module who sends files into the internal storage regardless of the browser settings..

[MOD] [IDEA] Mount SDCard as /sdcard AND /sdcard2 and avoid internal storage

Not sure how to better ask than to state my intent. The added storage of internal nand (as /sdcard in most roms) isn't worth the trouble it creates with doing full migrations from one rom to the next so I'm thinking I want to edit scripts (init.d, fstab and what-not) so that the internal storage just isn't used and my sdcard is OR so that internal is mounted inside /sdcard as /int_temp or something like that.
What I want to know though is if anyone out there knows of a reason this would be inadvisable? In other words, is there anything I'm likely to break? Any reason I can't just shell in from recovery, set things up, and try it?
Also, to deal with apps that don't rely on the APIs correctly, I was thinking of mounting as both /sdcard and /sdcard2. Any reason that could cause trouble? Ideally I would also edit the rom so that properly written apps will always use SDcard over internal storage too.
Thanks in advance.
UPDATE:
2012-03-06T20:08-0700: So far I've done no harm and by simply modifying /etc/vold.fstab to the following, I've swapped internal/external, but it's a complete swap so the rom now reports 29GB total phone storage and 10GB SD card storage. I'm guessing it's the ramdisk that contains the references that vold.fstab uses which define what's "phone" and what's "sdcard". I tried swapping single parts of vold.fstab entries and storage broke so it doesn't appear to be standalone in that sense (doesn't have the meta data to indicate what's phone and what's sdcard).
Code:
dev_mount sdcard2 /mnt/sdcard/ext_sd 37 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
I can work on it later this week. I think it can be done. I just need time to mess with it.
/sdcard/sd_ext
Thanks for the quick reply Con. Should it take much more than init.d and/or fstab changes? I have no doubt you're as/more busy with Android mods than I am with my other projects so I'd rather give this a go and hit you up with targeted questions than wait AND put it all on you. If you're cool with that, I'll give it a go right now while I'm between roms.
dmeadows013 said:
/sdcard/sd_ext
Click to expand...
Click to collapse
You guys are on it today!
What about it? Depending on the rom, I've seen that as well as /sdcard2. I don't think that link needs to exist if I succeed with what I'm thinking.
rainabba said:
You guys are on it today!
What about it? Depending on the rom, I've seen that as well as /sdcard2. I don't think that link needs to exist if I succeed with what I'm thinking.
Click to expand...
Click to collapse
Lol that exists already. Sdcard is really just emmc I think. It is needed for downloads and other system processes that would clog the sdcard. You can access the external card through sd_ext
rainabba said:
Thanks for the quick reply Con. Should it take much more than init.d and/or fstab changes? I have no doubt you're as/more busy with Android mods than I am with my other projects so I'd rather give this a go and hit you up with targeted questions than wait AND put it all on you. If you're cool with that, I'll give it a go right now while I'm between roms.
Click to expand...
Click to collapse
No I am busy with exams lol.. no other android projects right now. I have recently abandoned one due to dres's new mainver tool which is much better.
Aren't you twistedumbrella?
Sent from my ADR6425LVW using Tapatalk
superchilpil said:
Aren't you twistedumbrella?
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
who are you referring to?
con247 said:
who are you referring to?
Click to expand...
Click to collapse
Rainabba, I swore adrynalyne called him by that once
Sent from my ADR6425LVW using Tapatalk
dmeadows013 said:
Lol that exists already. Sdcard is really just emmc I think. It is needed for downloads and other system processes that would clog the sdcard. You can access the external card through sd_ext
Click to expand...
Click to collapse
Guess I wasn't clear enough. I know it's there, but /sdcard is internal storage (EMMC) and not sdcard which is what I'd prefer it to be. Also, /sdcard/sd_ext is irrelevant except that a ROM settings allows apps using the proper API to discover that the sdcard is mounted there (95% sure that's true anyway) and that's needed BECAUSE /sdcard isn't actually the sdcard. Pretty silly IMO.
superchilpil said:
Rainabba, I swore adrynalyne called him by that once
Click to expand...
Click to collapse
If he did, he was mistaken. I do know of Twisted though I can't recall why at the moment. Also, adrynalyne most definitely knows of me (we've exchanged opinions on more than one occasion)
superchilpil, curious but does Tapatalk have an option to get rid of that sig it's adding to your posts? I've been thinking of adding support to my forums so I'm curious but the last time I tried to use it, it seemed like more trouble than just using a browser so I haven't explored it fully from the client-side.
See op-post for update.
Here is the file that I edited and use everytime I flash a new rom. It swaps SDcard and EMMC. What you have to do is copy the file in the RAR archive to the /etc folder and overwrite the one that is there. Just keep in mind that after you copy this file that the EMMC is not accessible with USB mount. I have not figured out how to do that exactly. Reboot after file overwrite.
mrcrusha829 said:
Here is the file that I edited and use everytime I flash a new rom. It swaps SDcard and EMMC. What you have to do is copy the file in the RAR archive to the /etc folder and overwrite the one that is there. Just keep in mind that after you copy this file that the EMMC is not accessible with USB mount. I have not figured out how to do that exactly. Reboot after file overwrite.
Click to expand...
Click to collapse
Thanks for sharing.
Looks like our findings are identical, literally (see op post)
mrcrusha829 said:
Here is the file that I edited and use everytime I flash a new rom. It swaps SDcard and EMMC. What you have to do is copy the file in the RAR archive to the /etc folder and overwrite the one that is there. Just keep in mind that after you copy this file that the EMMC is not accessible with USB mount. I have not figured out how to do that exactly. Reboot after file overwrite.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.rafoid.multimountsdcard.widget
maybe that app will help you
rainabba said:
If he did, he was mistaken. I do know of Twisted though I can't recall why at the moment. Also, adrynalyne most definitely knows of me (we've exchanged opinions on more than one occasion)
superchilpil, curious but does Tapatalk have an option to get rid of that sig it's adding to your posts? I've been thinking of adding support to my forums so I'm curious but the last time I tried to use it, it seemed like more trouble than just using a browser so I haven't explored it fully from the client-side.
Click to expand...
Click to collapse
Yea its easy to remove
Sent from my ADR6425LVW using Tapatalk
The question ive asked many times before about this is: why does the internal ram have to be tied to the sdcard via ext_sd? Cant it be its own independent emmc folder or something?
http://forum.xda-developers.com/showthread.php?t=1383330
It'd be sick if we could set it up as a raid 0...don't think that'd ever happen tho.
Sent from my ADR6425LVW using Tapatalk
tbot said:
It'd be sick if we could set it up as a raid 0...don't think that'd ever happen tho.
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
Could be possible lol. Only issue is is if you relocked/wiped the internal/etc all your data would be wrecked.

Folder 0

Hye need some help here... i think my phone only detect whats inside of this folder 0 only... for example my ringtone if its not inside the folder 0 i cant see it inside the sound section... how can i change that? And can i delete everything out side the folder 0...? Because it looks like a duplicate..
Sent from my GT-I9300 using xda app-developers app
Have a read of the last link in my signature
Sent from my GT-I9300 using Tapatalk 2
This happens when you flash from an JB 4.2 to a lower version rom. This is due to the profiles feature in 4.2. You can safely remove the 0 folder. Just make sure you copy/backup whatever is in that folder you might need. CWMR and TWRP does a user data wipe and you will notice that it doesnt wipe /data/media. This is the mountpoint for your internal storage when using a 4.2 based rom. So anything you might have copied over, photos taken etc, will be preserved in the /sdcard/0 folder

Folder 0 on HTC ONE

I have looked every where for this with no luck on how to fix it yet. I flashed Rom on my HTC ONE and discover everything I had previously was gone. I check and it looks like I am running the system from a new sub folder called "0". I flashed the ROM with the latest ClockWorkMod so it was not supposed to happen. Now I have no idea how to either get rid of the sub folder "0" or the files I had/have on the actual upper folder of my system. I have looked every where for a RUU for Tmobile with no luck. Any help would be highly appreciated.
I tried mounting the device but it always point me into the inside of the folder 0 as my root directory, so no clue on what to try next.
Data/media
Sent from my GT-N7105 using xda app-developers app
neovitwin said:
I have looked every where for this with no luck on how to fix it yet. I flashed Rom on my HTC ONE and discover everything I had previously was gone. I check and it looks like I am running the system from a new sub folder called "0". I flashed the ROM with the latest ClockWorkMod so it was not supposed to happen. Now I have no idea how to either get rid of the sub folder "0" or the files I had/have on the actual upper folder of my system. I have looked every where for a RUU for Tmobile with no luck. Any help would be highly appreciated.
I tried mounting the device but it always point me into the inside of the folder 0 as my root directory, so no clue on what to try next.
Click to expand...
Click to collapse
This explains the file system http://forum.xda-developers.com/showthread.php?p=42050197
Sent from my HTC One using Tapatalk 2

[Q] Help unbinding storage/external_SD from storage/sdcard0

Somewhere along the line either my brother or I made a mistake, and when going to storage/sdcard0 there is a folder external_sd (in italics in most file explorers) which links directly to storage/external_SD. The problem is, while I've cleaned out storage/sdcard0 by moving as many apps as possible with Link2SD, having that directory there makes the phone think sdcard0 is full. Any help would be greatly appreciated. Thanks!
No one? I'm sure there's some simple busybox command in console mode that will unbind the directory. I only have 250MB on sdcard0 (the internal MMC storage partition) but I can't even update my apps because when I try I get "insufficient storage available" & it's all because the friggin external_sd is linked in that folder. Right now using a diskinfo app, it says sdcard0 is 128% full because the size of the external_sd linked folder. Any help would be GREATLY appreciated!!! The limited storage available is the main reason I spent the time rooting, to be able to use link2sd to move my apps. I hope someone can help soon.
Don't know of this will work butt I was getting a full sd0 card s while back then I moved all of my backup files to external. All pictures, music, etc as well. Good luck !
Sent from my LG-P769(20F) using the xda-developers app. If I helped you please hit the "thanks" button.
Are you running a swap script?
Sent from my LG-P769 using xda app-developers app
kuma82 said:
Are you running a swap script?
Click to expand...
Click to collapse
Here's the thing, after I rooted the thing, my brother-in-law and I swapped phones for a week (his GS3 for my L9) because I wanted to try out his phone. And he said he tried some tweaks, but said he put everything back before we swapped back. He told me in an email the other day when I told him about this issue that he tried How to exchange memories but said it didn't work for him. So when you ask if I'm running a swap script, could that be what your talking about.
I'll never swap a rooted phone with a friend again! Especially when I can't figure out where he/she screwed it up. But I was thinking about getting a Galaxy S3 or S4, so I wanted to check out his phone. Thanks so much for the reply though.
...oh, and Nathan, all of my files are on the external. And because the external_sd has a folder inside sdcard0, that's why sdcard0 is reading 122% full, even though there's only 200MB of files actually on sdcard0, everything else that the phone reads is from the linked folder.
wintermute010 said:
So when you ask if I'm running a swap script, could that be what your talking about.
Click to expand...
Click to collapse
There ale few ways to swap storage/external_SD, check /system/etc/init.d/ folder for script, depending on android version script will have different name, 97ext2sd was working on ICS, for JB you have to dig the forum. Ussually deleting the script reverts changes, when you find the proper script there should be information how to switch back.
Reward offer...
No init.d folder, I can use an app called "init.d toggle" to make init.d folder (and place system/bin/sysinit file - modify system/etc/install-recovery.sh), but there wasn't a script there creating the directory bind.
At this point I haven't been able to update or install any apps/games in a couple of weeks because I don't want to delete the info I have on external_SD. So, I'm willing to transfer $10 by PayPal to anyone who will help me fix this problem. I'm sure it's something simple, I just need someone with more knowledge of linux and busybox, etc.
Please...is anyone out there willing to help out with a few moments of your time if there's 10 bucks in it?? :fingers-crossed: :laugh: :highfive:
I would really appreciate it...Thanks so much and take care all.
Sd0 is your internal sd card. Look you might as well just flash a ROM
Sent from my LG-P769(20F) using the xda-developers app. If I helped you please hit the "thanks" button.

Categories

Resources