unable to delete persistent file - Syntax error: "(" unexpected - Samsung Galaxy W I8150

hi, pls help. any advise thks.
any ideas how to get rid (delete) pre-load app file name EzLinkAndroid_v1.0_(2).apk.
it give this syntax error: "(" unexpected when i try to manual remove it (in system/app folder).
i use "root uninstall" app to removed most of pre-load apps tat i dun need.
left this persistent app tat cant be delete.
manually try to delete under "su", cant delete.
cant change filename, cant chmod, came out with syntax error: "(" unexpected.
stock GB 2.3.6, kernel 2.6.35.7 dxlm3.

LOL SBS doesn't want you to remove its stuff. Anyway, check if you mounted R/W. Try other root uninstaller like ES File Explorer. Try Terminal Emulator.

iDelta said:
LOL SBS doesn't want you to remove its stuff. Anyway, check if you mounted R/W. Try other root uninstaller like ES File Explorer. Try Terminal Emulator.
Click to expand...
Click to collapse
i tried with several root uninstaller apps, manually terminal emulator too.
now try to access phone root with pc/android commander but not able to get root with the program need to hard root the phone with boot.img hack.
my phone is already rooted, i removed several pre-loaded apps, only one left.

saintsoh said:
i tried with several root uninstaller apps, manually terminal emulator too.
now try to access phone root with pc/android commander but not able to get root with the program need to hard root the phone with boot.img hack.
my phone is already rooted, i removed several pre-loaded apps, only one left.
Click to expand...
Click to collapse
Seems like your filesystem got corrupted somehow. Probably formating the system partition and restoring a backup or reflashing the rom will be the only solution that will work.

thks anyway.
i suspect its the font of the file name tat causes the syntax error.
happen b4 on other files which i was working on, those i can correct by renaming it.
in this case, i just leave it be. since i had ridden most of unwanted apps my phone.
my phone is running faultlessly.
thks guys.

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

How to install sprint wifirouter back?

I deleted the app with titanium backup and didn't back it up. Now I want it back and don't feel like flashing Ava9 rom again. I tried copying the stock APK from the rom and pasting it on system/apps folder with root explored and it won't install after I open it.
Any idea on how I can restore it.
I'm having a similar problem w/ mail.apk. I did however make a Ti Backup first, but now it is gone. I tried installing mail.apk from the OTA 2.2 update, but it fails.
Will simply dropping the apk and odex in /system/apps work?
Sorry for the hijack, but I'm guessing the solution will be the same for both of us.
edits:
I've tried the root options in ES FileExplorer, but that doesn't seem to work.
adb push tells me "Read-only file system"
adb remount gives "remount failed: Operation not permitted"
adb root says "adbd cannot run as root in production builds"
How can I make /system writable?

Root Explorer Error

I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Marcg23 said:
I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Are you trying to delete system files? Do you have SU installed? Are you clicking the R/W option. More details please.....
Several people have reported the issue with screen shot, to fix it they've had to rename the pictures folder(Seems like the folder is read only).
Swiftkey'ed on my CM9 Galaxy Nexus
No system files just old pictures, music files and other misc. It is set as r/w, also I am getting a few apps saying I need storage available that is writable. Something has to be up with the internal storage not allowing me to access or write to it.
Sent from my Galaxy Nexus
Well I am able to take screen shots by renaming he folder. However, I am still unable to write anything to my sdcard or modify files through root Explorer or any other file manager app.
Sent from my Galaxy Nexus
Root explorer - How to text edit
Hi All,
I have a problem with my root explorer. I am not able to open a file to edit. If i long press on a file , i dont get any option to open/edit the file.
i was supposed to edit gps.conf file under /system/etc but unable to do so from root explorer.
PS: i mount r/w from the root explorer every time i try..
Please help.
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
root explorer delete failed
danger-rat said:
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
Click to expand...
Click to collapse
i'm having this crazy "delete failed" error every time i try to delete any file in sdcart, external, and root directory (copy-paste, root, permissions works fine )
i tried to delete any remains of root explorer with es file explorer ((which works fine btw so its not a problem of partitions i think), re installed the program again but its the same . Flashed the rom from the beginning with a full wipe but its the same
this error happened first when i updated from blackmart alpha to some rootexplorer v.99. I uninstalled that but it left this error
Any idea what is causing that
I'm very curious and would appreciate it
thanks
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
rester555 said:
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
Click to expand...
Click to collapse
^^^^ this
Thank you rester, this worked for me too. Was pulling my hair out.

Help with swapping int mem and SD card

New to all this so proceeding slow and cautiously. Recently rooted my Acer A100 with ota ICS installed. When trying to swap SD card and internal memory using Crossix directions I ran into an error msg that I haven't seen posted by anyone. The only difference I can find is his directions recommend using Root Explorer and I am currently using Root Browser Lite. Anyway when I go to rename install-recovery.sh to .bak it says Root Browser Lite is granted Superuser access but the operation fails. I looked at the Permissions for the file and they are rwxr--r-- I tried to change the Permissions to rwxrwxrwx and got an error msg that said "Changing permissions was not successful. Please note that some file systems do not allow permission changes." Would using Root Explorer change anything? Any help or suggestions would be appreciated.
Sounds like a root issue, try rebooting, opening superuser first then try.... unless you already put the file there and permissions aren't correct, that will brick you! If you already did force close super user. Remember if all else fails you can use Adb.
sent from your future.
apsiape said:
New to all this so proceeding slow and cautiously. Recently rooted my Acer A100 with ota ICS installed. When trying to swap SD card and internal memory using Crossix directions I ran into an error msg that I haven't seen posted by anyone. The only difference I can find is his directions recommend using Root Explorer and I am currently using Root Browser Lite. Anyway when I go to rename install-recovery.sh to .bak it says Root Browser Lite is granted Superuser access but the operation fails. I looked at the Permissions for the file and they are rwxr--r-- I tried to change the Permissions to rwxrwxrwx and got an error msg that said "Changing permissions was not successful. Please note that some file systems do not allow permission changes." Would using Root Explorer change anything? Any help or suggestions would be appreciated.
Click to expand...
Click to collapse
Check mount r/w while in /system.
Tapatalked from my Galaxy S II.
Thanks
Thanks. That did it. Was trying to change it in the etc folder but not under the system parent folder. You guys are great!!!
apsiape said:
Thanks. That did it. Was trying to change it in the etc folder but not under the system parent folder. You guys are great!!!
Click to expand...
Click to collapse
Its because /system is a partition, not a directory, so you have to mount the partition r/w to get it in the folders and files on it.
Tapatalked from my Galaxy S II.

[Q] Can't rw on /system

I backed up and then deleted my play store using titanium backup but when I went to restore it it wouldn't let me. So I tried to move it to system/apps using a few file explorers like root explorer,Es explorer and super manager but non of them let me put system folder into rw mode , and yes I did give all of them root rights. I also tried to use the adb command on the terminal with su rights but that did nothing, does anyone have any advice besides reseting my phone.i am also running Jedi mind trick x3(i know I need to update)
erden99 said:
I backed up and then deleted my play store using titanium backup but when I went to restore it it wouldn't let me. So I tried to move it to system/apps using a few file explorers like root explorer,Es explorer and super manager but non of them let me put system folder into rw mode , and yes I did give all of them root rights. I also tried to use the adb command on the terminal with su rights but that did nothing, does anyone have any advice besides reseting my phone.i am also running Jedi mind trick x3(i know I need to update)
Click to expand...
Click to collapse
In ES, you have to go to 'Root Explorer' under 'Tools', then 'Mount R/W', then use the radio buttons to give it write permissions (given that you have root already).
treefrog321 said:
In ES, you have to go to 'Root Explorer' under 'Tools', then 'Mount R/W', then use the radio buttons to give it write permissions (given that you have root already).
Click to expand...
Click to collapse
Exactly what I did ,i allows access to all the others and system but as soon as I press ok and go back to check the permissions again system is the only one that reverts back to read only
erden99 said:
Exactly what I did ,i allows access to all the others and system but as soon as I press ok and go back to check the permissions again system is the only one that reverts back to read only
Click to expand...
Click to collapse
I have this problem too! I am currently trying to uninstall the system youtube app because it wont let me install the new 5.0 update without doing that as I have a modded youtube apk. I am on AOKP custom ROM

Categories

Resources