yashsingh1/xdaforums huggingface dataset:
[Magisk] congtheson:
Random freeze and data wipe at every reboot

It all started when I installed this module from Magisk (®FDE.AI, a battery optimizer). At the time I was using the xiaomi.eu ROM. When I rebooted the phone, as required, the recovery showed up, with the "/sdcard/" folder empty.

From then, I tried changing ROM back and forth, but the problem is always the same:

-When I install some apps and I reboot the phone or it boots in recovery or erase everything (showing me the initial setup screen)

-If the TWRP is installed and it reboot in recovery, I get either random error (in the data folder) or something like "Unable to mount /cache" and "Unable to mount /data"

-Random apps, at random condition, freeze. (Ex. Whatsapp, Telegram, Volum Control, Settings, Launcher, etc...)

ROM that I tried:

-xiaomi.EU

-Lineage OS

-MIUI 10.3.6.0 and MIUI 10.3.8.0 by fastboot (both messing up with the phone sensor: I had to flash persist.img)

-MIUI 10.3.11.0

What I already tried:

-Lock/Unlock bootloader

-Change TWRP

-Flash with Mi Flash the stock ROM

-Wiping Data/Cache/System and Format Data

-EDL flashing (without opening the back, but with the command "fastboot oem edl-mode"): it gives me an error, saying that my account is unauthorized

What should I try to do? I'm very desperate. Could be that the module I installed is still in the system?

You guys are my really last chance, I don't really know what to do.
[Magisk] KaMyKaSii:
Do you have a copy of stock recovery.img? If yes, install the stock rom (or any other perfectly working rom) through TWRP, reboot to fastboot and boot on stock recovery (fastboot boot stockrecovery.img) and then format userdata and cache. I suggest this because on some devices like mine TWRP can't properly format the cache partition. Reboot directly to recovery again (now on TWRP), flash Magisk and try to start Android again. Good luck!
[Magisk] Hakkinen3K:
It's possible to have this module with zram/swap manager magisk module?

Thanks
[Magisk] -CALIBAN666-:
great work, i use it on my Huawei P8 lite 2017 with RR Pie rom and custom kernel, i can feel a big difference in batterylife together with smooth ui, even games runs perfect, thanx to the dev.Greetz!!!!
[Magisk] daywiz:
FDE & NFS comparison

Dear All,

I keep seeing messages from different people on the forum asking if FDE.Al can be used in together with NFS. So for the benefit of those people, I have written my observations when using them independently and when using them together.

The setup of the test phone is as follows:

Oneplus 3 – Snapdragon 820 with 6GB of Ram

Location Service – Usage time is approximately 2.5 hours a day (Usually for Google Maps for the drive to work and back.

Bluetooth – It is remains on for 10 hours daily (connected to LG Smartwatch & Wireless Earpods. I do stream about 3 hours’ worth of music on a daily basis.

4G – Kept on and functional when not connected to Wifi. I keep it switched off (10pm to 8am everyday)

Wifi – Kept on all the time

Points to Note:

I have two Whatsapp Accounts running parallel on the device (both are constantly active), Facebook, Messenger and Instagram are also installed and running on the phone.

I usually charge my phone when it hits 1-2%charge and do not take off the phone till its 100%. I don’t do sporadic quick charges and for the sake of a comparative study, I have kept the usage as consistent as possible.

Now the results (no big Surprises)

Only using FDE 4.12 (August 5 version)

SOT:

4 hours 31 minutes (Day 1)

4 hours 20 minutes (Day 2)

4 hours 28 minutes (Day 3)

Battery Life:

16 hours 24 minutes (Day 1)

15 hours 59 minutes (Day 2)

16 hours 09 minutes (Day 3)

Other Areas:

Average Drain Rate: 0.7%

Random Reboots: 02

Average Temperature: 31 C

Only using NFS 6.5 (Archer) (August 5 version)

SOT:

4 hours 13 minutes (Day 1)

4 hours 25 minutes (Day 2)

4 hours 17 minutes (Day 3)

Battery Life:

15 hours 56 minutes (Day 1)

16 hours 04 minutes(Day 2)

16 hours 02 minutes (Day 3)

Other Areas:

Average Drain Rate: 0.8%

Random Reboots: 01

Average Temperature: 32 C

Only both Together (August 5 version)

SOT:

3 hours 52 minutes (Day 1)

4 hours 10 minutes (Day 2)

3 hours 39 minutes (Day 3)

Battery Life:

14 hours 16 minutes (Day 1)

14 hours 38 minutes (Day 2)

13 hours 51 minutes (Day 3)

Other Areas:

Average Drain Rate: 1.2%

Random Reboots: 07

Average Temperature: 37 C

A substantial amount of lag was experienced initially when both were installed and running together, but this eased out a little more as the hours went by.

So the results are for you to see. My setup may not be similar to yours and results may vary but this is the only apple to apple comparison I can do at the moment. I hope this answers some questions at least.

I appreciate and support the respective developers of both Apps for their contributions and continuous development. I have taken a completely neutral stance for this comparative test.

Since this is the FDE forum, kindly request you all to support FDE.AI developer in whatever you feel best and keep cheering him on.
[Magisk] Layns:
Sometimes the screen doesn't react when it restarts the device, and when I restart it, it gets better.
[Magisk] LionHeart90:
This Is a screen od latest (and sale) the previous version of fde ai on Lavender. Pls fix It because Its Dangerous.
[Magisk] LionHeart90:
This Is a screen on the latest and the previous version of fde ai on Lavender. Pls fix It because Its Dangerous. Look CPU load and temperature, even After minutes.
[Magisk] LionHeart90:
[MENTION=4409755]FeraVolt[/MENTION]
[Magisk] Eng.Raman:
same here, please we need a quick solution, our phones are bricked since installed this module.
[Magisk] maddad99362:
https://xdaforums.com/android/general/how-to-fix-unable-to-mount-data-t3830897

Would that help? Not sure if the issue is the same but my fingers are crossed for you.
[Magisk] FeraVolt:
FDE.AI-v5.2-universal-20190819

What's new:

*** v5.2 ***
— Enhanced CPUturbo trigger logic
— Compability with Lspeed & LKT, but FDE will override own settings anyway.
— Tuned VM tweaks
— Tuned input-boost tweaks
— Fixed GPU turbo logic
— Improved GPU turbo logic - double check
— Added few kernel power-saving tweaks
— Ability to change AI name with command 'setprop com.feravolt.fdeai.name AI_NAME' (just for fun)
— Smarter AI performance/powersaving tune-up
— Fixes for MALI GPU turbo
— Non-magisk root init fix
— misc.

p.s.

Various bugfixes..

What I've listened to while coding this version:

> Billie Eilish - my strange addiction
> BONES - Dirt
> nights - basic

(MD5 - 098bacf4456db3ad2e718daf568e573a)
[Magisk] Electrolite_XYZ:
Seems like the new rewritten FDE.AI is working fine again on the LG V20 using mk.2000 2.2 kernel. Just installed v5.2 and I had no freezes for now.

Thank you Fera, I`m glad to go back to this module.
[Magisk] D1stRU3T0R:
Bones - Dirt ugh, i like this version already :P
[Magisk] nfsmw_gr:
Yup, it's been running better for me as well on my Xiaomi Mi 8, no unexpected behavior so far.
[Magisk] Hellboy4:
After I update 5.2. it stop working and my mi band cannot connect. (Ok it need to wait 20 minutes for it to work)
[Magisk] marcfusch:
Still not working in lavender (Syberia OS) no log in /Android
[Magisk] comkioxd:
The module was working fine with the old code and it works just as well now too

S9 Exynos on LOS 16 with White Wolf Kernel
[Magisk] marcfusch:
Can a logcat help with finding the issue of mine?
[Magisk] comkioxd:
Probably, but I'm not the one you need to ask :D
[Magisk] Germaenace:
Hi and big thx for this great module!

I use it on several older phones and it works really good!

Now I have a question. No problem at all. Just wondered if I could help in some way for example with logs or benchmarks for Nvidia Shield tablet k1 as it has a quite powerful tegra CPU and I can't really find any information about it in work with fde.ai. Or is this just part of what the ai does.

Let me know if I could give some helpful information. I still stuck by heart on this , in many ways, great piece of Technic. And always thought and read lot like it is a sleeping beast when it's powerful Hardware AND battery could get just the right tweaks... ?

Big thx again as I can tell it already makes a difference on this and other devices (mainly Samsung Galaxy and Sony Xperia)!
[Magisk] Borys123:
I have a problem with 5.2. It gets stuck on Optimizing ART cache forever. It managed to show "All is good" once in about 5 reboots.
[Magisk] garylawwd:
Thats the 'show message.apk' from previous builds.

Thats gone in new versions and the Dev also said delete that apk. Read the changelogs before updating
[Magisk] Borys123:
No, I'm talking about the new log in Android folder. I deleted the showmessage.apk. The time displayed in the log is also good and it does change. Sometimes the ART optimization takes like up to 5 minutes and then it says that all is good, and sometimes it can be stuck for a long time (I've even waited for about an hour once) before I reboot it and give it another try.
[Magisk] garylawwd:
Oh my apologies.

What device and firmware are you using?

Have you tried like playing a game and checking the log after for GPU and CPU turbo boost?

Do you have any magisk/xposed modules?
[Magisk] FeraVolt:
Thanks, contact me in telegram for adding tegra things to FDE

https://t.me/feralab_xda
[Magisk] Electrolite_XYZ:
Unfortunately FDE still won`t work on the H990DS actually. It`s much better, the module used to freeze the device on boot all the time.

It works fine but if the screen is off and the phone is in deep sleep if freezes. I`ll add a log next time this happens
[Magisk] fiddi1973:
5.2 is the Best Version for me so far.

No Issues, fast & stable. Great. :good:

Tab A 580, crDroid Pie 64 Bit, Mali.

Thx!
[Magisk] Dark-Yox:
Thanks for this update.

The 5.2 is now working on my Android 9 device but still not working on my second device :x
[Magisk] Borys123:
HTC U Ultra with Resurrection Remix. I do have some Magisk modules but they shouldn't interfere, up to 5.1 FDE worked perfectly and they haven't changed. It used to vibrate (and show "All good" in older versions) in something like a minute from booting. Now it either takes about 5-10 minutes to vibrate or sometimes it never seems to finish. During the time it's stuck on ART optimization in the log and the phone heats up considerably. I know that the log says that the optimization can take a long time, but in previous versions it took maybe up to 30 seconds. I guess something in FDE must have changed regarding the ART optimization and my phone doesn't really like it :P
[Magisk] sudanking:
The latest version very stable, fast, and battery saver... It is so amazing that I wish it can fix my OnePlus 7 Pro smashed screen [emoji24]
[Magisk] roanepv:
What ROM and Kernel are you using?
[Magisk] nfsmw_gr:
Latest xiaomi.eu stable rom and sphinx kernel
[Magisk] JeremW:
5.2 runs smoothly on my Oneplus One with POSP pie. On my Le Max2 with EUI nougat I cannot get beyond 4.11. Already happy with the last's performance but a pity I cannot experience further improvements.
[Magisk] el_muerte:
FDE --> underclocking CPU?

I successfully updated to 5.2 but I have one question according Android/fde.txt, which says

CPU model: MT6797 (which is correct - I have Mediatek X20)

...and number of cores: 10 (correct)

Maximum CPU frequency: 1391 Mhz (incorrect, as the highest cpu cluster clocks ~2,3GHz- only the low cpu cluster has 1,4Ghz in my opinion).

So, is this only a "logging" issue and my CPU clocks normal or does FDE really underclocks my CPU to 1391 Mhz?
[Magisk] ebeldamasta:
Updated to 5.2 today, i can't get the vibration and message "all is good".

However i can find fde.txt in \Android.

Can't remember the last version i got the vibration and "all is good" message.

Where can i get old versions?

=====

Device: Cancro

ROM: CrDroid 5.1 (P)

Kernel: Legion
[Magisk] garylawwd:
https://xdaforums.com/apps/magisk/beta-feradroid-engine-v0-19-ultimate-t3284421/post80084988
[Magisk] Sif1110:
This thing ruined my phone

My phone wipes data in every reboot

Failed to mount persist in twrp

How to fix this???

---------- Post added at 10:21 AM ---------- Previous post was at 10:17 AM ----------

Please Anyone fix this problem!!!
[Magisk] AVinaSh_S:
Running well since yesterday on Asus Zenfone Max Pro M1 on latest Stock Pie ROM.

First time user and am impressed. Saw a stutter couple of time in first hour but since then is running fluidly.
[Magisk] :
My Honor 8 (Stock Rom) support GPU and CPU Boost. But in heavy games or banchmarkes is no "GPU or CPU activated" text in the log. Does boost works?
[Magisk] mauro_cbc:
I can't understand people with high-end devices who wants more and more...

Finally they stuck in trouble trying to extract more power from their allready powerfull devices...

Tweaks for optimization are essentially focused to enchance old or medium/low-end devices...
[Magisk] Windroid-user:
I agree, however these modules do seem to be focused on newer devices especially LKT which dropped support for some snapdragon processors.

I believe people with newer devices should focus on flashing custom kernels like I did on a pixel 2 XL because these devices are still receiving support right down to their model number. Whereas older devices have many EOL kernels and developments which is why modules like these should focus on these devices because they will have worse battery life and cpu's than newer ones.

My galaxy note 4 runs fine but is lacking in the battery compartment compared to newer phones.

---------- Post added at 02:22 PM ---------- Previous post was at 02:20 PM ----------

I would have flashed kitkat on this thing if it wasn't for many apps requiring you to be at least on lollipop because kitkat gives great battery life in my experience.
[Magisk] Labib235:
I am having a few issues:

1.During an incoming call there is a long delay between my screen lighting up and the ringtone actually playing.Please fix it.(which might be because i am using only 600mhz max clock speed maybe?)

2.My internet speed is horrible when compared to using L-Speed.Please fix it.

3.Sometimes there are stutters while music playback and while using chrome my device hangs and freezes/becomes unresponsive from time to time.Is there any way in fixing it?

Request: Dual core soc optimizations please as my second core doesn't seem to be utilized at all only my first core gets utilized a lot.

How many days does it take to stabilize battery life or does it happen instantly?Is it safe to change cpu frequency and what governor should i choose or has my already selected conservative governor been optimized?What should i do when there is no vibration?Are there any toast notifications? because i don't get any!!

By the way the RAM management is pretty darn good and the performance is way smoother and storage has much less latency.
[Magisk] akino553:
also i have this problem plz devoper can you see this problem and fix it

our device is bricked we can't use it any more
[Magisk] garylawwd:
Read the first line of the op
[Magisk] MrxSiN:
Nope. It's the second line. ?
[Magisk] garylawwd:
:silly: ?
[Magisk] thelegoboy:
Hey, this post is mine (made on the Redmi K20 Pro thread). Next time mention your source, that's not cool.
[Magisk] akino553:
LOL im Quote it

sry if you not mention
[Magisk] mauro_cbc:
Here in log shows CPUturbo activated, but never shows GPUturbo...
[Magisk] raptorddd:
ita not working on my phone.

redmi note5 whyred xiaomi miui.EU

5.0/5.1/5.2 wont work. i check the fde file and the time stamp its different. last one that worked and reverted to its 4.12 that fde text file was generated from 4.12 anyone else.?
[Magisk] lividhen99:
Is that a chicken nugget emoji!?

? No, wait. It's a fist. ?
[Magisk] Cristoft_23:
Why laptop mode is set to 2 in my virtual memory?

I thought it supposed to be either 1 or 0. Just curious :confused:
[Magisk] sar78mad:
i have same problem , used this module and it ruined my phone

k20 pro

now it wipes data and many other partitions on its own after each restart
[Magisk] mia200:
when screen goes off I have to force reboot my phone Does anyone know a solution for this problem?
[Magisk] bgshankars:
Check in /sdcard/Android
[Magisk] farukom2:
Random freeze and data wipe at every reboot on my k20 pro

So, as I say in the title, I've got this problem and I don't know how to solve it. I already looked on the other thread but I couldn't find anything really helpful.

It all started when I installed this module from Magisk (®FDE.AI, a battery optimizer). At the time I was using the xiaomi.eu ROM. When I rebooted the phone, as required, the recovery showed up, with the "/sdcard/" folder empty.

From then, I tried changing ROM back and forth, but the problem is always the same:

-When I install some apps and I reboot the phone or it boots in recovery or erase everything (showing me the initial setup screen)

-If the TWRP is installed and it reboot in recovery, I get either random error (in the data folder) or something like "Unable to mount /cache" and "Unable to mount /data"

-Random apps, at random condition, freeze. (Ex. Whatsapp, Telegram, Volum Control, Settings, Launcher, etc...)

ROM that I tried:

-xiaomi.EU

-Lineage OS

-MIUI 10.3.6.0 and MIUI 10.3.8.0 by fastboot (both messing up with the phone sensor: I had to flash persist.img)

-MIUI 10.3.11.0

What I already tried:

-Change TWRP

-Flash with Mi Flash the stock ROM

-Wiping Data/Cache/System and Format Data

What should I try to do? I'm very desperate. Could be that the module I installed is still in the system?

You guys are my really last chance, I don't really know what to do.
[Magisk] Saerayne:
Tried the update. Seem to be starting the process, but not finishing...

### FeraLab ###

[00:01:29] FeraDroid Engine v0.20-b3

[00:01:29] Firing up..

[00:01:29] Device: lge VS985 4G

[00:01:29] Architecture: armv7l

[00:01:29] RAM: 2888 MB

[00:01:29] Kernel version: 3.4.0-perf-gf128999

[00:01:29] ROM version: MRA58K

[00:01:29] Android version: 6.0

[00:01:29] SDK: 23

[00:01:29] /system free space: 1.3G

[00:01:29] First boot after deploy

[00:01:29] Remounting /data and /system - RW

[00:01:29] Set SElinux permissive..

[00:01:29] Correcting permissions..

[00:02:15] Running 001 gear..

[00:02:15] 001 - ***Cleaning gear***

Remounting /data and /system - RW

Cleaning trash..

Cleaning cache..

[00:02:17] 001 - ***Cleaning gear*** - OK

[00:02:17] Running 002 gear..

[00:02:17] 002 - ***Ad-block gear***

Ad-blocker detected. Skipping..

[00:02:17] Running 003 gear..

[00:02:17] 003 - ***RAM gear***

Current RAM values:

Total: 2888 MB

Free: 1370 MB

Real free: 202 MB

Cached: 1168 MB

SWAP/ZRAM total: 1067 MB

SWAP/ZRAM used: 0 MB

Freeing RAM...

Doesn't seem to go further. Just fyi.
[Magisk] nbishdev:
v0.20 Beta3 Log on XT910
[Magisk] wogooo:
doesnt seem to do anything for my phone...but this is probably ROM related as lots of ppl complain about it :(
[Magisk] FeraVolt:
Is it working for you? Attach your log if so.. Or contact me in telegram.
[Magisk] wogooo:
I posted log on previous page
[Magisk] korom42:
Not working on Xperia Z5 E6653 stock ROM android M , see no diffrence

I didn't find any log file in

/sdcard/Android/
[Magisk] Alessandro17:
Has any effect on Samsung Galaxy S6 ?
[Magisk] Weedy0104:
For me this Package, Hacker Kernel and xtra lite rom gives great battery life
[Magisk] SJ3316:
Really, good, just did not worked very well in my device, it had boot loop issues when I installed, but there where moments that phone did not boot loop, and was able to test it. It dows what you say it does. Will test future versions. Funny things, after uninstall, device was smoother than before I patch.

.txt attached in case you want to check it out. Samsung S3 mini, ROM CM12.1, running F_Kernel 1.6.
[Magisk] FeraVolt:
FeraDroid-Engine-v0.20-beta4

FeraDroid-Engine-v0.20-beta4

New update! What's in:

- Added performance tweak for all removable memory devices in memory gear (sdcard, otg usb..etc)

- GPU gear various fixes

- Enlarged FDE start-up delay-time to avoid lags while system is booting

- Enhanced i/o tweaks in memory gear

- Log related important update

- Even more smaller zip size

- Auto-updatable ad-blocker

- misc..

Details here.

I've also attached a flashable 999fde init.d trigger. Flash it only if for some reason FDE is not being started automatically at boot for you.

Check second post for detailed engine explanation.

I'm trying my best to make this little zip a powerfull AIO tweak-pack. Please test & report with /sdcard/Android/FDE.txt attached, Thank you.. Cheers!

Donation link.
[Magisk] Niqx_:
[MENTION=4409755]FeraVolt[/MENTION], it worked and I noticed an immediate increase in performance, but I've got a question tough I flashed the zip when I flashed my ROM (everything worked great) but after this I'm installing the Xposed framework does the Xposed zip flash make problems for the FDE mod? Do I need to flash again? Or can I just go on with my day? Thank you for this great mod, logs are attached. :)
[Magisk] Fild5x:
I used to have unwanted re-booting on my a5h with CM12.1 Temasek for a5f. Once I installed this I have d stopped experiencing that. I don't know what trick it performed but thanks to the dev. I have a more stable rom.
[Magisk] 1riddim:
Hello! Thanks for this dev! Makes my HTC M9 smooth as butter and very battery friendly. One thing though, ever since I updated to beta 4 it overwrites my hosts file which is generated by AdAway. Still not a big issue but it would be nice if it wouldn't.
[Magisk] Ashok Menon 101:
Will this work on any device? I have a Motorola Moto G2 2014 (Titan). I can flash this, right?
[Magisk] ninjasinabag:
Should work on just about every device. Make sure to generate a backup of your system.

After this is installed, go into your internal SD and open the folder labeled android, there should be a file named FDE.txt which is generated after about two minutes after the initial boot. Skim the text over until you get to the end, once the file gives an "end" notifier at the bottom, copy the file itself (not the text inside the file and post it here) for the mod owner to glance over for issues or inconsistencies.
[Magisk] Rebel25:
Hi,

I flashed this to my Samsung Galaxy S6 Flat. All seems well and so far my phone is performing awesome. I have attached the FDE log if dev wants to check. Thanks for the awesome work!