yashsingh1/xdaforums huggingface dataset:
[Mi 3 Android Development] tarkzim:
Install Magisk and enable Magisk Hide, Install "MagiskHide Props Config" module then reboot.

You can bypass the safetynet now.
[Mi 3 Android Development] starfall88:
Those hardware buttons (home, back, menu) lights are not on.
[Mi 3 Android Development] adityadeva:
Installed the much awaited Dt2w version and working fine. Dirty flashing resulted in rebooting back to recovery. I had to wipe both system and data to get the rom running. System partition was formatted to f2fs and is running fine.

With the mentioned changes, safety net has passed, but I didn't want to root the device in first instance. Hope that with advanced reboot on cards and safetynet and other issues sorted out in future builds, rooting could be avoided.

Never knew that there was back light for these buttons:p

---------- Post added at 07:45 PM ---------- Previous post was at 07:44 PM ----------

Installed the much awaited Dt2w version and working fine. Dirty flashing resulted in rebooting back to recovery. I had to wipe both system and data to get the rom running. System partition was formatted to f2fs and is running fine.

With the mentioned changes, safety net has passed, but I didn't want to root the device in first instance. Hope that with advanced reboot on cards and safetynet and other issues sorted out in future builds, rooting could be avoided.

Never knew that there was back light for these buttons :p
[Mi 3 Android Development] Phone Crazzer:
How to install TWRP recovery?

I have a recently bought Xiaomi Mi 3W at home with stock everything. No modification was done after buying. How can I install a custom recovery (like TWRP) on it? From where should I start the process?

Can anyone please help?

It says,

Android version: 6.0.1 MMB29M

Android security patch level: 2017-06-01

MIUI version: MIUI 9 Global 8.3.1 | Beta

Kernel version: 3.4.0-gf4b741d-00690-gc8911e2
[Mi 3 Android Development] JulianJenner:
-You need adb and fastboot (installed correctly on your PC. Like minimal adb and fastboot app)

-You need turn on Developer options on your phone. And also turn on USB debugging on.

-ok. Then you need a DOS-box (command prompt) on your pc, in adb and fastboot folder

-then type on DOS-box "adb devices" if pc see your phone, then you will see a new message on your phone. Accept it.

-then type "adb reboot bootloader" and your phone will rebooting to fastboot mode

-then type "fastboot devices" if your pc see correctly your phone, you will see your phone in DOS-box. for example:

"fastboot devices 65eft4e2"

-the type "fastboot reboot" and your phone will reboot to normal mode

This is first lession. If you made this steps, write, and I will give you next steps.
[Mi 3 Android Development] adityadeva:
Battery backup at 4% - latest (dt2w) build. The battery is the original 6 years old one though. Taking a screenshot is cumbersome for me, I'm too much used to 3 finger swipe. Perhaps this build is intended for gaining a official status so don't know whether 3 finger swipe gesture will be incorporated by [MENTION=6407372]tarkzim[/MENTION] bro.
[Mi 3 Android Development] SimonVN:
Can't boot on Xiaomi Mi 4W (cancro)

It shows boot animation then goes straight to TWRP on my Mi 4W. I have done the installation steps properly (wiped system, data, cache).

This also happened when I installed Android 10 last time. But I fixed it somehow I don't remember. Please reply if you have the same issue and know how to deal with it.
[Mi 3 Android Development] adityadeva:
I faced the issue till I wiped data. Since you've done that, only thing left is "format data" which will ask for a Yes confirmation and your internal storage will be wiped out. You might need to flash the room from a external USB flash drive. So before that option check out whether your USB port is detecting the flash drive in recovery.

[MENTION=6407372]tarkzim[/MENTION] - I observed that once my ? battery had drained out fully and the phone got switched off all by itself, I put the phone on charging. There was no charging animation. It was stuck on mi logo, but it charged to 98%. By this time the phone was quite hot. Even after plugging it out, it continued to be stuck in mi logo. I had to hard press the (almost defective power button) for quite some time to get it booted. It's working fine now.
[Mi 3 Android Development] maxpfeifer:
Hello.

Magisk and Weeb Gapps.

Weeb GApps Channel – Telegram​
[Mi 3 Android Development] asahdik:
You can install build 20210808 first, MindtheGapps can be installed without problems. After that, you can update to the latest build.
[Mi 3 Android Development] keru32:
When and why should i use the "Firmware"?

Thanks.
[Mi 3 Android Development] Yxles:
its really just up to you on when and why would you use this, i mean if you want to experience the features that was introduced on Android 11 like bubbles then go. Android 11 also has more support so yeah
[Mi 3 Android Development] tarkzim:
I think they means the "Firmware" for baseband such things, not the ROM itself.

Firmware is an important part of the phone, it doesn't get wiped while flashing the ROM, so you only have to flash it ONCE, then flash the future ROMs normally, it will persists.
[Mi 3 Android Development] Yxles:
oh I thought they meant was this ROM but they didnt know what to call it so they just type "Firmware"
[Mi 3 Android Development] Hadrian08:
Hello,

I tried flashing the latest ROM and got an error saying "invalid zip file". I actually accidentally formatted my data before and since then I've been getting an error in flashing from saying something like "this device is for cancro and your device is '.'"... I found a fix on this before wherein I remove first line in updater-script file. This at least works on mokee from. So what can I do so I can flash this rom? THANK YOU SO MUCH in advance.
[Mi 3 Android Development] tarkzim:
Update your TWRP to latest version.
[Mi 3 Android Development] adityadeva:
Android 12 has been released. Tarkzim bro, any plans for rewriting the current history for this legendary device?

We are all set and waiting with fingers crossed ⚔️.

Thanks in advance.
[Mi 3 Android Development] cyberman007:
Unable to use Whatsapp. Whats the solution
[Mi 3 Android Development] Yxles:
We should wait for LineageOS to create LineageOS 19 lol Android 12 source code was literally released just like hours ago but if the next version of LineageOS get release I really hope it will get ported to this almighty device
[Mi 3 Android Development] tarkzim:
Be patient, it will come when it's ready to come.
[Mi 3 Android Development] adityadeva:
That's it. Wow.
[Mi 3 Android Development] .Luce.:
The ROM restarts when opening some apps like Aliexpress or Parallel Space. Even with low media volume, the sound of videos plays for a few seconds and then stops. Sometimes videos are played with a green image mixed with some purple parts, I have to wax the app (YouTube, Whatsapp) so maybe the video playback can be normal.

Text translated from Portuguese to English.
[Mi 3 Android Development] tarkzim:
New build released

Updated to Android 11.0.0_r46 with October security patches.

Upstream updates and fixes.
[Mi 3 Android Development] .Luce.:
You left the file outside the LineageOS 18.1 folder.

Text translated from Portuguese to English.
[Mi 3 Android Development] tarkzim:
Oops, sorry.

Fixed.
[Mi 3 Android Development] Hadrian08:
Hi tarkzim,,,i've updated twrp to the latest version. I'm still getting the same error.
[Mi 3 Android Development] tarkzim:
Re-download the zip file again maybe.
[Mi 3 Android Development] ryanrinaldhi:
my mi 3 cant boot up after install latest rom, any1 know what happen?

i install use twrp, wipe cache and reboot

pls help, thanks
[Mi 3 Android Development] keru32:
@tarkzim why the last version is 40MB lighter than the previous ones?
[Mi 3 Android Development] Yxles:
When installing MindTheGApps with the latest version it will error out and say "Low resource device detected" an fix for this?
[Mi 3 Android Development] ryanrinaldhi:
see page 10, you need to install previous version 20210808, install mindthegapps then install latest version

note : but i got error install latest version so i am using 20210914
[Mi 3 Android Development] MariferC:
Try NikGapps core, it can be installed without needing to install a older version of the ROM.

NikGapps - Browse /Releases/NikGapps-R/18-Sep-2021 at SourceForge.net

A Custom Google Apps Package that Suits Everyone Needs!

sourceforge.net

Edit: nevermind, is only for 64bit devices, but can be used as guide to see what apps are needed (on their 32bit variant).
[Mi 3 Android Development] .Luce.:
This happens due to lack of storage space on the root partition. I removed applications from the zip file and left only the essentials (GSM and PlayStore), so I could install without problems.

Link if you want to download: https://drive.google.com/file/d/1lIR5Ax6IyTlh57lzmf_qhzew7jUh_JJR/view?usp=sharing

Text translated from Portuguese to English.
[Mi 3 Android Development] MariferC:
Removing only the Android Auto app (AndroidAutoStubPrebuilt.apk) reduces the size sufficient to be installed, but is needed to modify the update-binary (which is found in the META-INF/com/google/android/ folder inside the zip) to change the STORAGE_BUFFER variable, from 10240 to 1024 or zero.
[Mi 3 Android Development] Yxles:
is it possible to increase the root partition manually? or only the rom can do it?
[Mi 3 Android Development] MariferC:
Yes, is possible to increase the partition, but you have to "regrown" the system partition every time you install/update the ROM:

install/update the ROM -> backup system partition -> fix the partition size (TWRP repair file system) -> restore the system partition -> install the Gapps
[Mi 3 Android Development] Yxles:
I tried doing it but the size didnt change or the free space idk if I do it wrong or sumn
[Mi 3 Android Development] dicknorbert:
Still can not install google..... Any other solution please!!!!!?
[Mi 3 Android Development] Yxles:
You can install Magisk and use WeebGApps
[Mi 3 Android Development] Yxles:
But its nice if it got fixed on the next update since I like MindTheGapps and had stable experience eith it than WeebGApps
[Mi 3 Android Development] Apon77:
This is really outstanding that this old device is still getting update, even android 11. Really appreciable man.!! hope we can see some a12 things. I cant believe my eyes that mi3 is capable of using a11. Really hats of to your hard work dear,

Great work and the rom is smooth as far i used....

Thank you.
[Mi 3 Android Development] HannibalLecter:
THERE is some pROBLEM IN this build brother. its not letting us flash the gapPs. tried bitgapPs, mind thegapPs.

moreover, I tried dirt flashing over 8 aug build, but it results in an error and rom doesn't boot. boots back to recover

7 oct build only works without gapPpS .. Please help
[Mi 3 Android Development] Yxles:
Seems that this was abandoned (really hope not) or the dev is just having trouble fixing the problem or moving on to other project
[Mi 3 Android Development] Pelvin Ceris:
Anyone else experiencing slow wifi speeds?
[Mi 3 Android Development] Yxles:
Not me, try older builds if you're still experiencing it
[Mi 3 Android Development] yanpain:
Hey yall, I installed this ROM on 2 Mi4 devices and its working very good. I like it better than previous cm-14.1 dated 2018

seems to save battery life also, with this ROM I envision using my Mi4 devices for many years to come, thank you

1) when to you plan to release a new version of the ROM ?

2) otherwise if I want to build myself, anything I should know from your experience to reach a release of this same stability/quality ?

( like some build notes, kernel config, etc .. ) Im not a developper but a unix sysadmin who compiled from source

thanks !
[Mi 3 Android Development] Yxles:
Hi! Are there any progress on updating this ROM? I don't expect LineageOS 19 to be released anytime soon so I guess we were stuck on the older version of the ROM to be stable but if sir tarkzim is already working on it then I can wait for it. Anyway, keep up the excellent work and thank you for making our Cancro still alive into this day.

Sidenote: Idk if this will help but S5 had Android 12 ported on it in a form of CrDroid by khalvat, I thought I might share this since S5 also had Snapdragon 801 same as cancro

https://xdaforums.com/t/unofficial-crdroid-v8-0-android-12.4386121/
[Mi 3 Android Development] Nitro 999:
hey dev there is something to tell you the gapps file you have provided is not flashing ends up with error 1 is there any way to fix it i tried bitgapps and nikgaaps also open gapps but no luck it would be a big help if you could help us out at this matter thank you in advance
[Mi 3 Android Development] Nitro 999:
even with this one same error is shown
[Mi 3 Android Development] Yxles:
What flavor of gapps are you using? Like BiTGApps, nikgapps etc.
[Mi 3 Android Development] Yxles:
Make sure that it's for Android 11 with Arm architecture
[Mi 3 Android Development] Yxles:
installing the arm64 version of BiTGApps will result in Error: 1, so make sure that the version you downloaded was for arm
[Mi 3 Android Development] Nitro 999:
I have used the package you provided and bit arm one not arm 64 still no luck same error is shown over and over again 😅😅😅 ,if it's a problem of root partition how can I increase the size of that partition can you help with that ? Please ...... thanks in advance....
[Mi 3 Android Development] Yxles:
If that's the case then try using MindTheGApps since that one uses magisk to install not thru twrp you may had success there
[Mi 3 Android Development] Nitro 999:
It works thanks dev 😊😊😊
[Mi 3 Android Development] Nitro 999:
it was temporary happiness system crashed and left without gapps again even magisk fails to flash this time full wiped formated still no luck
[Mi 3 Android Development] Michele221:
work? i started from a stable 10.1.1 miui and when I try to flash the rom it tells me "error" this rom is for the cancer device your device is "."
[Mi 3 Android Development] Nitro 999:
Mi 3w MIUI 9.5.7 Global version google contacts only gets installed (if nik gapps is used) but no play store and you can't sign in any gmail at all and no other google services
[Mi 3 Android Development] Michele221:
il mio non è un problema di servizi google, ma praticamente non installo la rom.
[Mi 3 Android Development] Nitro 999:
Oh you maybe on the Chinese version of MIUI I simply have no idea of it. How ever I did a clean install full formated and full system wiped and used a flash drive to install try it .might also work for you ☺☺☺
[Mi 3 Android Development] praveenpc:
Did you have success with gApps?
[Mi 3 Android Development] Nitro 999:
Not yet. I think developers might help us by increasing the root partition ☺ till then no new news
[Mi 3 Android Development] .Luce.:
I install it normally through MindGapps that I edited a while ago but I saw that no one was able to so I decided to make other changes.

Remembering that I'm not a developer and my knowledge about it is minimal, forgive any errors.

I removed the following apps

AndroidAuto

AppGoogle

GoogleTTS

MarkupGoogle

PrebuiltExchange3Google

TalkBack

Removing these apps greatly reduces the size of MindGapps to install with the space available in /root.

STORAGE_BUFFER variable present in META-INF/com/google/android/update-binary changed from 10240 to = 0

as member Mariferc quoted in an earlier reply.

The size of the unzipped files was 130.43MB. Compressed was 71.17MB and originally was 176.32.

The space available on my Mi3W in /root before installing this package was 116.05MB and after installation it was 1.61MB as shown in the images.

By my calculations it takes 114.44MB free in /root to install this edited package.

During the package installation I still got an error so I deleted an application in /root/system/product/app to free up more space and finally be able to install normally.

I don't know why there is so little space left in /root after the last update of this ROM, but the developer must have a good reason.

Translated from Brazilian Portuguese to English, sorry for mistakes.

Download:

MindTheGapps-11.0.0-arm-20220217_095902.zip

drive.google.com
[Mi 3 Android Development] Nitro 999:
give us the permission to download the file so we also can get around please give access
[Mi 3 Android Development] .Luce.:
Sorry, access has been granted.
[Mi 3 Android Development] .Luce.:
I removed two more apps

AndroidMigratePrebuilt

GoogleCalendarSyncAdapter

Now MindGapps is 67.4MB.

I did the installation of the ROM and soon after I installed this package MindGapps and in the first boot the /root was with 1.10MB as shown in the image. This time I didn't need to delete an app from the ROM.

Download: https://drive.google.com/file/d/1ArPVkbghjFs-79957XuW621A_ONaG_e-/view?usp=sharing
[Mi 3 Android Development] Yxles:
Hi! Just wanted to check on this if there's any update for LineageOS 19 to come on our cancro since it's finally been launch 🎉
[Mi 3 Android Development] Nitro 999:
Thanks man it works like a charm
[Mi 3 Android Development] HannibalLecter:
@tarkzim please please please update :)
[Mi 3 Android Development] HannibalLecter:
which go camera can be used on cancro?
[Mi 3 Android Development] rcky844:
I have compiled a new version with the latest LineageOS 18.1 source with July security patch, you can find it here:

Tipz Team Builds - Browse /ROMs/Xiaomi Mi 3/LineageOS 18.1 at SourceForge.net

sourceforge.net
[Mi 3 Android Development] mvadu:
first of all Thank you to @tarkzim I never expected to be able use fairly modern Android on a 10 year old device. I tried flashing this ROM on to Mi 4 LTE CN edition (which I bought in 2015 to be able to flash Windows Phone, and used for years on WM10) and it sure did work.. I had to tweak the system partition since even pico version of GApps wouldn't flash due to small system partition. I shrunk the userdata partition and moved the cache and extended the system.

Now the LineageOS 18 boots perfectly and works for the most part. But the cellular radio is not working. It always says Network Disconnected. Anyone faced this issue, and know a fix?
[Mi 3 Android Development] mvadu:
answering my own problem statement.. I found that issue was only if I use OpenGApps. Then randomly I found that switching the "Preferred Network" from LTE to 3G actually kicks off network and it works even if I change it back to LTE.
[Mi 3 Android Development] zhengz:
[delete]
[Mi 3 Android Development] assasukasse:
Any chance to download this file?

The Gdrive returns an error...

Thanks
[Mi 3 Android Development] alvinrs:
Hi sir, im on 080821 build, how to update latest build? Just flash / need full wipe?? Thank you.
[Mi 3 Android Development] Nitro 999:
Luckily I have a copy

Here is the link

File on MEGA

mega.nz
[Mi 3 Android Development] alvinrs:
Hi sir,you're success to flash latest rom with this gapps?
[Mi 3 Android Development] Nitro 999:
Yes it is a success but if you get any problems try this Gapps

The LiteGapps Project

The LiteGapps Project Official Website

litegapps.site
[Mi 3 Android Development] Nitro 999:
If you can get that Falls you can download it directly from here use the recovery one

LiteGapps

Download LiteGapps for free. https://litegapps.github.io. https://litegapps.github.io

sourceforge.net
[Mi 3 Android Development] alvinrs:
Ok, thank you sir
[Mi 3 Android Development] alvinrs:
Need full wipe for update from previous build?
[Mi 3 Android Development] Nitro 999:
It's a ROM recovery use it like normally flash rom 1st then the gapps

And if you are flashing for the 1st time then flash firmware 1st then from then gapps

I recommend clean flash or sometimes the device hangs every now and then
[Mi 3 Android Development] Mohned Ahmed:
is there any chance that mi3 gets android 12
[Mi 3 Android Development] rcky844:
trying to get that working
[Mi 3 Android Development] Mohned Ahmed:
Thats nice I hope you get it to work
[Mi 3 Android Development] alvinrs:
Awesome
[Mi 3 Android Development] c30net:
Hello @tarkzim

Thank you. It works perfect on my phone: Xiaomi mi 4w . For me the most important was dataand wifi and location and google play services.

for the first time, 2 days ago I came here and I couldn't download files on windows and linux with any browser today I download them with 1DM+ on my android.

The only problem is when I install the pacer app from mypacer.com and open it an error that says "there's a problem with google play services that cause app doesn't work properly "pops up on screen. I can't use the app that counts the steps and distance I walk.

And when I want to sign in the "google fit" app the app says it can't sign in.
[Mi 3 Android Development] amoungus:
The WiFi is not working on my Mi4 LTE, is that a known issue?

edit: it seems to be a compatibility issue with WPA3, maybe older roms dosen't have this problem because WPA3 was not yet supported on android.
[Mi 3 Android Development] patrickfrei:
@tarkzim

In the following Youtube video, I've seen that someone obviously installed your ROM (18.1-20210307-unofficial-cancro) on a Samsung S5 Mini (G800F):

Is that really possible or is that maybe a fake?
[Mi 3 Android Development] Yxles:
Obviously fake. They used numerous roms in the video such as MIUI and LineageOS
[Mi 3 Android Development] haitacvn2:
Thank you very much for saving my mother's xiaomi mi4 phone

My mother is still using Xiaomi Mi 4 and she is very satisfied with your ROM. I really hope you can further develop Android 14 LineageOS version for Xiaomi Mi 4, so that it becomes a supported device from Android 4.4 to Android 14. Thank you very much for your contributions.
[Mi 3 Android Development] vorrin:
Hi! Thanks a lot for these efforts! I'm having an issue installing gapps, tells me I don't have enough space, which is a lie. Any ideas?

I am starting to suspect it might be the fact I didn't install the "firmware" file you provide... but I'm quite unsure, how does one install that? Seems to be more of a fastboot thing than a TWRP thing right?

When I look for instruction I seem to mostly fall into 'firmware == rom' whilst in this case that sounds definitely different.

Could anyone help me?
[Mi 3 Android Development] Nitro 999:
A clean install is best 1st twrp then the firmware package after that install the rom if you want happy then you can try lite gapps
[Mi 3 Android Development] c30net:
as is said above i had the same problem and it solved with lite gapps

LiteGapps - Browse /litegapps/arm/30/lite/v2.9 at SourceForge.net

https://drive.google.com/uc?id=1vK-O2PPlz3SSscpYlXACDu55912jNY8b&export=download

sourceforge.net

just install it with TWRP after installing lineageOS and before reboot. everything works fine. just update your google play services and google play store after rebooting.
[Mi 3 Android Development] q240627995:
good job!!!thanks!!!
[Mi 3 Android Development] adityadeva:
I couldn't try mobile data and hotspot earlier.

Mobile data is not getting connected for more than 30 seconds max.

I cannot connect to the hotspot generated by the phone as no matter what password I use or even qrcode based connection.
[Mi 3 Android Development] kkshethin:
Can't boot on Xiaomi Mi 4W (cancro)

Tried both 16th and 19th.

Tried with and without gapps. Tried with and without format data.

Does not boot.

Reboots to recovery
[Mi 3 Android Development] HannibalLecter:
cant download bitgapps..can someone mirror.. hows the ROM
[Mi 3 Android Development] dicknorbert:
Yes....please ..can someone put here again bitgapps 11.... please!

And some news about a new update for this rom....thanks
[Mi 3 Android Development] dicknorbert:
I finally found bitgapps arm android 11 for mi3
[Mi 3 Android Development] dicknorbert:
My dear @tarkzim this project is left or you are working on it... Thanks in advance and thank you for keeping mi 3 still alive...
[Mi 3 Android Development] tarkzim:
Been busy with my real life, will continue to work on this for sure.
[Mi 3 Android Development] tarkzim:
New build released

Updated to Android 11.0.0_r27 with January security patches.

Updated to LineageOS 18.1.

Upstream updates and fixes.

LineageOS features updates.

Bring back Snap camera.

Fixed lockscreen settings.

Minor updates.
[Mi 3 Android Development] datacollect_ct:
Thanks for the new update.