Startup speedup - Android Software/Hacking General [Developers Only]

Hi,
I've noticed that some apps uses the old "private apk" feature which requires a mountpoint for every app:
Code:
# grep dm- /proc/mounts
/dev/block/dm-0 /mnt/asec/com.melodis.midomiMusicIdentifier-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.wolfram.android.alpha-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-2 /mnt/asec/com.shinycore.picsaypro-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-3 /mnt/asec/com.tfiver.obd2sound-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-4 /mnt/asec/it.itentropy.fswidget-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-5 /mnt/asec/com.teslacoilsw.quicksshd-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-6 /mnt/asec/org.prowl.torque-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
I wrote a script which reinstalles them in the common way, reducing the mountpoint, here is the source:
https://github.com/teknoraver/misc/blob/master/apkmove
after running it on the PC the mountpoints are 0:
Code:
# grep dm- /proc/mounts
#
and the boot is faster

Related

[Q] POV Mobii tablet: apps to /system/app not possible

Hi,
I am trying to copy an apk to /system/app on this tablet, but it does not work as expected.
I do the following, but /system/app remains read-only.
=====================
=============================
c:\Users\gerrit\android-sdk-windows\tools>adb shell
#
# id
id
uid=0(root) gid=0(root)
#
# mount
mount
rootfs / rootfs rw 0 0
/dev/root / cramfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/block/mtdblock4 /system cramfs ro 0 0
/dev/block/mtdblock7 /data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock6 /cache ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock9 /data/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
#
#
# mount -o rw,remount -t cramfs /dev/block/mtdblock4 /system
mount -o rw,remount -t cramfs /dev/block/mtdblock4 /system
#
#
# mount
mount
rootfs / rootfs rw 0 0
/dev/root / cramfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/block/mtdblock4 /system cramfs ro 0 0
/dev/block/mtdblock7 /data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock6 /cache ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock9 /data/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
# exit
exit
c:\Users\gerrit\android-sdk-windows\tools>adb push vending.apk /system/app
failed to copy 'vending.apk' to '/system/app/vending.apk': Read-only file system

[MOD]Boot mod by RickWyatt swap internal for external and init.d

Boot Mod Made By Me
REMEMBER TO BACK UP YOUR ROM FIRST
information
as you all no data/media is linked to /sdcard so with my mod you can swap sdcard for external sdcard so downloads camera pictures and game data all go to extrnal sdcard the phone still shows internal as 10gb and as I use a 16gb card it shows 16gb
as you can see the phone still this storage/sdcard0 is still linked to /sdcard
Code:
[email protected]:/ $ su
/system/bin/sh: su: not found
127|[email protected]:/ $ mu
/system/bin/sh: mu: not found
127|[email protected]:/ $ su
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p3 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p12 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p13 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p16 /data ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/mmcblk0p10 /firmware vfat ro,relatime,fmask=0133,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/block/mmcblk0p11 /tombstones ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/com.rockstar.gta3-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/dm-1 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/vold/179:17 /storage/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[email protected]:/ #
with my mod you get
extSdCard linked to /sdcard and mnt/sdcard
your intrnal sdcard is still linked to storage/sdcard0
init.d is enabled
this is for stock 4.1.2
downloads
uploading now
rickwyatt said:
Boot Mod Made By Me
information
as you all no data/media is linked to /sdcard so with my mod you can swap sdcard for external sdcard so downloads camera pictures and game data all go to extrnal sdcard the phone still shows internal as 10gb and as I use a 16gb card it shows 16gb
as you can see the phone still this storage/sdcard0 is still linked to /sdcard
Code:
[email protected]:/ $ su
/system/bin/sh: su: not found
127|[email protected]:/ $ mu
/system/bin/sh: mu: not found
127|[email protected]:/ $ su
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p3 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p12 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p13 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p16 /data ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/mmcblk0p10 /firmware vfat ro,relatime,fmask=0133,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/block/mmcblk0p11 /tombstones ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/com.rockstar.gta3-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/dm-1 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/vold/179:17 /storage/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[email protected]:/ #
with my mod you get
extSdCard linked to /sdcard and mnt/sdcard
your intrnal sdcard is still linked to storage/sdcard0
init.d is enabled
this is for stock 4.1.2
downloads
uploading now
Click to expand...
Click to collapse
Great! I need extSdCard, go outside 32GB SDCard as internal SDCard
This mod is slightly different top the earlier one I used as the earlier swapped internal for external.
This one is better for my needs. Thanks a lot
swap internal for external and init.d
We flash through CWM ? Am i correct ?
I have problem with photo gallery, after installation, I can not watch pictures. And without SD card I can not use camera.
How to uninstall your mod?
HOW TO INSTALL ??? [MOD]Boot mod by RickWyatt swap internal for external and init.d
rickwyatt said:
boot mod made by me
remember to back up your rom first
information
as you all no data/media is linked to /sdcard so with my mod you can swap sdcard for external sdcard so downloads camera pictures and game data all go to extrnal sdcard the phone still shows internal as 10gb and as i use a 16gb card it shows 16gb
as you can see the phone still this storage/sdcard0 is still linked to /sdcard
Code:
[email protected]:/ $ su
/system/bin/sh: Su: Not found
127|[email protected]:/ $ mu
/system/bin/sh: Mu: Not found
127|[email protected]:/ $ su
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p3 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p12 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p13 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p16 /data ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/mmcblk0p10 /firmware vfat ro,relatime,fmask=0133,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/block/mmcblk0p11 /tombstones ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/com.rockstar.gta3-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/dm-1 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/vold/179:17 /storage/extsdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[email protected]:/ #
with my mod you get
extsdcard linked to /sdcard and mnt/sdcard
your intrnal sdcard is still linked to storage/sdcard0
init.d is enabled
this is for stock 4.1.2
downloads
uploading now
Click to expand...
Click to collapse
how do i install please ???
smaberg said:
This mod is slightly different top the earlier one I used as the earlier swapped internal for external.
This one is better for my needs. Thanks a lot
Click to expand...
Click to collapse
Can this be incorporated into your rom Smaberg? Would be great if it could (assuming the original dev was ok with that)
hi sir!
i like this mod! can you please show to us how did you do this? do we have to modify the kernel or just make an init.d script?
thanks a lost sir!

[Q] Writing to exfat on Nexus 5 with ElementalX kernel

I'm currently using ElementalX kernel with built in exfat/ntfs and Stickmount for mount/unmount support.
I can mount and read files from exfat usb sticks as well as rename and delete. My issue however is when I try to create files. When I copy from internal memory to usb drive I get permission denied errors.
I'm trying to troubleshoot if this is the kernel, or some rom related issue. Would anyone know off hand if this is a limitation of the kernel or suggestions to remedy the issue?
I've already verified it is mounted writable and the phone sees free space
Code:
[email protected]:/storage/sdcard0/usbStorage/sda1 # df | grep sda1
/data/media/0/usbStorage/sda1 58.9G 24.2G 34.7G 131072
[email protected]:/storage/sdcard0/usbStorage/sda1 # mount | grep sda1
/dev/block/sda1 /data/media/0/usbStorage/sda1 exfat rw,nosuid,nodev,relatime,fmask=0000,dmask=0000,allow_utime=0022,iocharset=utf8,namecase=0,errors=remount-ro 0 0
[email protected]:/storage/sdcard0/usbStorage/sda1 # echo "test">/data/media/0/usbStorage/sda1/test.file
sh: can't create /data/media/0/usbStorage/sda1/test.file: Permission denied
1|[email protected]:/storage/sdcard0/usbStorage/sda1 # echo "test">/storage/sdcard0/usbStorage/sda1/test.file
sh: can't create /storage/sdcard0/usbStorage/sda1/test.file: Permission denied
1|[email protected]:/storage/sdcard0/usbStorage/sda1 # echo "test">/storage/emulated/0/usbStorage/sda1/test.file
sh: can't create /storage/emulated/0/usbStorage/sda1/test.file: Permission denied
Plug the USB stick in with exfat. Open a terminal emulator. Type "mount" and press enter.
What's the output? Copy/paste please
Sent from my Nexus 5 using Tapatalk
rootSU said:
Plug the USB stick in with exfat. Open a terminal emulator. Type "mount" and press enter.
What's the output? Copy/paste please
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks for the quick response. I updated original post with more information. Full mount here:
Code:
[email protected]:/storage/sdcard0/usbStorage/sda1 # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 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,mode=750,gid=1000 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /storage tmpfs rw,seclabel,relatime,mode=050,gid=1028 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/dm-0 /mnt/asec/mobi.beyondpod.unlockkey-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.keramidas.TitaniumBackupPro-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-2 /mnt/asec/com.gvoip-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/sda1 /data/media/0/usbStorage/sda1 exfat rw,nosuid,nodev,relatime,fmask=0000,dmask=0000,allow_utime=0022,iocharset=utf8,namecase=0,errors=remount-ro 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,nomblk_io_submit,nodelalloc,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
[email protected]:/storage/sdcard0/usbStorage/sda1 #
I'm using sshdroid for remote terminal to root in. I have also tried using a terminal emulator on the device with the same results so I just stuck with using sshdroid for all my testing.

[Q] Problems to swap external sd to internal sd (kitkat 4.4.2)

Hi guys,
i'm sorry if i opened my question in wrong location.
I tried to swap my sd card external for internal in my device, but i don't have success.
I tried using Root External to internal using the following setup:
internal: /mnt/sdcard
external /mnt/sdcard2
device access: /dev/block/vold/179:97
and option: umask=0000
before the kitkat(4.1.2) the process successful .
I list my mount via adb and note that internal is mounted in /storage/emulated/0 and executed manual line on adb:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /mnt/shell/emulated/0
apparently worked, i use "ln -l" on "/mnt/shell/emulated/0" with "root" and list external files, but without "root" not worked.
=/
after, i list "mount" and tried in all mounts that use "/dev/fuse" but not worked.
i modified platform.xml (http://forum.xda-developers.com/showthread.php?t=2687734) but not worked.
Below is the list of "mount" default of device:
mount
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 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
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,relatime,mode=755,uid=1023,gid=1023 0 0
/[email protected] /system ext4 ro,seclabel,noatime,noauto_da_alloc,commit=1,data=ordered 0 0
/[email protected] /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/[email protected] /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/[email protected] /flex ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered 0 0
/[email protected] /misc/phone ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/com.maxmpz.audioplayer.unlock-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.smarterdroid.wififiletransferpro-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/vold/179:97 /mnt/media_rw/sdcard1 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 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
can anyone help me?

[Completed] Need Help Getting Rid Of Write Protect In /system

I'm using Huawei g7 and i'm trying to install busybox but i keep getting a error
i'm a 100% sure this is because there is some wierd write protection on /system. i know this because everytime i try to change it to rw in es explorer it changes back to ro when i close to app.
I also tried some terminal commands but with no luck so far.
Any help would be appreciated
Here is the full log of my terminal commands:
` [email protected]:/ $ su [email protected]:/ # mount rootfs / rootfs rw,relatime 0 0 tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=970080k,nr_inodes=155313,mode=755 0 0 devpts /dev/pts devpts rw,seclabel,relatime,mode=600 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 none /acct cgroup rw,relatime,cpuacct 0 0 none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=750,gid=1000 0 0 none /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0 none /dev/frz cgroup rw,relatime,freezer 0 0 tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=755,gid=1000 0 0 tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=755,gid=1000 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0 0 adb /dev/usb-ffs/adb functionfs rw,relatime 0 0 /dev/block/bootdevice/by-name/log /log vfat rw,relatime,uid=1000,gid=1007,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0 /dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0 /dev/block/bootdevice/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0 /dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,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,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0 /data/media /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0 /dev/block/bootdevice/by-name/cust /cust ext4 rw,seclabel,relatime,data=ordered 0 0 [email protected]:/ # mount -o rw,remount /system mount: Read-only file system 255|[email protected]:/ # mount rootfs / rootfs rw,relatime 0 0 tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=970080k,nr_inodes=155313,mode=755 0 0 devpts /dev/pts devpts rw,seclabel,relatime,mode=600 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 none /acct cgroup rw,relatime,cpuacct 0 0 none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=750,gid=1000 0 0 none /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0 none /dev/frz cgroup rw,relatime,freezer 0 0 tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=755,gid=1000 0 0 tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=755,gid=1000 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0 0 adb /dev/usb-ffs/adb functionfs rw,relatime 0 0 /dev/block/bootdevice/by-name/log /log vfat rw,relatime,uid=1000,gid=1007,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0 /dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0 /dev/block/bootdevice/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0 /dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,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,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0 /data/media /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0 /dev/block/bootdevice/by-name/cust /cust ext4 rw,seclabel,relatime,data=ordered 0 0 [email protected]:/ #`
Cleaner version:
[email protected]:/ $ su
[email protected]:/ # mount
…
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
…
[email protected]:/ # mount -o rw,remount /system
mount: Read-only file system
255|[email protected]:/ # mount
…
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
…
[email protected]:/ #
Hello and thank you for using XDA Assist,
please ask in our Android Q&A section:
Android Q&A, Help & Troubleshooting
The experts there should be able to help you.
Kind regards & good luck
Trafalgar Square
XDA Assist

Categories

Resources