yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A22 5G] lebigmac:
@Platypus Enthusiast thanks for your easily understandable step by step guide! (y)

Turns out my bootloop problem was caused by Heimdall or by my lack of knowledge in using it properly. Is it still maintained or is it EOL ?

The Heimdall tutorials want me to write --VBMETA in capital letters when flashing but Heimdall says that partition VBMETA doesn't exist in my device's PIT file :unsure:

heimdall flash --VBMETA vbmeta.img --no-reboot

I can flash successfully if I type --vbmeta in small letters but then something gets corrupted somewhere along the process.

heimdall flash --vbmeta vbmeta.img --no-reboot

Wait a second maybe I must flash the .tar file in Heimdall just like in Odin? So far I've only been flashing the raw .img files directly. Maybe that's where my bootloops come from? :unsure:

I would definitely recommend flashing Samsung devices the official way with Odin (y)

Rename the file to vbmeta.img and compress it as a tar and just flash in AP slot with Odin. Works great every time and it's a very straight forward process. Thanks to the guy who suggested this method to me (y)

By the way can we use Odin in Linux through Wine? :unsure:

To anyone out there who ended up in a tricky and very dark Samsung bootloop. Samsung made it especially difficult to get into Download mode when stuck in such a bootloop. Here's a quick tutorial:

Spoiler content hidden.

Now you can proceed to get into Download mode the usual way by pressing all those aforementioned buttons together & plugging in usb cable simultaneously! Good luck!(y)
[Samsung Galaxy A22 5G] physwizz:
It's all a learning experience

I always use odin
[Samsung Galaxy A22 5G] Platypus Enthusiast:
Doesn't seem to be, latest commit on the repository was March 2021 which isn't too long ago, there are new issues and pull requests.

Not sure, I only use Linux VMs on my Windows Host machine, so there isn't a need for me to use WINE, but it should hypothetically work.
[Samsung Galaxy A22 5G] Logilype_:
Right after I release all buttons and disconnect the cable in that fade display brightness transition, it brings me to the Samsung logo. I can't know when the phone is off. Maybe waiting few minutes will help to see if the phone boots or not
[Samsung Galaxy A22 5G] theeflash1:
I have the above safe fone and I'm willing to try this can you tell me how I could do it via by Samsung Galaxy A22 5g.

This is what I have done but don't know anything else to do....

See attached screenshot please

Any information would be appreciated..
[Samsung Galaxy A22 5G] Platypus Enthusiast:
The one in this thread doesn't work. But this one does, it has a step by step process, as well.
[Samsung Galaxy A22 5G] elosanta:
i tried flashing the stockrecovery and it went to security error
[Redmi Note 10S] miravision:
How much extra battery life are you experiencing compared to stock? kernel tweaks? Any other minor bugs or issues while using it as your daily driver?

Can you please fill the listing for our rosemary device on GSI wiki @ github?

Xiaomi Redmi Note 10S

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.

github.com
[Redmi Note 10S] J6idot:
Better than stock, using gpu to render UI and powersave governor.
[Redmi Note 10S] miravision:
Xiaomi Redmi Note 10S

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.

github.com

​

Pre-flash info:​

Device name: Xiaomi Redmi Note 10S (rosemary)

Earlier rom: MIUI 12.5.7 (India)

Rooted?: No

Tested images:​

Corvus OS

Android 12 Beta 5

DotOS

Steps to install​

Refer to the guide here: https://xdaforums.com/t/flashing-gsi-roms-on-redmi-note-10s-and-then-fixing-some-issues-all-without-any-custom-recovery.4337099/

Hardware Support post flashing​

Component	Comment
Camera	Works but Gcam is a little unstable
Speaker/Mic	Works, headphone jack requires a tiny tweak
Bluetooth	Not tested but I'm sure it works
Wi-Fi	Works
SIM/Mobile Data/ Voice	Not tested
VoLTE	Not tested
Fingerprint	Works
NFC	Not tested
Offline Charging	Works
Display Refresh rate	60hz (same as before)
Screen Brightness	Works like before after a small tweak
Volume scale	Works fine
5G	N/A
SafetyNet post root?	(requires modification)
WideVine certification post flash and root	L1 (requires modification)

Personal Notes:​

Battery life seems to have reduced a bit

Phone (extremely rarely) reboots out of nowhere.

Raven Launcher (Launcher that comes with Corvus OS) crashes from time to time, taking me back to the lock screen

I personally feel that the speakers are not as loud as they could be but I did not test it before flash so I can't tell precisely.

Tested by: randomaccessvemuri (@Tanmay-V22315)
[Redmi Note 10S] J6idot:
nope, for me it increased.
[Redmi Note 10S] miravision:
Has anyone faced these issues or any other issues and how did you fix them/ are they unresolved like random reboots or speaker loudness or mic loudness or noise cancellation or bluetooth HD codec support or bt calls or GCam crashes or instability ...

Can we please see screenshots of battery drain from 100% to 1% with your app usage statistics in hours?
[Redmi Note 10S] J6idot:
View attachment 5428363
[Redmi Note 10S] miravision:
Thanks for posting the screenshot. I see that you use AMOLED dark mode to save on battery. Any CPU underclock?

Do you happen to face overnight drain issue which is why for 2 nights battery graph shows 2 blank OFF durations?

With regards to the UX with powersave governor for the GPU can you please clarify the following on GSI ROM:

Can you please attach a short 30s - 1 min screen record session by randomly scrolling through stuff while playing some non copyright NCS audio to see if the g95 SOC is powerful enough to render, a full hd screen with scrolling content, smoothly enough with the least battery draining GPU frequencies?

Can you please clarify by means of some random media playing in the background that internal media sounds are recorded properly? Hence game sounds can be captured with/ without the microphone. Thanks
[Redmi Note 10S] J6idot:
Alright so, first of all, powersave governor underclocks to 500mhz -774 mhz. Some of the apps don't use the fully black amoled theme. And i keep my phone off overnight.

About the GPU? governor, same stock one because there is no way to change it/downclock it.

When scrolling, seems smooth to me, it might lag a little but i don't care.

And no, microphone doesn't lag.

Everything with CPU rendering (not GPU)
[Redmi Note 10S] J6idot:
Hey OP, i would like to also add that few sGSI might completely soft brick the phone.

If you install an sGSI, reboot, and then it bootloops after like 5 seconds, the phone will not boot.

I tried one sGSI, got this problem, reflashed DotOS and it still wouldn't boot, as it would be stuck at the boot animation.

I tried:

Reflashing DotOS

Reflashing the boot image

Reflashing vendor/product

Formatting and wiping continuosly the userdata partition. Nothing.

The only way to fix this is by flashing stock.

Also, if your phone reboots after like 10 seconds or more, then bootloops, reflashing the rom you were using will probably work fine.
[Redmi Note 10S] miravision:
How well does the latest Android 12 GSI final release, available since a few days ago, work on the 10s?

Please post detailed review with bug fixes and patches required for various issues on the main rosemary treble GSI rom Github repository to help everybody track the progress on the final release of Android 12 on the 10s.
[Redmi Note 10S] J6idot:
google gsi? idk, never tried.

Someone built it with phh patches and works fine, except you can't turn off the phone with the Power button, you need to do it from the status bar.
[Redmi Note 10S] seyren00:
Hi, I installed DotOs 5.2 Android R with Gapps version;

Seems to be smoother than MIUI, and comes without so much bloatware, also, play store works better that in MIUI; I will test for a week, and then I will upload battery usage, and gaming performance in emulators like dolphin, citra, (also the bugs that I will encounter, for now, I encountered only 2 bugs, and the OP already solved them).

PD: There is another bug with bluetooth, you just need to go to settings-->PhhTrebleSettings-->Misc--> mark "Force-disable A2DP offload"
[Redmi Note 10S] miravision:
Have you stayed on DotOS or moved to a different GSI? Please post battery usage along with other points you mentioned that have gotten better or worse
[Redmi Note 10S] ono123:
if i want to try DotOS which version should i download? theres a64 and arm64, i haven't installed a custom rom on my phone for a long time.
[Redmi Note 10S] J6idot:
arm64 a/b
[Redmi Note 10S] jack9761:
Is it possible to update using this method using this method? Would it just be this?

fastboot reboot fastboot
fastboot flash updated_image.img
[Redmi Note 10S] ono123:
I have successfully installed the DotOS ROM after waiting for a week to unlock the bootloader. I want to inform that NFC can work well on DotOS. but I have a question regarding the headphone jack bug, how do I root this phone after installing the GSI ROM, the things you describe are not clear enough for me. can anyone explain further?
[Redmi Note 10S] EL66K:
Can installing a different rom help with the video playback oversharpening, etc.? I mean all the miravision related issues. And what happends with HDR playback?
[Redmi Note 10S] RandomAccessVemuri:
Hi,

You can root the phone using the general procedure (or as shown here) But TL;DR:

Get the boot.img from the fastboot ROM (here)

Install the Magisk Manager APK (from official sources only)

Patch the boot.img with the magisk manager

Flash the boot.img by fastboot flash boot patched_boot.img

Reboot and open Magisk manager

It will prompt you to do some stuff after which your phone should be rooted (it should actually be rooted once you flash the boot.img and boot up the phone but Magisk Manager lets you manage superuser related stuff)

At this point your phone should be rooted and you can proceed with the above instructions. However I'm more than confident that you could fix the headphone jack by looking into the Device specific settings. That's how I fixed it in a later install, anyways.
[Redmi Note 10S] quackoducko:
Alright I followed this tutorial, fastbootd with twrp ( I have unofficial twrp installed ) said partition does not exist after flashing process it just booted me into stock rom?

Any fix? Pls
[Redmi Note 10S] GildroY:
Flashed the Dot OS GSI today on my Note 10s and wanted to share some observations:

1. Should the fastboot command to flash the image :

fastboot.exe -u flash system your_gsi_rom_of_choice.img

contain '-u' or '--u' (single or double hyphen)?

That is, should it be:

fastboot.exe --u flash system your_gsi_rom_of_choice.img

?

Single hyphen did not worked for me on my ubuntu device.

Might be irrelevant for experts but for noobs like me, it caused some panic and delay :).

2. The 'Night Light' filter is not working as expected - even at the lowest setting, the screen remains pale orange-ish at best.

3. Jio (India) sim - calling is not working irrespective of which sim slot is used, whether data is enabled or disabled, other sim slot is occupied or vaccant - tried all possible permutations. Data is working though with Jio sim. This is a complete 'deal breaker' for me as Jio is the primary carrier.

Experts, please suggest in case any fixes are available for these issues.

Apologies in advance for verbiage and silly mistakes (if any).

Must mention that It is a delight to see stock, UN-bloated experience on such a promising hardware. Many thanks to the developers and experts out there who are making this possible.
[Redmi Note 10S] GildroY:
Has anyone been able to enable VoLTE with any of the GSIs? Its not working for me with both Corvus as well as DotOS.

Looking for help/guidance.
[Redmi Note 10S] GildroY:
I was able to fix this !!!

VoLTE is working now !!!

Settings -> Phh Treble Settings -> IMS features

1. Install IMS APK for Mediatek R vendor -> click on it and manually install the downloaded APK file

2. Request IMS network (should be checked)

3. Force the presence of 4G Calling .. (should be checked)

Thats it.

Reboot and VoLTE will start working

Tested with JIO (India) - both data and calling working fine.
[Redmi Note 10S] D4rkF4lcon:
I was not able to.

I downloaded Android GSI - ARM64 (https://www.drodontime.com/devices/arm64)

I unzipped the IMG file.

1) I executed:

fastboot.exe --disable-verity --disable-verification flash vbmeta vbmeta.img
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta_a' (4 KB) OK [0.008s]
Writing 'vbmeta_a' OK [0.001s]
Finished. Total time: 0.039s

2)

fastboot.exe reboot fastboot

03) But, when running the code below, it gives an error.

fastboot.exe --u flash system dotOS-R-v5.2-arm64-ab-GAPPS-OFFICIAL.img
Resizing 'system_a' FAILED (remote: 'Not enough space to resize partition')
fastboot: error: Command failed

When I try to use Vanilla IMG (without GAPPS), the following error occurs:

fastboot.exe --u flash system dotOS-R-v5.2-arm64-ab-VANILLA-OFFICIAL.img
< waiting for any device >
Resizing 'system_a' OKAY [ 0.004s]
Sending sparse 'system_a' 1/10 (262140 KB) OKAY [ 10.867s]
Writing 'system_a' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed

I have TWRP installed.
[Redmi Note 10S] D4rkF4lcon:
I got it.

I used miFlash to install the official ROM.

Then I successfully executed the commands as below.

Microsoft Windows [versão 10.0.19044.1415]
(c) Microsoft Corporation. Todos os direitos reservados.

C:\Windows\system32>cd C:\Xiaomi\platform-tools

C:\Xiaomi\platform-tools>fastboot.exe --disable-verity --disable-verification flash vbmeta vbmeta.img
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta_a' (4 KB) OKAY [ 0.008s]
Writing 'vbmeta_a' OKAY [ 0.001s]
Finished. Total time: 0.041s

C:\Xiaomi\platform-tools>fastboot.exe reboot fastboot
Rebooting into fastboot OKAY [ 0.001s]
< waiting for any device >
Finished. Total time: 12.682s

C:\Xiaomi\platform-tools>fastboot.exe --u flash system dotOS-R-v5.2-arm64-ab-VANILLA-OFFICIAL.img
Resizing 'system_a' OKAY [ 0.004s]
Sending sparse 'system_a' 1/10 (262140 KB) OKAY [ 12.644s]
Writing 'system_a' OKAY [ 1.146s]
Sending sparse 'system_a' 2/10 (262140 KB) OKAY [ 12.413s]
Writing 'system_a' OKAY [ 1.095s]
Sending sparse 'system_a' 3/10 (262140 KB) OKAY [ 12.484s]
Writing 'system_a' OKAY [ 1.133s]
Sending sparse 'system_a' 4/10 (262140 KB) OKAY [ 12.446s]
Writing 'system_a' OKAY [ 1.109s]
Sending sparse 'system_a' 5/10 (262140 KB) OKAY [ 12.414s]
Writing 'system_a' OKAY [ 1.140s]
Sending sparse 'system_a' 6/10 (262140 KB) OKAY [ 12.388s]
Writing 'system_a' OKAY [ 1.120s]
Sending sparse 'system_a' 7/10 (262140 KB) OKAY [ 12.404s]
Writing 'system_a' OKAY [ 1.122s]
Sending sparse 'system_a' 8/10 (262140 KB) OKAY [ 12.388s]
Writing 'system_a' OKAY [ 1.121s]
Sending sparse 'system_a' 9/10 (262140 KB) OKAY [ 12.365s]
Writing 'system_a' OKAY [ 1.106s]
Sending sparse 'system_a' 10/10 (117804 KB) OKAY [ 5.505s]
Writing 'system_a' OKAY [ 0.592s]
Finished. Total time: 186.606s

C:\Xiaomi\platform-tools>fastboot.exe -w
Erasing 'userdata' OKAY [ 0.623s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.004s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Finished. Total time: 0.669s

C:\Xiaomi\platform-tools>fastboot.exe reboot
Rebooting OKAY [ 0.001s]
Finished. Total time: 0.005s

C:\Xiaomi\platform-tools>
[Redmi Note 10S] saier_io:
I flashed DotOs GSI correctly and I can confirm NFC works but, when I connect a bluetooth audio device, while it gets connected correctly, it fails to play audio: how can I fix this?

Edit: the only thing I liked about MIUI was that in order to unclock the phone, you could set it to both fingerprint AND pressing the button. How can i replicate that on DotOs?
[Redmi Note 10S] SanliMorgana:
I fixed that by enabling Force-disable A2DP offload in the Device specific settings.

However i have another issue,when i open music,and turn my screen off,after a little while the audio turns into a glitchy mess. How can i fix this?
[Redmi Note 10S] Mino260806:
Pre-flash info:​

Device name: Xiaomi Redmi Note 10S (secret)

Earlier rom: MIUI 12.5.15 (Global)

Rooted?: Yes

Tested image:​

Pixel Experience 12 Unofficial (phh v401)

Hardware Support post flashing​

Component	Comment
Camera	Quality looks better than stock
Speaker/Mic	Works, headphone jack requires a tiny tweak
Bluetooth	Works
Wi-Fi	Works
SIM/Mobile Data/ Voice	Sim works but mobile data does not work
VoLTE	Does not work
Fingerprint	Works
NFC	Not tested
Offline Charging	Works
Display Refresh rate	60hz (same as before)
Screen Brightness	Works like before after a small tweak
Volume scale	Works fine
5G	N/A
SafetyNet post root?	Not tested
WideVine certification post flash and root	Not tested

Personal Notes:​

Native screenrecord causes device to freeze and crashes SystemUI. Third party screen recorders work fine tho so it's not a big problem.

Mobile data extremely rarely works.

System UI is very laggy, especially the app drawer [thanks @Redmi note 10s user]

Gcam camera quality looks better than stock, but photo view is very laggy (looks like 15fps) despite video is smooth. Also video shooting only works on main cam the other two are just black.

There is a noticeable performance drop in games and compile speed in AIDE.

============================

There are many other bugs, most of them are fixable with little tweaks, but these are the most important for me and I didn't find a workaround yet.

After using this rom for about two weeks, I think I'm going back to stock (or LiteE). The features I miss the most are floating apps (there are some alternatives but they are not as practical as stock rom), and especially MOBILE DATA is important. Please tell me if mobile data has been fixed and I will consider coming back to this rom.
[Redmi Note 10S] IamAlaminislam:
I applied for bootloader unlock today. I want to try GSI Rom. Which is the best in terms of Performance and stability. Those who have tried. Please let me know.
[Redmi Note 10S] Redmi note 10s user:
I have a Redmi note 10s, and I wanted to say that the pixel experience Android 12 gsi rom works like a charm.
[Redmi Note 10S] Mino260806:
Try pulling the app drawer, doesn't it look laggy ? Also does mobile data work ?

(Please specify whether your phone is rosemary or secret)
[Redmi Note 10S] Redmi note 10s user:
Works flawlessly except default screen recorder doesn't work and mobile data is a bit slower than normal.

Pretty sure rosemary and secret are the same because my is sometimes one of them and then the other.
[Redmi Note 10S] Redmi note 10s user:
Make sure this is checked in Misc features
[Redmi Note 10S] Redmi note 10s user:
To get a smooth and snappy system
[Redmi Note 10S] Mino260806:
OMG. IT WORKED! THANKS A LOT
[Redmi Note 10S] majorbrain20:
thanks for the post. pls any guide on downloading the corvus for the redmi note 10s. thanks in advance
[Redmi Note 10S] safwan2011:
I have flashed indonesia stock rom via mi flash tool on my redmi note 10s india variant but google play is showing device is not certified.what would be the fix?Someone please help
[Redmi Note 10S] oxxo.andatti:
You have the complete guide on how to install this rom, as well as the repository of the files.
[Redmi Note 10S] majorbrain20:
fastboot flash boot twrp.img

fastboot --disable-verification flash vbmeta vbmeta.img

you have to flash the boot and not the recovery, because the recovery partition is not navailable on the redmi note 10s.
[Redmi Note 10S] oxxo.andatti:
Install this rom with the following commands, but when the phone reboots and never loads properly, does anyone know why?

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

fastboot reboot fastboot

fastboot -u flash system dotOS-R-v5.2-arm64-ab-VANILLA-OFFICIAL.img

fastboot -w

fastboot reboot
[Redmi Note 10S] oxxo.andatti:
where did you download this rom version, can you provide the download repository
[Redmi Note 10S] majorbrain20:
please the command

fastboot.exe reboot fastboot

give error

PS C:\Users\AYOMIDE\Desktop\FLASHING GSI ON REDMI NOTE 10S\PlataformTools - RN10s> fastboot reboot fastboot

fastboot: usage: unknown reboot target fastboot

pls help

well i just got a way to the fastbootd through adb

adb reboot fastboot

but am still getting error

failed (remote operation not permitted)
[Redmi Note 10S] jacobpayag:
Are you sure that your bootloader is unlocked?
[Redmi Note 10S] Redmi note 10s user:
Releases · ponces/treble_build_pe

Script and patches for building PHH-Treble Pixel Experience - ponces/treble_build_pe

github.com

Here you go
[Redmi Note 10S] majorbrain20:
Finally got my gsi flashed I'm posting this from the corvus is v17 arm64 a_b gsi

Stable no bug except the jack which I did fixed with adb
[Redmi Note 10S] majorbrain20:
Here's the screenshot from my REDMI note 10s

I also tested the dot Os 5.2 and it worked but I prefer the corvus. They're both smooth tho.
[Redmi Note 10S] oxxo.andatti:
I managed to install correct pixel experience, but the audio connector does not work
[Redmi Note 10S] prasadkumar4:
1st way:

try enabling this option it will work : settings > Phh Treble Settings > Misc Features > Use alternative way to detect headsets.

2nd way:

1. Disabled Headphone Jack

:

Once you boot up the rom, you'll notice that the headphone jack will not work; the audio will only play on the speaker. To fix this one, you unfortunately need to root your phone (although that's not necessary, try looking into the Device Specific customisations of your rom).

Through your computer, issue the following commands (one-by-one, don't copy-paste them):

Code:

adb shell

su

setprop persist.sys.overlay.devinputjack true

reboot

Your phone will now reboot and once it does, you will see that the headphone jack is functioning normally again.
[Redmi Note 10S] oxxo.andatti:
thanks if I managed to solve the audio output, now the only detail I have is with the audio via bluetooth
[Redmi Note 10S] prasadkumar4:
For bluetooth audio : Settings > Phh Treble Settings > Misc features > Force-disable A2DP offload
[Redmi Note 10S] averagexiaomiuser:
phone never boots and sends me to recovery, if no recovery is flashed it just says Operation not permitteed and my firmware screws up and no OS is found. but in fastbood's everything flashes, i wipe everything, everything is a success and there are no fails. auto sends me to fastboot even tho it detects an OS? wtf? https://github.com/ponces/treble_build_pe/releases/tag/v411.1
[Redmi Note 10S] Kevancho:
still no stable rom?
[Redmi Note 10S] Kevancho:
excuse my ignorance but how do I extract the vbmeta.img from the ROM ???
[Redmi Note 10S] oxxo.andatti:
I had the same reboot problem but you can solve it in the following way.

1- Download the vbmeta.img file

2- Download the rom https://github.com/ponces/treble_build_pe/releases

3- Run the following commands, your bootloader must be unlocked

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

fastboot reboot fastboot

fastboot --u flash system PixelExperience.img

fastboot -w

fastboot reboot

4- fix the following errors

Fix Bluetooth

> Settings > Phh Treble Settings > Misc features > Force-disable A2DP offload

Fix Disabled Headphone Jack

> Settings > Phh Treble Settings > Misc Features > Use alternative way to detect headsets.

Fix Enabled VoLTE

> Settings -> Phh Treble Settings -> IMS features

1. Install IMS APK for Mediatek R vendor -> click on it and manually install the downloaded APK file

2. Request IMS network (should be checked)

3. Force the presence of 4G Calling .. (should be checked)

Fix slow device

> Settings -> Phh Treble Settings -> Misc Features -> Disable HW overlays

Fix glitter bar

> Settings -> Phh Treble Settings -> Misc Features -> Force alternative backlight scale
[Redmi Note 10S] oxxo.andatti:
At the moment there is no stable rom yet for this device.
[Redmi Note 10S] Apih95:
fastboot.exe --disable-verity --disable-verification flash vbmeta vbmeta.img

this one really help me , now i can boot pixel experience plus 12 on my mojito/sunny . thanks !