Hi,
I deleted the content of the /persist folder, completely...
My wifi is not working anymore, wiped everything and flashed a fresh stock image but with no luck... it seems like that folder is not included in the stock image... is the content of that folder something you get just with a new phone?
how can I solve the problem? How can I retrieve those files...?
THANKS!
Included vendor img with the stock flash?
Could try to dump mine
ikfe said:
Included vendor img with the stock flash?
Could try to dump mine
Click to expand...
Click to collapse
Yes I flashed everything, including vendor with no success,
Yes if you could send me the content of your persist folder would be amazing, thanks
Zip (not flashable)
www.ikf3.com/f/misc/n5xpersist.zip
Replace with your Mac adress and set permissions
Envoyé de mon Nexus 5X en utilisant Tapatalk
Ok,
copied everything...
how to set permissions?
It still doesn't work... as it boots it's super laggy for 30 seconds, then it works but the wifi is stuck to off
Take a file explorer like ES and set permissions to each file or Chmod by ADB (convert permissions here http://permissions-calculator.org/symbolic/)
Envoyé de mon Nexus 5X en utilisant Tapatalk
yes I did it.. stil no luck...
I can't believe it, i "just" deleted the content of the folder by mistake...
what about the file bdaddr.txt, what should I do with it?
Thanks a lot for the help
Put your Mac adress. Also WLAN_MAC.bin
Envoyé de mon Nexus 5X en utilisant Tapatalk
My mac addres is showing
02 00 00 00 00 00
I think the problem is in the mac address, i think somehow the phone doesn't have a proper one and I don't know how to fix it
Mac adress should be on the Nexus Box at the bottom, not sure
Envoyé de mon Nexus 5X en utilisant Tapatalk
Thanks for the help..but I can't get it to work...!
I think the problem lies in the mac address, the phone doesn't seem to have a valid one anymore...
Comeone can help?
Thanks
brixx84 said:
Thanks for the help..but I can't get it to work...!
I think the problem lies in the mac address, the phone doesn't seem to have a valid one anymore...
Comeone can help?
Thanks
Click to expand...
Click to collapse
Go to: https://www.miniwebtool.com/mac-address-generator/
Get your new MAC address and change it. As long as no other devices in your network has the same MAC address you'll be fine.
Skickat från min Nexus 5X via Tapatalk
Thanks, can you tell me how to change my Mac address...?
brixx84 said:
Thanks, can you tell me how to change my Mac address...?
Click to expand...
Click to collapse
There's an app for that. [emoji3]
http://forum.xda-developers.com/nexus-5x/themes-apps/app-nmac-nexus-mac-changer-t3374430
Skickat från min Nexus 5X via Tapatalk
Tried also this with no success...!
Maybe it's the file or location where the Mac address is stored which is corrupted...
Since when I deleted the content of the persist folder this started to happen. If I try to use the app to chance the Mac address the phone lags for about 20 seconds.... The same happen if I try to switch on the wifi, eve tithing lags for a certain time and then goes back to normal... But no wifi.... One the preferences the Mac is stuck on 02 00 00 00 00...
Can you upload a logcat before and after you change mac?
Envoyé de mon Nexus 5X en utilisant Tapatalk
How do I get it?
Thanks
How do I get it?
Thanks
brixx84 said:
Tried also this with no success...!
Maybe it's the file or location where the Mac address is stored which is corrupted...
Since when I deleted the content of the persist folder this started to happen. If I try to use the app to chance the Mac address the phone lags for about 20 seconds.... The same happen if I try to switch on the wifi, eve tithing lags for a certain time and then goes back to normal... But no wifi.... One the preferences the Mac is stuck on 02 00 00 00 00...
Click to expand...
Click to collapse
https://forum.xda-developers.com/nexus-5x/help/changing-mac-nexus-5x-t3361586/page1
This is from this forum.
I assume that you've rooted your phone or you'll have to do this via TWRP using adb pull/push or adb shell shell using vi. I'd do it via TWRP/adb shell/vi.
Skickat från min Nexus 5X via Tapatalk
Yes, rooted...
I'm trying everything... no luck!
Every time I try to change the mac address ora switch the wifi on the phone almost freezes for some time...
My question is, how is it possible that i doesn't get solved flashing back everithing like it was new? Is there something stored in the phone from factory that you can't get back? Is't there a way to have it back totally "factory"?
Related
Greetings:
I was just wondering if someone can tell me how to remove "PC Suite" from my ZF2,
so every time I connect my phone to my PC, it wouldn't mount as a CD drive! It also
causes "driver" problem sometimes.
Any help is much appreciated.
PS= I think there is a "cd.iso" file that is the culprit!
hi
exactly the same question...
have you find how to disable it ?
samteeee said:
Greetings:
I was just wondering if someone can tell me how to remove "PC Suite" from my ZF2,
so every time I connect my phone to my PC, it wouldn't mount as a CD drive! It also
causes "driver" problem sometimes.
Any help is much appreciated.
PS= I think there is a "cd.iso" file that is the culprit!
Click to expand...
Click to collapse
Delete two files from /system/etc
cdrom_install.iso
init.cdrom.sh
Oh great ! do i need to be root ? or using adb Command it's enough ?
tks again !
Rooted... Or try with Adb i'm not sure.
Inviato dal mio ASUS_Z008D con Tapatalk 2
cieffe54 said:
Rooted... Or try with Adb i'm not sure.
Inviato dal mio ASUS_Z008D con Tapatalk 2
Click to expand...
Click to collapse
You need root...
Can someone guide me how to change MAC address in LG G4 (T-Mobile) ?
Open terminal emulator;
su
ifconfig wlan0 hw ether 00:11:22:33:44:55
andrea1493 said:
Open terminal emulator;
su
ifconfig wlan0 hw ether 00:11:22:33:44:55
Click to expand...
Click to collapse
Its not working dear.. Please guide me which file needs to be modify for wifi MAC changing
aasiaasi said:
Its not working dear.. Please guide me which file needs to be modify for wifi MAC changing
Click to expand...
Click to collapse
Mmh it's strange! Do you have root?
aasiaasi said:
Can someone guide me how to change MAC address in LG G4 (T-Mobile) ?
Click to expand...
Click to collapse
PLAYSTORE
wifi mac changer
or pri fy
andrea1493 said:
Mmh it's strange! Do you have root?
Click to expand...
Click to collapse
Yes its rooted.
Could you please tell me which files needs to be modify for MAC changing.
Sorry I don't know if it is possibile to change the mac address by modifying a file. MAC Address is a physical address, that means that it can be changed only temporarily with the Linux shell command that I've written above. In the past I've used that command on Android (with a Galaxy Note 2) and it worked! Now I don't remember if I've ever used with LG G4 when I had root permission (with Lollipop), but I can't try now because I doesn't have root access anymore, because I've upgraded to MM and I don't want to unlock the bootloader for warranty purposes
PryFi from chainfire works (usually), just be sure to make a backup of all partitions before using it. Once using the app made my IMEI disappear.
I had a moto x 2nd gen and I modified a file for MAC and it was perfectly working .
So i think there must be a file for permanently changing MAC Address. In my Lg g4 t mobile have MM 6.0
I think you need a special flasher to change MAC address but I'd love to know too
hello i have a root and xposed and i installed <3 > <4> apps to change me the mac address but all of them didn't work
and the google also didn't help me < so i come to here >
i hope i will find the solution here
Tanktop_Paedo said:
I would assume you can't. A mac address is fixed and cannot be changed, it comes from the NIC when it is manufactured of a computer and whatever the equivalent is for a phone. I guess root apps might be able to emulate a mac address?
Click to expand...
Click to collapse
it was working good in previous versions in android like 4.4.4
and 5
u just to root the device and install any mac address changer and u dont ,
but now in 6.0.1 i tried everything from apps to Manual but it always still the same mac .
Tanktop_Paedo said:
I would assume you can't. A mac address is fixed and cannot be changed, it comes from the NIC when it is manufactured of a computer and whatever the equivalent is for a phone. I guess root apps might be able to emulate a mac address?
Click to expand...
Click to collapse
Sure you can spoof Mac. Hard coded doesn't matter.
There are several ways to spoof. Here is one way: http://www.gohacking.com/spoof-mac-address-on-android-phones/
You can also edit a file with root access but I can't remember the file name. I will see if I can't find it.
Sent from my ONEPLUS A3000 using XDA-Developers mobile app
Edit:. This thread refers back to XDA from another forum but talks about editing the file. Just scroll down to answer. (I haven't tried it yet, so OP3 may have a different file...you will need to try it out)
http://android.stackexchange.com/qu...the-permanent-mac-address-on-my-android-phone
molhamstar said:
hello i have a root and xposed and i installed <3 > <4> apps to change me the mac address but all of them didn't work
and the google also didn't help me < so i come to here >
i hope i will find the solution here
Click to expand...
Click to collapse
Hey man i was searched for the Macc changing in the one plus 3 mobile. i just bought my yesterday and yesterday i rooted My phone . And mainly i searched for spoofing but nothing is working and finally i have found the Filename where the Macc address present in this Path /persist/wlan_mac.bin open this file and edit the First One and save it and switch on the flight mode and switch off then check It might be changed . If not changing Tell me and i'm writing one script for that i will post the Script Enjoy....
molhamstar said:
hello i have a root and xposed and i installed <3 > <4> apps to change me the mac address but all of them didn't work
and the google also didn't help me < so i come to here >
i hope i will find the solution here
Click to expand...
Click to collapse
Hey man i just find out the way to change macc in one plus 3 mobile . i just bought my one plus 2days back . i rooted my phone on that day and i thought that the change my macc will help full here that is not working here i just figured it the filename where the macc address was stored.
/persist/wlan_mac.bin this is file where macc address stored change the First Line that is for wlan0 so change it put mobile in Flight mode and turn off the flight mode. I'm going post a video on this soon....
Hope this is helpful
https://youtu.be/uFXZPWZdI-E
Check this video, it's basically changing the wlan_mac.bin file. But you have to use an app called nethunter to reset the Mac in order to change it.
This successfully worked on my 3T!
Hi There
Happy to share I been able to make Wi-Fi calling and volte working on my HTC u12+ I'm using EE UK network and finally get all works after few months of struggling..
I read what LIabTooFer said about manual activate Wi-Fi calling and volte on non branded phones
You can find that on his twitter post from August 31
https://twitter.com/LlabTooFeR/status/1035495777966153728
So I did exactly what he wrote over there but I couldn't get that working (maybe because he got HTC u11)
So I did exactly what is below
you need to be rooted and able to use any root explore or just pull files to your PC and use notepad++ or similar
DO BACKUP!!!!
edit default.xml
you can find in /system/customize/acc and if you got htc__xxx.xml which is named with your phone cid in acc folder just delete it
check lines in default.xml and edit
<item name="carrier_default_wfc_ims_enabled_bool" type="boolean">false</item>
<item name="carrier_htc_ims_setting_type_bool" type="boolean">false</item>
<item name="carrier_htc_show_volte_ui_bool" type="boolean">true</item>
<item name="carrier_htc_volte_ui_checked_bool" type="boolean">true</item>
<item name="carrier_wfc_ims_available_bool" type="boolean">true</item>
<item name="showVolteStatusBarIcon" type="boolean">true</item>
Save and reboot phone
after reboot check call setting should see options voice over lte and wifi calling
Don't know if will work for everyone as many providers use different settings
link for htc 10 US branded default.xml files for sprint tmobile us verizon and us unlocked you could use that as guide to edit your default.xml https://drive.google.com/open?id=1AKriJ7XOyHNvxkdloAPOcE4tsIUZNesY
How to enable Wi-Fi calling and volte on T-MobileUs thanks to @8bitbang
https://forum.xda-developers.com/u12-plus/themes/magisk-module-enable-volte-video-t3871444
I do not take responsibility for any bricked phones
that's only steps I did and it work for me but don't know If will for you
Risk on you
I have used HTC u11+ and HTC u 12+ and got Wi-Fi calling and Volte on both
Regards
Marcin
I'm interested in getting this to work as I had it on my HTC U11 and EE.
As I don't have that phone anymore, do you think you could share your files so I can try and do this on my phone or if anyone else has access to one of hte phones that works on EE could share them.
Will try post them later today
Jump1ng said:
I'm interested in getting this to work as I had it on my HTC U11 and EE.
As I don't have that phone anymore, do you think you could share your files so I can try and do this on my phone or if anyone else has access to one of hte phones that works on EE could share them.
Click to expand...
Click to collapse
What phone you using?
marcinkoko009 said:
What phone you using?
Click to expand...
Click to collapse
HTC U12+ as per my sig
Jump1ng said:
HTC U12+ as per my sig
Click to expand...
Click to collapse
I did edit my post so you can find all files in there
regards
marcin
Thanks, will try this out just need to find a bit of quiet time at work to mess about with the phone.
Jump1ng said:
Thanks, will try this out just need to find a bit of quiet time at work to mess about with the phone.
Click to expand...
Click to collapse
Let me know if you get it working
I can confirm that after editing default.xml
I have Volte and Wifi calling on O2 UK working on my HTC u12+ and HTC U11+
I tested using my wife O2 pay monthly sim
So I guessing it will work with any carrier if all done right
Vodafone CH & Sunrise CH
Confirm working both for Swisscom (22801) and Sunrise (22802) in Switzerland (HTC U11+ WWE) !
:good:
ouioui01 said:
Confirm working both for Swisscom (22801) and Sunrise (22802) in Switzerland (HTC U11+ WWE) !
:good:
Click to expand...
Click to collapse
That's cool mate did you find hard to do it or easy enough?
marcinkoko009 said:
That's cool mate did you find hard to do it or easy enough?
Click to expand...
Click to collapse
It's easy
Cheers
ouioui01 said:
It's easy
Cheers
Click to expand...
Click to collapse
That's good as my first language is not English and hope is all clear for everyone
Regards.
marcinkoko009 said:
Let me know if you get it working
Click to expand...
Click to collapse
Think I got the 23433 file copied up to the phone and the other files edited, can't see any wifi calling though..so not sure what I missed. Didn't see any options to push with the tool tho but I copied the file to the SDcard then used root browser to paste it in the right place.
Will see if I can spend some more time on it as maybe the reason I didn't push it is why it isn't working.
Jump1ng said:
Think I got the 23433 file copied up to the phone and the other files edited, can't see any wifi calling though..so not sure what I missed. Didn't see any options to push with the tool tho but I copied the file to the SDcard then used root browser to paste it in the right place.
Will see if I can spend some more time on it as maybe the reason I didn't push it is why it isn't working.
Click to expand...
Click to collapse
U need to boot Twrp and mount system and vendor as you can't copy through windows or os x
And use adb file manager while you in twrp link in main post
In tool there advance options and then you got adb file manager and you can go to desire folder and drag files from you PC
marcinkoko009 said:
U need to boot Twrp and mount system and vendor as you can't copy through windows or os x
And use adb file manager while you in twrp link in main post
In tool there advance options and then you got adb file manager and you can go to desire folder and drag files from you PC
Click to expand...
Click to collapse
Check picture
marcinkoko009 said:
Check picture
Click to expand...
Click to collapse
OK I see what happened I had an older version and the auto update was blocked by my AV so I know have more options to play with...OK will give it a shot again now see if I can get it going.
Edit
Got it updated and can now browse to system but it is showing as blank thats with it ticked to mount so not sure why it isn't loading that folder...using the latest twrp for the september security patch.
Edit2
Can see the files if i got to /system_root/system/customize is that the right files to change?
Jump1ng said:
OK I see what happened I had an older version and the auto update was blocked by my AV so I know have more options to play with...OK will give it a shot again now see if I can get it going.
Edit
Got it updated and can now browse to system but it is showing as blank thats with it ticked to mount so not sure why it isn't loading that folder...using the latest twrp for the september security patch.
Edit2
Can see the files if i got to /system_root/system/customize is that the right files to change?
Click to expand...
Click to collapse
yes you should see ACC MNS folders as well
put default.xml in ACC
marcinkoko009 said:
yes you should see ACC MNS folders as well
put default.xml in ACC
and 23433.xml in to MNS
and map_mns.xml in to Customize folder
Click to expand...
Click to collapse
Yeah I can see all the folders and files just wasn't sure if system_root was the right as system was blank...
OK will push up the updated files now see what happens
EDIT
Files pushed to the folders and no options for WiFi calling in my phone call settings so dunno what i messed up lol.
Jump1ng said:
Yeah I can see all the folders and files just wasn't sure if system_root was the right as system was blank...
OK will push up the updated files now see what happens
EDIT
Files pushed to the folders and no options for WiFi calling in my phone call settings so dunno what i messed up lol.
Click to expand...
Click to collapse
is your htc12+ dual sim model 2q55100 check at the rear of your phone and software 1.30.401.2 in about phone if so download this and flash with twrp
https://drive.google.com/open?id=1tmZ9qnCP2XaGIWaPCO4kyQ3QidTXkd53
Hi there
I bought a Mi locked Xiaomi Redmi 8 pro from a legal source (can explain and proof via pm if you want,).
I was aware that its locked but I like the challenge
Till now I was able to flash official stock Rom with Sp Flash and also to format the partition with the Mi account authentication files. After that I am able to go through the setup but the moment I connect it to the internet, it will lock again, After you skip the w-lan connection setup the setup will somewhen give out something like "you did not set up a google account, so you have to do the setup again" - so no way so far to start without connecting to internet, no chance to get root access..
Tried this without any internet connection or sim card inserted.
Next thing I thought about was to install a custom Rom with Sp Flash, but could not find a Rom with scatter file yet. No clue if that would help either to avoid the Mi Account request.
I was also thinking to install TRWP to make flashing and so on a bit easier. Can't unlock bootloader, nor root the phone and I am pretty much a noob. Is it even possible (maybe with Bluestacks and Sp Flash ? Yet I wasn't even able to read out the IMEI ...
Would be happy for any help or even solutions. I'd be fine if it would run on somewhat working Linux or custom rom. Keen to try whats possible
Thanks in advance for youre help.
Thought to myself it might be possible to flash a Chinese Rom (without Gapps) and setup without internet connection just to get root access
M1k3.7 said:
Thought to myself it might be possible to flash a Chinese Rom (without Gapps) and setup without internet connection just to get root access
Click to expand...
Click to collapse
It appears I'm talking to myself here ;D
I managed to flash the Chinese stock ROM on the phone. Was same as flashing the global one. After the flash it started up but prompted the same screen where it says the device is Mi account locked. At least i guess it said the same as it was in Chinese
I have to do what i did before - format the partition with the Mi Account on the phone with Sp Flash.
Unfortunately for some reason Sp Flash doesn't want to work anymore. It gives out an error code which apparently says that the USB output power is too low, although i haven't connected the phone nor anything else via USB on the laptop... . Downloaded Sp Flash again, tried the scatter file from the global version, different download manager files and authentication files from different sources.
Every time i get the same error message within a couple seconds after i press "start" after i copy in the start partition and length of the authentication files . Did look up if its the same partition in the Chinese ROM scatter file and it is. Did also try to connect the phone within the time but doesn't work either.
Yeah, that's it for today. Surely a problem with Sp Flash or Windows or the hardware around and not with the phone. Might try it with the other Linux laptop I have but I'm not really good with Linux.
I'm on it and I think if i could just delete the Mi Account partition once more, I could root the phone and install TWRP bootloader to make it a bit easier.
Yeah !
I did use a different windows laptop. Installed Sp Flash, downloaded the Chinese Stock Rom again, libusb devel driver, Python, ...
It worked ! I was able to format the partition wit the Mi Authentication code and setup the phone. As the Chinese Version comes without Gapps (but with english language package) I was able to finish the setup.
Opened developer options, USB debugging mode on, Bootloader unlocked (that's what it says in the settings, buy it's not) ! Way to go
In fact I could install a VPN App via USB right know and trick the Mi Account verification. Could install Gapps (no, I tried and could not) and that's it if the phone is not Google locked as well.
But I will try to install TWRP and a custom ROM first as I don't like bloatware. Still got no answer if custom Rom's do come with Mi Account request
Any help would still be well appreciated
Hi again in my "only me" thread
Had no luck so far to unlock the bootloader. Did install a VPN via usb to use the imternet. Works fine.
Tried to install Google Apps Installer from the Chinese App Store. Hangs on 3% without message.
Right now I'm downloading an older Chinese Stock Rom and will try to downgrade the phone with it. Might help or not, who knows
Would be interesting if it's Google locked as well.
Anyway, I'm not giving up yet. If I'm not able to bring it further, I will use the phone like it is with drony anyway. Won't resell it.
I'll keep trying
M1k3.7 said:
Hi again in my "only me" thread
Had no luck so far to unlock the bootloader. Did install a VPN via usb to use the imternet. Works fine.
Tried to install Google Apps Installer from the Chinese App Store. Hangs on 3% without message.
Right know I'm downloading an older Chinese Stock Rom and will try to downgrade the phone with it. Might help or not, who knows
Would be interesting if it's Google locked as well.
Anyway, I'm not giving up yet. If I'm not able to bring it further, I will use the phone like it is with drony anyway. Won't resell it.
I'll keep trying
Click to expand...
Click to collapse
Update:
After downloading the older Stock Rom (from 2019) I chose the scatter file and connected the phone via bypass tool as usual. Sp Flash won't find the phone ...
Did install the phone with USB devel driver to another USB Port, bypass works --> SP Flash still won't find it.
It seems SP Flash saves Scatter (or ROM) files somehow linked to the driver. When I loaded the old scatter file, SP Flash could find the Phone again. That was probably the problem on the other Laptop too.
I do have a third laptop (kids in school and "bring you're own device ) but that's the Linux one. I also have a Windows PC ...
That would allow me to do the same procedure with two other Rom's, I guess
Don't really wanna try that as it's most likely one or two nasty rules in the windows registry. Again, I'd really appreciate help
That means I will try to solve the problem with what I have now. The working Phone with latest Chinese Stock Rom and Drony but without Gapps.
Will try to block the connection to Mi Cloud and updates on my wifi router.
This should allow me to install a gloabl Stock Rom again which comes with Google Apps. If the device is no Google locked, I could have at least a working phone with Drony always on
Success !
I was able to block the Mi Account checkups in the router and flash my phone back to the newest global Rom !
First i added Url Filters in my Router. I checked the blocked URL's in the Drony App on my Chinese Rom phone. My Router blocks the following Url's:
find.api.micloud.xiaomi.net
data.mistat.xiaomi.com
update.miui.com
i.mi.com
After that i tried to flash the latest Global Stock Rom from the official Xiaomi page and failed first. Got the same error message as i got when i wanted to flash the older Chinese Rom. I figured out that you have to deactivate "Tracing" in the Sp Flash Settings.
It would be probably enough to delete every saved folder in the log file path which is "C:\ProgramData\SP_FT_Logs". ProgramData is hidden, so i choose to try just deactivate tracing at all and it worked for me.
After the flash I had still a couple Chinese and other (Drony, Miracle, UC Browcer, ... ) apps with setings installed. Somehow it saved the Apps and Settings. Most of the Chinese apps where gone though and i was able to go through the Setup with giving it a Gmail account and so on. Google Apps working fine.
After couple minutes I got a message that an android app doesnt work. Couldn't stop it.
At this point I did a "random" factory reset --> with no sim card (mobile data) installed.
This deleted all settings and again, the setup worked just fine.
Right after the Setup i installed the Drony App again and blocked the necessary Apps. Use YouTube or Google to find the right Drony Settings. When Drony is running you can insert you're SIM card and use mobile data
Thats it so far. I have a phone with up to date Firmware but disabled firmware updates, can install practically every App from Google App Store and connect to the Internet with Drony App in between. Activated Developer Mode and USB Debugging (nor necessary).
In fact, with mobile Data off and connected to my home Wifi i could use the phone without VPN App (Drony}.
-------------+++++++++------------
What would I try if I would buy another phone like this ?
I'm just a random guy who bought a locked phone. If you try any of the following on your phone I do not take any responsibility !
1) block the URL's which you can find above
2) https://forum.xda-developers.com/t/...d-flash-in-edl-with-no-auth-for-free.4229679/
At point 9 it says: "Connect powered off phone with volume- button to boot in EDL mode"
You are probably not even able to power off youre phone and you DO NOT need to open your phone to disconnect the battery.
When the phone is on (your'e phone is locked screen or so), press and hold the power button and volume up button, until the phone shuts off. At this very second let the power button go and just keep the volume up button pressed and connect the USB C cable to your phone . That's it.
The libusb filter driver window should find the mtk device. Klick on it quickly and install. It should prompt driver successful installed. No problem if you're not fast enough. Just try again. Even if your device disappears from the list meanwhile - it is installed after this message.
Keep the buttons and the procedure in mind as you will need it later on when you do the bootloader bypass itself with the bypass.bat. Try it again and again till it says "driver installed" when it comes to the "how to install" message at #10 --- and the "protection disabled" at "how to bypass" #3 part.
------------------------------------------------------------
Furthermore you probably don't need to flash (Sp Flash -> download) your device at all. It might be enough if you choose the scatter file of your downloaded Rom , the mtk all in one Download agent and the auth_sv5.auth authentication file.
Then go to "Format" in Sp Flash Tool. Tick "manual format flash" and give begin address
0xe188000 and format length 0x4678000 . After this your phone will boot into setup mode.
DO NOT DO THIS IF YOU ARE NOT SURE YOU HAVE THE RIGHT PHONE, SCATTER FILE, STOCK ROM AND THE RIGHT FIRMWARE ON YOUR PHONE !
The phone is working fine so far. I still want to unlock the bootloader and finally install TWRP and a custom ROM.
Can't say when this will happen, as it's my daughter's phone now
I might also try to deactivate or manipulate the apps which took up the IMEI on the MI account servers. Given that I have developer settings and USB debugging activated I can practically delete or change every single file on the phone but the bootloader.
Maybe I can get rid of the Drony App this way.
It's fun to read your journal.
But unfortunately, unlocking bootloader needs to bind your phone to a mi account. And you have an account lock problem. I guess it won't happen until you solve that.
There is mi account unblocking service out there if you will to spare bucks, but I haven't tried any of it, and as promoting such service is against xda rule, I can't tell you any name here.
Personally, I will keep my hands away from something with account problem. My best experience is buying a bricked phones (redmi note 5 pro, redmi note 8 pro).
kekesed97 said:
It's fun to read your journal.
But unfortunately, unlocking bootloader needs to bind your phone to a mi account. And you have an account lock problem. I guess it won't happen until you solve that.
There is mi account unblocking service out there if you will to spare bucks, but I haven't tried any of it, and as promoting such service is against xda rule, I can't tell you any name here.
Personally, I will keep my hands away from something with account problem. My best experience is buying a bricked phones (redmi note 5 pro, redmi note 8 pro).
Click to expand...
Click to collapse
Thank you for you're reply.
When I bought the phone I actually wasn't aware that the bootloader could be locked. As I said I've not much of an idea and thought I could at least flash a custom ROM on that phone. I know nothing and knew even less a couple weeks ago
I'm aware that there are unlocking services you can pay for. Did not really look into that yet.
I have still a couple options. The guy I bought the phone from does know the name and email of the other guy who but in the mi Account in the first place. That guy is willing to remove the Mi lock if I'd bring the phone to him. He's rather far away though and a flight-ticket is not really worth it
The other option is to pay for it - as you said - but I doubt there is a store nearby me and I don't want to pay a random online based service from I-don't-know-where as the phone works fine like it is now and my daughter is happy.
Another option would probably be to buy another phone with broken screen (but not locked) or so or maybe just the motherboard. I'm not sure though if it's enough to exchange the motherboard or not
Or I could just leave it for now and wait if someone programs a working bootloader key generator or unlocking tool for the phone. That's maybe already out somewhere or it will be next week or in 5 years - who knows
If nothing works, it's fine too as long as it runs like it does now with the VPN.
M1k3.7 said:
Thank you for you're reply.
When I bought the phone I actually wasn't aware that the bootloader could be locked. As I said I've not much of an idea and thought I could at least flash a custom ROM on that phone. I know nothing and knew even less a couple weeks ago
I'm aware that there are unlocking services you can pay for. Did not really look into that yet.
I have still a couple options. The guy I bought the phone from does know the name and email of the other guy who but in the mi Account in the first place. That guy is willing to remove the Mi lock if I'd bring the phone to him. He's rather far away though and a flight-ticket is not really worth it
The other option is to pay for it - as you said - but I doubt there is a store nearby me and I don't want to pay a random online based service from I-don't-know-where as the phone works fine like it is now and my daughter is happy.
Another option would probably be to buy another phone with broken screen (but not locked) or so or maybe just the motherboard. I'm not sure though if it's enough to exchange the motherboard or not
Or I could just leave it for now and wait if someone programs a working bootloader key generator or unlocking tool for the phone. That's maybe already out somewhere or it will be next week or in 5 years - who knows
If nothing works, it's fine too as long as it runs like it does now with the VPN.
Click to expand...
Click to collapse
You can ask him to unregister your phone from his account. It's the best bet.
Wait, I will test it to my old redmi note 5.
Just tested with my redmi note 5 pro. Apparently you can unlock it if you have access to your mi account. I'm sure you don't have google frp lock there so I logged out from my google account before testing.
How did I do that?
1. I did a backup on /data partition using OrangeFox
2. I erased my google account and leaving mi account intact
3. I did a factory reset by le old 3 wipe (data, cache, dalvik-cache), leaving emulated storage intact
4. I rebooted my phone
5. Upon welcome screen, I connected to mobile data and welcomed by "Login to your MI account" screen. I connect to a wifi network here
6. I went to i.mi.com, and login to my account.
7. I clicked on "Find device", and deactivated find device there
8. I clicked on my profile logo -> Devices and storage
9. I clicked on my test device
10. I clicked on "Erase device" and agreed to the next dialog box
11. My device was removed from my account
12. I restarted my device and that annoying lockout screen is gone
13. I skipped everything on welcome screen and checked wether my files are intact or not. It is
14. Test finished. Now restoring my old data
Hello
The seccfg partition unlocks the device.
You must initially unlock the bootloader through the MiUnlock application, then recover (save) the seccfg partition (which contains the bootloader unlock information). But, it is easier to get rid of the requirement of the MiUnlock app.
1) Recover your "seccfg" partition:
* the phone in normal mode =
- We launch the command prompt and we write
adb shell
ls -al /dev/block/by-name
or
adb shell
ls -al /dev/block/platform/bootdevice/by-name
- Output (looking for "seccfg") =
lrwxrwxrwx 1 root root 16 2021-03-06 23:25 seccfg -> /dev/block/sdc13
- We get "seccfg" on the internal memory =
dd if =/dev/block/sdc13 of =/sdcard/Partition_seccfg
(I named "Partition_seccfg", but you give the name you want)
- You save "Partition_seccfg" on your PC
* We can recover the "seccfg" partition by SPFlashTool
- Edit your "MT6785_Android_scatter.txt" from a stock ROM (with Notepad or other)
- We are looking for "seccfg" =
partition_index: SYS14
partition_name: seccfg
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x13800000
physical_start_addr: 0x13800000
partition_size: 0x800000
- We turn off the phone
- we switch to EDL mode with the python script "bypass_utility-v.1.4.2" (see on the web for installation and other information, among other things to unbrick the phone)
- we do a "readback of the" seccfg "partition with SPFlashTool using linear_start_addr: 0x13800000 and partition_size: 0x800000 (check the location on the PC, where the "seccfg" partition will be saved with the name you have chosen)
2) Modify your "seccfg" partition:
* We edit the "seccfg" partition with a hexadecimal editor (Notepad or other)
- Total size 000000000 to 007ffff0 (000000040 to 007ffff0 : zero bytes = 00)
- Address 000000000 to 00000003f, we find :
0000000 to 000000f
4d 4d 4d 4d 04 00 00 00 3c 00 00 00 02 00 00 00
0000010 to 000001f
00 00 00 00 00 00 00 00 45 45 45 45 3d aa 79 3b
0000020 to 000002f
eb b0 56 bd 53 48 d3 6e 7d 54 a0 41 0c 2d 1a 90
0000030 to 000003f
58 1a 9c 5f ab 90 cc 0f 5c 11 63 a2 00 00 00 00
(The bootloader is locked!)
- We modify with our hexadecimal editor (Address 000000000 to 000000030) :
0000000 to 000000f
4d 4d 4d 4d 04 00 00 00 3c 00 00 00 03 00 00 00
0000010 to 000001f
00 00 00 00 00 00 00 00 45 45 45 45 57 b3 59 5d
0000020 to 000002f
9e bc 3d 02 33 91 84 9a 42 59 54 8e 07 aa 0f 34
0000030 to 000003f
f1 bb 1e 47 ea 8e cf 76 fb de 79 7b 00 00 00 00
(The bootloader is unlocked!)
- We save our changes
3) Write your "seccfg" partition on the phone:
* We flash the "seccfg" partition
- fastboot flash seccfg "path on your PC"\"name of your saved seccfg partition" (E:\MyFolder\Partition_seccfg for example), in fastboot mode,
- SPFlashTool using EDL mode with the python script "bypass_utility-v.1.4.2 "and by flashing your rom by not checking that the partition "seccfg",
- in adb mode, with the opposite operation, after having copied your partion "seccfg" on the internal memory of the telephone (name "Partition_seccfg" that I gave and that you choose) :
adb shell dd if=/sdcard/Partition_seccfg of=/dev/block/sdc13
- We restart the phone and the bootloader is unlocked without intervention from Xiaomi or other!
4) Warning :
Once all this information is published, subsequent MIUI updates may destroy our efforts by scheduling the bootloader release in a more complicated way!
If I manage to re-enable telephony after changing the IMEIs and serial number of the phone, I will let you know. If anyone knows how to reactivate telephony after making these changes, let us know.
Hi. See you soon.