yashsingh1/xdaforums huggingface dataset:
[General Topics] Jbazt_katuforzs:
Most wont boot after installing gapps i provided maybe because its still not rooted. I suggest install "root checker app" from playstore and check before flashing gapps.

The reboot after installing busybox and magiskhide props is necessary.

Regardless on what the trouble, you can always start from scratch flashing. Ive encountered a bootloop and boot to fast boot only, but i can still flash it.

I even encountered phone not responding on plug, only black screen, wont turn on, and wont charge (felt hardbricked) and i still was able to flash it just by opening the device , removing battery connector and re-attaching it fixed the issue

The device is soft brick proof imho. Using the phone 2 yrs now and still loving it everyday. I just hope we can convince douqin to release the kernel sources. Perhaps the US distributor (F30) could demand for that? Kernel sources means unlimited potential, crazy variants of custom roms based on AOSP pure android, and crazy amount of development.
[General Topics] skylar1146:
Hello everyone, I just spent my entire weekend trying to get this f21 setup to no avial.

I did the entire process three times, but every time I get stuck on the SNWriter tool w/ the error SmartPhoneSN:ApSwithtoModernMeta_EX: Enable MODEM meta from AP meta fail. It will get 10 bars in and stop.

The log for SN writer shows a loop of '02/10/24 06:29:18.923 [14836][15164]: [AP_META] BROM: <0> WARNING: EnumerateDevice(): Get friendly name failed! Err(13) (com_enum.cpp:618)'

or

(META_Utility.h:172)

02/10/24 06:31:36.169 [14836][15164]: <0> META_WaitForTargetReady_r(): target had no responses! (Init.cpp:1974)

02/10/24 06:31:36.169 [14836][15164]: <0> ------- Request ---->>> (Init.cpp:1878)

02/10/24 06:31:36.169 [14836][15164]: <0> META_WaitForTargetReady_r(500, 1): req=FT_IS_ALIVE_REQ(8)->NO_TYPE(0), cnf=FT_IS_ALIVE_CNF(9) (Init.cpp:1886)

02/10/24 06:31:36.169 [14836][15164]: <0> META_WaitForTargetReady_r(): waiting for target ready confirm ... (Init.cpp:1895)

02/10/24 06:31:36.169 [14836][15164]: token(253): cb_map::PrintCbInstallationLog(): FT_IS_ALIVE_CNF(9)->NO_TYPE(0), cb(0x053E4C70) (Callback.cpp:192)

02/10/24 06:31:36.169 [14836][15164]: <0> ConstructPrimitive(): FT Message ID (8), Token (253), Local Len(12), PDU Len(0), success (META_utility.cpp:314)

02/10/24 06:31:36.169 [14836][15164]: <0> META_WaitForTargetReady_r(): send FT_IS_ALIVE_REQ(8) request 1 time(s). (Init.cpp:1936)

02/10/24 06:31:36.169 [14836][15164]: <0> SendPrimitive(): local_param[12]:

00000000: 01 00 0C 00 FD 00 08 00 00 00 00 00

I tried just setting the imei individually with every possible tool I could find but none worked. Whenever I finish step 5 I get an invalid imei and baseband and cannot repair.

What I tried:

All tools I could find on hovatek (Modern Meta writer, Maui writer etc)

Various versions of these apps, including SN Writer

Rooted phone and tried to set through ADP

UncleTools, Ghost Phone, ToolsHero, IMEI masking appa via eXPosed, and related apps

MTK Engineering Mode App, Engineering mode on f21 doesnt seem to have the option to set IMEI directly

IMEI Repair Tool for stores

Should I be holding back the entire SN Writer process? I've tried all variations, holding the entire time, only holding til meta mode activated, not holding at all etc.

I can reapply my old nvram,nvcfg and nvdata with SP flash but of course dont have bands with this

If anyone could point me in the right direction it will be greatly appreciated!
[General Topics] motty12:
Hi all! i bought another one bc my old one is dying, but this time i bought it from a store with google on. i still want to flash it to this system because ive been using it for a while and i know the system however it seems to have a block on it because when i try using the flash tool this comes up. Any ideas?
[General Topics] samtee237:
Interesting make sure your phone is off and try again
[General Topics] motty12:
It was off :( tried a few times...
[General Topics] Print-terra:
Hi everyone,

I'm having a problem installing the apk. I moved the apk from the file to the phone and now when I want to install it I can't press it. What should I do?
[General Topics] Beetrootman:
APKs need to be in the root storage folder, not downloads or a sub folder

Does anyone have any hints how I might add a custom dial assist country code? I am in Switzerland so I'd like to add +41
[General Topics] Print-terra:
Thanks it worked
[General Topics] Beetrootman:
I have just gone through the process and got everything working. There were a few steps where I got stuck, mostly due to the wording of the guide, or other random factors. For example you have to download Magisk release 22.1 directly instead of using the one provided which is the outdated "manager" version (https://github.com/topjohnwu/Magisk/releases/download/v22.1/Magisk-v22.1.apk). I will do a write up at some point when I have time, but feel free to ask questions in the meantime.
[General Topics] Beetrootman:
Hi, I've installed magisk 27, zygisk, safety integrity fix module, denylist set for all google services. Google Play store works, but it's saying device not certified. I have previously changed my fingerprint prop with the one you suggested. Are you also getting the device not certified using the latest magisk?
[General Topics] Beetrootman:
To answer my own question, the safety integrity fix module is not necessary, it seems to overwrite the spoofed fingerprint for one that does not work. I removed it and play store is certified again.
[General Topics] talmid01:
The newer Qin F21 that was produced in 12/2023 comes with a firmware 2.0. Does anyone know how to unlock those? I am not able to use the same method as for the previous version.
[General Topics] samtee237:
Yes same here I am trying to flash US bands My bootloader shows that it's unlocked but it's still not working someone told me that we might need a custom DA file very very frustrated if anyone that has any ideas please share
[General Topics] samtee237:
Interesting my friend gave me a phone to flash US bands and I'm getting the same message as you are did you by any chance figure it out?
[General Topics] motty12:
no. apparently you need a different DA
[General Topics] samtee237:
I see there might be a solution based on this website but I had trouble setting it up so if anyone can look at it and help me out I really appreciate it.

It's now easy to bypass MediaTek's SP Flash Tool authentication

A group of developers has created a Python utility to bypass the authentication routine of MediaTek SP Flash Tool. Check it out now!

www.xda-developers.com
[General Topics] talmid01:
Doesn't work. It does work with previous version of the phone.

I wonder if it has to do with the VendorID and ProductID. The previous one has: 0e8d:2000 and the new one 0e8d:20ff

Any other ideas?
[General Topics] talmid01:
How can we find the right DA?
[General Topics] samtee237:
First of all I never knew the previous version had problems I never had a problem with it Second of all is there a way for me to change the vendor ID and the product ID maybe if I can access the right files with root we can change it back
[General Topics] talmid01:
Those ID's are hardcoded in the device. Interestingly when I look in the props it show for both:

[ro.board.platform]: [mt6761]

but when I print /proc/cpuinfo

NEW: Hardware : MT8766B

OLD: Hardware : MT6761V/WBB
[General Topics] samtee237:
Yeah I noticed it too what else could we do
[General Topics] talmid01:
I don't see that processor being supported by mtk_client. I'm willing to help to figure out how to reverse engineer it, but I don't know how.
[General Topics] samtee237:
So it's not mt6761 anymore
[General Topics] samtee237:
If we can get hold of the right files we can try to hex code it
[General Topics] the-ephus:
Any updates on your progress? My F21 with G Play is on the way…
[General Topics] tlxxxsracer:
Updated magisk fine after I had done the steps prior
[General Topics] tlxxxsracer:
You get a written guide done? Somehow I did this process on someone else's F21 but cant get it working on mine. I flash Magisk (all sort of methods) and it just boots into TWRP. I've tried patching the boot_2 img, I've also flashed the 22.1 apk (by changing the file extension to .zip) and same result.

Is there a point where we should format data, reboot recovery and then flash? I cant remember the sequence I got to working before and not sure why I cant get it booted when I attempt to root.

I got it working. Patched boot_2 img and flashed it via fastboot.
[General Topics] issac957:
we need a new DA file since December all phones that have been made can't be flashed since they need a new DA (download agent) file...

if anyone knows more or anything please comment
[General Topics] yechiele:
I am having this same issue. I tried using MTK Unlock Tool too, but does not seem to work for me.

Has anyone been able to get around this issue?
[General Topics] samtee237:
Try unlocking the bootloader
[General Topics] yechiele:
I did a few times with the Unlock tool, and it says worked sucessfully. Howerer, something obviouly is not working right, as now I get this error in SP Flash tools.
[General Topics] GoukiADKR:
Hey guys!

I need a bit of help please.

I tried to flash the ROM on my 3/32 and after rebooting it got stuck on a black screen on fastboot mode.

I've tried to return to TWRP but didn't manage, the phone is just rebooting to the same screen.

Any suggestions?
[General Topics] daehimeh:
Hello everyone. I have hit a snag. For some background, I have already successfully done this process twice, I set one phone up and decided I wanted a black one instead of a white one so I did it on a second one. As an experiment I decided to see how much of the process you had to redo if you did a factory reset in Android on the white one. Unfortunately I am running into a few problems this time around.

I got all the way through the process to installing Magisk and had an issue and decided to start the whole process over (I don't remember the issue) Starting the process over I couldn't get the phone to flash. I think it's a cache issue with my PC because I used a different PC and it flashed fine. Now I can't install the APK's they are in the folder, but they don't do anything when I click them. I tried to add installation privileges to the Files app but installation privileges aren't even in the special permissions.

Any ideas? The APK's installed fine before but I have redone the process from square one probably 20 times now and I can't get the phone to recognize APK's.

Thanks
[General Topics] Jbazt_katuforzs:
Settings > storage > go to files > find the apk > it should install now
[General Topics] Chet50:
I have recently received one with a MT8766B processor and also get the STATUS_BROM_CMD_SEND_DA_FAIL (0xC0060003) error from the SP Flash tool.
[General Topics] samtee237:
Problem was officially resolved a developer on telegram figured it out but he did not release the guides or the files yet I'll keep everyone updated when he does.
[General Topics] issac957:
what's his user name? and how do you know that he resolved it?
[General Topics] samtee237:
He told me himself
[General Topics] lazerb0i:
Hi everyone, I am using a 4/64 phone.

I managed to do everything successfully and was going to sell the phone so I did a reset through the Android menu and now it just boots me to TWRP.

Does anyone have a .ZIP I can flash from TWRP or do I need to flash through SP Tools once again?
[General Topics] samtee237:
Try flashing just the boot image from stock to the boot partition using TWRP if that doesn't work use SP flash tool.
[General Topics] lazerb0i:
I actually ended up doing the whole process from scratch and I now have it back in fully working condition. Made a TWRP backup this time, lesson learned.
[General Topics] Jbazt_katuforzs:
You should've just format data.
[General Topics] qinpro:
Hi, everything worked great, but now android auto won't work and it was working before i did the whole root.
[General Topics] Jbazt_katuforzs:
For those who having trouble flashing this, or in a boot loop state/ soft brick you can try this....

Need bootloader unlocked

1. Boot to fastboot

2. While in fast boot type...

"fastboot getvar is-userspace"

3. then type....

"fastboot erase system"

This will erase current slot system in use

4. then type...

"fastboot delete-logical-partition product X"

X = the current slot in use ( A or B )

5. FLASH THE FIRMWARE POSTED USING FLSH TOOL

6. reboot to recovery (it should reboot to TWRP)

- via button combinationS

- via fastboot

" fastboot reboot recovery"

6. Wipe > Format Data > yes (do not wipe the system)

Try this if you end up in a boot loop. Goodluck
[General Topics] qinpro:
I put a new bootanimation on the phone but before the new animation plays it still shows the duoqin logo (not the animation), anyone know how to remove this?
[General Topics] qinpro:
also anyone know how to block factory reset on this device
[General Topics] yossi770:
any update?
[General Topics] Dis3ngage:
Hello. Have we any update on a new Download Agent for this? Thank you!
[General Topics] samtee237:
I don't want to get everyone's hopes up but hopefully soon. ✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊✊
[General Topics] Dis3ngage:
卄乇ㄥㄥ　ㄚ乇卂卄　乃尺ㄖㄒ卄乇尺

Let me know if I can be of assistance.
[General Topics] heimlichforone:
Have tried reinstalling adb/fastboot a bunch of times, but once it restarts into fastboot (says fastboot on screen where bootloader animation should be), it's now longer recognized by PC.

Not having any luck at all with firmware 5.0.2 4/64gb non-google version (allows apks). Tried flash tool - get BROM, also tried MUI Bootloader Unlock and it gets to verification stage and fails after that. The same with XiaomiToolV2 - although that one at least reads off the data like serial number from the phone, so at the very least it shows drivers aren't completely broken.

ADB seems to be working, but once it gets into fastboot mode, it just says "FASTBOOT", there is no bootloader animation, and it's either the fault of fastboot drivers or something else, but the phone is no longer recognized. There is also no recovery installed so it just takes you to an empty space with the android laying on the side animation.

Is it theoretically even possible to flash the old bootloader+old rom to then decrypt the partition and fix so as to decrypt it later and edit the US band or am I just being depserate. Thanks!
[General Topics] qinpro:
I need to block the web view for the Uber app only and not for the whole phone. I was able to block web view on other apps like Waze, but I can't figure out how to do it for Uber, without blocking web view on the whole phone. Can anyone help with this?
[General Topics] samtee237:
Remove just the browser activity
[General Topics] qinpro:
There are like 3 activities that say web in it and I removed them and it still didn't stop it. I don't see any activities that say browser in it for Uber.
[General Topics] samtee237:
How about try the apps 4 flip one that one should be kosher
[General Topics] qinpro:
I can put it on the qin phone?
[General Topics] samtee237:
Why not
[General Topics] qinpro:
ok, I'll try it, thanks.
[General Topics] qinpro:
I just tried, but it doesn't work properly, it doesn't let you sign in with a phone number or with Google.
[General Topics] qinpro:
Hi, I still need help with this:

I need to block the web view for the Uber app only and not for the whole phone. I was able to block web view on other apps like Waze, but I can't figure out how to do it for Uber, without blocking web view on the whole phone. Can anyone help with this?
[General Topics] samtee237:
I don't think the app is going to work if you block webview, it needs it for sign in.
[General Topics] qinpro:
The only app I found that needs webview for sign in is gmail
[General Topics] samtee237:
Well Uber unlike other apps uses an browser to sign in.

I think 🤔
[General Topics] qinpro:
ok thanks
[General Topics] Ward 30:
In the beginning of the tutorial, there is a link to the F21 Pro unlock tool, specifically for this device. This is super easy to use. https://xdaforums.com/t/tools-mod-scripts-mlgmxyysds-qin-f21-pro-unlock-tool.4368277

If you have issues doing it this way, just let me know as I have done quite a few devices with this tool...

how do i get this installed and working
[General Topics] Ward 30:
i am trying to follow these directions , i have number 1 finished biut how do i do the rest, or is this not correct to get a boot tool for quin f21 pro

Download and install PHP 8 for your system from the official website.

Enable GD extension in php.ini.

Place adb.php in php-adb to the directory.

Download platform-tools and place them in libraries. Note: Mac OS needs to rename adb to adb-darwin.

Open the terminal and use PHP interpreter to execute the script with the usage.

Wait for the script to run.
[General Topics] Ward 30:
any help ??

how do i install this on my windows pc
[General Topics] qinpro:
Does anyone know how to remove twrp or at least lock it after your all done. so users cannot get to twrp.
[General Topics] samtee237:
Flash just the stock boot.img
[General Topics] qinpro:
Thanks for your reply. The boot.img that comes with all the files in the beginning of this thread? also I should flash it in TWRP? if so which partition? also will all my edits that I made be saved and only TWRP removed?
[General Topics] qinpro:
also if you mean the one that comes with all the files, do you mean the boot_2.img?
[General Topics] samtee237:
No as I said you have to get the boot image from stock but you can flash it with TWRP to the boot partition or you can use SP flash tool
[General Topics] qinpro:
Where do I get that? and then TWRP will be gone and all my edits will still be there?
[General Topics] samtee237:
Come in private
[General Topics] qinpro:
Anyone know how to block factory reset, find my phone (so you can't factory reset from the computer), block developer options/adb, and installing apps on the qin?
[General Topics] doylio:
I've got a macbook. I can get into fastboot mode, but I'm not sure what to do from here. I need to flash some images? Is there a way to save my phone's current state so I can recover to it later?
[General Topics] siteluo:
Is it implied we'll have to grab the existing scatter file from our phone? My understanding from demo was that the provided one should work. Wondering if this has anything to do with being 3/32 instead of 4/64, but after sifting through about 70% of this thread I'm not seeing references.

I'm getting this error when using SP Flash Tool, will try copying over memory locations based on my scatter to the provided one and report back if that fixes things.
[General Topics] avwova:
I keep having this pop up on F21 Pro, any solutions?
[General Topics] siteluo:
The answer to this is apparently no, and I still wasn't able to flash the firmware with modifying my scatter similar to the linked XDA forum post. The backup ROM linked elsewhere in this thread got rid of this issue. If you're seeing the same issue, I recommend just flashing that and then beginning the process of rooting and save yourself sometime.

Fair warning, I only tested this on my 3/32 device which came in the blue/green Duoqin box, and not a 4/64.
[General Topics] avwova:
Am not able to receive/send sms..a have read all comments, tried all possible proposed solutions but the issue doesn't get fixed. Am on Los 19.1 3/32GB f21 pro. Engineer mode doesn't work on Los 19.1
[General Topics] siteluo:
Have you tried following this guide on Reddit? This guide just gets TWRP installed, the phone rooted, and GApps installed.
[General Topics] avwova:
I guess i have to try it, but iam not in US
[General Topics] siteluo:
Oh sorry, mixing up threads, depending on where you're at though maybe the additional bands from the F30 will be useful but I think they're USA focused. If it's not working in your area checking what bands you need, at least off an Aliexpress listing the F21 supports the following out of box:

2G GSM: 3/8

3G WCDMA: BAND1/5/8

4G FDD: B1/B3/B5/B7/B8/B17/B28

4G TDD: B34/B38/B39/B40/B41

Stateside 2G/3G are mostly/entirely off, but depending on your location it may still be available.

Not entirely sure but as mentioned elsewhere in this thread Magisk should only be version 22.1, looks like you've got version 27 there. Potentially that's causing an issue. The provided files has v22.1 bundled in to install, maybe try uninstalling the existing one and reinstalling the older version.
[General Topics] vallzy777:
If anyone can help it'd be appreciated :) (I've bricked my f21)

Accidentally formatted my Qin F21 Pro with SPFlash tool. What should I do?

Hi everyone, recently I have tried to root my Qin F21 Pro (4/64gb). However, I have accidentally managed to format the phone including the bootloader in SPFlash tool and it seems to be bricked. Now, whenever I try to flash a scatter file I get an...

xdaforums.com
[General Topics] vallzy777:
did you find a fix for this, i have the same issue
[General Topics] nezorfiu:
Does this phone support 5G? I bought the phone and in the ad is says 5G. I live in Ireland so I can connect to my data no problem.
[General Topics] avwova:
Am trying to update it to solve backlight being on. Flashing this module it gives an error, can someone help with this.
[General Topics] vallzy777:
I've managed to format my phone. Does anyone have a full firmware dump they could provide me with?
[General Topics] YzWolf:
any update?
[General Topics] samtee237:
The developer is offering to sell the file
[General Topics] mvikrant97:
Which file? Do you mean the firmware.

Anyone who have the same phone please dump your device firmware with mtk client and share it with @vallzy777
[General Topics] samtee237:
I'm talking about the files to unlock and flash mt8766
[General Topics] DSand1:
Hello,

unfortunatly i lack the working brain, therefor i cant fullfill this guide.

I just got a Qin F21 Pro build Number 1.1.6, Android 11, its a 3g/32G (should i rather refund and get a 4g/64g), i need a english/german browser, google or something similar, whatsapp with notifications, a podcast app, t9 keyboard, navigation app (gmaps).

If someone can help me (english/german/ little bit russian) set that up i would appreciate it.
[General Topics] Jbazt_katuforzs:
You could enable USB Debugging in developer options
[General Topics] Sense_101:
I know but is there a way to do it from engineering options? Or maybe a way from the twrp?
[General Topics] Jbazt_katuforzs:
Added Infos:

The playback captured videos from the stocked camera app seems broken.

This is a nice alternative camera app that works

Pixel Camera - Apps on Google Play

Camera app for Pixel

play.google.com
[General Topics] Jbazt_katuforzs:
Haven't explored it. But i doubt.

most SMS connection uses GSM. If your NETWORK SETTING is set to WCDMA or LTE only, the SMS frequency wont really work. Make sure you choose GSM in Engineering Mode NETWORK SELECTING.
[General Topics] Chabanda:
Thank you very much, I've followed the instructions and it's working.

I have a question, if i want to unroot my phone by uninstalling magisk manager, does my phone will work properly??
[General Topics] kirriane15:
Thank you for this! Right now I need help because I'm stuck because of an error in flashing the scatter file from the firmware folder (please check image). I heavily rely on google apps and services because of work and I really wanted this to work on my device. I really appreciate it if you can help me. Thanks a lot!
[General Topics] Jbazt_katuforzs:
Try extracting using 7zip. Don't use WinRAR
[General Topics] kirriane15:
Thanks for the reply. I started everything from the beginning and used 7zip for extracting. I'm positive that I didn't miss a step from the guide, but still the same error is showing from the flash tool. :'(
[General Topics] Jbazt_katuforzs:
What phone are you using? What variant? This is for 64gb qin f21 pro (MTK SOC). There's also a qin F21 PRO PLUS

(unisoc soc). This will not work on the PRO PLUS

Or your bootloader is still LOCKED
[General Topics] kirriane15:
This unit is F21 Pro 4/64. I think the bootloader is already unlocked too. I got this unit from here. https://shopee.ph/Xiaomi-Qin-F21-Pr...GPS-Duoqin-Translator-i.508710371.14038237662