yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] Danny94:
Multirom.me is awesome, best distri in my opinion and not just because supersu isn't included into the boot.img. I recommend to everyone miui lover.

I didn't followed your steps with stopping framework etc. I flashed the zip through twrp recovery and everything looks fine.

I didn't test for a long time now, but it it's running super smooth and super cold on performance. Thanks a lot <3.

Edit: Stress test 75k, 71k, 65k (3 tests behind each other), device cool but a little throttle.

Now i just have to resolve the problem with magisk hide doesn't work on boot up... Just trouble with miui and pogo xD.
[Xiaomi Mi 4C] solis_f:
Well the framework freeze is not something significant, all the major stuff is just the zip flashing. Multirom.me is very nice rom, but I'm a little sceptical about it. It shows a lot of free ram at recent task switcher but when you check free ram in other apps like cpu-z it shows a lot less ( 1,8 in recents and 1,1 in cpu-z ). So I think they may fake some stuff but yes it's very smooth experience

Edit: All files migrated to AndroidFileHost for everyone's convenience (they accepted me as a developer :) I dont feel like one though )

Edit 2: Updated MIUI_DX_MOD

-> Keeping App battery saver app

-> Using Debloater_Alt CPU configuration with some minor tweaks

-> Feel free to try it now !
[Xiaomi Mi 4C] anugra01:
Congrats, u are one of a better developer in my eyes, downloading and trying now will report in 24 hours
[Xiaomi Mi 4C] Gyovany96:
[MENTION=6537267]solis_f[/MENTION] Nice thread mate , keep up the good work against Xiaomi spy:good:
[Xiaomi Mi 4C] solis_f:
Thanks ! You've been an inspiration ! I would like to make roms like you one day. When the time comes, can I count on you for some​ guidelines?
[Xiaomi Mi 4C] Gyovany96:
Of course , I just hope to have time.. :p

Either way you can message me on Telegram ( find the link on my thread )
[Xiaomi Mi 4C] solis_f:
Thanks in advance! No worries, you can take your time I won't be in a rush or something! Even if you don't find, you helped enough already
[Xiaomi Mi 4C] liddx:
Thank you sir and congrats for being a dev on afh. :p

Sorry another question, about your new update, would it be fine if I remove the updater_script from the zip? Those lines doesn't have the tweaks right? I just want the new tweaks instead of having the updater_script which removes the bloats because I'm satisfied as of right now on the apps left.
[Xiaomi Mi 4C] solis_f:
Well, I don't quite understand what are you trying to achieve. Are you trying to make dx-mod look like a debloater_n ?
[Xiaomi Mi 4C] Danny94:
What features does Debloater_MpDecision_v2.zip has ?
[Xiaomi Mi 4C] solis_f:
It turns off little cores also
[Xiaomi Mi 4C] Danny94:
Today i got about 2 hours sot [started with about 95 %], both hours were 100% pogo, but it looks like the battery isn't calibrated. Because after i reached 0% it charged in a few minutes (5mins) too 25 % from my powerbank and mobile data, hotspot, gps high accuracy were on.

I used Debloater_N_Alt.

With AICP i reached about 3:00 | RR about 2:30 hours ~~ or bit more. With calibrated battery i think your script could beat it ;D. But performance is a lot better on ~same heat (have to test more).
[Xiaomi Mi 4C] Danny94:
Second day with calibrated battery and low - mid usage (above extrem usage). No hotspot this time.

pogo 21 mins (easy use)

ingress 15 mins (easy use)

brain it on 25 mins.

Using Doze (system), greenify + leandroid.
[Xiaomi Mi 4C] solis_f:
Awesome ! Multirom.me ? What version?
[Xiaomi Mi 4C] djtutis:
Can you provide us a guide to use leandroid and greenify just like you did?
[Xiaomi Mi 4C] Danny94:
[MENTION=6537267]solis_f[/MENTION]

latest multirom.me dev build 7.4.11 with your debloater N alt script.

Im still noticing a bit higher heatings. Would be a way to make it cooler a bit more (witouth loosing as much performance like on aicp) ?

[MENTION=2554079]djtutis[/MENTION]

enabling doze (improve idle):

https://xdaforums.com/redmi-note-4/how-to/doze-enable-android-doze-miui-roms-t3559960

Make sure greenify and leandroid is getting root rights and app rights(all apps-> leandroid/greenify->app rights?) and don't stopped by other services.

greenify (improve sot):

Automatic resting condition should be turned on (extra settings->Operation assistance ?)

http://imgur.com/a/IToyt

Add all apps, expect those you really need like discord or email or whats app.

leandroid (improve idle):

http://imgur.com/a/MQ9To

And watch out this thread maybe (helpful):

https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884

EDIT 19.04:

SCREENSHOT IDLE OVER NIGHT
[Xiaomi Mi 4C] anugra01:
I'm happy to report that you dx mod is working perfectly with miui globe 7.4.13 SOT is 4.5 hours with my regular usage with total standby around 24 hours with 15% to spare.

Noticed that ram free is increased consistently when every app is cleared, usually get around 48% - 51% Free but now around 44-46% must be the optimizer in dx mod?
[Xiaomi Mi 4C] solis_f:
It's the more deleted system apps probably, if I understand you correctly. But that low amount of ram is not of any concern.
[Xiaomi Mi 4C] anugra01:
Sorry my bad, what I'm trying to say is that usually i got lower ram free ( system resource at 48 - 52%) while now the system resource is only at 44% to 46% which means I got more free ram used
[Xiaomi Mi 4C] priyosa:
hi, i use dx mod on eu 7.4.13, i can't restore app from titanium backup, its says to turn on "install via usb" in developer option, to turn on it i have to sign in miui account first, how to fix this? thanks
[Xiaomi Mi 4C] solis_f:
I'm starting to believe that doze mode and all those apps that force close other apps and such (greenify etc) do not work well under MIUI. Maybe for near-STOCK roms but not for MIUI. The MIUI App Battery Saver feature is Xiaomi's own implementation of doze, (which I find better than doze in MIUI and is also more customisable per app). I will try using multirom.me without that doze workaround you provided ( I was aware of that ). To prove that, I will tell you to try this. Download Naptime app (for faster doze) and go to the battery optimization settings ( this is hidden in MIUI, you have to turn off MIUI optimization in developer options to see it ) and take a look at what apps are optimised for doze mode. All of the system apps are not, just the ones you installed afterwards are dozing. Which brings me to the conclusion that doze mode is not working well (actually I think its conflicting with Xiaomi's Doze) and was not intended to be used in MIUI roms because it was replaced by App Battery Saver. You can customize that one and leave behind all other apps like greenify. I will test this more (it's still a theory) and try to prove this.

So after using dx mod you are getting lower free ram?

I don't know if this will work, but you can try to install xiaomi.eu rom, boot entirely, restore your apps and then apply the dx_mod.

I think it will be ok but I'm not sure it will work. Sorry, I'm not using titanium backup to test this
[Xiaomi Mi 4C] Danny94:
[MENTION=6537267]solis_f[/MENTION]

i edited today my idle over night on my last post.

There are only 1 % over night (~9-10 hours), i never reached on other Roms so i think it isn't as bad with my settings ;D. But it could be multirom is a little bit tricky on that, because from 100 -> 99 it could go slowlier then from 99 -> 98 and so on.

In my opinion doze and "miui doze" works good together ;D.

Im looking forward to see your comparison withouth my settings ;D. But it's necassary to have the same usage like me.
[Xiaomi Mi 4C] satriy0:
This is an amazing mod. ?

I'm using xiaomi.eu 7.4.13 with the debloater_n_alt zip.

And get 5 hours SOT! Mainly for browsing, downloading apps and instagram story.

Thanks a lot for your incredible mod [MENTION=6537267]solis_f[/MENTION] ?
[Xiaomi Mi 4C] anugra01:
I got more free ram with dx mod...
[Xiaomi Mi 4C] solis_f:
I never said your settings are wrong. It's just that you are doing all these stuff without really needing to do it, in my opinion. You gain marginal differences, but I'm gonna check just to be sure!
[Xiaomi Mi 4C] Danny94:
No no i understood. You can be right never refused your statement ;D, i was just using this settings over all roms and was fine with it until now. It could be that with miui they aren't necassary i don't know, so i looking forward to your tests.

Meantimes i will show you my stats today (a lot more idle time, over day idle wasn't pretty nice but ok in my opinion):

brain it on 20 mins

Edit:

Having extremly poor signal at work oO (most of the time it's triying to find network) - this cause higher idle.
[Xiaomi Mi 4C] solis_f:
What I'm working on right now is improving idle drain as active drain seems as good as it can get. I don't think we can improve active drain more than this. My GSam battery monitor says 2,4% per hour active drain which seems veey good to me (no gaming of course)
[Xiaomi Mi 4C] Danny94:
[MENTION=6537267]solis_f[/MENTION]

could you maybe watch out to decrease heat a bit too ? That would be amazing. AICP is running very cold on this soc, but as i said the performance isnt really good.

Edit: Does the MIUI De-Xiaomi Project (mod) has better battery life and heat performance then the debloater zips ?
[Xiaomi Mi 4C] solis_f:
Since MIUI 8 based on Nougat, Xiaomi decided that leaving the thermal-config file free to modify may be a bad idea since people can burn their phones if they don't know what they are doing. Since then, they decided to encrypt the file and thus it cannot be changed without a dirty hack, until know. Also, AICP is cooler cause it's slower. That's how it goes... Really nothing I can do here, at this time. Maybe if a workaround is found, I will update it here.

Also, DX_Mod project is going well but it is not focused on being a mod. I will make it a rom in the summer when I got free time, I'm just testing different things and combination until I get the best results. Battery drain seems to be the same, (I don't really got any numbers since I didn't find time to test thoroughly, that's why I released it here maybe someone else can test it for me). It seems to me that multitasking is better though and active drain also. Idle drain is pretty much the same as debloaters
[Xiaomi Mi 4C] .dot.:
I think using miui's battery saver restriction on apps and system apps is the same as greenify. When phone goes to sleep the selected apps shut down. I've no idea how this interacts with nougat's doze mode though. It's probably why some custom miui roms have it disabled?

Though I am interested to see the battery difference if miui battery saver or rather powerkeeper is removed and perhaps use third party like greenify?

Btw [MENTION=6537267]solis_f[/MENTION] you can also further "debloat" by changing persist.cne.feature to 0 in build.prop and deleting the cneservice. AFAIK this is for seamless switching between wlan and mobile data if you have both enabled it automatically uses and switches to "the strongest" one. Of course it's totally user preference but I kinda doubt anyone is using it if you can just do it manually. :p

But I can't say if it further saves battery by deleting it though.
[Xiaomi Mi 4C] solis_f:
There is a setting that disables/enables thatcalled WLAN Assistant in wlan settings so no need to debloat it.

[MENTION=4488955]Danny94[/MENTION]

Any special settings in greenify?
[Xiaomi Mi 4C] Danny94:
[MENTION=6537267]solis_f[/MENTION]

about wich setting we are talking, sorry don't understand well =) ?

For switching hardware on off i recommand LeanDroid. You can switch everything off/on there ;D.

Btw today i discovered that its a disadvantage for me to switch 2g only while idle, because 2g signal is a lot weaker [how this even can happen i dont know], this way most of the time phone is searching for network. Everyone should check that before. Now idle is better with 2g/3g.
[Xiaomi Mi 4C] solis_f:
Inside greenify do you change any settings or just choose which apps to hibernate?
[Xiaomi Mi 4C] Danny94:
[MENTION=6537267]solis_f[/MENTION]

yes i changed more things.

Aggressively doze and doze on the go for example. Posted screenshots some posts behind.

https://xdaforums.com/showpost.php?p=71919903&postcount=220
[Xiaomi Mi 4C] .dot.:
Never seen such an option. Only option I see that comes close to this is in developer options "aggressive wi-fi to cellular handover". Cne is a seperate qualcomm module for seamless switching and is enabled by default in build.prop in miui roms. https://www.qualcomm.com/news/onq/2...nging-smarts-3g4g-wi-fi-seamless-interworking

In any case I disable it and delete it because I don't need it. Plus disabling one more thing surely brings extra juice to battery, but of course it's not bloat per se and I guess too user dependent to include in debloater.
[Xiaomi Mi 4C] solis_f:
Also, I don't want to mess with Qualcomm stuff but it is good to know. Thanks for the input

[MENTION=4488955]Danny94[/MENTION]

What system apps do you Greenify?
[Xiaomi Mi 4C] Danny94:
[MENTION=6537267]solis_f[/MENTION]

[translation can be wrong =)] wheater, google text in speech, system launcher (com.miui.home.launcher - using nova), notes (using google notes) at the moment but i will add some more next time.

For example securety, music (using poweramp), clearing up, screen mirroring, cheetah movile clean.., find device, ... there are really a lot wich aren't necassary in my opinion. But im fresh to miui so i don't know if they are needed or if i could save more juice if i force close them.

Edit: Generally the best i would say is to add the more (with brain) of them and watch out if they are opened again -> then remove it from list.

Edit2: Missing amplify a lot on nougat (no xposed), to control wake ups etc.
[Xiaomi Mi 4C] blagru:
DX mod is working great, thanks!

If there is a new Xiaomi.eu rom update, do I have to clean install again? Thank you once again
[Xiaomi Mi 4C] solis_f:
No just the first time. Just flash the zip after dirty flash
[Xiaomi Mi 4C] .dot.:
Just for information, I've tested dx mod's cpu script on 5.1 and unfortunately it's very glitchy and kinda slugish and scrolling is twitchy as well. So I guess it doesn't like 5.1 that much. :)
[Xiaomi Mi 4C] solis_f:
I never said that you could use it on lollipop roms. Also, I stated that all the new zips are exclusively for Nougat. Vulkan API is not supported by 5.1 so I'm​ very curious how did it even boot
[Xiaomi Mi 4C] .dot.:
I only used init cpu script for testing nothing else. I know vulkan api isn't for 5.1. Just wanted to test your init tweaks on 5.1 compared to others I've tried so far.
[Xiaomi Mi 4C] solis_f:
It is not compatible also. Inside there are checks for Android version
[Xiaomi Mi 4C] tom81042:
It's a truly amazing mod, I like miui 8 nougat this way!

now that I smoked enough, (tobacco of course) I have the patience to type down all issues I encountered so far

- after DX mod the search is not working properly, it won't search in the Settings! seem to work everywhere else, but I only use the whole search functionality for searching in the Settings :(

- you should include at least a link in the 1st post or in download page which TWRP you use? (how you switch from 5.1 to 7 without locking bootloader (you DON'T, I believe) , and back, after 7 how you unlock bootloader and keep it bloody unlocked, which TWRP for new bootloader, when, does it necessarily to unlock the relocked bootloader? (I had twrp AND locked bootloader at the same time, couldn't see any difference) etc.

- when to flash your zips? How to avoid the 'step by step' miu crap after first boot? (guess u don't...) OR after flashing your zip: How do you enable "Install via USB" and USB deb. (sec. setting) in developer options AGAIN, every time? (why do they have to be locked in the first place?)

- after DX and maybe debloater+optimizer too: how you manage permissions and autostart? for ex:how you prevent music app starting some download service after boot?

- DSMService: Can it be switched off or prevent autostart?

-the whole battery and security related miui stuff: can they all be removed? Or at least autostart and permissions should be still working after mod is flashed. (autostart won't even show autostarting apps not to mention restrict..) Permissions and Other permissions don't work either for a few apps, like music.

- Are there any logs what the zips exactly do?

Battery life is WAYbetter with any of the mods by the way, and the performance also!

Oh, and what I really really miss: The damned alt+tab!! aka Switch to previous app (instantly!) stock n has double tap for this, 5.1: child's play with xposed, n +miui 8: ****ig impossible, NONE of the apps are working with hw key. :(:(
[Xiaomi Mi 4C] .dot.:
I know. I've set it to 0. It's based on [MENTION=7762377]a5m[/MENTION]'s script which I'm already using the standard+.
[Xiaomi Mi 4C] solis_f:
Keep in mind that a lot of thinks may brake after using DX mod. That's why it is still in the testing section. Answers to your questions inside the quote brackets.

Thanks for your time. I appreciate feedback. I will be waiting for your response, so we can sort out these problems! Cheers !
[Xiaomi Mi 4C] tom81042:
- Ok, you are right, but then remove the whole search function completely! ?(thanks to this mod, I'm learning so much about this stuff that I use search a lot less anyway)

-Oh, I see! I just meant that twrp should be part of 1st page post, as most people only read that and if not everything is there they simply leave, and won't ever try the mod. :)

Also, if someone is switching from 5. 1 to 7, just for the sole reason of trying your mod, they should be warned that bootloader will be locked. and they'll need different twrp for 7 than 5.1 and if they flashed 7 they should stay on 7 cos otherwise same nightmare all over again.. etc.

- Yes, but right after ROM install, or 2 days later? I flashed debloat, (and optimizer) both ways, and they worked just the same! So if any of the mods can be dirty flashed then it also should be in the 1st post, it saves a lot of time! ?

Yeah of course it is the bloody Titanium Backup!! That bastard needs that 'install via USB' option evvvvvery *f* time! (that other security s*h: I have no idea about what it does, but must be sg serious because it is so f annoying to turn it on, and it also gets locked back every time)

- Maybe it is just me, but it is never stated that the N optimizer and n debloater zips can't be used together. (I flashed them right after each other and they worked)

Thanks for the tip, I'll try sdmaid!

- Oh, I just simply check the "Running" apps tab under app settings - installed apps right after boot and I find it there every time (nothing should be there but the bare minimum isn't it? ) - meaning it uses resources I believe? Just like music, and power keeper, so I wonder why they start automatically?

I think the whole point of this mod is to have a fully xiaomi free but still very stable and perfectly optimized "official" MIUI 8 nougat :laugh:

Answers for your questions: Nope, they all s*t and don't work in the first place - nothing to do with your mod, my bad, sorry!... And this DSMservice cr*p just turned out to be a f virus, fuuu*c.k.. :( (I really need to stop w all these ss...)

- No offense, the only reason I'm asking for log is to know a little better not just what the zips do, but how they do it.

I'm starting to like this stuff :D I guess it is the recovery. log and logcat and dmesg then, but in recovery.log there is every single icon .png gets logged, like 10 thousands of lines (I guess it's not that easy to just simply "'2> /dev/null' after command"-ing them - android is no linux - or is it? ☺️)

- Holy sh*! Is this 'alt+tab' thing THAT difficult?? Seems so easy, and I thought a lot more people use it = missing it from 5.1 as it is so basic and practical and quick...
[Xiaomi Mi 4C] itsignas:
Hello, does it work with XIAOMI.EU roms? I can't find it on first post. It says miui.eu, maybe give it a shot?
[Xiaomi Mi 4C] solis_f:
I meant xiaomi.eu :silly:
[Xiaomi Mi 4C] itsignas:
Thanks, I'll give a shot for this tweak! Never used anything before. Will give some review later on. :)
[Xiaomi Mi 4C] solis_f:
All feedback is appreciated!

Edit: MIUI_DX_MOD_v2.zip uploading !!!
[Xiaomi Mi 4C] itsignas:
Just installed "Debloater_N_Alt" and my reaction is just... wow... It's so great! I'm using it for few minutes for now. But apps open very fast, even faster than those AICP/RR/LineageOS/Mokee Roms..This is perfect. Facebook opens instantly, same with Instagram and similar apps. I just can't believe. Seems like I use different phone. Everything seems very smooth, I couldn't believe MIUI is so superior when tweaked properly. Thanks!

I use xiaomi.eu Weekly 2017.04.20 and everything went fine. Mi4c 2/16.

Edit: Do I need to flash this mod again after updating weekly rom?
[Xiaomi Mi 4C] cezarmed2:
I had the exact same setup like you, but I don't approve. I used this setup for a few days before returning to RR.

It's actually laggy compared to RR 5.8.3 but the fault lies with Miui not with this patch.

Miui it's not in a bright spot right now and I'll think we'll have to wait for miui 9 to see some improvement.

Trimis de pe al meu Mi-4c folosind Tapatalk
[Xiaomi Mi 4C] itsignas:
Oh.. I used RR for all the time and it's just not working well with my phone. For others one rom works better, for other - other rom. Maybe because of different phone parts, but well this is working well for me. :)
[Xiaomi Mi 4C] solis_f:
Yes just flash it after every weekly update

Edit: I have to say that initial testing on Miui_Dx_Mod_v2 have been a welcome surprise. If anyone wants to try and report back, it will be extremely helpful to keep improving this! Thanks for your support and feedback so far. You keep me motivated to go on with this project! Use it and you will see MIUI like never before!
[Xiaomi Mi 4C] blagru:
In order to update to v2, do I need to clean flash or just flash the newer zip? Thanks
[Xiaomi Mi 4C] solis_f:
If you had dx mod before, just flash rom and v2 after that. Clean flash is required when switching from debloaters to dx mod
[Xiaomi Mi 4C] itsignas:
Alright it's been few hours. So I have battery drain ~1% in 20-30min. I don't know to what it's related. Just saying.
[Xiaomi Mi 4C] solis_f:
Wakelocks?
[Xiaomi Mi 4C] itsignas:
Any way of checking those?
[Xiaomi Mi 4C] solis_f:
Gsam battery monitor app and battery stats from settings. You can check if your phone is awake during screen off.

edit:

MIUI_DX_MOD_v2 reuploaded with some minor changes:

-some build.prop tweaks to disable some logging services, enable adaptive display

-reduced zram to 510mb

-restored Miui Backup app to use instead of Titanium Backup (works like a charm for me)

-removed some more MIUI apps that I think not many people use (you can install your own if you actually need it)

-Removed App battery saver as it gives much better idle drain

-Added better battery stats as a system app ( so you can report to me your experiences )

I think it is as slim as it can get now

edit 2:

some thoughts here. MIUI 8 will never be a good rom to begin with because it was build around Android Lollipop. Android 6 and afterwards changed a lot of thinks that MIUI 8 was not ready for, like Extensive App Permission manager, Doze Mode (that conflicts with their own build-in app battery saver) etc. I believe MIUI 9 will be a much better rom because it will take those changes in to consideration. People are harassing Xiaomi because they want updated Android versions on their miui roms (for whatever reasons, most people just demand the android upgrade not even knowing what the benefits/drawbacks will be). And what happens next? Everyone complains about poor, rushed-out roms that were created to just satisfy people that don't know what are they asking for. Some of those people, even return to previous MIUI 7 roms because they were better in terms of stability and battery life, while they were screaming that they need upgraded miui roms so much. Heck, even MIUI 8 based on lollipop was better at some times. I hope this MOD makes your MIUI Nougat experience as smooth as possible. Thanks for your support