yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] ramenrolls:
Hey there,

I do want to make sure you're fully aware that rooting your phone can make it more vulnerable to malware and other threats.

Since you're not a developer and don't necessarily need root access for specific modifications, it's worth considering if the benefits outweigh the potential risks.

If you're still determined to keep going, here's a step-by-step guide that should work for your S9, based on what you've already done:

Extract AP File: Find the AP file (it's a .tar file) within your original firmware zip and copy it to your phone

Patch with Magisk: Open Magisk Manager on your phone and select "Install." Choose "Select and Patch a File" and find the AP file you copied.

Copy Patched File: After Magisk patches the file, it'll be in your phone's Download folder. Use ADB to copy it to your computer: adb pull /sdcard/Download/magisk_patched_[random_strings].tar (Make sure you have ADB set up.)

Flash in Odin: Reboot your phone into Download mode. Open Odin on your computer and flash the firmware files, including the patched AP file.

Important: This will wipe your phone, so back up anything important first!

Enable Magisk in TWRP: Reboot into TWRP recovery and you should see an option to install Magisk. Tap it to complete the installation.

Reboot and Install Manager: Reboot your phone normally. It should boot into an S9 with root access. Download and install Magisk Manager and finish the setup

Cheers,

Martin
[General Questions and Answers] Zribe:
Hey, I am a developer, I am not an expert on actually flashing software, I mostly work on Linux environments but I did notice that android is quite diff?

It's an old s9 that I do not need, I have 2 other devices which are my main devices so I don't care about the s9, it's just that I want to learn about how to root and flash software, just so I can learn.

Thank you for your guide, I will try it soon.

P.S. wouldn't flashing the original AP remove TWRP?

I got to the part where i am now flashing the phone with the new AP and the other firmware files, the thing is i am confused, which file was i supposed to patch? the original AP or the TWRP AP file? i patched the original one as TWRP.tar failed.
[General Questions and Answers] ramenrolls:
Why exactly do you want to root your phone?

I will try to be clear to avoid any confusion:

Do NOT patch the TWRP file. The TWRP file is for your recovery environment and should remain untouched.

ONLY patch the AP file from your original firmware. This is the file that contains the core system components that need to be modified for rooting.

Here's a breakdown to make sure you have the right stuff:

Original firmware: These are the files you downloaded from Samsung (likely in a ZIP archive). They typically include files named AP, BL, CP, and CSC.

AP file: This is the specific file within your original firmware that you need to patch with Magisk.

TWRP file: This is a separate file (usually with a .img or .tar extension) that you used to install TWRP custom recovery. DO NOT modify the recovery image

Then.

Extract: Unzip your original firmware files.

Locate: Find the AP file within the extracted files.

Patch: Use Magisk Manager to patch ONLY the AP file.

Flash: Open Odin and flash ALL the original firmware files (BL, CP, CSC) along with the patched AP file.
[General Questions and Answers] Zribe:
I have successfully flashed the Original File (Patched with Magisk Manager), do i now flash TWRP?
[General Questions and Answers] ramenrolls:
You have to flash AP BL CP and CSC together. Once you flashed it, and the device returns to factory state. Reboot to DL mode again. Then flash twrp file in the AP slot.

That should be it.
[General Questions and Answers] Zribe:
I have done that, and now opened magisk app, (after installing magisk), now i notice that superuser tab is active, does that mean i got root?

I used adb and typed SU, then i got a message from Magisk asking to allow root, i allowed it and typed whoami and i was root! Thank you for your help @ramenrolls you legit helped me!
[General Questions and Answers] ramenrolls:
Assuming you followed previous steps, then yes.

If you're trying to learn about development, it sounds like you're trying to get started. I would recommend reading the AOSP source documentation, or anything else. There are plenty resources online.

If you work on Linux environments, you should know that the android platform is built on top of Linux.

I suggest reading into Android internals, and Linux in detail. Before you start trying to build, you should understand what you're doing.

Android Internals
[General Questions and Answers] Zribe:
I do know android is built on linux, i have used termux on android to install ssh so i can learn a bit about android, was pretty cool to be honest.

Like i said, i am not doing this to get any special apps, its mainly to learn about android even more and rooting. Thank you for your great help!
[General Questions and Answers] Zribe:
@ramenrolls i am going to root an S21 Ultra, do i use the same method as before? Download the original firmware, use magisk on the TWRP, flash the new files, boot, flash TWRP, boot into TWRP, install magisk
[General Questions and Answers] ramenrolls:
Yes, that procedure for samsung devices. If you refer to the magisk documentation, answers are all there.

Magisk Documentation

If you rooted your old S9, why do you want root access to your S21.
[General Questions and Answers] Zribe:
I have an S24 Ultra, the S21 is super slow. Like VERY slow, I am having issues with it and It dosent have access to the internet (Only wifi works) so if it's already almost broken Il take the risk with it. It's not like I need it
[General Questions and Answers] ramenrolls:
Legacy devices tend to slow down over time, especially with one ui. Look up any lineage builds that are available.

I think there are might be some unofficial builds floating around.
[General Questions and Answers] Zribe:
Huh? Are you talking about it being slow?
[General Questions and Answers] Zribe:
planning on rooting the S21U today, i will update yall as i am quite worried some thing might happen

Already transferred all files, etc
[General Questions and Answers] Zribe:
Huh, i cannot find TWRP for S21 Ultra. on https://twrp.me/Devices/
[General Questions and Answers] Zribe:
All good, rooted, success.
[Xiaomi Redmi 5A Questions & Answers] Jancy Thomas:
So basically I have a phone which is struggling to work because of MIUI. I need a lightweight ROM so that my phone is back to its amazing self. I found a custom ROM called 'Slim'(No, not SlimROMS.) But I really don't trust it because I found it in the middle of nowhere. So can anyone suggest?
[Xiaomi Redmi 5A Questions & Answers] inonosa:
consider some thing popular?

LineageOS Downloads

download.lineageos.org
[Xiaomi Redmi 5A Questions & Answers] jbliz:
LineageOS is lighweight
[Samsung Galaxy Note 9 Questions & Answers] Mmatteone:
Hello,Today i wanted to install NobleRom with OneUi 4.1 on my Galaxy Note9 but i already had PixelExperience with Android 13,so i went to flash on twrp but there were some errors so i rebooted to system but at this point there wasnt an OS and the phone can boot up only on download mode and it is stuck with a write"DO NOT TURN OFF TARGET".

What do i do?Please help me because it is my main phone.
[Samsung Galaxy S9  Questions & Answers] Samarimama:
I have a Samsung S9 with a model of SM-G960W which does not have the option OEM Unlock. How can I unlock the bootloader?
[Samsung Galaxy S9  Questions & Answers] V0latyle:
Exynos chipset, Canada variant...Should be unlockable. How long have you had it? Did you purchase this through a carrier?

There's a couple things you can try:

- Disable automatic time, set the date ahead by 7 days and wait a couple hours

- Connect to the Internet and check for a system update

Doing either of these can sometimes help the OEM Unlocking toggle appear.
[Samsung Galaxy S9  Questions & Answers] Samarimama:
No, it has a Snapdragon CPU and some people can flash custom OS on their device. On the back of my phone, it says SM-G960W and SM-G960U.
[General Accessories] Gygas:
Hi pwpl.http://xdaforums.com/images/smilies/smile.gif

:)

I´m looking (to buy) for a USB cable to connect my Fjt-Siemens LOOX N560.

U can send a reply to «ogygas@gmail.com».

Thanks in advanced
[Xiaomi Redmi 13C (4G) / Poco C65] Imbroglius:
Hi,

the Cam-App in LineageOS is a little blurry and doesn't work so well.

So I am still searching for an alternative.

Does anybody use GCam on Redmi 13c and can tell which version works best?

Are there special settings for Gcam?

Daniel
[Xiaomi Redmi 13C (4G) / Poco C65] KamDaTechDude:
Recommended Stable Google Camera Port Versions

A list of suggested / recommended and known to be stable Google Camera apks.

www.celsoazevedo.com
[General Questions and Answers] Jancy Thomas:
I found a Custom ROM in basically the middle of nowhere. But I never flashed a ROM outside of XDA or a trusted website. Is it a good idea to flash?
[General Questions and Answers] EllieCat:
So you mean like an insecure website? I only download ROMs from trusted sites. Recommended is to not flash the rom.
[General Questions and Answers] Jancy Thomas:
Android File Host?
[General Questions and Answers] EllieCat:
Does the rom have good reviews on it? Worth scanning it with an antivirus.

Did anyone else notice signs of "AndroidFileHost.com" being abandoned?

Hello, If a site like AndroidFileHost.com enters a state of abandonment, a risky period begins due to the wealth of (legacy) data shared and linked through it, and its continued use as the #1 mirror for much of the development community. I...

xdaforums.com
[General Questions and Answers] Jancy Thomas:
Some 850 people downloaded no reviews maybe you can check yourself (I am not asking you to flash it)

Slim-riva-7.1.2.build.2.0-UNOFFICIAL-20180225-1728.zip | by MacTavishAO for Redmi 5A

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com
[Android Q&A, Help & Troubleshooting] Paneologist:
Hello,

in short: Restoring data of any apps using Titanium Backup Pro causes the restored apps to crash immediately after starting. According to logs there are file permissions issues. But I am unable to find the cause!?

Affected are/were backups from/to different roms, in Detail:

- any backups from LineageOS 17 (Android 10) to (stock Fairphone) Android 13

- any backups from LineageOS 17 (android 10) to LineageOS 21 (Android 14)

- any backups from (stock Fairphone) Android 13 to LineageOS 21 (Android 14)

device is a Fairphone 5 with freshly installed LineageOS, rooted using Magisk, installed Titanium Backup Pro from google play market.

deeping into Details:

-install from backups without data restore work and will work, when I delete the app's storage using app details.

-logcat shows exceptions caused by "EACCES (Permission denied)" when opening apps with data restored

Example (app aNag):

Spoiler content hidden.

but the permissions seem to be correct, when I look at the affected folders using ls and even lsattr.

working without data restored:

Spoiler content hidden.

crashing after data restored:

Spoiler content hidden.

->all permissions and ownerships seem to be the same

same goes for lsattr:

Spoiler content hidden.

Spoiler content hidden.

I tried a lot different combination in TB's restoration and troubleshooting settings.

Ownership was originally not the same of course, the tarball's stored ownership was "u0_a222/u0_a222", TB correctly applies the new ownership for restored data.

details on the backup:

Spoiler content hidden.

Spoiler content hidden.

any help very appreciated :-)

thank you

Paneologist
[Android Q&A, Help & Troubleshooting] TNSMANI:
You should be aware TiBU is no longer developed. It stopped long back. I have also faced this issue when I using it. But I didn't go in detail into the reasons for it. May be because the backup and restore are from different iterations of Android or from Stock to Custom or vice versa.

When this happened to me, I made it a practice to install the app from PlayStore or manually if it is third party and then restore the app's data only using TiBU. That worked as long as I used TiBU. Tedious but restoring data was important then.
[Android Q&A, Help & Troubleshooting] Paneologist:
Thank you. I wish I knew that before. It always worked fine (Android 10 and prior).. :-(

But the problem in my case is not, that apps don't work when restored. But they do if I restore the user data. No matter how I installed the app (backup or market).

It's clear there is a file access permission issue, which I cannot find.

Maybe Android uses another type of Access Control List or something like that, that I am not aware of?
[Redmi Note 8 Questions & Answers] SomeThingCoolUsername:
So I'm trying to custom ROM my Redmi Note 8T (but I couldn't find a separate "forum page" for it) and I can't even download Mi Unlock. When I try to download Mi Unlock from unlock.update.miui.com I get the following page:

View attachment 6116813

What should I do?
[Redmi Note 8 Questions & Answers] gentano:
because both are compatible each other.. aber and most of the time nfc support is included.. aber nfc is afaik the only difference between ginkgo (Note 8) and willow (Note 8T)

try to download here: https://en.miui.com/unlock/download_en.html (working for me)
[Redmi Note 8 Questions & Answers] SomeThingCoolUsername:
Thank you so much! It works.
[General Topics] Woujahu:
Hello,

I am in the research phase of developing a phone specifically targeted toward smartphone addiction. We'll be taking an existing phone and rebranding it and installing our own custom software for this purpose.

I actually own a PHP software company but we've never dealt with smart phones, java or kotlin. So I am looking to find someone to consult or do the job for us.

Wondering if there was anyone here that could help or if you knew of a company that could.

Thank you.
[General Topics] Shantil:
Just install the stock android firmware given by google and then make the changes later on. Heavily modify it. Then make an image file out of it. Then you can ship the phone with modified custom image.

What is your phone choice that you need to choose. Will it be of 2017 era or phones used today. Choice of the phone matters.
[Samsung Galaxy A22 5G] limi545:
Does anyone know how to fix my Galaxy A22 5G that started bootlooping after a screen replacement? It worked just fine when testing the new screen, but when i put it back together it started bootlooping. It just shows the words "Samsung Galaxy" for a second and restarts. It also seems to get faster. Force restarting does not work and I cannot get into Odin mode or Recovery.
[Samsung Galaxy A22 5G] blackhawk:
Welcome to XDA

Loose connector or damaged cable if you're real lucky. More likely a mobo failure.

Recheck cables and connectors, look for additional damage.

Try a hard reboot or disconnect the battery.

If you can't access the recovery menu that's a real bad sign.

Any impact that can damaged the display can damage the mobo. High G loading can damage chipsets internally and fracture solder joints.

Board flexing can fracture solder joints and break pcb traces.

When the mobo is out of circuit it's unharden internal i/O's are vulnerable to ESD. Full ESD protocols should be used when doing repairs.
[Samsung Galaxy A22 5G] limi545:
Thank you so much!
[General Questions and Answers] Arcneel:
Hey, i need you'r help folks, i have been messing with my phone lately, a blackview bv9300, and i did **** and bricked it. So i found a ROM to unbrick the phone and it was okay since then, but since someone called me, it's started to glitch, i can't call, i can do everything, i have data, i can send text but i can't call or receive call. My IMEI is okay i checked it, everything seems okay in my settings so i think that might come from the rom that i was using since it's different from the original one. I searched a lot but didn't found anything except the rom i'm using right now. So i need your help please, either to try to guide me to solve my problem, or to find the right rom for my device.
[General Questions and Answers] xXx yYy:
Look here:

Will Post any Stock ROM Files That are Requested

If you need any Stock ROM files, I will post here and you can download if you want. P.S. Senior moderators, if you're reading this, please know that I am not tryna scam anyone, just tryna help. Please Note: I am not liable for bootloop or...

xdaforums.com
[General Questions and Answers] jrdejavux:
hello guys i did a search and i couldnt find any qvga themes for m3d. can i use m2d on m3d instead ?
[General Questions and Answers] Cal-El:
Goodness no! You do not need to find TF3D themes in QVGA, the configurator will scale the images for you! Just use VGA themes and you will be fine!:)
[General Questions and Answers] TheArcherPilot:
how did you get m3d on qvga? what version of wm are you running? 6 or 6.1 (or a cooked rom)
[Samsung Galaxy Z Flip 5] mt2020:
Looking for feedback on the USA Flip Z

Thanks.
[General Questions and Answers] IAmTheYikes:
Hello everyone. I'm not sure if I'm posting in the correct thread. I I have a question about my acer iconia B3-A30.

I'm trying to flash the tablet using SP Flash Tool. Can anyone tell me what buttons I need to press as I'm connecting it to my pc. I've tried holding volume up and down but it's not working.

I'd appreciate any help you guys can give me.
[General Questions and Answers] EllieCat:
Unlock developer options and enable USB debugging
[Redmi Note 12 4G] Kabir dhakal:
I tried flashing lots of ROM (Crdroid, Matrix, EvolutionX, etc.) but all of them get stuck at MI Logo.
[Redmi Note 12 4G] CityKev:
Assuming you are using the correct recoveries do you format data after flashing a ROM but before rebooting?
[Redmi Note 12 4G] gentano:
how long did you wait?
[Redmi Note 12 4G] Kabir dhakal:
Yes, I did but still no help. :(
[Redmi Note 12 4G] Kabir dhakal:
probably for more than half an hour, it gets stuck at MI logo for some min then it blinks and again mi logo.
[Redmi Note 12 4G] CityKev:
That's strange but still assuming you have the correct recovery for each ROM I would install using this sequence if I'm changing recovery and then ROM

Flash recovery

Open recovery and then format data

Reboot to recovery

Flash ROM plus GApps etc if required and format data again

Reboot system
[Redmi Note 12 4G] gentano:
I recommend the same procedure. Also try OrangeFox.
[Redmi Note 12 4G] DarthJabba9:
For crDroid, follow the steps that are listed here.
[Redmi Note 12 4G] Kabir dhakal:
I have followed as mentioned there but I had faced same issue. I saw that Matrix ROM had requirement of 1.0.7 firmware. I was able to install it but I am facing some issues with it which is making it unusable.

Can you please tell me the required version of firmware for crDroid on tapas.
[Redmi Note 12 4G] kdxstars:
I am currently using crdroid. I switched to Crdroid after switching from HyperOS to Xiaomi'eu
[Redmi Note 12 4G] kdxstars:
Pitch Black Recovery Project flash steps

0) settings > reflash TWRP after flashing a ROM (Get active)

1) wipe > advanced > dalvik, cache, data, metadata

2) advanced > adb sideload > ROM

3) wipe > format data > yes

4) reboot > recovery [optional]

5) advanced > adb sideload > RO2RW [optional]

6) menu> reboot > recovery [optional]

7) advanced > adb sideload > GAPPS [optional]

8) wipe > format data > yes

9) reboot > system

OrangeFox flash steps

0) menu > settings > general > reflash OrangeFox after flashing a ROM (Get active)

1) wipe > wipe > dalvik, cache, data, metadata

2) menu > adb sideload > ROM

3) wipe > format data > yes

4) menu > reboot > recovery [optional]

5) menu > adb sideload > RO2RW [optional]

6) reboot recovery [optional]

7) menu > adb sideload > GAPPS [optional]

8) wipe > format data > yes

9) menu > reboot > system
[General Questions and Answers] e1lfoo:
My brightness is too low for my liking in HDR so I always watch content in SDR instead. So I was wondering if theres a way to for an HDR video file to play in SDR instead. Or is it not possible because HDR is encoded in the file or something https://vlc.onl/ ?
[Redmi Note 12 4G] crispy caesus:
I've had some problems with my fastboot, and it simply would not work, so I was advised, to flash a new stock ROM.

When trying to do that, I got anti rollback errors, because my anti rollback version was lower than that, of the ROM.

As I was searching, for, what those errors meant, I got a few answers, most saying, you just need a ROM with the same or lower rollback version, but also some saying, for these and those rollback levels you can flash everything, and at 1 you absolutely cannot. My ARB version is 1, so I don't know what I can and can't do now, I don't want to brick my phone.

Could anyone tell me, how I can proceed now?
[Realme GT Neo 2] Ju5T1N-VN:
I'm using a realme GT Neo2 which was originally in China ROM. I unlocked bootloader, flashed the Global ROM (RUI 3 C.07) using TWRP and the file here. After installing the global ROM, I also relocked the bootloader. When I try to check for software updates, I couldn't find any new updates for my phone, but I know that the RUI 4 has been released for a long time. I have tried to use VPN, erased software update data but it didn't work. I don't want to backup my data and flash another ROM again. So, here are my questions:

1. Is there a way to fix this problem without losing all my data? If not, which ROM version has the original Realme dialer, can receive OTA updates and doesn't have much "regional trash app" that I can choose to install via TWRP or local update?

2. Is there a way to replace the Google Dialer, Contact and Message app in my current ROM by the original Realme ones?
[Realme GT Neo 2] Lord Sithek:
When I flashed RUI from different region than mine, I couldn't update either. The only way was to get back to the original
[Realme GT Neo 2] Ju5T1N-VN:
so is there actually a way to fix this other than that?
[Android Q&A, Help & Troubleshooting] titoulelapinou__:
Hi, I have an Asus K01E tablet that is a bit old but still in great condition and functional.

The problem is that it's running Android 4.4.2, which limits my ability to download apps and such. I want to know if anyone has found a way to update it to a more recent ROM.

I've tried searching, but since I'm not very familiar with Android, I don't understand everything. If anyone is willing to help, I would greatly appreciate it. 😊

Also, it's either I find a way to update it or I throw it away because it's really useless to me as it is. I can't even install Home Assistant or anything else on it.
[Android Q&A, Help & Troubleshooting] titoulelapinou__:
up
[Huawei Mate 40 Pro Questions & Answers] Harikrishnan1983:
Dear fellow mates. Any help or information will be highly appreciated. My phone Huawei mate 40 pro European version still in October 2022 security patch. I downloaded all the way to emui 11 using hisuit method. Then then phone started getting OTA updates and came all the way up to October 2022 security patch and afterwards says the phone is up to date. Tried hisuit but no luck says the same up to date. If anyone knows anything or if anyone did manage to overcome this please reply to my thread. Screen shot attached.

Thank you Good day. View attachment 6116821
[General Questions and Answers] ptobuon:
So, im sorry if i post in the wrong topic.

So i have this Vodafone 875, idk why but it can boot only in recovery and in adb mode, no matter how hard i tried to flash the original firmware.

Now i have the phone with cwm custom recovery and i want to know how to flash system from there since i can't flash it using SP Flash tool.

I also looked up online for roms but i only found the stock one and one called smartmix, i want to know if someone has it to pass it to me. Thanks!

I appreciate every form of help