this was what happened
i rooted my samsung galaxy pocket gt-s5300 succesfully
i replaced superuser.apk file in "system\app" by new one
and again i copied new binary file "su" in system\bin.previously there was not su file in this directory
when i restart it superuser permission denied everything.and so now i cannot delete the su binary file i copied in system\bin directory
do anyone know the solution for this?
GAEENG said:
this was what happened
i rooted my samsung galaxy pocket gt-s5300 succesfully
i replaced superuser.apk file in "system\app" by new one
and again i copied new binary file "su" in system\bin.previously there was not su file in this directory
when i restart it superuser permission denied everything.and so now i cannot delete the su binary file i copied in system\bin directory
do anyone know the solution for this?
Click to expand...
Click to collapse
Really really really wrong section!!!!! This is not you're device thread!!
With that being said.
U should have not replaced anything!
Re-root your phone than swap your root control app or update the existing one. As u need one to allow permissions to the other!!
After that use tit backup and uninstall the other superuser app
Take care and pay attention to where are u posting
Sent from my GT-I9300 using xda premium
ver3go said:
really really really wrong section!!!!! This is not you're device thread!!
With that being said.
U should have not replaced anything!
Re-root your phone than swap your root control app or update the existing one. As u need one to allow permissions to the other!!
After that use tit backup and uninstall the other superuser app
take care and pay attention to where are u posting
sent from my gt-i9300 using xda premium
Click to expand...
Click to collapse
thank u my friend.
I really dont know where to post.i searched for almost 3 days.
Could u guide me?pls.
Thank u again
Sit tight. Mods have been asked to move your thread to the appropriate forum, they'll do it soonish.
Ver3go said:
Really really really wrong section!!!!! This is not you're device thread!!
With that being said.
U should have not replaced anything!
Re-root your phone than swap your root control app or update the existing one. As u need one to allow permissions to the other!!
After that use tit backup and uninstall the other superuser app
Take care and pay attention to where are u posting
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I FINALY FOUND MY PROBLEM
I have two binaries one in /system/xbin/su and the other in /system/bin/su
#ls -l /system/*/su gives me this:
-rwxrwxr- system sdcard_rw 380532 2013-05-22 17:13 su
-rwsr-xr-x root root 22236 2013-05-22 17:13 su
#chmod 06775 /system/bin/su gives me this:
unable to chmod /system/bin/su: readonly filesystem
#echo $PATH gives me this
/system/bin/su: /system/Xbin/su
so what should i do next?
is it possible to swap the path variables
i mean to make "echo $path give /system/Xbin/su:/system/bin/su"
10Q
Related
Anyone has the native camera apk? I deleted mine being a idiot, and I know I can just use the update service and repair but truthfully that's a lot work because of restoring data, root etc when I can just install one app :-\
(I have this thread in general but I'm making it in here too because I'm not sure if general was the right place to post it and its important so I didn't want to wait for it to be moved if it ever will)
http://db.tt/o101Pz9
Hope it works!!
Sent from my rooted 026 X10i using swype via Xda
Woops just realised .odex file is there n al.. im guessing ud need that n al
http://db.tt/jOlRLno
Sent from my rooted 026 X10i using swype via Xda
thank you but it won't install. Sigh I'll just have to do it the hard way =/
You might need to push them both to /system/app/ (in root directory before sdcard) n then try instal using root explorer or similar?
Sent from my rooted 026 X10i using swype via Xda
I tried all of that but it didn't work
hi maybe you must give the apk and odex permissions
put the two files apk and odex on your sdcard
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
dd if=/sdcard/SemcCameraApplication.apk of=/system/app/SemcCameraApplication.apk
chmod 644 /system/app/SemcCameraApplication.apk
dd if=/sdcard/SemcCameraApplication.odex of=/system/app/SemcCameraApplication.odex
chmod 644 /system/app/SemcCameraApplication.odex
reboot
or copy the two files with rootexplorer (mount r/w) into sytem/app and give them with a long press on apk and odex the permissions and check
User- read and write
Group- read
Others- read
then reboot
i hope it works for you
try it with ADB on your pc and flash a new theme with a camera.apk...
that is the method of this thread http://forum.xda-developers.com/showthread.php?t=742821
i hope you understand what i mean...
and i hope that it should work for you
Could you pls post theapk directly i have problems accessing the link
Pls post the apk
here you go.
https://play.google.com/store/apps/...sMSwxLDEsImNvbS5lc3Ryb25ncy5hbmRyb2lkLnBvcCJd
this is a market link to the es file explorer app. download it press menu button- go to settings- go down to root- select it and grant permission and then mount system as writable with it right below it. then copy the camera.apk to the system/app folder and your done.(to get there press favorites then choose the second icon then go down to system)
download any rom and open it with winrar find there semccamera or something and enjoy :laugh: i did this several times when deleted something important, besids you have done root... :highfive:
Ok try this one https://www.box.com/shared/273e3286b66ffdcccca4
Sent from my X10i
Ive temporarily rooted my device to push a file to system/app and ive followed the instruction from the widgetpicker app from xda and it keeps telling me 'permisson denied' from typing "c:\android-windows\tools> adb remount
can someone please help me get this file into the system app folder
Symondo said:
Ive temporarily rooted my device to push a file to system/app and ive followed the instruction from the widgetpicker app from xda and it keeps telling me 'permisson denied' from typing "c:\android-windows\tools> adb remount
can someone please help me get this file into the system app folder
Click to expand...
Click to collapse
1.Put the app in the root of your internal sd.
2.Open root explorer and scroll to sdcard and click to open.
3.Scroll to the app and long press,which gives you the options and click copy or move.
4.Click your back button,which will take you back to "Mounted as r/w.
5.Scroll to and click on system and click app and then paste.
6.Press and hold the installed app and change permission to rw-r-r
Hit home and your done.
i dont have root explorer at the moment and would like to try n do this without paying for an additonal app just now.
i dont understand how its so difficult to move a file into a folder
cd /sdcard/somewhere
su
cp file.apk /system/app
exit
Sent from a piece of ginger bread
K900 said:
cd /sdcard/somewhere
su
cp file.apk /system/app
exit
Sent from a piece of ginger bread
Click to expand...
Click to collapse
tried this it states "sd card not found" in terminal emulator.
Ive got it granted super user access and a temporary root. do i need to do with without the temp root?
The other code ive tried which i cant get to work is:
c:\android-sdk-windows\tools>adb remount
c:\android-sdk-windows\tools>adb push AppWidgetPicker.apk /system/app
I just unlocked and rooted my nexus s. Now im trying to stop the phone from reinstalling the custom recovery image and all im getting is problems.
I put in the command
mount-o rw,remount/dev/block/mtdblock3 /system
And every single time i get
mount-o : permission denied
Anyone have any ideas? im worried about rebooting my phone now cause i don't want to go through the whole process again. After reading around on XDA it doesn't seem like you are required to do this. Does anyone know if it will reinstall the custom recovery image if i don't do this step? I have searched everywhere to figure out the problem. But stilll im coming up with nothing. I have found people with other devices that have this problem. But nothing about fixing it.
If anyone has any ideas i really need help ASAP
try and grant yourself superuser & then try.
"su"
"mount -o rw,remount /dev/block/mtdblock3 /system"
You need a space after mount. -o specifies the mount options. The command is mount
Sent from my Nexus S using XDA App
aye, didn't notice that, couple of needed spaces. I've modified my original post.
Thanks i tried it but now it says mount-o not found.
Sent from my Nexus S using XDA App
If it says mount-o not found there's not a space between mount and -o.
mount -o remount,rw .........
Sent from my Nexus S using XDA App
Sorry I read the post about the space after I posted it. But of course I'm having more problems sorry for being such an idiot.
After putting su the command works. But then I try
Mv install-recovery.sh install-recovery-no.sh
It says no such file found. Sorry if I sound like an idiot. It's just rooting my Nexus S is much harder than it was to root my old mt3g.
Sent from my Nexus S using XDA App
No Android expert but I have experience with the CL. Pretty sure you're going to need to cd into the dir or write the full path to the file.
BTW what are the cool kids using for command line these days? Any of them have tab type features? ex: cd /syst<TAB>/me<TAB> for cd /system/media/
B2L said:
Sorry I read the post about the space after I posted it. But of course I'm having more problems sorry for being such an idiot.
After putting su the command works. But then I try
Mv install-recovery.sh install-recovery-no.sh
It says no such file found. Sorry if I sound like an idiot. It's just rooting my Nexus S is much harder than it was to root my old mt3g.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
I just used root explorer to rename the install-recovery.sh to install-recovery-no.sh. It disabled it from flashing over the clockwork mod recovery on reboot. After disabling it I flashed clockwork recovery again permanently.
Edit: The file is in the etc folder.
Sent from my Nexus S using XDA App
sarge363 said:
I just used root explorer to rename the install-recovery.sh to install-recovery-no.sh. It disabled it from flashing over the clockwork mod recovery on reboot. After disabling it I flashed clockwork recovery again permanently.
Edit: The file is in the etc folder.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Thanks i tried to just rename it with Root Explorer but it says it's a read only file. I can't figure out how to change it so it's not read only.
B2L said:
Sorry I read the post about the space after I posted it. But of course I'm having more problems sorry for being such an idiot.
After putting su the command works. But then I try
Mv install-recovery.sh install-recovery-no.sh
It says no such file found. Sorry if I sound like an idiot. It's just rooting my Nexus S is much harder than it was to root my old mt3g.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
B2L said:
Thanks i tried to just rename it with Root Explorer but it says it's a read only file. I can't figure out how to change it so it's not read only.
Click to expand...
Click to collapse
you have to include the path
Code:
su
mount -o rw,remount /dev/block/mtdblock3 /system
mv /etc/install-recovery.sh /etc/install-recovery.sh.bak
or
Code:
su
mount -o rw,remount /dev/block/mtdblock3 /system
cd /etc
mv install-recovery.sh install-recovery.sh.bak
It's really just a lot easier with Root Explorer. If you use root explorer app, you have to push the little button at the top that says "mount r/w" or something like that. I usually do that rather than run the mount command, because I always forget the syntax for that one.
Yeah just hit the "mount R/W" button on top when u open Root Explorer. It changes to "Mount R/O" and u can rename it after that.
Sent from my Nexus S using XDA App
Alright so here's my problem: After rooting my phone, I started to play around with a couple of camera apps from different ROMs such as MIUI. Me being an idiot though, deleted the stock Blur camera Apk. Using a system dump of the Atrix, 2 I tried to reinstall it, by placing it in system/app. For some reason. It wouldn't install (show up on my app directory). Anybody have any idea as to why this is happening? Any help would be greatly appreciated, because I really need a camera app.that's supports 1080p video. Thanks in advance!!!
farshad525hou said:
Alright so here's my problem: After rooting my phone, I started to play around with a couple of camera apps from different ROMs such as MIUI. Me being an idiot though, deleted the stock Blur camera Apk. Using a system dump of the Atrix, 2 I tried to reinstall it, by placing it in system/app. For some reason. It wouldn't install (show up on my app directory). Anybody have any idea as to why this is happening? Any help would be greatly appreciated, because I really need a camera app.that's supports 1080p video. Thanks in advance!!!
Click to expand...
Click to collapse
Push the sick app via adb. I read somewhere that with apps such as root explorer it doesn't work for some reason. Hope this helps.
Sent from my MB865 using Tapatalk
Yes, always use adb to push system apps. Root Explorer will not work.
Sent from my mAtrix2!!
For some reason i get permission denied whenever i try to push through adb. How do i get around this?
farshad525hou said:
For some reason i get permission denied whenever i try to push through adb. How do i get around this?
Click to expand...
Click to collapse
To copy anything to /system/app, you need root access.
This will be a 2 step process.
1) push the file from your computer to your phone in a directory that the shell has access to, i.e. /data/local for instance.
2) adb shell into the phone and su, remount /system as rw, then cp the file from /data/local/ to /system/bin
That should elimiate the issue with permission denied, with adb push.
jimbridgman said:
To copy anything to /system/app, you need root access, have you rooted the phone?
If you have rooted the phone, this will be a 2 step process.
1) push the file from your computer to your phone in a directory that the shell has access to, i.e. /data/local for instance.
2) adb shell into the phone and su, remount /system as rw, then cp the file from /data/local/ to /system/bin
That should elimiate the issue with permission denied, with adb push.
Click to expand...
Click to collapse
Yes my phone is rooted. How do I remount /system as rw? Then how do i cp the file? Thanks for your help!
I figured out how to push the file with adb, but the app still does not show up. Any other ideas?
farshad525hou said:
Yes my phone is rooted. How do I remount /system as rw? Then how do i cp the file? Thanks for your help!
Click to expand...
Click to collapse
Ok, run EVERYTHING between Code:, and End code from the command line. Just make sure you are in the directory you saved your backup camera.apk to, from your windows command prompt, before you run the commands below.
Code:
adb push BlurCamera.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp BlurCamera.apk /system/app
chown root /system/app/BlurCamera.apk
chgrp root /system/app/BlurCamera.apk
chmod 644 /system/app/BlurCamera.apk
mount -o remount, ro /system
exit
exit
End code
That should hopefully fix it.
jimbridgman said:
Ok, run EVERYTHING between Code:, and End code from the command line. Just make sure you are in the directory you saved your backup camera.apk to, from your windows command prompt, before you run the commands below.
Code:
adb push BlurCamera.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp BlurCamera.apk /system/app
chown root /system/app/BlurCamera.apk
chgrp root /system/app/BlurCamera.apk
chmod 644 /system/app/BlurCamera.apk
mount -o remount, ro /system
exit
exit
End code
That should hopefully fix it.
Click to expand...
Click to collapse
Sadly this didn't work either. I don't know what I'm doing wrong. Btw, thanks for your help so far!
Quick question....is the blurcamera.odex file still in the system/app. If you have deleted it also you will have to replace it as well.
JRW 28 said:
Quick question....is the blurcamera.odex file still in the system/app. If you have deleted it also you will have to replace it as well.
Click to expand...
Click to collapse
I could only find a deodexed system dump
Here ya go, zip has both camera.apk and odex. Try using file explorer again and make sure it is r/w . Hope it helps
http://db.tt/v0FQKpKr
JRW 28 said:
Here ya go, zip has both camera.apk and odex. Try using file explorer again and make sure it is r/w . Hope it helps
http://db.tt/v0FQKpKr
Click to expand...
Click to collapse
Thanks for the files! But once again sadly the file doesn't appear under my app drawer. I tried using adb and root explorer, with no luck. Is there anything I'm missing? Btw, JRW are those files from the atrix 2?
There both straight off of my phone...that's weird cause I have removed both of them trying out various cameras and never had a problem reinstalling them?
Are you rebooting afterwards?
JRW 28 said:
There both straight off of my phone...that's weird cause I have removed both of them trying out various cameras and never had a problem reinstalling them?
Are you rebooting afterwards?
Click to expand...
Click to collapse
Yeah I am. Can you walk me through what you do when you re install the apps? I am really confused. Is there anything that might be interfering?
Go into file explorer and make sure your system folder is r/w along with both the blurcamera.apk and blurcamera.odex.... then drop both of them into system/app and reboot. Wouldn't think anything else would be interfering?
JRW 28 said:
Go into file explorer and make sure your system folder is r/w along with both the blurcamera.apk and blurcamera.odex.... then drop both of them into system/app and reboot. Wouldn't think anything else would be interfering?
Click to expand...
Click to collapse
How do I make sure that BlurCamera.apk and BlurCamera.odex are both r/w?
Im not sure if it really matters on them but long pressing on either of them in file explorer should bring up the permissions and you can change from there. Do the same on your system folder just to double check that the permissions are correct
JRW 28 said:
Im not sure if it really matters on them but long pressing on either of them in file explorer should bring up the permissions and you can change from there. Do the same on your system folder just to double check that the permissions are correct
Click to expand...
Click to collapse
Yeah still no luck... no idea whats wrong
Try pushing them with ADB .....usually that will take care of it
when i try to copy files to /system/ nothing happens
i mounted as r/w so what could be the problem?
ripsta99 said:
when i try to copy files to /system/ nothing happens
i mounted as r/w so what could be the problem?
Click to expand...
Click to collapse
when paste or modifying a file in the root system, you need to tap the r/w to r/o in order to write or change permissions.
If you are doing a 3e mod, don't forget to change the permissions too.
....not working. if i change it to read only it Def not working.
ripsta99 said:
....not working. if i change it to read only it Def not working.
Click to expand...
Click to collapse
Check again to see what you are doing wrong. Its a toggle to read/write or read only.
If you're using root explorer, you have root.
Infuse n root explorer is not smart enough to pick out just you.
Edit.. Are you trying the 3e mod?
Three are easier way
ripsta99 said:
when i try to copy files to /system/ nothing happens
i mounted as r/w so what could be the problem?
Click to expand...
Click to collapse
bad su binary?
does super user show root explorer having super user permission? do you have super user installed? does it give a notification or toast that permissions were granted either when the app starts or on boot?
if that is all ok then open terminal emulator and type
su
(you should see $ change to # and a notification for superuser permissions granted.. if not you likely need to re root the phone)
if that goes OK then type
mount -o rw,remount /dev/block/stl9 /system
if it has any error like permission denied or invalid argument or can't remount folder exists or anything at all then there is something odd going on, could be something I'm overlooking, could be a bad su binary. try reflashing and don't update the binary if you are on a custom kernel.
edit: overlooking busy box. try installing it from a busybox installer from the market! that should fix it if su is OK.
Also, you may new to delete the app and reinstall, that happened to me and it thought I was trying to pirate the app. It would open but Wouldn't let me move/replace anything.
Then I went and verified I paid for it and everything worked after that.