[SOLVED][KK>H3] Internal Mount Problem - Galaxy Grand 2 Q&A, Help & Troubleshooting

I installed gl to sd app and mounted storages using the app.
Now I can't see extsdcard and legacy storage from any apps (STOCK files app,xplore, music). I did some researching and found /mnt/extsdcard is now /mnt/mnt_rw/extsdcard/.
And /mnt/sdcard/ is now /data/media/0.
I found the file responsible for the problem: /init.qcom.rc
Can anyone please suggest a fix.
1) Tried to edit but no write permission
2) Has STOCK h3 Rom for flashing. But I can't find which partition to flash (checked using ext 4 unpacker)
3) Tried restore Samsung option in gl to sd but no use
OS: kk
BUILD: H3
ROOT: YES
Xposed: YES
ROM: STOCK
RECOVERY: YEP
@noobs Please don't post stupid comments and waste everybody's time
Solved it by restoring /system/bin/sdcard file from STOCK files

install Sd fix nextwap app 4m Playstore. . it will fix the sd mount problem

Rakesh251 said:
install Sd fix nextwap app 4m Playstore. . it will fix the sd mount problem
Click to expand...
Click to collapse
I am not talking about sd card write permission problems

mobihack said:
I installed gl to sd app and mounted storages using the app.
Now I can't see extsdcard and legacy storage from any apps (STOCK files app,xplore, music). I did some researching and found /mnt/extsdcard is now /mnt/mnt_rw/extsdcard/.
And /mnt/sdcard/ is now /data/media/0.
I found the file responsible for the problem: /init.qcom.rc
Can anyone please suggest a fix.
1) Tried to edit but no write permission
2) Has STOCK h3 Rom for flashing. But I can't find which partition to flash (checked using ext 4 unpacker)
3) Tried restore Samsung option in gl to sd but no use
OS: kk
BUILD: H3
ROOT: YES
Xposed: YES
ROM: STOCK
RECOVERY: YEP
@noobs Please don't post stupid comments and waste everybody's time
Solved it by restoring /system/bin/sdcard file from STOCK files
Click to expand...
Click to collapse
ok thanks..

Related

Jelly Bean + Recompiled kernel - Internal memory symlink missing

Hi all,
I'm using Jelly Bean ROM on my i9100 with custom kernel.
Problem is that many apps are looking for internal memory using the path "/mnt/sdcard" (like address book export function, whatsapp for downloaded images, etc.), that should be a symbolic link to folder "/storage/sdcard0", new mount point of internal memory in JB.
I've tried SiyahKernel v4.0.1 and 4.1beta6, Dream-IRC 2.7.0 (I cannot try Dorimanx 5.65.1 cause it generates a boot loop with RootBox ROM) and all of them suffer same problem.
I've found that some init scripts (for example "fota.rc" or "init.goldfish.rc") are creating the folder "/mnt/sdcard" earlier than right init script could create symbolic link: those scripts cannot be changed cause they are part of initramfs, so kernel recompilation is needed.
I hope this thread could help kernel experts to solve problem.
Bye.
JediMaster said:
Hi all,
I'm using Jelly Bean ROM on my i9100 with custom kernel.
Problem is that many apps are looking for internal memory using the path "/mnt/sdcard" (like address book export function, whatsapp for downloaded images, etc.), that should be a symbolic link to folder "/storage/sdcard0", new mount point of internal memory in JB.
I've tried SiyahKernel v4.0.1 and 4.1beta6, Dream-IRC 2.7.0 (I cannot try Dorimanx 5.65.1 cause it generates a boot loop with RootBox ROM) and all of them suffer same problem.
I've found that some init scripts (for example "fota.rc" or "init.goldfish.rc") are creating the folder "/mnt/sdcard" earlier than right init script could create symbolic link: those scripts cannot be changed cause they are part of initramfs, so kernel recompilation is needed.
I hope this thread could help kernel experts to solve problem.
Bye.
Click to expand...
Click to collapse
._. I think this should be in the general forums?
Sent from my GT-I9100 using xda premium
MarioFan1998 said:
._. I think this should be in the general forums?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Hi MarioFan1998,
I've posted here cause problem is related to custom kernel recompilation, so I've thought that "Android development" was the right section: if it is not, I'll move thread to general forum, let me know.
Thank you.
Bye.
New kernels also affected...
I can confirm that also Dorimanx 5.65.1 kernel suffers same problem.
Now I've installed new Resurrection Remix 3.0.4 + Dorimanx 5.65.1 kernel and "/mnt/sdcard" is always an empty folder and not a symlink to "/storage/sdcard0" as it should be.
We need kernel Experts help!
Okay in the mean time try this I have used RemountSD app but edited the
directories likes so:
Original external SD location: /storage/sdcard0
Target external SD location: /mnt/sdcard
Now go to /mnt/sdcard you should now see your internal sdcard.
Note: the external SD location I actually put the directories of the internal SD card instead
so the internal SD will be mounted instead of external.
Press thanks if it works! Use this as a temporary solution!
EDIT: Noticed that after reboot it stops working. Recommend you remount on every boot for now.
MarioFan1998 said:
Okay in the mean time try this I have used RemountSD app but edited the
directories likes so:
Original external SD location: /storage/sdcard0
Target external SD location: /mnt/sdcard
Now go to /mnt/sdcard you should now see your internal sdcard.
Note: the external SD location I actually put the directories of the internal SD card instead
so the internal SD will be mounted instead of external.
Press thanks if it works! Use this as a temporary solution!
EDIT: Noticed that after reboot it stops working. Recommend you remount on every boot for now.
Click to expand...
Click to collapse
Thank you,
I've realized a different solution, an init.d script that, if folder /mnt/sdcard is empty, removes it at boot time and creates appropriate symlink.
I attach file to this post, it must be copied (extracted script, not tar.gz archive) to /etc/init.d, then "chown root.shell 00fixmount", then "chmod 0755 00fixmount".
It works for me in RR3.0.4 + Dorimanx Kernel 5.65.1, use it at your own risk: obviously it's a temporary workaround, until kernel developers will fix it in boot image.
Bye.
You know what you guys could do? Learn to decompile a kernel and modify initramfs yourselves! It's fun to learn.
Lack of time...
karendar said:
You know what you guys could do? Learn to decompile a kernel and modify initramfs yourselves! It's fun to learn.
Click to expand...
Click to collapse
Long ago one of my hobbies was update/configuration/recompilation of kernel on my customized Slackware distro to find best performances, today I'm using a notebook with Windoze 7...
Main problem is lack of time...
JediMaster said:
Thank you,
I've realized a different solution, an init.d script that, if folder /mnt/sdcard is empty, removes it at boot time and creates appropriate symlink.
I attach file to this post, it must be copied (extracted script, not tar.gz archive) to /etc/init.d, then "chown root.shell 00fixmount", then "chmod 0755 00fixmount".
It works for me in RR3.0.4 + Dorimanx Kernel 5.65.1, use it at your own risk: obviously it's a temporary workaround, until kernel developers will fix it in boot image.
Bye.
Click to expand...
Click to collapse
what about the external sd card.. any picture or music on it is not recognised by apps.. the builtin ones..even cwm manager.. i have to resort to quick pic and power amp
xinfinityoO said:
what about the external sd card.. any picture or music on it is not recognised by apps.. the builtin ones..even cwm manager.. i have to resort to quick pic and power amp
Click to expand...
Click to collapse
I don't use external SD card, but I see that symlink "/mnt/extSdCard" is correctly pointed to "/storage/sdcard1": which path are apps expecting to use?
Let me know.
Bye.
Whatever I try, it doesnt work. I need external_sd path for my Navigon Select and camera doesnt see sdcard.
brack11 said:
Whatever I try, it doesnt work. I need external_sd path for my Navigon Select and camera doesnt see sdcard.
Click to expand...
Click to collapse
If you want, I can try to make an init.d script to unmount internal and external sdcard devices and remount them in Gingerbread locations, but I will not be able to try, cause I don't use external sdcard...
Let me know if you wanna test.
Bye.
JediMaster said:
If you want, I can try to make an init.d script to unmount internal and external sdcard devices and remount them in Gingerbread locations, but I will not be able to try, cause I don't use external sdcard...
Let me know if you wanna test.
Bye.
Click to expand...
Click to collapse
I took the Init script from this thread and then installed ics binder from the market, configured binding from /mnt/extSdCard to /mnt/sdcard/external_sd and it did the trick, however, titanium wouldn't restore anything on sd, only on "system default"
Another thing is i don't see how jb more smooth than ics, feels the same to me and as i lose some settings for jb that i had on ics, I'm back to ics for now.
Sent from my GT-I9100 using Tapatalk 2

Link2sd / foldermount not working

Morning all,
I'm having the usual issues with internal space on my (rooted) s5360. I have tried:
Foldermount - won't work because /data/data isn't seen.as being on the internal SD card?!?
Link2sd - works on a fat/fat sd card only, then after reboot says "invalid argument" and won't mount. I've used Easus, Minitool and CWM to partition, but to no avail.
Directorybind - doesn't see any folders in /data
Are there any other ways to move / symlink monster apps like games and facebook to my SD?
Sent from my GT-S5360 using xda app-developers app
With link2sd you need a kernel that can support ext4 partitions
steps to follow if on stock based rom
flash hells fusion #50 kernel
copy contents of sd card to pc
goto recovery mode on phone
in cwm partition sd card with at least 1024mb ext partition
swap is not required
restart phone
open link2sd
create mount script as ext4
Restart
Open link2sd & check 2nd partition now shows
copy everything back to sd card
restart
Having had to restore with Odin after messing about with kernels / roms (I need to run stock rom to avoid phone nework cutoff) I'm not keen on this approach.
I can't see why l2sd would work after a reboot with ext4 when it won't with fat.
Is there no other app that can be used as an alternative?
What about manually creating symlinks?
Sent from my GT-S5360 using xda app-developers app
thephatmaster said:
Having had to restore with Odin after messing about with kernels / roms (I need to run stock rom to avoid phone nework cutoff) I'm not keen on this approach.
I can't see why l2sd would work after a reboot with ext4 when it won't with fat.
Is there no other app that can be used as an alternative?
What about manually creating symlinks?
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Because it needs kernel support
you won't have any problems running stock rom with hells fusion #50 kernel as long as you are not using DDMD1 baseband as that requires a different ramdisk
Install REPENCIES ROM PLUS REPENCIES KERNAL it has all support u need.
U cank also use darktremer app2sd . Its much better then link2sd & can transfer delvink also to sd.
Seach xda you will find everything
Thank you for helping me

[Q] internal memory is full ...... help me

how to set external memory as default installation path &
how to install and play apps on external memory
im using galaxy y GT s5360
please give proper help ... step by step solution
Root your phone if not already rooted (search how to)
Flash a kernel that can support ext4 partitions (if on stock based rom Use hells fusion #50 kernel -search dev section for links & instructions) Copy all sd files to pc
go into cwm on phone goto advanced & partition sdcard Partition sdcard with min of 1024mb ext partition
Copy sd card files back to phone
Install link2sd (playstore)
Open link2sd mount 2nd partition as ext4 (other kernels may vary)
restart
open link2sd
select app & create link
For more details search for link2sd
Link2SD has some complicated steps and requires 2 partitions in SD card. If you don't want to do it and you have root go to play store, search Force2SD(root).
Please note that by moving app to sdcard, you can't use its widget.(if any)
Sent from my GT-S5360 by xda-app
using CWM........Busybox commands........ No I use my hands
marcussmith2626 said:
Root your phone if not already rooted (search how to)
Flash a kernel that can support ext4 partitions (if on stock based rom Use hells fusion #50 kernel -search dev section for links & instructions) Copy all sd files to pc
go into cwm on phone goto advanced & partition sdcard Partition sdcard with min of 1024mb ext partition
Copy sd card files back to phone
Install link2sd (playstore)
Open link2sd mount 2nd partition as ext4 (other kernels may vary)
restart
open link2sd
select app & create link
For more details search for link2sd
Click to expand...
Click to collapse
Sir, can you help me with the link2sd problem highlighted in the link below
http://forum.xda-developers.com/showthread.php?t=1614700&highlight=increase+internal+memory&page=14
I think i may have isolated my problem but now I'm stuck
lohit007 said:
how to set external memory as default installation path &
how to install and play apps on external memory
im using galaxy y GT s5360
please give proper help ... step by step solution
Click to expand...
Click to collapse
To me, the most easily is move apps to sd card with Titanium Backup or similar.
You cant use an A2SD script. What it does it puts your internal memory to your newly formatted ext4 partiton on your sd card. But it's a little bit complicated, since you need to modify you boit.img, and it may not always work. The second option is to download "mounts to sd" from goigle play, but you need root and kernel with init.d support.
Sent from my HTC HD2 using xda app-developers app
lolerpro8 said:
You cant use an A2SD script. What it does it puts your internal memory to your newly formatted ext4 partiton on your sd card. But it's a little bit complicated, since you need to modify you boit.img, and it may not always work. The second option is to download "mounts to sd" from goigle play, but you need root and kernel with init.d support.
Sent from my HTC HD2 using xda app-developers app
Click to expand...
Click to collapse
Use this Amarullz a2sdx
http://forum.xda-developers.com/showthread.php?p=44801901
Just set the install location to automatic and manually link to sd.
Shouldn't be hard
Sent from from from from, PSHHHHHGHGHGHGGGGGGGGHHHHH , AIOOOOOOOOooooo0
Go to CWM Wipe Cache or Try this http://forum.xda-developers.com/showthread.php?t=2058944 flash this
[MOD]Allinance Mod For Samsung Galaxy Y http://forum.xda-developers.com/showthread.php?t=2496549 If I help U Pls Give Thanks www.SGYArchive.tk
If you are on stock ROM & Kernel...first root your phone & then install 2 apps from play store:-
1.Link2SD
2.Universal Init.D
Open Universal Init.D & enable Init.D support
Then download CWM & reboot to recovery & then:-
1.Select Install zip from SD & select CWM...now CWM will open
2.Select advanced
3.Select Partition SD card
4.On ext size select 1024MB (it is the max recommended size)
5.On swap select 0 M
6.Now SD card will be partitioned & formatted
7.Reboot your phone
8.Open Link2SD & choose the second partition of your SD card as EXT3
9.Reboot your Phone
10.Now start linking all your apps to the SD card & free up internal memory & you will be able to installl many apps now
Here's a video
https://www.youtube.com/watch?v=zEtSyLwUTCw
1. root your phone
2. use link2sd(from playstore) to move apps to SD-card
internal memory full ?
well if ur internal memory is full , ransfer your apps to sd card via
1) link2sd
or the best is
2) TITANIUM BACKUP PRO
Take a backup of the apps that are installed on your phone. Search in google play for those apps which provide backup. Plug your phone to the computer and copy each and every file because you are going to format your SD card to increase the storage. If your device is not rooted, you have to then root it first. Search on XDA for rooting guides. Make sure you have ClockWorkMod recovery file is on SD card.Then after that follow the following steps:
1. Install Link2Sd app
2. Reboot your phone and goto recovery mode
3. Install ClockWorkMod
4. Clear Cache
5. Mount Everything that can be mounted
6. Goto Advanced > Partition SD Card
7. Choose below 1024MB as it causes some issues
8. Set Swap size to 0MB
9. After doing, reboot your phone.
10. Goto Link2sd and select recreate mount scripts and it will automatically reboot your phone.
Now you can get more internal storage. You can now restore your backup that you have made in computer back to the phone.
P.S. I am not responsible for any damage that occurs to your phone or SD card. I just provided a solution.
Sent from my GT-S5360 using xda app-developers app

[FIX] Ext-SD Write Support for 2.0 (Lollipop)

Note this has only been tested on the US WiFi version (Should work for all WiFi Only versions.)
I am not responsible if anything goes wrong.
Pre-Requisites: (Unlocked bootloader)
Custom Recovery (Tested with CWM)
Running 2.0 (Lollipop)
Instructions (Unlocked bootloader)
Download SDFix.zip below to tablet
Flash via Custom Recovery
Profit
Pre-Requisites: (Locked bootloader)
Root
Running 2.0 (Lollipop)
Access to terminal (either adb shell or app).
Instructions (Locked bootloader)
Download platform.xml.zip below and unzip
Copy platform.xml to internal storage
Run:
Code:
su
mount -o rw,remount /system
mv /sdcard/platform.xml /system/etc/permissions/platform.xml
chmod 0644 /system/etc/permissions/platform.xml
Reboot
Profit
diff from stock?
edit: nevermind - it appears to be the same as the kitkat fix. (adding media_rw to WRITE_EXTERNAL_STORAGE)
garyd9 said:
diff from stock?
edit: nevermind - it appears to be the same as the kitkat fix. (adding media_rw to WRITE_EXTERNAL_STORAGE)
Click to expand...
Click to collapse
That's exactly what it is. I just thought it might not be a bad idea to zip it for convenience.
another way if already rooted, install Folder Mount (https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en) which is very useful in it's own right. When ran for the first time it'll detect that the SD Card is not writeable, it'll offer to fix it. Choose to do so, reboot, and presto!!
Carlos
Chaleman said:
another way if already rooted, install Folder Mount (https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en) which is very useful in it's own right. When ran for the first time it'll detect that the SD Card is not writeable, it'll offer to fix it. Choose to do so, reboot, and presto!!
Carlos
Click to expand...
Click to collapse
Confirmed that this works on my LTE US. :good:
Chaleman said:
another way if already rooted, install Folder Mount (https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en) which is very useful in it's own right. When ran for the first time it'll detect that the SD Card is not writeable, it'll offer to fix it. Choose to do so, reboot, and presto!!
Carlos
Click to expand...
Click to collapse
I was coming here just to say that. I installed one of the KitKat SD fix apps that do the same thing and it said it was already fixed. I'm glad since before I used the xposed module to fix SD support.
guys,
does it fix TitaniumBackup backups protection?
Read here, probably the PIE is the reson:
http://www.reddit.com/r/Nexus5/comments/2jpalf/for_those_facing_troubles_with_root_apps_in/
EDIT: I found 1) each time I exit the CWM I'm asked to fix SuperUser, 2) Can't mount sdcard1/install zip from sdcard1
Is it normal?
eSbek said:
guys,
does it fix TitaniumBackup backups protection?
Read here, probably the PIE is the reson:
http://www.reddit.com/r/Nexus5/comments/2jpalf/for_those_facing_troubles_with_root_apps_in/
EDIT: I found 1) each time I exit the CWM I'm asked to fix SuperUser, 2) Can't mount sdcard1/install zip from sdcard1
Is it normal?
Click to expand...
Click to collapse
Make sure the external SDCard is formatted in Fat32...
Carlos
Before I start copying all these GB's that I have o my 128GB card, what about the FAT32 limitations - cards above 32GB cannot be format with windows, but it's still possible with a dedicated software. I wonder if I can use FAT32 in this case
eSbek said:
Before I start copying all these GB's that I have o my 128GB card, what about the FAT32 limitations - cards above 32GB cannot be format with windows, but it's still possible with a dedicated software. I wonder if I can use FAT32 in this case
Click to expand...
Click to collapse
The only limitation that I know of is that you can't file a single file more than 4GB in size...
Carlos
did this (both methods). Both didn't work. So rebooted.
Now I am sitting with a tablet that fc's at least 15 apps.
Even TB backup fc's.
Damned!!!!!!!
Edit have continuous fc's of nearly all apps.
Factory reset.....
I was thinking that I've messed up something with my tab and then founded this fix! Ohgod I'm breathing again.
Thanks man
After factory reset all went ok.
2 hours later I was up and running again and now the foldermount app did it's work correctly.
TB can write so problems are solved.
Snah001 said:
After factory reset all went ok.
2 hours later I was up and running again and now the foldermount app did it's work correctly.
TB can write so problems are solved.
Click to expand...
Click to collapse
I formatted the card to FAT32, now can see it in CWM, but still can't protect the backups (although I can write to card by TB like before when I was on exFat).
Is it normal that CWM asks to fix the root on each exit?
Yes, CWM will do that always.
When you don't choose it it will not loose root.
alguna respuesta para el galaxy s5 con 5.0 lollipop?
Ya probé con la sd fix card y me sigue mandando error. Ayuda porfavor
Chaleman said:
another way if already rooted, install Folder Mount (https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en) which is very useful in it's own right. When ran for the first time it'll detect that the SD Card is not writeable, it'll offer to fix it. Choose to do so, reboot, and presto!!
Carlos
Click to expand...
Click to collapse
This worked for me! Excellent thank you ☺
Manually Edited Permissions
I actually found this thread after I solved things, but....
I have a 64GB Micros-SD formatted FAT32. Ran into the problem that Android won't let apps modify files on an external card. (All I wanted to do was to keep my Moon + Reader library there....lots of books!)
Instead of using an app, I modified the permissions file according to this article: http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
Rebooted and all is well.
I am one of those people that tends to be very minimalist about the apps/games that I install, but heavy on the data. One reader, but lots of books.
Just wanted to put this out there as an alternative.
koop1955 said:
I actually found this thread after I solved things, but....
I have a 64GB Micros-SD formatted FAT32. Ran into the problem that Android won't let apps modify files on an external card. (All I wanted to do was to keep my Moon + Reader library there....lots of books!)
Instead of using an app, I modified the permissions file according to this article: http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
Rebooted and all is well.
I am one of those people that tends to be very minimalist about the apps/games that I install, but heavy on the data. One reader, but lots of books.
Just wanted to put this out there as an alternative.
Click to expand...
Click to collapse
The apps mentioned do not need to remain on the device. The apps (or the routine in folder mount) make the change you linked to automatically. Once run the change is made and you can uninstall.
With the apps you don't have to worry about a typo or other issue.
HELP!
i tried this fix and its picking up my Ext-SD card and everything alright, but now Recovery is unable to mount /data
EDIT: i fixed the ext-sd support with the Folder Mount App if thats any help

Foldermount and Link2sd compatability

Hi, I'm not an expert about mods on phone but I try it..
I have got my Note4 in signature with root access and E-motion kernel r26 installed into phone. The firmware is the stock one "DPH1".
1)
I installed Link2Sd and I followed the guidelines for partitions (ext2, etc.) to install apps to sd.
Today I've installed Foldermount app to move Whatsapp in extsd and this app has formatted my ext partition with deleting of my apps.
Therefore can't Link2sd and Foldermount operate together?
2)
How can I know my sd class? I tried through Sd tools but when you want test the sd card you get an error writing buffer.
Thanks for your helps..
Sent from Note 4 device - Rome - Italy

Categories

Resources