I've found the best ROM in terms of battery and performance! - Xiaomi Redmi Note 7 Guides, News, & Discussion

Hello! I've found the best custom rom + kernel for my needs and I wanted to share with you guys.
In my opinion the smoothest, good battery backup (8-9 hours sot) and performance combo is Pixel Experience + and Predator kernel. To make all of your apps work properly enable force fulllscreen mode for any of them . Now let me share with you guys some battery tweaks:
1. Install Naptime and make sure that these options are enable:
https://imgur.com/a/TR0EV5d
2. Restrict any app in the background that you don't need to work in the background, like these apps:
https://imgur.com/a/INZF0Bi
3. Disable unused default apps like these:
https://imgur.com/a/PAqMJpr
and disable Google Assistant if you don't use it ( if you disabled Google app you will not found Search, Assistant and voice in the settings ): Settings - Google - Account services - Search, assistant and voice - Google Assistant - Assistant - General - Disable Google Assistant. Also disable location/ Find My Device, automatically data sync for apps.
4. Disable automatically backup for Google Photos.
Here are some apps which I use it and it will make your life easier:
- Youtube and Youtube Music without ads ( no need to root ): https://vancedapp.com/
- Magisk, needs to be flashed in custom recovery: http://www.mediafire.com/file/vzf3re143yb68uc/Magisk-v21.1.zip/file
- Google Camera. You will need to install "Remove Google Camera" module in Magisk first if you have it already installed in your rom, the link for this module is this one: http://www.mediafire.com/file/bhm6dhrrnqiar2d/RemoveGCam.zip/file
Google Camera ( if you don't have it already installed as default camera, you can install it as any apk file, no need to root ) , this is the download link for it: http://www.mediafire.com/file/eogevstxhlq0yvv/MGC+7.4.201+Parrot043+V1.1.apk/file
- L1 Security patch that will make Netflix stream more than SD: https://www.mediafire.com/file/85mrfht25lzjfjx/DRM_L1_Patch.zip/file
( needs to be installed in Magisk )
- I also changed the default launcher because it's not that customizable, and I found this launcher to be more customizable and well optimized:
http://www.mediafire.com/file/p6uxixksr05w17w/Systemless_ShadyLauncher-v1.5.zip/file
- If you want to have Dolby Atmos install these Magisk modules ( Install in this order ):
1. Audio Modification Library: http://www.mediafire.com/file/wigiq7cxf488frr/1.Audio_Modification_Library-v4.0(55).zip/file
2. Audio Configuration Database:
http://www.mediafire.com/file/hwj1zqs2a695hrz/2.ACDB-0.49.zip/file
3. Restart after you installed the first and the second module.
4. Dolby Atmos:
http://www.mediafire.com/file/zhu8i4o3tpflxlf/4.DolbyAtmos.zip/file
- Dark boot animations to not kill my eyes when I boot my phone in the evening :laugh: :
Android 10: https://www.mediafire.com/file/d4r6edkq5y9xl98/Android-10-Dark-Bootanimation-%28v1.0%29.zip/file
EvolutionX:
EvoX DARK Bootanimation systemless
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
All these files I shared with you I am sure that have no viruses. I hope that I helped you and I have a question for you guys: What is the best combo for your needs? What custom rom and what kernel?

?thanks
Thanks buddy. Helped a lot. ^_^

Allen (=^w^=) said:
Thanks buddy. Helped a lot. ^_^
Click to expand...
Click to collapse
Always glad to help!

Please Hit Thanks if you love this tutorial It really helps a lot!

I use PE + with stock kernel without any tweaks and I get about 8 hours sot.
Those tweaks just **** up performance and multitasking
So in terms of performance it is worse

F4JL0 said:
I use PE + with stock kernel without any tweaks and I get about 8 hours sot.
Those tweaks just **** up performance and multitasking
So in terms of performance it is worse
Click to expand...
Click to collapse
Everyone has their own personal opinion. But I don't think that restricting apps to work in the background, Naptime or disable some bloatware can negativity affect the performance. On the contrary, it should improve performance and battery life.

Radu15 said:
Everyone has their own personal opinion. But I don't think that restricting apps to work in the background, Naptime or disable some bloatware can negativity affect the performance. On the contrary, it should improve performance and battery life.
Click to expand...
Click to collapse
Yeah ofc
Everybody uses their smartphones differently.
I use lot of multitasking.
Before i had miui it was so agresive on killing apps. That's why i switched and i use PE and it's beautiful.
And I tried storm breaker.. little difference in battery Life but it wasn't that smooth and fast as stock kernel.
At least for me

F4JL0 said:
Yeah ofc
Everybody uses their smartphones differently.
I use lot of multitasking.
Before i had miui it was so agresive on killing apps. That's why i switched and i use PE and it's beautiful.
And I tried storm breaker.. little difference in battery Life but it wasn't that smooth and fast as stock kernel.
At least for me
Click to expand...
Click to collapse
It doesn't have any effect multitasking in any way. The apps still don't refresh after leaving them in the background, the apps remains normal.

Use PE plus +Predator 9.1 very good working.

Best sound mod for lavender.
Download https://drive.google.com/folderview?id=10A1e3TevGFRuFIrF59P96jg4k3idfHXq
Go to twrp recovery
1. Mount System and Vendor.
2. Instal Pulse audio
3. Instal Sirenes
Reboot.
My choice of kernel Predator 9.1 HMP stable (old cam)

Im getting only 4hrs sot on stock kernel PE+

Related

[I9001/I9000]Google Now for ICS

Google Now 8/8/2012 ​
Description
Well for thous trying get Google Now on ICS, i found a post, and successively installed it, now I'm giving you instructions and i will update it every time an update comes.
I DONT TAKE ANY CREDIT! FOR GOOGLE NOW ZIPS AND APK
I am not responsible if you brick you phone
Click to expand...
Click to collapse
PLEASE REFER TO THIS LINK FOR GOOGLE NOW: http://forum.xda-developers.com/showthread.php?p=30269273#post30269273
Nice. Thanks.
This morning I installed Google Now for Arco's CM9 Alpha 7. I am not interested in cards and notifications (as they eat a lot of battery and are laggy) but I am only interested in voice search (kind of cool) so I installed Mikey6_Online package, I disactivated all Google Now options and maps option but it's laggy as well.. If you have any ideas how to make it work smoothly, I'm buying.
Schlahbi said:
Nice. Thanks.
This morning I installed Google Now for Arco's CM9 Alpha 7. I am not interested in cards and notifications (as they eat a lot of battery and are laggy) but I am only interested in voice search (kind of cool) so I installed Mikey6_Online package, I disactivated all Google Now options and maps option but it's laggy as well.. If you have any ideas how to make it work smoothly, I'm buying.
Click to expand...
Click to collapse
A Few reasons:
-Well first, offline package does reduce the lag a bit, try that
-Our kernel of the ICS is not done, i mean the kernel is not finished, so performance can be a question, do to the kernel's config, no-oc, no-ow, etc.
-If you have many processes in background it can cause the lag, in fact it can make a huge lag if you have like 10-15 high process[WebBrowser,Games,Maps,Music Player[Playing ofc], FACEBOOK [This app is the biggest ram, and performance killer], PlayStore]
-Try config the CPU's speed, and CPU governor [Settings - Performance - Processor] and set the CPU Governor to Performance, and min CPU frequency to 368, This will make Google Now work very very Well
I love this. I flashed it over slim ics and works like charm. Thanks.
Sent from my GT-I9000 using xda app-developers app
if i install online package and then find out that indeed is very laggy, how can i install offline package. simply by running the zip file through cwm or i must do something else?
Thanks
Thanks for directing me to that link
where is the lockscreen file of a rom?and whats its name?
and the wallpapers of the rom?

I want performance (GT-i8190)

Dear fellow ROM-lovers
As a looong-time ROM-user, I'm still trying to find thé perfect ROM. I've used a ton of ROM's, some of them are:
STOCK: Project Noble, Virginity, Ronin
KitKat: Omni-ROM, Cyanogenmod, Paranoid Android, SlimRom, pretty much anything popular
Lollipop: Omni-ROM, Cyanogenmod​I haven't tried out Marshmellow ROM's since it's rather new.
The STOCK-ROM's are obviously the better choice when I'm talking about battery life. I really don't care about customization anymore since I've gotten to the point where only useful things matter on this old s3 mini of mine.
Nooow, to get to the point. I'm looking for the ROM with thé best performance. I don't care if it's a MIUI-ROM or anything else like that, I just want a buttery smooth phone. Ofcourse a decent battery life is kind-of required too. I was told STOCK-ROM's have the best performance in the market, but the 'buttery smoothness' is losing it's potential to be honest. Or I might ask for something that just isn't possible, in that case, I'd appreciate your opinion too.
Now it would be too much to ask for good battery life, good performance and good customization, so I'm only really asking about the first two. I've tried crossbreeder mod, putting scale animations on 0.5 in dev settings, other fly-on mods, but I'm still not really satisfied yet. If you have any other optimization-ideas, let me know.
Chrome and Snapchat are just slow like hell, other apps often take a very long time too , I'm just looking for something I don't know.
If you have any suggestions, I'm excited to hear about it!
Ty!
Edit: I also read something about the influence of governors in performance. What are the best options to go for in this type of customization?
I use Omni lollipop & freeze / delete the stuff i don't want. This gives me good ram & better performance over stock. Best performance use F-kernel but you may need to do the additional instructions in the F-Kernel Q/A thread to get Nova Thor to work. I tried it & got better performance but it was never quite stable enough for me. On FKernal lollipop i had to add the Nova Thor app & add a init.d script granting the Mali folder permissions 755 (see thread).
The issue for me with this device was the memory & multi tasks but with Omni its does the job. Also with stock the cve issues, Omni lolli more upto date.
Oh yeah if you can don't use Gplay as its a hog on older devices, just my 2 cents.
No gapps !
kurtn said:
No gapps !
Click to expand...
Click to collapse
How can you imagine an android phone without gapps these days ?
I'm writing with it.
kurtn said:
I'm writing with it.
Click to expand...
Click to collapse
So how does it feel?
kweetvannix said:
So how does it feel?
Click to expand...
Click to collapse
I feel free. Most of my apps are from f-droid.
kurtn said:
I feel free. Most of my apps are from f-droid.
Click to expand...
Click to collapse
Yeah no Gapps! As above Fdroid & UpTown Down, Guardian Project.
If you must use Gapps on a old device use a Pico minimal install to get the play store.
Sidebandit said:
Yeah no Gapps! As above Fdroid & UpTown Down, Guardian Project.
If you must use Gapps on a old device use a Pico minimal install to get the play store.
Click to expand...
Click to collapse
What works well in this ROM is xposed fakegapps and microG instead of gapps
I recommend stock ROM with stock kernel for best hardware compatibility and performance.
I tried several custom ROM but unfortunately (in my phone) there are some incompatibilities with the hardware. Compass is not perfectly working and the most annoying is charging was never complete to 100%. They are also uses more RAM.
I installed custom kernel (3.0.101) on stock ROM and having problem with charging. I think it is a kernel-related issue. So, I revert back to stock kernel (3.0.31) and everything came back to normal.
For better performance, try uninstalling un-needed apps (Samsung and Google apps, including Google Play Services). You can use microG GmsCore to replace Google Play Services. It even has alternative to Network Location. :good: I am also using older version of some apps because it seems to use less RAM than newer versions. Google Play Store is working with microG.
For smoother scrolling, I activate "Force GPU Rendering" in Settings > Developer options. It helps scrolling performance in Contact and Messaging apps a bit.
mandayugana said:
I recommend stock ROM with stock kernel for best hardware compatibility and performance.
I tried several custom ROM but unfortunately (in my phone) there are some incompatibilities with the hardware. Compass is not perfectly working and the most annoying is charging was never complete to 100%. They are also uses more RAM.
I installed custom kernel (3.0.101) on stock ROM and having problem with charging. I think it is a kernel-related issue. So, I revert back to stock kernel (3.0.31) and everything came back to normal.
For better performance, try uninstalling un-needed apps (Samsung and Google apps, including Google Play Services). You can use microG GmsCore to replace Google Play Services. It even has alternative to Network Location. :good: I am also using older version of some apps because it seems to use less RAM than newer versions. Google Play Store is working with microG.
For smoother scrolling, I activate "Force GPU Rendering" in Settings > Developer options. It helps scrolling performance in Contact and Messaging apps a bit.
Click to expand...
Click to collapse
Yes, sounds like a good idea for speed, but a bad idea for security. Using an outdated ROM, the only protection comes from an uptodate playservices. Microg has no malware protection.

Google play services -very fast consumption battery

Hi everyone, does anyone know why I can not optimize battery usage for Google play services app ? This app draining very fast phone battery. I have made a screenshot for a better understanding . As you have seen "do not optimize battery usage" is already selected . Why I can't change this? I tried everything I knew including resetting to factory values , ​​I do not know what else to do. What can I do ? Thanks for a useful answer .
PS. My phone is a galaxy s5 sm-g 900f
I already got the answer . Thanks
mind sharing with the rest of the class? Someone else facing a similar issue may find your solution helpful.
Trasorv said:
As you have seen "do not optimize battery usage" is already selected . Why I can't change this?
Click to expand...
Click to collapse
for this you can use this Magisk Module below.
https://forum.xda-developers.com/apps/magisk/module-enable-doze-google-play-services-t3608783
Thanks.
Same here. Fresh install and Google Play Services is consuming 18-20 percent of my battery.
Magisk Module helped only a few percents unfortunately....
I think I have it under control now.
Last week I tried two other kernels; the Holydragon kernel and the Caesium kernel.
With the Holydragon kernel I got some improvement by using it's wakelock functionality in combination with EX kernel manager, xposed, forcedoze and servicely.
Unfortunately it still was not the result I expected, so I switched to the Casesium kernel some days ago.
At that moment I was running the latest Omni, OpenGapps pico package, Caesium kernel in combination with only EX kernel manager and Naptime X.
I had only blocked the most important wakelocks with EX kernel manager and added the Magisk Swap Torpedo module v1.0; all other stuff was default.
The result; Google Play-Services was only 1% of the battery usage and after the latest charge cycle it still was 74% of battery after 21 hours and light usage with 2 days expected.
Ofcourse this wass not reality, but Google Play-Services was down in the list again and overall life-time of a charge cycle was improved a lot.
After that I replaced the Holydragon kernel with Mady's Extended kernel two days ago.
I have tried some different setups with Magisk modules, Amplify etc.. but in fact the default setup with Mady's Xtended kernel is great.
I removed the Magisk Swap Torpedo Module, removed Amplify and Xposed and EXmanager is just for looking at the settings, but all kernel and GPU settings are default at the moment. Great battery life out of the box and in fact better then at the moment I was using Xposed and Amplify to block wakeups.... )
So, in short this is my setup:
- TWRP 3.2.1.0
- Magisk v16.0
- omni-8.1.0-20180401-oneplus3-WEEKLY
- Kernel MadysXtended-Kernel-X10
- open_gapps-arm64-8.1-pico-20180401
- EX Kernel manager v3.46
- Naptime X
- Servicely
New setup which I will stay at for the moment and is giving the best battery life for Omni, no issues anymore with Google Play Services (drain or extended delivery of messages etc..):
- TWRP 3.2.1.0 (the official TWRP)
- Magisk v16.0
- Omnirom weekly; using 20180408-oneplus3-weekly now
- Kernel MadysXtended-Kernel-X12 (best kernel I have found for snappyness in combination with the best battery life I can find)
- Open_gapps-arm64-8.1-pico-20180409
- EX Kernel Manager 3.46 (everything default, no tweaking, just for checking)
- Naptime X
No servicely, no Lspeed, no other tweaks anymore. Just a simple setup which is working great!
Although I like to tweak a little and to try other settings, wakelock blocking etc.... it just is not neccessary with this setup....

Custom ROM

Hi. I'm looking for clean and fast custom ROM to install on my ROG Phone 3. I don't care about features, customization and stuff like that. Want cleanest and fastest ROM for playing games like PUBG Mobile, COD, Fortnite.
Right now i have latest TWRP, Magisk on my phone and i don't have PC.
Which ROM would be best for me?
lineage os 18.1
DUTOVX said:
Hi. I'm looking for clean and fast custom ROM to install on my ROG Phone 3. I don't care about features, customization and stuff like that. Want cleanest and fastest ROM for playing games like PUBG Mobile, COD, Fortnite.
Right now i have latest TWRP, Magisk on my phone and i don't have PC.
Which ROM would be best for me?
Click to expand...
Click to collapse
No real need. The stock ROG 3 rom with root access can be de-bloated, de-cluttered, deep cleaned and completely stripped down for blazing fast performance and battery life to a level that custom roms wouldn't make much difference if any at all, short of completely de-Google'ing the device - which you wouldn't want if you game anyway, since most games depend on components like Goog Play Services and GSF (the stock ROM can in fact be de-Googled to if needed).
Key is to remove every single Google app possible and replace those that you absolutely need with light alternatives, as well as a lot of the useless pre-installed ASUS stuff that runs in the for/back-ground. Also, remove all background syncing that you can do without including all active cloud connected services and syncing. Reduce auto-startup of apps to an absolute minimum of what needs to run. Disable background data for all apps and services that don't need it.
Root access + a good app that allows you to go to work is all you need for doing a Formula-1 setup of ROG3.
Andrologic said:
No real need. The stock ROG 3 rom with root access can be de-bloated, de-cluttered, deep cleaned and completely stripped down for blazing fast performance and battery life to a level that custom roms wouldn't make much difference if any at all, short of completely de-Google'ing the device - which you wouldn't want if you game anyway, since most games depend on components like Goog Play Services and GSF (the stock ROM can in fact be de-Googled to if needed).
Key is to remove every single Google app possible and replace those that you absolutely need with light alternatives, as well as a lot of the useless pre-installed ASUS stuff that runs in the for/back-ground. Also, remove all background syncing that you can do without including all active cloud connected services and syncing. Reduce auto-startup of apps to an absolute minimum of what needs to run. Disable background data for all apps and services that don't need it.
Root access + a good app that allows you to go to work is all you need for doing a Formula-1 setup of ROG3.
Click to expand...
Click to collapse
Thanks
Andrologic said:
No real need. The stock ROG 3 rom with root access can be de-bloated, de-cluttered, deep cleaned and completely stripped down for blazing fast performance and battery life to a level that custom roms wouldn't make much difference if any at all, short of completely de-Google'ing the device - which you wouldn't want if you game anyway, since most games depend on components like Goog Play Services and GSF (the stock ROM can in fact be de-Googled to if needed).
Key is to remove every single Google app possible and replace those that you absolutely need with light alternatives, as well as a lot of the useless pre-installed ASUS stuff that runs in the for/back-ground. Also, remove all background syncing that you can do without including all active cloud connected services and syncing. Reduce auto-startup of apps to an absolute minimum of what needs to run. Disable background data for all apps and services that don't need it.
Root access + a good app that allows you to go to work is all you need for doing a Formula-1 setup of ROG3.
Click to expand...
Click to collapse
Interested to know how you debloated/ decluttered/ deep cleaned.

[ROM][11.0][UNOFFICIAL] LineageOS 18.1 [sumire/E6653] tuned rebuild 2022-11-23 + cooldown tuning + camera quality guide

*** Disclaimer
I am not responsible for any damage you made to your device.
Potential heat problems still there in this ROM.
If you unlock your bootloader from stock rom, be sure to backup your drm keys / TA partition in case you want to go back to stock ROM (otherwise drm keys are forever lost, and you may be missing camera features if you go back).
You have been warned.
Click to expand...
Click to collapse
I did a rebuild of LineageOS 18.1 with the sources of Berni-0815 and tarkzim, many thanks to them for their hard work!
SELinux: enforcing
Camera: Stock camera works ok at first glance (up to 8MP, camera.disable_zsl_mode=0 is set).
Small further tweaks in device/sony/kitakami-common/system.prop:
Spoiler
ro.config.hw_quickpoweron=true
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
power_supply.wakeup=enable
ro.config.hw_power_saving=1
ro.HOME_APP_ADJ=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.kernel.checkjni=0
ro.kernel.android.checkjni=0
debug.performance.tuning=1
Flashing and tuning Instructions:
Clean flash advised.
From TWRP:
1. Flash ROM + optionally gapps in a row (read https://wiki.lineageos.org/gapps and https://forum.xda-developers.com/t/...-e6653-build-2022-11-18.4517491/post-87743699), Google app may cause high battery drain though (deactivate it if need be/Google Go being a possible alternative)
Click to expand...
Click to collapse
2. Optionally: Restart to recovery / TWRP, then flash magisk
Click to expand...
Click to collapse
Attached images showing sample setup with Google apps. MMApp is Magisk renamed apk.
Click to expand...
Click to collapse
Install Android System WebView Beta to get updates for WebView (or bromite webview and ff-updater app on F-Droid).
Install Google Google Go app if you want to use Google Assistant (Google app may cause high battery drain). Chimera seems to be possible to be disabled anyway: https://forum.xda-developers.com/t/...ry-drain-due-to-google-play-services.4406617/ (edit: disabling chimera seems to cause other problems in logcat, so better leave it as it is).
For temperature cooldown use a Kernel Manager like Smartpack Kernel Manager / Franco Kernel Manager by Franciso Franco / EX Kernel Manager by flar2 (root/magisk required) and set:
- CPU: set CPU governor of little CPU to "ondemand" - saves a bit of energy compared to "interactive" cpu governor. Don't change big CPU governor (especially if you set minimum of big cpu cores to 0), because Smartpack will crash then.
In CPU governor tunables optionally also set powersave_bias to something higher than 0 (up to 100), like 50 or even 100 works fine (reduces CPU upclocking a bit)
- CPU hotplug: minimum big CPU cores to 0. Edit: Set Busy Down threshold to 40 and Busy Up threshold to 70 or 80 to reduce the probability of big CPUs being activated.
- Thermal: turn on all three thermal drivers (seems to work despite the warnings).
Click to expand...
Click to collapse
- Edit: set GPU governor to "simple_ondemand" too, it's more balanced than msm-adreno-tz.
If you don't use graphics intensive apps, also set GPU max frequency to 180 Mhz - this makes a huge difference in Passmark PerformanceTest app - Open GL ES Unity benchmark (complex space game simulation), but the other 2D and 3D benchmarks in the same app are not much affected by this.
Click to expand...
Click to collapse
- i also changed I/O scheduler of internal/external sd card to deadline noop (simplest one / is supposed to save a little bit of energy). Passmark Performance Test didn't show much difference on them anyway. And disabled I/O stats for internal and external SD card.
Edit: see https://forum.xda-developers.com/t/...ng-camera-quality-guide.4515659/post-87794505
Click to expand...
Click to collapse
- Also turn on Battery saver mode (Extreme battery saver). Without it, little CPUs will clock high, with Battery saver, little CPUs will try to clock down
- and optionally Data Saver mode (quick settings)
- switch off NfC and Ambient display.
- Also enable Dark mode with pitch black Background and set a pitch black wallpaper (apps in Playstore for this available).
- Install naptime (with aggressive doze, disabling motion detection/enabling the first five options) helps for saving energy a lot. If you don't use Playstore, on F-Droid there also Doze alternatives to Naptime, like ForceDoze, beware who you give root though / or use adb to give the doze app the required permissions.
For further debloating: use the attached shell script sumirecleanapp.sh as root in adb shell or TWRP Terminal (TWRP Advanced section) with System partition mounted as writable (execute the script with "sh sumirecleanapp.sh" in the Terminal application). You can use the script direcdtly after flashing ROM and gapps in TWRP to shorten the first boot too (need to remount System partition as writable because other installscripts unmount it). Look at the comments in the script before you do so, to avoid deleting apps you might wanna use. They are backed up to /sdcard/sumirebackup/ and corresponding system subfolder though in case you wanna reinstall them. In case you reinstall an app make sure to chmod 755 to the dir and 644 to the apk files.
Click to expand...
Click to collapse
Sources (lineage-18.1 branches):
ROM: https://github.com/LineageOS/android.git
Kernel: sony msm8994 https://github.com/Professor-Berni/android_kernel_sony_msm8994
Vendor: https://github.com/Professor-Berni/proprietary_vendor_sony
Device-tree:
kitakami-common https://github.com/Professor-Berni/android_device_sony_kitakami-common
sumire https://github.com/Sony-MSM8994-Dev/android_device_sony_sumire
Local manifests: https://github.com/Professor-Berni/local_manifests (devices.xml modified to use tarkzim's sumire device sources)
Download:
ROM https://drive.google.com/drive/folders/1uq_O3lgPX4fjmzKpqnOoWIdxBvVch3bO
Issues:
Potential heat problems (tweaking advised/see instructions above,). If your phone crashes you're probably running too hot.
Edit: Stock Voice Recorder app is working
Audio/microphone recording of Whatsapp/Telegram should work
Edit: The screen brightness seems alright, no suddenly dimmed display
If you experience an app not starting (potential SELinux errors) please post a logcat with "avc: denied" errors (use MatLog app or adb logcat | grep "avc: denied")
Contributors
berni-0815, tarkzim
Thanks to LineageOS
LineageOS – LineageOS Android Distribution
LineageOS Android Distribution
lineageos.org
Build system:
Linux Mint 21, 8 GB Ram, 8 GB swap partition, ~170 GB SSD space used for the whole Linux partition with the compiled sources (repo option --depth=1), 4,5 GB ccache used.
Had to modify build/soong/java/droiddoc.go to avoid out of memory error while building the ROM, so there
after
cmd.BuiltTool(ctx, "metalava").
Flag(config.JavacVmFlags).
Click to expand...
Click to collapse
i inserted:
Flag("-J-Xmx6114m").
Click to expand...
Click to collapse
Using HedgeCam 2 (fork of Open Camera) as photo app recommended (camera2-API works there).
Also turning on some Autofocus bugfixes there may help (but test yourself).
To focus anew tap on the screen where you want the focus on.
Best results when you get a green circle and then take the photo.
Manual ISO mode makes the camera server crash on Camera2-API, so use Auto ISO mode (you can restart camera server in Hedgecam by switching the API back and forth also) or disable Camera2-API.
Note:
After using Hedgecam with Camera2-API and then builtin camera app, the latter one doesn't seem to work properly.
If you want to remove the internal Camera app, move the folder /system/system_ext/priv-app/Snap to somewhere else on /sdcard (as backup). To do so, in TWRP mount System partition, then use TWRP File manager or Terminal (advanced section).
Edit: Integrated the removal of the buitin camera app Snap into my debloating script (sumirecleanapp.sh)
Edit 2: Updated recommended camera settings, see below:
[ROM][11.0][UNOFFICIAL] LineageOS 18.1 [sumire/E6653] tuned rebuild 2022-11-23 + cooldown tuning + camera quality guide
*** Disclaimer I am not responsible for any damage you made to your device. Potential heat problems still there in this ROM. If you unlock your bootloader from stock rom, be sure to backup your drm keys / TA partition in case you want to go back...
forum.xda-developers.com
Overnight test (flight mode) of 11 hours with the above settings resulted in same accu battery percentage after the 11 hours (10% before/10% after).
CPU, CPU hotplug and GPU governor tuning suggestions updated in the first post (see also attached screenshots).
When surfing in Opera with deskop site mode, the temperatures stay like below 50 degrees at the moment with this.
Edit: For better surfing performance and battery life use mobile browser mode instead of desktop browser mode by default in your browser... complex websites (for example YouTube) suck up a lot of power for rendering in desktop mode.
Update for best Hedgecam 2 settings, giving more consistent good picture quality:
In Hedgecam 2 settings, Camera Controls, set Touch to Capture.
This enables you to click on a spot on the screen where you want the picture focus on, and take the picture immediately!
(instead of having to click on a spot in the picture to focus, and then press the camera button some seconds later - with the risk of losing autofocus, and iso auto mode changing in the meantime).
Also in Hedgecam 2 settings, Bug fixes, enable alternative flash method: Torch
These were the most consistent settings to get good picture quality in suboptimal lighting conditions for me, and also easy to use!
Note: picture quality will be best when the focus circle (where you tap the camera preview picture) turns green when (or shortly before) you take a photo.
So if you're intent to have a good quality picture just take 2 or 3 shots where Hedgecam 2 (for at least one of the pictures) gives you the green circle feedback. Focus and quality will be good then
See also the attached photo, and for comparison with HTC camera app 20MP and Open camera app 8 MP on sumire, see here in the crdroid 11 thread (same foto spot and similar lighting conditions):
[ROM+KERNEL][UNOFFICIAL][11.0] crDroid
*** Disclaimer I am not responsible for any damage you made to your device You have been warned crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features...
forum.xda-developers.com
For anyone interested in crDroid, i did a crDroid Android 11 / crDroid version 7.23 build for Xperia Z5/sumire, similar to this LOS 18.1 build:
[ROM+Kernel][11.0][UNOFFICIAL] crDroid 7.24 Android 11 - NOT STABLE [sumire/E6653] build 2022-11-18
*** Disclaimer I am not responsible for any damage you made to your device. Potential heat problems still there in this ROM. If you unlock your bootloader from stock rom, make sure to backup your drm keys / TA partition in case you want to go...
forum.xda-developers.com
Note: Flamegapps Device Health Services app (including Google Playstore app update for it), seems to break accu battery statistics in Settings.
Potentially SELinux or other permissions related.
So for the moment don't install Flamegapps Device Health Services (use config script).
Google app showing a lot of battery drain now, didn't use it much, just some Voice commands for Weather and Alarm clock with Assistant. Reasons could be Google Voice recognition machine learning (?). (i didn't activate the constant Google Assistant Voice listening by Hey Google). Or maybbe because i reinstalled english language(?)
A bit too much anyway.
Edit: Google Go app instead of Google app seems to work fine regarding battery usage.
W
psi78 said:
Note: Flamegapps Device Health Services app (including Google Playstore app update for it), seems to break accu battery statistics in Settings.
Potentially SELinux or other permissions related.
So for the moment don't install Flamegapps Device Health Services (use config script).
Google app showing a lot of battery drain now, didn't use it much, just some Voice commands for Weather and Alarm clock with Assistant. Reasons could be Google Voice recognition machine learning (?). (i didn't activate the constant Google Assistant Voice listening by Hey Google). Or maybbe because i reinstalled english language(?)
A bit too much anyway.
Click to expand...
Click to collapse
For comparison: the Google app doesn't show up anywhere near top on my Google Pixel 2 XL, despite i use Google Assistant Voice commands for Weather and Alarm clock there too.
Ok, Flamegapps Device Health Services app and Google app seem to be not working correctly.
Probably better follow the LineageOS advice regarding gapps (make sure to flash gapps directly after flashing the ROM):
Google apps | LineageOS Wiki
wiki.lineageos.org
Google App potentially causing high accu battery drain with Mindthegapps too though (experienced it on crDroid with Mindthegapps).
Little update to debloating script sumirecleanapp.sh (see first post), changing permissions of backup files for Security reasons.
The following qcom and other tweaks can be added to /system/build.prop (tested it on crDroid ROM version for sumire), phone is snappier and a bit cooler then (unless it's all placebo):
debug.gralloc.enable_fb_ubwc=1
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
#debug.qc.hardware=true
#com.qc.hardware=true
com.qc.hw=1
debug.qc.hw=1
ro.config.nocheckin=1
windowsmgr.max_events_per_sec=500
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
persist.mm.enable.prefetch=true
persist.data.mode=concurrent
# buffers shared between Camera and Video
vendor.vidc.enc.dcvs.extra-buff-count=2
vendor.vidc.enc.disable.pq=1
# Bluetooth
debug.bt.lowspeed=true
net.bt.name=Android
See also https://androidforums.com/threads/qualcomm-speific-build-prop-edits.548317/
New build 2022-11-23 is up (download link in first post).
LOS 18.1 as of 2022-11-21
More tuning and possible battery optimizations:
- Kernel tuned for cortex-a57.cortex-a53 big.little setup (crashes on crdroid were crdroid related, not kernel related)
- VM optimizations for cortex-a57
- Using Open GL ES 3.2 now in build.prop (instead of 3.1 as wrongly stated there before, drivers were already 3.2)
- boot process limited to CPUs 0-3
- some more optimizations in /system/build.prop
Clean flash or semi clean flash at least recommended (wipe Dalvik, Cache, System partitions, or if possible also Data partition)
PS: I'm staying on LOS now because of crashes on crDroid still occuring under high load (even with standard kernel)
Edit: modified files regarding ROM version 2022-11-23 here:
LOS18.1_source_modifications - Google Drive
drive.google.com
My gf broke her phone and is using my Xperia Z5 now (my main phone is a Google Pixel 2 XL nowaday).
Regarding telephoning, i noted there are more crackling sounds with VoLTE in mobile settings on, and less crackling when VoLTE is switched off (german Telekom carrier). This may be also because of SmartPack throttling down the CPUs in my setup, but not sure of that.
psi78 said:
My gf broke her phone and is using my Xperia Z5 now (my main phone is a Google Pixel 2 XL nowaday).
Regarding telephoning, i noted there are more crackling sounds with VoLTE in mobile settings on, and less crackling when VoLTE is switched off (german Telekom carrier). This may be also because of SmartPack throttling down the CPUs in my setup, but not sure of that.
Click to expand...
Click to collapse
well as it happens, gf uses the phone in another way than me, and for some reason the keyboard reacted sometimes not or very slow.
in the end i deinstalled Smartpack to just deactivate all the CPU throttling and also installed Gboard.
(Extreme) Battery Saver mode and Naptime still do a lot for cooldown though - CPU cores 0-3 still throttling down to lower frequencies with Battery saver, and naptime putting unused apps quicker to deep sleep.
Ah, crackling noise, for some reason it occurs frequently with system sounds (ringtone, button presses, etc.)
I have bought my mom a new phone, so I can test things on Z5 now.
works well,thank you.
Hello, during videocalls via viber the person I am calling with is hearing himself as an echo. Has enyone such problem? I dont know if it is spec of this phone or is something wrong, I didnt use this phone with stock rom before lineageos. Thanks.
in regards to audio crackling i have been suspecting that it's rendering the audio via Software Rendering (CPU gets overloaded hence Audio Crackling) instead of utilizing the built-in Qualcomm DAC for Hardware rendering if this is not the case then you might want to look on the playback bitrate and frequency. As far as i remember tarkzim set the audio bitrate and frequency to 32-Bit/48KHz while on the previous build from sony it was only at 24-Bit/192KHz
Ramon111 said:
Hello, during videocalls via viber the person I am calling with is hearing himself as an echo. Has enyone such problem? I dont know if it is spec of this phone or is something wrong, I didnt use this phone with stock rom before lineageos. Thanks.
Click to expand...
Click to collapse
Don't have any experience with Viber, sry. In case you want to test it on stock Sony ROM, you can use Sony's Flash Tool "EMMA" to go back to stock ROM:
https://developer.sony.com/develop/open-devices/get-started/flash-tool/
_harley said:
in regards to audio crackling i have been suspecting that it's rendering the audio via Software Rendering (CPU gets overloaded hence Audio Crackling) instead of utilizing the built-in Qualcomm DAC for Hardware rendering if this is not the case then you might want to look on the playback bitrate and frequency. As far as i remember tarkzim set the audio bitrate and frequency to 32-Bit/48KHz while on the previous build from sony it was only at 24-Bit/192KHz
Click to expand...
Click to collapse
Sounds plausible
Edit: Audio crackling may be a different issue than audio echos though?
There are some threads about voice echos here on xda, some attributing it to phone cases/covers, some to hardware problems, some to noise reduction, but i don't have a clue atm if it's possible to change that.
When i do video calls in home office (on PC with webcam) i sometimes experience the problem of hearing echos.of my voice when the other person isn't using headphones, and the voice coming out of the other person's speaker is loud and recorded by their microphone again. The other person using headphones is a workaround for that, but not sure if that's a similar issue there @Ramon111 . Does it work for you with other devices than the Z5?

Categories

Resources