yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] x-ravin:
I'll have to take a look tonight, I'm back on 4.4.4 at the moment. Also can try and see if I can get iotop working, that will pinpoint the IO use for each process, but it requires IO accounting enabled in the kernel, not so sure if that is the case. Also I should look at the paging stats in the vmstat log, completely forgot to compare that.
[One (M8) Android Development] jpcdeux:
[MENTION=4766257]deakelem[/MENTION]

http://www.androidpolice.com/2014/1...e-means-update-will-fail-system-modified-way/
[One (M8) Android Development] cygnus56:
just as a comment, I would like to warn them to be careful when you delete their folders from the SD, for some strange reason there are folders to delete, erase absolutely everything you have on the SD and internal memory, this has happened to me with two rom with lollipop.
[One (M8) Android Development] rbouza1:
can somebody with skills tell me, where i circled usb does that enable the notification icon in statusbar ? and whats the dalvik mention?
[One (M8) Android Development] gtluke:
I'm not able to save any files from either the chrome browser or pushbullet. Those are the 2 I noticed so far. I can take pictures so I can add to the storage, but for some reason if I try to download an image it fails. Any ideas?
[One (M8) Android Development] HolyAngel:
yes it does, and if you run the lag fix zip the dalvik stuff will be gone. Left over from previous tweaks.
[One (M8) Android Development] HolyAngel:
Hopefully the delay on the official OTA is due to HTC seeing the couple bugs with the kernel in this thread and they are fixing it :D
[One (M8) Android Development] rbouza1:
im not even noticing lags at all. ran new firmware over my gpe conv and your rom with full wipe.
[One (M8) Android Development] x-ravin:
In case you aren't completely sick of Excel graphs at this point, here's some more!! I went back to the vmstat logs and graphed the page faults and smoothed the data. 5.0 is paging like it's going out of style! Keep in mind what's going on in the tests is a little different between the 2 versions, but it's similar enough that they shouldn't be THAT different.

I know what you're thinking though, maybe 5.0 is using more RAM for the Lollipop goodness? Well the answer is sorta, but not significantly. The real significance is that RAM isn't being freed up as aggressively as 4.4.4, but that doesn't necessarily mean something bad. Could just mean more aggressive caching.
[One (M8) Android Development] PwnCakes193:
Ok guys, here's some quick tips and things that will hopefully make it into a lagfix of some sort. I get great battery life, 4 hours SoT minimum over a 24 hour period with Super V4a and tons of streaming

- I use Interactive and ROW, now using ROW at 512

The tweaked interactive I use tries to stay around the 1.3 GHz area and below, peaking at max only if it has to. It will mostly hover around 103600, and I get almost no lag at all.

-I also have forced GPU rendering on.

up_threshold_any_cpu_load= 50

timer_slack= 120000

hispeed_freq= 1267 MHz

timer rate= 30000

go_hispeed_load= 95

min_sample_time= 60000 or 80000 for better speed

up_threshold_any_cpu_freq= 1036 Mhz

Row tweaks will be provided in code, here.

#!/system/bin/sh

# row tweaks
echo 100 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum
echo 75 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum
echo 5 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum
echo 4 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum
echo 4 > /sys/block/mmcblk0/queue/iosched/rp_write_quantum
echo 3 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum
echo 2 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum
echo 10 > /sys/block/mmcblk0/queue/iosched/read_idle
echo 25 > /sys/block/mmcblk0/queue/iosched/read_idle_freq
## N4 and N10 have a new version of row with corrected entry for lsq and renamed ri and rif
[ `cat /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum` != "2" ] && echo 2 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum
echo 10 > /sys/block/mmcblk0/queue/iosched/rd_idle_data
echo 25 > /sys/block/mmcblk0/queue/iosched/rd_idle_data_freq
echo "done"

In init.d I removed everything for Kernel Tweaks EXCEPT these, and the entropy tweaks

echo 0 for iostats

echo 0 for rotational

And I CHANGED echo 2 for rq_affinity

I got rid of the fixing permissions script as well. Those values I removed have cause some weird lag on my own personal M8 kernel when I tried them a few weeks back. These should be great for everyone!

[MENTION=2482342]x-ravin[/MENTION]n what kernel did you use on 4.4.4? was it stock GPe kernel?
[One (M8) Android Development] jpcdeux:
Friday

(Idk why attached 2x)
[One (M8) Android Development] PwnCakes193:
If HTC is actually looking at this thread, please email me or message me! I'd love to help in any way possible!

Wow, that's pretty crazy. Maybe they're waiting for the mysterious 5.0.1?
[One (M8) Android Development] HolyAngel:
Thanks! Will get these worked into a new rom zip since we're gonna be sitting on this until friday at the earliest. Let me know if you have anything else ^^ :good:
[One (M8) Android Development] Daiskei:
Can anyone recall the fix for the IR blaster?
[One (M8) Android Development] x-ravin:
If these seem to work can you pass the info over to [MENTION=3400685]digitalhigh[/MENTION] to incorp into the VZW rom? I can do some more profiling then.
[One (M8) Android Development] HolyAngel:
Remove htc service pack from system/priv-app, restart, and then install the one off the playstore
[One (M8) Android Development] HolyAngel:
Yep sure can! :good:
[One (M8) Android Development] farru503:
Hey holyangel , when your screen is locked and off and you're listening to music, and you try low the volume it doesn't work, ...does it work for you? It only happen when listening to music and screen off and locked , you can't low the volume

none of my business tho ☕?
[One (M8) Android Development] HolyAngel:
Haven't tried and im back on 4.4.4 at the moment as i expected the ota thats now waiting until friday.When I update this rom here shortly I'll check it out. Could be the service pack issue or just something not implemented yet since its a beta leak.
[One (M8) Android Development] farru503:
Oh its okay , no problem thanks I'll wait for your update

none of my business tho ☕?
[One (M8) Android Development] PwnCakes193:
I don't know how I feel about rq_affinity at 2, or even set. Since we're on 3.4 we can use 2 without an issue, and it works better this way. Other than that the other 2 seem to be running just swimmingly.

[MENTION=2482342]x-ravin[/MENTION] there's an issue! You're not using the stock GPe kernel. [MENTION=1211160]HolyAngel[/MENTION] probably implemented some nice kernel tweaks and other stuff that will smooth out any I/O stuff and memory speed enhancements. If you used the stock GPe kernel for 4.4.4 hen you may see the same behavior on 4.4.4 as we do on 5.0 right now.

I'm assuming HTC hasn't really updated their branch, atleast it seems that way. A 3.10 kernel rework would have been great but it's still too hard for them to accomplish.
[One (M8) Android Development] warfexion:
IR blaster isn't working after deleting the service pack from where you said and installing through playstore, any ideas?
[One (M8) Android Development] x-ravin:
Possibly, but it still seems a bit too different. Stock kernel shouldn't be paging that much, bogging down IO queues and causing everything to grind to a halt. My 4.4.4 kernel may work better than stock, but the fact remains that we are seeing an IO bound performance degradation on 5.0.
[One (M8) Android Development] Magik_Breezy:
I have experienced the issue once - on battery power with headphones in, fixed by unlocking device

Edit: had similar problems on 4.4.4 GPe firmware
[One (M8) Android Development] farru503:
I know, it only happen when screen is off, as soon as you unlock it , it start working again

none of my business tho ☕?
[One (M8) Android Development] Calvo1:
Complete shot in the dark here ...but have any of tech gods got cast screen to work ?
[One (M8) Android Development] jpcdeux:
You using Sense TV app? I'll try mine

Nope. Not working
[One (M8) Android Development] Daiskei:
I've done the same, no-go.
[One (M8) Android Development] HolyAngel:
Update in the works ^^

Gonna work in the updated service pack, I know smart remote ir works with that
[One (M8) Android Development] Daiskei:
Really looking forward to this!
[One (M8) Android Development] mheera:
Is this regular .. I mean miscellanous that means i lost 20% battrey
[One (M8) Android Development] HolyAngel:
The misc is a totally worthless column and not worth looking at. if you really wanna battery stats use gsam battery monitor or better battery stats.
[One (M8) Android Development] Prfndhatrdofman:
I hate to sound like a broken record, but has anyone had issues with Bluetooth at all? I have Bluetooth audio issues when in the car, and also the device locks up if it auto connects to a bluetooth device at boot.

Coming from Sense...Maybe its a sense firmware issue? Does anyone else here use Bluetooth in the car?
[One (M8) Android Development] HolyAngel:
OK 4.0.4 is uploading, here's changelog

V4.0.4

*Added tweaks from PwnCakes193 and lagfix zip

*Disabled ZRAM Completely

*Added stock MMS app option in aroma(Android L Messenger)

*Fixed IR issue/updated HTC Service Pack

*Updated SuperSU to 2.23
[One (M8) Android Development] ric1487:
Yeahhh thanks for all !! :highfive:
[One (M8) Android Development] Daiskei:
So cool!! Great work man! Does the updated SuperSU fix System RW?
[One (M8) Android Development] bia9977:
No Bluetooth issues. However I've converted to GPE and installed Lollipop on top of it. I had skipping sound at first but after few reboots it stopped.

---------- Post added at 07:36 PM ---------- Previous post was at 07:34 PM ----------

I suppose no link yet?
[One (M8) Android Development] laozhongyi:
Thank you

Just saw in the side bar advertisement the supersu 2.23 beta and before I could do an upgrade, it it already included in your next release... Guess I'll be agreeing waiting for the V4.0.4 instead. Great Work!
[One (M8) Android Development] _moelle:
https://www.androidfilehost.com/?fid=95784891001612810
[One (M8) Android Development] HolyAngel:
+1

At the gym so can't update OP yet, here is link again

https://www.androidfilehost.com/?fid=95784891001612810
[One (M8) Android Development] jess.hickey:
dirty flash over 4.0.3 ok?
[One (M8) Android Development] M3RC:
flashing issue

So everything goes like it says in the OP, but after installing everything and I hit reboot, it goes to recovery. I can't get it to boot to system. any ideas?
[One (M8) Android Development] jdh10475:
Try flashing again.
[One (M8) Android Development] bia9977:
Anybody knows how to take screen shot?
[One (M8) Android Development] david.degraw54:
Yep, just did it myself. This is insanely smooth I'm not seeing any lag at all. Animations set at 1.0x
[One (M8) Android Development] warfexion:
Either the IR Blaster is still messed up or the sense TV app isn't working on this rom hmm
[One (M8) Android Development] JohnM109R:
With this new update...does the WiFi still goto sleep with the screen off...
[One (M8) Android Development] HolyAngel:
Yeah its saying there's an update on the play store again even though that's tho one I put in the rom. Working on it and will reupload when I get it fixed

Edit: and that's not fixing it anyways even though it worked before. :( still working on it
[One (M8) Android Development] jsanta11:
Hold power button and vol down at the same time..
[One (M8) Android Development] bia9977:
Right. Thanx.
[One (M8) Android Development] HolyAngel:
Can someone with working IR post which version. of the HTC service pack they have? I'm seeing 1.0.835 on this one and IR isn't working
[One (M8) Android Development] blackwing182:
For How Long You Got The M8? Man Im Happy To See You, Drop Some QuantumKernel love to this phone!
[One (M8) Android Development] M3RC:
I did like 4 or 5 times. same thing
[One (M8) Android Development] HolyAngel:
Clean flash? I installed it three times before uploading with no issues. I didn't touch the script so it should boot no problem..
[One (M8) Android Development] jpcdeux:
1.0.835811 is play store version
[One (M8) Android Development] jdh10475:
Try to do a full wipe possibly redownload the rom put it on your external SD card and install that way. Doing a full wipe will lose everything on your internal SD. Use recovery to do the full wipe. Should work. You can always do graphix ruu to recover. I have had a bad rom download and run into strange issue in the past. You can also check the MD5.
[One (M8) Android Development] scifan:
Did you verify the md5 hash?
[One (M8) Android Development] M3RC:
moved it to SD card, did a clean wipe and everything, went through it all again and still won't boot to system.
[One (M8) Android Development] digitalhigh:
Hey man, thought I could offer some advice for people who are having issues that I've found works for my ROM...and you can DL and have a look if you want. :D

For wifi, I found that running 4.4.4 firmware (VZW) with just the 5.0 wifi firmware works. I've got a standalone for that .img added to my installer.

For IR, I just grabbed the latest HTC TV apk and threw it in - no other mods needed. I installed it to /data and did a straight pull back to my PC to get the file structure and lib.

And the flashing issues...I think may be related to people running older firmware as well. We've been recommending everybody flash their latest 4.4.4 firmware, then add the 5.0 wifi bit for the sleep issue.

Otherwise, we've been having lag mostly just with Chrome, as well as bluetooth audio playing too *fast* when streamed from the web.

So, I popped over to say "Hi" and offer my advice...I also hear you've got some lead on the lag issue...which I'd love to discuss.

I'll PM you as well, I just thought I'd share what we'd learned over in RedLand with everybody else here...seems like you've got some very smart people helping out. :D
[One (M8) Android Development] jdh10475:
You either need to run an RUU for Google play or sense.

Where is your phone from?
[One (M8) Android Development] M3RC:
what do you mean where is my phone from? like location? i live in ny
[One (M8) Android Development] justein:
Error -505 when trying to update HTC Service Pack and other apps

When I try to update some apps, I get a play store error -505. I want the IR functionality to work, so HTC Service Pack having this issue is the biggest concern for me. Anyone had this issue, and know how to fix it?
[One (M8) Android Development] scifan:
You need to actually remove the version on your phone, and then install the service pack rather than update. Search this thread for instructions...
[One (M8) Android Development] quantumtransfer:
How long did you wait foe those updates after the phone booted? Sometimes youll need to reboot after giving sufficient amount of time for thr phone to auto update its services through the playstore. Reboot after such time and see if it will take the updates. Also google the 505 error w/ play store. It maybe a general error or perhaps specific for this rom. I personally did not have any issues. See my signature for my selections found in post#2 of this thread.

---------- Post added at 11:34 PM ---------- Previous post was at 11:26 PM ----------

Also when reporting the errors it would be good to know which firmware you are using. If you are running with S-ON and have the most updated sense firmware. OP did state that the most updated sense firmware should work. At this time you can not revert to sense firmware as there is no RUU for it if you convert using thr firmware in post#2 in this thread.

* It would be nice if you/everyone to include the additional info so OP knows which issues affect which firmware.

If you are S-OFF. Please flash either the stock firmeare or the modded firmware in post #2 supplied by the OP. Also please make sure you are using phils cwm recovery to help eleminate possible issues that could be caused by twrp/wrong firmware.

GPE 4.4.4 firmware will glitch out with this rom. Please flash the lastest firmware in post #2. I hope this helps for the many folks having issues. When it doubt read the FAQ.
[One (M8) Android Development] justein:
S-OFF flashed the firmware in post #2. Using Philz touch.

---------- Post added at 10:51 PM ---------- Previous post was at 10:46 PM ----------

HTC Service Pack is not even coming up under Titanium Backup or under all apps list. I can't find package name, so can't use adb to uninstall it.
[One (M8) Android Development] bia9977:
Its called HTC Weather.
[One (M8) Android Development] jpcdeux:
I didn't see in TiBu either. Root explorer went to priv-app deleted folder. Rebooted. Then somehow TiBu saw it. Removed, rebooted and installed from store

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

With proper service pack removal and reinstall, anyone actually got sense TV working?
[One (M8) Android Development] HolyAngel:
Figured out IR. Need to set selinux as permissive and then it works regardless of HTC service pack/weather being installed or not. Will fix that up and upload new zip and update OP
[One (M8) Android Development] Galaxysm:
Can't get WiFi to work!! :( I've down everything I'm on the HTC one m8 T-Mobile version :(
[One (M8) Android Development] exynos:
Great work!

Awesome job on the ROM. I was originally skeptical about it after flashing 4.0.3 but 4.0.4 speeds up the ROM quite a bit. Can't say anything about the battery life yet though, need to give it a few cycles. Also the problem with the wifi turning off when the phone sleeps seems to have been fixed.
[One (M8) Android Development] scifan:
Then I'll await that version... ;)
[One (M8) Android Development] quantumtransfer:
what firmware are you using? what TS steps have you tired? Have you searched this thread for others who have experienced wifi issues?
[One (M8) Android Development] Galaxysm:
Using the 3.32 firmware.

.using multirom flashed it has a second ROM. Wouldn't boot so I keep flashing until ROM boots.
[One (M8) Android Development] quantumtransfer:
ok, are you s-off? if you are. please flash the firmware in the post#2 thread at the beginning. if you are s-on, then you'll want to make sure you are on the most updated sense firmware possible. use phils recovery for flashing. that should resolve it.
[One (M8) Android Development] HolyAngel:
Ok, link is up! That should take care of it guys. Hopefully this will be perfect until we get official on *hopefully* friday! :cowboy: :good:

edit: and link is down, quick fix :/
[One (M8) Android Development] PhillyFlyer:
Can we dirty flash from 4.0.3.1?
[One (M8) Android Development] HolyAngel:
You can always choose 'install without wiping' it won't wipe your user data(data apps and settings) so no sense rechoosing those but it will wipe system so no issues there. I don't believe 'update only' will work correctly.
[One (M8) Android Development] HolyAngel:
Fixed one is uploading now, should be just a few minutes here :good:
[One (M8) Android Development] HolyAngel:
And there we go! Its up and verified! Now off to get some much needed sleep, be back in a few hours. :good:
[One (M8) Android Development] TemporalShadows:
Just dirty flashed 4.0.4.1 over 4.0.3.1 and IR is working with the Smart Remote app with no problems. Haven't used it long enough to attest to the speed gains yet.

Thanks for the update! Already love this ROM and now you've made it even better.
[One (M8) Android Development] kman79:
I was having WiFi issues so I flashed this firmware. After flashing this firmware, my bootloader screen now has a black background, is that to be expected or does that mean something else? Thanks in advance
[One (M8) Android Development] quantumtransfer:
flash the firmware, flash the recovery, flash the rom, while in recovery after flashing rom, reboot into recovery again (using power options), flash the rom fixes (if applicable). then reboot and wait for the rom to load. make sure you are using superid 11111111 or GOOGL001 prior to flashing any of this.
[One (M8) Android Development] kman79:
I appreciate the quick reply. To clarify, the Rom is working perfectly fine as far as I can tell so far. My only concern is, should I be concerned with regards to my bootloader screen now having a black background, and if by chance, do you know what having a black bootloader screen means?
[One (M8) Android Development] SeanFloyd:
Turns out if any T-Mobile user has this issue in the future this is all that is needed

"Change apn to fast.tmobile.com from fast.t-mobile.com

I had same issue that's the fix"

thanks to mbernusg from the Tmobile M8 forum for that
[One (M8) Android Development] HolyAngel:
Thanks! Added that and recommended kernel settings to OP :good:
[One (M8) Android Development] jongcruz:
It also works with LTE service? Because I think it is related to HSPA SERVICE....please let me know.

---------- Post added at 11:32 PM ---------- Previous post was at 11:21 PM ----------

I just checked I have the same values....try your cell in basement or elevator. With factory ROM I used to have 3 to 4 bars and now with this ROM 1 or 2 bars only in those places.
[One (M8) Android Development] HolyAngel:
Some manufacturers artificially inflate the bars the phone shows, like at&t Roms. It could just be that. ROM doesn't affect amount of signal, if all the settings for APN and everything match what they are on your stock ROM, then whatever bars you see on here are what you actually get and sense just makes it look like more. Best way to Check is get an app that finds your decibels of service and check how many you're getting between the two Roms, if its roughly the the same number then you know what's really happening.
[One (M8) Android Development] SeanFloyd:
Is there a way to edit/rearrange the tiles in the pulldown menu in the notification bar?
[One (M8) Android Development] edgie168:
Xposed framework; gravitybox.
[One (M8) Android Development] jongcruz:
Thanks ....that's true but also depending of the modifications or tweeks applied in the kernel or other parts it may affect. I understand what carriers do to inflate the bars but in this case is different since at places I used to have service now I don't.
[One (M8) Android Development] HolyAngel:
Sure, but there's not a thing ive done to touch service other than those ro.ril settings. And tho they may look like they only affect hsdpa, i noticed a huge difference in LTE connectivity in certain cities by changing them. What carrier do you have?
[One (M8) Android Development] v1rk:
Not really to be fair depends on the provider more, mine switches and the big dif i noticed was dev edition gave me better signal with LTE than uk unlocked in the areas
[One (M8) Android Development] jongcruz:
I have T-Mobile USA ....by the way which were the original settings you changed?
[One (M8) Android Development] HolyAngel:
Ok, that I can work with.

The original GPE settings were

ro.ril.hsdpa.category=12

ro.ril.hsupa.category=6

ro.ril.hsxpa=4

instead of

ro.ril.hsdpa.category=24

ro.ril.hsupa.category=12

ro.ril.hsxpa=5

Tmobile stock sense settings are:

ro.ril.hsdpa.category=24

ro.ril.hsupa.category=6

ro.ril.hsxpa=4

so could try changing it to that..

also could add these:

ro.ril.fast.dormancy.rule=2

ro.ril.enable.amr.wideband=1

ro.ril.ltefgi=2144337592

ro.ril.ltefgi.rel9=3221225472

and these may help too

ro.ril.set.mtusize=1440

ro.ril.rxd.mode.nv=10

ro.ril.bler.threshold.nv=125

ro.ril.rscp.threshold.nv=110

ro.ril.enable.rxd=1

ro.ril.oem.cnap=1

ro.ril.enable.r8fd=1

ro.ril.disable.cpc=0

ro.ril.ims=1

ro.ril.air.enabled=1

ro.ril.disable.fd.plmn.prefix=23402,23410,23411,23420,23594,27202,27205

ro.ril.enable.sdr=0

ro.ril.enable.gea3=0
[One (M8) Android Development] jongcruz:
OK will try......long homework. Thanks
[One (M8) Android Development] jongcruz:
Os there a way to make WiFi tether work under T-Mobile? Thanks
[One (M8) Android Development] HolyAngel:
Tethering should just work, I don't have any problems tethering with my att service. But I have unlimited tether.