After excuting /data/adb/modules/quickswitch/quickswitch --ch=app.lawnchair command and restarting, the recents provider did not switch to Lawnchair correctly.
Environment:
Android 13
KernelSU 11458
QuickSwitch v4.0.2
Lawnchair v14.0.0-beta-2
Causes:
After executing the command, the directory structure was as follows (some files have been omitted):
According to KernelSU documentation, the directory structure should be like this:
/data/adb/modules
├── .
├── .
|
└── $MODID <--- The folder is named with the ID of the module
│
│ *** Main Contents ***
│
├── system <--- This folder will be mounted if skip_mount does not exist
│ ├── ...
│ ├── ...
│ └── ...
│
│ *** Auto Generated, DO NOT MANUALLY CREATE OR MODIFY ***
│
├── vendor <--- A symlink to $MODID/system/vendor
├── product <--- A symlink to $MODID/system/product
└── system_ext <--- A symlink to $MODID/system/system_ext
Where product should be a symlink, but was actually a normal directory created by quickswitch, so it was not mounted correctly by overlayfs, which can be fixed by simply moving the product directory to the system directory
Description:
After excuting
/data/adb/modules/quickswitch/quickswitch --ch=app.lawnchair
command and restarting, the recents provider did not switch to Lawnchair correctly.Environment:
Causes:
After executing the command, the directory structure was as follows (some files have been omitted):
According to KernelSU documentation, the directory structure should be like this:
Where
product
should be a symlink, but was actually a normal directory created by quickswitch, so it was not mounted correctly by overlayfs, which can be fixed by simply moving theproduct
directory to thesystem
directoryReference: https://kernelsu.org/guide/module.html#kernelsu-modules