yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Also a bonus: I made a browser specifically optimized for oneplus 7 pro. You can try it https://transfer.sh/Zg3gE/ChromePublic.apk

BTW I won't reupload that browser if the site deletes it as it's just a beta for now and should not be used for anything important
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] oscarmaldonado:
Deleted.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Yes you can use twrp to flash that
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Fod isn't registering my fp.

It's saying finger moved too fast, irrespective of screen brightness.

Any ideas?

Clean flashed,latest build,oos 10.3.3 firmware(fyi tried 10.3.2 too)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
@Joker123## this seems to be an upstream lineageos bug. Think you could check it with official lineage?

Try to reproduce it on official lineage and report back how that goes
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Alright
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Why is everybody posting then randomly deleting? This a new meme I'm not aware of?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gigatex:
Not me, just accidentally posted in the wrong thread. Can't delete a post so just edited it to remove the content.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] :
is this rom exclusive only for OP7?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
BTW glassrom is still alive. A lot of stuff needs to be done to get the July patch and it might take a while to release
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Tekkamen77:
Good news
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] juggies:
Hi there,

No matter how I install this rom, I can't get it past the lineage boot animation.

I don't know what I'm doing wrong as there's very few instructions and I've followed them.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
This mostly occurs if the ROM you had before coming from glassrom had a higher security patch level

Please try the latest release build which has the latest security patch first and if that doesn't work use the instructions to format from fastboot to reset the rollback index. Formatting from the recovery does reset the rollback index and while it works fine for me some people have had issues

If it still doesn't boot then persist or some other partition may be corrupt. If you suspect this is the case please try unbrick tool. If that doesn't work there is a persist partition dump by mauronofrio you can try flashing. Only flash persist as a last resort
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
BTW in all that I forgot to announce the new release

Here: https://github.com/GlassROM/glassrom-landing/releases/tag/20200718-guacamole

And guys. I know many of you don't do this but verifying your download is important unless you are using the system updater or the recovery that comes with the ROM as they will verify for you. We have sha512sums and sha3-512sums signed with the gpg key on glassrom-verification. Use them
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] juggies:
Thanks for your reply (and new release) anupritaisno1,

Is the fastboot partition formatting mandatory?

I've recovered my device from the unbrick tools restoring factory images and updating to the latest release and then oem unlocking etc and proceeding with the installation of this ROM but the best I can do now is bootloop, not even getting to the lineageos boot animation.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Did you flash Q firmware first?

You can join us on https://t.me/glassrom

We have ready to flash firmware packages

The problem is most likely that only one of your partitions has the latest firmware but the other doesn't. Make sure you local upgrade and flash oxygenos twice from local upgrade before trying to flash a ROM or get one of glassrom's firmware packages (not publicly available because they're still slightly experimental and the plan is to eventually ship firmware with glassrom itself)

Use this fastboot command

fastboot --set-active=other

You should now be in OOS. Remember that you must flash both slots before trying to flash the ROM
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Forgot to add: the last few releases of the WiFi driver for sd855 have been causing random reboots but sd865 driver is fine so I decided to use the sd865 driver
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
There will be a glassrom release soon with full firmware shipped into the ROM. Essentially as long as you can boot a recovery and flash glassrom you now don't even have to care about the firmware and the firmware will update with glassrom

Sadly this update changes glassrom's on disk layout. A special update procedure will be required. Please read the instructions carefully when they are posted
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Tekkamen77:
thanks for your work we are waiting for your new build
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] manfly9884:
Great to hear about the new ROM. Looking forward to flashing it. Thank you all for the hard work.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Hi, what do you mean by new ROM?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Might be 1-2 days more I'm trying to fix almost every single reported bug regardless of severity
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
The build is ready but I am having a few issues with my connection. I'll upload it as soon as they are solved
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Tekkamen77:
as soon as the drain is available and I try it
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
BTW there will be no incremental updates for a while

Oneplus' approach to firmware installation is a little weird and installing incremental updates is a little difficult with firmware. There's a slight chance of bricking the phone

Until I figure out how oxygenos handles firmware upgrades incremental updates are no longer safe with firmware also included

There will be only full OTAs for future releases
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] trancinguy:
My history with them regarding firmware is that they pretty much neglect the the "t" variant as soon as the new one comes out.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
A proof of concept vulnerability was submitted to glassrom. Glassrom has given it the severity assessment of critical. There is no evidence of this vulnerability being exploited in the past and I have just pushed a fix to the glassrom source 15 minutes ago to make sure it won't be exploitable future builds

The build I'll release today will have the fix
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Tekkamen77:
hi friend how's your build going?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
I started testing July security patch yesterday. That's all I'll say for now
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Sorry I've just been really tired. I meant August patch
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Tekkamen77:
don't worry don't wait for your build thanks for your work
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Google.and Qualcomm changed requirements for August patch a few hours ago

Might need more time to test the new stuff
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
I will release it tomorrow if I don't see any new regressions

Due to a bug in vold, supporting ext4 on userdata causes serious problems during system updates. Future releases will only support f2fs unless google decides to fix ext4. And that might not happen, considering how their latest devices don't even use ext4 for user data

Please make sure you are on f2fs before you upgrade. If you're on a locked bootloader, please reach out to glassrom on telegram and we will help you migrate your data. If you're on an unlocked bootloader use titanium backup or oandbackupx to backup your data. Then follow the steps in the first post to convert to f2fs and restore your data

Glassrom will soon publicly release builds with gapps included. It is possible to freely switch between a build that has gapps and a build that doesn't or the other way around without a clean flash. However this guarantee is only for the system. You will need to login to your google account again if you make such switches and any problems that arise in apps like firebase notifications broken will not be glassrom's issue. If such issues occur you will have to clear data for those apps and set them up again
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
New release is here: https://github.com/GlassROM/glassrom-landing/releases/tag/20200809-guacamole
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
There's a typo in the last release. I meant Linux 4.14.193, not 4.14.183
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Somebody tried to break into one of glassrom's server. No successful break-in has been confirmed but we're working to backup and reset that server
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Gapps build is still far off. Many issues right now. Once a proper fix is available I'll release it
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
BTW I heard that check point decided to release a few 1000 vulnerabilities or so in the DSP

Pay no attention to their warnings. Check point uses scare mongering tactics to sell their security theater products and they have done so in the past with their quadrooter mess that they claimed was "very serious"

Access to the Qualcomm DSP is severely restricted and filtered for user apps so many of these vulnerabilities can only be exploited from a system app (eg a camera app). There are no system apps on glassrom that could be easily exploited this way

However there are a few useful things news sites tell you to take a note of which are true but not exactly related:

You should not be visiting untrusted websites anyway. However if you must, use bromite or vanadium. Yes, vanadium can be installed on glassrom

Only get your apps from play store or aurora store (or build them yourself). The play store has significantly higher security standards compared to any other store and should really be the only source you go to. Especially avoid app stores like fdroid that claim to be private and secure but have no real regard for security

Avoid gecko based (Firefox) browsers. They have the worst security and make attacking easier. Use a chromium based browser for better security. Note that even if you visit only trustworthy sites you are way more likely to be compromised from a reputed site that was under attack than actually visiting a malicious site

Don't root your device. Doing so weakens selinux policies and the application sandbox significantly even if you do not grant root. This is because huge holes need to be opened up so that apps can actually escape android's sandbox and become root
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GeorgeDachamp:
I would really love to see how you daily this device with this rom. I've slowly been moving over to Foss and was wondering about a non gapps build and daily use
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] :
In order to install this ROM, the bootloader needs to be unlocked, right?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] manish.kumar86:
for flashing any rom..it should be unlocked...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
While supporting FOSS is indeed good just be careful of where you get your software from

Most Foss operating systems have terrible security issues, Linux included and are sometimes years behind the competition. And I really mean it. Linux is at least 10-20 years behind, eg windows on effective security

The google play store has stricter standards for what apps can and can't do. Fdroid doesn't. They don't even bother to fix security vulnerabilities until google shuts down one of their insecure nonsense in a new android release and they'll just happily come up with more insecure nonsense after google does that to them

At the end of the day I'd like you to remember:

Open source/FLOSS is a development model, not magical pixie dust that makes security issues go away. It is as easy to ship a backdoor in FLOSS as it is to ship one in proprietary software

If anything, anything that has claimed to be open source so far has had the worst reputation when it comes to security. Be it those Linux phones or terrible browsers like Firefox. They have several security issues

And Firefox is a special story. I've seen with my own eyes Mozilla engineers pay trolls to harass security researchers who expose firefox' insecurity and then cover it all up later on

Android and chromeos are the only secure Linux distributions out there as of now
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
You need to unlock the bootloader to flash

You can then enroll the glassrom avb key and relock
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Can you please elaborate on that?

And is it possible to have f2fs userdata on locked bl?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Glassrom only supports f2fs on userdata. There is no ext4 support
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Please verify if this is correct..

First I install glassrom with f2fs userdata and unlocked bootloader,

Verifies everythings working,then I go ahead and lock bootloader from fastboot(fastboot oem lock).

Now will I have glassrom with f2fs userdata and locked bootloader?

I mean locking bootloader formats the userdata right?

So will I have to format it again?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GeorgeDachamp:
i believe there is a avb file that must be flashed in order to relock bootloader. also locking bootloader will format bootloader but if you are doing the steps then you have already formated the data anways
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Is there a name for that avb file,I will search about it a bit.

And yes I know that relocking bootloader will format my data..idc about that..what I wanna know is whether userdata will still be in f2fs or not.

Also,have you ever successfully formatted userdata to f2fs using fastboot?

Last time I tried it failed every single time.

Thanks:)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GeorgeDachamp:
yes it formats userdata to f2fs, but metadata will be ext4 as stated. and im not sure about f2gst? i did format the userdata to f2fs and its working fine. im on the currently built of this rom and works fantastic even got microg to fully work without root and twrp
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Sorry f2gst was a typo.

So you managed to format to f2fs using fastboot?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GeorgeDachamp:
Yea it was pretty easy, the instructions the OP listed works perfect me. Had everything done first try.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Okay cool.

Maybe I will get lucky and boot it up this time.

Cheers?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
A small feature request:

If possible can you please add Dolby Atmos or do some modifications to increase the max volume:)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Just use an app like wavelet and increase all frequencies equally in the equalizer
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
The recovery exposes a fastboot interface that you can use even on a locked bootloader

In recovery, enter fastboot from the advanced tab and you'll boot to the recovery's fastboot implementation. The same commands work there too

While the recovery allows you to flash partitions even when locked do not attempt to do so. Just because you can doesn't mean the bootloader will actually execute anything modified when locked and you'll need to recover using the unbrick tool

OEM unlocking must be on when you're locking the bootloader. Only turn it off after successfully locking

The userdata partition is not verified by the bootloader or by the higher level operating system so it can have any filesystem
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
But it's a temporary solution isn't it?

These third party apps gets killed often.

And one more thing,if I wanna use gapps,which I intend to because most apps from my college need gms and some works with microg while others doesn't.So installing gapps needs avb to be disabled,and after installing those is it possible to enable avb again and lock bootloader?

---------- Post added at 09:23 AM ---------- Previous post was at 09:21 AM ----------

Thanks,that clarifies everything:good:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Glassrom doesn't do anything to kill apps apart from what's already implemented in AOSP. The app just needs to display a persistent notification and it will not be killed. Wavelet does this correctly so it shouldn't be killed

Gapps is a tricky story. Glassrom assumes everything on the data partition is untrusted and rejects several things that are perfectly valid on AOSP. Example system apps cannot execute anything on the data partition and they can't execute anything from their own data just like user apps. However gapps often use outdated system apps or even stubs and install the app on data after getting an update through the play store

This causes 2 problems:

System apps are updated. This is completely unexpected as glassrom system apps were never meant to be updated. The updated system apps now must fetch executable code from the data partition which is.... Not allowed. The updated apps will crash

The official google play services client must execute code being a privileged app. Privileged apps have way fewer restrictions placed by selinux and have a huge attack surface. Again selinux on glassrom rejects the attempt to execute google play services causing a crash loop

You also cannot write to the system partition at all, not even in twrp. Try it and the recovery will throw an invalid argument error instead of letting you flash
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Dang,so gapps is a no go then.

Well thanks for clarifying that,I am gonna go ahead and flash this rom!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Deleted
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
How long is the first boot supposed to take?

coz in my case it boots up real quick and fingerprint aint working

---------- Post added at 12:20 PM ---------- Previous post was at 12:11 PM ----------

brother did you get fod to work?

and one more,approximately how long did it take for your first boot?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] GeorgeDachamp:
I actually don't use fingerprint due to security(just tested it doesn't work) but the first boot took several minutes due to the OP changes
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Joker123##:
Oh great,thanks for the reply.

Well i guess i will have to make unoffcial builds from lineage to lock bootloader.

Thanks again:)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
It's a bug I haven't been able to trace down yet but fingerprint actually does work. It's just the enrollment screen that's broken

This is what you probably see

To fix the enrollment enable gesture or 2 button navigation and swipe up from the bottom of the screen to almost pull the enrollment screen into recents (but not actually do it)

Here's an example

This broke due to upstream lineage changes which I haven't been able to track down yet

Do not press your finger while doing the drag up step. It has to be a really light press otherwise the fingerprint won't be enrolled correctly

To clarify: it's just the enrollment screen that's broken. Fingerprint itself works fine after enrollment without the need for any workaround
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
Your first boot will always be instantaneous and a lot faster than any other ROM because everything is preoptimized

Subsequent boots after system updates will take far longer as all user installed apps must be optimized to the same level

This is actually a security feature. By doing so we precompute code that doesn't change unless the app or the system is updated so the W^X security violation that happens with JIT is not a thing on glassrom. This makes it significantly harder to execute arbitrary memory meant to be data as code on glassrom. I'm working on disabling JIT for the browser but it is not ready yet

Refer: https://en.m.wikipedia.org/w/index.php?title=W^X&oldid=945736679

(Wikipedia link purposely pinned to last known good revision in case of vandalism)

Also note: The article says firefox is W^X. Firefox is by definition not violating W^X but in practicality the approach to satisfy the definition of not violating W^X technically violates W^X in Firefox's case. It is nowhere close to the JIT hardening in chrome which while not W^X at all, is still more secure than whatever Firefox is doing
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Airradda:
A couple things,

1. Enjoying the ROM so far and apart from a few minor things, it seems good for day-to-day use. Great job :good:

2. Do you plan on filling out the Readme or Github Wiki with some of the questions, answers, and info in this thread, i.e. the fingerprint issue?

3. Do you plan on using Github Issues, if so do you plan on adding a report template?

3. Are you aware that enabling and then using screen off gestures crashes the phone, i.e single-tap to toggle AOD?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
The additional security work done on top of android often uncovers such issues

As for 3, I just debugged it and I can reproduce this. However the crash is also rather strange (the app handling the gestures accesses a path that doesn't even exist so I don't know when that will be fixed)

While these issues should eventually be fixed, they usually aren't because anything that breaks and isn't a security issue or something that really breaks the OS or app compatibility often gets assigned low priority. There were 3 people in the past working on this project but now there's just me trying to keep it all going.

In addition, glassrom having deep ties with GrapheneOS often results in harassment from copperheados along with bogus legal threats and these keep many people away from contributing to the project

Here's just an example of what both glassrom and grapheneos go through almost on a daily basis https://renlord.com/posts/2020-03-25-copperheados-legal-threat/
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] anupritaisno1:
[MENTION=11078395]Airradda[/MENTION] https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/285285

Maybe this upstream lineage change will fix it. I will build it in a bit and test locally. However I probably won't release a build with the fix until I see how official lineage responds to this patch
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Airradda:
Is this in reference to the screen-off gestures or the fingerprint setup?

Also, as a not super great coder, how could I help with development?