yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] cmattern:
Encryption

Has anyone gotten data encryption working on this ROM? I noted some others who were having issues and had hoped that it would wash out over time but I'm still not able to encrypt on 14.1 as of the 12/17/16 nightly. The symptom I have seen is that the encryption process runs and counts down to 00:00 but never actually reports complete. On a forced reboot I am prompted for password with the full keyboard (I'm trying to use a an 8 digit pin and on older ROMS as well as 14.1 on a Nexus 6p I get a 10 digit key pad instead a full keyboard, only when I have used a password in the past have I seen a full keyboard so I'm thinking that there is some sort of flag as to whether it's a password or a pin) after entering my pin I get the message that my password is correct but that my data is corrupt and a prompt to reset my phone. I had also seen a thread indicating that 14.1 would accept a previously encrypted data partition from an earlier release so I:

Rebooted to TWRP

Wiped data

Wiped / system

Flashed the latest 12.1 snapshot

Rebooted and went through setup

Started the encrypt data process which ended normally

Rebooted to the ROM

Went through the decrypt process with no issues

Rebooted to TWRP

Went through the decrypt process with no issues

Wiped data after decryption

Wipe /system

Flash 14.1 12/17/16 nightly

Rebooted to decrypt

Got the full keyboard

Got the corrupt /data message

Reboot to TWRP

Go through decrypt dialog with no issues (clearly /data is OK)

Wipe /data

Wipe /system

Flash to most recent 12.1 snapshot

Reboot

Go through the decrypt dialog with the 10 digit virtual keypad with no issues so clearly the data is not corrupt

So 14.1 nightly on my device cannot deal with an encrypted filesystem from 12.1 and cannot create one on it's own but I had been running the same devise encrypted for well over a year on 12.1 and 13.0 and it still runs fine with encryption on 12.1, I just can't find a 13 ROM to put back on it. Next steps?
[One (M8) Original Android Development] ian_mcxa:
Could you submit the logs from trying to encrypt the phone?
[One (M8) Original Android Development] Eurofighter_ty:
If you still have the log please send it to me also to take a look. Hotspot is broken on some or not all CM devices except Nexus :D
[One (M8) Original Android Development] DROITURK182:
I will when I get home tonight, it's on the laptop.
[One (M8) Original Android Development] DROITURK182:
Here is the logcat for both.

Here you go, one for the wifi connection issue and one for the hotspot.
[One (M8) Original Android Development] bernyfur:
But, Duo Camera working? How to use again Ufocus ?

Thanks for amazing work devs!
[One (M8) Original Android Development] Isotopes:
Nobody an idea what that could be :crying:
[One (M8) Original Android Development] fearfighters:
Anyone from Canada try the ROM recently? Has the boot loop issue been fixed?
[One (M8) Original Android Development] SB1990:
No boot loops for me unless I try to get my location. Everything else working just fine.
[One (M8) Original Android Development] Parkuman:
Hey man! No, the bootloop issue is NOT fixed, but I've managed to use the ROM as a daily driver for the last few days now and it's been fairly great.

Disabling location services will stop the bootloops, and once you're connected to either Wifi or data, you CAN turn location services on and it works just fine.

It's only until you disconnect and reconnect to the internet does the device restart. As long as the location services are turned off before connecting to the internet the device works as it should.

It seems the initial connection to the internet with location services on is what causes the restarts.
[One (M8) Original Android Development] justinchao740:
Which elemental x kernel can I use for cm 14.1
[One (M8) Original Android Development] SB1990:
Aren't they made for either Sense or GPE?
[One (M8) Original Android Development] justinchao740:
Yeah so I was d wondering if any of then will be compatible with cm 14.1
[One (M8) Original Android Development] SB1990:
Doubt it
[One (M8) Original Android Development] justinchao740:
My kernel and android os is draining most of my battery. Is this only happening to me? It happened before and the battery was awful, but after a while the battery got better but kernel is still top bateau sucker. The battery isn't horrible, I can last the whole day without charging but why is it the top battery sucker.
[One (M8) Original Android Development] Leon:
Actually you will be surprise but some people report that they can boot the device xD but yeah, this kernel it's not made for cm so it's not recommended to use it.
[One (M8) Original Android Development] Zile995:
That's because ElementalX uses anykernel install method. ElementalX kernel installer modifies existing boot.img :)
[One (M8) Original Android Development] dyfk3l:
Have you tried Team M8 kernel (with some tweaks) yet?

http://xdaforums.com/htc-one-m8/development/unofficial-cyanogenmod-14-t3490208

Can be flashed over 14.1 nightlies.

PS: You're signature GIF is making me sick.
[One (M8) Original Android Development] justinchao740:
I am on team m8 kernel and I have underclock to 1700 MHz with multi core power saver, arch power saver and auto sleep.
[One (M8) Original Android Development] cmattern:
I believe this is where we run aground:

12-19 11:10:13.663 5549 5549 W vold : type=1400 audit(0.0:29): avc: denied { read write } for name="mmcblk0p32" dev="tmpfs" ino=10031 scontext=u:r:vold:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=0

So vold is refused read/write permission on mmcblk0p32 which I would normally fix with a policy update but based on my reading and poking standard selinux tools are not part of the distribution. I can happily run a chcon on the device file and am looking for the appropriate context but that only fixes it for me and only until the next time an selinux refresh is triggered or I update my ROM.

12-19 11:10:13.656 945 2300 D CryptdConnector: SND -> {12 cryptfs enablecrypto inplace pin [scrubbed]}
12-19 11:10:13.659 945 1425 D CryptdConnector: RCV <- {200 12 0}
12-19 11:10:13.668 258 5549 E Cryptfs : Cannot open footer file /dev/block/platform/msm_sdcc.1/by-name/extra for get

This error should do more than log and merrily go on about it's business. We should get a user visible error here.

12-19 11:10:13.703 258 5549 D Cryptfs : Just asked init to shut down class main

And going ahead with the shutdown in spite of failing to set up the operation properly is a problem as well

But, unless a similar mechanism is used to update the format of the encrypted volume is embedded in the update logic to get from an older format used with cm<14.1 to one used by cm>=14.1 (which I am guessing at, I don't know if that's actually the case) then there is still something else afoot.

I can submit the full logcat if anyone would find is useful . Also if I should take this elsewhere please tell me where to go, my wife does all of the time so it will be nothing new... :)
[One (M8) Original Android Development] baxter006:
Does anyone know if Google cardboard should be working? I've read cm 13 didnt work with Google cardboard vr apps. Currently on 12.1 stable until cm14 gets vr support and themes.

Also does tap and pay not work with cm? When I had a HTC desire 620, one of the guys on XDA build a unofficial cm that had tap and pay working.
[One (M8) Original Android Development] supaet:
any way to disable to system write protect on this

flashed m8-mmgpe-wp_mod and it still doesn't work, I don't think there is a nougat version of wp_mod.

I have used unofficial CM14 before and it doesn't have this issue
[One (M8) Original Android Development] FrickDude:
Wi-Fi Hotspot FIXED!

The WiFi Hotspot is FINALLY Fixed! Fixed for me on cm-14.1-20161219-NIGHTLY. I will most likely not be flashing anymore until we get a snapshot or something. Didn't realize how much I needed the hotspot. Thanks devs!

Rear facing camera still going crazy trying to auto-focus as hard as it can making the most terrible grinding sound though. Oh well.
[One (M8) Original Android Development] Ghosign:
WOW! Thanks for telling this, it's important for me, too.
[One (M8) Original Android Development] miffymiffy:
Is it though? I dont see any commits that indicate a change.

Are you able to connect to the hotspot and use internet?
[One (M8) Original Android Development] Ghosign:
I'm still downloading it... the netspeed in my school only 1Mbps. At least 20161218 didn't solve this problem. I'll reply again later.
[One (M8) Original Android Development] umidbek_97:
Yes
[One (M8) Original Android Development] Ghosign:
Good news! W-Fi Hotspot, USB tethering, Bluetooth tethering is working well now.
[One (M8) Original Android Development] xXArisXx:
I love this AOSP ROM

When I installed the rom using TWRP, it has 2 LOG fails, is it important? I'm using TWRP 3.0.2 on HTC M8 wl version... CyanogenMod starts without problems, but I use Spanish lenguage, and ettings do not translate correctly. Also some Root Apps like Purify, CCleaner, SetCPU, didn't work with SuperSU flashed via TWRP... it has to improve however is stable (As far as I could use it) and I like it, I downgrade to CyanogenMod 13 cause I need Xposed, and some other root apps. please don't stop improving it. :)
[One (M8) Original Android Development] justinchao740:
Why would you need super su to be flashed? The rom comes prerooted. You just need to enable root under the developer option setting after enabling it by clicking build number a few times. The two log fails are totally fine, I have it everyone I install this rom and it effects nothing.
[One (M8) Original Android Development] ClassicalDude:
Hi all,

This rom breathes new life to a terrific device. Thank you to all devs!

I have a question on bluetooth map profile. With stock sense rom my car got both sms messages and emails from the htc mail app. With cm it gets only sms, also if I install the htc mail app. Is there a fix for this issue?
[One (M8) Original Android Development] Parkuman:
Hey there! Thanks for all the hard work. I've tried the newest version and I'm still having the SIM card bootloop issue. I and many others on Canadian networks ( [MENTION=7591376]Ap3xGam3r[/MENTION] ) are having the same issue where our phone will reboot within a few seconds or minutes after the SIM card is detected and our location services are on. When the SIM card is removed it seems to work just fine. I've heard people on Bell, Telus, Koodo (who i'm with) and Rogers are having the same issue.

I've tried installing every version since UNOFFICIAL 11/12 and the issue still persists.

Any help would be appreciated as I'd love to help out with finding other bugs and whatnot it the newest versions.

Thanks a bunch!

I've got the logs as well: https://drive.google.com/file/d/0B_eVDi3sz_pUTUFaRkdKZ0E0UEk/view
[One (M8) Original Android Development] PartimusPrime:
Man I really love running this on my M8...took away the itch to get a new phone :)

So far everything has been running great an I've been running all the official nightlies, currently on the 12/2 version. However, I've had issues with GPS staying locked on the signal...like it locks and as i an using google maps it will go into "searching for GPS" and direction of travel will mess up as well. Ive downloaded GPS Status from the play store and it's helped a little. Anyways, I'm just wondering if anyone has trying navigation with google maps and has encountered any issues with the GPS losing signal. Thanks. :D
[One (M8) Original Android Development] ahmed.ismael:
the kernel is available at the unofficial builds thread as flashable zip in OP

Edit:

Here is the posted flashable kernel

http://xdaforums.com/htc-one-m8/development/unofficial-cyanogenmod-14-t3490208/post69887692
[One (M8) Original Android Development] :
Hey guys..

The Android 7.1.1 is rolling out..

http://m.gsmarena.com/android_711_n...general_mobile_4g_android_one_-news-21972.php

Will this affect our Roms..?
[One (M8) Original Android Development] Eurofighter_ty:
Android 7.1.1 wasn't released to AOSP yet.
[One (M8) Original Android Development] 1aladdin1:
org.cyanogenmod.bugreport crash

see logcat attached
[One (M8) Original Android Development] darkcube86:
Sprint M8 here. 12/2 build is still saying "Domestic Roaming" at all times even when not roaming just like the old builds were.

Everything else seems to be working correctly. Thanks!
[One (M8) Original Android Development] Eurofighter_ty:
We know about the issue and for now disable the location services as a workaround. We don't have a fix yet for this beacuse we can't figure out where the problem is even with the logcat so it may take a long time to fix this.

And what is your issue?
[One (M8) Original Android Development] 1aladdin1:
as already mentioned in the title of my post: org.cyanogenmod.bugreprort crashes

additional info: this happens a couple of seconds after boot without further user intervention
[One (M8) Original Android Development] Eurofighter_ty:
I saw this in the logcat. We can't fix these kind of problems. CM will fix them. We fix problem related to the device like Wi-Fi stops working, RIL is crashing etc...
[One (M8) Original Android Development] 1aladdin1:
Is CM-team already aware of this issue or should I address it to them?

If yes, how to do this?
[One (M8) Original Android Development] Eurofighter_ty:
Yes, they are aware beacuse the devs also use Cyanogenmod as their daily driver to make sure that everything is okay.
[One (M8) Original Android Development] 1aladdin1:
Large SD cards only with FAT32

I experience a strange difference in behaviour concerning mounting external SD cards. I have two cards, the smaller one 8GB. On this card I can use various file systems (tried fat32, ext4, f2fs) and it gets mounted as expected.

My second card is 64GB large. This card is mounted only if it is formatted using fat32 filesystem. If I use ext4 or f2fs, it is much the same as if the card was unformatted and consequently reformatting dialog is presented.

Why doesn't get the 64GB-card mounted when I use ext4 or f2fs?
[One (M8) Original Android Development] Parkuman:
Awesome man! Thanks for all the hard work
[One (M8) Original Android Development] darkcube86:
One other issue, unsure if related or not is that com.android.phone crashes when trying to enter carrier settings.

Attached a log of these phone booting up, waiting a couple minutes and then opening carrier settings followed by the crash.

Maybe that will help you track down the Domestic Roaming issue and/or the carrier settings crash.

Thanks!

ht tp://cloud.tapatalk.com/s/5842e75fe760e/2016-12-03-10-31-52.txt
[One (M8) Original Android Development] justinchao740:
So I can just flash this one over the official nightly kernel without any problem right?
[One (M8) Original Android Development] Imotep95:
https://review.cyanogenmod.org/#/c/177964

Dan d man [emoji119]
[One (M8) Original Android Development] justinchao740:
What there's a camera problem? I don't have it
[One (M8) Original Android Development] SB1990:
That does not sound normal. I am not hearing this at all with my phone. A terrible grinding sound gives me the impression it's a hardware issue.
[One (M8) Original Android Development] FrickDude:
Yes. That is how I figured out it was finally fixed. No Errors this time. Played Pokemon Go with the hotspot to verify. I immediately went to the commits to check why I didn't notice it before and that's because it wasn't mentioned. Found that odd.
[One (M8) Original Android Development] fearfighters:
Thanks! I am just hoping they fix this issue soon. I am dying to try nougat out!!
[One (M8) Original Android Development] supaet:
no one else have this issue? adaway host can't be installed because of this
[One (M8) Original Android Development] miffymiffy:
Update adaway to a more recent version. there is no need for the mods you are attempting.
[One (M8) Original Android Development] bschmidy10:
Hey guys I have no cell data at all, I just unlocked my device thru the mobile successfully and clean flashed 12/18 nightly, no cell connection. It shows the mobile is connected but no bars and no data. Apns show up properly. I had to flash back to 6.0 stock to unlock then went back to cm14.1 as I said, maybe I downgraded the radio by accident? Can someone point me where to get latest radio? Thanks guys.
[One (M8) Original Android Development] djlukas1983:
Enable root in developer settings. You don't need any of that mods.

WysÅ‚ane z mojego m8 przy uÅ¼yciu Tapatalka
[One (M8) Original Android Development] supaet:
it's already enabled, it's not only adaway, using titanium backup to remove any system apps, it comes back after reboot

there is no wp mod for nougat at the moment
[One (M8) Original Android Development] olkitu:
elephonyManager.getAllCellInfo() not working. On stock rom that working. On attachment i add screenshot from *#*#4636#*#* and you see there shows very bad information. EARFCN is fake, also RSRP is very bad.

RIL not implemented correctly?

https://android.googlesource.com/platform/hardware/ril/+/master/include/telephony/ril.h

I should get about this info (from stock rom):

RSRP -70

RSRQ -8

SINR 15

RSSI -51

EARFCN: 1598

/dev/diag i try run but missing on this rom. On Stock rom this working fine.

Device: HTC_One_M8
[One (M8) Original Android Development] umidbek_97:
Install busybox
[One (M8) Original Android Development] sanscreech:
Download "root essentials" from the play store to mount system rw. Working well for AdAway and making apps system apps as well as removing system apps
[One (M8) Original Android Development] :
Guys..Are you still experiencing hotspot error..?

I still on the 20/12 build..
[One (M8) Original Android Development] xdagee:
No it works now, it was fixed since build 19/12
[One (M8) Original Android Development] :
I don't know why I still experiencing it on 20/12 build..

https://drive.google.com/file/d/0B45ii4-oLYx2b2xxOE5NZFFWdms/view?usp=drivesdk

https://drive.google.com/file/d/0B45ii4-oLYx2TE9kd3dDTHo5R1U/view?usp=drivesdk

I need help.. Please..!!!
[One (M8) Original Android Development] xdagee:
It works here, I did a dirty flash.

Are you on a custom kernel or you did you do any modifications on the previous build.

I dont know whats wrong, try reboot into recovery and wipe cache & dalvik and try again.

If not back up your files and do a clean flash to see if it will work.

Confirmation
[One (M8) Original Android Development] :
I will try a clean flash and then I'll report back..
[One (M8) Original Android Development] xdagee:
Sure thing ?
[One (M8) Original Android Development] :
I've tried to do a clean flash but the error still there..

I'm using a custom kernel..may it be the problem..??
[One (M8) Original Android Development] xdagee:
Firstly, How did you do clean flash with custom kernel?

Did you flash the kernel after installing the ROM + Gapps or what?

Go completely clean. Backup first

Reboot into recovery

Wipe cache, wipe Data, wipe dalvik.

Now install cm-nightly.zip, install Gapps & reboot.

Setup and everything should work.

Secondary, are you S-ON or S-OFF?

If you are S-ON then try to flash CM boot.img.

extract the zip and flash boot.img via flash boot.

fastboot flash boot boot.img

Now reboot and try again.
[One (M8) Original Android Development] :
Is there any for 20/12 build..?
[One (M8) Original Android Development] umidbek_97:
Yes, this is because of a custom kernel
[One (M8) Original Android Development] xdagee:
Yes but there is an update to the kernel which fixes the hotspot issue. Download and flash via recovery.

http://xdaforums.com/htc-one-m8/development/unofficial-cyanogenmod-14-t3490208/post70201101

Otherwise you can extract the boot.img from cm-nightly.zip and flash via fastboot. Just like how I have inscribed in the previous comments.
[One (M8) Original Android Development] umidbek_97:
Thanks
[One (M8) Original Android Development] Francesco0301:
How can I try to run /dev/diag? Thanks bro, any helps are appreciate!
[One (M8) Original Android Development] olkitu:
Thanks for answer :)

So example i use this application what use /dev/diag reading from Qualcomm mdoem information about mobile network.

https://play.google.com/store/apps/details?id=com.qtrun.QuickTest&hl=en

But important think fix this RIL issue because want real data from Android RIL and Band information. Seems all Cyanogenmod version have similar issue showing wrong Band info (always Band 1).
[One (M8) Original Android Development] David 617:
A 100% working RIL is very very hard. This is probably as good as its gonna get. It work and connects fast, I'd say that's a win.
[One (M8) Original Android Development] Sholawayde:
Works

It works 100%, thanks I'm on nightlies 2016-12-18:good:
[One (M8) Original Android Development] mfgchen:
I have problems with the 2016-12-16 nightly and encryption. Haven't tested it with a new nighty yet because the phone is in testing at a colleague over the holidays.

The problem is, that will not finish. It is at 100% but than nothing happens.

I read this for another phone (One Plus 3 I think) and there it is fixed since 1 week or 2.

Someone have the same problem?
[One (M8) Original Android Development] harib12:
Usb file transfer. Dosnt. Work. For. Me. Can someone please help
[One (M8) Original Android Development] mfgchen:
change to camera transfer, than to file transfer - this works for me
[One (M8) Original Android Development] cezeto:
My pixel launcher redraws itself every time I leave an app. Any suggestions?
[One (M8) Original Android Development] shadow410:
Which gapps should I choose ??
[One (M8) Original Android Development] ahmed.ismael:
personally i used aroma,but nano is recommended
[One (M8) Original Android Development] shadow410:
Thanks but Platform ARM rights ?
[One (M8) Original Android Development] xdagee:
Yes
[One (M8) Original Android Development] ian_mcxa:
Yes, a few of us have. I think it may be an upstream CM14 problem, but I'm not sure.
[One (M8) Original Android Development] cmattern:
At least part of the problem is related to an incorrect selinux context. I posted some logcat output a few days back but have not had time to work on it since.
[One (M8) Original Android Development] akc47:
Canadian SIM issue

Hello. I was just wondering if the bootloop issue for Canadian users is being worked on. The temporary fix of disabling location services works, but I do need location services for a few of my apps. I've looked through the thread, and while there has been a lot of reports about the issue, there doesn't seem to be any confirmation that a permanent solution is being worked on.

Thanks.
[One (M8) Original Android Development] Roarmaster:
Hi, it looks like as of the Dec 24 nightly that the bootloops caused by Ril and the activation of location services seemed to have stopped for us Canadian users. although the GPS is still not working properly, this is pretty nice :)

Edit: under telus
[One (M8) Original Android Development] lehthanis:
Just briefly read a post about cm shutting down and forking to lineage. Does that mean dev on this will stop?
[One (M8) Original Android Development] Leon:
+1

http://www.androidpolice.com/2016/12/24/cyanogen-shutting-service-nightly-builds-december-31-2016/

is it dead ?

worst christmas gift ever ... rip cyanogenmod < 3
[One (M8) Original Android Development] Krendelrus:
It looks like CyanogenMod is going to be rebranded to LineageOS. However, the situation about nightlies and stuff is uncertain.
[One (M8) Original Android Development] akc47:
I'm on the latest nightly, but the problem still persists.
[One (M8) Original Android Development] Captain_Throwback:
So, time to fork this to LineageOS?
[One (M8) Original Android Development] Imotep95:
We can always build unofficially, thats not hard. They said all codes/sources will be up for those(us) who wants to build.

I seen some m8 forked stuff weeks ago. Shouldn't be hard to keep it updated imo.
[One (M8) Original Android Development] lehthanis:
Thinking about flashing this, even though the grim news about cm today... What's not working yet? I'm currently on a cm13 October nightly. Lol