yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Android Development] gothic84:
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1.x (Nougat), which is designed to increase performance and reliability over stock Android for your device.

/*
*
* Your warranty is now void.
* We are 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 us for messing up your device, we will laugh at you.
*
*/

LineageOS 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). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo.

Known Issues:

FM Radio is unsupported.

GPS doesn't work

Installation Instruction:

- Download the ROM

- Put the downloaded zip files on your SDCard

- Reboot in Recovery

- Wipe System, Cache, Dalvik Cache, Data Partition

- Flash rom

- Reboot system

Change Log:

[CENTER]
[B][I]9 Sept 2019[/I][/B]
-August security patch
- Sync with latest LineageOS Sources
[B][I]17 July 2019[/I][/B]
-July security patch
- Sync with latest LineageOS Sources
[B][I]08 April 2019[/I][/B]
-April security patch
- Sync with latest LineageOS Sources
[B][I]15 March 2019[/I][/B]
-March security patch
- Sync with latest LineageOS Sources
[B][I]09 March 2019[/I][/B]
-February security patch
- Sync with latest LineageOS Sources
[B][I]18 Dec 2018[/I][/B]
-December security patch
- Sync with latest LineageOS Sources
[B][I]19 Nov 2018[/I][/B]
- November security patch
- Sync with latest LineageOS Sources
[B][U]01 Nov 2018[/U][/B]
- October security patch
- Sync with latest LineageOS Sources
[B][U]25 Sep 2018[/U][/B]
- September security patch
- Sync with latest LineageOS Sources
[B][U]30 Aug 2018[/U][/B]
- August security patch
- Sync with latest LineageOS Sources
[B][U]13 Aug 2018[/U][/B]
-Sync with latest LineageOS Sources
[B][U]28 July 2018[/U][/B]
-July security patch
-Sync with latest LineageOS Sources
[B][U]01 June 2018[/U][/B]
- Add network traffic monitor
- Sync with latest LineageOS sources
- Bring Back Pure LineageOS
[B][U]22 may 2018[/U][/B]
- Security patch updated
- Build with Su
- Replaced trebuchet with Nexus Launcher, and fully compatible with Google assistant.
- Replaced LineageOS gallery with Sony album gallery
- Replaced Eleven with sony music player
- DotOS bootanimation
[B][U]14 may 2018[/U][/B]
** Initial Release
[/CENTER]

Download Links:

Downloads Rom

Open Gapps use X86 - 7.1.x

Rom Preview

Credits:

LineageOS

flex1911

Rom OS Version : 7.1.x Nougat

Kernel : 3.10.x

Device source : [url]https://github.com/zenfone-legacy[/URL]

Created: May 14 2018​
[Zenfone 5 Android Development] MustafaCN:
Thank you. :)
[Zenfone 5 Android Development] gothic84:
Your welcome.

:o
[Zenfone 5 Android Development] jooolyjoy:
Will there be further support (security patches, stability improvements, etc.) or is it a one-time build? Thank you:)
[Zenfone 5 Android Development] omkarnathsingh:
Nice to see development in old devices also. Thanks for latest security patches ??.
[Zenfone 5 Android Development] gothic84:
As long as i owned this device, i will build this rom with following the updates from LineageOS source.

Regarding the stability, improvements, security patches, etc, to be honest, this is my first time i'm building rom from source, so there is still so many things i need to learn. :)
[Zenfone 5 Android Development] gothic84:
Your welcome, enjoy. :)
[Zenfone 5 Android Development] shivangswain:
Root

Does this ROM provide a signed boot image to be used with Magisk or SuperSU. All the previous Custom ROMs for our Zenfone 5 had this issue where Magisk/SuperSU cannot find the boot image. Even if Magisk Manager is provided with the boot image, it can't patch it. If this is not compatible with either, are you going to provide an alternative?

TLDR: How to root this ROM?
[Zenfone 5 Android Development] himanshuhnaamdev:
I have a question

In the previous build I facing wifi issues in nougat rom

Does it fix in this build

---------- Post added at 05:22 PM ---------- Previous post was at 05:22 PM ----------

What about it battery life

---------- Post added at 05:39 PM ---------- Previous post was at 05:22 PM ----------

Did u use any custom kernel
[Zenfone 5 Android Development] gothic84:
i'm not yet try to root with Magisk/SuperSU, i use this addonsu-x86 to root this rom

i didn't face any issue related to wifi, also did'nt use any costum kernel.

about battery life, can u try it by your self and give the feedback? :)
[Zenfone 5 Android Development] Khryschellia:
can i use substratum on this rom?
[Zenfone 5 Android Development] jooolyjoy:
OK, thanks for answer. Request for the future: is it possible to fix a bug with the connection of headphones (sometimes the phone does not see them, it's a bug of all assemblies based on android nougat and possibly marshmallow). Well, the last question: you can expect to fix the bug with video recording in 1080 (now the recording goes with the brakes on all custom firmware)? And so many thanks for the build, everything works fine and stable, departures and other shortcomings have not noticed:o
[Zenfone 5 Android Development] himanshuhnaamdev:
Thank you
[Zenfone 5 Android Development] gothic84:
Nope.
[Zenfone 5 Android Development] gothic84:
Thank you for the feed back, regarding the other things to fix, like i said previously, there is still so many things i need to learn, and i will try to find out. :)
[Zenfone 5 Android Development] MustafaCN:
Substratum ,how can we add this :confused:
[Zenfone 5 Android Development] gothic84:
i didn't see LineageOS rom on List of supported ROMs, so i still need to learn how to do it manual as per this documentation.
[Zenfone 5 Android Development] himanshuhnaamdev:
ROM is very good battery life is OK and thank you for in this ROM I does not face WiFi issue
[Zenfone 5 Android Development] akhiltj114:
can any one share screenshots plz....
[Zenfone 5 Android Development] himanshuhnaamdev:
It is OK
[Zenfone 5 Android Development] POPiO.:
[MENTION=5194162]gothic84[/MENTION] thanks for this rom. hopefully u continue on this rom and soon oreo and pie..
[Zenfone 5 Android Development] himanshuhnaamdev:
Do you think really our device can run pie
[Zenfone 5 Android Development] POPiO.:
idk since im not a dev.. maybe or maybe not.

but im thankful that there is custom rom like this.
[Zenfone 5 Android Development] reeshu93:
not booted on T00F
[Zenfone 5 Android Development] himanshuhnaamdev:
Read page 14 there is a kernel flash it
[Zenfone 5 Android Development] Stonecaper:
Working V4a, udbr, & a bonus IRS file :silly:

https://www.amazon.com/clouddrive/share/hxm1NbM4MhbIDVMEKhRW3RvucQdNAzQNDqXQlxltZ6h

Install v4a,

Install driver

Reboot to twrp

Flash udbr

njoy!
[Zenfone 5 Android Development] lucasmel0:
Thanks for this rom [MENTION=5194162]gothic84[/MENTION], hope you keep working in this.
[Zenfone 5 Android Development] gothic84:
Rom build updated, read the change logs for more details.

:)
[Zenfone 5 Android Development] Stonecaper:
Dirty flash okay?
[Zenfone 5 Android Development] gnomishe3:
Yes it's fine
[Zenfone 5 Android Development] Refi150R:
not work for me

suddenly the phone restart them self then bootloop

---------- Post added at 01:27 PM ---------- Previous post was at 01:25 PM ----------

I use the latest build

suddenly the phone restart them self and whoooo bootloop

then i try to flash the kernel in page 14 still same
[Zenfone 5 Android Development] gothic84:
Did u wive cache and Dalvik cache after flasing?

I have no any issues so far.
[Zenfone 5 Android Development] gothic84:
Rom build updated.

:)
[Zenfone 5 Android Development] jollyDa:
Move App Data to SD Card as Portable not Unified

Could you patch the ROM to be able to move app data to SD Card being a portable device and not unified so that it can still be accessed if connected to a computer?
[Zenfone 5 Android Development] saurav_xdadev:
3g Support on 2nd Sim

Why is there no 3g support on 2nd sim card. I have my 1st sim card slot broken.. and only 2g works on 2nd sim.

With stock I can use 3g on 2nd sim card as well.

Please fix that if possible.

Thank You !!
[Zenfone 5 Android Development] vuquanghai:
Can i use magisk in order to root on this rom?
[Zenfone 5 Android Development] himanshuhnaamdev:
Magisk will partially supported use Superuser.zip to root this rom
[Zenfone 5 Android Development] vuquanghai:
I try to remove and reinstall supersu by zip flashable file on lineageos website, but now root not work:(

How can i make root work again?
[Zenfone 5 Android Development] sar092:
Thanks gothic84 for great work.
[Zenfone 5 Android Development] Khryschellia:
latest build doesnt work for me :(

it just bootloop

trying to flash Lollipop first then your ROM, but still no luck :crying:
[Zenfone 5 Android Development] gothic84:
I didn't face any issues with all the build.

try to flash without gapps. if boot, then you need to use the latest open gapps
[Zenfone 5 Android Development] Khryschellia:
have tried flash without gapps, but the result still the same

could you please let me know what TWRP version you use??
[Zenfone 5 Android Development] gothic84:
i'm using This TWRP
[Zenfone 5 Android Development] Khryschellia:
i've tried flash other nougat ROM then this ROM with that TWRP, and voila.. now its working

ty very much sir ;)
[Zenfone 5 Android Development] gothic84:
your welcome buddy, :)
[Zenfone 5 Android Development] fajarvian:
Help! I lost my build.prop. I was trying to edit it, there was an error while I'm copying the file to make a backup file. Now the file is gone.

My phone is still on now, What should I do?
[Zenfone 5 Android Development] kodirovshchik:
From my T00G.

root/root 644
[Zenfone 5 Android Development] arevs:
About the kernel...

New in custom roms here, but so far I really like the work you did in this rom ! You even updated the security patch till December !

Can I ask what are the difference between your kernel to this rom to stock kernel ? Also can I flash a different custom kernel in this rom ? If I do, will it delete the data ? Because I fear that data will be wiped after flashing a different kernel.
[Zenfone 5 Android Development] Kaustav_Nag:
Hello..... I am using this rom for a long time now... Bt with the recent upadates i'm facing some wifi and bluetooth issues.. .. with the help of matlog app, i have a log details of the problem... .. i am hoping if u can see it, and give a solution... I really like LineageOS ...... And don't wannna leave it....!!! Hoping for a solution....
[Zenfone 5 Android Development] arturrp:
Multi language?

Multi language, PT-BR?
[Zenfone 5 Android Development] gothic84:
Rom build updated :)
[Zenfone 5 Android Development] Komshar:
Hail! )

On the latest ROM version from "06-03-2019" SIM-cards do not work, on the penultimate version "18-12-2018" everything works! (a501cg)
[Zenfone 5 Android Development] gothic84:
let's me check on it, i didn't make any change on the device tree, just following update from lineageos source.
[Zenfone 5 Android Development] gothic84:
New build updated, SIM-Cards fixed, enjoy. :)
[Zenfone 5 Android Development] Komshar:
Thank you!!! :o

Today, will flash and check :)
[Zenfone 5 Android Development] Komshar:
Thank you very much, everything works now! :D
[Zenfone 5 Android Development] floress__ou:
I have followed the instructions & tutorial above ...

but the camera cannot be opened

"can't connect to the camera"

there is a solution?

sorry my english is bad, i'm from indonesia
[Zenfone 5 Android Development] sar092:
W0W Nice, you are working on it :)

Hi, gothic84 nice to see it, you re still aware of the old device thanks.

I used pitchblack dark red theme using substratum theme that working fine (I have unchecked "android system" to work it perfectly),

as i don't like white background.

this made my device more stylish colorfull attractive and compact.

thanks for your support :)
[Zenfone 5 Android Development] gothic84:
i will continue to maintain this device as long as i owned it, and keep updating with following the source update.

i try to make full support for substratum but still not a success.
[Zenfone 5 Android Development] gothic84:
Rom builds updated. :)
[Zenfone 5 Android Development] nathaa:
Tried encryption on latest version, ended up in boot loop. Any workarounds for this? or is it just me?

Encrypting while using other 7.1 ROMs end up in boot loop too. So far, encrypting only works for Android 6 ROMs for me.
[Zenfone 5 Android Development] 03Gs1905:
sound levels seems bit low on this rom, anything for fixing that?
[Zenfone 5 Android Development] qngml:
Wallpaper

Hi guys and OP, I've used lineage OS before and using wallpaper that come along with it, it's like a Google earthview wallpaper. I'm back to Stock now and wanting that wallpaper. Can anyone get it for me? Or I'll just re-download the zip file.
[Zenfone 5 Android Development] fioralaurent:
Hello, what GAPPS are you using? Because I can't insrall mini GAPPS, it always gives me a partition error (error 70) :o I just wanna be sure before downloading anything since downloading gapps is painfully slow.

I'm on a 16GB variant btw :)
[Zenfone 5 Android Development] gothic84:
I'm using pico gapps x86. and it's working flawlessly.
[Zenfone 5 Android Development] fioralaurent:
Got it working! Thank you for the smooth rom ?
[Zenfone 5 Android Development] stuckbootloader:
All of the browsers I've used use a lot of CPU cycles, does that stem from a hardware acceleration bug or something? Can that be fixed by changing a browser's settings or is it more serious?
[Zenfone 5 Android Development] Ne Ve:
Please completely supoort A601CG on this ROM (both your viperOS ROM). Please, I'm begging for this... :angel::angel::crying::crying:(because there is no custom ROM on A601CG devices) (and your ROMs is the best!)

Before, I am setup your ROM on my A601CG (but its burning my SD card, Phone heat, temprature is too high... (I tested your ROM is on 8 devices. All devices are Zenfone6 A601CG) Please support US!!!!!:angel::angel::angel::angel::fingers-crossed::fingers-crossed:
[Zenfone 5 Android Development] gothic84:
i don't own the device and i didn't find device tree for it, so it's difficult for me to build without the device source.
[Zenfone 5 Android Development] Ne Ve:
Thx 4 everything... I'm so badly sad ....:crying::crying::crying:

---------- Post added at 11:01 AM ---------- Previous post was at 10:56 AM ----------

I have an idea for the my A601CG. (:angel:)

Can you fork RemixOS (or the like) for A601CG ??

Because it was written for the x86 platform. Please... Please.... Please....
[Zenfone 5 Android Development] gothic84:
Rom Build updated, enjoy :)
[Zenfone 5 Android Development] CupangTerbang:
Ask for new OS version

Yey thanks

BTW why not try build newer android version like oreo or pie ?
[Zenfone 5 Android Development] gothic84:
many time i tried but still failed. don't worry I will share the new rom once I got success on the build :o
[Zenfone 5 Android Development] stuckbootloader:
What might be causing this? There's no actual problem with the signal and it's at 5 bars nearly all the time, but the battery stats are ****y and I'm getting some battery drain.

I've played around with *#*#4636#*#* and edited some network-related build.prop values in an attempt to fix this, and while I can get an all-green bar for an hour or so with the right combination, it goes back to being red again.
[Zenfone 5 Android Development] gothic84:
I don't have any issues related to the mobile network. and most of the time, my phone is just stand by to receive a message or a call, so I didn't notice about that.
[Zenfone 5 Android Development] Stonecaper:
Can you do an AOSiP / Pixel Experience??
[Zenfone 5 Android Development] CupangTerbang:
Try check this

1. Try disable developer tool and restart

2. try check your IMEI ( maybe invalid or NULL )

3. rechange your network (3g to 2g) or (2g to 3g)

4. Check your folder owner in (/data/data) & (/data/

user_de) MUST SAME owner.

5. If still fail try change /local_cfg/telephony_config/init.props or /system/build.prop "persist.radio.multisim.config=dsds to persist.radio.multisim.config=none" (sim 2 disabled)

still error may related to your sim slot.

What sim position you use ?

SIM 1 or SIM 2 ?
[Zenfone 5 Android Development] Stonecaper:
Waiting for may security patch :laugh:
[Zenfone 5 Android Development] gothic84:
Rom Build updated, enjoy
[Zenfone 5 Android Development] gothic84:
Unfortunately, I'm directly jumping to July. :D :D
[Zenfone 5 Android Development] RandomGuy6732:
Thank you so much for the updates. No problems so far. Would be really nice to have oreo or even pie on this thing.
[Zenfone 5 Android Development] RandomGuy6732:
Random Freezing

[MENTION=5194162]gothic84[/MENTION]

I've been encountering some random freezes while using the latest version of the rom. The one with the july patch. I don't really know why. At first, I thought that the battery was just low. Thats why it froze. But right now, I have it plugged in at 60% yet it still froze. I had to long press the power button to restart it. Btw, I have the battery settings set to performance mode. Please fix this. The rom is almost perfect.

Edit: I was watching a movie on mx player with the bluetooth connected to my jbl and wifi downloading some other movies. I noticed that every reboot, I always have my bluetooth paired devices to be gone from the bluetooth menu. I will have to re pair them again to connect to it. Maybe its from the unstability of both bluetooth and wifi being on? Or maybe its because I've set the battery to performance mode? I'm not really sure what caused it to freeze all of a sudden.
[Zenfone 5 Android Development] gothic84:
Let me check on it, as I have no issues so far. and let's see if someone else have any issues with this latest update.
[Zenfone 5 Android Development] RandomGuy6732:
Update: I installed a kernel that someone suggested back in the older posts. So far, no freezes. Maybe there is something wrong with your kernel. I'll update though if it will freeze again. Or maybe its something else. I'll update soon.

Update 2: The kernel that I installed still has some freezes. Though not as frequent as the one that came with your rom. Please fix. Huhu
[Zenfone 5 Android Development] Fahmihakim:
Thnks boss...

Wait oreo
[Zenfone 5 Android Development] gothic84:
Rom build updated. :)
[Zenfone 5 Android Development] ezrawk:
Tried the bootloader freeze fix yet? It's in the guides section I think. It's not the kernel's fault nor the rom's fault. It's ASUS's poor bootloader unlock implementation that's flawed.
[Zenfone 5 Android Development] RandomGuy6732:
Haven't tried it yet. I had my bootloader unlocked a long time ago. Haven't really relocked it again. Should I relock the bootloader and unlock it again using the tools that could fix the freezes? I used other roms like the clean stock lollipop rom and I had no problems with them.

Edit: Nvm. I applied the bootloader fix. Lets see if this still reboots. I was on kitkat when I unlocked the bootloader. There was no OTA update to lollipop in my country. Does this still matter when I unlock the bootloader on lollipop or kitkat?
[Zenfone 5 Android Development] CupangTerbang:
Can't install on TWRP 3.2.3

Stuck 35% at TWRP install

Oversize ?

Install other os got no problem
[Zenfone 5 Android Development] ezrawk:
Yeah I officially unlocked it before too bro, yet when I was still in tank's final RR N, random freezes happened, well not frequently, but still it happened at times, which was weird because official unlocks are supposed to be bugless, especially freeze free, but nope it still happened. Applied the freeze fix and voila freezes where gone. B4 I unlocked it officially, I was using a rekted variant of Zen 5, and freezing was normal because I couldn't unlock the device officially, those were in the days where Lollipop just came out. A friend got tired of his original variant of zen 5 and sold it cheap to me so I switched my faulty variant (sold it) and instantly unlocked my recently bought zen 5, and customing + rooting were no hassle, freeze free, until N roms came.

Maybe your bootloader version had some impact in the freezing, but trust me KK bootloaders were the most stable ones for cusrom's (old threads which were studying freezes usually recommended using the KK bootloader). JB bootloaders were good too. So I doubt it was because yous was still using KK bootloader.

Hope you now free of freezes. :svetius:
[Zenfone 5 Android Development] elth:
bro, i do really thanks for the continue update for the security patch, as many developers are gone, I hope you won't give up for this device, please!
[Zenfone 5 Android Development] saurav_xdadev:
Network 2nd Sim Slot

Hey, [MENTION=5194162]gothic84[/MENTION] Can you please enable 3g network on 2nd Sim card as well (if it is possible), because slot for my 1st sim is broken, and I cannot use data on 2nd sim as it remains on 2g network, whatever I do.

I came from stock to this rom, and it was available in stock rom. If it is too much of work, please feel free to ignore :):)

Thank You.
[Zenfone 5 Android Development] PhucVN2K:
I use Toof at ver 9/9/2019,I cannot use the SIM service in my country. How to fix it? Thanks
[Zenfone 5 Android Development] AlptekinCK:
Screen rotation doesn't work on Zenfone 6 (A601CG)
[Zenfone 5 Android Development] fajarvian:
Does anyone have any trouble with granting access to accessibility service? I installed an app that needs an accessibility service but can't find the app on the list of services, there's only one app in there Nova Launcher.

This is not the first time this thing has happened, the last time I installed an app that need this access, I couldn't grant it so I uninstalled it instead.
[Zenfone 5 Android Development] Stonecaper:
Will there be any more updates? [MENTION=5194162]gothic84[/MENTION]
[Zenfone 5 Android Development] Nikhilkumar038:
[MENTION=5194162]gothic84[/MENTION] Maybe you could build RR Oreo too?
[Zenfone 5 Android Development] gothic84:
I just starting to build the rom from the source, so i still need to learn more on this rom for the meantime.

:)
[Zenfone 5 Android Development] Nikhilkumar038:
You'll learn more from more errors :p
[Zenfone 5 Android Development] gothic84:
Yes, i'm agree, but for now i'm really Noobs, who just starting to learn, i see there is some thread's building oreo roms for this device and there are no any update on their threads for the long time.

and for this roms, i will make a little bit changes on next up coming update.
[Zenfone 5 Android Development] Nikhilkumar038:
Keep this Rom updating weekly/monthly as you prefer. You can build a rom from source, and that's a huge success. You no longer have the right to call yourself a noob
[Zenfone 5 Android Development] mzj4213:
I think Substratum is supported, do you have Theme Interfacer?
[Zenfone 5 Android Development] gothic84:
Nope, i don't have interfacer on this rom, i'm try to compile following tutorial from here but still not success.
[Zenfone 5 Android Development] mzj4213:
By the way, does it have dnfix.sh for T00G? Did you edit anything? Like adding stuff to the kernel and optimizations?
[Zenfone 5 Android Development] gothic84:
i did't edit anything on this roms, just pure building from source.
[Zenfone 5 Android Development] mzj4213:
But do you face the freezes? I'm flashing in on my T00G later
[Zenfone 5 Android Development] gothic84:
As of now, I didn't face any freezes so far, :)
[Zenfone 5 Android Development] mzj4213:
Hope you get better in building and be another great dev like [MENTION=5875920]tank0412[/MENTION] :)
[Zenfone 5 Android Development] himanshuhnaamdev:
Can you tell me it is difficult to build a custom kernel for nougat