[ROM][AOSP][4.4/6.0/7.1] Unlegacy Android Project

Search This thread

mmarks9156

Senior Member
Aug 21, 2010
895
97
California
I just flashed this ROM and Gapps and seems to be working fine on my Toro Plus but Wi-Fi will not turn on. Any suggestions or assistance greatly appreciated.

TIA

---------- Post added at 03:40 PM ---------- Previous post was at 03:11 PM ----------

I just flashed this ROM and Gapps and seems to be working fine on my Toro Plus but Wi-Fi will not turn on. Any suggestions or assistance greatly appreciated.



TIA
Fixed wiped cache and data, reboot WiFi working.

Sent from my HD1925 using Tapatalk
 

Max1306

Senior Member
Oct 3, 2017
66
7
OnePlus 8
I use my device as a night clock and clock radio. I am pleased how well the old Galaxy Nexus runs with this software. Many thanks to the developers!
Max
 

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
15,430
34,970
Halifax
GT-i9250
Google Nexus 4
  • Like
Reactions: kerpert

EirikrHinnRauthi

Senior Member
@Ziyan thank you for contiuing builds all the way until last year (2020) for the toroplus :) It makes a great cheap phone on Red Pocket.

That being said, with the CDMA network shutting down sooner than later I hope to be able to get LTE working.

I picked up 5 toroplus devices from eBay to mess with. Let me know if you want some. And/or want an apprentice to "help" with Oreo hahaha. Honestly I'm a visual learner and learn by hands-on experience. Watching, and participating)
 
Last edited:

EirikrHinnRauthi

Senior Member
FYI: TWRP 3.5.0_9 and 3.5.1_9 for maguro failed to build due to an outdated configuration, so will likely need an official maintainer to step up and update the device tree.

Builds have been disabled until that happens:

Anybody wanting to become maintainer can join the TWRP Testing Slack and express their interest: https://join.slack.com/t/twrptesting/shared_invite/zt-6n0prc0w-Jy~lE7zMH5CYnsFrSleIPA

🤞
  1. I would *really* like to learn how hands-on. Crash course. Its how I climbed the ladder at work in the I.T. field and I hope it will translate to me learning here.
  2. Would love to help with a new build of TWRP.
  3. From there would love to try to work REPIT into this ROM with ya'll so that it automatically gives the 1GB system partition to install additional GAPPS from the get-go (1GB system + 1GB RAM = whaaaaat semi-modernish layout?!?! whoaaaaaa)
  4. Dunno what to do with the kernel, but eventually want to get to the point of porting Oreo< onto this device for better low-RAM management. (Dual core, 1GB RAM device seems to fit what Oreo was built for)
  5. Also want to get the ROM updated with latest security patches.
So anyway. If you guys offer "paid courses" through Telegram or just spending hours on a Discord call while you explain what you are doing and I type notes, or you have me actively participating and guiding... or something... I would love to join.

I start chemo on Monday and have always wanted to work on something like this.... and will be home a lot... so why not.
 
Last edited:
  • Like
Reactions: 7bob

bamtan2

Senior Member
Mar 15, 2012
663
541
  1. I would *really* like to learn how hands-on. Crash course. Its how I climbed the ladder at work in the I.T. field and I hope it will translate to me learning here.
  2. Would love to help with a new build of TWRP.
  3. From there would love to try to work REPIT into this ROM with ya'll so that it automatically gives the 1GB system partition to install additional GAPPS from the get-go (1GB system + 1GB RAM = whaaaaat semi-modernish layout?!?! whoaaaaaa)
  4. Dunno what to do with the kernel, but eventually want to get to the point of porting Oreo< onto this device for better low-RAM management. (Dual core, 1GB RAM device seems to fit what Oreo was built for)
  5. Also want to get the ROM updated with latest security patches.
So anyway. If you guys offer "paid courses" through Telegram or just spending hours on a Discord call while you explain what you are doing and I type notes, or you have me actively participating and guiding... or something... I would love to join.

I start chemo on Monday and have always wanted to work on something like this.... and will be home a lot... so why not.

That's very generous of you to offer! The project needs you! I hope the boys get in contact.

More importantly I want to wish you good luck with your health. 🤗
 

LR7875

Senior Member
Jun 25, 2021
1,200
467
Samsung Galaxy Tab 2
Xiaomi Mi Pad
Could some please direct me to the steps of installing the latest 7.1.2 rom on my very old GNexus, including the steps for twrp and then rom, gapps... TIA
Install '15 seconds ADB and fastboot'. Type yes, (enter)yes ,(enter and)yes in the command window(that will make sense in a sec) https://forum.xda-developers.com/t/...vers-15-seconds-adb-installer-v1-4-3.2588979/
Then download and extract this:https://developer.android.com/studio/releases/platform-tools
Then go to your phone Settings and go to developer options (if you do not see it go to about phone, click 7 times build number quickly, and it will appear)
Then turn on 'OEM unlock(maybe it is bootloader unlock on some versions) ' and 'USB debugging'.
Then boot into 'fastboot ' mode using this method.
Then download twrp.img on your computer here. https://twrp.me/samsung/samsunggalaxynexusgsm.html
Then rename it recovery.img.
Then move it to C drive WITHOUT under any folder.
Then go to your platform tools, go to the folder that you see ADB.exe and fastboot.exe and a lot of things, right click, then click 'open command window here' and if that option does not exist, click on 'open powershell here'.
If the window is black, type in:
fastboot OEM unlock
(Press Enter)(if that fails then type 'fastboot flashing unlock')(then)
fastboot flash recovery C:\recovery.img
(Press enter then)
fastboot reboot recovery
If the window is blue then :
.\fastboot oem unlock
(If fails then .\fastboot flashing unlock')
.\ fastboot flash recovery C:\recovery.img
.\fastboot reboot
You should now be in TWRP. Connect it to your computer. Press wipe data> factory reset (necessary). If it tell you to type yes, just type yes.
After it factory resets, download the Android 7.1 rom.
Move the ROM zip to the phone.
Click flash then select the file then confirm flash.
Then after flash reboot system. Uncheck 'install twrp app'.
* You need to download apps from www.apkmirror.com or www.apkpure.com after that because your phone has too little storage to run Google play.
* This process will clear all your data.
 
Last edited:

stephendt0

Senior Member
Apr 9, 2012
1,507
384
QLD, Australia
I'm okay with no more updates, but it would be nice to be able to download the last update. Website does indeed appear to be down :( I have a 2019 build which is okay but would like to update further.
 

siealex

Senior Member
Jul 22, 2008
2,548
499
Kharkov
Samsung Galaxy A52 4G
Can anyone test the flash memory performance on 7.1.2 with Androbench 5 or any other similar benchmarking app? If possible, both with EXT4 and F²FS file systems on /data. My result is terrible (115..128 IOPS on random write and 10 MB/s on seq write), is it worth reflashing from F²FS to EXT4? Or is it a hardware issue?
Screenshot_20221106-143723.jpg
 
Last edited:
Can anyone test the flash memory performance on 7.1.2 with Androbench 5 or any other similar benchmarking app? If possible, both with EXT4 and F²FS file systems on /data. My result is terrible (115..128 IOPS on random write and 10 MB/s on seq write), is it worth reflashing from F²FS to EXT4? Or is it a hardware issue?View attachment 5753657
Last i checked, the Verizon Toro i had had rather crap emmc performance, F2FS helps the day to day, but 100ish IOPS is fairly normal. Especially on toro/plus as the SIM tray runs on the same lines as the emmc.

Which model is this?
Also sadly these older EMMC chips with tons of wear definitely do age, and can be replaced fairly simply with a assembly on ebay for a bit of extra life, mine went through 2 of them before i upgraded to a LG G3 and OnePlus 3

Long Live Tuna, but mine's dead.
 

pieppieppiep

Member
Nov 17, 2022
15
7
I'm okay with no more updates, but it would be nice to be able to download the last update. Website does indeed appear to be down :( I have a 2019 build which is okay but would like to update further.
Actually DivestOS is available in Verrsion 14.1 (Android 7) for the Galaxy Nexus and get's monthly OTA updates

 
  • Like
Reactions: nokiagye

JackSlaterIV

Senior Member
Sep 4, 2013
165
38
Hi, are you guys able to use Battery Charge Limit (or similar like ACC) on these roms?

I have been trying to get it work on UA 7.1.2 but, once the battery limit is reached, the phone reboots. This also happens on UA based roms like Andy's Slim7.
There is some incompatibility with this source code. But I haven't tested any non UA Nougat rom, because I want the CMA.
In older roms like Mahdi 4.4 it was working fine.

To stop the battery from charging these apps (BCL or ACC) modify this control file: /sys/class/power_supply/battery/charge_enabled. When I try to do it manually (root mode) the file cannot be saved. Any idea of what could be causing this?

Thanks for any suggestion.
 

nokiagye

Senior Member
Aug 15, 2012
3,013
440
41
thessaloniki
Hi, are you guys able to use Battery Charge Limit (or similar like ACC) on these roms?

I have been trying to get it work on UA 7.1.2 but, once the battery limit is reached, the phone reboots. This also happens on UA based roms like Andy's Slim7.
There is some incompatibility with this source code. But I haven't tested any non UA Nougat rom, because I want the CMA.
In older roms like Mahdi 4.4 it was working fine.

To stop the battery from charging these apps (BCL or ACC) modify this control file: /sys/class/power_supply/battery/charge_enabled. When I try to do it manually (root mode) the file cannot be saved. Any idea of what could be causing this?

Thanks for any suggestion.
 

wthenujaya

Member
Jun 23, 2015
9
2
anyone knows how to root the kitkat version in 2023?? tried with multiple supersu version and it still says no su binary installed
 

Top Liked Posts

  • There are no posts matching your filters.
  • 141
    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.

    This organization's goal is not to create feature packed ROMs, but to create a base ROM in such a way that custom ROM developers can easily adapt the changes. We're good at (properly) fixing compatibility issues between newer Android versions and older devices, among other core things. The "bells and whistles" like themes we leave to others.

    The first public build here had something exclusive for the Galaxy Nexus, yet unseen on any other OMAP4 device: all RAM carveouts reserved for Ducati (the multimedia subsystem of OMAP4, responsible for hardware-accelerated video decoding, encoding and camera functionality) have been switched over to CMA.

    A few words for those who see CMA for the first time:
    The Contiguous Memory Allocator (CMA) makes it possible for device drivers to allocate big contiguous chunks of memory after the system has booted.
    The main difference from the similar frameworks is the fact that CMA allows to transparently reuse memory region reserved for the big chunk allocation as a system memory, so no memory is wasted when no big chunk is allocated. Once the alloc request is issued, the framework will migrate system pages to create a required big chunk of physically contiguous memory.

    This means that a total of 996 MB physical memory is available to the system, while keeping Ducati fully working - this is a huge step forward, coming from the 694 MB available in the last factory image released by Google (Android 4.3). This gives the OS access to an additional 300MB of RAM.

    While CMA was just recently implemented for this device, thanks to one of our developers (let's just call him Luden), it's quite stable: even under heavy memory pressure, the system manages to free up the required memory in order to start up Ducati and launch the requested multimedia functionality in a few seconds at most.

    Installation
    For Marshmallow (6.0) and below, 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
    While we weren't able reproduce any CMA-related problems, hidden ones can still arise. In most cases, these problems will be either lost Ducati functionality (no multimedia capabilities) until rebooting, or a kernel panic (hard reboot) - upon noticing any of these, be sure to grab a logcat/dmesg and/or last_kmsg and send it to us (preferably by attaching it to a post in this thread).
    Other than that, these are bugs we're aware of in the current build:
    - The RIL on LTE devices (toro, toroplus) isn't fully working; calls and texts should be OK, but expect no data.
    - Sound pops can be observed, mostly when using touch sounds (this is being investigated)
    - Some exotic video formats or camera modes might not be perfect - if you notice any artifacts or green spots (the issue that happened in the past), report the details in this thread
    - Inverted colors mode not working
    - Tricky connection to some 5 GHz Wi-Fi networks
    - SELinux is in Permissive mode (this isn't a problem for most people, just mentioned it here as extra information)

    If you notice anything else, be sure to report it in this thread. While we're kind of busy, we 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.


    As usual, feedback is appreciated :)

    Want to support development? You can consider donating, we've spent countless of hours with this :)

    XDA:DevDB Information
    Unlegacy Android Project, ROM for the Samsung Galaxy Nexus

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

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.0.x

    Version Information
    Status: Stable

    Created 2016-03-12
    Last Updated 2017-04-07
    44
    Nougat build is up. No, I have not died, and neither has the Galaxy Nexus.

    Decided to take an extra couple days to get this build stable rather than rushing out something that boots and does nothing else, sorry for the delay. :)
    I can't verify the full functionality of the RIL since I don't have a SIM in my GNex these days, so let me know if there's any issues with that.
    Everything else should be working well though.

    No idea what to do for GApps at this time. I haven't tried them yet.

    Download: aosp_n_tuna_2016-08-27.zip

    mu2TbMd.png


    As usual this was a team effort. @Ziyan helped, and @Hashcode (who I thought had died) helped as well.
    40
    GApps
    If you want to install GApps, we recommend Open GApps Nano or BaNkS GApps.

    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. After the initial bootup finished, 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.

    One more note. DO NOT set up your Google account until you grant all permissions, otherwise you will be stuck on the initial setup.

    Rooting
    You can flash either the latest SuperSU or OpenSource SuperUser to get rooted.
    38
    A wild android-7.1.0_r1 appears!

    jJzBSno.png


    Download: aosp_7.1_tuna_2016-10-21.zip

    We'll need to rename this project to Unlegacy-Android now that our migration from OMAP4-AOSP is done... sorry I haven't been paying much attention to XDA here. Spent a good week just getting video recording working on N, plus other things just in life of course.

    I can't attest to how well the RIL works, toro(plus) likely needs something fixed for mobile data still. maguro is probably fine.
    Other than that everything is working as far as I can tell.

    Source code is (kind of) available on GitHub. Right now there's no 7.1 branches up, but cherry-picking in our 7.0 branch commits and setting selinux to permissive should get you an identical build (minus a camera HAL fix specific to 7.1 which will be pushed tomorrow, I'm going to sleep)

    Edit: Fixed broken GitHub link.
    35
    New build up:
    - fixed battery saving location mode (cellular network and wifi location)
    - fixed DRM services
    - fixed Wi-Fi Display (screen casting)

    Enjoy! :)