yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Agret:
You don't install apps while in stock recovery, flashable zips are for TWRP. You could find another device with same CPU type that has TWRP. Can you give some more info about your hacky process to access recovery and how you are able to flash different IMG files to the phone without doing bootloader unlock?

When you are in recovery try to type this

adb reboot bootloader

and see if the phone goes into fastboot
[General Questions and Answers] Munk.3:
Sp flash tools = flash system.IMG

And what do you mean same CPU for twrp? A port? I tried but failed, and not many instructions for my type of situation 😅

I just figured why the hell not try stock recovery...I wanted to learn errors and experiment.😀

But anyway, to acess recovery I have to do factory reset, and double tap the power button until I see yellow text that says clear data and cache.

From their I wait until it's done erasing device and instead of going into android, it goes into recovery menu.

Also I think I tried typing adb reboot bootloader, an nothing happens.

I'll try it again though. However for context adb devices does show device in recovery, but

When using it in android it always show as offline.

If you want to check out the firmware files I've linked my thread wherebi try to mod this device. I'm a Q5 model user.

[TMMKOO Q5 & Q3E] Official Custom Firmware Modding Updates & Downloads (First Release!!) 1/5/24

! Downloads are at the VERY BOTTOM (Do not download will be updating this with better system.img soon!) ! 3/26/24 Update: I got a replacement screen! here is what ive been able to do. So far google services dont work and would need noah to...

xdaforums.com
[General Questions and Answers] xXx yYy:
1.

The error "Error: device offline" when using ADB typically indicates that the Android device is not properly connected to the computer or that USB debugging is not correctly enabled on the device: the ADB server on desktop computer could not establish a connection with Android device.

2.

The reason why ADB displays "recovery" when in recovery mode and "offline" when in normal mode is because the ADB server - housed on desktop computer - is not running in normal mode. The ADB server is a background process that handles communication between the Android device and the computer. In recovery mode, the ADB server is automatically started, so ADB can detect the device and show it in the "adb devices" output. However, in normal mode, the ADB server is not started by default, so ADB will show the device as "offline".

3.

It should be obvious that ADB commands do not work when in recovery mode even if Android device gets detected.

To use ADB in normal mode, you need to manually start the ADB server on your computer. You simply run command

adb start-server

what will start the ADB server and make your Android device visible to ADB.

Once the ADB server is running, you should be able to use ADB commands to interact with your device in normal mode.
[General Questions and Answers] Munk.3:
Response to 1) as stated I think manufacture really dug deep mess with this. You see I have to use a USB cable to get into Developer menu.

Unexpectedly USB debug was already enabled. So this means adb should work right? WRONG. This device seems to hide the RSA fingerprint dialogue (like the manufacture hid it) so of course adb will show as offline. This much I know

Response to 2) in stock recovery their is install update from adb. In this section, if I type adb devices I get devices: recovery.

But any other cmd is no go.

As of right now, I just used Hovatek auto twrp port tool for my recovery.IMG but can't boot into it since the key combo to enter recovery seems to be tampered with. If only I can set them... My goal tmmr is flash recovery.IMG alone and see what happens. I once accidntly did something like this but for stock recovery.

Though, this info helps so thank you!! It clarifies my testing. ☺
[General Questions and Answers] Agret:
On my phone the adb is active while the phone is booting, i'm doing some custom rom development on it so it helps being able to reboot it into recovery before I have even ran through the setup wizard to enable adb.

Turn your device off or reboot it

On your computer write this command

adb wait-for-device && adb reboot recovery

Plug your device in to computer while it is still doing the startup process and see if it reboots itself to recovery.

Thanks for linking your thread btw very helpful, where did you acquire the system.img? Do you have boot.img for the device? If you have boot.img we can mod it with magisk, if you have magisk it will be much easier to do mods to the device and to get adb working.
[General Questions and Answers] Agret:
I have downloaded your timmkoo firmware rar from the other thread.

Here is the magisk patched boot.img and two apks to add to your system.img please try to replace boot.img and install those 2 apks into your image then flash this.

If it works you should be able to open the magisk app on your player and it may ask you to finalize the install or it might just work, open the terminal emulator app and type in su and tap the return (enter) key. You should get a prompt from Magisk asking you to grant superuser access to terminal emulator.

Let me know how you go :)

If it works and you get root access from terminal emu you can try these 3 commands and see if one takes you into recovery.

reboot recovery

svc power reboot recovery

setprop sys.powerctl reboot,recovery
[General Questions and Answers] Munk.3:
Wow I'll try this today!!!! I'll tell you how it goes. If it works, I would like a little explanation on how you did it?

I tried to patch with magisk app, and all I go was fail. But I'll try this (ASAP) 2hrs from now since I'm working😥

Quick question: did you modify settings.apk or settingsprovider.apk? Or was their some other functionality/file you have to edit in system.IMG?(edit: just peeped nto ZIP file on phone, and I noticed boot.IMG only. So perhaps ignore this paragrah.

Once gain, thank you for the assistance. 🙇
[General Questions and Answers] Munk.3:
All these files I got directly from the company that won't push updates to device (explained further down). From hat I read somewhere, I think they got bought, and then their product became obsolete.

Essentially, their website has fake/non functional updates. No downloads. So I emailed their company email, and surprisingly in 1-2 weeks they responded from customer support.

It took another 3 days of me typing & using my customer position ( saying I'll return the product if they dont update chrome) to get firmware files & sp flash tools from them.

I know almost no on has these files, so I shared them here on xda.(system.IMG, boot.IMG, recovery.IMG, preloader.IMG etc.... Since you downloaded the boot IMG I'm sure you saw the files😇)

Essentially I had 98% luck hn i contact an unbranded company overseas and getting the customer rep to give up the firmware files. (Which was probably against their rules since they broke their site downloads on purpose).
[General Questions and Answers] Munk.3:
Why are you stalking me? You asked/ state the same thing multiple times, spammed my thread which mods had to fix(2-3times), and spam my personal email multiple times!!

I'm 100% sure your bot at this point or really impatient. I will say this once more, please do not do this again. Especially with spam like post to threads.
[General Questions and Answers] Agret:
I don't have your device so all I did was Google search for what the last Magisk version compatible with Android 4 is and downloaded that. I installed that APK onto my phone and used it to patch your boot.img from the firmware zip with Magisk.

Sorry I forgot to mention it's the boot.img from the Q5 update I did, just updated my previous message with a new archive with both Q3 and Q5. Rename the correct one to boot.img

This other device uses same chipset as yours so maybe the attached twrp will work

I got it from this thread

[MT6582][Recovery][Port][480x854]TWRP 3.0.1.0 for Spice MI509

TWRP 3.0.1.0 for Spice MI509 Warning : Rooting your device voids warranty of your phone , I am not responsible for bricked device and damaged SD card, if you blame me i will laugh at you. Features: All TWRP 3.0.1.0 features Ability to flash...

xdaforums.com
[General Questions and Answers] Munk.3:
I flashed the boot.img you gave me to device with sp flash tools.

and i went to terminal to use commands but no rights!! And here is error output. (Image attached)

I installed magisk apk, but it doesnt show that my andorid is pactched. nor does any dialouge appear for the terminal.

it was worth a shot!! I guess im out of luck...Maybe i can try to use the twrp you gave me or maybe use hovatecks twrp porter tool

EDIT: I just installed magisk 8.0.7 and the ramdik says yes, but magisk forces me to upgrade to 22.1. But 22.1 doesn't show ramdisk. As seen in picture.

(I attached both magisk version/screenshot)
[General Questions and Answers] Munk.3:
Hstill shows as of line anyway... But I have a question.

In my system/bin and boot.IMG/sbin.

The following ar missing:

Adb (system)

Adbd(boot)

Do you know anything about those files? Or can explain those directories better? (I just compared it to other android firmware files)
[General Questions and Answers] xXx yYy:
In the client-server architecture of ADB, the adb client acts as the sender, issuing commands to the adbd daemon on the connected Android device. adbd then receives these commands, interprets them according to the ADB protocol, and initiates the necessary actions on the device's system. Means: adbd serves as the crux of the ADB communication, bridging the gap between the adb client on the host computer and the Android device's internal system

1. ADB - the client and server - is located on desktop computer where user decided to install it onto

2.. ADBD - the daemon - is located in Android device in the /system/bin/adbd directory.
[General Questions and Answers] Munk.3:
Guess this is also why adb I offline then. Manufacture was careful...tyty very helpful.
[General Questions and Answers] Agret:
Since you are able to freely modify and flash firmware images to your device with the service tool they gave you it should be possible to modify the system.img to replace settings apk and add the adbd from another device with same cpu architecture. Probably need to download Ubuntu or Debian and run it in a virtual machine so you can more easily modify the file. I wonder how hard it is to find other device system.img from KitKat days?
[Samsung Galaxy A21s Questions & Answers] Neelix57:
Hi people,

I try to root and install TWRP onto my Samsung Galaxy A21S phone.

I try to follow several tutorials, including the XDA Forums ones, without success.

It were nice if someone could help.

Here are the characteristics :

View attachment 6052694View attachment 6052696
[Samsung Galaxy A21s Questions & Answers] Topo's:
I'd be happy to help guide you through the process of rooting and installing TWRP on your Samsung Galaxy A21S. Keep in mind that the process involves unlocking the bootloader, which may void your warranty and carries some risks. Ensure that you follow the instructions carefully, and understand the potential consequences.

### Prerequisites:

1. **Unlock Developer Options:**

- Go to "Settings" > "About phone."

- Tap on "Build number" seven times to enable Developer Options.

2. **Enable OEM Unlocking and USB Debugging:**

- In "Developer Options," enable "OEM unlocking" and "USB debugging."

3. **Download Required Files:**

- Download and install Samsung USB drivers on your computer.

- Download Odin, a tool used for flashing firmware and custom recoveries.

- Download the TWRP recovery image specific to your device model.

### Steps:

**1. Unlock Bootloader:**

- Obtain the bootloader unlock code from Samsung. Note that not all Samsung devices have unlockable bootloaders, and it's crucial to check if your model is supported.

**2. Flash TWRP Recovery:**

- Boot your device into Download Mode by turning it off, then holding the Volume Down + Power + Home buttons simultaneously.

- Connect your device to your computer via USB.

- Open Odin on your computer.

- Click on the "AP" button in Odin and select the TWRP recovery image file.

- Click "Start" to flash TWRP onto your device.

**3. Boot into TWRP:**

- With the device still connected to your computer, hold the Volume Up + Power + Home buttons to boot into TWRP recovery mode.

**4. Root Your Device:**

- In TWRP, you can flash Magisk to root your device. Download the latest Magisk ZIP file and flash it in TWRP.

**5. Reboot:**

- Reboot your device, and it should now be rooted.

### Important Considerations:

- Ensure that you are using the correct TWRP recovery image for your specific Galaxy A21S model.

- Be aware that rooting your device may void its warranty.

- Always back up your data before proceeding.

- Check the XDA Developers forum for your specific device model and carrier for any device-specific details or updates.

If you encounter issues during any step, make sure to research the specific error messages and seek assistance from the XDA Developers community or relevant forums dedicated to your device.
[Samsung Galaxy A21s Questions & Answers] Neelix57:
Thank you for your help.

First, what do you mean with

I unlocked the bootloader booting in download mode and volume up key longpress.

But flashing the TWRP with Odin ends with Fail!
[Samsung Galaxy A21s Questions & Answers] Neelix57:
Hi people,

After hours playing around, I found a solution.

What work for me :

1. Download the following :

The stock firmware for your A21S

ODIN

Magisk 26.4 flashable zip

Magisk 26.3 APK

TWRP 2 and TWRP 12.1

2. Extract the file beginning with AP (For me is was AP_A217FXXSADWI1_CL24202344_QB70902586_REV00_user_low_ship_MULTI_CERT_meta_ RKEY_OS12.tar.md5) from stock firmware

3. Transfer it to your A21S

4. Install Magisk 26.3

5. Open Magisk. Click install then click select file. Select the AP...tar.md5 file.

6. Copy the magisk_patched-26300.....tar file to your PC.

7. Reboot the phone in download mode.

8. Launch Odin

9. Select the twrp 2 in the AF field. In the options tab, beware that only F.Reset is ticked.

10. Click the Start button.

11. When Success! Reboot the phone directly in Recovery mode.

12. Press Advanced then Terminal and type in : multidisabler execute

13. Go back. Press Reboot then Recovery.

14. Press Install and flash the Magisk 26.4 zip file.

15. Power off your phone and reboot in download mode.

16. In options, tick Autorestart and T.Reset.

17. Select BL, AP and CP files in the corresponding slots. In CSC, select the CSC file (not HOME-CSC !)

18. Press Start

19. When Success! Let the phone reboot. If it reboots into stock recovery, select Wipe Data/Factory Reset.

20. Install Magisk 26.3 apk and run it. Magisk ask to install more files. Accept. Tthe phone reboots automatically.

21. Congratulations, it's rooted... But TWRP is gone

If you needed, reboot to download mode again an flash the TWRP 12.1 tar contained in the archive.
[Samsung Galaxy A21s Questions & Answers] bulbahunter:
9. you mean AP right?

14. when i tap on install i get a lot of folders with weird names. i think you forgot to mention to place the zip in the phone. i wasnt able to locate the file after placing it
[Samsung Galaxy A21s Questions & Answers] vijayfn:
Same issue with me
[Touch Pro, Fuze General] Deleted member 1397390:
Yes, I've searched and found 3rd party applications (for other devices, not Raphael. Not sure if they'll still work)

BUT, I swear when I first bought my phone last week, I was playing around with the phone, AdvancedConfig/DiamTweak/TF3DTweak, SOMETHING, and I KNOW I saw an option to choose Firstname, Lastname and vice versa. For some reason I can't find it now. :mad:

My question: Is there an option on the phone to change this or was I dreaming when I found it?

If not, what's the easiest way to set this option?

Thanks.
[Touch Pro, Fuze General] Maveaxe:
When you go to insert a contact via outlook or to edit existing contacts its the 6th option down "File as" and you can choose First/last or Last/First.
[Touch Pro, Fuze General] Deleted member 1397390:
I knew I saw something. Thanks

Is there a way to convert all of them at the same time? Going one-by-one for 200+ contacts is extremely time-consuming.
[Touch Pro, Fuze General] Maveaxe:
I'm not a miracle worker haha. Maybe someone else can help I have no clue.
[Touch Pro, Fuze General] jtritton:
amazingly i was searching for this exact same thing yesterday.

unfortunatly there is no easy way apart by using outlook, BUT there is an app for the universal called FILEASCONTACTS.cab whih adds a sub menu to your contact screen which swops the display name to firstname. lastname.

i have tested on touch pro works fine. you will still have to do every single contact but at least you wont have to edit and then select file as...

hope this helps.

cheers

jason
[Xiaomi Mi Pad 5] PPint0:
Hello everyone,

I have a Xiaomi Pad 5 with software version MIUI 14.0.8 Global and when I try to cast to a television, several applications just pass the sound.

Until I play in the application, everything is working fine, when I press play only the sound plays.

This happens in several applications (Netflix, HBO, and other apps from my tv operator).

I tried the same apps on my cellphone (samsung s10e) and works well.

Can anyone help me with this issue please?

Thank you.
[Xiaomi Mi Pad 5] PPint0:
Anyone can help it on this?
[Samsung Galaxy M52 5G] Simon1511:
LineageOS is a free, community built, aftermarket firmware distribution of Android 14, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Supported devices

All variations of M52 5G (M526B, M526B/DS, M526BR, M526BR/DS) are supported.

Working

RIL

5G

Audio

Wifi

Hotspot

Calls

WifiDisplay

Bluetooth

OMX

Camera

NFC

Fingerprint

Screen-Off-FOD

Mobile data

GPS

DT2W

...

Bugs

VoLTE/VoWIFI (Samsung's implementation doesn't work on AOSP)

Maybe more, feel free to report

Requirements

Any OneUI 5 firmware, doesn't matter the version.

Installation instructions

Recommended

Follow the guide on the LineageOS wiki.

Alternative way (TWRP)

Make sure your device's bootloader is unlocked.

Make sure to have the latest available version of TWRP installed.

If wanted, backup all your necessary partitions (super, boot, vendor_boot, data, EFS) before flashing this in case something goes wrong.

Download the LineageOS build for your device from the link below and optionally download your preferred Gapps package too.

Flash the LineageOS zip using the "Install" button.

Optionally, flash Gapps right after.

Under "Wipe" select "Format data" in TWRP. Do this as the very last thing, otherwise you may end up in a bootloop.

Wipe Metadata and Cache partitions. This only has to be done once when you install LineageOS.

Reboot

Downloads

Download: download.lineageos.org

Wiki: wiki.lineageos.org

Gapps:

MindTheGapps

Support

Telegram

Donations

They aren't necessary, but if you like my work feel free to send me or LineageOS a donation to keep me/us motivated.

Credits

To...

Me, for spending my time on this project

Everyone who helped in funding me this phone

@BlackMesa123 for his help with getting QKGI to work and general help

All the testers

Maybe more, feel free to tell me if I forgot someone

Source Code: https://github.com/LineageOS/android_kernel_samsung_sm7325
[Samsung Galaxy M52 5G] lakhssas:
Thanks will try it
[Samsung Galaxy M52 5G] lakhssas:
There is a bug on lineages 20/21 mobile network search not work , gives error commuication
[Samsung Galaxy M52 5G] Simon1511:
New update!

Download

: https://downloads.simon1511.de/s/LToR57ncLCZ7eq6

Changelog

Fixed all audio issues in calls and VoIP calls

Fixed touch in lineage recovery

Support for binary 4 bootloaders
[Samsung Galaxy M52 5G] jatin.rewri:
Volte fixed ? And wbt source
[Samsung Galaxy M52 5G] tanmay5:
This is not Volte, it's Voip: Voice over internet protocol like duo or whatsapp calling.

Don't confuse with one and another. Volte doesn't work with AOSP roms
[Samsung Galaxy M52 5G] jatin.rewri:
Allright
[Samsung Galaxy M52 5G] Simon1511:
Official LineageOS 21 builds are now available!
[Samsung Galaxy M52 5G] Simon1511:
Hello people,

today I've got some news for you.

LineageOS has finally finished merging the QPR2 update, which means that there will be weekly builds again starting from this week.

M52 will approximately get a new one on Monday (15th).

The changelog is a little longer this time as I've managed to fix a few more things that have been an issue for long:

- Fixed proximity sensor range (hover during screen on, touch proximity while off)
- Color invert doesn't blackscreen the device anymore
- Show more than 3 notification icons on AOD at the same time
- Fixed manual network selection always showing an error
- Factory reset in settings works now
- Android 14 QPR2 update
[Samsung Galaxy M52 5G] tanmay5:
@ simon

Some bugs I want to report in the latest fix

1 screen flicks some times turn black for 1 sec specially while calling

2 network disappear after calling and return back after 10 to 15 sec tried on airtel and idea sims
[Samsung Galaxy M52 5G] Simon1511:
Happens even on stock ROM on some M52 phones. Most likely related to poor hardware quality.

This is normal without VoLTE/VoWiFi.
[Samsung Galaxy M52 5G] Kodaha:
Hey, im totally noob, so i want to use lineageOS. But i need that thing "safety net, android thing" to use bank account, with this "encryption" rom its work? Or anyway official to use it with lineage? Thanks 👍
[Samsung Galaxy M52 5G] Simon1511:
SafetyNet is deprecated, it's now called Play Integrity. Here's a guide on how to pass it: https://telegra.ph/Passing-SafetyNetPlay-Integrity-with-Magisk-or-KernelSU-10-29
[Samsung Galaxy M52 5G] RoG khenwaY:
I AM NOT ABLE TO BOOT IN TO THE RECOVERY!

can anyone HELP??
[Samsung Galaxy M52 5G] Simon1511:
Follow the guide correctly and you'll be able to.

I'm guessing you don't have your phone connected to a PC, right? Being connected to a PC is mandatory to be able to boot into recovery. It won't work without.
[Samsung Galaxy M52 5G] DominguesPJ:
I have been using this ROM for some time and I'm mostly satisfied except for app calls (voip) . Normal calls work flawlessly but in app calls like Whatsapp, Messenger, Telegram, Teams etc are completely broken most of the time.

Sometimes I'll reboot the phone and it works other times not even that fixes it.

Sometimes I hear cut up phrases from the person I am speaking to sometimes not even that.

It's getting to a point when I am really considering going back to Samsung's crappy ROM...

I am running the official LOS 21 at the latest update and with the latest firmware installed.

Should I try a clean install ? If so what is the best way to do that while keeping apps and app data ( backup tools suggestions).
[Samsung Galaxy M52 5G] Simon1511:
Sorry, just merged a fix for that. Will be fixed starting from the next build.