• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[CM 12.1][Android 5.1.1] Unofficial CyanogenMod 12.1 for Asus Zenfone 4 (A400CG)

arun483

Senior Member
Jun 7, 2014
368
175
0


Unofficial CyanogenMod 12.1 ROM for Asus Zenfone 4 (A400CG) [ UPDATE 20151128 ]

OLD VERSION


CyanogenMod 12.1 For Zenfone 4

UNOFFICIAL build of cyanogenmod 12.1 for zenfone 4 (T00I)

Disclaimer
Code:
#include <std/disclaimer.h>
/*
 * Your warranty is now void.
 *
 * I am 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 me for messing up your device, I will laugh at you.
 */


  • Tethering not working
You tell.



Bootloader Unlocker (Ignore if you have already unlocked) : Download
CyanogenMod 12.1 Rom (system.img): Download
TWRP Recovery : Download
Modified boot.img : Download
ADB Tools : Download
Intel USB Drivers (in case you need them) : Download


1. Make sure your Zenfone 4 is on 7.3.3 firmware.
2. Unlock Bootloader using Unlock Tool given above (Extract Unlock Bootloader Tool > Install apk> Unlock)
3. Install Intel Driver and turn on USB Debugging mode.
4. Copy boot.img, system.img and fix-twrp_zf4_recovery.img to adb folder.
5. Turn off your Zenfone 4 and boot into Droidboot (Power + Volume Up).
6. Connect Zenfone to your PC using USB Cable.
7. Open adb terminal and enter following commands
- fastboot flash system system.img
- fastboot flash boot boot.img
- fastboot flash recovery fix-twrp_zf4_recovery.img
8. Perform Factory Reset if you suffer Bootloop
9. All Done, Enjoy CM 12.1 on your Zenfone 4 T00I.

I have absolutely no involvement in the development of this ROM neither do I take any take any credit, all the credit goes to great developer X AnwarMov.
Donate him if you like his work.


CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.1.x (Lollipop), which is designed to increase performance and reliability over stock Android for your device.

Disclaimer
Code:
#include <std/disclaimer.h>
/*
 * Your warranty is now void.
 *
 * I am 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 me for messing up your device, I will laugh at you.
 */
CyanogenMod 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. You will need to provide your own Google Applications package (gapps). CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

Instructions

Bootloader Unlocker (Ignore if you have already unlocked) : Download

First time flashing CyanogenMod 12.1 on your device, or coming from another ROM?
Download the zip(s).
Install a compatible Recovery
Perform a NANDroid backup of your current ROM (Optional)
Wipe data & cache partitions of your device (required when coming from stock!).
Flash Recovery.
!!! NOTE: If you want to apply a new OTA update, please flash stock recovery first !!!

Also, if you encounter any errors with the official recovery by TeamWin, please don't ask for support here as this is an unofficial build (done with the hard work of many people collaborating in a great manner!)
Features:

- Compiled with CM12 sources
- Optimized for x86 (smooth UI now)
- internal and external storages are mounted correctly
- Full Crypto and SELINUX support
- Mtp enabled
- Otg enabled


Method 1
Download twrp_xxx.img from the download section and put in your adb/fastboot directory
Unlock your bootloader

Boot into bootloader (turn off, keep Vol+ pressed and press the power button until it vibrates - then release ONLY the power button and keep volume up pressed until you see the fastboot GUI
Open up fastboot on your PC and type:
Code:
fastboot flash recovery twrp_recovery-V3.img
Method 2 (if you have an older version of TWRP already installed)
Code:
Place img on your internal sdcard, then reboot to recovery, click install zip, then select " twrp_recovery-V3.zip." in bottom right, then you see the img. Tick "Recovery" afterwards and then on OK.
Flash ROM CyanogenMod.

- download ROM
- copy all files to sdcard
- booting your zenfone to twrp recovery
BACKUP BACKUP BACKUP !!!!!!!!!!
- choose backup
- select factory and config
- backup now

- choose install
- select cm-12.1-XXXX-UNOFFICIAL-A400CG.zip
- and wait to finish
- when chose install again
- select boot_patch-XXXX.zip
- wait to finish
- wipe data
- wipe dalvik
- reboot
- enjoyed

Optional: Install the Google Apps addon package.

Other Issues?

Before posting on this thread, make sure of a few things:
You've utilized the search function of the forums. Nothing irritates me more than lazy people who do not search for an answer before asking or ask the same question over and over again.
If you are the only one having a problem. Boot into recovery, wipe data/factory reset, reflash the rom/gapps and nothing else. Boot up and see if the problem persists.
Make sure your post is relevant to this thread. "I'm having problems rooting/unlocking" is NOT relevant here.
LOGS LOGS LOGS!!!! Use this: SysLog by Tortel

Download Links

CyanogenMod Folder Uploaded : ROM GOOGLE DRIVE

Recovery Links :

reocovery.img Download
reocovery.zip Download

Google apps addon:
Recommend GAPPS for now as the updated x86 gapps.

Credits

@jrior001 and @crpalmer for the great work on the CM source
etc. etc.

Special thanks:
Asus Zenfone 4 T00I Group Facebook user Thanks for many donation!

XDA:DevDB Information
Unofficial CyanogenMod 12.1 ROM for Asus Zenfone 4 (A400CG), ROM for the Asus Zenfone 4

Contributors
arun483, X AnwarMov, anwariJr
Source Code: https://github.com/artefvck/android_device_asus_a400cg

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Lolipop Firmware stock base
Based On: CyanogenMod

Version Information
Status: Beta
Current Beta Version: 5.1
Beta Release Date: 2015-11-28

Created 2015-11-15
Last Updated 2015-11-29
 

Attachments

Last edited:

vobo70

Member
Apr 30, 2008
20
2
0
Let me be a beta tester ;)
already installed this rom; for start is much better than stock Asus rom (had 7.4.4 version)
but had same "gogle play services had stopped" alert.
 

vobo70

Member
Apr 30, 2008
20
2
0
Not easy to be a tester:
battery life is very bad: it took nearly four hours to lost 48% of battery.
Also when I restart phone it doesn't remeber my wifi password.
 
  • Like
Reactions: eko.edo13

vobo70

Member
Apr 30, 2008
20
2
0
I have problem to go to recovery - tried power + vol up, also power + vol down - not working;
going properly to droidboot. Reinstalled recovery (twrp). Still no luck.
In meantime I have reinstalled stock 4.4.2 android (asus version 6.6.3)
But before as I remember power + vol up was working.
Any suggestions?
 

Aakash12

Member
Apr 21, 2015
29
4
0
Bug Bug Bug !!!!

Bug..
1. (Important) Wifi Don't Work.
2. Lockscreen Wallpaper is Black.
3. Video Don't Play.
The First Bug is Important. All others can be resolved by using third party Measures.
But Thankx By the the way for Your Hard Work !!!! :good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::D:D

---------- Post added at 01:06 PM ---------- Previous post was at 01:01 PM ----------

I have problem to go to recovery - tried power + vol up, also power + vol down - not working;
going properly to droidboot. Reinstalled recovery (twrp). Still no luck.
In meantime I have reinstalled stock 4.4.2 android (asus version 6.6.3)
But before as I remember power + vol up was working.
Any suggestions?
For Booting up to TWRP recovery from Fastboot

Download this [after Flashing The TWRP recovery (By Holding Vol key up + Power key) ] And Put it to sd card.
https://drive.google.com/file/d/0B22l2dNWVRA2Q09pU3kzR0M1N1E/view?usp=docslist_api
Now goto Fastboot (Droidboot) and Click SD Download.
Phone will boot in recovery.
:)
 
Last edited:

X AnwarMov

Senior Member
Feb 17, 2015
193
649
0
Bandung
Bug..
1. (Important) Wifi Don't Work.
2. Lockscreen Wallpaper is Black.
3. Video Don't Play.
The First Bug is Important. All others can be resolved by using third party Measures.
But Thankx By the the way for Your Hard Work !!!! :good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::D:D

---------- Post added at 01:06 PM ---------- Previous post was at 01:01 PM ----------


For Booting up to TWRP recovery from Fastboot

Download this [after Flashing The TWRP recovery (By Holding Vol key up + Power key) ] And Put it to sd card.
https://drive.google.com/file/d/0B22l2dNWVRA2Q09pU3kzR0M1N1E/view?usp=docslist_api
Now goto Fastboot (Droidboot) and Click SD Download.
Phone will boot in recovery.
:)
yeah i know wifi is bug but Lockscreen Wallpaper is Black it is doze mode bro
can you set in setting > guesture > here
 
  • Like
Reactions: kubersharma