yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dominduchami:
He said he will do that later. I will try to compile the rom myself from source in few days. But i cannot promise anything.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Myrmeko:
Ok, that's dope. Thanks. :)

Hopefully it works.

If it boots, even if nothing else works, just post it in this forum anyway. People will start fixing stuff.
[Samsung Galaxy S7 Edge Questions and Answers] PedroCaseiro:
I'm coming from a Zenfone 2 ZE551ML with the stupid x86 Intel CPU. ****ing incompatibilities with apps it's getting me annoyed so I wan't to get a new phone.

I'm in love with the S7 Edge (Exynos version sold in my country). The used ones are around 350€ to400€ and I consider it a good deal.

My questions are:

- Is it worth buying one in 2018 ?

- How much of an upgrade is it taking in consideration that I've had the Zenfone 2 for almost a year ?

- I don't like the TouchWiz ROMs so I plan to flash it with an AOSP ROM like Lineage. Will I lose any TouchWiz specific features or see a the camera quality reduced because of drivers and etc ?

- What are the device's redflags I should look for when looking at used ones ?

Thanks for your attention and sorry for the long post
[Samsung Galaxy S7 Edge Questions and Answers] pingufanpoy:
If u dont use TouchWiz you will lose specific features of the Samsung like the always on display or the messaging apps. You will have to rely on Google or 3rd party. I'm pretty sure lineage os doesn't come with Samsung apps. We are getting our last upgrade to oreo at the end of April. I think all the sensors work fine but the 3rd party cameras are kind of grainy. The low light camera seems to be a Samsung camera app exclusive I think. The only bug on lineage is the GPS not working fully, only high accuracy works the other 2 don't work, means you need 4g to use location GPS doesn't work. It's still one of the best phones for price ratio one of the few phones with a copper heatsink u can play 4 games of pubg without recharging at 60fps phones aluminum corners still get extremely hot after though like 42c similar to a cup of coffee. Phone can display 2560 1440p on oled. There are s8 ports with Bixby and camera stickers if you choose the TouchWiz route. I myself will swap to lineage os soon because the Bixby feels kind of half cooked. Samsung midrange devices do not support 4k recording or 1440p recording but the s7 edge does. S7 also has a OIS camera compensator hardware. When you shake the Camera the compensator will move the camera in the opposite direction to keep a stable image. Because of this software stabilization should always be turned off. Open camera the most downloaded camera app on the playstore supports 4k video and pictures still. You should be aware of fakes, the fastest way to check is by going to settings and checking for Knox security fake phones have problems creating a Knox version menu. Another way to check is to just check for the edge panel it can't run in fakes. I got my phone for 300 usd without any cracks or pink lines on the screen.
[Samsung Galaxy S7 Edge Questions and Answers] eum1r:
For me yes,it is worth it,mine also i bought last month it is secondhand but im loving it

You should check and test display,cause s7 has more defects on display(defect/misuse by user)

I prefer stock rom on s7e,it is more polished,stable,fast,and less bug,im not fan of custom rom since back in the past i was used to try all kinds of rom start from s3 to s6,like i said,it is fun to experience custom rom(ONLY AT FIRST TIME) time to time i've had enough of custom rom thats why i always go back to stock rom,actually i appreciated samsungs theme compare to pure stock and other manufacturers theming ?
[Samsung Galaxy S7 Edge Questions and Answers] saurabh808:
Buy one plus or any other ..the camera is crappy now with every update..pictures come out blurry..
[OnePlus 2 Q&A, Help & Troubleshooting] lokeshbhati1987:
Hi

Last night my phone accidentally drop then its not boot up as it show only boot logo of onepus so I decided to reflash the phone I successfully install driver of ORT co 9008 then detect then unbrick or flash using this all steps completes successfully then I remove phone from PC and start or switch on phone but its won't on even as before it was showing the oeplus logo as saw before and new its comport detecting and gone in device manager.

Thnx pls help
[OnePlus 2 Q&A, Help & Troubleshooting] shonkin:
Obviously people are reading this. We don't know what to say, probably because most of us suspect the phone's fall broke something. If the fall did *not* break something in the phone, maybe using TWRP to attempt flashing a rom will work. Do you have TWRP installed? If not, use your computer (and Odin) to do so. Make sure to REBOOT IMMEDIATELY to recovery (TWRP, that is). Unplug phone from computer, replug phone into computer again. It should be recognized. Copy a rom of your choosing to the "download" directory on the phone. Then "factory wipe" the phone. (Do NOT wipe "internal storage"). Flash the rom (and gapps if this is a custom rom). Reboot. And here's hoping it works!
[OnePlus 2 Q&A, Help & Troubleshooting] lokeshbhati1987:
How can i install or go custom recovery After successful flash its not show adb or oneplus device not boot on,no bootloader,not show anything.dear
[OnePlus 2 Q&A, Help & Troubleshooting] shonkin:
But flash was not successful. Is the phone showing any sign of life? Charging icon on screen when cable is plugged in? Anything? I fear you have broken it.
[OnePlus 2 Q&A, Help & Troubleshooting] lokeshbhati1987:
No sign of life only heating when connected to charger or USB in computer only show Qualcomm port 9008 in pc when I press both volumes+power button
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] louis_alphons:
GT-P7510 4.04 rooted.

Play Store 8.08.76.R-all

When accessing some apps pages..I get the message "No internet connection...Retry...please connect wi-fi etc.

Mostly it works installing the majority of the apps...but for I get that error. The same apps. It's not random...in the way that a app can thorw that error and some time the page loads.

I know win programming/debugging but I have ~0 experience with android.

I have this logs when I try to enter some apps page and get that error:

i.imgur.com/zFgUNri.jpg

thanks.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] louis_alphons:
manually installed

the latest

google services and google play store from apkmirror...compatible with android 4.0.x

now it's fixed. ;)
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
Ok guys after lots of tests, I've managed that the fastest and easiest way to have wifi fixed on Stock android rom is to delete some lines (they are 2-3) in a file located on "/persist" folder.

PROCEDURE

1) You need magisk (or any other form of root) and a file manager that can edit (with root permissions) systems files.

Once you have done it, go on root "/persist" and find the file "wlan_mac.bin", open it with a text editor and delete all lines in it(let it empty but don't delete it, just delete lines in it), after save and reboot phone, done.

2) This is faster, it is going to do same thing but without magisk. Just flash the WiFi_fix.zip (see file below in attachment) from Twrp and it will replace the corrupted wifi_mac.bin with an empty one.

Optional: if you know how to generate a xiaomi vendor mac address, just replace the empty wlan_mac.bin from my WiFi_fix.zip file with yours.

Comment:

*This is the fast and easy but not the best one. I'm finding a workaround.

Anyway this method isnt a problem you are going to use base Mac Address and not the vendor one. In therms of warranty I don't think it will change something.

PS: Actually this will be fixed on custom rom that used to edit that file.
[Xiaomi Mi A1 Guides, News, & Discussion] kishanb1988:
Good work!

I have same problem. When i flash stock rom via mi flshtool i can't connect to wifi. It shows wifi but after entering pwd it shows only saved. Can't connect at all.can u explain procedure when flashed stock rom. Flashing persist.img via fastboot will fix? Without rooting. Sorry for my bad English.

---------- Post added at 03:30 PM ---------- Previous post was at 03:23 PM ----------

So you are saying after flashing stock rom i have to unlock bl and root. And then edit system????? Sorry im a noob to Mi A1:rolleyes:
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
Just connect phone in fastboot on pc. open cmd (you need fastboot and adb drivers installed on PC) and write this:

fastboot oem unlock (to unlock bootloader)

fastboot boot twrp-oreo-3.2.1-2.img (you need last official twrp from XDA for that. Name can be different, you have to write extaclty of your file)

Phone will boot on twrp. From install/flash magisk and reboot phone. Now you have magisk and root.

Download and installa a file manager like MixPlorer, Root explorer, MtManager and many others.

Go on "root" and find the folder "persist". In it you will find the file "wclan_mac.bin" just edit. If you still have issue I will made something that is going to do it automatically.
[Xiaomi Mi A1 Guides, News, & Discussion] kishanb1988:
Thanks mate. I'll try ?, you save the hours of works. Thanks again
[Xiaomi Mi A1 Guides, News, & Discussion] oreo27:
Has someone tried erasing then flashing persist.img?
[Xiaomi Mi A1 Guides, News, & Discussion] speedunderx:
Your method is not the fastest nor the best to reset the WiFi connection, You do not need to be root.

You must do the following:

The persist.img file must be downloaded from the following link

https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/

“persist.img” file and move it to phone memory “/sdcard”.

1.- Enter fastboot mode, , you must have unlocked the bootloader

2.- Execute TWRP with the command fastboot boot twrp.img

3.- Open Terminal in TWRP Custom Recovery (go to "Advanced"> "Terminal").

4.- Type the following command:

5.- Restart and with it the wifi will work.

Procedure taken from https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
It is dangerous, I dont advise it.
[Xiaomi Mi A1 Guides, News, & Discussion] speedunderx:
It works perfectly, it's more dangerous what you do.
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
deleted, double post.
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
I don't think you have the idea of what you have done.

I will tell 2 points of the fact that it is dangerous:

1) for the not experted doing these things can easily bootloop/soft brick phone.

2) You flashed with "DD" and you have flashed a backup of another one so you are using his MacAddress.

Now tell me how safety is it if I know your MacAddress? (everyone who is going to flash it will have same MacAddress)

PS. in this case your MacAddress are:

Bluetooth: f4:f5:dB:e9:b6:dc

WiFi: f4:f5:dB:e9:b6:dd

check them on "settings, system, about phone, status".
[Xiaomi Mi A1 Guides, News, & Discussion] speedunderx:
You're wrong, you should read the tutorial, and with regard to the Mac I have the usual Mac, so you know a Mac is the physical code of the hardware, therefore you can not change it just read, the problem is that when you install RR you delete the WiFi module that uses the stock firmware, while the custom ROM uses drivers, persist.img helps to restore the Bluethoot module and wifi and sometimes the imei.
[Xiaomi Mi A1 Guides, News, & Discussion] oreo27:
There's a persist.img in our fastboot ROM. Can we use that instead of what you linked?

Edit - Flashed the persist.img from the Fastboot ROM in EDL mode. I ended up with no sensors. Trying to reflash the entire ROM now. :'(

Edit 2-

1. Dirty Flashed ROM. Re-setup fingerprints. Reset network settings. Emptied out wlan.bin file, everything works except wifi.

2. Restored my personal backup of persist, re-setup fingerprints. Everything is now working.
[Xiaomi Mi A1 Guides, News, & Discussion] speedunderx:
I am currently in RR, I think the best way is to wait for the developers to solve the problem, with an update.
[Xiaomi Mi A1 Guides, News, & Discussion] CommandAir:
Hi,

I'm having the same issue with WiFi. Connected to WiFi, accepted pw, but not working the wifi connection.

I've a fresh stock oreo, now I see the original BT MAC address.

How to do to make wifi work again without loosing original BT MAC?
[Xiaomi Mi A1 Guides, News, & Discussion] sachin273:
i dont know if u have tried it yourself and i dont know the technical details, but i have tried doing that after coming from RR and it didnt work. and more importantly i ended up having 30 sec reboots as someone pointed out here. This is what worked for me:

https://xdaforums.com/mi-a1/help/wifi-issues-t3732798/page2

i havent tested the method described here but i am pretty sure it is no more worse than the one you advice:)
[Xiaomi Mi A1 Guides, News, & Discussion] speedunderx:
It works other users have tried, but as the author of this post says, leave a generic wifi and bluetooth mac for everyone, I'm RR, and I have the physical device mac bone the original, you can try all the methods there are but none will restore the original mac of your device, just wait for it to be corrected with the Custom ROM updates. If you try a lot there is the possibility that you will have a nice brick.

You have to take into consideration that the phone is quite economical, therefore it is not the same thing that you fail in this way a galaxy s8 for example.

If you are using Custom Rom enjoy it, there are many that work better than stock android.
[Xiaomi Mi A1 Guides, News, & Discussion] CommandAir:
OK, I confirm that now I tried OP's solution 2 minutes ago, and it's working. WiFi came back, and operating fine!

But is that OK, that before made the empty wlan_mac.bin file saved I saw different MAC addresses in the system info, and when

rebooted then I saw again different MAC addresses in system info??

Which is the original? :)
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
Send me in pm your BT mac address and from it I will make wifi xiaomi mac address.
[Xiaomi Mi A1 Guides, News, & Discussion] CommandAir:
Hi,

Can you please check my previous post, #20?

This is an advanced story, coz I tried your solution since that time.
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
In our phone normally there are 2 mac wifi mac address, 1 readed from hardware and another 1 added from xiaomi as a mask.

The one from hardware is what is used on custom rom and what actually you have on stock.

Normally custom rosm doesnt use "persist" partition and so never changed files on it. In these case there were something in trouble and xiaomi vendor mac address on persist partition was touched and changed from custom roms.

But custom roms has changed only /persist/wlan_mac.bin not the /persist/bluetooth/.bt_nv.bin that is mac address of Bt.

I've done some search and I've seen that XIaomi wifi mac address is just an incremental of XIaomi vendor bt mac address, for example:

Bt mac: AABBCCDDEE00

Wifi mac will be: AABBCCDDEE01

in hexadecimal, so after 9 you have to write A.

Edit: In the guide that I've wrote you are going to delete wrong/broked lines on wlan_mac.bin file and so phone will see it empty and try to use hardware mac address instead of xiaomi vendor.

edi2: to answer to your #20 post, what you have seen is a random Mac address maded by custom roms that you have flashed. Problem is that custom roms doesnt use and need it, but when you come back to oreo stock, this one will search for it and will find an invalid mac address without vendor. Also the format is wrong, you have to write it hexadecimal. I think it is possible to create a different working vendor mac address. There is a list of 63 xiaomi vendor mac address to use as prefix. So to the first part of mac address you have to add one of them, and for the second part I think you can use what you want.
[Xiaomi Mi A1 Guides, News, & Discussion] Hemanth4364:
Does this create a random mac address or the original one?
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
Deleting lines in that file will give you hardware base mac address, you will lose vendor (xiaomi) mac address.
[Xiaomi Mi A1 Guides, News, & Discussion] Hemanth4364:
Is it safe or im using anyone's mac address
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
You will use your own hardware Mac address. The first will be similar to others, but the second part not.

Also with xiaomi Mac address, first could be similar.
[Xiaomi Mi A1 Guides, News, & Discussion] server123:
thx the method to edit persist is works for me and now i can use wifi but wen i try to lock my boot-loader i receive that message my system is destroyed so any suggestion ???
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
It's normal cause you have root phone. Flash again firmware stock with miflashtool.

Choose "save user data" from MiFlashTool to avoid to lose data. If you do that, bootloader will be locked and you will not loose data.
[Xiaomi Mi A1 Guides, News, & Discussion] dback31:
Thanks, saved me a lot of nerves haha

Do you know, if this is the only thing in /persist that RR changes?
[Xiaomi Mi A1 Guides, News, & Discussion] hnkotnis:
Instead of deleting the lines what if I get bt MAC from settings or bt_nv.bin and add 1 to it (in hex, so A after 9) and write that in wlan_mac.bin

Also the wlan_mac has two addresses. What each of them is?
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
Yes you can do it. During my search with users that had never flashed custom roms I've seen that Wifi mac just was an increment of BT mac address.

You can do it but you need to know how to make it.

The wlan_mac.bin that actually you have is edited from custom rom and now you have a random one, wrote in a bad format. So no one of them is fine also they don't have xiaomi vendor mac.

You can generate a xiaomi mac address using as prefix one of these: https://udger.com/resources/mac-address-vendor-detail?name=xiaomi_communications_co_ltd (use the format 1).

For the 2nd part, I think, you can use also random number-letters in hexadecimal.

In your case, if you have never flashed any other persist.img file, you can use ore BT mac and from it generate the stock old one. To do that you have to use an Hexadecimal editor, not text editor. On text editor you are going to see only incomprehensible characters, and you have to write mac address in it 4 times. Each one incrementated by 1. For example:

Go in settings,system, about phone, status and search Bt mac address (you have to enable BT, if not you will not see it) and find that it is:

f4:f5:db:e9:b6:dc (this is a correct format, infact you can see on the list above that the prefix f4:f5:db is a xiaomi vendor prefix).

on wlan_mac.bin you have to write:

F4F5DBE9B6DD F4F5DBE9B6DE F4F5DBE9B6DF F4F5DBE9B6E0

But you have to write it using hexadecimal editor (HxD is fine on windows), without space between. I will put a screen in which you can see how I wrote them on HxD editor and how you can see it on a text editor.

If you want to generate a BT mac address you have to write it starting for the last one, in this case the BT mac address in HxD is wrote:

010006DCB6E9DBF5F4 so the mac address is inverted and the prefix 010006 is a standard, you have to write it.
[Xiaomi Mi A1 Guides, News, & Discussion] hnkotnis:
Excellent guide. I would rate 10/10 for foolproofness and details. I have a healthy image backup of my persist. What I am trying to do is make an automated tool to fix phones of other people which is why I asked this question. However as you say if they have flashed persist from someone else then this would be a problem.

I don't use XhD because I prefer NP++ with hex plug in so formatting is different but bt mac of my phone has prefix of 010006. I don't rely on system status so I got bt address from bt_nv.bin
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
Yes you are in right it is: 010006. I've corrected. See image below.

A tool will be fine. Make it that can generate a random mac address using xiaomi vendors mac as prefix (this is important, on stock you have to use a xiaomi vendor prefix if not phone will not connect on wifi). For the 2nd part, I think it can be completely random.
[Xiaomi Mi A1 Guides, News, & Discussion] hnkotnis:
I will add an optional randomizer if I can. I just hope no two people using it get same MAC and connect to same wifi ??.

I think you should delete images and references to your MAC addresses for privacy reasons.
[Xiaomi Mi A1 Guides, News, & Discussion] upilguebu:
How you make a healthy image backup of persist? Do you make the backup before flashing custom rom or after? If I make a backup now (currently im on RR) is it classified as healthy or no? XD I'm afraid after seeing this thread and now im in RR, I'm so afraid to coming back to stock xD
[Xiaomi Mi A1 Guides, News, & Discussion] cukierkas:
On my case just worked simple trick. Clicked on the network, which were saved and restored via Google account, forget network option and reentered the password again. Vualia.
[Xiaomi Mi A1 Guides, News, & Discussion] hnkotnis:
First of all don't be afraid, no permanent damage has been done. It is fixable and I am working on a tool to fix it. (No ETAs please, I have too much busy life. But I hope it will be in 2-3 days)

**DO NOT FLASH PERSIST PARTITION OF SOMEONE ELSE**

By healthy backup I meant that I took a backup of all partitions when phone was new and no changes were done.
[Xiaomi Mi A1 Guides, News, & Discussion] upilguebu:
Ah, you well prepared. Thank you for your comforting answer.
[Xiaomi Mi A1 Guides, News, & Discussion] xda_kumar:
thanks for your suggestion bro, hiiii this is kumar debasis i have also the same problem wifi not connecting after comming back from RR ROM to STOC ROM, plz have a look on my words the TWRP writing process is temporary or permanent, after doing your process can i reflash the stoc rom again or not, to use a non rooted smart phone, ... plz if u r free kindly give me a better suggestion for the process in details. because i am not like expert, i am the newer one please help na...

have a great day, i am waiting
[Xiaomi Mi A1 Guides, News, & Discussion] SevenSlevin:
If you know how to flash a custom ROMs, you know also how to flash magisk. So just flash boot on twrp, flash magisk, reboot system, go edited that file deleting all lines in it. After just flash again rom stock using mi flashtool and you will have back your Android stock with orange working fine.
[Xiaomi Mi A1 Guides, News, & Discussion] xda_kumar:
Thanks a lot Sir for giving me some time from your busy schedule now I am going to try this process ok lots of thanks and if you don't mind what about the ?" orange"

Thanks a lot
[Xiaomi Mi A1 Guides, News, & Discussion] fdc77:
[MENTION=7665161]SevenSlevin[/MENTION]

Thank you , with your guide i was able to restore original wifi mac address
[Xiaomi Mi A1 Guides, News, & Discussion] xda_kumar:
thanks a lot man, you are like a pro

for your help, i got my Wi-Fi back,

thanks alot
[Xiaomi Mi A1 Guides, News, & Discussion] arturo181991:
Thank you very much! This procedure worked for me :good: simple and easy
[Xiaomi Mi A1 Guides, News, & Discussion] KorokHidup:
Thank you OP , I found this method is the fastest and the best to reset wifi Mac address
[Xiaomi Mi A1 Guides, News, & Discussion] coolpartha:
I have the same problem. I tried to flash magisk through twrp but it stuck on boot. Please help.

Currently I am on stock April update... With wifi issue. Can it be done without magisk?
[Xiaomi Mi A1 Guides, News, & Discussion] kishanb1988:
Solved

Thanks mate. This method works. I had lineage os 15.1 , then i did the trick , delete all the lines .then flash stock rom via mi flash.

Wow none rooted full stock working ,wifi again. But i have wired wifi Mac. Like a0:00:00:00:00:00

Is it Ok?
[Xiaomi Mi A1 Guides, News, & Discussion] virat.siingh:
[MENTION=7665161]SevenSlevin[/MENTION] sir can i restore my original mac address i didn't do anything with persist yet just flashed april stock rom from flash tool and got this wifi issue coming from custom rom ! Can you help me please ! Tahnkyou