Hi all!
I have created a script that reads a .db file and exports a .txt file based on the data contained in the database.
That script actually works only with the root user but I would prefer not to use root for this.
The problem seems to be that when the db file is updated (after exiting Epistle, a note editor) it loses all the permissions I gave it with chmod. The db file is located inside /system
Thanks and regards.
In case you want to know, I'm trying to execute a script after modifying some notes (with Epistle) that will export every note to a different txt file.
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Sorry about that
Can anyone lend a hand? I'm trying to make an application be able to access the data of another one. If you want to know, I'm trying to make Tasker access the database of Epistle (a text editor)
Thanks!
Hi all, I'm trying to install boot up scripts for GPU undervolting and Scoobydoo. I need to paste those scripts under /etc/init.d directory. I do find the etc folder, but couldn't find the init.d folder. I use Es File explorer on a Samsung Galaxy S3 LTE with JB, rooted and with Perseus alpha 25.1 Kernel.
Also I'm not able to create an init.d directory. It says "Operation failed". Is it already existing there and not visible ? Or is it a permission issue ? Any help would be appreciated. Thanks in advance.
apvinod2003 said:
Hi all, I'm trying to install boot up scripts for GPU undervolting and Scoobydoo. I need to paste those scripts under /etc/init.d directory. I do find the etc folder, but couldn't find the init.d folder. I use Es File explorer on a Samsung Galaxy S3 LTE with JB, rooted and with Perseus alpha 25.1 Kernel.
Also I'm not able to create an init.d directory. It says "Operation failed". Is it already existing there and not visible ? Or is it a permission issue ? Any help would be appreciated. Thanks in advance.
Click to expand...
Click to collapse
Use a file manager with root and look for the init.d folder under system/etc if its not there simply create it
Sent from my GT-I9300 using xda premium
Create it with the script file inside and copy folder from PC to SD card and then copy and paste in system/etc using ESF
Then set permissions for both the script and folder to RWXRWXRWX
LenAsh said:
Create it with the script file inside and copy folder from PC to SD card and then copy and paste in system/etc using ESF
Then set permissions for both the script and folder to RWXRWXRWX
Click to expand...
Click to collapse
Im sorry but dont tell someone to set permissions for a script alot of scripts require different permissions and point to locations where specific permissions are needed
Sent from my GT-I9300 using xda premium
What? This one requires at least 755, so 777 will allow the script to at least run.
And don't tell me what to do or not...
Hey, Thanks guys, I was finally able to create the folder. I tried all different settings but to no avail. Finally I re-booted the phone, and was able to create the folder.
Hi Folks, I'm trying to modify a de-bloat script to remove all sounds from the UI folder. Can someone help me out with the command?
Here is what I've tried so far that hasn't worked.
delete("/system/media/audio/ui/);
delete("/system/media/audio/ui/*);
delete("/system/media/audio/ui/*.*);
delete("/system/media/audio/ui/*.ogg);
None of this works. What would be the proper command to delete all files in a particular folder?
I ended up deleting the entire folder instead of folder contents.
http://forum.xda-developers.com/showthread.php?t=1265120
[Q] Need a init.d script that transfer files from "/sdcard" to another location
I tried many times to creat a init.d script that can that transfer some files from "/sdcard" to to another location but its never happend. I can't understand why
PLEASE help me with an example script that could go for work???
i want to save some custom apps that i have moved to system when i install CM updates. so i want to add them to a script in addon.d
these app folders seem to have the apk and an empty lib folder. adding the apk seems easy, but how exactly do i tell the script to also backup the 'lib' folder and restore it?
thanks.