Permissions - XPERIA X8 Q&A, Help & Troubleshooting

rw-r-rx--
rwxr-xr-x
rwxr-xr-x
i want to add some files via a zip..using recovery...but i don't know how to add permissions...i want to add above settings to that files...
anyone, help me please thank in Advance

bandarigoda123 said:
rw-r-rx--
rwxr-xr-x
rwxr-xr-x
i want to add some files via a zip..using recovery...but i don't know how to add permissions...i want to add above settings to that files...
anyone, help me please thank in Advance
Click to expand...
Click to collapse
What type of file?
(Example: .lib, .apk, .ko)
But the universal is : rwxrwxrwx
Sent from my X8 using xda premium

The easy way is to use root explorer..
Browse to the files on your sdcard, right-click on the files (keep pressed on the files until the menu comes up) then select Permissions
Check the permissons of another zip you know works first and set your permissions the same in the tick boxes..
Good luck..

It's lib and some other files...the problem is when I replace the lib files phone reboot and boot loop..i think it's because it reboot before set permissions..that's why I want to know this method
Sent from my E15i using Tapatalk 2

bandarigoda123 said:
It's lib and some other files...the problem is when I replace the lib files phone reboot and boot loop..i think it's because it reboot before set permissions..that's why I want to know this method
Sent from my E15i using Tapatalk 2
Click to expand...
Click to collapse
OK I forgot to add that once you change permissions you must change ownership to root also.. Should work then.

If you have those files in sd then first move it to system change permission as required and then move it to the folder where you want to replace it...

Ok I will try
Sent from my E15i using Tapatalk 2

You can make a flashable zip as well from there you can edit updater script for proper permission.
Example
Code:
package_extract_dir("system", "/system");
set_perm(0, 0, 0644, "/system/app/Settings.apk"); - permission and location of the app. in this example its the settings.apk
For anyone who has having a hard time on CHMOD Permission use this calculator.

deedii said:
You can make a flashable zip as well from there you can edit updater script for proper permission.
Example
package_extract_dir("system", "/system");
set_perm(0, 0, 0644, "/system/app/Settings.apk"); - permission and location of the app. in this example its the settings.apk
For anyone who has having a hard time on CHMOD Permission use this calculator.
Click to expand...
Click to collapse
Thanks, really helped me

Related

[Q] How to change Read Only files to normal

How to change the system file's attribution?
Such as from Read only to Normal so that we can replace them..
I have Root Exlporer but it does not do it.. Any other Tool ?
sas_sas said:
How to change the system file's attribution?
Such as from Read only to Normal so that we can replace them..
I have Root Exlporer but it does not do it.. Any other Tool ?
Click to expand...
Click to collapse
Are you rooted?!
Sent from my GT-I9000 using XDA Premium App
Root Explorer should work.
You need to be rooted and have the system mounted as R/W
have the same problem. Phone is rooted, rootexplore asked for super ursser permission, is set to R/W and still i can't change gps.conf in etc folder! i mean i'm copy/paste the change one but it remains the same! WTF?
Have you tried setting the permissions? Long press and hit permissions. Select the ones you want and try again.
Check if the SU permission is correctly attributed to root explorer, or give it again
sas_sas said:
How to change the system file's attribution?
Such as from Read only to Normal so that we can replace them..
I have Root Exlporer but it does not do it.. Any other Tool ?
Click to expand...
Click to collapse
Follow the steps
http://www.hdtechvideo.com/?p=59
creative0100 said:
Have you tried setting the permissions? Long press and hit permissions. Select the ones you want and try again.
Click to expand...
Click to collapse
been there, tried that, after changing permissions they magically turn back and stay same as before:/

[Q] Editing build.prop with no success.. Help NEEDED! ..=)

I was confused...everytime i edited my build.prop with root explorer...i remounted R/W....i did every trick...and saved it...after a reboot..my build.prop returns back to the default things with no additional with my edited file.....whats happening here??...TT
i am using GDX v010
The same happen to me
Sent from my E15i using XDA Premium App
he he their are two bulidprop
so antother buildprop is in bin folder replace this also then it will permanently changed
Thanks
Sent from my X8 using XDA Premium App
u need to change the permissions to rw- r-- r-- before you reboot
Read - check all three
write - check the USER
execute - all are blank
save then reboot, then reboot (BE SURE TO MAKE A NANDROID BACKUP 1st!!!!)
Its not done that way.Even if the two build.props are edited and the permissions are set to rw-r-r sometimes you wont see a change.
This is because some custom roms now have a tweak to change the build.prop back to default on boot.So if you want to change the build.prop then you will have to change it in the computer and then reinstall the rom to your phone.

[Q] Restore stock camera

Anyway to restore the stock camera App ?
I have moved the Camera APP from "/system/app" to sdcard and then to my pc.I changed the icon to ICS Camera icon and now when i try to install it says to replace it,i click yes and after the process finish says "app not installed".
I have the APK and the .odex file of the f***** camera,just need a way to install it.
if you picked it up from /system/app then you need to restore it in /system/app itself
backup your current working camera apk and odex [as you have]..
move modified files to /system/app and change permissions to rw-r--r-- as others then only it will work.. if it doesn't reocognise in first attempt after permissions then reboot and see if it works...
if it doesn't simply means modifications don't work --> restore
madman_amit said:
if you picked it up from /system/app then you need to restore it in /system/app itself
backup your current working camera apk and odex [as you have]..
move modified files to /system/app and change permissions to rw-r--r-- as others then only it will work.. if it doesn't reocognise in first attempt after permissions then reboot and see if it works...
if it doesn't simply means modifications don't work --> restore
Click to expand...
Click to collapse
Thanks ! I have changes .odex file permissions and .apk too and its working.Just needed to reboot
delete the camera sstem app
sorry i want a soloution to restore my camera app that i accidentally delete it because i have root premission and want's to replace it with other one and now i know that i make mistake
nimasobhkhizani said:
sorry i want a soloution to restore my camera app that i accidentally delete it because i have root premission and want's to replace it with other one and now i know that i make mistake
Click to expand...
Click to collapse
Put the Camera.apk to /system using any root file manager and then set the permission to rw-r-r. Reboot. Here is the link,
Stock Camera App
If that doesn't work, just backup the data and then reflash the stock rom using odin. Hope I Helped

system UI stopped

i have just flashed this http://forum.xda-developers.com/showthread.php?t=1864510
now i got system UI stopped and no status bar at all, any help will be great
as I said it's better to do it manually than flashing. This way u can always make a backup and restore if messed up. use root explorer to navigate to system/app - systemui.apk and check if the permissions are set to rw-r--r--
check if there is a systemui.odex file. If yes delete it and reboot
nokiamodeln91 said:
as I said it's better to do it manually than flashing. This way u can always make a backup and restore if messed up. use root explorer to navigate to system/app - systemui.apk and check if the permissions are set to rw-r--r--
check if there is a systemui.odex file. If yes delete it and reboot
Click to expand...
Click to collapse
thanks fixed!!! you are my star!:good:
so what was the problem. permissions?
nokiamodeln91 said:
so what was the problem. permissions?
Click to expand...
Click to collapse
he didnt read the manual
Sent from my GT-N7000 using Tapatalk 2

[Q] How to install themes?

My Galaxy Note is running Classic Rom V6 ICS and I just downloaded a .zip theme pack. How do I go about?
Usually you run the pack and it installs, if it's third party, you need to extract and place into the system file.
Sent from my GT-N7000 using xda premium
SpyderTracks said:
Usually you run the pack and it installs, if it's third party, you need to extract and place into the system file.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
I tried exploring the zip file and for every type of theme, there is an app folder and a framework folder filled with .apks. Does that mean I can run
the apks in any order for a chosen theme?
No. usually there are 2 folders
apps = you hve to place these apks in system/apps folder a d change permission to rw-r--r--
framework = place the *-res.apk in system/framework folder and change permission as above.
but. make sure if you replace any file, you keep a backup of that so that it something does not work, you can revert back
nokiamodeln91 said:
No. usually there are 2 folders
apps = you hve to place these apks in system/apps folder a d change permission to rw-r--r--
framework = place the *-res.apk in system/framework folder and change permission as above.
but. make sure if you replace any file, you keep a backup of that so that it something does not work, you can revert back
Click to expand...
Click to collapse
Thanks you

Categories

Resources