yashsingh1/xdaforums huggingface dataset:
[X 2014 Original Android Development] Gus Ghanem:
Off Topic

Not for us little people, but we can dream...

Copperhead OS: https://copperhead.co/

https://copperhead.co/android/

"A hardened open-source operating system based on Android"

Source Code: https://github.com/copperheados

"Devices directly supported by the Android Open Source Project are candidates, meaning the Nexus and Pixel lines. Only devices with a 64-bit CPU architecture, full verified boot and LPDDR4 memory with TRR will be considered."

Lucky those who have Google Nexus devices, there are already firmware/ROM downloads for some of them:

https://copperhead.co/android/downloads
[X 2014 Original Android Development] BootloopedMillennials:
I think LineageOS or really most AOSP based rom without gapps is a good compromise to Copperhead. Apps like Privacy Guard, Xprivacy, and Afwall are must have. Guess the flaw is these apps require root which is a security weakness.

I tried going Googleless and it sacrifices so much. It's extremely tough to balance convenience with privacy, security.
[X 2014 Original Android Development] julian.c28:
Have you experienced any now? Someone up above mentioned they've had a reboot. I use Snapchat a LOT so I'm waiting for this bug to pass... :(
[X 2014 Original Android Development] mELIANTE:
Has anyone noticed that NFC is not working? I can't turn it on and I'm on latest nightly.
[X 2014 Original Android Development] vista178:
It works for me.
[X 2014 Original Android Development] mELIANTE:
Damn it! I'll wait for the next nightly and see if it fixes this. Else clean flash...[emoji20]
[X 2014 Original Android Development] cheffy11:
Works for me too :good:

Since the last update I've had one Snapchat reboot and that was when I used the flash for the first time in a long time that I've used the flash on snapchat.

Way better than previous builds tho, was getting reboots 1 in every 4/5 times using snapchat.
[X 2014 Original Android Development] vista178:
Latest nightly isn't booting for me. Anyone else having any problemas?
[X 2014 Original Android Development] Gus Ghanem:
I dirty flashed from the last build, no problems (I never flashed SU). As soon as I switched the Snap camera to video, it froze and rebooted...
[X 2014 Original Android Development] BootloopedMillennials:
Open Camera doesn't have this bug. FWIW picture quality is about equal.

I know it'll never happen at this stage but we desperately needed camera2api.
[X 2014 Original Android Development] Gus Ghanem:
Yes, actually I've been trying Open camera on and off for years, and after the new March 10 Nightly again froze and rebooted, it was the first camera app I tried.

I just flashed the new TWRP 3.1, can't wait to try a clean flash of Lineage, to see if the red errors are gone :good:
[X 2014 Original Android Development] BootloopedMillennials:
Weird. I switched between camera and video like 10 times trying to intentionally crash it. Recorded and saved a video.

The one bug I do have is LineageOS system high up in battery usage.
[X 2014 Original Android Development] RockyTV:
Yes, I actually did. But it happens less often.
[X 2014 Original Android Development] dego_:
Just​ flashed a new build of Lineage this morning and I was shooting short videos all the day as I was hiking with my kid. No crashes, no reboots. Can't believe this bug is finally solved! I was using stock camera which comes with this ROM.
[X 2014 Original Android Development] BootloopedMillennials:
This appears related to Ambient Display. I turned it off and LineageOS system dropped way down to 1 percent battery usage, bottom of the list. Also less awake times in my battery graph. Instead of losing almost 20 percent battery it went down to a more reasonable 5 percent over the night.
[X 2014 Original Android Development] xabr3:
Updates to the latest nightly, updated successfuly.. still says update available.. same as just installed?
[X 2014 Original Android Development] EagleSoldier:
Me too.....
[X 2014 Original Android Development] invisiblek:
To save me from digging through backlog, has anyone posted a log of the camera crashes? I tried briefly the other day to reproduce out and couldn't. Logcat, dmesg and/or last_kmsg would be ideal.

For battery issue, grab better battery stats or GSam and see if you can narrow down what's stealing your juice, then we can look at fixing it.

This device isn't my daily so I'd appreciate everyone putting in a little extra to get this stuff fixed (aka a little more testing/debugging/logging)

:highfive:
[X 2014 Original Android Development] cheffy11:
Just managed to make phone reboot switching from photo to video mode. Here is the log :good:
[X 2014 Original Android Development] EagleSoldier:
I have a Problem with hotspot.

Other devices cant find my phones hotspot.

Is this a knowen issue ?

LineageOS 10.03.2017
[X 2014 Original Android Development] invisiblek:
Unfortunately, if the phone is rebooting completely in these cases, a /proc/last_kmsg after the reboot is about all that will help.
[X 2014 Original Android Development] cheffy11:
Ok how do i get that?
[X 2014 Original Android Development] vista178:
invisiblek, how do I go about helping you solve:

https://xdaforums.com/showpost.php?p=71033952&postcount=427
[X 2014 Original Android Development] RockyTV:
Here's the /proc/last_kmsg file from a reboot caused by switching camera modes.
[X 2014 Original Android Development] anderson mendes:
check pm please.
[X 2014 Original Android Development] crpalmer:
I believe that the camera crashes will be fixed in the next build. Please let us know if it is still crashing for you after installing the next build (later this week).
[X 2014 Original Android Development] anderson mendes:
in my tests the problem was solved.

thx.
[X 2014 Original Android Development] igor1st:
[MENTION=3857343]crpalmer[/MENTION], [MENTION=2385005]invisiblek[/MENTION]

LOS 14.1 (as well as CM 13) shows wrong wifi battery usage in stats. It's no big deal since real consumption is small like on stock, but can this be somehow fixed?
[X 2014 Original Android Development] cheffy11:
[MENTION=3857343]crpalmer[/MENTION] [MENTION=2385005]invisiblek[/MENTION]

:good::good::good:

Thanks guys.
[X 2014 Original Android Development] shawndak:
3/10 update brought my SOT down from 4.5 hrs to 3 - 3.5hrs. Nothing looks irregular in battery stats. Thought it was a fluke at first but now its been a constant.
[X 2014 Original Android Development] cheffy11:
NFC not working 17/03 build.

Is there anything i can do to help solve it? Logs?
[X 2014 Original Android Development] dego_:
Running March 17 build. Tried shooting video with Motorola Camera. Tried it a dozen times. It works!

Guys, thank you so much! :good:
[X 2014 Original Android Development] vista178:
Did it work for you in the prior build? I'm installing now and mine is currently working.
[X 2014 Original Android Development] cheffy11:
It never worked for me on 10/03 build either, i may try flashing an earlier build and then flash the new build and see if that sorts it out
[X 2014 Original Android Development] vista178:
I installed the update and it's still working for me. I ran into that same time ago and was only able to fix it through a clean install. There might be another fix but if there is I am unaware.
[X 2014 Original Android Development] vista178:
[MENTION=3857343]crpalmer[/MENTION] [MENTION=2385005]invisiblek[/MENTION]

Any idea what is going on here? Double APN context (appears to be mirrored) on my XT1096. I'm on the latest nightly.
[X 2014 Original Android Development] mELIANTE:
Same thing happened to me. Wasn't working even after updating to the newest nightly. Clean flash fixed it.
[X 2014 Original Android Development] EagleSoldier:
Wifi-Hotspot still not working....

Am I the only one ? :p
[X 2014 Original Android Development] vista178:
I hate to suggest that is the case, but it's working for me. Just tethered my Nexus 7 (flo) to my XT1096 via wireless and was surfing no problems. You might try a clean install if you haven't already.
[X 2014 Original Android Development] EagleSoldier:
Thanks for that info.

I will try a clean install....

EDIT: clean inatall solved the problem :good:
[X 2014 Original Android Development] cheffy11:
Clean install sorted my problems out.
[X 2014 Original Android Development] RockyTV:
Try a clean install? Backup your data first, then clean install.
[X 2014 Original Android Development] vista178:
It would be something if I hadn't tried that which I have recommended to so many others. Alas, I have tried clean installing multiple times with multiple versions and the problem persists. I believe it's because I'm on an xt1096 on Verizon.
[X 2014 Original Android Development] fabiozon:
Since the 17/03 update battery life has gone down dramatically. LineageOS system is one of the main culprits, which didn't consume half as much before.

How can I give you useful logs?

Screenshots for proof.
[X 2014 Original Android Development] EagleSoldier:
Me too :/
[X 2014 Original Android Development] xabr3:
Same here.. :(
[X 2014 Original Android Development] Eduardo.s:
Here she hung up and did not want to start, I had to do a clean installation!
[X 2014 Original Android Development] G4 Man2:
Also having massive battery drain on the latest build even during idle. Usually these things don't affect me since I'm running airplane mode + wifi with NFC and ambient disabled but this time it does. I don't see anything out of the ordinary in my logcat either so I'm at a loss.
[X 2014 Original Android Development] Gus Ghanem:
March 17 build (clean flash).
[X 2014 Original Android Development] Gus Ghanem:
Download Android O Developer Preview 1 for your Nexus 5X, 6P, Pixel...

https://developer.android.com/preview/download.html

Lineage OS 15.0 anyone? Dream on! :p

https://android-developers.googleblog.com/2017/03/first-preview-of-android-o.html
[X 2014 Original Android Development] BootloopedMillennials:
Add me to the list of those suffering massive battery drain. Before it was LineageOS system as the culprit this time the cause is unknown. The battery stats don't look out of the ordinary but I'm losing twice as much battery just idling.
[X 2014 Original Android Development] dego_:
Weird, previous build was killing my battery twice faster, but 17/03 is really good relating to battery life.

Update: actually a week later the battery drain is noticeable, comparing to previous builds.
[X 2014 Original Android Development] GustavoAvellar:
I'm also having a bigger battery drain after updating to 20170317.

The camera was fixed in this build.
[X 2014 Original Android Development] xabr3:
What was the problem with the camera? (I'm using stock Google Camera / Stock Gapps)
[X 2014 Original Android Development] GustavoAvellar:
I was running 20170223 and my device rebooted every time I started shooting a video.

Stock GApps and Camera Motorola.
[X 2014 Original Android Development] BootloopedMillennials:
Guys big news Magisk V11.6 works on our Moto Xs. I've only tried it on a clean install of CypherOS but it should work for Lineage OS. Passes Safetynet, remember to enable Magisk Hide.

go thank [MENTION=4470081]topjohnwu[/MENTION].
[X 2014 Original Android Development] digiscales:
Have no root clean install is 17/03 weirdly offers root for adb option but not apps any help?
[X 2014 Original Android Development] Gus Ghanem:
The devs intentionaly removed it so that certain apps would work, you can flash a seperate zip to get app root access:

https://download.lineageos.org/extras

This device is ARM.
[X 2014 Original Android Development] dego_:
or like this http://www.lineageosrom.com/2016/12/how-to-enable-root-in-lineage-os-using.html
[X 2014 Original Android Development] BootloopedMillennials:
It should be noted that with those other root methods you will fail SafetyNet and Android Pay etc will not work. That's why it's huge that Magisk is now working for our device.

I just did a clean install of LineageOS with Magisk and sure enough it works. Installs and passes SafetyNet. All my root apps work except Kernel Adiutor. Kernel Adiutor causes SafetyNet to trip and that is a known issue.
[X 2014 Original Android Development] BootloopedMillennials:
Here
[X 2014 Original Android Development] vista178:
Super Mario Run isn't working for me. Is it working for anyone else?

<Edit>It's not working on my Nexus 7 (which is also running LineageOS) either so it's not a device specific issue.</Edit>
[X 2014 Original Android Development] rsocon:
I tried a quick re-install and still fails safety net checks.

Any special process or gapps used?

Thanks
[X 2014 Original Android Development] BootloopedMillennials:
Did you enable Magisk Hide in the Magisk app? Also Kernel Adiutor will cause safetynet to fail, uninstall if you have it.

I didn't follow any special procedure or gapps, open gapps was used.

Like I mentioned in the other thread over night Magisk lost root, a reboot and root was back. It might be a bug or something, I'm going to check up in the Magisk thread.
[X 2014 Original Android Development] rsocon:
Yeah all enabled. Flashed rom, open gapps, magisk but fails CTS. :(
[X 2014 Original Android Development] BootloopedMillennials:
What apps are you installing that use root?
[X 2014 Original Android Development] rsocon:
Nothing, unless something on by default. Only thing installed was the ROM and Gapps. I installed full stock Gapps, if that's makes a difference?

May try again, sometimes these things take a few attempts. :)
[X 2014 Original Android Development] BootloopedMillennials:
I have a feeling you aren't wiping system when doing a clean install. If I recall 'swipe to factory reset' doesn't wipe system.

My process for clean install is as follows-

1. Backup apps and rom

2. Transfer everything from internal storage to a computer because the following will wipe everything

3. In TWRP mount all partitions except USB OTG

4. In TWRP, advance wipe and select all but USB OTG

5. In TWRP, format data

6. In TWRP, advanced wipe and change file system of data and cache to F2FS - OPTIONAL

7. Then reboot recovery- it's needed after formating data

8. In TWRP, proceed with install.
[X 2014 Original Android Development] igor1st:
Tryed to update from 0310 to 0324 and got constant reboot a few seconds after system start. Now restoring backup. Something wrong with CAF updates?
[X 2014 Original Android Development] BootloopedMillennials:
Same with a clean install of 0324 build. As soon as it hits the the setup page, reboots and keeps repeating that.
[X 2014 Original Android Development] igor1st:
[MENTION=3857343]crpalmer[/MENTION]

Looks like recent CAF kernel updates broke something.
[X 2014 Original Android Development] crpalmer:
Providing logs would sure make it easier to know if that was true...
[X 2014 Original Android Development] BootloopedMillennials:
Is there anyway to capture logs without getting into the rom to turn on adb debugging? On a fresh install I can't even make it pass the setup, select language. So adb just says waiting for device.
[X 2014 Original Android Development] crpalmer:
Not with an official build, no. The person I was quoting though said he failed to boot when dirty updating from the previous nightly and that is easy to capture with adb logcat.
[X 2014 Original Android Development] BootloopedMillennials:
Okay, I'll flash 0317 and then 0324 and pull a logcat for you.
[X 2014 Original Android Development] BootloopedMillennials:
Need anything else.

Edit I had to create a archive zip because the text file was too big to upload alone.
[X 2014 Original Android Development] crpalmer:
Thanks, although if it's not too late to save you some trouble, I think I've reproduced it by updating my local sources and it looks like it's not related to the caf kernel but related to a change someone else may have made.
[X 2014 Original Android Development] igor1st:
Sorry about that, I needed to make calls. Now I captured crash.

Edit: Oh, I was too late. Sorry guys for uour trouble. crpalmer, thanks for putting efforts into our device. I'm looking forward to test your CAF updates in the next working build - wifi driver has many fixes and I use wifi a lot.
[X 2014 Original Android Development] open1your1eyes0:
FYI just chiming in here that 03/24 is most definitely a faulty build causing reboot within 15 seconds of getting to the OS home screen after any boot up.

I thought to get into recovery and wipe system/cache/dalvik and flash back to 03/17 with gapps as usual but I'm still facing the reboot issue after that as well. I definitely didn't have the problem on 03/17 earlier. Something from 03/24 must have affected the data on the device but I'm really trying to avoid factory resetting here as I have quite a bit setup already.

I was able to quickly get in and wipe Google Play Services all data (since I thought it's a critical service that could affect things like this) but that didn't seem to resolve it either. Any thoughts what else can be tried?
[X 2014 Original Android Development] petrena:
I have just the same problem here, help appreciated :)
[X 2014 Original Android Development] Eduardo.s:
Here in the same situation! I tried the previous updates and it is the same way restarting, I will have to install another ROM until a Without that bug !!!
[X 2014 Original Android Development] open1your1eyes0:
Welp...stubborn as I am I tried everything and finally managed to fix it! :D

If you dirty-flashed (OTA updated) build 03/24 and getting the reboot issues, please try the below steps to revert back to 03/17 without getting reboots on there

Download build 02/14 and gapps 20170222 - stock version (older/newer gapps and non-stock versions might work too, just mentioning which exact one I used)

Reboot to recovery

Wipe System/Cache/Dalvik

Flash 02/14 build with Gapps

Boot back to OS and you should already be good but you might get lots of crashes with android.process.acore

Download just build 03/17

Reboot back to recovery and without wiping anything this time

Simply flash build 03/17 (no Gapps this time) and reboot

Should be all good now without any crashes!

Hope this is able to help other folks.

Sidenote: In case it doesn't work you can also try clearing all data for Google Play Services before or after flashing 02/24 build (my theory is that this isn't required since it didn't solved my issue when I did it but that's the only thing I left out just FYI).
[X 2014 Original Android Development] dego_:
Same here. Will try the remedy from last comment here.
[X 2014 Original Android Development] Gus Ghanem:
Yes, dirty update to latest build caused infinite bootloop, even after wiping all non-system partitions. Not sure what to do now, try clean flash, or go back to stock forever. :p
[X 2014 Original Android Development] crpalmer:
The march 24th build has been removed from the download server. The problem should be fixed in the next build.
[X 2014 Original Android Development] BootloopedMillennials:
I can't help but laugh. Today really isn't my day with the Moto X.

Clean install of 0317 build, setup, reinstall all my apps and data, reboot. Stuck at LineageOS boot up screen. It's vibrating every second at the screen.

Does that vibration pattern have a specific meaning?
[X 2014 Original Android Development] Eduardo.s:
I tried everything, but it does not start! I went back to the stock ROM.
[X 2014 Original Android Development] danmcsw:
Same problem happened with my X and updating from 0317 to 0324. Non-stop reboots a few seconds after starting up the Android UI.

Had to wipe everything with TWRP except the internal storage (the built in "virtual sdcard" storage I mean) . Reinstalled 0317 clean with today's nano gapps and everything was okay, other than the ~100 apps needing to reinstall and restore data.

Sometimes it is better to be behind the times a bit, LOL

Back to the drawing board on this one lads!
[X 2014 Original Android Development] open1your1eyes0:
Just an FYI I hope anyone before factory resetting attempts the below process. I was 100% in the same issue and was able to resolve it as per my steps below:
[X 2014 Original Android Development] danmcsw:
[MENTION=3313404]open1your1eyes0[/MENTION] thanks for posting the method you described. :good:

Unfortunately I had nuked mine about 20 minutes before I saw your original post.

Thankfully I had nothing major to lose other than a few minutes of fiddling in the settings, recovery etc. All hail the era of cloud backups. :fingers-crossed:
[X 2014 Original Android Development] petrena:
where can I download build 02/14?
[X 2014 Original Android Development] open1your1eyes0:
Seems it is no longer available. https://www.lineageoslog.com/14.1/victara#201702141924

Can also try 02/23 - https://mirrorbits.lineageos.org/fu...eage-14.1-20170223-nightly-victara-signed.zip

In case it's not working, let me know I will just upload my locally saved copy for you guys.
[X 2014 Original Android Development] petrena:
thanks, worked with 02/23 and gapps pico 03/22
[X 2014 Original Android Development] Fenvarien:
The described recovery procedure is working with the 20170223 build very good too. Here's the link: https://mirrorbits.lineageos.org/fu...eage-14.1-20170223-nightly-victara-signed.zip
[X 2014 Original Android Development] RockyTV:
Why are you using a month old nightly? There's nothing wrong with 17/03 nightly afaik.
[X 2014 Original Android Development] vista178:
There is the battery drain issue must of us are experiencing. Either you choose battery life or camera functionality at the moment it seems.
[X 2014 Original Android Development] bbs2web:
Upgraded to 0324 and device constantly restarts approximately a minute after reaching the lock screen. Have tried wiping system, dalvik and cache, after which I flashed:

lineage-14.1-20170223-nightly-victara-signed.zip

open_gapps-arm-7.1-nano-20170312.zip

addonsu-arm-signed.zip

Still the same result, I recently (20170310) performed a clean install and really would like to avoid having to do it all over again...

Would anyone have links for 20170214 and the referenced version of gapps that's reported to work?
[X 2014 Original Android Development] BootloopedMillennials:
They flashed 0324 build which had a bootloop issue [it's since been pulled from the LineageOS page] and that month old build was the only one that would let them boot without losing their data, setups. They are using that month old build to get back in and then updating to the latest build which is 0317.

imo not the cleanest route to get back to a fully working system but you got to do, what you got to do.......
[X 2014 Original Android Development] Sdobron:
Trying to fix what I thought was a wifi router issue at home has led me to find that the Moto X 2014 has an issue with accessing Ipv6 over wifi. It works fine over mobile network however. Every other device I've tried can access Ipv6 so it's got to be a wifi software issue with the Moto X. What info would help in diagnosing this problem? [MENTION=3857343]crpalmer[/MENTION]
[X 2014 Original Android Development] Fenvarien:
That's just an intermediate step before I reinstall the 17/03 nightly, to get Lineage OS up and running again. Quick and dirty - but it works just fine. ;)
[X 2014 Original Android Development] anderson mendes:
hey [MENTION=3857343]crpalmer[/MENTION] [MENTION=2385005]invisiblek[/MENTION] I noticed a few reboots and freezing at random times, apparently caused by the recent merge caf in the kernel.

I not get a logcat because it's on random moments, sometimes it takes.

thx.
[X 2014 Original Android Development] techhead0:
https://review.lineageos.org/#/c/166773

It looks like this fixed the issue. I rebuilt my own rom and is does not reboot.
[X 2014 Original Android Development] ericcostes:
Hi Guys,

about this 20130324 bug :

After many trials the only way for me was to wipe davlink, system, data and cache , then to install 20170317 with twrp 3.1

all is good now , waiting tests before loading the next one.

conclusion : make a twrp backup when it works ( will be easier ) , and not to be the first to install weekly roms ...

regards,

Eric

---------- Post added at 10:45 AM ---------- Previous post was at 10:43 AM ----------

;)