yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Original Android Development] mastermarkofroms:
Devs this is confirmed I just checked storage settings myself on 09/23
[ZenFone 2 Original Android Development] ziddey:
F2FS! backed up ext4 /data in twrp. copied /sdcard to microsd. switched to f2fs and restored (rm -rf instead of formatting). copied /sdcard back and fixed ownership/permissions. F2FS! Seems to bench worse than before but I'm happier o_O
[ZenFone 2 Original Android Development] espeon:
That's actually been in there for a while, I think. I noticed it a couple weeks ago and completely forgot about it.
[ZenFone 2 Original Android Development] jrior001:
This is actually direct from stock Asus ROM. Idk if stock shows them all like CM does or not but the support for multiple USB drives is there. I can only assume that its possible to USB a multiport USB hub with multiple USB drives over OTG but I haven't tested. I'll likely clean this up and convert to more standard CM style with just one entry here but for now it remains.
[ZenFone 2 Original Android Development] ImjuzCY:
We on stock don't have any USB Storage entry. Not even one.
[ZenFone 2 Original Android Development] jrior001:
Stock may be hiding it, but the support is there. Those entries are direct from the stock ramdisk.
[ZenFone 2 Original Android Development] Bastaerd:
Benchmarks != normal phone use ;)

However, can you post your scores with and without f2fs?
[ZenFone 2 Original Android Development] jrior001:
I ran f2fs a day and a half on /data and /cache before i pushed the changes, I benched it pretty thoroughly and it was more or less the same. There's a few activities that appear faster in real world usage, (like installing apps). It will not magically make the devices fly or do magic speed tricks or anything like that.
[ZenFone 2 Original Android Development] wifestealer:
People want like s6 speed in Asus. Get the source code, learn it, try it, make it. It's called leverage
[ZenFone 2 Original Android Development] Mononon:
Is the S6 faster than our phone in day-to-day usage? I have a hard time believing that. I could see like hardcore gaming or emulators, but just routine tasks this phone seems to go without a hitch.
[ZenFone 2 Original Android Development] wifestealer:
There's a contrast difference between 5.0 and 5.1/5.1.1

Apparently, the cpu of s6 is unbelievable but people need to understand with 'F2FS' craze going on among us, it needs time
[ZenFone 2 Original Android Development] jrior001:
The s6 is a 8-core exynos monster, probably top of the benchmarking pecking order right now of available chips. The 2.3 GHz model sits somewhere in between last years qcom flagship 801 series and this years flagship 808/810 series, not to bad for a budget device.
[ZenFone 2 Original Android Development] wifestealer:
805 ;)
[ZenFone 2 Original Android Development] jrior001:
Right were about on par w/805, there's just not many devices that use that.
[ZenFone 2 Original Android Development] wifestealer:
Yep but we do need 5.1 but Asus :/
[ZenFone 2 Original Android Development] neo179:
Hello everyone!

After a LOT of Mix n Match I found a... workaround for the battery life issue.

1. Flash the firmware in the OP (2.19.40.22) - no other will do. If you did the stupid thing and upgraded (like me) and you'retoo lazy to flash stock again (like me) you can flash prism (v1) to get the firmware and then flash cm over it (everything through twrp).

2. Flash CM (duh I know :P ). You can also just perform a restore of your install. If Play Services gives you any grief just reinstall gapps and wipe cache

3. Grab the boot.img from any of the zip files in RRemix thread and flash it over CM

4. (Optional) Use the thessjactive governor for the cpu to get hotplugging (I don't think it works correctly yet but at the very least it will underclock the cores you aren't using)

Hope this helps other users too :) I'm seeing 4 days of screen off time now (with all sync ops on, wifi on, location services on battery saving mode, BT off)
[ZenFone 2 Original Android Development] wifestealer:
Thanks but no thanks cause I'm having good battery usage on my Asus. Although, I'm on 19 build
[ZenFone 2 Original Android Development] remola:
Hi guys,

I have a battery problem with zenfone 2 and cyanogenmod 12.1, android system is draining my battery.

I've flashed the 21/09/15 nighly and installed gsam battery monitor, and i can see android OS (kernel) is using cpu for 7 hours (almost all the time that my ZF2 powered on, 83% battery) and i can see the processes are guilty making more than 220 wakelocks are:

ospm_wake_lock

powermanager service.display

I only can attain 3.8 hours of powered on screen, can you help me please?

I have readed the neo179 post, but I hope it will be solvable via other solutions
[ZenFone 2 Original Android Development] wifestealer:
Use CPU spy reloaded and it helps to put into deep sleep mode which prevents to drain battery
[ZenFone 2 Original Android Development] espeon:
I'm pretty sure that flashing the firmware in the OP won't matter. They just list that firmware since there's a known bootloader unlock for it that's tried and tested (I'm pretty sure that this was said several pages back, but I can't find the post in question immediately)

They provide all the blobs in the builds, so the firmware you have when you flash shouldn't matter, since the blobs that are in the CM builds would override anything from that specific firmware.

[I'm not talking about anything like baseband, or anything else that might actually be updated through a firmware update that CM wouldn't overwrite - that stuff pretty much doesn't affect battery life.]
[ZenFone 2 Original Android Development] neo179:
I haven't checked everything that gets flashed...

I "lost" my battery life with cm once I tried out the latest prism ROM (with the latest firmware).

So I thought it was worth a try to roll everything back and see what happens.

I assume it flashes something more anyways... I've seen a couple partitions I never saw on my nexus 5 (e.g. "factory")
[ZenFone 2 Original Android Development] jrior001:
I've looked at all the OTA's the only thing extra that gets flashed is a modem fw update. Also in my testing to add that process to our recovery I found out its a one way process, it will not flash older modem fw over newer fw.
[ZenFone 2 Original Android Development] ansebovi:
Yes it works but no indication of fast charging...

Not even led after few seconds..

In your kernel, alarm from android system,then lot of Google play services... But in yours the drain is completely gone with lspeed, powernap, and amplify

In Stock, lot of wakelock from both android system and Google play services

Even with the same above apps, tweak.. There is drain in Idle and screen on..

Without those apps.. Heavy drain in idle.. Like 10 to 20% in 5 or 6hrs
[ZenFone 2 Original Android Development] saud__19:
Updates from the OP. Just download the full rom and install it using twrp.
[ZenFone 2 Original Android Development] Agus_ken:
copy contacts

there is someone can tell me how to copy contact from my simcard to my zeny 2 on cm12.1. Thanks before. :D

I have flash thia rom but i dont get my contact. :confused:
[ZenFone 2 Original Android Development] saud__19:
Just open the contacts app. Click on the 3 dots top right. Choose import/export and choose import from SIM card.
[ZenFone 2 Original Android Development] windylawyer.1712:
U can sycn from google server

Gửi từ ASUS_Z008D của tôi bằng cách sử dụng Tapatalk
[ZenFone 2 Original Android Development] Agus_ken:
There is no change on there.
[ZenFone 2 Original Android Development] Hritik154:
Is jump issue still there?

Man i was hoping that its a software bug..
[ZenFone 2 Original Android Development] Agus_ken:
What should I do?

I have do that but nothing happen.
[ZenFone 2 Original Android Development] windylawyer.1712:
Hmm, u can check if your contact was sycned to sever or not by log in via website.if ur contact was already sycned, i think u can try again.

If it isnt sycned, i have no idea how to get ur contact back @@

Gửi từ ASUS_Z008D của tôi bằng cách sử dụng Tapatalk
[ZenFone 2 Original Android Development] Sagarvaghela:
New update in List !!
[ZenFone 2 Original Android Development] Agus_ken:
But if i install with other rom. It will automatic sycned in my contact. But It is different if i instal cm.12.1. I have save my contact on my simcard but not automatic detect in my zeny2 rom cm 12.1.

Can someone solve my problem? Please and thanks before.
[ZenFone 2 Original Android Development] aaronoh:
Kernel Version/Battery Jump issue

Is it possible that the battery jump issue (jumping from a random % to 100% while charging, even though the timing suggests it is actually fully charged) has not been fixed by this rom because it still uses the stock kernel? Or is it a definite hardware issue at this point?
[ZenFone 2 Original Android Development] Christopher876:
Yes you can. I am using it on the same ZE551ML 2gb/16gb. The ZE551ML are the ones with a 1080p screen, 550ML is 720p and 550CL is a beefed up zenfone 5.
[ZenFone 2 Original Android Development] crpalmer:
Ummmm. Logs of what problem?
[ZenFone 2 Original Android Development] crpalmer:
That should also be fixed in today's build.
[ZenFone 2 Original Android Development] cangcan:
[MENTION=3857343]crpalmer[/MENTION] and [MENTION=2836769]jrior001[/MENTION], can you do something about the android OS drain in battery stats? or is it somekind of related to like "MISCELLANEOUS" stats in older lollipop rom before? just some accumulation of processes and drain and wakelock..
[ZenFone 2 Original Android Development] shadow_walker37:
Does anybody know how to install xposed?

And if we are to update, do we need to wipe everything or can we just flash the new build?
[ZenFone 2 Original Android Development] mr_gourav2000:
http://xdaforums.com/zenfone2/general/guide-to-install-xposed-installer-t3116476
[ZenFone 2 Original Android Development] shadow_walker37:
Yeah i know how to install, what i am asking is that if there is new build do we need to wipe again or can we just flash the updated zip.
[ZenFone 2 Original Android Development] GeneralPag:
Just flash it
[ZenFone 2 Original Android Development] neo179:
Sounds right (also maybe a WiFi driver? Think I saw it in there).

For me, my phone and with Greek carriers and bands, I had battery issues with the newer fw and also a bit of waiting time (2x normal) to connect to mobile data. The older fw fixed the data thing so maybe compatibility with ROM there? And then because I was still getting max 24 hours of off screen time I flashed the RR kernel which is now giving me 4 times that.

Anyway just to be clear Im not saying its a solution. Its a crappy, dirty workaround for anyone that has the same issue and wants to give it a go to get some decent battery life until a solution is found
[ZenFone 2 Original Android Development] crpalmer:
The next nightly build should include commits that add an indication of whether or not your phone is currently "fast" charging. If you see a "+" instead of the normal lightning bolt that means that fast charging is active.

Note: even if you plug into a fast charger, it is only active when your device is below 70% battery (that's how asus has it implemented).

Adding this involved changing some commits related to whether or not the phone displays as charging at all when connected for a fast charger. Please let me know if you have problems with that because of these changes (or problems with the change itself).
[ZenFone 2 Original Android Development] moyses:
Good morning

Today's build not yet available

Thank's CrPalmer for the all what you do for purpose our device
[ZenFone 2 Original Android Development] crpalmer:
The Z00A nightly is there now. I had a hickup on the build server but the Z008 build should also be running now (along with the other devices being build there that you probably don't care about).
[ZenFone 2 Original Android Development] ImjuzCY:
Do anyone have the list of apps that will install wrong lib files?
[ZenFone 2 Original Android Development] allasca:
[MENTION=3857343]crpalmer[/MENTION] 1 bug -> dialer animation is so laggy when appears :D

Everything oke..... And i love ( + ) symbol on circle battery :*
[ZenFone 2 Original Android Development] extreme.samir:
I also said it many times but noone is interested in solving it.[emoji22]
[ZenFone 2 Original Android Development] jrior001:
Are we still talking about the transparent header for the SIM label on calls? If so this is purely cosmetic and does not affect performance. Personally I talk with the phone against my ear and don't really see it ever anyways.
[ZenFone 2 Original Android Development] extreme.samir:
Yes it doesn't affect performance but still its bug and someone have to solve it too someday.
[ZenFone 2 Original Android Development] crpalmer:
No, we don't have to solve it.

Believe it or not, we spend hundreds of hours working on this phone for fun. That bug is not something that bothers me so I don't have to fix it until I feel like it. That's the nice thing about this being about fun. It will probably eventually get fixed by jrior001 or I (or maybe even someone else will fix it for another device because it affects all msim devices) but we most definitely do not need to fix it on command or on anyone's schedule.
[ZenFone 2 Original Android Development] madmonkey57:
Confirmed here (9/22 build, z00a).

Tried with "Google Camera" and "A Better Camera".

I didn't attach any log files since I doubt they would help. Please let me know otherwise.
[ZenFone 2 Original Android Development] ziddey:
F2FS without a doubt makes all the difference for 2gb devices. It's still a dog, but it's no longer unusable. It is possible to backup ext4 data and internal sd to microsd and restore after the f2fs conversion, but it's at your own peril. Requirements are a large enough microsd card and access to adb in recovery. As well, make sure you are using a recovery that supports f2fs (jrior001 or TheSSJ).

Backing up the internal sd:

# cp -R /sdcard /external_sd

This copies the internal sd to a directory on the microsd. Double check the card that everything is indeed there..

Backing up the rest of /data:

Simply use TWRP's backup and select only /data. Make absolutely god damn sure you select the external microsd for the backup. Obviously if you save to internal storage, it'll get wiped as soon as you convert to f2fs. Confirm that your backup is indeed in /external_sd/TWRP/(you'll see ASUS_Z00A or something else depending on phone/recovery)/...../

Converting to F2FS:

Under wipe, you should see advanced options to convert file systems. Select /cache and simply convert to f2fs. Same for /data. Nothing special here.

Restoring /data:

Under settings, enable using rm -rf instead of formatting. This allows the /data backup to restore without formatting back to ext4. Choose restore and find your backup. Simple.

Restoring /sdcard:

# cp -R /external_sd/sdcard/. /sdcard

# chown -R 1023.1023 /sdcard

# chmod -R 770 /sdcard

This restores the content and ownership/permissions. Ensure that everything is copied. Now you can delete the copy from the microsd (# rm -rf /external_sd/sdcard). This may be necessary or else the media scanner will go crazy on boot.

Most likely you'll be flashing a new nightly at the same time, so it may then be necessary to manually wipe dalvik cache. That's it. If you can read, you've successfully migrated to f2fs. Otherwise you've lost all your data.

Further reading: http://xdaforums.com/xperia-s/s-development/tutorial-migrate-filesystem-to-f2fs-ext4-t3004755

Some may be interested in copying /sdcard to computer instead of microsd. Likewise it's possible to create a twrp backup on internal storage, pull it to computer using adb, and then push it back to restore afterwards (assuming you have the available free space).

If you lose your data, it's your own damn fault.
[ZenFone 2 Original Android Development] kylemd:
Ha! I thought so...even started a thread about it.

Baseband version only appears to change when the blobs do though. Don't know why that is.

FWIW you don't necessarily need a flashable update zip for these IFWI files: unzip the ifwi.zip, navigate to that folder with command prompt and run the following:

Can confirm that it doesn't relock the bootloader.
[ZenFone 2 Original Android Development] samcjtsai:
Dear developers,

I read a post in Taiwan Asus zentalk by [MENTION=1813976]shakalaca[/MENTION], who first unlocked the zenfone 2 bootloader, saying that he found out how to fix the video recording issue.

the link http://www.asus.com/zentalk/tw/forum.php?mod=viewthread&tid=104927&extra=page=1

the translation:

prepration:

. get the attached file in the link: PixelMaster.zip (sorry I don't know how to attach file here, pls get it in the link)

. get PixelMaster apk : http://www.apkmirror.com/apk/zen ... droid-apk-download/

Installation:

unzip the Pixelmaster.zip and place the files in it to corresponding directories:

system/default.prop -> /system/default.prop

system/framework/bspcapability.jar -> /system/framework/bspcapability.jar

install PixelMaster apk app

reboot

explaination:

When I checked the log, I found there was a message:

E/CameraSource( 286): Requested frame rate (24) is not supported: 30,15,10

Then I unpacked APK to see how to set setVideoFrameRate to the right figure. I found the camera kept referring to /system/framework/bspcapability.jar (and a lot others like ro.build.model ..) Since there is no such file in CM, i tried to add it to CM and it worked.

I also found the camera module read ro.epad.mount_point.microsd to decide the storage location, so the easiest way is to use /system/default.prop
[ZenFone 2 Original Android Development] jrior001:
What video recording issue does this fix? I can record video to both internal and external storage on cm camera without issue.
[ZenFone 2 Original Android Development] samcjtsai:
Maybe it's only for those who use Asus camera app.
[ZenFone 2 Original Android Development] jrior001:
Sounds like a good reason we don't include Asus's apps...but I suppose we can look into it. Thanks for the report either way, its always good to get more input on any bugs.
[ZenFone 2 Original Android Development] cangcan:
hopefully you guys can look into it.. asus pixelcamera app has great modes like lowlight and miniature, and i will ditch stock rom if cm can support pixelcamera.. :laugh:
[ZenFone 2 Original Android Development] moyses:
How can we customize CM to get it like BlissPop,Resurection Remix and other Custom Roms because they are all based on cm

I want to know if there is a Mod or Something to directly do it from CM without flashing the others roms
[ZenFone 2 Original Android Development] allasca:
hehehehe you funny,... this is cm, use the another rom dude...
[ZenFone 2 Original Android Development] moyses:
My friend, all that roms are CM based, they add some customizations only.

So it will be very interesting to thing like i'd said, only mod ou others, to have that customization and benefits about CM improvements
[ZenFone 2 Original Android Development] Blubber120:
With me, battery drain has to be fixed, I am on one charge for three days now. Build 9/23 and 9/25. not much use, for sure, but no issues at all. Thanks for your awesome work :)
[ZenFone 2 Original Android Development] madmonkey57:
It's not simple customizations, it's different feature sets, some buried deep inside the OS.
[ZenFone 2 Original Android Development] jrior001:
Curiosity is killing me here....

Why would you want to hackify a CM ROM into another ROM when somebody is already providing builds of that ROM? I don't see where all the effort that would take makes any sense?
[ZenFone 2 Original Android Development] aaronoh:
Only reason I can think of is updates. CM is bult nightly while blisspop is weekly.....probably still not worth the effort
[ZenFone 2 Original Android Development] Alex86CT:
updating modem will fix the way for disable SIMs (1 or 2)?
[ZenFone 2 Original Android Development] jrior001:
No, it does not. Updating modem really only syncs you up with the matching blobs we are shipping In the ROM. Since we cant see what's inside, there's no way to know how important or not this is. As of yet no noticeable issues have arrised from not being on latest, so for now its not really necessary to update.
[ZenFone 2 Original Android Development] Heavybullets:
One quick question, with the modem updates, do they survive the wipes? i recently just wiped EVERYTHING and reinstalled everything to change to the latest format, do i need to update the modem agian?? or did it survive the wipe? is there a way to tell..?
[ZenFone 2 Original Android Development] jrior001:
It survives, flashes to partition you don't normally have access to.
[ZenFone 2 Original Android Development] Heavybullets:
Awesome, thanks for the quick reply.
[ZenFone 2 Original Android Development] RGoody:
I'm trying to go back to stock firmware, but I'm stuck. Bad. As of right now, I'm bricked. I can't flash any fastboot images (recovery, fastboot, droidboot, system all give "remote: permission denied" error).

If I try and sideload the xxx.40.90 firmware via ADB, it fails. Installing the firmware zip from the SD card fails as well. What the heck?

The fastboot images are the same firmware version that I'm trrying to flash
[ZenFone 2 Original Android Development] jrior001:
You aren't by chance low on battery are you? Device refuses to fastboot under 10 or 15% battery(can't remember which)
[ZenFone 2 Original Android Development] RGoody:
nope, I'm at about 50% and charging via the PC

---------- Post added at 12:40 AM ---------- Previous post was at 12:10 AM ----------

I moved down to the 40.63 firmware and recovery, and it's working now. I have no idea why, but I was having so much trouble with the 40.90 firmware/recovery.
[ZenFone 2 Original Android Development] Ntrasme:
I think you're supposed to flash the one that is current to your version. I might be wrong.
[ZenFone 2 Original Android Development] crpalmer:
I pushed some commits that enable the CM power profiles. In Settings >> Battery or in the notification panel it will be possible to switch between "Power save", "Balanced" or "Performance".

Balanced is the normal mode, performance enables the performance cpufreq governor and gpu devfreq governor.

Power save disables 2 cores, limits the max frequency (the value depends on the model), turns off some interactive governor features that boost performance and sets the gpu devfreq governor to power save.
[ZenFone 2 Original Android Development] Ntrasme:
Going over the commits, I saw that you even improved ASUS's PowerHAL. Seems like a lot of work, so thank you! However, do you think the new changes will be compatible with the 1.8ghz version of the Z00A? (Not Z008) Going over the code, it seems you set 'full' (max freq) to 2.3ghz for Z00A, but there is a 1.8ghz version of the Z00A. I'm not sure what can happen if you set the CPU to a frequency it cannot achieve. Just bringing up to your attention. I'll flash the new nightly tomorrow ASAP, and I'll report back on the situation.
[ZenFone 2 Original Android Development] Oishikatta:
I had tons of problems with 40.90 bootloader/recovery as well, I ended up flashing twrp (even though fastboot was giving me 'permission denied', it still flashed) and using it to flash the official full stock firmware.
[ZenFone 2 Original Android Development] woqii:
Planning to get on the latest modem update and build soon and will report back any findings.

Curious about F2FS. Still a bit on the fence on it. Anyone have any experiences to share?
[ZenFone 2 Original Android Development] Heavybullets:
Swapped to F2FS, I ended up just wiping everything, it works fine. Seems to be faster, maybe just a placebo though.