yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] zlewchan:
PE Recovery has no decryption support for internal storage, the intentended way to install is only via ADB sideload. For the updates, you will recieve OTAs via the updater app, after downloading the package it it will ask reboot the device and do the job itself.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] seba1x111:
This ROM is very responsive, but I have huge battery consumcion. Bigger than others A13 roms.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] zlewchan:
August update has been released!

Changelog:

- August Security Patch

- Pixel Launcher/ASI drain fixes

- Others under-the-hood fixes

- Translations updated

- Minor kernel improvements

Get it here
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] dygood:
Using

fastboot flash recovery ./PixelExperience_Plus_chiron-13.0-20230812-0831-OFFICIAL.img

cannot be flashed recovery
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] dygood:
It seems to be a problem with my data cable. It's good to change one😅😅😅
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] seba1x111:
I have a big problem with the operation of the Adaway application. I haven't encountered this on other roms so far After restarting the application, the ad blocker is always turned off in the application. When I turn on again and restarting and inactive again.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] _aydın_:
The CPU is always running at maximum frequency, resulting in heating and low autonomy
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] seba1x111:
Yes, he is in only 2 states - 1,9Ghz and Deep SleepView attachment 5978781
[Samsung Galaxy S21 Ultra] hussainrulez:
Hello experts. I have Samsung s21 ultra sm- g998u. Everything is perfect but calls only not supported pls help me with ur solutions.if I call its shows connection problem or invalid mmi code
[Samsung Galaxy S21 Ultra] ze7zez:
sm-g998u is a model for the US area. If you are staying there, ask your SIM provider.
[Samsung Galaxy S21 Ultra] hussainrulez:
Actually I buy this second hand now I'm in Saudi Arabia..I can't use calls now pls help me
[Huawei P30 Questions & Answers] ddav_23:
Hello everyone, I updated my phone to emui 12 ele-l29 c431, originally it was ele-l04 c25, then I downgraded to emui 11 always c431 but I lost the usb connection, I was looking for the rom to update again to emui 12 to see if it works It solves but I only found the updatebase.zip file, if anyone has the complete rom, what I wanted to do is go back to ele-l04 with C605 and there update to emui 12 please help me
[Google Pixel 7a] 306bobby:
UPDATE NOVEMBER 2023:

Displax Safetynet-fix is no longer functioning for all users - Device Integrity fails. Use this Magisk module instead:

Play Integrity Fix

Hey guy, just wanna do a little writeup on how to accomplish this task on the Pixel 7a (as well as other devices).

This guide assumes you have GApps installed via any method, however the steps should work without it

This guide requires physical access to a computer and adb (android debug bridge)

Installing Magisk / Rooting​

1. Put phone in recovery mode

2. On PC, navigate to the Magisk GitHub and download the latest

3. Rename the .apk to .zip. Accept any warning

4. Sideload the .zip in recovery (usually by selecting the "update" or similar section)

Once Rebooted

5. Find the Magisk app, open it, and follow the instructions to finish the install.

*If no Magisk app is available, install the .APK normally on the device

If you end up patching your boot image instead, use init_boot.img on Pixel 7+ devices

Enabling Zygisk​

1. Go to the main page in Magisk and click the settings on the top right

2. Scroll down to Magisk section and enable Zygisk

*Ignore the reboot message. We will get there*

Installing Safetynet / Play Integrity Fix​

1. Go to Displax's Safetynet Fix Mod

from GitHub and download latest Zygisk version

**sometimes the newest v2.0 doesn't work. Use version 1.3 instead in this case**

See above for new module link

2. Open Magisk

3. Navigate to Modules at the bottom right

4. Install Module by .zip and find our downloaded .zip

5. Let it install, then reboot!

This method will allow Safetynet and Play Integrity to pass and enable apps like Dasher to work, as well as banking apps and GPay/tap-to-pay

*Proof*

View attachment 5953465View attachment 6014865

More Information​

Updating via OTA while keeping root​

Before installing OTA update

1. Open Magisk App

2. Update any updates and reboot

3. Install OTA Update

4. DO NOT REBOOT THROUGH SETTINGS APP

5. Reopen Magisk

6. Click Install

7. Install to inactive OTA slot

8. Reboot
[Google Pixel 7a] ej_424:
Thanks for the write up, would this also allow Work Space to work without IT admin flagging the device?
[Google Pixel 7a] 306bobby:
Depends on how they flag the device. If they use any of Google's attestation methods, it should work fine. I'm running a Pixel 7a on PixelBlaster 13 now and the methods described allow the device to pass both basic and hardware-backed safety net checks
[Google Pixel 7a] 306bobby:
Another example of a Pixel 7a running PixelBlaster passing hardware backed safetynet attestation

View attachment 5963335
[Google Pixel 7a] kkrraazzyy:
nice and thankyou :)
[Google Pixel 7a] wakkaday:
I can't get starling app to run on this pixel 7a
[Google Pixel 7a] androj:
Is it possible that Google has changes SafetyNet again? Because the set-up described in this thread (using Displax's Safetynet Fix Mod) doesn't work anymore on my device: CTS profile match fails.

BTW: In this nice summary the only missing point is that you need to patch `init_boot.img` for installing Magisk.
[Google Pixel 7a] Lughnasadh:
Which version of the mod are you using? Pixel 7 series devices should be using v2.4.0-MOD_1.3 for now,
[Google Pixel 7a] androj:
I had installed latest version v2.4.0-MOD_2.0 as I did on different Pixels phones. I did not know that the MOD_2.0 version does not inherit all the bypassing features of the MOD_1.3 version.

Indeed after downgrading to MOD_1.3 SafetyNet successfully passes including CTS.
[Google Pixel 7a] V0latyle:
Be aware that SafetyNet has been deprecated and has been replaced by Play Integrity

You need to check your Play Integrity verdicts instead of SafetyNet attestation
[Google Pixel 7a] 306bobby:
Never got Play Integrity to pass, so far I've been updating the guide as things have changed from my perspective. I will add Play Integrity as another option, however.

Here's some pictures of my ROM and Play Integrity using the guide shown

EDIT: I remember there being another module besides kdragons mod, but as of writing your linked thread only really talks about using the modified method described in the guide

View attachment 6014855

View attachment 6014853
[Google Pixel 7a] 306bobby:
Installing through recovery, installing the magisk apk (usually doesn't show up first for me), then finishing the install through the app has always worked fine for me. When patching a file to boot, yes you need to use init_boot
[Google Pixel 7a] Lughnasadh:
Your screenshot shows it's passing. You won't pass Strong Integrity with an unlocked bootloader and you don't need to pass it for 99% (or greater) of apps.
[Google Pixel 7a] 306bobby:
Updated to include update instructiona
[Google Pixel 7a] 306bobby:
Update thread to circumvent Google play Integrity update November 2023
[Google Pixel 7a] Drizzt321:
Hm, where do I find the init_boot.img? I don't see it in https://download.lineageos.org/devices/lynx/builds to download, and don't see it in the LOS .zip file.
[Google Pixel 7a] 306bobby:
It's within the boot img now. You can either extract with pixel flasher or (recommended) use the .zip recovery method
[Redmi 9A Guides, News, & Discussion] mar1732:
Requirements:

- drivers -> https://androidmtk.com/download-mtk-usb-all-drivers

- latest sp flash tool v5 -> https://androidmtk.com/smart-phone-flash-tool

- stock firmware V12.0.22.0.QCDMIXM (important! this version contains MTK_AllInOne_DA.bin and auth_sv5.auth that we will use in sp flash tool without any errors, not all miui versions have these files) -> https://mifirm.net/model/dandelion.ttt#global

- latest AndroidUtility from main developer -> https://www.facebook.com/mofadal.96

can't find download link in fb? Here you have Android Utility - v111.00.1444:11:07:2023

Download Link (MediaFire) = https://www.mediafire.com/.../AndroidUtility.v111.00.1444.7z

Download Link (GDrive) = https://drive.google.com/.../1AfVOr_fmSM9fCEu5JLCQ1.../view

Achive-key password = mfdl

Prepare phone:

- disconnect USB

- install drivers if doing this first time

Prepare SP Flash Tool:

- run Sp Flash Tool as admin

- menu -> Options -> Option -> General

- untick 'Check LIB DA match'

- untick 'Storage Life Cycle Check'

- why do so? here you have information from MediaTek LTD and MediaTek Inc engineer -> https://xdaforums.com/t/guide-how-t...mi-note-9-redmi-10x-4g.4238161/#post-87294345

- Download-Agent -> C:\

ROM

\MTK_AllInOne_DA.bin

- Scatter-loading File -> C:\

ROM

\images\MT6765_Android_scatter.txt

- Authentication File -> C:\

ROM

\auth_sv5.auth

ROM

= dandelion_global_images_V12.0.22.0.QCDMIXM_20230315.0000.00_10.0_global

- Change option from 'Download only' to 'Firmware Upgrade'

Warning! Please never use option 'Format All + Download' or you will lose all imei, wifimac and other important numbers. Your sim card will not work, no mobile data, no signal, WiFi NVRAM WARNING: ERR 0x10. This option is for super advanced users. You have to make full backup of nvram and nvdata and maybe more before doing this.

- Click Download button

- do not close the program!

Prepare AndroidUtility:

- run AndroidUtility as admin

- Mediatek -> BootROM -> click on 'Disable Auth'

- do not close the program!

Prepare phone:

1. hold vol- and vol+ together

2. connect USB

Important! If tool can't find drivers please disconnect battery. Everything will work fine! You can use AndroidUtility and SP Flash Tool with disconnected battery + you are sure that it will find all the drivers. Remember to disconnect usb from phone and go to step 1. This issue is for example when you stop sp flash process etc., else it will work with battery connected. This can be fixed, just install stock rom properly using sp flash tool. After that vol+ vol- (brom mode) will work with battery connected.

View attachment 5953835

SP Flash Tool:

- wait for OK message box
[Redmi Note 10 Pro] Lakenz:
I've tried rolling back the Miui back to 12.5 since 14 has battery issues but I think I did it wrong and hard bricked my phone. No Recovery and Fastboot. Read through different forums but had varying steps and quite outdated. Anyone tried to revive their hard bricked phone? Thanks
[Redmi Note 10 Pro] mvikrant97:
I unbricked two Redmi 10 Pro using EDL Flash.
[Redmi Note 10 Pro] Lakenz:
hard bricked? how did you reach edl? two pin method?
[Redmi Note 10 Pro] mvikrant97:
Yes but it also needs authorised account to flash.
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
Only CLO-based ROMs have chances of being actually compatible.

As a rule of thumb: if aptX Adaptive is supported then it might work on your device.

No Samsung devices (yet? It will require another approach tho should be doable) or Google Pixels. Even though they might still have the same Snapdragon SoC, the Bluetooth stack is not compatible (and it's usually statically linked into libbluetooth_jni.so, which is a no-go).

If sound is played through phone speaker instead of earbuds, you'll need custom Magisk module. It might be beneficial to create "universal one", but it's not necessary for the devices I'll target the development for.

Tested on Red Magic 8 Pro (v3.40).

Install latest LSPosed from GitHub CI (1.9.1 (6991) works with module starting from v2.2.0) and modules, reboot.

LHDC will be selected automatically if supported by audio sink device. It might be necessary to pair the device before enabling the module. Not anymore.

All versions (2, 3/4 and 5) should be supported, the most recent one will be selected automatically.

Switching codecs and playback quality doesn't work yet. Works fine now.

Try restarting "Bluetooth" app if playback fails for some reason.

Other devices might work, if not then pull requests are welcome, sources are here.

The latest version is going to be always available on GitHub.
[Android Software/Hacking General [Developers Only]] Numberslevin:
Hi. Thank you.

Is it for Bluetooth sound quality?
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
Yes, LHDC is definitely better than AAC@165 kbps, which is the default option otherwise.
[Android Software/Hacking General [Developers Only]] Numberslevin:
Thank you very much.
[Android Software/Hacking General [Developers Only]] hasansinayan:
Thanks I will try
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
Update: codec and bitrate selection now work more or less properly, available here.

BTW, it might now even support other devices, but maybe will require device-specific changes, though this needs to be tested.
[Android Software/Hacking General [Developers Only]] 4valanche:
Yo! I'm so glad I found this. I've been trying to add LHDC support to my Poco X3 NFC for a few weeks now, and documentation on LHDC isn't really great. a shame that it isn't added as standard in AOSP yet.

I'll take a look at the github and see what I can do to port it to Poco X3. Fair warning though, I'm not experienced in Android development. Any pointers or tips are highly appreciated. Also feel free to DM me anytime regarding this topic.

Thank you again for your work on this, not a lot going on in this segment 😊👍
[Android Software/Hacking General [Developers Only]] 4valanche:
Ok, tested this on LineageOS for Poco X3 in combination with the Nothing Ear(2)'s, doesn't seem to be cross device compatible rn.

The "Bluetooth Codec Changer" App doesn't recognize the codec.

The Developer Options UI now shows the options, which it didn't before.

Third screenshot is from launching the ext2adp app.

Let me know if I can help make this compatible with my device. If logs would help, I'm glad to provide.

View attachment 5957265View attachment 5957263View attachment 5957261
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
You can install good ROM instead of LineageOS, Paranoid Android will most likely do.

Only CLO-based ROMs will ever be supported.
[Android Software/Hacking General [Developers Only]] 4valanche:
TIL the difference between CAF/CLO and AOSP. Thank you for that.

Got lucky and ParanoidAndroid actually released a A13 rom for my device 4 days ago.

Switched to that.

In even better News:

This module is (nearly) working on POCO X3 NFC!!!

I've been trying to solve this actively daily for a month, trying to get anything more than <260kbps from my TWS.

Thank you, thank you, thank you!

TWS's are connected with LHDC-V, Dev settings, TWS app, BT codec check app are all showing that its connected correctly. BT codec check app can't read the names, but that should be fine.

Problem:

All sound is being played through the phone speaker instead of the TWS's

View attachment 5957911
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
That's a great problem, because I know how to fix it. You'll need custom Magisk module (instead of what on GitHub). Try attached one. If it won't work, attach `adb logcat` (and try searching for `APM::HwModule: createDevice: could not find HW module for device 0080 address` first)

BTW, you could just wait for this to get merged (or build it by yourself) for LHDC.

And this is completely expected. This can be fixed with some more code, but I just don't care about it. Most likely ExtA2DP will include some alternative for all those "codec changers" at some point.
[Android Software/Hacking General [Developers Only]] 4valanche:
Patience isn't my strong suit ;)

+ I was very intrigued to make this happen. Unfortunately I'm only at the beginning of my coding journey, so understanding everything that's involved is a nice challenge. Original plan was to take a OEM rom that supports LHDC, looking at the diff of the relevant components, and going from there. That probably sounds stupid, when earlier I didn't even know the about the difference between the AOSP and CLO codebase.

IMO the best way to learn is taking on stuff I don't even think is surmountable for my level, and just go at it. Growth happens outside of the comfort zone.

Installed, rebooted, works flawlessly!

Changing parameters in Dev Settings, etc, all works.

I cannot thank you enough. This makes me so happy. That was some insane response time. Thank you for doing this for me. You made my week!

In my country we say " I kiss your eyes :* "

Still gonna take a look at the code tomorrow, I need to learn more about how this actually works and what was necessary.
[Android Software/Hacking General [Developers Only]] Jbrimb:
Okay, to try this make sure you get a canary release of LSposed from here : https://github.com/LSPosed/LSPosed/actions/workflows/core.yml?query=branch:master (6940 is action #2632)

The codeds are here, but they remain greyed out and i get SourceCodecType{id±1 000000, codecName±'INVALID'} in the app

By running adb locat I didn't find what you specified

My phone is a Poco X3 pro, SM8150 (855+), rom is latest CrDroid android13

Also TWS are Xiaomi Buds 3T pro, which support LHDC 4.0

Does the module need to be made device specific ? And Thank you for your work !
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
Yes, it has to be. Magisk companion module is device-specific.

This is what the problem is, your ROM is incompatible. Once again, only CLO-based ROMs will ever be supported. Try Paranoid Android, your device wouldn't need installing Magisk module, only LSPosed one is needed.
[Android Software/Hacking General [Developers Only]] Jbrimb:
The thing is I have no idea what CLO means. I'll try roms on my one plus 6 but I don't use GAPPS on my main phone (is superiorOS CLO ?)
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
https://git.codelinaro.org/clo/la

The "replacement" for CAF, it contains patches from Qualcomm for Snapdragon SoCs.

No idea, probably not. As I said, Paranoid Android is known to work, so try it.
[Android Software/Hacking General [Developers Only]] chocko13:
Hello , friends

pixel 6 pro, stock rom, put everything right, but it only shows a list of codecs and you can't choose from.

Mi 9T, A13, RiceDroid exactly the same problem Ok, I can understand why it may not work on my Pixel, but I thought that on Mi 9t it would work properly

I would be very happy to enable the codec for good sound on one of these devices, can you help me, I would be grateful

View attachment 5981837
[Android Software/Hacking General [Developers Only]] chocko13:
I realized that on my Pixel this is not yet possible And I decided to take care of my Mi 9t.

I found CAF firmware and installed everything. Now I have a different problem, the sound only plays from the speaker, like the user above. I understand that I also need a separate module for my device?View attachment 5982021View attachment 5982023
[Android Software/Hacking General [Developers Only]] Marsvenus:
Hello, I was using oppo enco x2 headphones before, but they were returned because they were broken. Since oppo is no longer sold in my country, I bought onepluds buds pro 2. But it only supports LHDC codec. Oppo had both LHDC and LDAC. My phone only supports LDAC. I use Samsung Z fold 3. Can I turn on the LDHC feature using the method you mentioned? I can sell the phone I use and buy Google Pixel 6 Pro. Can I use this method on Google Pixel or should I buy a Zte phone? I've never rooted before, I don't know much about how to do it.
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
is not supported.

Is also not supported

You could buy any other supported phone (literally first few lines in the first post).
[Android Software/Hacking General [Developers Only]] DиLi_D0:
AOSP Clo doesn't work
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
Try v2.2.1
[Android Software/Hacking General [Developers Only]] DиLi_D0:
Но не работает

Mod translation: But it doesn't work
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
Работает.

Mod translation: Works
[Android Software/Hacking General [Developers Only]] DиLi_D0:
How to install correctly? I install the Magisk module,Lsposed,apk,I reboot, turn on the module IN ,Lsposed I'm doing a retout, it doesn't work, without the Magisk BT module it won't turn on
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
v2.2.1 was released 16 minutes ago. Have you tried it?

Try and attach logs.
[Android Software/Hacking General [Developers Only]] Badger50:
English please my friends. Thank you.

Spoiler content hidden.

Cheers: Badger50 😉
[Android Software/Hacking General [Developers Only]] DиLi_D0:
Yes bro I installed the latest version
[Android Software/Hacking General [Developers Only]] CZ Eddie:
Is there any chance aptX Adaptive can be made to work with Samsung S23 or Google Pixel 7/8 sometime in the future?

Or is it 100% never happening due to the incompatibility?

Pixel 7 Pro does have a Paranoid Android ROM available. Though, I don't think it has Snapdragon.
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
Yes. The easiest way is to port Paranoid Android and it should just work. This could be done in stock ROM (with magisk+lsposed obviously) as well tho. I don't have the device, so will work on that only if someone will buy it for me.

The thing is, s23/+/u all come with aptX Adaptive encoder libraries (QDSP6), but they are not simply being used.

Only if someone will leak aptX Adaptive encoder libraries for arm64 ("Qualcomm aptX Adaptive Encoder v2.1 for Android Q on ARMv8-A") or reverse engineer QDSP6 or Kalimba ones (I can do this, but only if someone will hire me specifically for this). Actually, it might be possible to run these libraries in userspace qemu (as it has QDSP6 support), but it will greatly affect battery life. Once again, I'm open to job offers about this.

IMHO, only phones with Snapdragon SoCs should be considered for purchase.

S23 is better than pixel (even though both don't have aptX Adaptive, it's much easier to make it work on s23 than on pixel).
[Android Software/Hacking General [Developers Only]] CZ Eddie:
Thank you.

To confirm, as of right now your audio_policy_changer_magisk.zip will NOT work when installed using Magisk on Galaxy S23 (or any other snapdragon Samsung)?
[Android Software/Hacking General [Developers Only]] aaa.bbb111222:
And what do you expect from it? Main functionality is implemented in LSPosed (it basically spoofs dlsym for Bluetooth system app and instead of bluetoothInterface from stock libbluetooth_qti.so it returns one from libbluetooth_exta2dp.so, which is bundled inside of the LSPosed module). Magisk companion module (and it's called companion for a reason) literally replaces 2 text files: xml audio policy configuration (because LHDC is encoded in software, not on DSP) and linker config txt (which is needed so that I wouldn't have to bundle libdl_android.so inside LSPosed module)

The current problem with S23 (and others) is that it does not have libbluetooth_qti.so. In fact, it doesn't even have libbluetooth.so, so I literally cannot spoofs it using the current approach.

In order to make things work on samsung, I'll need to find some way to run custom Bluetooth.apk (i.e. built from PA, just like libbluetooth_exta2dp.so, let's call it BluetoothExtA2DP.apk from now on). I looked a bit how to do this and it seems possible (but it will be once again two modules: Magisk and LSPosed, like ExtA2DP currently), but obviously I wouldn't know for sure until I try. Currently I don't have the device and time, but if you're willing to work on that, I can guide you a little bit. Some basic Java and C knowledge is needed, but not much.