[Q] Internal SD card not recognized CyanogenMod 7 nightly - LG Optimus 2x

I've just now flashed the latest Cyanogenmod 7 nightly on my O2X, and I'm experiencing a problem with my internal SD card.
Any app that want to use the internal SD card is unable to do so because supposedly the card is not mounted, while under Settings - Storage - Internal SD Card, it gives me an option to unmount the card. I've tried unmounting and mounting again, but that didn't do anything.
When I connect my phone to my laptop using USB, the only option I get is the USB Debugging (if I have that on). The only way to get the option to turn on USB storage is if I power off the phone, connect the USB and then power up the phone. That way I get the option to turn on USB storage, but when I do that, nothing happens on the computer or the phone.
If I reboot the phone in recovery mode, then I can select instal zip from internal sd card and then see the different folders on the card, but I have not dared to see if can actually flash Cyanogenmod again in fear of not being able to get any kind of contact with my sd card.
Now I realize that there are ways of fixing this issue, but is there a way that will help me keep the data I have on my internal sd card? I have a lot of information on it that I don't want to lose at all.
Even ideas of how I could backup the internal sd card so that I can just go crazy and format the card would highly appreciated! I've tried the Software Data Cable app, but that didn't work either.
Any help you can give me would be a major relief as I have been struggling with this problem through the night without much results.
Some info:
Before flash: Stock Gingerbread (Android 2.3.4)
Flashed ROM: CyanogenMod-7-20120313-NIGHTLY-p990 (Android 2.3.7)
Phone: LG Optimus 2X p990
No external SD card

Accessing internal storage
Go to settings - CyanogenMod Settings - Application
And check the Internal storage box.
If you have issues with some apps check the "allow moving.." as well
AND change the install location to internal. On automatic this should work anyway since you are not using an externalSD.
--- REMEMBER TO REBOOT---
If you are still having problems fix permissions and reflash the same nightly or a newer one. (data is not lost... dont wipe)
Dont think this applies to you.. but just in case.
If you still have issues with any apps and their settings. Delete the app data at the Application Manager. Then before opening/running the app, delete its associated folders on the sd. (You should be able to mount by now.) Reboot and things should be working fine. Dont worry about this last paragraph if you are not having issues with apps not saving data/starting/cant find sd card etc. Since you dont have a external SD.

Yeah, I found this out just two minutes ago, and now everything works! Thanks a lot elkhawkes!
Woah, I'm happy now!
I don't see why this isn't standard in CyanogenMod though. What are the benefits of "hiding" the internal SD card like that? Is it considered that people who flash CyanogenMod doesn't have anything useful on their internal SD, but rather the external one? At least for me, I had a lot of application data, pictures and text files I needed on the internal SD card.
Well, anyways, all is well for me now, so far...

Ok, I've noticed a problem.
You were right about some apps having problems. It seems like Whatsapp and SwiftKey is unable to save their stats. Message count and keystroke count returns to 0 every time I reboot. Its not the biggest problem, but it might be a symptom of a bigger problem, so I want to fix it.
I have tried all the different suggestions you mention for solving problems with apps, but none of them work. Even when I delete the Whatsapp folder on the internal SD card, the app still has problems saving its stats. I guess that might be because there are more Whatsapp files in one of the android folders on the card.
I was thinking that I might be able to do this sequence of things to fix it, but I'd like to get some confirmation that it might work and I won't brick my phone or will be having to buy and external SD card:
1. Copy everything on the internal SD card to my computer. (Already done!)
2. Re-flash the latest CyanogenMod nightly (and Google Apps) from the internal SD card using ROM Manager and delete all data cache, dalvik and so on.
3. Before installing any apps I go to Settings - CyanogenMod settings - Application and check Use internal storage. That way my internal SD card will be "visible".
4. Go to Settings - Storage and then selecting Erase SD card (note this is the internal SD card, I do not have an external card).
Questions:
- Will step 4. delete everything on the SD card, including all files in the Android folders?
- Will I still be able to use my phone with Cyanogenmod without having any files on the internal SD card (and no external card in the phone) or does flashing CyanogenMod or any other ROM on the phone install crucial files on the internal SD card? I want to know this for sure, because if I can't, then I will have no way of returning to a working ROM or flash a new one. I want to avoid a brick at all cost.
- Can I then start installing all the apps I want and then trying to copy only the folders containing for example the media and messages folders for Whatsapp back to the SD card to recover those on the fresh install?
** What about the Factory data reset option in CyanogenMod? Is that something I can use for this? Will the phone be reset to "factory" with CyanogenMod installed and no other old files on it, so that everything is fresh and I can install my apps and then copy media/backup folders to get the apps running without problems and with my old media?
Any help with this matter would be highly appreciated!

Testing7 said:
Questions:
- Will step 4. delete everything on the SD card, including all files in the Android folders?
Click to expand...
Click to collapse
Yes.
- Will I still be able to use my phone with Cyanogenmod without having any files on the internal SD card (and no external card in the phone) or does flashing CyanogenMod or any other ROM on the phone install crucial files on the internal SD card? I want to know this for sure, because if I can't, then I will have no way of returning to a working ROM or flash a new one. I want to avoid a brick at all cost.
Click to expand...
Click to collapse
Short answer: Yes. Long answer: No properly made Android version should depend on certain files being present on the SD-card. CM7 is a "proper" version.
- Can I then start installing all the apps I want and then trying to copy only the folders containing for example the media and messages folders for Whatsapp back to the SD card to recover those on the fresh install?
Click to expand...
Click to collapse
You should in most cases be able to do that, yes. You may run into trouble if you copy the data back after installing the app if it is running at the time. You may want to mount USB storage/copy data while in CWM to be sure that does not happen.
** What about the Factory data reset option in CyanogenMod? Is that something I can use for this? Will the phone be reset to "factory" with CyanogenMod installed and no other old files on it, so that everything is fresh and I can install my apps and then copy media/backup folders to get the apps running without problems and with my old media?
Click to expand...
Click to collapse
Yes, you should be able to do this. (Be aware that a factory reset, whether built-on or CWM, does not delete anything on the SDcard.) Some apps may initialize their external storage on the first start, some apps may find inconsistencies in the external data, especially if they use som kind of secure or encrypted storage, but that is probably not very common

Fix for apps
... Follow the steps in my post above and then uninstall the effected app, reboot and install again.
If you have backed up the whatsapp folder. Put it back on the sdcard before running the newly installed whatsapp and it should ask to import the backed up files.
- I think it only works if you place the files back before running the freshly installed app.
I`m guessing you might have tried this already. Hope this helps
Like Testing7 said, the files visible on the sd card are safe to delete but erasing the sd and factory resetting is probably not necessary. Personally I backup my important folders.. whatsapp etc on the pc regularly and erase the sd all the time. Its not really neccessary and I do this because I like to keep it clean and its just a "bad" habit from testing out different roms. The folders there are generally just clutter and also use a minimum amount of space, so really it is up to you. They do build up again pretty fast so dont worry about it.
- If you are still having problems... Just start from scratch again
# Backup - SMS and apps... I use Sms/app backup and restore... 2 separate apps on market (both free).
# Copy necessary folders and files to pc - then erase SD
# Recovery - Wipe cache, factory reset, Dalvik, battery stats ... on full battery
# Reflash nightly cm7
# Change all settings like in my first post and then reinstall all apps and backup files.
# And remember to restore files first before running the apps for the first time

Related

Apps2SD noobish help

Sprint HTC Hero (Non-Google Branded)
Fresh Rom 1.0 with De-Fresh and Nexus One Boot screen
Recovery 1.5.2
16GB SD Card
So this is what i know.
1) I already know that Fresh 1.0 has A2SD support built within it.
2) I know to go to Recovery and use the format SD (I used these settings)
Swap:516, Ext3:516, Fat32: Rest ammount
3) Did this once before and it seemed that all my apps were on SD card (when i took it out and reboot, all my apps were gone. When i put it back in then reboot they all back on phone)
What i need to know.
1) How do i choose which apps/games to transfer over to SD card.
2) Where are they on my SD card? (Could not see it when i checked the SD card)
3) When you do this are all of the apps off of the phone memory? or are the apps still able to stay on phone.
What i essentially want to do.
1) i just want to be able to easily use A2SD to backup and easily transfer my apps/games back and fourth if i need to.
Any usable help would be greatly appreciated ^^ thanks.
frostrunner said:
Sprint HTC Hero (Non-Google Branded)
Fresh Rom 1.0 with De-Fresh and Nexus One Boot screen
Recovery 1.5.2
16GB SD Card
So this is what i know.
1) I already know that Fresh 1.0 has A2SD support built within it.
2) I know to go to Recovery and use the format SD (I used these settings)
Swap:516, Ext3:516, Fat32: Rest ammount
3) Did this once before and it seemed that all my apps were on SD card (when i took it out and reboot, all my apps were gone. When i put it back in then reboot they all back on phone)
What i need to know.
1) How do i choose which apps/games to transfer over to SD card.
2) Where are they on my SD card? (Could not see it when i checked the SD card)
3) When you do this are all of the apps off of the phone memory? or are the apps still able to stay on phone.
What i essentially want to do.
1) i just want to be able to easily use A2SD to backup and easily transfer my apps/games back and fourth if i need to.
Any usable help would be greatly appreciated ^^ thanks.
Click to expand...
Click to collapse
If someone has better info please correct me if I'm wrong
1. When you install a ROM with apps2sd, as long as you have your SD card formated properly everything except for stock roms are transfered. If they were not, uninstall and install in the market and should go to SD card.
2. On fresh rom I noticed (atleast for me) that the app and app-private folders were in /system/sd/
3. All of your downloaded apps will be on your SD card. Stock apps (sprint apps and what came with the phone etc.) will still be on the phone's memory.
I use ES File Explorer and just copy the app and app-private folders when i want to backup all my downloaded apps. Pretty easy app to use and supports root.
frostrunner said:
1) How do i choose which apps/games to transfer over to SD card.
Click to expand...
Click to collapse
You don't. If it's in /data, it gets moved. This means that applications that come with the phone, which are in /system, do not get moved. The symlink solution means that you cannot easily choose applications to leave on the phone.
2) Where are they on my SD card? (Could not see it when i checked the SD card)
Click to expand...
Click to collapse
Correct. They are on the EXT partition you created, oddly enough just like the documentation says. You cannot see this partition. If you are so inclined, you can adb into the phone and see it mounted on /system/sd.
3) When you do this are all of the apps off of the phone memory? or are the apps still able to stay on phone.
Click to expand...
Click to collapse
Applications shipped with the phone stay on the phone. Data directories created by downloaded applications stay on the phone. You will still see space on the phone being used.
What i essentially want to do.
1) i just want to be able to easily use A2SD to backup and easily transfer my apps/games back and fourth if i need to.
Click to expand...
Click to collapse
A2SD has nothing to do with a backup solution and is not necessary for you to back anything up. Pick one of the umpteen backup applications available in the Market and go to town.

[Q] CM10 and AOKP - Internal, SD card and USB storage mapping broken

I've got a Samsung Galaxy Note n7000. I've hopped around a bit, but recently I've tried to move (back) to JB based CM10 (nightly) and also AOKP (JB Milestone 1).
For both CyanogenMod and AOKP, I quickly came across the issue that most apps can't see any storage folders. This includes:
-Browser and Chrome can't save files as there's 'No storage'.
-Google Maps won't cache anything.
-The camera and gallery won't work because they can't see any storage.
-When I plug the phone in to a PC via USB, the phone is identified, but no storage folders come up, regardless as to whether I'm using MTP or MS.
-In the system settings under storage, it can see the 2GB for my app Data partition. It says there's a 32GB SD card available, but under the Internal Storage heading, clicking 'Mount SD card' flashes up something in the notification bar before looking like nothing happened. There's nothing about the internal ~10GB partition either.
However, if I go into a file browser, I can see both the internal storage mapped as /storage/sdcard0 and the SD card mapped as /storage/sdcard1. I believe this is how JB is now mapping storage now? Why is it confusing itself?
Note:
-I can see the storage in CWM without issues (although internal and SD might be reversed???).
-I can read the files fine from a file manager, so there's nothing wrong with the SD card as far as I can tell. It works fine in an SD card reader too.
-I tried AOKP first after a full wipe (factory, data, davlik), hit the issue. Tried CM10 which was the same. Tried AOKP again with a factory wipe before and after flash and it still didn't work.
I've been trying to find a solution for nearly 2 weeks now! Please help before I give up and flash back to a Samsung based ROM!
For history:
I've had the GNote unlocked for a while and I've played with a few ROMs including CM9, earlier releases on CM10 without any issues. For the past couple of months I went back to an ICS TouchWiz based ROM as I thought the only way to get an MS Exchange email email app with full device encryption was to use Samsung's.... anyway, found an app that'll do it for me without suffering the slow down of encrypting the whole phone AND putting TouchWiz on, so I thought I'd try to go back to a 'pure' ROM until I ran into the above problem... Is it because I previously had the phone fully encrypted? I can see the folders now though.... AAAARRRRGGH!
...
Just in case it was an issue that has been fixed recently.... I tried ParanoidAndroid for the Note (v2.54 10 Nov 2012)... same issue. I did a factory reset, cache wipe and davlik wipe before and after flashing. Still both internal and SD storage are mapped so the apps and System settings can't see them.
What is wrong?
Update 2...
I tried flashing the following ROMs:
-A TouchWiz based ICS ROM (Sweet v5)
-A stock based ICS ROM (CM9.1)
-A TouchWiz based Jelly Bean ROM (Rocket Bean V2)
-Re-flashing CM10 nightlies
In every case both the internal and SD storage can't be seen in System>Storage.
What have I done???? Have I somehow screwed up the formatting on both the internal and SD card, yet CWM can read it??? Any ideas?
im on a XXLS7 based rom and its in
/storage/extSdCard
/storage/sdcard0
may be you want flash a stock GB or ICS rom again using Odin and start fresh
I haven't tried Odin yet... but when I was about to, I discovered something. I installed Titanium Backup. Instead of complaining I didn't have any storage (like all other apps), it complained that my storage directory wasn't writeable...
How do I check what the permissions are? What should they be? How do I fix it?!!!
Thanks.
Hi!
I have the same issue.
I'm currently on RocketRom V3 but I had the issues with others roms before.
I have a temporally fix: using root explorer, set the permission from r/o to r/w for the folder /mnt/sdcard
But after a while (fews minutes), it turn back to r/o, I don't know who/why.
Same here. Thought it was me!
Started when I switched to jb leak.
Says storage us full when I try to open camera,etc, even though it's not true
Sent from the man hiding in your attic.....
Ok, I found an fix that works for me
It looks that I had a bad file/folder/whatever on my internal storage, so the system put /sdcard (internal memory) on read only as it notice the bad thing.
Formating sdcard or emmc from cwm didn't work, full wipe neither, formatting internal from android settings neither, but I manage to mount internal SD on my computer using mass strorage (UsB switcher is included on Rocket V3 to switch from MTP to Mass storage)
Once mounted in Windows, I did a full format (fat32) of the internal memory, and so far it works!
I re-formatted my SD card in a memory card reader. I've put it back in the phone and now when I plug my phone in to my PC and select USB mass storage, the SD card comes up in Windows and I can write to it! Woot!
At the moment I still can't write to my internal storage (which means most apps still complain). It appears as a drive in Windows via USB, but I can't open it. I'll try Feyris' RocketRom suggestion later.
Any guess as to why this has happened? Anything to do with the fact I had full-device encryption on the phone before????
Is there any way to sawp the card location as on im on jb its taking external card as internal default location..As i am having class 4 sdcard so itz slowing down the system
Feyris said:
Ok, I found an fix that works for me
It looks that I had a bad file/folder/whatever on my internal storage, so the system put /sdcard (internal memory) on read only as it notice the bad thing.
Formating sdcard or emmc from cwm didn't work, full wipe neither, formatting internal from android settings neither, but I manage to mount internal SD on my computer using mass strorage (UsB switcher is included on Rocket V3 to switch from MTP to Mass storage)
Once mounted in Windows, I did a full format (fat32) of the internal memory, and so far it works!
Click to expand...
Click to collapse
When I put my Rocket V3 into the mac with usb switcher it mounts two drives. Both, however, are part of the internal SD card. It does not mount the proper external sd card. One is titled sdcard of the drives just called sdcard, the other is called storage (which has folders sdcard0, extSdCard, and usbstorageA-F). Should I format them both? Do I need to recopy all the files back onto the sdcard before booting up again?
Thanks!
Edit: I was either totally confused (most likely) or somehow I managed to fix my issue (less likely)...so I am ok now.
Internal Storage Mount
So I am having a similar issue.
I have an Evo 4g LTE running CM10 (cm-cfX-20120904-OFFICIAL-jewel)
I tried upgrading to the 11-13 build from get.cm site. I factory reset, wiped delvik, installed .zip from external sd card, installed gapps (gapps-jb-20121011-signed) wiped delvik again, rebooted, everything came up like it should, but I had no mobile data connection. All of my settings said unknown. So I rolled back to the (cm-cfX-20120904-OFFICIAL-jewel) build. Everything was working fine again, except I went open CWM v 5.8.3.5 from my app drawer and noticed message "you need sd card to run clockworkmod" so I went to sys settings > storage > internal storage (not mounted > mount storage and it attempts to read the data, but then does nothing. No error message or anything. I can't get my computer (windows 7) to read my internal storage so I can't format (which I have already done before)
I'm getting really frustrated as I have searched everywhere for the fix and have found nothing. If anyone has any idea I would greatly appreciate it.
Finally got around to spending a few hours on this yesterday to try to fix my 'missing' internal storage...
As suggested by nokiamodeln91 (cheers mate), I used Odin to go back to a stock ROM. Steps:
-Did a CWM backup of my current my current favourite ROM (I also used Titanium and SMS backup, but didn't need it in the end).
-Found an appropriate Samsung factory ROM. I went back to 2.3.6 as it's supposed to be safer. (For the n7000, make sure you choose an early one and not 'L' series or it's harder to root.)
-Used Odin to write the factory ROM. Note I only wrote the ROM, I didn't flash the modem, PIT, etc.
-Confirmed that I could see both my internal storage and my SD card (and also confirmed that a factory fresh install from Samsung looks and feels as ugly as I remembered).
-Used an 'update' hack to give me root.
-Installed CWM again.
-Simply restored my CWM backup of my favourite ROM...
In reality I went down several dead-ends... but I eventually got it all working again.
Guigsy said:
Finally got around to spending a few hours on this yesterday to try to fix my 'missing' internal storage...
As suggested by nokiamodeln91 (cheers mate), I used Odin to go back to a stock ROM. Steps:
-Did a CWM backup of my current my current favourite ROM (I also used Titanium and SMS backup, but didn't need it in the end).
-Found an appropriate Samsung factory ROM. I went back to 2.3.6 as it's supposed to be safer. (For the n7000, make sure you choose an early one and not 'L' series or it's harder to root.)
-Used Odin to write the factory ROM. Note I only wrote the ROM, I didn't flash the modem, PIT, etc.
-Confirmed that I could see both my internal storage and my SD card (and also confirmed that a factory fresh install from Samsung looks and feels as ugly as I remembered).
-Used an 'update' hack to give me root.
-Installed CWM again.
-Simply restored my CWM backup of my favourite ROM...
In reality I went down several dead-ends... but I eventually got it all working again.
Click to expand...
Click to collapse
Dude! you are insane...Got my S2 4.1.2 working, thanks to you.. tried for 3 days back to back until i stumbled on your solution.
Thanks so much.
A BIG Thanks to Guigsy & nokiamodeln91
Long story short is I broke the screen to my GNote 2 which is on its way to Samsung for repair (A little under US$200 round trip). When I removed the battery to get the emie number there was "goo" oozing out the back from the screen I suspect.
Anyway, turned on my GNote 1, which hasn't seen the light of day since last October and booted to discover that it wasn't working right. I tinkered for quite an embarrassingly long time to where I found myself in the same situation as others here. No write access to the internal storage on my CWM rooted GNote.
Although I had a nand backup, I ended up using ODIN to flash LT4 Germany, lost root as a result. went back in to Download mode and used ODIN to install PhilZ-cwm6-XXLT4-OXA-5.00.5.tar the exact same way, booted into CWM recovery and flashed PhilZ-cwm6-XXLT4-OXA-5.00.5-sigend.zip and was good to go. Issue definitely resolved.
I did not have root after installing the PhilZ-cwm6-XXLT4-OXA-5.00.5.tar via ODIN but I was able to enter CWM recovery where I then installed the ZIP version. As I had fixed my issues I was able to copy over the ZIP version to my Ext SD card B4 going into recovery mode (Yup, one of the symptoms for me was not being able to copy to the external SD card when the phone was connected to my PC either).
Rebooted signed in and was quickly synching my apps, settings etc. I would have felt comfortable using the nand backup I had originally but since this solution brought me up a few versions of Android, I just did a fresh setup.
Had it not been for XDA and our friends here, I would have formatted, factory reset and who knows what else trying to fix this.
Thanks much,
Claude H.

[Q] Issue with internal storage

Hello, hope I'm posting right. My phone has stock rom (4.0.4 LRK) with stock kernel. Today suddenly, can't tell why, I started experiencing strange issues with the internal storage. I can see, access and even write on /sdcard (I've just done a backup in a folder there with Titanium), same on my pc, but shortly after I boot, some apps start disappearing or to show up as grey icons, I can't move them from phone memory to sd card or viceversa, i can't unistall them, and i can't even install new apps.
Also, every action that requires to load the app list (like looking for cache to clean) fails on most cases. It's like the memory card was okay, but something was wrong with the apps installed.
What's happening?
first of all, move to a safe kernel... then either do a format using pc and put the data back. or do a factory reset in CWM recovery and reinstall apps using tb
I found out the problem was the external sd card after all but thanks anyway, you can close!
Please move to safe kernel

[Q] SafeStrap 3.0.x, multiple ROMs, and installing to SD card

Hello,
I've been patiently following this thread http://forum.xda-developers.com/showthread.php?t=1804665 for the past several months. Thanks to the selfless, hard work of Hashcode, dhacker, and also sylentprofet and jarveson (and apologies to anyone I haven't credited), the recent builds seem to have arrived at a level of functionality and stability that I'm thinking of trying to install my first custom ROM (I've already had SafeStrap 3.0.x installed for months).
My question is the following: I understand from the above thread and from Hashcode's blog that now the external SD card will be used as the default storage location. I was wondering what happens when an app is "installed to SD". From my previous experience on an original Motorola Droid, I know that "installing to SD" would move some files to a special directory on the SD card. I was wondering if this would cause collisions if the same app was installed under multiple ROM slots using SafeStrap.
Thank you for entertaining this newbie's question.
Actually the way I understand it is there is still the internal storage and external SD which are the same, but the internal storage gets partitioned separate from the rest of the storage so if you install an app to the SD card, I think it just goes in a regular folder. The system thinks the /system partition is in the regular storage for it but it actually is tricked to the internal storage.
I hope that makes sense.
MrObvious said:
... so if you install an app to the SD card, I think it just goes in a regular folder ...
Click to expand...
Click to collapse
Thank you very much for your response.
Is this regular folder on the external SD card? If so, does it mean that this regular folder will be shared by the ROMs in multiple slots if I have the same app installed under the ROM in multiple slots?
Thank you again.
alvin_a_garcia said:
Thank you very much for your response.
Is this regular folder on the external SD card? If so, does it mean that this regular folder will be shared by the ROMs in multiple slots if I have the same app installed under the ROM in multiple slots?
Thank you again.
Click to expand...
Click to collapse
If it's on the external SD then yes it is.
I had the same doubt when I recently started using ROMs on my Droid3. This thread helped me a lot.
I have lots of apps in my stock ROM that I've installed before rooting it. Do I have to install it all again on external SD? If yes, do I have to use a new flashed ROM or the stock ROM?
Thiago AmP said:
I had the same doubt when I recently started using ROMs on my Droid3. This thread helped me a lot.
I have lots of apps in my stock ROM that I've installed before rooting it. Do I have to install it all again on external SD? If yes, do I have to use a new flashed ROM or the stock ROM?
Click to expand...
Click to collapse
On minimoto I noticed it was using the exact same sd configuration as stock, perhaps because its stock based. On CM10 the external SD card is the default /sd card but you can still access the internal sd.
Regardless of how the sd card is configured you'd still have to reinstall apps when going to another ROM. I recommend using Titanium Backup then its quite simple to restore apps on another ROM. For SD data you could just manually copy and paste the folders from the internal to external SD.
spunker88 said:
On minimoto I noticed it was using the exact same sd configuration as stock, perhaps because its stock based. On CM10 the external SD card is the default /sd card but you can still access the internal sd.
Regardless of how the sd card is configured you'd still have to reinstall apps when going to another ROM. I recommend using Titanium Backup then its quite simple to restore apps on another ROM. For SD data you could just manually copy and paste the folders from the internal to external SD.
Click to expand...
Click to collapse
Thanks! So, a separate partition on SD Card would be a waste of "space", since the ROM's doesn't share acess to this partition. I've only tried with CM10, I'm going to try with MavROM and Minimoto, but i'm almost sure that I'll end backing all up with Titanium.
Thiago AmP said:
Thanks! So, a separate partition on SD Card would be a waste of "space", since the ROM's doesn't share acess to this partition. I've only tried with CM10, I'm going to try with MavROM and Minimoto, but i'm almost sure that I'll end backing all up with Titanium.
Click to expand...
Click to collapse
Sort of kind of. Basically this would be useful if you want to share apps and their settings between the custom and Stock ROMs installed on your phone [may be odd on an app by app basis depending on a few things but a good number *should* work [I dont use external SD as it eats the battery and is MUCH slower than using the /data partition so haven't tested this], so following should be close if not 100% correct
You would in stock ROM set your apps2SD app up [I DO NOT advise you to use the sdcard function found in manage apps>app area instead you should be using an app like Link2SD that actually creates a partition on your external SD and formats it to EXT3 or EXT4 [suggest using EXT4]. This way things like widgets still work whereas they don't when using the built-in android function [this happens as android uses a folder on the SDCard [which is FAT32 by default] and file permissions needed to run Widgets and some code can't be copied as needed on to a FAT32 partition so by using an app that partitions [or the recovery can do this but you would still need an app to manage which apps are in this partion] the SDCard app instead actually formats part of the card to the EXT 3 or 4 File system so it is the same as the /data partion so Android can copy EVERYTHING and nothing is affected and broken.
So you open your SDCard app manager in Stock ROM and format the External SD [THIS WILL ERASE EVERYTHING RUN APPROPRIATE BACKUPS BEFORE PARTIONING [move them to a computer and back if you dont have enough internal storage to absorb your data]]
When that completes open the app again [usually needs a restart first to mount the new partition before continuing].
Once you get that done open the Manager app and select the apps to move to this new partition.
CUSTOM ROM: Now once that is done boot in to safestrap and either setup a Custom ROM or change to it's boot slot. Next boot in to Custom ROM and install the same SD Card App Manager you used in Stock.
Next, once you open it it should say it found a partition and ask if you want to use it if it doesn't and just lists the app view the settings in the Manager app and HAVE IT SETUP AN EXISTING PARTITION. DONT PARTITION YOUR SDCard AGAIN [or all your newly moved data will bite it].
Now restart and allow it to boot back in to the Custom ROM again. Once this happens all the apps you moved to the SDCard partition should magically appear and be usable.
SO LONG AS YOUR STOCK AND CUSTOM ROMs ARE THE SAME VERSIONS DONT DO THIS IF YOU HAVE ICS ON THE SAFE SIDE AND JELLYBEAN AS A CUSTOM ROM IT WILL MOST LIKELY CAUSE ALL KINDS OF PROBLEMS

Changing internal SD to portable storage for root

I want to flash Xposed Framework and some other things to my phone, but I figured out that TWRP cannot find my zips in the internal SD card. I think I need to change my internal SD card back to portable storage in order to flash things. I backed up my data (Nandroid) so when I do change my SD card to portable, I can recover everything. Will changing my SD card affect SuperSU or anything on my phone?
fairnightzz said:
I want to flash Xposed Framework and some other things to my phone, but I figured out that TWRP cannot find my zips in the internal SD card. I think I need to change my internal SD card back to portable storage in order to flash things. I backed up my data (Nandroid) so when I do change my SD card to portable, I can recover everything. Will changing my SD card affect SuperSU or anything on my phone?
Click to expand...
Click to collapse
I did that few days ago, I rooted 7 days ago , and find out that in MM you can format sd card as internal memory. Wasn't with android for the last 2 years and i am learning every day about new features that i missed.
I formatted sdcard to internal and coudn't flash enything, however if you copy that zip to /data folder you can see it. Huge problem is that nandroid cannot be performed, I usually have 2 backups always and with 5GB of availabole memory, and 2-3 gigs are already taken it is impossible to backup my system which takes around 3 GB of data, even more .
I was thinking about getting USB OTG cable and external flash for nandroid and dflashing things, but still I am looking for some news about TWRP support for internal memory in some new editions.
When I switched back to normal mode ( sdcard as portable storage ) I didn't lost anything, only thing that you want to take care of is that when you are ready to switch back your sdcard as a portable, to perform migrate option and leave phone to do it ( 5 minutes ), to free sdcard and move back data to internal ( if there is a space enoough on internal so that is one more problem to care about.
I also asked this question and got no answers, but I really do like to know how other members manage their free space with this MM stuff, which is good but very limiting so far.
dejson said:
I did that few days ago, I rooted 7 days ago , and find out that in MM you can format sd card as internal memory. Wasn't with android for the last 2 years and i am learning every day about new features that i missed.
I formatted sdcard to internal and coudn't flash enything, however if you copy that zip to /data folder you can see it. Huge problem is that nandroid cannot be performed, I usually have 2 backups always and with 5GB of availabole memory, and 2-3 gigs are already taken it is impossible to backup my system which takes around 3 GB of data, even more .
I was thinking about getting USB OTG cable and external flash for nandroid and dflashing things, but still I am looking for some news about TWRP support for internal memory in some new editions.
When I switched back to normal mode ( sdcard as portable storage ) I didn't lost anything, only thing that you want to take care of is that when you are ready to switch back your sdcard as a portable, to perform migrate option and leave phone to do it ( 5 minutes ), to free sdcard and move back data to internal ( if there is a space enoough on internal so that is one more problem to care about.
I also asked this question and got no answers, but I really do like to know how other members manage their free space with this MM stuff, which is good but very limiting so far.
Click to expand...
Click to collapse
So if I move the zip to the data folder, I can flash? If so, could you show me step by step, because I tried but it wouldn't let me copy or paste anything. If not, I could just backup my photos (all other data not important), redownload the apps from the playstore, then just use link2sd to move the apps to portable SD card.
fairnightzz said:
So if I move the zip to the data folder, I can flash? If so, could you show me step by step, because I tried but it wouldn't let me copy or paste anything. If not, I could just backup my photos (all other data not important), redownload the apps from the playstore, then just use link2sd to move the apps to portable SD card.
Click to expand...
Click to collapse
Wll actually i found that here post #6, you have to use root explorer or similar app.
http://forum.xda-developers.com/htc-one-m8/help/internal-storage-twrp-external-sd-card-t3242540
You can save apks with titanium backup and restore it with update.zip option ( to save a lot of time of redownloading apps.
link2sd doesn't work with MM, requires that micro sd is formatted as internal.
There is workaround and I will maybe test this tonight and will let you know if it works.
http://forum.xda-developers.com/showpost.php?p=65411424&postcount=19
Thanks, dejson! I figured out that I wasn't using a root explorer, so I downloaded Solid Explorer and moved the zip to data/media and it worked! Thanks a lot for helping me!
fairnightzz said:
Thanks, dejson! I figured out that I wasn't using a root explorer, so I downloaded Solid Explorer and moved the zip to data/media and it worked! Thanks a lot for helping me!
Click to expand...
Click to collapse
Uhm, there is a thank you button also available .
Glad you did it mate, I tested everything with sdcard formatted as internal, but losing option to perform nandroid is not the compromise that I am able to consider.
I was very tired last night and accidentally deleted a lot of things from sdcard which was formatted as internal, I forgot to migrate data, but luckily fresh nandroid backup was taken just before testing and saved to laptop.
I can confirm that after installing apps2sd from playstore, and after that I installed link2sd and boom, the app is working good. This kernel supposedly doesn't have init.d enabled [decypher] so I need to test even more because even when it was working every few minutes i was receiving message from system that sdcard is corrupted and some minor errors.
This idea about first installing apps2sd is something that I found somewhere, and it is not my invention. So I think that after some more testing I week find a way to finally utilize my big sdcard.

Categories

Resources