yashsingh1/xdaforums huggingface dataset:
[Nubia Red Magic 9 Pro] DarkestSpawn:
I would hope TWRP is self explanatory by this point of Androids life, but if not:

Initial Warning!!!:

* Must have an unlocked bootloader!!!​

* I'm not responsible for bricked devices or any downloaded files you flash.​

* YOU are choosing to make these modifications, and are responsible for anything you do or cause from the use of this.​

* Your warranty will be void if you tamper with any part of your device / software, which is already the case because you bootloader unlocked.​

* This does not offer working decryption, you will need to format data (Yes, that does wipe ALL of userdata. That's the data of the OS and the internal SDCARD) and install something like DFE to disable encryption of the data partition in order for TWRP to have access to userdata.​

#How-To for DFE# Once you have installed TWRP, FORMAT DATA (YES FORMAT, NOT WIPE!!! I also suggest you pull anything off the phone thru the OS that you need, because this will erase everything in USERDATA), type yes, once complete reboot to recovery. Once you are back in TWRP, connect to a PC and place DFE on the internal storage. Once thats on internal storage install the zip via TWRP Install function. (Incase its in a language you don't understand, Volume Up changes languages, Volume Down Confirms) Choose No to all the options. When the installer finishes, reboot to system. Once you finish First Time start up, reboot back to TWRP to confirm TWRP sees all the normal Folders for internal. If it does you followed the instructions and are now decrypted. *NOTE* You might be able to install via OTG, but I can't confirm this. No matter what a FORMAT will need done no matter what.​

* Probably forgot some stuff, but last note I will not be maintaining this. Just wanted to post this since it was already built two months ago waiting on bootloader unlock. Link to device tree if someone wants to try fixing decryption and maintain TWRP for the NX769J​

Install instructions:

Step #1) Boot to Bootloader​

Step #2) Flash the attached TWRPNX769J.img to recovery:​

The following code will flash to your currently active slot​

fastboot flash recovery TWRPNX769J.img

​

The following code will flash to slot a​

fastboot flash recovery_a TWRPNX769J.img

​

The following code will flash to slot b​

fastboot flash recovery_b TWRPNX769J.img

​

Step #3) Reboot to recovery.​

* Credits to:​

BigfootACA for the initial device tree for NX729J where I started learning TWRP. Github Profile​

YuKongA for the Xiaomi 13 and 14 trees that made the NX729J and NX769J structure. Github Profile​

phhusson for what they have done for the entirety of the Android Community. Github Profile​

AndyYan for what they have done for the entirety of the Android Community. Github Profile​

And there's lots more but I feel like I might be tagging too many at this point.​
[Nubia Red Magic 9 Pro] D1stRU3T0R:
Already having TWRP is a miracle for RedMagic, congrats!
[Nubia Red Magic 9 Pro] Mr nerd:
Super random question but is there a way to back up your userdata partition and then restore it after you flash Twrp and do the DFE flash?

Also how are you guys backing up your devices just curious.
[Nubia Red Magic 9 Pro] Mr nerd:
Flashes perfectly fine and everything works. except decryption and vibration.
[Nubia Red Magic 9 Pro] Mr nerd:
quick update ran DFE and it bootloops
[Nubia Red Magic 9 Pro] DarkestSpawn:
Not to my knowledge with any encrypted data. I stopped backing up my devices long ago with TWRP. I backup all my apps with Neobackup and then copy my Internal Storage to Ubuntu.

Tried for months getting Decryption working on NX729J. Gave up, but if someone wants the device tree and knows how to fix it I can post it on my GitHub page (That's if I still have the device tree setup as I recently wiped my Ubuntu and can't recall if I backed it up). Vibration is disabled on purpose.

Did you Format data, then reboot to Recovery and install via TWRP? (I also had this issue if I chose Yes to any option. If you choose no to all, it will still decrypt but not do any of the extras it asks about).
[Nubia Red Magic 9 Pro] Mr nerd:
Oh ok maybe thats it I said yes to some of the options. Maybe ill get bored and try that.
[Nubia Red Magic 9 Pro] Mr nerd:
Do you know what would cause the fingerprint scanner to stop working or detecting my finger when i try register a fingerprint?

Ok so I formatted data via TWRP, Rebooted to recovery installed DFE Zip via TWRP adb sideload said no to everything, i get stuck at the same boot animation. been waited 5 to 10 mins nothing happened..

reflashing

vbmeta_system,

vbmeta

seems to get me back into the phone
[Nubia Red Magic 9 Pro] Vanta-Chan:
Is there a requirement to use DFE when using TWRP? Can't TWRP decrypt the partitions on the fly, if you provide the unlock code?
[Nubia Red Magic 9 Pro] DarkestSpawn:
At some point Android switched from FDE to FBE requirement to Decrypt and access Userdata partition. Requires tweaks to TWRP fstab and other things for lunching TWRP as well as vendor/keystore files from the device. As I said I tried for months with the RM8 and asked for assistance in the TWRP Help telegram to which I got a response of "Look at this device tree I have as generic SM8250 and go from there". What great help that was (Sarcasm), so I stopped wasting my time.

I do not. I don't use FOD so I can't assist in that department.

Reboot to TWRP and see if TWRP is seeing Internal storage at this point. If it is, you are good.
[Nubia Red Magic 9 Pro] Mr nerd:
Sorry i was mistaken reflashing

vendor_boot - doesnt this reverse what DFE did?

Gets me back in the phone

until then i just sit on the Redmagic Logo with no "Powered by Android"

I decided to run the script again and remove it boots me back in to the phone without anything wiped...

which is weird because i wiped the phone

so how do you wipe your phone if not using TWRP?
[Nubia Red Magic 9 Pro] DarkestSpawn:
Re-running the script just removes the flags it changes. FDE doesn't format the data partition. Since you just undid the script do this:

Step 1) Boot to recovery

Step 2) FORMAT (Don't wipe, Format and confirm with yes)

Step 3) reboot to recovery

Step 4) Install (Or sideload) FDE and say no to everything.

Step 5) Reboot to system. It should boot. If not, reflash boot and try to boot.

Step 6) When you get to a booted system, setup with no lockscreen. (No face, fingerprint, pattern, or passcode).

Step 7) Reboot to recovery and try to install (NOT SIDELOAD). If you see an internal storage like you normally would with TWRP you are good.
[Nubia Red Magic 9 Pro] Mr nerd:
so I think that was my problem - didnt format data properly.

ended up wiping the phone via TWRP

Format Data button typing "yes"

reboot to system to see if the phone still boots - boots fine

reboot back to TWRP , Install DFE - no to all options except do you want to install.

reboot phone to recovery I could see storage on my computer.

Reboot to system now its booting Fine..

@DarkestSpawn Did you ever find that device tree? maybe i can take a look and see if i can figure this decryption thing out.
[Nubia Red Magic 9 Pro] DarkestSpawn:
GitHub - DarkestSpawn/device_NX769J: TWRP for RedMagic 9

TWRP for RedMagic 9. Contribute to DarkestSpawn/device_NX769J development by creating an account on GitHub.

github.com
[Nubia Red Magic 9 Pro] cuchma:
why in twrp there are no folders in the file explorer, for example system/app, vendor/app
[Nubia Red Magic 9 Pro] Mr nerd:
Can you see your /data folder in Twrp? And, can you see those folders when you boot the phone up?
[Nubia Red Magic 9 Pro] cuchma:
Yes
[Nubia Red Magic 9 Pro] BotchedRPR:
it's /system_root/system not /system
[Nubia Red Magic 9 Pro] cuchma:
Can't copy any files in system dir
[Nubia Red Magic 9 Pro] DarkestSpawn:
System is inside super. Its purposely not allowing you to because the moment you edit something and try to boot, it would throw and error and boot loop .You need to do the modification systemlessly via a magisk/KSU/Apatch module

Edit: Also why are you trying to make uTorrent a system app?
[Nubia Red Magic 9 Pro] cuchma:
I thought twrp could copy to the super partition...

Utorrent is just the first file that comes across for checking
[Nubia Red Magic 9 Pro] DarkestSpawn:
As far as I am aware, fastbootd is the only location that can modify partitions inside Super. Recovery has access to Super, so you can back up and restore Super but modifying the internal partitions of Super, not to my knowledge.
[Nubia Red Magic 9 Pro] JWnSC:
By default system is ext4 r/o..this has nothing to do with recovery. Even if device was booted with root, you can't modify a r/o system.

You would have to repack super ext4 r/w
[Nubia Red Magic 9 Pro] Kratos574:
This device is really complicated, cannot make it RW since it bricks with anything you do, Tried disabling Verity but it is actually what bricks the device, being honest, this device is the weirdest device I ever seen, Root access do not let access actual system files even magisk its installed
[Nubia Red Magic 9 Pro] BotchedRPR:
Try this out for verity

fastboot --disable-verity flash vbmeta vbmeta.img

fastboot --disable-verity flash vbmeta_system vbmeta_system.img

Important part is to NOT --disable-verification
[Nubia Red Magic 9 Pro] Kratos574:
tried it out, first I did but it always end up stuck at Fastboot mode if that is run
[Nubia Red Magic 9 Pro] BotchedRPR:
If you --disable-verification, you end up in fastboot
[Xiaomi Poco X6 Pro / Redmi K70E] bifa01:
When using cast i see my tv (lg webos) in the list, when pressing connect the tv displays "poco x6 pro trying to connect" but it won't and suddenly disappears from the list on the phone ...any ideas how to fix this??
[Samsung Galaxy Watch 6] ProfoundPickle:
Hi all. I have a new galaxy watch 6.

Is there any way to ADB disable the quick panel, so that you can't swipe down and access any menus, quick tiles etc?

Also, when on a phone call, there's a green dot at the top of my galaxy watch 6 screen, can I disable this also, so it can't be seen when on a phone call?

Would an ADB command like the following work?

adb shell com.google.android.apps.wearable.systemui.DISABLE_EXPAND_QUICK_PANEL

Or even an ADB command which allows you to toggle 'status bar indicators' in developer options?

Many thanks.
[Android Q&A, Help & Troubleshooting] drake3432:
does anyone know how? i need help
[Android Q&A, Help & Troubleshooting] EllieCat:
Install KernalSU and Magisk

Guide:

[Custom Recovery/GSI] How to install TWRP and GSIs in the A04e

Hello! I initially authored this post with instructions on installing Custom ROMs on the A04e without TWRP. However, about an hour later, I unexpectedly stumbled upon semi-functional TWRP and Kernel trees for it in @physwizz 's Telegram Group. I...

xdaforums.com
[Android Q&A, Help & Troubleshooting] drake3432:
thanks man
[Android Head-Units] Eccos_:
Hello everyone! I would like to ask you for help with my radio.

I have read quite a few threads but I have not found an answer to my question/problem, so I am opening this new thread.

I would like to update the firmware of my radio since it stopped connecting to Android Auto (using the zlink app that is included in the radio).

The problem is that the app version is K2001Q_JYT_S212202.20220427 (image attached) and I have not found any tutorial or apk to update this version.

View attachment 6093855

The truth is I don't really understand how to know which apk I should use according to the radio I have, and since I'm a newbie at this, I don't want to end up screwing up

I would be very grateful if you could guide me to find the apk or help me understand how this works so I can search in a better way.

Thank you so much!
[Google Pixel 8 Pro] Phantisy:
Is there a step by step on installing KernelSU? I currently have the latest Pixel 8 Pro update installed and Magisk installed. I want to switch over to KernelSU and I am confused on how to install it. I have the latest KetnelSU app installed, but I am not sure how to installed the kernel or anything.
[Google Pixel 8 Pro] DespairFactor:
Installation | KernelSU

A kernel-based root solution for Android GKI devices.

kernelsu.org
[Google Pixel 8 Pro] Phantisy:
I tried to follow this. Wasn't detailed enough for me for the pixel. Should I use AnyKernel or not? I know I need to match the one on my phone.

Do I need to uninstall Magisk and the modules for that? Does this boot image overwrite whatever magisk does?
[Google Pixel 8 Pro] DespairFactor:
It is extremely straight forward. If you cannot figure it out from their instructions, I would suggest avoiding it.
[Google Pixel 8 Pro] Phantisy:
Thanks for the help!
[Google Pixel 8 Pro] diesteldorf:
Wasn't sure if you still needed help or not.

I was previously running Magisk Delta and decided to upgrade to the most current April release of Android 14.0.

After I did, Magisk Delta kept saying Zygisk wasn't enabled and, as a result, my Play Integrity Fix 15.9.7 by Chiteroman was disabled.

I figured I would have to do something or I assumed Google Pay, banking apps etc would fail.

The link DespairFactor referenced is really good, but my biggest issue was finding the KernalSU Manager v0.9.2 APK file to install.

Releases · tiann/KernelSU

A Kernel based root solution for Android. Contribute to tiann/KernelSU development by creating an account on GitHub.

github.com

click on the link that says show all 131 assets and the APK file is buried toward the bottom KernelSU_v0.9.2_11682-release.apk

I felt like an idiot when I thought the apk was actually in one of the .gz or img files

I was already thinking about ditching Magisk Delta anyway and going back to original Magisk, Magisk Alpha, or using KernalSU for everything so I unhid Magisk Delta, and completely uninstalled and unrooted.

Then I unstalled the KernelSU Manager APK and used it to patch the init_boot file (as you would also do if you were using Magisk Manager)

My personal preference....and not the only way....has always been to use adb to boot into the bootloader and then use fastboot to flash the patched image

1) adb reboot bootloader

2) fastboot flash init_boot_a magisk_patched_boot.img

3) fastboot flash init_boot_b magisk_patched_boot.img

4) fastboot reboot

I'm currently running the following modules using KernelSU:

1) Zygisk Next 1.0.4 by Nullptr, 5ec1cff

2) Play Integrity Fix 15.9.7 by chiteroman

3) Shamiko V. 1.0.1 by LSPosed Developers

Still can't believe the hardest part of the process for me was finding that buried APK file....LOL

Good Luck!

Still curious about whether it may be worthwhile to try Magisk Alpha or original Magisk with KernelSU but perhaps others will weigh in.
[Google Pixel 8 Pro] AggresiveSoldier:
Why dont you use PixelFlasher?

Download latest OTA, load in PixelFlasher, patch with KSU within PixelFlasher, its a button in PixelFlasher that does it automaticly for you.

Flash OTA, super easy
[Google Pixel 8 Pro] HipKat:
Since I've never used KSU, it's with Magisk or instead of Magisk??

I guess I'm still too far removed from the old days to really grasp what KernelSU is.

I was also going to recommend PF :)
[Google Pixel 8 Pro] AggresiveSoldier:
Its instead of magisk.

It has its own manager and it works the other way around compared to Magisk

With Magisk everything has root unless you state not to have it, with KSU nothing has root unless you state it within KSU manager that a app should have root.
[Google Pixel 8 Pro] diesteldorf:
Part of the reason is just out of habit and not having a computer that would play nice with Pixel Flasher---got a new computer last year, so that's no longer an issue.

The other reason is that I had a few experiences several years ago where data was wiped accidentally or through user (me) error.

I just like using the ADB and Fastboot commands. It reminds me a little of doing things through MS-DOS instead of through Windows, back in the day, if that makes sense.

My primary reason is just to minimize any data loss, but I may need to retry Pixel Flasher again.

KernelSU interphase reminds me a lot of Magisk Manager, though they are unique and behave differently.

I'm actually glad I had issues with Magisk Delta and had to uninstall it. KernelSU seems to work better. I'll probably try Magisk Alpha eventually too! So goes the cat and mouse game between us and Google.
[Google Pixel 8 Pro] Phantisy:
Thank you! I didn't know I could do it with this and I was able to to is and get it working!

I got KernelSU installed. I also installed the same Zygisk, Play Integrity Fix and Shamiko that you mentioned. Are you passing all the play integrity checked on I am only passing on meets basic.
[Google Pixel 8 Pro] AggresiveSoldier:
I use KSU as i feel like it runs more stable (could be placebo in my mind).

I use ZygiskNext (https://github.com/Dr-TSNG/ZygiskNext) and playintegrity (https://github.com/chiteroman/PlayIntegrityFix)

I havent checked what i pass and what not but basicly everything works for me, can even use Google wallet to make payments with the CC i have linked in there.
[Google Pixel 8 Pro] diesteldorf:
Glad you got it installed. I may have been lucky because I immediately uninstalled Magisk Delta/installed KernelSU as soon as I realized Zygisk was failing, so I am passing MEETS_DEVICE-INTEGRITY and MEETS_BASIC_INTEGRITY. You may want to clear cashe and data from the Play Store and/or reboot your phone.

Sometimes I also have to clear cashe and data for Google Wallet, which can be a pain since some of my credit cards require phone calls to the issuer in order to add them to mobile wallet.

GOOD LUCK.
[Google Pixel 8 Pro] Phantisy:
I cannot get MEETS_DEVICE to pass. Also, the Marriott Bonvoy app will not load because it keeps detecting Magisk, but I don't even have it installed. I have no idea how they are detecting that or what it is detecting. Bank apps work fine. Can you see if you can load the Marriott Bonvoy app? I installed the KernelSU LKM. Not sure if that is the best one?
[Google Pixel 8 Pro] diesteldorf:
I tried the Marriott Bonvoy app and it detected root immediately but everything else still works.

Last time I got Marriott to work, I downloaded an older version, 10.4 I think, and that one is no longer supported. Marriot's a pain, but a really good app to use for ROOT/MAGISK,/KU TESTING
[Google Pixel 8 Pro] Phantisy:
Thanks for checking! Wonder why they care so much? You would think banking apps would not work over Marriott. Is there a place we can report the Marriott Bonvoy app in hopes that someone could get it to work?
[Google Pixel 8 Pro] MichelitoVqs:
i try this app with guest login, work without detect, kernelsu LKM
[Google Pixel 8 Pro] Phantisy:
It won't even load for me. Detects Magisk and closes. You running the stock Google image? What modules are you using with KernelSU?
[Google Pixel 8 Pro] MichelitoVqs:
last public google image, zygisk lsposed, play integrity fix systemless hosts kernelsu, zygisk next.
[Google Pixel 8 Pro] diesteldorf:
Thanks. Who is the developer for the systemless hosts KernelSU mod?

I saw more than one on Github.
[Google Pixel 8 Pro] MichelitoVqs:
avalibeyaz.com/github
[Google Pixel 8 Pro] diesteldorf:
Thanks. I was able to install Lsposed Zygisk and Systemless Hosts. Unfortunately, Microsoft Intune Company Portal and/or Microsoft Outlook don't seem to like LSPOSED and LSPOSED-BASED modules because root is always detected and my company email is deleted.

Once I disabled LSPOSED and SYSTEMLESS HOSTS, I was able to re-sync my company email with Outlook.

Using Marriott's app isn't critical when I can also use their website, and, when I have time maybe I can experiment and figure out a way to enable LSPOSED AND SYSTEMLESS HOSTS while also maintaining access to company email.
[Moto G Stylus 5G] Micromause:
Hello,

So I just got my Motorola Moto G Stylus 2023 from Amazon (https://www.amazon.com/gp/product/B0BYLRBG4M) in the model info from android:

Model: Moto g stylus (2023)

Model Number (SKU): XT2317-2

I did the whole unlock bootloader from Motorola and it said it was unlocked. Yay! Now with that said, I'm confused on what ROMs are working for this? If any. I've been searching and reading but I'm still very unclear what to do next. Was wondering if anyone had any info...

Thanks for your time

Edit: Fixed URL
[Moto G Stylus 5G] khusika:
Hi @Micromause and Welcome to XDA!

There doesn't seem to be a specific custom ROM for Moto G Stylus (2023) as I don't see one available in the Development section.

As an alternative, maybe you can use a GSI ROM by reading the discussion below

Moto G Stylus 5 G 2023 (genevn) GSI rom list

Thread to share GSI roms that are compatible with this device. I found one so far that all things are working including volte/Nr/mms. I'm only going to post Android 14 GSI compatible roms. If anyone likes and wants to list any Android 13 GSI...

xdaforums.com
[Moto G Stylus 5G] Micromause:
Thanks for the feedback... I'll have to look into that. Seems a little crazy complex so that'll take a little time. Good to get some new information on this topic!

Cheers
[Moto G Stylus 5G] ragarcia87:
Make sure you pay attention to the versioning... I think XT2317-2 is Mediatek version instead of Qualcomm version. Also welcome to the forums.
[Samsung Galaxy A34] n1ghtmare00:
I'm not responsable for any damage on your device

Requeriments:

-Unlocked bootloader

-You will need OTG cable

-Other device

-Download Heimdoo app in other device

-vbmeta.img, a file with disabled boot verification

-boot.img file patched with magisk

Rooting:

-Enable USB debugging on both devices.

-Enter in download mode

-Open the heimdoo app

-Type the following in the command line:

heimdall flash --vbmeta <path to the file> --boot <path to the file>

* To find the path to the file, in the Heimdoo app, click where the arrow indicates and select the file.

View attachment 6093850

View attachment 6093857

-Select the correct files

-Press enter, and Heimdoo will flash the files.

-If everything is okay, your phone will start with root via Magisk.

All done! Now you have a rooted device without PC

You can use heimdoo to flash custom recoverys as well :)

*Download heimdoo in oficial git hub*

GitHub - RohitVerma882/Heimdoo: Samsung odin3 alternative Heimdall ported for Android.

Samsung odin3 alternative Heimdall ported for Android. - RohitVerma882/Heimdoo

github.com
[Samsung Galaxy A34] sys syarief:
Can you make toturial in youtube 🤕
[Samsung Galaxy A34] n1ghtmare00:
think it won't be necessary, using Heimdoo/Heimdall isn't that complicated. If you found it difficult to use the app, I recommend researching Heimdall commands
[Samsung Galaxy A34] 3ra8:
words just not enough to thank you for your help but thanks thanks thanks a lot
[Samsung Galaxy A34] Droid_user_123:
Can i use heimdoo on my unrooted device to root another device?
[Samsung Galaxy A34] n1ghtmare00:
Heimdoo works on any device, with root or without root
[Samsung Galaxy A34] Droid_user_123:
View attachment 6104697

What does that error mean and how do i fix it ?
[Samsung Galaxy A34] n1ghtmare00:
Can you give me more details?
[Samsung Galaxy A34] Droid_user_123:
I executed this command :

heimdall flash --vbmeta <path to the file> --boot <path to the file>

and after a second it said that error as if that picture . And yeah the file directory that i entered was also correct.
[Samsung Galaxy A34] n1ghtmare00:
According to the app's message, the image you tried to flash was too big for the boot partition, perhaps the problem is related to the file itself
[Samsung Galaxy A34] Mistrekk:
How do i get the disabled boot vbmeta?
[Samsung Galaxy A34] n1ghtmare00:
Download original firmware of a34, and extract "AP" file, go to magisk and patch this file and extract vbmeta from AP patched
[Samsung Galaxy A34] Dipesh9860:
Hello i am confused, is it necessary to go to download mode during this process ?. Also, i have to only patched Vbmeta only or, both vbmeta & boot image as well? Please reply fast
[Samsung Galaxy A34] n1ghtmare00:
You need to enter in download mode, and you need of vbmeta and boot image patched
[Samsung Galaxy A34] Dipesh9860:
thanks boss, i have done successfully. Funny part is i use my Tv Setup Boss to get into download mode, i just connect usb and press hold vol up & down button