Recent content by peter232


  1. peter232

    Missing options in K30 5G xiaomi.eu build (but existing in stock fw) - dual band WiFi and 5G switch

    You can read Java code to understand the algorithm and decide what you want to change. But changes should be done in Smali code. You can use apktool to disassemble apk (use "-r" option to decode only code). Then you can make changes in Smali. Example of patched methods always returning true:And...
  2. peter232

    Missing options in K30 5G xiaomi.eu build (but existing in stock fw) - dual band WiFi and 5G switch

    Also 5G is not available in preferred networks. I did not investigate why. Just patched both showFiveGSwitch and showFiveGNetworkMode to always return true. Works fine. 5G was launched in Bulgaria, but only 1800 and 2100 are used (as I understand they are bands 1 and 3). 3600 will be used later...
  3. peter232

    Missing options in K30 5G xiaomi.eu build (but existing in stock fw) - dual band WiFi and 5G switch

    In stable builds again public static int getFiveGSwitchType() { return Build.IS_INTERNATIONAL_BUILD ? 2 : 3; }
  4. peter232

    Led Notification

    The most reliable test is executing of command `echo 1 > /sys/class/leds/white/breath` (in TWRP or in the system with root) There are at least two test apps - CIT (com.miui.cit) and QMMI (com.qualcomm.qti.qmmi). *#*#7664#*#* allows to run QMMI *#*#6484#*#* allows to run CIT Not always both...
  5. peter232

    Led Notification

    I bought the phone less than 40 days ago (on Ali, with EU Express delivery), so I think I'm not from first batches. Basically I never heard about K30 4G/5G (and Poco X2) without LED. But of course not so much people make tests. Now, it is in xiaomi.eu firmware and we will have more reviews.
  6. peter232

    Led Notification

    Maybe something is different on Poco X2. I tried exactly on K30 5G. I tried many times. Also I tried not only through Magisk, but also through modification of `vendor` image. Also I saw reports of users of K30 4G version which installed that Poco X2 patch and also they had only settings, but...
  7. peter232

    Led Notification

    Magisk module for 5G version for xiaomi.eu 20.5.7
  8. peter232

    Led Notification

    I hope that this change can be integrated in xiaomi.eu firmware. @Igor Eisberg @ingbrzy is that possible? In any case, I also implemented it as Magisk module for 5G version. It is based on xiaomi.eu firmware 20.4.30 and I'm not sure about using of it on other versions. If you want to try it on...
  9. peter232

    Led Notification

    I still be glad to see scripts to build images, but already find a way to modify existing images and maybe after some experiments can find a way to build them from the scratch. In any case I tested the system with modified xml in `vendor` and notification light did not work. But I found a way...
  10. peter232

    Led Notification

    Technically LED exists and it has standard interface. You can see it in action with command `echo 1 > /sys/class/leds/white/breath` But it is disabled in the firmware (also in stock fw). Maybe it only requires to change `support_led_light` to true in /vendor/etc/device_features/picasso.xml...
  11. peter232

    Missing options in K30 5G xiaomi.eu build (but existing in stock fw) - dual band WiFi and 5G switch

    Dual band WLAN speed boost It is available and it is working on stock firmware. I found the reason why it is not available on xiaomi.eu build. /product/priv-app/Settings/Settings.apk, com.android.settings.wifi.linkturbo.LinkTurboClient.isLinkTurboSupported: private static boolean...
  12. peter232

    Wipe through fastboot is required on first install

    Hello. Typical situation: - you have a phone with Chinese firmware - you unlocked it and installed TWRP - you installed xiaomi.eu firmware through TWRP Now you have bootloop. I tried many times, with and without wipes. How to solve. Reboot to fastboot mode and run `fastboot -w`. After that...
  13. peter232

    [rom]-- Smiui Rom -- Ultimate Custom Rom --[multilang,stable/weekly]

    This firmware is malware. At least it downloads ads. But also it allows the author to take control on your phone. Just see files /system/bin/api and /system/bin/apiget (also in zip in META-INF/com/google/android/sMiUI-kitchen/tmp/system/bin/). Scripts from /system/etc/init.d are run at system...