Skip to content

Commit

Permalink
merge canary 371 to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
siavash79 committed Jun 30, 2024
2 parents 931c281 + 10378e8 commit b4b531a
Show file tree
Hide file tree
Showing 144 changed files with 4,825 additions and 1,459 deletions.
2 changes: 1 addition & 1 deletion .github/edit2MakeNewCanary
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Editing this file will trigger the build script for a new canary.
Editing this file will trigger the build script for a new canary..
13 changes: 10 additions & 3 deletions .github/workflowFiles/FutureChanageLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
- Compatibility with A14 Feb 2024 update
- Added option to change battery percentage color while charging
- Added option to sync system time with NTP
- Compatibility with A14 QPRx
- Compatibility with A15 beta 3

- Added:
- Support for KernelSU
- Option to indicate power saving mode on battery bar (Statusbar)
- Option to fully hide the fingerprint icon from lockscreen (Lockscreen)
- Lockscreen wallpaper depth effect (Android 14+) (Lockscreen)
- Option to add adaptive brightness toggle to QS panel (Quick Settings)
- Option to customize the physical button actions (Misc)

- Bug fixes

8 changes: 5 additions & 3 deletions .github/workflowFiles/ReleaseNotesTemplate.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
**Compatibility:**
Pixel Stock Rom:
13 QPR1 (December 2022) and later
14 Stable (including QPR1 & QPR2)
14 (stable / beta) and 14 QPRx
15 beta 3

**If you're updating from previous versions:**
Update your module via module update shortcut in Magisk, or use the built-in updater located in the app

**To install, you will need to:**
Install LSPosed Zygisk (https://github.com/LSPosed/LSPosed/releases)
Install the zip file in Magisk (You will be able to install canary builds once the stable version is installed, through in-app updater)
Install LSPosed
Caution: If using KSU, make sure to disable "unmount modules by default" from KSU options, or your device will bootloop
Install the zip file in Magisk/KSU (You will be able to install canary builds once the stable version is installed, through built-in updater)
Reboot
Technically, the module should automatically activate itself in Lsposed and get its required root permissions. If didn't, please activate manually and reboot again
6 changes: 3 additions & 3 deletions .github/workflows/makeCanaryRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: git clone --branch canary --single-branch --recurse-submodules https://github.com/siavash79/PixelXpert.git .

- name: JDK 17 Setup
uses: actions/setup-java@v3
uses: actions/setup-java@v4.1.0
with:
java-version: '17'
distribution: 'temurin'
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
run: .github/make_zip.sh

- name: Upload Xposed Artifact to Actions
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
with:
name: PixelXpert.zip
path: output
Expand All @@ -66,7 +66,7 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Canary Binary Release
uses: ncipollo/release-action@v1.13.0
uses: ncipollo/release-action@v1.14.0
with:
tag: 'canary_builds'
name: 'Latest Canary'
Expand Down
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

123 changes: 123 additions & 0 deletions CanaryChangelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,126 @@
**canary-371**
- A15beta3: Fixed transparent fingerprint color

**canary-370**
- A15beta3: screenshot error when sound is disabled
- A15beta3: fixed forced monochrome icons bug

**canary-369**
- A15beta3: fixed forced monochrome icons

**canary-368**
- A15beta3: fixed a bootloop caused by statusbar mods
- A15beta3: fixed QS light theme
- A15beta3: fixed multi row statusbar - system icons

**canary-367**
- physical buttons remap: bugfix

**canary-366**
- A14QPR2+: Fixed statusbar system icons multi row
- physical button gestures improved
- physical button gestures: bug fix

**canary-365**
- physical button gestures: improvement and bug fix

**canary-364**
- Fixed notification icon count limit. The setting might (... will) not work on older android versions anymore

**canary-363**
- Added option to remap physical buttons to custom actions

**canary-362**
- Adaptive brightness shortcut placement improved

**canary-361**
- Added option to add adaptive brightness shortcut to QS panel
- Depth wallpaper effect: compatibility with custom lockscreen dim values

**canary-360**
- Double tap to sleep: fixed QS getting randomly stuck on the screen
- Double tap to sleep: fixed QS getting stuck on the screen

**canary-359**
- A15B2: Fixed transparent fingerprint icon
- Volume tile: fixed slide resulting in mute

**canary-358**
- A15B2: Fixed flashlight and volume sliding tiles

**canary-357**
- A15B2: Fixed various color issues
- A15B2: Fixed battery icon styles
- A15B2: Fixed notification icon container

**canary-356**
- Now supporting for KernelSU

**canary-355**
- Removed spam from Chinese Traditional translation

**canary-354**
- Added option to enable wallpaper depth effect on AOD

**canary-353**
- Depth wallpaper improvements
- Added option to fix wifi hotspot in certain conditions

**canary-352**
- Depth wallpaper bug fixes

**canary-351**
- Added: option to remove PixelXpert shortcut from phone settings

**canary-350**
- Experimental: unlocked depth wallpaper for Android 13

**canary-349**
- A15ap31: Fixed forced themed icons on pixel launcher

**canary-348**
- Depth Wallpaper: bugfixes and performance improvement

**canary-347**
- Depth wallpaper: fixed screen obstruction during HUN

**canary-346**
- Depth wallpaper: fixed subject misalignment

**canary-345**
- Depth wallpaper: bug fixes

**canary-344**
- Added option to enable depth effect on lockscreen wallpaper

**canary-343**
- A14ap21: Fixed Easy Unlock
- A14ap21: Fixed QS panel mods

**canary-342**
- This release is brought to you by: aaronjamt and DHD2280
- Added option to indicate power saving on battery bar
- Added option to completely hide the fingerprint icon from lockscreen

**canary-341**
- Happy Nowruz!
- Network monitor: added bit/s to options
- Refined leveled flashlight tile

**canary-340**
- A14a21b2 & A15: Fixed system crash when adjusting volume

**canary-339**
- A14ap21b2: Fixed QS Tile label sizes
- A14ap21b2: Fixed NotificationExpander

**canary-338**
- Added March 2024's abnormal build number to support list
- improved root service operations

**canary-337**
- Fixed power saving mode not reflecting immediately on battery icon

**canary-336**
- Fixed app FC when toggling NTP

Expand Down
27 changes: 27 additions & 0 deletions MagiskModBase/customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,36 @@ activateModuleLSPD()

CMD="insert into scope (mid, app_pkg_name, user_id) values ($NEWMID, \"com.android.settings\",0);" && runSQL

CMD="insert into scope (mid, app_pkg_name, user_id) values ($NEWMID, \"me.weishu.kernelsu\",0);" && runSQL

CMD="insert into scope (mid, app_pkg_name, user_id) values ($NEWMID, \"$PKGNAME\",0);" && runSQL
}

testKernelSU()
{
if [[ $(ksud -V 2>&1 | grep "not found" | wc -c) -eq 0 ]]; then #KSU installed
if [[ $(pm list packages | grep $PKGNAME | wc -c) -eq 0 ]]; then #PixelXpert NOT installed yet
ui_print ''
ui_print '*******************************'
ui_print 'KernelSU binaries found!'
ui_print ''
ui_print ' CAUTION!: '
ui_print 'Before installation, you MUST disable'
ui_print '"Unmount modules by default"'
ui_print 'Otherwise, your device will fall into BOOTLOOP!'
ui_print ''
ui_print 'Do you wish to continue?'
ui_print 'Volume Up: Continue'
ui_print 'Volume Down: Abort'
if [[ "$(getevent -l -c 1 /dev/input/event0)" == *"VOLUMEDOWN"* ]]; then
abort 'Installation cancelled'
fi;
fi;
fi;
}

testKernelSU

prepareSQL

ui_print ''
Expand Down
2 changes: 2 additions & 0 deletions MagiskModBase/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ activateModuleLSPD()

CMD="insert into scope (mid, app_pkg_name, user_id) values ($NEWMID, \"com.android.settings\",0);" && runSQL

CMD="insert into scope (mid, app_pkg_name, user_id) values ($NEWMID, \"me.weishu.kernelsu\",0);" && runSQL

CMD="insert into scope (mid, app_pkg_name, user_id) values ($NEWMID, \"$PKGNAME\",0);" && runSQL
}

Expand Down
8 changes: 8 additions & 0 deletions PixelXpert.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 14 additions & 12 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@ android {
applicationId "sh.siava.pixelxpert"
minSdk 33
targetSdk 34
versionCode 336
versionName "3.3.2"
versionCode 370
versionName "canary-371"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

final def keystorePropertiesFile = rootProject.file("ReleaseKey.properties")

def releaseSignature = signingConfigs.debug
try(def keystorePropertiesStream = new FileInputStream(keystorePropertiesFile))
{
try (def keystorePropertiesStream = new FileInputStream(keystorePropertiesFile)) {
final def keystoreProperties = new Properties()
keystoreProperties.load(keystorePropertiesStream)
releaseSignature = signingConfigs.create("releaseSignature")
Expand All @@ -32,8 +31,8 @@ android {
storePassword keystoreProperties['storePassword']
}
}
catch(ignored)
{}
catch (ignored) {
}

buildTypes {
release {
Expand Down Expand Up @@ -86,18 +85,17 @@ dependencies {
implementation 'androidx.navigation:navigation-ui-ktx:2.7.7'
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.7'
implementation 'androidx.navigation:navigation-ui-ktx:2.7.7'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.annotation:annotation:1.7.1'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.annotation:annotation:1.8.0'
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
implementation 'com.google.android.material:material:1.12.0-alpha03'
implementation 'androidx.compose.ui:ui-geometry:1.6.1'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.compose.ui:ui-geometry:1.6.7'
//noinspection KtxExtensionAvailable
implementation 'androidx.activity:activity:1.8.2'
implementation 'androidx.activity:activity:1.9.0'
implementation 'androidx.work:work-runtime:2.9.0'
implementation "androidx.concurrent:concurrent-futures:1.1.0"


// The core module that provides APIs to a shell
implementation "com.github.topjohnwu.libsu:core:${libsuVersion}"
// Optional: APIs for creating root services. Depends on ":core"
Expand Down Expand Up @@ -125,4 +123,8 @@ dependencies {

//NTP Client
implementation "com.lyft.kronos:kronos-android:0.0.1-alpha11"

//Google Subject Segmentation - MLKit
implementation 'com.google.android.gms:play-services-mlkit-subject-segmentation:16.0.0-beta1'
implementation 'com.google.android.gms:play-services-base:18.5.0'
}
Loading

0 comments on commit b4b531a

Please sign in to comment.