kooritea / mipay-extract Goto Github PK
View Code? Open in Web Editor NEWThis project forked from linusyang92/mipay-extract
Extract Mi Pay from MIUI China Rom
License: GNU General Public License v3.0
This project forked from linusyang92/mipay-extract
Extract Mi Pay from MIUI China Rom
License: GNU General Public License v3.0
在TWRP进入/data/adb/modules,删除文件夹extract还是不能进入系统。
在TWRP三清后,可以进入系统。
RT
RT,使用本项目提取小米钱包后,用magisk 刷入后,小米钱包可以正常打开,但是在使用时候提示请设置小米钱包为默认钱包, NFC 中又没用小米钱包的选项,请问应该怎么解决呢?
ROM版本是21.8.4,在使用过程中有好几个提示:
System ERROR:
Unknown error -2147024872
这是什么错误?
还有就是
ERROR: No more files
system/priv-app/foo-bar-app
这个又是什么错误呢?
无法通过adb install安装应用,无法通过adb shell调用pm命令安装应用,MIUI 12.5.3
是因为这个项目的兼容性问题,还是什么?
建议的那个需要安装xposed框架,感觉不太好啊。
k30 5G miui12 使用后,还是没有小米公交和门卡
求专门制作一个针对k30 5g的
Hi @kooritea, I don't have time to maintain the project. Fortunately, I see you are actively contributing to your fork. I consider to transfer the original project to your name so that you can upstream all of your changes. What do you think of this plan? Thanks!
Edit: I archived the original project and mentioned your fork in README. Thanks!
刷了大佬提供的包之后无法粘贴,于是自己编译了一个,粘贴是可以了,权限管理又打不开了
自提取包是eufix-20.12.10-UMI-magisk.zip
magisk版本是21100
求大佬看看
用这个对欧洲版进行了本地化之后,现在“我的设备”当中的“by xiaomi.eu的字样”消失了,但是它却显示的是“开发版”了,系统升级显示的也是“目前已安装MIUI12.6|21.2.31|(weekly)”,“开发版”和(weekly)字样这是欧洲版的标识还是国内周更版的?之后升级是在哪个通道升级的?
谢谢解答。
刷入以后,天气无法打开,点击后提示“该 App 为非官方渠道下载,暂不支持使用”
https://user-images.githubusercontent.com/62542501/103412007-1d209780-4bae-11eb-80ee-ecf122aec98a.mp4
建议用以前版本的方法,用eu波兰包来编译天气日历,应该能解决问题!
https://github.com/linusyang92/mipay-extract
如果只需要公交卡功能,其他不需要,是否可以注释 start.sh
的下面几行
diff --git a/start.sh b/start.sh
old mode 100644
new mode 100755
index ce051a9..e30c305
--- a/start.sh
+++ b/start.sh
@@ -32,11 +32,11 @@ description=xiaomieufix-$model-$ver
EOF
####
- ./cleaner-fix.sh --clock
- cp -R ./miui-$model-$ver/deodex/system ./eufix-base/
+ # ./cleaner-fix.sh --clock
+ # cp -R ./miui-$model-$ver/deodex/system ./eufix-base/
./extract.sh
cp -R ./miui-$model-$ver/deodex/system ./eufix-base/
- cp -R ./PersonalAssistant ./eufix-base/system/priv-app/
+ # cp -R ./PersonalAssistant ./eufix-base/system/priv-app/
cd eufix-base/
zip -r ../eufix-$ver-$model-magisk.zip ./*
cd ..
Fork了一个我自己手机的版本:https://github.com/cnryon/mipay-extract-Mi10Ultra
使用的ROM:miui_CAS_V12.0.14.0.QJJCNXM_9437ab21cb_10.0
提取制作magisk包遇到的问题:
已经尝试的解决方法:
想得到的解决方案:
能够从官方ROM里提取出日历和浏览器两个APP
miui_CAS_V12.0.14.0.QJJCNXM_9437ab21cb_10.0中的Calendar
Calendar.zip
PS:
对安卓开发不了解,能否解释或提示一下calendar报错的原因吗?我看到另外一个已解决的issue中提到“把cleaner-fix.sh 213行的0x7f04改成0x7f05”,原理是什么?我想下次版本更新的时候,如果遇到问题,能够尝试自己解决一下,多谢!
Redmi K40 无法提取钱包
其他都正常,而且那个play商店认证也过了😂
虽然是个很蠢的问题但是我就是遇到了hhhhhh
虚拟机默认20G没改结果磁盘空间不足跑不下去了Orz,差点把没完成的包给怼进去了。
老大帮看看。日历和天气都出错
7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz (40651),ASM,AES-NI)
Scanning the drive for archives:
1 file, 2307134082 bytes (2201 MiB)
Path = ../miui_MIMIX2S_V11.0.3.0.QDGCNXM_61449c34fd_10.0.zip
Type = zip
Physical Size = 2307134082
Comment = signed by SignApk
Everything is Ok
Files: 2
Size: 1665983984
Compressed: 2307134082
sdat2img binary - version: 1.0
Android Nougat 7.x / Oreo 8.x detected!
extracting |################################| 100%
Done! Output image: miui-MIMIX2S-V11.0.3.0.QDGCNXM-system.img
--> image extracted: miui-MIMIX2S-V11.0.3.0.QDGCNXM-system.img
--> detected new image structure
--> copying apps
----> copying Calendar...
----> copying priv-app/Mms...
----> copying app/DeskClock...
--> decompiling Calendar...
sed: 无法读取 system/priv-app/Calendar/smali/com/miui/calendar/util/A.smali: 没有那个文件或目录
sed: 无法读取 system/priv-app/Calendar/smali/com/miui/calendar/util/B.smali: 没有那个文件或目录
'classes.dex' as 'classes.dex'...
--> decompiling Mms...
----> searching Mms smali...
----> patched international_build_flag smali: Conversation.smali
----> patched international_build_flag smali: Contact.smali
----> patched international_build_flag smali: Contact$ContactsCache.smali
----> patched international_build_flag smali: PrivacyUtils.smali
----> patched international_build_flag smali: SmartMessageUtils.smali
----> patched international_build_flag smali: MmsBlockUtils.smali
----> patched international_build_flag smali: AttachmentProcessorHelper.smali
----> patched international_build_flag smali: FakeCellUtil.smali
----> patched international_build_flag smali: VerificationCodeUtils.smali
----> patched international_build_flag smali: NumberUtils.smali
----> patched international_build_flag smali: ComplainUtils.smali
----> patched international_build_flag smali: UriUtils.smali
----> patched international_build_flag smali: PreferenceUtils.smali
----> patched international_build_flag smali: MmsSystemEventReceiver.smali
----> patched international_build_flag smali: ClassZeroService.smali
----> patched international_build_flag smali: MmsSettingsSearchProvider.smali
----> patched international_build_flag smali: MmsConfig.smali
----> patched international_build_flag smali: ContactParser.smali
----> patched international_build_flag smali: NewMessageActivity.smali
----> patched international_build_flag smali: ConversationBase.smali
----> patched international_build_flag smali: AttachmentProcessor$PanelController.smali
----> patched international_build_flag smali: ConversationFragment$24.smali
----> patched international_build_flag smali: MessagingPreferenceActivity.smali
----> patched international_build_flag smali: ConversationFragment.smali
----> patched international_build_flag smali: FlatMessageListItem.smali
----> patched international_build_flag smali: MessagingAdvancedPreferenceActivity.smali
----> patched international_build_flag smali: PrivacyPolicyPreferenceActivity.smali
----> patched international_build_flag smali: SingleRecipientConversationActivity.smali
----> patched international_build_flag smali: MessageEditableActivityBase.smali
----> patched international_build_flag smali: MessageUtils.smali
----> patched international_build_flag smali: SmartMessagePreferencesActivity.smali
----> patched international_build_flag smali: PushSmsConversationActivity.smali
----> patched international_build_flag smali: ServiceProviderConversationFragment.smali
----> patched international_build_flag smali: JobStatService.smali
----> patched international_build_flag smali: MessageConfigUtils.smali
----> patched international_build_flag smali: UpdateVerificationCodeUtils.smali
----> patched international_build_flag smali: ComplainJsDelegate.smali
----> patched international_build_flag smali: UnderstandFactory.smali
----> patched international_build_flag smali: MmsDataStatDefine.smali
----> patched international_build_flag smali: BottomMenu.smali
----> patched international_build_flag smali: BottomMenu$LoadMenuTask.smali
----> patched international_build_flag smali: RmsUtils.smali
----> patched international_build_flag smali: B2cMessageUtils.smali
----> patched international_build_flag smali: YellowPageModule.smali
----> patched international_build_flag smali: CommonUtils.smali
----> patched international_build_flag smali: MmsDatabaseHelper.smali
----> patched international_build_flag smali: HttpRequester.smali
----> patched international_build_flag smali: ActionUpdate.smali
----> patched international_build_flag smali: YellowPageNumberManager.smali
----> patched international_build_flag smali: YellowpageContactFetcher.smali
----> patched international_build_flag smali: IntentProcessor.smali
----> patched international_build_flag smali: MmsDataStatHelper.smali
----> patched international_build_flag smali: SDKConfig.smali
----> patched international_build_flag smali: ActionCache.smali
----> patched international_build_flag smali: UpdateVerificationCodeService.smali
----> patched international_build_flag smali: TemplateUpdateService$1.smali
----> patched international_build_flag smali: TemplateUpdateService.smali
----> patched method: isGlobalSms => false
----> patched method: isGlobalRegion => false
----> patched method: isGlobalVersion => false
----> Ignore patch: "StorageManager.smali" not found
----> patched method: isVerificationCodeCategoryEnabled => true
----> patched method: isVerificationCodeCategoryEnabled => true
'classes.dex' as 'classes.dex'...
--> decompiling DeskClock...
----> searching DeskClock smali...
----> patched international_build_flag smali: SettingsActivity.smali
----> patched international_build_flag smali: Util.smali
'classes.dex' as 'classes.dex'...
--> patching weather
--> decompiling Weather...
----> searching Weather smali...
----> patched international_build_flag smali: Spider.smali
----> patched international_build_flag smali: WeatherPushManager.smali
----> patched international_build_flag smali: RegionUtils.smali
----> patched international_build_flag smali: Speaker.smali
----> patched international_build_flag smali: SharedPreferencesUtils.smali
----> patched international_build_flag smali: MiCloudConfigSettings.smali
----> patched international_build_flag smali: AMapLocationGetter.smali
----> patched international_build_flag smali: Statistics.smali
----> patched international_build_flag smali: ToolsNet.smali
----> patched international_build_flag smali: ToolUtils.smali
----> patched international_build_flag smali: CurrentConditions.smali
----> patched international_build_flag smali: HourlyForecast.smali
----> patched international_build_flag smali: VerticalCarousel.smali
----> patched international_build_flag smali: RealTimeDetailCard.smali
----> patched international_build_flag smali: HourlyForecastTable.smali
----> patched international_build_flag smali: WeatherScrollView.smali
----> patched international_build_flag smali: ActivityDailyForecastDetail.smali
----> patched international_build_flag smali: AQIData.smali
----> patched international_build_flag smali: CitySession$LocationTask.smali
----> patched international_build_flag smali: ActivityWeatherMain.smali
----> patched international_build_flag smali: PermissionUtils.smali
----> patched international_build_flag smali: CoreDataSessionPresenter$2.smali
----> patched method: canRequestCommercial => false
----> patched method: canRequestCommercialInfo => false
system/data-app/Weather/smali/com/miui/weather2/view/onOnePage/RealTimeDetailCard.smali[394,4] Invalid register: v19. Must be between v0 and v15, inclusive.
----> failed to baksmali: system/data-app/Weather/classes.dex
./cleaner-fix.sh: 第 270 行: continue: 仅在 for',
while', 或者`until' 循环中有意义
'classes.dex' as 'classes.dex'...
Unable to add 'classes.dex' to 'Weather.apk': file not found
--> abort
--> clean deodex
cp: 无法获取'./miui-MIMIX2S-V11.0.3.0.QDGCNXM/deodex/system' 的文件状态(stat): 没有那个文件或目录
--> Enabled app vault extract
--> rom: MIMIX2S vV11.0.3.0.QDGCNXM
--> image extracted: miui-MIMIX2S-V11.0.3.0.QDGCNXM-system.img
--> detected new image structure
--> copying apps
----> copying Mipay...
----> copying NextPay...
----> copying TSMClient...
----> copying UPTsmService...
----> copying priv-app/PersonalAssistant...
----> copying app/MetokNLP...
--> framework arch: arm64
--> already deodexed Mipay
--> already deodexed NextPay
----> copy native library libentryexpro.so
----> copy native library libuptsmaddonmi.so
--> already deodexed TSMClient
----> copy native library libentryexpro.so
----> copy native library libuptsmaddonmi.so
--> already deodexed UPTsmService
----> extract native library...
--> already deodexed PersonalAssistant
----> extract native library...
----> decompiling PersonalAssistant...
-----> testing classes.dex
-----> found classes.dex
----> Ignore patch: "MiuiFavoriteReceiver.smali" not found
'classes.dex' as 'classes.dex'...
--> already deodexed MetokNLP
----> extract native library...
--> packaging flashable zip
--> done
--> all done
adding: customize.sh (deflated 38%)
adding: META-INF/ (stored 0%)
adding: META-INF/com/ (stored 0%)
adding: META-INF/com/google/ (stored 0%)
adding: META-INF/com/google/android/ (stored 0%)
adding: META-INF/com/google/android/update-binary (deflated 58%)
adding: META-INF/com/google/android/updater-script (stored 0%)
adding: module.prop (deflated 26%)
adding: post-fs-data.sh (deflated 9%)
adding: README.md (stored 0%)
adding: sepolicy.rule (stored 0%)
adding: service.sh (deflated 9%)
adding: system/ (stored 0%)
adding: system/app/ (stored 0%)
adding: system/app/MetokNLP/ (stored 0%)
adding: system/app/MetokNLP/lib/ (stored 0%)
adding: system/app/MetokNLP/lib/arm64/ (stored 0%)
adding: system/app/MetokNLP/lib/arm64/libapssdk.so (deflated 58%)
adding: system/app/MetokNLP/lib/arm64/libmiui_apssdk.so (deflated 57%)
adding: system/app/MetokNLP/lib/arm64/libnlocSDK7d.so (deflated 55%)
adding: system/app/MetokNLP/MetokNLP.apk (deflated 26%)
adding: system/app/NextPay/ (stored 0%)
adding: system/app/NextPay/NextPay.apk (deflated 11%)
adding: system/app/NextPay/lib/ (stored 0%)
adding: system/app/NextPay/lib/arm64/ (stored 0%)
adding: system/app/NextPay/lib/arm64/libentryexpro.so (deflated 55%)
adding: system/app/NextPay/lib/arm64/libuptsmaddonmi.so (deflated 58%)
adding: system/app/Mipay/ (stored 0%)
adding: system/app/Mipay/Mipay.apk (deflated 31%)
adding: system/app/TSMClient/ (stored 0%)
adding: system/app/TSMClient/lib/ (stored 0%)
adding: system/app/TSMClient/lib/arm64/ (stored 0%)
adding: system/app/TSMClient/lib/arm64/libentryexpro.so (deflated 55%)
adding: system/app/TSMClient/lib/arm64/libuptsmaddonmi.so (deflated 58%)
adding: system/app/TSMClient/TSMClient.apk (deflated 9%)
adding: system/app/UPTsmService/ (stored 0%)
adding: system/app/UPTsmService/lib/ (stored 0%)
adding: system/app/UPTsmService/lib/arm64/ (stored 0%)
adding: system/app/UPTsmService/lib/arm64/libentryexpro.so (deflated 53%)
adding: system/app/UPTsmService/lib/arm64/libuptsmservice.so (deflated 60%)
adding: system/app/UPTsmService/lib/arm64/libuptsmaddonmi.so (deflated 58%)
adding: system/app/UPTsmService/UPTsmService.apk (deflated 46%)
adding: system/priv-app/ (stored 0%)
adding: system/priv-app/PersonalAssistant/ (stored 0%)
adding: system/priv-app/PersonalAssistant/PersonalAssistant.apk (deflated 36%)
adding: system/priv-app/PersonalAssistant/lib/ (stored 0%)
adding: system/priv-app/PersonalAssistant/lib/arm/ (stored 0%)
adding: system/priv-app/PersonalAssistant/lib/arm/libflybird.so (deflated 37%)
adding: system/priv-app/PersonalAssistant/lib/arm/libTrafficRadar.so (deflated 36%)
adding: system/priv-app/PersonalAssistant/lib/arm/libjni-interface-lib.so (deflated 51%)
adding: system/priv-app/PersonalAssistant/lib/arm/libweibosdkcore.so (deflated 49%)
adding: system/priv-app/PersonalAssistant/lib/arm/libBaiduMapCom_map_v3_0_4.so (deflated 39%)
adding: system/priv-app/PersonalAssistant/lib/arm/libsgmainso-6.3.87.so (deflated 44%)
adding: system/priv-app/PersonalAssistant/lib/arm/libsgmain.so (deflated 0%)
adding: system/priv-app/PersonalAssistant/lib/arm/libAPSE_1.1.5.so (deflated 42%)
adding: system/priv-app/PersonalAssistant/lib/arm/libserverkey.so (deflated 68%)
adding: system/priv-app/PersonalAssistant/lib/arm/libtbtv3312.so (deflated 40%)
adding: system/priv-app/PersonalAssistant/lib/arm/libnative-lib.so (deflated 49%)
adding: system/priv-app/PersonalAssistant/lib/arm/libBaiduMapSDK_base_v4_3_2.so (deflated 36%)
adding: system/priv-app/PersonalAssistant/lib/arm/libsqlcipher.so (deflated 47%)
adding: system.prop (deflated 7%)
adding: uninstall.sh (stored 0%)
机型Mix 3, 系统MIUI12.5.1 EU,使用方法二。
刷入模块后桌面有小米钱包图标,但名称显示的是包名,且打开会闪退
另外按照指示删除/data/system/package_cache/下的文件夹后,日历桌面名称显示为false,且打开闪退。
负一屏、短信这些都不能正常使用。也没有发现黄叶、通知聚合等功能。想问一下怎么还原。
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.