Comments (9)
maby is my wrong,im using bash,PATH=/sbin:/su/bin:/su/xbin:/system/bin:/system/xbin
i see the acc.sh already rewrite PATH=/sbin/.magisk/busybox:$PATH or PATH=/sbin/.core/busybox:$PATH
i don't know why log not working.
from acc.
Guess I'm seeing a similar thing on one of my devices (Sony Xperia TabletZ / pollux_windy) when opening the log window from acca V 1.0.12; see also here
from acc.
As you already noticed, @cxyzzz, the busybox tail is supposed to override the default - which doesn't support -F
.
An explanation would be that your systems forbid PATH prepend.
Could you test that and post the output?
$ su
# echo $PATH
# PATH=/dev:$PATH
# echo $PATH
from acc.
As you already noticed, @cxyzzz, the busybox tail is supposed to override the default - which doesn't support
-F
.
An explanation would be that your systems forbid PATH prepend.
Could you test that and post the output?$ su # echo $PATH # PATH=/dev:$PATH # echo $PATH
$ su
# echo $PATH
/sbin:/su/bin:/su/xbin:/system/bin:/system/xbin
# PATH=/dev:$PATH
# echo $PATH
/dev:/sbin:/su/bin:/su/xbin:/system/bin:/system/xbin
It looks normal
from acc.
i modify the acc.sh
- -L|--logwatch) tail -F ${modPath%/*}/accd-*.log;;
+ -L|--logwatch) echo $PATH && tail -F ${modPath%/*}/accd-*.log;;
then
# acc -L
/sbin:/su/bin:/su/xbin:/system/bin:/system/xbin
tail: not integer: -F
It seems that the path has not been modified
from acc.
Oh, I see.
Do you have busybox installed?
from acc.
@VR-25 ye,I install it at /system/xbin
from acc.
log working normally after uninstalling busybox.thanks !
from acc.
As I presumed.
I'm improving the busybox handling mechanism to prevent this and similar issues.
Thanks
from acc.
Related Issues (20)
- Deapply applyOnPlug on force charge HOT 1
- Proposal: If using voltage for stop/resume, and cooldown enabled, measure voltage during cooldown. HOT 1
- How to always charge 100%? HOT 3
- [Bug][acc pause_capacity resume_capacity] does not respect enforced charging switch
- Magisk default settings for ACC/AccA HOT 3
- Charge/Discharge Bug HOT 2
- Wrong charging status on Nothing Phone 2, exit code 7 HOT 3
- How know what switch is being used?
- Terminated error HOT 3
- Manual idle mode toggle HOT 3
- Option "Screen always on when charging" will stop working when ACC halts charging HOT 1
- /system/bin/sh: acc: inaccessible or not found HOT 3
- Constant audible "discharge_polarity set successfully!" notifications HOT 2
- Install hangs on install/uninstall.sh flock HOT 2
- some weird bug HOT 6
- dead link in readme HOT 1
- Install then unroot? HOT 3
- battery charges for a brief moment in idle mode HOT 2
- readme/config error in resume_capacity comment HOT 1
- Can't access acc from termux HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acc.