yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] santod040:
UPDATED!~

Unofficial CM12 m7spr 11-28-14 added to the OP!

Biggest differences to the 11-26 build:

I added Ambient display back for those that liked it.

I also added a test fix for those that were reporting issues with the dialer force closing.

Enabled an animation for Orientation Rotation tile in pulldown.

See CM Gerrit for additional changes
[Sprint HTC One (M7)] nutkmax:
u sir are amazing!!!
[Sprint HTC One (M7)] bsjmcconnell:
Rom is excellent... Only issue I am having on all builds is that I cannot connect to my moto 360...i can pair with phone just not connect via Bluetooth..
[Sprint HTC One (M7)] ajbiz11:
Did you also add in the camera fix (assuming yes, but you should add it to the change log)
[Sprint HTC One (M7)] santod040:
Yes it's in there...
[Sprint HTC One (M7)] Natodu:
Should we do a clean install ?
[Sprint HTC One (M7)] hotaru2k3:
FM radio works great with spirit 2, it's just the included FM radio app that doesn't work.
[Sprint HTC One (M7)] armourcore9brker:
Loving this rom and thanks for all your hard work!

Weirdest bug for me though is for music playback. I can play mp3 and flac files just fine through the speakers/headphones but can only play flac files over bluetooth. This occurs over multiple programs (tested with Google Music, Poweramp, and Apollo). Tested on the latest build (1128).

I'm used to not having BT work with alpha builds, I just thought it was odd it works with only certain file types.
[Sprint HTC One (M7)] MarkBell:
Yes. The ROM and custom kernel more accurately. With badassv2.

---------- Post added at 03:14 AM ---------- Previous post was at 03:13 AM ----------

If using custom kernel, make sure Fast Charge is disabled.
[Sprint HTC One (M7)] sauprankul:
Really? How much SOT/standby are you seeing?
[Sprint HTC One (M7)] htcslic:
No problems out of lg g watch
[Sprint HTC One (M7)] mntbkr:
I'm having the issue with sending text messages on the latest build. Are there any work a rounds other than using hangouts?
[Sprint HTC One (M7)] Aldo101t:
chomp sms or textra are alternitives
[Sprint HTC One (M7)] nwo122383:
I found Google messenger works also. Even let's you select different notifications for your contacts.
[Sprint HTC One (M7)] MarkBell:
Roughly 1-2 percent per hour. Also add that I am underclocked and undervolted, as well as using DS battery saver.
[Sprint HTC One (M7)] ajbiz11:
Oh so it's not just me?!?

I figured it was just my phone bugging out, but I did notice the flac pattern
[Sprint HTC One (M7)] miko12312:
Bootloop after boot animation
[Sprint HTC One (M7)] Aldo101t:
you may need to flash the boot.img from the rom zip.or update recovery
[Sprint HTC One (M7)] santod040:
Or read in post 2, it does that on the first boot.
[Sprint HTC One (M7)] Aldo101t:
yeah, that's correct. forgot about that. lol
[Sprint HTC One (M7)] j_rivers:
You mean SmartassV2 ~? There's no badassv2 in options.
[Sprint HTC One (M7)] jblaze10:
hotspot

just confirming that hotspot code in post #2 works great 3g &4g. thx, great rom!!
[Sprint HTC One (M7)] Apo11on:
DId you ever find a solution for this? I'm also getting error -505 on LP rom

EDIT: Found the reason and the solution. See posts 45-47 here
[Sprint HTC One (M7)] Sippi4x4man:
I was trying to port this rom for myself with C Spire, but I noticed that there is no build.prop file to edit or a /system/etc folder? I've never seen this layout before
[Sprint HTC One (M7)] sauprankul:
I read it. Didn't seem to find a solution. What was it?

EDIT: I mean they all suggested reinstalling the app. What if the app wasn't installed in the first place? Does 505 only affect apps you already have?
[Sprint HTC One (M7)] wintz:
Does anyone know of the Bluetooth bog is in the kernel or the rom itself?
[Sprint HTC One (M7)] JHoggAMLH:
Loving this ROM, only problem I'm having is Google now is reporting no internet connection

Nevrrmind, its working now, sweetness!!!
[Sprint HTC One (M7)] MarkBell:
I actually mean badass. Not smartass.
[Sprint HTC One (M7)] tbhtjd:
Rom is running great. Thanks!

Main issue right now is lack of mobile data toggle.
[Sprint HTC One (M7)] bullfrog527:
Been running this for a while and love it. Thanks for bringing it to our m7s.

I can get Bluetooth to play my music after a reboot, but not normally and phone doesn't seem to be working at all. Other than that small issue been running great.

Also, the wireless tether fix. Can I do that from terminal emulator our do I have to do it from a computer?
[Sprint HTC One (M7)] ajbiz11:
What device do you want to port it to?

Also, build.prop is in /system/

Not /system/etc/

---------- Post added at 05:07 PM ---------- Previous post was at 05:04 PM ----------

A bit of both

The reboots are kernel related, most likely

I haven't pulled any kmesgs yet, but I suspect they're segfaults

Lollipop changed a lot about how hardware and especially audio works

A2DP is likely related to why only flacs work over BT
[Sprint HTC One (M7)] Sippi4x4man:
I am trying to port this to my HTC One M7 with C Spire wireless. They are almost identical. Normally when I download an AOSP rom to port, the build.prop file is located in /system/. When I downloaded this ROM, I opened up the /system/ folder and all that is there is a bin folder. Also, I tried to replace the apns-conf.xml file that is normally located in /system/etc/ with mine that is made specific for my carrier but I can't locate that folder either. I am not familiar with the file structure in CM12
[Sprint HTC One (M7)] hotaru2k3:
it sounds like you got a bad download.
[Sprint HTC One (M7)] santod040:
It's not a bad download.

Lollipop file system is packaged differently then previous android versions.

There is no /system folder until it's installed.

It comes as a system.dat file. (entire system in one image)

So you can't just edit it prior to flashing.

You would have to install it, then either dump system and edit that way or modify directly on the device.
[Sprint HTC One (M7)] 4gottenshadow:
You can do it via a terminal emulator like ConnectBot or via SManager. Either way you can use the entire entry below. If you use SManager, enable the wireless tether before executing the script. Within SManager, just locate the file and select 'SU' at the top, make sure "Is script" is enabled and then select 'run'. That will be the easiest way to get it running, until there is a patch.

Here is the script that I named "Tether_fix.sh":

#!/system/bin/sh

iptables -D natctrl_FORWARD 1

iptables -A natctrl_FORWARD -i rmnet_usb0 -o wlan0 -m state --state RELATED,ESTABLISHED -j RETURN

iptables -A natctrl_FORWARD -i wlan0 -o rmnet_usb0 -m state --state INVALID -j DROP

iptables -A natctrl_FORWARD -i wlan0 -o rmnet_usb0 -j RETURN

iptables -A natctrl_FORWARD -j DROP

iptables -t nat -A natctrl_nat_POSTROUTING -o rmnet_usb0 -j MASQUERADE

iptables -t nat -A PREROUTING -i wlan0 -p udp --dport 53 -j DNAT --to 8.8.8.8:53

iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 53 -j DNAT --to 8.8.8.8:53
[Sprint HTC One (M7)] Sippi4x4man:
Thank you for this. I've downloaded this rom 5 times and I thought I was loosing my mind. I will give your suggestion a try
[Sprint HTC One (M7)] Apo11on:
I meant I found a page, where explanation and solution are posted. I didn't mean the solution is working at the time of writing. Those suggestions didn't work for me either - still looking for a workaround for that -505 install error. I got it on several apps, not just Rom Toolbox Pro. Also emailed the dev, asking for ETA on LP support
[Sprint HTC One (M7)] bullfrog527:
So I just copy and paste that into terminal? Or does it have to be line by line.
[Sprint HTC One (M7)] Aldo101t:
just type this in terminal:

su>enter

settings put global tether_dun_required 0>enter

close and reboot

tether will work then
[Sprint HTC One (M7)] bullfrog527:
Awesome, thanks

Got it running. Perfect
[Sprint HTC One (M7)] Aldo101t:
good deal, this was passed on to me from someone else, can't remember who, so the thanks goes to him, whoever he was.
[Sprint HTC One (M7)] Rimmir:
This is beautiful and I love it. Thanks for compiling and posting ?
[Sprint HTC One (M7)] hotaru2k3:
everything was working fine for a while, but now the package manager seems to have lost the ability to delete anything from /data/app/ o_O

i noticed that if I uninstall an app and then reboot, it comes back, so I started digging, and found that whenever I uninstall an app, there's a number of "failed to delete /data/app/..." messages in logcat. when I went to delete that stuff in root explorer (which worked), I noticed that the old versions of apps I've updated recently also hadn't been deleted.

any ideas what could be causing this, and how to fix it?

edit:

it looks like something changed the owner of everything under /data/app/ from system:system to root:root. I haven't figured out what did it yet, but a quick "chown -R system:system /data/app" seems to have fixed it for now.
[Sprint HTC One (M7)] santod040:
UPDATED!~

cm-12-20141201-UNOFFICIAL-m7spr added to the OP!

Changes: CM Gerrit
[Sprint HTC One (M7)] saintj:
How do you check the cm gerrit
[Sprint HTC One (M7)] Kiuren:
I flashed kernel but I'm not having the double tap to wake to work. I also don't know what's "Trickster".
[Sprint HTC One (M7)] santod040:
Click the link, check the Gerrit for Merged commits.

(Merged commits is what the link I posted takes you to)

This tells you all additions, changes, and fixes applied.

So look at everything merged from date of last build and date of current build.
[Sprint HTC One (M7)] santod040:
Trickster is a kernel control app. LINK

You need one in order to configure the wake features and custom kernel configurations.

Once installed, you will find the wake options in the specific tab of the application.
[Sprint HTC One (M7)] retiredtrebor:
Just flashed the ROM, a couple of questions.

1. Is there a way to get rid of the Google search bar on the home screen?

2. Unable to get Messaging to actually send a text, any suggestions?
[Sprint HTC One (M7)] MarkBell:
Hey [MENTION=1331268]santod040[/MENTION]. Having a new issue. My phone on some boots and when coming alive from deep sleep on occasion will stop responding to touch. Only thing I can do is hold down power until my device resets. I am on the 11/28 build. This also happened once with the 11/26 build. It only happened once or twice on 11/26 build. Happened 3 times today on the 1128 build. Still not enough of an annoyance to make me want to abandon the ROM, but figured you might have an idea of what I'd happening. Let me know if I can supply you with a log file and how I can pull it for you if so.

---------- Post added at 03:21 AM ---------- Previous post was at 03:16 AM ----------

I see there is a new build, so I'll move on to the next one to see if the problem is alleviated and report back in the coming days.

---------- Post added at 03:23 AM ---------- Previous post was at 03:21 AM ----------

Sorry one more issue. Facebook Messenger App doesn't work. Black screen. Assuming it is an app issue and not ROM related but figured I'd mention it.
[Sprint HTC One (M7)] silencecloak:
Is dirty flashing over previous versions of this rom OK? I don't seem to be having good luck doing so, which might be the answer to my question.
[Sprint HTC One (M7)] miguelcerca:
I've noticed the screen not responding if I have apply kernel settings on boot in trickster using the nuk3r3l. If I'm using the screen before kernel settings are applied everything is OK. But I usually boot my phone, set it down and pick it up after a few minutes and have to reboot again and make sure I'm watching the process. Any fix for this?

Thanks
[Sprint HTC One (M7)] ajbiz11:
The mount errors in recovery can mainly be ignored

Should patch that, though

And dirty flashing should be fine, but you can always try clean wiping
[Sprint HTC One (M7)] MarkBell:
I believe this may be my problem as well. I'll just turn off the auto apply settings and have a profile ready to go in the donate version of Trickster after I've gotten past the lock screen and see if it alleviates the problem.

However, I do believe I've had the no response to touch after my phone has been sitting in deep sleep for some time, too. So it may not be the same problem or it may be related. I will play around with it and see what happens.

It did happen again as the above poster described just after I dirty flashed the Dec. 1 build and refreshed the Kernel.
[Sprint HTC One (M7)] ajbiz11:
I'm still on a November build (23, iirc)

If my phone hard resets, then I have issues with surfaceflinger (I assume) on boot (aforementioned sleep issue. If I miss the window, it will stay black)

If I boot normally, all is well
[Sprint HTC One (M7)] MarkBell:
I don't get a black screen as you mentioned. Just no response to touch after a long deep sleep sometimes. Not all the time. I can hit power button and see lock screen. Just can't slide to unlock or anything else. And sometimes on boot I get the same thing. Very infrequent.
[Sprint HTC One (M7)] Aldo101t:
yes I've had the same thing happen, I think it is related to the custom kernel, on the stock kernel it hasn't happened.
[Sprint HTC One (M7)] Rimmir:
[MENTION=3163386]MarkBell[/MENTION] I installed the FB Messenger app today and it worked without issue. I am on the 11/28 build.
[Sprint HTC One (M7)] MarkBell:
Strange. I'll try deleting and clearing cache for FB.

---------- Post added at 02:56 PM ---------- Previous post was at 02:54 PM ----------

Yep. Clearing cache for FB and reinstalling messenger seemed to do it.
[Sprint HTC One (M7)] trev23sks:
Quick toggle for data? Having my data just running is draining my battery
[Sprint HTC One (M7)] Rimmir:
So something funny happened to my phone after I installed and ran an app from the Play Store called Lollipop Screen Recorder. Now my app drawer, notification shade, and status bar have all been "reflected" over an imaginary line in the middle. Persists even after uninstalling the app. Something weird happened with the lollipop built in screen recording and System UI FCing. See screenshots.
[Sprint HTC One (M7)] srb7215:
Google removed this from Lollipop. Might be something CM can add in later but right now your best option is Tasker and an app called Toggle Network Type 5.0. I think it is floating around XDA somewhere.
[Sprint HTC One (M7)] Natodu:
Am I supposed to be doing something with APN? I can't seem to send MMS
[Sprint HTC One (M7)] MarkBell:
Should be able to turn it off in settings by using profiles.
[Sprint HTC One (M7)] jblaze10:
Sry if this is old news but what is the star represent in notification bar? I was fooling with settings yesterday and there it was. It is in the screenshots a couple posts up also tia
[Sprint HTC One (M7)] Aldo101t:
set volume slider to all and it goes away.
[Sprint HTC One (M7)] santod040:
Adjust your volume and set Priority back to All and it will go away.

It's because you set it to Priority for notifications.
[Sprint HTC One (M7)] JHoggAMLH:
Flashlight is causing reset, is this a normal problem?
[Sprint HTC One (M7)] aashishbhargav:
issues with rom

hi.. overall a great ROM. Beautiful features added by Google in 5.0 Love it.

Love the boost volume feature!

Here are some issues that I have been facing:

Dialler crashing (less with latest built)

Phone Reboots Frequently

Phone makes a siren kind sound for at least 5-7 seconds and reboots randomly.

If anyone has found a fix for the above issues, please let me know.
[Sprint HTC One (M7)] saintj:
I have same issues
[Sprint HTC One (M7)] santod040:
UPDATED!~

cm-12-20141203-UNOFFICIAL-m7spr is now in the OP!

Android 5.0.1

Changes: CM Gerrit
[Sprint HTC One (M7)] Aldo101t:
is superuser intergraded now?
[Sprint HTC One (M7)] santod040:
It is, but flashing SuperSu is still my preferred SU choice.

The built in works fine for most things, but I believe Titanium and maybe others will still want SuperSu to be flashed in order to work properly.

I don't use Titanium myself, that's just the feedback I've had on it.
[Sprint HTC One (M7)] miguelcerca:
How about picture MMS? Can't seem to download in Google messenger.
[Sprint HTC One (M7)] CMachikas:
Awesome ROM, been daily driving a few days.

The only real issue I'm noticing is the dialer. It's inconsistent and laggy in normal use, but try to make or recieve a call while connected to Bluetooth and you will be stuck on your current screen, forcing you to restart. I have disabled Bluetooth in the car until this is resolved. Thankfully the Moto360 seems fine.

Thanks for all your hard work!
[Sprint HTC One (M7)] patel4prez:
Anybody else getting boot loops after flashing the 12-3 update/5.0.1? I just flashed that with the SU 2.37 zip and can't get rid of the boot loop.

Wiped cache and dalvik to no avail...
[Sprint HTC One (M7)] santod040:
Most users who dirty flashed the latest build on m7ul got boot loops.

Clean flash, no problems...
[Sprint HTC One (M7)] Aldo101t:
for some reason I can't get the send button to work on the stock messenger, been like this the last couple builds, and I've clean installed them all. weird.

also there are no apns available under accesspoints.
[Sprint HTC One (M7)] patel4prez:
Welp. I was afraid that was going to be the case.

Thank you for the answer :)
[Sprint HTC One (M7)] silverxj:
I've used hangouts as a work around for this.

Sorry, quoted wrong person. Suppose to be the post above with the send button problems
[Sprint HTC One (M7)] Aldo101t:
yeah I'm using chomp sms, works fine, everything else on this is a ok just that send button.
[Sprint HTC One (M7)] Stephen304:
I had problems receiving mms, would show up but wouldn't download. A few days later they downloaded automatically. It may just take some time. I'm still on 11/22
[Sprint HTC One (M7)] TrAnCeiK:
I wish I can use this but it won't work since my htc one is unlocked :'( I want lollipop so badlyyyyyyyyyyyyyyyyy.
[Sprint HTC One (M7)] Natodu:
Can we dirty flash this over the last build ?
[Sprint HTC One (M7)] santod040:
Yes, only if coming from previous build you can dirty flash: (everyone else should full wipe)

To dirty flash over 11-17-14 build:

Flash Rom

Skip Gapps

Reflash SuperSu (post#2)

Reflash Pie patch (post#2)
[Sprint HTC One (M7)] scottspa74:
Great job OP!!!!! Thanks mass for sharing.
[Sprint HTC One (M7)] Natodu:
Yep camera is working with a dirty flash. Thanks
[Sprint HTC One (M7)] Cringer63:
Actually didn't need to use fastboot. Just wiped and flashed, been running great. Was prepared to use fastboot though and was probably good for me to have to do so. Thanks.
[Sprint HTC One (M7)] ajbiz11:
I should pass you the Ambient Display code...
[Sprint HTC One (M7)] ajbiz11:
Odd

I'm still getting camera crashes with the AOSP app

That, and SuperSU won't even think about opening with that bypass zip

---------- Post added at 09:24 AM ---------- Previous post was at 08:50 AM ----------

Fixed camera and SU by not flashing the bypass zip

Need to run a remount to get system writable though
[Sprint HTC One (M7)] davidkrocks:
Did I ever tell you that you're my heroOoOo√ XD
[Sprint HTC One (M7)] StormyNight:
Some stuff that I've found:

Battery drainage.. Although I might have been spoiled from Kangaroo.

When you wake the device up, music playback jitters for a few seconds.

The WiFi icons aren't aligned completely correctly. When there's traffic, the icon tends to move a bit.

Might just be me.. But smart lock isn't working. Pattern does work though.

Also the secret menu (*#*#4636#*#*) isn't working.

Thanks for the ROM btw.
[Sprint HTC One (M7)] ajbiz11:
I can confirm everything except Smart Lock and Music issues (I don't have issues with V4A + Play Music)

My solution for battery issues was to run in Battery Saver constantly (only 1-3% an hour instead of about 10%)

I'm gonna look into any wakelocks once I charge up again
[Sprint HTC One (M7)] StormyNight:
I'm using Poweramp for music... also for Battery Saver, is there any solution to get rid of the red notification bar and get it back to normal, while Battery Saver is still running?

Also, another issue that I found is minor pretty much.. but might still be a bug: When you turn on the flashlight, it takes around 2-3 seconds to turn it on.
[Sprint HTC One (M7)] ajbiz11:
That's always been an issue with CM (Flashlight)

As for the orange bars, no

Someone could mod the systemUI and make it another color (cm blue, maybe?) But it does it for a few reasons

1) to yell at you so you don't forget you're in saving mode

2) Orange bar is lighter on battery than the changing statusbar

3) the navbar changes so then you don't think the statusbar is just a weird color because of the app

4) Google is weird
[Sprint HTC One (M7)] lerenturk:
Downloading, I let you know on any issues.
[Sprint HTC One (M7)] malinois71:
Tons of bugs and phone is almost useless now

Hello everyone, I am not the biggest expert with all these terms and somewhat new to Cyanogenmod. In February I had someone help my root my phone and install cyanogemnod and do the s-off. Since then I have done a little on my own. I have the latest version of TWRP 2.8.0.2 and have figured out how on install that with basic Flashify. My phone is encrypted. Been making backups every couple weeks as I do every nightly update I can. Sometimes they have problems and I just open in recovery and install my backup. Now today I installed this Lollipop. Many bugs, no data over cell as it seems like there is no SIM card at all. So I look over it, nice looking and all but need to reinstall my backup. I did do a dirty install. Didn't see that post until after. Open in recovery and my password for evcryption says it does not work but I hit cancel on my screen and it takes me to the normal page of TWRP. That's when trouble starts. It is like nothing is there. No back up or anything. I can see the backup when I turn on my phone and open with something like file explorer. Any tips on what I should do next? Thanks everyone.
[Sprint HTC One (M7)] tootone:
I have installed, and played around for a for a couple of hours. The only real issue I am running into, is that I can't sign into a wifi network. I will play around with it and see if I can get it going. I do also have a bug saying my sim isn't in, but I can call and have data:}
[Sprint HTC One (M7)] lerenturk:
Great work. The phone reseted when i took a picture but after the reset tried again and it didn't happen so far. And I'm using this on a forein language (Turkish) there are some parts that is still english.
[Sprint HTC One (M7)] ajbiz11:
Quick note

Rename or Freeze DocumentsUI and DownloadsProviderUI to go back to the App Picker style file select for attacking things
[Sprint HTC One (M7)] ajbiz11:
Proof

Also, I edited my build.prop and have a minor issue

The navbar overlaps a bit on the Recents screen
[Sprint HTC One (M7)] Cj719:
I get a binary error when flashing using twrp 2.8.0.3
[Sprint HTC One (M7)] santod040:
Then downgrade twrp.

I personally stay away from 2.8. X

I use 2. 7. 1. 2 for all my roms with zero issues.

Although I'm on Verizon so the version required for you may be different.
[Sprint HTC One (M7)] repl1ca:
Tried clean flashing the 12/03 build with the PA Gapps (11/17) and I'm getting a bootloop. MD5 matches and I've used the Gapps multiple times before so I know those are good. Strange.....

I'll try to download the 12/03 build again to see if that changes anything.
[Sprint HTC One (M7)] StormyNight:
Working for me fine, although I clean flashed.
[Sprint HTC One (M7)] repl1ca:
I think I figured out what happened. I tried flashing the kernel from here: [KERNEL] Elite Kernels [Lollipop] [AOSP-5.0] and my phone didn't like it. Had to reflash the modem & everything. Going to try to reflash the 12/03 build here momentarily.
[Sprint HTC One (M7)] htcslic:
What all did you have to reflash, currently stuck in the same boat.
[Sprint HTC One (M7)] repl1ca:
Just the latest modem. I created a flashable zip a while back, it's located here: Latest Modem Flashable Zip

After I reflashed the modem, I was able to flash the 12/03 build successfully.
[Sprint HTC One (M7)] Amitfuriousgamer:
Rebooting Over and over again

I flashed rom and gaaps using twrp now my htc one m7 sprint reboots over and over again after 1-2 mins of usage. Any help. I'm new here.