system/app r/w - Fire TV Q&A, Help & Troubleshooting

Hi,
Why cant i mount system/app as r/w?
I use esfile explorer , grant root permission, change options to /system r/w but I still cant copy an apk there. It just fails.
I have no problem on my phone/tablet. Is it not possible on AFTV for somereason
Thanks

jarayn said:
Hi,
Why cant i mount system/app as r/w?
I use esfile explorer , grant root permission, change options to /system r/w but I still cant copy an apk there. It just fails.
I have no problem on my phone/tablet. Is it not possible on AFTV for somereason
Thanks
Click to expand...
Click to collapse
Not sure what esfile explorer is doing, but from adb shell, run
Code:
su
to get root then
Code:
mount -o remount,rw /system
to remount /system as rw.

Thanks @rbox but that doesnt work either.
Not sure whats wrong. Maybe something got messed up.
Im just about to install your new image with the netflix fix. Perhaps it will bring everything back to normal.
...
The main reason I was trying this btw is to try to get this working. I think I read somewhere that you tried it already? I think that would be just about the best mod you could do to the FTV. its a real shame it doesnt work.
http://forum.xda-developers.com/hardware-hacking/chromecast/app-cast-receiver-app-android-t2900726

jarayn said:
Thanks @rbox but that doesnt work either.
Not sure whats wrong. Maybe something got messed up.
Im just about to install your new image with the netflix fix. Perhaps it will bring everything back to normal.
...
The main reason I was trying this btw is to try to get this working. I think I read somewhere that you tried it already? I think that would be just about the best mod you could do to the FTV. its a real shame it doesnt work.
http://forum.xda-developers.com/hardware-hacking/chromecast/app-cast-receiver-app-android-t2900726
Click to expand...
Click to collapse
51.1.4.0 supports miracast

Thanks mate.
The flash fixed permissions.
Didnt manage to get that chromecast receiver thing working though.
I'll check out miracast later.

Related

Read Only File System when removing apps

I am trying to remove some apps I dont use or want like the mail app and others and I know i have nand protection unlocked becasue I can run nand backup and restore. But when i run adb shell and rm Mail.apk i get message of rm failed for Mail.apk, read only file system. I am a noob with adb but is it possible i dont have nand unlocked?
Being able to NAND backup and restore doesn't have anything to do with having NAND unlocked.
You obviously don't have full root.
download or find (please pay for it on the market)
root explorer, run it, this will put you on the / directory which is the root of the phone, not the sd card, and up in the top right corner it says mount r/o or mount r/w
by default it is read only r/o
hit the button and beside it you will see small text saying 'mounted r/w'
if it lets you mount r/w then you should be good to go.
just navigate to your /system/app filder, long press on the apk file you want to delete and choose delete, it will error out if you dont have r/w access, but make sure the upper right corner still says 'mounted r/w' - sometimes when you mount the phone in the opening page, it doesnt mount everything as r/w so you might have to mount the /system/app folder.
so, if you have it mounted r/w and it says so, and it wont let you delete or rename anything, then you know that you do not have a full root, just the partial root and you will have to go thru and reroot it for full access.
there are simpler ways i imagine but root explorer is the king of file explorers as far as i am concerned.
the only thing it needs is a built in FTP and SMB (windows network) explorer.
FAndroidHTC said:
I am trying to remove some apps I dont use or want like the mail app and others and I know i have nand protection unlocked becasue I can run nand backup and restore. But when i run adb shell and rm Mail.apk i get message of rm failed for Mail.apk, read only file system. I am a noob with adb but is it possible i dont have nand unlocked?
Click to expand...
Click to collapse
Would you be running the stock rooted ROM?
Sent from my PC36100
rafroehlich2 said:
Would you be running the stock rooted ROM?
Sent from my PC36100
Click to expand...
Click to collapse
stock rooted rom doesnt matter, thats what i run from time to time and i can delete/move/rename anythign i want anywhere on the phone (ok i havent tried every folder but have not hit a file/folder i couldnt alter yet, because i have full root access.
v_lestat said:
stock rooted rom doesnt matter, thats what i run from time to time and i can delete/move/rename anythign i want anywhere on the phone (ok i havent tried every folder but have not hit a file/folder i couldnt alter yet, because i have full root access.
Click to expand...
Click to collapse
I asked because I had a similar problem when I had stock rooted. Once I changed it went away.
Sent from my PC36100
rafroehlich2 said:
I asked because I had a similar problem when I had stock rooted. Once I changed it went away.
Sent from my PC36100
Click to expand...
Click to collapse
hmmm wierd.
maybe a bad rooted rom?
someone correct me here but do you have SuperUser installed?
doesnt he have to have superuser installed to do it via root explorer, or login to a terminal via adb with 'su' to rename/move/delete
if you didnt type su, and then get the $ prompt you cant do what you are trying to do. ... ???
i dont think you need to type su to do the following command but it probably wouldn't hurt ??
i am very adb green but do know enough to run some commands, its just that i prefer to do it with root explorer rather than command prompt.
download or find (please pay for it on the market)
root explorer, run it, this will put you on the / directory which is the root of the phone, not the sd card, and up in the top right corner it says mount r/o or mount r/w
by default it is read only r/o
hit the button and beside it you will see small text saying 'mounted r/w'
if it lets you mount r/w then you should be good to go.
just navigate to your /system/app filder, long press on the apk file you want to delete and choose delete, it will error out if you dont have r/w access, but make sure the upper right corner still says 'mounted r/w' - sometimes when you mount the phone in the opening page, it doesnt mount everything as r/w so you might have to mount the /system/app folder.
so, if you have it mounted r/w and it says so, and it wont let you delete or rename anything, then you know that you do not have a full root, just the partial root and you will have to go thru and reroot it for full access.
there are simpler ways i imagine but root explorer is the king of file explorers as far as i am concerned.
the only thing it needs is a built in FTP and SMB (windows network) explorer.
Click to expand...
Click to collapse
You can use Estrongs File Explorer and use the root option. No payment required. Unless you are running CM ROM, be sure to turn off the root option before closing the program, otherwise next time you open ES it will give a force close.
Sent from my PC36100 using XDA App
wow I love this forum what a huge response in such a short time I'm gonna test to see if I don't have nand properly unlocked and I tried using android mate to delete the apks and that didn't work either but I'm running fresh 1.0.2 currently
Just tried using es file explorer with root explorer and mount file system as writable and deleted the apk and everything worked great the app is gone! Thank you for the help this means i have nand unlocked right? I must have been doing something wrong in the adb shell
You can also issue the command 'adb remount'.
The system partition is mounted read only at start up and this command mounts it read/write. It has nothing to do at all with your NAND.
Ok good to know thank you for the advice like I said I'm an adb noob lol
do adb remount then try again
I removed wireless_tether using root explorer. When i try to install another version of wireless_tether, it says i am trying to overwrite another app, then wont let me install because it says its a system app. then I go in to look and see if I had truly removed it , it has a different name "andro tether" under settings/apps/manage apps. It doesn't show this in the root explorer for me to delete it. How can I fully delete it if its not showing there anymore.
I still cant install the new version. Help

Adfree Gingerbread

COURTESY OF MODOCO
currently if you try adfree on gingerbread you get some java error to solve this do the following
1. uninstall Adfree
2. download this apk file
3
PHP:
adb remount
adb push AdFree.MCR.apk /system/app
Thanks, I have been trying to get adfree to work all night... Works perfect!
I'm on GingerVillian 1.4. Getting an "Application not installed" message.
Not to hijack but you could also download a hosts file (google one) and put it in /system/etc. This is what that program does for you.
Sent from my HTC Vision
any chance of a .zip? i dont know how to use adb
ADB Works/Copy+Paste, Normal Install Does NOT Work
I’m running GingerVillain 1.4 and it worked for me, but let me venture a guess here: you tried to put the apk into system/app via Root Explorer/ES File Manager/Whatever. Either that or you tried installing the apk as you would install any other apk. Am I right?
I did the same thing, and I ran into the same problem you did. I have no idea why, though I’m sure there is good reason. However, if you uninstall AdFree and then use ADB as directed above it will work just fine. You won’t have to install it or anything; it just magically appears in the application drawer as if you had never uninstalled it in the first place.
ADB works, but RootExplorer-style Copy/Paste does not.
Hope that helps,
-Newbie
I got a mT4G with gingy and adfree works fine. I think one of the updates they did, some ppl were having problems with
4gCM7
I followed the instructions on a G2 with Gingervillain 1.4 and it worked perfectly.
FYI: copying and pasting with Root Explorer doesn't work.
I was lazy, but ended up having to use the adb method.
xomikronx said:
FYI: copying and pasting with Root Explorer doesn't work.
I was lazy, but ended up having to use the adb method.
Click to expand...
Click to collapse
Hmmn...I was able to copy/paste it with ES File Explorer though I didn't uninstall the Market version first. Fixed the issue for me though, so it must have worked.
Worked without a problem, thanks
Sent from my HTC Vision using XDA App
JustAnotherNewbie said:
I’m running GingerVillain 1.4 and it worked for me, but let me venture a guess here: you tried to put the apk into system/app via Root Explorer/ES File Manager/Whatever. Either that or you tried installing the apk as you would install any other apk. Am I right?
I did the same thing, and I ran into the same problem you did. I have no idea why, though I’m sure there is good reason. However, if you uninstall AdFree and then use ADB as directed above it will work just fine. You won’t have to install it or anything; it just magically appears in the application drawer as if you had never uninstalled it in the first place.
ADB works, but RootExplorer-style Copy/Paste does not.
Hope that helps,
-Newbie
Click to expand...
Click to collapse
You nailed it! I used ADB and it's working now. Thanks!
You can put the apk in the root of your sd card and run these commands in terminal if you don't want to use adb:
Su
cd /sdcard
mount -o remount, rw /system
install AdFree.MCR.apk /system/app
You can also make a gscript script with those commands if you constantly flash the GB updates like me. =P
Yay! Thankyouthankyouthankyouthankyou.
So happy to have this back on gingerbread.
Thanks very much
Works perfectly thank you
Sent from my HTC Vision using XDA App
Thanks a lot! Been tryin' to fix this the whole day. God bless you
rUsTyRuSs said:
You can put the apk in the root of your sd card and run these commands in terminal if you don't want to use adb:
Su
cd /sdcard
mount -o remount, rw /system
install AdFree.MCR.apk /system/app
You can also make a gscript script with those commands if you constantly flash the GB updates like me. =P
Click to expand...
Click to collapse
thank you!
Adb pushing or installing from terminal did not work for me. As in, after uninstall of original and following steps, AdFree did not show up in the app list
However,
What I did was this...
su
mount -o remount,rw /system
rm /system/app/AdFree.MCR.apk
install /sdcard/download/AdFree.MCR.apk /system/app/
reboot
Then I installed from market
Not only did it show back up in the app list but no errors were given when updating the hosts file...
Hope this helps!
Sent from me HTC Vision using CM7 Nightly
Final Fix!
AdFree has been upgraded. Uninstall your previous version of AdFree, go to Market and download the new version and it will work just fine. (Supposedly trying to update an old AdFree to the new version won't fix it.)
Troggie81 said:
You nailed it! I used ADB and it's working now. Thanks!
Click to expand...
Click to collapse
^.^ Anytime, I'm happy to help.
rUsTyRuSs said:
You can put the apk in the root of your sd card and run these commands in terminal if you don't want to use adb:
Su
cd /sdcard
mount -o remount, rw /system
install AdFree.MCR.apk /system/app
You can also make a gscript script with those commands if you constantly flash the GB updates like me. =P
Click to expand...
Click to collapse
I think that will be my job for today, looking into gscripts.
Just out of curiosity though, why is it that using RootExplorer/etc to move the .apk to /system/apps work?
I figure I could have installed it after the movie to make up for the install command. (And ES File Manager generally has no problem moving things to root areas.)
Always good to know -why- something is the way it is. I have a tendency to ignore reasons without explanations, and that has backfired a few times.
Or I can dig around XDA to find the answer; there be knowledge in these here forums.
Either way, thanks!
-Newbie

[Q] Unable to mount sys to RW permission... Help

I've looked and looked so please don't flame me if I missed it.
I have an EVO rooted with unrevoked3, Myn's warm 2.2 rom, aman-ra recovery, and netarchy-toastmod-4.3-bfs-havs-more-sbc-universal-signed, kernel.
I am trying to do a few things in the system folder and every time I try it says insufficient permissions. I've tried spare parts mount and remount commands and I've tried using a terminal emulator. No go. I'm not sure if its busybox (i am using 1.17) cause when I try to install 1.18 it says it can't mount. Then my wifi stops working and setcpu no longer works. AHHHH.
Any help would be awesome.
Bountyhunter1000 said:
I've looked and looked so please don't flame me if I missed it.
I have an EVO rooted with unrevoked3, Myn's warm 2.2 rom, aman-ra recovery, and netarchy-toastmod-4.3-bfs-havs-more-sbc-universal-signed, kernel.
I am trying to do a few things in the system folder and every time I try it says insufficient permissions. I've tried spare parts mount and remount commands and I've tried using a terminal emulator. No go. I'm not sure if its busybox (i am using 1.17) cause when I try to install 1.18 it says it can't mount. Then my wifi stops working and setcpu no longer works. AHHHH.
Any help would be awesome.
Click to expand...
Click to collapse
Have you tried using a root level file explorer (root explorer or ES file explorer?). I use root explorer, which costs a few bucks, but is well worth it IMO. You can make any changes in the system folder you need to, just click the button that says mount r/w.
Hum... I will try that. I kinda was thinking that spare parts did the same thing. I will try this asap and let you know.
Thanks for the quick reply, I appreciate it.
Bountyhunter1000 said:
Hum... I will try that. I kinda was thinking that spare parts did the same thing. I will try this asap and let you know.
Thanks for the quick reply, I appreciate it.
Click to expand...
Click to collapse
Your welcome. Hope it works for ya. And as I said, root explorer costs a couple bucks, but ES file explorer is free I believe, but I've never used that one before.
SIMPLE SIMPLE!!! I just got root explorer and worked just fine. I guess spare parts and the emulator only give temp rw permission when the you close them it goes away... makes sense to me even if its not right.
Thanks again!!!
Greg
Bountyhunter1000 said:
SIMPLE SIMPLE!!! I just got root explorer and worked just fine. I guess spare parts and the emulator only give temp rw permission when the you close them it goes away... makes sense to me even if its not right.
Thanks again!!!
Greg
Click to expand...
Click to collapse
Sweet, glad it worked for you. Yea, Root Explorer is one of the most useful apps I have. It's awesome, for sure. One thing to keep in mind, sometimes when placing an app in the system/app folder, you need to long press on that app, then select permissions, and be sure that User: read and write are both checked. Sometimes they aren't for some reason, and the change you made won't show up. Just something too keep in mind.

[Q] Acer A100 on ICS and Rooted but unable to rename files

Hello, I was recently able to upate my A100 to ICS. I followed the root instructions in the developer section and it worked great. Both Titanium Backup and Superuser say I'm rooted but I can't move/rename the wpa_supplicant file. I really need to be able to use ad hoc to tether to my phone. Did I do something wrong in rooting my tablet? Any help would be much appreciated.
Thanks.
You need to mount system as r/w. Which file manager are you using?
Sent from my LG-P999 using Tapatalk 2
How do I enable that? I'm using Root Browser, I never had to do that before in HC...it just worked lol. Thanks for the help.
DravenAcer said:
How do I enable that? I'm using Root Browser, I never had to do that before in HC...it just worked lol. Thanks for the help.
Click to expand...
Click to collapse
I personaly used Root Explorer, its free and it has a friendly little buttong that has R/o R/W which allows you to read only to read and write
I redid the root and reinstalled Superuser, Root Browser, Titanium and Terminal...they all I'm rooted but when I try to move or rename the wpa_supplicant file it says failed. When I try to mount on Terminal it says it can't because I don't have root. What's going on lol? Did I do something wrong or is my version of ICS incompatible with the rooting method? Please help...
DravenAcer said:
I redid the root and reinstalled Superuser, Root Browser, Titanium and Terminal...they all I'm rooted but when I try to move or rename the wpa_supplicant file it says failed. When I try to mount on Terminal it says it can't because I don't have root. What's going on lol? Did I do something wrong or is my version of ICS incompatible with the rooting method? Please help...
Click to expand...
Click to collapse
I noticed the same problem with Root Browser. It is probably not using the standard /system/bin/mount or /system/xbin/mount. Also it may be ZeroNulls mount script not taking in account for all possible mount scenarios. You could try my mount script in this thread forum.xda-developers.com/showthread.php?t=1512787 and replace your /system/bin/mount and /system/xbin/mount.
If you are sure it's rooted then remounting from a terminal will work. Are you typing su before trying to remount?
If you are and it still doesn't work try this instead
Code:
$ su
# mount -o remount,rw /dev/block/mmcblk0p3 /system/
BTW root explorer is not free
eww245 said:
I noticed the same problem with Root Browser. It is probably not using the standard /system/bin/mount or /system/xbin/mount. Also it may be ZeroNulls mount script not taking in account for all possible mount scenarios. You could try my mount script in this thread forum.xda-developers.com/showthread.php?t=1512787 and replace your /system/bin/mount and /system/xbin/mount.
If you are sure it's rooted then remounting from a terminal will work. Are you typing su before trying to remount?
If you are and it still doesn't work try this instead
Code:
$ su
# mount -o remount,rw /dev/block/mmcblk0p3 /system/
BTW root explorer is not free
Click to expand...
Click to collapse
Thanks for your help. I didn't know I had to type 'su' first lol. That worked...kinda. Because I have to retype that everytime I rename or move something. Is that some kind of bug in the script?
DravenAcer said:
Thanks for your help. I didn't know I had to type 'su' first lol. That worked...kinda. Because I have to retype that everytime I rename or move something. Is that some kind of bug in the script?
Click to expand...
Click to collapse
Yes that is a bug in the script. Using my mount script Root Browser is able to modify /system files.
Looks like the old wpa_supplicant file isn't working. I did a search but haven't found any yet that work. Has anyone been able to activate ad-hoc on their A100 with ICS?
eww245 said:
Yes that is a bug in the script. Using my mount script Root Browser is able to modify /system files.
Click to expand...
Click to collapse
Yes, that worked great! Thank you.

How do I set /system as Rw?

I keep trying to edit build.prop on my 5x as I've done on previous devices in the past. Going through file explorers setting it to Rw doesn't actually change it. Does anyone know how to actually set it as rw so it can be modified? I'm trying to add eis, if anyone else has tried.
Thanks!
Atemi1337 said:
I keep trying to edit build.prop on my 5x as I've done on previous devices in the past. Going through file explorers setting it to Rw doesn't actually change it. Does anyone know how to actually set it as rw so it can be modified? I'm trying to add eis, if anyone else has tried.
Thanks!
Click to expand...
Click to collapse
are you sure you are properly rooted? what method did you use?
do other root apps work as intended, which file explorers are you talking about, are you on stock?
just asking, since there are root procedures around through which you funnily enough end up with a r/o rooted device. also the more relevant information you give, the easier it is to help.
Broken303 said:
are you sure you are properly rooted? what method did you use?
do other root apps work as intended, which file explorers are you talking about, are you on stock?
just asking, since there are root procedures around through which you funnily enough end up with a r/o rooted device. also the more relevant information you give, the easier it is to help.
Click to expand...
Click to collapse
I followed a guide in November, don't remember which. All done through adb. All root apps work fine, xposed, titanium Backup, etc. I've tried stock, es file explorer and FX file explorer. Also for giggles I tried Rom Toolbox Pro. Also, in twrp it does say I'm not encrypted.
When trying to edit the file, it only gives me a cannot modify file error.
Atemi1337 said:
I followed a guide in November, don't remember which. All done through adb. All root apps work fine, xposed, titanium Backup, etc. I've tried stock, es file explorer and FX file explorer. Also for giggles I tried Rom Toolbox Pro. Also, in twrp it does say I'm not encrypted.
When trying to edit the file, it only gives me a cannot modify file error.
Click to expand...
Click to collapse
Did you mount system rw before trying to edit the file?
In ES it's under Tools > turn root explorer on, then tap it and mount rw
Same for me...
berndblb said:
Did you mount system rw before trying to edit the file?
In ES it's under Tools > turn root explorer on, then tap it and mount rw
Click to expand...
Click to collapse
Using ES worked perfectly. No other actually worked. Many thanks!

Categories

Resources