yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Kusal krp:
posting via my mi 8(dipper)

I bought my dipper like a month ago and now im having random reboots,freezings,and sim cards not detecting and baseband being unknown sometimes after reboot..and sometimes it fails to boot the system and staying only in mi logo or miui animation..ans it gives error like find device storage corrupted and getting reboting frequently with every miui rom and every custom roms this happening..tried flashing stock rom via mi flash/fastboot method and edl modewoth auth acc..but same happening over and over again..now im on stock global miui 12.0.2 recovery rom with orange fox recovery beta..help me with this to solve..im really fed up with this..thank you

Note:sorry for my bad english im new to here

Here some screenshot i attached.
[Mogul, XV6800 General] firefurby:
If I install a program in through GC's Java app, where does it exactly get installed to?
[OnePlus 2 Android Development] Suhu007:
Anyone tired this?
[OnePlus 2 Android Development] SkewedZeppelin:
This one is recently tested working.
[OnePlus 2 Android Development] Rootmaster906:
sounds like jink
[OnePlus 2 Android Development] tlastun:
Now that Lineage has dropped support for OnePlus 2, will the device continue to receive updates through DivestOS?
[OnePlus 2 Android Development] SkewedZeppelin:
Lineage stopped building for oneplus2 two months ago.

I have no intent on stopping.

That is one of the main features of DivestOS, long term device support.

All devices we support will receive monthly updates.
[OnePlus 2 Android Development] wrufesh:
Got blank screen after flash. But can see volume bar when pressing volume button. Anyone with the same issue? divested-17.1-20210806-dos-oneplus2.zip
[OnePlus 2 Android Development] SkewedZeppelin:
Yes this was a regression, a build with the fix will be up in a few days.

https://xdaforums.com/t/rom-divestos-15-1-18-1-for-ether.4261703/#post-85512691
[OnePlus 2 Android Development] wrufesh:
@SkewedZeppelin Where can I find quite older working build? Currently I am out of OS.
[OnePlus 2 Android Development] SkewedZeppelin:
As I mentioned in that post I do not store old builds.

I can make a new one today if you wait two or so hours.
[OnePlus 2 Android Development] wrufesh:
Yes, I will definitely. This is my first time with DivestOS. I am excited about it and ready to go google less.
[OnePlus 2 Android Development] SkewedZeppelin:
Devices - DivestOS Mobile

divestos.org

https://divestos.org/mirror.php?base=LineageOS&f=oneplus2/divested-17.1-20210906-dos-oneplus2.zip
[OnePlus 2 Android Development] wrufesh:
Thank you so much. Highly appreciate your work. Will contribute at least by reporting you a bug.
[OnePlus 2 Android Development] wrufesh:
Cannot find a cast button to cast video over my tv on any of the media players apps like MX Player. Is the cast button something specific to google?
[OnePlus 2 Android Development] SkewedZeppelin:
Chromecast does indeed require Google Play Services typically provided by gapps.

Miracast is also not supported as it is proprietary.

VLC however does have experimental Chromecast support that works without gapps.
[OnePlus 2 Android Development] wrufesh:
Not able to stream youtube videos over VLC or MXPlayer. Is it something that is blocked by Divest OS?
[OnePlus 2 Android Development] SkewedZeppelin:
YouTube via web browser or app like NewPipe should work just fine.

I don't believe VLC on Android can play YouTube?

You can play a YouTube video in VLC by going to the More tab, then New stream, then pasting a link and hitting go.

I haven't tried MXPlayer.
[OnePlus 2 Android Development] Jaiwantn:
View attachment 5414401

It does not support only OpenGapps, can I install NikGapps or BitGapps
[OnePlus 2 Android Development] SkewedZeppelin:
It does not support *any* Google Apps packages.
[OnePlus 2 Android Development] I<Aow:
Hello guys,

Do you use this ROM on your main smartphone? How do you handle using apps from the playstore? Even for riding bus or train I need some playstore app? However even banking apps (for which I would prefere a most secure OS on my smartphone) are located in the Google playstore.
[OnePlus 2 Android Development] Jaiwantn:
Same doubt from me I install all the apps via playstore only
[OnePlus 2 Android Development] RomanVern:
hello. tell me, what about push notifications without google services? they are coming?
[OnePlus 2 Android Development] SkewedZeppelin:
Google Apps and microG are not supported on this mobile OS.
[OnePlus 2 Android Development] RomanVern:
I know, that is why I asked, what about push-notification? I'm assuming you need to use apps that have their own server for notifications?
[OnePlus 2 Android Development] js-xda:
From experience using LineageOS without GApps and MicroG, this works indeed if you have an app such as Signal also having an own service other than via Google. But in that specific case, it is unfortunately resulting in much higher battery consumption. With WhatsApp, no such issues and notification working all right (but yes ... why should one skip Google and use at the same time WhatsApp ;) ... bit specific case here).

Bottom line, you will have to test with the messenger of your own preference.

Will have soon a OnePlus 2 for testing and will give DivestOS a first try - curious to learn.
[OnePlus 2 Android Development] js-xda:
Got the chance to test the latest build & recovery (220605). Nice to see latest security patch level (220505) on this device! No major issues following the installation instructions provided.

Upon initial start of various apps, there are different warnings for various apps:

DivestOS settings & F-Droid (own translation from German): "The app was developed for an older Android version and might not function properly. ..."

Galery & Mull: "This is a 32 bit app, which is a likely indicators that this app is outdated and potentially unmaintained. ..."

Knowing that at least F-Droid, Gallery and Mull (being Firefox and being version 101.2!) are not that much outdated for sure, I am wondering whether these are false warnings or whether something else is wrong.

I noted also that some translations to German e. g. in Extirpater are not really making sense. I searched on DivestOS website and GitLab but couldn't find an obvious hint towards translation support options. Are there any?

To close, a big thank you for all the work and time invested into DivestOS! I will test it with this phone the coming period and might provide some more feedback.
[OnePlus 2 Android Development] SkewedZeppelin:
These are covered here https://divestos.org/index.php?page=patch_levels

and here https://divestos.org/misc/a-dates.txt

2022-06 will be up in the coming week as per LineageOS: https://review.lineageos.org/q/topic:Q_asb_2022-06

This warning shows for any apps not targeting Android 9.0 or higher. Apps below this level aren't required to take advantage of newer features such as scoped storage.

This warning is shown to let the user know it is 32-bit and won't benefit from some security features like improved ASLR or the included hardened memory allocator.

However it appears to have a false positive on some devices, where the app and device are indeed 64-bit but still shows the warning.

While the device vendor blobs/firmware are outdated for most supported devices, I do try to keep everything else as up-to-date as possible.

The Chromium WebView, Mulch, receives out of band updates via an F-Droid repo: https://divestos.org/misc/ch-dates.txt

And Mull: https://divestos.org/misc/ffa-dates.txt

These are here: https://github.com/Divested-Mobile/Extirpater/blob/master/app/src/main/res/values-de/strings.xml

or here: https://gitlab.com/divested-mobile/extirpater/-/blob/master/app/src/main/res/values-de/strings.xml

I'm happy to accept a patch, pull request, or just the file attached, it would be much appreciated.
[OnePlus 2 Android Development] js-xda:
Sweet ... June 5th ASB before any of my other devices. Great! Update without any issues.

Some general feedback on DivestOS - just my personal perception:

It is probably with good reasons but having to install Mull (and Mulch System WebView) on a fresh installation first from F-Droid is not that intuitive - feels more like missing it initially. Would it be possible to ship it with the build but make it possible to update still via F-Droid?

Why is the already installed build still listed as installable (or downloadable if deleted) in the updater? Not the case in regular LineageOS.

The updater links for change log still to LineageOS which ends up with an empty list for obvious reasons. Remove?

The overall appearance feels a bit pieced together. E. g. using Simple Gallery makes it a bit not feel like made from a single cast.

I know that LineageOS uses Etar as calendar app. But would it be possible to label it as such? Etar doesn't ring a bell for many users.

Please, don't take any of this remarks as hard criticism. I love to see this working so nicely on such old hardware and I like the concept of DivestOS. But it might help to have some more users once some of these "niceties" are ironed out.
[OnePlus 2 Android Development] SkewedZeppelin:
A shim for Mull is installed by default. The full Mull cannot be included due to space limitations on older devices/branches. This also better ensures the user installs the latest update for Mull. But yes, it is annoying that right out of the box "there is no web browser".

This is handy to have.

Yes, I've considered changing it, but it also may be useful to know what device specific changes upstream has made, although it isn't useful for the devices they no longer build for.

Suggest a better gallery app that is FOSS and supports Android 7.

LineageOS uses a fork of Etar, however DivestOS replaces it with the real Etar.

This was handy for some important bug fixes a while back that Lineage's fork was missing.

Given that I use the prebuilt version compiled by F-Droid, I cannot do such rebranding without forking it myself, something I'd like to avoid.

I do appreciate the feedback, knowing what users actually want and what can be done differently is important.
[OnePlus 2 Android Development] SkewedZeppelin:
Mulch is already included in the system in full.

If you were on the early June update that was merely the update to Chromium .99.

If you were on today's update, .99 is already included in the system image, but F-Droid may still suggest it immediately after boot if it hadn't detected the version change yet which takes a few seconds.
[OnePlus 2 Android Development] js-xda:
It's not about the app (all good to me) - it is just the overall impression that it makes. So, in the end nothing tragic but people into "it has to feel nice" might not like it. And I wouldn't know a way of solving it which isn't resulting in you having to maintain another app where I see the benefit of being able to use it as is. So, no worries. :-)
[OnePlus 2 Android Development] robuser007:
I locked my bootloader on divestOS, any option to unlock it ?
[OnePlus 2 Android Development] SkewedZeppelin:
The website and top of this forum thread says to NOT lock oneplus2.

You cannot simply `fastboot oem unlock` this device with the AOSP or DivestOS recovery due to their customized bootloader.

You must first reboot to bootloader, adb sideload this https://divestos.org/testing/oneplus2-twrp-signed.zip then reboot to fastboot and unlock.

That is the easy way, alternatively you can use msmdownload tool to return to stock which bypasses the lock.
[OnePlus 2 Android Development] robuser007:
From bootloader I can't use adb sideload. How should I do this?
[OnePlus 2 Android Development] robuser007:
From bootloader I can't use adb sideload, from the os I can't use adb sideload:

C:\Program Files (x86)\Minimal ADB and Fastboot>adb sideload d:\oneplus2-twrp-signed.zip"

adb: sideload connection failed: closed

adb: trying pre-KitKat sideload method...

adb: pre-KitKat sideload connection failed: closed

adb devices

List of devices attached

2696faae device
[OnePlus 2 Android Development] SkewedZeppelin:
You need to reboot to the recovery: With the device powered off, hold Volume Down + Power.
[OnePlus 2 Android Development] robuser007:
solved
[One (M8) Android Development] fela4:
Boots fine, however on the verizon (M8wl) variant , sim, IMEI all not detected (all show "unknown") , seems like RIL is broken
[One (M8) Android Development] fela4:
Btw , I flashed the ROM ZIP with twrp , no issues at all
[One (M8) Android Development] SkewedZeppelin:
Hmm, can you post the output of:

adb logcat -b all -d | grep -i audit
[One (M8) Android Development] K3li:
Here's the output of adb logcat -b all -d | grep -i audit and adb logcat -d from my device, an m8wl variant.

Flashed divested-18.1-20210509-dos-m8.zip
[One (M8) Android Development] SkewedZeppelin:
Thank you for the logs!

A 20210613 build is up that should fix the error!
[One (M8) Android Development] K3li:
Just flashed the new build (20210613) but I'm unable to test.

"To start Android, enter your password" shows on the screen.

Wiped data, cache,dalvik.

The earlier build (20210509) did perform encryption and I could boot into it after it was done. This one goes straight to that password dialog.

Any password I try just returns a "The password you entered is correct, but unfortunately your data is corrupt.." message and offers to erase my data. When I choose this option, it just restarts into recovery performs data/cache/dalvik wipe, then restarts again into that password dialog.
[One (M8) Android Development] SkewedZeppelin:
Uh oh.

I've pulled that build. I am not sure what would have caused that.

I will make a 17.1 build, as clearly 18.1 is not ready yet.
[One (M8) Android Development] SkewedZeppelin:
A new 17.1-20210614 build is up, hopefully this one is more functional ;) .
[One (M8) Android Development] K3li:
That was fast!

I dig your fast responses, thanks for the good work.

I'll download and test the new build.
[One (M8) Android Development] K3li:
Download link still points to the 18.1 build.
[One (M8) Android Development] SkewedZeppelin:
Scroll down to the 17.1 section. The page supports multiple versions.

https://divestos.org/mirror.php?base=LineageOS&f=m8/divested-17.1-20210614-dos-m8.zip
[One (M8) Android Development] K3li:
I've flashed the 17.1 build above (20210614) and everything work so far except for the part where I can't turn on mobile data.

I tried restoring a previous TWRP backup of the ROM I was using (Lineage 17.1) but was greeted with the "Android password" dialog I talked about earlier.

So my backup is useless.

Also, the phone becomes unresponsive after a while with this build.

Let me wipe everything then see if I can install my previous ROM.

Tried wiping dalvik/data/cache/android secure but nothing worked. I couldn't boot into my TWRP restored backup. I was being asked for a password.

I restored everything including boot and recovery partitions.
[One (M8) Android Development] SkewedZeppelin:
That is very strange.

You should be able to flash to anything else, and restore a congruent backup with no issue.

To confirm: you tried formatting /data, rebooting, then restoring your backup?
[One (M8) Android Development] @kel@:
After installing this ROM, the recovery flew off, with difficulty restored.
[One (M8) Android Development] K3li:
Reformatted and was able to successfully flash Lineage. Apparently I was doing it wrong. Selecting everything in 'Advanced Wipe' in TWRP isn't enough. I had to format data as well- where you're asked to type 'yes' for anyone following this thread. Encryption is serious business.

My testing itch was still there and I was eager to give it a little scratch, so reflashed divested-18.1-20210509-dos-m8.zip again armed with the knowledge that formatting 'data' was a must when switching ROMs. This time I was able to boot into it.

Yay! It works :)

Everything seems to work except for mobile data :(

Even tried setting up a custom apn but it wouldn't connect just like the 17.1 build. You can see from the screenshots i've attached that there's no LTE/H+ indicator next to the network icon.

But at least the sim card is detected and I'm able to make/receive calls. I can also send and receive sms messages

Still testing this new 18.1 build as I'm typing this.. playing music via bluetooth and I'm yet to encounter any stuttering as was the case with Lineage 17.1 (occasionally)

Let it be noted that I really like this ROM, congrats for the good work.

Attached please find some logs for you to look into.
[One (M8) Android Development] K3li:
I feel you.

I tried flashing the divest recovery yesterday. That thing threw me into a panic!

The phone kept rebooting trying to enter into a non-functional recovery.

(╯°□°)╯︵ ʎɹǝʌoɔǝɹ_ʇsǝʌᴉp
[One (M8) Android Development] SkewedZeppelin:
Strange, if the system boots the recovery should boot.

Do you just see the HTC logo or something?
[One (M8) Android Development] K3li:
Yes I could see the HTC logo and the "Entering recovery.." text at the top but the phone wouldn't enter recovery.

It would reboot again showing the same "Entering recovery.."

So a bootloop of some sort.

With difficulty (multiple volume down + power tries) I was able to enter fastboot and reflash TWRP recovery.
[One (M8) Android Development] SkewedZeppelin:
Delayed, but latest 18.1-20210617 build fixes the netmgrd error as in your logcat.

Should make cellular work.
[One (M8) Android Development] fela4:
working fine so far , Including mobile data (m8wl)
[One (M8) Android Development] K3li:
Thanks.. I'll download and test.
[One (M8) Android Development] K3li:
Testing this new build as from a few hours ago.

Mobile data works :)

Yay!

A few issues..

The default SMS app (Silence) doesn't start, it crashes. The FM app also crashes when started. Also, the phone would occasionally hang and a reboot would be necessary to get it back to being snappy.

Other than those, I haven't experienced any other issues.

Thanks for the ROM, good job 👍
[One (M8) Android Development] SkewedZeppelin:
Clear the app data of Silence to fix the crash, it happens when it first starts sometimes.

FM might be fixed upstream after:

https://review.lineageos.org/c/LineageOS/android_vendor_qcom_opensource_fm-commonsys/+/310083

https://review.lineageos.org/c/LineageOS/android_device_qcom_sepolicy/+/312087

Curious about the hangs, how often does it happen?
[One (M8) Android Development] K3li:
Clearing the data worked for Silence, thanks for the tip.

The phone doesn't hang often but it does occasionally. Let me investigate this issue further and then I'll report my findings.
[One (M8) Android Development] K3li:
The phone has restarted (soft rebooted) twice while talking on the phone. There's a toast about volume something something error that shows up after these reboots.

Attached is the logcat.
[One (M8) Android Development] SkewedZeppelin:
Can you disable all the UnifiedNlp backends? And see how it goes?
[One (M8) Android Development] K3li:
Sure, will do.
[One (M8) Android Development] K3li:
Another soft reboot while trying to send a voice message in Telegram (FOSS version), couldn't take a good look at the toast after the reboot but it was something like "volume_forward failed"
[One (M8) Android Development] rhazious:
how to restore the recovery? I have that problem.

"FAILED (remote: image update error)" when I try to flash recovery via cmd
[One (M8) Android Development] SkewedZeppelin:
HTC One M8 All Variants

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me
[One (M8) Android Development] K3li:
This ROM has improved a LOT! It doesn't soft reboot that often and I'm using it as my daily driver.

Can anything be done about the recovery? It doesn't work even after flashing it successfully.
[One (M8) Android Development] fela4:
In the OP it says they don't support alternative recoveries such as TWRP, You will just have to boot any alternative recovery through fastboot if need arises
[One (M8) Android Development] K3li:
I was referring to Divest's own recovery for things like OTA updates. The ideal approach will be updating the ROM via the updates page in system settings.

The current situation is to download the update separately, reboot to fastboot, flash TWRP, reboot into TWRP, flash the ROM's update then for some folks like myself, overwrite a custom mixer_paths.xml because the default file has low values for the mic. I know I know.. I should write a '50-mixer_paths.sh' and push it inside '/system/addon.d' to make my settings persist across updates but I'm kinda lazy.
[One (M8) Android Development] fela4:
Lol , perhaps that's something @SkewedZeppelin can answer/ look into.

P.S. Laziness is nice :cowboy:
[One (M8) Android Development] SkewedZeppelin:
addon.d support is not included in DivestOS, so it wouldn't work if DivestOS recovery worked. I'd be happy to instead directly include it if you link it.

As for why DivestOS recovery doesn't work on m8, is hard to say.

It is strange that the system itself boots but the recovery doesn't.

I did see recently an issue with klte where the system booted but the recovery didn't because the kernel commandline was too long. I did reduce what is added on all devices by instead setting it in the code instead of the args.

So next update could potentially work if it is the same issue here.
[One (M8) Android Development] K3li:
That would be nice to have a recovery that 'just works'.

By the way..

I noticed that those soft reboots were happening because the phone runs out of memory.

I was monitoring the running services (developer options) and I saw briefly before the phone suddenly soft rebooted that the free memory was negative something, -21 I think. It's strange but that's what I saw. I kept monitoring and noticed that every time the free memory dipped below 30 or so MBs, the phone would soft reboot. Looking at my logcat I saw a lot of 'lowmemorykiller: Failed to get free memory!' and 'lowmemorykiller: /process/zoneinfo parse error!' messages. Could this be the cause?

I decided to flash the AICP ROM to test and I can confirm that the device doesn't soft reboot with this ROM.. or at least it hasn't so far.

I'm only missing that captive portal switch in my WiFi settings. It's a useful addition by the way. I can sync my contacts on DAVx without it complaining that there's no internet.

Attached below is the edited mixer_paths.xml file that I use.
[One (M8) Android Development] K3li:
I tried the latest recovery (divested-18.1-20211010-dos-m8-recovery.img) yesterday and it still doesn't work even after flashing it successfully using fastboot.

Lineage 16 on this device works really well. Is it possible to have a Pie build for the m8? The memory issues with the current 17/18 ROMs are a real deal breaker. I can't even import my bookmarks in Bromite! Bromite complaints that there's not enough memory. On Pie I can import them just fine.

Is the XMPP chatroom still active? I've been trying to join the channel without any success. The account I used before no longer exists (Blabber.im was shut down) so I'm trying to join afresh using one from Creep.im but the captcha thingy isn't happening. I'm using Monocles Chat as my client, it's what I used before.
[One (M8) Android Development] SkewedZeppelin:
Thanks for testing the new recovery, that is disappointing.

I don't plan on providing old versions when newer ones are available for devices, as they are not secure.

Other 2GB RAM devices I have like mako work just fine on 18.1.

creep.im is blocked per https://github.com/JabberSPAM/blacklist/blob/master/blacklist.txt

Try another host, maybe trashserver.net
[One (M8) Android Development] K3li:
I hear you about building on old versions of Android. Hopefully someday the current memory issues with the m8 will be fixed - for good!

Keep up the good work though.
[One (M8) Android Development] Adnan7995:
Is this ROM worth download? I want to have a stable ROM.
[One (M8) Android Development] tejljr:
For the most part yes
[One (M8) Android Development] kpinal:
Hey there, I've now successfully installed the 18.1 version but my screen bugs when rotating the phone, is that a known issue or is my phone the problem?