• 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

[ROM][AOSP][7.1/8.1/9.0 BETA] Unlegacy Android Project

Ziyan

Recognized Developer
Jun 6, 2010
874
9,118
0
27
Szentes
The Unlegacy Android Project​
Introduction
Unlegacy Android started out as the OMAP4-AOSP Project. It was created in late 2015 in order to maintain a clean and organized place for pure AOSP support for various OMAP4 devices, such as the Galaxy Nexus and the Samsung Galaxy Tab 2 series. Over time this evolved to support more than just these devices, but still maintains its roots of supporting "legacy" devices that no longer receive "official" updates: hence Unlegacy Android was born. In our opinion, these ROMs are how the official updates would look.

On top of AOSP, we only include changes which are necessary to support the hardware, be secure, and get acceptable performance. Current features for mako include:
- Linux kernel 3.4.y merged in (currently 3.4.113 - mostly security patches and minor bug fixes)
- BFQ IO scheduler (official kernel 3.4 release), set up so GUI processes have the highest priority
- F2FS support from kernel 4.9 (for /data only! no point of f2fs on /cache)
- SELinux in Enforcing mode

Installation
If you're planning to install GApps, be sure to read the second post!
Aside from that, installation and upgrading is no different than on other ROMs.

Problems
- No known issues for mako yet.

If you notice anything, be sure to report it in this thread. Stability is our main concern. While I'm kind of busy, I usually read the thread and acknowledge the bug reports, even if I don't reply directly to them.

Downloads
See: http://builds.unlegacy-android.org. Our automated builds ensure that we always have the latest Android security patches merged in, without having to manually start and upload builds :)
We will have a built-in OTA updater (just like stock) soon (it's a work in progress) :)

Features?
There isn't much to say here - this is AOSP, if you install GApps, you pretty much get the same thing that's running on the Nexus devices (see the second post). The aim of this project is to create a fast and stable ROM - although, one could use Xposed (or similar) to add extra features.

As usual, feedback is appreciated :)

XDA:DevDB Information
Unlegacy Android Project, ROM for the Google Nexus 4

Contributors
Ziyan, amaces
Source Code: https://github.com/Unlegacy-Android

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x

Version Information
Status: Stable
Current Stable Version: 7.1.2
Current Beta Version: 8.1

Created 2017-04-10
Last Updated 2018-09-04
 

Ziyan

Recognized Developer
Jun 6, 2010
874
9,118
0
27
Szentes
Reserved

GApps
If you want to install GApps, we recommend Open GApps Micro.

An important note: as this is a pure AOSP ROM, installing GApps tends to be problematic: in order to try to avoid installation issues, be sure to install GApps immediately after installing the ROM, before booting the system for the first time. If you experience any issues with the Google applications, be sure to go into Settings -> Apps, and grant every permission to every Google application - most importantly, Google Play services.
In the case of an upgrade, be sure to re-install the GApps package, as upgrading wipes /system. You shouldn't need to re-set the permissions afterwards.

Stock-like setup
Disable the following built-in (AOSP) apps:
- Android keyboard (once you installed Gboard)
- Browser
- Calculator
- Camera
- Clock
- Email
- Gallery

Install the following apps from the Play store:
- Google Photos (https://play.google.com/store/apps/details?id=com.google.android.apps.photos)
- Calculator (https://play.google.com/store/apps/details?id=com.google.android.calculator)
- Chrome (https://play.google.com/store/apps/details?id=com.android.chrome)
- Clock (https://play.google.com/store/apps/details?id=com.google.android.deskclock)
- Gboard (https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latin)
- Gmail (https://play.google.com/store/apps/details?id=com.google.android.gm)
- Google Calendar (https://play.google.com/store/apps/details?id=com.google.android.calendar)
- Google Camera (https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera)

SafetyNet
The ROM should pass SafetyNet after installing GApps, without anything else. Keep in mind that installing extra stuff (SU, ...) might make it fail!

Rooting
You can flash the latest Magisk to get rooted.
 
Last edited:

zaclimon

Recognized Contributor
Aug 14, 2011
4,365
7,292
0
Montréal
Just a little note on this, I've been testing his build and it's been really smooth so far. (Even more than my own AOSP build) Also for other ROM's devs out there, he's the original dev who fixed the sensors and he also fixed the camera without relying on AOSP hacks. (Well except SELinux but that's another thing...) You can check out the source for more info about it.

Because I didn't have much time to work on it, I want to thank @Ziyan for his work on this. I could even say that eventual people who are currently on the AOSP build should go on this one moving forward. :)
 

ze7zez

Elite Member
Aug 24, 2012
2,711
1,316
113
Kraków
nz.geoview.info
From 1 February I check ROM periodically. For now ROM is not for me. It is too raw.
There are no navigation buttons for me and I can not disable them if I want to use Button Savior, for example. ROM does not see WiFi 5GHz.

However, I am pleased that there's a thread on XDA.
 
Last edited:

jer_ying_fd

Elite Member
Nov 30, 2013
1,047
591
0
Forgive me if it has already been posted in the gapps thread, but is open gapps working for 7.1.2 builds? Last I checked, it was reported that setupwizard crashes on 7.1.2 due to being outdated. Thx!
 

Ziyan

Recognized Developer
Jun 6, 2010
874
9,118
0
27
Szentes
There are no navigation buttons for me and I can not disable them if I want to use Button Savior, for example. ROM does not see WiFi 5GHz.
Never heard about the navigation button issue... Might investigate it if I can get more feedback or reproduce the issue :)
About 5 GHz, it seems to work fine for me: device-2017-04-11-113156.png

Forgive me if it has already been posted in the gapps thread, but is open gapps working for 7.1.2 builds? Last I checked, it was reported that setupwizard crashes on 7.1.2 due to being outdated. Thx!
Thanks not work gapps setup wizard screen
Yeah, Open GApps has a problem with setup wizard on 7.1.2 at the moment. I hope they'll fix it soon... :rolleyes:
 

jer_ying_fd

Elite Member
Nov 30, 2013
1,047
591
0
Never heard about the navigation button issue... Might investigate it if I can get more feedback or reproduce the issue :)
About 5 GHz, it seems to work fine for me: View attachment 4108596





Yeah, Open GApps has a problem with setup wizard on 7.1.2 at the moment. I hope they'll fix it soon... :rolleyes:
Thx for confirming! For now I'll anxiously wait with the build already on my laptop ready to flash when the gapps are :p
 

ze7zez

Elite Member
Aug 24, 2012
2,711
1,316
113
Kraków
nz.geoview.info
Never heard about the navigation button issue... Might investigate it if I can get more feedback or reproduce the issue :)
I gave you a link to the thread. The code provided @spezi77 in post #2.

Request to Developers & Contributors ROMs for Nexus 4 on the navigation bar in TWRP

About 5 GHz, it seems to work fine for me.
That's right.
The ROM immediately shows 2 GHZ interfaces.
Within 12 seconds after the WiFi is switched on, 5 GHz interfaces are also displayed.
I was impatient. :eek:
 

[email protected]

Elite Member
Jul 1, 2016
1,107
328
0
colorado springs
I did a clean flash wiped everything but internal storage

I lose root frequently on this ROM and other nougat ROMs I'm using multirom twrp and multirom and hellspawn aosp nougat kernel revision 5

This ROM was installed in the primary slot of multirom
I used super su 2.79 and also tried magisk v12 neither worked

I used a 7.1.2 build with only flashing ROM and modifications : v4a an adreno driver and hellspawn kernel then booting

Then reboot to recovery and install open gapps pico 7.1

What am I doing wrong ?

Is multirom the culprit ?
 
  • Like
Reactions: Has_anDroid

Has_anDroid

Elite Member
Jul 1, 2016
1,110
294
83
Smryne Izmir TURKEY
www.androidatesi.com
I did a clean flash wiped everything but internal storage

I lose root frequently on this ROM and other nougat ROMs I'm using multirom twrp and multirom and hellspawn aosp nougat kernel revision 5

This ROM was installed in the primary slot of multirom
I used super su 2.79 and also tried magisk v12 neither worked

I used a 7.1.2 build with only flashing ROM and modifications : v4a an adreno driver and hellspawn kernel then booting

Then reboot to recovery and install open gapps pico 7.1

What am I doing wrong ?

Is multirom the culprit ?
Adreno driver 7.1.2 work ?

Kernel hellspawn work ?

Link please
 

rick.corilaco

New member
Aug 10, 2016
1
0
0
29
GAPPs

Never heard about the navigation button issue... Might investigate it if I can get more feedback or reproduce the issue :)
About 5 GHz, it seems to work fine for me: View attachment 4108596





Yeah, Open GApps has a problem with setup wizard on 7.1.2 at the moment. I hope they'll fix it soon... :rolleyes:
Hello!
I was able to install the GAPPs:
1) flash rom
2) turn on the N4
3) flash gapps
4) superSU flash (optional)

That way I did not use the setup wizard, I just added my Google account to the Play Store.

(Translation by google trandutor)
 

[email protected]

Elite Member
Jul 1, 2016
1,107
328
0
colorado springs
Last edited:
  • Like
Reactions: Has_anDroid

jer_ying_fd

Elite Member
Nov 30, 2013
1,047
591
0
Hi again, loving the rom so far and thx very much for keeping the n4 alive! I understand the rom will not have any custom rom features since it's strictly AOSP, but I wonder if it might be possible to include ambient display? It is too useful for the screen to automatically turn on without having to press power button which many n4 owners probably have problems with, and to see notifications in a dimmer black and white screen that is unobtrusive which can return to full brightness and colour with a touch of the screen.

Thx again and very grateful for your work for the n4 community!