You are welcome.Agh finally made it work, thanks to @kh34d to the instructions, i have a Huawei G play tho, i tought wouldnt work with other devices that arent xperia xD
If I helped please press [emoji106]
You are welcome.Agh finally made it work, thanks to @kh34d to the instructions, i have a Huawei G play tho, i tought wouldnt work with other devices that arent xperia xD
HiI have 3 partitions on my card. all primary. 1st one to use as storage. 2nd for link2sd. 3rd for swap. i made the script using app2sd. Marshmallow shows 2nd partition as corrupt. and 1st partition is working fine. but as 2nd partition on marshmallow is detected as internal and due to script it is shown as corrupt therefor i can't use app that work with internal storage like camera.
Did you try to do a soft reboot? This fixes the corrupt message for me
Hi
This is my review of using Apps2sd with marshmallow, Try it may be help you.
http://xdaforums.com/showthread.php?t=3315986
Yes why not.no it didn't...
i am on dirty unicorns.
---------- Post added at 10:38 PM ---------- Previous post was at 10:30 PM ----------
will it work with android one???
Yes why not.
Stable super su doesn't work with marshmallow with any device as I know.
In my review you will find special version of SuperSU with permissive mode and fellow other steps.
But you must have custom kernel frist, search for it in your device section.
You can explorer your 2nd partition as I know .i followed you tutorial its all good and working. but i dont want my os to recognise 2nd partition as internal. in that way my internal storage will be small for like camera pics, and other apps data.
You can explorer your 2nd partition as I know .
Do you mean you want to save some files on 2nd partition also otherwise linking apps?
Can you make 3rd partition or use another big sd card?no i dont want to save any other files on 2nd partition other than linking. but my os use 2nd partition as internal storage in explorer. if i use any application like camera and click some photographs they are saved on 2nd partition bcoz it is used as internal storage by os.
Use memory card as internal memory in Marshmallow (warning: it will format your memory card so prepare a backup of your data). Better than link2sd but a drawback that you cannot remove sd card and use it on another mobile and also custom recovery cannot mount your memory card
I dont have scripts too, its a simple echo script I created x)
Perhaps I will try it again with apps2sd , I did try it some time ago (without the universal init d) and it didnt change anything for me
---------- Post added at 10:37 PM ---------- Previous post was at 10:07 PM ----------
Tried again after installing apps2sd again, now universal init.d says kernel supports it and partition gets mounted on first boot (still annoying that android always tells me my sdcard would be defective).
I had to change a setting in supersu (apps2sd gave me that hint, in apps2sd i also checked use vold stuff dont know if this matters).
Thanks for helping even if I still dont know what exactly the problem was
Btw link2sd still cant create scripts but the apps2sd script is still running and does it job
Wait a minute... Yeah! Why should we sort the puzzle of making Link2SD work on MM if we have app2sd which already works on 6.0 and most important, it's been taken care of it's dev?... besides, the app is not that bad at all: Free version has features not even found on the Link2SD Plus version... I think I have the OS downgrade idea discarded
PS: if needed, I'll try Universal init.d
Sent from my XT1563 using XDA Free mobile app
Use memory card as internal memory in Marshmallow (warning: it will format your memory card so prepare a backup of your data). Better than link2sd but a drawback that you cannot remove sd card and use it on another mobile and also custom recovery cannot mount your memory card
Yes, Apps2SD.
thank you for the reply , I will try out in the couple of hours
root@: / # [B]cd /dev/block/vold[/B]
root@: /dev/block/vold # [B]ls[/B]
disk:179_16 public:179_17 [B]public:179_18[/B]
root@: /dev/block/vold #
root@: /dev/block/vold # [B]ln -s "public:179_18" "179:18"[/B]
root@: /dev/block/vold # [B]ls -l "179:18"[/B]
lrwxrwxrwx 1 root root 13 Feb 19 11:11 [B]179:18 -> public:179_18[/B]
I tried your quoted method while having the partition unmounted. This sort of worked, meaning that link2sd could create the mount script.
BUT: after rebooting the device was not found by link2sd again and it was mounted again and the created link inis gone...Code:/dev/block/vold/
Any idea?! Could this be a ROM issue (@LuK1337), meaning that is there a way to prevent the secon partition to be mounted?
root@:/ # [B]cd /system/etc/init.d[/B]
root@:/system/etc/init.d # [B]ls -l *link2sd*[/B]
-rwxr-xr-x 1 root shell 341 Feb 20 13:24 [B]11link2sd[/B]
root@:/system/etc/init.d # [B]cat 11link2sd[/B]
#!/system/bin/sh
#added by link2sd
[B]LOG=/data/link2sd-11link2sd.log[/B]
set +e
echo "$(date) mounting..." > $LOG
sleep 4
mount -t ext4 -o rw /dev/block/vold/[COLOR="Red"]179:18[/COLOR] /data/sdext2 1>>$LOG 2>>$LOG
mount -t ext4 -o rw /dev/block/mmcblk1p2 /data/sdext2 1>>$LOG 2>>$LOG
mount >> $LOG
echo "$(date) mount finished" >> $LOG
chmod 773 /data/dalvik-cache
root@:/system/etc/init.d # [B]cd /data[/B]
root@:/data # ls -l *link2sd*log
-rw-r--r-- 1 root root 1550 Feb 20 14:01 link2sd-11link2sd.log
-rw------- 1 root root 1644 Feb 20 14:01 link2sd-debuggerd.log
root@:/data #
root@:/data # [B]cat *link2sd*log[/B]
root@:/data # [B]mount[/B]
rootfs on / type rootfs (ro,seclabel,relatime)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,seclabel,relatime)
none on /sys/fs/cgroup type tmpfs (rw,seclabel,relatime,mode=750,gid=1000)
none on /sys/fs/cgroup/bfqio type cgroup (rw,relatime,bfqio)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
/dev/fuse on /mnt/runtime/default/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/read/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/write/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/block/vold/public:179_17 on /mnt/media_rw/AEAA-E0A8 type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/fuse on /mnt/runtime/default/AEAA-E0A8 type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/read/AEAA-E0A8 type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/write/AEAA-E0A8 type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/block/mmcblk0p20 on /system type ext4 (ro,seclabel,relatime,user_xattr,barrier=1,data=ordered)
/dev/block/mmcblk0p3 on /efs type ext4 (rw,seclabel,nosuid,nodev,noatime,user_xattr,barrier=1,journal_async_commit,data=ordered)
/dev/block/mmcblk0p19 on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,errors=panic,user_xattr,barrier=1,journal_async_commit,data=ordered)
/dev/block/mmcblk0p21 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,errors=panic,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc)
[B]/dev/block/mmcblk1p2 on /data/sdext2 type ext4 (rw,seclabel,relatime,user_xattr,barrier=1,data=ordered)[/B]
tmpfs on /storage type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
/dev/fuse on /storage/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/AEAA-E0A8 type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
It couldn't create a mount script as link2sd can not after trying the soft link method.
# [B]ls -ld /data/sdext2[/B]
drwxrwx--x 8 system system 4096 Feb 18 12:14 /data/sdext2
# [B]mkdir /data/sdext2[/B]
# [B]mount /dev/block/vold/public:179_66 /data/sdext2[/B]
# [B]df /dev/block/vold/public:179_66[/B]
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/vold/public:179_66 19094236 199648 18894588 2% /data/sdext2
# [B]blkid /dev/block/vold/public:179_66[/B]
/dev/block/vold/public:179_18: LABEL="sdext2" UUID="c43e94f4-ac54-400c-8ed1-5f5ef3bd5e10" [B]TYPE="ext4"[/B]
# [B]mount -t ext4 /dev/block/vold/public:179_66 /data/sdext2[/B]