yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Oswald Boelcke:
Hello and good afternoon, @OptimXu

Welcome to XDA! I hope you'll alawys get the support your require.

However, prior to your next posting please read the guidances that are stuck on top of every forum like

Note: Questions go in Q&A Forum

If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...

xdaforums.com

and the others. I've moved your thread to Android Q&A.

Thanks for your cooperation!

Regards

Oswald Boelcke

Senior Moderator
[General Questions and Answers] :
Hi, Im looking for CZE rom, for my Touch????? :confused:I donť want T-mobile version.

Thank you
[Android Head-Units] M Imran Khatri:
Hi,

I got into a situation where my Car's Head Unit suddenly started asked for pattern lock which I never placed. Now, in this situation I an unable to use it. Can any one tell me how can enter into recovery mode to factory reset or may be link to its firmware so I can download and flash it.
[Android Head-Units] marchnz:
Not Android-auto, requested moderator moves to Android Head-Units
[General Questions and Answers] opticyclic:
I have a Samsung A535w which doesn't have OEM unlock enabled so I can't unlock the bootloader and thus I can't get Root.

Is it possible to use a man in the middle attack to hijack an update to enable the option?

Alternatively, can I install a rootkit to do a similar thing?

Are either of these even theoretically possible?

I read about rootkits coming from apps in the PlayStore all the time.

Does the bootloader need to be unlocked to do this?

Ignore the implicit dangers of this and assume that I am going to craft the attack updates myself.
[General Questions and Answers] :
hello, i cannot find any info on this device, is the processor mtk, qcom, or exynos
[General Questions and Answers] xXx yYy:
To root a phone's Android it's never needed to unlock phone's bootloader: this is a fairy tale which is told hundreds of times here and elsewhere.
[General Questions and Answers] V0latyle:
Assuming the OEM uses the AOSP model (which Samsung doesn't), no.

Hardware backed Keystore

SELinux

Trusty

Android Verified Boot

All of these work together.

When the bootloader is locked, the boot image is verified (using a cryptographic hash signed by the hardware keystore, which is itself verified) to determine its integrity. This prevents persistent rootkits.

During run time, SELinux enforces access control over all processes, even those with root privileges.

Trusty is a completely separate and isolated secure environment that runs alongside the Android kernel and is used as a "trusted verifier"

And this isn't even getting into the security features implemented in the update process.

For this attack vector you're describing to work, you would have to have the OEM's private and proprietary key used to sign everything in the update package, otherwise an unsigned or incorrectly signed package will be rejected. And even if you did manage to sign the update package, you'd have to essentially reprogram the hardware keys to match, because even if the update flashed to the device, all the images would fail verification because of the hardware keystore authentication.

Source?

How do you get elevated permissions in a protected environment without compromising the boot image, which would make the device fail to boot?
[General Questions and Answers] xXx yYy:
You probably don't know how rooting Android is accomplished: no elevated permissions are needed to run SU binary.
[General Questions and Answers] V0latyle:
Explain?
[General Questions and Answers] opticyclic:
Samsung Galaxy A53 5G - Full phone specifications

www.gsmarena.com

Although it says exynos on that page, I believe this is a Snapdragon as it has the W suffix on the model and as I am in Canada it looks to be the US version.

https://xdaforums.com/t/psa-there-is-no-oem-unlock-on-us-galaxy-a53s.4443189/

Thanks for the info.
[General Questions and Answers] V0latyle:
@pndwal since you're much more knowledgeable on this topic than I, care to jump in here?
[General Questions and Answers] pndwal:
Topic of temp root etc using vulns / exploits?; All I know is from reading...

This 'Deployment' developer doc was removed in January but mentioned Magisk deployment via exploits:

https://github.com/topjohnwu/Magisk...62964e41201b9f157923b/docs/deploy.md#exploits

I believe this temp MagiskSU from such a root shell can then often be used to flash/obtain full-fleged Magisk root...

Exploit / vulnerability based root certainly has benefits, one of which is ease of properly (and fully) bypassing device integrity attestations since kernel can be modified while bootloader remains locked... John commented here (and on future potential):

www.twitter.com/topjohnwu/status/1299903496028790785

... Doubt he'll be elaborating on this any more somehow...

There may not be many useful exploits for root due to security research, pen testing, patching, anti rollback etc... Here's a recent one that can be leveraged for Pixel 6; POC here:

https://github.com/polygraphene/DirtyPipe-Android

... This is already patched from 2022-04-05...

Could be used for Realme GT2 Pro, some Galaxy S22 models, others(?)... The process notes may be enlightening: https://github.com/polygraphene/DirtyPipe-Android/blob/master/TECHNICAL-DETAILS.md#exploit-process

XDA article re. 'infamous "Dirty Pipe" vulnerability can be exploited on the Samsung Galaxy S22 and the Google Pixel 6 Pro to gain root shell access':

https://www.xda-developers.com/tag/root-exploit/

This vuln caused a minor furore over Google anti-rollback w/ A13 update etc... Ex XDA editor Mishael commented:

www.twitter.com/MishaalRahman/status/1511036735433715719

Johns here:

www.twitter.com/topjohnwu/status/1511107456566390785

... I want "MagiPipe" One-Click Root app w/ the rainbow Magikarp icon! 😛

Further:

www.twitter.com/topjohnwu/status/1559786740050644992

And Shawn Willden on patching, anti-rollback counters etc here:

www.twitter.com/shawnwillden/status/1559893884120928256

Older 'Linux Kernel bug dubbed 'Dirty Cow' can Root every version of Android' article by Mishael:

https://www.xda-developers.com/9-ye...-dirty-cow-can-root-every-version-of-android/

👀 PW
[General Questions and Answers] pndwal:
🤔...

Please can you explain what you mean here?... I understood '(AOSP) is the bedrock of modern Android skins like One UI and MIUI'...

https://www.androidauthority.com/aosp-explained-1093505/

Is this wrong?...

Can't see how even heavy OEM Android OS skins would make a difference to OEM unlock (or even using a root kit hypothetically)... Aren't unlock options etc determined by OEMs and re-sellers?...

And user does have Samsung device anyway... 🙃 PW
[General Questions and Answers] V0latyle:
What I mean is whether Samsung follows the same Android security model, with verified boot, dm-verity, and so on. They do have security features implemented to prevent unsigned binaries (even if the bootloader is unlocked) but they also add a lot of their own stuff like Knox and Vaultkeeper. Either way, it would be difficult for a rootkit to persist after reboot because of these security features.

My understanding of OneUI is that it's not just a reskin/overlay but it also changes a lot of the core components as well. I could be wrong.
[General Questions and Answers] pndwal:
Of course they do... AVB (ie Verified Boot 2.0) is mandated for any Android 8+ certified implementation...

https://source.android.com/docs/core/architecture#hidl

Eg. CCD:

https://source.android.com/docs/compatibility/cdd

see 9.9.2. File Based Encryption:

[C-1-4] MUST support Verified Boot and ensure that DE keys are cryptographically bound to the device's hardware root of trust. etc...

https://source.android.com/docs/compatibility/8.0/android-8.0-cdd

device-mapper-verity (dm-verity) is simply a kernel feature used since A 4.4 to implement Verified Boot...

Sure; and MIUI adds Xiaomi Security Centre...

OEMs can add what they like as long as they comply with the CDD and VSR incl VTS and CTS...

Well maybe...

I'm unaware of any special safeguards against root whether userspace based or exploit based personally...

Well Android skins are necessarily software tweaks that live on top of stock Android; "They often look very different and offer features that other skins don't. In other words, underneath all the additional design and functionality tweaks, the core version of Android is on all Android devices." More on this here:

https://www.androidauthority.com/android-skins-945375/

Also these can't change security requirements for API/SDK level compliance... There is lattitude for OEMs to use their own components, but this is of course costly; Eg OEMs are free to implement their own TEE OS instead of Google's Trusty TEE, but most use Trusty as it's free and works fine!... 🙂 PW
[General Questions and Answers] opticyclic:
All very interesting. Thanks.

I remember using Dirty Cow to root a previous device.

My first phone was the Samsung Galaxy Nexus and after that I used several Chinese brands and got root on everything.

Because of the popularity of Samsung I assumed that root would be available.
[Galaxy S6 Q&A, Help & Troubleshooting] yahiadal:
Hi

While working on my s6 (G920F) it restarts and stuck on the samsung entry screen without being able to turn it off.

I am unable to entre recovery mode but ca enter to download mode where I installed stock rom (android 7) but the problem remains.

The phone stay on until the battery is empty.When put on charger it goes directly to entry screen and stays there.

Any help please.

Thanks

yahiadal
[Android Q&A, Help & Troubleshooting] velvetshelter:
Problem: A tablet I am using is having its battery go flat when I connect to a USB-C to HDMI adapter. This problem only occurs when the power supply for the USB-C to HDMI adapter is disconnected. When the USB-C to HDMI adapter is receiving power, everything is fine. When the power supply is disconnected from the wall or switched off, the tablet battery goes flat as it starts to provide power to the USB-C to HDMI/PD. I want to stop the tablet battery from going flat. We need a tablet to run an application that's only available on a tablet. We also need HDMI out from the tablet along with a power supply for the tablet to stop the battery from going flat whilst in use. For this reason with use the powered USB-C to HDMI adapter.

Here are the relevant components and the configuration:

The power supply is from a Satechi 75W Dual type-C PD travel charger (https://satechi.net/products/75w-dual-type-c-pd-travel-charger?variant=19492503781464)

The USB-C to HDMI/PD is a Dell USB-C to HDMI/PD with Power-Pass Through (https://www.dell.com/en-uk/shop/del...ower-pass-through/apd/470-aegy/pc-accessories)

The tablet is a Samsung Galaxy S8 running Android 12 (up-to-date as of 30/11/2022; Kernel: 5.10.43).

The USB-C connector is connected to the 60W power output of the Satechi 75W power adapter at one end and to the power source port of the Dell USB-C to HDMI adapter.

Here is a diagram of the relevant set up:

View attachment 5773831

What I know so far:

Some forums recommend clear the Android System data cache and cleaning the USB connectors. This has been done and has not fixed the issue. This problem also occurs with USB-C to HDMI/PD adapters, Satechi power supplies and USB-C cables fresh out of the box so I think the cause is something else. I've looked at and tested least 20 of each component when they are brand new. This issue occurs every time.

On the tablet there is a switch under USB settings which say 'Charge connected device. Use this tablet to charge the connected device. When turned off, this tablet will be charged instead'. When

the power supply (Satechi) is connected to the mains, this is switch is OFF. When the power supply is disconnected, this switch is ON. I think this is the cause of the USB-C adapter draining the

battery of the tablet. However, this button is available but it is not responsive; I cannot switch it off. If I slide the button to OFF, it snaps back to being on again. This brings me on to question 1:

Is it possible for me to switch this off or is it ultimately determined by the configuration of the hardware?

I've tried going into the Developer Settings and playing around with 'Default USB Configuration' but I don't seem to be able to keep this switch OFF. I have also disabled USB audio routing.

The developer default USB configuration settings don't seem to be saved either. This brings me on to question 2:

Is there anything I can do to have this switch OFF permanently so the USB-C adapter stops draining tablet battery when the power supply for the USB-C adapter isn't connected to the mains?

Any help would be appreciated. Thanks
[General Topics] CWKJ:
This is cool.

Hmm... but no 3G?!! What a pity!!!
[General Topics] ZED_pt:
The phone has 3G,that dialer doesnt....
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] Son_Freak:
Are there any Ideas on workarounds to enable custom bootup sound for any custom rom for the Galaxy Note 10.1?

is it possible to add a parameter on build.prob to activate the use of a wav or ogg file altogether with the custom boot animation?
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] JJEgan:
Swap the sound files .

Boot animation are OGG files .

Found in

system/media/audio/ui

PowerOn.ogg
[OnePlus 10 Pro] stonerloner:
Hey, I just updated my phone via oxygen app but now I have no mobile signal.

So I want to flash my phone to a different firmware I did try a full download in the oxygen app but did nothing. I'm trying to use "FastbootEnhance-1.4.0" but every time I open it, the app closes.

Any advice would be amazing guys!

Thanks loads
[OnePlus 8T Questions & Answers] lloydsw:
I just noticed this seems to be missing since I upgraded to 13. It doesn't appear when I go to edit tiles.
[OnePlus 8T Questions & Answers] lloydsw:
There's gotta be a solution. I live out in the sticks & have used the 'switch data sim' tile since my OP6T days when driving thru areas where my primary carrier has no signal - just to keep the streaming going. It's not feasible to dive into settings to make the change while driving.
[OnePlus 8T Questions & Answers] Rootk1t:
https://www.reddit.com/r/Android/comments/x0sv6u
[OnePlus 8T Questions & Answers] lloydsw:
Ironically, I never noticed that change...

Just missing the switch data sim toggle.
[Android Auto General] muco75:
Hi guys,

I have a Xiaomi Poco 3x nfc.

After update to miu 13 i cant connect to my car with usb.

The problem is not my car but the phone. I tried everything but it doesnt work.

Andriod auto also dont see the car

Why isnt working after the update
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] aepranata:
​

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

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

Feature List:

Here (GitHub)

Changelog:

Here (GitHub)

Sources:

ROM: https://github.com/crdroidandroid

Kernel: https://github.com/aepranata

Flashing Instructions:

Pre-installation:

Recovery (Download)

GApps (Download)

Magisk (Download)

First time installation:

Boot to Recovery mode

Wipe system, dalvik-cache, vendor, cache

Flash ROM

Flash GApps (optional)

Flash Magisk (optional)

Format data

Known issues:

No known issues for now, please report it to us if you found one.

Download:

Here (crdroid.com)

More:

A³ Project Channel (Telegram)

A³ Discussion Group (Telegram)

crDroid Community (Telegram)

crDroid Updates (Telegram)

crDroid Official Website

Donate to crDroid Team
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] aepranata:
Changelog 2022-11-30:

• Initial build
• Add 3.0 and 4.0 IMapper instance to manifest
• Add Lineage fastcharging entry to manifest
• Add vendor.lineage.touch to manifest
• Enable FBE Support
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] ItsMe6789:
video recor don't work, video file not play...
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] aepranata:
Which application are you used?
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] ItsMe6789:
Stock camera + mx player, 720p work but 1080 is not
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] plemiannik:
why no updates?
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] aepranata:
Still wip, just wait
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] aepranata:
Changelog 2022-12-20:

• Android 13 QPR1 (Quarterly Platform Release)
• December security patch 13.0.0_r16
• Update gps.conf from FP3
• Update GPS config for S
• Kernel upstreamed to 4.9.334
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] aepranata:
Changelog 2022-12-27:

• Import init.qcom.early_boot.sh from LA.UM.8.6.r1-04300-89xx.0
• Update early_init from LA.UM.8.6.r1-04400-89xx.0
• Update boot script from LA.UM.10.6.2.r1-04300-89xx.0
• Set board id prop with arg from cmdline
• Enable early_boot
• Add vendor.hwcomposer-2-1 to init.target.rc
• Inherit several android go configurations
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] fgh11:
Thanks
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] aepranata:
Changelog 2023-01-10:

• Enable LTE+
• Enable ipsec_tunnel feature
• Include SettingsIntellegenceGooglePrebuilt
• Kernel upstreamed to 4.9.335
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] Asheesh_kun:
I have been using this rom for a week 60 fps lags very much you can see this in YouTube Instagram etc. Sometimes animation glitches out but aside that it's a pretty stable rom for daily use

My Device Specification

RAM:3gb

ROM:32 + Expandable 32
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] aepranata:
Yes, it has known bug if play 60fps.
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] plemiannik:
Please fix the slow video bug. I don't know what exactly the problem is - in high resolution or 60 FPS, but everything worked fine on LOS
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] LGD Breath:
Wait for fix built ...
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] plemiannik:
you're just captain obvious
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] Infernus001e:
Hey it do not boot up in my rosy,

It just shows crdroid booting logo and animation forever
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] LGD Breath:
Try format data
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] saransh arya:
Does it Have unlimted google Phtos ,also any Rom for Redmi 5 which has unlmited google Phtotos, andriod version any version equal to andriod 8 and above ,dont Mind using an older Rom,currently using Pixel extended version
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] sid147:
is it good did you find any buys on pixel extended or overheating issue?? because i tried that rom and i had battery drainage problem and heating problem
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] LinxESP:
After update to 9.4, google services/play store don't work with different errors (clock (and gboard and moregapps) app say no play services installed. Play store says: no internet connection. No app allows login with google)

Nikkgapps dirty flashed and same issues, both the linked version on the website and latest for android 13)
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] sid147:
hey dev which gapps will you recommened to install (full, basic or stock) which one is good for this rom because i tried full and its little bit feel laggy.
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] LGD Breath:
Use nikgapps signed core
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] sid147:
why there is no option to get bug report , can anyone help how to generate bug report in this rom as i cant see in delevoper options setting
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] sid147:
any security update will come??
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] karlinux:
Thanks for the work first. The rom works fine for me. I'm on version 9.4. The only problem is in the hands-free call In speaker. When the phone is blocked, the person speaking is no longer heard. Thank you
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] dainiu35:
Redmi 5 rosy get's crdroid 9.5v android 13?
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] sid147:
i dont think even may security patch also didnt came
[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] plemiannik:
Updates are too rare, I'm leaving for Lineage OS.
[Tilt, TyTN II, MDA Vario III General] hilus007:
Hi to all:)

I have htc tytn II

windows mobile 6.1 pro

ROM VERSION : 3.28.405.0 WWE

ROM DATE : 05.02.08

RADIO VERSION : 1.65.17.56

after change in the registry The contacts sim disappear,but return after soft rest!!!

what can i do ?

Is anybody can help ?:confused:

Thanks Hila
[Tilt, TyTN II, MDA Vario III General] Junner2003:
Hmmm,

not on mine! Maybe you SOFT RESET too early? Just change the REG KEY, then do something else for a minute or so, use the power button to turn of the device afterwards - then start up, make soft restet and see if they are still hidden.
[Tilt, TyTN II, MDA Vario III General] hilus007:
nothing help's

I even try to erase the key "showsim" , and after 10 min i reset the phone and the key came back as it was , i think it's locked somewhere ...
[OnePlus Nord 2T] vittofps:
Hi, my Nord 2t is in bootloop but i can't get into fastboot mode, only recovery mode, is there any way to get into fastboot mode to flash the firmware? thank you
[OnePlus Nord 2T] PattasuBalu:
What recovery do you have?
[OnePlus Nord 2T] vittofps:
stock recovery
[OnePlus Nord 2T] PattasuBalu:
Can you use adb in stock recovery?
[OnePlus Nord 2T] vittofps:
nop, my pc doesn't detect it (in fastboot and turned on it detected it)
[OnePlus Nord 2T] PattasuBalu:
Did you try wiping data in recovery?
[OnePlus Nord 2T] vittofps:
yep, many times but still i can get into recovery only
[OnePlus Nord 2T] PattasuBalu:
Can you access fastboot?(press vol+ and power)
[OnePlus Nord 2T] vittofps:
no
[General Topics] TheMystic:
For some unknown reason, some of the stock Android features are hidden in MIUI. Fortunately, the features themselves work if you access the hidden settings using an activity manager such as the Shortcut Maker app.

Here are a few useful hidden settings that work well on MIUI 13 (Android 12):

1. Multiple Users

MIUI has hidden this very useful feature of stock Android in MIUI 13. Using activity manager, find UserSettingsActivity:

View attachment 5773861

This will give you access to Multiple Users. By default, MIUI allows you to setup what they call Second Space, which is a new user profile. Stock Android allows you to have 4 or 5 additional users, including Guest user (temporary profile).

I have setup Second Space, and Work Profile using Shelter app. This left me to setup 2 additional users with a permanent profile, and also a Guest user. So total 6 users (including Primary user or Owner) on MIUI 13!

2. Disable official YouTube app

If you go to Settings/ Apps/ Manage Apps on MIUI, you'll NOT see the option to disable the stock YouTube app. But using activity manager, find AppDashboardActivity:

View attachment 5773857

This will allow you to disable many system apps, including YouTube.

View attachment 5773867

Before trying this, I set the official YouTube app to not open any links. But MIUI kept overriding my setting and all YouTube links were opening only on the stock YouTube app. So I had to disable it to make the links open in Vanced YouTube. This problem is not there on OneUI 5 or OOS 13.

3. Special Access permissions

Using the same AppDashboardActivity setting mentioned in point 2 above, you can also find the Special Access permissions hidden in MIUI 13:

View attachment 5773897

What doesn't work in MIUI 13 without unlocking bootloader/ custom recovery/ root:

1. Installing Mi Dialer to replace Google Dialer. Workarounds available online are NOT recommended.

2. Gesture navigation if a 3rd party launcher is set as default. There are some workarounds for this that you can try though using FNG app.