yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Android Development] baszu:
How to enter boot loader and recovery?

After flashing V4.1.1 auto install, trying Volume up (or down) + power won't do the trick, can access only via adb command.

I've just flash TWRP (would like to backup/restore). However, if I can't access to recovery via hardware, it wouldn't help that much when something wrong (not success boot).

By the way, do you have plan to release this as zip update instead of whole system.img?

=============

don't know why it was not working in the morning, but now I can enter bootloader by hold power+volume up.
[Zenfone 5 Android Development] zd87:
still cant get camera to work.

im from official asus lollipop,straight jump to v4.2 auto installer.

factory reset,cache format,clear app data,none of them work.

which part im doing it wrong?
[Zenfone 5 Android Development] itraceyou:
Have you try another camera from Play Store? Maybe your problem come from hardware not software
[Zenfone 5 Android Development] razerguy71:
How long does your battery last guys? 2hours? 3hours?
[Zenfone 5 Android Development] itraceyou:
With stock kernel and "Ondemand" governor, i've got 4.5 hours screen time. (facebook, chat, internet, No gaming).
[Zenfone 5 Android Development] zd87:
on KK it working well.now revert to stock lollipop from asus.launch camera and then 'no camera is found'.
[Zenfone 5 Android Development] _vishal:
Is the video preview problem solved in gallery?also the video option camera solved?I would be so pleased if you solve this..:fingers-crossed::fingers-crossed:
[Zenfone 5 Android Development] P.Fan:
I have unlocked the bootloader, flashed cm12.1 and it doesn't boot up, stock on boot logo for around 30 min now.
[Zenfone 5 Android Development] skghosh.mail:
Almost all of these bugs have been fixed in a later update. Download that to get rid of these issues. The last version does have some bugs but the ones reported by you are mostly fixed.
[Zenfone 5 Android Development] krul apis:
camera

camera not working..how to fix?
[Zenfone 5 Android Development] DroidX1001:
do we get double tap to wake up feature in future builds????

is it possible???

i know about the hardware limitation
[Zenfone 5 Android Development] kiranveerjatt:
Please post stable version
[Zenfone 5 Android Development] DarkFrenzy:
No we have only single tap to wakeup.just touch the screen when the screen goes off.
[Zenfone 5 Android Development] tank0412:
I know that double tap to wake up feature successfully ported on Zenfone 6 (Lollipop) And it works fine. So i think that we have no hardware limitation.
[Zenfone 5 Android Development] DroidX1001:
I didnt understood it what u said....what is single tap to wake up???

How can we implement it?

---------- Post added at 02:22 PM ---------- Previous post was at 02:20 PM ----------

Is it a kernel based tweak???? Will this feature be implemented in the future builds for zenfone 5??
[Zenfone 5 Android Development] DarkFrenzy:
I mean, when my screen timeouts,I need to touch the screen to wakeup it, no need to press the power button when my screen goes black.but when it is locked I need to press the power to wake up
[Zenfone 5 Android Development] :
Is there a way to update to 4.2 without wiping apps and settings?
[Zenfone 5 Android Development] silentwalker07:
what settings is that where you can find the frequency table and CPU usage, is it an app? thanks
[Zenfone 5 Android Development] DarkFrenzy:
Yes its an app.like kernal auditor
[Zenfone 5 Android Development] rabbit00010:
Updated build from July 10 ?

Heyy [MENTION=5875920]tank0412[/MENTION] is this supposed to be a updated build from the July 10 update?
[Zenfone 5 Android Development] tank0412:
No. Build stay same. (from the July 10)

Only kernel is updated.
[Zenfone 5 Android Development] condition_svk:
I had same problem returning to stock ROM and relock bootloader solved it :) so dont be affraid to wait for updates for this CM 12.1 ROM seems its just a bad config of boot.img
[Zenfone 5 Android Development] razerguy71:
What do u mean by battery backup? Can u post the link pls?

Guys, does anyone of u have tried this kernel with this ROM?

http://www.asus.com/zentalk/forum.php?mod=viewthread&tid=3832
[Zenfone 5 Android Development] themonyo666:
what's the bug for now? i don't have knowledge about this, but i'll support with all my heart.. :)
[Zenfone 5 Android Development] skghosh.mail:
That's a firmware specific kernel and should not work with this rom.
[Zenfone 5 Android Development] Nishant Hada:
Can you please provide app2sd fix?Also viper4android is not working.
[Zenfone 5 Android Development] monnett:
So far V.4.2 so good. Running like a butter except app2sd issue. But hopefully the dev can fix app2sd issue asap :D

Forgive my bad english :D
[Zenfone 5 Android Development] skghosh.mail:
Nishant, viper audio is working with this rom. All you have to do is to turn off the stock equalizer and set SELinux to permissive. You can use the Selinux mode changer app.
[Zenfone 5 Android Development] axxx007xxxz:
Which bugs there are in V4.2?

Is it good for daily use?

Does Camera work good?

Thanks in advance! :
[Zenfone 5 Android Development] tank0412:
I think that it is a good for daily use. (IMHO) Rom is enough stable.

Some users wrote that GPS bug was solved by Faster GPS app. You can try it.

Camera works good but i got some problems with autofocus. Autofocus is unstable.
[Zenfone 5 Android Development] axxx007xxxz:
Thanks! :)

Is it better than stock?

How is battery?

P.S.: Sorry for my bad English. :(
[Zenfone 5 Android Development] rabbit00010:
Heyy so [MENTION=5875920]tank0412[/MENTION] what improvements and fixes can we expect from this kernel?
[Zenfone 5 Android Development] tank0412:
I think that it is better than stock. (IMHO)

Battery life is little better thank Lollipop.
[Zenfone 5 Android Development] axxx007xxxz:
Thanks again! :)

Does themes works fine?

(sorry if I ask lots of questions)
[Zenfone 5 Android Development] tank0412:
Theme works fine. (I tested it) But i love AOSP so i stay on the stock theme.
[Zenfone 5 Android Development] skghosh.mail:
Be careful while applying themes. Lot of them will cause bootloops. Usually the boot animation part of a theme causes this, so if you don't apply the boot anims you will be fine.
[Zenfone 5 Android Development] axxx007xxxz:
There is any tool for go back to stock if I get bootloop or other problems?

P.S.: Sorry for my bad English. :(
[Zenfone 5 Android Development] tank0412:
You can use my CM12.1 backup for TWRP:

https://yadi.sk/d/H-ev_goqho474

You can restore system partion if something go wrong.
[Zenfone 5 Android Development] skghosh.mail:
About themes :

I have tried a LOT of them and almost all of them are working. Right now i use only two themes. One is AOSP CAUSE IT'S SIMPLE AND ELEGANT. the other is "DARK HOLO" ( http://xdaforums.com/showthread.php?p=58407177 ). anyone looking for a darker ui can try out that theme. It's elegant and has an xposed Module built in the theme. The xposed part works alongside the theme engine to provide corrections and to theme some otherwise hard to theme apps. Support that developer for his good work. :)
[Zenfone 5 Android Development] axxx007xxxz:
Can I flash it on a501cg?
[Zenfone 5 Android Development] tank0412:
Sure. And i am owner of a501cg too.
[Zenfone 5 Android Development] axxx007xxxz:
Does this ROM include the gapps? If not, how can I install it?

Does the problem with CPU-Z (mentioned in the first post) was fixed?

Thanks in advance! :)

P.S.: Sorry for my bad English. :(
[Zenfone 5 Android Development] tank0412:
Micro-gapps is included in this rom: PlayMarket only.

Problem with CPU-Z have not fixed yet.
[Zenfone 5 Android Development] axxx007xxxz:
The auto installer give me some problem and can't install the ROM. It also doesn't recognize sleep command.
[Zenfone 5 Android Development] tank0412:
You using 4.2 version of autoinstaller or not?

I can help you via Teamviewer.
[Zenfone 5 Android Development] axxx007xxxz:
[MENTION=5875920]tank0412[/MENTION]: Yes, I'm using V4.2.
[Zenfone 5 Android Development] tank0412:
sleep.exe is included. It must work. Strange.

Can you attach screenshot with your problem?
[Zenfone 5 Android Development] axxx007xxxz:
Here you go:

It doesn't recognize sleep and it doesn't load the files. :confused:
[Zenfone 5 Android Development] tank0412:
Flash this stuff manually.

Go to the CM12.1 folder then press Shift + Right Mouse Button -> Open in the command line and type this:

fastboot flash fastboot fastboot-4013.img
fastboot reboot-bootloader

fastboot flash dnx dnx_fwr_ctp_a500cg.bin
fastboot flash ifwi ifwi_ctp_a500cg_unlock.bin
fastboot reboot-bootloader

fastboot flash boot custom-kernel.img
fastboot flash system system-new.img
fastboot reboot-bootloader

fastboot erase cache
fastboot erase userdata
fastboot reboot
[Zenfone 5 Android Development] axxx007xxxz:
delete
[Zenfone 5 Android Development] shikhar623:
I am currently on WW 3.23.40.54. Can iIdownload WW 3.23.40.60 and flash it directly?
[Zenfone 5 Android Development] monnett:
Report :D

Getting fc on setting - accounts - google
[Zenfone 5 Android Development] axxx007xxxz:
[MENTION=5875920]tank0412[/MENTION]: Thanks! :) Installed it manually.

Camera show black screen, I tried with ASUS camera but got the same problem, please help. [emoji22]
[Zenfone 5 Android Development] skghosh.mail:
You can place the downloaded image file in device storage and restart the phone. Then it will detect the new image automatically and will ask you if you want to upgrade.

After upgrade, you will retain your settings and apps.
[Zenfone 5 Android Development] knoneNull:
can you post your logcat or dmesg ? it impossible that camera will not connected
[Zenfone 5 Android Development] tank0412:
[MENTION=6149972]knoneNull[/MENTION]

I found a bug on your kernel. Can you check it?

To get this bug you should enable autobrightness and manually set minimum brightness. Screen will turn off but proccessor continie working.
[Zenfone 5 Android Development] knoneNull:
yeah i check for it
[Zenfone 5 Android Development] raj_9658:
Whats new in the kernel included in auto installer 4.2?

After flashing fix sd.img magnetic sensor is not working. Please fix that. Also battery drain is high
[Zenfone 5 Android Development] axxx007xxxz:
I tried with a factory reset from recovery but it didn't helped (after that the phone lock the screen by itself), so i tried to re-flash the kernel and the ROM again and wipe cache and userdata but the Camera still not working (no auto-lockscreen problem now).

Here you are the logcat with ASUS Camera: link.

P.S.: Sorry for my bad English. :(
[Zenfone 5 Android Development] lhperin:
I have the same problem, im not using this rom yet because the camera doesnt work.
[Zenfone 5 Android Development] blinoff82:
Guys, camera app works perfectly with kernel by [MENTION=6149972]knoneNull[/MENTION]
[Zenfone 5 Android Development] lhperin:
Yeah, for most it works, but if you search this thread, there are some people with camera problems. I really dont know why only a few people got this problem.
[Zenfone 5 Android Development] axxx007xxxz:
I also don't know why for some people work and for some not; I hope my logcat will help.

P.S.: Sorry for my bad English. :(
[Zenfone 5 Android Development] skghosh.mail:
Could be an incompatibility between the bootloader unlocking method and the boot image in use. But i don't have enough knowledge to either confirm or investigate this.

You could emulate the way i went about installing this rom. If you want i will search for and post links to the tools and method i used to get to cm12.1 from locked stock asus rom.
[Zenfone 5 Android Development] jimmys121979:
what about this kernel? http://www.asus-zenfone.com/2015/01/custom-kernel-zenfoneindia2x-4x-kernel.html do you believe that it can work with this rom so we can get better battery perfomance?
[Zenfone 5 Android Development] axxx007xxxz:
I unlocked the bootloader, installed the Kernel and the ROM using file and command from auto installer 4.2.
[Zenfone 5 Android Development] tank0412:
This kernle for Kitkat so it do not work with CM.
[Zenfone 5 Android Development] jimmys121979:
i cant understant why i cant flash the custom kernel. any idea?thank you
[Zenfone 5 Android Development] silentwalker07:
does anyone have the previous kernel for this ROM? the one before knone's updated kernel on the newest update?
[Zenfone 5 Android Development] knoneNull:
Good news cwm recovery is now working to flash cm 12.1 zip file , but you need to adjust to my devices tree , soon I will share :) and the source
[Zenfone 5 Android Development] tank0412:
I have it. You can download it here:

https://yadi.sk/d/ccE2jdOOhwmvN

---------- Post added at 03:11 PM ---------- Previous post was at 03:10 PM ----------

What is the error which you get?
[Zenfone 5 Android Development] jimmys121979:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flashboot upi-boot.im

usage: fastboot [ <option> ] <command>

commands:

update <filename> reflash device from update.zip

flashall flash boot, system, vendor and if f

nd,

recovery

flash <partition> [ <filename> ] write a file to a flash partition

erase <partition> erase a flash partition

format[:[<fs type>][:[<size>]] <partition> format a flash partition.

Can override the fs type and/or

size the bootloader reports.

getvar <variable> display a bootloader variable

boot <kernel> [ <ramdisk> [ <second> ] ] download and boot kernel

flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and

flash it

devices list all connected devices

continue continue with autoboot

reboot reboot device normally

reboot-bootloader reboot device into bootloader

help show this help message

options:

-w erase userdata and cache (and forma

if supported by partition type)

-u do not first erase partition before

formatting

-s <specific device> specify device serial number

or path to device port

-l with "devices", lists device paths

-p <product> specify product name

-c <cmdline> override kernel commandline

-i <vendor id> specify a custom USB vendor id

-b <base_addr> specify a custom kernel base addres

default: 0x10000000

-n <page size> specify the nand page size.

default: 2048

-S <size>[K|M|G] automatically sparse files greater

than size. 0 to disable

that is the message
[Zenfone 5 Android Development] tank0412:
[MENTION=5985022]jimmys121979[/MENTION]

You type wrong command. You should type this:

fastboot flash boot upi-boot.img
[Zenfone 5 Android Development] axxx007xxxz:
[MENTION=5875920]tank0412[/MENTION]: Do you think that the old boot.img can fix Camera problem?
[Zenfone 5 Android Development] tank0412:
I am not sure. But you can try it.
[Zenfone 5 Android Development] jimmys121979:
with this command i get this message

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot upi-boot.img

error: cannot load 'upi-boot.img'
[Zenfone 5 Android Development] tank0412:
Try this:

fastboot flash boot boot-fix.img

Whick kernel do you want to flash?
[Zenfone 5 Android Development] axxx007xxxz:
I tried but Camera still not working so I flashed again the new Kernel. Thanks anyway!
[Zenfone 5 Android Development] jimmys121979:
knonenull custom kernel
[Zenfone 5 Android Development] axxx007xxxz:
Try:

fastboot flash boot custom-kernel.img
[Zenfone 5 Android Development] jimmys121979:
i try this already. also i would like to tell you that when i write the command with a space between flash boot i get error. when i write flashboot without space i get the first message that i send you. post 471
[Zenfone 5 Android Development] LuanHalaiko:
hi

I see you are in a project of making rom for android, you can help make the cyanogenmod 12.1?
[Zenfone 5 Android Development] axxx007xxxz:
Any idea for fix Camera? It show only black screen for me. :crying:

[MENTION=5875920]tank0412[/MENTION] [MENTION=6149972]knoneNull[/MENTION]
[Zenfone 5 Android Development] devilboynv:
I flashed knone kernel

Well its running fine but

Faced random FC's under settings menu

I m still getting the same battery backup with or without it!

Those people who wants to improve battery backup

Install xposed module by romracer

And use modules like :

Amplify

Boot manager

And greenify

And trust me! After using it m getting very nice battery backup! :D

---------- Post added at 01:54 AM ---------- Previous post was at 01:49 AM ----------

Do this

Rename the kernel by knone

To just "custom.img"

Download the adb folder

Place the custom.img into that adb folder

Reboot your phone into bootloader and type

fastboot flash boot custom.img

Hit enter!

If you are still getting an error post a pic !

And make sure that you are flashing the latest custom kernel by knone !

Which is. "upi-image.img.zip" i guess.

And one more thing are you using ported Asus camera app?
[Zenfone 5 Android Development] jimmys121979:
ok. i flash it. no i use the cyanogen camera app
[Zenfone 5 Android Development] themonyo666:
im planning to flash it, but from now it still unstable... :(
[Zenfone 5 Android Development] betexino:
did twrp 2870 recovery work after flashin this rom ?!!
[Zenfone 5 Android Development] tank0412:
Yeah. TWRP will work.
[Zenfone 5 Android Development] betexino:
10x for ur hard work

must i reflash it after install this rom ,!
[Zenfone 5 Android Development] tank0412:
No
[Zenfone 5 Android Development] axxx007xxxz:
When will be released the next update?
[Zenfone 5 Android Development] knoneNull:
Source https://github.com/zenfone5

build cm12.1 with kernel source that i modify ,Flashing cm12.1.zip cwm working and tested Flashing cm12.1.zip twrp working and tested
[Zenfone 5 Android Development] axxx007xxxz:
How can I go back to stock Lollipop?
[Zenfone 5 Android Development] tank0412:
Flash boot, recovery, fastboot from WW 3.23.40.52 and then sideload 3.23.40.60 firmware.
[Zenfone 5 Android Development] axxx007xxxz:
Sorry, I don't understand.
[Zenfone 5 Android Development] blinoff82:
Bro, this means that the main developer will now use your repos? Do you keep in touch with him? Can you tell us if he is working on updating or quit it? The latest build released half a month ago.
[Zenfone 5 Android Development] tank0412:
Download this:

https://yadi.sk/d/qXbvDMX3i7kVh

And flash it:

fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash fastboot fastboot.img

Then download official WW 3.23.40.60 firmware:

https://yadi.sk/d/V3HbNKhshs6Bt

Go in the stock recovery and choose "Install update from ADB" option. It will sideload WW 3.23.40.60 firmware:

adb sideload UL-ASUS_T00F-WW-3.23.40.60-user.zip
[Zenfone 5 Android Development] axxx007xxxz:
It will lock my bootloader?

I will get OTA update?

Thanks! :)
[Zenfone 5 Android Development] tank0412:
Installation script will lock bootloader but some users reported that it did not do this so you should lock it manually after installation.
[Zenfone 5 Android Development] axxx007xxxz:
So I have to type:

adb wait-for-devices
adb reboot bootloader
fastboot flash fastboot fastboot.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img

Right?

And now how can I enter in recovery for flash firmware through sideload?

Thanks! :)
[Zenfone 5 Android Development] knoneNull:
i message him about the cwm but i think he is busy, it depend to him if he use the source or not, i just want to share the source for feature use if some one want to work from the scratch
[Zenfone 5 Android Development] kiranveerjatt:
Nyc work ... Keep it up
[Zenfone 5 Android Development] blinoff82:
If I had local_manifest by dev, I could try to compile new build from scratch. Otherwise, I fear that there may be mistakes that lead to bootloop. :(
[Zenfone 5 Android Development] tank0412:
No.

Reboot in the droidboot mode and type this:

fastboot flash fastboot fastboot.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img

EDIT:

To sideload you should put zip file with firmware to folder with adb & fastboot
[Zenfone 5 Android Development] axxx007xxxz:
How can I reboot in droidboot? When I'm in droidboot I have only to type these commands?

How can I enter in recovery for flash firmware?

Thanks! :)
[Zenfone 5 Android Development] blinoff82:
Guys, stop chat! There is PM messages. ;)
[Zenfone 5 Android Development] tank0412:
OMG. Turn off phone then press Power button and volume+ button. When phone is turn on, you should stop holding power button bun continue holding Volume+ button.

To enter in recovery press Volume- button and do same steps.
[Zenfone 5 Android Development] DarkFrenzy:
Are u going to continiu building the cm12.1 . i think tran has stopped he is getting older now I saw that in his twitter pic
[Zenfone 5 Android Development] condition_svk:
Man :) What kind of phone u running T00F or T00J ? :)

Btw if u wanted to return stock Firmware prepare yourself for battle :D

If u want I can sent u some blog with tutorial :)
[Zenfone 5 Android Development] skghosh.mail:
Lol :D ..........

Anyway, since I have never used the CWM before, i want to ask the experienced users about the benefits of it over my current Twrp 2860 recovery.
[Zenfone 5 Android Development] tank0412:
It is up to you.

But why you ask about this if we do not have CWM?
[Zenfone 5 Android Development] Burnmode:
Anyone can do antutu test and send the results?

I want to compare results with KitKat stock.
[Zenfone 5 Android Development] tank0412:
It got 24000+ scores
[Zenfone 5 Android Development] blinoff82:
Same here.:good:
[Zenfone 5 Android Development] rabbit00010:
heyy [MENTION=6149972]knoneNull[/MENTION] so what improvements can we expect from the knone kernel?
[Zenfone 5 Android Development] Burnmode:
On stock kitkat i have 23411 score.

I wait to fix battery drain :D
[Zenfone 5 Android Development] DarkFrenzy:
Nothing is improved.evevry thing vis deproved
[Zenfone 5 Android Development] betexino:
any app to take screenshot?!
[Zenfone 5 Android Development] axxx007xxxz:
Power + Volume down. ;)
[Zenfone 5 Android Development] Aldoir:
Even with the last kernel I'm unable to use camera, only get a black screen.
[Zenfone 5 Android Development] skghosh.mail:
You can still take screen shots by pressing power and volume down button simultaneously.
[Zenfone 5 Android Development] zd87:
me too:crying:
[Zenfone 5 Android Development] skghosh.mail:
Let me clarify. As far as i know CWM is a recovery like TWRP which knoneNull has implemented inside his CM12.1 package. (please correct me if i made any mistakes in understanding the posts so far) so all i am trying to figure out is if someone installs that rom, they wouldn't have access to twrp anymore, right? It would be replaced by cwm.
[Zenfone 5 Android Development] tank0412:
Knone wrote that he flash CM12.1 package via CWM. But CM can be installed from any custom recovery like TWRP or CWM. So it does not matter which recovery do you use. It will work in any way.
[Zenfone 5 Android Development] betexino:
can't made screenshot with power+vol-

: poor memory or consctructor restriction ( on notification bar)
[Zenfone 5 Android Development] DarkFrenzy:
Power plus Volume down -
[Zenfone 5 Android Development] Mateus18:
Cm12, 28/07/2015

Bugs, WiFi, e Bluetooth as vezes não ativam e travam o Smartphone , tem que reiniciar para voltar ao normal!!!:rolleyes::rolleyes::rolleyes:
[Zenfone 5 Android Development] condition_svk:
T00F, T00J difference

Guys There seems to be difference between T00F and T00J, I, and one more from this thread have T00J version and we get black screen in camera :)

If someone get the bug with camera pls report what version of phone you have, that one before install CM 12.1

this CM work with both but camera seems to cause troubles in T00J original phones

look at that ppl pls :)

this CM cant be used in daily if camera not going to work

sorry for my english
[Zenfone 5 Android Development] betexino:
i'm using this ROM on t00j , videorecordin work but not as on stock . no wifi or bluetooth bugs

can't take screenshots
[Zenfone 5 Android Development] DarkFrenzy:
I m using original T00J, and everything is fine for me, camera also working. I flashed cm12.1 manually didn't used auto installer. I only used philz touch and twrp recovery auto installer, from that my bootloader got unlocked and I flash the images