yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Original Android Development] jrior001:
If you are flashing gapps on every dirty flash stop.

I'm not sure where you at in this bootloop, backup/restore nightmare but if you want a clean slate to move forward from do this....

Backup anything you want to save..

Reboot to recovery

Manually wipe data/system/cache

Flash ROM + gapps

Profit!

Going forward flashing updates just flash the ROM and reboot, leave gapps alone.
[ZenFone 2 Original Android Development] Bushcrafter:
Just finished fresh install of the latest update. Followed post 2995 instructions and it worked perfect! Just make sure you inable root access in developers options as post 3012 says too.
[ZenFone 2 Original Android Development] busa_blade:
That seemed to do it. Thank you. I think I missed the manual wipe of data/system/cache. It's always 1 step. *shakes fist*
[ZenFone 2 Original Android Development] Bushcrafter:
:good: :D
[ZenFone 2 Original Android Development] jrior001:
Coming from cm12.1 its not required and on nightly updates its not required...but you got yourself in a pile of s@$¥ and some times clean slate is best starting point to move forward easily.
[ZenFone 2 Original Android Development] smokinjoe2122:
Each build seems to get better and better. I'm almost ready to ditch the stock firmware completely.

Does anyone have any ideas why you get the green lines with YouTube (putting into recents, ect?)
[ZenFone 2 Original Android Development] »ViK13™:
i get green lines on snapchat too when i record a video :rolleyes::rolleyes:
[ZenFone 2 Original Android Development] Mahesvara:
Okay like others i have problems with idle battery drain too so i want to try this but can't we install Xposed really? I didn't see anything like that in first post. I wouldn't want to lose Xposed...

Really? Without using anything like Greenify/Amplify? Or did you toggle airplane mod? Sorry i am too having drain problems so could you please tell how did you do that?

Lastly i am a bit newbie but i didn't see this anywhere, i am using a CM based rom with custom kernel. If i clean flash CM 13 with this method will kernel change too? Thanks in advance for all answers :)
[ZenFone 2 Original Android Development] VinzNguyen:
yes. when you flash new build. the kernel change.
[ZenFone 2 Original Android Development] 1boy1dr:
It's not that xposed doesn't work, just not supported. Basically if you use xposed don't report bugs because it's more than likely not the developers fault and they can't be expected to fix something that they didn't screw up so making a bug report will only annoy the devs and make you look stupid. Same goes custom kernels.

Standby has always been great, even before doze was implemented. in fact before doze was implemented I thought it was because standby was and still is amazing.

sent from my Asus Zenfone 2 running CyanogenMod 13
[ZenFone 2 Original Android Development] mewdex:
I didn`t know about that. I thought that when I installed it was already on rooted configuration. That explain why the BetterBatteryStats wasn`t working properly.

I read all the pages here from page 150 and on and just now I found about this. May be this should be included into the main topic? So beginners like me won`t make the same mistake.
[ZenFone 2 Original Android Development] VinzNguyen:
[MENTION=2836769]jrior001[/MENTION] i hope you will add quick unlock feature :) (auto unlock when password is correct)
[ZenFone 2 Original Android Development] Ritik17:
Yes without greenify/amplify, I didn't enable airplane mode and I'm not using any custom kernel. Yes flashing CM13 will replace the kernel you're using.
[ZenFone 2 Original Android Development] mewdex:
Is there anyway to take off the root icon from status bar without supersu or xposed ? That hashtag annoys me
[ZenFone 2 Original Android Development] michael_hamada:
Well, please don't get me wrong, but the dev (and most of users who want to flash custom ROMs at their own risk) might regard the procedures jrior001 mentioned as the common knowledge;)
[ZenFone 2 Original Android Development] alekos panagulis:
Hi, can someone try if DUAL SIM SELECTOR does work or not?

In my case it does not.

Thank you.
[ZenFone 2 Original Android Development] moizsami:
Hi I know this question is not right for this thread but I am out of options. I have searched the forum still can't find an understandable procedure to How to return to Stock from CM13. Please a step by step guide would help alot..

Thanks.
[ZenFone 2 Original Android Development] VinzNguyen:
down ROM from asus website. (check your version). put it in ADB folder.

if you are using TWRP. reboot to recovery. Advance. ADB Sideload.

connect your phone with computer. open cmd (from ADB folder) then type "adb sideload rom-name.zip"

waiting for this.

reboot and enjoy the stock rom :v

srr my english
[ZenFone 2 Original Android Development] moizsami:
ok thanks alot, just one last question I need to have Anroid SDK installed right for this adb method to work ?
[ZenFone 2 Original Android Development] VinzNguyen:
did you install asus-driver on asus website ? if you did. you can use ADB.

wait. you are using CM13 and you dont know how to use ADB ?????
[ZenFone 2 Original Android Development] tanpro260196:
Clean flash latest build. Latest nano gapps. Gallery app does not recognize images from SD card.

Internal memory works fine.

Weird.
[ZenFone 2 Original Android Development] VinzNguyen:
try again. it work for me
[ZenFone 2 Original Android Development] tanpro260196:
Not works. The same thing happen for QuickPics app.

Formating my SD card now.
[ZenFone 2 Original Android Development] KarloHD:
would like again to cm13 but battery consumption is always very high. In Stock EchoeRom the battery is super. Cm 13 always bad battery, why? Have an idea for installation?

Sorry for the bad English ?

Gesendet von meinem ASUS_Z00AD mit Tapatalk
[ZenFone 2 Original Android Development] tanpro260196:
Re-format my sd card. Reboot. Everything is fine now.
[ZenFone 2 Original Android Development] 1boy1dr:
My battery has improved since flashing CM13 from stock.

sent from my Asus Zenfone 2 running CyanogenMod 13
[ZenFone 2 Original Android Development] septimvs80:
Encryption doesn't work

I'm running the 2/10 build. I tried to encrypt my device (as in settings-->security), it only took two minutes, which obviously immediately made me "guess" that something went wrong (it should take a lot more time). After the reboot, I got asked for the password, entered it, and I was shown a message like: "the password is correct, but data is corrupted, so you need a factory reset". Which couldn't be done, because in order to do it, /data/ must be mounted to be wiped, and TWRP couldn't mount it. I managed to solve the problem by manually re-creating and formatting the /data/ partition through adb, then I could do the factory reset and finally I restored a previous backup (you can easily find a guide through google, I'm a new user so I cannot post links). It wasn't really funny, an average user would have trashed the phone instead, and I think this is a pretty serious bug, because in android 6.0 encryption is supposed to be supported by default (see paragraph 9.9 of the android 6.0 compatibility definition ).

On a side note, when encryption is enabled, both /data and /sdcard (the internal partition, not the external card) are supposed to be encrypted, but I'm not sure whether the /sdcard partition was actually encrypted, because TWRP showed a mount error only for /data/, not /sdcard/, which might mean that the latter wasn't encrypted at all (I'm not 100% sure but I suggest devs checking that both partitions get encrypted).
[ZenFone 2 Original Android Development] jrior001:
I've wiped and encrypted my device 4 times in the last 3 weeks, twice prior to, and twice after flipping the switch on selinux "enforcing". This should be working fine, as mine is currently encrypted with adopted sdcard as well.

Also your external sdcard will only be encrypted if you've mounted it as adopted storage. if you choose removable storage it will not encrypt as it would never work anywhere else if you removed it.

The internal sdcard is part of /data so it always gets encrypted. It's mounted as /data/media/

When I have a chance I will run through encryption one more time to make sure everything is OK here.
[ZenFone 2 Original Android Development] VastoBrian:
Hi, i've just flashed the version 0210 and installed gapps too and everything seems to be better than stock..However i am facing some heating issues as my thermal readings are above 35 most of the time even under light usage, is this normal?....I chose a setting within the camera that seems to be faulty and causes the camera to crash..Please help...Is there any way of flashing pixel master camera?...Thanks
[ZenFone 2 Original Android Development] septimvs80:
I know that the external sdcard doesn't get encrypted. You're correct that the "/sdcard" folder at the top of the filesystem is also mounted as "/data/media", I was probably fooled by the fact that the encryption paragraph of the Android 6.0 Compatibility Definition lists /data and /sdcard as two distinct partitions to be encrypted. As for the encryption process itself, I'll wait for an official release before trying the encrypt the phone again, yesterday's "test" was enough for me.
[ZenFone 2 Original Android Development] :
Quick tip for those experiencing issues with notifications from Hangouts...

I went in to settings and reset the notification tone for both messages and calls (Inside the Hangouts app) and now my notifications for it are working properly. It's been a long time without notifications, and this appears to have solved it for me.
[ZenFone 2 Original Android Development] Heavybullets:
Seems like you had it easier than me. I had to go to my Google account via browser and then go to my devices. Delete this device I'm on then re sign in to my account. Then I've been fine from there.
[ZenFone 2 Original Android Development] smokinjoe2122:
I actually had issues with the stock ROM with this. I don't think it's CM13 related, but you're correct. Deleting the app data is usually the fix for me (It's all synced with Google anyways)
[ZenFone 2 Original Android Development] pedro1977:
Version 80 sdk23 of xposed is compatible with the latest build, if you use Supersu youll have to flash/upgrade via twrp to version 2.65 http://xdaforums.com/showthread.php?t=1538053 (if youre getting stuck on the cm screen on boot and have supersu installed i recommend you flash this)

Unfortuntely the inbuilt root isnt compatible with mybackup pro and or busybox so i still need to install supersu for the time being. Im using intelli3g via xposed to save battery power (2g when screen is off for a while) and keeping my cell signal off 2g when the screen is on. I would recommend you flash twrp 3 too.
[ZenFone 2 Original Android Development] jhtfarquhar:
Here's some battery drain information. Its just screenshots from betterbatterystats. I do find only two hours of screen on time to be kind of ridiculous.

Let me know if there are any other stats you want for this. I will gladly provide them if it means I can get back to not having to charge my phone halfway through my day.
[ZenFone 2 Original Android Development] busa_blade:
Would just like to say that the newer build is working wonderful for me. The phone is sipping the battery with only the smallest straw. Thank you so much.
[ZenFone 2 Original Android Development] sixth.insomniac:
Has anyone got a workaround to get the Chase app running ?
[ZenFone 2 Original Android Development] reposync:
selinux restricts init.d script to list files on /data directory and subdirs ( root dir and /system are listed fine)

init.d script:

#!/system/bin/sh

/system/bin/log avc: test6 start

export PATH=/sbin:/system/sbin:/system/bin:/system/xbin
for i in /data/*; do
/system/bin/log avc: test6 - $i
done

/system/bin/log avc: test6 end

logcat output:

02-12 22:21:08.580 265 265 W 17tst : type=1400 audit(0.0:5): avc: denied { read } for name="/" dev="mmcblk0p19" ino=2 scontext=u:r:sysinit:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0
02-12 22:21:08.580 265 265 W 17tst : type=1400 audit(0.0:6): avc: denied { read } for name="/" dev="mmcblk0p19" ino=2 scontext=u:r:sysinit:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0
02-12 22:21:08.587 268 268 I log : avc: test6 start
02-12 22:21:08.593 269 269 I log : avc: test6 - /data/*
02-12 22:21:08.606 271 271 I log : avc: test6 end

When I run this script in local terminal, logcat is ok:

02-12 22:24:03.835 2163 2163 I log : avc: test6 start
02-12 22:24:03.841 2164 2164 I log : avc: test6 - /data/adb
02-12 22:24:03.849 2165 2165 I log : avc: test6 - /data/app
02-12 22:24:03.856 2166 2166 I log : avc: test6 - /data/app-asec
02-12 22:24:03.863 2167 2167 I log : avc: test6 - /data/app-lib
02-12 22:24:03.869 2168 2168 I log : avc: test6 - /data/app-private
02-12 22:24:03.877 2169 2169 I log : avc: test6 - /data/backup
02-12 22:24:03.885 2170 2170 I log : avc: test6 - /data/bootchart
02-12 22:24:03.892 2171 2171 I log : avc: test6 - /data/bugreports
02-12 22:24:03.904 2172 2172 I log : avc: test6 - /data/dalvik-cache
02-12 22:24:03.911 2173 2173 I log : avc: test6 - /data/data
02-12 22:24:03.921 2174 2174 I log : avc: test6 - /data/drm
02-12 22:24:03.935 2175 2175 I log : avc: test6 - /data/gps
02-12 22:24:03.943 2176 2176 I log : avc: test6 - /data/local
02-12 22:24:03.951 2177 2177 I log : avc: test6 - /data/logs
02-12 22:24:03.958 2178 2178 I log : avc: test6 - /data/lost+found
02-12 22:24:03.976 2179 2179 I log : avc: test6 - /data/media
02-12 22:24:03.996 2180 2180 I log : avc: test6 - /data/mediadrm
02-12 22:24:04.013 2181 2181 I log : avc: test6 - /data/misc
02-12 22:24:04.020 2182 2182 I log : avc: test6 - /data/modem
02-12 22:24:04.026 2183 2183 I log : avc: test6 - /data/nfc
02-12 22:24:04.034 2184 2184 I log : avc: test6 - /data/property
02-12 22:24:04.054 2185 2185 I log : avc: test6 - /data/resource-cache
02-12 22:24:04.070 2186 2186 I log : avc: test6 - /data/security
02-12 22:24:04.078 2187 2187 I log : avc: test6 - /data/ss
02-12 22:24:04.085 2188 2188 I log : avc: test6 - /data/ssh
02-12 22:24:04.092 2189 2189 I log : avc: test6 - /data/system
02-12 22:24:04.100 2190 2190 I log : avc: test6 - /data/tombstones
02-12 22:24:04.108 2191 2191 I log : avc: test6 - /data/user
02-12 22:24:04.115 2192 2192 I log : avc: test6 end

On encrypted data the problem is same.

---------- Post added at 20:37 ---------- Previous post was at 20:36 ----------

Z00A, build 20160211
[ZenFone 2 Original Android Development] Ashtrix:
Dirty flashed over the CM12.1 2nd last build (5 Feb) with system wiped, no issues so far :good:

(First boot took time at starting apps loading, nova launcher's drawer took fair amount of time to show up apps)

Use Gravity box[MM] from Xposed, working flawless here, has notification drawer background too :cool:

Plus the shortcuts on lockscreen right and left can be customized with Custom LP lockscreen (Xposed) only in CM12.1 but It wont work with MM, Dev needs to update, Only the left one can be configured to phone with GravityBox for now, hope the features get added soon..

EDIT : So far these are the issues I've noticed and the CM12.1 comparision,

Lyft, CPY spyreloaded wont get installed to CM12.1 but they do on CM13. Unfortunately a few apps won't work maybe because of some SU issues : Rashr FCs , Fx Explorer's Root mode won't work.
[ZenFone 2 Original Android Development] Mahesvara:
Thanks for answers. I have one last question. I tried many ROMs but couldn't get stats like others even though I always did with clean flash(wipe data/cache/delvik or simple factory reset right?). So I am wondering are there more 'clean' flash like complete wiping all data in internal and sd? Or would it complete unnecessary? I heard from someone that sometimes wiping system too fix problems.

So my question is: If I wipe more than normal clean flash could it fix possible problems?
[ZenFone 2 Original Android Development] alexkalicharan:
Phone freezes at specific data rate

I'm on the 02/10 build and I recently upgraded my cable modem/wireless router unit that I got from Rogers. When connecting to the 5GHz WiFi band from the Zenfone, when I run a speed test the phone would freeze as soon as it hits the 140 mbps mark on the speed test. I tried several times and it will always freeze between 135-145 mbps download. I have to hold the power button to do a hard reboot, thats the only way to get out of the freeze. I haven't tried a speed test on the 2.4GHz band yet, I'll update when I do.
[ZenFone 2 Original Android Development] Azothyran:
Puzzle & Dragons (PAD) CTD

Hello, I am running the latest build as of the time of this posting (02/12/2016). The device is the Zenfone 2 Z00A WW 4GB model with an Intel Atom Z3580 2.33GHz.

I am curious if anyone else is having issues with the game Puzzle & Dragons. When I attempt to open it, it crashes back to the launcher. I've had this issue with every build all the way back to the start of this project. I have taken a full system log using SysLog as recommended in the first post and saved it to Pastebin. Not sure how much information is/was required, so I uploaded the ENTIRE Main system log. I will also attach the zipped version of all the logs in there entirety here.

Link to the system log on Pastebin: http://pastebin.com/2v4YjH1G

The point where I start the game is line 4126 and on (basically at the bottom of the log). Let me know if this is an issue that I need to take up with GungHo (the makers of the game) and I'll forward it to them. If you can, try to elaborate on the details as to why this is happening so I can have a clue as well.

This is my only gripe with the ROM so far since I play PAD on a daily basis, and I don't want to do without. Other than that, great work, and thank you for looking into this for me.
[ZenFone 2 Original Android Development] pedro1977:
Gravitybox isn't compatible with CM Roms, read the release notes for gravitybox and the reasons why. Your questions should be directed to the gravity box developers. What su issues are you referring to??? Flash supersu 2.65 via twrp and test again, if the inbuilt root doesn't work.
[ZenFone 2 Original Android Development] Ashtrix:
I know mate, I was just letting others know about the GravityBox to add more customization options and I didn't post any Gravity box related issues, check again.

And the Issue with SU doesn't mean SU doesn't work, its just like some conflict, happened to the earlier CM12.1 too that rashr flashing won't reflect any change, and FX root mode wont work throws an error - "Operation could not be completed". I don't want to make my system use 2 SU solutions when in Beta, I'm fine with CM's implementation.
[ZenFone 2 Original Android Development] brunnotr4:
build 02.10.16 are problem in mount external and internal SD card at USB cable normaly in windows ? only can conected with USB in TRWP mode mount, more any have a problem ?
[ZenFone 2 Original Android Development] jrior001:
It does not default to mtp mode on USB connections. There is a option to toggle USB mode that shows up in the notification panel. Choose USB mode from there.
[ZenFone 2 Original Android Development] jrior001:
A brief look at this log is screaming gapps issues at me. Fwiw this is similar to our suspicions with ingress and one or 2 other apps that have been troublesome.
[ZenFone 2 Original Android Development] Azothyran:
I know the game has Google Play Games integration as well as some sort of Google Account component which ties your game data with your Google info for backup and retrieval (separate from Google Play Games Cloud Save) I think they refer to it as Google Account Authentication. I could be way off base here, but if it is an issue with GApps, that's the only thing that comes to my mind that would affect the likes of Ingress or other Googly things like that.
[ZenFone 2 Original Android Development] Sayan44:
That means, we have to lose all the data everytime when we need to update to latest nightly. :confused:
[ZenFone 2 Original Android Development] wifestealer:
No if you're doing dirty flash. Data is lost if you're doing clean flash.
[ZenFone 2 Original Android Development] Sayan44:
Dirty flash not working from 02/05 to latest builds. Restoring apps are not working either. Can you suggest any good app to back up data so that I can make a clean flash and restore the data :( I am stuck with 02/05 build because of dirty flash not working and restoring apps not working :( I don't want to lose my game progresses and sms messages :rolleyes:
[ZenFone 2 Original Android Development] wifestealer:
If 02/05 doesn't work then try 04

I'm 02/01 and I did dirty flash over Jan build. Make sure you wipe out cache/dalvik after flashing.

For backup, tb is best. I use it and I've got no problem. You don't even need supersu cause inbuilt root is amazing.
[ZenFone 2 Original Android Development] Sayan44:
I am on 02/05 build. I want to update to latest nightly (02/12), but unable to do that because of the mentioned problem
[ZenFone 2 Original Android Development] pedro1977:
For upgrading to 2/9 (maybe even 2/8) or later from older builds, try dirty flashing first by doing the following:

Before proceeding, flash TWRP 3

Although it's your call, I would avoid flashing GAPPS altogether. If you do, avoid tampering with install config files. I update my GAPPS monthly.

Flash the newest build (Don't flash gapps)

Flash xposed v80 SDK 23 (Optional)

Flash supersu 2.65 via TWRP (If you had a supersu installed previously, install it. Otherwise its optional)

Clear delvik / caches and reboot

If this doesn't work (i.e. get stuck on the splash screen) try clean flashing (and restoring data) by doing the following:

Backup everything with TWRP

Wipe system, data and both cache options (4 options in total)

Flash latest build

Flash latest gapps

Restore data (only) from backup.

Flash xposed v80 SDK 23 (if applicable)

Flash supersu 2.65 via TWRP (If applicable)

Clear delvik/ cache

Reboot

For upgrading after this.

Flash latest build

Flash latest GAPPS (optional, some have had problems with this. Unless indicated to do.so, I do this monthly and always use the same i.e. nano, pico etc.)

Flash Xposed v80 SDK 23 (if applicable)

Flash SuperSU 2.65 (if applicable)

Clear delvik/ cache

Reboot

Note: Don't update the binary via SuperSU app (2.62, 2.65 etc), it will most likely cause it to stick at the splash screen.

Release Notes:

[MENTION=3857343]crpalmer[/MENTION] changeshttp://review.cyanogenmod.org/#/q/owner:"crpalmer"

[MENTION=2836769]jrior001[/MENTION] changes: http://review.cyanogenmod.org/#/q/owner:"jrior001"

General CM Stuff : http://www.cmxlog.com/13/hammerhead/

Latest Builds (Avoid flashing back older builds)

ZE551ML: http://download.crpalmer.org/nightlies/Z00A-cm-13.0/

ZE550ML: http://download.crpalmer.org/nightlies/Z008-cm-13.0/

TWRP: https://twrp.me/Devices/ Flash Latest

GAPPS (x86, 6.0) http://opengapps.org/ PICO is the safest/ lightest option.

Xposed x86 V80 SDK23 http://xdaforums.com/showthread.php?t=3034811

Supersu 2.65 Only TWRP Flashable version. If you have the in-built root enabled in developer options, you can disable it after flashing this. http://xdaforums.com/showthread.php?t=1538053

You can download to, and flash from either the internal or external memory.

FOR FLASHING OR REFLASHING STOCK ROM

http://www.asus.com/zentalk/forum.php?mod=viewthread&tid=12528

---------- Post added at 11:20 PM ---------- Previous post was at 10:41 PM ----------

You can backup your data with TWRP and restore it after the clean flash, so no its not.
[ZenFone 2 Original Android Development] Sayan44:
TWRP 3.0.0 is out for our device? :confused: :eek:

Anyways, used Titanium, and got it working. Thanks guys :) 02/12 build is working smoothly.
[ZenFone 2 Original Android Development] Rogier Oudshoorn:
I was running on a 01-08 build, and today I did an update of TWRP to 3.0.0 (through their manager app), rebooted into recovery, only wiped both caches, and installed yesterday's build. Everything just worked.

Awesome job coders!