Pages

Monday, August 9, 2021

Xaiomi Redmi Note 9t - Individual apps for Dark Mode not showing up.


It's only showing some apps, not all that I have installed. I'm trying to disable dark mode for messenger, but it just doesn't show up in the list. Is there a fix for this issue. 



Found the fix. Set Dark mode first and then Search for "Dark mode" in settings. Now select the "More dark mode options" and all the apps will be shown which have dark mode enabled and turn off them.


Via https://old.reddit.com/r/Xiaomi/comments/kryn5c/individual_apps_for_dark_mode_not_showing_up/





Wednesday, August 4, 2021

ROOTING + CUSTOM ROM, YOUR BRAND NEW REDMI NOTE 9 T FOR THE NOOB

 ## first version , errors may still occur

Hi everybody, as a noob in the rooting world , here is my small contribution. A step by step how-to , to completely root + installing a custom.
DO NOT HESITATE TO COMMENT SO I CAN IMPROVE THE DOC:
=======================================================================

Read the complete procedure carefully before start: Beware you will loose all data you may have on the phone .and you will loose warranty .

## REQUIREMENTS :​

a brand new redmi note 9T (direct from the store, no modifications), a pc with windows , the usb cable to link the pc to the phone.
A sdcard where you can store the rom and some zip to put in your phone

Make sure the pc is up ot date with latest android usb driver and adb available :
usb drivers here : https://developer.android.com/studio/run/win-usb
adb software : https://www.xda-developers.com/install-adb-windows-macos-linux/
we also need 7zip https://www.7-zip.org/

Also try to update your phone with the latest MIUI version you can get (at the the time I'm writing this it should be MIUI 12.5, based on android 11).

To upgrade go to system/about phone/ tap on the MIUI logo/ check for update .

If your phone is still stuck to a lower version, you may trick it by changing the region (I choose hong kong) in system/additional settings/region
then try to check for MIUI update again.


## FIRST STEP : unlock the booloader .​

for this you need a xiaomi account (if you created one with your phone , use it)
You also need to enable developper mode in your phone , so you can access usb debuging . (see the video tutorial)
a video tutoriel here :

you will probably have to wait 168 hours before you can unlock the phone (Yes you're not alone to think it's annoying, do not hesitate to complain to xiaomi business department)


there is also this version of the unlocker (to bypass the wait time), but I have not tested it
Moreover the bypass works for devices not yet linked to mi account

Once your bootloader unlock you phone will be reseted and when you restart it you will be asked for the xiaomi account password again (and you need a network connection).
After completing the setup again, don't forget to reactivate usb debuging option .

### SECOND STEP download and save files


In case your want to rollback, and also if your want to install magisk in some custom rom , you need to download the original MIUI rom here :

from the zip file , you need to extract the boot.img file and transfer the file on your phone

then the install on your phone the magisk apk file : https://magiskapp.com/#magisk-app-apk
run the magisk app , choose install magisk , select patch a file and choose the boot.img file then press the let's go button
Magisk will generate a patched_image_file in your download folder .
copy the patched image file to your sdcard.

on your phone you can install this : https://play.google.com/store/apps/details?id=tk.hack5.treblecheck

It will help you select the type of rom you need to download

Plug your phone to the computer , open a command shell in your adb fastboot directory and type :
adb devices

you should see something like :

List of devices attached
sceqxxxxxxxxxxk device


(if not check your phone screen ,if there is some grant access dialog)

download orangefox from here https://github.com/gsuzeda/twrp_cannon/releases/

put the vbmeta.zip and OrangeFox-R11.0-Unofficial-cannong.zip on the sdcard

put the recovery.img in the same directory than your adb fastboot program

download the latest magisk files release from here :
first the zip : https://magiskapp.com/zip/#download-now
and the apk file : https://magiskapp.com/#magisk-app-apk
and put them on the sdcard


download the latest of the custom rom you want to install. Based on this link (thank you @gsuzedahttps://docs.google.com/spreadsheets/d/1Nm1RAQ_kiSoSBgtzux8uKklLF9TF6-1QvIVCPzW3OCs/edit#gid=0

, I will try AOSP rom here : https://github.com/phhusson/treble_experimentations/releases/latest
but you can also try lineageOS here : https://sourceforge.net/projects/andyyan-gsi/files/
(if you choose AOSP , you can not install magisk , at least for now)
NOTE: If your choose another custom rom , remember you may also need to install google apps as a separate package .
Example for lineageOS , you can download the gapps (MindtheGapps for arm64 )here https://androidfilehost.com/?fid=2188818919693781601
and copy the file to your sdcard

The redmi note 9T code name is CANNONG . It uses ARM64 A/B IMAGES and we want vndklite (read/write on system)

This is important whatever the custom rom you choose to download and install

Now we prepare the image files from the custom ROM so we can choose between two install methods

METHOD ONE is flashing the system.img from the computer with the phone in fastboot mode plugged to the pc.

METHOD TWO is flashing a zip file with the phone in recovery mode (using the orangefox program or twrp)
I choose his method , because you can do all the operation from orangefox recovery
for method two we will use https://forum.xda-developers.com/attachments/gsi_flasher_sdcard-zip.5183639/
(thank you @gsuzeda for the complete method here https://forum.xda-developers.com/t/...ung-galaxy-a51-super-partition-image.4216083/ )

unzip the gsi flasher somewhere on your PC (for me Mydocument\gsiflasher)

exemple usage with AOSP rom:

uncompress the system-roar-arm64-ab-vndklite-gapps.img.xz
copy the img file in the gsi directory of the gsi flasher and rename it system.img (so for me cp system-roar-arm64-ab-vndklite-gapps.img to Mydocument\gsiflasher\gsi\system.img).
then create a zip file with the 3 directories (gsi, META-INF, scripts) in Mydocument\gsiflasher using 7 zip , for example system-roar-arm64-ab-vndklite-gapps.zip.
And finally copy this zip to the root of your sdcard .

## THIRD STEP : install orangefox​

orangefox is a recovery program like twrp but with more option.

Check if you booloader is unlock in your phone by going to system\additonal settings\developper option\mi unlock status

If the booloader is unlock then you can install recovery orangefox .

Make sure than usb debugging and install via usb is checked in the developper option of your phone
power off your phone and restart your phone in fastboot mode (volume down + power )
plug it to your pc .
open a command shell in the directory were fastboot is installed
write the command :
fastboot devices

it should give you a list with your device
then write the command
fastboot flash recovery recovery.img

once the install complete reboot your phone in recovery mode with the command :
fastboot reboot recovery

once boot in recovery mode you should see the orangefox menu.

orangefox-recovery_557748_full.jpeg



Use the "Files" at the bottom at the screen explore to go to the sdcard and tap on the orangefox zip files .

then swipe to install

Once the file installed , the phone should reboot in recovery.

Then use the file explorer to find the vbmeta.zip
ttap the file and swipe to install

after the install the phone should reboot.
a simple check step to see if everything went right

## FOURTH STEP , test and install custom OS​

There is two method to install , via recovery or via fastboot

I choose to use orangefox recovery

via recovery
reboot in recovery mode (volume up +power)
Once booted in orangefox recovery

first format the DATA (using the wipe menu,and you need to type yes to confirm )
Then reboot to recovery (from the orangefox menu choose reboot then recovery)
once rebooted in recovery
wipe data cache and dalvik

then with the file menu of orangefox navigate to the root of your sdcard where you stored the system zip we created for example system-roar-arm64-ab-vndklite-gapps.zip.

tap the zip and swipe to install
(if your choose another rom , do the same thing to also intall the gapps zip file)

once the install complete
wipe data cache and dalvik
reboot the phone .

## FIFTH STEP check install​

your phone should now start with AOSP version of android and start the setup program.

If you get a message like your device is not play protect certified :

connect your phone to your computer, in a command shell type :

adb root
adb shell
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db
select * from main where name = "android_id";


then copy the id number printed and go there :

and enter the id in the text box and press register

wait 15 minutes and reboot your phone and finish the setup process and connect to google store with your gmail account
If your installation complain about the sd card, choose format as external. (you may have to transfer the files of step one in the card again)

## SIXTH STEP : install magisk​

(DOES NOT WORK WITH AOSP ROM)

reboot in recovery.
in the orangefox file menu :
search your magisk.zip file on the sdcard , tap and swipe to install.
Then choose the patched_boot_img file and choose /boot to install
Then choose the vbmeta.zip and install
wipe cache and reboot
All you want to know about magisk is here : https://magiskapp.com/

### LAST STEP , secure back​

now disable usb debugging
unchecked the option : install app from unknow sources

### ROLLBACK​

In case you want to rollback to MIUI rom
go there : https://www.getdroidtips.com/guide-flash-miui-rom-xiaomi-devices/
and follow the chapter : the How to Flash Xiaomi Firmware via TWRP Recovery

Wednesday, July 28, 2021

How to Enable Chromecast Support in Brave (workaround)

 As it stands, Brave (v0.61.51 at the time of writing this) does not have Chromecast support enabled by default. We have an open issue to surface the option to do so manually in settings which can be viewed here 4.7k.

However, if you’d like to enable the Chromecast function in Brave, you can use the following steps to do so manually until the issue linked above is resolved. The process involves setting a few specific flags in the browser that let Brave know to offer the option to cast when available.

Manually Enable Chromecast

  1. Launch Brave and type/search brave://flags in the address bar
  2. In the search field at the top of the flags page, search for the following flags:
  1. Ensure that you relaunch Brave after setting each flag when prompted

If you’ve performed the above steps correctly you should now see the casting icon whenever a site or media player can be cast to a separate display:

Tuesday, July 27, 2021

Action Center Shortcut Missing - How to get Action Center shortcut back in Windows 10?

1. Make sure the Action Center shortcut is enabled

Firstly, let’s confirm that the Action Center shortcut in the notification area is enabled at all. You’ve might’ve disabled it by mistake or an update did it without your knowledge.

On the other hand, some users reported that the option was missing from the “Turn system icons on or off” menu. If that’s the case, move to the next

Here’s how to enable the Action Center shortcut in system settings:

  1. Press Windows key + I to open Settings.
  2. Choose Personalization.


  3. Select Taskbar from the left pane.
  4. Click on Turn system icons on or off.









  5. Make sure the Action Center icon is enabled.




Monday, July 26, 2021

Adguard ad blocker for non rooted android phones



So I got a new android phone, a xaiomi redmi note 9t, and I am currently unable to root it, so my standard plan of using AdAway (which requires root) was thwarted. I started to look around at what options I had as an unrooted adblocker. I have used DNS ad blockers in the past but I decided to try something new that I have never used before.

I stumbled my way onto Adguard and had heard good things about their windows app so I decided to give their trial a go on my Android.

So far i really like the fleshed out features of the program, I like that it has both private DNS filtering and vpn filtering. This along with it's system ad blocker seems to work great on my Android.

I now can use my Chrome browser and not be inundated with all the Google ads that they cram in every search. YouTube is also much more pleasant to watch now with out all these ads forcing their way into my eyeballs.

Many of my games that were filled with ads are now way more tolerable as well and that is all thanks to Adguard.

Their pricing plans seem pretty cheap, and I like that they offer lifetime subscriptions. Many other apps only offer a monthly charge with no way to pay for a lifetime subscription. This is were Adguard shines. I also noticed that they often have sales for Adguard, like during black Friday and such. Adguard also offers competitive and fair regional pricing so those that live in poorer countries like Russia or south America can afford a lifetime license as well.

I have 4 days left on my trial license and I really want to continue to use the app so I have found that Adguard offers ways to get a license without purchasing one. I am in the long wait-list for beta testing the android app and they hook it up to your github so you can help improve the program. They also have programs such as writing a review about Adguard and I decided to write a review as well.

If you are looking for a good ad blocker for Android and are unable to root your phone and use Root aps like AdAway, then I highly recommend trying out the free Adguard trial on your android. If you like the app and are unable to purchase it they offer free ways to get a license and i highly recommend that you take advantage of these offers.

Download the trial for Adguard here 

AdGuard for Windows

AdGuard for Mac

AdGuard for Android

Also you can earn money joining the Adguard affiliate program here 


Thursday, July 22, 2021

Latest MI Unlock can't detect device - MI Unlock Tool cannot detect phone - Mi unlock tool not detecting the device [FIXED]

Oh THANK GOD, I finally went past this step. Thank heavens jeez. So here's my short guide that tells what I did to resolve this problem.

Note: I have Mi Unlock tool version 2.3.803.10 (latest as of now). I'm on Windows 10 x64 build 15063.


1. Extract the zipped archive of MI Unlock tool to the root of your system drive, like C:\any_folder. I extracted it to C:\unlock, so the path of the tool's executable became "C:\unlock\miflash_unlock.exe"


2. Run MiUsbDriver.exe from the folder with as administrator and click "Install". Make sure it says "Driver installed" after that. If it already says that, hit install again just to make sure. Click "Retesting" to see if it remains the same. Close the program after.


3. Put your device into fastboot mode (make sure to turn on USB debugging and OEM unlocking in the developer options), and connect it through USB 2.0 port. (I don't know if 2.0/3.0 makes a difference but if you have 2.0 available, use it).


4. Go to device manager. Expand "Android Phone", right click "Android Bootloader Interface" and click properties. Click on "Driver" tab. See if the driver provider is "Xiaomi Technology, Inc.", driver date is "11/3/2016", and driver version is "16.0.0.0".

IF it's not, then close the properties window, right click android bootloader interface and click "Update driver". Click "Browse my computer for driver..." then "Let me pick from a list ...". Uncheck "Show compatible hardware", click "Xiaomi Technology, Inc." from the left side, then "Android Bootloader Interface" from the right and click next. After it's installed, check the properties to make sure it says what I mentioned above.


5. Go to unlock tool folder. Go to driver\win10 folder, right click android_winusb.inf and click install. You'll get operation completed successfully message.


6. Go back to unlock folder and run the tool as administrator. Now before clicking agree, click on the settings gear on the top right corner. Make sure MI Usb Driver says "Already installed". This is really important. Otherwise IT WON'T WORK. If it doesn't say that check previous steps and make sure your didn't miss any. Beyond that I have no idea.


7. Now you're good to go. Click agree, sign in and voila, your phone shall be connected, ready to unlock

via https://forum.xda-developers.com/t/resolved-mi-unlock-tool-cannot-detect-phone.3663139/