yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Android Development] air32:
i use interactive but ondemand is also one of my favs, these two are the ones which i use.

here is some description about the two:

1: OnDemand:

Ondemand is one of the original and oldest governors available on the linux kernel. When the load placed on your CPU reaches the set threshold, the governor will quickly ramp up to the maximum CPU frequency. It has excellent fluidity because of this high-frequency bias, but it can also have a relatively negative effect on battery life versus other governors. OnDemand was commonly chosen by smartphone manufacturers in the past because it is well-tested and reliable, but it is outdated now and is being replaced by Google's Interactive governor.

8: Interactive:

Interactive scales the clockspeed over the course of a timer set by the kernel developer (or user). In other words, if an application demands a ramp to maximum clockspeed (by placing 100% load on the CPU), a user can execute another task before the governor starts reducing CPU frequency. Because of this timer, Interactive is also better prepared to utilize intermediate clockspeeds that fall between the minimum and maximum CPU frequencies. It is significantly more responsive than OnDemand, because it's faster at scaling to maximum frequency.

Interactive also makes the assumption that a user turning the screen on will shortly be followed by the user interacting with some application on their device. Because of this, screen on triggers a ramp to maximum clockspeed, followed by the timer behavior described above.

Interactive is the default governor of choice for today's smartphone and tablet manufacturers.

https://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957

if you read this then interactive seems to be the best choice.
[Xperia Z3 Compact Android Development] panzerox123:
You need to add APN manually. Don't worry you're not the only one... It's not exactly a problem... The debloter script deleted the SIM detection files. I need to find them now :good:
[Xperia Z3 Compact Android Development] panzerox123:
No, there is no volume mod ... I deleted project Melissa after requests...

I test every feature before adding ;) look at the changeling for the latest version... It has info on what I'm adding and what I'm not adding for what reasons...

I'm not touching any Google play services.:)
[Xperia Z3 Compact Android Development] panzerox123:
Probably your battery calibration. Try calibrating your battery using root essentials.
[Xperia Z3 Compact Android Development] panzerox123:
No problem... I enjoy doing this. And don't worry. All my builds are trsted. The Debloter script deleted SIM card detection apps. That's why it doesn't download automatically.. :o

No, there is no sound mod... I left it to users choice
[Xperia Z3 Compact Android Development] Tosgaba:
Thanks all of you guys.

In fact I was shocked when I noticed that battery didn't go below %100 after minimal usage after 10 hours :))))

Then I realized that mobile data was not active [MENTION=6948461]panzerox123[/MENTION]

Is it possible for you to upload a single up to date zip of the ROM ?

That would be great after all these additions and removings of things.
[Xperia Z3 Compact Android Development] panzerox123:
The irony is, Im facing battery problems right now...:laugh: I flashed wrong file. Messed up calibration... And now it's going down faster. .. ;)

Did it get fixed?
[Xperia Z3 Compact Android Development] panzerox123:
I will for 1.5 right now, I'm just adding and removing features for a final version.
[Xperia Z3 Compact Android Development] Tosgaba:
For the first question, yes it worked :)

Then, we will get 1.5 as a single file and you ROCK :)
[Xperia Z3 Compact Android Development] Cirra92:
Does anyone experience apps crashing? I even had 2 reboots today after an app froze. Yes I am using custom kernel, but mind you, under the same kernel I haven't had a single app freeze or crash, let alone reboot on SliMM. Could it be that there are some leftovers from SliMM? I'll try to catch some log and post here.
[Xperia Z3 Compact Android Development] panzerox123:
I havent experienced any crashes till date on 1.4 and above. Did you dirty flash on 1.3?

Just a question. What apps are freezing and crashing?

Sure. Take your time to post the log.
[Xperia Z3 Compact Android Development] panzerox123:
I dont know when we will reach 1.5. Still working on 1.4.3 :)

Goodnight!( if its night for you :))
[Xperia Z3 Compact Android Development] Cirra92:
Nope, clean flash, /data, /system, /cache and Dalvik wiped.

No repetitive apps, Nova Launcher, FB messenger, Kernel Adiutor, Amplify. Here is last_kmsg. Do you need anything else?

Edit: 2 more reboots in the meantime, FB and Browser crashed while I used them. I'm trying to see if something that I installed yesterday caused a problem, since I haven't had an issue for first 2 days of using the rom.
[Xperia Z3 Compact Android Development] panzerox123:
Very wierd. Give me a list of all apps you use(Including Xposed modules)

It cannot be caused by ROM for sure. I havent experienced the problem on mine for more than a week now.

BTW you do know that FizTech is not a stable kernel yet right? Just check in FizTech forum too. Thanks!

I'll try to help as much as I can ;)
[Xperia Z3 Compact Android Development] Cirra92:
Yeah I guess it's not a ROM issue, I'll try to figure out what is it, it started just last night, after installing F-Droid and Adaway, and flashing Wajk's google dialer none of which caused an issue earlier, but this time it might be any of that. I know that as well, but FizTech did not cause any issues on previous ROM. :) Thanks for your help, I'll report if I have any findings :)
[Xperia Z3 Compact Android Development] panzerox123:
I'll check it out tmr evening. ;)
[Xperia Z3 Compact Android Development] op3n:
ya, will calibrate. thanks :) btw, i dont know what i did but doesnt work to apply themes, no more :))
[Xperia Z3 Compact Android Development] Bluestar01:
I use Elitekernel v3

In kernelauditor i use elementalx as gouvener

Cpu speed from 268Mhz to 1574Mhz
[Xperia Z3 Compact Android Development] FunkyCrime:
Spend three days with this fantastic battery friendly rom. Amazing work!

Instead of Project Meli, can you insert A.r.i.s.e sound system in your ROM? (A project which contain V4A - and Dolby Atmos *if you want* - )
[Xperia Z3 Compact Android Development] op3n:
and what is ur opinion about this guvernor?
[Xperia Z3 Compact Android Development] Bluestar01:
For me it is good choice.

Use it all the time.

Cpu mostly at 268.
[Xperia Z3 Compact Android Development] op3n:
ok ill try to see what will do with my phone :) thanks
[Xperia Z3 Compact Android Development] devil188:
I'm still having Google Play Services draining my battery like a G6, though not so hard as on other ROMs. Checked at Amplify that the LocationManagerService goes full ham (16047 wakelocks aquired in 1,5 days :o ). I set that it only requires a wakelock every 6 mins, gonna report if something is improving. Else, I just turn off the Location Service, and the problem *should* be solved.
[Xperia Z3 Compact Android Development] -CRO-Maher:
There was already a discussion regarding pre-installed sound mod and it was decided to leave it without sound mod cause it is a very hot topic, users should be able to flash that by themselves. I for instance enjoy Meli so I flashed it afterwards. Hope you understood why it is chosen to be like this? :D
[Xperia Z3 Compact Android Development] -CRO-Maher:
I have location set to off and getting decent deep sleep time, also using default amplify settings
[Xperia Z3 Compact Android Development] Cirra92:
You can use this values, they are from SliMM, but are somewhat adapted for our SD801, battery life has been (at least for me) great, getting average 8h of SOT with usually 1,5 days of total time. Performance and battery are at sweet spot, as the device spends most of the time at 1190mhz which was found to be the most efficient for SD801 while being smooth at the same time, 1497mhz is max due to these settings for more intensive tasks. Governor is interactive.

Do note that I'm using Amplify to control wakelocks and services, and I use MicroG instead of GApps (no Play services and framework).
[Xperia Z3 Compact Android Development] op3n:
many thanks cirra; i applied thats values and i will give u feedback about his status :) about amplify, tell me do u use thats configurations of amplify from here ? and if u have another wakelocks,alarms,serv blocked will be...great
[Xperia Z3 Compact Android Development] KUN1:
How did you remove gapps to install microg?

I already tried once to install microg but ended with a complete mess. But would still be interesting to get 8h Sot compared to 2-3h of mine.
[Xperia Z3 Compact Android Development] panzerox123:
What is microg? Can you explain? Also, is the app crahes fixed? :)

Im looking at the log now
[Xperia Z3 Compact Android Development] Bewildered Wolf:
Microg is the version of google play services (created by xda i guess ) which is battery efficient (majorly) and maybe less dependence of internet and less ram eating and mobile friendly.
[Xperia Z3 Compact Android Development] panzerox123:
Hi, I just went through your log... nothing wrong with it :confused: . I also installed all your apps and tried. No problem 1 day now.

Could you install stock kernel/ elitekernel and report? Im not so sure about fiztech :rolleyes:
[Xperia Z3 Compact Android Development] panzerox123:
Thanks! I always thought it was MicroGapps on opengapps. :p
[Xperia Z3 Compact Android Development] -CRO-Maher:
Can you make a short tutorial for us interested in replacing GApps with MicroG?
[Xperia Z3 Compact Android Development] panzerox123:
Maybe I could include it in the next version.... A tutorial would be nice :) :D
[Xperia Z3 Compact Android Development] shrazy:
It is really simple. In short you need just to uninstall your gapps and install microG app (there are device/rom related steps to consider sometimes).

The thread for microG is here and everything is explained well https://xdaforums.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616

But this is more for users who have no gapps or the possibility of installing gapps. There were reports, that this has no significant effect on battery.
[Xperia Z3 Compact Android Development] panzerox123:
Guys! 1.4.3 is live! Big thanks to developers of the apps!

Thank you. This update is common for both Devices

Check changelog for more info!
[Xperia Z3 Compact Android Development] Tosgaba:
Awesome idea to get rid of cancer of android :)))

But first we have to know how to remove every single piece of google from stock SONY ROM :((
[Xperia Z3 Compact Android Development] Bluestar01:
Thank you for the update.

This time 1.4.3 is installed correctly :)
[Xperia Z3 Compact Android Development] panzerox123:
Welcome! :cool:
[Xperia Z3 Compact Android Development] Cirra92:
Yes that's the thread for Amplify. I didn't have to block many things from that since I don't use GApps, but when I had GApps almost everything was disabled :)

Wow man you shouldn't have bothered installing everything :/ I have spent all night trying out other kernels, and it just might be the kernel issue, however I lost wifi on all of those except FizTech, so I'm doing clean install and will try someone755's kernel. Really sorry for the mess I caused here :/ I'll now just write down steps for MicroG, however that should be optional for people as well :)

Edit: Using Elite kernel instead, will see how it goes :)

Ok, first thing should be to do it on a clean flash, as all apps that use Google Cloud Messaging should be installed AFTER setting up MicroG, so you won't have delayed notifications.

- After booting to system, install from Play store some File manager and Titanium Backup and remove Google account

- Flash Xposed and reboot to activate it

- Using Titanium Backup, delete everything that has Google prefix (Account manager, One time init, Partner setup, Play services, Play store, Framework, there are more)

- Install FakeGapps and XposedGmsCoreUnifiedNlp modules

- Reboot to activate modules and get rid of GApps errors

- Use some Root explorer to put MicroGCore.apk and MicroGFrameworkProxy.apk in /system/priv-app and then reboot again

- Install latest Google Play Store as user app from apkmirror.com

- Install F-Droid app and just type NLP in search, you should install MozillaNlpBackend and NominatimNlpBackend, and activate them in MicroG app through UnifiedNlp settings to enable location searching.

That should be all :)

The biggest benefit with MicroG is reduced standby drain, I no longer have to turn off wifi and mobile data to avoid GApps doing lots of unnecessary stuff in background thus helping achieve more SOT. There is also Amplify which helped me block mostly FB and messenger getting LOTS of wakelocks so Mobile Radio Active drain has been minimized for those apps. And another thing, along with interactive settings I've posted, I have as well done Undervolt for my CPU on all steps, -70mV, that reduced battery usage and made the device cooler. However this is not recommended for everyone because CPU's differ from device to device, do it with caution, as it might crash the system and you won't be able to boot if you don't revert voltage.
[Xperia Z3 Compact Android Development] panzerox123:
Thank you for the post! Don't worry. I installed all your apps only because i was going to factory reset today. I had been losing 20% a night for no apparent reason. Lets see if a factory reset fixes it :fingers-crossed:

You dont mind if i link this post to the OP do you ;)
[Xperia Z3 Compact Android Development] Cirra92:
I have had drain on mobile data, actually it was FastDormancy wakelock, and I suspect that's because SimDetection app was missing, I'll restore it and try again :)

Yea go ahead no worries, why would I mind, if there are any mistakes in my steps, I'll just update the post :)

Edit: Also since I'm on wifi (and mobile data) all day, I am texting throughout the day sometimes a lot, so there's no point having Doze enabled as it just can't kick in but it's constantly trying to, so I use Terminal emulator to disable it:

dumpsys deviceidle disable

If anyone uses their device in a similar way with similar setup (no GApps + Amplify) :)
[Xperia Z3 Compact Android Development] panzerox123:
I had battery drain without any wakelocks. It is wierd ... :(.... testing tonight. I dont think its a problem with your devices. I changed my carrier a few days ago, and everything went bonkers on my phone after that. Idk why///
[Xperia Z3 Compact Android Development] Cirra92:
You could use Wakelock Detector along with Better Battery Stats to find the issue. I haven't changed carrier, so it could be that phone can't get carrier network settings properly and is causing FastDormancy wakelocks without Sim Detection app. You can try as well with that app restored.
[Xperia Z3 Compact Android Development] panzerox123:
I tried both. None reported anything other than the usual. I factory reset my phone. Let's see now:fingers-crossed:
[Xperia Z3 Compact Android Development] Cirra92:
Restored Sim Detection app, without "oat" folder, so it's deodexed, and started getting reboots just upon booting to system. Should have I returned it with "oat" folder?

I guess everything should be okay now for you, maybe some leftover caused an issue, factory reset solves a lot of things :D
[Xperia Z3 Compact Android Development] panzerox123:
Yes!!! Deleting oat doesn't deodex the app!!! It will be fine if you leave it odexed too..Delete the app using TWRP. :)
[Xperia Z3 Compact Android Development] Cirra92:
Yea I've deleted it, booted fine now, everything is stable again. Will try with oat folder again, if it doesn't work, how should I restore it? :D
[Xperia Z3 Compact Android Development] panzerox123:
I will restore it myself tomorrow share it if it works:D
[Xperia Z3 Compact Android Development] newappz:
First, thank you for this awesome ROM, best battery life so far! Now let's talk about ROM; why SLiMM ROM was so popular, because most of us are looking slim stock ROM, not bloated with 3rd party apps and and not themed, and no 3rd party launcher pre-installed. Sry, but your last update was just that , you added some beta/free apps, and we can even uninstall them normal way, without root uninstaller. Everyone can install these kind of apps from Google store, also the Sony apps ; remove them as many as possible, we have Sony device and again, they will be available to install from Google store who likes to add some of them.

Please remove these:

-MiXplorer

-Root Essentials

-Nova Launcher

- Xperia Tips

-Xperia Tips Service

-Lifelog

-Email

-Xperia Chinese keyboard

-Xperia Japanese keyboard

And please add:

Smart Backlight Control (Display settings)

- Xperia XZ STAMINA

- Xperia XZ UI (menu)

panzerox123, once more, thank you for you hard work, I hope to see these changes in next update!
[Xperia Z3 Compact Android Development] Davka:
+1

I agree

(you can leave Email app and MiXplorer eventually)
[Xperia Z3 Compact Android Development] Cirra92:
Well one thing I learned after using this ROM, is that actually SliMM was kinda bloated up to the point where it affected performance and actually made the device slow and even custom kernels couldn't improve that. While I agree that this ROM should stay as it is, couple of things should remain, such as MiXplorer, or any other explorer. Every ROM should have some file explorer bundled in, I don't understand people that remove them from their ROM, it's the most basic app you must have. I won't agree with Nova Launcher as well, but that's just my opinion.

Why do you need XZ Stamina? MM stamina is not the same as in LP or KK, it's rather useless in MM, and according to some people it's regularly throwing errors (seen in logcat) and causing battery drain actually.

[MENTION=6948461]panzerox123[/MENTION] Sim Detection still causing reboots even with oat folder. If you find a solution let me know :) Anyway I'll try out some APN settings tonight to see if that FastDormancy wakelock goes away :)
[Xperia Z3 Compact Android Development] FlintStoned-:
O

PanzeRox123, thanks for your time and work. I love it but I also have to agree with post above. Please remove it again :(

PS: did it not work to update xperia home?
[Xperia Z3 Compact Android Development] AfroMetal:
++

I am not going to upgrade to 1.4.3. I fully agree with you guys. Bloat and any preinstalled not essential things are bad bad things.
[Xperia Z3 Compact Android Development] Chuck93:
full agree, please remove the bloatware
[Xperia Z3 Compact Android Development] Bluestar01:
I don' t think it is bloatware.

He decided to put the apps inside the rom because some people made the suggestion.

I feel happy with theese apps.

Once more: very good work by [MENTION=6948461]panzerox123[/MENTION]
[Xperia Z3 Compact Android Development] op3n:
pff, still not work substratum :)))
[Xperia Z3 Compact Android Development] newappz:
Free 3rd party apps (with advertisement) which are included in ROM as system apps is bloatware. Everyone can install them from Google store for free, but properly remove them you need paid root/system app uninstaller.

Many people here agreed to not have any 3rd party apps and minimum Sony apps in this ROM, they want to use file explorer, launcher, Sony apps what they like.

So far this is best Z3 compact ROM ever, let's keep it this way, clean, slim with long lasting battery! Thank you for hardworking [MENTION=6948461]panzerox123[/MENTION]
[Xperia Z3 Compact Android Development] Cirra92:
Where did you see ads in Nova and MiXplorer? I have never seen an advertisement once in those two apps. For Sony apps I agree, they are bloatware and are really unnecessary.
[MENTION=6948461]panzerox123[/MENTION] No help, getting more than 40 wakelocks per 1h of FastDormancyWakeupService. So if you prefer not to add SimDetection in 1.5 update, lets just find out how can I do it myself :D
[Xperia Z3 Compact Android Development] dddestiny:
I think MiXplorer should be remained, Because this rom has no sd manager. Other thing I agree to remove
[Xperia Z3 Compact Android Development] panzerox123:
I will remove the Sony apps, but root essentials,mixplorer, and nova launcher stay. It was added at request of others. They are useful apps.

Also, XZ stamina is very buggy right now. I know marilias ROM has XZ stamina, but it breaks the storage settings on our phones. XZ UI is present in the latest update. Please check 1.4.3

Sure, I will add smart backlight control.

Thanks for taking the time to reply! :)
[Xperia Z3 Compact Android Development] panzerox123:
I factory reset phone last night... And it worked! No more random drains for no reason. It went down 4% last night because it was connected to wifi!
[Xperia Z3 Compact Android Development] Bewildered Wolf:
I have a 0.03%-0.07% train overnight. :P
[Xperia Z3 Compact Android Development] panzerox123:
Only root essentials has ads. And it is installed because it let's you calibrate the battery and enable adoptable storage(main reasons).

I cannot just remove it.
[Xperia Z3 Compact Android Development] Bewildered Wolf:
If I'm using adoptable storage and i remove my memory card then what happens ?
[Xperia Z3 Compact Android Development] panzerox123:
Nothing . It just grays out the apps that are stored on SD card
[Xperia Z3 Compact Android Development] Bewildered Wolf:
No harm to memory ?
[Xperia Z3 Compact Android Development] panzerox123:
You can update to 1.4.3 for the system UI. I will remove nova launcher.
[Xperia Z3 Compact Android Development] newappz:
I understand that some people like them but like you see many of them are supporting to remove them, let's compromise; please don't make 3rd party apps as system apps, add them as normal apps, this case than anyone who doesn't like them can easily remove them without using system app uninstaller.

If XZ stamnia is still buggy, let's wait, maybe Sony makes better version.

Thanks ahead for adding Smart Backlight Control !

[MENTION=6948461]panzerox123[/MENTION] Anyway, sry for complaining, your ROM is still best so far! Thank you for your work to keeping our device alive!
[Xperia Z3 Compact Android Development] Cirra92:
He can't add them as normal apps, either as system app or nothing, that's just the way it is.

Glad to hear that, still don't understand how drain appears out of nothing, and there are no indications of apps going crazy. :) I have done clean flash today, only problem is restoring that app, everything else is perfect, nice work :)
[Xperia Z3 Compact Android Development] FlintStoned-:
Xperia home still not able to update?
[Xperia Z3 Compact Android Development] panzerox123:
Ive been trying... I cant install any Sony app, either as priv-app, or app....

There is nothing I can do :(

I have to check whats wrong.
[Xperia Z3 Compact Android Development] FlintStoned-:
Woops, that pretty weird,.. Hopefully you find a way.

Again thanks for your time and work!
[Xperia Z3 Compact Android Development] panzerox123:
Im not so sure about smart backlight control.. Im having trouble installing stock sony apps. :(

I will remove nova launcher. Root Essentials will be required in a further update and MiXplorer is a basic app.

Thanks for the suggestions everyone! :)
[MENTION=5070317]Cirra92[/MENTION] I left my phone at 54% in the morning. When I got back now(around 7-8 hours later) Its still at 54! Im glad its fixed. :)
[Xperia Z3 Compact Android Development] panzerox123:
Hey! No problem. I dont know why sony apps refuse to install.... It gives me a parse error when I install it from priv-app folder too. So ill have to see about it. :confused:
[Xperia Z3 Compact Android Development] fr3n2y:
HI all,

Thanks for your good work panzerox123!! I'm really happy with this rom.

I'm not sure when or how the battery drain is solved. Is just with the last update? We need to do some extra config?
[Xperia Z3 Compact Android Development] panzerox123:
No battery drain! It was just my phone... something wrong with battery indication... But I fixed it. Nope you dont need to do any extra config. If you have problems with mobile data, enter your APN manually. :)