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.
Related
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
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
I know this probably sounds crazy, but my EVO is rooted (has been for months) and I used to have r/w access on system, app, etc. Now I can not get r/w access (tried mount r/w from market, mount command in term emulator). I've tried multiple roms (Myn's, Ava, CM 6.1.1, CM 7 RC1, Sprint lover's) and can not get it to work. I used Unrevoked to root and unrevoked forever...Any ideas? (and yes, i've searched)
I know you said you've already used term emulator but you can try ES file manager, it's free in the market. There's an "experimental" feature where you can mount it r/w and I just used it to paste a widget.txt file in the system folder to change my power widgets in MikFroyo and it worked like a charm... Worth a try
you might want to check in the bootloader screen just to make sure that S-OFF.... maybe unrevoked forever didnt take for some reason..??.
Just throwing out ideas, good luck
Yup...i've tried that as well...and I am S-Off...let me clarify something though...I am able to write to /System, but not /System/App or anything else under system. Is that not inherent? or maybe i'm just totally not thinking straight and i need to go back to Android 101 lol
Try using root explorer this works great. Just press R/W button at top off screen.
Sent from my PC36100 using XDA App
mmarks9156 said:
Try using root explorer this works great. Just press R/W button at top off screen.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
^This.
I had the same issue. Root explorer works well.
I just switched from my M7 to the M8 yesterday. I was excited to have the external SD for saving pictures, moving apps, but mostly to host my backups. I have since unlocked my bootloader and rooted the device. Unfortunately I'm unable to write any back ups through TWRP to the card. I was wondering if anyone found any fixes? I've already tried SDFix but it seems not to work with our device. Any help would be appreciated!
Sidenote: I know this probably belongs under development but I'm unable to post yet as my post count is too low. Thanks again!
iNiREALiZED said:
I just switched from my M7 to the M8 yesterday. I was excited to have the external SD for saving pictures, moving apps, but mostly to host my backups. I have since unlocked my bootloader and rooted the device. Unfortunately I'm unable to write any back ups through TWRP to the card. I was wondering if anyone found any fixes? I've already tried SDFix but it seems not to work with our device. Any help would be appreciated!
Sidenote: I know this probably belongs under development but I'm unable to post yet as my post count is too low. Thanks again!
Click to expand...
Click to collapse
You will need to edit platform.xml file in/system/etc. Are you comfortable ?
I'm not sure. If there was a tutorial that was available I could possibly follow it. Otherwise is this something that could be included in future rom builds? I wouldn't mind waiting.
Sent from my HTC One_M8 using xda app-developers app
iNiREALiZED said:
I'm not sure. If there was a tutorial that was available I could possibly follow it. Otherwise is this something that could be included in future rom builds? I wouldn't mind waiting.
Sent from my HTC One_M8 using xda app-developers app
Click to expand...
Click to collapse
Look for nextapp's SDFix in the play store.. Root and system write protection off is required. It basically edits the file for you (also backs up the original)
silentvisitor said:
You will need to edit platform.xml file in/system/etc. Are you comfortable ?
Click to expand...
Click to collapse
Could you detail the edits for reference anyway please? I'll need to know shortly too.
graffixnyc said:
Look for nextapp's SDFix in the play store.. Root and system write protection off is required. It basically edits the file for you (also backs up the original)
Click to expand...
Click to collapse
The app worked for me!
graffixnyc said:
Look for nextapp's SDFix in the play store.. Root and system write protection off is required. It basically edits the file for you (also backs up the original)
Click to expand...
Click to collapse
Thanks for the help. I tried sdfix this morning. It kept failing and rebooting. I'm rooted but if you could explain how I turn write protection off that would be awesome!
iNiREALiZED said:
Thanks for the help. I tried sdfix this morning. It kept failing and rebooting. I'm rooted but if you could explain how I turn write protection off that would be awesome!
Click to expand...
Click to collapse
the quick way? go to the module thread in Original development and follow the instructions. You'll have to do it at every boot though unless you're on a rom that supports init.d support. If you're on stock I made a guide to disable it on boot automatically without init.d support
My guide: http://forum.xda-developers.com/showthread.php?t=2702575
graffixnyc said:
the quick way? go to the module thread in Original development and follow the instructions. You'll have to do it at every boot though unless you're on a rom that supports init.d support. If you're on stock I made a guide to disable it on boot automatically without init.d support
My guide: http://forum.xda-developers.com/showthread.php?t=2702575
Click to expand...
Click to collapse
Sorry if I'm missing something totally obvious. I went and read the thread. I download the file with extension .ko. Copied it to root of internal memory. Opened up terminal app and typed "sh" then used command "insmod /storage/sdcard0/wp_mod.ko"
Am I missing something?
iNiREALiZED said:
Sorry if I'm missing something totally obvious. I went and read the thread. I download the file with extension .ko. Copied it to root of internal memory. Opened up terminal app and typed "sh" then used command "insmod /storage/sdcard0/wp_mod.ko"
Am I missing something?
Click to expand...
Click to collapse
su
not sh..
type su
hit enter
then type
insmod /storage/sdcard0/wp_mod.ko it wont show you any output or anything.. if it brings your back to the terminal prompt it ran right
graffixnyc said:
su
not sh..
type su
hit enter
then type
insmod /storage/sdcard0/wp_mod.ko it wont show you any output or anything.. if it brings your back to the terminal prompt it ran right
Click to expand...
Click to collapse
I tried it again using "su". I'm pretty sure that is what I used the first time as well because when I entered the command the super user prompt came up to allow access for terminal. Same results. Didn't see any confirmation. Exited app and tried running SDFix and failed again. I then followed your link to your thread and followed step by step. Got all the way to the point where I was trying to save the text document at the end and got the prompt that I could not save the file.
I'm usually pretty good at following tutorials and I'm sure I'm not skipping steps but who knows. I think this one has me defeated lol.
If you put it on your SD card try just /sdcard/wp_mod.ko
Sent from my HTC One using Tapatalk
If you run the command.. And then run it again. It will tell you it already exists that's how I figured out it ran ok..
Sent from my HTC One using Tapatalk
backfromthestorm said:
Could you detail the edits for reference anyway please? I'll need to know shortly too.
Click to expand...
Click to collapse
Sure. Here it is:
You need to make following change to platform.xml in /system/etc.
Add <group gid="Media_rw"/> under WRITE_EXTERNAL_STORAGE and WRITE_MEDIA_STORAGE(or similar).
Save. Set Permission to rw-r-r or 644.
Reboot and Enjoy
Good luck :good:
silentvisitor said:
Sure. Here it is:
You need to make following change to platform.xml in /system/etc.
Add <group gid="Media_rw"/> under WRITE_EXTERNAL_STORAGE and WRITE_MEDIA_STORAGE(or similar).
Save. Set Permission to rw-r-r or 644.
Reboot and Enjoy
Good luck :good:
Click to expand...
Click to collapse
Well I ran through both tutorials (yours and the others) once again. Entered the command twice to confirm and got the message "failed file already exists". So I'm assuming that part went through fine but still unable to run SDFix successfully or edit the install_recovery.sh file. Wouldn't allow me to save through es text edit or the standard one.
So now I'm trying to manually change the platform.xml file. When I navigate to system/etc I don't see any file named "platform.xml". Also tried a search through es file explorer and couldn't find any file. Any thoughts?
iNiREALiZED said:
Well I ran through both tutorials (yours and the others) once again. Entered the command twice to confirm and got the message "failed file already exists". So I'm assuming that part went through fine but still unable to run SDFix successfully or edit the install_recovery.sh file. Wouldn't allow me to save through es text edit or the standard one.
So now I'm trying to manually change the platform.xml file. When I navigate to system/etc I don't see any file named "platform.xml". Also tried a search through es file explorer and couldn't find any file. Any thoughts?
Click to expand...
Click to collapse
My apologies.
Its /system/etc/Permission/platform.xml
iNiREALiZED said:
Well I ran through both tutorials (yours and the others) once again. Entered the command twice to confirm and got the message "failed file already exists". So I'm assuming that part went through fine but still unable to run SDFix successfully or edit the install_recovery.sh file. Wouldn't allow me to save through es text edit or the standard one.
So now I'm trying to manually change the platform.xml file. When I navigate to system/etc I don't see any file named "platform.xml". Also tried a search through es file explorer and couldn't find any file. Any thoughts?
Click to expand...
Click to collapse
Are you mounting it as r/w in the file explorer? It doesn't seem like you're doing that. I know the module works.. You can't just install the module and it's magically writable.. you still have to make it r/w in a file explorer before you make any changes. I don't use es. I use root explorer and there is a r/w button on top.
graffixnyc said:
Are you mounting it as r/w in the file explorer? It doesn't seem like you're doing that. I know the module works.. You can't just install the module and it's magically writable.. you still have to make it r/w in a file explorer before you make any changes. I don't use es. I use root explorer and there is a r/w button on top.
Click to expand...
Click to collapse
Wow. Excuse my ignorance. I wasn't doing that. I downloaded root explorer and used the button to mount as you mentioned and viola I was able to save the edits! I'm now able to create folders on the ext SD. Still get an error when trying to backup from twrp but I guess that's an issue for another day.
I really appreciate all the help!
iNiREALiZED said:
Wow. Excuse my ignorance. I wasn't doing that. I downloaded root explorer and used the button to mount as you mentioned and viola I was able to save the edits! I'm now able to create folders on the ext SD. Still get an error when trying to backup from twrp but I guess that's an issue for another day.
I really appreciate all the help!
Click to expand...
Click to collapse
As of now recovery doesn't support exfat formatted cards, If your sd card is formatted as exfat it will fail in recovery. You need to either format your external sd card to fat32 or just wait until the recovery is updated to support exfat. It will once they get kernel source code
graffixnyc said:
As of now recovery doesn't support exfat formatted cards, If your sd card is formatted as exfat it will fail in recovery. You need to either format your external sd card to fat32 or just wait until the recovery is updated to support exfat. It will once they get kernel source code
Click to expand...
Click to collapse
How far out do you think that is? I was figuring I could just get a cheaper card for my backups. Only thing is if I remember correctly Fat32 only supports up to 4GB files correct? I remember my backups being a tad over that so getting another card might not even make a difference.
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.