Treble - so whats the deal? - Treble-Enabled Device Questions and Answers

I thought with Treble Google was to be able to push out OS updates, fixes, security patches etc regardless of what the manufacturer does on the UI side of things?
So - how wrong am i and could someone explain? can't seem to find clarity or simplistic answer

Related

[UNOFFICIAL/EXPERIMENTAL][ROM] Lineage 13.0 Resurrection Project ONLY for SM-T560NU

Info:
Target Device: SM-T560NU only (gtelwifiue)
OS: Android 6.0.1 Marshmallow
Variant: LineageOS 13.0
Status: Usable as daily driver, but still to be considered experimental
This project is a side project of mine to bring Lineage 13.0 back to the SM-T560NU.
I recently purchased one of these, and use a few apps that have not been updated in years. These apps do not work on Nougat, therefore I needed Marshmallow.
vince2678 had a great Lineage 13.0 build, but had started to shift his efforts towards the more popular and updated Android Nougat by the time that I got this tablet. vince had started to warn that he was going to be dropping Marshmallow to focus on Nougat.
Therefore, using his code base, and attempting to apply some more modern patches to keep Lineage 13.0 up to date, I started creating my own builds in private. There was one single, obsecure link to it, on my website, and it was discovered. Since the community has shown interest in this project, and vince has now officially dropped support for 13.0, I am willing to release my private builds.
Please keep in mind that while vince's builds were designed to be as stock as possible, my builds are tailored towards my needs.
They are not perfect, but they work for me. There are still some issues to be ironed out, and sometimes new issues sneak in when you think you are just building a security update
But, since you wanted them, here they are. At the time of this post there is only one, but this will grow over time, when I have spare time to try to fix any issues and apply security updates.
All builds use my optimized kernel.
Releases and known issues:
You can find my builds over at:
https://losupd.zefie.net/builds/full/?C=M;O=D
lineage-13.0_j199_20170720
Android Security Patch Level: July 1, 2017
USB MIDI Support (example video of controlling Logic Pro X with the SM-T560NU)
No changes to previous issues in this build (same issues apply)
lineage-13.0_j196_20170617
Android Security Patch Level: June 1, 2017
AudioFX is missing (disabled in build due to unsolved issue in ROM causing crashes)
Updater is untested. You may or may not get a notification when a new build is available.
Flashing the recovery that comes with these builds is advised against. It may work but is untested. Use my TWRP Build.
Device encryption does not yet work
There is a strange issue that prevents you from taking still images using the built-in camera app. Preview and video works. As a workaround, use any third party camera app. I suggest Open Camera.
Just flashed it, everything works great so far.
Ive tried and liked very much
Smooth and lightweight
So far for me the camera dont work but i can record video
Also the encrypt tablet option does not seem to work (I select the option in the security part of the settings screen, it restarts tablet and thats it)
Other than that it seems to be perfect
Thanks for all the hard work
Solidium said:
Ive tried and liked very much
Smooth and lightweight
So far for me the camera dont work but i can record video
Also the encrypt tablet option does not seem to work (I select the option in the security part of the settings screen, it restarts tablet and thats it)
Other than that it seems to be perfect
Thanks for all the hard work
Click to expand...
Click to collapse
I knew about the encryption but the camera issue is interesting and strange. I just tried it and see what you mean.
I will see what I can do about these issues in the next update, which will probably be mid-august.
Thanks for the report.
The issue seems to be with the Camera app itself, and not any issues with communicating with the hardware (despite the error message), since other camera apps appear to work fine.
In the mean time, if you would like to take still images with this build, I would suggest this great and free (ad free as well) camera app from the play store:
https://play.google.com/store/apps/details?id=net.sourceforge.opencamera&hl=en
I have just tested it (with both rear and front cameras) and it can take still images.
560?
Is it compatible with T560 only ? Whats the difference between T560 and T560NU maybe US Market? or what the difference and where i can get a custom Recovery for the Tab?
bluedesire said:
Is it compatible with T560 only ? Whats the difference between T560 and T560NU maybe US Market? or what the difference and where i can get a custom Recovery for the Tab?
Click to expand...
Click to collapse
This is for the T560NU only, not T560. From what I know they have entirely different processors so there is no way for a universal ROM.
Thanks for this amazing rom. I noticed following: can't change the size of analog clock and sound on the speaker is not very strong.
jon355 said:
Thanks for this amazing rom. I noticed following: can't change the size of analog clock and sound on the speaker is not very strong.
Click to expand...
Click to collapse
The clock issue is likely upstream, since I can't think of anything I did that would prevent resizing of widgets, and other widgets appear to be resizable.
But I will look into it.
Speaker issue noted, there was some issue with the internal mic being too low that I tweaked, I may have to check the values for the speaker.
Edit: personal tests show speaker volume is fine. any louder could damage the speaker. if the volume is low, check that the tablet is not laying on a soft surface or something that would otherwise muffle the speaker in the back. When not obstructed, the speaker volume seems fine to me.
Any progress on Audio FX and Camera issues?
Jacsd said:
Any progress on Audio FX and Camera issues?
Click to expand...
Click to collapse
Unfortunately I have not had the time to work on this in a while. When I don't have time I just update the source and build (and hope it works) for the security updates. This only takes a couple of minutes as the build process does all the work. One should be coming in the next few weeks. Once the automated build finishes, I test it locally for about an hour and if its good, I release it.
I am not sure when I will have time to actually sit and go through the code to try to debug it to fix the outstanding issues. This can take hours or even days of dedicated time which I just don't have at the moment due to trying to keep my bills paid.
Stay tuned to this thread for updates though, and I apologize for the delay.
zefie said:
The clock issue is likely upstream, since I can't think of anything I did that would prevent resizing of widgets, and other widgets appear to be resizable.
But I will look into it.
Speaker issue noted, there was some issue with the internal mic being too low that I tweaked, I may have to check the values for the speaker.
Edit: personal tests show speaker volume is fine. any louder could damage the speaker. if the volume is low, check that the tablet is not laying on a soft surface or something that would otherwise muffle the speaker in the back. When not obstructed, the speaker volume seems fine to me.
Click to expand...
Click to collapse
After uninstalling 3rd party music app, volume is good again.
EDIT:
Unfortunately I am discontinuing this ROM. I made this ROM for my personal use, and it is no longer useful to me, and I do not have the time to debug it. Therefore, I am discontinuing it. The current builds and source will remain up, and if you guys are not having the issues I am having, and would like me to continue doing security updates, I will, so long as it still compiles without much work on my part.
There will be no updates to the existing issues though.
Despite my previous aversion to Android N, I would highly suggest vince's Lineage OS 14.1 builds. They have come a long way since I last tried them, and Android N isn't so bad after all
I haven't gotten a chance to do a logcat or anything, but I'm getting an instant bootloop after installing Nova Launcher.
It wasn't an issue until Nova updated a few weeks ago, and it affects both your builds. That's my favorite launcher, but I guess I can live without it
EDIT: I see that you're discontinuing this, so I guess this post is more of an FYI to other users.

Project treble?

Is this project treble?
No
halleyrokz said:
Is this project treble?
Click to expand...
Click to collapse
That is the security patch level of android. You can get more info about project treble here.
For everyone getting excited over Treble should keep this in mind
"Project Treble doesn’t necessarily mean that all handsets will see updates instantaneously, as Google is not handling them directly. OEMs are still free to tweak and skin the OS, as well as embed their own software into the Android OS release. So there’s still going to be some time taken for OEMs to build and test their own particular take on Android."
zelendel said:
For everyone getting excited over Treble should keep this in mind
"Project Treble doesn’t necessarily mean that all handsets will see updates instantaneously, as Google is not handling them directly. OEMs are still free to tweak and skin the OS, as well as embed their own software into the Android OS release. So there’s still going to be some time taken for OEMs to build and test their own particular take on Android."
Click to expand...
Click to collapse
Spot on. Treble just eliminates the need for new drivers, so OEMs don't need to wait for part manufacturers (like Qualcomm). But OEMs (Samsung, LG,...) are still the main culprit when it comes to wait times or not getting updates at all.
If community can make a custom ROM for a 5+ year old device, so can an OEM. Drivers are obviously there, they're just not interested in updating anything for more than 2 years (even less in case of low and mid range devices). Treble can't change that.
The only real solution would be "one size fits all" system, that gets pushed directly by Google to ALL devices - like desktop systems. But that would probably be way to big for available storage on phones ...
Sent from my OnePlus 3 using Tapatalk
Explorer23 said:
The only real solution would be "one size fits all" system, that gets pushed directly by Google to ALL devices - like desktop systems. But that would probably be way to big for available storage on phones ...
Click to expand...
Click to collapse
We're going very offtopic here, but the topic interests me so, eh.
If we're talking about size here, we can follow a method that has been used in Linux live systems for a while now: a tarred (.tar) or squashed (squashfs) images. These provide a small yet ”fast enough” images that can be smaller than their uncompressed counterpart. Size is not of the constraint nowadays with these at developers disposal.
Alternatively, you can have a system that Treble tries to achieve: a base image (AOSP), OEM-specific changes and drivers, and abstraction for said drivers and changes. This system still relies on OEMs (and SoC manufacturers to an extent) to actively update their changes to the base system (and we know how lazy some OEMs can be with their updates).
But this is very offtopic, so let me offset the talk a little.
------------
To OP: No, that is not Treble. Treble isn't something you can quite see in user space (i.e Settings app). What you're pointing out is the security patch level, that is, how "updated" your current system are to the security patches Google are providing.
The level is laid out in date, so "November 1 2017" would be a fairly recent update. These patches get updated monthly, and seeing that you're using OxygenOS, means that you'll have to wait for OnePlus to push the security update after Google pushes them.
F4uzan said:
We're going very offtopic here, but the topic interests me so, eh.
If we're talking about size here, we can follow a method that has been used in Linux live systems for a while now: a tarred (.tar) or squashed (squashfs) images. These provide a small yet ”fast enough” images that can be smaller than their uncompressed counterpart. Size is not of the constraint nowadays with these at developers disposal.
Alternatively, you can have a system that Treble tries to achieve: a base image (AOSP), OEM-specific changes and drivers, and abstraction for said drivers and changes. This system still relies on OEMs (and SoC manufacturers to an extent) to actively update their changes to the base system (and we know how lazy some OEMs can be with their updates).
But this is very offtopic, so let me offset the talk a little.
------------
To OP: No, that is not Treble. Treble isn't something you can quite see in user space (i.e Settings app). What you're pointing out is the security patch level, that is, how "updated" your current system are to the security patches Google are providing.
The level is laid out in date, so "November 1 2017" would be a fairly recent update. These patches get updated monthly, and seeing that you're using OxygenOS, means that you'll have to wait for OnePlus to push the security update after Google pushes them.
Click to expand...
Click to collapse
There never can be a one size fits all OS. Even Linux can't really pull that off for every device.
See this is another thing that will never happen. Oems will never upload their code changes to aosp as Google intends. Most of the time due to the fact that they don't write the code for the different parts like BT, Wifi chips etc. This code comes others which is closed sourced and paid for.
Treble will most likely never become much. Already too many people misunderstand what it does. That i can't blame people for. Things like the xda portal that are giving out bad info is gonna cause a huge amount of drama over it.

Any compelling reason to go to Android 10? If so, which one?

I'm on the final Pie version PQ3A.190801.002 rooted with Magisk.
Reasons that others have decided to stay with Pie for now:
1) No TWRP
2) Battery life worse on 10 (for some)
3) Reported issues with colors
I reviewed the security bulletins but there are multiple severe and critical issues patched with every release, so it's hard to tell which are significant threats.
I read the thread that clarifies that it is not possible to apply security patches without installing Android 10.
I'm happy with Pie, and lean toward "if it aint broke don't fix it" unless there are significant security issues.
Can anyone comment on other data points that should be considered while deferring the update to Android 10?
I mean, there is not anything that is game changing about it. My battery is a little better actually. Lack of TWRP is something, but it does force you to figure out how to do things in a new way, which might be the only way in the future. After going from DU on Pie to stock on 10 I simply set my phone up exactly the same, so I really see little difference. I learned a bit about making Magisk modules in order to systemlessly change some things, guess that was a personal benefit (I have to modify vendor partition to get VoLTE and such to work properly).
I would tend to agree though, if it ain't broke don't fix it. I see no substantial changes in the phone's functionality.

General Current state of AOSP - Lineage/Pixel Exp/Etc...

Wanted to write a thread to give feedback on where AOSP devs are currently at with AOSP ROMs for those who are interested. Don't want you to think that there is no development in this area.
While there are GSI out there, I think ROMs built from source are the better option.
While GSIs are meant to be that, generic, I don't think this is a proper replacement for ROMs since there are many brands it tries to encompass and not to mention, the GSIs devs may not be able to fix bugs for your particular device or brand, it's just the nature of GSI.
Anyway, we currently have a secret testing group where almost daily builds are pushed, trying to polish the builds and fix some of the bugs that are still present. It's getting closer and closer to being bugless.
Here's the current state of AOSP ROMs for A52s:
Working:
- Bluetooth
- BT Audio
- NFC
- Casting
- Vibration
- Brightness and autobrightness
- Display at 60/120hz
- Audio/Mic
- Wifi/Tethering
- All Cameras (rear camera @ 4k 30fps)
- Face unlock
- Factory reset
- Pixel Features (unlim. google photos, game booster...)
- AOD & At a glance widget
Not working:
- RIL
- Fingerprint (only unlocking is broken)
Sensors:
Accelerometer: working
Geom. Field: working
Gyro: working
Light: working
Proximity: working
Gravity: working
GPS: working
The following devs have done an amazing job for AOSP development on this device, I know with their combined contribution, we'll soon start getting stable trees which will lead to better and more stable ROMs:
@Alone0316
@PauloWesley
@BlackMesa123
@Simon1511
@Ryzen5950XT
And of course special thanks to all the testers which have to reset their devices almost daily to get these tests done. You guys are a part of this too. I'll continue to update this thread when anything major breakthrough happens and/or it's stable for release. Most of this doesn't get reported on outside the testing group so I wanted to give this feedback so that users don't lose total hope on this device for people who love AOSP.
LOVE IT
Hats off to all the people trying hard to put a52s in development radar
!!!!!!!
Nice team work
Waiting for official lineage
AOSP? Love it.. very appreciate for those who will make it happens.. salute
thank you for the update, can't wait
Keep up the good work you guys
Is there a possibility to put Samsung apps (Like Samsung Store) in the AOSP version?
heal3r said:
Is there a possibility to put Samsung apps (Like Samsung Store) in the AOSP version?
Click to expand...
Click to collapse
Only AOSP-compatible apps can run on non-Samsung ROM's, such as Galaxy Watch, Samsung Health, Samsung Internet etc.
BlackMesa123 said:
Only AOSP-compatible apps can run on non-Samsung ROM's, such as Galaxy Watch, Samsung Health, Samsung Internet etc.
Click to expand...
Click to collapse
Oh that's sad. I love aosp but I can't give up Samsung Store for now. Guess I'll stick to samsung roms for now.
excellent news. i was always wondering why a hugely popular devices as A52s did not get proper custom ROMs yet, good to hear there is progress being made.
Will the official pixel experience repository be uploaded?
ShaDisNX255 said:
Wanted to write a thread to give feedback on where AOSP devs are currently at with AOSP ROMs for those who are interested. Don't want you to think that there is no development in this area.
While there are GSI out there, I think ROMs built from source are the better option.
While GSIs are meant to be that, generic, I don't think this is a proper replacement for ROMs since there are many brands it tries to encompass and not to mention, the GSIs devs may not be able to fix bugs for your particular device or brand, it's just the nature of GSI.
Anyway, we currently have a secret testing group where almost daily builds are pushed, trying to polish the builds and fix some of the bugs that are still present. It's getting closer and closer to being bugless.
Here's the current state of AOSP ROMs for A52s:
Working:
- Bluetooth
- BT Audio
- NFC
- Casting
- Vibration
- Brightness and autobrightness
- Display at 60/120hz
- Audio/Mic
- Wifi/Tethering
- All Cameras (rear camera @ 4k 30fps)
- Face unlock
- Factory reset
- Pixel Features (unlim. google photos, game booster...)
- AOD & At a glance widget
Not working:
- RIL
- Fingerprint (only unlocking is broken)
Sensors:
Accelerometer: working
Geom. Field: working
Gyro: working
Light: working
Proximity: working
Gravity: working
GPS: working
The following devs have done an amazing job for AOSP development on this device, I know with their combined contribution, we'll soon start getting stable trees which will lead to better and more stable ROMs:
@Alone0316
@PauloWesley
@BlackMesa123
@Simon1511
@Ryzen5950XT
And of course special thanks to all the testers which have to reset their devices almost daily to get these tests done. You guys are a part of this too. I'll continue to update this thread when anything major breakthrough happens and/or it's stable for release. Most of this doesn't get reported on outside the testing group so I wanted to give this feedback so that users don't lose total hope on this device for people who love AOSP.
Click to expand...
Click to collapse
Finally yessss
You are my only hope custom ROMs
I just bought this phone and it was a big mistake.
-It's full of bloatware
-There is 0 customization unless you register a samsung account
-The volume slider is only 15 steps instead of 30 so music is either too loud or too quiet for me
-I can't skip tracks by holding down the volume keys
-The notification at the top of the list doesn't get extended automatically
-When I view the opened apps it switches off the app I'm currently in. (SUPER ANNOYING)
Other than that there are actually a fiew things that are really cool:
-I can turn off the app drawer
-The camera app
-Full black background theme in samsung default apps (like calculator, messages, calendar, etc..)
-The calculator has some cool features
-No navigation bar at the bottom with gesture controls
-Keyboard can be positioned to the bottom of the screen without a gap.
FelixVyra said:
-I can't skip tracks by holding down the volume keys
Click to expand...
Click to collapse
You can download the Sound Assistant module from the Galaxy Store
FelixVyra said:
The notification at the top of the list doesn't get extended automatically
Click to expand...
Click to collapse
You can download Good Lock + QuickStar to have this activated
I think yeah you will need a Samsung account but I'm not sure
Oh! That would be awesome!
I switched from OP3 with HavocOS to A52s in May and... it's been "fine" but I do miss custom AOSP/Lineage features...
Any news about that?
No news, development has slowed down a bit
ShaDisNX255, thanks for the update. Please keep us updated. I keep checking daily for any news. If the development stops or slows down a lot to the point where it's months away before it's ready then I would go with your Android 13 ROM. I prefer bare bone simple ROMs but at the time I don't want to wait years either especially if your ROM is very good and ready to be installed. So if you come across any news please let us know. Thanks.

Any android 12-13 caf roms?

As the title suggests. Also how would one know if a rom is caf based. So far I've only found pa topaz to be caf based
@Term1nator3000
as far as I know ReloadedOS is..... I'll link it here
Edit: I saw this from the unanswered questions page, you would need one for the 7t. I'm sorry.
Maybe ArrowOS would work?
Thanks for your reply will take a look
Edit: no support for this device
Sorry… was just about to say that after checking it just now. The reason I suggested it is that it has a ton of back ports from caf (or it did last year… )
Is there a reason you want caf specifically? I’ve never seen any noticeable performance/battery difference in general usage between los/aosp vs caf.
IME the best rom in terms of smoothness and general polish is PixelExperience
Pixel experience gave me magisk errors, I couldn't hide it from banking apps no matter what. And couldn't install dolby or customize to my liking.
Im currently on ancient os which is best one I've tried so far with plenty of customization and magisk hide is successful. Also has dolby support however theres no vibration working at all and speaker overall sounds very quiet. I even managed to change boot animation!
I've always read that caf uses Qualcomm drivers which are better suited for battery, reliability and generally has less bugs hence stock roms are based off it. I do like oo12 deposit many others don't so i might just modify that and try and get custom viper/dolby just the brightness issue is super annoying af.
I remember back in the days there used to be oos based roms but debloat+ added features on OP3T. They were the best!

Categories

Resources