yashsingh1/xdaforums huggingface dataset:
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] UnderDroidiana:
HI,

I am trying to update (via sideolading and preinstalling the reference lineageos recovery) my privately signed rom but I always end up in a bootloop.

to clarify:

rom compiles fine,

sideoladed rom reaches 47% then does the two step install and then I am back to recovery.

I have really modified a minimum of files (just trying to learn) but nothing more than what I already modified in initial build.

the only thing funny I noticed my rom suggest me to update via OTA to your rom release (I suppose it is just a matter of yout hardcoded server) I have not updated to it, I suppose it will fail for signature mismatch...

but I always end up in an infinite bootloop in the lineage logo step.

I could downgrade to the working rom, so no big problem but, do yu have any clue why I am stuck?

could it be something related to DATA encryption?
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] UnderDroidiana:
Other question...

Do you think it is possible to preinstall a root requiring app, let's say such as appwarden, (and have it working w/o root) by giving at build time, requested privileged permissions?

I have taken a look at the AndroidManifest.xml of the app and tried to push a private-permission.xml and tried to copycat the structure ofthe Android.mk of the privileged droid installer .

But since I cannot sideolad my updated rom I am stuck without having the possibility to try it....
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
Then all fine with ROM signing and flashing. Did you compile your recovery or use the one I have linked?

If you have a boot loop, either something wrong with your compiled ROM or e.g. using a different signature...?

Tell me, is the animation very slow, or is it moving normally?
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
In general: No.

This depends on the way, the developer has coded the app. A typical "root" app wants to call the su binary, which must be visible and callable from the untrusted_app SELinux context. It cannot use any android API requiring privileged permissions.

A privileged app declares permissions, which are only granted to a privileged app. To become a privileged app, it must be located in /system/priv-app and even be white-listed.

These two approaches are different and require different coding. They also aim at different targets. You have certainly an overlap, but you cannot replace all privileged API calls with rooted Linux file operations, and you don't have an API in Android for all the things you could do with root in the Linux layer of Android.

An app developer however may decide to support both approaches by coding his solution for both situations, if both approaches allow to reach the intended target. In such a case only, you could foresee the app being privileged. AuroraStore for example is such a "hybrid". No idea about AppWarden, but I think it really needs to shoot Linux commands via su.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] UnderDroidiana:
my compiled version,

I thought the same, possibly having mismatched the signatures but the releasekey.x509.pem in the recovery matches the one in the updated roms

normally....

i'm trying to do a virgin build (with my sig) and I'll try to flash it.

do you suggest reference or hmalloc?
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] UnderDroidiana:
I knew the first thing but I learned the second!

thank you.

dumb question:how do I whitelist it?

:)

Well, it's the same dev, I'll try to ask him.

I think it could be a very nice addon for every rom,

the ability to silence off trackers without root.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
To be precise, it is called permission white-listing, an XML file listing the privileged permissions needs yo be placed into /system/etc/permissions - see e.g. my repo to include the prebuilt AuroraStore and AitoraServices.

Sure, ask him - I am however pretty sure this app needs root.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
That is why the flashing works. But have you changed the ROM' s signing keys between the last and this build?

reference is only for repo sync, as no patches are applied. Default is, if you wish to build "vanilla" LineageOS, microG is omitting the hardened malloc for older devices - so hmalloc is the one to use
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] UnderDroidiana:
no, they are still the same keys. i changed nothing.

just for this troubleshooting session, my goal is just trying to reduce the variables. i will just use the rom for solving the error I have.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] UnderDroidiana:
perfect, thank you.

yes I read on auroraoss. com appwarden uses su pm... what a pity, i think an app enabling users this kind of granularity in invasive apps control is needed. most of the apps can't be just 'airgapped' with a firewall.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] cowgaR:
That is quite an oversimplification, but I get your point. While Android 11 is not a massive release as Android 10 was it still is a substantial upgrade from security, privacy and performance perspective - not counting the emojis now ;-)

Android 11—The Ars Technica Review

It has a new notification panel, smart home controls, new emojis, and more!

arstechnica.com

Add to this changes OOS brought with Android 11 (updates to radio firmware and so on) and numerous changes LOS guys introduced to 18.1 (as LOS 17.1 has not seen substantial update for 6 months or so and is in maintenance mode AFAIK) it's definitely not only GPS permission that was added. But you know it better than me anyway.

Just out of interest, since 'official' microG is on Android 11 (LOS 18.1) since beginning of April, what kind of updates go into your version of Android 10 for this device? Are you backporting any changes done by LOS guys on 18.1 branch for hotdog?

Forgot to say - I still think this is the best ROM out there for this device, great work! I am just wondering what's blocking the version bump when all the sources are there and this is where life for this device is.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] bestouff:
I also have some little quirks from 18.1 I'm missing now (like the ability to quickly switch automatic screen illumination); but I guess the version bump isn't free, it's some work to do and I understand OP would be satisfied with what (s)he has now.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
Well, whilst I agree to your "oversimplification" point, I still do not see any reason to hurry - the first weeks of any new LineageOS release tend to still getting the system stabilized (which is in no ways meant as a blame, but simply acknowledging a well-known fact), and when I start to work on my ports, I prefer to have a truly stable base. And yes, as I mentioned already, I definitely will work on 18.1.

As I have some time now, I have even started to make the first analyses...

[Just an info for the non-English native speakers: "eventually" is used in the way of 'not now, but it is definitely going to happen', whilst in many languages, there is a very similar word (like e.g. my mother-tongue the word "eventuell"), which has the meaning of "maybe". So I meant, that I definitely will work on 18.1 ;) ]

Usually no feature-backports in the device-independent repositories. I take over, what is part of the 17.1 tree (sometimes, features are back-ported into the maintenance branch), further - if I see some additional interesting features in other areas or Custom-ROMs, I try to incorporate. Regarding device-specific stuff, I do my best to keep the kernel up to date (for the hotdog, it seems that only the published Oneplus updates are taken into consideration in official LOS, which I aim at improving with my kernel fork...)

Thanks for the positive feedback! Nothing really "blocks" me from doing it, see above and also it is really some work with testing (first emulator testing for the general part, later of course with the device, and then finally also picking the previous kernel-patches). So question of available time, me being in the mood, and as said - as there is no "urgency" by means of missing (security) features or any annoying experiences due to too old version etc., I did simply not give it a priority. This device is my daily driver, and I am maybe the most critical user of my ROM ... :cool:

Correct - in fact I have taken, what you mentioned, already as answer in my above comments, so no further comments.

Well, except for one: "he" (not 'she') :) (not that this would matter in regards to ROM development, but FYI)
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] knpk13:
If you're interested in keeping the kernel up to date, you could use this one if it's easier. (it's heavily customized though)

GitHub - RealJohnGalt/GaltsGulch-sm8150: Kernel for OP7 series

Kernel for OP7 series. Contribute to RealJohnGalt/GaltsGulch-sm8150 development by creating an account on GitHub.

github.com

I don't think he builds for Q anymore so not sure if it's helpful. Similar to your ROM he happens to make a microg build of YAAP (a 18.1 LOS based ROM) that's published on telegram.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
I have a friend, who got that oneplus 7 t pro, he asked me to install this rom to his device.

As i started to take a look at it, i stated that he is on oos 11. I guess i have to downgrade first, to have this rom on that device. Is there anything important to take care of, before i start?

Thank u in advance,

Ray
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
As far as I can see, nothing special, except for the downgrade.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] bestouff:
Eh, that was a "he/she" because I don't know you. I have no problem with any of that :)

Anyway glad to know you're on the 18.1 subject, and that your perfect ROM will come updated to our devices eventually (and yes, we also have "éventuellement" in my mother tongue which means the same thing as in yours).
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
I will give u a feedback of comparism of rooted and unrooted device with this rom.

Doengrade worked fluently. Lineageos 17,1 hardened absolutely smooth installation. All works buttersmooth as expected. There is one differece between rooted and unrooted device. If rooted, i have to untick iptables Block-Script and tick it again, to get it started. Unrooted all works without doing that.

Thank u for this rom. The best rom i used to use.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
Me neither :LOL:

Ah, tu parles français - d'accord.

Will still take a while, but I'm on it - next 17.1 update will bring lots of Kernel patches, coming soon.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
New build with July ASB patches available

Hi all,

a new build is available and will later today also be offered via the Updater app. For manual download and flashing, see here:

https://sourceforge.net/projects/lin17-microg/files/hotdog/lineage-17.1-20210710-UNOFFICIAL-microG-signed-hotdog.zip/download

ASB Security string 2021-07-05

Bromite System Webview and Browser updated to 91.0.4472.146

microG 0.2.21.212158-2

Kernel: Many sec. patches applied (taken from Divest-OS, thanks to @SkewedZeppelin)

AuroraStore 4.0.7

Regards, M.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] pa.trick:
Thx for providing another update.

I downloaded the file via OTA and I wonder if the file is not up to date as the build date is given as Jun 2011 after aplying the update, see attached screenshots ...

Or does it simply take some more time until the update server has synched?

Kind regards
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
Thanks for reporting this, I have by accident missed to update the download URL in the .json file, sorry. It is fixed now. Plesse try again (you may have to force a manual refresh in the updater vor even purge the file)
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] pa.trick:
All good now ;) thx for your quick reply and the fix!
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] bestouff:
I was wondering if there's a mean to integrate https://github.com/Magisk-Modules-Repo/acc without losing in security ?
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
In general, any root solution decreases the security by means of e.g. allowing to transfer the SELinux context/domain and as such introduces a potential attack vector. That's "by design", be it Magisk or any other root solution.

Any active root solution requires the device holder to be very careful, to which apps an execution of Linux commands as root is granted and why. Make sure the apps requiring it are "trustworthy".

If an app executes shell scripts with root privileges (be it this app, be it e.g. AFWall+, ...), it should be ensured, that those scripts are located at a place, which is not publicly accessible! So e.g. the SD card or Internal memory is a very bad place for such scripts! If that situation is the case, the original app may be 100% trustworthy, but if any other shady app can edit such scripts and insert additional commands to be executed as root, well - let your fantasy play...

The above points are generic and apply to any root solution and any app requiring root.

Regarding the specific app, I have no specific idea or opinion.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
New build with August ASB patches available

Hi all,

a new build is available and will later today also be offered via the Updater app. For manual download and flashing, see here:

https://sourceforge.net/projects/lin17-microg/files/hotdog/lineage-17.1-20210806-UNOFFICIAL-microG-signed-hotdog.zip/download

ASB Security string 2021-08-05

Bromite System Webview and Browser updated to 92.0.4515.134

F-Droid updated to 1.13

Fix in WiFi randomization

Regards, M.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
Thy for your support. All works as expected.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
Is Volte an Wifi Calling supported in this rom? If yes, how do i enable it? Or do i have to go back to stock rom to enable it there?

Thy for any reply to help.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
<deleted>
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
As far as I can see it (I took over the LineageOS device config and blobs, no changes, except for removing the Softer/Ifaa bloatware), this is not supported.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
I did read that Lineageos 17.1 supports Wifi-calling and Volte. But I do not know if Lineage with microG

supports it. That would be a great thing to have, but nevertheless I am not able to install a stock rom under Linux after this rom to enable Wifi Call and volte and come back to lineageos. :-(
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
@MSe1969

Thank you very much again for support.

I went back to original software and used the toolkit to enable vowofi and VoLte.

Went great. After that, i had problems to get Lineageos installed. But after several tries, and probs I made it. But as you said, there is no VoLTE or Wificalling possible. Under Lineageos 18.1 it is there and works. I did not test a different version, because i have to do the whole process again, to downgrade to lineageos 17.1

My question, if there is the possibility to implement it in this version or into perhaps in a lineageos 18.1 microG that would be great. I feel very unconvinient with using another kind of Software.

Thy, Ray
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] bestouff:
Hi guys,

Since 2 releases I have a problem with my phone where - sometimes - when I plug it to a PC or charger the battery icon shows it charges, but there's no text on the lockscreen that says "charge complete in ... minutes" and the phone doesn''t charge.

If I reboot the phone it charges normally.

I'm a bit too lazy to reinstall the stock ROM to check if it's a hardware problem, so I first wanted to know if anyone of you had already seen this ?
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
FYI: I'll provide a test build with 18.1 soon, after providing the next regular ASB update with 17.1.

I have a question, as you played around with 18.1 already: When you flashed 18.1, did you upgrade the firmware before as explained here?

Or did you simply flash 18.1 on your current firmware?

And - as the unofficial TWRP for the 7T Pro does not work, did you do any backup (e.g. with Seedvault or simply adb) and how did the restore work?
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
Haven't observed this on my phone, yet ...
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
Yes I did that whole program up and down......Several times and as explained in "here". There is a second version i think by manonofrio doing nearly the same in a slighly different way. Tried both.....Seedvault is a mess. I did a backup and copied it to my local Computer, but a local restore is not supported except via usb and writing down so many words for that (and keep them) is bull......t. My understandig for safety is a little bit different than that. But i have no solution on board for that. Nevertheless, i have my own server and stored and restored all my data there and from there. And a backup is foolish simple. I did not use a twrp. There is no working solution for that. And oos is no way for me.

Too much spyware.... Thank u very much for beeing interested in my tries. Greetz, Ray

*PS I got a change in the support of blabla Overseas Comunication and brasilia and severeal different LTE support, but they did not work at last. The Danish, German, Uk and others did not work for me. I Have 1913 version but no match at all. .-)
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] bestouff:
FWIW when I was using LOS I did a 18.1 update without updating the firmware and did not observe any bad behavior.

I'm interested in a working step-by-step backup/restore solution though.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
My last report wasn t precise enough as I read thrue once more.

1. I Installed the european version of oos 10 with msm download tool.

2. I tried to get Volte an wifi-calling enabled by following this Thread:

https://xdaforums.com/t/enable-vowifi-volte-on-oneplus-7t-pro.4102593/

after having no success i upgraded via systemupdate to 00S 11 and made the steps for volte and Vowifi again.

3. After no success i downgraded via OnePlus7TProOxygen_13.W.09_OTA_009_all_2010191130_downgrade_1b8916cc052246f1.zip back too Android 10.

4. I flashed all available versions up and down more that 15 times with manual firmware upgrades and so on.

No chance to get Volte and Vowifi working under 02.

5. I installed lineageos 18.1 microG after manual firmware upgrade to see if volte and Vowifi work out of the box and it worked flawless but no Volte and Vowifi for me.

6. After that i went back to OOS11, downgraded to OOS 10 again and after that i reinstalled LOS 17.1 microG hardened again.

Thats it.
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
Thanks for the details. Two questions:

Where did you find the older Stock ROM for the downgrade? I can get only the latest EU Android 11. I normally in fact only would like to upgrade my device once, but in case J need to go back...

And second: You mentioned it is quite trivial to backup/restore ("foolish simple"). How do you manage to access/overwrite the /data partition for the restore, which can't be done, when the main OS is up&running...? Or did I misunderstand you and you were more or less complaining, how the backup topic could be messed up so badly?
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
Ok, First answer:

Rollback OnePlus 7/Pro/7T/7T Pro to Android 10 OxygenOS 10

Here are the steps to rollback or downgrade the OnePlus 7, 7 Pro, 7T, and 7T Pro to OxygenOS 10 Android 10 from OxygenOS 11 Android 11.

www.droidwin.com

Second, I have all my contacts, photos, videos, calendar and other relevant data on my Diskstation.

By installing the Diskstation apps, all my data is there. I do not need a complete Data section backup as others do.

Seedvault only stores several apps not all of them, so it is useless.

Hope this helped.

Greetz, Ray
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
New build with September 2021 ASB patches available

Hi all,

a new build is available and is already offered via the Updater app. For manual download and flashing, see here:

https://sourceforge.net/projects/lin17-microg/files/hotdog/lineage-17.1-20210909-UNOFFICIAL-microG-signed-hotdog.zip/download

ASB Security string 2021-09-05

microG 0.2.22.212658-2

Regards, M.

P.S.: I'll now upgrade to 18.1 my own hotdog device and if all works well, the next build will be on 18.1...
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
@MSe1969

Great update and great to hear that the support for Lineage is going on with 18.1

Hopefully Volte und Wificalling is supported by Lineageos 18.1

Looking forward to upgrade.

Thy
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] MSe1969:
Hello @RayfG and @bestouff - in my efforts to try out LineageOS 18.1, I am struggling at some point and would like to take advantage of your experiences in regards to having played around with 18.1 / Android 11 already:

As the hotdog is my daily driver and there is no fully working TWRP offering a comfortable nandroid backup*, I am reluctant to format my /data partition, yet. However - dirty-flashing for upgrade seems not to work, different from the LineageOS docu.

When I try to, the boot animation is simply extremely slow and lasts forever, so I force-stop with fastboot HW keys (after 15 min), set the 2nd slot active again via fastbot and I am back in my working 17.1 system.

The only work-assumption I have is, that for whatever reason, 18.1 can't decrypt the data partition.

Do you have an opinion or any experience on that? Any feedback appreciated!

I'll meanwhile carefully prepare for a data partition formatting...

_________________

* As of TWRP, I have tried mauronofrio's 3.4 and Systemad's 3.5 - both allow to access the /data partition in recovery mode, but both fail to create a backup - at least a possibility to partially backup+restore app folders in /data/data ...
[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] RayfG:
Hi, mate.

I tried the same way to update via dirty flash first time and i stucked into the same lame boot animation sequence.

After that i made a clean flash with first back toOOS 10, then upgrade to OOS 11 for the newes firmware and vendor stuff. Then I went for installing lineageos 18.1 as how it is stated in lineagos 18.1 flash instructions. That went smooth and i was on lineageos 18.1 without probs. As I read thrue the twrp installation process, I think it is evident to root your phone for mauronofrios twrp.otherwise no function for decrypt..... But maybe i am wrong with that.

Greetz and hopefully you get thrue. Thank u,

Ray