Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed #48

Closed
rodylg opened this issue Jul 19, 2019 · 4 comments
Closed

Installation failed #48

rodylg opened this issue Jul 19, 2019 · 4 comments
Labels
acc/kernel https://github.com/VR-25/acc/issues/

Comments

@rodylg
Copy link

rodylg commented Jul 19, 2019

v1.0.12
SU permission has been granted at prompt and yet this warning is displayed despite having an active Internet connection (WiFi/data) and even after installing acc through the magisk manager (7.3.2). The magisk (19.3) module is installed, up to date (201907180) and it works through a terminal emulator.

===System's data===
Model: SM-J700M (j7elte)
TWRP: 3.2.3-0
Magisk: 19.3
Device API level: 23
Android version: 6.0.1
Kernel Version: 3.10.61-11132510
Build number: MMB29K.J700MUBS2BQF4
SELinux status: Enforcing (SEPF_SECMOBILE_6.0.1_0034)
ASKS v1.2_161011
KNOX 2.6

@MatteCarra
Copy link
Owner

Please upload this file /data/local/tmp/acc-install.log after the installation fails.

Everyone with the same issue should do the same.

Thanks

@MatteCarra
Copy link
Owner

Btw acc module magisk won't be required to be installed separately anymore and is included by vr25 in the apk.

For more details read the changelog

@rodylg
Copy link
Author

rodylg commented Jul 20, 2019

Content of acc-install.log

+ >/dev/null 
+ which busybox
+ id -u
+ '[' 0 -ne 0 ']'
+ id=acc 
+ set -e
+ '[' -f //install-tarball.sh ']'
+ cd /data/user/0/mattecarra.accapp/files
+ '[' -d acc/acc-init.sh ']'
+ rm -rf acc-201907180/
+ tar -xf acc_bundle.tar.gz
+ export 'installDir0='
+ sh acc-201907180/install-current.sh

name=Advanced Charging Controller (acc) version=2019.7.18
Copyright (c) 2017-2019, author=VR25 (xda-developers.com)
License: GPLv3+

(i) Installing to /data/data/mattecarra.accapp/files/id=acc/...
cp: acc-201907180/id=acc/: No such file or directory
cp: bad 'acc-201907180/id=acc/': No such file or directory


@VR-25
Copy link
Collaborator

VR-25 commented Jul 20, 2019

This seems to be a busybox related issue.
More specifically, the installer may be using the system's sed (often problematic) over busybox's.
The mechanism is being improved.
Could you contact me on telegram (vr25xda) to receive debug AccA builds - so we can work through this faster?
Thanks

@VR-25 VR-25 added the acc/kernel https://github.com/VR-25/acc/issues/ label Jul 21, 2019
@VR-25 VR-25 closed this as completed Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acc/kernel https://github.com/VR-25/acc/issues/
Projects
None yet
Development

No branches or pull requests

3 participants