• 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][6.0/7.1][K3.4] 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 the Nexus 7 (2012) include:
- Linux kernel 3.4.y (currently 3.4.113)
- 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
It's important that /system needs to be unmounted before installing the ROM - some recoveries tend to leave it mounted after performing operations on it.

If you're planning to install GApps, be sure to read the second post!

Aside from these, installation and upgrading is no different than on other ROMs.

Problems
- We received some RIL bug reports on 3G variants - other than that, there are no known issues.

If you notice anything, be sure to report it in this thread. Stability is our main concern. While we're kind of busy, we usually read the thread and acknowledge the bug reports, even if we 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 Nexus 7

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

ROM OS Version: 7.x Nougat

Version Information
Status: Stable

Created 2015-06-07
Last Updated 2017-12-23
 
Last edited:

Ziyan

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

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

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.

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:

Ziyan

Recognized Developer
Jun 6, 2010
874
9,118
0
27
Szentes
I was able to workaround the panel errors in the kernel - PWM control isn't working for some reason, so I had to use an alternative method to enable backlight, meaning it's using a fixed brightness. This isn't important right now (I want the core functionality to work before making stuff bug-free). I also forward-ported the touchscreen driver, so it's mostly working now - it still needs some fixups for 3.4. My next goal: audio and video decoding.

View attachment 3350098

Yesss is it snappy? :eek:
Kernel/common android-3.4 branch could be merged into the kernel after it's fixed up, which will surely make it more efficient.
 
Last edited:

Ziyan

Recognized Developer
Jun 6, 2010
874
9,118
0
27
Szentes
While I try to do my best to keep myself from working on this 24/7, I couldn't resist... and fixed camera, video encoding and decoding, and audio (party, just the rear speaker works yet) also works now :silly: what this means? Blobs won't stop us, as they work fine on 3.4 as well.
 

Ziyan

Recognized Developer
Jun 6, 2010
874
9,118
0
27
Szentes
Today, I fixed sensors and panel PWM control (meaning brightness can be changed, auto-brightness works fine as well), and Bluetooth. Doing this alone requires a huge amount of time and work, as there's still a zillion thing to do, like merging in android-3.4, fixing up touchscreen (there are ghost touches and packet spams slowing down the kernel), fixing up suspend (need to press power button multiple times to wake up), audio, otg, etc...
 

19dragon98

Senior Member
Feb 14, 2014
209
102
0
Italy
No one else has tried building this then?? I thought this thread would boom after all the excitement for 3.4 on the 3.1 bringup thread. Anyway, Ziyanns just helped me fix this booting for both pcbs now so it should boot for everyone.
I tried to build (img) but without success...As you said on a recent post you cannot build .img but you need to to hardcode your pcbid and projectid into board-grouper-misc.c but i dont know how to do it :S