yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] vjurea:
Does not show how is going the process of encryption

I tried to do data encryption (in Security).

My first attempt failed.

After I pressed the start of the encryption, the tablet started to encryption, but after a few seconds the tablet restarted itself.

After that, the tablet hung on the MI inscription on a black screen.

Since it was not clear what was happening, after 10 minutes I tried to turn off the tablet, but to no avail ...

I had to reinstall the system again via TWRP.

I made another attempt.

But this time the process went the same, but I didn't do anything on the tablet for longer.

In about 3 hours, the tablet was still in a state of MI inscription on a black screen.

However, this time I was able to restart the tablet and it asked for my password ...

Now in Securty it shows that the tablet is encrypted.

So the problem is that: It does not show how the encryption process is going.

Therefore, I cannot know if encryption is complete or not.

Normally it should be displayed on the screen at what level the encryption process has reached, until it reaches 100%.

Otherwise it is a big risk that you need to reinstall the system ...
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
This was discussed on page 7 here. Problem appears to be with TWRP. Use TWRP for Mokee (clover). Link: last post p7. PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] AimanF:
Just read through this entire thread and it looks like this ROM is coming together really nicely! I'm hoping to make the switch over from Havoc soon. Two questions based on what I've seen referenced in the thread so far:

1. Are people still seeing big slowdowns on 5Ghz WiFi?

2. Is it possible to use Android 10 native gestures with third party launchers yet? I use Niagra currently and would love to be able to use the new native gestures instead of falling back to FNG.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Sredna76:
No & no.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
Same problem here, used Mokee TWRP and F2fs format, but encountered similar issues as described above by vjurea, however encryption works!
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
Thanks for confirming it works. Any issues now? Could you see activity using Mokee TWRP, or did you need to wait with nothing appearing to happen?

Also, did you temporarily unroot to encrypt? Apparently you will otherwise encounter problems, but I'm not sure which. ( https://www.howtogeek.com/141953/how-to-encrypt-your-android-phone-and-why-you-might-want-to/ ) PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
When I started the encryption, the encryption screen shows up for a couple of seconds, then it reboots and the Mi screen shows up and stays there. No indication that anything is happening. When I force reboot after a while (60 min?), however, the device starts fine asking for the encryption code before completing the reboot and shows to be encrypted in the end. Device was not rooted and works fine after encryption as well. No noticeable difference.

---------- Post added at 04:31 PM ---------- Previous post was at 04:15 PM ----------

https://photos.app.goo.gl/7i91SWi6hd4eAf5t7
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
Just read this about some Mi Pad 4 /w China ROMs being uncertified with Google. Solution to fix here. Also, Magisk module I mentioned makes it report certified. PW

https://c.mi.com/thread-1817211-1-0.html
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
Thx, pndwal, you think, that could fix the encryption issue? Someone encrypted the pad with normal behaviour (normal encryption screen throughout the process)? I can confirm that my device shows as not certified.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] r@nsome:
2 questions:

- Is this LOS going to be an official Build with OTA support?

- And also can anybody tell me if there already is a way to activate signature spoofing in order to install MicroG somehow?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ringogelso:
I'm using this rom for about a week, I had no problems, I have a 4 pad LTE and the sim (in Italy) works perfectly. I await the gestures and facial recognition that are very useful in everyday use. Thank you for your work.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
I doubt it has anything to do with encryption, but not sure. No Google certification will prevent certain apps loading, etc.

I read earlier Google has a web page to apply to certify devices for those running custom ROMs (ie. add such devices to a white list) to allow gapps to run on them. This was after they started actively blocking GApps (as they are proprietary) on such uncertified (normally Chinese) devices. Policy may well have changed since then, and the method to fix I cited was new to me.

Some History (for interests sake):

Certification requirement is understandable with recent proliferation of Chinese devices that were being marketed with side loaded GApps, (or with instructions on how to load them after purchase) which are proprietary and closed source software (of course, any manufacturer is free to load base Android Apache licenced OS), and Google has been been generous to development & custom OS community by providing ways to load proprietary Google Apps on the very uncertified devices on which OEMs had been unscrupulously circumventing Google policy to save money.

I think Google realises the beneficial relationship they have with the development community, and that they very nearly shot themselves in the foot when they first issued a cease-and-desist to Steve Kondik (aka CyanogenMod) for bundling GApps in CM. He concluded CM was then 'dead', but Google clarified that GApps could still be sideloaded by END USER ONLY, be packaged SEPARATELY to custom ROM, and as long as these existed as separate download to be flashed discretely, could be hosted for said purpose by likes of OpenGApps.Org. This meant Kondik still had a job and CM had a new lease of life, and Kondik's baby eventually sired the Lineage OS we know and love today.

Google could very easily have killed all that, and also have said 'Tough Luck' to anyone looking for alternative (custom) ways to put Google Apps on uncertified devices, but they didn't, and this, short of publishing their proprietary source code (like any company would do that!), is, to a very large degree, what makes Android the more versatile, desirable, customisable, and attractive phone OS that it is. Kudos to Google for their discretion and understanding of the importance of this relationship.

Anyway, did you have any issues with encryption since setup process? PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
[MENTION=5621191]rcstar6696[/MENTION], you may know / wish to know this:

And now, XDA Recognized Contributor [MENTION=4467696]AndyYan[/MENTION] has released an unofficial LineageOS 17 GSI.

https://www.xda-developers.com/unof...i-released-project-treble-compatible-devices/

https://xdaforums.com/project-trebl...lopment/gsi-lineageos-17-0-gsi-archs-t4004673

This unofficial LineageOS 17 GSI offers a more customized and user-friendly version of the Android 10 GSI released last month. This new GSI should boot on any Android device that supports Project Treble, which means most devices that launched with Android 8.0+. (Read Mi Tab 8 (/plus), etc).

I guess it may help with this project. PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] LukeHendo:
Screen always on

Hi there,

Thanks so much for this ROM - it's really great! I've been having one issue though I hoped you could help with. When I set my screen lock to "none" (i.e. no security) the screen keeps waking up as soon as it sleeps. It means the battery is drained really quickly. Wondering if anyone has a fix for this?

Cheers,

Luke
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] emanu4965:
dual app in this rom???
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
I'm running this with SELinux enforcing enabled, and it seems just as stable so far!

Also, voice calls (W/ speaker, headset, BT) incl. VoLTE are working in LOS 17.0 'out of the box'. I'm impressed! PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] emanu4965:
sorry for my bad english... i have 2 account whatsapp, 2 account clash of clans, and other..

in the original rom you can clone the app (similar parallel space)
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Pattok:
Hi,

I'm interested!

Could you share how you enforced selinux?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Xyam:
You can use an app named "shelter" to create a work profile, then you are able to use "dual apps"
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
SELinuxModeChanger on FDroid. (Simple boot up state toggler, although Google don't like it!)

Avoid the side-loaded SELinux mode Magisk modules unless you're sure what they do. One or two mess up many settings, and these are still broken after removal of systemless module. - Guess that's why topjohnwu removed them from repository. PW

---------- Post added at 04:04 AM ---------- Previous post was at 03:52 AM ----------

Don't think so but 'Shelter' is apparently on FDroid too. PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] :
I found 2 major bugs on this ROM:

1. "Android Services Library" stops working every time I boot the tablet

2. This one is the most annoying one for me: when the external sdcard is used as adopted storage, the sdcard won't be mounted automatically unless remove and re-insert the sdcard.

Hope the dev can fix these issues as soon as possible.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] reg66:
Was it a clean install, I don't have these issues...
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] maick2k:
Hi,

Is there any way to remove all the space below the icons on the home screen? There's like 2 unused rows
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
Don't know because I use Smart Launcher 3 (free, but I paid for Pro version) as I like homescreen layout, customisability (think I may have coined that one), and especially self sorting app draws (six basic categories, can add more, launcher checks database when installing any app for category) which makes apps simple to find when you have too many. I'd recommend giving it a go. PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] rcstar6696:
##### Android 10 Beta Lineage Build #####

Xiaomi Mi Pad 4 (clover) Update 29-11-2019

Maintainer: [MENTION=5621191]rcstar6696[/MENTION]

Device Changelog:

• Updated Kernel to 4.4.205

• November Security Patch

• Bring inline with Xiaomi sdm660 Source (Same Base as CarbonRom)

• Minor Improvements and Cleanup

Download Link: https://mega.nz/#!nNJznQIL!8tnPSb8zadjCg6xGQcucOWkOMFNM0IAccpchmtgwBfg

Recommand TWRP: https://mega.nz/#!CQQRwSAL!VX34bYDiiZCfYAIE03ZhIfkhxyx7-fb1wm1rI6abVek

Only Magisk higher than 19.5 supported

Note: Don't except that everything is working smooth and perfect. All is Work in Progess. Keep that in mind and not officialy released by Lineage

The Build contains no Gapps. Gapps have be installed again.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] mlgmxyysd:
cannot pass setupwizard after installed Gapps
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
Thank you, rcstar6696

Question, does it require a new clean installation or can we just flash it over the last version? Someone has tried?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] banesi:
I have just flashed ROM zip from recovery, all seems good after reboot
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] kaqi:
Hey buddy.Thanks for your great work.Because of you ,we can use this nice rom instead of miui. Maybe you can post your paypal , so that we can donate you :)
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] a123453906:
I flash it over last version first but have some bugs in Android Setting (seems like icon and description got wrong)

so I do a clean installation, and works as fine as the last version.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] rezad1393:
I get low wifi download (~4MB/s) and better upload speed (6.5MB/s)

but both are lower than other ROMs.

it this a bug that anyone else noticed?

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

I saw your update now and installed that but I get a ping after reboot from twrp and it reboots into recovery.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] david3140:
I'm not sure what went wrong with your twrp flash, but I wiped and then flashed it and then GAPPs (clean install) and it booted without an issue. I'm also experiencing extremely low 5Ghz WiFi speeds, but noticed the same thing with Arrow ROM. Since these are the only two Android 10, I'm presuming that it's something to do with this being in beta status and likely because Xiaomi isn't updating this device any longer leaving developers on their own.

At any rate, I'm getting 2.4 GHz speeds on 5 GHz WiFi on this ROM (about 30 MBps download) but I'm surprisingly getting about the same upload speeds that I'm getting on my OnePlus 7 Pro (about 20 MBps). Using Havoc, I was getting about 300 MBps on my Mi Pad 4. But I'm really not complaining. Everything else seems smooth and fast with the 11/29 version compared to 11/1. I'm happy to be running 10.0 on a device that's being considered EOL by Xiaomi.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
Did a dirty flash and no problem encountered so far.

Actually, digital wellbeing is closing from time to time. When I delete data and cache it runs normal, again. but that was an issue I had already with previous version.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] paul-planlos:
Clean Install running great! I could Imagine that Minecraft is running smoother than in the previous version. Could that be the truth or it's just wishful thinking? ?

Big thumbs up!
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] hakberdiamashow:
Do Pixel Launcher and Gestures work on new build? Pixel Launcher was crashing constantly on previous one.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] mlgmxyysd:
ok this issue solved in latest version, and.... how to add Face Lock in Smart Lock? I installed Gapps(include Face Lock), but don't displayed in Smart Lock
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
Pixel launcher still crashes (maybe just me due to my dirty flash), gestures work fine under Trebuchet (Nova seems to have general android 10 issues)
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Tate20:
the quasar addon does not work for me in kodi since installing this ROM any solution? Thanks
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
Small issue, datamanager like x-plorer have difficulties to get the right to save data on the SD (copy from internal). The native one seems to work though.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] sudoeste:
Any chance 3 finger screenshot will be implemented?

Network monitor is centered after clean install
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Rataplan626:
As I didn't get an answer last time, let me try again now more people are using this rom. I've used Paranoid Android with Arters' kernel before and the difference in responsiveness of the touchscreen is remarkable. However, paranoid didn't have multi-user support which is a must for me. So now I'm on Lineage 16. But it's much more unresponsive and for example scrolling in a webpage often stutters.

Does Lineage 17 improve that? I don't care for raw performance (ie benchmarks), and I don't care whether I have Android 8, 9 or 10 as long as I am somewhat up to date in terms of security. But I really want my tablet to feel smooth and not stuttery at all.

So how does Lineage OS 17 perform on our tablets? And are some of Arters' optimizations implemented in the kernel / vendor image that's used here?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] reg66:
You got twrp installed right? Got a memory card or ota cable /memory stick... Just do a full back up in twrp and try this rom, if you don't like it just reinstall your backup...
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Rataplan626:
... Thanks but that's not an answer to my questions... Of course I can try myself but just as with buying a car, or a phone, or pretty much anything I like to have some reviews at hand.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] reg66:
Sorry then dude, I came to this rom from aex, so can't compare with your roms...
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] rainhorsetown:
bug,Remote play.

Yes. after change magisk name, it works. Thanks.

but my pad can't recognize my sony DS4 controller. it can pair DS4 by bluetooth, but no any input. anyone know why?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] llaumgui007:
Same issue here.

Circle battery didn't work for me also.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] llaumgui007:
It's appear a Open GApp issu for me. Google Digital Wellbeing is a part of Nano version.

Is it possible to update at December patch to have the supports gesture navigation with third-party launchers ?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] hakberdiamashow:
I found it's interesting that Aida shows 6000 mAh on plus model, which has 8260 mAh
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Rataplan626:
Same here. I have a sort of guest-account on my pad 4 plus, which has no security. When it goes to sleep, the screen goes black but immediately wakes up again, until the sleep-counter hits again and it's the same over and over until the battery dies.

Would logcats be needed to investigate?

Also as others said, battery icon can't be changed to text or circle. And wifi is indeed very slow. But not an issue to me once the apps are installed.

Great work so far, kudos!
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] rcstar6696:
Arters stuff is for sure not included as all is closed source except the kernel. The kernel he did is in my opinion a no go to ship so you will not get any stuff from him here. He mostly does stuff which leads from one issue to next. I don't want to give that to users

I checked my device (plus version too) device turns off display succesfully. After press power button it stays off and same if i use timer to go to sleep. Maybe you have activated always on display in lockscreen sectio in displaysettings

Wifi is known and releated to caf wifi driver which is out of myhand to fix

About battery circle it is known lineage source is still work in progress
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Rataplan626:
Thanks for your reply! However, the sleep thing, have you tried when lock-screen security is disabled? ie. no pin, no fingerprint. That seems to be the trigger. As said, I have two accounts, one with pin which works fine, one without security and that does not work. Same as LukeHendo reported

If you want I can try to make a logcat for you.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] rcstar6696:
Yes i removed all and display turns off no way to reproduce sorry.yes send logcat please and please check if you have enabled always on display or set display to always active in dev options
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Tate20:
How can you return to the official miui ROM?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] david3140:
https://www.xiaomiflash.com/

But you should do a TWRP backup of your data unless you don't mind losing all of your data. You'll also need to find the latest Miui rom.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Zirafa:
Nice. Thank you
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Beorne:
Help me, I just flashed on Xiaomi Mi Pad 4 the

lineage-17.0-20191129-UNOFFICIAL-clover.zip

and a nano gapps,

After booting it keeps flashing the message

"android.process.acore keeps stopping"

continuously.

What can I do?

Thanks
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] david3140:
I would recommend downloading Pico Gapps instead. Wipe data, reflash this ROM, flash Pico Gapps, wipe Davlik Cache and you should be good to reboot. I would flash Magisk too but that's up to you.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Beorne:
Thanks I'll try.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] fluffier:
Hello [MENTION=5621191]rcstar6696[/MENTION],

First of all I want to thank you for your work. I installed the rom last night and so far I have to report the following:

1. The screen does not switch off when there is no screen lock security (as has been reported by at least two other users). Let me explain, if unused the screen will switch off and after 3 - 4 seconds it will light up and will remain in a loop (switching on - off). If I press the power button to switch off the screen it does not happen.

2. In settings when I press on "Digital Wellbeing and parental controls" it does not work (it is updated) and a dialog box comes up saying "Digital wellbeing keeps stopping"

3. In settings, system, status bar, battery status style, it does not matter what I choose, the icon will remain as "icon portrait". I mean I have "text" and when I go back "text" is the option highlighted but on the status bar it remains the icon portrait.

4. SELinux is disabled. (is that supposed to be the case?)

Let me know if you would like a logcat.

BTW maybe the "known issues" part on the first post should be updated.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] rcstar6696:
No need for update known issues all is fine on my device except 3 and 4

3 is lineage source issue and 4 will be fixed in next build

2 is gapps issue and not rom related

1 simply don't happen here. Check if always on display is on
[Moto G5S  Questions & Answers] 1Josueh:
I have this problem after installing a 8.1 stock ROM on my Moto G5S (Montana) XT1792. Does not appear in the band, IMEI is unknown and does not recognize the chip. It is not a hardware problem that was working normally after I performed the stock ROM installation procedure. I have already downgraded, installed a custom ROM and nothing, so for not knowing more or asking XDA members for help. Thanks in advance!
[Moto G5S  Questions & Answers] edsmat:
hi [MENTION=9721972]1joule52[/MENTION], find out how to fix it, download this rom, https://mirrors.lolinet.com/firmware/moto/montana/official/RETBR/

install via adb

returned the imei
[Moto G5S  Questions & Answers] 1Josueh:
Edsmat I've done this process and it didn't work...
[Moto G5S  Questions & Answers] edsmat:
using this firmware?
[Moto G5S  Questions & Answers] 1Josueh:
Yes edsmat, I remained without IMEI and the bandbase
[Moto G5S  Questions & Answers] 1Josueh:
Can anyone help?
[Moto G5S  Questions & Answers] riyan65:
Try out this method

https://xdaforums.com/g5-plus/how-to/fix-persist-resolve-imei0-explanation-t3825147/post77249207
[Touch Diamond, MDA Compact IV General] jazzdude555:
I have managed to get tomtom to work on my diamond without a problem, but mapfactor pocket navigator 7 doesnt.

any ideas why that would be as it worked fine on my Touch Cruise.
[Touch Diamond, MDA Compact IV General] athosk:
I had the same problem and i ahve been told that it's a driver problem that can be fixed if you overwrite a certain file in the Navigator directory. The file i was told is As TaskSched.dll but I did try that and nothing happened. I hope someone gives us a solution to this
[Touch Diamond, MDA Compact IV General] jazzdude555:
that would be good, anyone found it?