[Guide] Mi Pad 4 Plus with LOS 16 from @Thargorsson) with or without NanoDroid]

Search This thread

tom.android

Senior Member
Jul 12, 2016
1,943
467
!!! Update lineage-16.0-20190910-UNOFFICIAL-clover.zip
https://androidfilehost.com/?fid=1899786940962581845
---------------------------------------
Download ROM https://androidfilehost.com/?fid=11410963190603907427
Supported-
  • DT2W
  • DT2C ( on Status bar)
  • exFAT
  • USB Preferences options (File transfe, usb tethering, MIDI,PTP,No data transfer)
  • Xiaomi performance setting option
!!!! Important
  • Unlocked Bootloader
  • Backup persist partition
    (There are some project that changes your WIFI MAC Address. if it happened you will lost it forever.)
    It shows wifi but after entering pwd it shows only saved. Can't connect at all.
    Download TWRP--- https://mega.nz/#!qcA2BQIJ!xiBnnC0B4Z7fqpARbIY2ARdDY4hJLZgsriJsWaCCzNQ

    -Boot TWRP
    -connect your PC with USB
    -your computer -Open CMD
    cmd>adb shell
    cmd>cd /dev/block/platform/soc/c0c4000.sdhci/by-name/
    cmd>ls -l /dev/block/platform/soc/c0c4000.sdhci/by-name/
    cmd>dd if=/dev/block/platform/soc/c0c4000.sdhci/by-name/persist of=/sdcard/persist.img
    (keep your persist.img in the safe place)
    --------------------------
    How to restore it if you have a problem.
    (load your persist.img into sdcard.)
    cmd>dd if=/sdcard/persist.img of=/dev/block/mmcblk0p48
------------------------------------------------------------
Step for Normal user
  1. Flash Lastest Firmware (option)
    https://github.com/XiaomiFirmwareUp...jKlFtxZa6wKy4bTGrLy5ptJJvfZy0d14c5fQlHypsZyLQ
  2. Flash ROM
  3. Flash GApps Nano 9.0
  4. Boot System
  5. Flash Magisk (Root Manager)-Option
-------------------------------------------------------------

****Step-For microG user (Test with NanoDroid 20.6)
  • Flash ROM
  • Flash Magisk (Root Manager)
  • Boot System for setting up Android.
  • Boot TWRP
    Note download nanodroid here https://downloads.nanolx.org/NanoDroid/Stable/
    -Flash NanoDroid-patcher
    -Flash NanoDroid-microG
  • Boot System for setting up microG setting program.
    -Self-Check --click menu for Adding System spoffs signature
    -Google device registration (Enable)
    -Google Cloud Messaging (Enable)
    -Google SafetyNet (Enable)
    -UnifiedNlp Setting
    ---tab Configur location backends menu then tic Deja vu location service
    ---tab Configure address lookup backens menu then tic Nominatim
  • Install fdroid.apk (lastest version. https://f-droid.org/en/) --No use NanoDroid-fdroid
    -open f-droid program--->set up repo (Add 3 new repos below)
    https://www.nanolx.org/fdroid/repo
    https://fdroid.bromite.org/fdroid/repo
    https://microg.org/fdroid/repo
  • Install satstate from f-droid
    -Open device GPS by Use location widget from Status bar.
    -Open satstate program and run GPS menu
  • Install MozillaNlpBackend from f-droid
  • Run microG Self-Check again but this time click UnifiedNlp setting---->Configure location backends-----Enable Mozilla Location Service
    self-check Unifield status will pass all (6 options)
 

Attachments

  • xiaomi.png
    xiaomi.png
    82.9 KB · Views: 1,239
  • r-w.png
    r-w.png
    152.5 KB · Views: 1,229
  • microg.png
    microg.png
    174.8 KB · Views: 1,180
  • quick.jpg
    quick.jpg
    250.3 KB · Views: 1,186
  • Screenshot_20190128-004235_microG_Services_Core.png
    Screenshot_20190128-004235_microG_Services_Core.png
    129.1 KB · Views: 1,082
  • init.jpg
    init.jpg
    175.9 KB · Views: 1,072
  • Screenshot_20190128-111556_Magisk_Manager.jpg
    Screenshot_20190128-111556_Magisk_Manager.jpg
    171.6 KB · Views: 1,041
  • Screenshot_20190128-111452_Magisk_Manager.png
    Screenshot_20190128-111452_Magisk_Manager.png
    155.4 KB · Views: 1,016
  • Screenshot_20190128-112244_Magisk_Manager.jpg
    Screenshot_20190128-112244_Magisk_Manager.jpg
    142.5 KB · Views: 1,016
Last edited:
  • Like
Reactions: decebal12345

Drizzt321

Senior Member
Jun 12, 2018
51
13
After a bit of a struggle I managed to get this installed and working last night :)

A few things I noticed:

1) It may have been previously unlocked by the ebay seller I got it from. The official unlocker I got from http://en.miui.com/unlock/ (https://xiaomi.eu/community/threads/miui-10-0-10-1-10-2-stable-release.47170/ has other details) had issues, finally got it, at one point in time, to say unlocked even though all 3 steps didn't have any checkboxes next to them... Strange, but I finally looked at the fastboot_unlock binary that came with the unlocker exe, and that indicated it was unlocked.

2) I found 3 different TWRP to try and install, with 2 of them (I _think_ the one linked here, and the one linked at the EU community thread above) kept giving me "too large to transfer". I finally got the one linked above by the following process:
  1. start powered off
  2. hold power + vol down to get to Fastboot
  3. fastboot devices
  4. fastboot -s <DEVICE ID> flash recovery recovery.img
  5. At this point, the screen went black except for at the upper right it said "press any button to power off", and fastboot exe is saying "waiting for <DEVICE ID>"
  6. press a button, device powers off, leave it connected to the computer
  7. hold power + vol down to get to Fastboot, fastboot exe should see the device and now do it's thing to send/flash the recovery.img
  8. after fastboot finishes, do fastboot boot recovery.img
  9. should now boot to TWRP, should be able to tap a button/screen to get into it

3) I also found I needed to perform a device wipe/reset from within TWRP before copying the LOS and OpenGAPPs zip files over. First time I tried it without wiping it had some weird install/configuration left and caused major issues upon booting LOS. Seemed to think it wasn't a fresh install, and had most of the apps keep crashing and restarting.
 

killlah5

Senior Member
Sep 17, 2012
53
1
hey,
Can someone tell me what kind of processor mi pad 4 plus is using?
ARM, ARM64, or x86
 

r@nsome

Member
Aug 22, 2009
46
7
Hi Tom.

On one of your screenshots the lock screen says “charging rapidly”. I thought the pad 4 plus doesn’t support this function. Is it now possible with this version of LineageOS?
 

r@nsome

Member
Aug 22, 2009
46
7
@tom.android:

I tried LOS 17, but it was not running well on my Pad 4 Plus.

So I switched to this one here and LOS 16 so far runs well.

Though I have a problem with auto brightness which is not working properly. Once activated it doesnt have any effect and from time to time it just lowers brightness to the lowest point.

From your LOS 17 post I grabbed the auto brightness fix and flashed it, but it didnt work for LOS 16. Is there another fix you know about?
 

r@nsome

Member
Aug 22, 2009
46
7
Also from time to time the tablet wakes up without me using it and not going to sleep again. This results into the device being display on all night long. Really annoying :(
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    !!! Update lineage-16.0-20190910-UNOFFICIAL-clover.zip
    https://androidfilehost.com/?fid=1899786940962581845
    ---------------------------------------
    Download ROM https://androidfilehost.com/?fid=11410963190603907427
    Supported-
    • DT2W
    • DT2C ( on Status bar)
    • exFAT
    • USB Preferences options (File transfe, usb tethering, MIDI,PTP,No data transfer)
    • Xiaomi performance setting option
    !!!! Important
    • Unlocked Bootloader
    • Backup persist partition
      (There are some project that changes your WIFI MAC Address. if it happened you will lost it forever.)
      It shows wifi but after entering pwd it shows only saved. Can't connect at all.
      Download TWRP--- https://mega.nz/#!qcA2BQIJ!xiBnnC0B4Z7fqpARbIY2ARdDY4hJLZgsriJsWaCCzNQ

      -Boot TWRP
      -connect your PC with USB
      -your computer -Open CMD
      cmd>adb shell
      cmd>cd /dev/block/platform/soc/c0c4000.sdhci/by-name/
      cmd>ls -l /dev/block/platform/soc/c0c4000.sdhci/by-name/
      cmd>dd if=/dev/block/platform/soc/c0c4000.sdhci/by-name/persist of=/sdcard/persist.img
      (keep your persist.img in the safe place)
      --------------------------
      How to restore it if you have a problem.
      (load your persist.img into sdcard.)
      cmd>dd if=/sdcard/persist.img of=/dev/block/mmcblk0p48
    ------------------------------------------------------------
    Step for Normal user
    1. Flash Lastest Firmware (option)
      https://github.com/XiaomiFirmwareUp...jKlFtxZa6wKy4bTGrLy5ptJJvfZy0d14c5fQlHypsZyLQ
    2. Flash ROM
    3. Flash GApps Nano 9.0
    4. Boot System
    5. Flash Magisk (Root Manager)-Option
    -------------------------------------------------------------

    ****Step-For microG user (Test with NanoDroid 20.6)
    • Flash ROM
    • Flash Magisk (Root Manager)
    • Boot System for setting up Android.
    • Boot TWRP
      Note download nanodroid here https://downloads.nanolx.org/NanoDroid/Stable/
      -Flash NanoDroid-patcher
      -Flash NanoDroid-microG
    • Boot System for setting up microG setting program.
      -Self-Check --click menu for Adding System spoffs signature
      -Google device registration (Enable)
      -Google Cloud Messaging (Enable)
      -Google SafetyNet (Enable)
      -UnifiedNlp Setting
      ---tab Configur location backends menu then tic Deja vu location service
      ---tab Configure address lookup backens menu then tic Nominatim
    • Install fdroid.apk (lastest version. https://f-droid.org/en/) --No use NanoDroid-fdroid
      -open f-droid program--->set up repo (Add 3 new repos below)
      https://www.nanolx.org/fdroid/repo
      https://fdroid.bromite.org/fdroid/repo
      https://microg.org/fdroid/repo
    • Install satstate from f-droid
      -Open device GPS by Use location widget from Status bar.
      -Open satstate program and run GPS menu
    • Install MozillaNlpBackend from f-droid
    • Run microG Self-Check again but this time click UnifiedNlp setting---->Configure location backends-----Enable Mozilla Location Service
      self-check Unifield status will pass all (6 options)