[Q] 4.2 sdcard duplicate files solution? - Sprint Samsung Galaxy Note II

Since flashing to a 4.2 rom (PACman) I've noticed that my internal memory is very full. Doing some snooping and searching on here I've noticed that I have multiple directories all containing the same files in /sdcard and /storage/sdcard0 etc. All the tips and instructions I found were for the nexus or other phones and I was wondering if there was a complete instruction set for our note 2? I really just don't want to delete anything that I might need later.
I've read about merging the "symlinked" folders but again am unsure as to which folders to merge into which, and the proper way to go about that.
Thanks for the help in advance, I feel I would be able to figure it out more easily if only Samsung had a simple "internal/external" setup rather than the sdcard0 and sdcard1.
sent from my N2 waca...waca

Read the op and second post of the aosp roms ..... your answer is there
Sent from my SPH-L900 using Xparent BlueTapatalk 2

Related

[Q] Internal Memory

Can't find a thread for this on the forum.
Been exploring the phone memory using file manager app, and found the folder system/app which contains a lot of the system apk and odex files and is 106mb.
Is it safe to move this to the SD card? Folder shows a last modified date of 16/04/2011 which is 3 months before I bought the phone.
This would free up a huge chunk of the phone memory and provide more room for messages & contacts which is what I'm hoping to achieve, as well as space for apps which won't move to SD card.
ginnerchris said:
Can't find a thread for this on the forum.
Been exploring the phone memory using file manager app, and found the folder system/app which contains a lot of the system apk and odex files and is 106mb.
Is it safe to move this to the SD card? Folder shows a last modified date of 16/04/2011 which is 3 months before I bought the phone.
This would free up a huge chunk of the phone memory and provide more room for messages & contacts which is what I'm hoping to achieve, as well as space for apps which won't move to SD card.
Click to expand...
Click to collapse
if am not mistaken you need to be rooted for that...
Think you might be right on this one.
Tried moving one of the apks, and it copied rather than just moving it.
Also wouldn't let me delete.
I'm a bit of a noob (don't hate me), and not sure where to start with rooting, so a couple of questions (and apologies if they're really obvious).
1) I've read around a bit, and there seems to be a disagreement about whether rooting invalidates warranty? Is there a definitive answer?
2) If all I want to do is move stuff out of the phone memory, what is the easiest/safest way of rooting?
3) Does anyone know any way of making the files in the system folder not "read only"
ginnerchris said:
Think you might be right on this one.
Tried moving one of the apks, and it copied rather than just moving it.
Also wouldn't let me delete.
I'm a bit of a noob (don't hate me), and not sure where to start with rooting, so a couple of questions (and apologies if they're really obvious).
1) I've read around a bit, and there seems to be a disagreement about whether rooting invalidates warranty? Is there a definitive answer?
2) If all I want to do is move stuff out of the phone memory, what is the easiest/safest way of rooting?
3) Does anyone know any way of making the files in the system folder not "read only"
Click to expand...
Click to collapse
Well far as i know - the answers to your questions would be in the following order :
1 - Well there might not be a definitive answer and that might depend on your providers policy etc -
2 - The safest way to move stuff is rooting and if you want to know more about rooting you can find multiple threads about that in the development section such as this one :
http://forum.xda-developers.com/showthread.php?t=1195275
But you need to make sure your device is "S-OFF" and not "S-ON" -
3 - I wouldn't recommend messing about with the default settings of system files etc -
i wouldn't recommend rooting, you can use APP2SD softwares to move your installed applications to SD without rooting, unless you really know what are you doing
I've been on Android for about 2 years now. Just bought the Samsung GSII for myself and my girlfriend got the Wildfire S.
She's only installed maybe 7-8 apps (if that), most have since been moved to the SD card, but she's constantly receiving a message about a lack of internal memory.
Is there any way to move all her apps to the SD card, or another way to free up some space?
** I'd like to do all this without rooting her phone. I'm a complete novice when it comes to modifying phones - only just got the hang of using different launchers.
I'm afraid that in order to move unmovable apps to the SD card, you will have to root the device.
You need to have a phone that is s-off in order to root, no other option as far as I am aware.
sent using tapatalk

[Q] Help with backing up virtual sd-card

OK, so I fell victim to the JB bootloop/failure to restore a nandroid in CWM/failure to install any rom in cwm without a bootloop. From what I've gathered, the only fix for my soft-brick is to return to stock, which of course deletes /data/media. I've tried to back it up with root toolkit, but did not get everything on the VSD. I've tried pulling everything from it using ADB...same result. Yet, adb shell ls /data/media/ shows it's all there. Can anyone tell me how I can download the entire contents, or fix the bootloop problem (preferred)? I'm under the gun here, as I need my phone for work tomorrow, yet don't want to lose all of my stuff. Please halp!
Try pull folders I.e. Dcim folder instead of the whole camera folder. If all else fails try individual files
Sent from my GT-P7310 using Tapatalk 2
I tried pulling the missing individual folders and it didn't work. All I can figure is that it has something to do with the syntax of the file/folder names, similar to the 8.3 issues between windows and dos, of many years ago.
Thank you, though, for your reply!
Have you tried reinstalling adb drivers. I think the downfall of no external sdcard is what you see here. That's why I always sync pics with google+. Food for thought.
Sent from my GT-P7310 using Tapatalk 2
Yeah, I have. No luck.
Had to reactivate my TB...what a hassle. Hopefully, someone can come up with a fix for this. Should have done a lot more research before I flashed JB. I usually do, but I've become a bit complacent, because I've never had anything like this happen to me. Lesson learned. I just hope I can fix this without losing everything. Written a lot of excerpts for what, some day, will be my novel. F!
Can anyone, at least, point me in the right direction? I'm getting so frustrated. I know the dev forums are the place to get answers, but I also know I can't post this sort of question there, without getting deleted or, worse, chastised.
HTC-8690 said:
Can anyone, at least, point me in the right direction? I'm getting so frustrated. I know the dev forums are the place to get answers, but I also know I can't post this sort of question there, without getting deleted or, worse, chastised.
Click to expand...
Click to collapse
What command are you using?
adb pull /sdcard/
should pull everything. However (from personal experience) it won't work if you have files with weird characters in the filename.
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
What command are you using?
adb pull /sdcard/
should pull everything. However (from personal experience) it won't work if you have files with weird characters in the filename.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
No, adb pull /data/media/ From what I understand, that's where the virtual SD is.
So, I've been able to pull specific files and folders using adb, but I can't get certain folders that contain spaces in the names. Is there a special character to replace the space? If not, is there a way to rename said folders, in shell, so I can pull them?

[Q] From 4.2.1 back to 4.1.2.

Hey,
I went back to 4.1.2 (JellyBam) after using 4.2.1 (PA ROM). But there's a 0 folder inside my internal memory folder which leads to all my real files (music, pics etc etc).
So it's like.
-sdcard0
.....-0 (Folder)
..........-DCIM
..........-Downloads
..........-Music
..........-Titanium Backup
..........-etc etc etc
.....+'Music' which is empty
.....+'Downloads' which is empty
.....+etc etc etc
I searched on XDA, but the only solutions I found were:
1. copy every file to my computer, delete the 0 file (or not) and then put the copied files from my computer onto my phone. But there was no progress in the copying process as it was freezing.
2. Format everything, recovery, and some other things I didn't understand.
So I came here asking for help. Hopefully someone knows any other answer.
P.S. I know I can just chance the location of my backed-up files from TB, so there's no problem in that case.
But it is just annoying and sometimes it confuses me.
Thanks in advance :good:
I'm thinking of the same I'm not digging 4.2.1 that much.
Sent from my Galaxy Nexus using xda premium
I believe in 4.2 the /0 folder is the new location for the pseudo SD card instead of under /storage/
That's 4.2+ file structure to support multiuser and mentioned in dozens of threads. Just learn to live with it. Google knows what they're doing.
Meh well that's gonna be 4.2.1 for me...this is way too annoying with the files and folders
Rapydax said:
Meh well that's gonna be 4.2.1 for me...this is way too annoying with the files and folders
Click to expand...
Click to collapse
how is it annoying? you dont see really anything different other than going 1 more folder deeper.
Zepius said:
how is it annoying? you dont see really anything different other than going 1 more folder deeper.
Click to expand...
Click to collapse
Because change is bad obviously. Especially when it adds features.
Zepius said:
how is it annoying? you dont see really anything different other than going 1 more folder deeper.
Click to expand...
Click to collapse
I went back to CM10 (4.1.2) from CM10.1 (4.2.1) and just found it easiest to backup all my files and format the storage. Windows wasnt seeing the storage correctly until after I did that.
brooksyx said:
I went back to CM10 (4.1.2) from CM10.1 (4.2.1) and just found it easiest to backup all my files and format the storage. Windows wasnt seeing the storage correctly until after I did that.
Click to expand...
Click to collapse
How'd you do this? I'm curious to try the cm10.
Sent from my Galaxy Nexus using xda premium
What recovery are you using?
The issue is with resets and CWM recovery. The problem is your app back ups get covered under 0,0,0 and can't be restored, music apps can't see music, gallery can't see pics etc.
Switch to TWRP Open Recovery and the 0 problem goes away.
Best way to get your SD back in line is to use your PC to move everything back up where it should be. Hope this helps, freaked me out when I thought I lost my SD.
Sent from my Galaxy Nexus using Tapatalk 2
I think some of you aren't understanding the OP's question. He doesn't dislike the /0 file structure (or maybe he does, but I don't think that's the point he's making), he just doesn't want to keep it when downgrading to 4.1.2. That's perfectly understandable to me, and actually something I've been thinking about for a couple weeks.
OP- You have a few options. I think the simplest is to go ahead and flash a 4.1.2 ROM, then use a file explorer on the phone to cut from the /0 directory and paste straight into the main sdcard directory. Option 2 is to use a PC and cut and paste the same thing, but I don't know how quick it would be. Another possibility is to copy everything off your phone onto your PC, then format the storage on your phone, then copy everything from the PC back to /sdcard/. This is probably the cleanest and safest option, but also slowest. I'm sure there is also a way to do it with ADB, where you cut and paste from /0 to /sdcard/, but I'm no good with ADB so somebody else would have to give you the commands. ADB is most likely going to be the fastest method as far as file copy progress, but that's only a guess. I'm sure there are several other options I'm not aware of, but those are the ones I've thought of while thinking of doing this on my phone.
Good luck! Let me know which works for you and how it works........
I went back to a 4.1 ROM at one point and it did not immediately move everything back where it could be seen even with the latest recovery. I found that the easiest fix was to plug the phone into my computer right after the first boot and then move the data to the right folders with adb. Very quick and painless. TWRP does the fix going from 4.1 to 4.2 very nicely.
Downgrading to 4.1.2 from 4.2.1
I'm downgrading because I'm have a ton of blue tooth issues. I'm currently backing up my SD to my laptop then from win explorer I'll copy everything from /0 to the top SD directory. It's not any fun at all.
I wonder how many people will actually use the multiple users on their phone/tablet?
\m/
:cyclops:
Tablet - maybe
Phone - probably not
Sent from my Galaxy Nexus

Help with SDcard0/emulated/etc...

I know this has been asked numerous times in alot of different threads but I was hoping by starting this someone would be kind enough to elaborate and explain exactly what is needed and what is not. I know I should have plenty of storage on my phone but it seems I dont. I have 2.23 GB left and I know I should have more. If anyone is willing to explain more in detail it would be greatly appreciated.
Edit: I am currently using Rootbox and it has been the only rom I've used since rooting my phone.
treezy26 said:
I know this has been asked numerous times in alot of different threads but I was hoping by starting this someone would be kind enough to elaborate and explain exactly what is needed and what is not. I know I should have plenty of storage on my phone but it seems I dont. I have 2.23 GB left and I know I should have more. If anyone is willing to explain more in detail it would be greatly appreciated.
Edit: I am currently using Rootbox and it has been the only rom I've used since rooting my phone.
Click to expand...
Click to collapse
Bump. I'm having a bunch of issues with this. I went from stock rooted to AOKP, and now TWRP won't recognize my backup so that I can go back to stock. It's really annoying. I'm not having any luck with any partition I copy the backup to. Does anyone know of a way to restore stock factory partitioning? Even doing an LGNPST of ZV9 and then taking the OTA doesn't fix the partitioning. I've tried everything I can think of and I'm out of ideas.
Use a root file browser your stock storage is in mnt/shell/emulated so once your in that Ares look for your twrp folder copy the backups inside it then paste then into the twrp in sdcard0 ..... to sum up you haven't lost anything these cm/aosp ROMs create a new storage (sdcard0) so just take anything you normal store in your stock storage which is now mnt/shell/emulated and place it in sdcard0 or redirect apps looking for files to look in those places
I'm not sure about deleting those files in the stock storage though unless you have no intention in returning to stock cause if you delete them then return to stock they will be missing and vice versa
Sent from my Optimus G using xda premium
spleef said:
Use a root file browser your stock storage is in mnt/shell/emulated so once your in that Ares look for your twrp folder copy the backups inside it then paste then into the twrp in sdcard0 ..... to sum up you haven't lost anything these cm/aosp ROMs create a new storage (sdcard0) so just take anything you normal store in your stock storage which is now mnt/shell/emulated and place it in sdcard0 or redirect apps looking for files to look in those places
I'm not sure about deleting those files in the stock storage though unless you have no intention in returning to stock cause if you delete them then return to stock they will be missing and vice versa
Sent from my Optimus G using xda premium
Click to expand...
Click to collapse
That's what I did, and TWRP refuses to recognize my backup. Time to LGNPST.
Sent from my Optimus G using xda premium
treezy26 said:
I know this has been asked numerous times in alot of different threads but I was hoping by starting this someone would be kind enough to elaborate and explain exactly what is needed and what is not. I know I should have plenty of storage on my phone but it seems I dont. I have 2.23 GB left and I know I should have more. If anyone is willing to explain more in detail it would be greatly appreciated.
Edit: I am currently using Rootbox and it has been the only rom I've used since rooting my phone.
Click to expand...
Click to collapse
You likely still have the old "sd card" from a previous stock install. Use a root file explorer, like ES File Explorer, and navigate back to the root directory. You will likely have a directory called "mnt". Navigate to that folder and open the "sdcard" folder. You'll find whatever you used to have on your sd card from previous installs. I would save whatever you want to your new sd card directory and delete the entire mnt/sdcard directory. It might not allow everything to be deleted, but it should fee up that space you're missing.
*Note: The old files could be under mnt/emulated or some such directory, I dont remember. Just look around that folder to find those old files.
Hope that helps!
I'm having the same issue with this folder. I see that it is mirrored because i added a file in the sdcard0 folder it showed up in the sdcard folder. But i also found the same folders in the mnt folder. So are they all mirrored files or are they actually taking up space? Is there a way to format the space? Will the rom still boot up? Also, had that 0 folder on my sdcard, but am not able to delete it just rename the folder.
I'm running nexOGen 1.6 if it makes a difference. Hope someone can help.
thanks!

0 (zero) folder on internal storage

I've noticed the other day looking thru root explorer that there was a 0 folder there. I pressed it and saw that it kept going about 8 folders in 0>0>0> etc . I also noticed that its the bulk of my internal space. I figure every time I flash a ROM, it creates a 0 folder with more data. My question is : if I delete this folder, does any one know what would happen. I ask because I know touchwiz Roms are big but the new m.o.a.r 6.0 was giving my internal storage issues at times. Was just curious. Thanks for the help/advice in advance.
Sent from my SPH-L710 using Tapatalk 2
duce415 said:
I've noticed the other day looking thru root explorer that there was a 0 folder there. I pressed it and saw that it kept going about 8 folders in 0>0>0> etc . I also noticed that its the bulk of my internal space. I figure every time I flash a ROM, it creates a 0 folder with more data. My question is : if I delete this folder, does any one know what would happen. I ask because I know touchwiz Roms are big but the new m.o.a.r 6.0 was giving my internal storage issues at times. Was just curious. Thanks for the help/advice in advance.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
make a nandroid then try it. worse case scenario you have to reflash. you could always boot to twrp do a complete wipe or internal. or even a full wipe of device and reinstall rom. free up some space.
You might want to go through all those 0 folders and copy the contents to your pc. Every time you flashed a 4.2 or higher rom all of your stuff was put into those folders. You don't want to lose anything important. After you make sure everything important is out of there, then you can delete them.
metalfan78 said:
You might want to go through all those 0 folders and copy the contents to your pc. Every time you flashed a 4.2 or higher rom all of your stuff was put into those folders. You don't want to lose anything important. After you make sure everything important is out of there, then you can delete them.
Click to expand...
Click to collapse
Thank you. I'll do that and give it a try.
Sent from my SPH-L710 using Tapatalk 2

Categories

Resources