Hi,
I already asked for this issue in the this Thread, but didn't got any answer.
I tested these three JB ROMS: CM10, HellyBean and SlimBean.
All of them work nice, except that my internal sdcard does not mount at boot time.
I have to do it manually every time boot up my phone by choosing System Settings --> Storage --> Mount SD card
Anyone have the same issue?
Does anyone have a solution?
Thanks
Same here! Google found this post, perhaps it will find us an answer
xalo2k said:
Hi,
I already asked for this issue in the this Thread, but didn't got any answer.
I tested these three JB ROMS: CM10, HellyBean and SlimBean.
All of them work nice, except that my internal sdcard does not mount at boot time.
I have to do it manually every time boot up my phone by choosing System Settings --> Storage --> Mount SD card
Anyone have the same issue?
Does anyone have a solution?
Thanks
Click to expand...
Click to collapse
toddmworth said:
Same here! Google found this post, perhaps it will find us an answer
Click to expand...
Click to collapse
I have the same issue with my I9000.
Any JB with different kernels makes the internal SD eventually be unmounted. When install a JB ROM the phone works very well but suddenly, the internal SD (phone's SD) is unmounted.
In CWM both SD are mounted and read without any problem. With ICS ROMs the phone works flawlessly.
In my case, the external SD is functioning as expected.(I have a 32 GB micro sd)
The installation language is Spahish - Spain.
No matter which method of cleaning and wiping I use, the result is the same.
Also, starting from GB stock firmware (JVU) flashed with Odin, followed by installing the nightly Cianogen CM10.1 and finally flashing the desired JB ROM works.
I tested Helly Bean, Slim Bean, C-ROM Mix and Baked Blacjbean7 obtaining the same behaviour.
Important: I'm restoring around 54 apk using Titanium backup (games, applications and utilities) in every case. I did not tested the ROMs without these restorations.
marcelogabriel said:
I have the same issue with my I9000.
Any JB with different kernels makes the internal SD eventually be unmounted. When install a JB ROM the phone works very well but suddenly, the internal SD (phone's SD) is unmounted.
In CWM both SD are mounted and read without any problem. With ICS ROMs the phone works flawlessly.
In my case, the external SD is functioning as expected.(I have a 32 GB micro sd)
The installation language is Spahish - Spain.
No matter which method of cleaning and wiping I use, the result is the same.
Also, starting from GB stock firmware (JVU) flashed with Odin, followed by installing the nightly Cianogen CM10.1 and finally flashing the desired JB ROM works.
I tested Helly Bean, Slim Bean, C-ROM Mix and Baked Blacjbean7 obtaining the same behaviour.
Important: I'm restoring around 54 apk using Titanium backup (games, applications and utilities) in every case. I did not tested the ROMs without these restorations.
Click to expand...
Click to collapse
This is the problem I am having. I can see internal sd card on CWM.
But on booting in android, whatever the rom is , does not mount internal sd card on booting android.
Please help to solve this.
Same here
TheMask007 said:
This is the problem I am having. I can see internal sd card on CWM.
But on booting in android, whatever the rom is , does not mount internal sd card on booting android.
Please help to solve this.
Click to expand...
Click to collapse
I have been reading/researching about this issue for about a week (on and off) trying various fixes because this is driving me bonkers.
I have tried:
1) Reduced the amount of used space on my SD Card (Samsung 16gb SDHC) to half
2) Moved as many apps as I can to SD (Noticed more frequent unmounts after this)
3) Removed my Nandroid Back-up from my SD
4) Reflashed CM 10.1
The last thing I am going to try is wiping/reformatting my SD card. If that fails then im suspecting something else is happening at OS/kernel level. I have read in other forums where people have tried a full wipe and restore apps slowly but still get the same unmount. One user has tried another SD card (smaller 4GB one) which seemed to solve their issue?? Weird.
Anyway, I will report back if I have any joy.
In your kernel settings you have the option to mount/unmount system and more or you could write/download a script that mounts the sd card automatically.
Maybe this could help: http://forum.xda-developers.com/showthread.php?t=1971689
I give up.
cixty said:
In your kernel settings you have the option to mount/unmount system and more or you could write/download a script that mounts the sd card automatically.
Maybe this could help: http://forum.xda-developers.com/showthread.php?t=1971689
Click to expand...
Click to collapse
I tried it and no good. It seems as though the Internal SD is mounted, but some error is causing it to operate/display as unmounted via OS.
I completed more testing (extreme):
Wiped Internal SD
Wiped External SD
Try other kernel
Try other CM based ROM
The issue still occurred.
I then reinstalled Stock (XXJVT) via ODIN (Pit 512) and Semaphore kernel to see if its a hardware thing.
Nope.
This combo works amazingly. Infact its faster, smoother and easier to use (along with additional tweaks in Semaphore) than CM10 so I wont be going back to Jelly Bean on this phone. Ever.
Gingerbread for the win!
Hi,
I am using PAC-ROM v22.2 (Jelly Bean) and have the same problem: 80% boot don't mount the internal sdcard (I have no problem with the external sdcard). I can't even mount it manually as xalo2k does, cause I have no "Mount SD Card" menu under Settings/storage.
I spent many hours trying to search for a fix on google, xda, and others with no success. I found a lot of "litterature" on how to mount the sdcard on the PC, or how to swap internal and external cards. However, I don't care about mouting my sdcard on the PC, and I don't want to make believe Android that my external sdcard is the internal one, as I would not like to loose the internal 8GB that the phone is supposed to provide.
In Terminal Emulator, I can do:
> su
> mount -r -w -t vfat /dev/block/mmcblk0p1 /storage/sdcard0
> cd /sdcard
> ls -l
There I can see my files. However, if I exit root, the files don't appear anymore. Hence this looks like a permission problem.
Unfortunately ESExplorer still tells me sdcard0 is not mounted, and my apps (i.e. the camera) aren't able to access it. Additionnaly, the apps I had moved to the sdcard are'nt accessible...
So I tried to fix the permissions. Going under /storage as root, I can see:
drwx------ root root 1970-01-01 01:00 sdcard0
d---rwxr-x system sdcard_rw 1970-01-01 01:00 sdcard1
Si I try:
> busybox chown -R system:sdcard_rw sdcard0
But I get "Operation not permitted" for each dir/file in sdcard0
How comes that an operation is not permitted to the root user ???
Did anyone fix this problem ?
Edit: "You can't chown or chmod a vfat partition let alone a directory within it. You can only change ownership and permissions in fstab and it will apply to all directories and files. So to change ownership of the entire mount point you would change your fstab entry" (see http://ubuntuforums.org/showthread.php?t=1646849)
Thanks and regards
OK guys, I finally found a solution.
Thanks to http://ubuntuforums.org/showthread.php?t=1646849 I mentionned just above, I decided to write an fstab file (the name is important) and placed it under /etc:
/dev/block/mmcblk0p1 /storage/sdcard0 auto rw,uid=1000,gid=1015,fmask=0702,dmask=0702 0 0
/dev/block/vold/179:1 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
Basically, this script is the result of the terminal command (you need to be root):
mount | grep sdcard0 > /etc/fstab
... which I ran after I could get the sdcard mounted (after a mount on PC and eject). But it first failed with errors on options, so I removed a few of them until I kept the lines above.
Then I wrote a little script which I place on my external sdcard which does not have a mount problem at boot:
busybox mount -a
and placed a shortcut to this script on my desktop with SManager.
I just have to click on this shortcut after boot and the internal sdcard gets mounted.
I tried to place this script under /etc/init.d with the hope it would be launched automatically at boot, but this did not mount the sdcard. If anyone knows why ???
Hope this helps !
Well... still having troubles with my sdcard... With the above fstab script I can mount it, access the files, etc...
However, the camera still asks me to insert a sdcard... Is this a permission issue ? Which permissions (owner, group, etc...) does the camera need ? My DCIM dir has the following permissions:
d---rwxr-x system sdcard8RW 2013-06-04 10:36 DCIM
Thanks and regards
- Regis
Related
I have Xperia X8 with android 2.1 and I want to move apps in SD card. How do this?
Just use app2sd or link2sd .... U hv to root first of course ..
KR470S said:
I have Xperia X8 with android 2.1 and I want to move apps in SD card. How do this?
Click to expand...
Click to collapse
Any custom ROM has native app 2 SD, plus you can follow
http://forum.xda-developers.com/showthread.php?t=1345872
To create a special partition in your SD card to which you apps can be automatically move, plus the swap space that will give you more free memory.
There are two good guides about custom roms:
http://forum.xda-developers.com/showthread.php?t=1333865
http://forum.xda-developers.com/showthread.php?t=1222348
If you are new to this, it will take some time get used to these guides, tools, etc. But there are lots of fun on testing custom ROMs, overclock, benchmarks, different skins, launchers, etc.
A good start is the toolbox, from puppet13th post:
http://forum.xda-developers.com/showthread.php?t=1117100
It is text only, different from SuperOneClick, a really great tool too, but toolbox can root your phone, install some modules (overclock, cypress / synaptics dual touch), and most important, the dual recovery: freexperia (or xrecovery... I don't remember) plus clockworkmod. Some ROMs are designed for the first one, but most recent ones are for CWM.
how do you partition sd card? i use to be able to do that until i formatted my sd card...now i forgot how to!
tohno said:
how do you partition sd card? i use to be able to do that until i formatted my sd card...now i forgot how to!
Click to expand...
Click to collapse
I did this yesterday, following this thread:
http://forum.xda-developers.com/showthread.php?t=1345872
I would prefer another way to repartition my SD, as Linux GPartED, that can easily resize partitions and add new ones. But I couldn't find the requirements for that and had problems a couple of months ago, when I tried to replace my SD and it was reformatted (don't know why) automatically, with no warning.
So I almost followed the thread:
1) backed up all my files (I just mounted SD and copied the files, as I didn't had sd-ext yet)
2) reboot into clockworkmod. I backup here is STRONGLY RECOMMENDED!
3) mounted /system & /data, and unmount /sdcard
4) copied sdparted.txt to /sbin/sdparted (already rooted, otherwise it would not work)
adb push sdparted.txt /sbin/sdparted
adb shell chmod 755 /sbin/sdparted
5) As I was in a different ROM, MiniCM7 2.1.6, I didn't have parted, required by sdparted.
So I copied from GingerDX v21
adb push parted /usr/xbin/parted
adb shell chmod 755 /usr/xbin/sdparted
But if your ROM already have parted, you can skip this.
6) Now just run sdparted as mentioned in MarJar thread. I have a 8 GB SD, and I choose 512 MB for sd-ext and 256 MB for swap, leaving more than 7 GB for files. So mine was:
adb shell
sdparted -es 512M -ss 256M -efs ext4
(someone, somewhere, mentioned that ext4 would be faster. I saw some benchmarks for Linux telling the opposite... But ext4 jas journaling, so it should be safer)
Now you have a partitioned SD.
7) Copy userinit.tx from the thread to /sd-ext/userinit.sh. It will be automatically executed on startup and mount the enable swap:
adb push userinit.txt /sd-ext/userinit.sh
adb shell chmod 755 /sd-ext/userinit.sh
8) Now I would recommend, if you have installed your apps to your ROM, to mount the SD again and copy the files back to the SD. You can do it in clockworkmod, menu Partitions or something like that, choosing Mount SD Card.
I didn't, so when I rebooted the phone, the "Apps" (or whatever remained fromthem in /data) were move to /sd-ext automatically. But any previous ROM, as mine also, would keep files in SD. The result was the nothing was working. So I copied the files back to SD card and restored the backup I took in step 2 (that saved me ).
But if you restore the files back to SD before rebooting, I think you would be fine.
It worked gracefully for me after restoring the backup.
9) Reboot and enjoy.
Hello,
Sorry, not working like on sgs 3 and galaxy note 10.1. Dont apply now. I m working on a fix with vold.fstab, but format changes with jellybean.
Ported from scripts created originally for Galaxy S 3.
This script swaps internal and external sd storage from init.d.
- You must have a JellyBean Stock or Stock Based ROM
- Must be rooted to flash.
Attached to this post, you will find the CWM flashable zip.
This have zero chance to brick your device, but I cannot say if your SD card doesn't have any issues etc... so don't blame me for data loss or anything.
This script will NOT COPY DATA from your sd, so you will have missing data after you restart the phone.
The data is still on the original internal SD, so you'll have to copy it back to your bigger sdcard's root.
Code:
#!/system/bin/sh
#extsd2internalsd is a modification that allows to switch internal sd to external sd and viceversa. With this you can use default internal sd only for app storage #and the external sd to store all apps resource and all others stuff. The resut is a very big increase of installable apps on gs3
#All credits to Mattiadj of xda forum for the idea and script and to mike1986 for the cmw zip.
#Script Modified for SgNote N7000 by aureusz
sleep 5
busybox mount -o remount,rw /
#Tries to mount as vfat
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:9 /mnt/sdcard
#Tries to mount as exfat
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:9 /mnt/sdcard
#If Sd has been mounted, mount internal SD as extSdCard, if not, do nothing, Android should mount it back as internal.
if busybox mount | busybox grep vold/179:9; then
busybox mount -t vfat -o umask=0000 /dev/block/mmcblk0p11 /mnt/extSdCard
fi
Only problem is, if you use usb mass storage connexion, instead of mtp, it will swap back sd cards.
If you want to remove the script, simply delete the file 11extsd2internalsd from /etc/init.d/ with root explorer or a similar app.
Restart the phone and the problem should disappear.
I'll look into a fix for this.
Strange stuff happenning after first reboot (app2sd make apps disappear). Removing file and placing warning back
Aureusz.
Or you can simply switch mount points in vold.fstab
neobuddy89 said:
Or you can simply switch mount points in vold.fstab
Click to expand...
Click to collapse
The problem with this method is that, if you remove SDCARD, the phone will not mount internal SD back to it's place.
With this script, the internal SD will remount back to internal sd path.
I'm not sure, but that's how I understood it when I read the thread where they talked about this method.
Correct me if I'm wrong, I pretty much a noob at this.
aureusz said:
The problem with this method is that, if you remove SDCARD, the phone will not mount internal SD back to it's place.
With this script, the internal SD will remount back to internal sd path.
I'm not sure, but that's how I understood it when I read the thread where they talked about this method.
Correct me if I'm wrong, I pretty much a noob at this.
Click to expand...
Click to collapse
The solution to that can be decompiling framework-res.apk and editing file storage.xml
Make removable flag true for both storage.
This may or may not work but worth a try.
neobuddy89 said:
The solution to that can be decompiling framework-res.apk and editing file storage.xml
Make removable flag true for both storage.
This may or may not work but worth a try.
Click to expand...
Click to collapse
I'm definitely interested in all options regarding this issue, this has been a big hurdle for me on android with sd card slots, so I took to myself to fix it. I know it's easy to do in ASOP roms but, I missed some S-pen features.
Until now, people used bindings for some directories, for large games data, but this proved not to work for some apps, while this solution works for every app.
Spotify for example lost its synced library, because I think the service would check the synchro of the playlist at device startup, and the folders were not yet mounted... etc.. now, it's flawless.
EDIT : not so flawless, looking into modding fstab as suggested by neobuddy89
neobuddy89 said:
Or you can simply switch mount points in vold.fstab
Click to expand...
Click to collapse
Is it possible that you post the vold.fstab where the mount point is switched for internal and external SDcard? Thanks.
Re: [CMW, Init.d Script] Swap IntenalSD<->ExternalSD
any updates here?
Sent from my GT-N7000 using xda premium
Hello everybody
After two days of research and attempts, I finally gave up and decided to ask for direct help.
So, a week ago I rooted an Orange-branded Ace and flashed a few ROMs over the next 3-4 days to try to find the one that could suit better.
However, I screwed up something cause at some point in the process the internal sdcard was not seen anymore.
I mean, I can still go in Recovery or Download mode, flash stuff through Odin, boot without problems and use my phone.
Although, any direct access to internal storage is forbidden.
So, no rooting.
Both 2e and 3e CWM can't mount sdcard.
The type of messages I get :
When I pick "apply update from sdcard" -> E:Failed to mount /sdcard (No such file or directory)
When I rebbot after flashing -> -- Appling Multi-CSC... Installing Multi-CSC. Can't access to '/system/csc/whatever/system/'.
No way to get a USB connection either (different computer were tried), all with drivers correcting installed.
Also tried to get to the storage mass with MiniTool partition Wizard or through Disk management, but nothing.
Factory reset is useless, as well as any recovery's wiping process.
No sdcard formatting is possible.
I flashed several stock firmwares, went all the way back to Froyo, but nothing.
I wanted to try and flash a rooted stock rom, but couldn't find any /:
Hopefully one of you will come up with the fix.
Anyway, thanks in advance to everybody.
Cheers
inthered said:
Hello everybody
After two days of research and attempts, I finally gave up and decided to ask for direct help.
So, a week ago I rooted an Orange-branded Ace and flashed a few ROMs over the next 3-4 days to try to find the one that could suit better.
However, I screwed up something cause at some point in the process the internal sdcard was not seen anymore.
I mean, I can still go in Recovery or Download mode, flash stuff through Odin, boot without problems and use my phone.
Although, any direct access to internal storage is forbidden.
So, no rooting.
Both 2e and 3e CWM can't mount sdcard.
The type of messages I get :
When I pick "apply update from sdcard" -> E:Failed to mount /sdcard (No such file or directory)
When I rebbot after flashing -> -- Appling Multi-CSC... Installing Multi-CSC. Can't access to '/system/csc/whatever/system/'.
No way to get a USB connection either (different computer were tried), all with drivers correcting installed.
Also tried to get to the storage mass with MiniTool partition Wizard or through Disk management, but nothing.
Factory reset is useless, as well as any recovery's wiping process.
No sdcard formatting is possible.
I flashed several stock firmwares, went all the way back to Froyo, but nothing.
I wanted to try and flash a rooted stock rom, but couldn't find any /:
Hopefully one of you will come up with the fix.
Anyway, thanks in advance to everybody.
Cheers
Click to expand...
Click to collapse
Sdcard is an external memory, and yes you can't manage it without root permissions so when you connect your phone via USB to your pc you can't see your internal memory partition, only the external (micro sd-card).
Maybe your sdcard is corrupted, try to format it with an USB adapter and then try again
Viper The Ripper said:
Sdcard is an external memory, and yes you can manage it without root permissions so when you connect your phone via USB to your pc you can't see your internal memory partition, only the external (micro sd-card).
Maybe your sdcard is corrupted, try to format it with an USB adapter and then try again
Click to expand...
Click to collapse
Hey, thanks for the reply
Although, I'm afraid I might not have been clear.
I haven't mounted any microSD so far and I've always been able to access to /mnt/sdcard (before screwing up).
Now, after flashing anything on the device, trying to access to My Files - or whatever file manager - will result in a dead end, since no sdcard is seen by the device itself (so, for example, I have no access to DCIM, or Music, Movies, anything).
I can't format the device cause:
- the computer doesn't see it (although drivers installed), not even from Disk Manager
- general disk-formatting/wiping softwares don't see it
- formatting from Recovery is impossible
inthered said:
Hey, thanks for the reply
Although, I'm afraid I might not have been clear.
I haven't mounted any microSD so far and I've always been able to access to /mnt/sdcard (before screwing up).
Now, after flashing anything on the device, trying to access to My Files - or whatever file manager - will result in a dead end, since no sdcard is seen by the device itself (so, for example, I have no access to DCIM, or Music, Movies, anything).
I can't format the device cause:
- the computer doesn't see it (although drivers installed), not even from Disk Manager
- general disk-formatting/wiping softwares don't see it
- formatting from Recovery is impossible
Click to expand...
Click to collapse
Well, I'm gonna explain my post...In my opinion your SD-CARD is corrupted!!! so format YOUR SD-CARD, NOT YOUR PHONE!
Use an USB sd-card adapter!
Right?
Viper The Ripper said:
Well, I'm gonna explain my post...In my opinion your SD-CARD is corrupted!!! so format YOUR SD-CARD, NOT YOUR PHONE!
Use an USB sd-card adapter!
Right?
Click to expand...
Click to collapse
But you're talking about the microSD, right?
What I mean is that, at the moment, I don't have one mounted in the phone.
I've had one before having problems, but I messed up partitions, so had to format everything anyways.
But, right now, it's out of the phone.
Also, as I was saying, I cannot access common folders like Music or Downloads, nor can I drop the update.zip on the internal memory to root, and I don't think any of this has anything to do with external storage /:
inthered said:
But you're talking about the microSD, right?
What I mean is that, at the moment, I don't have one mounted in the phone.
I've had one before having problems, but I messed up partitions, so had to format everything anyways.
But, right now, it's out of the phone.
Also, as I was saying, I cannot access common folders like Music or Downloads, nor can I drop the update.zip on the internal memory to root, and I don't think any of this has anything to do with external storage /:
Click to expand...
Click to collapse
".../sdcard/music
/sdcard/downloads
/sdcard/DCIM..."
All the folders you are saying, they are in sd-card folder so.... and ROOT.zip must be in SD-CARD to flash it....
Did you try to do wipe data/factory reset and wipe cache via stock rom then when you finished to flash the stock¿?
Viper The Ripper said:
".../sdcard/music
/sdcard/downloads
/sdcard/DCIM..."
All the folders you are saying, they are in sd-card folder so.... and ROOT.zip must be in SD-CARD to flash it....
Click to expand...
Click to collapse
I'm sorry, but I might be misunderstanding.
All these folders are in the sdcard folder.
But the sdcard folder is internal, not a microSD, am I right?
When you suggest that the "SD-CARD" might be corrupted and that I should format it, are you referring to the sdcard folder?
Viper The Ripper said:
Did you try to do wipe data/factory reset and wipe cache via stock rom then when you finished to flash the stock¿?
Click to expand...
Click to collapse
Yep. I've flashed (several times) 2.2.1, 2.3.5 and 2.3.6 stocks, wiping everything before flashing and right after having flashed, but I'm always stuck with no access to /sdcard or failure to mount /sdcard..
inthered said:
I'm sorry, but I might be misunderstanding.
All these folders are in the sdcard folder.
But the sdcard folder is internal, not a microSD, am I right?
When you suggest that the "SD-CARD" might be corrupted and that I should format it, are you referring to the sdcard folder?
Yep. I've flashed (several times) 2.2.1, 2.3.5 and 2.3.6 stocks, wiping everything before flashing and right after having flashed, but I'm always stuck with no access to /sdcard or failure to mount /sdcard..
Click to expand...
Click to collapse
/sdcard = external memory = YOUR MICRO SDCARD!!!!! = THE THING YOU INTRODUCE INTO THE SIDE SLOT!! NOT INTERNAL MEMORY!!!
I'am refering to your SDCARD (above you can see what sdcard means)
And yes all these folder are saved in it
The Galaxy Ace does NOT have an internal sdcard. /sdcard is the external sdcard.
Sent from my air conditioner
CallMeVentus said:
The Galaxy Ace does NOT have an internal sdcard. /sdcard is the external sdcard.
Sent from my air conditioner
Click to expand...
Click to collapse
I hope he'll unterstand xDDD as clear as water
inthered said:
I'm sorry, but I might be misunderstanding.
All these folders are in the sdcard folder.
But the sdcard folder is internal, not a microSD, am I right?
When you suggest that the "SD-CARD" might be corrupted and that I should format it, are you referring to the sdcard folder?
Yep. I've flashed (several times) 2.2.1, 2.3.5 and 2.3.6 stocks, wiping everything before flashing and right after having flashed, but I'm always stuck with no access to /sdcard or failure to mount /sdcard..
Click to expand...
Click to collapse
Hi inthered, I think this is getting confusing.
Sd card is the external storage, where you usually have the data, music, photos, etc. Is this sd card that your Myfiles see, if it isnt there Myfiles cant see anything, cause it cant access internal storage.
To access internal storage you must be rooted and have an app that could do that. I believe you said that your phone inst rooted, so you can only see external storage and seems that it isnt there. So you cant access all that folders ( music, etc,) cause they arent there
Have to mount SD first. You can format SD with Mini tool partition Wizard, in FAT32, and use it only as external storage.
Or you can create in this external storage one partition to help manage the internal storage, but that partition wont be seen by normal apps, like Myfiles, ou PC explorer, and you need to be rooted and everything else that didnt worked first time [but it works, I guarantee that]
To finish, internal storage can only be seen in rooted devices and with some apps ( never Myfiles)
Sorry if I wrote too much, but everyone was right, it had to be better explained
Hope I helped
thanks a lot everyone.
sorry for having been insistent, but i really missed the point about the no-internal-sdcard issue (as you might have noticed).
found only today a little time to re-partition sdcard and flash, and it finally works.
thanks again
Update something
[Edit Philz 6.2.3+ is perfect & does not mess with my swap anymore.]
messed with the install-recovery.sh!
So just reflash the swap , not sure what did it : an xposed modual?
v5 up.
Works now even if on bone stock.
Step 1: (for those rooted, on the ota or out of the box)
Install this https://play.google.com/store/apps/details?id=stericson.busybox
Use the smart install & choose 1.21.1 not 1.22. http://forum.xda-developers.com/showpost.php?p=50064227&postcount=4
Do not use Universal init d.
Reboot.
Step 2:
Flash v5 with Twrp2.6.3 e33 or Philz v6079.
For SafeStrap users using bootstrap, should work.
Reboot.
TWRP e33: http://forum.xda-developers.com/showpost.php?p=49509466&postcount=1
Fixed conflicts with my ◢ PurePerformances™X ◣ mod.
You can only successfully install with Plilz v6079. I only use, for now the one below.
Once installed TWRP does not seem to be a problem.
Plilz v6 for msm8960 phones: Atrix HD, Razr M & Photon Q is here
Took down the deodexed version as it was only the ui from this 1% battery mod that made it different. You can flash it to any deodexed 412 xt907 or xt905 rom.
All storage defaults to storage0 (your real SD card) which is the way it should have been from Motorola, well closer anyway.
Flash from recovery or SS bootstrap Philz v6. Wipe dalvik & cache only. Not for cm based, multuser, or anything but 4.1.2 stock roms!
My ◢ PurePerformances™X ◣ mod must be followed by the SD Swap. Because of a conflict with install-recovery.sh file.
Do not use cwmr 6044 as it messes up the swap by forcing data/media/0. Plilz is better as you can choose data/media only. See my goodies for Philz.
Always use TWRP 2.6.3 e33 OR Philz v6079.(for install use Philz only)
Always choose any NO when rebooting from Philz.
Go Recovery Goodies
Because install-recovery.sh is now an agent in the initd setup & needs to be protected.
Notes on the SD swap: When you choose "Device storage", sdcard0 or storage0 you will browsing your real SD card. When you choose "SD card", sdcard1 or storage1 you will be browsing the internal SD ("data/media").
This internal SD ("data/media") memory now has no purpose. You can move what you want to your real SD & delete everything else to let the phone use it all. All storage defaults to storage0 (your real SD card) which now is the way it should have been from Motorola, well closer anyway.
ZaYAC-ua's swap thread
The formerly unwanted file: install-recovery.sh is now an agent in the initd setup & needs to be protected, as noted above, and it's permissions, if altered, can be restored to rwxr-xr-x.
If this file is not protected you boot up with 2 internal SD cards.
Known issues:
Two things will Kill the SD swap: (by messing with install-recovery.sh)
1)Using TWRP older then v2.6. (To install use Philz only)
2)If you boot from CWMR and choose yes to "disable recovery flash".
Also) If you mess with multiuser roms feel free to delete 0 , obb & legacy folders in internal sd (storage1).
One more) It is expected for your settings-storage info to be out of whack.
Finally) Create folder in root of the phone with Root Explorer results in an error but is the same as the Rabbit's version & of no consequence. The folder does get created anyway. All else works in the root of the phone.
UsbMassStorage: BE SURE TO EJECT FROM PC/MAC BEFORE YOU UNMOUNT. DO NOT USE WITH ANDROID FILE TRANSFER.
".files" are a nuisance when mounting to osx: just delete them AFTER YOU UNMOUNT. Warning: If you do not enable your file browser to show hidden files & you unmount while your (os x is one) trash is full the .file can be huge!
More http://forum.xda-developers.com/showpost.php?p=43434787&postcount=3
V1 DL stats: deodexed-31, odexed-49
Reserved
V3 up. Fixes compatibility w/ PP mod. Twrp will not install the swap & let it work! Plilz v6 will & does twrp restores too....
I'm using this script to swap the storage on PACman and other 4.3 roms that lacks the swap option natively, I guess your solution is more or less the same, using the restore recovery script instead of the real init.d script.
Right ?
Code:
#!/system/bin/sh
sleep 3
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /mnt/shell/emulated
mount -o bind /data/media/0 /storage/sdcard1
chown system /data/media/0
chgrp sdcard_rw /data/media/0
chmod 0075 /data/media/0
mount -o remount, ro /
The Solutor said:
I'm using this script to swap the storage on PACman and other 4.3 roms that lacks the swap option natively, I guess your solution is more or less the same, using the restore recovery script instead of the real init.d script.
Right ?
Code:
#!/system/bin/sh
sleep 3
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /mnt/shell/emulated
mount -o bind /data/media/0 /storage/sdcard1
chown system /data/media/0
chgrp sdcard_rw /data/media/0
chmod 0075 /data/media/0
mount -o remount, ro /
Click to expand...
Click to collapse
Thanks. Did you have a link? I have never found one that works for 4.1.2 + !
aviwdoowks said:
Thanks. Did you have a link? I have never found one that works for 4.1.2 + !
Click to expand...
Click to collapse
A link ?
That's all I'm using, just copy it save it to (say) 02sdswap, put the file in the /etc/init.d folder and set the permissions as the other init.d files.
Then reboot the phone.
That's all
Keep in mind to use a decent editor and set the end line format to UNIX.
I'm using it on 4.3 on PhotonQ but it should work, as is, on other similar phones like the Razr M, or with little adjustment in other phones.
Is far from perfect but looks to be enough to solve the problem.
The Solutor said:
A link ?
That's all I'm using, just copy it save it to (say) 02sdswap, put the file in the /etc/init.d folder and set the permissions as the other init.d files.
Then reboot the phone.
That's all
Keep in mind to use a decent editor and set the end line format to UNIX.
I'm using it on 4.3 on PhotonQ but it should work, as is, on other similar phones like the Razr M, or with little adjustment in other phones.
Is far from perfect but looks to be enough to solve the problem.
Click to expand...
Click to collapse
Just tried it, removing the "/0" from each line w/ datamedia.
No go for 412.
aviwdoowks said:
No go for 412.
Click to expand...
Click to collapse
Practically I've never used JB 4.1.2, as I see no point in doing it.
Depending on my moot I use my internationalized ICS, or a good 4.3 unofficial rom.
Bacause this, I don't remember exactly the changes in paths and symlinks between 4.1.2 and 4.3
But very likely the /mnt/shell/emulated is not present on 4.1.2, just check if I'm not wrong, and eventually change the /mnt/shell/emulated to the correct mountpoint.
V4 up. Much improved. Only the install-recovery.sh annoyance to overcome. I am trying a "userint.sh" version. Anyone know if that is do-able on a moto phone? Htc phones use it with a swap.
Couple this concise commentary of the data media problem,
http://teamw.in/DataMedia
[translation: data/media is useless if you have ext sd as default storage.
It needs to be formatted for reliable rom flashes (esp. 4.4)
& you can do it from Philz! ]
With the ability to use a large sd card on our phone,
then you understand why keeping data media zeroed out along with a sd swap is so nice.
Where oh where is a swap for 4.4?
Btw a new Plilz with ext sd cwm folder detection :fingers-crossed: due out soon.
Hello,
I have got a samsung p1000 tablet from my friend, that it does not boot, there is no warranty for it, and he doesn't need this anymore. I googled what is its problem, and the internal sd was corrupt. I followed tutorials to open the tablet, got off the internal memory which stored the data and the cache partition, then put everything back. After many tries,reflashes, bricks, etc, I got to this solution: I flashed the stock t-mobile firmware with odin 3.07 (this version ignored fail of movinand.rfs and hidden.rfs, not like earlier versions, like 1.85), installed overcome kernel, went to recovery, edited the /system/etc/vold.fstab file and partitioned the sd card as it needed. I booted and it worked, the android system ran from the sd, and the sd's 4gb fat32 partition was used as "internal" sd. I did it by this tutorial: http://forum.xda-developers.com/showthread.php?t=1463756& My partitions are:
1. Primary, fat32, ~5400mb (sdcard)
2. Primary, ext4, 2000mb (data, so applications' place)
3. Primary, fat32, 100mb (preload, or cache?)
OK. It's 2014, I cannot stick with gingerbread. I installed the official cm11 kitkat (http://download.cyanogenmod.org/?device=p1), but it had a problem, after searching i found it:
I can't use camera, cannot download anything and cannot open sdcard0 because: sdcard's fat32 partition is mounted as sdcard1. In KitKat, fstab file (fstab.p1) is in the root. I have to do one of these, but I cannot:
- unpack boot.img then edit fstab.p1 file, repack and reflash it, to use as sdcard0. simply modifying it does nothing, it changes itself back, and sometimes causes a bootloop.
- this solution, that I don't understand: http://forum.xda-developers.com/showpost.php?p=52931787&postcount=118
I'm pretty much confused, because it worked in gingerbread, but it had fstab in other folder, had an other structure of it, it was touchwiz, not cyanogenmod, etc.
Adb logcat and file manager both say: permission denied to sdcard0, ok, because it has been got out by me, but I don't need sdcard1, only sdcard0.
I would appreciate any help from you guys, telling me how to do one of these solutions, which would work and be the better for this case.
(i know this tab is old and obsolete, but it would be good for me for youtube, movies, xda, some games, just for home )
Same problem
I am having the same damn problem. I'm not a developer, and I'm using cygwin, but I do want to poke around in boot.img. How did you unpack it? I was getting an error involving magic android header or something. Also is there an fstab in the recovery? Should I flash that with heimdall, and push edited rom? Thanks for any help, and if you figure it out please post.
bluesnaketree said:
I am having the same damn problem. I'm not a developer, and I'm using cygwin, but I do want to poke around in boot.img. How did you unpack it? I was getting an error involving magic android header or something. Also is there an fstab in the recovery? Should I flash that with heimdall, and push edited rom? Thanks for any help, and if you figure it out please post.
Click to expand...
Click to collapse
I wasn't able to unpack it in cm11 rom. It says the same, there is no magic android header.
I am able to do the following:
DOWNLOAD MODE (turn off, volume down + turn on)
RECOVERY MODE (turn off, volume up + turn on)
- Format 16g memory card like this (e.g. with miniTool Partition): | sdcard,primary,fat32,~5000mb | data,primary,ext4,~1800mb | preload,primary,fat32,~200mb |
(with bigger cards, obviously bigger sdcard and data partition)
- DO NOT format sd with inserted in tab, and mounted in recovery; it will make partitions INSIDE of mmcblk0p1 block, not 3 blocks, mmcblk0p1, 0p2 and 0p3. So, DO format like in laptop, with microSD>SD transformer
- Insert SD card to TAB
- Flash gt-p1000_mr.pit and GB_Stock_Safe.tar with odin 3.07 (the only one which can push hidden.rfs, or skipping it automatically, like ignoring it in heimdall)
- Reboot in recovery mode, see that it can't see int. memory
- Reboot to download mode, flash overcome kernel
- Reboot to recovery, connect to adb, and now you can "adb pull /system/etc/vold.fstab"
- The file pulled to the adb folder should be edited to this (got this from a tutorial):
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = disable
format_option = -r 1558
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
}
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2 /devices/platform/s3c-sdhci.2/mmc_host/mmc1
#end line ## keep this line
- Now type in adb: "adb push vold.fstab /system/etc/"
- To check out booting, type in adb: "adb logcat".
- Reboot your device.
- A female robot voice tells you not enough space on system partition, converting it, estimated time 2 mins, etc etc.
- After a while you should see many-many lines written in adb window, and see your tab booting.
- When turned off charging for 1st time, don't worry, it will convert something again, female voice will appear again. Never so again.
- Now you have your tab working camera, sdcard, apps, etc.
STOP HERE? IF YOU WANT A WORKING 2.3, CONTINUE IF YOU WANT A HALF-WORKING CM11.
2.3 is outdated, I tried to update to cm11
- Go to overcome recovery
- Recovery detects sdcard0 and sdcard1 normally.
- (I didn't do any wipes )
- Flash cm11.
- It will reboot to clockworkmod recovery.
- NOW FCKN recovery detects external sd partition 1 (your savior) as sdcard 1, FUUUUU!
- You have to flash the zip file again.
- Flash gapps. Because of "missing" (it's just mounted in the wrong place) sdcard partiton, some of them can not install.
- Now system boots, you can install apk-s. But even if you umount and mount the sd in the good place, camera and market sd-required apps won't work. So like fb, messenger, circle don't need them, so they work. BADLAND, Real Racing, won't, they need the sdcard mounted in place by the fstab file. You cannot download files in stock browser, neither in Dolphin, only in CM Browser.
Choose, you want to use an older, working os, or a half-working, but newer os, with more (cm features)
Maybe I will include the programs I used, when XDA allows me to place links in this post.
still trying...
Thanks for the info. Maybe if I knew what to do with this http://forum.xda-developers.com/showpost.php?p=52931787&postcount=118 I could get somewhere. I'm still determined to get this to work properly. It worked in that old terenceng rom so there has to be a way...