[Xperia Z5 Android Development] zegoo:
Hi,

I did everything with .200 LL ftf file and i would with this LL Rom ans why not the best LL Rom for Z5C but i think i have a little or big issue so please guide me, help me ...

I used iovyroot to root just for my TA backup, i have modified the stock kernel from the .200 LL Rom ftf file to get TWRP, RIC Off, dm-verity disabled and for flashing SuperSU to get root after. I have decided to stay with this LL Rom and i tried many things to see if i was really rooted, if i could make modification in /system for example and when i did this different tests, i met some troubles ...

I was able to mount/dismount /system in rw and/or ro ... When i want to take a picture, i made the choice th record on my external sdcard and it does not work ... It worked very xell inside. I went in /etc/permissions/platform.xml to modify the right line:

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>

I can't record on my sdcard1 ! This file has not dissapered but some files i have modified went to dissapear after a reboot :( That's why i don't understand what's going on ! My kernel is done for RIC off and for disabling dm-verity, so it seems it does not work regarding dm-verity.

For example, when i tried to modify default.prop or tweaking with modyfying build.prop, .bak files appeared, modifications seemed to be effectives but when i rebooted the Z5C, the previous/original files are back (from hell, for sure) !!! I think i modifed files in Ram and dm-verity is still working and it saw the modification and replace the modified files ... Weird !

All, i did was done with the rootkernel_v4.31_Windows_Linux version, should i do used the most recent, the beta version ?

Secondly, i don't understand the mounting process of extermal sdcard (sdcard1). What about fuse and mnt ?

I saw two different mount points for my sdcard1, why ? One in RW and one in RO !!!! :eek:

Lets see that:

rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=910752k,nr_inodes=227688,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/memcg cgroup rw,relatime,memory 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=910752k,nr_inodes=227688,mode=750,gid=1000 0 0
none /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=910752k,nr_inodes=227688,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=910752k,nr_inodes=227688,mode=755,gid=1000 0 0
tmpfs /tmp tmpfs rw,seclabel,nosuid,relatime,size=910752k,nr_inodes=227688,mode=755 0 0
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,discard,data=ordered 0 0
/dev/block/bootdevice/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,data=ordered 0 0
/dev/block/bootdevice/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/bootdevice/by-name/modem /firmware vfat ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/bootdevice/by-name/LTALabel /lta-label ext4 ro,context=u:object_r:lta_label:s0,nosuid,nodev,noexec,noatime,data=ordered 0 0
/dev/block/bootdevice/by-name/oem /oem ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/bootdevice/by-name/diag /mnt/idd ext4 rw,seclabel,nosuid,nodev,noexec,noatime,discard,data=ordered 0 0
/dev/block/bootdevice/by-name/apps_log /mnt/rca ext4 rw,seclabel,nosuid,nodev,noexec,noatime,discard,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,size=910752k,nr_inodes=227688,mode=050,gid=1028 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
[B][U]/dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat ro[/U][/B],dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:65 /mnt/secure/asec vfat ro,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[B][U]/dev/fuse /storage/sdcard1 fuse rw[/U][/B],nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0

How could i record some file or picture or everything i want with this 2 differents ways for mounting my external storage ?

Who could explain me where is located the fstab definition and how to modify it ?

Please, what advice for me ?

Thanks.