yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Original Android Development] kenbo111:
Anyone who has read this thread knows! ;)
[ZenFone 2 Original Android Development] jimmys121979:
I have read all pages my friend and I am in 18112016 build. I am wondering about this because I have proximity sensor problems and the stock rom users says that in. 184 there is no proximity sensor problems. ;)
[ZenFone 2 Original Android Development] kenbo111:
Obviously you have not. Post #559
[ZenFone 2 Original Android Development] jimmys121979:
Although I have and I am not the only one. Not Brazilian device
[ZenFone 2 Original Android Development] Saurabh4255:
I am still having screen not turning on issue on my device (2GB RAM and 16GB ROM - ze551ml). I am on 1611 nightly. Phone's screen does not lit up on double tap or by pressing power button. Screen lit up after around 10 or more seconds. It happens everyday and to overcome from this I have to reboot phone. Does anybody facing same issue?

Also cast screen is not working on chromecast.

Apart from this, this is awesome rom. Loving it completely after every day of use.
[ZenFone 2 Original Android Development] moizsami:
I have audio issue on google Allo. Whenever i send a message or receive a message( while in chat screen) a disturbing sound occurs.
[ZenFone 2 Original Android Development] JuniorBR790:
[MENTION=2836769]jrior001[/MENTION] I found out some things about the sensor problem in Brazil phones.

I tested every oficial Asus build to see when the problem got fixed, and it was on UL-Z00A-WW-4.21.40.144-user.

The UL-Z00A-WW-4.21.40.134-user does not work sensors

The UL-Z00A-WW-4.21.40.144-user Works

The UL-Z00A-WW-4.21.40.184-user Also Works

Then I made a list of ALL files that got changed between those two builds, and on all those files there were:

/system/etc/firmware/psh.bin.ze550ml

/system/etc/firmware/psh.bin.ze551ml

But I think you already patched those files on CM14 for us because they already are the same. But then I realized that /system/etc/firmware/psh.bin is the same on all builds since 4.21.40.134 that is the oldest I tried.

So I tried getting the file psh.bin.ze551ml of the UL-Z00A-WW-4.21.40.184-user, renaming it to psh.bin and sending it to my phone on /system/etc/firmware/ with adb push.

Well, after reboot it all works now, and it boots very fast too.

So I think that for some reason, our CM14 is loading the wrong file.

Maybe it should be loading psh.bin.ze551ml but is loading psh.bin.

Maybe our Brazilian devices are missing some key identification that identifies them as ZE551ML ?

Maybe some case sensitive problem ?

I was getting lots of:

LibsensorhubClient: socket_local_client failed (-1) with errno (No such file or directory), sleep for 100ms

during boot, now this log don't appear anymore.
[ZenFone 2 Original Android Development] p@trickj:
im from brazil and my step-by-step was: Android 5 (2.15.40.13) --> Android 5 (2.20.40.196) ---> Android 6 (2.21.40.144) ---> Android 6 (2.21.40.184) --> Cyanogenmod 14.1 (16/11) ---> Cyanogenmod (18/11), the sensors problems show up after cyanogenmod, all these rom stock hadnt any problems with sensors. Although the problems, im using daily and its a very nice rom with enhanced battery life and performance, i reached 68086 points on antutu. And besides sensors problems and having an issue with gallery, it doenst show none pictures i got and i already checked permitions, anyone knows whats happening? sorry for the english
[ZenFone 2 Original Android Development] ghirodoimo:
Thanks very much for the ROM you've done what the Asus folks dedicated a year and a half in just a few days. The ROM is perfect, smooth and fast, the only thing I've noticed is that, the WiFi speed is slow with respect to MM. Once more thanks. I'll never go back to the stock ROM.
[ZenFone 2 Original Android Development] Lukitos97:
I just did and it keeps the eternal loop
[ZenFone 2 Original Android Development] p@trickj:
Fix sensors

after read the last reaply of page 81 here, member JuniorBR790 discovered whats was going on with Z00A sensor, i did what he mentioned went to UL-Z00A-WW-4.21.40.184-user.zip, pick the archieve that was on system/etc/firmware/psh.bin.ze551ml, renamed it "psh.bin" and overwrite on my cellphone at system/etc/firmware/psh.bin with ES File Explorer, everthing works fine now
[ZenFone 2 Original Android Development] espeon:
I was curious and left mine on overnight. It drained from ~67% to ~47% over the course of about 8 or 9 hours.

It's probably some app you have keeping the phone awake, as I have alarms set.
[ZenFone 2 Original Android Development] jimmys121979:
how are you overwrite it?
[ZenFone 2 Original Android Development] p@trickj:
yes, i just put there and reboot the phone, if youre going to try, dont forget to give the permissions to the app

---------- Post added at 06:54 PM ---------- Previous post was at 06:41 PM ----------

worked?
[ZenFone 2 Original Android Development] JuniorBR790:
With ADB it would be like:

adb root
adb remount
adb push "C:\UL-Z00A-WW-4.21.40.184-user\system\etc\firmware\psh.bin" /system/etc/firmware

But don't forget that psh.bin in this case, is actually psh.bin.ze551ml renamed.

To do it with ADB you should enable root access for ADB on Developer Options.

Yours phone has to be ZE551ML, I am not a ROM DEV so I can't confirm if this is wrong or not. I am just saying that it is what I have done on mine.
[ZenFone 2 Original Android Development] p@trickj:
i think the easiest way to do its to extract the file from stock rom .184, rename and use EsFileExplorer to place in the directory
[ZenFone 2 Original Android Development] Beackman:
Yes i made the same using ES file explorer and worked to me too, i used the file from .144 and is all ok now. thx for the tip guys.
[ZenFone 2 Original Android Development] p@trickj:
now, with sensors okay, only thing missing is xposed
[ZenFone 2 Original Android Development] michele.degano:
From me all working fine ... I have only one issue on bluetooth car system where I can using only like media player and I can't using like phone and make/receive phone call.

If I using Stock Rom or RussianBear Rom (derivated from Stock), all working fine.

[MENTION=2836769]jrior001[/MENTION] How I can log this issue for help you to understanding where is the problem ?

Every day I drive for 4 hours at day and is so much important that working and I can make phone call from car.

Thanks a lot for your fantastic work.
[ZenFone 2 Original Android Development] mefisto2114:
Hi someone have issues with Google cast? Black screen when mirroring screen
[ZenFone 2 Original Android Development] jrior001:
Interesting stuff with sensors guys. It's like its not picking the right sensor firmware. I think the kernel (an the model identity stuff in the kernel) dictate what forward to load. Late tonight I'll take a look and see if I can't either fix or add logging to this are so I can see what going on.
[ZenFone 2 Original Android Development] p@trickj:
anyone having problems with gallery or media apps? for instance, gallery and MXplayer dont show the files only file explorer's
[ZenFone 2 Original Android Development] Beackman:
[MENTION=2836769]jrior001[/MENTION] after the trick woth the sensor file, the ROM is so much smooth and fast, no problema at all, great job.
[ZenFone 2 Original Android Development] JuniorBR790:
I think I found the real problem.

Are we using the Asus Kernel V4_21_40_134 ?

Because when you said about the kernel identifying stuff, I downloaded to see.

And I found on ZE551ML_4_21_40_134\linux\modules\drivers\hwmon\psh.c , line 306:

if (getProjectId() == 0x17)
snprintf(fname, 40, "psh.bin.ze550ml");
else if (getProjectId() == 0x1F)
snprintf(fname, 40, "psh.bin.ze551ml");
else if (getProjectId() == 0x1B)
snprintf(fname, 40, "psh.bin.zx550ml");
else
snprintf(fname, 40, "psh.bin");

And getProjectId() reads the info from the file: "/sys/module/intel_mid_sfi/parameters/project_id"

By doing on my ZF2:

cat /sys/module/intel_mid_sfi/parameters/project_id

I get 30, wich would be 0x1E.

Now I don't know if it is a typo on the code or if they forgot some variant of that model.

Why don't asus update their site with the source along with the current updates ? :(

I can't test what I am saying because I have no idea how to build this thing :D
[ZenFone 2 Original Android Development] jrior001:
That's exactly where in the code I was going to look through. Asus has never been great about publishing matching updates but I can definitely add another statement there to hands any odd cases.
[ZenFone 2 Original Android Development] jrior001:
Can you (or any other brazillian device owner) undo the sensor hack (or just reflash the ROM because it will undo it ) and then fastboot flash this boot.img and report back please ?
[ZenFone 2 Original Android Development] JuniorBR790:
Sure!

Doing it now, Will report back when done...

done...

Problem solved! :)

I flashed back the cm-14.1-20161118, rebooted to check and it took a long time and as expected, no sensors.

So I got to bootloader and flashed yours boot.img.

The system booted very fast and all sensors working ;)

While writing this, the phone rebooted once, without me doing it, but it is probably unrelated, as it usually do it once after flashing the ROM.
[ZenFone 2 Original Android Development] agm2112:
Did you notice a New system file on 184 stock called sensorapi service?
[ZenFone 2 Original Android Development] jrior001:
Thanks, I'll kick out a new Z00A build with that fix, hopefully there's no other variant with the same code that needs the normal psh.bin.
[ZenFone 2 Original Android Development] xline_y:
Using ZE551ML with 4G RAM.

Tencent WeChat keep crashing on CM14.1(20161116), while it's working normal on cm-13.0-20161027-UNOFFICIAL-Z00A.zip .

Both with Cache/Data/System wiped, clean install, and only latest GAPPS added, no root.

Attached with logcat.
[ZenFone 2 Original Android Development] Lukitos97:
[MENTION=2836769]jrior001[/MENTION]

I can't get back to CM13 official. I did what you told, I runned the downgrade version of your script then I did a wipe cache/davilk then I flashed CM13 official and gapps

Until there all good, but then appears that screen with the CyanogenMod logo and then that screen "Optimizing apps..." but after optimizing apps it returns to the screen with CyanogenMod logo, it loads a few minutes and then get back again to Optimizing apps screen. And keeps doing this like a eternal loop
[ZenFone 2 Original Android Development] JuniorBR790:
I think if you do a factory reset on recovery it will start the system normally.
[ZenFone 2 Original Android Development] jrior001:
I hope you didn't think you could downgrade without a full data wipe...
[ZenFone 2 Original Android Development] jrior001:
11/19 build is up, resolves Brazilian sensor issues and hopefully doesn't introduce more trouble. No other changes from previous build. No I'm not re-running Z008 as it unaffected by these issues.
[ZenFone 2 Original Android Development] JuniorBR790:
Did you edit the ProjectId 0x1F to 0x1E or did you add one more line for the 0x1E with the same file as 0x1F ?

I am asking because i think that it was not a typo on the kernel, they really forgot a variant, I found this on the file UL-Z00A-WW-4.21.40.184-user\system\etc\brcm_config_init.sh:

# project ID
ZE550ML=23
ZE551ML=31
ZR550ML=28
ZX550ML=27
ZE551ML_CKD=30
[ZenFone 2 Original Android Development] JFS1969:
Superb work!

Z00A, 4Gb, 32Gb, Intel64

Sensor working perfectly since 16/11 version.

No major bugs. Battery drain is perfect (about 20-22 hours at full work) and everything working properly. Almost as accurate as CM13 i had installed two weeks ago.

Congrats!! Superb work!!
[ZenFone 2 Original Android Development] jrior001:
The other one 0x1F is for the rest of us ze551ml devices, has to stay.

http://review.cyanogenmod.org/172043
[ZenFone 2 Original Android Development] leoarten:
Great Work.. Sensors are finally working on brazilian handsets... Amazing job.. Thank you very much
[ZenFone 2 Original Android Development] kennynp:
[MENTION=2836769]jrior001[/MENTION]

Thank you for the great work!

Using your original 134 scripts, I have made BLOB update from UL-Z00A-WW-4.21.40.184-user.zip, Run it on my Z00AD, ze551ml working great.
[ZenFone 2 Original Android Development] extreme.samir:
Same problem with me i am on 18/11 build with z00A. No mobile data , no wifi and device was ideal but it drains 15% in 8 hours.
[ZenFone 2 Original Android Development] kennynp:
Have attached my battery usage and the WiFi speedtest result. 18/11 look good.

Cheers
[ZenFone 2 Original Android Development] mjesani:
I am having battery drain issue. Lost almost 30% while sleeping.
[ZenFone 2 Original Android Development] mjesani:
See this miscellaneous thing.
[ZenFone 2 Original Android Development] ninhvuhungkhang:
Agreed, my Z008 after dirty flash from 1112 build (dalvik/ ART cache wiped) seems to have enormous battery drainage with little heat (seems something been using in the background). For most example is when i go for sleep about 1h30, battery was at 50% and when wake up at 8h. It's completely out of juice.
[ZenFone 2 Original Android Development] hieulanhat123:
how to see changelog in update ??
[ZenFone 2 Original Android Development] ninhvuhungkhang:
For now there should be no changelog. You just have to look at [MENTION=2836769]jrior001[/MENTION] comments for he'll inform about new builds.
[ZenFone 2 Original Android Development] Saurabh4255:
I am also facing this issue.
[ZenFone 2 Original Android Development] Inz889:
Has someone use this ROM as a daily driver?
[ZenFone 2 Original Android Development] jimmys121979:
so i think that i never had proximity sensor problem.It waw just a little dust under the tempered glass.. :D:D Everything is ok now
[ZenFone 2 Original Android Development] grorg:
Yes, just annoying that sometimes SIM card deactivated.
[ZenFone 2 Original Android Development] Adysss:
Thank you for this beautiful build. I only have 2 problems now:

1) When battery drops to 20% it's shuts down and it doesn't start till I plug the charger

2) On Asus PixelMaster Camera App with CM13 and MM Blobs every function (panorama, gig, optimization, etc.) worked perfect. Now it just FC's.

Can we hope for an update for this problem?
[ZenFone 2 Original Android Development] dcduartee:
I do and it works perfectly. Everything works and battery is better than stock and CM13
[ZenFone 2 Original Android Development] beamscotty:
Had that until last build and a couple of upgrades of google services (not gapps, I flashed pico 7.1 with the firs CM14 build, per recommendations and experience). Which gapps are you using? I suspect it is gapps related. Seen the same thing on other CM14 devices.

Anyway, I'm sure a clean flash w. pico gapps would solve it. See attached. Latest build. Fully charged 10 hours ago, last night.
[ZenFone 2 Original Android Development] beamscotty:
As noted.
[ZenFone 2 Original Android Development] ninhvuhungkhang:
Well, I use Nano package. Works fine during the 1112 build. But i'll see to your suggestion
[ZenFone 2 Original Android Development] mefisto2114:
Hi, I use my phone for most of day in waterproof case, when I receive call proximity sensor turn off the screen, so i can't pick up call, how to turn it off?
[ZenFone 2 Original Android Development] ninhvuhungkhang:
For normal uses, you should not let anything cover proximity sensor. So try to avoid any close contact with it and it won't turn off your screen during call
[ZenFone 2 Original Android Development] uzzoo:
Hello,

Am now back again with M_BL_downgrade_to_LP_for_zf2_551ml_6.0.zip

Z00A

7.1 Android Rom is running

problems

- Googel App Store constantly stalled

- Verity check fail message interferes

1. What is M_bootloader useful for?

Is there info

2. "6. On first boot you will see the standard Verity check fail message, just ignore it. :)"

This medication always comes after every reboot.

Is that normal?

uzzoo
[ZenFone 2 Original Android Development] flasalas:
Yeah, it works fine!
[ZenFone 2 Original Android Development] timbernot:
Thank you , you have saved this phone IMHO , you saved me searching a newer device for at least another year , thanks to you ...you have surpassed anything and everything Asus could ever provide..You should be given they keys to head Asus boardroom ;)

Xmas card via PayPal with a few beer tokens coming very soon :good:
[ZenFone 2 Original Android Development] mefisto2114:
But I work in dirty and wet environment, so I need to use waterproof case, screen off during call is no problem, but before answer is.
[ZenFone 2 Original Android Development] N!ghty:
I have the same bug. I did a clean flash according to the 1st post and this happened after my 3rd reboot or so... The workaround, as Biobak already stated, to switch to another user (I used Guest, which still has a black screen) and then back, works.
[ZenFone 2 Original Android Development] charliecantsurf:
Battery stats on 18-11 build

[MENTION=2836769]jrior001[/MENTION] You're a legend !
[ZenFone 2 Original Android Development] dcduartee:
How do you get 6h of sot? I can barelly get 2h
[ZenFone 2 Original Android Development] gREENNNNN:
Hi!

Can any1 help me?

I've installed CM14.1 From stock MM (last version .156). Everything works fine except the SIM.. Phone isnt detecting SIMs.. Obviously SIMs are detected in any other ROM

Any ideas? I have a Z008D.
[ZenFone 2 Original Android Development] dredremon:
unable to call always call ended even tho i have strong signal

build 18/11

z00A 2.3ghz 4gb ram
[ZenFone 2 Original Android Development] @chan:
Using open gapps Pico should solve your problem ?

1. "M_bootloader" is the marshmallow (Android 6.x) version of bootloader, a bootloader is essential to boot the phone

2. It is normal
[ZenFone 2 Original Android Development] charliecantsurf:
Nothing at all, wiped everything from internal storage, flashed latest cm14 build, micro gapps and voila.
[ZenFone 2 Original Android Development] moizsami:
I also have Google cast problem. Not working
[ZenFone 2 Original Android Development] jwee96:
Problems encountered so far (Nov 19 build)

1) Camera launch from lockscreen is not working

2) Unable to access sdcard through cm file manager

3) Screen recording is not working

4) Can't adjust performance profile in battery menu

5) Can't disable music visualization in lockscreen

6) Known camera issues

7) Live display not working
[ZenFone 2 Original Android Development] ninhvuhungkhang:
Following your doing, but the Misc thing still exists and battery drainage still kind of quick for Z008
[ZenFone 2 Original Android Development] espeon:
Screen recording is a CM problem, I think. Livedisplay may be as well (or it may be that they've moved it to be hardware-specific since I think that's a thing in N. Either way, early nightly).

1, 2, and 5 work for me. I think 4 works as well, but there's a broken string so I don't actually know *which* performance profile I'm using if I switch them.
[ZenFone 2 Original Android Development] uzzoo:
Ok, the cell phone is Full Wipe.

And the gapps 7.1 x86 and full version.

Test the later with the pico version

thanks
[ZenFone 2 Original Android Development] azuroo:
Anyone having troubles in the whatsapp áudio ? Or Google Chrome

I think is another brazilian bug
[ZenFone 2 Original Android Development] p@trickj:
this audio problem shown up with whatsapp, facebook app, some videos in google chrome, mortal kombat X, real racing 3, GTA SA.
[ZenFone 2 Original Android Development] timbernot:
[MENTION=2836769]jrior001[/MENTION] you have mail , check your chimney ;D
[ZenFone 2 Original Android Development] mjesani:
Hey, I clean installed with pico and still there is a miscellaneous bug.
[ZenFone 2 Original Android Development] beamscotty:
Z00A? At least 1118 build? If yes on both, then I don't know what to say. Mine fixed w. that build and pico.

---------- Post added at 05:56 PM ---------- Previous post was at 05:53 PM ----------

Never use full version of gapps. That is asking for trouble. Besides, if you get pico, the rest is downloadable from the play store.
[ZenFone 2 Original Android Development] mjesani:
It's Z008 and yes latest build1811.
[ZenFone 2 Original Android Development] beamscotty:
That would explain it as several users have reported this problem on the Z008.
[ZenFone 2 Original Android Development] jrior001:
All of this is petty much accurate at this point and I'll add to it, battery life generally sucks. I'm trying to tracking down a few wakelock issues I'm seeing.

1. Nothing lulaunches right from lock screen.

2. Cm file manager has a pending rework in progress so don't expect anything here till the update for that comes in. No ETA.

3. Yep, and neither does Chromecast mirroring

4. I never implemented performance profiles so I'm not sure why we even see this ATM.

5. Eh...not a priority at all

6. Not going anywhere soon

7. Looks like the "software" version of live display is broke, hoping CM fixes that before I find time to figure out and implement the hardware version from asus's odd display customization driver.
[ZenFone 2 Original Android Development] dcduartee:
I'm getting emergency calls only on the lock screen even though the sim and calls are working fine. I have a Z00A
[ZenFone 2 Original Android Development] Ferreira_F10:
Trying to flash last 11/19 build, and it stops on "Patching system image unconditionally...", and the blue loading bar stucks on the beggining.

Never faced any issue flashing CM13 Official and Unofficial, CleanStock MM, RussianBearMM... Only in CM14.1. My device is brazilian. Someone can help me?

Edit: 11/18 works. 11/19 not.
[ZenFone 2 Original Android Development] alfymon22:
How to use Google Assistant in this ROM CM14.1?

is there any flashable zip whoch works on this on this device.? :confused:
[ZenFone 2 Original Android Development] beamscotty:
Let me qualify your statement by saying that I never got mirroring to work in any CM versions, starting with 12. However chromecasting an enabled app like YouTube or TuneIn works like a charm. Much better than in any past version. Great stuff, as I rely heavily on this feature.

---------- Post added at 08:44 PM ---------- Previous post was at 08:44 PM ----------

Never had a problem with the clock or alarms.
[ZenFone 2 Original Android Development] JuniorBR790:
Just tried to flash here. It flashed normally for me. Brazilian phone. Sensors working now.

Try to download de md5sum file, when flashing see if TWRP checks the md5 of your downloaded zip. Maybe it got corrupted...

Enviado de meu ASUS_Z00A usando Tapatalk
[ZenFone 2 Original Android Development] zen2fans:
Same problems bro...

But im use AICP build i donk know where the problems
[ZenFone 2 Original Android Development] spikeofax:
This is working fine in general. Hats off to all concerned! My only issue is outgoing calls defaulting to sim2 on startup. Can't see any prior mention of it. Perhaps I have missed something? Thank you...
[ZenFone 2 Original Android Development] Ferreira_F10:
I flashed 11/18 build and flashed the updated boot.img (that fixes the sensors)

All fine here, best rom ever!

Enviado de meu ASUS_Z00A usando Tapatalk
[ZenFone 2 Original Android Development] Polycarbonate:
Check your Build.Prop, this is probably because the Build is set to UserDebug instead of User, check RO.Build.Type, it's a developer string, I recommend not changing it if it is set to UserDebug, it's not an actual drain just calculation.
[ZenFone 2 Original Android Development] kenbo111:
I used this: https://play.google.com/store/apps/details?id=com.trivisionzero.getassistant

And installed the beta version of assistant of course. Don't forget to clear Google app data.
[ZenFone 2 Original Android Development] JuniorBR790:
That works to, I had this configuration, but flashed the latest to test after you said it was failing.

But just to note, it is a good practice to download the md5sum file to the same directory as TWRP will check your file integrity automatically if md5sum is there.

Enviado de meu ASUS_Z00A usando Tapatalk