yashsingh1/xdaforums huggingface dataset:
[General Topics] zak112233:
HELPPPP!!!!

Hello, I am trying to install a GSI for my phone.

It is a F22Pro from Qin and it has the Android 12 version.

I followed this tutorial https://binboupan.github.io/2023/12/qin-f22-pro -gsi/

and download the following gsi https://sourceforge.net/projects /misterztr-gsi/files/PixelOS/Android%2014/PixelOS_treble arm64 bN_slim-14.0-20240301.img.xz/download

but when I get to the point of flashing I get an error

PS C:> fastboot flash system C: \PixelOS_treble_arm64_bN-14.0-20240229.img

fastboot: error: cannot load 'C:

\PixelOS_treble_arm64_bN-14.0-20240229.img': Permission denied

I noticed that I didn't have the bootloader unlocked.

It should also be noted that I lost the backup

what happened I downloaded the gsi and extracted it I opened the terminal and ran adb devices After adb reboot devices After fastboot erase system And when it comes to trying to put the new gsi With the command fastboot flash system C:\Users\isaac\Downloads\Pix elOS_treble_arm64_bN_slim-14.0-20240301.img Error appears fastboot: error: cannot load 'C:\Users\isaac\Downloads\Pixel OS_treble_arm64_bN_slim-14.0-20240301.img': Permission denied

The problem is that the cell phone was turned off and is now in fastboot mode I understand that with the fastboot devices command, the pc recognizes it
[General Topics] paxm47:
hello, how to remove dm-verity error on boot?
[General Topics] paxm47:
can you move the image on the adb folder and try the command again?
[General Topics] Jam Rib:
I've successfully flashed evolution x GSI on the 22 and it works great. Quite a few of them and this was the best one. Also Bluetooth does not function with Android 14 GSI only Android 13. Fyi
[General Topics] Vuche:
Hello Jam Rib,

Can you give us some more information of which version you managed to install and that seems stable, with Bluetooth? And also which process you used to install it and the ROM you where on prior installation of the GSI one? Thank you
[General Topics] Jam Rib:
Yea. I used a rom from Project Treble on GitHub. Found the page through the official Treble app. Booted to fastboot. Then to fastbootd. Then flashed system.img. Basically follow this tutorial.

🤔 binboupan's blog | Installing GSI ROMs on the Xiaomi Qin F22 Pro

But he doesn't mention booting into fastbootd which you must do.

As for which rom I was on previously, I was running the Chinese version with the installed Google Play, but then overwrote that with a cleaner rom built by someone on XDA. I don't remember exactly what it was but I don't think it makes a difference in the end if you're overwriting it with a GSI.

Profit 👍
[General Topics] Vuche:
👍 Thank you

And do you have to set anything to have the keyboard, keyboard light and other things specific to the F22 Pro working properly?
[General Topics] ivli:
Hi there!

Does anyone know how to get back speed-dial application workin' on android stock rom? Have reflashed with duoquin provided tools/firmware cause original one missed WiFi/BT connectivity, this one misses speed-dial - the feature I bought this phone :-(((
[General Topics] Vuche:
Sorry, I don't have the app you need. But I was wondering where you got the duoqin firmware & tools from. Did you get it directly from duoqin? I also have a duoqin qin 3 Pro (not Ultra) that is in bootloop and I would need the original full firmware. I tried to contact duoqin per email with the information found on their website, but no response. If you used another way to get the f22 pro firmware, please let me know.

Thank you
[General Topics] ivli:
I think it is not only app but also launcher duoquin customized but decided not to certify with Google so it is not a part of firmware anymore. Yes I received firmware and tools from duoquin support
[General Topics] tai9Ohzi:
I managed to brick my F22 (non-Pro) while installing a GSI. It already had an unlocked bootloader from purchase, so I ran a few commands:

adb reboot fastboot
fastboot erase system
fastboot erase cache
fastboot resize-logical-partition system_a 1810000000 # trying to make room for the GSI
fastboot delete-logical-partition product_a # because there wasn't enough space to flash the GSI otherwise
fastboot flash system lineage-21.0-20240424-UNOFFICIAL-arm64_bgN.img
fastboot -w
fastboot reboot

now the phone reboots, and it shows a new screen that only says "=> FASTBOOT mode..." and nothing else. But when I run `fastboot devices` or `adb devices`, there are no results!

By holding down volume up + power, I can enter "recovery mode" which shows an error saying "No command", but by pressing power + volume up again, I can enter fastbootd and use fastboot commands.

Is there a way out of this or have I bricked the thing for good?
[General Topics] :
Does anyone know how to solve this? Cuz I'm getting the same problem
[General Topics] Vuche:
Thank you for your response. May I ask you how you got the firmware from duoqin? I tryed to contact them with two email adresses I found on their websites but none gave me an answer... and still no official support page with download links.

Thank you in advance!
[General Topics] ichanmrg:
Hello,

I badly need help.

I got my QIN F22 Pro this week and I Immediately flashed the stock ROM. I was able to flash it using SP Flash Tools but after that, my phone cannot be turned on anymore.

Anyone can help me with this?
[General Topics] ichanmrg:
Also to add, I tried holding Volume Up plus power button but nothing happened.
[General Topics] ichanmrg:
To add, I am having issues with payload when using mtkclient. I assume BROM mode is being detected but payload issue occurs.
[General Topics] ichanmrg:
I lost hope now. If anyone can help me with this, I can send 10$ via PayPal just for this to be fixed. Here are the logs:

C:\Users\user\Downloads\mtkclient-latest\mtkclient-54cd6583523e6983bcb53034ca6d25365c472b3c>python mtk w boot boot.img --preloader preloader_agn_1244ro_mt6769s_mx6432.bin
MTK Flash/Exploit Client Public V2.0.0 Beta (c) B.Kerler 2018-2023

Preloader - Status: Waiting for PreLoader VCOM, please reconnect mobile to brom mode

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

.......Port - Device detected :)
Preloader - CPU: MT6768/MT6769(Helio P65/G85 k68v1)
Preloader - HW version: 0x0
Preloader - WDT: 0x10007000
Preloader - Uart: 0x11002000
Preloader - Brom payload addr: 0x100a00
Preloader - DA payload addr: 0x201000
Preloader - CQ_DMA addr: 0x10212000
Preloader - Var1: 0x25
Preloader - Disabling Watchdog...
Preloader - HW code: 0x707
Preloader - Target config: 0xe0
Preloader - SBC enabled: False
Preloader - SLA enabled: False
Preloader - DAA enabled: False
Preloader - SWJTAG enabled: False
Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False
Preloader - Root cert required: False
Preloader - Mem read auth: True
Preloader - Mem write auth: True
Preloader - Cmd 0xC8 blocked: True
Preloader - Get Target info
Preloader - BROM mode detected.
Preloader - HW subcode: 0x8a00
Preloader - HW Ver: 0xca00
Preloader - SW Ver: 0x0
Preloader - ME_ID: 0892404412D1006E6C05A828ECE12E40
Preloader - SOC_ID: 76D5186378E9E7087EA4BA462A0B3BE5F1A43DE8BC45D217C4D995D74C800764
DA_handler - Device is unprotected.
DA_handler - Device is in BROM-Mode. Bypassing security.
PLTools - Loading payload from mt6768_payload.bin, 0x264 bytes
Exploitation - Kamakiri Run
Exploitation - Done sending payload...
PLTools - Successfully sent payload: C:\Users\ichan\Downloads\mtkclient-latest\mtkclient-54cd6583523e6983bcb53034ca6d25365c472b3c\mtkclient\payloads\mt6768_payload.bin
Port - Device detected :)
DAXFlash - Uploading xflash stage 1 from MTK_DA_V5.bin
xflashext - Patching da1 ...
Mtk - Patched "Patched loader msg" in preloader
Mtk - Patched "hash_check" in preloader
xflashext
xflashext - [LIB]: Error on patching da1 version check...
Mtk - Patched "Patched loader msg" in preloader
Mtk - Patched "get_vfy_policy" in preloader
xflashext - Patching da2 ...
xflashext - DA version anti-rollback patched
DAXFlash - Successfully uploaded stage 1, jumping ..
Preloader - Jumping to 0x200000
Preloader - Jumping to 0x200000: ok.
DAXFlash - Successfully received DA sync
DAXFlash - Sending emi data ...
DAXFlash - DRAM setup failed: unpack requires a buffer of 12 bytes
[General Topics] ichanmrg:
Hi, how did you recover your device? I desperately need help now.
[General Topics] samtee237:
I can try to help PM me
[General Topics] Akhlaque:
please help me ,same problem face
[General Topics] Akhlaque:
Please share me onec again. I need this rom
[General Topics] Akhlaque:
Anyone have duo qin f22 pro preloder back up?
[General Topics] veerusayz1:
I'll be truly greatful if someone can help to bring back life to my F22 pro which I bought it from London through my friend when he returned to India. It was hard bricked with no back up. PC identifies BROM mode. I tried flashing the stock ROM through flash tool but nothing happens when I click on download. I've installed mtkclient, python and entire set up.

Kindly help!!!!!!!!!!!!!!!!!
[General Topics] Akhlaque:
I can help , please message personaly
[General Topics] kamil.syria:
I think my problem from mtkclint

I will try with out it
[General Topics] kamil.syria:
Brother thanks a lot for your time

I try to do this👆🏻 but i get error msg same like a picture

Then i go to flash super.bin

Everything is okay

But still I have cracked with Bluetooth

Not open (this old problem)

Everything working good also i got play store but google keyboard is crashed

How i can get all languages
[General Topics] izyer:
fastboot flash system_a system_a.img
[General Topics] kamil.syria:
Thx bro

🌹🌹
[General Topics] bsoklev:
Hello,

I tried all of the methods but it neither work for me. Sequence of events as follows:

I got the phone and took a full backup by dumping the whole flash using mtkclient.

Extracted super.rar and used mtkclient to flash super.bin - after reboot phone boots to bootloader. There is no way to clear cache/data from the phone so I do fastboot -w. Same thing - phone boots to bootloader.

Flash from backup and phone boots OK.

Flash the 1.0.7_unlocked and phone boots OK to 1.0.7.

Flash super.bin again and once more phone boots to bootloader.

Flash 1.0.7 again - phone boots normally.

Flash super.bin using fastboot - access denied.

Use mtkclient to unlock the bootloader - phone boots with warnings.

Flash super.bin using fastboot - phone locks on bootscreen and gets really hot.

Flash 1.0.7 again - phone boots normally.

Unpack super.bin and got system_a.ext file

Flash system_a.ext with fastboot - phone locks on bootscreen and gets really hot.

Flash 1.0.7 again - phone boots normally.

Unpack super.img from 1.0.7 and got a system_a.img file.

Flash system_a.img file using fastboot - phone locks on bootscreen and gets really hot.

So, basically anything flashed with fastboot bricks the phone, super.bin flashed with mtkclient makes the phone to boot to bootloader.

The only thing that I am not sure how to do is how to properly unpack the bin or img files on windows so I do it on my macbook using Keka.

Any suggestion would be appreciated.
[General Topics] kamil.syria:
Follow this

It’s done ✅ with me Qin F22 Pro
[General Topics] izyer:
If you are flashing the super.bin (from super.rar) you cant flash it with mtkclient only from fastboot.

You have 2 options, first option is to:

boot your phone to fastboot

adb reboot fastboot

fastboot flash super super.bin

fastboot reboot

After this if your phone boots into the fastboot again type:

fastboot reboot fastboot (with this you will get into the menu where you can WIPE your data)

Second option:

unpack super.bin

adb reboot fastboot

fastboot reboot fastboost

fastboot flash system_a system.a.img (do this for all the files)

reboot the phone, if your phone boots again into fastboot do

fastboot reboot fastboot

wipe your data.

Done

What version did you had that you backed up with mtkclient? Can you share your backup? (without userdata or whats its called , thats unnecesary and it has 50GB) Maybe i can make one good ROM combining them.

adb reboot fastboot
[General Topics] bsoklev:
Unpack super.rar -> super.bin ✅

adb reboot fastboot ✅

fastboot flash super super.bin ✅

fastboot reboot ✅

⬇️

fastboot reboot fastboot ✅

⬇️

There is no option to WIPE from this screen!

fastboot -w ✅

I get first picture - blank screen with "=>FASTBOOT mode"

If I unpack super.bin and do

fastboot flash system_a system_a.img

fastboot flash product_a product_a.img

fastboot flash vendor_a vendor_a.img

fastboot reboot

⬇️

Phone locks on the this screen and gets very warm

I may have different phone type or bootloader or something else is different but I just can't get it to work.

Link to my dumped ROM V1.1.0
[General Topics] izyer:
Select Enter recovery when you get to that menu.

Edit: In worst case scenario you can flash everything from ROM 1 0 7 less super.img then only flash super.bin, i did it on mine and it worked.

Edit2: Both ways of flashing its good that after the flash you do

fastboot reboot fastboot

Enter Recovery

Wipe
[General Topics] izyer:
Does WiFI and bluetooth work in your ROM?
[General Topics] bsoklev:
Yes, WiFi and Bluetooth work. Microphone seemed OK when I was testing. I can't test VoWiFi and VoLTE as my service provider supports just handful of phones.

By the way, I still can't flash super.bin. When I do as you suggested - go to recovery and wipe then reboot and the phone boots to bootloader again and again.

I went as far as trying to create my own super.img partition by re-packaging the system_a.img, product_a.img and all the other files using lpmake tool, but initial tests are not promising either.
[General Topics] izyer:
Did you try to flash everything from ROM 1.0.7_unlocked (with mtkclient) and boot up in 1.0.7 then flash the super.bin ? (i think you need the bootloader from 1.0.7. but be sure on startup to select first option , second its student mode that replaces the bootloader somehow)

I hope we can get that 1.9.8 firmware soon, it seems to have everything.
[General Topics] gaguga:
This is my full backup.

It's for phone recovery.

See how to use it here.
[General Topics] izyer:
The video is private and i dont see where you uploaded your backup, i only see the Android_scatter_Fastboot4_64.txt
[General Topics] gaguga:
and now ?
[General Topics] izyer:
I see it now but where is the DUMP? Is that only for F21?
[General Topics] gaguga:
the process is the same
[General Topics] bsoklev:
Can you take a full dump of your phone with mtkclient ?

See the video and the link in the description of the video to download version (works only on windows) of mtkclient which doesn't need Python3. Install driver and the mtkclient gui.

Power off the phone, press volume down and power button and simultaneously plug in the phone to the usb of your laptop/pc. Keep buttons pressed until you get a bunch of stuff appearing in the console then release buttons. Then go to "read partitions(s)" tab and select everything except the "userdata" partition. When you get all partitions downloaded to your laptop, then compress them and share here.
[General Topics] izyer:
He has F21 pro not F22 pro :) its not useful for us.
[General Topics] izyer:
Someone uploaded the international version of the firmware but i dont know rusian and i cant get the password , any of you can?

Qin F22 pro. выпущенная мной международная версия. распаковать пароль. бин190621 или than

https://drive.google.c…Zawg/view?usp=drivesdk
[General Topics] bsoklev:
The password is "than"

I will try to test it today but I am very busy with work so it may need to wait...
[General Topics] izyer:
It seems to work , not all languages are fully translated but they are like 80% , it has google play and root, i have to test for the other things.
[General Topics] vishalharenshah:
I follow your thread for a couple of weeks. I have the same problem. Can you please explain to me how to flash this Russian firmware that you got? what is the procedure? Thank you.
[General Topics] izyer:
1) Turn off the phone with an

unlocked

bootloader.

2) In SP_Flash_Tool, select the Qin F22 Pro Root.txt file in the scatter field .

3) In rows with sections

, all checkboxes

on sections are enabled.

4) Click on Download, then connect the phone.

5) Upon completion, disconnect the phone from the cable, turn it on, get into Recovery. Choose Wipe All and Reset .

(random youtube link)

Volte and HD call seems to work , VoWiFI seems to throw an error like before when you want to enable it , translation are not 100% but they are OK (the phone app seems that is not translated) , still cant remove the right screen or add widgets (have to install 3rd party launcher), everything else seems to work so far.

Edit:

If you use an app like

https://play.google.com/store/apps/details?id=de.szalkowski.activitylauncher and serach for WIFI calling (depends on your language) you can enable it from there and its working.

For some reason i dont have root because ive installed the no root version first.
[General Topics] vishalharenshah:
Is there any setting for Sp tool because I am getting too much errors.
[General Topics] izyer:
Be sure you have an unlocked bootloader. I used SP_Flash_Tool_v5.1924_Win (ive uploaded it here)
[General Topics] vishalharenshah:
Due to SP tools flash error my device bricked. Right now it’s just not responding.
[General Topics] izyer:
It happened to me too ,took me 2 hours or so to fix it, you tried to flash with an locked bootloader

I flashed everything from a backup with mtkclient then when i tried it again it worked.
[General Topics] izyer:
Edit: ill upload my backup and ill tell you what i did , i am not sure what fixed it exactly but yeah it worked in the end.

I did all of this after my phone was bricked and the screen did not light up.

So i got into mtkclient (download my arhive and you need to have python installed , check mtkclient website)

opened Flash Tool (SP FLASH ive uploaded in the other post) and used Format all Flash then disconnected the phone

(somtimes needed to keep OFF button pressed for 10 sec before i can connect again)

after that

cd mtclient

python mtk wl ROM (this will flash all the files from my backup - unlocked bootloader)

pressed volume UP and volume Down at the same time and connected the USB to the phone, phone started flashing the files

after all done i disconnected the phone from the USB

opened Flash Tool and i pressed Download button with everything selected.

connected the USB to the phone (without pressing anything on the phone)

it flashed and it worked.

---If the computer cant find the phone keep the OFF button pressed for 10 seconds then try again.

Was a bit messy when i was trying to connect the mtkclient , tried in different ways , you need to figure it out if it doesnt work exactly with what i wrote.

Edit: There was magisk app installed somewhere and i have root now too. (it wasnt showing at the beginning but after i installed a different launcher and rebooted the phone i saw it there)

What ive noticed , VoWifi option doesnt work from the settings menu (crashes) , you need some 3rd app to enable the switch , Call Log (phone app) is not fully translated and the main launcher is limited , you cant change any settings (for home screens etc..) , everything else seems to work.

Link: https://files.fm/u/cvxzz2gaq
[General Topics] bsoklev:
I can also confirm the ROM works fine. I've done very little testing but seems OK.

It was a nice surprise after all those failed attempts to make the phone work with super.rar, I managed to install the ROM first time and it is working OK. Some of the submenus of the main settings menu crash and the overall feel of the system shows that it is not the most stable but it is usable.

It remains to be seen does the OTA update work...
[General Topics] snorkel0906:
我最近剛買了小米F22 pro

因為是中文版，很多app在台灣用不到

剛看到你的帖子刷機和這個國際板的ROM

你願意教我如何從頭開始用goolge版刷F22 pro嗎？

非常感謝您

Mod translation:

I just recently bought a Xiaomi F22 pro

Because it is a Chinese version, many apps are not available in Taiwan

Just saw your post flashing and ROM of this international board

Would you like to teach me how to flash F22 pro with goolge version from scratch?

Thank you very much
[General Topics] izyer:
I added a link to your post in the main post.

Can you make an MTKCLIENT backup with all the changes that you made? (maybe disable the updater too)

Also there is another ROM , i am not sure what is the deal with it:

F22 Pro - Google Drive

drive.google.com

I would like to add translated languages to the Phone app (Phone Log or what is called) and fix the VoWifi toggle as its mapped to a wrong "shortcut" that it doesnt exist and it crashes , i found the right shortcut that works with an "system app explorer" but i am not sure how i can change that in ROM. Also it would be nice if i could delete the left screen or some option that would add an shortcut button for apps instead of showing them in to the next screen(s).

Edit: i dont know what is the best way to repack the super/system images after i change them , maybe i should just do it inside the phone then make an MTKCLIENT backup. (if possible)

Im helping some blind people with this phone and they need the right language (so they can hear the options from Talkback) , everything else is translated for what they need less the "Phone App" main screen. Also they need a fixed "Home Screen" as they will get confused (im leaving only the Phone App , Msg App ,Contacts" and 2 other apps that are made for the blind) , so would be great if i could remove the other screens (at least the left screen with the search thingy) , im testing the Nova launcher atm that fixes this issue but its adding few others (like pressing top right button will open a settings menu that can confuse a blind person).

At the moment i just have one phone for testing but if i could resolve this issues i would like to get more so i can help some more blind persons here that need an android phone with keypad. (they are a bit old too so they are not familiar with the touch but they can use an android phone as long it has a KEYPAD that its mapped correctly)
[General Topics] a_testi:
Here is NVT ROM cleanup second attempt.

Additional changes since the first attempt:

Reverted NVT's iPhone/Samsung/Vietnam ringtones/notifications/alarms to the original ringtones from the factory ROM and translated the track titles of the underlying OGG files from Chinese to English.

Reverted wallpaper_01.png that NVT scribbled over to the original from the factory ROM (the wallpapers are stored inside /product/priv-app/Settings/Settings.apk but this is

not

the actual Settings app)

Restored the camera shutter click sound (camera_click.ogg)

Added Traditional T9 keyboard as a preloaded app so there's at least one working keyboard to get going, but it can be uninstalled like any standard app if you don't like it (the patched Freetel Musashi keyboard form Github is quite heavy at 250MB. t9.apk only takes 3MB space in the ROM)

I hope it is now fully cleaned of all the NVTisms, but I did leave his initials in the Android build number in the settings app, so that he doesn't feel uncredited for his work.

Download: https://anonfiles.com/baW9HcMey0/ThanClean2_7z

Checksum ThanClean2.sha512:

7afd1d2b6df836fbe6c22f8d4eb0f07b9c4aeb68c442fab873d483dc90ff88abef936b4160bdfea463a49394ebe146a7199e2e607c05e2ca4d773ede8f97436f *ThanClean2.7z
[General Topics] a_testi:
Sorry the spam but I just want to quickly confirm that the call recording feature in the Phone app works perfectly, and the automatic call recorder also works. Finally an Android phone that can record calls. (^^♪
[General Topics] izyer:
Great job man , ill check it out soon.
[General Topics] a_testi:
I made another build that adds in Android Auto. I hope I am finally done now and can get back to using the phone for its intended purpose: not using my phone so much. :cautious:
[General Topics] nvthd94:
my rom is free . Don't say bad things about me. you may not use it. ok 🤨
[General Topics] izyer:
No one said anything bad about you, do you see any post from me saying something bad?