ChromeXt icon indicating copy to clipboard operation
ChromeXt copied to clipboard

Support for MI Browser (Chinese version)

Open xiaowine opened this issue 2 years ago • 13 comments

This is the log modules_2023-12-23T23_35_53.16947.log This is apk apk

xiaowine avatar Dec 23 '23 15:12 xiaowine

Thanks for the package, though I cannot install it on my device. The provided log is almost empty, if possible please upload a valid one.

JingMatrix avatar Dec 23 '23 15:12 JingMatrix

Thanks for the package, though I cannot install it on my device.感谢您的软件包,尽管我无法将其安装在我的设备上。 The provided log is almost empty, if possible please upload a valid one.提供的日志几乎是空的,如果可能,请上传一个有效的日志。

My mistakes

xiaowine avatar Dec 23 '23 15:12 xiaowine

I cannot help with this APK file, since apktool cannot decompile the apk without frameworks of Xiaomi OS. If you want to help, please provide the framework files mentioned in this issue: https://github.com/iBotPeaches/Apktool/issues/2243

JingMatrix avatar Dec 23 '23 21:12 JingMatrix

I cannot help with this APK file, since apktool cannot decompile the apk without frameworks of Xiaomi OS.我无法帮助这个 APK 文件,因为 apktool 如果没有小米操作系统的框架,就无法反编译 apk。 If you want to help, please provide the framework files mentioned in this issue: iBotPeaches/Apktool#2243如果您想提供帮助,请提供本期提到的框架文件:iBotPeaches/Apktool#2243

After the system update, currently I am aware of these files zip

xiaowine avatar Dec 24 '23 05:12 xiaowine

I still cannot decompile it, maybe you are missing these files:

  1. ~~framework-res.apk from /system/framework~~
  2. ~~framework-ext-res.apk from /system/framework/framework-ext-res~~
  3. miui.apk from /system/app/miui
  4. miuisystem.apk from /system/app/miuisystem If you can find them, that is the best. If not, I have no other solutions yet.

JingMatrix avatar Dec 24 '23 10:12 JingMatrix

I still cannot decompile it, maybe you are missing these files:

  1. ~framework-res.apk from /system/framework~
  2. ~framework-ext-res.apk from /system/framework/framework-ext-res~
  3. miui.apk from /system/app/miui
  4. miuisystem.apk from /system/app/miuisystem If you can find them, that is the best. If not, I have no other solutions yet.

The current system does not have these files, maybe he changed the location

xiaowine avatar Dec 24 '23 10:12 xiaowine

I understand. It is a tricky problem since I don't have a Xiaomi device at my hand. If you find them in other locations, please upload it here.

JingMatrix avatar Dec 24 '23 10:12 JingMatrix

I understand. It is a tricky problem since I don't have a Xiaomi device at my hand. If you find them in other locations, please upload it here.

Maybe you can use the Xiaomi system via gsi

xiaowine avatar Dec 24 '23 11:12 xiaowine

Sorry, but I have only one working Android device for both developping and daily life. Hence, I won't flash it.

JingMatrix avatar Dec 24 '23 11:12 JingMatrix

I understand. It is a tricky problem since I don't have a Xiaomi device at my hand. If you find them in other locations, please upload it here.

Then you can try dsu loading, which treats the system as a new loading system, and the original does not affect Of course, if you'd like

xiaowine avatar Dec 24 '23 11:12 xiaowine

Sounds interesting, where can I find the official GSI of HyperOS?

JingMatrix avatar Dec 24 '23 11:12 JingMatrix

I understand. It is a tricky problem since I don't have a Xiaomi device at my hand. If you find them in other locations, please upload it here.

Then you can try dsu loading, which treats the system as a new loading system, and the original does not affectOf course, if you'd like

Official did not provide, you can go to the xda forum to find the folk production

xiaowine avatar Dec 24 '23 11:12 xiaowine

I tested the browser apk downloaded from: https://browser-small-app.cn.uptodown.com/android And it works well now. Maybe you can retry it on your device, or use the package in the given link.

JingMatrix avatar Mar 12 '24 14:03 JingMatrix

Hello, could you please show the result of

adb shell ls /system/framework/

I need to figure out the location of framework on Xiaomi device to finally support the browser.

JingMatrix avatar Sep 28 '24 06:09 JingMatrix

Hello, could you please show the result of您好,您能否展示一下

adb shell ls /system/framework/

I need to figure out the location of framework on Xiaomi device to finally support the browser.我需要弄清楚框架在小米设备上的位置,才能最终支持浏览器。

MiuiBooster.jar
QPerformance.jar
QXPerformance.jar
UxPerformance.jar
WfdCommon.jar
abx.jar
am.jar
android.hidl.base-V1.0-java.jar
android.hidl.manager-V1.0-java.jar
android.test.base.jar
android.test.mock.jar
android.test.runner.jar
appwidget.jar
arm
arm64
bmgr.jar
boot-QPerformance.vdex
boot-UxPerformance.vdex
boot-WfdCommon.vdex
boot-apache-xml.vdex
boot-bouncycastle.vdex
boot-core-icu4j.vdex
boot-core-libart.vdex
boot-ext.vdex
boot-framework-adservices.vdex
boot-framework-graphics.vdex
boot-framework.vdex
boot-ims-common.vdex
boot-miui-enterprise-sdk.vdex
boot-miui-framework.vdex
boot-miui-telephony-common.vdex
boot-okhttp.vdex
boot-tcmiface.vdex
boot-telephony-common.vdex
boot-telephony-ext.vdex
boot-voip-common.vdex
boot.vdex
bu.jar
com.android.future.usb.accessory.jar
com.android.location.provider.jar
com.android.media.remotedisplay.jar
com.android.mediadrm.signer.jar
com.android.nfc_extras.jar
content.jar
ext.jar
framework-graphics.jar
framework-res.apk
framework.jar
hid.jar
ims-common.jar
incident-helper-cmd.jar
javax.obex.jar
locksettings.jar
monkey.jar
oat
org.apache.http.legacy.jar
org.apache.http.legacy.jar.prof
requestsync.jar
services.jar
services.jar.bprof
services.jar.prof
sm.jar
svc.jar
tcmclient.jar
tcmiface.jar
telecom.jar
telephony-common.jar
telephony-ext.jar
uiautomator.jar
uinput.jar
vendor.qti.hardware.data.connectionaidl-V1-java.jar
vendor.qti.hardware.radio.qtiradio-V1-java.jar
vendor.xiaomi.hardware.aidlbgservice-V1-java.jar
vendor.xiaomi.hardware.bgservice-V1.0-java.jar
vendor.xiaomi.hardware.misys-V1.0-java.jar
vendor.xiaomi.hardware.misys-V2.0-java.jar
vendor.xiaomi.hardware.misys-V4.0-java.jar
vendor.xiaomi.hardware.misys.V3_0.jar
voip-common.jar
vr.jar
wapicertstore.jar

xiaowine avatar Sep 28 '24 06:09 xiaowine

Thanks, please pack them and upload it here.

  1. First you pull then locally: adb pull /system/framework/
  2. Then, you pack the local framework folder into zip and upload it.

I hope those files are sufficient.

JingMatrix avatar Sep 28 '24 07:09 JingMatrix

Thanks, please pack them and upload it here.

  1. First you pull then locally: adb pull /system/framework/
  2. Then, you pack the local framework folder into zip and upload it.

I hope those files are sufficient.

link

xiaowine avatar Sep 28 '24 09:09 xiaowine

@xiaowine Could you please upload the Mi Browser apk again? Your previous link of it was expired.

JingMatrix avatar Sep 28 '24 10:09 JingMatrix

@xiaowine Could you please upload the Mi Browser apk again? Your previous link of it was expired.您能否再次上传 Mi Browser apk?您之前的链接已过期。

link

xiaowine avatar Sep 28 '24 10:09 xiaowine

Please try the latest build. In case that it doesn't work, please upload relevant logs.

adb logcat -s ChromeXt AndroidRuntime LSPatch LSPosed LSPatch-MetaLoader LSPatch-SigBypass LSPosed-Bridge LSPlant LSPosedContext zygisk64 LSPlt Dobby LSPosedService '*:F'

JingMatrix avatar Sep 29 '24 00:09 JingMatrix