yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Q&A, Help & Troubleshooting] smnshuvo:
This video is no different from the previous debrick method posted by @a8962383

As some users couldn't get the texts so I thought of making a video tutorial. Don't blame me.

Video link: https://www.youtube.com/watch?v=xuD39TjQJGo

[YOUTUBE]xuD39TjQJGo[/YOUTUBE]
[Sony Xperia XZ Questions & Answers] chawlasrijan:
After I updated to Nougat last night, I've been getting this message when I run the stock camera app.

Also, the Snapchat camera or the WhatsApp camera works fine.

Is anyone else facing the same issue ? & Does anyone know how to solve this ?

Thank You

Update 1:

So after so many times reflashing & trying everything possible that came to mind, I've come to a conclusion that relocking your bootloader makes your stock camera come up with this error.

You can relock your device, get the OTA update, but when you boot into the system, you well get this error message everytime you open the stock camera app.

Now, when I unlocked my bootloader & flashed the MM ftf, this problem was gone forever.

So unlocking your bootloader on Nougat via Flashtool, will ask you for a password to boot, which you will never know, maybe it is because the device is encrypted.

Update 2:

Unlocking your bootloader again on Nougat using official Sony guide fixed the issue for me.

The password to unlock your device is no longer present with this method :)

Make sure you don't use Flashtool to unlock your bootloader on Nougat.
[Sony Xperia XZ Questions & Answers] karrouma:
If you have rooted , restore the original cam and clear cache and data , after that update your phone
[Sony Xperia XZ Questions & Answers] chawlasrijan:
I don't understand !!

Do you want me to reflash MM & update again ?
[Sony Xperia XZ Questions & Answers] chawlasrijan:
I was on unlocked Bootloader + Root + Xposed on MM, I relocked my bootloader, reflashed MM & updated to Nougat through OTA.

So currently I'm not rooted & have my bootloader locked.
[Sony Xperia XZ Questions & Answers] karrouma:
Yes reflash mm

Restore your original camera and clear cache and data

Update to android 7

Or do factory reset from android 7
[Sony Xperia XZ Questions & Answers] chawlasrijan:
Done all of this, does not work.
[Sony Xperia XZ Questions & Answers] chawlasrijan:
Update: So after so many times reflashing & trying everything possible that came to mind, I've come to a conclusion that relocking your bootloader makes your stock camera come up with this error.

You can relock your device, get the OTA update, but when you boot into the system, you well get this error message everytime you open the stock camera app.

Now, when I unlocked my bootloader & flashed the MM ftf, this problem was gone forever.
[Sony Xperia XZ Questions & Answers] auras76:
Yes, you need to unlock the bootloader again to get back the camera. Seems to be flashtool relocking bootloader on xz i think.
[Sony Xperia XZ Questions & Answers] chawlasrijan:
So unlocking the bootloader on Nougat using official Sony guide fixed all the problems for me, don't use flashtool to unlock on Nougat.

Thank you
[Sony Xperia XZ Questions & Answers] caqo71:
I'm on auras MM rom. Have my bootloader unlocked, and I have the update notification. have this about two days, but I think that if I update, the phone could not boot.
[Sony Xperia XZ Questions & Answers] chawlasrijan:
Yup, don't update through OTA
[Sony Xperia XZ Questions & Answers] kodo28:
Hello,

I have the same error msg "the camera may be in use by another application. Please close the other application and try again".

I got my XZ from French Orange Carrier and I unlocked the bootloader via Sony Official unlock

Then I installed Rom Xperia XZ Customized FR 39.0.A.3.30 via Flashtool and then relocked the bootloader by Flashtool but since then the camera keeps showing me this error message.

I tried software repair on Companion and reflashing Customized FR 39.0.A.3.30 but nothing help.

Issue still persist :(

Can someone help and tell me how to get back the camera working on MM with looked bootloader or should I unlock the bootloader again ?

Cheers!!
[Sony Xperia XZ Questions & Answers] chawlasrijan:
Just Unlock your bootloader again using the Sony official guide, you can't use the stock camera if you've unlocked your device & then relocked it.
[Sony Xperia XZ Questions & Answers] kodo28:
Ok it is what I thought :p...it has to do with the missing drm keys ?
[Sony Xperia XZ Questions & Answers] chawlasrijan:
Correct.
[Sony Xperia XZ Questions & Answers] fastbooking:
Hi there, i got an issue trying to unlock again the BL on Nougat Romaur, at every time it gives me a FAILED feedback after the command, so the camera app doesn't work ( i'm on the modded stock camera app, so maybe a incompatibility with 7.0 ?)
[Sony Xperia XZ Questions & Answers] chawlasrijan:
Probably, try with stock app maybe.

Also use official Sony's guide to Unlock & not flashtool.
[Sony Xperia XZ Questions & Answers] fastbooking:
Used sony guide ;)
[Sony Xperia XZ Questions & Answers] chawlasrijan:
So you're not able to unlock again !! Right ?

Is your adb setup correctly ?
[Sony Xperia XZ Questions & Answers] fastbooking:
adb setup up with common way without error

Tried on xperia T3 to make sure and it's working

maybe i should try the stock app
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ShadowReaper1:
Lineage is a free, community built, aftermarket firmware distribution of Android 7.x (Nougat), which is designed to increase performance and reliability over stock Android for your device.

* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.

Lineage is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. Lineage does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for Lineage is available in the Lineage Github repo. And if you would like to contribute to Lineage, please visit out Gerrit Code Review.

What's Working

Boots

RIL(CALL,SMS,DATA)

CAMERA

AUDIO

WIFI

BLUETOOTH

VIDEOS

FLASH

SENSROS

GPS

What's Not Working

LED Blinking.

Off charge doesn't work don't let your battery die always put it in charging mode when your battery gets to 5%

Install instructions:

Reboot into recovery (latest TWRP recommended).

Wipe Data, System,Dalvik Cache,Cache and install.

No wipes required if you're updating from a previous version of CM 14.0 (Cache and Dalvik Cache Wipe recommended).

Flash ROM + Gapps.

Reboot.

Read post 2 before reporting bugs.

Changelog.

Download links

Rom - https://sourceforge.net/projects/android-rom-ota/files/LineageOS/Z010D/

OMS(Substratum) - https://sourceforge.net/projects/android-rom-ota/files/LineageOS-OMS/Z010D/

More Roms - https://sourceforge.net/projects/android-rom-ota/files/?source=navbar

Gapps - opengapps.org

Note - This isn't my work main developer of this project is audahadi so leave a like and support.

DONATION IS NOT NECESSARY BUT IT'LL HELP TO PAY SERVER BILLS.

Donate via PayPal - wan.audahadi@gmail.com

Credits

audahadi

luk1337

luca020400

Source

Device Tree - https://github.com/audahadi/android_device_asus_Z010D.git

Common - https://github.com/audahadi/android_device_asus_qcom_common.git

Vendor - https://github.com/audahadi/android_vendor_asus_Z010D.git

XDA:DevDB Information

LineageOS, ROM for the Asus ZenFone 2

Contributors

ShadowReaper1, audahadi, luk1337, luca020400

Source Code: https://github.com/kernel-hut/android_kernel_asus_msm8916.git

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.10.x

ROM Firmware Required: Marshmallow Bootloader/Modem

Version Information

Status: Testing

Created 2016-12-02

Last Updated 2017-12-09
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ShadowReaper1:
Reserved

SOME RULES

PLEASE USE GIVEN SECTIONS ABOVE TO SORT EVERYTHING YOU HAVE IN YOUR MIND FOR EXAMPLE IF YOU WANT TO REPORT A BUG USE BUG REPORT SECTION ANY BUG REPORTS GIVEN IN THE COMMENT SECTIONS WILL BE IGNORED SAME GOES FOR EVERYTHING.

First Read The OP And Use The Search Box To Find Your Issue There's A Chance That Somebody Already Might Have Faced The Same Issue Before And Fixed It.

Bug reports:

Explain how to reproduce the bug and attach logcat and dmesg (if you had a random reboot, also attach last_kmsg). If you don't know how to get those, you can use this app. Please, do not report bugs if you use any kind of mods (like xposed) or third party kernel.

Frequently Asked Questions:

Q) How can I unlock Developer options?

A) Go to Settings > About phone, and press five times on Build number.

Q) How can I enable root access?

A) Go to Settings > Developer options > Root access, and enable it for apps, adb or both.

Q) How can I set '3G only' network mode?

A) Open dialer, dial *#*#4636#*#* , open first option "Phone Information", there you can set your preferred network mode.

Q) Why there's a small delay when I wake up the phone?

A) Go to Settings > Display & lights and disable prevent accidental wake-up.

Q) Why is wifi always on in battery stats, even when it was disabled?

A) Go to Settings > Location, press on the 3 dots (top right) > scanning > disable wifi.

Q) How do I update Gapps? (Also useful if you have Gapps related problems).

A) Reboot into recovery. Wipe System, Cache and Dalvik Cache. Install ROM + Gapps. Reboot.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] rmatheist:
When you say ASUS PixelMaster Camera is not working does it mean that the camera features of the phone will not work, even after using 3rd party app?

Thinking of updating to cyanogenmod and sorry this will be my first time in rooting / flashing to custom roms.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] audahadi:
Fixed in next build.. Just hold on few more
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] obliviousryuk:
can't wait for the next build. thank you very much for your awesome work!
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] obliviousryuk:
DT2W

Hi. off screen gestures are working well. though, DT2W just like in the AICP ROM is not working.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] khiya:
looking forward for the camera fix :) missed the camera 360 already
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ekeluo:
Realized now that SMS is not working for me :(. Can't firm conversations at all, error. How to troubleshoot?
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ShadowReaper1:
Try to use other external messaging apps and read reserved post 2.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ShadowReaper1:
Camera Fixed;)
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ekeluo:
I think this is useful.

The app you linked to doesn't work, fails on start. Used Matlog instead (had to manually enable storage access from settings)
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] rmatheist:
Is it just me that cannot access my sdcard using the default file explorer of cyanogenmod? I could only access my internal storage
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] sLipamin:
yup. Cant access mine too. I use 3rd party file manager.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] khiya:
do I need to factory data reset/ wipe system to install 14.x? I'm already in CM13
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] sLipamin:
you have to. Wipe dalvik cache, cache, data, system and internal (optional). Our cm14 is not an update of our cm13. Hope it helps.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Velociraptor_KKP:
Is it ok to use custom kernel with this rom??

Can I use this rom with this custom kernel?

http://xdaforums.com/zenfone2/general/kernel-reaper-t3468632/page6#post69918890
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] baongocdbn:
Build - 20161202

d2tw not work :)
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ekeluo:
Fixed: has to delete the SMS database, which changed location in Nougat. Working now! :)
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ReinarKein:
Hi, there's a problem. I've accidently discharged my phone, when I plug usb to charge it, it's constantly turning on, then it realises that charge is 0% and it turns off. Again and again, on-off-on-off... I think it's a kind of firmware bug. How can I fix it? I even cant access TWRP. Only fastboot mode (up+power). The firmware is great, but now I cannot use phone :(
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] audahadi:
If you flash without Gapps.. I don't think there's configuration wizard. GPS seem work way better than previous build.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ekeluo:
Been suffering this bug for a long time, even now on resurrection remix 5.8.2
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Wmateria:
Like switching from Sim 1 to Sim 2?
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ekeluo:
That's what I do to try and solve it
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Wmateria:
It has to be a Lineage thing. I use Sim 1 with the RRemix Rom.. Never had a problem with turning off and on or switching fro LTE to whatever. I did noticed that it had a problem when switching, it doesn't reconnect with this Rom a while back. Wasn't sure it was fixed for Lineage.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] pikapikapoke:
Somehow the bug got fixed by itself on my phone -- I'm sure it was reproduclibe before.

I used Network Cell Reset to kill the radio service and start it again in case it won't connect, and now it always works properly, even without using that app.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] dreamH6:
I had a similar issue, solved rebooting.

Inviato dal mio Zenfone Max utilizzando Tapatalk
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Turiddusicily:
LineageOS-OMS?

Good morning, excuse someone can 'tell me what are the LineageOS-OSM:confused::confused:?
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] audahadi:
Lineageos with Substratum patch.. So you can use Substratum theme
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] regalaix:
What's new in 20170419 update?
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Wmateria:
Wouldn't know, on a clean install it doesn't go past the second part of the Starting process after picking the language.. It says: Startup Wizard close.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] dreamH6:
Same with previous build, installed 0406 and dirty upgrade

---------- Post added at 02:42 PM ---------- Previous post was at 01:55 PM ----------

Flashed (dirty) 20170419 GPS looks better.

Thanks for this amazing rom
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Wmateria:
Has Super SU been fixed yet?
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] dreamH6:
You have to flash root add-on from lineageos repository then root option is in developers menu
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Wmateria:
Much appreciated :good: It worked, finally the best ROM to use. :D
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Wmateria:
Not at all, i've been test RRemix for a while including the newest build. They don't have that bug anymore. I can switch off and on while on H+ and it reconnects fine. I know this Rom in particular (Lineage) needs a reboot a while back.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Wmateria:
Hmm.. gotta see if the problem can produce it. It's bee a while since using Lineage.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] pikapikapoke:
Anyone experiencing horrible 2D performance in some applications?

It only happens to me on klb.android.lovelive_en but not on other app. It lags horribly but runs fine on the stock Marshmallow ROM. Enabling "Disable HW Overlay" on developer setting seems to improve the performance, but graphical stutter and audio stutter still happen sometimes.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] regalaix:
Wifi connection drops/disabled during sleep then reconnects after i wake up the screen. How to fix it?
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] audahadi:
How to fix when doesn't know what cause it?
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] regalaix:
I've read something that it causes by optimizing the google connectivity service by doze. i look it up on battery optimization but i don't have that app, so maybe it's something similar to gcs
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] pikapikapoke:
Hi audahadi, do you have any feature changelogs for this ROM?

I would like to follow the development but the one on the first page doesn't seem to be updated and following the commits on Github is a tad bit too technical as I don't know what each commit does.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ReinarKein:
Worse with each update. In the latest versions all wireless connections are turning off unexpectedly. Some apps cannot access bluetooth, though it's marked as active, wifi is just switching off after sleep, and mobile data connection is falling down in a day or two, so you need to restart the device.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] GUNMASTER005:
Bluetooth and mobile data is working fine for me
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] audahadi:
Follow lineageos G+ pages.. Usually they will announce what new for each release.. Changelog same as them

Never had issues for all those mentions. For mobile data, you can enable mobile data always active in developer setting as workaround
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] GUNMASTER005:
Is the otg support is fixed? If not pls try to fix it :)
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] audahadi:
OTG work.. Most files system supported
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] CrazyLinuxNerd:
Hey :)

Just installed this on the 30th on my Zenfone Max:

lineage-14.1-20170428-Z010D.zip (by audahadi)

And, so far so good! It's working well from a fresh install (Full format etc, phone was running the latest stock rom prior. To the extent the bootloader was still locked, insane right? I mean who runs a stock rom these days? Anyhows, ditched stock rom due to lack of security updates from Asus and it seems Asus isn't updating it anymore.)

I'm happy with it, nice clean rom without all the bloatware and includes latest security updates.. love it!

But I've got a couple of little questions regarding this ROM :).

In this thread it's mentioned (several times) that the device cannot charge if the battery is depleted (so don't let it go flat :D) but sometimes accidents happen and you can end up with a flat battery is there any currently working known way to charge the phone if this happens? I read in the thread someone was able to charge by leaving it in fastboot mode, does this actually work?

It's also mentioned notification LED does not work? Seemingly my notification LED is working, so did this issue get resolved? or is it a different problem?

Okay, last couple of questions I promise!

I have "twrp-Z010D-3.1.0-11Mar17.img" from here:

androidfilehost.com/?w=files&flid=145572

Which I installed today, does anyone know if LineageOS's built in encryption (using 3x3 pattern) works with this version of TWRP? The original TWRP I had (One from first post) could not decrypt the stock firmwares built in encryption (it detected it, asked for pattern, but even with correct pattern could not unlock) has anyone tested encryption with this version of TWRP?

And finally, TWRP's backup, does it actually work? I've read a lot of places it is unreliable and often provides a bad backup, and in some cases wipes your data[1][2].

Anyhows,

Thanks for the great ROM! It's working great so far! :D

[1]github.com/TeamWin/Team-Win-Recovery-Project/issues/933

[2]github.com/TeamWin/Team-Win-Recovery-Project/issues/880
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Wmateria:
Someone got locked out from trying to charge from a depleted battery from another post.. Just be certain to keep the battery above 10% to prevent all that trouble.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] pssssst:
batterryyy

heya, first off thanks for a great ROM.

since the update the battery is just constantly dying... I mean before the update 100% battery would keep the phone on even for 1 day.

but since the update, it just drains even if there's no app or any communication on..

YES I got to flat battery and confirm no charging occurs while the phone's on .... i mean i got like 5% in 4hours...

last night it had 45% battery. I switched off all apps, killed all communications, and just left it on the desk overnight ( non-plugged).. 6 hours later there was 3% battery left :(

I just put the phone in recovery mode @ TWRP 3.0.3 btw, and gonna see if it reaches 100% batt. after 4h charging...
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] audahadi:
Left in airplane mode?
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] pssssst:
nope. no SIM + turned all comms off ( wifi, nfc, bluetooth)

dimmed display brightness to minimum too just for kicks but nadda.

I read multiple articles with users complaining about battery drainage upon LOS update ( other phone brands etc)

in theory, a clean flash with latest update should do the trick.... i'll try it after i have the phone 100%charged.

[ meanwhile since my previous post - charging phone in TWRP got to 53% battery in ~2h, on simple USB cable :D]
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] AliasM:
Any other bugs rather than not charging if the battery is drained? And is this rom worthy of daily use?
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] CrazyLinuxNerd:
Hey guys,

I've done some testing :D.

Few things to note

- Backup with TWRP v3.1 works. (Not tried restore yet, but it backed up all the data)

- Not sure if the TWRP decryption works - I tried encrypting phone however it just rebooted and went back to desktop (without encrypting)

- New ROM v20170504 seems to be working with no problems upgrading (Don't forget to clear cache!).

- Battery usage with v20170428 was indeed high, you could loose 20% battery in the space of 5 minutes just by reading emails.

- Battery usage with v20170504 seems to be better though, it's not loosing battery as fast now, but it is still early days.

There are no major issues that prevent this rom from being used on a day to day basis, so long as you charge your phone before it goes flat this rom works fine! Zenfone Max is my only working phone and is still working great!

Just to give you a laugh with what happened to my old phone: It bricked itself all on its own after working fine for 3 years, woke up one morning and it has powered itself off (while on charge) and could not boot claiming device cannot be decrypted.. even though it was never encrypted to begin with, turns out the internal storage was corrupted to the point it could not even be formatted :D.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] GUNMASTER005:
Ya i totally agree withu...just the drainage issue otherwise can be used as a daily driver.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] dreamH6:
I am using as daily driver, battery drain is higher than stock rom, but at and day I have 40% battery Left.

Battery drain with this rom is common on other devices with similar hardware, like xiaomi redmi 2, but with our big battery is not a problem.

First day after flash drain is higher.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] 2chevsky:
Something strange with Wi-Fi icon.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] 2chevsky:
I mean, my Wifi is disabled but icon shows like enabled.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] ShadowReaper1:
Try rebooting