yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Pad 4 Questions & Answers] L064Z:
Hey guys!

I have a POCO F3 with Stock ROM, Android 13 MIUI 14.0.8, with unlocked bootloader, with the Realking Kernel and I rooted it with Kernel SU.

I did this because I want to use the PS3 controller to play on the POCO F3 via Bluetooth through the Sixaxis Controller application, I already granted root access to it but unfortunately it didn't work, this error occurs:

Getting bluetooth address...

Attempting connection method 1...

Driver Starting...

Error: Failed to configure bluetooth

Getting bluetooth address...

Attempting connection method 2...

Driver Starting...

Wrong number of ports were opened

Error: Failed to configure bluetooth

Getting bluetooth address...

Attempting connection method 3...

Driver Starting...

Could not load bluetooth library

Error: Failed to configure bluetooth

Getting bluetooth address...

Attempting connection method 4...

Driver Starting...

Could not load bluetooth library

Error: Failed to configure bluetooth

Getting bluetooth address...

Attempting connection method 5...

Driver Starting...

Error: Failed to configure bluetooth

Could not load HCI library

Getting bluetooth address...

Attempting connection method 6...

Driver Starting...

Could not set HCI raw mode

Error: Failed to configure bluetooth

Getting bluetooth address...

Attempting connection method 7...

Driver Starting...

Could not set HCI raw mode

Error: Failed to configure bluetooth

Attempting to close server...

Restoring previous bluetooth state...

Disconnected

I was happy to see these messages above that it is possible to resolve.

I installed the Terminal Emulator for Android as son.dh suggested and followed its commands, the status was changed to "Permissive".

After that I started the Sixaxis Controller application by clicking on its icon and the same error as above continued. Was that really what I had to do?

I have no knowledge on the subject, I hope you guys can help me please.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] akito88:
help ayuda g4 muerta por actualizacion de g3 muerta no prente atyda
[8125, K-JAM, P4300, MDA Vario Software Upgrading] zabardast_1:
its 'English' the official language of this forum,if you need help,post in English.

Secondly,there's no need to post in every thread/forum,once is enough and wait for someone to answer.
[Xiaomi Redmi Note 6 Pro Questions & Answers] housam99:
Hi guys

Is there a way to downgrade from MIUI 10 to MIUI 9 because I'm facing a bit of battery drain
[Xiaomi Redmi Note 6 Pro Questions & Answers] sleizi:
Like normal :D Using Miui flash tool or TWRP :D
[Xiaomi Redmi Note 6 Pro Questions & Answers] SrWladimir:
DON'T USE MIUI FLASH TOOL TO DOWNGRADE, otherwise enjoy your bricked device.

(Anti Roll Back protection is a thing for our disgrace)

May only flashing some things of MIUI 9 can get it working, but never do a total downgrade, I personally recommend don't even try it.

https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
[Xiaomi Redmi Note 6 Pro Questions & Answers] mustibursa:
Hy

İsnt same atb 4 ? İn 10 and 9
[Xiaomi Redmi Note 6 Pro Questions & Answers] SrWladimir:
What are you talking about?
[Xiaomi Redmi Note 6 Pro Questions & Answers] edu_pozzolini:
I did the whole process by twrp. I was at miui 9, went to miui 10 and came back to miui 9. no problems. I use pitch black recovery.
[Xiaomi Redmi Note 6 Pro Questions & Answers] davorterzin:
Whic version of MIUI 9 did you used?

9.6.10.0 maybe?

Your MIUI 10 version had ARB #4 so i assume that MIUI 9 had the same?

Somewhere i have read that downgrading is possible igmf both versions of MIUI (10 and 9) have same ARB levele...
[Xiaomi Redmi Note 6 Pro Questions & Answers] edu_pozzolini:
Yes, i use miui 9.6.10.0.
[Xiaomi Redmi Note 6 Pro Questions & Answers] kathsfernan:
What about the wipes? You clean all the partitions?
[Xiaomi Redmi Note 6 Pro Questions & Answers] edu_pozzolini:
Wipe system, dalvik, cache.
[Xiaomi Redmi Note 6 Pro Questions & Answers] kathsfernan:
Im in Pie Beta, does this works?
[Xiaomi Redmi Note 6 Pro Questions & Answers] edu_pozzolini:
I dont know dude...
[Xiaomi Mi 8 Lite Questions & Answers] vuittion:
I have just purchased a Xiaomi mi 8 lite and went through the process of unlocking the bootloader but it says I have to wait 360 hours which is an absolute joke. does anyone know a website that unlocks Xiaomi smartphones as I cant wait that long. many thanks.
[Xiaomi Mi 8 Lite Questions & Answers] alexlowas:
Hello guys, after succesfull Bootloader unlock and flashing new os i have no Sound at all, no phone call etc, fp isnt working too, any sugestions?
[Xiaomi Mi 8 Lite Questions & Answers] santiagog242:
Just wait. Everyone had to wait.
[Xiaomi Mi 8 Lite Questions & Answers] vuittion:
I got rid of the phone in the end only had it a few days, hated the retarded process of having to wait to unlock the bootloader and the even more crazy process of unlocking it. Got myself a Xiaomi Mi A2 with stock Android pie 9 so much better than the overbloated Miui software.
[Xiaomi Mi 8 Lite Questions & Answers] lexridge:
I read somewhere else (do not recall exactly where), the reason for the long wait is they want you to get two weeks of MIUI advertising. Once the phone has been activated for at least 2 weeks, it will unlock instantly using their unlocking software, no wait required. Can anyone confirm this?
[Xiaomi Mi 8 Lite Questions & Answers] cidxtc:
You have to enable developer options to bind the phone to your miui account to start the unlock countdown of 360 hrs (better than the 720 it was). During the wait period you must not logout of miui account (factory reset, change from stable to beta or vice versa) or you will no longer be able to use that miui account to unlock ever! You will have to create a new account and start over at 360hrs again. Once all the requirements are meet then unlock software will work without issue.
[Xiaomi Mi 8 Lite Questions & Answers] lexridge:
I have been trying to make it happen, but it keeps telling me that my account is not associated with my phone number, which it is.
[Xiaomi Mi 8 Lite Questions & Answers] lexridge:
Developer options have been enabled since within 10 minutes of owning this phone. However something I missed, you have to link your account within Developer options by entering the "Mi Unlock Status" item and clicking "Add Account and Device". Anyway, I did this but still no love. Still says there is no phone number associated with my account. Grrrrr. Any ideas anyone? I really love this phone so far, but may still exchange it for the Pocophone. F1.

Also, on a side note. Once the bootloader is unlocked, is it possible to re-lock it?
[Xiaomi Mi 8 Lite Questions & Answers] ljvd:
I read on the MIUI forum that if you launch the unlock process with a chines IP address and with your email, not the phone number, with a VPN, you could unlook in less than an hour

I discovered the information too late, I'm in the 360h waiting list ...
[Xiaomi Mi 8 Lite Questions & Answers] lexridge:
I read this somewhere too, using a VPN will do the trick. However when you register your phone with your account in the Dev Opts, it makes you turn off WIFI and register via 4G/LTE (probably for GPS location data). That doesn't necessarily mean it would still not unlock if the PC unlocking tool is connected to a Chinese VPN, just casts my doubts.

Anyway, I finally got it to take....after I created a new Mi account and got the phone number registered. However the message the Unlock tool gives upon successfully starting the unlock process is very uninformative. It says something like "Couldn't unlock device after 360 hours of trying". I have not even owned this phone for 360 hours!! After googling for this crazy error, I found it is "Engrish" for "Must wait 360 hours to unlock your device". JEEZE!! Go figure!!

I really can understand making one wait for a certain amount of time to unlock it, just to give the owner enough time to erase the data on a potentially stolen or lost phone. Nobody, I mean NOBODY, is going to wait 15 days before remotely erasing their phone. But then again, when the BL is unlocked, it will automatically erase all the data anyway, so perhaps my point is moot.
[LG G5 Questions & Answers] detectableink:
So basicaly I was being lazy and in a rush. I had done something like this before on much older phone(s) with no issues...

I backed up my working LG G5 in TWRP all partitions. I brought exactly the same model for my wife and wanted to restore my backup to that phone (I have made many customisations on my rom and didnt want to have to manually do it all again for her)

However after unlocking the bootloader, flashing TWRP and installing new base rom (all went fine) I then went to restore my old backup onto this new phone, stupidly I ticked all partitions to restore. I have a feeling that I should have only done the larger partitions. Once I rebooted I got the "cant be trusted" message, I reflashed in UPPERCUT but then the phone booted and then had secureboot enabled. I hit the wrong password (as there was none) 30 times which then forced a format. Now the phone boots fine and works 100% BUT...BUT....

I now can no longer unlock the bootloader as I think its trying to use MY phones bootloader (as its unlock.img says its the wrong one, I have tried both MY phones original unlock.img and my wifes new phones unlock.img but both dont work) I cannot relock the bootloader as it says its already locked... this also now means that through LG official software I cannot recover the phone. Only UPPERCUT can see the phone. I can get to download mode and fastboot.

Also the phones IMEI now says 0, this worried me however her SIM card is working 100% fine (I guess that the IMEI

is cached somewhere, but im worried that if I use some cleaning tools it may scrub it and then she will have no network access)

So basicaly if her phone starts to play up (or I want to upgrade it to Oreo / Lineage at a later date) can anyone offer me advice on how to...

A: Fix / Restore the bootloader (I dont mean recovery) Im confused as to if this is stored on a chip or can be reflashed from the kdz firmware images.

B: Resore the IMEI (I have it written down) incase we get any network issues in the future. Can it be resored or regenerated without some fancy hardware, ie only through software.

C: I dont have Root or TWRP access it seems, any way of Getting Magisk or Super SU on a phone without bootloader unlock, root access or TWRP?

I have had many years experience and never bricked a phone but almost did this time.
[LG G5 Questions & Answers] DyG121:
I decided to post a solution here, because it was one of the first Google results when I was looking for some help.

Long story short, I did exactly same mistake of restoring all partitions, including the EFS, between two same LG devices. Turns out it messes with IMEI, which is a big no no and phone locks. Now you can't unlock the device again, because there is no IMEI to use in unlocking. Also no flashing or erasing anymore, because it just fails.

So the IMEI needs to be restored first.

My phone was in a bootloop constantly showing the "cant be trusted" message, but I managed to fix that using LGUP. Apparently not all partitions are locked, because trying to flash the same system with LGUP fixed the bootloop, but failed to flash clean system and the data that TWRP flashed was still there. Trying to restore system to factory settings also fails, but it doesn't matter.

Fortunately I was able boot the system, which made fixing it easier than you'd expect:

1. Fixing the IMEI from booted system (no root or unlocking needed):

- Access the hidden menu on your device by dialing a proper number. For LG G5 H850 it is *#546368#*#850#

Where 850 in the last part is your phone model. The number will vary for different models.

- Go to SVC Menu -> CRCWIZARD Test

- Switch tab to Auto MID

- Here you can enter your new IMEI and WiFi and BT MAC addresses, or you can just generate it.

You can also use the generate option for all values and then manually change only the IMEI for the original one.

- Press MID Write button and reboot your device.

- That's it. IMEI issue should be fixed now.

2. Now that you restored your original IMEI, you can again unlock your device using the same unlock.bin file that you used to unlock bootloader the first time.

Voila. From now on the device is again unlocked and you can just go back to flashing whatever you need.
[Samsung Galaxy S7 Questions and Answers] angelpaul13:
Hello,

i have a SM-G930F with Android 8.0, i did CF-Auto-Root as i wanted to stay as close to stock Samsung firmware. After that i have noticed the phone to be a bit slower but nothing extreme. My main problem is with the Oculus app, when i put it on the Samsung Gear VR, it is lagging on the videos and when i run the Samsung VR app via Oculus it does the same thing (plays sound and not video, image is stuck while video is playing, slow video seeking, response time in general is having latency) It was working fine before the root. Has anyone else noticed the same behavior? Any suggestions?

Thank you in advance
[Samsung Galaxy S7 Questions and Answers] angelpaul13:
I flashed Superman ROM and it got fixed.

Can you delete this thread? i dont seem to find the option somewhere
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
I have managed till installing twrp, however it seems like all the downloaded rom files and decrypt.zip are encrypted. I tried to copy 'em to the internal storage again but as I boot to twrp it again goes to encrypted mode. In Twrp, I tried to enable the MTP and copy files directly but it always fails. How do I go from here?? Please help!

Phone : MI mix 2

bootloader : unlocked

Twrp : installed

Twrp variant: Dwight twrp

Rom : Pixel Experience/ RR/ HAVOC etc
[Xiaomi Mi Mix 2 Questions & Answers] KaptanHarlock:
Use orange twrp
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
orange twrp ? could you tell me where can I get it?
[Xiaomi Mi Mix 2 Questions & Answers] AndyYan:
My 2 cents:

If you can still boot whatever OS you have right now, back up things you need (including internal storage), then format /data. Reboot into recovery and flash whatever you want, optionally DecScript to switch to unencrypted data after next boot. OrangeFox recovery is not necessary but its UI could be seen as intuitive to some.
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
I can boot in Twrp and Miui10 OS too. I want to install custom rom, but the rom.zip files turns out encrypted when booting up in Twrp. while being in Twrp I tried to transfer " unencrypted rom.zip " files in my PC to internal storage to flash it but I can't transfer it even after enabling MTp in Twrp.

How do I install the rom is my problem. Shall I wipe data, cache? and then how?
[Xiaomi Mi Mix 2 Questions & Answers] AndyYan:
So you're seeing the storage as encrypted (garbled content)? I never actually used encrypted data so I don't know for sure, but Wight's TWRP might not be able to decrypt MIUI's /data, so IMO you do need to format (not wipe) /data. You might also need to reboot to recovery once after that, so that the storage is recognized properly by PC.
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
still not working. I wonder how people are installing Roms when you are booting in Twrp and finding everything encrypted.
[Xiaomi Mi Mix 2 Questions & Answers] lester0310:
Boot into TWRP and select Wipe and then Select the Format Data button.

Make sure you're not sliding to factory reset or advance wiping.

NOTE: This will erase all the information from the phone including internal storage. Make a backup prior this process.

After you're done, you can connect the phone to a PC while on TWRP to copy the rom zip files to internal storage and flash them. A backup from TWRP is highly recommended just in case.
[Xiaomi Mi Mix 2 Questions & Answers] AndyYan:
Emphasis on "format (not wipe)"... Lester already made it clear for you.
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
thanks. I'll do that as soon as I reach home. I'll let you know the progress. I hope everything works well. :)
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
Ok. Now I got it. I'll do that n will let you know. Thanks again. Can't wait to try the rom. I'll drop some "beer" coins in ROM's donate account soon. Hope the link works.
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
Thanks for the help. I'll drop some beer coins at your rom's Donate link soon
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
Hey! It works! I'm enjoying LOS16 on mi mix 2.

My problems :

1. Booting to Recovery Twrp :

only thru fastboot mode > fastboot boot twrp.img, Mi inbuilt recovery prevent me to boot to twrp.

Is there any way to go to twrp by just pressing buttons?

2. Flashing magisk/Universal_Decrypt.Zip Bootloops
[Xiaomi Mi Mix 2 Questions & Answers] AndyYan:
Both work fine on my side so I'm assuming there's still something wrong with your setup, but on the other hand I don't really have a clue...
[Xiaomi Mi Mix 2 Questions & Answers] lester0310:
1- There are multiples ways to reboot to recovery:

Buttons combination: Turn the phone off and press Power + Volume Down and it will boot to recovery.

Apps (root required): There are multiples apps that has a option to reboot to recovery directly. Search something like advance reboot on Play Store.

adb (USB debugging required): Running the command "adb reboot recovery" from terminal will reboot the phone into recovery.

2- To flash magisk, first flash the rom and gapps and reboot to system, finish the initial setup and then reboot to recovery and flash the magisk zip file. Next reboot will take a few minutes.

Edit: The universal decrypt file is not necessary since the data partition is no longer encrypted.
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
Yes i agree. The thing is Mi has its own recovery, thats preventing me from going to twrp directly, (even though) twrp is properly installed. if i press the button combination it will go to the "Miui inbuilt recovery" Not to twrp. so i go the fastboot mode and boot to Twrp recovery thru adb command. If only I could suppress inbuilt recovery and boot to twrp recovery it would be great. Apps like "boot to recovery" only initiate booting in recovery. It fails to choose Twrp because there are two recovery inside.

In my previous devices, honor 8pro n Samsung 8+ this wasnt an issue. But with Mi phone...

Does yours boots to Twrp directly with the button combination?
[Xiaomi Mi Mix 2 Questions & Answers] lester0310:
That's means that the TWRP recovery is not installed, there's is just one recovery partition and only one can be installed at the same time.

From fastboot mode run "fastboot flash recovery twrp.img"

That will replace the stock recovery and you will be able to boot to twrp with the button combination and any other app running the reboot recovery command.
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
I installed Twrp with that command only once. After that, i have been using "fastboot boot twrp.img" only to boot in twrp.

Ok ill try reflashing twrp again with "fastboot flash recovery twrp.img"
[Xiaomi Mi Mix 2 Questions & Answers] dark_prince:
Just remove lockscreen protection before rebooting into recovery. You will be fine. Do this before everytime you want something done in TWRP. You won't have to format DATA partition everytime. TWRP will decrypt with default password and you'll be good. I have moved between MIUI 10 and pie roms without trouble this way.

---------- Post added at 05:32 PM ---------- Previous post was at 05:31 PM ----------

You can just use power + volume up combo to get into TWRP recovery. You don't basically need to fastboot for recovery after it's installed.
[Xiaomi Mi Mix 2 Questions & Answers] xdasith:
It wasn't working before. I had to reflashed it. Now its working! thanks.
[Samsung Galaxy J7 (2017) Questions & Answers] YeQiu:
I have an replaced lcd on j7 2017 and running android oreo. I'm not sure if the touch will work if I install a rom. I just need your feedback if somebody already tried flashing a custom rom on an replaced lcd screen. to be sure I'll be making a backup before I install a rom. :)
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Psy_Man:
INTRODUCTION

/*
* Your Warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, dead dogs, or cats,
* but i'm very interest in thermonuclear war, so if you point the finger
* at me for messing up your device just because this kernel, I will
* send you to the mars with Nuclear Rocket. Act accordingly.
* I know this paragraph is conspiracy-included, so
* dont ask about it. Welcome.
*/

Pepsy is a custom kernel that improves battery consumptions and performances. It's based on LineageOS's kernel to ensure the best stability. It has a lot of improvements made by various legendary XDA developers. I will ever prefer quality over quantity, so do not ask for useless features. And do not forget to drink a PEPSY!

FEATURES

Compiled with SnapDragon LLVM 6.x

Compatible with android 9.x

Upstream to latest 4.9 kernel tag from kernel.org

Synced with latest changes from LineageOS

Synced with latest changes from CodeAuroraForum

Boeffla's Wakelock Blocker

Backlight Dimmer

KCAL Post Processing Control

WireGuard

Disabled CRC check

Swappiness 0

Bic, Cubic, Westwood, Hstcp, Hybla, Htcp, Vegas, Reno, Scalable, Lp, Yeah and Illinois advanced TCP

Disabled various logspam of various drivers

Optimized cpu-idle

... and much more to come

Please refer to GitHub for a complete features list

DOWNLOAD

Latest Pepsy Kernel

Compatible with:

MI Mix 2s

INSTALLATION

First time install:

Reboot to TWRP recovery

Flash the kernel zip

Flash Magisk (optional)

Wipe cache and dalvik (optional)

Reboot

Updating the kernel:

Reboot to TWRP recovery

Flash the kernel zip

Wipe cache and dalvik (optional)

Reboot

Coming from another kernel:

Dirty flash your ROM or flash the boot.img only

Flash the kernel zip

Flash Magisk (optional)

Wipe cache and dalvik (optional)

Reboot

THANKS TO

Please refer to

GitHub

Donate

HERE

if you want :)​

XDA:DevDB Information

Pepsy Kernel, Kernel for the Xiaomi Mi Mix 2S

Contributors

Psy_Man

Source Code: https://github.com/PsyMan47/Pepsy-Kernel-Xiaomi-SMD845

Kernel Special Features:

Version Information

Status: Stable

Current Stable Version: 0.1

Stable Release Date: 2019-01-29

Created 2019-01-29

Last Updated 2019-01-29
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] YongJeah:
Miui compatible?

And notification led brightness ok ?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Psy_Man:
Not yet compatible with MIUI.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Dorisnov:
Just installed on Havoc to see how it works.

Thanks for your work, Psy_Man.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] c296149548:
Nice work！

Incredible battery consumption!:good::good::good:
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Fr1endsh1p:
have vibration control?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pi4a7a:
When I thought Potato OSP was funny, nice work once again bro.?

Waiting for MIUI compatibility an gonna test for sure.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] kleinholzinferno:
Any possibility to provide a download link for all who don't use telegram? That would be nice!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] unrated87:
No Maple i/p scheduler. Could you please add it?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] MacLaughlin:
Does it support dt2w? Since I've flashed it, dt2w seems to be gone. Also recovering old kernel doesn't solve the problem.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] MiniBlu:
Dt2w works fine for me. Pepsy kernel with PE.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] MacLaughlin:
Yeah solved it. Shutting down the phone completely and rebooting solved it.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pepexzz:
Have the Dame problem, ?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] MacLaughlin:
Does shutting it down and rebooting fix it?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pepexzz:
No, but once in 6 tries it works