liyafe1997 / CustoMIUIzerMod

A mod version of CustoMIUIzer, to adapt Android11+ & MIUI12.5+
GNU General Public License v3.0
73 stars 6 forks source link

Not working in miui 13 ( miui 13 support request) #4

Open iamLiquidX opened 2 years ago

iamLiquidX commented 2 years ago

Phone Model, Android & MIUI Version:

Describe the problem Please 🙏 bring Miui 13 android 12 support as most of the newer devices are updated to it already. We really want that screenshot saving customised folder option.

When we try to launch the app in miui 13 ,it says cannot initiate miui sdk, not an miui rom.

Screenshots If applicable, add screenshots to help explain your problem.

Related APK upload Not applicable.

LSPosed/EdXposed Log not Needed.

liyafe1997 commented 2 years ago

I have no Android 12 & MIUI 13 device for debugging currently, could you please try this APK and see what happen, if it is able to launch, see what mods can work on Android 12. I removed MIUISDK on Android12 on that APK. Thank you!

iamLiquidX commented 2 years ago

Installed the apk. Enabled in lsposed. Re-started. When tried to launch , screen goes blank. But no 'miui sdk not found error'

iamLiquidX commented 2 years ago

Also sorry for being dumb... Didn't attach logs earlier. So logs and screen being blank. Please do tell me if u need anything else to debug

LSPosed_2022-05-09T14_39_06.938.zip

Screenshot_2022-05-09-14-38-49-733_org strawing customiuizermod

@liyafe1997

liyafe1997 commented 2 years ago

Seems it's not easy to support Android 12 at this moment... The original CustoMIUIzer App itself (the settings UI) is based on the MIUI SDK, it uses a lot of API and elements from the MIUI SDK, but since Android 12 based MIUI, the MIUI framework seems be refactored, that SDK was gone in the system framework, so this app unable to load MIUI SDK...

One solution is refactor the whole setting UI using Android native API, but it will lose all the MIUI style and it takes time. Otherwise, make the MIUI SDK works on Android 12 based MIUI, I have no clue yet, and the most important thing is, I don't have a Android 12 & MIUI13 device to debug...

iamLiquidX commented 2 years ago

I understand. It's okay i will switch to android 11 miui 12.5. btw there is miui sdk present in the miui 13 but i think its modified.

Screenshot_2022-05-10-08-44-00-712_com miui securitycenter

liyafe1997 commented 2 years ago

You don't need to close this😂Because we still have to support Android12 in the future, just pending at this moment. Actually the MIUI SDK is not a same stuff, in Android11 and below it is a jar package in /system/framework, not an APK. I am not sure it moved all the features into the APK or not, I will investigate this in the future.

NNorLand commented 2 years ago

升级MIUI13之前,已经安装了CustoMIUIzer,并且配置了一些配置项,如更改应用在桌面上的显示名称等,升级之后,这些配置项依然有效,只是CustoMIUIzer模块界面打不开,提示“无法初始化MIUI SDK。不是MIUI ROM?”。希望至少能打开界面,可以配置某些还能生效的配置项。

kearmau5 commented 2 years ago

You don't need to close this😂Because we still have to support Android12 in the future, just pending at this moment. Actually the MIUI SDK is not a same stuff, in Android11 and below it is a jar package in /system/framework, not an APK. I am not sure it moved all the features into the APK or not, I will investigate this in the future.

waiting for future updates mate good luck !, A12 still has some issues i have A12 and MiUi 13 capable device, i tried modifying the SDK but in still nothing !, i gave up on it sadly, waiting the news from you !!

iamLiquidX commented 2 years ago

You don't need to close this😂Because we still have to support Android12 in the future, just pending at this moment. Actually the MIUI SDK is not a same stuff, in Android11 and below it is a jar package in /system/framework, not an APK. I am not sure it moved all the features into the APK or not, I will investigate this in the future.

Found a working one

https://github.com/MonwF/customiuizer