yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] anupritaisno1:
Oreo update: currently display HAL just keeps crashing. Wonder when lineageOS will finalise these

I kinda got it booting but no enforcing selinux just yet

We are also missing multiple HALs

A thermal HAL is missing (device complains about this in the log)

Certain parts of display HAL are just bad. lineageOS is working on it

Device manifest being incomplete the system is not able to find HALs that are built. This will be fixed

Dumpstate HAL probably needs reworking for AOSP

Camera is broken and honestly I'm totally lost in this case

Light HAL probably won't work due to the way I murdered it :D

Privileged permission whitelisting cannot be finalized yet due to lineageOS still trying to make their older apps to work on oreo

Volte works though so I guess that's a plus (wtf)

Nougat:

Need to add a bit of an init script to set kcal permissions and apply a predefined value

L2 retention has been fixed but hasn't been enabled in the tree yet. When this is fixed the update will be released

Google is currently trying to fix bugs in sdcardfs. I'm still halfway through merging the new patches released this month

Need to unpin a blob. Honestly even when there is a script to generate these hashes it's just too much hassle

Marshmallow update:

Wait a sec I don't build marshmallow :P
[OnePlus 2 Original Android Development] anupritaisno1:
Dear God, what have I done

https://github.com/GlassROM-devices...mmit/4d8a132d3732622f46506629991cb5829f38e63f

Don't try this at home kids :P

Anyways insane derp spotted. Will fix
[OnePlus 2 Original Android Development] electr0de:
Does anyone experience battery drains due to magisk??
[OnePlus 2 Original Android Development] anupritaisno1:
This issue has been reported on several other devices too

Please read the previous posts, for now I'm not supporting any complaints related to magisk as it is clearly an issue on he developer's end and not mine
[OnePlus 2 Original Android Development] vishnureddyb:
How's the battery life?

Can anyone provide SOT screenshots?
[OnePlus 2 Original Android Development] anupritaisno1:
Well since I'm not building nougat anymore you might ask how I'd deliver a security patch

Well for one I really have no idea how I'd do that but here's what I'm going to do

Send a flashable zip that will do an in-place upgrade of the kernel running on the device. This should fix most of the security vulnerabilities. The security patch date in about phone won't be updated but I can guarantee you that you're at least a little bit more secure with February's security patches

I'll release this zip when ready. No ETAs. After flashing you'll be at least up to date with February 2018 kernel security patches
[OnePlus 2 Original Android Development] anupritaisno1:
lineageOS is
[OnePlus 2 Original Android Development] anupritaisno1:
Lineage is out of staging

These popup ads are annoying

This poem makes sense

Update coming soon

You didn't read this message
[OnePlus 2 Original Android Development] anupritaisno1:
I'm removing wireguard

Nobody really uses it but everyone will ask for it

It does still cause issues with our device
[OnePlus 2 Original Android Development] Kallepalli:
[MENTION=5842226]anupritaisno1[/MENTION] can we expect one oreo build from you?
[OnePlus 2 Original Android Development] anupritaisno1:
Currently my build server is down so if you think that you're going to receive builds you're wrong

I need to get it back up, then we can talk about oreo and the issue with my build server is rather serious
[OnePlus 2 Original Android Development] anupritaisno1:
HaruhiOS was based on the very idea that the user is free to do whatever he wants on the device

Sadly substratum doesn't respect your freedom. I will no longer include substratum in Oreo builds. So no substratum support going forward
[OnePlus 2 Original Android Development] anupritaisno1:
Btw my new build server is up, just need to setup my webserver and the downloads website should be back
[OnePlus 2 Original Android Development] anupritaisno1:
People have been joining the telegram group and posting porn. The telegram link has been temporarily removed. Please don't join the group to do such stuff. OT is allowed but please keep it within some limits
[OnePlus 2 Original Android Development] anupritaisno1:
HaruhiOS Oreo has booted. Just need to fix some stuff then a release will happen

And yes you can dirty flash on nougat
[OnePlus 2 Original Android Development] anupritaisno1:
Hi guys if you wanna test Oreo right now try this

https://transfer.sh/vUIpL/signed-ota_update.zip

Please don't report any bugs if you flash this
[OnePlus 2 Original Android Development] jukyO:
New thread?
[OnePlus 2 Original Android Development] anupritaisno1:
Google uncertifying devices? Don't tell me about it. I'll simply ignore messages like these

Google has been doing this for the past 1 year or so and we aren't affected but just because XDA decides to write an article about it everyone gets paranoid

I already told you not to follow the articles XDA writes much because paranoia is all that they've ever caused
[OnePlus 2 Original Android Development] Jaheer Gilani:
Do we need to flash some zip for los based rom and other oreo based rom or there's some different zip ?
[OnePlus 2 Original Android Development] anupritaisno1:
We have moved to srv9.botstack.host so please flash from there
[OnePlus 2 Original Android Development] anupritaisno1:
Hi guys new server, new build, Oreo is close to it's release

https://srv9.botstack.host

Download and test
[OnePlus 2 Original Android Development] hariharanM25:
Any screenshots? Is VoLTE working?
[OnePlus 2 Original Android Development] anupritaisno1:
Hi guys a release was planned today however stuff went wrong and today cloudflare has an outage that is severe enough to make their services unavailable in certain parts of the world right now

Please download my newest build from here

https://transfer.sh/10v8Qz/signed-ota_update.zip

April security patch will come after 7th April, when lineageOS is done with their pranks. While developing glassrom I take it very seriously that no such jokes should be added in the ROM, no matter how interesting they can be because you use your phone for important stuff and having these pranks pop up is certainly not the goal of my ROM. I hope you understand
[OnePlus 2 Original Android Development] hariharanM25:
Is VoLTE working?
[OnePlus 2 Original Android Development] anupritaisno1:
Yes, currently safetynet doesn't pass because selinux is permissive. I've fixed this here https://github.com/GlassROM-devices...mmit/3d9b8f1f1229abb7009415fd137263ea6c9b11ff and can confirm that the fix works. Unfortunately I am not releasing that build just yet

Volte works btw
[OnePlus 2 Original Android Development] hariharanM25:
Ur delaying this just for April security update? I should wait for ur finalized release then
[OnePlus 2 Original Android Development] anupritaisno1:
I have no words to answer this

If anyone can help this guy out much appreciated
[OnePlus 2 Original Android Development] hariharanM25:
Hey i can understand what u r saying.im just asking about ur previous post in which u have mentioned about april security patch
[OnePlus 2 Original Android Development] anupritaisno1:
Should be out on the 9th or so

If you message me privately on telegram or discord you can get a testing build
[OnePlus 2 Original Android Development] anupritaisno1:
I'm tired of people copying my commits and labelling it as their work

I'm just gonna close source this entire thing. From here on only kernel sources will be released
[OnePlus 2 Original Android Development] anupritaisno1:
Also don't worry about the reason oneplus 2 got removed from official. I'll find a fix for it

I've fixed even worse issues in the past this really is nothing

There is always an answer, just gotta find it. I won't release the fix though, see previous post. Only builds with the fix will be released
[OnePlus 2 Original Android Development] chxei:
didn't you ever done same thing? even if thats true, don't be selfish, here everyone copies everyones code, calm down
[OnePlus 2 Original Android Development] neelsolanki:
waiting for your build with fix !! ?
[OnePlus 2 Original Android Development] anupritaisno1:
For now the plan is to instead force hal1 for oneplus camera I'll try building hal1 + hal3 and change some stuff to make it use hal1 only

Also I found something really weird. Grabbed my stuff and edited the package name of the oneplus camera APK and installed it on my phone only to see that now going to the video recording section causes the camera to crash. Sultan previously found out some code in the hal that does something when oneplus camera's package name is passed to it (actually the hal also works differently if Facebook and WhatsApp camera are used) so maybe we'll also need to pull a modified variant of that. I'm not really sure as I didn't look into the application crash yet but looking at how people have problems with WhatsApp on nougat with hal3 the case should be the same on oreo
[OnePlus 2 Original Android Development] anupritaisno1:
I think I forgot to pay for my server, I'll do it a little later

For now download this

https://transfer.sh/OGndX/signed-ota_update.zip

LAF seems to actually light up and work in this build (thanks gtpitch and shreesha)

Lineageos accent and substratum can now be used together without conflicts (well the UI may look **** if you do that but now there's no issues in the backend with multiple themes)

Substratum service is now source built

Fixed theming settings app with some themes

Fixed 180° inverted photos (thanks to shreesha)

Notes: for about 5-10 minutes after first boot your settings app will be unusable. This is totally normal. It should be back in a few minutes

If you were using substratum previously you'll have to recompile all overlays for the settings app

Since I forgot to pay for my build server (I'll do it soon), this is an older nightly and doesn't have the latest lineageos changes

Todo: fix ipacm denials

Fix powerhal issues (EAS HALs are available on oreo in the android source)

Fix oneplus camera
[OnePlus 2 Original Android Development] neelsolanki:
fix oneplus camera .. you mean working video recording too? or not tested?
[OnePlus 2 Original Android Development] anupritaisno1:
Sorry I don't really understand your question

Todo section is for things that are yet to be done
[OnePlus 2 Original Android Development] neelsolanki:
oops .. havnt read to do.. my eyes catched only fix fix .. lol... waiting for fix !
[OnePlus 2 Original Android Development] anupritaisno1:
Okay let's just try treble support as a side project. Anyone who's willing to test though?
[OnePlus 2 Original Android Development] anupritaisno1:
Okay I just fixed video recording in oxygen camera

There are some things though that are best unreleased. I won't be releasing how I fixed this or how I even got to this fix

You can grab the experimental build from discord. I have no plans to post the link here
[OnePlus 2 Original Android Development] anupritaisno1:
Incremental OTAs are coming
[OnePlus 2 Original Android Development] anupritaisno1:
Btw if you've been following discord chats, you might have read that I'm selling my op2 due to some issues and I can't get a new motherboard. While this is true I have no current plans to stop releasing updates
[OnePlus 2 Original Android Development] rizkhanjra:
:svetius:
[OnePlus 2 Original Android Development] anupritaisno1:
I'll see. My op2 has suffered a bit of hardware damage (because it's like a 3 year old phone now). It'll take a little longer to test and release this
[OnePlus 2 Original Android Development] anupritaisno1:
Btw do not mistake incremental OTAs with delta OTAs

To install an incremental OTA you must run backuptool and manually backup. Then you must flash the original ROM with no other modifications. Then you must flash a chain of unbroken incremental OTA files until you're on the version you want, after which you run backuptool to restore your modifications. The entire thing is definitely tricky. I'll explain the whole thing when it's out
[OnePlus 2 Original Android Development] anupritaisno1:
Basically the way you install updates on oos. Reflash the stock ROM and use incremental OTAs to upgrade. It is exactly like that
[OnePlus 2 Original Android Development] rizkhanjra:
No problem, take your time, what i prefer is quality, that what u working on, abd yes new learning things and getting success makes u feel more high..
[OnePlus 2 Original Android Development] anupritaisno1:
Btw guys if any developer wants to know how I fixed oneplus camera video recording on older versions here's the commit https://github.com/GlassROM-devices...mmit/941a26565e232c04e68eca948911c50d83e18cab

If the developer needs explanation, what this basically does is build the necessary legacy HALs which the older cameras require and they crash without it. It also changes camera implementation from 3.2 to 3.3 because 3.3 is just a minor revision to 3.2 and devices can easily migrate over to 3.3

This will increase the amount of time needed to open the camera by about 5 seconds. This is not an error and Google is aware of this issue. They currently have no fix for it

The DRM stuff was just me trying hacks to get widevine L1 working. Those can be ignored

Edit: don't irritate developers though. Not all developers would want legacy code in their ROM
[OnePlus 2 Original Android Development] anupritaisno1:
Guys for now don't flash bluebolt kernel, you'll risk losing all of your data

I'm not joking, something is currently broken with encryption on bluebolt and you'll be stuck in a loop where android is erasing your data on every reboot. Don't even try it, not even for fun. You'll lose all data

If this has happened to you then pm me right away. I'll give you tools to help recover your data. All data can be recovered, although the procedure is a bit tricky

A side note, the init in haruhios conflicts with what nogravity kernel does and the kernel is not able to apply it's modified cpu frequency/voltage table without crashing the whole system. If you flash that kernel you'll be stuck in a bootloop at the bootlogo

I'm really sorry that this looks like in talking **** about others work but seriously guys, don't try them just to lose all of your important data. You might have some really important data you don't want to lose

These bugs only apply to this ROM, maybe others are affected but that is not my concern
[OnePlus 2 Original Android Development] anupritaisno1:
Incremental OTAs were successfully generated by me. Also the commit to fix incremental OTAs is live https://github.com/GlassROM-devices...mmit/c4ee57e2699b97556c2fb7fd527fbf81c0182979

The current version sadly can't be upgraded by an incremental OTA since I lost the target file needed to construct a proper incremental patch however the next builds will all be incremental. Stay tuned
[OnePlus 2 Original Android Development] anupritaisno1:
New build is out

Also maybe it does fix camera. I just don't know

https://transfer.sh/aiZU2/signed-ota_update.zip

Test out the camera really nicely
[OnePlus 2 Original Android Development] anupritaisno1:
Just implemented dm-verity

It will not be enforced by default. Interested users can flash a zip to enable verity and test it out

If you want gapps with verity you must pm me for a custom build with gapps customised for your device
[OnePlus 2 Original Android Development] anupritaisno1:
I am this close to getting treble working

It's just this one hal that keeps irritating me

I'm also currently testing the may security patch out. It will be released soon
[OnePlus 2 Original Android Development] anupritaisno1:
Important announcement

Guys I have begun work for project treble. Sadly, my op2 has suffered from hardware damage and I might consider getting a new device soon. I'll try whatever I can to get treble working but I might have to stop halfway because I might buy a new device soon. In that case somebody else would have to take over

For now things look pretty good. Just need to figure out some stuff in the camera HAL and maybe we could get treble working
[OnePlus 2 Original Android Development] anupritaisno1:
Update: I've got a few clues as to how to fix camera on treble but now a new problem arises. You see our fingerprint HAL isn't really CTS-compliant and I believe that's the main reason oneplus moved it to the back of the phone in their newer models. To make matters worse it seems our sensor blobs are so old they just won't run on treble builds at all

What's with the fingerprint HAL?

It appears that putting the fingerprint module along with the home button breaks a lot of stuff

I've made a short list of the issues it causes. It's as follows:

Home button stops working when you apply a substratum theme and system ui restarts. Substratum no longer restarts the system ui so you don't see this bug but I'm sure many of you have seen this for yourself on n

If you boot an encrypted device without a startup password you will be asked for it after boot and it's getting messy here. It appears that if you don't authenticate with the fingerprint at the lock screen there is no method in aosp to tell the fingerprint HAL to stop and this is why home button breaks in glassrom for a few users. The workaround is simple, just lock your screen and force an unlock with the fingerprint and it's due to a design mistake that I can't fix

We have treble-ised the fingerprint HAL but our implementation isn't really compliant with treble. I doubt you could flash a GSI with the **** treble implementation we have and get a new android version booting with fingerprint working

Now about the camera

It seems an interface that's not standard is used by the camera HALs to communicate to the kernel. This again causes problems while bringing treble because the issue is in the proprietary blobs. I can't find the code that handles this in the open source parts

Is this a dead end? Certainly not but these are the current obstacles in bringing treble to these devices and these are just a few to name. It might be possible to bring treble to op2
[OnePlus 2 Original Android Development] anupritaisno1:
What am I talking about? It seems that some HALs on the op2 were made treble compliant because they were open source HALs but there's not much scope for the proprietary stuff that we can't touch
[OnePlus 2 Original Android Development] robboxx:
Hello everyone,

Lately this rom has caught my attention and i have a feeling that it is somethings special. Could anyone please explain what are those specialities? Or give me some link to study?

Thanks a lot
[OnePlus 2 Original Android Development] samael07:
A simple question: how to download rom?

Some additional server? Because the address at #1: ROM (and kernel): https://srv1.botstack.host:8001/oneplus/op2 does not work.
[OnePlus 2 Original Android Development] anupritaisno1:
You can go and message me privately on the discord chat for an experimental build. There's some unfinished stuff and that why I'm holding off a release for now
[OnePlus 2 Original Android Development] anupritaisno1:
My previous server provider started overselling and I could no longer use that server as a download server
[OnePlus 2 Original Android Development] samael07:
And some other link;)?
[OnePlus 2 Original Android Development] anupritaisno1:
Btw I've got some bad news

Since my op2 is dead I will probably never bringup blissrom and since I'm part of the bliss team and also the guy currently watching over op2 you'd have to go through me before I'll allow you to ship bliss for op2. And I will be here finding every reason, even the smallest reason to stop you from going into official

Say goodbye to blissrom official for op2 unless I see a guy who's truly worthy of maintaining it and is willing to satisfy all the requirements laid down by me
[OnePlus 2 Original Android Development] anupritaisno1:
Since I'm currently testing dm-verity I have to ship gapps along with the ROM and since this project is actually run by another company I actually could get sued by Google over that so I'm going avoid public releases for a while

Legal stuff but you can hit me up on discord for experimental builds
[OnePlus 2 Original Android Development] anupritaisno1:
If you don't know a company donates a little to this project every month and that's how I keep going without having to nag the users about donations
[OnePlus 2 Original Android Development] anupritaisno1:
Release build coming today
[OnePlus 2 Original Android Development] anupritaisno1:
Changelog

binderised several HALs (treble preparation)

Improved graphics

L2 retention state is back (battery saving)

Zram is back (fixes lag)

Optimisations for pubg because it seems its the new battery drainer. Some people report that they were able to play with this preset (HDR, extreme FPS, AA, realistic preset). Your mileage will vary depending on ambient temperature

Fixed weird lag in snap camera

Fixed a few selinux denials

Will be uploaded soon
[OnePlus 2 Original Android Development] anupritaisno1:
Here's the download link https://transfer.sh/ZaSu7/signed-ota_update.zip
[OnePlus 2 Original Android Development] F.eatR:
Hey! Since this is a very special ROM and also a special kernel ( used it when it was standalone. Is the EAS still active?)

It would be nice to get some screenshots and also a feature list. "Try it" seems often too much work for most people.

Thanks for your work for the community. ?
[OnePlus 2 Original Android Development] anupritaisno1:
EAS works but has a few minor issues
[OnePlus 2 Original Android Development] Akhiljith Ashok:
Do I need to flash previous build before the latest build....?

I'm using crDroid rom now. Can I clean flash this latest build alone...?
[OnePlus 2 Original Android Development] anupritaisno1:
You can clean flash that build but first flash this twrp as official twrp currently can't mount encrypted data https://transfer.sh/t0sRn/recovery.img
[OnePlus 2 Original Android Development] Yokisen:
[MENTION=5842226]anupritaisno1[/MENTION] I Clean flashed the ROM with the TWRP you posted just now.. Am i missing something? Do i Need to flash Magisk too??
[OnePlus 2 Original Android Development] myloarsul:
Do I flash normaly this rom, or there are some other steps ?
[OnePlus 2 Original Android Development] lucyr03:
You need the twrp posted above, after that everything is normal.
[OnePlus 2 Original Android Development] anupritaisno1:
Take a backup and copy it to PC. At first boot it encrypts your data
[OnePlus 2 Original Android Development] wockawocka:
Do you have another link? As this one don't seem to be working "file not found"

Also do I have to flash gapps after flashing your ROM?

Thanks
[OnePlus 2 Original Android Development] anupritaisno1:
Will reupload soon

Yes you need to flash gapps on release builds
[OnePlus 2 Original Android Development] anupritaisno1:
Btw I came here to make an important announcement

I've successfully binderised several HALs. Even camera. I've not pushed my changes fully yet because selinux denials are still causing issues with getting full treble builds to work

There's only one HAL that's actually giving problems and it's the sensors HAL

I've found an almost empty partition on the op2 which could be repurposed as a vendor partition

Treble might actually come to op2. No guarantees yet

For June security patch, closed beta testing will soon begin and a build with the security patch should be out
[OnePlus 2 Original Android Development] udo 240:
Hi man, are you able to reup that link?
[OnePlus 2 Original Android Development] anupritaisno1:
Just back here

I've been able to binderise all HALs except the ones that shouldn't be binderised

Op2 has satisfied all the basic requirements for treble. Now all that's left is to write an sepolicy and put treble flags in the board configuration file
[OnePlus 2 Original Android Development] anupritaisno1:
I'll do it in a bit