yashsingh1/xdaforums huggingface dataset:
[One (M9) Original Android Development] Selorm611:
Nope. Bluetooth is always disabled. When I investigated this drain further, I realized that all my LITTLE cores are running at their maximum allowed frequencies, all the time. GSam also showed 100% utilization. I checked the frequencies with the overlay option available in AICP extras, SystemPanel2, and Kernel Adiutor. There too, any CPU governor other than interactive caused the phone to lag quite noticeably for a few seconds. I'm running the 12/07 build
[One (M9) Original Android Development] zalazdev:
Did you try to manually adjust the speed of the cores?

Look, you can quickly and easily configure the cores with this app:

EX Kernel Maganer

If that works for you, and the problem of the maximum power use of the cores is over, let us know.

Personally, I am madly waiting for the further development of this rom.

I am very hopeful with all the effort that the developers have put in. So much so that I've thought about training myself to help them, so much so that I'm learning something new while I'm at it.

As soon as you give me an answer from the cores, if I'm positive, I'll join the rom again. I use Bluetooth a lot because I use Smartwatch, so power consumption is an important factor when I choose a rom, as is sound.
[One (M9) Original Android Development] Selorm611:
I tried adjusting the frequencies, eg setting the maximum CPU frequency for all LITTLE cores to 1248MHz. They all instantly dropped to that and stayed there, never using any other frequency. When the governor is set to powersave or conservative, they use the lower frequencies based on the load but the phone gets really sluggish when scrolling. I'm going to play around with that more today and see the best I can come up with.

Another issue with the ROM I noticed: airplane mode doesn't actually turn the mobile radio off. It just sets my preferred network type to unknown, draining my battery even faster. I still see the name of my carrier on the lockscreen though. Also, when I toggle the mobile radio power off in the phone testing menu (*#*#4636#*#*), it turns itself back on:(

I think the battery meter could also use some tweaking. My phone turned off at 14% last night, then came back on with the battery percentage as 1%. I'd never had that happen before
[One (M9) Original Android Development] phpbb3:
This is a problem I had on very early builds. The solution for me was to manually adjust the *minimum* frequency to 384mhz (default for us) on the a53 cores, leaving the 1555mhz max freq as is.

Meanwhile, this isn't an issue I have experienced on later builds.

Regarding throttling, I am working on a fix, and it is currently being tested by [MENTION=8276284]Claymore1297[/MENTION] and I.

The battery drain is caused by the device not entering deepsleep. [MENTION=8276284]Claymore1297[/MENTION] believes it is caused by Bluetooth and is investigating. His fix seems to be working, I am testing it with him now. Remember that Bluetooth scanning is enabled even when Bluetooth is off on recent versions of Android, so just because your Bluetooth is off does not mean you will not be affected.

If you are playing with governors, don't ;) Interactive is like OnDemand, but for phones: it is easily the best included gov.

---------- Post added at 01:40 PM ---------- Previous post was at 01:30 PM ----------

Using that toggle in the Testing menu did the strangest things to my device. The first time I tapped it, it turned itself back on and my network reported a different carrier than the SIM card in the device. The second time I tapped it, the toggled stayed off, and my network continued to insist it was connected to a carrier I've never used. The third time I tapped it, the switch moved back over to the "on" position and the carrier name changed back to the correct carrier. For now I suggest not using this switch lol. As for Airplane mode, I don't even know what it is for to be totally honest, so I'll leave that to someone else.
[One (M9) Original Android Development] Selorm611:
Lol

I left the governors alone and set the maximum frequency to 1344MHz for the big and little cores. I noticed an improvement in my battery drain with data off. It was now draining 1% every 5-6mins. To be fair, I was reading pages I'd saved in my browser. Again, with the testing menu, I set my network mode to GSM only, and put my phone on airplane mode in the quick settings menu. It worked this time for some reason. I've been using that menu on all android phones I've used to manually set the network mode when it's really important (eg when I need to download something and the network keeps switching between 2G and 3G).

About the Bluetooth scanning to improve location, its one of the things I always turn off when I'm setting my phone up after a ROM flash or a factory reset, but I agree on the sleep thing. My phone sometimes remains in active mode overnight, other times it only goes into light doze. Thanks for all your work:good::good:
[One (M9) Original Android Development] xcvz1215:
Hello guys. I have 1 question. Dot case? It work on this rom ?

I wanna this case but i can't install htc dot view (error 505).

I searched diffrent aplications but i did't find ( all not working)
[One (M9) Original Android Development] Claymore1297:
Like on LOS it should work.
[One (M9) Original Android Development] xcvz1215:
I should install any aplication ?

In aplications meneger i don't see any "dot viewer" aplications and setting about it.

I finded "flipflap" aplication but i don't know about his

When i wear dot case , it should working ?
[One (M9) Original Android Development] Baalzaman:
Major improvement in the battery life of this rom with the latest weekly.
[One (M9) Original Android Development] tombbb:
realy? after OTA from 0705 to 0726, my google camera won't work. battery life is good for me with 0705 build.
[One (M9) Original Android Development] massatt212:
its really Stable in some cases very use-able but the sound sometimes swaps between phone voice ear speaker like for phone calls, when listen to music instead of playing through the loud speaker
[One (M9) Original Android Development] Selorm611:
Unfortunately, airplane mode has totally stopped working for me. Toggling it in quick settings shows the airplane icon as active, but i still see my carrier info and GSam says i still have a network connection. It randomly lost my IMEI in the phone settings, but rebooting multiple times brought it back.

Good job on the carbon gestures though:laugh:
[One (M9) Original Android Development] shaqman89:
Airplane mode works fine here on 20180726 weekly.

Maybe you should check your firmware version, and update to the latest if you haven't.

Also, including logs would help better in diagnosing the issue
[One (M9) Original Android Development] Selorm611:
I'm on the latest firmware. Sorry if it's a dumb question, but which logs should I add?
[One (M9) Original Android Development] shaqman89:
A logcat when you turn on the airplane mode should be enough.
[One (M9) Original Android Development] neniick:
[MENTION=8276284]Claymore1297[/MENTION] [MENTION=6366997]UltraM8[/MENTION]

Since a couple of days I own a Dragonfly Red USB Amp, and I've been trying to use it with my M9.

So far it works, but it will default to 96kHz sample rate, which causes a lot of stuttering and audio glitches.

I have googled a bit and the only solution i could find was using an app (USB Audio Player Pro), but that doesnt support spotify, which is my main music source on the go.

I also came across some reddit threads where ppl suggested editing the sample rates in some audio config/xml files (audio.policy.configuration.xml / usb_audio_policy_configuration.xml / a2dp_audio_policy_configurations.xml), but this didnt work for me.

So I would like to ask you guys, or anyone else, if there might be a way to force 44.1 / 48 kHz over USB.

:fingers-crossed:
[One (M9) Original Android Development] UltraM8:
I don't think it's possible without something like player you mentioned. So is this amp locked to 96khz?
[One (M9) Original Android Development] neniick:
It can do 44.1 / 48 / 88.2 / 96 kHz, and that works fine on Windows. There is a colored led on it to show what rate its working at.

But Android automatically locks it to the highest rate the DAC is capable of, at least that is what i understood from reading reddit threads.
[One (M9) Original Android Development] Selorm611:
That's my logcat

[MENTION=5701712]shaqman89[/MENTION]
[One (M9) Original Android Development] molisch:
Hi, does anyone can help me to check my logcat.

On the last version 0726, all camera applications do not work, and media player cant play any music file.

It seems media related services are unavailable.

https://mega.nz/#!GIonXL4a!-wBVduGU07e3p5TRHC1F-2nfwvcVoVS8B08EaOVWIps
[One (M9) Original Android Development] Claymore1297:
Yeah, it's seems that here is something very wrong. Have you tried to do a dirty flash?

Or can you explain, what you exactly did?
[One (M9) Original Android Development] molisch:
Thanks for checking my log.

After dirty flash from version 0719, the camera does not work anymore.

I've tried to clean install version 0726, and the camera work properly.

However, after I restore non-system apps and configure settings manually, the camera does not work again.

I tried to find out which step causes the problem.

I remember that the camera is ok after restoring non-system apps, so I tried to restore configuration on settings one by one.

Then, after I disable the developer options, camera can work.

I've enabled ADB debugging, USB secure connect, and external storage written settings and lowered animation scales.

However, after I tried restore aforesaid configuration in the developer options one by one, the camera does not work again.

Even thought I disable the developer options again, but the camera does not work anymore.

It seems the animation scales may affect the camera.

After I modify the animation scales, weird lines are displayed on live view of camera app.
[One (M9) Original Android Development] Claymore1297:
interesting ... one thing I saw in you log is:

08-01 08:07:42.317 805 2584 E LiveDisplay: Color temperature out of range: 0
[One (M9) Original Android Development] UltraM8:
Well, that's wonky. See, android is a weird thing when it comes to resampling - many people struggling to get higher discretisation from 48khz and we can't help em, the only thing we can do is to force codec. And you have a way different task, I haven't studied usb much. What did you do to policy & config files?
[One (M9) Original Android Development] neniick:
I came across 2 reddit threads discussing USB audio that where kinda doing what i was trying to, so tried to follow their steps/findings.

https://www.reddit.com/r/Android/comments/73v3o6/this_is_how_you_change_the_sample_rate_to_441_khz/

https://www.reddit.com/r/headphones/comments/5z7h7m/couple_things_to_improve_usb_dac_audio_quality/

The files are located in /system/vendor/etc

First i tried changing the rates to 441000 and 16 bit in "usb_audio_policy_configuration.xml", but that didnt work.

Then i tried "a2dp_audio_policy_configuration.xml" and "audio_policy_configuration.xml" and removed all the rates above 48000, but no luck.

As a last try I went into all the xml files in there and also removed all the rates over 48000, but again, didnt work.
[One (M9) Original Android Development] UltraM8:
Yeah i see. Well, idk if there is any option to do that by system patching. Does the usb player pro app work well?
[One (M9) Original Android Development] neniick:
Yeah, as soon as I open the app, it switches to 44.1kHz (led goes green).

I tried some files with different sample rates (44.1 up to 192 kHz), and the DAC switches like it should. Sound is free of stutter and distortion.

Even when playing 176.4 and 192 playback is good, with the DAC being in 96 mode.
[One (M9) Original Android Development] daniel1823:
Hi I'm having network issues. I have a tmobile phone. But I'm currently on straight talk which uses tmobile. My issue is I can be sitting in a spot with half or more bars and drop to none. Still show lte and a minute later back up to the same bars. I was running ice rom on 7.0 before this with no issue. But 8.1 doesn't like me. When it drops I lose GPS too. Which doesn't help as a uber driver.
[One (M9) Original Android Development] BratoMo225:
Why i hear crackling sound from speakera when i rotate my phone while watching youtube?
[One (M9) Original Android Development] mehdifirefox:
I'm now viper 7

Is it worth the Ice Cold flash 8 ?

Is there a difference between 7 and 8?
[One (M9) Original Android Development] phpbb3:
It's all about preference.

It is worth noting, however, that you would be an entire Android version ahead (Oreo as opposed to Nougat) by moving to AICP.

It's also worth noting that this is an aosp-based ROM, not a Sense-based ROM. So the experience is more like that of the Pixel or legacy Nexus line.

It's also worth noting that you would have current security patches, whereas if I'm not mistake Viper m9 development has ended.

It's also worth nothing that [MENTION=8276284]Claymore1297[/MENTION] is the ****, and you want him as your maintainer. And this ROM is awesome. And has lots of features. And this is the best M9 has ever been on AOSP.

Ok, ok, maybe I'm a little biased with that last bit. Bottom line is it is your decision, but IF it was mine, I don't see anything even in the same competition class.
[One (M9) Original Android Development] daniel1823:
Latest weekly 8/9 seems to fix the lag issue I've been having. ?
[One (M9) Original Android Development] tombbb:
Comfirmed that nfc not working (even though you can turn it on and off ).

ps: newest build.

My nfc-sim card was functional on viper rom.
[One (M9) Original Android Development] Claymore1297:
NFC is working here.
[One (M9) Original Android Development] swr3501:
I have installed the latest weekly for this, yet there is no audio and no microphone. Whatsapp won't make calls because the micorphone can't be found, and trying to use the dialer on the phone causes the phone to freeze and crash. Has anyone come across this problem? Any help would be greatly appreciated.
[One (M9) Original Android Development] Selorm611:
Bugs like that are usually encountered in dirty flashes. Did you do the wipes mentioned in the first page of this thread before flashing?
[One (M9) Original Android Development] swr3501:
Hey! Thanks for the reply! I did a clean wipe. Flashed the latest weekly and then open gapps nano.
[One (M9) Original Android Development] swr3500:
Can using the wrong version of TWRP do it?

i unlocked Boot Loader and installed TWRP AICP is the only Rom that will not loop to Boot Loader. The phone and Mic is the only thing not working.
[One (M9) Original Android Development] shaqman89:
What is your firmware of the phone? You could check this via download mode.

Old firmware could also be what causes these kind of issue.
[One (M9) Original Android Development] daniel1823:
What's the latest firmware for Oreo? Do you have a link?
[One (M9) Original Android Development] markg546:
Any known bugs?
[One (M9) Original Android Development] Selorm611:
I don't think there's Oreo M9 firmware. The latest most of us have is the nougat one. It would be helpful if you could let us know which one you have, by checking from download mode, as Shaqman said
[One (M9) Original Android Development] kunalxda:
What is the changelog of latest build and please provide latest build download link
[One (M9) Original Android Development] Claymore1297:
changelogs you can always see on AICP download-portal.

http://dwnld.aicp-rom.com/?device=himaul
[One (M9) Original Android Development] kunalxda:
Thanks dev , I want to just ask is dts eagle is added in this rom as in los 15.1 rom and if their is any deep sleep problem in this rom
[One (M9) Original Android Development] Claymore1297:
of course it is added ;)

also deepsleep issue is solved here since some weeks
[One (M9) Original Android Development] Wuandon:
Can FM radio work on this ROM... can it be enabled... is there a fix?
[One (M9) Original Android Development] kunalxda:
Hi dev can big cluster be online in this ROM as cpuz showing only 4 cores active instead of 8
[One (M9) Original Android Development] shaqman89:
It is active when the load and condition warrants it.
[One (M9) Original Android Development] kunalxda:
For me it is not active 4 cores has been disabled in the ROM as same in s.rom (@ sundream), sundream also disable big cluster but when we ask him how to enable it then he said remove file called s.team-soc.h and big cluster again starts working, their is no such that file in this rom , perfomance confirmed in benchmarks,CPU z,kernel auditor, games etc
[One (M9) Original Android Development] shaqman89:
Have you tried to check using the CPU info, the floating window on the top right of my screenshot? It would show that at certain times it does comes on. But I agree, that most of the times it keeps only the 4 little ones on.

In this rom, it is controlled by corectl inside the kernel.

https://github.com/Claymore1297/and...b/lineage-15.1/rootdir/etc/init.qcom.power.rc
[One (M9) Original Android Development] kunalxda:
It is not working for me at all as you can see in attached screenshot big cluster remains offline even in emulator games
[One (M9) Original Android Development] Claymore1297:
[MENTION=5701712]shaqman89[/MENTION] is right - it is enabled and it is working. We use here core_ctl - so the high performance cores are added dynamically. Did you modify something?
[One (M9) Original Android Development] kunalxda:
No nothing only clean install of rom and magisk 16.7 beta , tried many things like stress test, gaming but big cluster always offline
[One (M9) Original Android Development] Claymore1297:
it works here.
[One (M9) Original Android Development] kunalxda:
Which app is this. 3 cores are inactive in screenshot why
[One (M9) Original Android Development] Claymore1297:
Ex Kernel Manager by Flar and the AICP-buildin widget.

As I said, we use core_ctl, so the system only activates the cores, when needed.
[One (M9) Original Android Development] kunalxda:
[MENTION=8276284]Claymore1297[/MENTION] when I was using other custom ROMs and stock ROM then CPU z showing big cluster always online and when do some heavy tasking then big cluster runs at 1.96ghz instead of small cluster even in games, emulator games, file extraction and other high processing demand application i use lot of custom ROMs such that leedroid ROM,sundream HTC m9 rom and may more but their no such that problem hope you can help :)
[One (M9) Original Android Development] Claymore1297:
if the big cores are always online, that doesn't mean you have better performance. I could do a comapre to LOS official angler - which has always all cores online and is also SD810.

And I got about 30% better performance in Antutu-Test, so I don't think there is something to solve.
[One (M9) Original Android Development] kunalxda:
OK thanks for replying and guiding me about this topic. One thing I notice that music at high volume gives some distortion or cracking sound but the bass is good hope you can fix it
[One (M9) Original Android Development] SunEater:
Sir why pubg and other heavy games hangs in this rom but they don't hangs on sense base rom.???
[One (M9) Original Android Development] Claymore1297:
in this weekly-build, the GPS performance-issue should be solved
[One (M9) Original Android Development] atmq:
Mine is ice cold.. ?
[One (M9) Original Android Development] luizedu:
Does Ambient Display work? The feature list only mentions "QS tile for Ambient Display", not the feature itself. What about substratum? Thanks!
[One (M9) Original Android Development] cyned:
I switched back to Stock temporarily, as this is my main phone, I will complete testing soon and provide the log-cat.

I hope all bugs will be fixed soon as I would like to use this ROM on daily basis. Thanks very much for your efforts.
[One (M9) Original Android Development] igipigiel:
Hi.I have o problem.After boot i have:unfortunaly app setup wizard has stopped.Any solution?
[One (M9) Original Android Development] iHateWebOS:
[MENTION=8276284]Claymore1297[/MENTION] can we git this for vzw (himawl)
[One (M9) Original Android Development] neniick:
did you flash GApps?
[One (M9) Original Android Development] igipigiel:
No
[One (M9) Original Android Development] atmq:
How to flash:

(Again: Don't do it if you don't know it!)

1. Download the ROM and GApps and transfer them to your device.

2. Boot to recovery (TWRP recommended).

3. Wipe the System, Cache, Data and ART/Dalvik cache.

4. Flash the ROM Zipfile.

5. Flash the GApps (optional, needed for e.g. Google Playstore to work).

6. Flash the root solution of your choice (optional).

7. Reboot your device.
[One (M9) Original Android Development] Ananta Zamzamy:
why after installing this rom, i feel when charging becomes slow and no fast charging is connected
[One (M9) Original Android Development] szaj:
Hi, in this movie below I tried to cooperate sense ui from HTC with aicp.

Everything works very well, even if you see some lags it's on the movie but not in the real rom

[YOUTUBE]https://youtu.be/Jmv3veIggXs[/YOUTUBE]

https://youtu.be/Jmv3veIggXs
[One (M9) Original Android Development] phpbb3:
Those of you experiencing battery issues, please try the following:

Install a kernel management app on your rooted device (I use ExKM)

Navigate to CPU frequencies

Manually adjust the minimum frequency to 384.

I've noticed consistently across fresh installs that the minimum frequency of the little cluster is set to 1248 by default, meaning that 4 of your cores are always running at 1248 or greater, drawing a reasonable amount of juice at all times.

I can't confirm if this happens in LineageOS as well, or if it's AICP specific, as I have never used Lineage on this device.

I'm a little curious about what you've done here, have you built a hybrid rom or just install a few HTC apps?

If it's a hybrid ROM, is it running a Sense/AICP kernel or the AOSP/AICP kernel?
[One (M9) Original Android Development] szaj:
No i just install service pack from HTC and couple of proper prepare HTC apps.

If you want to know which version just let me know and I will make little tutorial
[One (M9) Original Android Development] Claymore1297:
Thats weired and shouldn't happen, because the minimum frequency of the little cluster cores is set to 384 by bootscript:

https://github.com/AICP/device_htc_hima-common/blob/o8.1/rootdir/etc/init.qcom.power.rc#L58

On those devices, on which this happen, are you using some additional tools, to control the cpu frequency?
[One (M9) Original Android Development] phpbb3:
Thank you szaj, but I was really only asking because I was starting to get hopeful that I could pair a version of this ROM with elementalx kernel, which was only built for Sense ROMs.

---------- Post added at 12:38 PM ---------- Previous post was at 12:32 PM ----------

That line looks good to me!

I'm not using any kernel tools, except I used ExKM to look at what was going on behind the scenes.

Has anyone else checked their device yet to see of it is the same way?
[One (M9) Original Android Development] eyosen:
Can it be the input boost here

https://github.com/AICP/device_htc_hima-common/blob/o8.1/rootdir/etc/init.qcom.power.rc#L87

because L57 and L73 set the min frequency for little and big clusters to 384
[One (M9) Original Android Development] eyosen:
Forgive me for asking but why do you want to that? If you really like SENSE UI, you should stick with stock ROM.
[One (M9) Original Android Development] phpbb3:
Could be, but that would mean something is refraining that frequency from lowering back to 384.
[One (M9) Original Android Development] Claymore1297:
yep ... thought the same...

I've prepared a commit, which includes some power optimizations and removes this line ;)

I will push this the next days ...
[One (M9) Original Android Development] phpbb3:
This seems to be fixed in my build this morning, I'm assuming it was fixed with one of your merged commits over the last 48 hours. Thanks a lot, I noticed a handful of commits by you over the last few days, and they all seem to revolve around optimisation. I greatly appreciate it. :)