yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Shadow Of Leaf:
for now selinux is permissive due to bugs i will enable enforcing mode when fixing bugs

for security patch i will try to update the source code as my internet is a little bit slow
[Miscellaneous Android Development] Shadow Of Leaf:
yes i confirmed the camera bug

when turn on the phone the camera woked but i think when media codec get messed up the camera will too

for now just reboot your phone it will work

as for the problem i think the media codec in vendor is old and incompatible with lineageos 17.1 thats why camera sometimes stop working and google chrome get the phone to soft reboot

i will try to fix but not know cause i accidentally delete my linux partition (ubuntu) with all its data , it will take time to get everything set up
[Miscellaneous Android Development] yudati:
Ok

Thank you so much

Really appreciate it ❤️
[Miscellaneous Android Development] Kangburra:
Does anyone know how to get roaming to work? The sim works fine at home but overseas it reverts to emergency calls only. If I put in a local sim that works.
[Miscellaneous Android Development] Teetoow:
Hey,

There is also another problem: sometimes google play services is draining all the battery. When the phone is restarted the problem is solved until the app restart to drain the battery.

It can occurs after several hours of use. I don't understand what is the trigger and how to solve this bug (or at least restart google play services without restarting the phone)..

If someone has an idea it would be great.

Thanks in advance.
[Miscellaneous Android Development] Shadow Of Leaf:
i dont use roaming so can you try to use another sim card to see if roaming work on a certain sim cards or doesnt work at all
[Miscellaneous Android Development] Shadow Of Leaf:
you use opengapps ??

can you try to clear cache and/or try another gapps package
[Miscellaneous Android Development] Teetoow:
Thank you for your help!

Yes I use it. Unfortunately I need it for my banking account applications (and one of them is detecting the custom ROM.. I had to install magisk but one of them is still detecting the ROM/root but it is not the current discussion)

Do you mean trying another version of opengapps? Or one of their kind of package (nano, pico etc.)? Or something else than opengapps ?

If the package needs to be reinstalled before the ROM it will be hard to test it quickly, I will lose everything again :(
[Miscellaneous Android Development] Shadow Of Leaf:
wipe cache

try this gapps package https://sourceforge.net/projects/flamegapps/files/arm64/android-10/2021-12-09/
[Miscellaneous Android Development] Kangburra:
Sorry I can't. I sent the SIM back to my home country and will just use one for the country I am in.

Update: Roaming the other way worked so it is NOT the ROM, sorry for that.

Arriving home with a foreign SIM the roaming worked as expected and I have all functions working.
[Miscellaneous Android Development] Kangburra:
My F1 has died, I have a boot error and the USB port does not work. I just wanted to thank you for breathing life into this phone and express how grateful I am for your work. :cool:
[Miscellaneous Android Development] Shadow Of Leaf:
no problem , im glad
[Miscellaneous Android Development] Shadow Of Leaf:
latest security updates is available
[Miscellaneous Android Development] pwdhun:
Can you give a rom update instruction for this new release? That is possible with rom zip file upload to the phone and then apply it from the twrp menu?
[Miscellaneous Android Development] Shadow Of Leaf:
you will find all the instructions in first page thread
[Miscellaneous Android Development] Shadow Of Leaf:
things to do

- Change selinux to enforcing

- hide Stock files icon (cause we have another file manager)

- fix a weird sound glitch after notification

- chrome is fixed and will not reboot phone (just install Android webview System from playstore)

- disable LiveDisplay and renable Night Light (we dont have kernel source code to support lineageos LiveDisplay)
[Miscellaneous Android Development] Shadow Of Leaf:
because of discontinuation of LineageOS 17.1 , i will build android 11 but there a lot of custom roms to choose

i did a vote poll to see what rom i could build
[Miscellaneous Android Development] notengonombreoriginal:
I get error 7 while trying to install
[Miscellaneous Android Development] Shadow Of Leaf:
i test it myself , try redownload it and flash TWRP 3.6.1 on this link before installing lineageos
[Miscellaneous Android Development] notengonombreoriginal:
well i did install it, but i can't connect wifi and "android.process.media keeps stopping" is showing
[Miscellaneous Android Development] Shadow Of Leaf:
well you use the old firmware

you have to flash this stock rom first then reflash recovery and lineageos
[Miscellaneous Android Development] notengonombreoriginal:
It was all because i forgot to wipe.😅
[Miscellaneous Android Development] notengonombreoriginal:
After using it for some time I can say it looks beatiful and improved the performance of the device.
[Miscellaneous Android Development] Sliverin:
Can someone please provide me with a working vcom driver? As you can see from the screenshot below, the device is not being properly detected when in fastboot mode and doesnt want to install. it just shows up as an unknown android device. Also i cant flash the custom recovery.

edit: on windows 11 and when i try to manually install the mt67xx vcom drivers i get an error.
[Miscellaneous Android Development] zitronenmelissa:
I had to edit install-script located in zip: /META-INF/com/google/android/

Remove this part:

assert(getprop("ro.product.device") == "F1" || getprop("ro.build.product") == "F1" || abort("E3004: This package is for device: F1; this device is " + getprop("ro.product.device") + "."););

It checks for F1, not for F1 Play
[Miscellaneous Android Development] Shadow Of Leaf:
you installed F1_EAA on a F1 recovery or vice-versa thats why you see this error
[Miscellaneous Android Development] zitronenmelissa:
No, recovery is F1_play for UMIDIGI F1 PLay

lineage file is: lineage-17.1-20220515-UNOFFICIAL-F1_EEA

install-script says:

assert(getprop("ro.product.device") == "F1" || getprop("ro.build.product") == "F1" || abort("E3004: This package is for device: F1; this device is " + getprop("ro.product.device") + "."););

I checked it again

lineage-17.1-20220515-UNOFFICIAL-F1 for F1 has exactly the same install-script
[Miscellaneous Android Development] Shadow Of Leaf:
idid you try this : TWRP 3.6.1 Recovery for F1 Play : https://www.mediafire.com/file/dn8mzk8bpulvqig/TWRP_3.6.1-F1_Play.img/file cause i have umidigi f1 play and it works , i don't have this error
[Miscellaneous Android Development] zitronenmelissa:
I have official 3.7 twrp, that might be the cause, but it's no problem for me anyway (y)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] victordoom:
Project Sakura is a custom ROM based on Lineage OS, It tries to remain true to it while also providing some more functionality and UI changes. Its sole purpose is to provide a platform which is powered by Lineage and is more customizable than Lineage.

[/SIZE][/CENTER]
[SIZE=4][CENTER]* Your warranty is now void.
* We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.

​

"This is a user-friendly thread, all your suggestions are important to us and will be taken into consideration."

CLEAN FLASH :

Download the Build you want to flash, there are two variants(GAPPS AND VANILLA).

-Reboot to recovery

-Take Backup (Not Necessary)

-Flash your firmware(If required)

-Format Data

-Reboot To Recovery

-Wipe System, Vendor, Cache, Dalvik Cache, and Data

-Flash the ROM

-Reboot

DOWNLOAD

-Lineage OS

-AOSP

-Superior OS

-AOSiP

-DerpFest

-Pixel Experience

-Extended UI

-Havoc OS

-CrDroid ROM

Project Sakura Source

Telegram Group

REPORTING BUGS!

As soon as the problem occurs, take a logcat!

for more READ THIS​

Project Sakura, ROM for codename

Device: Raphael

Maintainer: VictorVanDoom

Build Type: Unofficial

Contributors

Abhishek Aggarwal (For device tree)

Kernel Source: Kernel

ROM OS Version: 11.0

ROM Kernel: Linux 4.14

ROM Firmware Required: Must be on Latest Firmware

Based On: LineageOS 18

Version Information

Status: Stable

Current Stable Version: 4.R

SELinux Status: Permissive

Release Date: 2021-02-04
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jejemc:
hello , nice rom lacks the toggles shuriken and drums icon change. And some animation ,can be seen on the ancient rom os it is top animation;)
[Huawei Mate 20 X Questions & Answers] 93starletgt:
Well, received EMUI 11 after all. However, since the update I'm unable to connect my phone to my computer (fastboot, mpt, HiSuite, etc). The phone thinks it's receiving charge from a normal charger (I don't even get the different USB options when plugged to the computer). Windows always says "USB Device Not Recognized" no matter how many computers I've tried it on, how many cables I've used, how many drivers I've tried. Device manager shows it as "Unknown USB device (device descriptor request failed)". Trust me I've got the correct drivers and I know well how to troubleshoot that.

Is this happening to anybody after the update?

There's a new bootloader unlock method (https://ministryofsolutions.com/202...r-unlock-service-evr-al00-tl00-supported.html) so I need to downgrade to EMUI 9 to achieve this, so that I can use OpenKirin custom roms. Any other ways to downgrade without a PC?

Thanks!
[Huawei Mate 20 X Questions & Answers] PhoneTechShop:
It is possible.

It didn't work for me but now it does work.
[Huawei Mate 20 X Questions & Answers] jbmc83:
how did u make it work? i havent tried connecting to the PC yet, so no idea.
[Huawei Mate 20 X Questions & Answers] PhoneTechShop:
Connect, then select transfer files ten install hisuite you can restart windows then connect again , select transfer files, play with HDB in settings .. turn it on and usb debugging as well turn on or off.. and make sure hisuite will install app in phone too .. then it will ask for code..
[Huawei Mate 20 X Questions & Answers] 93starletgt:
Thanks. Right, this is when the computer detects the phone. In my case it does not, for anything in the world. Tried several computers, cables, a million drivers, all the usual windows/drivers/android settings that you need to check. I think the update has broken this feature. Can't even roll back to EMUI 10, because you need the phone to be detected by the computer. So, I'm stuck.
[Huawei Mate 20 X Questions & Answers] Deanro:
Contact huawei. See what they say about it.

Although the link here is for the mate 10 pro its a possible fix. Youve probably read it. But in case you havent try it out.

https://thedroidguy.com/what-to-do-...ized-by-your-pc-troubleshooting-guide-1088941

Btw do you have the L29 version? Did you receive the beta emui 11?

.
[Huawei Mate 20 X Questions & Answers] jbaggs:
Don't know if I can can solve your issue but I can say that I've been on EMUI 11 and managed to go back to 10 and 9, so I don't think it's necessarily anything to do with EMUI 11. Didn't do anything special, just connected as normal.

I have Al00 Chinese version.
[Huawei Mate 20 X Questions & Answers] 93starletgt:
Thank you. Mine's a EVR-L29. I'm out of ideas.
[Huawei Mate 20 X Questions & Answers] Deanro:
Good. But you missed my other question. Did you install the beta?
[Huawei Mate 20 X Questions & Answers] PhoneTechShop:
Do u have Hi suite pp installed on your phone ??
[Huawei Mate 20 X Questions & Answers] 93starletgt:
I do. In both phone and computer.
[Huawei Mate 20 X Questions & Answers] 93starletgt:
I had the Emui 11 Beta, then received update: 11.0.0.140(C432E3R1P3)
[Huawei Mate 20 X Questions & Answers] Deanro:
Excellent! Hope you like the update
[Huawei Mate 20 X Questions & Answers] simed1983:
Did you find the solution my friend I have the same problem
[Huawei Mate 20 X Questions & Answers] meansquareerror:
Same problem here. Whatever Emui 11 does, it changes sth in the device, that can´t be unchanged, even when you downgrade the device.

I have two P30s (ELE-L29) here and tried both of them. Device One got the Emui 11 and Emui 12 upgrade, Device Two was always in Emui 9. Device Two with Emui 9 has no problem with "cheap" usb cables, HDB or connecting to computer.

Device One however, that received the Emui 11 or above upgrades (anything including 11.0.0.159(C431E11R2P3) and above), can´t connect to the phone with "cheap" usb cables, when the OS is Emui 10 or Emui 9. BUT! It still connects, if you use high quality good cables. The cheap cables only get recognized again. when the phone has Emui 11 or 12 again. It is definitely NOT a hardware Problem. Also I tested with various cheap and high quality usb cables. Huawei changed something with the 11.0.0.159(C431E11R2P3) update; so DO NOT UPDATE your phones to that version or above. It´s not worth it, the EMUI 11 and 12 versions really suck.
[Redmi Note 9 Guides, News, & Discussion] VD171:
Warnings:

- If you try to flash in "firmware upgrade" mode, bootloader will be

LOCKED

again !

-

NEVER

try to flash in "format all" mode ! Otherwise, you will LOSE all secure and identifying infos for your device. Like IMEI and MAC.

- Keep your backup files safe and secure ! If you can, encrypt them.

-

Never

try to share your backups or your security and privacy will be compromised.

- USE AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR YOUR ACTIONS.

Downloads:

-

SP Flash Tool

(Windows): https://spflashtools.com/category/windows

-

SP Flash Tool

(Linux): https://spflashtools.com/category/linux

-

Download-Agent

(

DA

)

file

: https://xdaforums.com/t/da-flash-da...omi-redmi-note-9-xiaomi-redmi-10x-4g.4209765/

-

Scatter

file

: https://xdaforums.com/t/scatter-fla...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223097/

- (Optional)

ReadBack

file

: https://xdaforums.com/t/readback-fl...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223109/

Alternative Downloads:

If you are having problems for flashing on Windows with sp flash tool, give a try on these versions:

-

SP Flash Tool v5.2020

https://spflashtools.com/windows/sp-flash-tool-v5-2020

-

SP Flash Tool v5.1920

https://spflashtools.com/windows/sp-flash-tool-v5-1920

-

SP Flash Tool v5.1916

https://spflashtools.com/windows/sp-flash-tool-v5-1916

1. Extract (or install)

SP Flash Tool

.

2. Extract

Download-Agent

(

DA

)

file

to the

SP Flash Tool

home folder.

3. Copy the

Scatter

file

to the

SP Flash Tool

home folder.

4. If you've downloaded the

ReadBack

file

and want to make backup of your device, copy the

ReadBack

file

to the

SP Flash Tool

home folder. If not, skip this.

5. Run

SP Flash Tool

.

6. Select Download tab.

7. Click Choose button for finding the Download-Agent and select the

Download-Agent

(

DA

)

file

.

8. Click Choose button for finding the Scatter-loading and select the

Scatter

file

.

9. Click Options in the menu bar. And then select Option.

10. In General tab,

UNCHECK

"LIB DA match" and

UNCHECK

"Storage Lite Cycle".

View attachment 5212401

Done

! 🥳

Now you are ready for to flash, to format or to readback whatever you want.

How to properly solve the errors of the SP FLASH TOOL ?

If you are facing any error or any problem using the SPFlashTool, try this guide: https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4238161/

:unsure: Do you need help with your MERLIN device ?

Read this FAQ

: https://xdaforums.com/t/faq-guide-h...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
[Redmi Note 9 Guides, News, & Discussion] dokja28:
whats the difference between sp flash tool and xiaomi flash tool?
[Redmi Note 9 Guides, News, & Discussion] VD171:
MiFlash uses fastboot writing.

SP Flash Tool uses eMMC writing.
[Redmi Note 9 Guides, News, & Discussion] dokja28:
Oh so if i want to flash older miui version for example I'm on global 12.0.6 and i want to flash 12.0.3 global what would i use so that my bootloader cant be lock
[Redmi Note 9 Guides, News, & Discussion] VD171:
Try using sp flash tool.

But if you are on V12.0.5.0 or higher, you need to bypass authorization and flash in EDL mode: https://xdaforums.com/t/guide-how-t...d-flash-in-edl-with-no-auth-for-free.4229683/
[Redmi Note 9 Guides, News, & Discussion] Communos:
Xiaomi flash tool is an official tool specifically only for Xiaomi devices, it can flash in fastboot mode and download mode both.

Sp flash is an unofficial tool which works for almost every device with Mediatek chipset, and it can flash only in download mode.
[Redmi Note 9 Guides, News, & Discussion] definitelynotgeddd:
help this is what happening after i inserted the device
[Redmi Note 9 Guides, News, & Discussion] VD171:
You are using wrong DA file.

See "

Download-Agent

(

DA

)

file

" in "Downloads".
[Redmi Note 9 Guides, News, & Discussion] Jazzda:
@VD171

Probably an unusual question:

I hate android 10/11, they simply abuse of "security" bs and prevents us of doing what we want with our phones.

Is it possible to get rid of dynamic partitions and install some android 9 (Pie) from old days of freedom?
[Redmi Note 9 Guides, News, & Discussion] VD171:
Do you mean some rom like GSI ?

I have no ideia, my friend.

But, android 9, 10, 11 and 12 are totally compatible.

So, I think yes, you can.
[Redmi Note 9 Guides, News, & Discussion] Jazzda:
Yes, I mean GSI, but without the super partition, where every partition goes to root (boot, system, vendor, userdata, etc)
[Redmi Note 9 Guides, News, & Discussion] VD171:
Just try and then tell us the result.
[Redmi Note 9 Guides, News, & Discussion] Ray Gaming:
help me redmi note 9 hard brick 3 months. can't access fastboot, help me redmi note 9 hard brick 3 months. can't access fastboot, not edl, and can't enter recovery, my redmi note 9 restarted 2x. the last solution was to use sp flash and as a result there was a notification like ininot edl, and couldn't enter recovery, I restarted my redmi note 9 twice. the last solution is to use sp flash and as a result there is a notification like this
[Redmi Note 9 Guides, News, & Discussion] VD171:
Try to flash other MIUI versions in firmware upgrade mode.

Good luck
[Redmi Note 9 Guides, News, & Discussion] VD171:
Good work, my friend.

I suggest you to unlock bootloader once you can and then, backup it following my guide:

https://xdaforums.com/t/guide-unloc...omi-redmi-note-9-xiaomi-redmi-10x-4g.4220013/
[Redmi Note 9 Guides, News, & Discussion] MA7MOD_GSM:
How can restore unlock boot status after backup seccfg?
[Redmi Note 9 Guides, News, & Discussion] VD171:
Just follow the guide and select the seccfg partition to download only.
[Redmi Note 9 Guides, News, & Discussion] Jairsantana:
so I'm flashing the romglobal v11.0.9 then I flashed the md1img from rom_eng but waht I do is replace the one on the global rom nd the flash it because if I load the entire rom_eng it says that I have to flash erase all but I can't still use maui meta
[Redmi Note 9 Guides, News, & Discussion] Manjotbenipal:
So can i

So can I use miflash to flash my Merlin and will i need to pass any authorisationnif i want to downgrade from 12.5.5 to 11.0.2?
[Redmi Note 9 Guides, News, & Discussion] Manjotbenipal:
Sorry I'm here again but I have read many articles in which it is said that miflash only supports snapdragon devices and if i select chip as mtlb in mi flash then it just converts into spflash tool.

Thanks if you can guide me whether I should go with snapdragon method or use spflash?😶‍🌫️
[Redmi Note 9 Guides, News, & Discussion] VD171:
Sp flash tool works with mediatek devices only.
[Redmi Note 9 Guides, News, & Discussion] kushypro:
I flash erorrs status_da_hash_mismatch [0xc0070004] help me ?
[Redmi Note 9 Guides, News, & Discussion] kushypro:
status_da_hash_mismatch [0xc0070004] help me bro ?
[Redmi Note 9 Guides, News, & Discussion] VD171:
See step #10 of this guide.
[Redmi Note 9 Guides, News, & Discussion] tanmay99:
So I am not sure if I it is possible to use sp flash tool to perform readback without unlocking the bootloader. My device is running vanilla 12.5.5.0(RJOINXM) and has not ever been modified.

I decided it would be a great idea to backup (readback) partitions (particularly userdata) before trying mi unlock as it apparently erases the device.

I first followed this guide (bypassing auth in edl) and tried readback, but it shows "STATUS_PRELOADER_INVALID" (do note that I was using MT6768_Android_scatter--V12.0.1.0.RJOMIXM.txt, as I couldn't find a scatter file for newer version if that matters (the start addresses and lengths were matching with the ones in this guide) ).

Leaving it at that, I then tried point 12 of faq-guide-help-assistance-solution-centre-for-merlin, but when flashing preloader in fastboot, it says the obvious FAILED (remote: 'Download is not allowed on locked devices').

Is it just not possible to use sp flash tool to for anything without unlocking the bootloader? It would be great if @VD171 could assist me.
[Redmi Note 9 Guides, News, & Discussion] VD171:
I'm not sure if you can perform readback with locked bootloader.

I just know you can flash with locked bootloader, except for locked partitions.
[Redmi Note 9 Guides, News, & Discussion] KapilSharma180:
Hey bro... I just format all in and didn't tick the "format all except of bootloader" option. Now my device is bricked. I can't access fastboot, recovery and it doesn't on. If i press power button it just viberate for some time. It doesn't show on pc either when i connect it to pc.

Helpppppppp bro😭😭😭
[Redmi Note 9 Guides, News, & Discussion] black_skull:
Hello, could you help me, I have been trying to flash the firmware of my Redmi Note 9 for several days, it is the 3GB RAM and 64 GB ROM version (Redmi M2003J15SS polar white), I tried with the rom, DA and auth file that you use but I always get this error comes out; How did you solve it?
[Redmi Note 9 Guides, News, & Discussion] Tubara0:
Hello all,

I have one Redmi Note 9 (128GB/4G) with MIUI 13.0.3.0.SJOEUXM (original), however as I'm having some problems with this version, I tried to flash it with SP Flash to MIUI 12.5.6.0.RJOEUXM (Recovery) but I made the mistake with option "Format All + Download" instead of "Download".

Now, I can boot MIUI but the in the initial configuration, it has a big "loop" in "Getting your phone ready" (if I add a network) step. When I skip it and starts the phone, I have the Google Services error: "There was a problem communicating with Google servers. Try again later".

I know that I made a mistake in "Format all + Download" but now, I have any option that makes possible run MIUI 12.5.6 with Google Services on?

I already reflash following the steps of this topic but the problem remains the same.

Thanks a lot for your help.
[Redmi Note 9 Guides, News, & Discussion] kaustubhismyname:
if you did format all+download them i'm afraid you've deleted your IMEI and baseband. Youll have to fix it i think for google services to work, maybe.
[Redmi Note 9 Guides, News, & Discussion] Tubara0:
I had the same conclusion today. Thanks for your answer, I saw that some people with same problem is discussing it here in other thread: https://xdaforums.com/t/redmi-note-9-merlin-finally-first-method-to-fix-1-slot-imei.4258977/page-4

I'm trying to understand the best method for me.