skittles9823 / QuickSwitch

841 stars 40 forks source link

Migrate to AAPT2 for compatibility with Android 14 QPR2 #54

Closed Mahmud0808 closed 3 months ago

Mahmud0808 commented 6 months ago

Changes:

The QuickSwitch.apk app also uses aapt, which you can find inside its assets folder. This means we need to update this app too. But since I don't have the source code, I can't do that.

devlocalhost commented 6 months ago

Hi, does this fix the issues with android 14 QPR2 roms?

Mahmud0808 commented 6 months ago

Hi, does this fix the issues with android 14 QPR2 roms?

Module part should work, APK doesn't because that needs to be updated too. And APK is closed source afaik.

devlocalhost commented 6 months ago

Hi, does this fix the issues with android 14 QPR2 roms?

Module part should work, APK doesn't because that needs to be updated too. And APK is closed source afaik.

So it needs more work? Would maybe using the quickswitch command work?

I really want to get rid of trebuchet, I hate it.

Mahmud0808 commented 6 months ago

Would maybe using the quickswitch command work?

Give it a try

devlocalhost commented 5 months ago

Would maybe using the quickswitch command work?

Give it a try

Well I tried to do something, I downloaded the changes you did and flashed the module, but no success:

# /data/adb/modules/quickswitch/quickswitch --ch=app.lawnchair          
       _____
   __ |     | __
  |  ||     ||  |
  |  ||     ||  |
  |__||     ||__|
      |_____|
    QuickSwitch

 The Lawnchair Team

The overlay will be copied to /data/adb/modules/quickswitch/product/overlay/QuickSwitchOverlay...
/data/adb/modules/quickswitch/zipsigner[19]: syntax error: unexpected '||'
cp: cannot stat '/data/adb/modules/quickswitch/signed.apk': No such file or directory

Overlay successfully copied...

Setting permissions...

Logs copied to /sdcard/Documents/quickswitch...

Please reboot for changes to take effect.
Mahmud0808 commented 5 months ago

/data/adb/modules/quickswitch/zipsigner[19]: syntax error: unexpected '||' cp: cannot stat '/data/adb/modules/quickswitch/signed.apk': No such file or directory

You need PR #57 too

Anyway it's better to avoid flooding this PR

skittles9823 commented 3 months ago

merged in #60