adb commands - Nexus S General

I'm trying to rename the recovery install script in the /etc folder so I can flash clockwork recovery and have it stick..but my root explorer apps (es file explorer & Android mate) won't mount to my system and I can't buy apps on the market so I can't get root file explorer app..so is there a way for me to rename that with in adb or something and if so can you show me what to type in my cmd...thanx

Related

Can't delete with root explorer

I'm trying to delete a default application from my droid (WriteandGo) by deleting both the .apk and .odex file from /system/app using root explorer.
The phone is rooted, in Root Explorer and the partition appears mounted as r/w. When I delete both files it works fine and they disappear, but when I go back and then return to the app folder the files are there again. The application never gets uninstalled.
Any ideas?
Thanks!
Use titanium backup to uninstall sytem apps..
Thanks, it does work, but I'm curious as to why root explorer is failing to delete the files..
Neojag said:
I'm trying to delete a default application from my droid (WriteandGo) by deleting both the .apk and .odex file from /system/app using root explorer.
The phone is rooted, in Root Explorer and the partition appears mounted as r/w. When I delete both files it works fine and they disappear, but when I go back and then return to the app folder the files are there again. The application never gets uninstalled.
Any ideas?
Thanks!
Click to expand...
Click to collapse
That is because the /system partition is mounted read only.
To mount read-write, install ADB.
Set phone to USB debug.
Then:
> adb shell
$ su
# mount -o remount,rw /dev/block/stl6 /system
Then go the the appropriate directory and remove the files with "rm".
So the info Root Explorer is supplying (that the partition is mounted as r/w) is wrong? That's odd, because I've managed to copy a file to /system/etc/.

[Q] Trouble installing 19mountsdboot script

The instructions for installing 19mountsdboot are found here: http://forum.xda-developers.com/showthread.php?p=22858059#post22858059
I unrared 19mountsdboot-rev2.rar, and 19mountsdboot is in /sdcard/Download.
My problem is when I try to copy that file to /etc/init.d. Using Terminal Emulator,
cd /etc/init.d
cp /sdcard/Download/19mountsdboot .
cp: can't create './19mountsdboot': Read-only file system
Using ES File Explorer, I also get a "Read-only file system" error.
What am I missing?
Thanks
OrionNav said:
The instructions for installing 19mountsdboot are found here: http://forum.xda-developers.com/showthread.php?p=22858059#post22858059
I unrared 19mountsdboot-rev2.rar, and 19mountsdboot is in /sdcard/Download.
My problem is when I try to copy that file to /etc/init.d. Using Terminal Emulator,
cd /etc/init.d
cp /sdcard/Download/19mountsdboot .
cp: can't create './19mountsdboot': Read-only file system
Using ES File Explorer, I also get a "Read-only file system" error.
What am I missing?
Thanks
Click to expand...
Click to collapse
/etc/init.d is a root location. You must have root access and /system set to r/w.
So set terminal emulator in su (root) mode. Type su enter and the prompt will change to a #. Then you can try it. Set /system to r/w.
Also ES File Explorer must also be put in root mode and set /system to r/w before you can do it.
Edit: if you use the flashable zip, it does everything for you. Just put that zip into the boot partition of the SD and boot to SD recovery. It will install automatically. And it puts it in /data so it survives the update to a new ROM. I highly recommend you use that method.
Sent from my Nook HD+ running CM10.1 on emmc.

es file explorer access denied

hello
i have nexus 4 4.3 it's rooted and i used to do all read/write/delete on to my root dirctory wiht ES file now the when i try to do anything of that i ger faild/denied/you dont have permision, also rom mnager i cant delete any saved rom backup access denied,
please advise
On your su app do you have root access to prompt or grant change to prompt I had that problem. Also in the new version of es you have to go to tools- root explorer(make sure its on)- then click on the words root explorer to open the menu to mount it as writeable
Sent from my Nexus 4 using Tapatalk
all setting is okay!!
No accesses
Sounds like your on an older version of es file explorer.
On the latest, hit the top left icon for the fast access menu, touch the root explorer entry then the mount system entry, select both the rw boxes.
i'm on latest version and just yesterday i was able to accesses all file permissions

[Q] Modifying System Files

Would someone please tell me how to change permissions on a read-only system file? I logged into and adb shell, I have root, but I could not execute this command: "chmod 777 HotspotProvision.apk" or "mv HotspotProvision.apk". I get an error saying the file is read-only.
I am trying to follow the instructions in this thread:
http://forum.xda-developers.com/showthread.php?t=2456338
I also could not change the file name using Astro file manager.
Root explorer or root browser from the market will let you mount system r/w
Sent from my LG-LS980

Unable to replace system files

I am trying to flash a touchwiz launcher and it succeeds in flashing in recovery but the files are not getting put into priv-app folder.
also, trying a copy paste using root explorer but it fails.
some files get copied but for some reason touchwiz launcher does not, any idea why?
Does Root Explorer have any option to remount /system with write permission? Nearly all File Managers with root access do it that way.
It looks like your /system is still mounted read-only. What exactly is being copied over?
Also, you can "adb shell" to the phone while on recovery, that way you have full access on the phone.

Categories

Resources