Despite changes RW into RO on ext4 partition - Gen9, Gen10 General

Hi!
After some experiments , ext4 partition lost property rw .
Installing android_3.2.78.ext4 we give root perm. with rights rw . Ok that is true.
Now just installing ES File Explorer , enabe only Root Explorer and change Home Directory : / we can : copy , mkdir, mov , rm .....anywhere ( this is normal )
But how I lost this right .....
Shut down device or >adb reboot .....when device is open I have tried this command:
>adb shell
/# mount
..........................
/dev/loop0 on / type ext4 (ro,relatime,barrier=1,data=writeback)
............................
Now I can't do even >adb shell mkdir xxx ........cannot create directory xxx Read-only file system .
Expert opinions wait !!!

Add all commands > adb shell mount
.............................................................................................................
c:\Program Files (x86)\Android\android-sdk\tools>adb shell
BusyBox v1.7.2 (2011-12-22 03:11:13 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/ # mount
mount
rootfs on / type rootfs (rw)
/dev/mmcblk0p2 on /mnt/system type ext4 (rw,noexec,noatime,barrier=1,data=ordere
d)
/dev/mmcblk0p4 on /data type ext4 (rw,noexec,noatime,barrier=1,data=ordered)
/dev/loop0 on / type ext4 (ro,relatime,barrier=1,data=writeback)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime,devuid=1000,busuid=1000,listuid=1
000)
tmpfs on /tmp type tmpfs (rw,relatime,mode=775,gid=1000)
/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mmcblk0p1 on /mnt/rawfs type rawfs (rw,relatime)
/dev/block/mmcblk0p2 on /mnt/system type ext4 (rw,nosuid,noexec,noatime,barrier=
1,data=ordered)
/dev/block/mmcblk0p4 on /data type ext4 (rw,nosuid,noatime,barrier=1,data=ordere
d)
/dev/fuse on /mnt/nand type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id
=1015,default_permissions,allow_other)
/dev/fuse on /mnt/storage type fuse (rw,nosuid,nodev,relatime,user_id=1000,group
_id=1015,default_permissions,allow_other)
/dev/block/vold/179:17 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,
noatime,nodiratime,uid=1000,gid=1023,fmask=0000,dmask=0000,allow_utime=0022,code
page=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/ #
..............................................................................................................

Very very strange!!!! No it's work , I have again rights RW .....strange is that I did nothing.....just maybe I have not used 24 hours ....

Related

[q] superoneclick

I just downloaded this after finding it online. it says im missing the runtime. how do i fix this
Make sure you use the most recent version which can be found in the Android dev section on these forums.
DirkGently1 said:
Make sure you use the most recent version which can be found in the Android dev section on these forums.
Click to expand...
Click to collapse
I was on the SuperOneClick Android dev. page but it would not allow me to post as I am a horrible underling and have no privileges.
So if anyone can post it there or answer it here then this is the failure error I get for the device (A coby Kyros MID8024)
I have everything set up and the tablet is running android 2.2 all drivers and other files needed are installed.
Installed terminal emulator confirms NO SU allowed.
Getting mount path...
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
none on /proc/bus/usb type usbfs (rw,relatime,devmode=666)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mmcblk0p3 on /data type ext4 (rw,nosuid,nodev,relatime,barrier=1,data=ordered)
/dev/block/mmcblk0p2 on /cache type ext4 (rw,nosuid,nodev,relatime,barrier=1,data=ordered)
/dev/block/vold/179:1 on /mnt/nand type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=utf8,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:9 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=utf8,shortname=
FAILED
Thanks if anyone can assist.
I used the super 1click method to root. It failed the first time but I rebooted my tablet and ran the super1click a second time and it sucessfully rooty my tablet...now looking for instructon for installing market.
Vernox701 said:
I used the super 1click method to root. It failed the first time but I rebooted my tablet and ran the super1click a second time and it sucessfully rooty my tablet...now looking for instructon for installing market.
Click to expand...
Click to collapse
Why not just flash google apps? That should install the market or you could download the apk for the market directly. See this thread: http://forum.xda-developers.com/showthread.php?t=1231290 .

Market fails to download anything on CM7 RC1V2 - screwed up partitioning?

I have installed CM7 RC1 on top of a brand new SBF179 (did a factory reset after the flashing of that one). While the market initially downloaded all the old apps, it now fails to install or update any apps from the market with a download unsuccessful message. To resolve this, I was looking at s0be's fix which supposedly works:
Here is the s0be's fix
1. adb shell
2. su
3. mkdir /cache/download
4. chown system:cache /cache/download
5. chmod ug+rwx /cache/download
6. chmod a+x /cache/download
I can su but my /cache dir is read only, which presumably is because there is not really a cache partition:
Code:
mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/block/mmcblk1p21 on /system type ext3 (ro,noatime,nodiratime,barrier=1,data
=ordered)
/dev/block/userdata on /data type ext3 (rw,nosuid,nodev,noatime,nodiratime,error
s=continue,data=ordered)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
tmpfs on /data/tmp type tmpfs (rw,relatime,size=2048k)
/dev/block/pds on /pds type ext3 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,d data=ordered)
Can anyone shed some light on this? Is there something wrong with the setup here? And why is the cache folder read only?
Market "Download paused" over WiFi
i also had market issue after downgrade cm7 rc1 to froyo rom somebody plz help ......
Market "Download paused" over WiFi
I had the same issue. I found this, and the "fix" worked.
http://www.androidpolice.com/2011/0...on-usb-storage-or-sd-card-problem-on-android/
That does not seem to be my issue - in any case that file does not exist in either locations. In my case I dont even get an error pop up just a silent, quick note in the download bar that the download was unsuccessful.
I still think its weird that my /cache folder is entirely empty and on a read only filesystem to boot?
in my case there is no download folder on /cache
i can able to download file from 2g/2g but download pause if i do it from WiFi ...
did u try flashing google apps again?
it works normally..
how to do it on stock froyo ?
ankit360 said:
how to do it on stock froyo ?
Click to expand...
Click to collapse
well u need to root it and install 2ndInit Recovey and then u can flash anything u like from custom recovery
I just reflashed gapps-2011-03-XX from stable recovery, no change.
nupi said:
I just reflashed gapps-2011-03-XX from stable recovery, no change.
Click to expand...
Click to collapse
i even try gapps-gb-20110613-signed.zip not working
I think I may just go back to RC0 tomorrow, that seemed to be more stable after all
So wiped data and cache on RC1V2, still same issue. Going back to RC0 now
Ok so I did reinstall 177 Nordic, flashed CM7.1RC0 and it STILL does not work.
However, I am still thinking there is something wrong with my partioning of the Defy as custom recovery gave me the following errors:
Can't mount /dev/block/memblk1p24
Can't mount /cache
Can't mount cache:recovery/log
Similarly, stock recovery upon starting also gives me:
Can't mount CACHE:recovery/command
Can't mount CACHE:recovery/caller
Can't mount CACHE:recovery/log
Last vain hope of going back to 177-Nordic and not installing CM7 for now, let's see what happens there.
where apk get save ? /cache/download or /cache ?
when i create download folder in cache it get deleted automatically and downloadfile.apk is get created is this normal plz help me ....
On vanilla 177-NORDIC it works. Confuses the hell out of me.
But also, I get a much different filesystem hierarchy - now I actually get /cache, android secure etc!
$mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,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
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk1p21 /system ext3 ro,noatime,nodiratime,barrier=1,data=ordered 0 0
/dev/block/userdata /data ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,barrier=1,data=ordered 0 0
/dev/block/cache /cache ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,barrier=1,data=ordered 0 0
tmpfs /tmp tmpfs rw,relatime,size=2048k 0 0
/dev/block/pds /pds ext3 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.trueaxis.jetcarstuntslite-1 vfat ro,dirsync,nosuid,nodev,noexec,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
$
Click to expand...
Click to collapse
I still think there is something wrong with the CM7 mount points I get!
I had the problem at rc0. Also got the mounting error. What worked for me was to unmount the cache and than mount again via recovery.
Sent from my MB525 using XDA App
How do I unmount/mount stuff in recovery? Also, did that fix market issues?
For me it fixed the problem. I had also this problem on RC0 and got the error of cant mount cache.
You can unmount and mount it in custom recovery. It do not exactly know where it is in recovery. Thought it was at the advanced menu.
Sent from my MB525 using XDA App
This explains why this happens and how to fix it:
http://forum.cyanogenmod.com/topic/19100-cm7-rc3-market-fails-to-download-big-apps/
Give me thanks for this if it helps, it took me hours to find this fix! thanks

Rooting Avaya Desktop Video Device

So i'm trying to root the ADVD (Avaya Desktop Video Device), which is a tablet (sorta) running Android x86 version 2.1 with a totally custom UI on top.
I can already SSH into the device with admin privileges (I get the "#" symbol).
SU and busybox binaries are already available on it.
But i haven't been able to remount the /system partition as rw.
I tried the mount command, busybox, adb and the "mount /system" app but nothing succeeded.
This is the output of the mount command:
Code:
# mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,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
usbfs /proc/bus/usb usbfs rw,relatime 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,relatime,size=4096k 0 0
/dev/block/sda8 /system squashfs ro,relatime 0 0
/dev/block/sda6 /data ext3 rw,nosuid,nodev,relatime,errors=continue,data=writeback 0 0
/dev/block/sda7 /cache ext3 rw,nosuid,nodev,relatime,errors=continue,data=writeback 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
I tried running the following command:
Code:
mount -o rw,remount /dev/block/sda8 /system
But it still showed as ro.
Any help would be appreciated.
Any idea?

[Q&A] [MOD][RECOVERY] All-F2FS for GT-I9190|GT-I9192|GT-I9195 [TWRP & Philz Touch]

[Q&A] [MOD][RECOVERY] All-F2FS for GT-I9190|GT-I9192|GT-I9195 [TWRP & Philz Touch]
Q&A for [MOD][RECOVERY] All-F2FS for GT-I9190|GT-I9192|GT-I9195 [TWRP & Philz Touch]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [MOD][RECOVERY] All-F2FS for GT-I9190|GT-I9192|GT-I9195 [TWRP & Philz Touch]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Thanks
Thanks man, you solved my problem!!
Check your external sdcards f2fs file system and repair it
All you need is already on your phone.
Preperation
- Use "Terminal Emulator" on the phone or adb shell commands
- Get root by entering "su"
[*] Find the device your SD card is bound to
- Tpye "mount" to get a list with very likely "/dev/block/vold/179:33 on /mnt/media_rw/sdcard1" or simillar in it
- /dev/block/vold/179:33 is your external sdcard
[*] Leave MTP mode
- Go to Settings -> Storage -> Menue (3 dots) -> USB computer connection: select Mass Storage (MTP prevents the work with the sdcard).
- You won't see "/dev/block/vold/179:33" anymore in the mount list.
[*] Execute fsck.f2fs to check and repair
- "cd /system/bin" to change directory
- execute "fsck.f2fs -f /dev/block/vold/179:33"
- it takes a while to check/repair the sdcard
other fsck.f2fs options:
https://bbs.archlinux.org/viewtopic.php?id=190239
Posts that helped me:
http://android.stackexchange.com/questions/38745/check-and-fix-sd-card-errors-within-android-itself
http://ubuntuforums.org/showthread.php?t=2086313&page=4&p=12382119#post12382119
Example for the mount list 1):
Code:
C:\Minimal ADB and Fastboot>adb shell mount
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)
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 /acct type cgroup (rw,relatime,cpuacct)
none on /sys/fs/cgroup type tmpfs (rw,seclabel,relatime,mode=750,gid=1000)
none on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
tmpfs on /mnt/asec type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
none on /dev/memcg type cgroup (rw,relatime,memory)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/platform/msm_sdcc.1/by-name/system on /system type ext4 (rw,seclabel,relatime,errors=panic,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/userdata on /data type f2fs (rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,discard,user_xattr,inline_xattr,acl,flush_merge,active_logs=6)
/dev/block/platform/msm_sdcc.1/by-name/cache on /cache type f2fs (rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,discard,user_xattr,inline_xattr,acl,flush_merge,active_logs=6)
/dev/block/platform/msm_sdcc.1/by-name/efs on /efs type ext4 (rw,seclabel,nosuid,nodev,noatime,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/persist on /persist type ext4 (rw,seclabel,nosuid,nodev,relatime,nodelalloc,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/modem on /firmware type vfat (ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/fuse on /mnt/shell/emulated type fuse (rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
[COLOR=red]/dev/block/vold/179:33 on /mnt/media_rw/sdcard1 type f2fs [/COLOR](rw,dirsync,context=u:object_r:sdcard_posix:s0,nosuid,nodev,noexec,noatime,background_gc=off,user_xattr,inline_xattr,acl,active_logs=2)
/dev/block/vold/179:33 on /mnt/secure/asec type f2fs (rw,dirsync,context=u:object_r:sdcard_posix:s0,nosuid,nodev,noexec,noatime,background_gc=off,user_xattr,inline_xattr,acl,active_logs=2)
/dev/fuse on /storage/sdcard1 type fuse (rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
thank you very much for this! worked for gt19192!!
just learned to root samsung s4 mini!
Add this feature Please
@F4k
Please add this features in TWRP
https://github.com/Tasssadar/multirom/wiki/Porting-MultiROM

Creating partition backup with dd

Hi,
I want to create a partition backup with dd because TWRP fails.
I have opened a relevant posting in TWRP thread here, but there's no reply.
Now checking the available partitions and mount points is confusing me.
There is partition
Code:
/dev/block/sda13
mounted to /data and /sdcard.
Code:
/sdcard/TWRP/BACKUPS/b94a5888/2020-02-13--13-54-00 # mount
rootfs on / type rootfs (rw,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,noatime,size=3930984k,nr_inodes=982746,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,noatime,mode=600)
proc on /proc type proc (rw,noatime,gid=3009,hidepid=2)
sysfs on /sys type sysfs (rw,seclabel,noatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,noatime)
none on /acct type cgroup (rw,noatime,cpuacct)
tmpfs on /tmp type tmpfs (rw,seclabel,noatime,size=3930984k,nr_inodes=982746)
pstore on /sys/fs/pstore type pstore (rw,seclabel,noatime)
none on /config type configfs (rw,noatime)
adb on /dev/usb-ffs/adb type functionfs (rw,noatime)
/dev/block/sda3 on /cache type ext4 (rw,seclabel,noatime,data=ordered)
/dev/block/sde10 on /firmware type vfat (ro,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/block/sda13 on /data type ext4 (rw,seclabel,noatime,data=ordered)
/dev/block/sda13 on /sdcard type ext4 (rw,seclabel,noatime,data=ordered)
/sdcard/TWRP/BACKUPS/b94a5888/2020-02-13--13-54-00 # df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 3.7G 184.0K 3.7G 0% /dev
tmpfs 3.7G 21.6M 3.7G 1% /tmp
/dev/block/sda3 248.0M 6.6M 236.3M 3% /cache
/dev/block/sde10 109.9M 106.2M 3.8M 97% /firmware
/dev/block/sda13 111.4G 91.2G 19.0G 83% /data
/dev/block/sda13 111.4G 91.2G 19.0G 83% /sdcard
/sdcard/TWRP/BACKUPS/b94a5888/2020-02-13--13-54-00 #
This means I cannot create a backup with dd because the target would be /sdcard/TWRP/BACKUPS/, and then I would write the backup to itself.
Can you please advise?
THX

Categories

Resources