i have many internal file directories... - Verizon Samsung Galaxy Note II

from what i understand this is a feature of JB. I would love to delete these directories and keep them gone. they keep coming back after formatting everything in CWM. legacy, 0, emulated etc. im on carbon 1.8

Every time you flash a aosp rom aka 4.2 rom from anything less you will get another directory
Sent from my SCH-I605 using xda app-developers app

Bfitz26 said:
Every time you flash a aosp rom aka 4.2 rom from anything less you will get another directory
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
It's the way the phone is set up. and when you switch between TW and AOSP roms you will create new directories. If you only going to use TW Roms, then flash the "revert back after downgrade" it will move the files back where they are supposed to be on your internal SDcard.
Sdcard is the standard 1st search location
Sdcard0 is the emulated search location
extsdcard is of course, whatever card you inserted.

If you are talking about /legacy or /emulated - leave them they are not hurting anything and they do not take up any extra room. They are symlinks pointing to a single copy of the files.
If you are taking about multiple /0/0. . . directory structures - make sure you have anything you want copied up to the /0 (only 1 zero) directory structure, and then delete the directory structures that start with /0/0 /0/0/0 etc.
Sent from my Nexus 7 using XDA Premium 4 mobile app

Related

[ROM] [DEVS ONLY] Incredible S and Desire S for Nexus One

Over the last few days, I've been cooking up a ROM using the Incredible S system dumps and nandroids. Problem is, it doesn't work It flashes fine, everything works there, but when I boot up my N1, it stays on the Nexus splash screen (the one with the X on the padlock on it). If any devs could have a good look at it, and see if they can find the source of the problem I'd be eternally grateful When you've found the problem and confirmed it works, PM me the file, tell me how you solved the problem, and I'll just check everything is in working order, then upload it. I will also put your username in the thread!
I used the HTC Android Kitchen (link here) to make this, so you might want to use that.
Incredible S
Link to latest ROM
The zip is: 224.0 MB (234929825 bytes)
Desire S
Link to latest Desire S ROM.
The zip is: 233.1 MB (244429351 bytes)
Thank you devs,
redbullcat
I doubt you could get the whole image on the phone, 224mb is way to big without scripts to move files over to another partition.
http://forum.xda-developers.com/showthread.php?t=784260
That is 268mb and is a Sense ROM, so 224mb should fit.
I think that the system directory is way too big to be installed on a nexus one.
You should move some of the system content to data or move it to an ext3 sdcard partition.
What they said.
Put attention that even the ROM you linked REQUIRES A2SD partition, which it'll set up and use.
So to move the content from system to data: is that just a straight drag and drop procedure, or is some converting to make it work in data rather than system required?
Sent from my Nexus One using XDA App
I am not an expert in the porting roms topic but if I am correct you will have to symlink the things that you move.
This can be done modifying the updater-script.
OK, thank you
Sent from my Nexus One using XDA App
How would I move the stuff from system to an ext3 sdcard partition?
Sent from my Nexus One using XDA App
Good thread. Sounds like a simple matter of setting up a2ext.
Nice work dude!
I would take a look at eViL's desire HD port since its going to be the most similar to this ROM....
That should help you in figuring out what is/isn't okay to move to SD....
Sent from my Nexus One
Thank you thanks also for the tip
Sent from my Nexus One using XDA App
How big should the system and data directory's ideally be?
System - 140 MB is the phone limit, so I wouldn't go above 120-125 MB.
Data - all the rest, as much as you need. You're installing to EXT anyway.
Can you provide a LOGCAT when booting up?
MrNameless said:
Can you provide a LOGCAT when booting up?
Click to expand...
Click to collapse
I can certainly try
OK, so I've moved stuff to a folder in the root of the ROM called ext, as that is what was in the NXSense-HD ROM by eVil. Problem is, the system directory is still 20mb too big. The folders in system:
bin
etc
framework
lib
media
sd
usr
xbin
and build.prop
What can I move to ext/data from this selection of folders? I moved from system to ext:
app (now called system-app)
customize (now called system-customize)
fonts (now called system-fonts)
Thanks,
redbullcat
I'm not a developer, but if you move one folder to ext partition and create a symlink to this folder in system partition? Shouldn't it work?
Sent from my HTC Desire using XDA App
Atento said:
I'm not a developer, but if you move one folder to ext partition and create a symlink to this folder in system partition? Shouldn't it work?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
I don't know if any folder can be moved though. For example, framework may not be movable.
EDIT: So I've moved some stuff from system to ext, but now the update-script is giving me grief. I'm trying to follow eVil's update-script, but it doesn't seem to be working. Does the update-script have to be done manually, or is there an automatic generator?
I've tried and tried, and I can't seem to get it to work. Could somebody either link me to an update-scipt generator, or help me build an update-script? I'd be so grateful

[Q] nandroid backups

so I have a question about managing backups from our bootstrap recovery. This might be a stupid question but I have a lot of backups from the recovery and I was wondering how you can delete/manage these backups; I want to free up some more space by deleting them. I am currently on dragonzkiller's CM7.
I believe its under SD card/ clock work mod/ backups
sent from my mixer themed X duce
03civicdx said:
I believe its under SD card/ clock work mod/ backups
sent from my mixer themed X duce
Click to expand...
Click to collapse
Just navigate to the folder that 03civicdx mentions with the file explorer app and delete the directory or directories in question that reside in the backups directory.
mmk i got it to work. Thanks guys!
I have a back up from every ROM for our phone so I know how you feel. It got really confusing which one was which! But they are on the external or internal SD card (depending on which you picked when you backed up) under a file called clockwork. To figure out which one is which, you can rename them. They will have numbers like this:
2011-12-13.07.17.47
DONT mess with the numbers otherwise you just lost the back up. So at the end of it, put a . and what ever you want to tell the difference from other back ups. So it'll look like this:
2011-12-13.07.17.47.Molten
You can type what ROM KR what theme or what ever you want, just make sure you put a period AFTER all the numbers. To delete them, just delete it through ES File Explorer or Root Explorer
Sent from my MB870 using XDA App
You may mess / the num. JUST DO NOT USE SPACES. Also add to yo cwm folder the empty FILE ".hidenandroidprogress" and cut 1/3 off BU times.
Whaaaat! Ru serious? That's a cool tip! I also agree, the file name changed to anything you want, just no spaces.
Sent from my MB870 using XDA App
Hah, sweet! I didn't know that, I was told the other way. Thanks for the correction, going to go in and change the names, and thanks for the tip in .hiddennandroidprogress file!
Sent from my MB870 using XDA App
hide not hidden.

[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

Ok so something odd just happened..

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.

Categories

Resources