[q] changing ownership permission in root - Android Q&A, Help & Troubleshooting

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

Related

[Q] Chmod +x scrip.sh

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 !

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

[MOD][CGROM]Disable Pointer

Hey guys, When the pen is used on CGROM, the pointer shows up... Its really annoying, so I made a small flashable package to get rid of it...
Download here: http://www.mediafire.com/?g5iic8u352vw79v
MD5: f2d23d827a870e43451c5bfc709d104c
For those people who are having trouble flashing it:
1. Download and extract the zip.
2. Copy the framework-res.apk to your sd-card.
3. Using any file manager with root control, move it to /system/framework. (Overwriting the old one)
4. Set permissions to 644.
5. Reboot... Enjoy!
NOTE: This is not an official release by yncconsulting!
------------------------------------------------------------------------------------
If this helped you or you like it please click thanks!
Thanks for the file but when I try to install it I get an error in the installation process it said status 6 whatever that means. Any ideas.
Maybe an md5 for the file.
Sent from my HTC Express using xda premium
Alright, fixed... Redownload, check md5, flash away!
Md5 matches but still getting installation aborted (status 6) something I am doing wrong but I don't know what I could be doing wrong flashing with CWM any other ideas?
Sent from my HTC Express using xda premium
Hmm are you using the CWM that is flashed by HC Multi Tool?
OP Updated.
worked great
Thanks for this it worked great and now the pointer is gone thanks for the great work.
Noob here
How to set permission to 644 ?
yaji63 said:
Noob here
How to set permission to 644 ?
Click to expand...
Click to collapse
Depends on what your using to copy it... But this is standard:
Press and hold the file until you get the options menu, find permissions on the list and click it... Make sure it looks like this:
{
"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"
}
Syl said:
Depends on what your using to copy it... But this is standard:
Press and hold the file until you get the options menu, find permissions on the list and click it... Make sure it looks like this:
Click to expand...
Click to collapse
What is 644 in this ?
yaji63 said:
What is 644 in this ?
Click to expand...
Click to collapse
Follow this: http://forum.xda-developers.com/showthread.php?t=1474987 Only the first part though...

[Q] Power Menu (MMX A110) - Reboot & Recovery

Pulled required file using adb
{
"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"
}
For testing - Created a folder
Framework created & Decompiled
Framework decompiled
Edited strings xml
Editing Public XML
Note: Not added .png stuff. Is it required???
Successfully compiled the framework and new apk got created.
Not sure from where to which apk, I need to add the resources file.
Extracting Baksmali
Extracted Baksmali
Extracted andriod.policy.jar
Here is my GlobalActions.smali
http://codeviewer.org/view/code:2ec4
Expecting some help, to edit the above file...
Some one please help. I am currently paused.
If you want to reboot to recovery, you can open terminal emulator, type "su" then type "reboot recovery" and press enter
Sent from my LG-P500 using xda app-developers app
TheAndroidGeek said:
If you want to reboot to recovery, you can open terminal emulator, type "su" then type "reboot recovery" and press enter
Sent from my LG-P500 using xda app-developers app
Click to expand...
Click to collapse
No, you didn't get me. I am trying to create options for power menu. Even google play have lot of apps for it
Anyway thanks for your thought.
Any update on the power option, since the last update you posted in the Main thread didn't work
Any patches to fix it :good:
Currently I am out of station... Have to resume once back.. May be on 20th feb
Sent from my Micromax A110 using Tapatalk 2
viijay4b7 said:
Currently I am out of station... Have to resume once back.. May be on 20th feb
Sent from my Micromax A110 using Tapatalk 2
Click to expand...
Click to collapse
Is this method confirmed to b working
Sent from my Micromax A110 using xda app-developers app

Use any Android device as PC for fastboot

First and foremost here is the thread I believe to be OP abandoned and I give small credit to cause of the lack of upholding it.
http://forum.xda-developers.com/showthread.php?t=2586472
Visit the thread above and grab the fastboot.bin file and move it to
system/bin (rename to fastboot)
Change permissions to ?
{
"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"
}
Once you have fastboot where it needs to be than you now need to know where to place flashable files right?
(root of sdcard)
Below is a video of how to flash a custom recovery using a Tablet to an HTC ONE M8 .the process can be performed from phone to phone,tablet to tablet,phone to tablet,tablet to phone .
OH AND NO MORE STRUGGLING WITH DEVICE DRIVERS
http://m.youtube.com/watch?feature=youtu.be&v=JUCM_tJaNHU
Link to micro to micro usb otg I use ?
http://hakshop.myshopify.com/products/micro-to-micro-otg?variant=211796287
Let me know what you think
(negative or positive)
When I type "fastboot" I get this error
Syntax error: "(" unexpected
mh333 said:
When I type "fastboot" I get this error
Syntax error: "(" unexpected
Click to expand...
Click to collapse
Do you have the permissions set right
Yes, I set the permissions.
Screenshot of the location and the naming of the file please
Screen shot.
mh333 said:
Screen shot.
Click to expand...
Click to collapse
Here are the permissions using
root explorer
Your rooted and write protection disabled I assume ?
Try out for simple diagnostics using"Root explorer"
All my devices are enabled with this method
List ?
Nexus 5
Samsung Galaxy Tab S 8.4
HTC ONE M8
Shots:
mh333 said:
Shots:
Click to expand...
Click to collapse
Thank you for the screenshots I can now see what the problem is.If you notice how many kilobytes my fastboot file states compared to yours.
Try downloading the file again
Got it!
Thanks!!
Sent from my HTC One_M8 using XDA Free mobile app
mh333 said:
Got it!
Thanks!!
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
No problem.
I use it quit a bit and think other's would to.the cable is dirt cheap and all in all very lightweight
:good:

Categories

Resources