phhusson / treble_app Goto Github PK
View Code? Open in Web Editor NEWAn app which will do various stuff for Treble ROMs
An app which will do various stuff for Treble ROMs
The rounded corners setting is in the headphones category:
Also it seems to be in dp instead of physical px, therefore it needs to be adjusted depending on the dpi in the android settings.
If the settings where taken from the user as px, they could be converted to dp with something like
int dp = (int) Math.ceil(getResources().getDisplayMetrics().density * px);
according to https://stackoverflow.com/a/6656774
Hello all! I have a Nubia Redmagic 7 Pro (NX709J), and the gaming fan option in the treble app does not work. It seems like the Nubia settings is for a different redmagic phone, and the fan option does not turn on my fan. Is there a fix? I believe this is an issue.
Use ro.vendor.build.fingerprint_real to check that?
Download from settings is so slow, I'd like to install it from apk directly.
Hello.I flash the hai on my spreadtrum device. it all work without ims. It can receive and send message. It can call anyone.But it can't receive incoming calls in LTE. I try to open all the options about incoming calls in LTE. I try to install ims. However it didn't support. I install the ima spr for android 9. it not work.
Hi,
Could you please tag your Releases and attach a signed release APK to it, si that people can get your app.
If you add a FLOSS license, we could try to add this app to F-Droid as well.
The device supports double tap to wake by default. The file /sys/devices/platform/huawei_touch/easy_wakeup_gesture returns a value of 0x0001 or 0x0000 and accepts a value of 1 or 0
$ ./gradlew build
Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reused, use --status for details
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
> Task :app:compileDebugKotlin FAILED
w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
~/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.3.50/bf65725d4ae2cf00010d84e945fcbc201f590e11/kotlin-stdlib-jdk8-1.3.50.jar (version 1.3)
~/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.3.50/50ad05ea1c2595fb31b800e76db464d08d599af3/kotlin-stdlib-jdk7-1.3.50.jar (version 1.3)
~/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.4.10/ea29e063d2bbe695be13e9d044dcfb0c7add398e/kotlin-stdlib-1.4.10.jar (version 1.4)
~/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.4.10/6229be3465805c99db1142ad75e6c6ddeac0b04c/kotlin-stdlib-common-1.4.10.jar (version 1.4)
w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
e: /code/java/treble_app2/app/src/main/java/me/phh/treble/app/Hostapd.kt: (16, 22): Object is not abstract and does not implement abstract base class member public abstract fun debug(p0: NativeHandle!, p1: ArrayList<String!>!): Unit defined in android.hardware.wifi.hostapd.V1_0.IHostapd.Stub
e: /code/java/treble_app2/app/src/main/java/me/phh/treble/app/QtiAudio.kt: (15, 15): Object is not abstract and does not implement abstract base class member public abstract fun debug(p0: NativeHandle!, p1: ArrayList<String!>!): Unit defined in vendor.qti.hardware.radio.am.V1_0.IQcRilAudioCallback.Stub
e: /code/java/treble_app2/app/src/main/java/me/phh/treble/app/QtiAudio.kt: (24, 15): Object is not abstract and does not implement abstract base class member public abstract fun debug(p0: NativeHandle!, p1: ArrayList<String!>!): Unit defined in vendor.qti.qcril.am.V1_0.IQcRilAudioCallback.Stub
Tried it with Java Version 8 and 11.
Alternatively: Are there prebuilds available somewhere?
Means fixes aren't applied until user unlocks phone
Android 11, PixelExperience
Logs:
07-22 16:39:44.184 19506 19506 E AndroidRuntime: FATAL EXCEPTION: main
07-22 16:39:44.184 19506 19506 E AndroidRuntime: Process: me.phh.treble.app, PID: 19506
07-22 16:39:44.184 19506 19506 E AndroidRuntime: java.lang.IllegalArgumentException: Can only download HTTP/HTTPS URIs:
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at android.app.DownloadManager$Request.<init>(DownloadManager.java:475)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at me.phh.treble.app.ImsSettingsFragment$onCreatePreferences$2.onPreferenceClick(ImsSettings.kt:107)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at androidx.preference.Preference.performClick(Preference.java:1184)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at androidx.preference.Preference.performClick(Preference.java:1166)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at androidx.preference.Preference$1.onClick(Preference.java:181)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at android.view.View.performClick(View.java:7455)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at android.view.View.performClickInternal(View.java:7432)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at android.view.View.access$3600(View.java:810)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:28312)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7664)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
07-22 16:39:44.184 19506 19506 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
When I install the app via adb following error came:
Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Reconciliation failed...: Reconcile failed: Package me.phh.treble.app has no signatures that match those in shared user android.uid.system; ignoring!]
I tried it also with ADB root
After updating the apk via adb install, all the options have no effect whatsoever until a reboot because the sharedpreferencelistener doesnt fire.
I haven't particularly noticed an issue but I found a lot of this in /data/system/dropbox so just letting you know
Process: system_server
Subject: ActivityManager
Build: HUAWEI/PRA-LX1/HWPRA-H:8.0.0/HUAWEIPRA-LX1/367(C432):user/release-keys
android.util.Log$TerribleFailure: Sending non-protected broadcast com.android.systemui.doze.pulse from system 4139:me.phh.treble.app/1000 pkg me.phh.treble.app
at android.util.Log.wtf(Log.java:299)
at android.util.Log.wtf(Log.java:294)
at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:21195)
at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:21707)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:21942)
at android.app.IActivityManager$Stub.onTransact$broadcastIntent$(IActivityManager.java:10171)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:167)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3288)
at android.os.Binder.execTransact(Binder.java:731)
Caused by: java.lang.Throwable
at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:21196)
... 6 more
I mean, it spouts permission denied when changing the name/password.
Reference from this.
Logs are here:
hostapd_issue2.log
Device: Huawei Y6 (2018) - ATU-L22
ROM: AospExtended v6.0 GSI by EnesSastim
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.