yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Dkpost3:
OrangeFox Recovery Project​

View attachment 5922719​

Installation for MIUI (Not tested on AOSP)​

fastboot boot OrangeFox_A13-Stable-taoyao.img

We are waiting for the download of the recovery, and through it we flash zip. You are great!

PS: OrangeFox.img already contains the Magisk.apk installer (root directory => CustomZIP)

ADB​

Decryption of /data​

MTP​

Flashing (opengapps, roms, images and so on)​

Backup/Restore​

USB OTG​

A/B partition functions​

ADB SIDELOAD and other.​

Downloads OrangeFox A13​

Spoiler content hidden.

Device Tree

OrangeFox Recovery | Build in Cloud

Version Information

Status: stable ( Unofficial )

Current stable ( Unofficial ) Version: A13

Release Date: 31-May-2023
[Miscellaneous Android Development] richardqcarvalho:
Nice job, mate! We had been waiting a while for someone to develop for this phone. I don't know how to build this things, but I'll try to support ya with feedbacks and donates when possible. Count on me!

As soon as possible I'll try the recovery and bring here how it went, okay?
[Miscellaneous Android Development] Theangel256:
When launches Xiaomi 12?
[Miscellaneous Android Development] richardqcarvalho:
[Solved]
[Miscellaneous Android Development] KProject:
I will test it soon
[Miscellaneous Android Development] KProject:
Update: not reboot to OrangeFox

End up with blank screen after "fastboot boot OrangeFox.img"

Command was success (sending OK) phone reboot automatically, but stuck, blank screen no Mi logo

My ROM: MIUI 14.0.5.0 TLIIDXM
[Miscellaneous Android Development] twister26:
Thank you, you have just saved me from wasting time. I also have the latest MIUI and the TWRP from the thread below is not working for me either. It does not boot to TWRP at all.

I am guessing that the latest MIUI is the problem.

https://xdaforums.com/t/recovery-12-taoyao-teamwin-recovery-project-for-xiaomi-12-lite.4520817/
[Miscellaneous Android Development] KProject:
You need flash boot.img from xiaomi.eu or Global ROM to get TWRP working (I just fixed my problem)
[Miscellaneous Android Development] twister26:
Before I erase my device yet again, I just want to make sure that these steps are correct (it's also going to help other people with this device):

- unlock bootloader (if device is new, you have to wait 14 days or something like that)

- enable USB debugging in developer mode

- download xiaomi.eu_multi_TAOYAO_V14.0.5.0.TLIMIXM_v14-13.zip

- download TWRP twrp-3.7.0_13-0-taoyao.img

- in command line type adb reboot fastboot

- flash TWRP with fastboot flash recovery twrp-3.7.0_13-0-taoyao.img

- flash boot.img that is in the zip downloaded from xiaomi.eu (its located in images folder) with fastboot flash boot boot.img

and that's it, right? I can boot to TWRP and install magisk?
[Miscellaneous Android Development] KProject:
No.

You can't use "adb reboot fastboot" it will reboot to fastbootd (other version of fastboot)

Just power off device, then press power + volume down, it will reboot to fastboot (a bootloader fastboot)

Also the Xiaomi 12 Lite is A/B Dynamic Partition without recovery partition, "fastboot flash recovery will fail)

So. Here is the correct step to install TWRP/OrangeFox

1. Unlock bootloader

2. Reboot to fastboot

Don't use fastbootd

3a. fastboot boot twrp.img

Wait until TWRP boot up

If device goes blank, just press power + volume up, when phone showing Mi logo, release power button, keep pressing volume up until you get boot to TWRP

3b. If you still get blank/reboot to Mi recovery/get booted to system you need flash boot.img from xiaomi.eu (like my ROM ID 14.0.5.0).

3b2. Download Xiaomi.eu 14.0.5.0, extract boot.img from zip, then use fastboot to flash the boot.img for both A and B slot...

fastboot flash boot_ab boot.img

Now you can repeat "3a" step it should be booted to TWRP now

4. In TWRP go to Advanced > flash current TWRP

It will install the TWRP to your kernel ramdisk in boot.img (because taoyao don't have recovery partition)

If using OrangeFox, just flash the OrangeFox zip file with the TWRP, it will the install OrangeFox automatically
[Miscellaneous Android Development] twister26:
You're the best! Thank you so much for these detailed instructions. I'm sure that other people will benefit from them too.
[Miscellaneous Android Development] KProject:
And remember always repeat step 4 after flashing a ROM.

Because the kernel/boot.img will replaced by, ROM inbuilt kernel (no TWRP) you need to install TWRP/OrangeFox again
[Moto G Stylus 5G] startingover72:
Motorola stylus 5g (2022)

I'm sorry to come here but I appreciate your help. I know the basics but not the inside of the phone. I had to get a new phone so I got a new number. I got the Motorola stylus 5g (2022). Free through Metro T-Mobile. Try to restart it a couple of times. I'm just wondering is it normal to have 440 system apps on your phone. I'm trying to sign in on my backup but not downloading the extra apps. Then I feel like it's throwing third party apps in there and there's so much crap on there and I'm just so confused and I don't understand why it's so difficult. I ran a test and it had system apps from Android 6th through 11. I think is odd but I could be wrong. I try to stay away from Google but I do sign in with a Gmail account that I don't use anymore. I was trying to get all my stuff moved over and saved on a different iCloud. I have a couple of reports I did if it's helpful I could try to send them. I try to keep Google out of my privacy but I know that's impossible if you have anything lying around. Maybe that's what's messing it up. Also this phone is supposed to be a 4G but it's connecting to five UC T-Mobile which is I know.

I'm pretty detailed oriented and I'm can follow directions easily but I don't always explain myself well.
[Moto G Stylus 5G] V0latyle:
You've come to the right place then. We appreciate you taking the time to find the right section to post in, when many new users don't.

I have noticed that my Pixel 5 automatically downloads Verizon apps after a factory reset, even though I've never used any of them. It's definitely possible in your case. However, they install as "user" apps, not system apps.
[Moto G Stylus 5G] maddog3030:
First off disable auto update in the Google store,

Second you should be able to go under settings and apps and disable all those unwanted apps you won't be able to remove them but you might be able to disable them.

As far as your connection type to the cell towers the phone might need to be reprovisioned or your APN is wrong.

You can try *#*#4636#*#* and make sure your band select is on auto there might be an active provisioning key near the bottom you can try using that too.

Sad to say since Motorola mobility was bought out by Lenovo and then the Chinese it's become one big trash heap

You should try to unlock your bootloader I believe it's 160 days of service I may be wrong and root it give you a lot more control over all that pre-installed stuff.
[Moto G Stylus 5G] Surgemanxx:
"Sad to say since Motorola mobility was bought out by Lenovo and then the Chinese it's become one big trash heap!"

This right here is right on it!I wouldn't buy a MediaTek device if it was the last device on earth!They're slow,and constantly have freezing issues!Tablet issues were the worst!
[Moto G Stylus 5G] fddm:
Moto phones are relatively clean, they only really come with gapps, carrier apps, and Facebook.

When you do the initial setup and sign in with a Google account, it will queue up a bunch of Google apps. You can stop the download from the Play Store or just uninstall them afterward.

MCM Client(check through your installed apps, MCM are the two with the icon of a queen chess piece) will enable any carrier apps and queue any that are not already baked into the rom. These can all be uninstalled or disabled.

You can also uninstall Facebook, but it has some hidden packages as well. Go into Settings -> Apps -> See All, select the three dot menu at the top right an press 'Show system apps', and search for 'meta'. There will be 'Meta App Installer', 'Meta App Manager', and 'Meta Services' that all can be disabled.

5GUC is T-Mobile's extended 5G network. If you just want 4G, go into Settings -> Network & internet -> Mobile Network and disable the toggle for 'Allow 5G'. It's normal to have a bunch of apps. Most of them are part of Android, customizations and apps added by Motorola, radio support libraries, and carrier support apps. Nothing to really worry about.
[Touch Cruise ROM Development] rekun:
Hei everybody

I really love this place, and these custom roms are amassing :D But i have a problem with them. It's becaurse i am danish, and we therefore have these 3 speciel charactors æ ,ø and å. So to be able to use a custom rom i need a danish keypad with danish dictionary, but i cant find any, so i hoped that some of you guys had one?
[Touch Cruise ROM Development] vestlink:
Hi.

I have a solution for you:

http://xdaforums.com/showthread.php?t=426281&highlight=danish

If you don't have ezInput download the main cab in post #3 and install.

Then download the danish cab in post #4.

Voila

eller det bør virke :)
[Sony Xperia 1 II Questions & Answers] colecoman:
Hello everyone,

I'd like to install the latest version of LineageOS on my Sony Xperia 1 ii and the guide looks fairly straight forward (I've installed Lineage on many devices) but my question pertains to the Pro Sony apps (eg. Cinema Pro, Photo Pro, etc). I've extracted the APKs from my current install, but as I'm reading more, these will not work on LineageOS. Has this something to do with the DRM keys in the Trim Area Partition? I've read several guides for other Xperia phones and this looks like a VERY complex procedure. I have no plans to revert back (last Android security update on my phone is June 2022) so if I don't need my DRM keys, I'm good with that. I've heard there are modified APKs for these Pro apps. Would these work on the 1 ii? Only ones I've come across are from the Xperia 5

Thanks
[Sony Xperia 1 II Questions & Answers] Sada52:
Hey Cole,

I've been using Lineages 20 from almost 3 months now and just updated the new build today.

My main concern was coverage. I get barely 1 or 2 bars here but have a decent wifi. For some reason, the stock rom on my phone doesn't have wifi calling feature so I was really upset with that.

Lineage OS has fixed that issue for me and after a few days I've started missing the Pro Camera app.

I've found these two versions ported/modded from the 5 Mark 2 community.

1.3 works flawless

1.5 is also good except using the 70mm lens in Pro/Manual mode(App will get crashed and the only way to reopen is clearing data)

Make sure to disable the Camera button to launch Camera. With that enabled, whenever you take a photo from Pro/Manual mode, it keeps re-launching the app(applies for both versions)

Note: Installing these apks will take a little more time than other apps at the same size so do not panic

If you installed 1.3 then you have to uninstall to install the 1.5 as the update will not install
[Sony Xperia 1 II Questions & Answers] Sada52:
Here is the 1.5 version
[Sony Xperia 1 II Questions & Answers] colecoman:
Thank you very much for these. Really appreciate it !!
[Sony Xperia 1 II Questions & Answers] ivlev98:
Thank you for this app. On xperia 1 mark 3 lineage os20 works perfectly. Could you tell me where to get or how to port the cinema pro application?
[Sony Xperia 1 II Questions & Answers] BoernMe:
@Sada52 thank you for providing the app, works fine since several month! Would it be possible for you to provide the latest update? To be honest I'm not capable of modding it myself.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] LaurenceGough:
Hi all,

Just asking a big favour really, as nothing else comes close to the specs I want I'd like to purchase a poco f5 again once these three issues are fixed:

Pocket mode not working

Memory management closing apps after a little while (despite being locked, set not to close, no power restrictions etc). Even play music app was being killed and Chromecast controls constantly...

Notifications delayed massively again despite the same changes as above point. 15-20+ minute delays.

Ps. I tried debloating and changing every setting I could find. I believe issue is due to MIUI powerkeeper dameon but removing that removes ability to set battery saving on apps at all.

Many thanks in advance.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] x3r0.13urn:
And where did you experience all of those?

1. Pocket mode in recent Xiaomi devices are might not correctly working because of virtual proximity sensor I believe, cmiiw.

2. If you tried to keep a lot of apps running, of course some might have to be killed or put in a sleep state. You can't keep all the apps keep running in background.

3. This is the direct result from point above. Do note, apps use various method of receiving notifications, some rely on google service (mostly google apps, I believe this is most battery friendly way) while some manage the notifications themselves (this requires the app to be kept running in background, or occasionally given a queue by OS+kernel to be awaken periodically to receive the notifications)

tl;dr: if you want every apps to be as responsive as possible, you have to have a bigger ram and non stop power supply (not running in a battery)
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] LaurenceGough:
I appreciate your help but this phone does have a proper proximity sensor, it's just not used in the software correctly for some reason. HW tests pass ok . I wouldn't have purchased this phone otherwise, I've had the misfortune of owning devices with the virtual one... Ugh... Never again.

Understood but the 12GB is not being fully used. If you remove power restrictions from these apps they should remain in memory and running in the cached / background state. Xiaomi powerkeeper which is in addition to the stock Android ROM appears to be closing apps regardless. All xiaomi cleaning or clearing options are disabled.

Indeed the applications in question are using Google's cloud messaging notification systems and it isn't an issue on aosp based ROMs on other phones even others in the house at the same time on the same network (doze active or not), but these custom ROMs aren't available for this phone yet.

I'd have probably kept it if the pocket mode worked but I draw the line at my phone dialing emergency numbers when locked in my pocket which happened within two days of ownership. In testing pocket mode didn't work correctly at all, seems others have the same problem.

Thanks though
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] x3r0.13urn:
Regarding about the proximity sensor, I need a confirmation from any owner of this device because it's failed to be mentioned by any reviews. Though elliptic labs didn't mention any Poco F5 and GSMArena might not properly mentioned it (their site mentioned Poco F4 not having a virtual one, while it does use one). Elliptic labs isn't the only one that supply such technology too. Please take a look in an app such "device info hw", see if it's reported as elliptic labs or Xiaomi sensor.

You could try Xiaomi.eu rom if you have already unlocked, though doubtful it will resolve the issue. Or you could try turning off MIUI optimization to see if that can turn off the aggressive doze on google service.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] ThanveerAliSayed:
The phone got real proximity sensor. Verified by waving hands over the sensor and placing the phone stationary. The position of the sensor is in top right corner where the signals are shown in ui.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] LaurenceGough:
An easier way to check for the future is just to use another camera to check for emitted IR light when the screen is turned on.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] fal4fal:
I have the chines' model .

for notification : just disable com.miui.powerkeeper by typing the below in CMD command ( plz search for method)

pm disable-user --user 0 com.miui.powerkeeper

and you will receive the notification instantly for all apps .

Note: make sure to unoptimized the apps from battery optimization
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] LaurenceGough:
I wonder if the Note 12 Turbo has the same problem. That had been out for quite a few months before this phone... I see the Note 12 Turbo Chinese firmware just had an update today.

Indeed I think this is the problem, I did pop this in my first post " I believe issue is due to MIUI powerkeeper daemon but removing that removes ability to set battery saving on apps at all.".

So yeah, it prevents you from using battery saving modes at all on the apps you don't use often :(.

Thanks though.
[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] LaurenceGough:
Is it fixed now guys with the update just released? I've heard that there is a new update. Of course change notes just say security update but we know that's not always the case.
[Xiaomi Pad 6] Menic0:
Hi all,

since there is not dedicated forum as of now, I'll try and post my question here.

Are there any custom roms or has anyone tested a GSI for the new Xiaomi Pad 6 Pro?
[Xiaomi Pad 6] niveZz:
there are no custom roms yet

GSI roms should work similar to this device
[Xiaomi Pad 6] _Hinnie_:
Just installed this GSI: https://github.com/ponces/treble_build_pe/releases/

Seems to work fine so far, although, it for some reason thinks there's always a physical keyboard connected, so I had to make the on-screen keyboard always enabled.

You can also force the display to use 144hz with the GSI under Phh Treble Settings > Misc features > Force FPS
[Xiaomi Pad 6] Menic0:
nice. thanks for sharing!
[Xiaomi Pad 6] Menic0:
How did you unlock the bootloader and flash a recovery?

I can't find TWRP images for this device.
[Xiaomi Pad 6] bref:
You can go to https://en.miui.com/unlock/index.html to download software to unlock bootloader. (check here on xda, how you can unlock.. ;-)).

One of the activities is to have xiaomi account. You need to login with that on your tablet, before you can unlock.

You have to do some activities and wait for 168hours... (not a joke).

Then after the unlock, you need to boot into Fastboot, where you can flash the GSI image with ADB.

(must likely you would need to remove the product partition, otherwise the the image wont fit. Also make sure you download A image. Pad 6 Pro only has A. )
[Xiaomi Pad 6] Menic0:
pfff.. 168 hours I wish.. I got the message that I have to wait for 300 hours.. 15 fricking days..

But if I understand you correcrly you've used the standard xiaomi recovery system to flash the custom rom?
[Xiaomi Pad 6] Taobaibai:
Same here, I will receive the tablet tomorrow.

I have to wait 168h too :'-(
[Xiaomi Pad 6] arydlews:
I have already done the unlock according to the instructions from mi pad 5 on this forum is the same.
[Xiaomi Pad 6] Yangonnerd:
I've been using this Xiaomi Pad 6 pro with 12/256 for about 2 weeks now, and normally I feel the urge to get away from MIUI as quickly as I can, but dang this chinese rom is doing so well! No weird chinese apps that can not be removed, no problems with syncing all my google accounts ... Not sure yet if theres a need to change to another customr rom (yet) im surprised.
[Xiaomi Pad 6] arydlews:
It's great that there are already roms that can be flashed. Unfortunately, I lack the knowledge of how to do it - I found a description for mi pad 5 below:

Run an GSI on your Mi Pad 5

To run an GSI on your Mi pad 5 : Unlock bootloader Download an arm64 AB gsi: https://xdaforums.com/f/treble-enabled-device-development-a-ab-roms.7260/ I used system-roar-arm64-ab-vndklite-vanilla.img by Phh Download vbmeta.img from google...

xdaforums.com

Reboot to fastboot

Open an cmd:

fastboot flash vbmeta vbmeta.img

fastboot reboot fastboot

fastboot flash system system-roar-arm64-ab-vndklite-vanilla.img

fastboot reboot recovery

Make an factory reset

Reboot

A question for the author if and what instructions you gave, whether the same as for mi pad 5 from this manual or other. Please write more precisely what and how you flashed along with the issued commands.
[Xiaomi Pad 6] arydlews:
Does fast charging work on the GSi (the tablet will be 100% charged in 1hour)?

where to download this file vbmeta.img ? Is it supposed to be the same as for mi pad 5?
[Xiaomi Pad 6] Menic0:
Yesterday I've installed the PixelExperience on my Pad 6 Pro.

Installation wasn't as straight forward as you'd like, since the recovery is in chinese.

Biggest pitfall: Please make sure to use a current version of the Google Platform Tools (adb, etc.).

I've used the files included in MiFlash 2022.05.07 and they worked. The ones I've used before just threw some unrelated errors that I spent hours researching to no avail.

After the flash, as _Hinnie_ mentioned, it thinks there is a physical keyboard attached so you have to skip the setup-wizard and go to the settings and enable the on-screen keyboard when a hardware keyboard is attached.

-> so thats no problem

For bluetooth audio to work, you need to activate the setting "Use System Wide BT HAL" in "Phh Treble Settings".

As far as I can tell, everything works like a charm. Didn't find anything broken as of yet.

Rooting the device using Magisk worked as well, I've downloaded the fastboot ROM from MIUI directly to get the correct vbimage.img and boot.img to work with.

I love this tablet without this shi**y MIUI.
[Xiaomi Pad 6] Djreppa:
Hi there !

i'd like to proceed and do the same on my Pad 6 Pro, can you please share the link to the tutorial/thread you've followed to install PixelExperience ?

Thanks !
[Xiaomi Pad 6] Menic0:
All info neccessary is in this thread already.

Download Bootloader unlock.

Download PixelExperience.

Download MIUI fastboot ROM (for the vbimage.img).

Flash it with adb (see post from arydlews).

Done.
[Xiaomi Pad 6] Djreppa:
Ah ok !

Sorry thought you went through some different thread! Thanks a lot mate !
[Xiaomi Pad 6] Djreppa:
Can anyone help please ?

I flashed the vbmeta.img (got it from Google website) and i get to the FASTBOOTD screen, however when i try to flash the ROM, i get the error message below:

PS C:\Users\Reppa\Downloads\miflash_unlock_en_7.6.602.42> fastboot flash system .\vndklitePixelExperience_Plus_arm64-ab-vndklite-13.0-20230503-UNOFFICIAL.img

Resizing 'system_b' FAILED (remote: 'Not enough space to resize partition')

fastboot: error: Command failed

Can anyone help with this topic please ?
[Xiaomi Pad 6] Djreppa:
Ahh finally did it !!

I followed this to remove the partition:

Fix FAILED (remote: 'Not enough space to resize partition')

In this comprehensive tutorial, we will show you the steps to fix the FAILED (remote: 'Not enough space to resize partition') error.

droidwin.com

I'll keep you update as I go if anyone is interested :)
[Xiaomi Pad 6] arydlews:
Can anyone confirm to me that fast charging works under GSI?
[Xiaomi Pad 6] Djreppa:
Hello,

I'll try to check once home, however I don't have a fast charger, the one sent with the tablet has a Chinese plug/socket and I didn't receive the adapter yet.
[Xiaomi Pad 6] arydlews:
I bought mine on tradingshenzen and I got the right power supply from the EU tip. By the way - Is it possible to set the GSI language to Polish?
[Xiaomi Pad 6] _Hinnie_:
Yes, any of the languages android supports, so including polish.
[Xiaomi Pad 6] arydlews:
I know everything now. I installed GSI - works great. Fast charging works. The Polish language is. You have to click a bit at first, but it's worth it. I have one problem, how small the resolution is - is it possible to change it somehow - it doesn't fit on the screen.
[Xiaomi Pad 6] Djreppa:
Same here, i change the resolution, check in developer option menu.

But you still have the feeling of using a big screen phone.

Wondering when there'll be a dedicated Customer ROM...
[Xiaomi Pad 6] Djreppa:
Czecs !

Yes it has polish.

Thanks

I think i'll search for one on amazon to get it fast, since i forgot to order it with the tablet, i don't wanna wait 1 month more to receive an adapter :(
[Xiaomi Pad 6] arydlews:
I already know it was enough to change the font to the smallest and everything looks like in miui. It's ok.
[Xiaomi Pad 6] _Hinnie_:
Set smallest width in Developer Options to 695 dp.