yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ALGOPOP:
There are new Mindthegapps:

Downloads for : -Android- Generic Device/Other | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

i'll give them a try and see if Battery Drain gets better over night

Edit: Nope, just as bad as before...
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] urigg:
Switching from 17 to 18 was a bit bumpy. At first, dirty upgrading went smooth, but somewhere between updating magisk and microg I got stuck in a boot freeze. Tried to go back to 17, but learned the hard way that encryption doesn't seem to allow to go back without full wipe including local storage.

Finally did a clean install, now its working fine, in the end even with magisk and microg.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] carlo.esposito:
I upgraded from LOS 17 to 18 but the performance of the smartphone are worst; I did a clean install, then flashed recommended OpenGapps and Magisk.

It seems stable and smooth as previous build but the very big problem is that screen on time reduced from 7h to 4/5h.

Hope it will improve in next builds.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mapotn:
hey, do you know when will be opengaps 11 released?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] minax007:
I have installed the MicroG-Version 18.1 from this site: https://download.lineage.microg.org/dipper/

... over the MicroG-Version 17.1 and can report the same.

The battery lifetime dropped significantly.

It is less then half of the lifetime as it was before.

Threfore I have returned back to 17.1.

Although everything else in 18.1 worked like a charm.

I hope that this problem will get resolved soon.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mapotn:
what is different between opengaps in https://download.lineage.microg.org/dipper/ and official web https://opengapps.org/ ? (A11 is not there yet) thanks
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] minax007:
I don't remember anymore. When I decided to go for MicroG I was looking for an open source alternative for GAPPS. And I had also compared it to OpenGAPPS.

I have found following answer:

MicroG pretends to be google play services to make apps work. OpenGapps is a project started a long time ago (around android 4.1) because Cyanogen developers were forced by google not to include Gapps in their ROM packages, it is pretty much just Google apps and play services.

If you're trying to avoid Google MicroG is what you want.

Source:

https://www.reddit.com/r/degoogle/comments/gc9ekw

I am using the LineageOS version from MicroG for quite a while and there is no shortcoming with it.

All apps, which require GAPPS also work fine.

So in case you prefer having it simple and open source then go for the https://download.lineage.microg.org/dipper/ build.

For now I can recommend you to use the 17.1 version, because the 18.1 has much higher battery drain (like the non-MicroG version). See postings above.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
So, i tried to read the logs and i noticed a massive amount or errors related to jdwp control socket. Im a bit rusty at the moment so maybe im wrong but i remember jdwp is a java remote debuggin tool. Basically it tries to create a remote connection to allow an external debugger. So i activated usb debug and disabled art bitecode (not sure if it is related) and now there are no jdwp errors in the log, accubattery reports 0.8% drain, down from 5.

I want to be very humble, i have zero experience with android and only a bit of java from school, pretty sure im wrong here
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] urigg:
If you use OpenGApps or any other GApps, you don't need this. This is just for Google-free ROMs.

MicroG is a replacement for Google Play Services, so things like notifications work without GApps. In order to work, the rom must support app signature spoofing, so apps will accept MicroG as Google. Signature spoofing must either be patched into the source of the rom itself (first link is a 'patched' mirror of LineageOS), or in some cases the rom can be binary patched to support this (which is more tricky, but I have it working with Lineage18).

The difference between binary-patched original Lineage18 and the source-patched lineage images that microg provides, is the rom signature. You cannot switch between the two without wiping.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
@infrag :

Is there a proper way to fix this? SEA seems to be somehow broken.

Every time after system reboot I get that error output. I always ticked on "wait". But now it started to get worse and that notification suddenly occurred also while using the phone, not only after a reboot.

I already ended the sysapp, cleaned the cache, and even the whole app data, but that didn't help in any manner. 🤷‍♂️
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ALGOPOP:
Not working for me. I still lost ~20% Battery over night.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
confirmed, not a solution. you get better results by disabling „Mobile data always active” in Developer options
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
Same, must be something else
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] asdfuc:
Fresh MicroG patched LOS - 9th of March, I see OTA from 10th of March - boots after installing, but doesn't update finally and is stuck at previous version. I have Magisk installed, no gapps, just MicroG. What to do to update it? Or shouldn't I update it to avoid bootloop and data loss?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
I think I know what this is related to. I don't know why you get it but not others.

Doing some investigation now.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] badman01:
I got the same thing on April 1 official build. Suddenly there were a lot of ANR (enabled in developer options) popups for SEA. dmesg reported some selinux failures. Right now I fix it by running:

magiskpolicy --live "allow hal_secure_element_default vendor_hal_qteeconnector_hwservice hwservice_manager find"
magiskpolicy --live "allow hal_secure_element_default vendor_hal_qteeconnector_qti binder call"
magiskpolicy --live "allow vendor_hal_qteeconnector_qti hal_secure_element_default binder transfer"

Requires magisk.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
So I need to know that it isnt just fixed by running this line:

magiskpolicy --live "allow hal_secure_element_default vendor_hal_qteeconnector_qti binder call"

As this fixes the errors in the logs for me. (although I'm doing it differently and not using Magisk)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] badman01:
SEA ANRs for me with just than one line. And I find this in logs. I'll try with just 'find' and 'call' next.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Try with magiskpolicy --live "allow hal_secure_element_default vendor_hal_qteeconnector_hwservice:hwservice_manager find"

along with

magiskpolicy --live "allow hal_secure_element_default vendor_hal_qteeconnector_qti binder call"

(so basically just without the last line from what you posted above)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
ugh i dont get the transfer one.

This is my change for now:

https://review.lineageos.org/c/LineageOS/android_device_xiaomi_sdm845-common/+/308083

I dont get the transfer denial.

Perhaps you can try adjust your line for binder_call:

binder_call(hal_secure_element_default, vendor_hal_qteeconnector_qti)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] badman01:
How is binder_call defined? I found some random definition (https://android.googlesource.com/platform/external/sepolicy/+/refs/heads/brillo-m8-dev/te_macros#191) and it seems binder_call already allows transfer.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
I don't use magisk. 😔

Could anybody run Android Auto with the car? I can do what I want - it just won't connect after plugging in the USB port. These heavy errors must be Android 11 related. I don't get why there is still no fix available. I loved Android Auto with LOS 17.1. But now it is totally broken. ☹️
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Yes that should fix it.

If you see my earlier version of the change it only had the call but not transfer. I corrected it in the later patch set.

Anyway I believe the fix should be all good now. Will see if it makes it in time for the next build.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] vulongmos:
Nothing is changed. Still drains 5% per hour after unplugging.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] jo_keks:
I use NikGAPPS Android Auto add-on. The only way I got it to work.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] visigotik:
So is there a proper way to update lineage without causing a bootloop?

I had to reflash gapps to fix the bootloop but that messes up a lot of google apps permissions.

Google Phone for example starts crashing because it not longer has the phone permission set. Gmail, Maps, Newsstand etc, all have to be reinstalled because they simply crash on start 😭
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
same for me, spent entire morning fixing my phone instead of working. nothing helped until flash gapps again after rom. after that, permission problems followed. shame on me for not waiting longer for others to offer feedback :)))
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ALGOPOP:
I updated without a problem.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] visigotik:
what gapps are you using?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
it might be related to gapps package. i used Nikgapps
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] visigotik:
same here, Nikgapps
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ALGOPOP:
the latest mindthegapps
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] visigotik:
Thanks. I'll try wiping and reinstalling everything again.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] panjivegency:
Where is dc dimming? I see in changelogs but its not appear
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] rossomike1966:
Hello,

can you tell me which package i have to download for Nikgapps...I'd like to try BASIC package..but i don't know how to install it.

thank you very much
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
people swear by omni package. as for myself, I wanted as many LOS apps replaced by google ones as possible, so I chosed full. Now, it turns out nikgapps causes problems when updating LOS, so... I don't know. Wisdom say „try yourself and report back” 😂
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] visigotik:
Apparently nikgapps breaks your phone after an update. You need to install mindthegapps, (the latest arm64 file for android 11)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Injigo:
I did. Maybe you should read again. Feel free to quote where it says global...because it doesn't.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] predragiPredrag:
It says

Recommended firmware is latest MIUI stable firmware.

So stable is only requirement, and you should know that there is no diff between global and Chinese fw ;-)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
Meanwhile I know that OGApps are faulty in this case. The problem with AA ist not LOS related. I hope for new OGApps builds. Nezorflame already anounced that they're working on them and the release will be soon.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Injigo:
You literally started this back and forth claiming that it said global in the OP. And here you are just nudging it aside.. For real?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] predragiPredrag:
You really have some issues :-) nobody is nudging asside anything, you are literally bored and looking for discussion :-*
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
@Injigo

You can take both..

For CN Mi8 I prefer CN Firmware

For Global Mi8 you can take Global Firmware

😉
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
Judging by the long list of power management related changes that LOS team is preparing for next update, we should see much better battery efficiency coming soon. Fingers crossed 🤞
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
First impression: fast and smooth but that strange drain is still here...
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
Thank you @infrag !

You're the best! No more error messages after booting the system. 👍👍👍
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
Same for me. The changes list got shorter on the release, and missing is one change that allows big cluster in cpu to scale to zero frequency. Right now big cluster runs on idle at 825 MHz. Also, the little cluster scales down to 576 MHz, instead of 300 as it should. That's what's causing the drain, I guess :(
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] visigotik:
Has anyone tried another kernel with this version of lineage? I wonder if that could be a temporary fix until lineage gets it right.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
i believe this is the standard behaviour and not the source of the problem
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
It is standard behavior (now), but it should be capable of shutting down completely big cpu cluster on idle. Of course, ideally, it should permit for shutting down any number of cores, independently, not by cluster, but as it is now, it is worse than in 17.1
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
Dunno, it is the same on pixel experience but with vastly better battery life.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
Nevertheless, there is improvement, instead of 1.9% per hour over night, now it took only 1.3% per hour. Well, it is a far cry from 0.3% per hour max. in 17.1, but it is acceptable
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] visigotik:
So I tried and installing another kernel does not fix the battery drain.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
Can anyone tell me which DNS ist used, when I set the private DNS-Settings in LOS 18.1 to "automatic"?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Irish_Dude:
Now that 18.1 has had a few releases, @infrag can I ask what version of gaps/nikgaps/mindthegaps you recommend for this ROM?

(I would like the least amount of google stuff on my phone as possible)

Thank you for your hard work :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] oo8tcu:
I screwed up and accidentally ran the OTA update from the Linage updater. (I'm actually not sure if this was supposed to be supported, as I've always updated manually through TWRP...) Anyway, this resulted in a boot loop. I managed to break the boot loop by erasing misc, so LinageOS is booting again, but I can't get into TWRP anymore. It will just remain in the bootloader screen (with the unlocked symbol) for a few seconds and then reboot. I tried flashing a new TWRP image to no avail. Any hints?

Edit: I think I just never tried to start TWRP after installing the replacement screen and it just doesn't work - and obviously can't install the OTA update either. Does official LineageOS recovery work for updating?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
there is an option to update the recovery along the rom, maybe you did that?

Lineage recovery is fine, less options but you can do updates and sideload.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] visigotik:
Does Infrags unofficial build also have the drain bug?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
don't want to jinx it, but I only experienced 1% drain in the first hour first hour and a half after update (that is with all online services working, not in airplane mode like before at night), so for the most part the problems seem to be gone. waiting anxiously for the night stats to see the whole picture
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] jo_keks:
Same for me:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] vogt.wt:
Magisk 22.1

I installed lineage 18.1 official and magisk 22.1

When I make a lineage OTA-update I have to reinstall magisk with twrp.

In lineage 17 magisk worked after the OTA-updates.

Is there any way to keep Magisk?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] A New Guy:
Definitely a huge drain improvement with 29/04/2021 update.

Less than 1% per hour. Before it was 3% per hour for me.

(I also updated with last Stable Core Nikgapps (24/04/2021) and chinese 12.0.4 Firmware.

But it should be ok without those)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
Pretty impressive 0.6%/h to 1%/h for me now on wifi with data always active., and my house has terrible reception.

Nice
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] pawo99:
Thanks for update. Battery life looks very good... :)

I see difference in color richness between LOS 17 and LOS 18. On LOS 17 colors was vivid but on 18.1 are like washed despite I set colors to 'Boosted" in Screen settings. It's only me? :oops:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
Yep. Only you. Probably you messed up the settings. 🤣
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
the hdr bug is still here, if you watch a video with hdr on youtube the color profile get messed up and you have to reapply it
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] predragiPredrag:
This is present on all custom ROMs, it is as I remember something with Xiaomi drivers not being used in aosp...

It will probably never going to be fixed.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] pawo99:
Thanks for reply. Yes it was messed settings. I have to make clean flash and reinstall everything.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] d3ck4rd:
If I already have nikigapps installed can I just flash mindthegapps prior to running the lineage OTA update? I assume I don't need to remove nikigapps first?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] micmac2011:
Hi all,

I've got a question. I recently upgraded from LOS 17 to 18. I vaguely remember flashing a global MIUI ROM before initially installing LOS 17 a year or so ago. And also I remember flashing a new vendor image maybe a couple of times.

My understanding is that after a while the vendor image got integrated into the LOS image, so I didn't have do worry about that anymore.

But I still see people talking in this thread about flashing some Xiaomi (MIUI) firmware. And when I enter twrp's "Backup" screen I see various partitions:

Boot

Cache

Recovery

System

Vendor

System Image

Vendor Image

Data

Modem

EFS

So maybe the LOS image is copied to System and Vendor but one can still install Xiaomi MIUI to System Image or Vendor Image?

Can anybody please clarify if there is a reason to upgrade Xiami MIUI images? Or is it that once you've installed LOS you don't need anything else?

Thanks!

Seb
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] urigg:
'System Image' and 'Vendor Image' are just alternative backup methods, sector-by-sector image vs. file based archive.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Lozu:
Can I downgrade from pixel experience (android11) to this rom?

I have no detailed clue about brick issues.

Need your help.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] micmac2011:
Thank you urigg,

I glean from this that I don't need to bother with updating MIUI firmware.

Kind regards,

Seb
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Irish_Dude:
Guys whats the recommended gaps to use with 18.1?

Thanks
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] rossomike1966:
that I know of ... mindthegapps
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] A New Guy:
LOS recommandations (Explanations and link to download) :

Redirecting…

But Nikgapps Core is also working fine for me.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
in my experience, if you use magisk, you will get into troubles when updating rom with nikgapps. that's because there is a conflict between scripts of magisk addon.d and nikgapps and basically magisk will start installing before nikgapps script is finished, resulting in a bootloop. I used Opengapps mini and it works perfectly, probably Mindthegapps is just as good but haven't tried. Good luck!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Dr.Dinel:
From time to time I have freezes that are fixed after a bit, but they break random apps

And if I reboot I get into bootloop and I have to start flashing from scratch

I get this in all roms

Do. You think it's something hardware related ? Maybe the storage problems in Mi 8?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] predragiPredrag:
It would help if you would tell us what else do you install on top of the ROM and which firmware version do you have.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Dr.Dinel:
The classics, latest firmware(can't remember if it is Chinese or glabal) the recommended gapps and magisk

For recovery i use the lineage one

It is so random that I can't find any pattern and I use custom roms for years in different phones

Never had such issues
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] predragiPredrag:
Maybe try to turn off those gestures that you have in magisk and see if it freezes again. Maybe some of those several modules causes those freezes.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] *ICE*PIK*:
His phone looks as plague as mine...

Yesterday fresh install with the latest fastboot files from Xiaomi, I then freshly reinstalled Xiaomi.EU 12.0.4.

Not even rooted.

This morning, surprise random apps not working (Gmail, Chrome asking to add my account,...).

This kind of "surprise" happens sometimes 1 days after a fresh install, sometimes half a year after... It's the lottery.

It's the lottery too for the kind of problem we can get... Sometimes the phone will just lock itself in a bootloop, sometimes hang on the boot logo, sometimes apps will just crash.

And 2 times out of 3 you won't be able to access your data from recovery -> rip.

When I compare to my MI4, who's still working, on Android 10 and free from this ****... I'm wondering what Xiaomi did to launch such a problematic MI8.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Dr.Dinel:
Finally someone that gets exactly what I am dealing with

The developer of evolution x was talking about bad quality ufs on dipper that it breaks the phone

Really. Love this device but the lack of stability is frustrating
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
just test your storage, if read speed is like 20mb/s the nand/ufs is busted. Common problem on mi8 and pocophone f1
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Dr.Dinel:
The phone feels great, but I can't understand what is breaking it in such a random way

Here is my ufs test
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Dr.Dinel:
What's your write speeds
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
Looks more than fine here. Have you tried a full wipe and install the global rom with miflash? The ufs problem is, i believe, mostry a encryption issue. On my phone this solved the problem and it now running ok for 6 months.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] *ICE*PIK*:
On par with your result, except for the SQL speed.

If you read my post above you will see that I've done that yesterday and this morning it was already over... And as said it range from one day to half a year if more.

I don't think that encryption is an issue since I've already tried without encryption using a script. Same problem.

Apparently it's more related to the persist.img but even with a backup I've managed to resolve the problem once and only for a few weeks.