yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] LegendOcta:
Hmm... Are the devices currently still with 15.1 support available not having CVE-2023-4863 applied?

I daily drive hammerhead and 15.1 is WAY better than 18.1, let alone the better UI it uses far less ram, is far more responsive and works way better in general. It's very sad to see support for 15.1 go..
[Nexus 5 Android Development] SkewedZeppelin:
I will not be adding it back, older versions are directly less secure: https://divestos.org/pages/patch_levels
[Nexus 5 Android Development] LegendOcta:
I'm daily driving 18.1 and noticed an issue with call volume resetting on each call.

Using the stock dialer has the same problem. I always have the call volume set to the minimum, but on each call the speaker volume is very loud, clicking volume up suddenly changes volume to level 2, so right now I'm using the workaround of quickly clicking volume up and down after starting a call but this is really uncomfortable. Do you know of a possible solution?

Also another issue with calls is that when I record the call (on stock recorder, record feature available) the recorded audio has some weird buzzing and distortion effect on the first ~10 seconds, I do not hear this while I do the actual call.

Other than that there doesn't seem to be much issues, thanks a lot for still maintaining an updated OS for hammerhead.

BTW about 15.1 - as DivestOS 15.1 itself is still available for some devices. Can I build myself an updated build of 15.1 for hammerhead? I mean, if I were to use Oreo it would be better to use an updated DivestOS instead of older DivestOS or even worse, older LineageOS.
[Nexus 5 Android Development] ze7zez:
If @SkewedZeppelin has no objections, I can put a link to divested-15.1-20230219-dos-hammerhead.zip in this post.

@SkewedZeppelin said:​

it is highly insecure though and people shouldn't use it
[Nexus 5 Android Development] SkewedZeppelin:
go for it

it is highly insecure though and people shouldn't use it
[Nexus 5 Android Development] SkewedZeppelin:
quirks of an unofficial tree likely

you could, but you'd have to maintain the cve patcher for it too: https://divestos.org/pages/build
[Nexus 5 Android Development] LegendOcta:
I wanted to keep using 15.1 but just went for 18.1 and had been using it since september. After getting used to it it's not too bad except for some weird UI quirks compared to 15.1,, but the device is EXTREMELY slow. Is this happening for others as well?

I have a same specification LG G2 with a year old LineageOS 18.1 installed and that phone is pretty quick. DivestOS here after first install was a bit sluggish but now it's really unusable. I turn off all animations, for example opening settings from stock launcher takes more than two seconds and tapping about phone also takes similar time.

Also can you please get F-Droid privileged install working.. fdroid is system app but it somehow keeps prompting me to tap install lol
[Nexus 5 Android Development] SkewedZeppelin:
I have a handful of these msm8974 devices on 18.1 and some seem faster than others, really not sure what it is.

Also you can't compare app launch speed to Lineage on g2 unless you also enabled encryption there.

I keep CPU benchmarks here so you can ensure it isn't falling under a baseline: https://divestos.org/misc/bench.txt

Another to consider is that overtime the NAND in these devices will wear out, I've already had at least 2 defintively die to worn NAND over the years, it can appear as slowness as first.

The F-Droid Privileged Extension is NOT supported due to security concerns and compatibility issues: https://divestos.org/pages/news#2022-04.3
[Nexus 5 Android Development] ze7zez:
The noticeable slowdown after moving from 15.1 to 18.1 may be due to the reduction of the cache partition to 255 MB and/or its faster degradation as noted by SkewedZeppelin.
[Nexus 5 Android Development] SkewedZeppelin:
/cache is NOT used at all for anything
[Nexus 5 Android Development] LegendOcta:
I have two G2's one with encryption other without and both are all pretty quick. I also have a hammerhead without encryption and just tried installing 18 in it (had 15) and it's a bit faster (probably because no apps) but still slow.

Yeah nand failures appear to happen.. i have another similar aged device die recently as well. Pretty sad...

If F-Droid PrivExt is unsupported how do you keep your apps up to date? Do you manually click install on each apps? F-Droid is extremely laggy for some reason (even on good phones) and in many cases i have issues like the install popup appearing even after installing over and over again before force killing f-droid, or apps not instaling/downloading with only the loading animation showing. manually clicking through is an option but that's extremely slow and i have ~15 apps from fdroid and updating them all usually takes more than 30 minutes and I have to keep looking at the phone to click install. definitely a huge waste of time..
[Nexus 5 Android Development] SkewedZeppelin:
I agree completely here.

I miss the PrivExt, but the primary reason for removal was incompatibility and no easy fix for it.

But yes, sometimes F-Droid crashes when download apps, or doesn't refresh when pulling down, or repeatedly tries to install updates, or downloads but then never tries at all.

Just stick to the latest F-Droid and keep trying. :(
[Nexus 5 Android Development] LegendOcta:
Sad.. such a great firmware and this really makes it hard to use.

Maybe can we have some alternative fdroid client like neo store included in /system?
[Nexus 5 Android Development] SkewedZeppelin:
Please do not use alternative F-Droid clients.

They do not support mirrors properly and end up putting excessive load on the F-Droid.org servers and my own servers. Furthermore they lack localization support, delta index support, and other useful features.

Tavi (@divested@infosec.exchange)

us0.divested.dev is now down due to bandwidth overages. Reminder that currently ALL third-party #FDroid clients do NOT have mirror support. This results in excessive load on the primary servers. They also lack delta index update support which results in increased load on mirrors as well as...

infosec.exchange
[X Style (Pure) Android Development] KriiXOne:
As TWRP gives error "Signal 6" when trying to flash, I'm listing the only way (AFAIK) to flash this ROM right now without encountering errors:

1. Be on unlocked bootloader

2. Flash Lineage 18.1 recovery (found at https://xdaforums.com/t/clark-unofficial-18-1.4234777/ )

3. Erase Data, then Cache, then System from the LOS recovery

4. Flash over sideload the latest DivestOS zip

5. Reboot to system and setup your phone
[X Style (Pure) Android Development] KriiXOne:
Just letting you know these are all the flashing results:

DivetOs recovery: flashing correctly but no modem and no signal

Lineage 18.1 Recovery: perfectly functioning

Twrp: won't flash, Error Signal 6
[X Style (Pure) Android Development] SkewedZeppelin:
Yes, you can use the DivestOS recovery to flash but then the modem firmware won't be extracted.

This is fixed in chrmhoffmann's unfinished 18.1 branch as far as I am aware.

14.1 can be flashed successfully with TWRP.

Thank you for testing and noting it for others.
[X Style (Pure) Android Development] KriiXOne:
Perhaps you could cherry pick the fix from chrmhoffmann's 18.1 branch, which is I'd say even stable enough to make the whole ROM 18.1 if wanted (I used 18.1 as a daily driver since the bugs are 1:1 as on 17.1)

Anyway, thanks for this amazing ROM and thanks for keeping this device alive!
[X Style (Pure) Android Development] SkewedZeppelin:
It is this one: https://review.lineageos.org/c/LineageOS/android_device_motorola_clark/+/304224

I actually did pick it, but it still wasn't functional under -user.

I had a patch to force recovery permissive, but I don't really want to ship that.

The 18.1 branch does look finished, I'm not too sure why it hasn't been merged yet.

I'd build it, but I don't like cherrypicking too many commits (for archive/reproducibility purposes), and they don't seem to be mirrored in a personal repo either.
[X Style (Pure) Android Development] KriiXOne:
I'd say it wouldn't harm to exactly include just a permissive recovery while keeping the system itself enforcing or, perhaps remove the recovery entirely from the site for 17.1, as it can be confusing for people who will not read this thread but find the site casually.

another possibility would be to include and post here a "first time flash" recovery here, in other words a Permissive DivestOS Recovery posted only here, permessive and intended to be used just to flash the 17.1 for the first time, leaving official builds enforcing.
[X Style (Pure) Android Development] SkewedZeppelin:
I will make the recovery permissive next build cycle. Bootloader is unlocked anyway, doesn't matter all too much.
[X Style (Pure) Android Development] shylikov:
does its job perfectly TWRP lineage 17.1

He is able to decrypt this ROM and everything works, including starting the modem.
[X Style (Pure) Android Development] shylikov:
verified
[Xposed General] coolsid8:
Hi,

I had used long time back when it was being developed by Rovo89. I have not used Xposed After that.

I am currently using a Pixel 2XL with Magisk. I believe LSXposed is the best to dive into Xposed for Android 11 right now.

What are the best Xposed Mods available that I can use ? I saw that all the mods I see are quite old.

I remember using Xposed for Adblocking (MinMinguard) & Gravity Box. Have moved to host based ad blocking with Magisk. Does Minminguard still work better than that ?

Also, are there any compatibility issues with Android 11?
[Xposed General] Lord Sithek:
LSPosed is indeed the better option for A11 in my opinion. It's lighter and faster, but it requires to know which packages are to hook. Some modules that are still maintained list them in the descriptions. But if there is no description, you have to guess or ask the developer directly.

My favourite modules are Xposed Edge (Pro), SudoHide (1.28.5), Twitter AdEater, GravityBox, for MIUI -CustoMIUIzer. As for AdBlocking, I've tried MinMinGuard on Android 11, but the latest version isn't work properly, you would have to use 2.0.9 version. But honestly, it's very old now and I would rather recommend AdAway or AdGuard (requires VPN). Personally I use the latter one, I purchased lifetime subscription and I think its very effective tool.
[Xposed General] coolsid8:
Hey, thanks for the reply. Looks like almost all things that I need are getting fulfilled by Magisk right now.
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] anishpratheepan:
Disclaimer

* We're not responsible for bricked devices, dead SD card or anything happens with your device

* Flash on your own risk/knowledge.

--------------------------------------------------------------------------------------------------------------------------------------------------------​

TEAM XTENDED: @SuperDroidBond | @mady51 | @mukesh22584 | @anishpratheepan | @xawlw | @SonalSingh18 | @Roger.T

FEATURES: Get Feature list from HERE

SUPPORT LINK: Xtended Telegram Community Chat | Xtended Community Server

SCREENSHOTS: Click HERE

ROM DOWNLOADS: Xtended ROM

GAPPS DOWNLOADS: Already Included in GAPPS version

RECOMMENDED GAPPS: MindTheGapps

INSTRUCTIONS: Click HERE

ROM SOURCE: Project-Xtended ROM Sources

KERNEL SOURCE: Our Official Devices Sources

DONATIONS: Project-Xtended | Maintainer

We would like to give thanks to everyone in the Android community.
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] dany67310:
Thanks for the rom I noticed that the ctsPROFILE does not pass validation.
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] wizzman:
The lock screen stay always black...
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] k9r4n16:
Great job on the ROM! Used this as my daily driver on my OnePlus 7T. I am unfortunately having a few issues with it though.

1. Screen doesn't turn on properly. Whenever I press the power button to wake the device from sleep,it does not turn on the display unless I double press for the camera. Even then, it takes a while to do anything. Had this same issue on the 7T also.

2. Recovery is not operational at all. The device just reboots into system. I flashed Lineage Recovery on here for now to use the recovery options.

3. Two button navigation is buggy. Same issue as a few other ROMs I've used where the suggested apps in recents show below the buttons where they are unreachable.

Still testing for battery life, have it set to 60Hz at the moment and on LTE.

Great job so far though! Keep up the good work. I will update this post with any other observations.
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] mobile_sensei:
Have you tried a third party launcher like Nova ?

(edit: NVM, there's definitely something wrong. It kicks in in you let the screen time out, then it's locked down.

I set my screen timeout to 30 minutes to get get around it, there's no problem if I manually turn off screen.

Nice ROM, just needs a little polishing.)
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] mobile_sensei:
Thank you for the ROM!!

I was hoping for this one, now if we can get Kang OS & especially Derpfest, we'll have all the primo roms!
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] wizzman:
Yep
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] dany67310:
in locked screen it has a double TAP setting I believe it must be disabled
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] wizzman:
No enable, not working
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] mobile_sensei:
You can enable double tap, but the screen timeout is the problem, chance it to 15 - 30 minutes so you manually turn off screen. No problems
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] mobile_sensei:
Wallpapers

I made myself a couple of "business casual" wallpapers & will be making more in different styles.

If anyone is interested I'll post them here if OP doesn't mind.

View attachment 5330423View attachment 5330427View attachment 5330611View attachment 5330613View attachment 5330615
[OnePlus 8 ROMs, Kernels, Recoveries, & Other Devel] mobile_sensei:
Another quick wallpaper
[Wing, P4350 General] mywing4me:
Good day, all

I am not knew to the board. But, i am knew to posting. i have a slight problem. i set my ring tone for each contact. but, it still play the ringtone that is set for the phone. my phone is not recognizing the ringtone for the contact. if, i am making any sence here.. Is there something I am doing wrong? Or, is this a technical issue that maybe tmobile needs to address?:confused:
[Wing, P4350 General] mywing4me:
Sorry i meant NEW, Not KNEW..LOL!!
[Wing, P4350 General] POOPIE4279:
are these contacts in ur myfaves
[Wing, P4350 General] mywing4me:
They are all contact. My Fav's and regular (non my fav's ) contacts..
[Wing, P4350 General] spacemonkey333:
are you assigning them to contacts saved to your "phone" instead of your "sim"?
[Wing, P4350 General] mywing4me:
Yes, that's the only way it will allow me. but, it's not playing the ringtone for my contacts.. I don't know. i gave up.. LOL!!
[Wing, P4350 General] spacemonkey333:
make sure that the numbers that are saved as contacts have the area code in front of the number. if the incoming call has an area code in front of it and your stored contact does not, then your phone may see them as two separate numbers.
[Wing, P4350 General] mywing4me:
Ohhh okay.. Well, you are right, they are showing as two separate numbers.. let me change that now and see how it works.. Thanks
[OnePlus 5 & 5T Cross Device Development] Drhedphuk:
Thank you very much. Sounds like a great project, I will flash later.
[OnePlus 5 & 5T Cross Device Development] loopypalm:
DivestOS does *not* support the following:

- Google Apps = GREAT !

- DRM (Widevine) = :unsure:

- alternative recoveries (TWRP) = wat ?

- root (Magisk) = maybe not for me

- runtime modification frameworks (Xposed or theme engines) = definitely not for me !
[OnePlus 5 & 5T Cross Device Development] JohnWrick:
Great from the privacy prespective.

Jailed situation from 'people-who-want-to-do-what-they-want' prespective.
[OnePlus 5 & 5T Cross Device Development] SkewedZeppelin:
Anything in particular you'd like to see?

fwiw there is a build guide: https://divestos.org/index.php?page=build
[OnePlus 5 & 5T Cross Device Development] rasputin_g:
I've been trying to build but keep running into errors. when I try to run patchWorkspace, gpg verification fails, and when I try to run buildDevice, it gives this error:

error: system/linkerconfig/Android.bp:17:1: "linkerconfig_defaults" depends on undefined module "libapexutil-deps"

Also, if I wanted to build it with full microg and no deblobbing, how would I do that?
[OnePlus 5 & 5T Cross Device Development] SkewedZeppelin:
Interesting. It should've failed quicker then that.

To enable microG: set DOS_MICROG_INCLUDED to "FULL" in Scripts/init.sh

To disable the deblobber: comment Deblob.sh in Scripts/Lineage-18.1/Functions.sh

You should also set all the DOS_DEBLOBBER_REMOVE_* to false in Scripts/init.sh

GPG verification will likely fail if you haven't run importKeys from PrebuiltApps/update.sh

The linker error, I am not sure what you are missing. Not one I've seen. Maybe your repo sync failed?
[OnePlus 5 & 5T Cross Device Development] rasputin_g:
I did have one error while running repo sync, but it was for the Samsung kernel so I didn't think anything of it. I'll try running repo sync again. Thanks! I love the ROM and having a locked BL but I would love to have GCM and working DRM which is why I wanted to build it myself.
[OnePlus 5 & 5T Cross Device Development] rasputin_g:
GPG verification still failed even after I ran importKeys. Any idea why? Also, what's the deal with the GPG signing on the ROM itself? Do I need to do something to set that up?
[OnePlus 5 & 5T Cross Device Development] SkewedZeppelin:
You don't need to GPG sign your builds unless you want anyone you're distributing it to to be able to verify it is from you.

As for the verification error, can you post the error? Did you run: git submodule update --init --recursive ?
[OnePlus 5 & 5T Cross Device Development] rasputin_g:
Yeah I ran the git submodule command. Turns out I had forgotten to run downloadAllApps to update all of the apps that correspond to the newest signatures. No more gpg verification error.
[OnePlus 5 & 5T Cross Device Development] SkewedZeppelin:
OH!

You shouldn't have to download them, you need git-lfs installed.
[OnePlus 5 & 5T Cross Device Development] rasputin_g:
Ah, I see. Will it work with them just downloaded, or else how should I fix this?
[OnePlus 5 & 5T Cross Device Development] SkewedZeppelin:
It will work that way, but the following should get you in sync:

git add -A && git reset origin/master && git pull && git-lfs pull
[OnePlus 5 & 5T Cross Device Development] rasputin_g:
Thanks. Even when I run that, it seems to work but at the end says git-lfs is not installed (it is). I'm building on up-to-date Arch Linux.
[OnePlus 5 & 5T Cross Device Development] rasputin_g:
I was building for like 17 hours when the build suddenly failed with the error FAILED: ninja: '/home/build/DivestOS/Signing_Keys/4096pro/dumpling/releasekey.x509.pem', needed by 'out/target/product/dumpling/obj/ETC/otacerts.recovery_intermediates/otacerts.zip', missing and no known rule to make it. I assume this is because there was this error when I ran Generate_Signing_Keys.sh: Scripts/Generate_Signing_Keys.sh: line 45: /home/build/DivestOS/Build/LineageOS-18.1//out/host/linux-x86/bin/generate_verity_key: No such file or directory

What could be causing this?
[OnePlus 5 & 5T Cross Device Development] SkewedZeppelin:
You need to run the two commands on https://github.com/Divested-Mobile/DivestOS-Build/blob/master/Scripts/Generate_Signing_Keys.sh#L22

And mkdir that folder if it doesn't exist beforehand.
[OnePlus 5 & 5T Cross Device Development] rasputin_g:
I no longer have that error, but now I have this one:

FAILED: out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk
/bin/bash -c "(rm -f out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk ) && (cp \"vendor/fdroid_prebuilt/packages/FairEmail.apk\" \"out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk\" ) && (if (zipinfo out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/soong/host/linux-x86/bin/zip2zip -i out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk -o out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk.tmp -0 'lib/**/*.so' && mv -f out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk.tmp out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk ; fi ) && (if ! out/soong/host/linux-x86/bin/zipalign -c -p 4 out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk >/dev/null ; then mv out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk.unaligned; out/soong/host/linux-x86/bin/zipalign -f -p 4 out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk.unaligned out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk.aligned; mv out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk.aligned out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk; fi )"
Unable to open 'out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk' for verification
Unable to open 'out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk.unaligned' as zip archive
mv: bad 'out/target/product/dumpling/obj/APPS/FairEmail_intermediates/package.apk.aligned': No such file or directory
06:51:24 ninja failed with: exit status 1

#### failed to build some targets (10:13:27 (hh:mm:ss)) ####
[OnePlus 5 & 5T Cross Device Development] SkewedZeppelin:
Late response, that kind of looks like you maybe ran out of space? btrfs with compress=zstd:1 will help if it is the case.
[OnePlus 5 & 5T Cross Device Development] Kjivar:
Having problems signing in on my bank's webpage. Doesn't sim toolkit work with this rom?
[OnePlus 5 & 5T Cross Device Development] SkewedZeppelin:
Sim ToolKit is not included.
[OnePlus 5 & 5T Cross Device Development] Kjivar:
Ok, does that depend on google or microg to work, or is it possible to place stk.apk as system app somehow?
[OnePlus 5 & 5T Cross Device Development] SkewedZeppelin:
It was removed for security purposes.

It could be added back.

I was not aware it was used like you mention.

Can you elaborate how?

The webpage is able to read keys from SIM card?
[OnePlus 5 & 5T Cross Device Development] Kjivar:
It requires the security measure Bank ID on mobile, and it sends a phrase consisting of two words via stk to my phone. The phrase displayed on web page and the one sent from the bank to my phone has to match. If phrase matches i must enter a pin code. Both apps and web pages uses it. Very common in Norway.

Maybe a bit vague or clumsy explaination
[OnePlus 5 & 5T Cross Device Development] SkewedZeppelin:
DivestOS has support for microG at compile time, but it is not enabled.