yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] chaoscreater:
Probably won't get my answers here, but thought I'd give it a try anyway.

On most Android ROMs, there's a setting called "power button locks instantly" or "power button locks immediately". If this is setting is on, then when you press the power button your screen will lock and this is regardless of what your screen timeout setting is. Even if you set the screen timeout to 1 minute, pressing the power button will always lock the screen immediately.

In certain situations, I want to disable this behaviour. For example, if I'm at home connected to my home Wifi SSID, then I don't need to have a lockscreen enabled. The problem is that on MIUI, this setting cannot be found at all. It isn't a System/Secure/Global table setting either. And before anyone jumps in to reply, no this isn't the same setting as the "lock_screen_lock_after_timeout" secure setting, which you'll commonly find on XDA or Reddit, etc.

Luckily, you can control the "power button locks instantly" setting by using a MacroDroid/Tasker plugin called Secure Settings. In this plugin, you can configure the "Power Button Lock" setting to be disabled. The plugin can be found here:

Secure Settings – Apps on Google Play

Automation features for the Android enthusiast

play.google.com

If you set "Power Button Lock" to disabled, then it will show this in logcat:

Get lockscreen.power_button_instantly_locks: true

Set 'lockscreen.power_button_instantly_locks' enabled: false, success: true

and if you set "Power Button Lock" to enabled, then it will show this log in logcat:

Get lockscreen.power_button_instantly_locks: true

Set 'lockscreen.power_button_instantly_locks' enabled: true, success: true

I've been using this plugin on MacroDroid and it works perfectly fine. This was on my Redmi Note 9T, running MIUI 12 Android 11. However, I've recently upgraded to Redmi K60 and this is on MIUI 14 Android 13. For some reason, this doesn't work anymore. I can still the same logs in logcat, but my screen is always locked when I press the power button.

I thought perhaps that this doesn't work on Android 13 anymore, so then I tested this on my Poco F1 running a custom Android 13 ROM and it still works. So this leads me to believe that perhaps the latest MIUI has somehow removed this setting (even though we can't even find this setting in any of the MIUI roms).

I then digged a little bit deeper and found this:

core/java/com/android/internal/widget/LockPatternUtils.java - platform/frameworks/base - Git at Google

In that link, you can look up this "LOCKSCREEN_POWER_BUTTON_INSTANTLY_LOCKS". So then I went into my System folder, extracted framework.jar and then used JadX to decompile it. I did this on both my Redmi Note 9T and Redmi K60 and I compared the differences.

Well, I found no differences. They both have the LOCKSCREEN_POWER_BUTTON_INSTANTLY_LOCKS setting for both the GET and the SET methods.

I'm not a programmer and at this point I just give up. If anybody can shed some light on this, I'd be interested to find out why this doesn't work anymore, or whether there are any other ways to systematically disable/enable the lockscreen.
[General Questions and Answers] chaoscreater:
I found my solution. I came across this:

GitHub - MonwF/customiuizer: Pengeek(米客)

Pengeek(米客). Contribute to MonwF/customiuizer development by creating an account on GitHub.

github.com

That has a plugin support for either MacroDroid or Tasker. You can install that and enable the Xposed module. The documentation page says it requires EdXposed but that's not true. I'm using LSPosed and it works fine. You then go into the lock screen setting in the app and enable the mod. Then, just use the plugin in Tasker or MacroDroid to configure lock/unlock.
[Moto G 5G Plus Questions & Answers] HELLINE:
I'm having trouble installing kernel su on moto g 5g plus lineage android 13
[Samsung Galaxy S23] limitnelo:
Hello

Is there a way to set google photos as defoult gallery app?

I go setingss/apps/defoult apps but there is no way to set gallery..
[Samsung Galaxy S23] puma99dk|:
Photos are the default app on my S23 running One UI 5.1 on Android 13.
[Samsung Galaxy S23] limitnelo:
Well, how did you set it up to be defoult, I can't..
[Samsung Galaxy S23] puma99dk|:
I used Samsung Smart Switch since I came from a iPhone so I didn't touch it but these are my settings:

Setting-->Apps-->Photos-->Set as default is set to in this app

This all that's set under default for the app I don't know if this helps.
[Touch HD General] lepiredesochs:
Hi all,

I have a (maybe stupid) question.

How do you do if you want to uninstall a program?

thank you.
[Touch HD General] Wavac:
Use the SKTools utility for a complete and clean uninstall!
[Touch HD General] crankshaft:
Start > Settings > System > Remove Programs
[Touch HD General] ^Rook:
Hi,

Programs that came with the phone can't be uninstalled. Programs you installed yourself can be uninstalled by going to: Start>Settings>System>Remove Programs.

Regards,

Rolf :cool:
[Touch HD General] lepiredesochs:
Thank you all ;)
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] noam1451:
Hi, I reinstalled the device, set themes/fonts/icons.

After a certain time when I open the device, the theme of the device changes poco including the fonts and icons.

I want to know how I change it so that the theme I have chosen will remain constant and not change.

I checked the inactive wallpaper carousel.

Can someone help me and tell me what I need to set so that the theme assessment has not changed?

Thank you
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] mahdi3737:
same problem

poco f3 i think miui 💩 update
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] astateofsekai_:
Is this phone ever gonna get HyperOS, tho?

Just unlock it 🤷
[ONE Q&A, Help & Troubleshooting] ManOfSteal:
Are there any ROMs out there that would allow me to have the OTG function (either selectable or permanently enabled)?

Am currently using lineage_bacon 9 PQ3A 190801.002.a5368a94a9

In an online spec., it shows the OnePlus One as having OTG, but it's not an option on this ROM and isn't working that way by default.

Any help appreciated, thanks.

Edit: [Problem resolved, as the OTG function is presently functioning after all, albeit a bit flakily. Feel free to delete this post, thanks]
[Touch Pro, Fuze Themes and Apps] aceofspades1217:
I am using the resco keyboard and it really is great...I can actually type with my thumb. But I have no idea if there is a way to disable auto popup. I know you can do it with the regular keyboard in diamond tweaks but I don't know if you can do it with the resco keyboard.

Does Spb keyboard have this feature?
[General Topics] hamzawi:
Hello,

After two years of hard work, I have built a social media platform (similar to Facebook) from scratch.

I utilized ReactJS, Node.js, MySQL, Redis, and GCP for this project.

I named the project 'TheWide' - The social network built for coders.

The concept is simple: TheWide is a social media platform tailored for coders.

Why TheWide? As a developer/coder, I can use platforms like Facebook (or other social media platforms)!

However, TheWide is truly created with coders in mind. Here, we can share posts with code snippets, allowing other coders to view your code execution as a post and even interact with it, comment with code, and more.

Therefore, there is no need to post a screenshot when asking code-related questions.

TheWide features an 'Idea Center,' which serves as a hub for coders to share their ideas for improving the project and engage in discussions by commenting on other ideas.

Consequently, future releases and updates of the social network will be primarily based on these published ideas.

I have just launched TheWide project in its alpha version, and I am currently seeking testers to participate in the launch phase.

Just to provide some information, the project is accessible through a responsive web version, along with an installable mobile web app (PWA) that closely resembles a native application.

If you are interested, you can sign up/register here: https://thewide.com

Thank you 😊
[Asus ZenFone Max Pro M1  ROMs, Kernels, Recoveries] AnandSuresh02:
PixelExperience for Asus Zenfone Max Pro M1 [X00TD]

What is this?

PixelExperience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, boot animation)

Our mission is to offer the maximum possible stability and security, along with essential and useful features for the proper functioning of the device

Based on Android 13

Whats working?

Wi-Fi

RIL

Mobile data

GPS

Camera

Flashlight

Camcorder

Bluetooth

FM radio

Fingerprint reader

Face unlock

NFC

Lights

Sound/vibration

Known issues

Nothing yet

You tell me

DON'T FLASH GAPPS, THEY'RE ALREADY INCLUDED

Download ROM

Download Recovery

Donate

Liked my work? Give me a beer

Translation

Help with project translation

Stay tuned

Our Telegram channel

Our blog

​

Notes:

*Imported liboemcrypto from Stock.

* Rebased kernel source.

* Improved overall smoothness.

* F2FS is enabled by default for /data and /cache.

* Use the given AOSP recovery to clean flash in order to use f2fs by default and for better experience.

* FBE build.

*Clean flash is necessary if coming from any 4.4 or decrypted builds.

Android OS version: 13

Security patch level: July 2023

Build author/Device Maintainer: AnandSuresh02

Device Source code: https://github.com/AnandSuresh02

Source code: https://github.com/PixelExperience

ROM Developer: jhenrique09

​
[Samsung Galaxy J6+ ROMs, Kernels, Recoveries, & Ot] QJOTech_Real:
***Moderator Notice***​

This project has been closed due to noncompliance with the XDA GPL Policy.​

************************

​

[ROM][8.0][Samsung Experience] for Galaxy J6+​

NO UPDATES SORRY :(​

About:​

The Rom Is Based On Android 8.1 GAAPS Are Already Installed! No Need To Flash.

Before Installing:​

Backup ALL Your Files Before Installing, Make Sure To Have TWRP, OrangeFox, OR Any Recovery (only not the Samsung recovery)

How Do I Install:​

TWRP:​

Click On Wipe

Click On Format Data

Write yes And Click Enter

Wait While The Data Is Done

Then Swipe *Swipe The Factory Reset* Thing

Then Go Back Until You See The Main Screen

Click Install And Select The ZIP File

Swipe To Flash.

Reboot And Enjoy!

OrangeFox (This Is Only For Version R11.0_0)​

Go To Menu

Manage Manage Partitions

Select Data

Click The Button In The Bottom Right Corner

Select Format Data

Type Yes

Click Enter

Go Back To The Menu

Click On Files

Select the ZIP Folder You Want To Flash

Swipe To Install

Reboot And Enjoy!

Problems You Might Have And How To Fix​

When You Reboot After Flashing Rom You Might Be Stuck On a Black Screen

Hold the Volume Down And the Power Button At The Same Time Until You See The Samsung Galaxy J6+ Screen

It Should Work After That

Things That Work​

Almost Everything!

Things Not Work:​

Fingerprint

Face Unlock

Tell Me More

​

Contact Me:​

Discord: qjotech

Tiktok: qjotech_real

Telegram Group: Telgram

Download Links:​

Rom: ***Link Removed by Moderator***

Magisk: Download

OrangeFox: Download

TWRP J610: Download

TWRP J610X: Download

IF YOU HAVE PROBLEMS COMMENT ON THE POST!​
[Samsung Galaxy J6+ ROMs, Kernels, Recoveries, & Ot] V0latyle:
@QJOTech_Real All ROMS and kernels posted on XDA must include a published kernel source. Please correct this immediately. For more information see the XDA GPL Policy linked in my signature.

If this issue is not addressed, download links will be removed from your post, and this thread will be closed.
[Samsung Galaxy J6+ ROMs, Kernels, Recoveries, & Ot] V0latyle:
@QJOTech_Real As it has now been 5 days, I have removed download links and closed this thread.

If you decide to correct this in the future, please use the Report button to contact a member of the moderator staff.
[Redmi 9 / Poco M2 Questions & Answers] vishwasnp:
I have a Poco M2 with MIUI global 12.5.7.0 , looks like Xiaomi is done with official updates for Poco M2

Now since PocoM2 is a clone of redmi 9 prime, has anybody tried flashing redmi 9 prime latest firmware in a Poco m2 ?
[Redmi 9 / Poco M2 Questions & Answers] talk2g:
Just flash lineageos 20 official rom.

Flashed yesterday and its much better than trash miui both in battery and performance.

If u like miui ,then just unlock bl and flash the recovery rom for miui14 based on a13 that was rolled out for poco m2 tester.
[Samsung Galaxy S21 Ultra] Роман54:
MOD EDIT: ENGLISH TRANSLATION ADDED

Bought S21 Ultra for Korean market. Geolocation not working. Please tell me how can I solve this problem?

----------------------

Купил S21 Ultra для корейского рынка. Не работает геолокация. Подскажите пожалуйста как можно решить эту проблему?
[Touch Cruise ROM Development] Ramucio:
Hello,

I have Polaris, ROM M-Anime 2.0 Final, Radio 1.59.44.02.

Is very good rom, but still I cant find sulution with my bluetooth headset. (Plantronics pl-510 and Nokia BH801).

Pairing is ok, no problem, but when call no sound in headset, and later polaris frezz, I cant do anything, only soft reset helps.

In forum I read some solution, but they not help ?(change bit poll and etc.)

Maybe someone know realy good solution?

Thank you

P.S. Obex and Active Sync is working
[Touch Cruise ROM Development] mano42:
I have Plantronics Voyager 520 (dual), I use C_Shekar 3.18.931aCS WWE Radio 1.59.44.02. and all works well...
[Touch Cruise ROM Development] Ramucio:
Mano42, can you wrote me registry entries

Hkey_local_machine-software-microsoft-bluetooth-A2DP

Thank you
[General Questions and Answers] Yors mr:
Friends, I have ZTE Blade A 521 Qualcomm Snapdragon processor, it only lost 3g signal, the 2g if you take it, sorry for spelling I use a translator I'm Cuba, here the 3g is for 900mhz before if I took it
[General Questions and Answers] Yors mr:
That's how he took 3g, he stopped taking it without hitting himself or falling,
[Galaxy Tab S2 Android Development] metterschling:
Release notes

NOTE: All builds that are uploaded have been personally tested by myself and the other device variants by volunteers to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data in TWRP. This is known as a clean install. Backup your data before a clean install.

July 20, 2024

June/July 2024 LineageOS & Android security fixes. ~5800 files changed.

Switched back to open source hardware decoders as the proprietary ones never worked (N935FXXS7CTJ2 OMX). See

https://github.com/retiredtab/propr...mmit/0a2ff2401e2766f04bb6ce9f4bc026777b672006

June 2, 2024

May 2024 LineageOS & Android security fixes. ~5000 files changed.

Kernel updated to 3.10.180 (from 3.10.9). Thanks to @bluess57 who spent weeks doing the work.

April 27, 2024

April 2024 LineageOS & Android security fixes. >4000 files changed.

Adjusted SELinux policy rules

March 17, 2024

March 2024 LineageOS & Android security fixes. >6600 files changed.

February 25, 2024

February 2024 LineageOS & Android security fixes. >9500 files changed.

Adjusted SELinux policy rules

January 21, 2024

January 2024 LineageOS & Android security fixes. >6000 files changed.

December 16, 2023

December 2023 LineageOS & Android security fixes. >8200 files changed.

November 26, 2023

October & November 2023 LineageOS & Android security fixes

Starting with this build, updated the kernel tree to update the mali graphics driver to version R22P0 along with the required omx blobs, get some zram, cpu and binder patches.

Changed the default audio policy configuration, acknowledging the poll result on top of this thread.

Now Bluetooth audio (loudspeaker / a2dp) is working, standard audio output and telephony audio using wired headset is working, just telephony using built-in speaker and microphone is no longer working.

See this commit for details. If you prefer built-in speaker/microphone telephony audio, over BT audio you might apply the patch as described in detail in post #14.

October 1, 2023

September 2023 LineageOS & Android security fixes. >9200 files changed.

August 13, 2023

August 2023 LineageOS & Android security fixes. >16000 files changed.

July 15, 2023

Initial 20 ALPHA public release.

Incorporates July 5th security patches

If you are coming from stock rom or an older LineageOS version (example, 18.1 or 19.1), you MUST format your data in TWRP. Remember to backup your data and verify that restore data works before upgrading to 20.
[Galaxy Tab S2 Android Development] metterschling:
reserved #3
[Galaxy Tab S2 Android Development] parhit:
I'm back, tadadam!

After missing the TWRP flash, I tried the Lineage flash to do all the possible resets (system, data...) before doing the famous "update".

And I'm already configuring the tablet, as if nothing had happened, after this quick little formality.

I'm going to test whether it's possible to create a child user.

Thanks for this new nugget @metterschling <3
[Galaxy Tab S2 Android Development] parhit:
@metterschling Just a little feedback after a quick use.

There's still this bug when creating a new user account, and I've tried to install F-droid without success.

Also, VLC doesn't seem to work with the default options. When I play an audio file, I get no sound.

Finally, on the Bluetooth side, I manage to link the tablet to my JBL speaker but the sound doesn't come out on the speaker but on the tablet. Even though the link has been made, it seems that the tablet isn't sending sound to the speaker despite the link.

I don't know if this feedback will help. Thanks in any case for your work ;)
[Galaxy Tab S2 Android Development] metterschling:
Thank you for the feedback. Did you try to install F-Droid in the secondary user account? Normal install should work, I have F-Droid running on my los20 T715.

I don't use VLC, I do test audio using the Fennec browser.

Again strange, I'm testing with a bluetooth headset and Fennec audio and that works. Will check with a BT speaker this weekend.

Thank you for using, testing and providing feedback!
[Galaxy Tab S2 Android Development] metterschling:
Checked with a BT speaker and can confirm the issue. Plus BT headset now shows the same issue. As the latter used to work in previous builds, something might have changed in LOS. Just recognised the audio output selection on the volume slider, looks new to me as well. The Bluetooth devices are listed there, but can not be selected. I might have a look this weekend.
[Galaxy Tab S2 Android Development] parhit:
When I try from another account, I have this error: "The application has not been installed, as the package appears to be invalid." (it's the latest version available on the official website and the same version that I have installed on the main profile). I also notice that I can't look at the notification by swiping down the screen.

I think the issue with VLC or the Bt speaker are linked ;)

My pleasure!
[Galaxy Tab S2 Android Development] metterschling:
I managed to get BT speaker and headset working but unfortunately the change breaks Telephony audio (microphone input and speaker output). Basically install https://github.com/retiredtab/andro.../configs/audio/audio_policy_configuration.xml to /system/vendor/etc to get BT speaker and headset working. I'll try to find a configuration that has both working. Stay tuned.
[Galaxy Tab S2 Android Development] GRAM333:
is anyone having problems with wifi connection,,????...my logos disappear at top left and wifi disconnects until i restart....same on my other t715....is there problem in the build... also camera is slow taking pictures.....i realise this is alfa build and appreciate all the work that goes into it....thanks
[Galaxy Tab S2 Android Development] seeheng:
@metterschling:

- I encountered the same BT issue as reported. Then I copied the audio_policy_configuration.xml as instructed above. After reboot, the volume control was disabled and I still could only hear the sound from ablet speakers.

Any other hint?

- I also tried to use the script in your github to build LOS 20 (for learning purposes). I enountered a build failure after the command "time brunch gts28ltexx".

View attachment 5976305

I tried to google for a solution but could not find any. Do you have any ideas?
[Galaxy Tab S2 Android Development] metterschling:
I've seen a short glitch for Wifi connectivity similar to what you describe directly after boot, but that always stabilizes for me after 1-2 minutes and never appears again. I've got stable Wifi for weeks like the other developers/testers of the group who build gts2 los20 variants.
[Galaxy Tab S2 Android Development] metterschling:
Did you copy the RAW file?

Also note that you need to mount the / partition read-write for the copy to work.

I'll try to summarize:

wget https://raw.githubusercontent.com/retiredtab/android_device_samsung_gts2-common-selinux/lineage-20.0/configs/audio/audio_policy_configuration.xml
adb root
adb push audio_policy_configuration.xml /sdcard/Download
adb shell
# on the tablet root shell
mount -o remount,rw /
cp /system/vendor/etc/audio_policy_configuration.xml /sdcard/Download/audio_policy_configuration_orig.xml
cp /sdcard/Download/audio_policy_configuration.xml /system/vendor/etc/audio_policy_configuration.xml
exit
# back on linux shell
adb reboot

Worked for me multiple times changing back/forth the audio policy files.

Good catch. Within last month, I ran into this issue as well. My patch was the following, I did not yet put this online because this is on my pending list of things to be discussed with the larger developer group:

# Assuming you are in the LOS20 source tree directory (/android/lineage-20.0)
cd vendor/qcom/opensource/commonsys-intf/display/
$ git diff
diff --git a/Android.bp b/Android.bp
index ec605285..0ddb3b95 100644
--- a/Android.bp
+++ b/Android.bp
@@ -5,7 +5,6 @@ cc_library_headers {
name: "display_intf_headers",
vendor_available: true,
defaults: [
- "gralloc_handle_has_custom_content_md_reserved_size_defaults",
"gralloc_handle_has_reserved_size_defaults",
],
export_include_dirs: [

BTW: Happy to see another builder for our device. Any particular intentions to perform the build or are you just curious?
[Galaxy Tab S2 Android Development] seeheng:
@metterschling :

Thanks for the two tips. I will try later and report back.

I performed the build just out of curiousity.

Update:

Yes the BT patch works.

One more point to add is that I had to do a "su" command before the mount command in metterschling's instructions.

Update2:

Ensure that git-lfs is installed

My build is now successful after removal of the offending line.

Update3:

In case anyone encounter the error : "ccache: error: Failed to create temporary file for /home/seeheng/.ccache/tmp/tmp.cpp_stderr: Read-only file system", I found the following solution:

sudo mkdir/mnt/ccache

sudo mount --bind /<your directory>/.ccache /mnt/ccache

and need the following ENV

exportUSE_CCACHE=1

exportCCACHE_EXEC=/usr/bin/ccache

exportCCACHE_DIR=/mnt/ccache

ccache -M 50G -F 0
[Galaxy Tab S2 Android Development] metterschling:
August build lineage-20.0-20230813-UNOFFICIAL-gts28ltexx.zip published.

August 13, 2023 release notes:

August 2023 LineageOS & Android security fixes. >16000 files changed.

Please note that the issue with Bluetooth Audio working vs. Telephony loudspeaker working is not yet resolved. This current build has got working telephony audio using loudspeaker, if you prefer BT audio, you might apply the patch as described in detail in post #14.

For the download link, please see FAQ #24 in post #2.

If you are coming from a previous version of these builds, you can dirty flash, otherwise please perform a factory reset and format data before installing this ROM.

Enjoy!
[Galaxy Tab S2 Android Development] eduyl:
Hey @metterschling , I am building android 13 for my device sm-t815y (gts210ltexx) could you help me build it as i need ril working . Regards
[Galaxy Tab S2 Android Development] metterschling:
Sure, I'd suggest that you explore the links in FAQ #1, especially my build scripts should make it quite easy for you to adopt to gts210ltexx. Let me know when you have a particular question.