Read-only file system - Hero CDMA General

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

Related

[Q] Writing to system?

I'v just rooted my Tab, I don't know if I'm losing the plot but I can't figure out how to write to the system partition? I can't find any apps that will work (for free) and "adb remount" doesn't work. "remount failed: Operation not permitted"
Am I missing something?
alias_neo said:
I'v just rooted my Tab, I don't know if I'm losing the plot but I can't figure out how to write to the system partition? I can't find any apps that will work (for free) and "adb remount" doesn't work. "remount failed: Operation not permitted"
Am I missing something?
Click to expand...
Click to collapse
adb remount doesn't work because /default.prop needs ro.secure set to 0 (not 1). This can't be changed easily without modifying the boot.img.
However, you can remount /system as a r/w filesystem using ADB by opening a shell and:
Code:
su
mount -o rw,remount -t ext3 /dev/block/mmcblk0p1 /system
or
Code:
su
mount -o rw,remount -t ext3 /dev/mtdblock3 /system
Regards,
Dave
foxmeister said:
adb remount doesn't work because /default.prop needs ro.secure set to 0 (not 1). This can't be changed easily without modifying the boot.img.
However, you can remount /system as a r/w filesystem using ADB by opening a shell and:
Code:
su
mount -o rw,remount -t ext3 /dev/block/mmcblk0p1 /system
or
Code:
su
mount -o rw,remount -t ext3 /dev/mtdblock3 /system
Regards,
Dave
Click to expand...
Click to collapse
Thanks, so which should I actually use, the former or the latter?
I've personally used the first command, but I saw the second one on another thread and it seems to work as well.
To be honest, I think it's ignoring the parameter anyway.
Regards,
Dave

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..!!

[solved]adb remount

Hello,
Has anyone gotten adb remount to work? I always get
remount failed: operation not permitted
Click to expand...
Click to collapse
I've also tried
Code:
mount -o remount,rw /dev/block/mmcblk0p4 /system
both from adb and in the terminal emulator but I get the same response
Trying to push anything to /system just results in
failed to copy '<file>' to '/system/<path>': Read-only file system
Click to expand...
Click to collapse
Any ideas?
Root?
You are rooted right? and didn't forget to "su" before those shell commands? because the shell command works fine for me, I remount system and changed the fonts
apparently I was just making it more complicated than it needs to be. You don't need to specify the mount point. Just use
mount -o remount,rw /system

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