yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] juned.khatri31:
Go to /system/usr/keylayout/ft5435_ts.kl

And add # before key 158, 139 and 172
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nicks.1106:
Thnx bro...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Soubhik_sk83:
New build uploaded - https://www.androidfilehost.com/?fid=745425885120743737

Changelog:

~Update to sepolicies

~Snapdragon camera update

~Vendor blobs updated from miui 7.5.25

ROM specific changes: https://omni.cmxlog.com/7.1/
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] MotoE2014:
Become Official for Mido?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] suvam69:
Nope
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Soubhik_sk83:
Here it wouldn't matter, everything will remain same!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] suvam69:
[MENTION=6121527]Soubhik_sk83[/MENTION] You making it official? You are also the PA maintainer right? ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Soubhik_sk83:
I cant say about official right away. Yes, I am compiling PA too for mido.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] RizwanH20:
That means PA is going official ??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sachin:
He said

but... that doesn't mean its going to be official. :p
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hohassan444:
can be installed on redmi note 4X?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sachin:
Yep. If your device is Snapdragon variant one.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hohassan444:
thanks...are there any mic/sound recording/low incall volume bugs like official miui ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] darthass:
I did try but I dont like this ROM. Link2sd not working, apps like messaging and file manager missing. Automatic display brightness is sluggish to response. I was on viper is which was working fine. I am not against this ROM or developer. I am sorry for my arrogance or negative comment. Don't mean any harm or insult.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nicks.1106:
Dude.. Simply this rom is not for u.. Switch to any other rom...

But I just love this Rom...Omni ->name is enough ( one of the oldest custom ROM brand):o:cyclops::cool:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Evolutionzz:
Dude,that's not how you complaining about someone's work,at least if you have a problem/bug,give him a log,so it can be fixed.. :rolleyes:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] governmentissuejoe:
Great work and thank you for the updates. Tried all the rn4 sd roms and this is my favorite.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] anbuchelva:
does video camera work in this build?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] governmentissuejoe:
Just tested video on latest build and it turns on and then off after a few seconds.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] governmentissuejoe:
long press back to kill is not working in latest build even after clean flashing.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] vishal1404:
Works fine for me
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] governmentissuejoe:
If its working for you then it may be because i'm using a custom kernel (Velvet).
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] vishal1404:
First rule of bug reporting is to be on default settings.

You cannot report bugs if you flashed a custom kernel
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ihfandicahyo:
Is there any hope of getting Official-build?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] governmentissuejoe:
I am unable to locate FM Radio in this ROM. Is this missing? Anyone know where I can sideload an FM Radio apk that will work?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] gauravbhakuni90:
LOL Radio is not only about apk ...:p:D
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ihfandicahyo:
Using Joox-App :p
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] gauravbhakuni90:
Ok so i installed the latest version that is available in AFH folder and my two cents.

In camera when i select video option in default cam , i see this blue and green line ruuning all over the screen.

Restore Nandroid Backup.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Soubhik_sk83:
ROM don't support FM yet, I will try to include in the next build..

Yes, I have noted that camera bug.. Will fix it in the next build..
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] :
Great ROM keep up the work
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] devilhunter47:
Please add options to change clock position to center or left
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] andreymixmax:
Is this thread dead?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sachin:
No :eek:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] gauravbhakuni90:
The dev has personal life. Respect it.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Soubhik_sk83:
New build uploaded with oss camera Hal, gps, hotspot, sdcardfs and few other updates...

https://www.androidfilehost.com/?fid=817550096634790569
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] andreymixmax:
Thanks for update omni bro.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Eduardo379:
Any chance of this being official ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sunil1304:
Volte! FM radio?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] syl0n:
Bluetooth does not work properly. Connects but media doesn't play through it, still plays through the phone speakers.

Also has headphone detection bug.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Evolutionzz:
Finally this ROM got Updated :D

One of my favorite ROM xD
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Soubhik_sk83:
New build...

https://www.androidfilehost.com/?fid=889764386195926914

Changelog:

Increase Speaker volume

Fix hardware key functionalities

enable pickup doze settings

update in omnigears

Include xiaomi doze settings
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Lakku:
Bro, when will you get this official for us?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Soubhik_sk83:
Change log updated
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] MotoE2014:
A day become official?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Soubhik_sk83:
https://xdaforums.com/showpost.php?p=72469986&postcount=3
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Soubhik_sk83:
pls refer 3rd post;)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sunil1304:
One of the least problematic roms
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] magnum_2007:
On first boot, I got stuck at storage decryption pattern since I had set a 4x4 pattern but the only option was 3x3. So, had to flash another ROM even without starting this.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sunny1234590:
Update coming with latest security patches?

Also that new Omni ROM builds are rolling out. [MENTION=6121527]Soubhik_sk83[/MENTION]
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Soubhik_sk83:
Sorry guys.. been very with office and personal work :(
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] AbhishiktH:
That's cool bro...

It's very humble of you to apologise for this, even though it is known that nobody is working full time for making ROMs and you developers have your own personal lives to live up to.

Great work anyway, keep it up bro!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Vitalvaas:
Can anyone review this rom for me plz how was the performance!!!
[MX Player] P€πtex4869:
Can you please add support to play lossless high resolution audio [FLAC audio files]?
[MX Player] Thirumalai.K:
Hi,

MX Player can already play flac. Just enable audio player from Settings » Audio
[Android Software/Hacking General [Developers Only]] :
Deleted
[Android Software/Hacking General [Developers Only]] :
So I've been browsing for the past 2 hours on wifi and these are my stats.

Battery: 2200 mAh

SoC: Extremely Power Hungry MT6591

Brightness: Adequate
[Android Software/Hacking General [Developers Only]] :
Now at 35%, the phone was being used pretty much constantly (chrome, a movie in mx player, imgur, 2 hours on whatsapp, light CoC)

Here are the results.
[Android Software/Hacking General [Developers Only]] :
19%. And this is the max I could manage. Going to plugin now.
[Android Software/Hacking General [Developers Only]] jeraspie28:
Testing out now...Thanks!!

---------- Post added at 12:10 PM ---------- Previous post was at 12:02 PM ----------

Any alternatives to AppOpsXposed, Amplify and Powernap that don't require Xposed?? Already use Greenify and Servicely.
[Android Software/Hacking General [Developers Only]] :
You can use AppOps from play store which doesn't need xposed. Alternatives to Powernap? Naptime works. Amplify doesn't have an alternative to my knowledge sorry :(
[Android Software/Hacking General [Developers Only]] prabhjot-singh:
Hey, thanks for sharing this! Much needed​ for my phone htc desire 816 (a5dwg) running lineage 7.1.1 and at any rom, it is hungry. I mean literally I've purchased a new original 2600mAh battery for this reason. Still the problem persists. Today only, I've charged the phone to full and kept it on airplane and silent (took the phone to school ;) ), and found that after 3 hours, battery is 20-25% reduced. I'm a little noob that's why I'm asking you that "what are the steps that should be followed / apps to be installed to maintain the battery like yours :D

Thanks in advance ?
[Android Software/Hacking General [Developers Only]] :
Glad I can help. Something is keeping your phone awake all that time that its's not going to deep sleep. That's mostly Google to blame but let's start with the basics ;)

Before that don't call yourself a noob. ;) You got a custom ROM running, most people I know can't even do that.

To fix Idle Drain

First find if you have Idle drain.

Install Better Battery Stats and open it, grant root etc. Now plug the phone to the charger and hit refresh. Now unplug the charger, turn the screen off for a minute or so.

Now turn it on, you should see the device state. If it says Deep Sleep 0%, then the below things can help you.

Disable background Wi-Fi scanning.

Your phone scans for WiFi even when you turn it off. The steps below are based on my Lollipop 5.1, but I believe it's the same on 7.1 too.

Goto Settings -> Wifi -> The three buttons on the top right -> Advanced

There disable 'Network Notifications', 'Scanning Always Available' and 'Keep Wifi awake during sleep'.

Greenify

You must already be using this.

As a rule of thumb, greenify any app which requires an internet connection, those keep waking the system over and over again. Just make sure you don't add any core system apps.

If you have Facebook's app installed, remove it. It's the biggest battery hogging app ever happened (i don't agree that's made) in human history. Use it in chrome. Or any wrapper apps from Play store: Metal, Friendly are a few options.

If you have xposed installed,

Powernap

Set it to endurance mode and that's all. Whitelist amplify, greenify and lspeed. You can whitelist more apps later if you feel the need.

Amplify

This is a must in reducing wakelocks. Unfortunately I can't write the whole procedure here because it's been done before. Check this.

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

Still, every phone is unique. After following that thread, IF your device still isn't sleeping (after trying the below too), try blocking more wakelocks. Do a search if you are not sure of a particular wakelock. It will take some time, but it will be worth it. ;)

AppOpsXposed

You can disable some of Google's data collection and analytics whatever stuff using this. Follow this nice thread. It helps massively.

https://xdaforums.com/crossdevice-dev/sony/existenz-hacks-tweaks-battery-life-t3516705

If you have managed to get that deep sleep in BetterBatteryStats almost 90% of the time the screen was off, then congratulations you have fixed your Idle drain.

Reply back with your experiences. :fingers-crossed:
[Android Software/Hacking General [Developers Only]] prabhjot-singh:
Thankyou so much, will try this surely ?
[Android Software/Hacking General [Developers Only]] prabhjot-singh:
I've installed "L Speed" and greenify from play store

& I've shred my stats. Pls look and suggest improvements
[Android Software/Hacking General [Developers Only]] :
Can you also post a screenshot of your battery stats
[Android Software/Hacking General [Developers Only]] prabhjot-singh:
Sorry, I've switched to stock to check battery capabilities but still problem persists

Battery droppes from 100 to 83 in 30-35 minutes
[Android Software/Hacking General [Developers Only]] TjNiko:
in govtuner change the gov to ondemand, i guess u use perfomance.
[Android Software/Hacking General [Developers Only]] Sir_gpm:
What can I do, I got a notification that L speed us eating my battery...but if optimized will not work as it should right?

Today update my Rom and got error. Not working because if use 3th party kernel ini.t emulator...but I'm not using one.
[Android Software/Hacking General [Developers Only]] :
What ROM are you using?
[Android Software/Hacking General [Developers Only]] Sir_gpm:
FreedomOS for oneplus 3t.
[Android Software/Hacking General [Developers Only]] :
[MENTION=8081245]Adithya FRK[/MENTION]

Choosing battery profile from govtuner is the same as choosing it from Lspeed CPU menu, right? Or is there some significant change between the two?
[Android Software/Hacking General [Developers Only]] :
Both are the same. See post #2 of GovTuner's official thread here - https://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828

But don't enable both of them at the same time.
[Android Software/Hacking General [Developers Only]] :
After 1 whole month of tweaking with various functions of L Speed, finally found a combination to improve the battery even more.

BlueBlood v2.1 (Download link in Post #1)

Tested on L Speed Beta from Play Store.
[Android Software/Hacking General [Developers Only]] rex900:
Sir, can u share your KA settings, such as your govenor, i/o
[Android Software/Hacking General [Developers Only]] :
My governor is hotplug (you may have interactive or ondemand, depends on the kernel)

IO Scheduler is set to CFQ. You can set it to noop for better battery life, but will have a slight decrease in performance.
[Android Software/Hacking General [Developers Only]] Xian S2:
you got so much sot *_* i will test it later cause after 1-2 hours sot my phone is empty :D thx for your work ♥
[Android Software/Hacking General [Developers Only]] :
You're welcome. :)

This was the best I could achieve, now my SOT hovers around 2-3 hrs (maybe 4) because I play too much Clash of Clans now. It wholly depends on your usage.
[Android Software/Hacking General [Developers Only]] Xian S2:
thx :) ok i tryed it and i can´t believe that now my phone is 35 min online i use wa and browser have 30 min sot and i only loose 10% Battery this is ****ing awesome i luv it ♥

edit now phone 2 hours on 1 hour sot and i still have 80% Battery :D
[Android Software/Hacking General [Developers Only]] :
v2.2 uploaded!!! :fingers-crossed:
[Android Software/Hacking General [Developers Only]] :
I'm so sorry guys, :( the profiles got switched.

I re-uploaded the profile in the OP as v2.2-FIXED. Please try that instead.
[Android Software/Hacking General [Developers Only]] :
Hey, just a question, if I use the GovTuner and your tweak for L Speed and flash another custom kernel in the future. I'd have to do everything again?
[Android Software/Hacking General [Developers Only]] :
No you don't need to. :)
[Android Software/Hacking General [Developers Only]] :
And just another newbie question, if I use govtuner for perfomance and l speed for battery, it'd be like, balanced? Both work together?
[Android Software/Hacking General [Developers Only]] :
That will just be a performance profile with some minor battery tweaks.
[Android Software/Hacking General [Developers Only]] Arkonite:
Thanks for this. It's so effective.?
[Android Software/Hacking General [Developers Only]] DarkJoker360:
Trying it now and I don' t see differences on nougat...
[Android Software/Hacking General [Developers Only]] hhhfdq:
i'm on miui, so can i just use L speed, or need to use both of us

sory for my bad english
[Android Software/Hacking General [Developers Only]] DarkJoker360:
You need to use both
[Android Software/Hacking General [Developers Only]] Atrix2dBeast:
Hi there,

I am on using galaxy s4 i9500 running 5.0.1 TW & nevermorex kernel, will this work for me?

Edit: [MENTION=8081245]Adithya FRK[/MENTION] My phone is currently on Morphose Nougat rom and king.z kernel v 1.5,

I have used ur mod but somehow its not showing any battery saving or there is no increase in SOT...both Lspeed and govtuner is working properly alongwith greenify,powerbap, amplify and I have a brand new battery which is barely a week old still am not getting more than 3-3.5 hours of sot..can u suggest something?
[Android Software/Hacking General [Developers Only]] Trey n:
yes it should

if u want amplify and greenify ur gonna have to install xposed.....
[Android Software/Hacking General [Developers Only]] chrisleLP:
Gonna test this one.
[Android Software/Hacking General [Developers Only]] Fdraco10:
I use, Gov Tuner 4.1.1, profile BlueBlood V2.2 on L-speed + AppOpsXposed, Greenify and Amplify, I have with all this, an amazing battery life! :D
[Android Software/Hacking General [Developers Only]] anon1135:
I followed all the steps but the terminal still says govtuner:INACTIVE at the end even though settings were shown applied. is that normal?
[Android Software/Hacking General [Developers Only]] m_prathm:
Is it working or not? :confused: Govtuner saying inactive
[Android Software/Hacking General [Developers Only]] dilaboni:
install kernel adiutor and active init
[Android Software/Hacking General [Developers Only]] m_prathm:
Tried it but Govtuner still saying inactive and Init.d saying not working:rolleyes:
[Android Software/Hacking General [Developers Only]] dilaboni:
install this version

https://xdaforums.com/devdb/project/dl/?id=24230
[Android Software/Hacking General [Developers Only]] anon1135:
do we just flash it over the previous version that's already installed?
[Android Software/Hacking General [Developers Only]] anon1135:
it says active after I enabled it in KA but now wondering why it says write error at the top

edit - nevermind older version works fine ignore the screen shot
[Android Software/Hacking General [Developers Only]] Atrix2dBeast:
Hi [MENTION=8081245]Adithya FRK[/MENTION] anything?
[Android Software/Hacking General [Developers Only]] :
Sorry, this thread was a bit too much for a simple l speed profile anyway. The tweaks mentioned in this thread would only have a mininal effect if you ignore some of the obvious battery drainers. Like screen brightness, it's a huge factor.

3.5 hr SOT is still good considering how you use your phone.
[Android Software/Hacking General [Developers Only]] Ameerof:
Hey guys, I need help :(

I've s3 phone. at first the battery last for 5 days. Now I don't use the phone and it last for 7 hours.:eek: When screen off battery drains 20 % per hour.:mad: I've installed betterbattery stats waited half and 2 min and 2.3% drained here is the result in photos

Any help?!
[Android Software/Hacking General [Developers Only]] :
Your phone was awake instead of going to idle. Check the wakelocks section in BetterBatteryStats
[Android Software/Hacking General [Developers Only]] Ameerof:
How Can we put the phone into deep sleep ?
[Android Software/Hacking General [Developers Only]] Bi0haZarD:
Delete
[Android Software/Hacking General [Developers Only]] anon1135:
confirmed working for me will be posting screenshots soon! possible to get 4-5hr sot with my 3220mah battery which is almost a year old. sprint note 4 on 7.1.1 RR rom with the new official xposed N, auto brightness, texting, browsing, videos, light gaming while the phone is still snappy and responsive. maybe up to 6hr without any games at all. I've heard of others getting no idle drain at all overnight but mine showed .5%/hr. the guides I followed are extreme battery life thread and this that was linked from there thanks to a nice person. I also left governor as the default interactive. io scheduler is currently row but I don't know much about it and was planning to test more of them. not sure if it made a difference from cfq I'll also check with noop but it could decrease performance a bit. most battery life I've ever gotten so far it can be fun to learn new things(without trying to mess up the phone of course)
[Android Software/Hacking General [Developers Only]] NeEkOg:
I'm using trickstermod (conservative) as of this moment but I want to test this combination out. Do I have to freeze/uninstall trickstermod before using this combination? Thanks!
[Android Software/Hacking General [Developers Only]] anon1135:
sorry I don't know about trickstermod but I did try conservative governor once myself when an early build of the rom I'm on now had a bit of laggy ui. it helped make everything smooth at the cost of slightly less battery life. weird because it was suggested to me by others who used the same rom but when I read about the governor it didn't sound like that's what it was meant to do so I was thinking maybe some of the governors could be rom specific. now the dev has done great work again and I'm staying on the default interactive because it's smooth without sacrificing any battery. speaking of roms, there's just been a new release build for mine today and I'm excited to try it. good luck if u decide to try different battery settings! I used to not notice any changes no matter what I did but definitely did the other day. hopefully others can as well
[Android Software/Hacking General [Developers Only]] Frances91:
tl;dr: does this mod help bettering performance thru streamlining services, wakelocks, alarms et al?

[Sorry if this would construe as being off topic, I'd gladly remove the post if so]

Details:

I'm on RR 7.1.2 with GlassFish 1.2 on ElementalX kernel and rovo89's Xposed 88.1.

Understandably this is one of the recommended battery saving mods, coupled with the Wakelock /alarm and services blocking 'Extreme battery saving' thread.

With Adblocker Plus (chrome is a lot snappier), Amplify 4.0.1 and Greenify 3.7.1 mods I can surely see battery drain down to unprecedented low. Which ofc accomplishes the purpose of saving battery, which I can't be happier about.

However, what I'm wondering is whether apart from that does severely restricting background services and wakelocks also help get better performance (in terms of a more responsive, less heating device)?

Would be thankful if one of the helpful people on the thread could guide me on THIS. :)

TIA
[Android Software/Hacking General [Developers Only]] Trey n:
Have u tried zzmove governer? And govtuner version 4.0.2
[Android Software/Hacking General [Developers Only]] haris1976:
there is no zzmove gov in 4.0.2 version
[Android Software/Hacking General [Developers Only]] Atrix2dBeast:
Its kernel related...not govtuner.
[Android Software/Hacking General [Developers Only]] blane3298:
would this work on a rooted at&t s8 plus?
[Android Software/Hacking General [Developers Only]] Generic Asian Guy:
I tried to select the Blue Blood profile in L speed but every time I select it the app force closes. Any help?
[Android Software/Hacking General [Developers Only]] Atrix2dBeast:
It should...try it and report.
[Android Software/Hacking General [Developers Only]] bass@89:
[MENTION=8081245]Adithya FRK[/MENTION]

I flashed this mod.

Thanks.

Whether I need to apply this blue blood settings after every reboot of phone?
[Android Software/Hacking General [Developers Only]] Trey n:
Look in kernel Adiutor app under cpu governors
[Android Software/Hacking General [Developers Only]] Atrix2dBeast:
No need.
[Android Software/Hacking General [Developers Only]] Generic Asian Guy:
Could someone possibly provide some screenshots of the L Speed settings? I haven't been able to get the profile to work but I could just set it manually