The root folder is on read only is there any way to get it to read and write?
No
Sent from my OnePlus7TPro using XDA Labs
TRIST4N said:
Since android 10 the root folder is set to read only I am not able to manually modify any files. Is there a method to get the root folder set to read and write?
Click to expand...
Click to collapse
That is the whole point of Magisk , you can't/ don't modify /tamper the System directly. You do systemlessly with Magisk Modules.
I recently discovered the same issue and posted a thread about it too. Seems a lot of us getting caught by surprise on this issue.
From my understanding you can push a file to the root directory while in fastboot but I can't seem to figure it out. I think I'm not using the correct directory in my command.
rizzo20 said:
I recently discovered the same issue and posted a thread about it too. Seems a lot of us getting caught by surprise on this issue.
From my understanding you can push a file to the root directory while in fastboot but I can't seem to figure it out. I think I'm not using the correct directory in my command.
Click to expand...
Click to collapse
System being read only is by design and there is nothing you can do about it.
And no, you cannot push/pull anything with fastboot, that's for adb but it won't work either.
Sent from my OnePlus7TPro using XDA Labs
Related
Hello,
I'm very new at this rooting stuff and I saw a lot of benefits from it so I thought I'd give it a try.
I've followed this root guide on MoDaCo, but I can't post a link here.
I also did the custom recovery image part (although I don't know what it is used for)
And I didn't make a goldcar either because someone told me I didn't have to do that as I don't have a carrier.
But my problem is I can't change anything as cmd keeps giving this error when I enter adb shell:
- exec ' system bin sh' failed no such file or directory (2)
I'm in my phone recovery and my usb cable is plugged in. This is the what I do and what it says:
C:\androidsdk\tools>adb shell mount /system
- exec ' system bin sh' failed no such file or directory (2) -
C:\androidsdk\tools>adb pull /system/usr/keylayout/bravo-keypad.kl c:\
remote object '/system/usr/keylayout/bravo-keypad.kl' does not exist
Any help is very welcomed as I've been searching the net for quite a while.
I'm not 100% sure what you are trying to achieve here. Are you trying to root, or have you already rooted?
socktug said:
I'm not 100% sure what you are trying to achieve here. Are you trying to root, or have you already rooted?
Click to expand...
Click to collapse
Sorry for being unclear. I've already rooted.
OK, and are you looking to remap the hardware keys?
As far as the goldcard goes, you don't need it if you rooted without one.
socktug said:
OK, and are you looking to remap the hardware keys?
As far as the goldcard goes, you don't need it if you rooted without one.
Click to expand...
Click to collapse
Yes that is correct, but when I enter adb shell it gives the error given above.
I don't think it's supposed to give that error.
Take a look HERE it might be of help.
socktug said:
Take a look HERE it might be of help.
Click to expand...
Click to collapse
Yes, that's the post I used to try it.
But it seems I can't pull the file. It says the file doesnt exist.
I'm not really up to speed with adb commands etc. I'd maybe try posting this in the dev section. Or chuck a post in there pointing to this one.
Sorry I can't help you more.
socktug said:
I'm not really up to speed with adb commands etc. I'd maybe try posting this in the dev section. Or chuck a post in there pointing to this one.
Sorry I can't help you more.
Click to expand...
Click to collapse
Ok, will do, thanks for the help!
I think I've found my problem. I've installed the app: rom manager and I can get into the custom recovery from there.
It seems I was uncapable of going in the custom recovery myself (probably because I'm doing something wrong). But I'd still like to know what I did wrong.
If you've got rom manager installed, flash into clockwork recovery and go to the partitions menu and mount system then re-do you adb commands.
There's also a fake-flash that provides an update.zip to boot you in recovery mode.
Sent from my HTC Desire using XDA App
dnlgee said:
If you've got rom manager installed, flash into clockwork recovery and go to the partitions menu and mount system then re-do you adb commands.
There's also a fake-flash that provides an update.zip to boot you in recovery mode.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Yes I've installed that fake flash, but I thought after installing it in the normal recovery it would take me directly to the custom recovery. Instead it just said the installation is complete without going to the custom recovery.
Everytime I want recovery mode I just load up rom manager and click reboot into recovery. However I find I can't mount my system directory through advanced cmd itself so have to mount through the partitions menu in clockwork.
Sorry of this doesn't help, I don't fully understand the issue..
Sent from my HTC Desire using XDA App
So everything gone fine till I try to push the framework-res.apk to my phone.
adb push framework-rez.apk /system/framework/
'adb' is not a recongnized as an internal or external command,
know I understand what that means but I installed SDK manager and had no cmd in there so I just used Command Prompt. If that is all of my problem how to I get SDK cmd? It didnt install when I installed the problem.
Omnicide said:
So everything gone fine till I try to push the framework-res.apk to my phone.
adb push framework-rez.apk /system/framework/
'adb' is not a recongnized as an internal or external command,
know I understand what that means but I installed SDK manager and had no cmd in there so I just used Command Prompt. If that is all of my problem how to I get SDK cmd? It didnt install when I installed the problem.
Click to expand...
Click to collapse
It's not enough to just install SDK manager, you also have to install ADB if you want to interface with your phone through your computer. You shouldn't have to go through SDK manager to use ADB once you have it installed, it should work straight through windows command prompt.
http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
That will walk you through installing adb. Good luck.
yoft1 said:
It's not enough to just install SDK manager, you also have to install ADB if you want to interface with your phone through your computer. You shouldn't have to go through SDK manager to use ADB once you have it installed, it should work straight through windows command prompt.
http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
That will walk you through installing adb. Good luck.
Click to expand...
Click to collapse
Well thank you that helped me get pass that issue. Now how do I change the permissions on my phones framework-res.apk?
The error I have now is
"failed to copy 'framework-res.apk' to '/system/framework/framework-res.apl': Read-only file system."
I can't seem to figure a way around this.
Omnicide said:
Well thank you that helped me get pass that issue. Now how do I change the permissions on my phones framework-res.apk?
The error I have now is
"failed to copy 'framework-res.apk' to '/system/framework/framework-res.apl': Read-only file system."
I can't seem to figure a way around this.
Click to expand...
Click to collapse
I had that issue too, how I bypass it is to boot to CWM, go to "mounts and storage", then mount /system (and /data if that's relevant to what you're pushing). Others have used a line of code to mount the system from the PC end, but I find this easier to do through the phone.
yoft1 said:
I had that issue too, how I bypass it is to boot to CWM, go to "mounts and storage", then mount /system (and /data if that's relevant to what you're pushing). Others have used a line of code to mount the system from the PC end, but I find this easier to do through the phone.
Click to expand...
Click to collapse
Thank you that did the trick
Go to the system32 folder on your c drive and copy cmd from there to your tools folder in the sdk.
Now when you want to push, put the files you want to push in the tools folder and then open up the cmd that you placed in that folder, then run the push command.
Sent from my Galaxy Nexus using xda premium
Master&Slave™ said:
Go to the system32 folder on your c drive and copy cmd from there to your tools folder in the sdk.
Now when you want to push, put the files you want to push in the tools folder and then open up the cmd that you placed in that folder, then run the push command.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks ill give that a try in morning. That would be a better then how im doing it now my stuff is in all random folder and locations to get it to work.
Sent from my SGH-T989 using xda premium
Omnicide said:
Thanks ill give that a try in morning. That would be a better then how im doing it now my stuff is in all random folder and locations to get it to work.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
That's actually how I do it so it should work for you. Good luck
Sent from my Galaxy Nexus using xda premium
Master&Slave™ said:
That's actually how I do it so it should work for you. Good luck
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
It worked for the file being in that folder and all. But I still have to do it in recovery and unmount system. I still get the read-only error
Hey Everyone,
Trying to modify /sys/module/msm_otg/parameters/usbhost_charge_mode from it's default value of 'Y' to '1' in order to enable usb charging + OTG while using ElementalX's kernel. No matter what I do, I get either access is denied, or when trying to commit a change with sysctl I get nothing as the changes aren't being saved. Been working on this for the past 6 hours and can't figure it out!!! I know there's an easy straight forward way to do this, just can't figure it out!
Please help!!
Thanks,
Noob
Youve mounted R/W right? Or should I say write? Ahah software puns.
Sent from my Nexus 7 using XDA Free mobile app
Mounted as r/w and rooted...
THEBANDIT420 said:
Youve mounted R/W right? Or should I say write? Ahah software puns.
Sent from my Nexus 7 using XDA Free mobile app
Click to expand...
Click to collapse
Yeah, meant to add that detail last night but forgot in my frustration. Mounted as R/W, also, did a chmod 777 on the file as well to verify perms were correct.
Tried doing all this work via terminal vi which didn't work, then tried doing an adb pull, update the file adb push, which resulted in a permissions failure. Everything leads me to believe that my root isn't a FULL root; however, I can't find another method of performing said root. Used WugFresh Nexus Root Toolkit v1.8.3 to perform root.
Thanks for your help man,
Noob
Anyone?
Can anyone help? This is driving me absolutely insane!
n00b5auc3 said:
Can anyone help? This is driving me absolutely insane!
Click to expand...
Click to collapse
Try to do that with Root Explorer
Here's what I've done so far
matcho13579 said:
Try to do that with Root Explorer
Click to expand...
Click to collapse
Just tried what you suggested, it appeared to save; however, upon verification, the file reverted from '1' back to 'Y'.
So far I've tried:
Using a chmod 777 on the file via su terminal, edit file with vi, attempt to save - result - failure..
Using ES File Explorer with root permissions and mount /system in RW enabled, nav to file and edit with ES text editor, save - result - failure...
Mount /system as RW using some app I can't remember, then navigate using ES File Explorer to location, edit using ES text editor, save - result - failure...
adb pull on the file, update, adb push back to location - result - failure
su attempt to delete, move, and rename file in an effort to replace it - result - failure....
I'm pretty sure whoever made that file had ninja training, because every time I try to touch it it totally evades me. -_- Anyways, thanks for the help in advance.
n00b
Anyone? Bueller.... Bueller?
Someone has to have ran into this problem before....
Saw this posted on Reddit. Seems to be a full system image but I'm not brave enough to flash it
https://mobile.twitter.com/MotoFirmware/status/522902016763633665?s=09
Slack3r said:
Saw this posted on Reddit. Seems to be a full system image but I'm not brave enough to flash it
https://mobile.twitter.com/MotoFirmware/status/522902016763633665?s=09
Click to expand...
Click to collapse
I think no problem.You can try it.
You can mount it as loop and explore it, I suppose.
Sent from my GT-N7100 using XDA Free mobile app
There are some wifi config files and binaries, the factory test packages, etc..
I found this app, that can be installed in the current system with adb: (motoCompass.apk)
https://drive.google.com/file/d/0BxTLcy78OveNRjZkYzJaRmJ4S0U/view?usp=sharing
More goodies:
Moto 360 gears boot animation: http://youtu.be/Rje-O0P6PJo
Sent from my GT-N7100 using XDA Free mobile app
Here's a dump of the system partition, lots of interesting things!
https://drive.google.com/file/d/0BxTLcy78OveNSmJrdTM2SkxEYVE/view?usp=sharing
Enjoy and share your findings
dproldan said:
There are some wifi config files and binaries, the factory test packages, etc..
I found this app, that can be installed in the current system with adb: (motoCompass.apk)
https://drive.google.com/file/d/0BxTLcy78OveNRjZkYzJaRmJ4S0U/view?usp=sharing
Click to expand...
Click to collapse
I installed the compass app, it's hardly what I would call accurate but it does seem to get the right direction for the most part. Good find!
dproldan said:
More goodies:
Moto 360 gears boot animation: http://youtu.be/Rje-O0P6PJo
Sent from my GT-N7100 using XDA Free mobile app
Click to expand...
Click to collapse
Maybe I'm missing something trying to get the gears animation in my watch. I set up Bluetooth debugging and then tried
adb -e push bootanimation.zip /data/local
I'm a little rusty on adb commands and would appreciate any assistance. Thanks!
neilrl79 said:
Maybe I'm missing something trying to get the gears animation in my watch. I set up Bluetooth debugging and then tried
adb -e push bootanimation.zip /data/local
I'm a little rusty on adb commands and would appreciate any assistance. Thanks!
Click to expand...
Click to collapse
You may need to just give it some time, it took a good 10 minutes or so for it to finish anything for me over bluetooth. It just sat at the prompt without giving me status information or anything.
dproldan said:
There are some wifi config files and binaries, the factory test packages, etc..
I found this app, that can be installed in the current system with adb: (motoCompass.apk)
https://drive.google.com/file/d/0BxTLcy78OveNRjZkYzJaRmJ4S0U/view?usp=sharing
Click to expand...
Click to collapse
WiFi config files for the watch? Interesting..!
neilrl79 said:
Maybe I'm missing something trying to get the gears animation in my watch. I set up Bluetooth debugging and then tried
adb -e push bootanimation.zip /data/local
I'm a little rusty on adb commands and would appreciate any assistance. Thanks!
Click to expand...
Click to collapse
abd won't let you put anything in /data or /system, as it's not running in root mode.
You have to push it to /storage/sdcard0/ then enter an adb shell, get root with su, remount /system and copy the zip from /storage/sdcard0/ to /system/media/
So what can we do with this
Anyone wanna mirror this? It seems they took it down...
r3pwn said:
Anyone wanna mirror this? It seems they took it down...
Click to expand...
Click to collapse
Found it
Here
https://www.androidfilehost.com/?fid=95916177934554712
Good evening xda,
Its been to long since ive posted im rooting actively again and ran into an issue. when i utilize kingroot via pc and have the full bpa1 and cpj firmware installed via odin root access confirmed unlock script in adb.exe folder and all drivers installed usb debugging on reactivation off running command prompt in admin mode moving quickly as to not allowing the phone to begin crashing with the temp root and lagging i even confirmed devices connected in adb but when i get to the chmod string in the command prompt it always says no such file or directory found i tried pusing via adb put it on the sd card the internal storage and in the adb folder and keeps saying that error please if im noobing out right now let me know i would greatly appreciate your time thank you guys.
Update: im stuck on the bpa1 and cpd1 with no root is there anything i can do at this stage?
[email protected] said:
Good evening xda,
Its been to long since ive posted im rooting actively again and ran into an issue. when i utilize kingroot via pc and have the full bpa1 and cpj firmware installed via odin root access confirmed unlock script in adb.exe folder and all drivers installed usb debugging on reactivation off running command prompt in admin mode moving quickly as to not allowing the phone to begin crashing with the temp root and lagging i even confirmed devices connected in adb but when i get to the chmod string in the command prompt it always says no such file or directory found i tried pusing via adb put it on the sd card the internal storage and in the adb folder and keeps saying that error please if im noobing out right now let me know i would greatly appreciate your time thank you guys.
Update: im stuck on the bpa1 and cpd1 with no root is there anything i can do at this stage?
Click to expand...
Click to collapse
What do you mean you're stuck on BPA1 and CPD1, it can only be one or the other.
Its a partial firmware cpdi modem i believe but a bpa1 bootloader or the other way around im not on my pc
Sent from my 5056N using XDA-Developers Legacy app
Cpd1*
Sent from my 5056N using XDA-Developers Legacy app
[email protected] said:
Its a partial firmware cpdi modem i believe but a bpa1 bootloader or the other way around im not on my pc
Sent from my 5056N using XDA-Developers Legacy app
Click to expand...
Click to collapse
So you've already rooted BPA1 and you're moving on to rooting CPD1?
I attained root on that partial firmware. Moved onto adb steps to be able to unlock it again as i was already unlocked before i just wanted lineage OS extremely bad. So i followed the guide on xda and then on the 2nd to last string it always says no such file or directory even if the unlock script is on the root of the sd card the internal storage and pc lol still to avail. I followed every step to the T can a pc firewall or something of that affect how smoothly this should be? Ive done it before but i never had this hard of time diff pc as well.
Sent from my 5056N using XDA-Developers Legacy app
[email protected] said:
I attained root on that partial firmware. Moved onto adb steps to be able to unlock it again as i was already unlocked before i just wanted lineage OS extremely bad. So i followed the guide on xda and then on the 2nd to last string it always says no such file or directory even if the unlock script is on the root of the sd card the internal storage and pc lol still to avail. I followed every step to the T can a pc firewall or something of that affect how smoothly this should be? Ive done it before but i never had this hard of time diff pc as well.
Sent from my 5056N using XDA-Developers Legacy app
Click to expand...
Click to collapse
What's the full script that you're trying to execute and which guide are you using? To my knowledge, a firewall has no effect on rooting the Note 4.
quinciebee said:
What's the full script that you're trying to execute and which guide are you using? To my knowledge, a firewall has no effect on rooting the Note 4.
Click to expand...
Click to collapse
Have you tried using kingoroot on the phone? I did it like that and had no issues. Also make sure your developer and security items are ticked.
I think I might know your issue. I had an issue using minimal adb and fastboot. The file that I moved into fastboot "unlock_n4" didn't match the adb command in the instructions. I renamed the file to match the command, and it worked! Up until I figured that out it would say "No Such file".
Hope that helped
Thats a great idea ill have to try that ty.