yashsingh1/xdaforums huggingface dataset:
[Magisk] FeraVolt:
UPDATE!!!

FeraDroid-Engine-v0.20-stable

New STABLE update! What's in on top of v0.19-stable:

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

- Auto-updatable ad-blocker

- Android apps cache clean-up support

- Log related important update

- Even mooore smaller zip size

- Increased waiting time before firing engine up to not to overload system on start

- More adaptive kernel gear

- Better battery-life tweak..

- Introduced GPS gear basing on latest Android M config.

- KSM & uKSM relations fix

- Massive zRAM related improvements

- Better power-saving for 2+Ghz CPUs on ondemand governor.

- Spreadtrum SoCs related stuff..

- Not forced stop of Android loggers (better idle time)

- Better battery calibrator logic

- Fixed mediaserver related stuff

- Fixed odd busybox/toybox versions

- Tripple buffering for older Android ver.

- MinFree fix for low-ram devices

- Kernel gear reworked and optimized..more adaptive

- GPU gear improved

- Memory gear improved

- CPU gear improved

- Fixed MSM thermal core relations

- Cgroups otimization tweak

- Seeder removed

- Mali GPU related improvements and fixes

- Added Conservative, Lulzactive cpu governors optimizations for CPU gear

- Battery gear improved

- Tuned multi-core power-saving

- Dalvik VM tunings..

- ARK benefit m2c related hacks..

- A LOT of various bugfixes..

- 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.

It's been quite a long time since last stable FDE.zip released..and now comes the new one with quite long changelog. It's been tested hard on different devices from crapphone with 215MB RAM to latest flagships. ZIP size is reduced, but it's power is multiplied.

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] Turbolqk:
Great! Im with Lg L fino 4.4.2 and the system is already overall smooth on default, but this mod kinda finishes it. Its very smooth now, good job.
[Magisk] Weedy0104:
version 0.2 working like charm again. most of the 0.2 beta builds killed my battery life compared to 0.19 stable. but now with 0.2 stable build its back again. thank you very much youre doing good work :)

for some reason the script is double executed I think because of double logs in file.

in older builds I could stop this by deleting install_recovery2 file because install_recovery2 and init.d were executed both

now it doesnt work anymore. but no problem if battery life keeps up like this I'll better let it double execute
[Magisk] raptorddd:
thanks yes fde .txt file is created there. but why it doesnt show message initializinf fde/ all good/ optimizing pop message.?

and why its there chinesse charracter s on .txt file.?
[Magisk] abacate123:
If you read the previous changelogs carefully, you'll know why there's no "showmessage" app anymore (responsible of showing the toast you're asking for). The chinese/japanese things there are just for the meme, a fun touch, no big deal.
[Magisk] Sif1110:
anyone please give a solution to this problem

im poor i dont have money to buy a new phone :(

im begging you guys!!

help me
[Magisk] raptorddd:
p.s.

This is completely new, rewritten from 0 FDE with various improvements & fixes - hope you like it. This is not yet finished, but is working good, so I decided to push it. Thanks to all who supported me. APK is under development. This version is not universal & works only for Magisk for now, will do rest later. No vibro's & toasts too. Only log and it will be under /sdcard/Android/fde.txt

i saw changelog on magisk. didnt mention this.

thanks anyways. its all good.
[Magisk] L Tran:
I had the same problem. I had tried format data in fastboot terminal use "fastboot format userdata" and it worked for me but all data on internal storage is gone.
[Magisk] mia200:
first flash your stock rom then if your phone has a custom recovery flash it too again after that you can flash your custom roms from recovery and forget FDE

it's buggy for me too as I said before

---------- Post added at 07:25 AM ---------- Previous post was at 07:20 AM ----------

??????
[Magisk] FinnSaggington:
I have the log file in Android but the time of the logs are incorrect and stops at 11:34 even after I have the phone used for one whole day
[Magisk] FeraVolt:
K20 pro users, if there is anyone brave, who wish to brick it's device on and on (don't even worrying about data) until we find the problem - please contact me in telegram pm - https://t.me/feralab_xda

Untill that I don't even have a clue of what can cause the issue. This problem came up only on this model.

thanks.
[Magisk] FeraVolt:
FDE.AI-v5.4-universal-20190823

What's new:

*** v5.4 ***
— Urgent TYPO fix
— misc.

*** v5.3 ***
— Fixes for possible deep-sleep issues
— Fixes for AI not woring on some Samsung devices
— Better screen state detection
— Fix for log, not appearing in internal memory on rare devices
— Fixed priority optimization tweak
— Enhanced CPU turbo logic
— Few more power-saving tweaks
— Better CPU detection
— Various code improvements
— misc.

p.s.

Next update will be delayed - focused on building APK

p.p.s

Quick update - v5.4 with urgent typo fix in code.

While coding this I've listened to:

> NBSPLV - Cold Forest
> NBSPLV - Redox
> BONES - SystemPreferences
> BONES - SameOldStory

(MD5 - ab9cf60c5c2a07e7ea80b4f9c5ff3544)
[Magisk] gsser:
Thank you brotha
[Magisk] sfairmm:
Hi,

For information.

I flash an new Kernel (https://xdaforums.com/mi-max-3/development/resurrectedkernel-t3843082) and FDE last update. After any time, i percepted some lags ...

I removed FDE mode and everything worked fine.

This new kernel has overclock and undervolt, I think this is related.

Thanks.

PS. I returned for version 4.12 and all works fine.
[Magisk] D1stRU3T0R:
Adreno GPU frequency tuner underclocks my gpu from 860MHz to 709MHz...
[Magisk] drozo8o8:
mi a3 died when using the magisk module... got no stock rom yet -.-
[Magisk] crazyriz:
Doesn't work with MI 9(global stable 10.2.13), ver5.0~5.4 all don't work, only 4.12 works
[Magisk] dtrail1:
This used to work fine all the time. But a few days ago it suddenly stopped working, just like that. I tried to re-install it clean, disable all other Magisk modules, installed other versions of Magisk which worked before, tried the universal zip from FDE and so on... I cannot get it to work anymore. In the Magisk log it comes to the point "FDE: Exec [service.sh]" and then followed by some lines from Magisk hide. Sometimes there is a line like "--- Start of crashing ---" followed by nothing or something related to Magisk hide, where I guess it had been there before and has nothing to do with FDE.

The FDE.AI folder exists in /system/etc/ and includes two files: "fde64" and "r.bin". There is no FDE.AI.log file on /sdcard - when it worked before, that file did exist.

If I try to start FDE.AI manually via the terminal (like described in the FAQ) the command cannot be found, which was something like "/system/etc/fde.ai/r sh" (might be wrong because I didn't look at it right now. But I tried the proper command without success).

The most weird thing is that it used to work for months, what made it stop working just like that?
[Magisk] mauro_cbc:
FDE works a little better than NFS on my Meizu M2 Note with Lineage 14.1 by MOyster.
[Magisk] D1stRU3T0R:
What's in the 5.4 update?
[Magisk] ocatano:
Just read the log that OP posted
[Magisk] sfairmm:
Check change log below.

https://raw.githubusercontent.com/Magisk-Modules-Repo/FDE/master/changelog.txt
[Magisk] djhixson88:
Anything suggested to disable such as RAM Boost on a OnePlus 7 Pro? Or just flash and forget
[Magisk] lividhen99:
So, would "super secure" apps Pokémon go be able to see and block us for this?
[Magisk] zalee14:
Galaxy J7 2015, J7 Prime and galaxy A50.

Hi,

For your information. Version 5.1 up 5.4 are not working. Currently all devices running on v4.12 working great.
[Magisk] FinnSaggington:
Version 5.4 isn't working on Oneplus 3 OxygenOs 5.0.8. There is no log file in /Android. Last working version is 4.12
[Magisk] MaestroC96:
Oneplus 3 with OOS 9.0.5

Found a log file in /sdcard/Android. I don't remember about vibration. So, I guess it works.
[Magisk] pepit0grillo:
Hi,

Is this module compatible with Greenify/Naptime applications? I am not sure as FDE has some tweaks for doze.
[Magisk] pjadec:
I'dont know why, but this worked. flash FDE.ai 5.4, then reboot, after reboot go to twrp and fix data partition, then reboot system and fde 5.4 works. Tested couple op devices

---------- Post added at 01:04 PM ---------- Previous post was at 01:02 PM ----------

Naptime works fine with fde. But i have not tested with greenify
[Magisk] Laico:
I ned version 5.3 last works for my

any one can gyve my the dowload link please
[Magisk] nicomari29:
With 5.4 the "Configuring system for better power-saving" take more than 1 hour. Why?
[Magisk] pepit0grillo:
What are the benefits of this module related to DOZE optimization? what does it do?

By the way, where are the logs located? I only can see those from version 4.x
[Magisk] SzymonL:
I was sceptic, but this really works! After ROM dirty flash i have ~5% battery drain over night, now is ~3% again, SOT also increased.

FDE.AI v5.2, Oneplus 6, HavocOS.

/sdcard/Android/fde.txt
[Magisk] devianroman:
Battery charging issues

I don't know what are the decisions the AI is taking over my device but it decides that is good to make me a prank... :rolleyes:

My device charge for 10 minutes and then stop working until I reconnect charger, now my device need to be assisted to charge battery and takes over 6 hours...

Device: Note 9 N960F Exynos

Rom: LightRom V17

Kernel: TGPKernel for Samsung Galaxy Note 9 (Pie)

I'm gonna start a fresh installation, this time using stock samsung kernel and later install the AI hope the issue don't take place again, but if anyone have/had this issue or any suggestions or recommendations would be awesome.
[Magisk] สุรินทร์ พลโธา:
I solved the problem, reboot the new one after installing and removing the chart. 3 times the slow charge problem is solved, but it is unknown.
[Magisk] devianroman:
I'll give it a try but still I consider the AI wouldn't take place in how my phone is charging, doing that will make my battery has serious issues, unless is trying to control the charge cycles for my lithium ion battery but I hardly doubt about it because that would be incredibly amazing.

Jeje
[Magisk] mauro_cbc:
In my case, when charging if I reboot the phone, the level of the battery changes more than 25%.

For example, it was 75% when I reboot and after that instantly it shows 91%, just like that...

I don't know what is happening, but wasn't like this before install FDE...
[Magisk] dtrail1:
Does anyone has an idea, why this suddenly stopped working, even though it used to work fine all the time? I didn't change anything, it just stopped starting after the boot process. I went through the entire FAQ and troubleshooting page, tried to clean up things and re-install fresh, etc. Not a noob. But here I'm getting out of ideas... three pages back I've posted a more detailed comment about what I tried.
[Magisk] mauro_cbc:
Try NFS, If don't work too maybe there is any problem with your phone...
[Magisk] dtrail1:
Did that, however, NFS doesn't provide a clear feedback if it works or not (or I missed it). But besides that something changed a setting in my kernel (might be NFS) in the log it appears the same: "NFS: exec [service.sh]", followed by nothing.

I don't know what problem there might be with the phone. Nothing has changed actually, FDE used to work all the time and all other modules still work fine.
[Magisk] Kousei Arima:
I am not criticising, but pls make claims with concrete proof.. the dev had to rework the new version from scratch just cuz his original work got shared on github.. So before saying anything that might make this version go away n discourage him. even further, think of the work he put in this mod, pls provide proof, we don't wanna lose a great mod over some controversy again
[Magisk] FeraVolt:
Well, first - I'm not from Russia. Second..I wanna see a proof same as others, because I "open" my code and see it every day.

_________

I believe he just wanna turn people on to force me release the source code or something.

Whatever....

K20pro users, who has problem with FDE, please join this group to troubleshoot.

https://t.me/whateverk20pro

or write in main FDE group

https://t.me/feralab_xda

i googled for a minute. Turns out its a wide problem for k20 pro chineese/indian (non global) versions..

https://xdaforums.com/k20-pro/how-to/help-k20-pro-stuck-bootloop-t3960513

and here some guys using it on k20 pro without any issues:

https://xdaforums.com/showpost.php?p=80126074&postcount=31
[Magisk] Fuzzyflazz:
Don't start the fire dude. Your words define you.
[Magisk] dimon222:
Referring to version v5.4:

Briefly checked thru disassembly, but couldn't find anything suspicious. I mean most of stuff is anyway just terminal calls to modify system configurations (ala tweaks). :rolleyes:

Also Virustotal kept quiet on all 3 arch binaries, but its straightfoward and not a sign nowadays anyway.

PS: so far latest version is working fine without issues.
[Magisk] dope77:
How do i know if the module is working? Old version would vibrate right after booting the phone, also there isn't any log in Android folder(it was there in v5.1)
[Magisk] sacrificialpawn:
Check sdcard/android. The toast and vibrate have been removed. It's all in the last couple of change logs and in this thread several times
[Magisk] dope77:
Did u even understand what i said above? I said old versions would vibrate, and already said that log didn't exist.
[Magisk] sacrificialpawn:
Maybe you need to list what phone you're using. The rest of us have a log located at /sdcard (internal storage)/android/fde.txt

Feravolt said in the changelog for 5.2 or 5.3 that he corrected a rare issue with a specific phone brand not loading a log in internal memory. Maybe you have a "rare" phone?
[Magisk] Lange_666:
Playing around in Tasker (just opening it can be enough) AND 5.4 installed makes my device crash and reboot.

No problem with 4.12 which i have reinstalled. Gonna keep that version for the moment.

Samsung Galaxy S6 (Android 7.0.1 rooted)
[Magisk] Mr.Mirajul:
Can i use nfs with this mod????
[Magisk] Premananda_laishram:
No clue

I have Mi Max 3. MIUI EU ROM version 10.3.2 stable.

I flashed 4.12 through recovery after mounting system and vendor while in TWRP.

After reboot, no vibration, no log file....

I have no clue if this is working or not!!!!
[Magisk] mauro_cbc:
This is not recommended as both modules are kernel level modifiers, the risk of incompatibilities is very high and may crash your phone.

At the best, one of the two may just not work, but it's still not recommended to install two kernel modifiers.
[Magisk] garylawwd:
Instead of getting mad and using bad language just report the post and a mod will see it.

Defamation is a serious thing and a crime in most countries I know.

His actions are inexcusable but the reactions here are borderline childish aswel.

Take the high road and follow procedure or else you will end up just like him.

We got the hatred already in this group before, best not let it go back like that.

Keep the thread on topic and forget the hate
[Magisk] makination:
Is it compatible with other Magisk modules like LKT? With this last one I have better battery life...

Enviado desde mi SM-J730F mediante Tapatalk
[Magisk] genkralyz:
v5.4 works flawlessly with crDroid/RR kernel.
[Magisk] Dor71:
No.
[Magisk] Redline:
If you have an issue with something a developer has posted, or suspect it carries malicious intent, please provide proof with any accusations you may have.

Everyone has the right to call out a developer if they suspect malicious intent, but those claims should be backed up with evidence.
[Magisk] Cristoft_23:
Why after flashing FDE.AI in my phone, laptop mode is set to 2 in my virtual memory after the configuring system for better power saving in the FDE.log instead of 1?

Sorry for the noob question :p
[Magisk] Ashiq.makkar:
fde is stoping KWGT widget.what to do?
[Magisk] garylawwd:
Disable battery optimization for kwgt in android settings maybe?
[Magisk] Ashiq.makkar:
I've done that.no use
[Magisk] ums1405:
For anyone using a HUAWEI Mate 10 ALP and can't get v5.4 to work, the zip needs to be downloaded and flashed in TWRP recovery.

Make sure you mount SYSTEM and VENDOR first before flashing.

Does not install properly through magisk for some reason.

Should work on Mate 10 BLA versions as well but not tested since I don't own one.

Should work for other Huawei phones so far as you can flash through TWRP recovery.

Proof of installation found in

/sdcard/Android/fde.txt

---------- Post added at 10:39 AM ---------- Previous post was at 10:35 AM ----------

Highest level of respect to the dev.

Great work, sir
[Magisk] dtrail1:
Well, thanks! Although this didn't work for me (P8 Lite 2017 with Android 9, DotOS + Custom Kernel), but I found the fde.txt file finally! The file was before on /sdcard, and I couldn't find it anymore there, although the device vibrated a short moment, when the fde.ai executing process appeared in the Magisk log. ANother change is that no more toast message appears, like it used to be in prior versions. I thought it doesn't work anymore, but thanks to your post I looked at /sdcard/Android, and voila: fde.txt file was there including a log that indicates FDE is indeed working fine! haha xD

BUT: If I flash it via TWRP (no matter if VENDORE and SYSTEM is mounted or not) it just doesn't work. Via Magisk it works fine :)
[Magisk] Edmiri:
Official lineageos with fz kernel. Great battery life using this magisk module. Phone used with wifi and lte, traveling. Im happy with the results.
[Magisk] ums1405:
Glad you found it.

Noticed you have a P8. The Huawei P9 was the last 'friendly-to-mod' phone in their line. Anything after that was a complete nightmare to mod, even the Honor View 10 that was distributed to devs here on xda. Hence the post, so easy to brick and extremely hard and costly to recover.

I personally refused to update my phone past the 8.0.0.136 firmware build as all the little power user luxuries where removed gradually. Now you can't even unlock the bootloader on the latest phones anymore. Its really sad as the phones themselves have a lot of potential.

Wish you and your P8 well..
[Magisk] FeraVolt:
FDE.AI-v5.5-universal-20190902

What's new:

*** v5.5 ***
— Improved AI screen OFF behavior
— Enhanced CPU turbo logic
— Enhanced machine learning
— AI became more smarter overall
— Adreno GPU related bugfixes
— SafetyNET patch
— K20pro fuse - none of storage optimizations will be applied
— Force-DOZE is back
— Massive code optimization
— Various bugfixes
— misc.

p.s.

This version contains a lot of bugfixes & improvements (as always). APK will be released on Market soon.

While coding this version was listening to:

> BONES - Carhartt
> BONES - NotOnMyWatch
> BONES - SystemPreferences
> Lil Peep - benz truck
> NBSPLV - Cold Forest
> GAYAZOV$ BROTHER$ - Пьяный туман

(MD5 - d191e0eb0ac41691c0dd1ebf591c8ce3)
[Magisk] euplio:
After flashing 5.5 version my essential phone botloop :( what can I do?
[Magisk] NPina:
Reflash 5.4, maybe!?
[Magisk] ums1405:
Fera, is your mod compatible with NFS Injector? Just want to ask before I do anything.... :silly:

Just read some past posts, seems it not a good idea to have NFS installed as well.

Sorry for wasting your time....
[Magisk] D1stRU3T0R:
Bones listener? Try mortuary, restinpiece, butterfly, oxygen, virus, blackmold, xlr, Jonathan Taylor Thomas etc:)
[Magisk] FinnSaggington:
5.5 Doesn't work on my Oneplus 3. Tried the twrp data repair method and installing the universal version but I still couldn't see a log file in /Android
[Magisk] ums1405:
v5.5 installs fine through magisk. You just have to reboot again 2nd time after magisk installation's reboot. No need to flash in recovery this time.

Tested on Huawei Mate 10 ALP-L29 xloader 01.

Nice one, FeraVolt

Respect. :good:
[Magisk] pjadec:
When flashed fde.ai / then normal reboot / reboot twrp / fix (data+internal storage sametime (check both)) there should be an error when fixing it (if no error then i don't know how to get it work) / then fix it again and reboot / then fde.ai should work
[Magisk] mysteryoneal:
I have this mod running on my note 4 n910g (resurrection remix rom). At first, it caused serious freezing and lag when starting device or opening apps. I uninstalled and problems remained. I reinstalled and let it run for a week....most of the issues self resolved as ai adapted to use.

So, everything is almost good... but screen off/idle drains battery fast...as fast or faster than with screen on and in use. Even in airplane mode with everything hibernated, I lose 80% battery in 6 hours. Before install, I'd lose about 5-10%. What setting has the AI tweaked to cause this?
[Magisk] fiddi1973:
5.5 = Fantastic. :good:

Tab A 580 crDroid 64 Bit Pie.
[Magisk] mauro_cbc:
Working amazingly good on my Meizu M2 Note with Lineage 14.1 by MOyster.
[Magisk] kumbangdesa:
Bootloop on Samsung Galaxy A7. No problem before with 5.4.
[Magisk] FinnSaggington:
Ive tested more on v5.5. Module doesn't work when either Edxposed Yahfa or Sandhook is enabled. Disabling Edxposed got the module running (Log file in /Android)
[Magisk] itsm03:
bootloop is the best :P

reflash & rewipe cache make it success boot.. :)
[Magisk] el_muerte:
[MENTION=4409755]FeraVolt[/MENTION]

Version 5.5. works fine on my Phone, but again I have one App, which now detects root.

Does this have to do with

according to change log?

Can this be reverted or optimized, so that root is no more detected if I use your module?

Remark: With version 5.4 root is not detected by this app.

SE Linux is set to enforcing on my device
[Magisk] nanquan:
Version 5.5 text log includes a previously unseen line asking to consider buying the app to help future development. Is this a sign of FDE.AI becoming a paid app in the future? Or are we talking about some kind of donation package?
[Magisk] Laico:
Problems with safety in Pokémon go with 5.5

I have problems with safety in Pokémon go with update 5.5 and not in 5.4 revert to old safety please or do 2 zips 1 with new safety 1 with the old
[Magisk] Gruber008:
Is it okay to use this module even though it might collide with xXx (Magisk module ROM for OP devices) kernel tweaks?
[Magisk] dope77:
Same, but the problem isn't in FDE nor with magisk, the problem is with this retarded edxposed. It's causing conflicts with many magisk modules like viper4android, ainur sauron, and i had an isssue where Edxposed won't run if i move an app to system. Many issues are opened in github (Edxposed) regarding this problem ,but still developers didn't fix it yet
[Magisk] proxydark:
Also testing on my Xiaomi vince with ViperOS and latest firmware. Working very well version 5.5
[Magisk] FeraVolt:
Temp fix for systemui watch got stuck with fde 5.5. Do this only if you have such problem (mostly MIUI roms). Will be fixed in next version.

Just add systemui to doze white list and reboot. Can be done in terminal:

su
dumpsys deviceidle whitelist +com.android.systemui
[Magisk] DenyDarko:
Hey [MENTION=4409755]FeraVolt[/MENTION]

The module works (in theory) as the phone vibrating a while after boot.

However, no log is created on internal storage (or SD).

I've installed it on an LG G5 H850 using Android 8 (latest stock)
[Magisk] chooks06:
Shouldn't it be in /Android?
[Magisk] DenyDarko:
I declare myself stupid :p

I missed that change.

It's there xD
[Magisk] alispeedsport:
Hi [MENTION=4409755]FeraVolt[/MENTION]

V5.5 on mt6735 stock android 7.0.1 work well, but on android 6 it seem makes internet connections fails.

Thanks.
[Magisk] phoberus:
v5.5 works very good on my Oneplus 3T with LOS 16
[Magisk] chooks06:
No worries mate. It happens.