yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] cmattern:
the end of my dailies

Since the core team now has LineageOS OFFICIAL builds going for the m8 I'm going to discontinue posting my daily uploads here, I think it healthier if we all focus on the mainstream, more eyes on one target leads to better quality control. Since the m8 is no longer my daily driver I'll likely stop my daily builds unless there is someone out there who finds it beneficial and if so I'll just quietly upload to AFH.
[One (M8) Original Android Development] CutGlass:
I fear that within this forum this may still be an issue, the lack of ability to bug report.
[One (M8) Original Android Development] CutGlass:
A further couple of notes. I've been using Cmattern's builds (last ROM installed yesterday). My phone is encrypted. When using experimental (today) the phone claims it needs a total reset from the beginning as if it does not recognise the encryption before his patch( data allegedly corrupted) it also displays a very different decryption screen. Can't take a screenshot or at least have not worked out a way when I just restore from a backup but that overwrites my storage.

Second issue, a dirty flash on top of cmattern's nightly fails but if one is using the TWRP app to just do a straight flash from the phone then the phone reboots, you think it's installed then if you look at the About Phone screen you see that you are still using cmattern's build. Further investigation rebooting to recovery and flashing shows that the official lineage nightly refuses to dirty flash. There is a log when I have the time I will reflash and see what information I can save out to the SD card.
[One (M8) Original Android Development] morr22066:
Just flashed the official nightly

So far things appear to be running well. But, I have not been able to get adaway to work. It doesn't seem to be able to write to the system to update the host files. Has anyone had this problem it found a solution?

*Installed adaway 3.2 and now it's working.
[One (M8) Original Android Development] ADB100:
root on official lineage os?

According to the Lineage OS site official ROMs will not be shipped with root baked in: http://lineageos.org/Update-and-Build-Prep/

It also says '◦Root will be a downloadable zip based install similar to gapps installation (only need to flash it once).' They don't have any links to this downloadable zip so I am guessing that it isn't something the Lineage team will be providing and it will be a 3rd party download or am I missing something? Will the developers menu still have the 'root access' option but it won't work unless 'SU' is installed? All the downloadable zip's to install SU seem to contain a SuperSU manager as well - something that is built-in to CM (Manage root accesses in the developers menu).

Andy
[One (M8) Original Android Development] mraacidd:
Same thing happened to me. I dirty flash over unofficial 25012017, n got the error msg "password is correct but the files are corrupted. so I formatted n did a clean flash. root works from the box. adaway works, was also able to change macaddress. encryption also working.
[One (M8) Original Android Development] IURII G:
Just flash official lineageOS. Add pixelnav bar flashable and get bootloop because of that. So if anyone find the way to get pixel navbar and blue ui for lineage please post here.
[One (M8) Original Android Development] umidbek_97:
nothing for pixel navbar
[One (M8) Original Android Development] @di:
Hi, how can I see the temperature on the pixel launcher home screen date and day widget. I was able to see the information on the unofficial version yesterday but on nightly version I am not able to see.
[One (M8) Original Android Development] umidbek_97:
here a link https://xdaforums.com/google-nexus-5/themes-apps/pixel-launcher-7-1-1-weather-t3483820
[One (M8) Original Android Development] CutGlass:
If you just flashed from the beginning, you may have forgotten to install substratum (I recently had a play with this so remember the steps) CM 14.1 and AFAIK lineage do not ship with a theme engine.

---------- Post added at 01:16 PM ---------- Previous post was at 01:13 PM ----------

I'm still investigating to see if there is a way to get around this because I have some legal issues that require me to keep back ups of text messages in particular (they are stored off-device as well, it's just that a few last night were missed when I was testing out the official version).

I am assuming that your clean flash was the nightly and not experimental ?
[One (M8) Original Android Development] mraacidd:
yes. the nightly. also noticed when I flashed the nightly, had zip verification error. I unticked n flash again. I also noticed that for the unofficial version startin 24012017, after encrypting the device, when connected to my laptop, I was unable to mount it on any file manager. Dint notice if before. Is it a norm?
[One (M8) Original Android Development] CutGlass:
No that's not normal but is probably an ADB access setting (if you are in recovery) or a USB charging/ file transfer setting. Just check when you you plug it in to the laptop, the icon in the status bar is not set to charging only (which appears to be the default) when it should be transfer files.

I'm not at a stage where I can test this bit out as I am photographing the lock screen differences (as the device is locked and encrypted screenshots cannot be saved before the password is entered).
[One (M8) Original Android Development] justinchao740:
Wait how do you get root access on the new lineage os now? Can you link me to the for that is needed?
[One (M8) Original Android Development] Imotep95:
https://download.lineageos.org/extras

Arm su zip.

Although​ I flashed supersu v2.79 rs3, old habits..
[One (M8) Original Android Development] justinchao740:
Does super su work as well?
[One (M8) Original Android Development] hans109h:
Yes, v2.79 worked.
[One (M8) Original Android Development] quasihellfish:
Hopefully everybody has read their latest blog post regarding how to migrate from CM to LOS. Experimental should be flashed only as a stepping stone to the official LOS nightlies.

Root is available as a separate download from their Extras page. https://download.lineageos.org/extras
[One (M8) Original Android Development] CutGlass:
Yes I did but the issue is that encryption is not working with the experimental builds we've got two people that had stable encryption, install experimental and get the "your data is corrupted" message. I'm trying various workarounds but so far the only option is to completely erase and install nightly.
[One (M8) Original Android Development] djlukas1983:
They talked about weekly builds, does it mean there won't be nightly builds?
[One (M8) Original Android Development] ADB100:
Yeah - I noticed that earlier. The 'Extras' weren't there yesterday...
[One (M8) Original Android Development] justinchao740:
I'm having problem flashing the nightly lineage os here is the log I copy from recovery.log.I also included the full log. I also tried wiping system and flash but result is the same. please help.

Installing zip file '/sdcard/Download/lineage-14.1-20170125-nightly-m8-signed.zip' Checking for MD5 file... Skipping MD5 check: no MD5 file found I:Zip does not contain SELinux file_contexts file in its root. I:Legacy property environment initialized. Target: 1485358309 Target: 1485358309 detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system about to run program [/tmp/install/bin/backuptool.sh] with 2 args run_program: child exited with status 127 about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args You have an installed system that isn't signed with this build's key, aborting... run_program: child exited with status 124 script aborted: Can't install this package on top of incompatible data. Please try another package or run a factory reset Can't install this package on top of incompatible data. Please try another package or run a factory reset Updater process ended with ERROR: 7 I:Legacy property environment disabled. Error installing zip file '/sdcard/Download/lineage-14.1-20170125-nightly-m8-signed.zip' Updating partition details...
[One (M8) Original Android Development] Healtheater:
You have to flash experimental build first, reboot, then boot into recovery again and flash nightly build. Afterwards you should be fine.
[One (M8) Original Android Development] DROITURK182:
I'm on the official from yesterday, but having trouble with NFC, anybody else have the problem and if there is a fix..
[One (M8) Original Android Development] CutGlass:
Encyrpted before? don't bother a straight flash

Do a full android backup. Wipe your system. Re-install your backup, then try from there and re-encrypt later IGNORE!!! - please read later posts.

I have tried every combination including setting a differing encryption passphrase to the PIN (because it brings up a keyboard similar to the one in experimental that fails to decrypt).

I have yet to get a working LineageOS that was not from cmattern's (much appreciated) nightly builds mainly because of trying to sort out this encryption issue, but then experimental hung. So currently my advice on re-encypting after the fact with the builds from the 25th may not be valid, but will be updated.
[One (M8) Original Android Development] morr22066:
GPS not working?

I'm in Verizon in the USA and GPS is not working at all. I remember reading some posts about Canadian users having some issues, but I thought GPS was working for the rest of us. Did I miss something? Is there a fix? I've tried GPS tools from the play store but it is not finding any satellites.
[One (M8) Original Android Development] DROITURK182:
Make sure you have high accuracy on
[One (M8) Original Android Development] morr22066:
GPS not working?

Yes, I have it on high accuracy, I've toggled airplane mode, rebooted and even tried to reinstall the official nightly. I did a fresh install of the latest official nightly. But still no GPS.

Also noticed that WiFi keeps dropping, it reconnects but drops frequently and I'm in the same room with the router.
[One (M8) Original Android Development] CutGlass:
Update

https://xdaforums.com/showpost.php?p=70754842&postcount=681 encryption bug confirmed in Jan 25th release and will be fixed next release.

Update. Summary you can get to Official from an encrypted Cmattern build but re-encrypting seems not to work.

If you have been using cmattern's nightly builds the one from the 24/25th does encryption (and earlier), but as mentioned above to move to LineageOS's official builds you have to do a

full backup,

save it off the phone, noting the location backup folder

completely wipe the phone and reformat the partitions as ext4 (I was using twrp)

to help out restoring the backup I then did a fake backup of the boot partition so that my computer would show me the location of the backups folder.

Put the backup back, use twrp > advanced > file manager delete the fake backup (or use your computer if it will allow you)

Restore the backup.

Boot to check everything is in the right place, SD cards may need to be formatted back to application storage.

reboot to recovery

Install EXPERIMENTAL through twrp

Boot which takes a very very long time (you may think this has failed), and then gives you a phone with experimental overlaid everywhere.

reboot into recovery

Flash nightly.

reboot (faster that experimental but still slow the first time).

then you are in the NIGHTLY chain.

I am attempting encryption with Nightly it does not look hopeful, it counted down from 40 and now appears to be stuck. The phone is not hot so I am guessing it's crashed, I will leave it overnight before going backwards.
[One (M8) Original Android Development] ainaz:
if I want to switch from another rom to LineageOS, Should I install the first experimental, or directly into nightly?

Im on CyipherOS 7.1.1
[One (M8) Original Android Development] CutGlass:
What you should do is install experimental over cypherOS and then install nightly.

The reality is first back up using twrp and put everything safe on your computer. Also you should back up SMS and email using an app. Download the latest open_gapps for ARM too. That way if the experimental goes wrong and you decide to switch to nightly by doing a complete wipe then you can restore the most frequently lost things. That should cover trying experimental, trying nightly, switching back to cypherOS, changing to nightly. I will say that if you want the pixel launcher like on cypherOS you may need to install another mod, if I remember which I will post it.
[One (M8) Original Android Development] ainaz:
yes I already know about it, and surely I will erase all data. but here I will not backup anything except rom just to keep in case of errors.

So, Here I will not restore data (because I do not have the necessary data), then I can directly to install the nightly. !?
[One (M8) Original Android Development] CutGlass:
Yes you could go straight to the nightly if you have nothing to restore.
[One (M8) Original Android Development] mraacidd:
encryption on the new nightly doesnt work on mine. after reformatin n reflashin, root was not available. encryption doesnt work either. also noticed that zip verification also failed.
[One (M8) Original Android Development] CutGlass:
I worked from 8am to about 4am yesterday, UK time trying out every combination I could think of to get encryption working. I have just restored the phone to unencrypted and installed the ARM su package from "extras" which is at the bottom left corner of https://download.lineageos.org/m8 (at the time of writing).

I have found that the option to have recovery in the menu when restarting only works sometimes, so am going to see if I can get twrp to work without installing supersu and am starting on a list of bugs. Interestingly I have no NFC icon but a quick test and it appears as if android pay will work with the signed nightly icon. I'm also going to look at cmattern's work and see if it is still in github and maybe take the nightly to pieces. (Give him a thanks for keeping unofficial going anyway and buy him a beer, IIRC encryption was broken in CM 14.1 and so has been broken with the exception of his nightly builds for the majority of ROM's including it would now appear to be broken in official).

---------- Post added at 10:51 AM ---------- Previous post was at 10:44 AM ----------

Update I can confirm that with the addonsu-arm-signed.zip package installed from the 26th January after an unencrypted installation of the nightly lineageOS build from the 25th January that root works without the need for supersu.

I installed nightly, enabled developer options, then flashed the package afterwards and twrp is now working to reboot as the power off recovery option seems buggy.
[One (M8) Original Android Development] CutGlass:
Update - Encryption on M8 not working on LineageOS build date 25th Jan

I've had a look at the LineageOS gerrit and GitHub and it appears that cmattern's patch to the sepolicy that enables encryption on his nightly has not been applied to the main repository.

I suggest

anyone wanting encryption on the m8 which has had it on the unofficial nightly should wai

t until the missing file can make it into the repo.

Looking in the official nightly zip (25th Jan) and it appears that the sepolicy hanging the encryption is compiled so I am still looking for a work around.
[One (M8) Original Android Development] CutGlass:
Update. setting an sepolicy to be permissive is not a workaround (in case anyone else tries as it's to do with sepolicy).

Details of failure. I installed SuperSu did the reboot a couple of times, used a terminal to type in some scripts to enable permissive to be maintained after a reboot, checked that twrp was registering that selinux was set to permissive after rebooting a few times, tried to run encryption. Once again it display 00:40 counted down and then hung so the encryption process must start before system is initiated/ mounted.

Have tried to get in contact with the developers for what I believe is the missing patch and difference between the working encryption on UNOFFICIAL and the non-working nightly builds.
[One (M8) Original Android Development] CutGlass:
Do Not Use LineageOS dated 25th January if you have encrypted your phone

One of the developers has added the encryption patch back into the next build, so you can wait a very short while or do as in my previous posts and run unencrypted for a while.
[One (M8) Original Android Development] djlukas1983:
I have issue with titanium backup. I've got SuperSU installed and the root is granted, titanium loads, but when I try to do any operation within I get an FC. I tried to reinstall the app but it didn't helped. I've got this issue from few days, even on unofficially builds. Other apps which need root are working well.
[One (M8) Original Android Development] CutGlass:
What changed a few days ago? Which ROM are you currently using? it might be worth using the "extras" su as well as supersu from https://download.lineageos.org/extras if you are trying out the new lineageOS. the HTC M8 is an ARM device so be sure to only get the 32 bit versions of anything.
[One (M8) Original Android Development] thelangosta:
Wait did you say that Android pay works on Lineage if it's not rooted? That would be pretty cool. I can live without root for a while if it means I can pay with my phone.
[One (M8) Original Android Development] CutGlass:
It installed and showed me my card (though I am missing an NFC icon), currently I have the addon_su package but I will uninstall it later this evening and will then see what happens.
[One (M8) Original Android Development] djlukas1983:
I'm on the the official Lineage OS. I'm using 32 ARM of everything. I'm using SuperSU 2.79-SR3 ARM 32 but version. Su id working for every app and for titanium backup too, but titanium stops working after a while.
[One (M8) Original Android Development] CutGlass:
Have you got the extra addon su for nightly? also time it, sounds stupid but if it times out after 15 minutes you know that you gave it permission with supersu for 15 minutes only :)

---------- Post added at 04:44 PM ---------- Previous post was at 04:26 PM ----------

Just for you I uninstalled su, went through the process of setting up my card and bank and then at the very end it stated that my phone cannot tap to pay, doesn't have the NFC facility, but I can buy things online. I am using the nightly from 25th Jan.

Wish they'd sort out those NFC issues. :(
[One (M8) Original Android Development] mraacidd:
I m using systemless supersu 2.79. titanium works n no other issues for the time bein.
[One (M8) Original Android Development] ainaz:
Hi I come with CypherOS 7.1.1,

i have donloaded LOs 25th January.. and i try to install it directly into nightly, but I get some error when i flash it, the zip file is corrupted and filed to install. can you're here give me solution how
[One (M8) Original Android Development] Leon:
1.Download and flash the experimental version

2.Redownload again the nightly and flash it.

3.Flash GAPPS (optional) I like Pico.So ARM->7.1->PICO
[One (M8) Original Android Development] DROITURK182:
Just for you I uninstalled su, went through the process of setting up my card and bank and then at the very end it stated that my phone cannot tap to pay, doesn't have the NFC facility, but I can buy things online. I am using the nightly from 25th Jan.

Wish they'd sort out those NFC issues. :([/QUOTE]

Yes I have the same issue, not rooted the ROM passes safety net check, added bank card into Android pay but went to use is at vending machine and it seems NFC is turned off not working and of course no NFC icon in notification bar.

---------- Post added at 05:43 PM ---------- Previous post was at 05:41 PM ----------

Yes I have the same issue, not rooted the ROM passes safety net check, added bank card into Android pay but went to use is at vending machine and it seems NFC is turned off not working and of course no NFC icon in notification bar.
[One (M8) Original Android Development] thelangosta:
Thanks that's good news for when they get NFC straightened out. I'll probably give lineage a go tomorrow or the day after. I've already spent enough time flashing ROMs today.
[One (M8) Original Android Development] djlukas1983:
I only have SuperSU, not extra add-on su for nightly.
[One (M8) Original Android Development] CutGlass:
First do the timing thing that it fails after a specific time sounds like the supersu 15 minutes permission. Secondly give the addon_su a go.

---------- Post added at 08:18 PM ---------- Previous post was at 08:06 PM ----------

And apparently we know it could work because there's a guide to Android Pay on HTC's website

http://www.htc.com/us/support/htc-one-m8/howto/696030.html

I swear the first time I installed CM there was an NFC icon and then "poof" it disappeared. Was not a fan of using a phone to pay until a few days ago when I left home with the wallet.
[One (M8) Original Android Development] CutGlass:
SMS messenger/ Voice Bug confirmation ?

Think I found something in nightly not sure how far it goes back. If I use the assistant to dictate and send a SMS message "send text to bob" after all the confirmation and the message being sent, it comes up with a "card" with the message and open SMS app. The interesting thing is that the sent message does not appear in messenger. The only thing I do not know is whether the assistant I have is "normal" after having installed open_gapps super not sure if I am using "assistant" or whatever the nexus version was.

The messages do arrive and messenger is set as the default app and updated yesterday. Can anyone else confirm?
[One (M8) Original Android Development] ainaz:
Does any want to switch to Los should be way above?
[One (M8) Original Android Development] thelangosta:
I've used my phone to pay a couple times but that was on unrooted stock. I love it but never got it to work on a custom ROM.
[One (M8) Original Android Development] :
Friggin link not found
[One (M8) Original Android Development] cmattern:
It seems that my encryption fix somehow fell out of the official tree and we're working to get it back in. In the mean time I'll keep posting my dailies to my AFH account. I'm on the road dealing with a family matter, but the build and upload are running out of cron job on one of my servers. My only concern here would be that my cron job also does a repo sync and could conceivably step on my own copy of the changes. I know that the 20170125 build is fine.

---------- Post added at 22:42 ---------- Previous post was at 22:36 ----------

What I came across here was a two pronged approach, upgrade to the TWRP 3.0.4 release from their official thread (not yet released) and, if you hit the problem, boot to recovery and go into advanced and wipe the metadata only. The details are in that post in the TWRP official thread, check there if you need them, I'm typing from memory sitting in a plane awaiting take off so my details are NOT 100% reliable.
[One (M8) Original Android Development] badseed767:
It seems the m8 builds have been hidden. It no longer shows up as a menu option and when I try to manually type the web address, no downloads show up. The link posted earlier for the official build still seems to work, though.
[One (M8) Original Android Development] hans109h:
Has anyone installed v4.2 of google camera with this ROM?
[One (M8) Original Android Development] Healtheater:
Doesn't work. fc when you start app.