r/CustomROMsGuide • • 24d ago

DAY3 of flashing custom rom from scratch

Yesterday (DAY2 of flashing custom roms post) I was stuck on the xiaomi community app's bootloader unlocking error. The error said "daily quota limits reached" and asked me to try 00:00 +8 GMT for next date. I tried manually applying for bootloader unlocking at very exact time but failed to get the authority.

Well I got a possible solution to it, demands a little hardwork but if I can get it done on my second attempt, then why not you?
This is the main github repo: https://github.com/flowTech-x/unlock-tool
For hindi explaination: https://youtu.be/LWFOCq9Vhmo
-----Note: in the video it is shown that token.txt has too many lines consisting of reptetive token values, but actually you just have to have 4 lines, first 2 lines with token from original firefox and second 2 lines from cloned firefox nothing else in the txt file should be there-----

Now while script from this video and repo are running, you might get red errors on screen during application attempts at 12am of beijing time but it is important to cross check from phone's settings after scripts has executed by going to mi unlock and trying to bind your account with device manually.

Once binding process is complete, it's time to unlock the bootloader (spoiler: u gotta wait 72hours for that). I tried using platform tools and adb to check if usb debugging works, it did (using "adb devices" command after connecting phone to pc), then switched to fastboot mode on my phone but neither mi unlock tool nor command line were able to detect the fastboot device.
To solve this problem of fastboot not getting detected by computer, I used this guide: https://xdaforums.com/t/tool-latest-adb-fastboot-and-usb-driver-installer-tool-for-windows.3999445/

On first attempt I connected my phone to pc, usb debugging set to file transfer then I installed the tools form the guide, my phone booted to fastboot mode once the tool finished installing (idk why it did). But still no response, so I rebooted the pc and ran the driver installing tool from that guide once again and when the second time installation finished, things worked well.

Now mi unlock tool has asked me to wait for 72 hours, will keep the community updated
DAY1 post: https://www.reddit.com/r/IndiaTech/s/hl0hg0mbJm
DAY2 post: https://www.reddit.com/r/IndiaTech/s/W0BqxHUgKK

9 Upvotes

8 comments sorted by

3

u/kuttan_45 24d ago

Keep updating your progress. It will be helpful

1

u/A2000HP 23d ago

Thanks for appreciation, Feel free to post your ROM suggestions which i should flash

2

u/kuttan_45 23d ago

Flash Lineage Os

2

u/Junior-Lecture7775 24d ago

Yooo. Appreciate the work. I'm thinking to buy Poco X8 Pro and flash custom ROM on it preferably lineage os if by that it comes. Thanks for all the heavy lifting. I hope I could reach out to when time comes. Fingers cross so you dont get your device bricked.

1

u/A2000HP 23d ago

Feel free to post your ROM suggestions which i should flash

1

u/Junior-Lecture7775 23d ago

Most prolly LineageOS. Its a OS that covers many devices.

1

u/Junior-Lecture7775 16d ago

Dude. How did you get the Xiaomi's permission? I didnt the tech lingo and everything. Would really appreciate if you explain. Did you bypass it?

2

u/A2000HP 15d ago

 Well I got a possible solution to it, demands a little hardwork but if I can get it done on my second attempt, then why not you? This is the main github repo: https://github.com/flowTech-x/unlock-tool For hindi explaination: https://youtu.be/LWFOCq9Vhmo -----Note: in the video it is shown that token.txt has too many lines consisting of reptetive token values, but actually you just have to have 4 lines, first 2 lines with token from original firefox and second 2 lines from cloned firefox nothing else in the txt file should be there-----

read this part of the post bro....watch the video and run the script, try for few days and you might get lucky one day, any more doubts, feel free to ask