yashsingh1/xdaforums huggingface dataset:
[ASUS ZenFone 8] bnsmb:
In non-debug builds of the Android OS, the adbd always starts as a non-root user, but for some tasks it is necessary to start the adbd as user root.

For example the script ./extract-files.sh from the LineageOS build tools to copy the device dependend files from the phone to the build tree needs direct root access via adb (root access via "su" as implemented by Magisk is not sufficient for that script).

In some Android distributions like for example the LineageOS, is a menu entry Root-Debugging in the developer settings to allow restarting the adbd as user root via the command "adb root" that can be used.

But that option does not survive a reboot of the phone.

To get around this limitation and implement the feature on Android distributions without this developer setting the Magisk module

https://github.com/tiann/adb_root

can be used to start the adbd as root user after rebooting the phone.

That Magisk module also contains an adbd binary so that it also works with Android distributions where root access is disabled in the adbd executable.

Note that there is a bug in the script service.sh from the Magisk module adb_root v1.1. from 17.03.2023:

Spoiler content hidden.

Test Environment

The Magisk module works on most of the Android distributions but not on all.

I tested the Magisk module adb_root with these Android distributions for the ASUS Zenfone 8 (Last update: 22.07.2024):

ROM	Magisk module adb_root works?	Comment
LineageOS 20.x	yes

LineageOS 21.x	yes

ASUS Android 13	yes

OmniROM 13	no

see below for a work around

OmniROM 14	no	see below for a work around

/e/ 2.0x	yes

LMODroid 4.2	yes

Notes

In the LineageOS and LineageOS based OS (like LMODroid or /e/) with installed Magisk this Magisk init script can be used to start the adbd as user root automatically after a reboot:

ASUS_I006D:/data/adb # cat /data/adb/service.d/enable_adb_as_root.sh
#
# log all output to a log file
#
exec >"/data/cache/${0##*/}.log" 2>&1
set -x

# for using the script in the original Android from ASUS or in the OmniROM uncomment the next line (= disable SELinux)
# setenforce 0

magisk resetprop ro.debuggable 1
magisk resetprop service.adb.root 1
stop adbd
start adbd

ASUS_I006D:/data/adb #

To restart the adbd as user root via CLI commands in an adb session execute the script as user root using these commands:

cd /sdcard/Download && nohup /data/adb/service.d/enable_adb_as_root.sh &

Spoiler content hidden.

Note that this approach does not work in the original Android from ASUS.

In the original Android from ASUS and the OmniROM the script only works if SELinux is in the permissive mode. That's another reason to use this code only temporary if required for a specific action.

To only disable the authentication for adb connections the Magisk module https://github.com/anasfanani/Adb-Root-Enabler can be used

see also the thread https://xdaforums.com/t/enable-adb-root-from-shell.4298567/ for some further details
[ASUS ZenFone 8] Renate:
I dunno.

I just patch adbd to not use the whole minijail.

I start it with the SELinux context that I want.

I patch sepolicy for that.

I skip the socket so that it can't authorize anybody.

I add the public keys of a few of my computers to /adb_keys
[ASUS ZenFone 8] bnsmb:
Well, I'm pretty sure you can do that without problems ...

But I, for example, don't (as of now ...)

And the main advantage of using Magisk is again that a change made with Magisk survives an operating system upgrade.

But out of curiosity:

What SELinux config do you use for adbd?

regards

Bernd
[ASUS ZenFone 8] Renate:
I secilc the five stock .cil files and add in my own .cil file.

It's kind of a hatchet job. I make su permissive and add some stuff for system_server so that it can respond.
[Walmart Onn Tablets General] Mckye96:
Do you guys know how to get an OTA update or get stock firmware for this tablet? At one point i was being not so smart and decided to try to flash a custom GSI image and now I'm left with a tablet that i spent $160 on without it working. Any help is appreciated!
[Walmart Onn Tablets General] Mckye96:
It probably isn't possible due to a missing scatter which if thats the case then I'll probably get a new one and leave it alone but until then, i want to see what we can figure out
[Android Q&A, Help & Troubleshooting] Dzbrahim:
I have samsung galaxy a15 4gb ram helio g99 and i want to download Rising Os gsi does will work on my phone and what need to do and what software i need odin .otc how unlck bootloader i need root ? What problems i can get while installing gsi rom
[Android Apps and Games] demo apps:
Save ANY media to your device including videos, movies, music, channels from YouTube, and other major platforms (Vimeo, Instagram, Facebook, Twitter, etc).

Direct download with one click to your device.

Download video in the background.

User-friendly organizer to find and manage your files easily.

Watch all your favorite content offline whenever you want.

Convert to MP4 files compatible with your audio player. TikTok video downloader without watermark,

View attachment 6126085

Download app form link 🔗 🔗

app-universal-release.apk

drive.google.com
[Android Head-Units] ando1:
Hi,

I have had this unit for a couple of years now and I am moderately satisfied with it, however I am having issues with Z-Link and CarPlay and I have seen there are newer versions of the Z-Link app than I have on my RSNav. It seems that it is possible to root these devices and install updates and I was wondering if anyone has experience doing this. If so, could you point me in the right direction on how to get started. Thanks in advance.

Ando
[General Questions and Answers] billgan:
I have always had a strong interest in the Android mobile phone system. Domestic applications are not friendly to domestic customized Android system. I want to learn more about this, such as Android system compilation and porting. I have some practice and basic knowledge, but lack of relevant core knowledge, I hope you can help me.
[General Questions and Answers] EllieCat:
There are tutorials online and many kind people here to help you.
[General Questions and Answers] xXx yYy:
The Android Open Source Project (AOSP) offers the most comprehensive guide for building Android (https://source.android.com/docs/setup/build/building). It details the requirements, setup steps, and the build process itself.
[Samsung Gear S3] NcKdj:
Hi all guys, I would like a hand!

I almost succeeded. I bought a flip 6, and switched everything from flip5. My perfectly functioning gear has been reset (my mistake)

As you well know, from phone models 2024 onwards, Gear S3 is no longer compatible with the wearable application.

But everything still worked on the Flip 5, so by searching for identical versions installed on the Flip 5, I managed to start the wearable app and recognize the Gear S3 which works correctly as you can see in the image.

Now the only thing I'm missing and can't find are these Samsung Pay versions that automatically install on Flip 5, but are different on Flip 6:

I can't find these apks anywhere. but they must be there somewhere, given that they are still installed automatically on Flip 5 with Android 13.

Can anyone help me?
[Samsung Gear S3] NcKdj:
I solved everything, I can't get Samsung Pay Plugin Watch to work. anyone have an idea?
[Samsung Galaxy Z Flip 5] mb3105:
Hi all,

Need some help with my Flip 5.

Phone was send to service centre for repairing.

I did not back up my phone and they did a factory reset.

Is there any way to recover my data especially the android data file? Had tried searching online for software but it doesnt help.

Hope to get some help from here.

Thanks in advance !
[Samsung Galaxy Z Flip 5] JackKingsworth:
Hi,

Unfortunately, once a factory reset is performed, all data on the device is typically erased, including Android data files. If you didn’t back up your data before the reset, it’s generally not recoverable through standard methods. Your best bet now is to check if you have any cloud backups (like Google Drive) or local backups on your computer. For future reference, setting up automatic backups can help prevent data loss.

Jack ;)
[Samsung Galaxy Z Flip 5] bikerhammer:
Take a look at your samsung or google account. May be that there is a backup there in the ckoud.....
[Samsung Galaxy Z Flip 5] mb3105:
All checked . Nothing.
[Samsung Galaxy Z Flip 5] mb3105:
Logging in to Social media etc has gt no problem.

I only need the android data that i have lost
[Xiaomi Poco X3 NFC Questions & Answers] farabulko:
I'm flashing unofficial surya TWRP from mauronofrio (https://xdaforums.com/t/recovery-3-4-0-15-surya-twrp-xiaomi-poco-x3.4167199/),

then I install Magisk 27.0 and make sure I have root access

after checking, I boot in TWRP, swipe to factory reset, click install and create a zip queue starting by LineageOS, then Gapps, then Magisk, and swipe to install, but I either stuck in TWRP bootloop (unable to start TWRP), or normal bootloop.

I'm flashing stock ROM with MIflash every time, but i'm UNABLE to install LineageOS.

SOLVED: flashing updated firmware, as iakoboss7's reply sais with MI flash tool, WITHOUT locking bootloader.
[Xiaomi Poco X3 NFC Questions & Answers] iakoboss7:
use this twrp

surya-twrp - Browse /stable at SourceForge.net

sourceforge.net

also check LOS thread for any special instructions
[Xiaomi Poco X3 NFC Questions & Answers] farabulko:
First of all, thank you for your answer, but when I flash the image, TWRP does't install, I also tried to boot the img after flashing, but I couldn't manage to install TWRP. Also I tried to use this TWRP https://xdaforums.com/t/recovery-3-5-0-0-unofficial-twrp-xiaomi-poco-x3-surya-karna.4168511/, but after sliding the wipe slide and installing the ROM, got same result.
[Xiaomi Poco X3 NFC Questions & Answers] iakoboss7:
use miflash and flash latest fastboot rom (dont lock it)

then enable debug on developer settings of the phone and flash the twrp i sent you through adb from the pc.

[GUIDE] Flashing any Custom recovery on Poco X3 | ADB Fastboot

Yes until now people ask here, how to flash custom recovery over stock mi recovery. It's easy and quick detailed guide, Let's start. Pre-requirement: 1- unlocked bootloader. 2- USB debugging enabled: - Go to settings -> My device -> All...

xdaforums.com

dont use the recovery you linked, its very old and incompatible.
[Xiaomi Poco X3 NFC Questions & Answers] farabulko:
Thank you very much, that was the solution, I understood this before because ArrowOS worked but didn't connect to WI-FI, now I succesfully flashed LOS, Magisk and Nik's core Gapps.

Also, thank you for the TWRP recovery you linked, it's working very well, may I know where you got it? Thanks.
[Xiaomi Poco X3 NFC Questions & Answers] iakoboss7:
No worries, the link i sent you is actually the official place to get it, thats where the dev (brigudav) uploads new twrp versions.

Btw, i have heard rumors that you might have storage/permissions issues.

You might need to boot (only boot, not flash) los recovery (you can extract it from the los rom zip file) just to format data (when the instructions tell you to do it), for some unknown reasons thats the only way it is done correctly (thats why i told you to check los thread, they might have mentioned it there).

Generally devs post most up to date stuff on telegram, can't give u a link (forum rules), but you can google search probably.
[Touch HD Themes and Apps] gherman:
After I uninstalled Cabinstl 1.04 all my Cab Files will not open. When i click on a .cab file (from File explorer, of course) it give me this message :

"There is no application associated with "The Actual Program Name". Run the application first, then open this file form within the application".

Is there any registry tweak to restore the initial (before Cabinstl) associated program??
[MX Player] Account.123:
1. If activating (Settings > Audio > Audio Player), & I've a folder with videos & audios .. add an option to add them TOGETHER in a playlist [In Local tab].

2. NEW = Playlist: add ability to reorder items by drag & drop + swipe item to remove.

3. NEW = Ability to pin folders at top of other folders (as favourite folders).

4. NEW = Long press (Private) icon to reach hidden folders.

5. When copy/move file, don't view the root folder (0) of device, just show folders with media files [this feature was removed earlier, I hope to get it back (add an option to enable/disable it)], BESIDE THAT add (Other folders) option to view root folder (0) [To explain this feature I didn't find video player that has this feature .. But I find it in Simple Gallery app (https://play.google.com/store/apps/details?id=com.simplemobiletools.gallery), watch the attached video.

View attachment 6126096
[Android Q&A, Help & Troubleshooting] dudeman2000:
Hello,

Somewhat noob-ish questions here.

So i've hard bricked my Cat S22 Flip, It only shows signs of activity in device manager as Qualcomm HS-Usb QDloader 9008.

No Fastboot, No TWRP. Device is unrooted.

Now, im assuming to potientially recover it, I need a firehose file and an xml file to recover it in a program called QFIL

The problem im having is, I can't seem to find these files anywhere.

So does anyone have any knowledge about how to fix this issue? People said to use a firehose file for a phone running under the same SOC, but I can't find any of these either!

If anyone has had this issue before, any help would be greatly appreciated. Thank you.
[Android Q&A, Help & Troubleshooting] Renate:
Run an EDL client and get the HWID and hash so that we know what you're looking for.
[Android Q&A, Help & Troubleshooting] dudeman2000:
Sorry, what EDL client should i use?
[Android Q&A, Help & Troubleshooting] Renate:
Well, I'm partial to my own (Windows) one in my sig.

There is the bkerler Python one also.
[Android Q&A, Help & Troubleshooting] dudeman2000:
Just tried your client, it is excellent!

here is the hwid and hash

HWID: 001060e100190002

Hash: 51825348f62d3597-cd229601da673eb7-5399c2c5b7ff5260-eab794475eef4e20 (x3)
[Android Q&A, Help & Troubleshooting] Renate:
Sorry, I don't see that hash in the 1000 or so collected Firehose loaders.

I think there is another thread on these Cat devices where they can't find a Firehose loader.

That's kind of an old chip, Snapdragon 215 (QM215)
[Android Q&A, Help & Troubleshooting] dudeman2000:
What a shame, im assuming that without that there is not a lot i can do.

thanks for looking!
[Samsung Galaxy A55] cerxity:
Hi i put gapps in system partition through fastboot mode on my phone and when I presses reboot it was constantly rebooting before I had gapps on I put a gsi in the system partition worked all fine anyways when it bootloops my computer detects it every time it turns back on and pops up on Odin saying "added" when I try to get into download mode (volume up and down) even tho it seems it already is which is weird it does nothing I can't even get into recovery I hope someone can help I would really really appreciate it its my main phone
[Samsung Galaxy A55] xXx yYy:
Here are some steps you can try to fix it:

1. Try interrupting the boot loop:

Hold down the power button and try different combinations of the volume up and down buttons for 10-20 seconds. This might interrupt the boot process and give you access to the recovery menu.

2. Access Odin mode:

1. Since your computer detects the phone in Odin mode ("added"), there's a chance you might be able to use Odin to flash the stock firmware and recover your phone. However, using the volume up and down buttons might not be working as expected due to the boot loop.

2. Search online for "force download mode Samsung A55" (without quotes) to find specific button combinations for your phone model that might force it into download mode.

3. Use Odin to flash the stock firmware:

1. Download the stock firmware for your specific Samsung A55 model from a reputable source (search online for "[model name] stock firmware").

2. Use Odin to flash the downloaded firmware. Odin is a software tool from Samsung used to flash firmware on their devices. Search online for instructions on "flashing stock firmware Odin A55" (without quotes) to find detailed guides specific to your phone model.
[Samsung Galaxy A55] lyinceer:
You may want to try to bypass into Download mode with FRP HIJACK TOOL
[Xiaomi Redmi Note 12S] RedmiNote12sEnjoiner45:
PixelExperience - custom ROM (any custom recovery)

Pixel boot - custom recovery (opcional)

Reupload from: {Mod edit: Link to Telegram removed! Oswald Boelcke, Senior Moderator]
[Xiaomi Redmi Note 12S] Oswald Boelcke:
Hello and good afternoon, @RedmiNote12sEnjoiner45

I've changed the prefix of this thread from "Development" to "General" as it doesn't qualify for the first one. Prior to your next posting, please read all moderator announcements and guidances that are stuck at the top of every forum like

[INFO] Device Forum Rules (Please Read before Posting)

In this thread, we will provide a short Q&A for your stay on this forum. Please read thoroughly and act accordingly. While most that is needed to know is pointed out in the Forum Rules, history shows that some points of these rules are not...

xdaforums.com

Additionally, I've removed the reference to Telegram from your above post. Regarding social media please observe that as an exemption from the last bullet of rule no. 5 of the XDA Forum Rules, we grant only developers the privilege to share references to their social media in their own development threads and if thorough support is provided in the thread. These conditions obviously don't apply to this thread or generally to you and your posts. Additional information is also available here:

Telegram Chat Channels - Way Forward

WhatsApp/Telegram Groups and Channels - Going Forward Hello XDA family! Just notifying all members that posting certain links to Telegram and other sites like WhatsApp is now allowed on XDA. What does that mean? We will allow links to messages...

xdaforums.com

Please refrain from sharing references to social media in future unless done in your own development threads!

Regards

Oswald Boelcke

Senior Moderator
[Android Head-Units] smaxxie:
I have an android car radio in my Ford S-Max (2008). There is an SD and USB slot in it. I want it to update because there is android 6 on it. Its slow and apps like Waze can not be installed.

Can anybody help me? :)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Victor_cris:
​

*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned

crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today

Features:

https://github.com/crdroidandroid/crdroid_features/blob/14.0/README.mkdn

Notes:

- Build is signed

Flashing Instructions:

Pre-installation:

GAPPS (Download from here)

ROM: Glikched CDN

First time installation:

For Installing from stock check lineage wiki guide on r8q.

step 1: Download Recovery and ROM zip from SourceForge ROM Folder

step 2: Flash recovery.img with fastboot (command: fastboot flash recovery <path/to/recovery.img> )

step 3: Boot to new Recovery select Apply Update --> Apply from ADB

step 4: Flash build with adb (command: adb sideload <path/to/ROM.zip> )

step o1: [Optional] Reboot to recovery after setting up and flash GAPPS like on steps 3-4.

step 5: Format Data

step 6: Reboot to System

step o2: [Optional] Reboot to recovery and flash Magisk like on steps 3-4.

Update installation:

step 1: Download latest ROM zip from SourceForge ROM Folder

step 2: Boot to new Recovery select Apply Update --> Apply from ADB

step 3: Flash build with adb (command: adb sideload <path/to/ROM.zip> )

step 4: Reboot to System

Sources:

ROM: https://github.com/crdroidandroid

Kernel: linux4-bringup-priv/android_kernel_samsung_exynos9820

Download:

ROM: Glikched CDN

Known issues:

VoLTE (Will never WORK)

Visit official website @ crDroid.net

Exynos 9820/25 Telegram Support Group

crDroid Community Telegram

crDroid Updates Channel

Donate to help our team pay server costs
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Victor_cris:
reserved #1
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Victor_cris:
reserved #2
[Samsung Galaxy Z Flip6] jogibear:
Has anyone managed to enable call recording with a CSC change (or other method) on the Flip 6?

If so, it the same method as the flip 5 or something else?
[Samsung Galaxy Z Flip6] jogibear:
So , I've been able to answer my own question as I finally got my Flip 6.

The short answer is, yes I have changed CSC and yes it worked the same as the flip 5.

For further info for anyone interested I just followed one of the many instructional videos that have been posted previously for CSC changes on Samsung phones.

I did use ver 3.31of SAMFW just because I was not comfortable with the windows defender rejection of latest version.

Otherwise, the only additional thing I had to do was install the Samsung USB drivers (via the option on SAMFW) but that may have been just down to my own hardware.

I've now moved from EUX to ILO and call recording is working fine as is Google Wallet and my other daily use apps.
[Palm Treo 750] alleyandy:
Hi all:

I have a Treo 750, Cingular branded and unlocked by using methods on this site.

Recenty I got a car charger for it, plugged it in, and something went wrong. The charger smelled burned, so I unplugged it.

Since then, I cannot charge the battery using the Treo 750 AC wall charger. The charge light does not come on and,even if left over a day, the battery does not charge. I have 3 chargers, and the same thing happens with all of them.

I tried putting the 750 battery into my Treo 650, to see if it would charge there. It does charge, but the 650 charge light does not come on.

I tried putting the 650 battery in the 750, and it works, but it shows 0% for battery life. It does not charge in the 750 either.

I've been getting by with charging the 750 battery in the 650, and using the 650 battery while the other one charges. That has worked OK, but the 750 does not know the 650 battery state, so it will shut down with no notice!

So, does anyone have any ideas?

Should the 650 battery work and charge in the 750?

Should the 750 battery work and charge in the 650?

Does anyone have the pinouts for the 750 and/or 650 battery?

Is my 750 doomed to never charge again?

And, I'm sure I'm hoping for the impossible, but is there a fuse in the 750 charging circuit?

Thanks!
[Xiaomi Mix Fold 2] Thekel82:
Today, all of a sudden my phones volume down button started to work too much sensitive.

As you know, our phones power button is finger print sensor and it's touchpad button. But our phones volume buttons are not touchpad and they had to be pressed as clickable buttons. But now, my phones volume down button is to much sensitive and when I just softly touch it, it goes crazy. Even if I click volume up button several times, it keeps volume down repetely. After several more forced click on volume up button, it turns up volume.

I live in Türkiye and I also don't know which service company should I use bc I've bought my phone from Dubai almost 1,5 years ago. Anyone who seems same problem and is there any way to solve it?

Regards.
[Xiaomi Mix Fold 2] junglism93:
It may just need a light clean of the volume rocker?

I had a similar problem the volume rocker button on my pixel 5 that started to turn the volume down completely with a single touch. I used a piece of paper/thin card and slid it in gently around the volume button. It cleared out a tiny bit of debris and the volume rocker button worked as should again.

Worth a try if you haven't already?

Sent from Pixel 6 Pro using ReLabs
[Xiaomi Mix Fold 2] Thekel82:
Thank you for your advice but just after my post I've find the solution on reddit which basicly advicing clicking volume down button 8-10-12 times repetely with a little bit force. And voila! Problem solved. Thank you again.