yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Original Android Development] JFS1969:
Random reboots for me too! :(

Also after the arrival of a notification...

Z00A, 4GB, Intel64, 27/11 version
[ZenFone 2 Original Android Development] ccav2000:
Why would I do that? I have zero reboots with the 27/11 build currently.
[ZenFone 2 Original Android Development] timbernot:
Just wondering.

Whether , people are having problems since unlocking bootloader after .134 build on Z00A ?

Reason , i bricked the other day , xfstk`d from LP - unlocked bootloader -- upgraded to MM .134 then .144 then .184 then unlocked bootloader flashed TWRP and rerooted and restored 20/11 CM14.1, today phone stated SD card needed formatting -- decided to check with pc , all files readable on pc in sd reader. Rebooted to TWRP and just kept flashing TWRP screen over and over(not fully loading) not the usual boot looping to TWRP problem.

I had no problems with anything when i unlocked the beta MM and used the TWRP from there with any CM14 .

Anyway, just redone everything and unlocked bootloader on .134 this time , see if everythings OK
[ZenFone 2 Original Android Development] ccav2000:
Since you mentioned this, I believe it is better to be on the same firmware the developer himself uses as the base for the ROM developments. The easy way to make sure is to use the bootloader upgrade package on jrior001's site. Of course, this could be completely irrelevant and urban legend BS. The only authority here is our developers.
[ZenFone 2 Original Android Development] tofrus:
how to revert to previous build? because my random reboot is alot hahaha.
[ZenFone 2 Original Android Development] aerialus:
yeah same for me, tired of so many reboot, i decided revert to 1122 build..

same condition,, random reboot happened after arrival of a notification..

now back to 1122,,,

ze551ml 4/32 2.3Ghz

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

just flash older build and do wipe dalvik/cache :)
[ZenFone 2 Original Android Development] Wo11ven:
Guys, try to change governors. No reboots with interactive.
[ZenFone 2 Original Android Development] jrior001:
All these reboot complaints and not one log of anything....

Somebody please grab kernel logs from /sys/fs/pstore right after a reboot.
[ZenFone 2 Original Android Development] 5T33Z0:
I can confirm the issue described above. Random reboots. Reflashing and Wiping Dalvik did not resolve the issues for me. I probably revert back to 22.11. too
[ZenFone 2 Original Android Development] extreme.samir:
Please provide log as per jason asked...if you can. Just provide log and then revert back so that it will help devs to find out issue. I forgot for logcat and reverted to earlier build. [emoji16]
[ZenFone 2 Original Android Development] 5T33Z0:
Damn, I just reverted back. Sorry. Next Time.
[ZenFone 2 Original Android Development] ccav2000:
Damn, I would get the log but I'm one of those without the issue
[ZenFone 2 Original Android Development] timbernot:
I think i found the/my problem ;)

More a manual error by me, i did restore my old back up and realized the build was 19/11 so after restoring in TWRP -- i went straight into install the latest build , without setting up SD as anything(like removable) first like i would have done in 19/11 - then updated one by one, now knowing basic settings change like battery percentage etc reverts back to basic after each restore . Shortcuts and eager beaver :eek:

fingers crossed !

`Samsung SD card

For Transferring photos and media `

Notice is back :)
[ZenFone 2 Original Android Development] extreme.samir:
Let me install 27/11 for log. Will report it soon.
[ZenFone 2 Original Android Development] darkmindAB:
Good afternoon, a question, why ask me every so often to introduce the pin of the two sims? Thank you.
[ZenFone 2 Original Android Development] ssirK:
nothing like that here. maybe clean the contacts of the sims ?
[ZenFone 2 Original Android Development] extreme.samir:
I have installed 27/11 but now its not random rebooting. ?
[ZenFone 2 Original Android Development] darkmindAB:
The case is that I only restart the phone every few minutes
[ZenFone 2 Original Android Development] tofrus:
sorry i cant file the folder in file manager, is there any tutorial to find or how to do it? thanks

will give it a try for awhile i guess until someone can tell the kernel log because i dont know how to do it

thanks
[ZenFone 2 Original Android Development] mefisto2114:
Build 27/11 is draining battery, logs attached. Without robots. https://drive.google.com/file/d/0BwNmVg7HOWySb1ExWVRWdmRFR1U/view?usp=drivesdk
[ZenFone 2 Original Android Development] beerinjection:
Kernel Source for 4.21.40.184: http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/ZE551ML4_21_40_184.zip?_ga=1.255417480.1233491828.1477579246
[ZenFone 2 Original Android Development] espeon:
I've dumped a few but haven't been back at my desktop yet to send em. I have a couple full bugreports captured as well from right after a reboot that I've been sifting through as well.

The reboots have always been upon receiving a notification, so I've a few hunches. Having an active ADB session seems to prevent the reboots as well, which is always fun.

edit: just got a really nice random reboot like 5 minutes after rebooting. For some reason, my phone's display doesn't wake on notifications / ambient display doesn't seem to trigger anymore - and instead I get random reboots.

I'll pm the bugreport and ramoops from those in a bit.
[ZenFone 2 Original Android Development] Polis4:
battery status is very good in the last build
[ZenFone 2 Original Android Development] Ode0196:
Can someone help me to decrypt storage Z00A in TWRP ,,

Cause I inserted my pin it say failed and try again, so I can't update a Rom,,

Sorry for my bad English
[ZenFone 2 Original Android Development] espeon:
You'll either need to remember the passcode/PIN you used to encrypt, or you'll need to nuke it all and start from scratch. You'll likely have to reboot to fastboot and wipe from there, since I think that TWRP won't let you even get into the recovery itself if it detects the system was encrypted.

It's strongly encrypted and if you can't remember what passphrase/key you used, you can't recover it.
[ZenFone 2 Original Android Development] Ode0196:
I have insert a right pin, but same it said failed,

I think its problem come from with TWRP,,
[ZenFone 2 Original Android Development] extreme.samir:
Mobile screen freezing now and then i am on 27/11 build and having Z00A model. 2GB RAM variant. Attached log http://cloud.tapatalk.com/s/583c4fdaf388e/2016-11-28_21.06.zip
[ZenFone 2 Original Android Development] JFS1969:
I have tried to do it, but file explorer dont works either. When selecting the file , shows "unknown error" and the app reboots... Sorry.

Now gone back to 22/11 and everything seems ok ...
[ZenFone 2 Original Android Development] jimmys121979:
great!!! i think that our devs will make some improvements now.
[ZenFone 2 Original Android Development] ccav2000:
So I tried to activate ambient display to see if I can reproduce the reboot problem. Well no reboot but it doesn't work either, the screen never turns on when notifications arrive.

---------- Post added at 19:08 ---------- Previous post was at 18:59 ----------

Clarification to my previous message, the screen seems to flash for a second but turns off again immediately.
[ZenFone 2 Original Android Development] ccav2000:
Took a log with the Syslog app right after a notification arrived and the screen tried to turn on but failed. I hope there's something useful in it.
[ZenFone 2 Original Android Development] extreme.samir:
Log after random reboot having z00a and installed 27/11.http://cloud.tapatalk.com/s/583c76995990c/2016-11-28_23.53.zip
[ZenFone 2 Original Android Development] jrior001:
Guys, I'm not sure how to make this any clearer. I need the kernel logs from /sys/fs/pstore/ after one of these reboots. Nothing you collect manually from adb or from syslog either before or after rebooting is going to contain the stuff I need.
[ZenFone 2 Original Android Development] ccav2000:
Gotcha, it's just that I don't get reboots. So I defer to those who do. In my case, ambient display just flashes the screen but doesn't actually displays the notification just turns off again.
[ZenFone 2 Original Android Development] aarisoy:
Hi guys. I want to explain how to use stock Gapps. I dont know if It explained ever.

1-Install latest CM14 jrior's build and then Install pico gapps.

2-Open the phones and make your accounts settings.

3-Reboot to recovery and Install stock Gapss but dont make wipe.

4-Enjoy
[ZenFone 2 Original Android Development] JuniorBR790:
I haven't got any random reboots since one after 2 minutes of first boot after installing the Rom.

My phone is Z00A.

People who has random reboots, please specify more.

Are there any custom kernels or any others modifications?

What is the version of your ZF2?

There is something going on with some specific version or modifications, some people don't have any random reboots.

So please post all details you can and the specific logs jrior001 asked for.

Enviado de meu ASUS_Z00A usando Tapatalk
[ZenFone 2 Original Android Development] deckinghalls:
I can confirm it is a problem with TWRP affecting stock Marshmallow and CM14. Does not seem to affect stock Lollipop or CM13 (at least an older version of CM13 from December 2015, not sure about more current versions). It does not decrypt properly after inputting the correct password/PIN, nor after trying "default_password", nor by changing the encryption password with SnooperStopper. This is occurs even after a factory reset and even after full wipes of the phone. The issue appears to have been reported on GitHub, but it has been months now and no response from the devs.
[ZenFone 2 Original Android Development] espeon:
Here's another one; this one was just the phone failing to wake on doubletap, then it rebooted.

Pretty sure I mentioned earlier, but if I didn't, this is with the 2GB ram variant of the Z00A.

edit: had another reboot ~30 minutes after the other; I'll upload the log for that as well in a bit. I hadn't touched my phone at all in about 10 minutes.
[ZenFone 2 Original Android Development] aerialus:
here is the logs , right after reboot (attachment)

my device is Zenfone 2 ZE551ML 2.3Ghz 4/32
[ZenFone 2 Original Android Development] Guigba:
Logs after random reboot here. View attachment console-ramoops-0.zip

Asus Zenfone 2 ZE551ML

Brazilian Version

2.33GHz

4GB Ram

16GB Storage

20161127 Z00A build

I hope this helps
[ZenFone 2 Original Android Development] Justinesarno:
is there a way to downgrade? from cyanogen 14 to cyanogen 13?? please help.
[ZenFone 2 Original Android Development] aerialus:
Here is another log after random reboot

Hope this log can help,,,

Ze551ml 2.3ghz 4/32
[ZenFone 2 Original Android Development] michael_hamada:
Please DO SEARCH first, dude.

See the post below...

http://xdaforums.com/zenfone2/orig-...yanogenmod-14-1-nightly-t3497103/post69802114

<Note>

And assume that you already have MM unlocked-bootloader and you wanna keep it, you can downgrade to CM13 unofficial ONLY.

Unofficial nightly is little bit unstable but you can go with wiping only system and delvik/cache if you're lucky (but I strongly recommend fresh install = wipe data too).

If you don't mind to downgrade the BOOTLOADER together, you can downgrade CM13 Official nightly.

But anyway, devs won't maintain CM13 Official/Unofficial nightly anymore.
[ZenFone 2 Original Android Development] GuarDead:
Google apps

Hi, I found a way to install super / stock gapps to this firmware?
[ZenFone 2 Original Android Development] kenbo111:
Why? Install Pico. Everything else you want is available in the play Store.
[ZenFone 2 Original Android Development] saggiboy231:
Hello all,

I am on 11/18 build. It is working great!. Few issues though.

1. I have to press the home button twice to reach the home screen. Single tap, nothing happens

2. Sim 2 keeps losing network, gets back on after a restart.

3. The phone does not respond at times. Pressing power does not put the display back on. A restart fixes it.

4. Press torch button, doesnt turn on the flashlight.

Can someone help with these.
[ZenFone 2 Original Android Development] 5T33Z0:
So, I got some logs now.

Which do you need?

Where do I post them/send them?
[ZenFone 2 Original Android Development] tofrus:
revert to previous build, all good now. thanks alot for your hardwork OP and ofc for CM Team as well.

---------- Post added at 02:18 PM ---------- Previous post was at 02:17 PM ----------

you just upload the log here, OP will check it.
[ZenFone 2 Original Android Development] septimvs80:
I reported the same severe bug here weeks ago, multiple times, and also in a TWRP thread: no answers at all, except one kind user who said that it might have to do with android's new File-Based Encryption protocol. However, I had encrypted the phone with CM13, which still used Full Disk Encryption, and CM14 can decrypt it just fine, so it's weird that suddenly TWRP cannot decrypt it anymore. I'm also not sure whether it is caused by something in the standard TWRP code or in the custom version that is needed for this phone with MM blobs.

I'm afraid nobody really cares and the bug will stay here for a looong time. In the android community, security is widely considered a secondary issue. Proof is that the new file-based encryption is even weaker than iOS encryption from 5 years ago: https://blog.cryptographyengineering.com/2016/11/24/android-n-encryption/

.
[ZenFone 2 Original Android Development] 5T33Z0:
I assume you are talking about the event log?

It's too long.

Here's a dropbox link to the zip SysLog created:

https://www.dropbox.com/s/m1lx6h2ktxhhg7d/2016-11-29_13.04.zip?dl=0
[ZenFone 2 Original Android Development] jrior001:
Supporting decrypt in twrp is not a standard thing, we got lucky in LP based stock that they used standard issue basic aosp encryption. Its actually completely counter productive to security. Something definitely changed with the MM stock base on how encryption is done, Asus move to hardware keystore backed encryption, which is much more difficult to incorporate into twrp. I've worked on it some but have not gotten it to work yet.
[ZenFone 2 Original Android Development] septimvs80:
Ok, no problem. However, it would be savvy to put a disclaimer in the first post that says that basically one cannot use relevant TWRP features like backup or restore if the /data partition is encrypted. It seems quite more relevant than the other issues that are listed.
[ZenFone 2 Original Android Development] ccav2000:
Unexpected reboot

Experienced unexpected reboot, reason unknown. Ambient display is off, phone was in doze for some hours. Log retrieved from pstore, attached in this post.

EDIT: the console log seems useless to me, I don't know if the two dmesg oops logs mean anything to anyone.
[ZenFone 2 Original Android Development] beamscotty:
Random reboots not that random

OK, I too have just experienced a couple of reboots, but not that random.

I can reproduce the reboots almost consistently:

1. Call Bouygues customer service on 1064 in france

2. Enter choice for customer support via keypad 2

3. Enter phone number concerned followed by #

4. Phone will either hang or reboot during this procedure. If hang, only way to unhang is by forcing reboot.

I also had a random reboot with the phone just idle on my desk. I may have received a call at that time and it rebooted by itself.

Edit: I have confirmed that some crashes happened when my brother tried to call me on SIM 2 at the time it was sitting idle on my desk. Seems telephony is causing this. Also, maybe unrelated, but between the crashes out of pure coincidence, I was looking at RAM useage and it was at an all time high of 2.8GB. I've never seen it over the usual 1.2 to 1.3GB. And this is from when I switched from ZenUI to the then current CM12 one week after I bought it November 2015. After crash and reboot it was back to normal 1.2GB and has been ever since.

Positive news: Casting to chromecast works outside a native app! But only one: Radio New York Live. Don't know why or how, but it works when selecting the CM cast screen function. Not native chromecast since this app is not enabled for that.
[ZenFone 2 Original Android Development] ccav2000:
Hmm, in my case this type of random reboot with the phone idle is happening sporadically since CM13 already. I never experienced a reboot while using the phone and that's the good side since I was never interrupted while doing something with it.

---------- Post added at 17:44 ---------- Previous post was at 17:39 ----------

To lighten the mood a little since I don't really want our devs to feel blamed or anything I experience worse stability issues with my Nexus 9 tablet (unmodified stock Google ROM, not even rooted) and these are the opposite from the Zenfone, always disruptive when I am using the device. Someone shoot me if I ever buy another Nvidia based device.
[ZenFone 2 Original Android Development] septimvs80:
Solution to the bug regarding the external sdcard not being accessible from CM File Manager: go to the "storage" panel in settings, move the content of the sdcard somewhere else, and then re-format it. Bug will be solved.
[ZenFone 2 Original Android Development] Antonio Jaques:
I can't install this ROM. Error flashing zip

Enviado de meu ASUS_Z00A usando Tapatalk
[ZenFone 2 Original Android Development] espeon:
I got some dmesg logs as well as the ramoops this time for whatever reason. Haven't poked at them (one of them seemed to be entirely chinese characters, but that night just be some encoding weirdness since I'm looking at it on my phone).

For all of these reboots, I my phone was just in my pocket. For some it got a notification prior, and for one it seemed to be totally random (and mightve been hardware related)
[ZenFone 2 Original Android Development] putzgonzalez:
Guys, I've been running 27/11 with no major bugs. Actually I haven't had any bug so far, except for Instagram.

I'm able to record videos via camera, and via Instagram, but I can't upload them neither to stories, nor to my timeline. It has happened since I started using CM14. Is there a workaround?

I can easily upload videos to YouTube or Facebook. Only Instagram is 'broken'.

Thanks!
[ZenFone 2 Original Android Development] ninhvuhungkhang:
Please read the guideline in the first page and follow instruction very carefully.
[ZenFone 2 Original Android Development] aerialus:
i just noticed, there is no "notification preview (on Lockscren with blackscreen)" in build 2711 ,,,

are this related to reboot problem ?
[ZenFone 2 Original Android Development] Ferreira_F10:
I'm with this problem too, I'm on 11/22 build.

Enviado de meu ASUS_Z00A usando Tapatalk
[ZenFone 2 Original Android Development] xDEV007:
Is anyone else having issues moving images and videos to a different album/folder in the gallery because I can't seem to be able to do it from the gallery.
[ZenFone 2 Original Android Development] jrior001:
I pushed new builds up today. I reverted one recent change I suspect may have something to do with reboots some of you are having.
[ZenFone 2 Original Android Development] cl3i550nBR:
I'm downloading build 11/30

Any change logs?
[ZenFone 2 Original Android Development] deckinghalls:
Now that you mention it, the 22/11 build doesn't have access to the file-based encryption. I encrypted my phone using the FDE method as I didn't see the option to choose file-based. There is supposed to be a "convert to file-based" option somewhere in the developer settings after doing FDE, and it even shows the option if you use the search icon, but it only takes you to the developer options menu where it does not exist.

With any luck this issue with TWRP can be fixed. Unfortunately, it is way beyond my skill set currently. Still learning many things.
[ZenFone 2 Original Android Development] lucasguapo23:
Did you experience a random reboot?
[ZenFone 2 Original Android Development] cl3i550nBR:
Do not.

I was in the build version 11/20 and had no reboots.

I did not follow updates because I did not know the change of the links for download.

I go to test the new build of 11/30 today
[ZenFone 2 Original Android Development] jrior001:
Your only going to be able to encrypt with the method the stock 6.0 blobs support and our kernel support. Just because we run N doesn't mean you are getting every possible feature of N.
[ZenFone 2 Original Android Development] putzgonzalez:
Is the ambient display working again?
[ZenFone 2 Original Android Development] jrior001:
Not yet
[ZenFone 2 Original Android Development] jacksparow98:
11/27

What about screen mirroring
[ZenFone 2 Original Android Development] jrior001:
If I fixed all the cool things, believe me I would mention it. I only kicked a new build out in an attempt to deal with the reboot issues.
[ZenFone 2 Original Android Development] jacksparow98:
:3

i believe you will fix all the bug
[ZenFone 2 Original Android Development] darkchoco:
random boot

I get random boot.

build 11/30. same to 11/27

ZOOA 2/16
[ZenFone 2 Original Android Development] jacksparow98:
i no have random boot

I no have randomboot in Cm14.1
[ZenFone 2 Original Android Development] AkhnanDody:
Never random reboot 11/30 zooa 4/32 battery very good...
[ZenFone 2 Original Android Development] aerialus:
reboot problem still exist

[MENTION=2836769]jrior001[/MENTION]

i already flash 11/30 (do wipe dalvik+cache) and reboot problem is still exist,,,

and there is still no "notification preview (Lockscren with blackscreen)" ..

the latest stable for me is build 11/22 , (no reboot problem and notif preview is work)

Asus Zenfone 2 Ze551ML 4/32 2.3Ghz

here is the log from fs/pstore/* folder
[ZenFone 2 Original Android Development] broomer68:
I did wipe dalvik and cache, but I do not see the 'optimization' after boot.

Verstuurd vanaf mijn ASUS_Z00A met Tapatalk
[ZenFone 2 Original Android Development] ssirK:
that's normal, no more 'optimization' after boot with android Nougat
[ZenFone 2 Original Android Development] ccav2000:
Hmm, this is bad news. I saw in the cyanogen review site what Jason reverted, if it's not that it's either the ospm gpio call but that's included in the official kernel from Asus, or possibly some imports from the fugu device that he did, libhoudini and drm stuff.

And in the end, we still lack the explanation of what causes these reboots and why only some users get them and not others. Obviously I'm not talking about the very occasional reboots that I get, but the ones connected with notifications that happen frequently. Seems there's something wrong when the device tries to wake up.
[ZenFone 2 Original Android Development] aerialus:
are you already flashed 11/30 ?

are the "notification preview (lockscreen with black background)" work on yours?

because since 11/27 that feature is broken on mine,,

everytime got notification, my device is like only blinking rather than showing preview like on 11/22,,

sorry my bad english, hope you can understand what i mean :(

by the way,, the reboot problem only happened when device get notification in standby state,, not every notif cause the reboot,,

when device still used, the reboot problem never happened..
[ZenFone 2 Original Android Development] JuniorBR790:
There is something there, maybe if it is related to Houdini, people who has no reboots are not using any app not x86.

I don't have any reboots and I have very few apps.

If I get some time later I will try to compile some apk for arm and install to see if I get any reboots.

Enviado de meu ASUS_Z00A usando Tapatalk
[ZenFone 2 Original Android Development] Ciprriano:
I never did wipe dalvik and cache since i update from cm13 ,

all updates cm14 has worked great for me (never did wipe dalvik and cache ven i instaled new version cm14),

on last cm14 11/30 was a minor problem , all tiles was disappeared , i enter to edit and did a reset , voila it appeared again. Not another problem.

Asus ZOOA 4/64 Intel Atom Z3580 Quad-core 2.3 GHz

Sorry about my (poor) English