yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
I see. Some people were able to backup or modify the firmware on 901D mode apparently, but I'm unable to do that. It says No Phone/No ESN on QPST program, and QFIL will say that no phone found on that port. Do you have any idea how can I achieve this? I've been trying many drivers to be able to do it, all of them has failed.
[Xiaomi Mi 8 Questions & Answers] tsongming:
You can use software tools such as this : https://forum.hovatek.com/thread-22384.html

This guy claims to have had some luck : https://xdaforums.com/showpost.php?p=76921725&postcount=23 with his Note 5 Pro. I am not sure if it will work on newer phones with, newer SDK's especially with the massive amount of security changes in the past 6 months.
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
Thanks a lot. I'm starting to think that I'm having this issue because of I'm on a custom rom. Does MIUI EU roms require wiping the data when migrating from other Custom roms? If so, I'll probably stop messing with it since I have 90 gb of data on my phone ?
[Xiaomi Mi 8 Questions & Answers] tsongming:
The last time that I installed EU beta rom, I definitely had to format storage and of course the same for the Stable build.

However, there is usually no issues when switching from one custom Miui to another, sometimes all I do is wipe cache, install the new Rom, ( FYI : temporary remove root prior to switching to avoid bootloops) and usually there are no issues at all. After installing the new Rom, I check for Google updates, clean out any remaining files with SD Maid, then Root the phone. To be clear, in this example, I am talking about using Miui Pro to Mi-Globe or to Ros Miui etc.

Again, I usually will always have to wipe storage when using the beta EU builds, which is why I usually stick with Mi-Globe when using Miui. On the other hand, for a long while I was using a version of TWRP that could not decrypt data. So it possible that I would have the issue with the TWRP that I linked above.

Currently my data is unencrypted and although I really like the recent Havoc Rom that I have been using for several days, I am wanting to checkout the very latest Stable Miui build ( and manually debloat it)

I will see if I can keep my data without wiping and come back her and let you know if I have an issue. ( I keep all of my most commonly used files on a Flash drive, so it doesn't take very long to restore its no where near the amount of data that you have. Plus, one thing that is great about Mi Cloud is how it restores practically everything.

[MENTION=6383156]The War Profiteer[/MENTION]

Okay, I just installed the latest stable, its updating now and I was able to confirm that all of my data is still here. ( Nice!) Which also confirms that the last time when I had an issue and had to format user data it was mostly likely because of the version of TWRP that I was using at the time.

So it seems if you want to install Miui Stable or Miui EU, your data should remain in tact as long as you are using a TWRP that can decrypt data or you do not have your data encrypted.
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
I'm using Pixel Experience. I'm sure switching between MIUI based roms are not an issue, but I'm afraid of AOSP to MIUI. ?
[Xiaomi Mi 8 Questions & Answers] tsongming:
I was on Havoc, and went to Miui stable, I wrote that in my post above.

All of my data is still here. Photos, Music, Texts etc.

[MENTION=6383156]The War Profiteer[/MENTION]

The confusion maybe came from my original statement then I came back and edited the post.

So there my original was due to TWRP.

Apparently no issue going from AOSP to MIUI... Using the version of TWRP that works with encryption.
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
That's awesome. Since I am creating backups of all of my apps, it feels safe to migrate temporarily. Still I will have NANDroid backups before I do. Thanks for the info. :)
[Xiaomi Mi 8 Questions & Answers] tsongming:
Anytime brother, you have definitely helped me before as well
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
A heads up: It works on stock miui while not working on pixel experience. Please write on this thread if anyone gets it working on any other custom roms.

Edit: Apparently custom roms don't have the required tools to use the software, only stock roms will let you to modify your efs.
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
Hi, if you still are on MIUI, can I have a screenshot of your /sys/devices/virtual/android_usb/android0 ? I think the required USB drivers for the communication between QPST and Phone should be in this folder, which are non-existent on a custom rom. I am expecting a folder named "f_diag".
[Xiaomi Mi 8 Questions & Answers] tsongming:
Sure, I am using Miui Pro at the moment. Here is the screen shot.

Unfortunately, no f_diag here. But I will look for it.

[MENTION=6383156]The War Profiteer[/MENTION]

This page has some information that may be helpful, there is also a video.

http://www.99mediasector.com/how-to-enable-qualcomm-diagnostic-mode-diag-port/

It's possible that the f_diag is hidden until its enabled.

According to the linked page : The DIAG PORT Code For Xiaomi Qualcomm : #*#717717#*#* or alternately *#*#13491#*#*

I hope this helps.
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
Thank you for the information.

The issue here is while diag port can be enabled on any custom rom using the setprop command, and will be detected by host, I believe the interface that allows the communication of the host and device does not exist on custom roms. I thought that the f_diag folder's content would be the interface and that's why I asked for a screenshot.

I am guessing that custom roms won't support modified modem/efs to get custom files for WFC and ViLTE. So to fix this, I've tried to replace priv-app content of the Pixel Experience with the ones from MIUI, and didn't succeed.

For now, I'm trying to find out which files in OS are responsible for WFC (ViLTE is not that important) and the interface of MIUI or any other stock roms that allows you to communicate with diag port.

UPDATE: It appears that diag port has something to do with the kernel, I'm still looking into it. It's possible that the communication between the host and the device may need an interface that is supported by kernel, still unsure about it. Needs more investigation. Unfortunately most of the people asking for "How to open it", but nobody asks "How does it work and communicate"", which makes it difficult to find the information I need.
[Xiaomi Mi 8 Questions & Answers] tsongming:
I have a couple of friends who have developed Miui Roms for years, and they definitely know Miui inside and out. I haven't spoken to them for a while, but I will message both of them and ask if they can come here and help.
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
Thanks a lot!

So I'll summarize the issue:

- The goal: My priority is to be able to use VoWiFi with the modified EFS, which works flawlessly MIUI but not on other ROMs. I'm suspecting that the ROM files aren't able to read EFS to provide VoWiFi or they don't exist at all, which means VoWiFi isn't supported by the ROM. Wanna fix this.

- Diag port seems to be communicating on MIUI while doesn't on custom roms. The reason to work with this port is to be able to edit EFS while custom rom is installed, since I'm creating an EFS backup on Miui and reflasshing it on the desired ROM.
[Xiaomi Mi 8 Questions & Answers] phonexpert_alex:
Just to clarify things a bit (my own experience):

-on my phone I have full working VoWIFI (at least on my second SIM) on Vodafone Germany.

-I'm using PE as a ROM

-it worked with both Sphinx and Canting Kernels

-VoLTE and VoWIFI are both Carrier dependant

-in order to get VoWIFI working, I just activated the option in the settings. It just worked ootb.

And I must say sorry, because I am not able to test other ROMs/kernels. I need a stable phone as a daily driver. I'm using my phone for work stuff too, because I don't want to have to carry two phones around.
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
Thank you for additional info, surely will help a lot to my search. I'm using PE CAF too (sadly, CAF will be cancelled).

First of all, I thought PE wasn't compatible with WFC, but your statement has confirmed that it's working, so the problem is on my side.

The problems I'm guessing that could be about ROMs and/or kernels are:

1- They may be unable to recognize/read/process a modified EFS and they may be reading only modem. I've merged the proprietary files for enabling VoWiFi, which were officially extracted from a SDM845 device that is officially supported by carrier, to the EFS using QPST. It was supposed to work on MIUI, and it did when I tested it. I created a backup of EFS and did a clean install of PE CAF, restored EFS from the backup and it didn't work. I also tested the backup with a clean MIUI setup and it did work, so I don't think there is an issue about the backup or restoration process since I used the same TWRP version.

2- Diagnostics port will be enabled with "# setprop sys.usb.config diag,adb" command, but since the kernel or the ROM doesn't have the interface to establish the communication between the host and the device, I was unable to check or edit the EFS partition if everything is OK.

I'm here to look for suggestions at the moment. Modifying modem image may be dangerous since it can be signed by the manufacturers in order to prevent any modification, which can lead to an unrecoverable bricks, and I don't know what to modify and how to do it.

Thanks, again. Pardon me if I did any grammar mistakes which will lead to misunderstandings or will make the post completely unintelligible.
[Xiaomi Mi 8 Questions & Answers] tsongming:
[MENTION=6383156]The War Profiteer[/MENTION]

Just wanted to let you know that I messaged Audrey and JMXL and haven't heard from either one yet. As soon as I do hear from either of those guys. I will message you.
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
Thank you! So I got vowifi and vilte working, I've found out that the issue was Xiaomi's stupid and retarded implementation of EFS. I guess I'll post a guide soon, preparing at the moment.

I can't believe I spent my days just because of their bad implementation.

Despite I have been successful on my goal, QPST and QFIL still doesn't detect the device.
[Xiaomi Mi 8 Questions & Answers] tsongming:
I will definitely look forward to that guide.

In hindsight I strongly agree and I definitely have a love / hate relationship with this phone.

I almost bought the One Plus 6T and I should had spent a little extra.
[Xiaomi Mi 8 Questions & Answers] lucisz:
Hello, I have a question, i've already backup before unlock the lte band, but after unlock the band, i cant connect to QPST, and also cant restore the backup. i think the drive is ok, and QPST still can can recognize thers is a phone, but cant get detailed information about the phone or connect with it. There are some screenshots

Hope your reply, thanks!
[Xiaomi Mi 8 Questions & Answers] tsongming:
I do not support any type of IMEI issues with the Mi8. Because, I haven't personally had any issues with bands, and I haven't tried to alter bands on this device, so I my suggestions would just be guesses.

Although QPST works incredibly well on most devices. apparently a lot of people have struggled when using it on some Xiaomi devices.. However, it seems that there is some good discussions with a group of people who have had some success working collectively on Poco and the Mi8.

You would be better off contacting them since they are much better suited to assist you. Specifically the last 2 pages of the thread seems to have promising results

Finally, I am assuming that you have the latest QPSt and all relevant drivers installed? A lot of people fail to install the Qualcomm drivers, you can download those here: https://androidfilehost.com/?fid=11410963190603864074

In addition you should read this thread which discuss troubleshooting QPST : Enabling DIAG for QPST

I hope this helps
[Xiaomi Mi 8 Questions & Answers] silviuk:
Hi, did you get the chance to write a guide for this? I couldn't find it among your other threads.

I'm also looking for enabling vowifi on a Mi8 for Vodafone Germany, but on MIUI (stable, unrooted). A brief guide would be enough. Many thanks!
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
Stay tuned, currently preparing a thread for that.
[Xiaomi Mi 8 Questions & Answers] paulavz23:
could you do the manual? I have a xiaomi, the device manager recognizes the port 9008 but the qpst appears as no phone connected. thanks for your help.
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
Thread 'Enabling Vo-WiFi and Vi-WiFi on unsupported carriers #StayHome' https://xdaforums.com/t/enabling-vo-wifi-and-vi-wifi-on-unsupported-carriers-stayhome.4091519/
[Samsung Galaxy A8 (2018) Questions & Answers] Athaxis:
Hi

For some reason I'm having a few problems flashing back stock firmware in Odin after I've been playing with a few GSI roms.

I thought I would be a simple download mode on the phone then flash in Odin as normal, but im getting pre-partition failed error. I've checked to see if pre-partition is ticked and that the firmware is correct for the phone, but still can't seem to get this working.

Should I wipe first in TWRP then try again or am I missing something here? I thought download mode then flashing in Odin is top level and would remove TWRP etc and put everything back to factory default.

The phone is rooted if that makes a difference.

Any info would be great thanks!
[Samsung Galaxy A8 (2018) Questions & Answers] Athaxis:
This thread can be deleted, I've fixed it now, I tried another firmware and it worked fine. Thanks.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Ferris:
Hi,

I recently upgrage my TyTN II (originally a Orange Swiss ROM) with the new 6.1 upgrade.

With the previous official WM 6.0 Rom, I had to tweak the registry to have my QWERTZ keyboard working with the following key :

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD], layout key to 0407 :)

With this new 6.1 ROM, I can't find this key anymore and Kaiser Tweaks or Schaps advanced config can't change it either.

Anyone to change my keyboard to QWERTZ with WM 6.1 ? Thanks a lot that would be much appreciated !
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] fun_key:
I also have this problem and it bugs me quite a lot...

I now have the official 6.1 english update setuped, and I found no way to set the keyboard layout back to qwertz.

I tried to toy as suggested with HKCU\Keyboard layout\preload\ but it completely crashed the keyboard ;-/
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mrhankey_ch:
The key seems to be here in 6.1:

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]

I modified CurLang to 407 in hexadecimal (or 1031 in decimal) and it's working perfectly!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Mastersey:
hum :$

It doesn't works on my hardware touch pro keyboard event after 4-5 soft reset :(

Somebody can help me ?

I'm using the new energy rom (Aurora, WM 6.5).

Thx!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ai6908:
You might want to ask some help in your ROM thread!
[Samsung Galaxy J7 Questions & Answers] dwsco:
Hopefully one of you brilliant people can tell me this.

I have a common problem in that when I install custom nougat roms, my wifi starts doing the 'internet not available' and connect/disconnect thing.

I have tried all the methods I've found to resolve this but to no avail.

The interesting thing is there is one set of custom roms that work fine for me. Just one, and I have tried most if not all of them.

Of course the stock rom works, rooted or not. But the strange thing is that the Gensys Experience roms all work fine.

So, my question is what is specifically different about those roms thst make them work? I've tried to delve into various config files to try to identify differences and have just ended up hopelessly baffled.

Anyone know?

Thanks in advance to anyone who can help..
[OnePlus 6 Questions & Answers] GuestD2037:
I have successfully unbricked my phone back to hydrogen twice before but unfortunately I don’t have a windows computer or friends. It seems to load the same in wine but it dosen't recognize the device (oneplus 6) and often freezes. Anybody have an idea how i can make this work. thanks

[IMG="msmdownloadtoolv4.0"]https://drive.google.com/open?id=1K2r628A-Vaelbo13kz8nKdgJbUB4WhKj[/IMG]
[OnePlus 6 Questions & Answers] reza6d:
With Virtual system install windows 7 and get your job done.
[OnePlus 6 Questions & Answers] GuestD2037:
I got my windows 7 key yesterday and strangely what ive found out through researched is that my laptop is so old that it only supports 32 bit virtualization and not 64 even though the host system is a 64 bit. Anyhow, I get the same results as when I try to run it through wine.

https://drive.google.com/file/d/1E27aYpN82vv0GZQcK9iQuCSlwZX37q0J/view?usp=sharing

Finally got some one to let me fix it on their windows 10, easy peasy.
[OnePlus 6 Questions & Answers] SebiderSushi:
Hey i know this thread is old but:

There's a cross-platfrom implementation for EDL: https://github.com/bkerler/edl

QFIL emulation should do what you need if you already have the required files.
[Android Q&A, Help & Troubleshooting] atdroider:
I soft-bricked my new Galaxy S8 (SM-950FD) while attempting to root it and now unable to retrieve my serial number which I need in order to do an "emergency reset" in Smart Switch and to help find the correct original firmware to flash with. Unlike my other S8, this one doesn't have the serial number neither on the cover nor on the box it came in. All it says on the back of the phone is YATELEY, GU46 6GG. UK. Any hope for retrieving the serial or finding the correct CSC while in this state?

Thank you all in advance!
[Verizon Samsung Galaxy S7 Edge Questions & Answers] dlfreimund:
I'm trying to get my SM-G935V to work eventually work on Sprint. I already flashed my firmware over to SM-G935U. However, the Sprint IMEI check says it won't work on their network. At a Sprint store, the rep won't even try at a store to test out a Sprint SIM to see if it works. Would a Sprint SIM work in my phone before having my IMEI whitelisted (if that's even possible)?

My second option while waiting was to use Red Pocket. I got a plan, I got a SIM card, but I got "Error! Activation Error We are sorry, but due to the rules set by our underlying carrier, your phone number cannot be activated on our CDMA LTE service."

The third option was trying to change my IMEI which appears still legal to do in the US, but not possible to do on my phone because it won't bring up Engineering Mode with the codes. My thought was it was because my CSC still shows as VZW. I thought G935UOYM9CSC2 was XAA originally but I can't get that to show up.

Any other ideas on getting off Verizon with this phone?
[Verizon Samsung Galaxy S7 Edge Questions & Answers] SoNic67:
Flash the Unlocked firmware on it. You will have to use a modded Odin, see the appropriate thread for that.

However, it will not change the IMEI. If the phone is currently locked in a contract... there is no way around.

Changing IMEI is illegal and will cause problems.
[Verizon Samsung Galaxy S7 Edge Questions & Answers] dlfreimund:
I had never switched my SIM card from the Verizon network to another one until today. It reboots into recovery and changes the CSC. This is after flashing to SM-G935U firmware. When I was on the VZW CSC the secret codes (USSD codes) wouldn't work. After swapping in an AT&T SIM card, the codes now work. Red Pocket white listed my IMEI no problem. Now if I can get Sprint to do it...
[Xiaomi Poco F1 Questions & Answers] jithutty:
Guys whats the difference between official and unofficial linage ls ? Which is better for flashing as balenced for battery and performance
[Android Q&A, Help & Troubleshooting] supernova874:
Hi , i had installed a cooked miui 8 rom for thl t9 pro that pretty much skrew my imei's and gives an nvram error in Wifi. While i trying to fix this i restored the original rom from en.thl.com.cn but the problem remained. After "experimentation" i format the phone with SP tools completely and now it doesn't find any sim card.

At some forums pretty much suggests to flash the nvram.img file into phone that the official rom don't have . Any Solution to that?

Thank you all in advance and any advice is a good advice :)
[Android Q&A, Help & Troubleshooting] supernova874:
Close that post , i have solved it myself after flashing stock rom and using an app called Ghost Phone
[ZTE Zmax Pro Questions & Answers] user-747:
I have zte zmax pro (z981) and I am trying to install newer custom ROM since it does not look like ZTE will be pushing updates for this phone.

I want to install resurrection remix. This requires unlocking a bootloader.

I installed platform-tools ie (adb, fastboot) and zte drivers.

When I issue command adb reboot bootloader, the phone just boots regularly and does not go into the bootloader mode.

1) How do I get the phone to boot into the fastboot mode?

I can easily boot into recovery or FTM (whatever that means)

2) What does the bootloader screen look like on Zte Zmax Pro?

3) Does the phone need be rooted to boot into the bootloader screen?

4) Is bootloader mode for zte the same as download mode for samsung?

Thanks,
[Xiaomi Redmi Note 7 Questions & Answers] tactical bacon:
I have the 7s version from India can I still use everything available for 7? I tried searching but I couldn't find any answers can someone please help me
[Xiaomi Redmi Note 7 Questions & Answers] Rubens95:
Yes, codename is lavender so it's the same phone in everything
[Xiaomi Redmi Note 7 Questions & Answers] daniml3:
Yes, i think it changes only the name depending on the region, but hardware is the same
[Xiaomi Redmi Note 7 Questions & Answers] RebornCheiko:
It's EXACTLY the same. The Indian regular Redmi Note 7 doesn't have the 48mp Samsung sensor, while other regions have it. Xiaomi decided to add the 48mp sensor to the Indian variant and thus it was renamed to 7s. I heard Xiaomi stopped the production of the Indian RN7 without the 48mp sensor.
[Samsung Galaxy S8 Questions and Answers] TudorBlue:
My Samsung Galaxy s8 wont factory reset because of some security encryption, no idea why,. Even if I go into recovery mode, I can see the option but when I use the volume button to select it, my phone just restarts. How can I sort it so my phone resets. Thanks in advance guys.
[Samsung Galaxy S8 Questions and Answers] PoochyX:
You should try factory resetting threw Odin

([emoji813]9/[emoji725]/9[emoji813])
[Samsung Galaxy S8 Questions and Answers] TudorBlue:
I'll try that. What do I need to do?
[OnePlus 7 Pro Questions & Answers] einverne:
I am on Oxygen OS 9.5.8.GM21AA. Recently I met the random restart problem. And it become more and more frequent. I have Magisk and EdXposed installed, but I have not update or install new modules recently.

The problem most time happened when I swipe from bottom screen to switch apps. And the whole phone become black. And several seconds later. It will automatically restart. The phone is showing "The phone is restarting" message.

I was tried to disable EdXposed modules one by one, but still not found any incompatible.
[OnePlus 7 Pro Questions & Answers] harpin14789:
Are you using a custom kernel? Updating to 9.5.9 might also help.
[OnePlus 7 Pro Questions & Answers] einverne:
I am using ElementalX kernel. And i just update this kernel to 1.11, let's me check any problem than.
[OnePlus 7 Pro Questions & Answers] harpin14789:
I also have the same issue as you.

This issue is a kernel related issue, oneplus is aware and will push an update in the near future.

As far I know, Fraken kernel is the only that seems to have fixed this issue, so I suggest you flash that, atleast till, OP pushes an update to fix this issue. I have tried all the kernel 7pro and have the issue with every single one. But hvae not the issue in over a week with fraken.

Good Luck!:good: