How To Guide Force 120Hz MIUI 13 & MIUI 14 - Xiaomi 12T Pro / Redmi K50 Ultra

This is a thread for those who don't want to root their device to force 120Hz on every app.​If you are looking for a root solution, then use the LSPosed module called MIUI Performance Saver - Download here
In this way, you can force 120Hz in applications such as: YouTube, MX Player, Google Maps and many others that run at 60Hz by default in MIUI.
You will notice the changes, but you can check it by turning on the refresh rate counter in developer options and check the changes before and after.
​First method via ADB
1. In your device, in developer options, enable usb debugging and usb debugging (security settings) and connect your phone to the PC.
2. Download platform tools and extract to a folder
3. Open console in the platform tools folder
4. Enter the following command:
For MIUI 13:
Code:
adb shell settings put system user_refresh_rate 1
For MIUI 14:
Code:
adb shell settings put secure user_refresh_rate 1
If first method doesn't work for you, then try second method.
Second method via Settings Database Editor app
Download this app from the Play Store and for it to work properly, download and install this file from github (settings-database-provider.apk).
For MIUI 13:
1. Open Settings Database Editor app
2. Search "user_refresh_rate"
3. Cick on it to edit the value and replace 120 with 1 and save changes
4. Done
For MIUI 14:
MIUI 14 requires you to grant permissions to the Settings Database Provider app via ADB
1. In your device, in developer options, enable usb debugging and usb debugging (security settings) and connect your phone to the PC.
2. Download platform tools and extract to a folder
3. Open console in platform tools folder
4. Enter the following command:
Code:
adb shell pm grant com.netvor.settings.database.provider android.permission.WRITE_SECURE_SETTINGS
5. Open Settings Database Editor app
6. Search "user_refresh_rate"
7. Cick on it to edit the value and replace 120 with 1 and save changes
8. Done
Keep in mind that it may not work because Xiaomi changes something under the hood of the updates.

I dont know what to say, force fps can cause useless battery drain on app that dont really need ... Do you really need 120hz when you send sms or making call or even messenger ... All do what they want but i wont use it

snx413 said:
I dont know what to say, force fps can cause useless battery drain on app that dont really need ... Do you really need 120hz when you send sms or making call or even messenger ... All do what they want but i wont use it
Click to expand...
Click to collapse
I've been using this method since I had the Poco F3 and I've never noticed that the battery was draining much because of it. I'm used to 120Hz and find it irritating to suddenly switch to 60Hz when scrolling in YouTube or some other app. I am not forcing anyone to force 120Hz on their devices.

Yeah but its most of the time at 120 btw, only you tube and tik tok seems to lower it at 60,
I miss my poco f3... They have all custom rom they want pfff, i sold to my brother ...

root and non root method doesnt work for my poco f3 with xiaomi.eu, i tried global too

HappyTrix said:
root and non root method doesnt work for my poco f3 with xiaomi.eu, i tried global too
Click to expand...
Click to collapse
Can you provide more information? Any errors when executing commands in ADB? Can't find user_refresh_rate in setedit app? It's impossible that it wouldn't work on Poco F3, because I had this device until recently (now I don't have it anymore) and both methods worked perfectly in global ROMs and xiaomi.eu.

is there any way to force it from 120hz to 60hz instantly when i stop swiping? it only works when brightness is above 50%, if below 50% it's always 120hz

nhquocnam said:
is there any way to force it from 120hz to 60hz instantly when i stop swiping? it only works when brightness is above 50%, if below 50% it's always 120hz
Click to expand...
Click to collapse
This is MIUI, nothing can be done about it. You can try Magisk root + LSPosed "MIUI Performance Saver" module and force 120hz, which "maybe" will solve your problem, or you can wait for some custom rom that will hopefully come out for the Xiaomi 12T Pro someday, as long as Xiaomi releases kernel source code for this device.

I cant seem to get my ADB to work u have any guides? and there is no "console" in the platform tools folder please help me

uvzen said:
This is a thread for those who don't want to root their device to force 120Hz on every app.​If you are looking for a root solution, then use the LSPosed module called MIUI Performance Saver - Download here
In this way, you can force 120Hz in applications such as: YouTube, MX Player, Google Maps and many others that run at 60Hz by default in MIUI.
You will notice the changes, but you can check it by turning on the refresh rate counter in developer options and check the changes before and after.
​First method via ADB
1. In your device, in developer options, enable usb debugging and usb debugging (security settings) and connect your phone to the PC.
2. Download platform tools and extract to a folder
3. Open console in the platform tools folder
4. Enter the following command:
For MIUI 13:
Code:
adb shell settings put system user_refresh_rate 1
For MIUI 14:
Code:
adb shell settings put secure user_refresh_rate 1
Second method via SetEdit app
Download this app from Play Store
For MIUI 13:
1. Open Setedit app and scroll down to the end
2. Find "user_refresh_rate" "120"
3. Cick on it to edit the value and replace 120 with 1 and save changes
4. Done
For MIUI 14:
MIUI 14 requires you to grant permissions to the Setedit app via ADB
1. In your device, in developer options, enable usb debugging and usb debugging (security settings) and connect your phone to the PC.
2. Download platform tools and extract to a folder
3. Open console in the platform tools folder
4. Enter the following command:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
5. Open Setedit app
6. In the right corner, change the "System Table" tab to "Secure Table"
7. Scroll down to the end and find "user_refresh_rate" "120"
8. Cick on it to edit the value and replace 120 with 1 and save changes
9. Done
Click to expand...
Click to collapse
Thank you, useful af

I'm getting an error while running the adb command :
Exception occurred while executing 'put':
java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:2331)
at com.android.providers.settings.SettingsProvider.mutateSecureSetting(SettingsProvider.java:1768)
at com.android.providers.settings.SettingsProvider.insertSecureSetting(SettingsProvider.java:1719)
at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:467)
at android.content.ContentProvider.call(ContentProvider.java:2533)
at android.content.ContentProvider$Transport.call(ContentProvider.java:530)
at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:382)
at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:278)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:50)
at android.os.Binder.shellCommand(Binder.java:1054)
at android.os.Binder.onTransact(Binder.java:882)
at android.os.Binder.execTransactInternal(Binder.java:1290)
at android.os.Binder.execTransact(Binder.java:1249)

SooRaj SuResh said:
I'm getting an error while running the adb command :
Exception occurred while executing 'put':
java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:2331)
at com.android.providers.settings.SettingsProvider.mutateSecureSetting(SettingsProvider.java:1768)
at com.android.providers.settings.SettingsProvider.insertSecureSetting(SettingsProvider.java:1719)
at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:467)
at android.content.ContentProvider.call(ContentProvider.java:2533)
at android.content.ContentProvider$Transport.call(ContentProvider.java:530)
at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:382)
at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:278)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:50)
at android.os.Binder.shellCommand(Binder.java:1054)
at android.os.Binder.onTransact(Binder.java:882)
at android.os.Binder.execTransactInternal(Binder.java:1290)
at android.os.Binder.execTransact(Binder.java:1249)
Click to expand...
Click to collapse
Changing refresh rate via ADB doesn't work for me either. Xiaomi changed something in the permissions again during one of the updates. I just updated my thread, so try second method through the Settings Database Editor app, because I checked and it works for me on Xiaomi.eu weekly 23.5.22.

Very good find! I had it working on MIUI 13 but I had been waiting to get it working on MIUI 14 since forever, didn't know we had to modify the secure table for this. Also, do you know any more efficient ways to do this with root? I am always rooted.

SooRaj SuResh said:
I'm getting an error while running the adb command :
Spoiler: Code
Exception occurred while executing 'put':
java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:2331)
at com.android.providers.settings.SettingsProvider.mutateSecureSetting(SettingsProvider.java:1768)
at com.android.providers.settings.SettingsProvider.insertSecureSetting(SettingsProvider.java:1719)
at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:467)
at android.content.ContentProvider.call(ContentProvider.java:2533)
at android.content.ContentProvider$Transport.call(ContentProvider.java:530)
at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:382)
at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:278)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:50)
at android.os.Binder.shellCommand(Binder.java:1054)
at android.os.Binder.onTransact(Binder.java:882)
at android.os.Binder.execTransactInternal(Binder.java:1290)
at android.os.Binder.execTransact(Binder.java:1249)
Click to expand...
Click to collapse
Try with granting permission to the app. Even with that you will get an error which you can solve as follows:
How can I use adb to grant permission without root?
Background I'm trying to create an app that can grant and revoke permissions of other apps. To do this I'm using adb commands: pm grant packageName permissionName This works great if I call it
stackoverflow.com

Unknown.Guy said:
Also, do you know any more efficient ways to do this with root? I am always rooted.
Click to expand...
Click to collapse
If you have root then use LSPosed module MIUI Performance Saver.

Related

[Reaver][Hack][Help] Reaver For Android Wifi Hack working but last stage error

Well, i struggled for half a day relentlessly and finally got Reaver Working on my Xiaomi Mi4 android phone with a big help from the below mentioned link , everything is going good and fine, i got the Reaver app working on my Rooted app without bcmon and it worked and i'm ready to hack the network but just as i bypassed "Test Monitor" successfully(by loading a few scripts and debugging) and hit "Start Attack" this thing showed up, below i've written down the issue as it appeared since i'm not allowed to post screenshots & Links untill i make 10 posts(i'm a new user) and the scripts that i used to bypass Test Monitor are attached below, i'm basically a noob but good at technical things, the guide mentioned in the below link isn't as easy as it is told there, there are a few more steps that aren't added in the guide!!
HELP URGENTLY!!!! I waisted a whole day trying to get it working, i'd be so grateful :laugh: if you could help me out with it! PLEASE!! :crying:
Here are those scripts i loaded and put the phone on debug mode
Custom activation script:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
Custom Warm-up Script
#!/bin/bash
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
Custom stop Script:
#!/bin/bash
svc wifi enable
echo “rfasuccess”
1. this happened first but i continued anyway.
Stdout:
"rfa success"
StdErr:
Control the Wifi manager
usage: svc wifi [enable[disable] Turn wifi on or off.
svc wifi prefer
set Wifi as the preferred data network
.//srart.shl[4]: sh :not found
.//start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : No Such File or Directory
./start.sh[6]: ./enable_bcmon : not found
2. and then this happened in the processing window
sh: <stdin>[3]: sh: not found
CANNOT LINK EXECUTABLE: could not load library "libcap.so.1" needed by "./reaver"; caused by library "libcap.so.1" not found
3. and finally when i hit stop, this message showed up
Stdout:
?rfasuccess?
StdErr:
Control the Wi-fi manager
usage: svc wifi[enable[disable]
Turn Wi-Fi on or off
svc wifi prefer
Set Wi-Fi as the preferred data network
These are the Steps i followed to get the monitoring mode done.
1.Download bcmon- (link)
2.Save the app on your sdcard but don’t install it.
3.download Reaver apk(RFA) and install it.- (link)
4.Download root explorer by speed speed software and install it.- (link)
6.Install and open bcmon app
keep it open for 5s and then press home.
(This will surely create a com.bcmon.bcmon folder in/Data/data)
7.Open root explorer and browse to the bcmon apk.
8.Select it and press view.
9.Open assets.
10.Copy all the files to /Data/data/com.bcmon.bcmon/files.
#If any file or folder of the same name is found then delete it#
/Now you’ll have to add custom scripts that I have given below(just copy them in a note editor and save with a .sh extension)
Start script-
Start script- mentioned above in custom start script
Warm script- mentioned above in custom warm up script
Stop script- mentioned above in custom stop script
#Now open root explorer
Browse to com.bcmon.bcmon/files/tools/reaver
Long press on it and press permissions and then check the execute boxes(all 3).now click OK.
Now in tools long press enable_bcmon and give it execute rights (all 3).now click OK .
#All set….now open reaver and scan for networks press on one with green color and with a good range.
Go to settings and monitor mode setting and unchek the use bcmon and load all the scripts properly.
#while loading scripts start.sh is the activation script,warm.sh is the warm up script and stop.sh is the stop script. #
Now scroll down and check the debugging mode.
#Go back to the attack screen and press test monitor mode.
Rfasuccess comes then press OK and press start attack.
#All done,now wait until it finds the routers key for you.
#This worked on my I ball slide 6318i,Alcatel ot 918n and redmi note.
goodpeace said:
Well, i struggled for half a day relentlessly and finally got Reaver Working on my Xiaomi Mi4 android phone with a big help from the below mentioned link , everything is going good and fine, i got the Reaver app working on my Rooted app without bcmon and it worked and i'm ready to hack the network but just as i bypassed "Test Monitor" successfully(by loading a few scripts and debugging) and hit "Start Attack" this thing showed up, below i've written down the issue as it appeared since i'm not allowed to post screenshots & Links untill i make 10 posts(i'm a new user) and the scripts that i used to bypass Test Monitor are attached below, i'm basically a noob but good at technical things, the guide mentioned in the below link isn't as easy as it is told there, there are a few more steps that aren't added in the guide!!
HELP URGENTLY!!!! I waisted a whole day trying to get it working, i'd be so grateful :laugh: if you could help me out with it! PLEASE!! :crying:
Here are those scripts i loaded and put the phone on debug mode
Custom activation script:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
Custom Warm-up Script
#!/bin/bash
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
Custom stop Script:
#!/bin/bash
svc wifi enable
echo “rfasuccess”
1. this happened first but i continued anyway.
Stdout:
"rfa success"
StdErr:
Control the Wifi manager
usage: svc wifi [enable[disable] Turn wifi on or off.
svc wifi prefer
set Wifi as the preferred data network
.//srart.shl[4]: sh :not found
.//start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : No Such File or Directory
./start.sh[6]: ./enable_bcmon : not found
2. and then this happened in the processing window
sh: <stdin>[3]: sh: not found
CANNOT LINK EXECUTABLE: could not load library "libcap.so.1" needed by "./reaver"; caused by library "libcap.so.1" not found
3. and finally when i hit stop, this message showed up
Stdout:
?rfasuccess?
StdErr:
Control the Wi-fi manager
usage: svc wifi[enable[disable]
Turn Wi-Fi on or off
svc wifi prefer
Set Wi-Fi as the preferred data network
These are the Steps i followed to get the monitoring mode done.
1.Download bcmon- (link)
2.Save the app on your sdcard but don’t install it.
3.download Reaver apk(RFA) and install it.- (link)
4.Download root explorer by speed speed software and install it.- (link)
6.Install and open bcmon app
keep it open for 5s and then press home.
(This will surely create a com.bcmon.bcmon folder in/Data/data)
7.Open root explorer and browse to the bcmon apk.
8.Select it and press view.
9.Open assets.
10.Copy all the files to /Data/data/com.bcmon.bcmon/files.
#If any file or folder of the same name is found then delete it#
/Now you’ll have to add custom scripts that I have given below(just copy them in a note editor and save with a .sh extension)
Start script-
Start script- mentioned above in custom start script
Warm script- mentioned above in custom warm up script
Stop script- mentioned above in custom stop script
#Now open root explorer
Browse to com.bcmon.bcmon/files/tools/reaver
Long press on it and press permissions and then check the execute boxes(all 3).now click OK.
Now in tools long press enable_bcmon and give it execute rights (all 3).now click OK .
#All set….now open reaver and scan for networks press on one with green color and with a good range.
Go to settings and monitor mode setting and unchek the use bcmon and load all the scripts properly.
#while loading scripts start.sh is the activation script,warm.sh is the warm up script and stop.sh is the stop script. #
Now scroll down and check the debugging mode.
#Go back to the attack screen and press test monitor mode.
Rfasuccess comes then press OK and press start attack.
#All done,now wait until it finds the routers key for you.
#This worked on my I ball slide 6318i,Alcatel ot 918n and redmi note.
Click to expand...
Click to collapse
let me know as well if you find any solution.
i get frist error
Start .sh not found plzzz help me bro
Same here pal!
The person who posted this method is my frnd on FB , whenever I tried to connect he ignored my text.
Stucked at the same..
So I was having the same error as the couple people above me, but I was able to get Reaver to recognize where my files were. I moved it off of the SD card to: /data/data/com.bcmon.bcmon
Then I manually typed in the location path of my .sh files:
/data/data/com.bcmon.bcmon/start.sh
/data/data/com.bcmon.bcmon/warm.sh
/data/data/com.bcmon.bcmon/stop.sh
Obviously you'll want to put in whatever you named those files there.
So I've gotten past that hurtle. I am however stuck with this new set of errors now, although it will allow me to progress to "start attack".
I'm new so the site is preventing me from posting these links normally but here are the two errors I'm getting:
Code:
Stdout: rfasuccess
StdErr: Control the Wi-Fi manager
usage: svc wifi [enable|disable]
Turn Wi-Fi on or off
./data/data/com.bcmon.bcmon/start.sh[4]: sh : not found
./data/data/com.bcmon.bcmon/start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : no such file or directory
.data/data/com.bcmon.bcmon/start.sh[6]: ./enable_bcmon : not found
After this I am able to progress and next see:
Code:
tmp-mksh: <stdin>[3]: sh: not found
error: only position independent executables (PIE) are supported.
Any suggestions?
- HTC One M7vzw
PacMan Rom 5.1.1
Stucked at same place
:silly::silly:
Libcap.so.1 error please sort it out soon..
Does anyone managed to solve this?
Your scripts shebang points to /bin/bash you could try changing to #!/system/bin/sh which should hopefully solve the sh not found error. More recent android versions force pie executables as a tool to help lower hack risks, the option there is to try to bypass pie systemwide or get a pie executable. Libcap error is due to the file not being present I'm not sure if your app is supposed to include it but it's not a standard android library.
Hey please help can I use in Micromax canvas nitro A310
Err msg displayed... Plzzz help
:Hi, m a general user of an android phone (without much technical skills). I have tried the method suggested step by step for using Reaver Rfa without bcmon and it enabled monitor mode but after that a popup appeared, which was as followed (unable to attach screenshot)
Stdout:
StdErr:
bmon_wrapper_loaded
K_Shell/10118:1442:<Stdin>[4]:
iwconfig:not found
I am unable to understand it. Please help
goodpeace said:
Well, i struggled for half a day relentlessly and finally got Reaver Working on my Xiaomi Mi4 android phone with a big help from the below mentioned link , everything is going good and fine, i got the Reaver app working on my Rooted app without bcmon and it worked and i'm ready to hack the network but just as i bypassed "Test Monitor" successfully(by loading a few scripts and debugging) and hit "Start Attack" this thing showed up, below i've written down the issue as it appeared since i'm not allowed to post screenshots & Links untill i make 10 posts(i'm a new user) and the scripts that i used to bypass Test Monitor are attached below, i'm basically a noob but good at technical things, the guide mentioned in the below link isn't as easy as it is told there, there are a few more steps that aren't added in the guide!!
HELP URGENTLY!!!! I waisted a whole day trying to get it working, i'd be so grateful :laugh: if you could help me out with it! PLEASE!! :crying:
Here are those scripts i loaded and put the phone on debug mode
Custom activation script:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
Custom Warm-up Script
#!/bin/bash
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
Custom stop Script:
#!/bin/bash
svc wifi enable
echo “rfasuccess”
1. this happened first but i continued anyway.
Stdout:
"rfa success"
StdErr:
Control the Wifi manager
usage: svc wifi [enable[disable] Turn wifi on or off.
svc wifi prefer
set Wifi as the preferred data network
.//srart.shl[4]: sh :not found
.//start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : No Such File or Directory
./start.sh[6]: ./enable_bcmon : not found
2. and then this happened in the processing window
sh: <stdin>[3]: sh: not found
CANNOT LINK EXECUTABLE: could not load library "libcap.so.1" needed by "./reaver"; caused by library "libcap.so.1" not found
3. and finally when i hit stop, this message showed up
Stdout:
?rfasuccess?
StdErr:
Control the Wi-fi manager
usage: svc wifi[enable[disable]
Turn Wi-Fi on or off
svc wifi prefer
Set Wi-Fi as the preferred data network
These are the Steps i followed to get the monitoring mode done.
1.Download bcmon- (link)
2.Save the app on your sdcard but don’t install it.
3.download Reaver apk(RFA) and install it.- (link)
4.Download root explorer by speed speed software and install it.- (link)
6.Install and open bcmon app
keep it open for 5s and then press home.
(This will surely create a com.bcmon.bcmon folder in/Data/data)
7.Open root explorer and browse to the bcmon apk.
8.Select it and press view.
9.Open assets.
10.Copy all the files to /Data/data/com.bcmon.bcmon/files.
#If any file or folder of the same name is found then delete it#
/Now you’ll have to add custom scripts that I have given below(just copy them in a note editor and save with a .sh extension)
Start script-
Start script- mentioned above in custom start script
Warm script- mentioned above in custom warm up script
Stop script- mentioned above in custom stop script
#Now open root explorer
Browse to com.bcmon.bcmon/files/tools/reaver
Long press on it and press permissions and then check the execute boxes(all 3).now click OK.
Now in tools long press enable_bcmon and give it execute rights (all 3).now click OK .
#All set….now open reaver and scan for networks press on one with green color and with a good range.
Go to settings and monitor mode setting and unchek the use bcmon and load all the scripts properly.
#while loading scripts start.sh is the activation script,warm.sh is the warm up script and stop.sh is the stop script. #
Now scroll down and check the debugging mode.
#Go back to the attack screen and press test monitor mode.
Rfasuccess comes then press OK and press start attack.
#All done,now wait until it finds the routers key for you.
#This worked on my I ball slide 6318i,Alcatel ot 918n and redmi note.
Click to expand...
Click to collapse
Please explain step by step on how you did this I'm stuck. Thanks.
BiteMyCAPTCHA said:
So I was having the same error as the couple people above me, but I was able to get Reaver to recognize where my files were. I moved it off of the SD card to: /data/data/com.bcmon.bcmon
Then I manually typed in the location path of my .sh files:
/data/data/com.bcmon.bcmon/start.sh
/data/data/com.bcmon.bcmon/warm.sh
/data/data/com.bcmon.bcmon/stop.sh
Obviously you'll want to put in whatever you named those files there.
So I've gotten past that hurtle. I am however stuck with this new set of errors now, although it will allow me to progress to "start attack".
I'm new so the site is preventing me from posting these links normally but here are the two errors I'm getting:
Code:
Stdout: rfasuccess
StdErr: Control the Wi-Fi manager
usage: svc wifi [enable|disable]
Turn Wi-Fi on or off
./data/data/com.bcmon.bcmon/start.sh[4]: sh : not found
./data/data/com.bcmon.bcmon/start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : no such file or directory
.data/data/com.bcmon.bcmon/start.sh[6]: ./enable_bcmon : not found
After this I am able to progress and next see:
Code:
tmp-mksh: <stdin>[3]: sh: not found
error: only position independent executables (PIE) are supported.
Any suggestions?
- HTC One M7vzw
PacMan Rom 5.1.1
Click to expand...
Click to collapse
Dude..
This is the same error that mentioned in the post
---------- Post added at 08:54 AM ---------- Previous post was at 08:53 AM ----------
10258Smoker said:
Libcap.so.1 error please sort it out soon..
Click to expand...
Click to collapse
find out libcap.so.1 from bcmon assets and put it on system/lib
How to copy bcmon files from rootex, there's no copy option, only extract.
goodpeace said:
Well, i struggled for half a day relentlessly and finally got Reaver Working on my Xiaomi Mi4 android phone with a big help from the below mentioned link , everything is going good and fine, i got the Reaver app working on my Rooted app without bcmon and it worked and i'm ready to hack the network but just as i bypassed "Test Monitor" successfully(by loading a few scripts and debugging) and hit "Start Attack" this thing showed up, below i've written down the issue as it appeared since i'm not allowed to post screenshots & Links untill i make 10 posts(i'm a new user) and the scripts that i used to bypass Test Monitor are attached below, i'm basically a noob but good at technical things, the guide mentioned in the below link isn't as easy as it is told there, there are a few more steps that aren't added in the guide!!
HELP URGENTLY!!!! I waisted a whole day trying to get it working, i'd be so grateful :laugh: if you could help me out with it! PLEASE!! :crying:
Here are those scripts i loaded and put the phone on debug mode
Custom activation script:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
Custom Warm-up Script
#!/bin/bash
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
Custom stop Script:
#!/bin/bash
svc wifi enable
echo “rfasuccess”
1. this happened first but i continued anyway.
Stdout:
"rfa success"
StdErr:
Control the Wifi manager
usage: svc wifi [enable[disable] Turn wifi on or off.
svc wifi prefer
set Wifi as the preferred data network
.//srart.shl[4]: sh :not found
.//start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : No Such File or Directory
./start.sh[6]: ./enable_bcmon : not found
2. and then this happened in the processing window
sh: <stdin>[3]: sh: not found
CANNOT LINK EXECUTABLE: could not load library "libcap.so.1" needed by "./reaver"; caused by library "libcap.so.1" not found
3. and finally when i hit stop, this message showed up
Stdout:
?rfasuccess?
StdErr:
Control the Wi-fi manager
usage: svc wifi[enable[disable]
Turn Wi-Fi on or off
svc wifi prefer
Set Wi-Fi as the preferred data network
These are the Steps i followed to get the monitoring mode done.
1.Download bcmon- (link)
2.Save the app on your sdcard but don’t install it.
3.download Reaver apk(RFA) and install it.- (link)
4.Download root explorer by speed speed software and install it.- (link)
6.Install and open bcmon app
keep it open for 5s and then press home.
(This will surely create a com.bcmon.bcmon folder in/Data/data)
7.Open root explorer and browse to the bcmon apk.
8.Select it and press view.
9.Open assets.
10.Copy all the files to /Data/data/com.bcmon.bcmon/files.
#If any file or folder of the same name is found then delete it#
/Now you’ll have to add custom scripts that I have given below(just copy them in a note editor and save with a .sh extension)
Start script-
Start script- mentioned above in custom start script
Warm script- mentioned above in custom warm up script
Stop script- mentioned above in custom stop script
#Now open root explorer
Browse to com.bcmon.bcmon/files/tools/reaver
Long press on it and press permissions and then check the execute boxes(all 3).now click OK.
Now in tools long press enable_bcmon and give it execute rights (all 3).now click OK .
#All set….now open reaver and scan for networks press on one with green color and with a good range.
Go to settings and monitor mode setting and unchek the use bcmon and load all the scripts properly.
#while loading scripts start.sh is the activation script,warm.sh is the warm up script and stop.sh is the stop script. #
Now scroll down and check the debugging mode.
#Go back to the attack screen and press test monitor mode.
Rfasuccess comes then press OK and press start attack.
#All done,now wait until it finds the routers key for you.
#This worked on my I ball slide 6318i,Alcatel ot 918n and redmi note.
Click to expand...
Click to collapse
Could anyone tell me how to copy bcmon assets files from sd card to data, because all the options says is extract.
Please help meeee...!
Possible Fix for libcap.so.1 problem
By moving "libcap.so.1", "libsqlite3.so.0" from "/data/data/com.bcmon.bcmon/files/libs" to "/system/lib" and setting the wifi-interface in the "Monitor-Mode settings" to "wlan0". I was able to solve the "libcap.so.1" error.
Straight afterwards, I got the "<stdin>[3] : not found" error.
By changing the "start.sh" script from :
Code:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
--to--
Code:
#!/bin/bash
svc wifi enable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit
I was able to pass the "<stdin>[3] : not found" error but now it is stuck on "Waiting for beacon from <Mac Address here>".
I've tried multiple router and waited around 15 minutes on that screen for each router with my phone next to them but it will not get pass that line.
Galaxy s3 i9300 here.
script errors
start.sh, warm.sh and stop.sh are not functioning properly, I am stuck at the same stage as you are and a can't even run the scripts on the terminal emulator.
I have tried granting permissions to the scripts but is is giving errors, if you enable "debug mode", you will see that not even one command is being issued without errors.
BatDroid said:
After this I am able to progress and next see:
Any suggestions?
- HTC One M7vzw
PacMan Rom 5.1.1
Dude..
This is the same error that mentioned in the post
---------- Post added at 08:54 AM ---------- Previous post was at 08:53 AM ----------
find out libcap.so.1 from bcmon assets and put it on system/lib
Click to expand...
Click to collapse
How do I fix the PIE problem? I'm using a Moto E LTE Surnia with CM13.
I cant copy files from extracted folder/asset folder of "bcmon" from any root explorer even from premium root explorer by speedspeed software. Please help me with this. Thank you in advance.
No app in market that can hack wifi password.
Don't waste time.
New wifi routers have WPA 2PSK highest security current time. To crack this type of password may take 2 mintues to many of years depend on which type of character and length have been chosen. All the procedure of cracking password done on linux platform.
In my opinion there are lots of apps on playstore are fake promising to crack wifi password.
Because wifi wpa2psk generate new reandoms keys with 24 or more characters changes with time to time (2-5 sec). And this keys doesn't not save in android in any way. So, how can you say this app hack wifi passwords.
If wifi router has WEP protected security then it can be easily cracked in 2 min any password.

Get rid of MI Apps and other preinstalled apps

In the last MIUI update Xiaomi has disabled the option of disabling the notification for MI Apps which I don't want to use and don't want to see notifications from it. So, I searched the internet and found the trick.
Prerequisites:
1. PC with android SDK or Minimal ADB and Fastboot
Step 1 : Enable developer options on your phone
Step 2 : Enable USB debugging and USB debugging (Security settings) and connect it to your PC
Step 3 : Run Command Prompt as Administrator
Step 4 : Navigate to your ADB folder
Step 5 : Type
Code:
adb devices
Step 6 : then
Code:
adb shell
Step 7 : then
Code:
pm uninstall -k --user 0 com.xiaomi.mipicks
or any other package name you want to get rid of
Thats it. :good:
Enjoy
Dude, big thanks for this tutorial. It was pushing notifications 5 times a day.
I won't be updating this MIUI pos henceforth
Failure [Not installed for 0] error
After performing above steps to unistall Mi Apps ..I am getting error
failure [not installed for 0]
But I was able to uninstall Mi Browser and other google bloatwares.
Also tried disabling MIUI Optimization,
Suggest If there is a option.
I am having Redmi Note 4 with MIUI 9.5
EDIT :
I was entering wrong package name.Be carefull its com.xiaomi.mipicks....that 'a' sucks
Got rid of the error.
skysar said:
In the last MIUI update Xiaomi has disabled the option of disabling the notification for MI Apps which I don't want to use and don't want to see notifications from it. So, I searched the internet and found the trick.
Prerequisites:
1. PC with android SDK or Minimal ADB and Fastboot
Step 1 : Enable developer options on your phone
Step 2 : Enable USB debugging and USB debugging (Security settings) and connect it to your PC
Step 3 : Run Command Prompt as Administrator
Step 4 : Navigate to your ADB folder
Step 5 : Type
Code:
adb devices
Step 6 : then
Code:
adb shell
Step 7 : then
Code:
pm uninstall -k --user 0 com.xiaomi.mipicks
or any other package name you want to get rid of
Thats it. :good:
Enjoy
Click to expand...
Click to collapse
Call it a good disable because apps will be on phone. You can't get rid of them unless you root. Misleading headline.
Sag555 said:
After performing above steps to unistall Mi Apps ..I am getting error
failure [not installed for 0]
But I was able to uninstall Mi Browser and other google bloatwares.
Also tried disabling MIUI Optimization,
Suggest If there is a option.
I am having Redmi Note 4 with MIUI 9.5
EDIT :
I was entering wrong package name.Be carefull its com.xiaomi.mipicks....that 'a' sucks
Got rid of the error.
Click to expand...
Click to collapse
Thanks

is possible install more locale?

i try to install more locale 2 , but this says error ..
is a problem of write to Oreo?
Yes, it's possible.
Tutorial:
1.- Download and install MoreLocale 2 from Play Store;
2.- Enable developer options (7 taps on the software version in Settings)
3.- Enter developer options (in Additonal Settings)
4.- Enable USB debugging and "Disable permission monitoring"
5.- Open a CMD window on the PC, connect the phone and give the command:
Abd Shell
pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION
6.- Open morelocale2 app;
7.- Choose your language
Can you posted why u need that for ?
avetny said:
Can you posted why u need that for ?
Click to expand...
Click to collapse
In my case to have google assistant and apps in my first languaje (Spanish). No drama at all using it in English but much better so
I confirm that works perfect!
XaKing said:
Yes, it's possible.
Tutorial:
1.- Download and install MoreLocale 2 from Play Store;
2.- Enable developer options (7 taps on the software version in Settings)
3.- Enter developer options (in Additonal Settings)
4.- Enable USB debugging and "Disable permission monitoring"
5.- Open a CMD window on the PC, connect the phone and give the command:
Abd Shell
pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION
6.- Open morelocale2 app;
7.- Choose your language
Click to expand...
Click to collapse
Hi. Didn't work for me. When I write adb shell it says no devices/emulators attached, and I of course have the USB debugging enable

How to fix sensor issues on android q [guide]

First thing to do is to unlock bootloader and then root your device. Then go to terminal on pc and enable usb debugging. type:
adb shell
su
then copy and paste all this into the terminal window : https://del.dog/asovalisad.pl then type enter.
if you go to aida 64 it will tell you that all your sensors are working again. DO NOT REBOOT, FIX DOESN'T STICK AFTER REBOOT Tested on Pixel 3 (blueline) but it should work on every pixel. full credit to @ab123321 and @_LLJY
Add "sync"
Hey if you're touching the persist partition, you'll want to add a "sync" command to flush content out to the disk / UFS.
zaacc said:
First thing to do is to unlock bootloader and then root your device. Then go to terminal on pc and enable usb debugging. type:
adb shell
su
then copy and paste all this into the terminal window : https://del.dog/asovalisad.pl then type enter.
if you go to aida 64 it will tell you that all your sensors are working again. DO NOT REBOOT, FIX DOESN'T STICK AFTER REBOOT Tested on Pixel 3 (blueline) but it should work on every pixel. full credit to @ab123321 and @_LLJY
Click to expand...
Click to collapse
Thank you for sharing the script.
A suggestion to try out: put this script in init so it is initialised at each reboot.
Let us know if it works!

RustDesk service/screen share not auto starting after reboot on Android

I got the following phone:
Moto G Pure | 2021 | 2-Day battery | Unlocked | Made for US by Motorola | 3/32GB | 13MP Camera | Deep Indigo
[https://www.amazon.com/gp/product/B09BTB5MKT/](https://www.amazon.com/gp/product/B09BTB5MKT/)
It has an Android 11 installed.
After installing RuskDesk Version: 1.1.10-1
and granting it the following 4 permissions:
Screen Capture, Input Control, Transfer File and Audio Capture
I was able to connect using the generated id and password and everything was working fine.
After rebooting my phone, I was not able to reconnect anymore. When I opened the app and went to the screen share tab, this what I saw there:
“A Service is not running Tap [Start Service] or OPEN [Screen Capture] permission to start the screen sharing service.”
All the other 3 permissions were already OPEN, it’s just the screen capture that wasn’t.
Is there a setting, adb permissions command or another way to make it automatically start the service/screen capture just like how TeamViewer Host does it?
I found this discussion on github page:
Android - Start on boot not working · rustdesk/rustdesk · Discussion #1516
On android the service doesn't start on boot. It appear that the permission to receive boot completion is commented on AndroidManifest.xml on line 14. <!--<uses-permission android:name="android.per...
github.com
I found in the end of that post they implemented this as a feature here:
Android start on boot (auto start after reboot) by Heap-Hop · Pull Request #3425 · rustdesk/rustdesk
#1516 Enable BootReceiver. Adapt to Android 12 (ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS, SYSTEM_ALERT_WINDOW). add Start on Boot setting option. Permissions detection before Start o...
github.com
But I don’t see an option anywhere in the RustDesk app where to enable start on boot setting assuming this feature already exists in the current version that I’m using? Do you have this option on your app?
I also try to give it the following adb permission:
adb shell cmd appops set com.carriez.flutter_hbb PROJECT_MEDIA allow
But I don’t see evidence it’s being granted when running:
adb shell dumpsys package com.carriez.flutter_hbb
Thank you.

Categories

Resources