yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Guides, News, & Discussion] Goekay:
Hello dear Developers, Users and anyone else.

After few weeks I decided to update RR 6.0 to the newest build. (currently using 2018-05-02 | previously used 2018-04-02 and or 2018-04-04) I saw misunderstandings and weird information. I am very confused on everything on RR Thread and also here. To clarify things and for better understanding:

I always use install instructions from the developer to avoid/prevent breaking things. (won't post the whole instruction to keep it short as possible)

Everything works fine for me. I have wifi on both bands 2.4 and 5 GHz and Bluetooth also work. After reading the thread for updates such as bug fixes new features etc. I realized that people have problems with their wifi connection, not working and so on. Some users said something about wrong or altered mac address and they cant use wifi on original android one Rom provided by Google and/or xiaomi.

I checked my phone too and saw my address also changed for both, Bluetooth and Wifi. (Like I said, I am on RR 6.0 2018-05-02)

First Question:

Why is this a problem? Everything should be fine if I stay on custom Roms right?

I never intended to go back to stock again because custom Roms have so much more features that an original Rom is not even worth to waste the time on it.

Second Question:

So even if my wifi and Bluetooth address are messed up because of the custom Rom, I will be able to restore the original mac address for those whenever I want, is this correct? (of course not installing any of those persist image) I didn't install any of those persist images or whatever is floating around on xda right now. The only way I would install those persist images is if the Rom itself contains this image and uses it on the flashing procedure automatically. (can't control something like this, don't know how and I don't think it was in the Rom anyway)

Third and I hope the last Question:

If I use the tool in this Thread and restore those addresses, will it change the addresses in the Rom I currently using or is it only for the stock Rom to provide wifi and Bluetooth connectivity?

Sorry for the long post, I am really confused and this Tread is clean and is all about the one and only issue. That's why I wanted to write my problem here in the first place. After replying and helping to better understand the problem and possible fixes if really needed you are free to delete this post whenever you want.

Thank you in advance

Sincerely Gökay
[Xiaomi Mi A1 Guides, News, & Discussion] lm_kevin:
I have exactly the same doubts and i am in the same position you are , Everything is working fine on my A1 and im on RR Rom (12052018) but both my MAC Address and BT Address seem messed up and i dont wanna go back to stock ever.

Ive tried this tool but it didnt fix MAC (custom rom problem i guess)

Mac being 00:0a:f5:00.XX.XX (Mac address vendor being airgo network a qualcomm's company and BT 00.00.00.00.00.5a.ad

Im gonna flash Stock with miflash try this tool again and see if anything changes.
[Xiaomi Mi A1 Guides, News, & Discussion] awein:
Worked for me

Worked for me.

i was in this mac.
[Xiaomi Mi A1 Guides, News, & Discussion] GVN.Gallus:
Wow a long post lol, here for your question:

1. Old custom rom prefer hardware MAC (not vendor MAC), so they do something that mess up the vendor MAC on persist partition. Stay on custom is absolutely fine, they will not destroy your device.

2. If you're using an old build (before April 20 i guess), then its sure your vendor MAC has gone, if you're using new build, then its still intact since devs aware of this problem and fixed it.

If you want to be sure, flash stock and use this tool, it will recover your vendor wifi MAC, as long as you didnt flash any persist around here.

3. The vendor MAC is use by stock rom only, custom rom use hardware MAC, so you cant use this tool on custom rom and it'll do nothing on custom rom.

The above is all my search, ask and read since i know this problem.

I tested this tool myself, and i recommend that you go back to stock, check if your vendor MAC is ok, if its still intact, use someway to back up persist partition. If it destroyed, use this tool, then back up persist partition.

Long answer for long post, i'm out. :highfive:
[Xiaomi Mi A1 Guides, News, & Discussion] Goekay:
Thank you very much mate :highfive:
[Xiaomi Mi A1 Guides, News, & Discussion] TerQQ:
can anyone help me? i am latest stock rom and my phone reboot every 10 sec... i cant flash persist.img i cant do anything...
[Xiaomi Mi A1 Guides, News, & Discussion] AG14795:
Had the same issue... Went to authorised service centre and got the motherboard replaced... Surprisingly they did for free... Was under warranty but still thought it would cost me a few thousands of INR. Told them this issue started occuring after updating to the latest April update.
[Xiaomi Mi A1 Guides, News, & Discussion] dwaipayanray95:
[MENTION=5343187]hnkotnis[/MENTION] Thank you so much!

Also does this tool fix all the sensor calibration data or just Bluetooth and wifi mac addresses?
[Xiaomi Mi A1 Guides, News, & Discussion] dmitrimaslov91:
Guys ran into a problem using this tool and need your help.

Followed exactly the steps described but anytime I try to do step 3, I got an error. Attached screenshot and log.

Is it some windows thing I should do. Running ressurector tool with admin rights. Net framework installed.
[Xiaomi Mi A1 Guides, News, & Discussion] Vickna24:
Hi I have lost my original WiFi and Bluetooth address.I have flashed sooti's wifi fix zip file.Can I use this tool to retrieve my original Mac address and Bluetooth address.Pls help me
[Xiaomi Mi A1 Guides, News, & Discussion] TerQQ:
I have now another mac adress and wifi doesn"t work and my compass not working well. Any idea?

I see avaible networks but i cant connect.
[Xiaomi Mi A1 Guides, News, & Discussion] irnaldof:
this tool make my original wifi mac address n bt address come back...?

cause i lost my original wifi and bt address..

if not.. what should i do..?
[Xiaomi Mi A1 Guides, News, & Discussion] CosmicDan:
Kind of frustrating that "Check Device" just freezes the whole program when you try to run it from TWRP. I even manually mounted /persist, and all other partitions.

Would be great if you could make it work on an existing persist.img in the program folder.
[Xiaomi Mi A1 Guides, News, & Discussion] dmitrimaslov91:
Are you joking?! You can not run it inside twrp. There is an .exe file inside this zip archive. It is for Windows xD Read first page of this thread, there is written how to use it.
[Xiaomi Mi A1 Guides, News, & Discussion] CosmicDan:
Dude, do you even know who you are talking to? Wow...

I mean ADB in TWRP. Obviously I'm running on Windows, because I said the second button just freezes the app. Try reading next time.
[Xiaomi Mi A1 Guides, News, & Discussion] dmitrimaslov91:
Sorry, my bad
[Xiaomi Mi A1 Guides, News, & Discussion] parasnarkhede:
tool stucks at check device did you face this issue?
[Xiaomi Mi A1 Guides, News, & Discussion] GT-S5830:
Thanks.. Great Tool!

it really works.. flash stock rom thru miflash just to make sure my devices doesnt go crazy and used this tool a minute ago.. this tool is really great.. THANKS!!! :3
[Xiaomi Mi A1 Guides, News, & Discussion] hnkotnis:
I'm back from exams and a little break and I've started working on next version.
[Xiaomi Mi A1 Guides, News, & Discussion] hnkotnis:
Uhh... That's how its supposed to work. It won't proceed unless the ADB status is "device" and in TWRP status is "recovery". It's behavior can be changed, but I didn't add it to avoid breaking root access check. My information might be outdated, but one of my older phones whoami gives "root" when booted and "0" in recovery. In a hurry to roll out this tool, instead of adding all possible outputs to whitelist, this checks for "root" as output and blacklists all others. I didn't check every single recovery for this device, so I thought its better to play safe.

To make it work on existing img I will need to add more dependancies to unpack and repack said image and judging from misinformed comments flying everywhere on this device forum, I suspect the audience here unfortunately will screw up somewhere, so my objective is to keep this as simple as possible and very easy to use.

On a slightly off topic, I'm out of the loop for a while, but I think there is some major problem with device tree seeing custom ROM bugs. Any word about that?
[Xiaomi Mi A1 Guides, News, & Discussion] CosmicDan:
All good mate, got it resurrected. Was just being pedantic :P makes sense to just pull from /persist mount, the img support definitely isn't necessary - it's only a one time use tool (hopefully) anyway :)
[Xiaomi Mi A1 Guides, News, & Discussion] Siblegeru:
The freezing problem was gone once I realized I forgot to turn on USB debugging (I know, i know...). After activating it, everything worked like a charm. Thank you, sir.
[Xiaomi Mi A1 Guides, News, & Discussion] cr1ogen:
I use the resurrector tool and work. Can i make a persist folder backup? To use to restore my persist folder if. I have the same problem again?

Enviado desde mi Mi A1 mediante Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] garvey830:
Hi, Is it mandatory to be with the stock rom or can it be done directly , for example, in resurrectionremix?

If I know exactly which was my original MAC address, can i put it directly?

Thanks!

Enviado desde mi Nexus 7 mediante Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] md_hedayat:
Sir I am on RR 12/05 build and I need to know that hpw can I check if my persist has been messed up?

thanks
[Xiaomi Mi A1 Guides, News, & Discussion] Niksior:
Go to /presist and open wlan_mac.bin

If you'll se normal text it's broken

If you'll see something like '00000000' in hex editor it's also broken

Or update to RR 25/05. On broken mac you won't have WiFi until you'll change kernel
[Xiaomi Mi A1 Guides, News, & Discussion] k00r:
Hello guys.

I have a problem with connecting to wifi. I flash stock 8.0 and my wifi mac was not on the xiami mac vendor list.

Then I used persist ressurector. But this did not work. Only my BTmac has changed to the right one.

Then I switched to custom RR, but I could not connect to wifi. Then I flash FranciscoFranco kernel and it all worked.

How do I go back to stock?
[Xiaomi Mi A1 Guides, News, & Discussion] Niksior:
Try to use presist ressurector while on RR and go back to RR's stock kernel to see if it worked.

I did it and now everything is good.

Wysłane z mojego Mi A1 przy użyciu Tapatalka
[Xiaomi Mi A1 Guides, News, & Discussion] cukierkas:
thanks, this tool just saved my tube :D

18:xxxxxxxxxx is now my mac, everything as it should be.
[Xiaomi Mi A1 Guides, News, & Discussion] Bamboocha_csc:
hello, I used this tool but it does not change my addresses .. even if it shows the correct bluethoot mac address in the program .. after restart it style 00:00 ... am still on RR. I did backup before flashing RR (all partitions, one was optinial). If I restore this backup, will I have my adresses back? I woud like to update RR but I am afreid .. what did I wrong? I followed the button from 1 to 5 (reboot) ...
[Xiaomi Mi A1 Guides, News, & Discussion] md_hedayat:
This is what my wlan_mac.bin looks like
[Xiaomi Mi A1 Guides, News, & Discussion] sceva:
Hi,

I used the RR rom and I loosed also my Wi-Fi and Bluetooth Mac address, I used the persist resurrector tool and I followed step-by-step everything was OK.

I saw my original address I finish the last op on the tool the phone restarted but when i go to setting I see again the wrong address.

Did I forget something?

Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] Niksior:
So it's broken

You have readable text while opening it with regular text editor

Use presist resurrector

Wysłane z mojego Mi A1 przy użyciu Tapatalka
[Xiaomi Mi A1 Guides, News, & Discussion] md_hedayat:
Thank you :)

---------- Post added at 11:23 PM ---------- Previous post was at 10:55 PM ----------

Fixed my persist using this tool!

Thanks a lot :)

peace
[Xiaomi Mi A1 Guides, News, & Discussion] Tuneer:
If I have my bt and wifi mac written down physically. Can i use the guide below to restore it?.

ps: I found this guide floating somewhere in telegram

If you have Wi-Fi MAC Address which begins from

00:0a:f5:??:??:?? (Lineage pool) OR 49:63:74:66:??:?? (broken by wrong data type), AND you want (or need) to change it!

You will need:

1. Root access

2. File Manager

3. Hex Editor (on phone or PC (WinHEX), better on PC)

4. Hands ?

What to do?

1. Go by path /persist and copy "wlan_mac.bin" to place you can work it with HEX Editor (better to make backup

2. Open it with HEX Editor. (do not worry, it is short)

If there is filled (like 12 34 56 78 9A BC ... ... ) then you still have original MAC which you can restore, congrats!)

If it almost empty (like 00 00 00 00 00 01 ... ... ) then you already lost original MAC without possibility to restore (unless you had it written somewhere, or remember it)

But DO NOT WORRY, you can always make new MAC

3. If that file was filled, then skip that point

If it was empty then you need to make it by yourself. To do this imagine MAC, you want to make, and write it (in HEX! It means you can use only 0123456789ABCDEF). For example: 23 BA 45 F1 CC 1A

But file was bigger than these 6 bytes, isn't it? So you need to duplicate what you written, but make last byte +1 (or -1 if last byte was ?F or ?E) from last written, for ex. : 23 BA 45 F1 CC 1(A) 23 BA 45 F1 CC 1(B)

Repeat it again and make last byte +1(or -1 if last byte of "second MAC" was ?E or ?D) from second 1(A) 1(B) —-> 1(C)

File should be filled, if not, then leave rest filled with 00

If there was no space, than create it (total 18 bytes) or write as many WHOLE MAC as you can (all what not whole replace by 00)

Save that file

4. Move it to /persist

Replace old file (that's why backup)

FOR STOCK THAT IS ENOUGH!!!

But if you want to make this change work onto RR (And other Lineage ROM's) that you need to also make some system change

Sorry, but these changes are not updateproof, so you will need to have copy of file which would be mentioned below.

1. Open /system/vendor/etc/wifi and copy "WCNSSqcomcfg.ini" to work place

2. Find these lines:

# Each byte of MAC address is represented in Hex format as XX

Intf0MacAddress=000AF58989FF

Intf1MacAddress=000AF58989FE

Intf2MacAddress=000AF58989FD

Intf3MacAddress=000AF58989FC

And replace these MAC's with which you want (rules about +1 and -1 last byte still applies!)

3. Save file and replace /system/vendor/etc/wifi and replace original (you still can do backup, but not necessary)

4. Reboot

5. PROFIT

P.S. If you do not planning go back to stock, or AOSP ROM's, then you not necessary to edit /persist part
[Xiaomi Mi A1 Guides, News, & Discussion] rishabhs103:
I am lost

okay so I lost my wifi mac and it's now starting with 00:0a:f5... I flashed sooti's persist zip for the fix. I thought to use this app and get back my original mac somehow, as I think I still have my original BT mac.. but the resurrector app is giving me an error as follows.

I'm now lost and dunno what I should do. please help.

my BT mac is like 22:22:5f...
[Xiaomi Mi A1 Guides, News, & Discussion] arpanbag1996:
Thanks. It worked, but it changed my WiFi MAC. Can I manually change it to the default value (which I have noted down)?
[Xiaomi Mi A1 Guides, News, & Discussion] CaioFerreira:
Is mine original?
[Xiaomi Mi A1 Guides, News, & Discussion] Niksior:
Looks like original one

Wysłane z mojego Mi A1 przy użyciu Tapatalka
[Xiaomi Mi A1 Guides, News, & Discussion] drozo8o8:
Same here, did you found a fix ?
[Xiaomi Mi A1 Guides, News, & Discussion] Niksior:
I've clean flashed rr and used presist resurrector

Now everything ok

But I didn't flashed any presist.zip or presist.img

Wysłane z mojego Mi A1 przy użyciu Tapatalka
[Xiaomi Mi A1 Guides, News, & Discussion] sceva:
Thanks I changed my Wi-Fi Mac address to the original, but I can't change my BT Mac address. On setting page I see 0000...

I have my original address but I don't know how to apply it.

Can you help me, do you have an idea about my mistake

Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] hitgrap:
Hi, I was using RR and now I am back to stock, and wifi is working.

Does this mean that my MAC address isn't messed up?
[Xiaomi Mi A1 Guides, News, & Discussion] Bot96:
Yep.
[Xiaomi Mi A1 Guides, News, & Discussion] albsat:
If Bluetooth and WiFi mac id are the same apart the last digit and do not start with 00 then you have the original id.
[Xiaomi Mi A1 Guides, News, & Discussion] hitgrap:
They are not the same, last digit is different, on wifi it ends with 00 but not on the start so I guess all is good[emoji4]
[Xiaomi Mi A1 Guides, News, & Discussion] xflowy:
[MENTION=5343187]hnkotnis[/MENTION] i encountered the issue with being not able to turn wifi on after flashing some custom kernels on stock. i flashed the wifi_fix zip from [MENTION=7665161]SevenSlevin[/MENTION] without any success and then tried your tool. still not able to turn wifi on. is there any chance to fix this?
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
Have you flashed persist.img in edl mode? If yes you need some files.
[Xiaomi Mi A1 Guides, News, & Discussion] Tuneer:
it might be an bt address reading problem of your particular rom. Try clean flashing stock rom to check whether the bt address is fixed !
[Xiaomi Mi A1 Guides, News, & Discussion] sceva:
Thanks if I flash stock rom I will lose data, root and everythingelse or not.

I saw how to flash with Mi flash tool but I'm not confident with this and I don't want to make a mistake

Thanks
[Android Q&A, Help & Troubleshooting] Matty45:
Hello, i have been trying to root this phone for a while now but i cant find any guides on how to root this specific phone without having to use shady one click root apps.

Does anyone have any ideas on how to do this?

List of things i have tried:

Framaroot

Any help would be appreciated.
[Android Q&A, Help & Troubleshooting] wrecche:
I wish someone had replied, I too am stuck in the same predicament, but I fear my phone has a permanently locked bootloader. None of the required commands work, returning 'unknown command'... sp flash won't even start to download TWRP..

this is frustrating beyond belief, that phone devs would do this... they make their phones less usable at the expense of forcing bloat...
[Android Q&A, Help & Troubleshooting] Pedrat:
When i receive a text message (of any kind of app) and choose to answer it with the direct reply from heads up, in any keyboard i am not able to get the return key to show up in order to make a new line, in it's place there's a "send" button.´

- Android version: 7.1.1

Things i've tried:

- Shift to see if it changes

- Change the keyboard

-Hold to see the options, the only option avaiable is to do the "one handed" mode.

I have searched far and wide without sucess, and i need it!!

It only happens in the direct replies (heads up notification)
[AT&T Samsung Galaxy S7 Questions & Answers] theSWARM:
I cannot believe a phone this 'old' is so hard to find a successful root for; with the amount of bloatware that comes with it - its crazy.

If anyone can help me find a root method that still works for Android 7.0 on the Samsung Galaxy S7 930A

I WOULD REALLY APPRECIATE IT. Its bugging me I have been searching for 2 days now..
[AT&T Samsung Galaxy S7 Questions & Answers] jdabu2017:
Until Samsung pulls their head out of their ass and unlocks the bootloader, we'll never see any further development for custom roms or root on the snapdragon version of the galaxy s7. Only other option is to get the international version (g930f) which has the unlocked bootloader and exynos processor.
[AT&T Samsung Galaxy S7 Questions & Answers] audit13:
I'm not sure that it is Samsung that requested phones with a locked bootloader. I believe it is the carriers that want a locked bootloader.

T-Mobile was the last carrier to issue phones with a locked bootloader.
[AT&T Samsung Galaxy S7 Questions & Answers] theSWARM:
So nobody with AT&T Samsung Galaxy S7 has root?

Why so many forums that used to exist?? :rolleyes:
[AT&T Samsung Galaxy S7 Questions & Answers] stevefalk35:
Willing to help...

It took a lot of digging but I was able to get my 930a successfully rooted and stable. I would be happy to assist (with what very little I know) and see if we can't figure it out. I used almost all links from XDA, if not all, but it did take a little time to put it all together. I had to flash the 930u firmware and then I had to play around with a few things. But I was successful and it does work and it is very stable. Let me know if I can help, I am going to totally unroot and reroot mine again so I will be going through the process all over anyways. Would love to be of some help, this is actually my first post on XDA so figured what better time to jump in. Take care
[AT&T Samsung Galaxy S7 Questions & Answers] Khloro:
I have mine stuck in boot loop i am trying to just to get back to stock would u be able to assist
[Huawei P9 Lite Questions & Answers] grethx:
Hello.

I've tried to unlock bootloader but, when it gets the time to get the code from Huawei's site, it just doesn't work.

There's no Unlock page, and whenever I try to acess the [...]/en/plugin/unlock/index url, it just shows up a 404 error.

How can I get the code? Is there another way?

I've tried also to use IE and Mozilla, but nothing changed.
[Huawei P9 Lite Questions & Answers] -Alf-:
Maybe this site still work

https://www.dc-unlocker.com/how-to-read-huawei-bootloader-unlock-code
[Huawei P9 Lite Questions & Answers] Dadditz:
Hello,

see if this link work for you..

You need to register before then sign in and get unlock code...;)

https://hwid5.vmall.com/CAS/portal/userRegister/regbyemail.html

Regards
[Huawei P9 Lite Questions & Answers] -Alf-:
Hi, you are right, but after register, the option "Unlock" is missing on the page, it's deleted.

[IMG="Screen"]http://huafan.cz/uploads/FileUpload/95/44d628e1e5dbddb8bec714c74facd1.png[/IMG]
[Huawei P9 Lite Questions & Answers] Dadditz:
[MENTION=8591814]bozka1[/MENTION]

Hello,

have you tried to use even the desktop or laptop? 'cause with the phone browser it doesn't work ...

Regards guys
[Huawei P9 Lite Questions & Answers] -Alf-:
it is useless to continue talking about this. Huawei removed he unlock page from their website. That's all.

Have a nice day!
[Huawei P9 Lite Questions & Answers] Dadditz:
Yes, you are right, i saw this on italian forum that Huawei since 20/04/2018

remover dowload section and unlock section too.

As reported above anyone want to unlock the bootloader have to use dc-unlocker.

Have a nice day too dude..:)
[Huawei P9 Lite Questions & Answers] iraboss:
Hi if u email Huawei support Ireland they will provide one for you you need to email all details just give them a shout they emailed me back today saying they could do it
[Huawei P9 Lite Questions & Answers] n8210:
This is true. They have remove the unlocking tab from their webpage. So even if you sign in there is no way to request for the unlocking codes from official huawei website. If you go to DC-unlocker, unfortunately you will have to pay money to get the codes from them.
[Huawei P9 Lite Questions & Answers] -Alf-:
You can sign up for a bootloader unlock code with the Google Docs, the turnaround time is 12-15 hours (my own experience)

https://docs.google.com/forms/d/e/1FAIpQLSeGwoQ44zqykuTfjCQrVP07JOHBYnBcAxAbz9SAVxPTFqMh9g/viewform
[Huawei P9 Lite Questions & Answers] higher01:
Is this for all countrys
[Huawei P9 Lite Questions & Answers] -Alf-:
Why don't you try it ? :D
[Huawei P9 Lite Questions & Answers] higher01:
Yes. Here from ksa l hope them send it to me:)
[Huawei P9 Lite Questions & Answers] -Alf-:
:):good:
[Huawei P9 Lite Questions & Answers] Mukade07:
Hello,

Is there a way to get the unlock code without having to pay dc unlocker ?
[Huawei P9 Lite Questions & Answers] Azeem Shah:
I try this method. This method not working
[Huawei P9 Lite Questions & Answers] -Alf-:
I know, the demand was much higher than expected.