Use FM Radio on Mi A1 without root (Simple Steps) - Xiaomi Mi A1 Guides, News, & Discussion

We all know Mi a1 does not come with FM radio.
So if you are the one who loves to listen to radio like me. Then you are at right place.
Follow the simple 2-minute procedure and you can use the radio on your Mi A1.
1) Open your Dialer Pad.
2) Dial- *#*#6484#*#*
3) Scroll to the bottom.
3) Click on "FM Radio" option.
4) Next, insert your earphones.
5) Done, Now you can tune to any channel and listen to your favorite RJs.
Here is small Con- You need to do all the above steps every time to use Radio on your Mi A1 without root. You cannot install any radio app to let it work.

Dial *#*#6484#*#*

It's working. But it's not useful cause can't go back, can't lock screen, can't change volume. Nothing.. Is there other way to have fm?

Hi is it not possible to switch the screen off while using the FM radio this way? Will the radio still work when the screen times out?

how to create shortcut to system menu?

How I do control audio gain?

jcresgate said:
How I do control audio gain?
Click to expand...
Click to collapse
Best way to use FM radio without root:
Install QuickShortcutMaker and follow procedure in this video:
https://www.youtube.com/watch?v=rnVMUUBomBE&feature=youtu.be
With this method you can turn off screen and control volume.
If you are rooted:
https://forum.xda-developers.com/mi-a1/development/kernel-mod-enable-fm-radio-stock-rom-v9-t3777359

sipollo said:
Best way to use FM radio without root:
Install QuickShortcutMaker and follow procedure in this video:
&feature=youtu.be
With this method you can turn off screen and control volume.
If you are rooted:
https://forum.xda-developers.com/mi-a1/development/kernel-mod-enable-fm-radio-stock-rom-v9-t3777359
Click to expand...
Click to collapse
Thanks, really work!

sipollo said:
Best way to use FM radio without root:
Install QuickShortcutMaker and follow procedure in this video:
https://www.youtube.com/watch?v=rnVMUUBomBE&feature=youtu.be
With this method you can turn off screen and control volume.
Click to expand...
Click to collapse
QuickShortcutMaker doesn't work with Oreo. Here's a nice respective app that does! Free & adfree:
https://play.google.com/store/apps/details?id=com.ss.moreshortcuts

Related

[GUIDE] Automagically activate Screen Filter App on Low Brightness

This guide will show you how to make the app Screen Filter auotmatically activate to your preset level when you lower the brightness to the bottom/lowest setting on the TF dock.
This is useful say if say you want to read something like a book or at night, but making it much more natural and quick to activate.
You will need:
The app Tasker from the market to activate the app, and of course screen filter itself.
Tasker is £4 and screen filter is free. Tasker can do tons of things like this so go buy it immediately and stop being cheap - it is awesome!
1) Download the attached Tasker profile and save it to SDcard > Tasker > Profile(ensure to unzip it to that location!!)
2) Open Tasker and click Menu > Profile data > Import one profile. Select the profile that you just saved to the SD card.
3) Ensure the profile has a green tick next to it, exit and save as you do so by clicking apply.
If you get any odd behaviour, open tasker, press OFF in the bottom right corner, then click apply. Then open tasker again, change it to ON and click apply again.
If you want to lower /raise the filter level then in tasker tap on the profile and click edit task. Step 2 has the screen filter config, change that % to your desired level. Then click OK and Done and then Apply to save it all.
Enjoy!
**** LINK FIXED ****
http://db.tt/CRknDSGO
gunswick said:
http://db.tt/CRknDSGO
Click to expand...
Click to collapse
Link isn't working
My dock buttons never work. i'm using the stock keyboard too. I can get the audio buttons to work though. Any tips?
Sent from my Transformer TF101 using Tapatalk
update your firmware
gnocchi_ny said:
Link isn't working
Click to expand...
Click to collapse
Thanks, link now fixed!
thanks,i try this now!i don't know screen filter...
Emh, the link is dead again -.-''
Here!if the OP want to stick this in first post,no problem!
http://www.mediafire.com/?li0k06w3iqwcgwz

[App][Alpha] PX5 Media Controller

Hi there,
As you might have read on the PX5 board threads, I was struggling with the ease of use of the stock FM Radio app when driving. If you don't have to SWC you first have to press home from navigating, and open the radio app, or use the widgets, to switch channels. I didn't like that like, so I started to inspect the radio and radio widget .apk files. In there I found some pieces of code that remotely allow to control the FM Radio app.
What my app does is 'listen' to the information the stock FM Radio app is outputting. It can get the current frequency and channel. It shows this information on a notification on your HU. This notification also consists of three buttons to go to the previous channel, the next channel, and turn of the radio.
The current frequency and channel are also pushed to the Android Media Session with media button support. This means other apps (like AnyAutoAudio) or widgets can display the currently playing frequency and channel. You can also control the radio with the media buttons Android support. USB keyboards or BT devices that support these buttons should work! I haven't tested it, but this also means the FM Radio can be used in Android Auto. As soon as you open another media app (like Poweramp), that app will take over the media buttons (as expected). If you want to switch back to FM just press the power button on the notification and you're back.
This app is at an early stage right now. I'd like to see it as a proof of concept. It currently only works with FM. It can't show AM information yet. I am not an Android developer, so it might contain a few bugs and glitches. Let me know if you find anything.
I made a little video a few days ago when I had my first proof of concept working. This video does not display the media button support. Watch it here: https://youtu.be/JNUAi0KNGmM
Let me know what you think! Ideas and suggestions are always welcome.
Download: https://gerbenbol.com/android/com.gerbenbol.hctradiocontroller.apk
So I gave this ago, it seems like it's nearly there for Android Auto. AnyAndroidAuto does pick it up and displays what station is on but AndroidAutos next/pause/previous buttons do not effect it. Also if I change radio station the widget in AndroidAuto does not update to reflect this. Any idea why this is?
That's too bad.
Does the info in the notification change when you switch channel? The media session which feeds info widgets etc. seem to be a bit flaky right now.
Do you have any other media widgets that show the current playing media?
edit: @Dec64, gave it a try this morning. My widgets didn't make it control, or had the latest station displayed, but the native Android media buttons worked fine. Very strange... Do you happen to know what commands AnyAndroidAuto send? It should work for the next/previous/pause buttons. I'll see if I can make some changes today.
Bose321 said:
That's too bad.
Does the info in the notification change when you switch channel? The media session which feeds info widgets etc. seem to be a bit flaky right now.
Do you have any other media widgets that show the current playing media?
edit: @Dec64, gave it a try this morning. My widgets didn't make it control, or had the latest station displayed, but the native Android media buttons worked fine. Very strange... Do you happen to know what commands AnyAndroidAuto send? It should work for the next/previous/pause buttons. I'll see if I can make some changes today.
Click to expand...
Click to collapse
Yeah the info in the notification changed, and worked perfectly just didn't feed that information down to AA. I had no other media widgets at that time.
No unfortunately I don't know what commands are sent. What is weirder still is this morning on my way to work, after about 20mins the HU turned off the radio and changed menus in AA to the music menu and said nothing is playing...Yet i touched nothing. I put the radio back on and after 5mins it turned back off and I was sent to the phone menu. The only thing new running was your widget, very odd, I dont know how that is even possible.
Dec64 said:
Yeah the info in the notification changed, and worked perfectly just didn't feed that information down to AA. I had no other media widgets at that time.
No unfortunately I don't know what commands are sent. What is weirder still is this morning on my way to work, after about 20mins the HU turned off the radio and changed menus in AA to the music menu and said nothing is playing...Yet i touched nothing. I put the radio back on and after 5mins it turned back off and I was sent to the phone menu. The only thing new running was your widget, very odd, I dont know how that is even possible.
Click to expand...
Click to collapse
Weird! I've rewritten a load of code, and it should be more stable now. I'm testing on an Android Emulator and and simulate some information the FM Radio would send, so I hope it's better now!
You can download the .apk again from the same URL in the first post. Let me know how it works on the HU. I'm gonna test it when I get home tonight.
Bose321 said:
Weird! I've rewritten a load of code, and it should be more stable now. I'm testing on an Android Emulator and and simulate some information the FM Radio would send, so I hope it's better now!
You can download the .apk again from the same URL in the first post. Let me know how it works on the HU. I'm gonna test it when I get home tonight.
Click to expand...
Click to collapse
Sweet, ill give it ago in 30mins on the way back from work.
@Bose321 Perfect, works 100% better now, reports, shows station changes when I use SWC to do so, shows a stop button now though instead of pause/next track on the AA widget, and the stop button does nothing, but for AA integration it works
this is encouraging.
can you help me with something mate:
i need to turn radio on/off via tasker.. do you think there is a way to do that.. i saw you do that via your app
Nomader0 said:
this is encouraging.
can you help me with something mate:
i need to turn radio on/off via tasker.. do you think there is a way to do that.. i saw you do that via your app
Click to expand...
Click to collapse
You can user tasker or f1x's mtcdtools to do that, there's an intent to close the radio app.
intent action: com.microntek.finish
intent parameters: {"class":"com.microntek.radio"}
Dec64 said:
Sweet, ill give it ago in 30mins on the way back from work.
@Bose321 Perfect, works 100% better now, reports, shows station changes when I use SWC to do so, shows a stop button now though instead of pause/next track on the AA widget, and the stop button does nothing, but for AA integration it works
Click to expand...
Click to collapse
Can you show the AA interface? Not sure why there only is a stop button now, and why it doesn't work. I'll have to dig around in the code to see what causes that.
edit: I think I already know why there only is a stop button right now! Gonna push out a fix tomorrow! I also think why the stop button doesn't work. I only listen to the pause/play button, not the stop button. Thanks for testing, this is useful!
Nomader0 said:
this is encouraging.
can you help me with something mate:
i need to turn radio on/off via tasker.. do you think there is a way to do that.. i saw you do that via your app
Click to expand...
Click to collapse
I use the intent "hct.radio.power.switch" to turn the radio on or off. This is different from the intent Dec64 posted. Mine only turns off the radio, it doesn't shut down the radio app. So use what fits the most.
Bose321 said:
Can you show the AA interface? Not sure why there only is a stop button now, and why it doesn't work. I'll have to dig around in the code to see what causes that.
edit: I think I already know why there only is a stop button right now! Gonna push out a fix tomorrow! I also think why the stop button doesn't work. I only listen to the pause/play button, not the stop button. Thanks for testing, this is useful!
I use the intent "hct.radio.power.switch" to turn the radio on or off. This is different from the intent Dec64 posted. Mine only turns off the radio, it doesn't shut down the radio app. So use what fits the most.
Click to expand...
Click to collapse
Thanks for your answers..
Which intent turns on the radio?
Maybe Com.microntek.radio.power?
Nomader0 said:
Thanks for your answers..
Which intent turns on the radio?
Click to expand...
Click to collapse
I use the same one. It's a toggle. Send it once to turn it off, send it again to turn it back on.
Bose321 said:
I use the same one. It's a toggle. Send it once to turn it off, send it again to turn it back on.
Click to expand...
Click to collapse
Thanks mate I will try that.
Dec64 said:
Sweet, ill give it ago in 30mins on the way back from work.
@Bose321 Perfect, works 100% better now, reports, shows station changes when I use SWC to do so, shows a stop button now though instead of pause/next track on the AA widget, and the stop button does nothing, but for AA integration it works
Click to expand...
Click to collapse
Can you give it another try? I've updated the link in the first post again. Should now show next/previous/play-pause buttons if I'm right!
Tried the version of yesterday in my car, and it works a lot better for sure!
Are you liking Android Auto on the HU? Is it fast? I'm hoping Sygic is able to build the navigation for AA soon, I don't like Google Maps for offline navigation. Are you always connected via your phone or something, or have you downloaded parts of maps?
Bose321 said:
Can you give it another try? I've updated the link in the first post again. Should now show next/previous/play-pause buttons if I'm right!
Tried the version of yesterday in my car, and it works a lot better for sure!
Are you liking Android Auto on the HU? Is it fast? I'm hoping Sygic is able to build the navigation for AA soon, I don't like Google Maps for offline navigation. Are you always connected via your phone or something, or have you downloaded parts of maps?
Click to expand...
Click to collapse
I will try it on the way home from work again.
I like AA on my HU because it displays the info i need quickly and at all times, but the major draw backs where the radio not showing, and the phone menu not working properly.
I dislike google maps and prefer waze for the police/speed camera warnings as i drive a bit...spirited...but waze integration isn't working yet unless you have an AA specific HU. It also doesnt display speed limits/cameras.
Yeah I have 30gb of tethering on my phone so always connected using tasker to start tethering when BT is connected
tried updated app. Next/previous/stop now show on widget but do not work in AA, everything else works perfectly
Dec64 said:
tried updated app. Next/previous/stop now show on widget but do not work in AA, everything else works perfectly
Click to expand...
Click to collapse
Weird! I'll see if I can get AA on a device to test this. At least the right buttons are now showing. It's a start... :laugh:
Seems to be different from other widgets, because the ones I use seem to work fine (Ubiquity Music Widget).
Dec64 said:
tried updated app. Next/previous/stop now show on widget but do not work in AA, everything else works perfectly
Click to expand...
Click to collapse
same issue just tested today...
aarick said:
same issue just tested today...
Click to expand...
Click to collapse
Thanks for testing. I'll have to look into that. Can you try the native media buttons?
Just turned rds on my radio and noticed the widget doesn't pick station name or rds info. It would be amazing if it could and report that info?
Dec64 said:
Just turned rds on my radio and noticed the widget doesn't pick station name or rds info. It would be amazing if it could and report that info?
Click to expand...
Click to collapse
I've been looking into that, but I believe the radio app doesn't 'share' that information. But I'll have another look.
But first gotta look into the AA issue.
What I did notice on my own HU, as soon as the Radio app starts, the sound goes on, and directly off again at boot. Did any of you notice that?

Call Screen for Mix 2s from Google Pixel 3

Hi, this is my first time posting here, and i wanted to share a guide for mix2s owner here.
I have found a way to enable google pixel 3 call screening feature. Inspired by this post by coolsid8
and this post by syndre
I have enabled the call screen feature on my device, so let's jump right in to it
Requirement:
- Miui 8.11.15 Beta
- Have Magisk installed
- Have root file explorer (something like FX)
- Google Phone v26 magisk from syndre
How:
1. Flash the magisk module provided by syndre to install google phone app and contacts
2. Follow the guide from the post by coolsid8 to change the flags
3. Force stop the phone and reboot your device
4. open phone setting and you will see the call screen menu
5. Wait for additional file to download over wifi
You won't hear the google assistant voice but the speech to text dictation is working.
It was turned on, why the caller couldn't hear any Google assistant, and there was no sound after the call was connected
FluencyCer said:
It was turned on, why the caller couldn't hear any Google assistant, and there was no sound after the call was connected
Click to expand...
Click to collapse
Yep, i still haven't figured it out why there's no sound after the call was connected, will update here if i found something
X4K7 said:
Yep, i still haven't figured it out why there's no sound after the call was connected, will update here if i found something
Click to expand...
Click to collapse
Are you in the same situation?
FluencyCer said:
Are you in the same situation?
Click to expand...
Click to collapse
Yes, i'm also not hearing the google assistant voice
X4K7 said:
Yes, i'm also not hearing the google assistant voice
Click to expand...
Click to collapse
I saw the post you shared, and the author said that this feature can only be successful in the pixel series.I think Google must have a discriminative mechanism, so I modified the build as pixel but failed.

Question How to swap buttons, show network speed etc

Hi everyone,
I just bought the Pixel 7 Pro and rooted it. I am coming from a Oneplus 7 Pro and there are few thing I would like to change to make my phone closer to what I am used to, maybe using root or a module?
Swap back and recent buttons, I use the back button a lot more and I often use my phone with one hand which makes it hard to reach, is there a way to swap those buttons? (fixed with AOSPMods)
Show network speed in status bar, this is a great way for me to know when I am having internet issues (fixed with AOSPMods)
Change audio output device – on the oneplus I can stay connected to my bluetooth speaker but output sound from the phone's speaker just by using the menu that shows when I press the volume button, is there a way to do that here?
Is there a way to remove the widget at the top of the home page? I do not care for it
Is there a way to move the google search bar to the top of the home page screen?
Change the quick setting from internet to just wifi (I often toggle wifi on and off, having it merged with data is a pain)
Double tap to turn off on home screen (AOSPMods allowed me to have it on lock screen but not home)
Let me know if there are hidden settings or other tricks that I am missing to achieve these
Thank you!
1. You can't 2. You can't, 3. I don't know. 4 No. 5. No.
I hear you on the navigation buttons. My Samsung Galaxy S21U let me swap the back and menu buttons but it appears the Pixel does not (at least not without rooting or with a custom rom).
This drove my crazy at first, but I ended up just switching to gesture navigation and it's actually really grown on me.
As for your bottom two questions, I personally prefer Nova Launcher and I know that both are possible with Nova. I'll let others advise whether it's possible with the native Google launcher.
Root + AOSPMods (XDA thread) can enable point #2 and probably others.
gigaboss said:
Hi everyone,
I just bought the Pixel 7 Pro and rooted it. I am coming from a Oneplus 7 Pro and there are few thing I would like to change to make my phone closer to what I am used to, maybe using root or a module?
Swap back and recent buttons, I use the back button a lot more and I often use my phone with one hand which makes it hard to reach, is there a way to swap those buttons?
Show network speed in status bar, this is a great way for me to know when I am having internet issues
Change audio output device – on the oneplus I can stay connected to my bluetooth speaker but output sound from the phone's speaker just by using the menu that shows when I press the volume button, is there a way to do that here?
Is there a way to remove the widget at the top of the home page? I do not care for it
Is there a way to move the google search bar to the top of the home page screen?
Let me know if there are hidden settings or other tricks that I am missing to achieve these
Thank you!
Click to expand...
Click to collapse
I was wondering the same thing about the repositioning of the gesture buttons. Samsung allowed you to do that.
llin said:
Root + AOSPMods (XDA thread) can enable point #2 and probably others.
Click to expand...
Click to collapse
Thanks will take a look!
llin said:
Root + AOSPMods (XDA thread) can enable point #2 and probably others.
Click to expand...
Click to collapse
Do I need Xposed? I remember on my OP7Pro that Xposed did not pass safetynet, did that change?
It worked, with AOSPMods I was able to swap the buttons and show network speed!
Still looking for the rest and:
Change the quick setting from internet to just wifi (I often toggle wifi on and off, having it merged with data is a pain)
Double tap to turn off on home screen
gigaboss said:
Do I need Xposed? I remember on my OP7Pro that Xposed did not pass safetynet, did that change?
Click to expand...
Click to collapse
LSPosed is required. Everything is system-less and I'm able to pass safetynet with the mods installed.

Question Per-app volume?

Is there any way to set a specific apps volume?
I am literally going mad over the fact that Google assistant is linked to media volume. Since I always have media volume at 25% I can't hear what the assistant says...
I've tried Google with no avail, I can only find threads leading to a Samsung store locked app and to apps removed from play store.
I am rooted and I've looked at magisk modules but can't find anything there either.
Is it just impossible on pixel devices to adjust assistant volume seperate from media volume?
Macrodroid/Tasker would work.
Would be something like:
If "google assistant" in foreground set volume to "x%".
xtcislove said:
Macrodroid/Tasker would work.
Would be something like:
If "google assistant" in foreground set volume to "x%".
Click to expand...
Click to collapse
I tried looking at tasker but I can't find Google assistant as an app there.
And also, I couldn't understand how to get it to turn volume back to previous value afterwards when I was testing around on other apps.
BunnyPig said:
I tried looking at tasker but I can't find Google assistant as an app there.
And also, I couldn't understand how to get it to turn volume back to previous value afterwards when I was testing around on other apps.
Click to expand...
Click to collapse
idk about tasker but im sure you can do it with macrodroid.
You can pick the app or define the package name.
You can pick actual volume probably with macrodroid internal tools but 100% with command line (adb shell dumpsys audio) you can store the value in a custom variable and restore this value if assistant is not in foreground anymore.
I sure its doable with macrodroid
xtcislove said:
idk about tasker but im sure you can do it with macrodroid.
You can pick the app or define the package name.
You can pick actual volume probably with macrodroid internal tools but 100% with command line (adb shell dumpsys audio) you can store the value in a custom variable and restore this value if assistant is not in foreground anymore.
I sure its doable with macrodroid
Click to expand...
Click to collapse
I tried using macrodroid now but it doesn't do anything when I speak to assistant. I allowed accessibility option, root, disabled battery optimization etc but it won't do anything. Tried using screen content as well but same result unfortunately.
Is it anything wrong with the macro itself?
Edit: added another image to show some other triggers I've tried.
BunnyPig said:
I tried using macrodroid now but it doesn't do anything when I speak to assistant. I allowed accessibility option, root, disabled battery optimization etc but it won't do anything. Tried using screen content as well but same result unfortunately.
Is it anything wrong with the macro itself?
Edit: added another image to show some other triggers I've tried.
Click to expand...
Click to collapse
Its working for me.
If i say hey google media is set to 100%, if i exit it get set to 25%.
You only need a way now to capture the volume you used before. Thats pretty easy too. I can look tomorrow or later if you cant get it to work.
xtcislove said:
Its working for me.
If i say hey google media is set to 100%, if i exit it get set to 25%.
You only need a way now to capture the volume you used before. Thats pretty easy too. I can look tomorrow or later if you cant get it to work.
Click to expand...
Click to collapse
Tried your macro but still doesn't do anything. If I just try it on something else, say phone app it works flawlessly same as mine did, but not Google assistant. Have you installed the play store version (asking because I can install the store version but it's already installed with the stock os so I haven't)?
BunnyPig said:
I tried looking at tasker but I can't find Google assistant as an app there.
And also, I couldn't understand how to get it to turn volume back to previous value afterwards when I was testing around on other apps.
Click to expand...
Click to collapse
I tried to make this work in Tasker, and at least on QPR3 I couldnt get it to work....the app is Assistant so should be one of the first apps in the list.
BunnyPig said:
Tried your macro but still doesn't do anything. If I just try it on something else, say phone app it works flawlessly same as mine did, but not Google assistant. Have you installed the play store version (asking because I can install the store version but it's already installed with the stock os so I haven't)?
Click to expand...
Click to collapse
I made a full wipe today and installed latest A13 stable release from march 13.
You might like to tick the box to show system apps and try it with the 2 assistant apps (xenrollment and the other).
You might need to install Macrodroid Helper app....
xtcislove said:
I made a full wipe today and installed latest A13 stable release from march 13.
You might like to tick the box to show system apps and try it with the 2 assistant apps (xenrollment and the other).
You might need to install Macrodroid Helper app....
Click to expand...
Click to collapse
I have the assistant boxes checked (both of them) in the previous image I've posted.
I also tried installing the play store version of assistant to see if that made any difference but no, macrodroid does nothing when assistant opens.
I'll try macrodroid helper later to see if that makes any difference.
Update: it now just works, well, wonky but it works. I set a timer instead of the trigger fired and it works, but only when the phone is unlocked. If it's sleeping and I ask the assistant something it won't raise the volume, or rather the triggers won't work. Is this normal or have I missed a setting that prevents macrodroid from working while the phone is sleeping?
If you're rooted you could use this:
https://www.xda-developers.com/app-volume-control-individual-volume-levels-android/
It allows to individually set volumes per app.
I'm using it to be able to let Spotify run as background music while playing games.
wooki said:
If you're rooted you could use this:
https://www.xda-developers.com/app-volume-control-individual-volume-levels-android/
It allows to individually set volumes per app.
I'm using it to be able to let Spotify run as background music while playing games.
Click to expand...
Click to collapse
Doesn't work either, I tried it earlier and I tried iy again just to be sure, I manually add Google and Google assistant at 100% volume but it doesn't do anything. I made sure to disable macrodroid as well just in case it would interfere but it made no difference.
Also, that app won't recognize assistant in the audio stream, so I don't think it will be able to control the volume from assistant. That's what I gathered from reading the documentation as well.

Categories

Resources