Clockworkmod recovery for your Samsung Galaxy Grand 2 (SM-G7102)
Download:
CWM-Beta https://mega.co.nz/#!dUA2EDhK!98vjETqDr2h4eoi0g-cuAbmS9cLTfqJVfwp6sYXv63s
CWM for NG4 (4.4) https://mega.co.nz/#!UR5j1AAQ!RHCy_MudMz48TJ3S1-jkfVQgeUDUBr-Io-sIBhG5EOc ----- Mirror
Odin http://shabbypenguin.com/?developer=Tools
1) Install whatever drivers make you happy and make your device connect (i would suggest samsung ones).
2) Reboot your device in download mode you can use adb reboot download or the hardware key combo for your device.
3) Load up Odin and uncheck auto-reboot.
4) Click PDA and select the CWM tar you downloaded.
5) Connect your device in download mode.
6) Click start.
7) When its finished disconnect your device, pull the battery out.
8) Reinsert the battery and use the hardware keys for your device to power directly into recovery mode (this will bypass install-recovery.sh if you are stock).
9) Enjoy having a custom recovery.
To root simply grab this zip file http://download.chainfire.eu/supersu copy it to your device and flash it in recovery. Reboto and load up supersu, have it disable knox then reboot into recovery and reflash supersu and youll be rooted.
if you like my work and wish to donate you can do so here
Special thanks to those who donate:
b0rni67
Thanks to balliboxer for testing
Source: https://github.com/OUDhs/android_device_samsung_ms013g
XDA:DevDB Information
Unofficial-CWM-6.0.4.9, Kernel for the Samsung Galaxy Grand 2
Contributors
shabbypenguin
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: Final
Beta Release Date: 2014-06-25
Created 2014-06-25
Last Updated 2014-07-21
do u think this line can solve the issue ?
Code:
/dev/block/mmcblk1p1 /sdcard vfat nosuid,nodev,barrier=1,data=ordered,nodelalloc wait
rutvikrvr said:
do u think this line can solve the issue ?
Code:
/dev/block/mmcblk1p1 /sdcard vfat nosuid,nodev,barrier=1,data=ordered,nodelalloc wait
Click to expand...
Click to collapse
That's all right.. I have the partition file from grand 2.. And it is proper..
Sent from my GT-I9082 using Tapatalk Pro.
It doesnt have the option to flash from sdcard? @shabbypenguin @rutvikrvr
Sent from my SM-G7102 using XDA Premium 4 mobile app
keshavt said:
It doesnt have the option to flash from sdcard? @shabbypenguin @rutvikrvr
Sent from my SM-G7102 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
From external SD card .. No ... As of now ... He will fix it soon
Sent from my GT-I9082 using XDA Free mobile app
thanks a lot brother.....
Code:
/devices/msm_sdcc.2/mmc_host/mmc1/ /external_sd vfat default voldmanaged=sdcard:auto
@shabbypenguin bro can u add this line for external sd card i think this may work i'm 90% sure
Because i have galaxy tab 2 in which the location ext-sdcard is in /storage/extsdcard but in recovery it is set as /external_sd
aapav01 said:
Code:
/devices/msm_sdcc.2/mmc_host/mmc1/ /external_sd vfat default voldmanaged=sdcard:auto
@shabbypenguin bro can u add this line for external sd card i think this may work i'm 90% sure
Because i have galaxy tab 2 in which the location ext-sdcard is in /storage/extsdcard but in recovery it is set as /external_sd
Click to expand...
Click to collapse
Based off your previous information that turned out to be a lie im not exactly too eager to reboot my computer back to linux to restart and make a new image for this.
https://github.com/OUDhs/android_device_samsung_ms013g/blob/cm-11.0/rootdir/etc/fstab.qcom#L16 edit that line, compile recovery for anyone that cares enough. if i get a good lead on how to fix it or decide i want to try bashing my brains in again with more testing then ill compile some more, but at this time the answer is no .
shabbypenguin said:
Based off your previous information that turned out to be a lie im not exactly too eager to reboot my computer back to linux to restart and make a new image for this.
Click to expand...
Click to collapse
I'm sorry , i was just trying to help and /device partition is not visible or access able when device is booted
and balibaoxer have check the this line
Code:
adb shell "ls -l /dev/block/platform/msm_sdcc.2/mmc_host"
adb shell "ls -l /dev/block/platform/msm_sdcc.2/mmc_host/mmc1"
and i said
Code:
/devices/msm_sdcc.2/mmc_host/mmc1/ /storage/extSdCard vfat defaults voldmanaged=sdcard:auto
but
I am Sorry
CWM recovery Recognizes External SdCard at mount point /external_sd
Code:
/devices/msm_sdcc.2/mmc_host/mmc1 /external_sd vfat defaults voldmanaged=sdcard:auto
in i was not telling any lies see the file in attachment >>>> that is file from stock recovery plz do see it
I made a backup and it appears within the CWM but I can not find it even with Root Browser, in "/ sdcard / clockworkmod / backup" ... The space was used but not sdcard files against BKP ...
Edit...
I found the backup in: "mnt/shell/emulated/clockworkmod/backup" but in CWM is displayed as "/sdcard/clockworkmod/backup"...
Added touch
Should fix the whole backups not put where they should go (needs testing)
and i used your exact line @aapav01
https://mega.co.nz/#!lYQkFCyT!tVGuwAnwME71sPDwjmBs733vOfwI3D3HFhttwKVi4JA
shabbypenguin said:
Added touch
Should fix the whole backups not put where they should go (needs testing)
and i used your exact line @aapav01
https://mega.co.nz/#!lYQkFCyT!tVGuwAnwME71sPDwjmBs733vOfwI3D3HFhttwKVi4JA
Click to expand...
Click to collapse
I sorry Bro. .. this time external sdcard show but it was not mount ing
Code:
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
I:Cannot load volume /misc.
E:touch_calibrate: EVIOCGABS failed
I:Cannot load volume /misc.
I:Volume /external_sd is not idle, current state is 0
E:Can't mount sdcard
I:Cannot load volume /misc.
I:Volume /external_sd is not idle, current state is 0
E:Can't mount /external_sd
I:Cannot load volume /misc.
I:Can't partition non-vfat: /external_sd (vfat)
I:using /data/media/0 for /sdcard.
https://mega.co.nz/#!EJpwwISI!Siwz6J9pknhnoIzJgAIGDd-qlLJ_KxVZhXaNjWuNqHw
is touch working?
shabbypenguin said:
https://mega.co.nz/#!EJpwwISI!Siwz6J9pknhnoIzJgAIGDd-qlLJ_KxVZhXaNjWuNqHw
is touch working?
Click to expand...
Click to collapse
Yeah it started working
Code:
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
I:Cannot load volume /misc.
I:Volume /external_sd is not idle, current state is 0
E:Can't mount /external_sd
I:Cannot load volume /misc.
I:Can't partition non mmcblk device: /devices/msm_sdcc.2/mmc_host/mmc1
I:Cannot load volume /misc.
I:Can't partition non mmcblk device: /devices/msm_sdcc.2/mmc_host/mmc1
I:using /data/media/0 for /sdcard.
JUST say like this like this only at the end of mmc1 add / may work just say like ...
https://mega.co.nz/#!MU4XFQhC!iBSbbzonpVVZb9SEdSjxznj_Jic715ozg2HTAOmLIrk
Shabby bro have u tried to do folder mount.?
vipulm15 said:
Shabby bro have u tried to do folder mount.?
Click to expand...
Click to collapse
i have no idea what you mean.
CWM recovery is here at last. Can we expect a full-featured custom rom soon? Something close to CM?
shabbypenguin said:
https://mega.co.nz/#!MU4XFQhC!iBSbbzonpVVZb9SEdSjxznj_Jic715ozg2HTAOmLIrk
Click to expand...
Click to collapse
Code:
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
I:Cannot load volume /misc.
E:touch_calibrate: EVIOCGABS failed
I:Volume /external_sd is not idle, current state is 0
E:Can't mount /external_sd
I:Cannot load volume /misc.
I:using /data/media/0 for /sdcard.
?
can someone pm me the /system/etc folder? just copy it and zip it up and send it to me please
Related
I'm using a Lg P500, modifed the rom with a Void mod then I tries to install a batterymod desing using the normal menu by the mod after I restart the smartphone and then it is block on
Code:
void.
loading modules
what should i do?
dartfira said:
I'm using a Lg P500, modifed the rom with a Void mod then I tries to install a batterymod desing using the normal menu by the mod after I restart the smartphone and then it is block on
Code:
void.
loading modules
what should i do?
Click to expand...
Click to collapse
Do nand restore, because you definitely made that.
If not, just go to custom recovery go in Mounts and make sure that /system and /sdcard are mounted
install Android SDK, make update (make sure, that you select adb tool to install).
Click on Start, run cmd and go to <SDK>/platform-tools/. Than write in cmd:
Code:
[B]adb shell[/B]
[I]//if you have original look[/I]
[B]cp /sdcard/void/resources/dv/framework-res.apk /system/framework/[/B]
[I]//if you have gigngerbread look[/I]
[B]cp /sdcard/void/resources/gb/framework-res.apk /system/framework/[/B]
[B]reboot[/B]
Phone will than will be restarted and bootup correctly.
If I tries only
$ cp /sdcard/void/resources/dv/framework-res.apk /system/framework/
cp: can't stat '/sdcard/void/resources/dv/framework-res.apk': Permission denied
When i tries to do SU in adb shell it says
[1] Segmentation fault su
Thanks for your answer
dartfira said:
If I tries only
$ cp /sdcard/void/resources/dv/framework-res.apk /system/framework/
cp: can't stat '/sdcard/void/resources/dv/framework-res.apk': Permission denied
Click to expand...
Click to collapse
Are you have sdcard and system mounted? I'm not sure just now because I can't check it, but I thing that you haven't mounted sdcard. Check if in mount menu is on both sdcard and system written "mounted"
When i tries to do SU in adb shell it says
[1] Segmentation fault su
Click to expand...
Click to collapse
It's normal becouse you are already sudo.
Sent from my LG-P500 using XDA App
My Mount section
- Mount /system
- Mount /cache
- Mount /data
- Mount /sd-ext
- Mount /sdcard
So i've all mount?
dartfira said:
My Mount section
- Mount /system
- Mount /cache
- Mount /data
- Mount /sd-ext
- Mount /sdcard
So i've all mount?
Click to expand...
Click to collapse
Well, if you have
- Mount /system
then it is umounted. If you have
- Unmount /system
then it is mounted.
So you should see:
- unmount /system
- whatever
- whatever
- whatever
- unmount /sdcard
then it should work...
Ok it works thank you.
=================== GOOD NEWS ================
Thanks to GORO and Z we have a solution
tkymgr said:
Hi,
because link2sd rearranges install-recovery.sh
I made a patch for patch for using link2sd
for CM7-Z-MOD-002
for SE 2.3.3 sample
Z's work contributes to all.
Thanks for Z !!
Cheers,
tkymgr
Click to expand...
Click to collapse
Step by step guide
http://forum.xda-developers.com/showpost.php?p=16853029&postcount=39
thanks to waigsr
for those looking to see the technical aspects of it.
SE sample zip contains a vold replacement from cm7 which actually do the magic of making sure that first partition gets mounted.
Note : as Link2SD messes with install-recovery.sh its adviced that after flashing this zip port any specific tweak you have in install-recovery.sh over to install-recovery2.sh in the same folder.
and then run link2SD
Hope this helps.
-============== Keeping old study for later reference and memories only ==============
I have been messing around with Link2SD and its config here is a short writeup for those who want to help.
The basic problem
Link2SD looks for a partition no of /sdcard +1 partition
Android has a habbit of mounting the last partition as /sdcard
so link2sd is going to fail in all senses.
however if anything is mounting at /data/sdext2 Link2sd condsider it as a second partition
so we still have hope of using it however there are several limitations of it.
multiple ways in which link2sd could be used.
1) create 2 partitions on sdcard
a) ext2 partition as mmcblk0p1
b) vfat partition as mmcblk0p2
entry in install-recovery.sh
mount -t ext2 /dev/block/mmcblk0p1 /data/sdext2
Cons : xrecovery can't mount sdcard as its mmcblk0p1 that xrecovery mounts
2) create 2 vfat partitions
a) mmcblk0p1 mounting itself at /data/sdext2
b) mmcblk0p2 mounting itself as /sdcard
cons recovery related files will go in /data/sdext2
3) three partition layout
a) mmcblk0p1 -> reserverd for recovery related stuff
b) mmcblk0p2 -> link2sd
c) mmcblk0p3 -> SDCARD
or find an alternative to use mmcblk0p1 as /sdcard
or use a loop file as /data/sdext2
Do suggest what you all think and how should we proceed.
-=======reserved==========
and u sure this doesnt break recovery?
ok now that i read the post carefully i understand that it WILL BREAK recovery
DooMLoRD said:
and u sure this doesnt break recovery?
ok now that i read the post carefully i understand that it WILL BREAK recovery
Click to expand...
Click to collapse
cons highlighted to avoid confusion.
any idea how we can get this piece to work.
BTW why do we need it when we have app2sd ?
How's it better ?
anantshri said:
cons highlighted to avoid confusion.
any idea how we can get this piece to work.
Click to expand...
Click to collapse
keep only one FAT32 partition...
modify the recovery ramdisk to mount that partition to /sdcard
DooMLoRD said:
keep only one FAT32 partition...
modify the recovery ramdisk to mount that partition to /sdcard
Click to expand...
Click to collapse
that could be done
however there is one more issue which i found just now
SDCARD can't be mounted to PC till both partitions are umounted and that won't be done automatically so we need alternative for sdcard umounting also
something like a gscript code for umounting /data/sdext2 before attempting sdcard mount to pc
the new vold introduced in froyo causes this issue
Adolf1994 said:
the new vold introduced in froyo causes this issue
Click to expand...
Click to collapse
the default vold.fstab listing is
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host/mmc0 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.4/mmc_host/mmc0 /devices/platform/msm_sdcc.4/mmc_host/mmc1
some stuff online suggests that i can specify a partition number manually.
however
Code:
dev_mount sdcard /mnt/sdcard [B]1[/B] /devices/platform/msm_sdcc.1/mmc_host/mmc0 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.4/mmc_host/mmc0 /devices/platform/msm_sdcc.4/mmc_host/mmc1
when i am trying this it barks out and not even mounts sdcard.
With the sdcard parted in 3 partitions, I tried to make the third partition recognized by my pc, and I tried an application named multimount sd or something like that and it worked for me. You can found it in the market. With it, the pc can recognize the third partition not the first. Maybe that will help in your project.
Sent from my X10i
i meant the vold binary/system, not the fstab config
Adolf1994 said:
i meant the vold binary/system, not the fstab config
Click to expand...
Click to collapse
can you point me to the correct code for this.
fat32 is first partition
ext2 is second partition
vold.fstab
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host/mmc0 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.4/mmc_host/mmc1
this will mount fat32 partition
dev_mount ext2 /mnt/sdcard 1 or 2 /devices/platform/msm_sdcc.1/mmc_host/mmc0 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.4/mmc_host/mmc1
should mount ext2 for link2sd
the vold from 2.1 works well as you can see and if you'd have googled it, then you'd know there is a revised version of vold in 2.2+
How about instead bind mounting a folder on /system as /data/sdext2 did this for ages on 2.1 to get more space for apps without probs. Obviously /system has to be mounted rw which isn't a prob for me and at least on stock there's loads of free space there which is a shame to waste.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
mount -o bind /system/app2 /data/sdext2
Think the folders need to be created first.
patch for using link2sd
Hi,
because link2sd rearranges install-recovery.sh
I made a patch for patch for using link2sd
for CM7-Z-MOD-002
for SE 2.3.3 sample
Z's work contributes to all.
Thanks for Z !!
Cheers,
tkymgr
aZuZu said:
fat32 is first partition
ext2 is second partition
vold.fstab
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host/mmc0 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.4/mmc_host/mmc1
this will mount fat32 partition
dev_mount ext2 /mnt/sdcard 1 or 2 /devices/platform/msm_sdcc.1/mmc_host/mmc0 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.4/mmc_host/mmc1
should mount ext2 for link2sd
Click to expand...
Click to collapse
I also assumed something like this however android seems to be needing a last partition as vfat and that vfat is mounted as sdcard or nothing is mounted.
shaunbu said:
How about instead bind mounting a folder on /system as /data/sdext2 did this for ages on 2.1 to get more space for apps without probs. Obviously /system has to be mounted rw which isn't a prob for me and at least on stock there's loads of free space there which is a shame to waste.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
mount -o bind /system/app2 /data/sdext2
Think the folders need to be created first.
Click to expand...
Click to collapse
for you i recommand checking http://forum.xda-developers.com/showthread.php?t=1206149 and also system being rw all the time is not at all a good idea.
tkymgr said:
Hi,
because link2sd rearranges install-recovery.sh
I made a patch for patch for using link2sd
for CM7-Z-MOD-002
for SE 2.3.3 sample
Z's work contributes to all.
Thanks for Z !!
Cheers,
tkymgr
Click to expand...
Click to collapse
Thanks buddy will check it as soon as possible ...rightnow my sdcard is not mounting nomatter what setting i do thinking of flashing CM7 and will see how it goes from there.
Note : just checked the zip i think SE stock needed a relacement at vold. will just flash the vold and see if it works.
tkymgr said:
Hi,
because link2sd rearranges install-recovery.sh
I made a patch for patch for using link2sd
for CM7-Z-MOD-002
for SE 2.3.3 sample
Z's work contributes to all.
Thanks for Z !!
Cheers,
tkymgr
Click to expand...
Click to collapse
Thanks buddy. I can confirm the SE 2.3.3 sample zip worked. I flashed the zip, turned off my x10, partitioned the sd on my pc using fat32 & ext32, powered on and DID NOT get previous error of sd not recognized on startup. It mounted fat32 partition and link2sd recognized ext2 partition right away. Selected ext type, rebooted again and I've moved apps that I wanted to the sd card. Rebooted a couple more times and apps are still linked and running fine. Time will tell if any apps will have issues or any tweaks on this rom will be affected. Using WBs v3.9 custom GB and I'll report again later.
Again thank you to everyone's efforts and for not giving up on this old feature.
Edit: Forgot to mention I can still enter xrecovery manually and using the xperia reboot app.
tkymgr said:
Hi,
because link2sd rearranges install-recovery.sh
I made a patch for patch for using link2sd
for CM7-Z-MOD-002
for SE 2.3.3 sample
Z's work contributes to all.
Thanks for Z !!
Cheers,
tkymgr
Click to expand...
Click to collapse
confirmed working
Post updated with details......
Please, note, that everything you had previously added to install-recovery.sh, is now renamed into install-recovery.sh.ori. So, if you want it back, working, you need to rename/copy to install-recovery2.sh
CM10 recent install from CM9, which was Encrypted for work email.
Read that you can just format the partition and it will install new roms fine.
Within CM10 I can see /ExtSDCard/ and but /SDCard/ aka /emmc/ in CWM wont mount.
Going further down into CWM, emmc wont mount so it looks like it has installed the rom fine as it boots without a physical SD Card inserted? When trying to mount /emmc/ the log shows the following error "Failed to mount /dev/block.mmcblk0p11" which I assume is related.
I would like to mount and format the previously encrypted internal storage, so It could be used as /sdcard/ in CM10 so apps like Camera would work.
Thanks
Edit: Fixed English
Edit: Ok so I have worked out its /dev/block/mmcblk0p11 - cant format it ext4 then mount it using "mount -t ext4 /dev/block/mmcblk0p11 /emmc" but all the 'scheduled' tasks still think its vfat, so as a work around ill just format it as vfat.
This should be easy.... right?
busybox mkfs.vfat /dev/block/mmcblk0p11
Error:
mkfs.vfat: lseek: Value too large for defined data type
Ugh. Help me format this as vfat please
Fixed!:
Had to push a new version of busybox, which allowed vfat over 1gb.
Thanks me!
Hi!
When I go to the advanced -> show logs in our freshly ported cwm, it says:
Can't format unknown volume: /external sd
Can't format unknown volume: /mmc
What can cause these errors? I think it's just a small thing. Please help! :fingers-crossed:
sNaiL094 said:
Hi!
When I go to the advanced -> show logs in our freshly ported cwm, it says:
Can't format unknown volume: /external sd
Can't format unknown volume: /mmc
What can cause these errors? I think it's just a small thing. Please help! :fingers-crossed:
Click to expand...
Click to collapse
As far as i can tell this is a tiny fstab issue in here
https://bitbucket.org/Astrali/devic...6b399ffcc2f1728ae534/recovery.fstab?at=master
there is no entry for external SD
neither there is one for mmc
But this should not affect a backup/install of system boot recovery userdata cache or anything other you might need to flash a rom.
i got a failure message in my recovery about missing external_sd aswell on my Faea F2S
on my Faea F1 i fixed this by adding this line to recovery.fstab:
/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
which is same line as entry for
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
cause /sdcard is my /external_sd
my internal sdcard is this one:
/sdcard1 vfat /dev/block/mmcblk0p20
PLEASE DONT COPY MY ENTRYS TO YOUR FSTAB!
if you dislike the warning in the log you could duplicate the entry of your /sdcard with /external_sd
Greets - Astrali
Hi
my phone is lg k10 android 6.0 and rooted
for me only mounted fat32
when I formatted ext4 microsdcard and insert on phone show message "can't use sd card. tap to set up for use"
when click this message my microsdcard formatted fat32.
How to mount ext4 formatted MicroSD card on Android 6.0?
Thanks
So you need ext4 for symlinking purposes eh?
Anyway , if your device supports ext4 , depends on vendor , you can try to mount it manually
Root is required.
In adb ,
Code:
-adb shell
-su
-df
- cat /proc/partitions
when you know the partition for your external sd ,
Code:
mount -o bind "path to partition" /storage/sdcard1
If this works , you want to add this as a script to run at boot or create a init.d script by your own and give it 0755 permission.
Cheers
-Edit
If it didnt work , try this , it may be a little complicated
https://forum.xda-developers.com/showthread.php?t=2424900
akash14darshan said:
So you need ext4 for symlinking purposes eh?
Anyway , if your device supports ext4 , depends on vendor , you can try to mount it manually
Root is required.
In adb ,
Code:
-adb shell
-su
-df
- cat /proc/partitions
when you know the partition for your external sd ,
Code:
mount -o bind "path to partition" /storage/sdcard1
If this works , you want to add this as a script to run at boot or create a init.d script by your own and give it 0755 permission.
Cheers
-Edit
If it didnt work , try this , it may be a little complicated
https://forum.xda-developers.com/showthread.php?t=2424900
Click to expand...
Click to collapse
I want use exfat because for big files size 4g
but not mount exfat
I want use format exfat Instead fat32
can I or must use custom rom?
123xdagsm said:
I want use exfat because for big files size 4g
but not mount exfat
I want use format exfat Instead fat32
can I or must use custom rom?
Click to expand...
Click to collapse
I need you to be particular with your wordings ..
Do you need ext4 sdcard to be mounted or exfat?
PS:
For File Size larger than 4gb , you can try NTFS , It is supported natively by my device.
Try formatting sdcard as NTFS and then insert into device.
If it shows any problem or doesnt mount , try this
Code:
-su
-ntfs-3g /dev/block/mmcblk1p1 /mnt/sdcard/external_sd
-vold
If this works , try making an init.d script with the above code , to mount sdcard everytime at boot
Cheers
akash14darshan said:
I need you to be particular with your wordings ..
Do you need ext4 sdcard to be mounted or exfat?
PS:
For File Size larger than 4gb , you can try NTFS , It is supported natively by my device.
Try formatting sdcard as NTFS and then insert into device.
If it shows any problem or doesnt mount , try this
Code:
-su
-ntfs-3g /dev/block/mmcblk1p1 /mnt/sdcard/external_sd
-vold
If this works , try making an init.d script with the above code , to mount sdcard everytime at boot
Cheers
Click to expand...
Click to collapse
It does not matter, I just want to support big size file 4g
I format ntfs but not work and type commands show error "
sush: ntfs-3g: not found"
I format ext4 too and test. command
# mount -o bind /dev/block/mmcblk1p1 /storage/sdcard1
and make director /storage/sdcard1 but show error"
mount: Not a directory"
123xdagsm said:
It does not matter, I just want to support big size file 4g
I format ntfs but not work and type commands show error "
sush: ntfs-3g: not found"
I format ext4 too and test. command
# mount -o bind /dev/block/mmcblk1p1 /storage/sdcard1
and make director /storage/sdcard1 but show error"
mount: Not a directory"
Click to expand...
Click to collapse
try this
Code:
-su
-cd /storage/
-mkdir sdcard1
-cd /
-mount -o bind /dev/block/mmcblk1p1 /storage/sdcard1
akash14darshan said:
try this
Code:
-su
-cd /storage/
-mkdir sdcard1
-cd /
-mount -o bind /dev/block/mmcblk1p1 /storage/sdcard1
Click to expand...
Click to collapse
not work show message again
"mount: Not a directory"
I use terminal for commands
I guess due to marshmallow's strict policies , you are not being able to mount NTFS,
I will suggest you to format card as ext4 using EaseUS Partition Manager and then insert sdcard in your device.
Ext4 is natively supported by linux and I dont think it should cause you problems.
Cheers , Pressing that Thanks button wont harm you
I don't know lg k10 android 6.0 not support formats exfat,ntfs,ext4 for micro sdcard.
Does anyone else have a comment to fix the problem?
akash14darshan said:
I guess due to marshmallow's strict policies , you are not being able to mount NTFS,
I will suggest you to format card as ext4 using EaseUS Partition Manager and then insert sdcard in your device.
Ext4 is natively supported by linux and I dont think it should cause you problems.
Cheers , Pressing that Thanks button wont harm you
Click to expand...
Click to collapse
Gonna try this.
akash14darshan said:
So you need ext4 for symlinking purposes eh?
Anyway , if your device supports ext4 , depends on vendor , you can try to mount it manually
Root is required.
In adb ,
Code:
-adb shell
-su
-df
- cat /proc/partitions
when you know the partition for your external sd ,
Code:
mount -o bind "path to partition" /storage/sdcard1
If this works , you want to add this as a script to run at boot or create a init.d script by your own and give it 0755 permission.
Cheers
-Edit
If it didnt work , try this , it may be a little complicated
https://forum.xda-developers.com/showthread.php?t=2424900
Click to expand...
Click to collapse
Would you tell me how to access the adb?
Cheers