[Q] Chmod +x scrip.sh - Galaxy S III Q&A, Help & Troubleshooting

hi all ,
yesterday i just rooted my Galaxy siii and now i am trying to run Ubuntu on it ,
so for the run script in need the x permission but for some reason i cant change the files permissions , i try the command line
su
chmod +x filename.sh
or
chmod 777 or 775 filsname.sh
it don't give an error but after ls -l see that the file still don't get x permission
and still cant run it i try with 2 terminals and withe the commander program but all of them don't success to give the wright permission to the file !
any ideas ? , i search on the forum and the internet find some threads with other devises but with no answer !

Where is the file? You can't change permissions for files on sdcard
Sent from my GT-I9300 using Tapatalk 2

will i think about that so i try ..
/mnt/exsdcard/ubuntu
after that
/mnt/sdcard/ubuntu
after that
/mnt/sdcard
but didn't work
so where to put it ?

You don't need to change it. You just
su
sh ubuntu.sh
Sent from my GT-I9300 using Tapatalk 2

put it say permission denied ! , even after su !

Yes I have that issue too. Only on s3 not other phones.
My work around was to run it using script manager. Setting the root permission
Sent from my GT-I9300 using Tapatalk 2

i just tried that , didn't work
i tried : like is script :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and like is executable
and you can see the root " the green thing in the corner "

http://postimage.org/image/vqg6qaobv/
http://postimage.org/image/xjj3em9ij/

Works fine for me. Did script manager ask for root?
You have to set root on the properties. Also make sure its set as script not executable
Sent from my GT-I9300 using Tapatalk 2

thank you my friend , i found the problem ! , will i install the busy box and i thought that is enough but never run it so when i do it actually install all the binaries that missing ... ,but still your way to run it in root permission help me a lot other wise cant run it on root and that is strange !

Related

Problem when instal FPSE!

Hi! Today, i want to install FPSE on my galaxy sii, vut i have an error, look:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That say "You don't have enought memory!" But, look at that screenshot:
I have more than 400mb free to install apps! Why i'm getting this error now? This happen only with FPSE. Anyone getting this? Please, help-me!
Enviado de meu GT-I9100 usando o Tapatalk 2
Same problem, but not got a answer myself. Did you use lucky patcher to remove the license check while trying to play games? This is when it went wrong for me. Anyone with any advice please.
Push FPSE apk to /data/app and chmod 644.
Not sure what that means but it's the most help I've had with the issue, I will look into it and thanks for the quick response.
I mean copy FPSE apk file to /data/app and set rw-r--r-- permissions (using Root Explorer of course)
I now have the app installed but it now force closes on me but thanks for your help as I have searched for help for days now.
Actually, look in /data/app for all FPSE files. There will likely be a .apk, and a .odex file. If there are, delete them both, and try installing again. The existence of the .odex file is what usually causes this message when you have plenty of memory.
przemcio510 said:
I mean copy FPSE apk file to /data/app and set rw-r--r-- permissions (using Root Explorer of course)
Click to expand...
Click to collapse
ctomgee said:
Actually, look in /data/app for all FPSE files. There will likely be a .apk, and a .odex file. If there are, delete them both, and try installing again. The existence of the .odex file is what usually causes this message when you have plenty of memory.
Click to expand...
Click to collapse
Thanks to the two of you things are back to normal. Hope this also helps others.
ASSALAM O ALIKUM >>> FOLLOW THIS STEPS
DOWNLOAD LUCKY PACTHER INSTALL IT
OPEN TOOLBOX OPTION
PRESS ODEX all System Applications option then phone will root and then install
THANKS..

How to edit permissions for /system

Hi guys. My third post.im on a so called rooted 4.0.4 stock software.
I want to know a tried and tested method to mount /system as rw.
i tried root explorer and the other mount app, they dont work for me.
i dont have superuser, binary is corrupted. thats what i wanna get on there.
i have the latest. bin with me.
sorry for any typos. any help appreciated
Sent from my GT-P7510 using Tapatalk 2.
AnAndroidLover said:
Hi guys. My third post.im on a so called rooted 4.0.4 stock software.
I want to know a tried and tested method to mount /system as rw.
i tried root explorer and the other mount app, they dont work for me.
i dont have superuser, binary is corrupted. thats what i wanna get on there.
i have the latest. bin with me.
sorry for any typos. any help appreciated
Sent from my GT-P7510 using Tapatalk 2.
Click to expand...
Click to collapse
1. Check your APP, should have a SuperSU with a "#" icon.
update it from PLAY store, it should become a "super Android" icon.
2. open it and check new version binary libary update. setup notification mode.
if that not work for you. try search a flash-able version SuperSU to flash.
then with ROOT Explorer or File manager HD, you can mount /system as writable.
check the file manager HD setup, you can click the 2 checkbox.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
will try soon thamks
Sent from my GT-P7510 using Tapatalk 2
tried this, but it dosent allow the first box to be checked. it says check ur root
Sent from my GT-P7510 using Tapatalk 2
AnAndroidLover said:
tried this, but it dosent allow the first box to be checked. it says check ur root
Sent from my GT-P7510 using Tapatalk 2
Click to expand...
Click to collapse
That mean you do not gain root permission.
Install busybox from PLAY store and update its binary then try again.
or,
Follow this thread :
http://forum.xda-developers.com/showthread.php?t=1864291

[q] changing ownership permission in root

I will be glad if someone helps me for changing some permissions in root directory.​
I have attached Screenshot from what i currently have and what permissions i do want to have, if you have knowledge regarding this please guide me.
I need to change these permissions coz after a factory RESET these files get deleted and i get some serious errors of WIFI and IMEI. than again i need to put these files in the ROOT.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Thanks in advance.. ​
jaunty said:
I will be glad if someone helps me for changing some permissions in root directory.​
I have attached Screenshot from what i currently have and what permissions i do want to have, if you have knowledge regarding this please guide me.
I need to change these permissions coz after a factory RESET these files get deleted and i get some serious errors of WIFI and IMEI. than again i need to put these files in the ROOT.
​
Thanks in advance.. ​
Click to expand...
Click to collapse
this is only nvrm backup because symlink file not work after change permissions not possible directly.
Using terminal do
su
chown 9997:9997 followed_by_file_name
or check this link out about chown command
http://www.thegeekstuff.com/2012/06/chown-examples/
Sent from my Micromax A110 using xda app-developers app
mufti.arfan said:
Using terminal do
su
chown 9997:9997 followed_by_file_name
or check this link out about chown command
http://www.thegeekstuff.com/2012/06/chown-examples/
Sent from my Micromax A110 using xda app-developers app
Click to expand...
Click to collapse
The user appears to be root still, just the group would change:
chgrp 9997 filename_here
getting no output..
Sent from my Micromax A110 (Canvas 2) using xda premium
Taoku said:
The user appears to be root still, just the group would change:
chgrp 9997 filename_here
Click to expand...
Click to collapse
chgrp cmd worked.. thanks dude..
Sent from my Micromax A110 (Canvas 2) using xda premium

Read only File System Problem

Hi everyone,
First of all, I would like to wish Merry Christmas to the Community Members...
Secondly, I am stuck on a very irritating problem: Read Only File System
I Rooted my phone, Flashed CWM 6.0.3.1 a month ago. Since then, I tried various ROMs here and I found this problem in all ROMs I've tried. Basically, I am not able to Change my System Files.
I tried ES File Explorer to overwrite but it says: Permission Denied!
I tried all File manager, but failed!
I tried mount -o remount,rw /system but neither it changed the permissions, nor it gave any error in Terminal.
I used Terminal and tried the chmod command, but it says Read Only file system
I tried to make a Flashable ZIP using this method, but even this doesn't change the files.(No, it does not show any error while flashing the zip through CWM)
Actually, I was trying to overwrite the boot animation, but the thing is that my whole system seems to be Read Only.
So, I would like to ask for help regarding this.
Thank You
Best Regards,
THAKUR
SCREENSHOTS BELOW
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
flashed roms. ..? ehh is your bootloader unlocked...?
second it looks like a root problem . try this method to gain root again (if you're already rooted ,then go to supersu and in settings do permanent unroot) ,it roots your phone in 28~35 seconds ,
http://forum.xda-developers.com/showthread.php?t=2511695
Ok. So the problem was solved on the same time as I posted this thread.
What worked for me:
When I tried mount -o remount,rw /system, I was still not able to Fix permissions through ES File Explorer. Then, When I tried mount -o remount,rw /system 2 times, and then I used the Default File manager(Cyanogen File Manager) to change permissions, it was working.
Ok. So the problem is solved now.
Thread can be marked as SOLVED :good:
Anuj, Thanks though

Ghost push fix

I fixed my mom's phone since it started showing some weird ads and downloads apps by itself im just sharing this just hoping it would help everyone
1. Download stubborn trojan killer its available in playstore or just copy the apk on ur sd if ur fone is already not working due to a lot of malware messing up ur fone.warning dont use shareit cuz i actually infected my fone �� run this app so it will remove some malware downloaded by ghost push so it wont be too hard for u to continue since my moms fone doesnt seem to respond well due to the malwares. And that ghost push will keep coming back
2. Disable those app that obviously is a malware to u. Look at system/priv app
U will notice there are apps that obviously have wrong dates unistalled it if it failed just disable them on settings/apps.
3. Download avira run it and it will detect infected apks
I run this multiply times before its completely clean so it wont keep spreading. Its recommended to run multiple times.
4. Download kingroot and run it. Press the button below the numbers shown on the app it somehow fixes ur root permissions since that malware somehow messed up root. And click the upper left button in the app.
5. Install busybox.... i dnt know if this is actually needed
6.run stubborn trojan killer again and this time ghost push wont be showing up again
Hope this works for everyone else too ��
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
No more annoying pop ups and downloads and no more detection of ghost push on stubborn killer
But those malware are still in ur system app i think u need to use adb to manually remove them from system apps its those with recent dates btw its a kitkat 4.4
Remove those with suspicious dates it can be more than 2
adb devices
adb shell
su
mount -o remount,rw /system
cd system/priv-app
chattr -iaA (suspicious file).apk
rm (suspicious file).apk
chattr -aA (suspicious file).apk
rm (suspicious file).apk

Categories

Resources