How do you change permissions on a single system apk with phone?
Sent from my ADR6400L using Tapatalk
if u use root explorer long press the app and scroll down on the pop up and it says permissions
BlackHoleSlam said:
if u use root explorer long press the app and scroll down on the pop up and it says permissions
Click to expand...
Click to collapse
Thanks
Sent from my ADR6400L using Tapatalk
no problem throw my thanks button some love
When I get to a computer
Sent from my ADR6400L using Tapatalk
you could do it on the command line in the android terminal as well:
things are assigned in a group of 3 (sometimes 4, but not important right now) numbers (xxx). The first number from the left is for the assigned user (owner) of the file, the next is for the assigned group, and the last number is for everyone else.
chmod 777 filename = read/write/execute on assigned user/group/everyone else
chmod 776 filename = read/write/execute on assigned user/group and read & write only for everyone else
chmod 775 filename = read/write/execute on assigned user/group/and execute & read on everyone else
chmod 774 filename = same as above but only read for everyone else
chmod 772 filename = same as above but only write only for everyone else
chmod 771 filename = same as above but only execute only for everyone else
chmod 770 filename = full perms for user/group only
How do you get those numbers? Well they're hexadecimal, but that's not overly important. Basically read=4, write=2, execute=1. So 4+2+1=7 and so on.
follows the same pattern for things after that, just read here http://en.wikipedia.org/wiki/Filesystem_permissions
Sweet, thanks
Sent from my ADR6400L using Tapatalk
never mind
Related
I have been using JF 1.43 for a few months and loved it. Seeing that Cupcake became mainstream, I took the plunge two days ago and have been having issues. I tried JF 1.51, then a mod, then theDudes, all with some problems. I tried wiping and keeping apps in regular memory just for testing. I finally got a clean install using TheDudesCupcake which worked ok for me. When I pushed my preferences back using adb, it just hung on the "android" screen.
I was getting annoyed at myself for not understanding what was going on . The confounding problem was that the set of prefs that I was restoring had adb disabled, so I couldn't get a logcat to see what was really happening.
Long story shorter...
After some more fresh installs, I think what I have sorted out is that all of my preferences files lost their correct ownership. I found that when I had a program that was crashing, I would log in to an adb shell, use ps to see what user the app was running as, for example app_82. Then, I would chown app_82.app_82 for the directory within /data/data. I would then to it recursively since busybox doesn't have -R for chown by issuing the command chown app_82.app_82 /data/data/com.android.weather/cupcake/* and then chown app_82.app_82 /data/data/com.android.weather
It fixes programs that were having problems accessing their sqlite3 DBs which was the clue in the logs that led me to this solution.
As I am going through I see that it improves the performance and error rate of programs by doing this. Obviously core functionality doesn't have the same ease of repair.
Is this the wrong thing to do here? Is there a better way to restore files after an upgrade so that this doesn't happen again?
I saw that someone wrote a python script to fix these permissions, though I don't understand where they got python to run on Android in the first place. Is there a shell script that can parse an app's uid and fix its supplemental files accordingly?
I tried searching, but may not have used good keywords about this issue.
Any help/advice/info would be appreciated.
The answer
This guy has a python scirpt that nicely spits out a shell script to fix all of them
http://blog.elsdoerfer.name/2009/05/25/android-fix-package-uid-mismatches/
Code:
"""Parse Android's /data/system/packages.xml file and spits out
shell code to fix UIDs.
This helps you fix "Package x.y.z has mismatched uid: 10089 on disk, 10079
in settings" errors.
"""
from xml.dom import minidom
xmldoc = minidom.parse('packages.xml')
packages = xmldoc.getElementsByTagName('package')
ignored = []
for package in packages:
try:
userId = package.attributes['userId'].value
is_shared = False
except KeyError:
userId = package.attributes['sharedUserId'].value
is_shared = True
# do not touch permissions of shared apks (they userid always seems to be 1000)
if not is_shared:
print "busybox chown %s:%s %s" % (userId, userId, package.attributes['codePath'].value)
for subdir in ('', 'databases', 'shared_prefs'): # note we don't touch lib/
print "busybox chown %s %s:%s /data/data/%s/%s" % (
'-R' if subdir else '', userId, userId, package.attributes['name'].value, subdir)
Essentially, you can use adb pull to pull /data/system/packages.xml locally, run this python script on it, and then send each command back. One way to do this on *NIX is
Code:
adb pull /data/system/packages.xml . ; python fix.txt | xargs adb shell
I searched and got on IRC and can't get a fix for this. WHen i try to use the Fix permissions option in ROM Manager Premium i get the following error.
"error occurred while attempting to run privelaged commands"
I checked superuser and ROM Manager is in there so i selected "forget" then rebooted and tried "fix permissions" again. I got the promp to allow SU and then the error.
Any idea how i can fix this? Is this a bug or a isolated problem?
Not sure if it is related or not but I had to same problem until I bought the full version off of the market.
Maybe it's part of the extended functionality?
As I noted I have "Rom Manager Premium" I don't think it's related anyway.
Just found the answer to this (as I too was having this problem). See the link below:
http://androidforums.com/899973-post26.html
It has to do with busybox not installed in the correct place.
One more thing: Make sure that busbox is set to "755" so that it can execute.
Thanks
sw99 said:
Just found the answer to this (as I too was having this problem). See the link below:
http://androidforums.com/899973-post26.html
It has to do with busybox not installed in the correct place.
One more thing: Make sure that busbox is set to "755" so that it can execute.
Click to expand...
Click to collapse
Thanks for the link to the fix!
I am unable to get the busybox file to copy from the /data.... directory into the /system/bin/ directory. Any ideas?
jtoole1 said:
I am unable to get the busybox file to copy from the /data.... directory into the /system/bin/ directory. Any ideas?
Click to expand...
Click to collapse
did you mount the system partition prior to trying this?
I'm also having an issue moving the file using root explorer. Any other ideas?
the_grobe said:
I'm also having an issue moving the file using root explorer. Any other ideas?
Click to expand...
Click to collapse
Yeah, same here. My problem is that I've never used Root Explorer before. At the top it says mounted as r/w (in the /system/bin directory) , but it won't copy the file using the Root Explorer program. When I click [Paste] it doesn't give me an error, but when I go and check the directory, the file is not there. I even tried refresh. Any ideas?
UPDATE: I have not solved the problem yet, but I did notice that the /system/bin directory that I am trying to copy to says "0K bytes available," which is probably why it won't copy. So I guess my (no copy) problem is due to my lack of understanding of the file structure of the DI.
UPDATE: I finally got it working. Here is what I did.
1. Boot phone into recovery
2. Push busybox from /sdk/tools folder to sdcard
Code:
adb push busybox /sdcard/busybox
adb shell
3. Installed busybox to /system/xbin
Code:
$ su
#export PATH=$PATH:/system/bin
#cd /system/xbin
# cat /sdcard/busybox > busybox
# chmod 06755 busybox
# busybox --install -s /system/xbin
# rm /sdcard/busybox
# exit
$ exit
4. Booted up phone, and ROM manager fixed permissions as per request.
Hope that helps.
Thanks. I appreciate your feedback. But it looks like I wasted my money again on a useless program like "Root Explorer." I was hoping that I wouldn't have to do all of that command line crap anymore after having rooted.
Does anyone know if there is a file manager out there that will push/pull files via cut/paste rather than using a seperate computer with a command line interface?
I don't think that there is going to be a program like that until we've got full NAND unlock.
the_grobe said:
I don't think that there is going to be a program like that until we've got full NAND unlock.
Click to expand...
Click to collapse
Is someone working on that? I believe the facts are, that the Unrevoked team knows how to do it...but they won't give us the means to do it. Probably because they think we'll shoot ourselves in the foot...and blame them...and they're probably right!
I can not do the cat command it tels me Cant create busybox, read only file system.
Any ideas????????????????
when i was modding widget locker i was using linda file manager free to cut and paste out of the system folder im gonna try it right now to fix this problem ill let u know if it works
UPDATE: NEW FRAMEWORK-RES.APK, NAME CHANGED TO Xdre4m, BOOTANIMATON ADDED, INSTALLER UPDATED
HEY,
this is my first "theme" and it's not finished now!
first i wanted to help thefunkaygibbon with his theme, but i was a little bit faster then him... ^^
MAKE SURE YOUR PHONE IS ROOTED AND HAS BUSYBOX&SUPERUSER!!
i attached a .sh installer (for phone and PC)
how to use the .sh installer:
copy the "installer.sh" to the root of your sdcard, and all apps into /sdcard/download
then open a terminal emulator on your phone (better term is a good one) and type:
su
sh /sdcard/installer.sh
for PC: open CMD (Windows)
type this:
cd /sdk/tools (or somewhere else but make sure there is ADB in it)
adb shell
su
sh /sdcard/installer.sh
.apk's in 2nd post!!
hope you like it!
Also a big thanks go to thefunkaygibbon for the inspiration!
Take a look at his theme!
---------------------------------------
here are some screenies:
UPDATE:
NEW FRAMEWORK
you have to unzip the .zip and put the .sh to the root of your sdcard!
ALL APPS MUST BE PLACED IN /sdcard/download
the maxim filesize is 8MB each attachment so i put the framework-res.apk in a .rar "folder"
PLEASE LET ME KNOW IF YOU LIKE IT!
Nice. Seems like we're all getting started at it now 2.1 is here, can't think of a name for you though.
XperiaX10iUser said:
Nice. Seems like we're all getting started at it now 2.1 is here, can't think of a name for you though.
Click to expand...
Click to collapse
haha yeah!
i already tried on 1.6 but i failed xD
a little tip for everyone who wants to make a new theme... you can change the statusbar_background.png to 480x854! so you dont have those little lines anymore!
PoTi_96 said:
HEY,
this is my first "theme" and it's not finished now!
first i wanted to help thefunkaygibbon with his theme, but i was a little bit faster then him... ^^
MAKE SURE YOUR PHONE IS ROOTED AND HAS BUSYBOX&SUPERUSER!!
i attached a .sh installer (for phone and PC)
how to use the .sh installer:
copy the "installer.sh" to the root of your sdcard, and all apps into /sdcard/download
then open a terminal emulator on your phone (better term is a good one) and type:
su
sh /sdcard/installer.sh
for PC: open CMD (Windows)
type this:
cd /sdk/tools (or somewhere else but make sure there is ADB in it)
adb shell
su
sh /sdcard/installer.sh
.apk's in 2nd post!!
please help me to find a name^^
hope you like it!
here are some screenies:
Click to expand...
Click to collapse
Faster and better!!
Nice work!
thefunkaygibbon said:
Faster and better!!
Nice work!
Click to expand...
Click to collapse
thanks! and sorry... '>.>
Does the phone need to be rooted for this?
Sent from my X10i using XDA App
ajovanovski said:
Does the phone need to be rooted for this?
Sent from my X10i using XDA App
Click to expand...
Click to collapse
The answer is in the very first post... but yes, it does
Oh I must have overlooked that. Is it hard and complicated to root the phone? What are the benefits?
Sent from my X10i using XDA App
ajovanovski said:
Oh I must have overlooked that. Is it hard and complicated to root the phone? What are the benefits?
Sent from my X10i using XDA App
Click to expand...
Click to collapse
its easy! ^^
click me
you can install themes, edit files from the system ...
Oops, I had my phone bricked by the first method (installing from Terminal on phone).
My X10i with nordic isn't coming past the Sony Ericsson boot screen.
Could anyone give me some directions sorting this problem?
Cheers. (I still believe this has nothing to do with this skin)
Reflash it with SEUS and try again
Or type this in your terminal
Su
Mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
dd if=/sdcard/download/framework-res.apk of=/system/framework/framework-res.apk
Sent from my X10i using XDA App
The SEUS seems to be flashing, will let know if this solves it. I'll give the framework another go. (I want it!! )
Update:
Status: debricked
Just about to root it now then will try this.
iaminq said:
The SEUS seems to be flashing, will let know if this solves it. I'll give the framework another go. (I want it!! )
Click to expand...
Click to collapse
=D thanks
Btw... i edited the last post
Sent from my X10i using XDA App
PoTi_96 said:
thanks! and sorry... '>.>
Click to expand...
Click to collapse
I hold no grudge
What file is the background to the slide down tray? I had a look but could not find (you made it transparent, I want to for my theme)
Also, the timescape's update icons still have a blue background (I only update mine manually, and rarely do I use timescape)
Once again, nice work.
Hm it went wrong again. I posted a log file of running the installer.sh
All .apk files are located in the /sdcard/download folder.
Log:
Code:
C:\Users\LocalAdmin\Desktop\SuperOneClickv1.5.5-ShortFuse>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
# su
su
# sh /sdcard/installer.sh
sh /sdcard/installer.sh
remount: not found
: not found
: not found
1422+1 records in
1422+1 records out
728311 bytes transferred in 0.307 secs (2372348 bytes/sec)
: not found
6377+1 records in
6377+1 records out
3265532 bytes transferred in 1.431 secs (2281993 bytes/sec)
: not found
6084+1 records in
6084+1 records out
3115224 bytes transferred in 0.870 secs (3580717 bytes/sec)
: not found
thefunkaygibbon said:
I hold no grudge
What file is the background to the slide down tray? I had a look but could not find (you made it transparent, I want to for my theme)
Also, the timescape's update icons still have a blue background (I only update mine manually, and rarely do I use timescape)
Once again, nice work.
Click to expand...
Click to collapse
Can you show me a screenshot? (slide down tray)
Yes, those icons are in the timescape apk, but i dont have it anymore...
Sent from my X10i using XDA App
iaminq said:
Hm it went wrong again. I posted a log file of running the installer.sh
All .apk files are located in the /sdcard/download folder.
Log:
Code:
C:\Users\LocalAdmin\Desktop\SuperOneClickv1.5.5-ShortFuse>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
# su
su
# sh /sdcard/installer.sh
sh /sdcard/installer.sh
remount: not found
: not found
: not found
1422+1 records in
1422+1 records out
728311 bytes transferred in 0.307 secs (2372348 bytes/sec)
: not found
6377+1 records in
6377+1 records out
3265532 bytes transferred in 1.431 secs (2281993 bytes/sec)
: not found
6084+1 records in
6084+1 records out
3115224 bytes transferred in 0.870 secs (3580717 bytes/sec)
: not found
Click to expand...
Click to collapse
Hmm when it showes "??? Bytes transfered in ???? Secs (???? Bytes/sec)
Maybe my .sh script is wrong... i'll take a look on it
Sent from my X10i using XDA App
That is where it ends. Phone reboots instant and adb terminates.
Edit: Compared a few things and came across a chmod 4755 /system/bin/sh line placed after the mount cmd.
Example: (line 3)
Code:
`remount`
`mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system`
`chmod 4755 /system/bin/sh`
`dd if=/sdcard/download/AlarmClock.apk of=/system/app/AlarmClock.apk`
`dd if=/sdcard/download/Phonebook.apk of=/system/app/Phonebook.apk`
`dd if=/sdcard/download/mediascape.apk of=/system/app/mediascape.apk`
`dd if=/sdcard/download/framework-res.apk of=/system/framework/framework-res.apk`
iaminq said:
That is where it ends. Phone reboots instant and adb terminates.
Edit: Compared a few things and came across a chmod 4755 /system/bin/sh line placed after the mount cmd.
Example: (line 3)
Code:
`remount`
`mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system`
`chmod 4755 /system/bin/sh`
`dd if=/sdcard/download/AlarmClock.apk of=/system/app/AlarmClock.apk`
`dd if=/sdcard/download/Phonebook.apk of=/system/app/Phonebook.apk`
`dd if=/sdcard/download/mediascape.apk of=/system/app/mediascape.apk`
`dd if=/sdcard/download/framework-res.apk of=/system/framework/framework-res.apk`
Click to expand...
Click to collapse
Hm... thanks will add it tomrrow (its 6:37 pm here)
edit: uploaded new installer.zip/.sh
ALL CREDITS GOES TO "CAMEL"
For those who experienced this annoyng warning like "The SIM-card you are trying to use is now roaming. No local SIM is available now" I found a working solution. The basic ideea is to update a system property called [gsm.operator.isroaming] to false fast enough that the system belives that is not in roaming. You need root on your device for this workaround to work.
Step 0. Get root access!!!! Adb working!!!
Step 1. Create a file in /system/etc called "install-recovery.sh". If this file exists, append a new line
android# echo "\n/system/etc/camel-roaming &\n" >> /system/etc/install-recovery.sh
This line will execute in background a script named camel-roaming which is placed in system/etc. Change its permission to 755 with
android# chmod 755 /system/etc/install-recovery.sh
Step 2. Create a file in /system/etc called "camel-roaming". This will change roaming parameters once every second. Content of this file will be:
while [ 1 - eq 1 ]
do
setprop gsm.roaming.indicator.needed false
setprop gsm.operator.isroaming false
sleep 1
done
Change its permission to 755 using the same chmod command. Do not use windows notepad for edit because the way that it threats new lines. Use root explorer, midnight commander or simply echo to this file using echo "some text \n" where "\n" stands for a new line.
Reboot your phone and voila! The warning will no more be displayed. It is a chance, probably one in a million to get this warning again if the property is changed by system in less than one second, while our script is sleeping.
:crying:
Don't work for me! :crying:
I use a dual-sim phone (Allview V1 Viper, the same with Gionne Elife E3 / Blue Life Play / General Mobile Discovery, etc).
This solution is valid also for dual-sim phones or only for single-sim?
Thanks!
THREAD INDEX:
I. INTRODUCTION
II. PROJECT STRUCTURE
III. INSTALLATION GUIDE
#_____________________________#
I. Introduction
Hi guys, this is a Tasker profile which automatically deletes every Mondays images older than 6 days. Useful when you have many Whatsapp groups and you wanna only have that images for a limited time.
The profile uses a unix command that searches for images older than 6 days and then delete them. Let's take a look on the command:
Code:
find /storage/extSdCard/test/ -type f -mtime +6 -exec rm {} +
As you can see there is location path, so this script searches on a specific folder and you set this location to wherever you want.
Another important value is the -mtime +6, this means that will be deleted all the images that are older than 6 days.
II. Project Structure
This project is pretty simple and is composed of one profile linked to one task.
The profile gets activated every Mondays and then it runs the script that automatically deletes the images older than 6 days.
The task, which gets triggered by the profile, contains two basic actions:
Run Shell with the script showed before
Flash (Little Toast Screen that shows when the process is done)
As you can see the Project is composed of basic actions, the most important action is the one that runs the script.
III. Installation Guide
Also the installation process is simple, and it requires few personalization steps in order to get the Project working fine.
Follow these steps:
Download the project HERE
Open Tasker preferences and disable the beginner mode. Once you have disabled this mod restart the application in order to get the Expert Graphical User Interface.
Now a little home button will appear on the application bottom, tap on it and then choose Import. Select the Project.
What you have to do now is go inside the Tasks tab and tap on ChronDelete
Once you open the Task choose the first action named Run shell and where there is /putyour/path/here/ you have to write your own location folder, the folder where you want the delete automatization. If one of your folders contain spaces for example WhatApp Images you will have to write the whole location with quotation marks like this: "storage/sdcard0/WhatsApp/Media/WhatsApp Images/" ... .
If your System support the Tasker Media Scanning function you can add a simple action that performs a Media Scanning after the deleting process, this will refresh the File Table avoiding Gallery Empty Spaces or Missing Image Icon. Tap on the button + and then choose Media -> Scan Card. Once you have created this new action, inside File write the Location Path where you have previosly setted the script.
All done.
If you have any suggestions or problem don't hesitate to ask and, if helped you, remember to press the Thanks button !
Reserved
Thanks for this. Just started using Tasker today and this works great. The only thing I had to add was " " around my WhatsApp Images folder path since it contained spaces.
Now to see what else Tasker can make easier.
mondohow said:
Thanks for this. Just started using Tasker today and this works great. The only thing I had to add was " " around my WhatsApp Images folder path since it contained spaces.
Now to see what else Tasker can make easier.
Click to expand...
Click to collapse
Thanks for letting me remember it!
I will add it to the OP and also a new command inside the ChronDelete that executes a Media scan after the deleting process!
CoolJoseph96 said:
Thanks for letting me remember it!
I will add it to the OP and also a new command inside the ChronDelete that executes a Media scan after the deleting process!
Click to expand...
Click to collapse
Thanks but the Media Scan doesn't seem to be working for me on my Nexus 5. Still have blank items in Gallery. I did some googling and found this: http://tasker.dinglisch.net/userguide/en/help/ah_index.html
On Android 4.4+, scanning the whole card or a directory only picks up *new* files and the task waits till the scan is finished.
Click to expand...
Click to collapse
Does that mean it won't recognize and remove the blank thumbnail for deleted files? As mentioned above I still have those blank thumbnails. Had to do a 'Rescan' in FX Explorer for the blank images to clear.
mondohow said:
Thanks but the Media Scan doesn't seem to be working for me on my Nexus 5. Still have blank items in Gallery. I did some googling and found this: http://tasker.dinglisch.net/userguide/en/help/ah_index.html
Does that mean it won't recognize and remove the blank thumbnail for deleted files? As mentioned above I still have those blank thumbnails. Had to do a 'Rescan' in FX Explorer for the blank images to clear.
Click to expand...
Click to collapse
Try to add this Shell Action:
Code:
am broadcast android.intent.action.MEDIA_MOUNTED
Let me know.
CoolJoseph96 said:
Try to add this Shell Action:
Code:
am broadcast android.intent.action.MEDIA_MOUNTED
Let me know.
Click to expand...
Click to collapse
Thanks. That partially works.
QuickPic - Thumbs are cleared as expected and if folder is empty it disappears
Stock Gallery - Foler still shows in list and blank thumbnails are displayed
Focus - Same as with the stock Gallery
Google Photos - Folder still shows as well
Maybe it's because I'm on a Nexus 5 and don't have a physical SD card?
mondohow said:
Thanks. That partially works.
QuickPic - Thumbs are cleared as expected and if folder is empty it disappears
Stock Gallery - Foler still shows in list and blank thumbnails are displayed
Focus - Same as with the stock Gallery
Google Photos - Folder still shows as well
Maybe it's because I'm on a Nexus 5 and don't have a physical SD card?
Click to expand...
Click to collapse
Let's try this method
Install this application SD Scanner
The author says:
SD Scanner can be used with Tasker by using the "Send Intent" action listed under "System."
Use the following settings, leaving the ones I don't list at the default:
Action: android.intent.action.RUN
Package: com.gmail.jerickson314.sdscanner
Class: com.gmail.jerickson314.sdscanner.MainActivity
Target: Activity
Click to expand...
Click to collapse
Let me know
YES!!!!! That works. All phantom images/folders gone. Thanks again, this script is great. Can't wait to see what you do next.
Hi guy!
Its my first time using TASKER app. Using because your project! :good:
But here the script is not working.
I changed the command to: find "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" -type f -mtime +90 -exec rm {} +
Tried with root, without root... no difference.
I try the command: ls "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" and its OK!
What could be happening? I not can see any error message, only the left red ball and this:
Code:
18.33.04/E Run Shell: ->
18.33.04/E Run Shell: ->
18.33.04/E Run Shell: ->
18.33.04/Shell runBackground find "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" -type f -mtime +90 -exec rm { } + root: false timeout: -1
18.33.04/Shell start process-thread ID 53425
18.33.04/E add wait type Shell8 time 2147483647
18.33.04/E add wait type Shell8 done
Thanks
kotioko said:
Hi guy!
Its my first time using TASKER app. Using because your project! :good:
But here the script is not working.
I changed the command to: find "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" -type f -mtime +90 -exec rm {} +
Tried with root, without root... no difference.
I try the command: ls "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" and its OK!
What could be happening? I not can see any error message, only the left red ball and this:
Code:
18.33.04/E Run Shell: ->
18.33.04/E Run Shell: ->
18.33.04/E Run Shell: ->
18.33.04/Shell runBackground find "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" -type f -mtime +90 -exec rm { } + root: false timeout: -1
18.33.04/Shell start process-thread ID 53425
18.33.04/E add wait type Shell8 time 2147483647
18.33.04/E add wait type Shell8 done
Thanks
Click to expand...
Click to collapse
Hi, certain devices doesn't have all the commands needed integrated in the system.
We can verify if you have the "find" binary with the terminal emulator.
Steps:
Download the Terminal Emulator
Open the app and write "find" followed by the enter button
Tell me what message do you get..
If you get an error like "Find: not found" then you don't have the necessary binary.
CoolJoseph96 said:
Hi, certain devices doesn't have all the commands needed integrated in the system.
We can verify if you have the "find" binary with the terminal emulator.
Steps:
Download the Terminal Emulator
Open the app and write "find" followed by the enter button
Tell me what message do you get..
If you get an error like "Find: not found" than you don't have the necessary binary.
Click to expand...
Click to collapse
Thanks for fast reply!
Hummm... Like you said, "find: not found"
Is possible put/install the "find" binary in my system?
kotioko said:
Thanks for fast reply!
Hummm... Like you said, "find: not found"
Is possible put/install the "find" binary in my system?
Click to expand...
Click to collapse
I will make a flashable zip in order to implement it, or you can implement it manually.
Could you send me a screenshot of the find error ? I need the binary path
CoolJoseph96 said:
I will make a flashable zip in order to implement it, or you can implement it manually.
Could you send me a screenshot of the find error ? I need the binary path
Click to expand...
Click to collapse
/system/bin/sh: find: not found
it´s enough!?
kotioko said:
/system/bin/sh: find: not found
it´s enough!?
Click to expand...
Click to collapse
It is, give me 10 minutes or so in order to make the zip including the binary with symlinking
Inviato dal mio SM-N910F con XDA Forums Pro
Oh...I've forgot that find is a Busybox command haha.
Install Busybox: https://play.google.com/store/apps/details?id=stericson.busybox
CoolJoseph96 said:
Oh...I've forgot that find is a Busybox command haha.
Install Busybox:
Click to expand...
Click to collapse
Sorry for delay, i was testing.
Thanks, partially solved! Now i have the "find" command, this work perfectly in terminal, but now it seems to be a TASKER limitation.
If i use "find" with parameter -mtime +150, return little result and the execution finish without problem.
But with -mtime +30 return so many results and the execution never ends.
Edit: After cleaning the directory with terminal, daily execution will work well! Thanks!!!
It's possible to make this profile to delete all WhatsApp images except the ones received from a specific contact?
Enviado desde mi XT1058 mediante Tapatalk
kotioko said:
Edit: After cleaning the directory with terminal, daily execution will work well! Thanks!!!
Click to expand...
Click to collapse
Awesome!
Inviato dal mio SM-N910F con XDA Forums Pro
rodaven said:
It's possible to make this profile to delete all WhatsApp images except the ones received from a specific contact?
Enviado desde mi XT1058 mediante Tapatalk
Click to expand...
Click to collapse
I'm really sorry but there's no image tag that specify who sent it..
Inviato dal mio SM-N910F con XDA Forums Pro