Cant get RW on /system - Nexus 4 Q&A, Help & Troubleshooting

Hello , I have alldeady posted the thread hier , but nobody answers so I iwill ask here directly:
I cant get rw /system to delete apps
i have allready done some terminal commands but no luck "Permission denied"
Screenshot attached

What about if you try it like this?
mount -o remount,rw /system
Source: http://stackoverflow.com/questions/...ooted-android-to-remount-system-as-read-write
Sent from my Nexus 4 using Tapatalk

SMillerNL said:
What about if you try it like this?
mount -o remount,rw /system
Source: http://stackoverflow.com/questions/...ooted-android-to-remount-system-as-read-write
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
didnt worked....
BUT that worked! :victory:
Code:
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system

Related

Read-only file system

adb remount
Gregalous said:
adb remount
Click to expand...
Click to collapse
wow someone musta struck a nerve somehow lol
I see your adb remount and raise you the true command that runs
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
bow chicka bow wow

copy file to /system

how can i copy file to /system
remount the file system
ex.
mount -o rw,remount -t yaffs2 /dev/block/mtdblock5 /system
xcxda said:
remount the file system
ex.
mount -o rw,remount -t yaffs2 /dev/block/mtdblock5 /system
Click to expand...
Click to collapse
mount: Operation not permitted
tadasi said:
how can i copy file to /system
Click to expand...
Click to collapse
Read this, three different methods.
http://forum.xda-developers.com/showthread.php?p=7622713#post7622713

mount /system with adb shell in recovery

hello, i need to restore my framework-res.apk from backup on my phone. i googled around and found some ways but they arent working. i can adb shell in while in recovery but i cant boot to android and /system isnt mounted.
i tried mount -o rw,remount /dev/block/mtdblock3 /system and mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system in adb shell and get "mount: mounting /dev/block/mtdblock3 on /system failed: Invalid argument"
also tried doing adb remount but get "remount failed: Unknown error: 0"
anyone know whats going on? i have 318 rom and streakmod recovery. sorry if this is considered android development. i dont think it is so its in streak general.
I believe /system shound be /dev/block/mtdblock6, so you should be able to use: mount -t yaffs2 /dev/block/mtdblock6 /system
yeah i just got the answer in freenode irc #dellstreak too and this did work. thank you.
[11:18pm] meralias: mount /dev/block/mtdblock6 /system
[11:21pm] meralias: actually: mount -t yaffs2 /dev/block/mtdblock6 /system
edit: [11:24pm] • meralias also goes as 'kantras'
sly.

[Q] Trying to push Deodexed Apps Framework

Hi
Been trying to push Deodexed Apps & Framework to Stock JPM framework.
This is the tutorial i was following
http://forum.xda-developers.com/showthread.php?t=990238
It all goes well till i start typing this:
adb shell
su
stop
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
chmod 644 /system/app/*
chown root.root /system/app/*
chmod 644 /system/framework/*
chown root.root /system/framework/*
mount -o ro,remount -t ext4 /dev/block/mmcblk1p21 /system
reboot
I keep getting things like "mount is not recognized" and "permission denied"
Anyone know if this is the right path for our phone? or maybe have a better solution than this?
Thank you
After which command u r gettin this.. I was successful to do dat..but I dnt need d commands after "rm /system/framework/*.odex" ... :-S
Sent from my GT-I5800 using Tapatalk
ranadip.bswas said:
After which command u r gettin this.. I was successful to do dat..but I dnt need d commands after "rm /system/framework/*.odex" ... :-S
Sent from my GT-I5800 using Tapatalk
Click to expand...
Click to collapse
I get "mount -o Permission denied" on this line
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
starof said:
I get "mount -o Permission denied" on this line
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
Click to expand...
Click to collapse
i think adb is locked in the stock JPM, and don't use this command. Use this:
mount -o rw,remount /dev/block/stl6 /system
kyrillos13 said:
i think adb is locked in the stock JPM, and don't use this command. Use this:
mount -o rw,remount /dev/block/stl6 /system
Click to expand...
Click to collapse
Maybe thats why i'm having problems then lol.
Thank you
kyrillos13 said:
i think adb is locked in the stock JPM, and don't use this command. Use this:
mount -o rw,remount /dev/block/stl6 /system
Click to expand...
Click to collapse
i faced the same question ,thank you !!!!
oh sorry i dint see ur mountin command .. ya i used d kyrillos' command.. that y i was succesful..!!

remount system through adb shell

any idea how to remount system via adb shell? I use
Code:
adb shell su -c "mount -o rw,remount -t ext4 /dev/block/mmcblk0p23 /system"
but every time I go to remove an apk it remounts as RO and I have to issue the command again.
If I type this it will remount in RW and remove the file but again it will relock the system after the command is complete.
Code:
adb shell su -c "mount -o rw,remount -t ext4 /dev/block/mmcblk0p23 /system" | adb shell su -c rm /system/app/ANTPlusPlugins.apk
ib4tl.. wrong section bro
Sent from my SM-G900V using XDA Premium HD app
elliwigy said:
ib4tl.. wrong section bro
Sent from my SM-G900V using XDA Premium HD app
Click to expand...
Click to collapse
Sorry & thank you the thread was migrated to the correct section.
No one?
xboxexpert said:
No one?
Click to expand...
Click to collapse
Serious???
have you tried stopping the system instead of running it while the script is running?
i recently deodexed my system and this is how i did it.
PuffJr2 said:
have you tried stopping the system instead of running it while the script is running?
i recently deodexed my system and this is how i did it.
Click to expand...
Click to collapse
A little bit more specific? This is for the non Dev version.
xboxexpert said:
A little bit more specific? This is for the non Dev version.
Click to expand...
Click to collapse
i have a non-Dev version.
i did it this way:
adb shell
su
stop
mount -o rw,remount /system
"did what i needed to do"
mount -o ro,remount /system
reboot

Categories

Resources