• 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

BORETS ROM Zenfone 4 Edition for ZE551ML/ZE550ML

BORETS24

Elite Member
Jul 7, 2015
1,440
1,742
0
Moscow
This ROM based on LineageOS 14.1(Android 7.1.2) and Asus Zenfone 4 ZE554KL Stock ROM(Android 7.1.1). Big thanks to @jrior001for bring LinageOS to us!This ROM based on LineageOS 14.1(Android 7.1.2) and Asus Zenfone 4 ZE554KL Stock ROM(Android 7.1.1). Big thanks to @jrior001for bring LinageOS to us!




Features:​


Ported the basic features Asus Zenfone 4:
1. TwinApps (the ability to create a second account for some applications: viber, facebook, whatsapp, etc.)
2. The audio wizard with configurations from BORETS ROM Stock Edition for high-quality sound. Features of working with the sound settings wizard: after applying the settings and output, the sound is reset to the standard. The solution is to adjust the sound to your taste, exit, press the volume rocker, turn on / off the mode switch on the street or restart the phone from the volume panel, a quick reboot is enough. Such a procedure, as you understand, must be done after each call in the sound settings wizard. If you configure and do not enter the Audio Setup Wizard, the tuned sound will remain permanently, even after any reboots. This can not be fixed.
3. Slideshow on the lock screen
4. Full support for ZenUI 4 themes that can even change the style of the main settings menu and sound volume panel (depends on the specific theme)
5. Almost completely the style of ZenUI 4
6. Support for double tap to sleep and wake up (on sleep will only work in Asus / ZenUI Launcher)
7. Supporting Asus gestures on the screen off to launch applications
8. The item "Lock screen" has been added to the settings; there you can find the settings of the clock widget, weather animation, launching the camera by double pressing the volume button (only Asus Camera) familiar to BORETS ROM Stock Edition, shortcuts to the lock screen, and also slide show settings
9.The phone part is now almost all from Zenfone 4, that is now you can edit the names of SIM cards, numbers, you can automatically record the conversation, the call history shows which SIM you called, you can put your ringtone on each SIM, rename SIM cards and .d, in general, almost all the familiar features of the drain, well, and added his "branded", known by BORETS ROM Stock Edition, the mode of the network "3G / 4G". It seems that the volume of the conversation increased. It is impossible to disconnect SIM cards programmatically, and I'm not sure that it is possible to implement it. Contacts from the SIM card memory are still not visible
10. Full support for Asus MobileManager
11. Almost all of the integrated software is replaced with Asus, even an engineering menu is available for .12345 + = from the calculator
12. Branded ASUS settings button Recent applications, i.e. 4 options: only the latest applications, screenshot, long-press menu and multi-window mode)
13. Built in Gapps
14. Support Asus Flip Cover 3,Kids mode, Easy Mode, support for OptiFlex technology (you can choose to accelerate the launch of three applications to choose from), support for Page Marker, One-handed mode, Glove mode, Asus Splendid
15. My upgraded kernel with DPI autodetect, phone models, processor models and sensors for ZE551ML / ZX551ML / ZE550ML, so there will be no problems. Also a bunch of governors, I/O, the GPU frequency of 640 MHz (not counting overclocking) is unlocked, disabled the modularity of the processor (that is, each core of the processor is independent, and not two modules of 2 cores), etc. Attention! Without this kernel, many of the functions I have implemented in the firmware will not work, do not change!
16. My mod Asus Launcher with 7 icons in the dock-bar
17. Game Genie Support
18. Other (see for yourself)

How to Install:
1. Require unlocked bootloader
2. Reboot to TWRP and install. If you using Lineage OS then require data partition, if use my BORETS ROM Stock Edition or previous version Zenfone 4 Edition then can dirty install

Source code: have not full source code because it is reverse engineering but some changes you can see with link on source code

Link to download folder: https://drive.google.com/open?id=0B47YuwvTC9c6RHozYmNEelotTUUhttps://github.com/BORETS24/BORETS-ROM-Zenfone-4-Edition-device

How to get Root Access:​
1. It is very easy, reboot to twrp and install Magisk
Link on compatible Magisk:https://drive.google.com/open?id=0B47YuwvTC9c6RHozYmNEelotTUU

This ROM is unique and very hard work, do not forget to donate, info about donation you can find in my profile or in phone settings- About

XDA:DevDB Information
BORETS ROM Zenfone 4 Edition for ZE551ML/ZE550ML, ROM for the Asus ZenFone 2

Contributors
BORETS24
Source Code: https://github.com/BORETS24/Kernel-for-ZE551ML

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Need unlocking MM bootloader
Based On: LineageOS 14.1 and Asus Zenfone 4 ZE554KL stock ROM

Version Information
Status: Testing
Stable Release Date: 2018-09-20

Created 2018-09-20
Last Updated 2019-08-16
 
Last edited:

BORETS24

Elite Member
Jul 7, 2015
1,440
1,742
0
Moscow
Reserved

Changelog:

Changelog BORETS ROM Zenfone 4 Edition
2019.03.26 Final
Numerous corrections of errors in the code that are found, and there were many

I deleted the annoying message that the network is unavailable in case of using one SIM-card. This did not affect the performance of the network, but it seems to some that the SIM card falls off, although this is only logging, which is embedded in cyan-like firmware

Updated some programs to current versions.

I updated the kernel, removed the log entry from there to the data / misc / logd folder, which is why the internal memory gradually decreased.

Fixed: kids mode didn't work

Fixed: Weather app lagged, slowed down, did not determine location

Fixed: some applications did not locate by mobile networks

Fixed: some applications that did not require DRM did not work (Neflix, etc.)

In the Information about the software added a list of those who helped the project (if someone forgot, do not be angry, not from evil)

Other

Conclusion: thanks to everyone who supported the project not only thanks! But everything comes to an end, I bought a new phone, I already studied the insides of ZenUI5 and could transfer some to Zenfone 2, but due to the lack of support lately, I conclude that my firmware is no longer needed and it's time to leave.
2019.01.18
Who have bugs with video playback and record try
2019/01/13
1. In the kernel:
Camera driver from the latest Android 5.0 kernel source for Zenfone Zoom ZX551ML
The kernel now has a modular structure and supports autostart modules.
Now the default governor is Interactive from Google Nexus Player
2. In the system:
Continued porting the phone component from Zenfone 4

I ordered the BORETS ROM settings, dividing into those for which the root is not mandatory and for which it is necessary, making it in passing that the maximum number of settings work without root

Added the colors and transparency of the QS hanel, the QS panel header (white by default) and background notifications on the lock screen to the BORETS ROM settings

Accelerated search of SIM-cards after reboots, now it is almost as fast as on the drain

Removed ffmpeg

Added two tiles to the QS panel: to start the recorder and Asus flashlight (if you use, if not installed, the tile will not appear)

Improved sleep mode

Some stock libraries and binaries, which on LinegeOS 14.1 are taken from runoff 5.0, replaced by stock from 6.0.1

Audio, video codes compiled from almost pure AOSP

Sound config from 6.0.1 a place of all LineageOS 14.1

Many proprietary files, libraries, binaries picked up with Zenfone Zoom ZX551ML 5.0 / 6.0.1



Fixed: some users did not have mobile Internet, especially after changing SIM-cards

Fixed: when launching some programs, a window appeared with a warning about libraries (LineageOS flaw)

Fixed: the Accessibility settings section did not work

Fixed: quick reply to messages from the notification panel did not work, SMS / MMS crash occurred

Fixed: move gestures did not work in ZenMotion

Fixed: very often the multi-user icon in the blind went off the screen (thanks @arti1208 )

Fixed: text editor crashed in some applications

Note: since the definition of SIM cards has changed, then after dirty install, it may be necessary (or maybe not required) a single reject/eject of SIM cards

2018/12/18
Updated code, updated ASUS applications (TwinAPPS, settings, system interface, TeleService, Telecom, AsusCallingScreen, power saving mode, LockScreen, etc.)

Setting the number of icons in the dock bar moved to the settings of the Asus launcher - Home screen and do not need ROOT. Thanks @arti1208 for help in the implementation

Added adjustment of the number of lines and columns of icons in the QS Panel, the choice of the number of icons in the QS Panel header

Added ASUS function "Power and boost"

Added the ability to select SystemUI between Zenfone 4 and AOSP 7, on the AOSP 7 SystemUI ASUS themes will not change the QS Panel, which is logical

Three different weather widget options: stock, ZenUI 3.5 and ZenUI 4.0

Ability to change audio presets of the Audio Wizard between the drain and what I use in BORETS ROM

Added the ability to enable the navigation bar

I tried to make a style close to Android 8.0, for example, the checkboxes are now round, the volume panel with rounded corners

New battery style from Zenfone 5, status bar icons also from Zenfone 5

I tried to port the code and notification style from Asus Zenfone 5 (Android 8.0)

Added display of user photos in the QS Panel

Updated many apps

Now the search for mobile Internet after switching on is faster

Updated internet access points

I deleted the unnecessary item "SIM card", because I fixed the Internet meeting on SIM2

Duplicate ZenMotion item in the main menu

The core is patched under Magisk 18

Various fixes and improvements (I forgot already what exactly)

Fixed: UC Browser didn't work

Fixed: sometimes the Internet spontaneously switched to SIM2

Fixed: for some users, the bluetooth application gave an error

Fixed: Bluetooth calls did not work again

Fixed: FlipFont fonts crashed after exiting programs
2018/11/19
Fixed: removed ASUS setup wizard shell, which did not allow setting via the mobile Network(it was impossible to choose a SIM 1 for data transfer) if you use two SIM cards

Corrected some permissions on files
2018/11/18
Removed a lot of unused code from LineageOS, a lot of code is replaced with AOSP, a lot of code is replaced back with Zenfone 4 7.1.1 with LineageOS 14.1 and AOSP 7.1.2_r36, also removed the unused Asus code

Most libraries, programs. frameworks re-compiled from my sources

Updated Asus Launcher to 4.5.1.30, on which he made his mods 5 and 7 icons

Fully corrected notifications, now from each contact, from each program they are grouped separately and for each group the "Reply" item is available, many messages are displayed in the thread, and not 1-2, as it was before

Full wifi code from Zenfone 4 stock firmware

Added SystemUI tuner, where you can configure which icons in the status bar will be displayed, the type of clock, etc.

I added another item of work with SIM cards to the settings, SIM switching for data transfer is available from it, it is very useful if the transfer spontaneously switched to SIM 2 and, accordingly, the Internet does not work, now you don’t need to pull SIM 2 out of the slot to solve the problem

Added to the developer options known for Android 6.0.1 and cuttedin 7.0+ point of show CPU usage Show CPU Usage

The Asus Pixelmaster camera has been removed, as many hope for a miracle, but the camera's bugs on LineageOS do not go anywhere like this (green bars, freezes, etc.)

Removed from the firmware Google maps, Google photos, Youtube and will never again include them in the package. The reason is that Google has started to make these programs with external language packs that are being downloaded from the market, so that the integration of these programs into the system has become useless: the program will be only English or hybrid, even the application menu will have the English name

Updated many apps to current versions

Removed a lot of unused frameworks, files, permissions, so now in the system partition is already 503 MB

Reduced the weight of the installation archive with firmware from 1.3 to 1.08 GB

Attempting to fix the processor overload while charging is connected

Setup Wizard with Zenfone 4 ZE554KL

The interface has become faster

Fixed a many bugs:

-Fixed: when entering the sound settings wizard and exiting the sound settings were reset, and after the call, the sound effects could be turned off

-Fixed: there was no indication of the connected headphones and headset, now the icons of the headset and headphones are displayed by default, if you don’t like it, you can turn it off via SystemUI Tuner

-Fixed: with the "show touches" enabled in the settings for developers, there were problems on the lock screen: it was hanging, the phone could go into reboot, it was almost impossible to keep a pin-code and a pattern key

-Fixed: the number of connected users of a WIFI access point was not displayed, information about users was not displayed, and the setting for connecting only authorized devices did not work

Other

2018/10/10_2

Increased the minimum auto brightness to level 6, but it was too dull, the minimum level of manual brightness left the minimum possible, i.e. one

I added the "BORETS ROM Settings" item to the settings, which included the ability to turn on the Internet speed indicator, as well as the BORETS ROM Settings subsection, which added the ability to select the number of icons in the lunch bar, select the default memory (select where the folders will go programs, screenshots folder, etc. Not all programs can work with folders on the card and data folders are not transferred to the card, but new ones are created, so the data will remain in the internal memory before switching, keep this in mind), as well as mode selection SELinux. Do not forget that this subsection works under the conditions specified in the category heading in blue font (you need root and allow root for the system interface and the program that will ask when entering)

Now you can download to the card even from those programs that do not have an API for requesting recording on the card

Updated some programs

Must be fixed: some users sometimes turn off the voice speaker during a call

Fixed: fonts were not fully used in some applications

Fixed: the fonts did not work in some cases, gave the error "Ending free space"

Fixed: sometimes the Bluetooth application failed with an error

Numerous edits of the SELinux policy that prevented Asus programs from working normally

2018/10/02
Added the ability to disable SIM-cards from the phone settings, as on the stock ROM

Added the ability to change fonts from the settings of the screen, as on the Stock ROM, two FlipFont fonts in the package: Felbridge and Syndor, as they fully support the Russian language. Other fonts can be found in the Play Market or somewhere else, I repeat, you need FlipFont fonts, as you download and install the APK, the fonts will appear in the settings of the screen - Font style. Attention: if the font in the status bar and the curtain has not changed, then you must perform a quick reboot of the phone or restart SystemUI using third-party APPS

Significantly reduced the minimum brightness of the screen, do not be scared that the auto-brightness "broke", will fade with unaccustomed, especially when the phone in the apartment is on the table, do not worry how to pick it up from the table so that the angle of incidence of the light was close to 90 degrees will increase. And in the sun, auto brightness, as it was before, will give the maximum possible level of 255, so that the screen is readable

The framework code of the camera with Zenfone 4 is NOT affected the camera. I can say 100% that I can not do anything with the camera, it will remain as in LineageOS 14.1

I hope that I finally fixed the error com.android.phone, manifested in several users

Replaced GAPPS with programs and Google services from Google Nexus Player, embedded Youtube, maps, Photo, Gmail

2018/09/26
Fixed: no calls via bluetooth headset

Fixed: the notification panel did not display messages, if there were several of them

Fixed: in the Do Not Disturb mode, the recall interval was 500 minutes instead of 3 minutes

Fixed: it was impossible to put the download on pause, crashed with the error process.media

Ported bluetooth code from zf4, application of bluetooth with zf4

Some applications have been updated


Some additions and corrections in Russian and Ukrainian locations
 
Last edited:
  • Like
Reactions: djlucask

Kazan962

New member
Aug 7, 2014
3
0
1
Low voice in recorded audio

Low mic sensitivity during audio recording comparing to Borets stock rom . i record class lecture with my phone. It seems that voice in the recorded audio is low than the stock borets rom. Can you check this?
 

BORETS24

Elite Member
Jul 7, 2015
1,440
1,742
0
Moscow
Low mic sensitivity during audio recording comparing to Borets stock rom . i record class lecture with my phone. It seems that voice in the recorded audio is low than the stock borets rom. Can you check this?
Are you see which base have this ROM? Right, LineageOS 14.1. Therefore also low sound record level, also freeze when watch full screen video in Google Chrome etc. I'm is a weak magician still, I can not make Lineage Source code better than present:crying:
 

Kazan962

New member
Aug 7, 2014
3
0
1
Thank for the reply. I'm a long time user of your rom. I just wanted you to know about this issue. I liked the Zenfone 4 edition. But I think I'll go back to stock edition as I record a lot with my phone.
 

BORETS24

Elite Member
Jul 7, 2015
1,440
1,742
0
Moscow
iFont not working :/
First questions, because ROM based on LineageOS 14,1, how about LineageOS 14.1, there work? Simple I just install iFont for test, watch on log and see that SELinux not allow to use fonts

Code:
09-24 15:12:05.990 14377 14593 I System.out: error
09-24 15:12:06.130 14693 14693 I mkdir   : type=1400 audit(0.0:1171): avc: denied { write } for name="app_fonts" dev="mmcblk0p19" ino=1602711 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=1
09-24 15:12:06.130 14693 14693 I mkdir   : type=1400 audit(0.0:1172): avc: denied { add_name } for name="ABremen" scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=1
09-24 15:12:06.160 14696 14696 I chmod   : type=1400 audit(0.0:1174): avc: denied { getattr } for path="/data/data/com.android.settings/app_fonts/ABremen" dev="mmcblk0p19" ino=1602710 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_app_data_file:s0:c512,c768 tclass=dir permissive=1
Even SELinux Permissive not help.;)