HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
phhusson
treble_experimentations
Smali2018–2023
phhusson / treble_experimentations · Archived

treble_experimentations

Notes about tinkering with Android Project Treble

13Distinct people
29Mentions
0Explicit recommenders
3.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Notes about tinkering with Android Project Treble

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 10:01:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year29 dated mentions

Observed mentions: 2018-05-25 07:39:24 UTC to 2023-08-04 22:30:02 UTC.

02468102018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 10 mentions; 1 submissions, 9 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 8 mentions; 1 submissions, 7 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC211
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC1019
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC303
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC505
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC817
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101

What Hacker News says

10 sources
I find it difficult to evaluate an Android for my phone. Currently running AOSP (actually phh-treble) rather than any fork that adds any significant features. In particular it's hard to tell if any particular fork is just a one man hobby project, a fork of a fork, or has any significant work behind it. Of course the big one is LineageOS, but they seem to make specific phone images, mostly for high-end phones, rather than generic system images for my low-end phone. The list of generic system images is extremely long and not all that helpful: https://github.com/phhusson/treble_experimentations/wiki/Gen... I ended up chosing phh-treble because it doesn't add any BS, promises quick updates, and serves as a base for many other roms, lending it some reliability. It's pretty much AOSP with hardware fixes. That said, it doesn't do some pretty bas
Read the rest
ic things like automatic brightness and night mode, or a PIN timeout. So maybe that's eventually drive me to try another ROM...
In Using an /e/ phone as a desktop or laptop
Becauses the cost of doing a CI of Android is astronomical. (Especially for students) For my own ROM [1] I spent days and a hundred of euros optimizing the cost of building by trying various cloud providers (fwiw my current best spot is scaleway GP instance with 600GB local SSD). As of today, I'm still at 6€ per builds (For standard ROM devs, that should be cut down to 2€ I'd say). There is simply no way I can afford a CI. (well if someone wants to give me money for that, please do!) I do my best to isolate components and have at least some kind of CI where I can, but that's hard work (And doing CI is my day job, and I consider myself rather good in it) Even android's own CI is very far from what you'd call a modern CI. They basically just build master once every hour and pray for the best, and let the build cop fix that. They do have a m
Read the rest
echanism where they try to build CLs in batches, but "try" is the keyword. [1] https://github.com/phhusson/treble_experimentations/wiki
In LineageOS Android Distribution
Different approaches: Daniel Micay's https://grapheneos.org is a step in the direction you're looking for. With Android 8 Google introduced Project Treble which kind of enforces that AOSP work out-of-the-box on every (!) Google Certified device. This has kick-started a popular project, phh-treble, by a senior XDA developer that I keep a keen eye on. You could flash AOSP today on any (!) Google certified android phone that launched with Oreo+ with very few quirks, if any. https://github.com/phhusson/treble_experimentations/wiki/Fre...
In The Sad Saga of Purism and the Librem 5
With device-independent ROMs and unlockable bootloaders, this is quite easy to do in a large set of recent phones. See [1] for a detailed list. There are some model-specific glitches, though. Some manufacturers haven't implemented Treble HAL properly. So, for the time being, I prefer running pure AOSP on a Pixel. Paradoxically, the best way to use Android but avoid Google is buying a Google phone. [1] https://github.com/phhusson/treble_experimentations/wiki
In Refurbished Samsung Android Phones Sans Google Now Available
IMHO, the best alternative to Android that can be used right now is pure AOSP, or an Android distribution that tracks AOSP closely. In the past, that was CopperheadOS. Now, GrapheneOS. The downside is pretty limited hardware choice. Basically, Pixel (and Nexus for legacy releases). Plus some Sony Xperia (if you can cope with a few non-critical hardware glitches). The upside is very good security, and not being tracked. F-Droid is, for me, a surprisingly nice ecosystem. Firefox, Termux, Conversations, Signal, OsmAnd, Haven, etc. I don't need much else. Your needs might be different, but you can always install MicroG and sideload things from Google Play if you ever require propietary applications. LineageOS is nice, but I don't like excessive hackiness and lack of focus in security. I understand it's partly something given by their goal of
Read the rest
supporting a much more broad set of devices. Thankfully, Project Treble gives the possibility of device-independent ROMs. So things might change soon. For the time being, most devices have glitches, as Treble's HAL has not been well implemented and tested by manufacturers [1]. Other alternatives, aside from iOS, lack tons of functionality. I wish Sailfish/Mer became a serious contender. Their predecessor, Maemo/Meego, as seen in the Nokia 770-N9 saga was amazing. [1] https://github.com/phhusson/treble_experimentations/wiki
In Ask HN: What would be a good Android alternative?
> [...] but are the current Google phones any less usable than other Androids for people who are keen to avoid going all in on Google services? Paradoxically, they are way more usable. They are the only phones (on some Sony too, but with several caveats) where it's easy to compile and install your own AOSP. Lots of security focused efforts aim at Pixels for this reason. See CopperheadOS and its successor [1]. With the advent of device independent ROMs (thanks to Treble) it will be a bit easier to run generic ROMs on any phone. But there are still many glitches [2]. [1] https://grapheneos.org/ [2] https://github.com/phhusson/treble_experimentations/wiki
In iFixit Pixel 3a XL teardown [video]
I would be a bit reluctant to run CopperheadOS now. Sadly the main developer left after somewhat hostile actions from the CEO, and there have been lots of changes in the organization. IMHO the best option for a secure phone is pure Android without Google blobs. That is, AOSP on a Pixel phone. Plus an F-Droid userland. If a Pixel is too expensive, you can always try to get an AOSP device-independent image on a new phone that supports Treble. For example, the super cheap Nokia 1 seems to work well [1]. [1] https://github.com/phhusson/treble_experimentations/wiki
In Smartphone Apps Are Filled With Trackers
AndroidHardening is quite interesting. I think that since AOSP is getting better, it's also more sustainable for a single developer to maintain a smaller project rather than a full blown distro. It's a shame no other phones aside from Pixels are able to run AOSP without significant limitations. Some Sony are quite capable to run AOSP, but there are several hardware glitches [1]. Aside, hardware independent ROMs enabled by Treble are also promising, but there are many pitfalls too [2]. Android would be a much more interesting ecosystem if a significant portion of the phones were capable of running AOSP. [1] https://developer.sony.com/develop/open-devices/get-started/... [2] https://github.com/phhusson/treble_experimentations/wiki
In CopperheadOS Release: Android 9

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.