yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] drsn0w:
drsn0w /usr/src/cm-12.1 $ brunch himaul userdebug
including vendor/cm/vendorsetup.sh

Build just starting now, will be up tomorrow morning. Includes Google's security fixes as well as change 106162 - Support µg package signature faking

That's more for personal stuff as I'm going to try out the FLOSS implementation of the Google services, but it's set to be merged into CM eventually so why not give y'all the opportunity now :D

The OTA stuff will have to come later on...it's much more complex than I expected and my VPS's aren't behaving nicely either.

Thinking perhaps I'm going to use a small third party OTA tool such as this one: https://github.com/MatthewBooth/OTAUpdates. Thoughts please?
[One (M9) Android Development] djsubtronic:
Just noticed there is a build from October 5th, so decided to flash it as the October 3rd one is a bit laggy due to the hotplugging bug, but it remains stuck on the boot animation...
[One (M9) Android Development] drsn0w:
Working fine for me. Have you tried wiping data and flashing? There will also be another build up this afternoon
[One (M9) Android Development] drsn0w:
Oh dear it looks like I flashed the same build...
[One (M9) Android Development] drsn0w:
Horrible lapse of attention to detail on my part. New build will be up as soon as I get home this afternoon. Is anyone else having boot issues?
[One (M9) Android Development] drsn0w:
Sorry for my post spamming but

New build is up! See the second post for a changelog! The lag issues of the 5th should be fixed.
[One (M9) Android Development] Alcolawl:
If you don't mind my asking, what kind of car do you drive? Bluetooth connectivity using Sync in my Ford Focus works for about 10 seconds until I try to play music, then "Bluetooth Share" crashes on my phone. My stereo still says it's connected via Bluetooth but it isn't. Even weirder is the phone still thinks it's connected as well, attempting to play all sounds through a paired Bluetooth device, even though Bluetooth can't be turned on or off. This is running Candy5 ROM which was updated with the latest 12.1 branch 3 days ago. You posted this on October 6th, before the October 7th build (obviously) so I assume you were running the October 3rd build of this ROM? I figured maybe this would've fixed my problems but I guess not :(
[One (M9) Android Development] racerboy3801:
Hey mate, it was connected to a Sony 5050bt headunit and yeah I was on the 3rd Oct build. I didn't test it extensively though, just connected without fault and preceded to play music. I believe it auto-disconnected as intended too.

Hope this helps
[One (M9) Android Development] drsn0w:
There's not been any hima specific commits from Cyanogen's side recently. I'll delve a little bit but I've never fiddled with Bluetooth before.
[One (M9) Android Development] drsn0w:
Could you get me a logcat from when this occurs?
[One (M9) Android Development] djsubtronic:
I drive a Ford Focus too, but using an aftermarket Pioneer head unit and Bluetooth works flawlessly at least for music. Track info and track changing also works, funnily enough it works ever better than Sense which would have intermittent silent gaps every now and then. Haven't tried voice call over Bluetooth yet though.
[One (M9) Android Development] blackknightavalon:
This is what I get every time I try to flash this rom.
[One (M9) Android Development] drsn0w:
What recovry is that?
[One (M9) Android Development] blackknightavalon:
TWRP 2.8.7.1 beta by Captain_Throwback.
[One (M9) Android Development] drsn0w:
Try using the non beta one. Your trustzone doesn't match
[One (M9) Android Development] drsn0w:
Sorry, looks like a mismatched trustzone means you need to update your firmware.
[One (M9) Android Development] blackknightavalon:
Latest firmware available for the dev edition is 1.32.617.30.
[One (M9) Android Development] drsn0w:
That's odd that the trustzone isn't matching...make sure you're indeed on the latest firmware. Can anyone else with a developer edition confirm this issue?
[One (M9) Android Development] drsn0w:
It looks like there is an updated version, correct me if I'm wrong though, I'm not too familiar with HTC versioning as this is my first HTC phone...

I found this: http://xdaforums.com/one-m9/development/firmware-red-t3097678

That's modified without the red text but the version is definitely greater.
[One (M9) Android Development] drsn0w:
Just following up... Did the issue get resolved?
[One (M9) Android Development] Alcolawl:
I would if I could. I just walked outside and got in my car with the intent of getting you a logcat and out of the 3 apps I tried using, none of them could read any logs. They all have root access, I've gotten logcats before, so I have no idea what could be causing this.
[One (M9) Android Development] drsn0w:
That's strange. Do you have a laptop with ADB available?
[One (M9) Android Development] blackknightavalon:
Okay, that got it flashing. Camera works, but it causes the phone to freeze. Still, it's better than the usual force-close. I'm wishing you were a dev during the HTC Vision's popularity. Maybe you could get CM12.1 working on that antique.
[One (M9) Android Development] drsn0w:
Heh. Might even be able to now except I don't have one of em. Plus I bet barely anyone uses the Vision anymore.
[One (M9) Android Development] blackknightavalon:
True. I miss phones with hardware keyboards...
[One (M9) Android Development] drsn0w:
I played around with an (I think) LG phone with a hardware keyboard. Latest OEM version was 2.3 but I managed to get CM9 running....lagged horribly but the HW keyboard was great. Wish I could find that little bugger.

What specifically is happening with the camera? For me it works but force closes whatever app when it detects a face. Are you experiencing something different?
[One (M9) Android Development] blackknightavalon:
I press the button and the phone freezes. If I had the time today to save a logcat I would but for now I had to flash my VenomROM backup.
[One (M9) Android Development] drsn0w:
That's strange. What camera app are you using?
[One (M9) Android Development] blackknightavalon:
The stock one.
[One (M9) Android Development] drsn0w:
Strange. I just took this photo using the stock CM camera app :/
[One (M9) Android Development] blackknightavalon:
I'll give it another shot later.
[One (M9) Android Development] drsn0w:
Try a clean flash. You're talking about the October 7th build right?
[One (M9) Android Development] blackknightavalon:
Believe me, it's a clean flash if I'm switching between ROMs. And yes, latest build.
[One (M9) Android Development] drsn0w:
Right, sorry. Just assumed you'd be updating xD. I find it odd that it's different. As far as I know the hardware on all the variants is the same, its just the CID that's different.
[One (M9) Android Development] blackknightavalon:
Like I said, I'll give it another shot later.
[One (M9) Android Development] djsubtronic:
Yup, today's build works a treat.

However IR still doesn't work for me. I even tried with a clean install, there is no activity on the IR LED (checked using a camera). Could you let me know which app you used where it worked? I wonder if GAPPS has something to do with it - which GAPPS are you using?
[One (M9) Android Development] drsn0w:
I used AnyMote Smart Remote...but I tried it today and it doesn't appear to be working... I'll look into it. I'm using the PA Gapps
[One (M9) Android Development] drsn0w:
I'll fiddle with logcats and such and talk to some people who have it working. Perhaps it's a missing vendor blob or something that simple (oh I hope)
[One (M9) Android Development] djsubtronic:
Thank you.

Could you provide a link for PA Gapps? Everywhere I've seen seems to suggest the development has stopped, and there aren't many Gapps out there for ARM64. Maybe stick a link in the OP as well.
[One (M9) Android Development] drsn0w:
Oh dear I'm thoroughly confused... Saying PA is just a habit for me cuz I used them through cm 10 and 11.. Heh let me find what I used.
[One (M9) Android Development] drsn0w:
Found em. Check out http://opengapps.org

I'll put a link in the OP. I use the Full package.
[One (M9) Android Development] djsubtronic:
Cool, that's the one I'm using as well. So there definitely seems to be an issue with IR. Maybe CM upstream will fix it, because the apps do detect the IR hardware.
[One (M9) Android Development] drsn0w:
Yeah. I'll also see if I can figure out what's wrong and maybe even fix it [emoji3]
[One (M9) Android Development] Alcolawl:
I used to. Now, apparently, after upgrading to Windows 10, ADB just doesn't work. I've tried the HTC ADB drivers but to no avail... This is getting ridiculous lol
[One (M9) Android Development] drsn0w:
Ever tries using an Ubuntu Live USB? If you want I can PM you instructions on how to boot it up and install ADB. ADB doesn't need specific drivers on Linux.
[One (M9) Android Development] djsubtronic:
ADB worked for me with Windows 10 while I was using Sense, but not with CM. But I have the same problem with Windows 7 as well... sooo.........
[One (M9) Android Development] drsn0w:
Never used it on windows so I have no clue..
[One (M9) Android Development] drsn0w:
In developer settings enable ADB over network, then on your computer adb connect (ip of phone)

Might work without driver complaints this way
[One (M9) Android Development] Alcolawl:
I know how to boot from and use Linux. Used it a lot in school. Believe it or not, my flash drive got demolished yesterday so I'm actually shopping for a new one right now -_-

This works. ADB over network is working properly. I ran a test logcat output really fast to a txt file and all I got was:

"unable to open log device 'main'"

So after some digging around, I noticed that I don't have a logger.ko file anywhere in the filesystem, which is probably why nothing can be logged... Starting to think this is a kernel problem.
[One (M9) Android Development] drsn0w:
RIP logcat. I'll check mine when I get home. Hoping this could be fixed with a simple defconfig flag
[One (M9) Android Development] drsn0w:
http://bitmote.com/index.php?post/2013/02/19/Enabling-Logcat-in-Custom-Android-Roms

Perhaps give this a try. I'll see about enabling it in builds
[One (M9) Android Development] Alcolawl:
Yeah I read that earlier after some Googling. Is this a ROM issue or a kernel issue? I'm running Candy5 but installed the Smoocha kernel (I think you've implemented it into your CM12.1 builds, I've seen you post in that thread a few times).
[One (M9) Android Development] drsn0w:
It's kind of both. It's a kernel module but I guess the ROM is responsible for loading it
[One (M9) Android Development] dlads:
FYI I got video camera working using snap camera.. Switch to the different api and it'll work.. ￼

Original post

http://xdaforums.com/showthread.php?p=63180629
[One (M9) Android Development] drsn0w:
Nice! Unfortunately it's not a ROM-wide fix
[One (M9) Android Development] drsn0w:
Though I think something interesting has been discovered.
[One (M9) Android Development] djsubtronic:
Something to mention: placing new music files onto the sdcard doesn't show up in music players/media library for a very very long time. Previously (on Sense) I would drop an mp3 into my "music" folder on external SD, it would immediately show up. But now it doesn't show up, and there's no real way to even guess when it will appear. Sometimes a few minutes, sometimes hours later. I've tried different sd cards, but I get the same issue no matter what. I guess this may be related to the CM-wide issue where apps cannot write to the external SD. Which I find kinda ridiculous... if apps can't write to it, what is the point of an external storage? Lol
[One (M9) Android Development] racerboy3801:
hmmm?
[One (M9) Android Development] drsn0w:
Just a hunch
[One (M9) Android Development] racerboy3801:
ahh you meant the previous post ;)
[One (M9) Android Development] drsn0w:
My hunch ran away to Notre Dame...never mind folks
[One (M9) Android Development] hawks-SOAD:
Hi all,

i seem to be having major issues flashing this ROM, phone is Bootloader unlocked and S-OFF, firmware is 2.10. just goes to the boot splash and get stuck in a bootloop and then reboots. is there anything i can try?

thanks
[One (M9) Android Development] djsubtronic:
Use the latest one from AndroidFileHost (link in OP) not the download section of the post.
[One (M9) Android Development] hawks-SOAD:
Thats the one i have downloaded, downloaded it several times and checked the MD5, running the latest TWRP and i have tried every TWRP from the office website.

This has really got me baffled, every sense rom that i have tried works, every AOSP rom gets stuck in a bootloop then reboots after about 5mins.

Tried wiping system before putting the rom on, Candy Rom ends with "Cannot unmount /system no such volume"

this Rom succeeds with script code "0.20000"
[One (M9) Android Development] drsn0w:
Try using the beta version of TWRP. There's a link somewhere above in this thread.
[One (M9) Android Development] drsn0w:
Taking the weekend off from this because I have another project reaching its deadline. New build will be up Monday or Tuesday afternoon...with OTA support ;)
[One (M9) Android Development] oliver962464:
Wow.It's time to move to CM 12,1 I think.How about battery life?

BTW.http://xdaforums.com/one-m9/general/bounty-htc-one-m9-aosp-cm12-1-camera-t3193175

Wish you can get this .:p
[One (M9) Android Development] drsn0w:
Battery life is pretty great, but I'm building with the SmoochaM9 kernel, not the stock CM one because it supports hotplugging. Battery life with the CM kernel is sub par.
[One (M9) Android Development] skulldreamz:
Backup all your data first and put on pc, external_sd, or usb-otg if you have one. Put rom and gapps on whatever external storage device your going to flash with because wiping data/media will erase everything. Then boot into twrp and wipe system, data, cache, dalvik, internal sd. Then format data by typing yes after hitting big format data button in twrp. Make sure to reboot strait back into twrp so data mounts. Then flash and you will be good to go. When you wipe data normally it only wipes /data, not /data/media/0 which will have some leftover files that messes with the mountpoints I believe. Chmod permissions get thrown off. Anyway formatting data/media will fix that
[One (M9) Android Development] drsn0w:
Thanks for this, I'll put this in the OP this afternoon, if that's okay with you.
[One (M9) Android Development] skulldreamz:
Fine with me
[One (M9) Android Development] hawks-SOAD:
i gave this a try over the weekend and finally worked, thanks for the help.

i did also revert back to Telstra firmware 2.9 which might have helped.
[One (M9) Android Development] Coffinfeeder:
I just noticed today that my phone goes straight to voicemail when someone tries to call me. Has anyone else had this problem? I don't think it was doing this when I first flashed the ROM but I tried clearing cache and dalvik which didn't help.

I can send calls fine as well as receive SMS/MMS.
[One (M9) Android Development] drsn0w:
Strange. Make sure you don't have do not disturb on or anything of the like
[One (M9) Android Development] Coffinfeeder:
I checked all the settings and profiles and couldn't find anything that would kick calls straight to voicemail. If you post the new update tomorrow I'll flash that and hopefully it'll be fixed ;(
[One (M9) Android Development] drsn0w:
New build will indeed be up tomorrow afternoon but no fixes from me. Just upstream stuff[U[/URL]
[One (M9) Android Development] MichaelDrakeMS:
Yes!!! I'm not the only one experiencing this! This problem is happening with me too. On any CM rom on these forums for this phone, anyone that calls me, goes straight to voicemail.
[One (M9) Android Development] drsn0w:
That's really strange. Which edition do you have? I have T-Mobile US and I've had no issues with it.
[One (M9) Android Development] drsn0w:
I fell asleep before I could run the new build, but I promise it'll be up tomorrow afternoon, my apologies
[One (M9) Android Development] drsn0w:
Also, can anyone else confirm that headset microphone doesn't work, or is it just me?
[One (M9) Android Development] MichaelDrakeMS:
I have AT&T US. I am on the latest firmware for the AT&T version of the HTC One M9.
[One (M9) Android Development] Coffinfeeder:
I'm also on ATT as well.

---------- Post added at 09:21 PM ---------- Previous post was at 09:20 PM ----------

Its weird because it sometimes works normally. At lunch time today a friend of mine called my phone and it rang. That was the only call I received today that didn't go straight to voicemail (out of maybe 4-5).
[One (M9) Android Development] skulldreamz:
This is had been happening to me for about the past week. So i called T-Mobile after checking everything possible on my own and they told me that they are doing a major reconstruction of updated towers and that they have had many calls about this issue so probably if your in the U.S. that's the issue, at least with me. I love in Baltimore, MD
[One (M9) Android Development] drsn0w:
Los Angeles here, no issues
[One (M9) Android Development] drsn0w:
Nevermind!
[One (M9) Android Development] drsn0w:
I read through the camera bounty thread and found a commit on gerrit about the camera. Next week's build will incorporate some more camera fixes, hopefully a headset microphone fix, and (if I have the time to write a quick server) OTAs!!!!
[One (M9) Android Development] drsn0w:
Due to an unexpected failure of my stupid GPU I can't upload the build until tomorrow when my replacement comes. Apologies :'(
[One (M9) Android Development] Alcolawl:
That sucks.. You need a graphics card to build a ROM? Does your motherboard not have integrated graphics? Or are you on a laptop?
[One (M9) Android Development] drsn0w:
My motherboard doesn't have onboard and my CPU is an FX6300 so no integrated. ordered me a nice R9 tho.
[One (M9) Android Development] drsn0w:
Hehe. Rigged up a nice little trick with eSATA and an old PSU. Got the zip off my desktop. It'll be up within a few hours (uploading while I watch the Bourne trilogy [emoji14])
[One (M9) Android Development] Alcolawl:
Solid choice. Running a R9 270x here. Anyways, glad to hear you've rescued the ZIP!
[One (M9) Android Development] drsn0w:
Heh looks like I'm one-upping (ten-upping?) you with a 280X. Yeah. Gonna be a mind blowing improvement over my GT440. Any who that's OT, sorry mods :)
[One (M9) Android Development] drsn0w:
New build is up featuring the awesomely amazing...upstream CM fixes. You'll notice a Security Patch date in your about phone. Thank you Google!!!
[One (M9) Android Development] racerboy3801:
So what kind of camera fixes have been implemented since the oct 3rd build?
[One (M9) Android Development] drsn0w:
Nothing new since nothing has really been done on it. Well until a few days ago but I didn't have time to put it in the October 13th build. You'll see some more next week [emoji14]
[One (M9) Android Development] drsn0w:
Tonight I'm gonna run a few experimental builds...I may or may not have a surprise (;
[One (M9) Android Development] jrplaga25:
Hey guys, how you manage to flash this Rom?

No matter how many times I wipe (dalvik,cache,data & system); I always get the same error, (executing updater binary in zip.......)

Build number: 2.10.401.1

TWRP: v2.8.70
[One (M9) Android Development] drsn0w:
What's the full output log? There should be an actual error message above it.
[One (M9) Android Development] jrplaga25:
intsalling '/external_sd/....../cm-12.1 -2015.....

checking for MD5 file...

skipping MD5 check: no MD5 file found

comparing TZ version TZ.BF.3.0.R1-00142 to TZ.BF.3.0.R1-00115

assert failed: hima.verify_trustzone("TZ.BF.3.0.R1-00142") == "1"

E:Error executing updater binary in zip '/external_sd/....../cm-12.1 - 2015......zip'

Error flashing zip '/external_sd/..../cm-12.1-2015...zip'

....done
[One (M9) Android Development] drsn0w:
Update firmware
[One (M9) Android Development] jrplaga25:
Which one if yours? 2.10.401?
[One (M9) Android Development] drsn0w:
Latest T-Mobile US
[One (M9) Android Development] drsn0w:
Which edition do you have?
[One (M9) Android Development] MichaelDrakeMS:
For those that were experiencing incoming calls going straight to voicemail, is the problem still happening in the new build? Or is everyone receiving incoming calls successfully?
[One (M9) Android Development] jrplaga25:
T-mobile edition, ViperOne m9 3.5.0 Rom, 2.7.531.4 cl560065
[One (M9) Android Development] drsn0w:
You'll need to update the firmware
[One (M9) Android Development] quinn583:
I still am not receiving calls on AT&T. I've seen this on other ROMs and the only way it was fixed was the ROM getting VoLTE support.
[One (M9) Android Development] blackknightavalon:
Getting there, but the front camera crashes when I try to take a picture. That's really all I'm testing on this ROM before I use it as a daily driver. Everything else should work on the dev edition.
[One (M9) Android Development] drsn0w:
Front camera crashes when it sees your face. (; No really! Face detection crashes the app heh. Sorry couldn't resist.

Also, no surprises for tomorrow. In the process of installing my new graphics card I fried my SATA controller...
[One (M9) Android Development] MichaelDrakeMS:
Wow, that would explain that. I would have never guess. Do you think this would work, I converted my AT&T HTC One M9 into a Developer HTC ONE M9. (CID=BS_US001). So if i install this rom on my phone, you think I will still be able to receive calls?
[One (M9) Android Development] n3m35155:
For those with incoming call issues.... Can you call out??

Check to make sure that the "Preferred Network Type" is set to LTE/GSM Auto (PRL)

To get to it, in the dialer app, type *#*#4636#*#* then select Phone Information
[One (M9) Android Development] quinn583:
Yes, I can make outgoing calls on LTE and receive calls when set to 3G. I feel like if I can turn off the VoLTE provisioned flag incoming calls would work on LTE, but I've never gotten it to actually switch to off.
[One (M9) Android Development] Leebert225:
Good day everyone,

I currently am running http://xdaforums.com/one-m9/orig-development/rom-cyanogenmod-12-1-beta-1-t3150777 on my M9. I would like to flash this rom but I'm just not sure how to check which firmware version I have, can someone point me in the right direction to find this out?

I'm rooted of course and S-OFF, htc_himaulatt.

Thanks in advance.
[One (M9) Android Development] liam_davenport:
Reboot to Download Mode, Power off - Hold down power and volume down till reboots into Download Mode

Should come under OS-2.xx.xxx.x
[One (M9) Android Development] Leebert225:
Thank you very much, I'm on "OS-1.32.669.6". Would I need to update the firmware to run this rom?
[One (M9) Android Development] liam_davenport:
You need latest 2.10 firmware to boot this rom I believe, Their is many threads in the development section on how to flash ect :D:good:
[One (M9) Android Development] drsn0w:
I'll start working again tonight after the Hawks game, and after I install my new motherboard... Replaced every component except hard drive and CPU...
[One (M9) Android Development] throcker:
that was quick!

will this be a specific device fix rom or just for upstream changes in cm code?

EDIT: sorry just read back. good anyway
[One (M9) Android Development] drsn0w:
Monday/Tuesday's build will include OTA (if I find the time to write a server), perhaps some camera fixes, aggressive feature picks from Gerrit, and hopefully I'll be able to fix the mixer paths for the headset mic
[One (M9) Android Development] daitarn1972:
Sorry for the question, the latest build have the italian language?

Thank's guys
[One (M9) Android Development] drsn0w:
All of them should (:
[One (M9) Android Development] daitarn1972:
It's amazing, thank for your great job
[One (M9) Android Development] drsn0w:
Always happy to help the community :D
[One (M9) Android Development] Coffinfeeder:
Yes, amazing work. I'm also able to receive calls when turning off LTE like the previous poster so I'll make due with HSPA+ until something changes.

So it must be an issue with VoLTE on ATT models