How To Guide Re-enabling the official FM Radio app (no root) is actually possible - Moto G42

I heard that FM Radio was disabled in Europe for some reason on all phones, but many of them still have the antenna and module and the app is just disabled via software. As expected, my phone has the fm radio package installed and just disabled, except it could not be enabled from the settings, I had to mess with adb. So I tried to enable it with the easiest possible method and it actually works.
To re-enable it, I did the following.
1. Set up adb on your computer and connect the phone
2. run the following commands
- adb shell
- pm enable --user 0 com.motorola.android.fmradio
(It should say "Package com.motorola.android.fmradio new state: enabled")
3. Go to the main app list in system settings and locate FM Radio
4. Click on Enable
5. Enjoy listening to crappy FM radio! Recording also works just fine.

Related

[REQUEST] Make sideloaded APKs appear as if they were installed from Google Play

I came across this guide that explained how to get a sideloaded apk to work with Android Auto.
It got me thinking, there are always some apps that don't respond well to integrations due to the getInstallerPackageName() method of checking the install source.
Would someone be kind enough to create a module that does this so we do not need to connect our phones to the PC every time we update the APK just for a few apps?
There's no need to connect to your computer (and neither for a Magisk module, really). You should be ably to simply run the command in a Terminal emulator instead (without the ADB shell part).
As Didgeridoohan said and you could try as
Code:
pm set-installer "PACKAGE" "com.android.vending"
Replacing PACKAGE with the package name of app installed already you want to change its installer to Google Play.
Can't you do this in titanium backup by clicking on the app and going to special features tab and clicking attach to market?
This pm set-installer didn't work for me. What did was just installing the package (as root , not sure it's needed) with:
pm install -i "com.android.vending" <apk>

Turn Off Phone manager

Any ideas how to turn off the stock phone manager app.
Fed up with the annoying messages it gives me about power and background apps. Latest thing is it's warning me about fragmentation and it wants to clean up fragmented files!! I did't even know you could get fragmented files on phones?? Anyway not interested.
I've tried a force stop; turning all notifications settings off, removed write access etc but it won' stop.
if ur on root...just remove phone mangaer apk with titalum app
Not rooted, any other ideas?
nigsy116 said:
Not rooted, any other ideas?
Click to expand...
Click to collapse
You can uninstall, or even better, disable and enable Phone Manager with ADB. APK to look for is com.huawei.systemmanager.
Get into ADB Shell and use this commands:
To Disable:
pm disable-user --user 0 com.huawei.systemmanager
To Enable again:
pm enable --user 0 com.huawei.systemmanager
You don't need root.
bear in mind that this disables battery settings

[Magisk][Module] FireTV 4K Stick Add-Ons

As we have unlocked bootloader on FiteTV 4K stick now, I made Magisk module, which disables OTA updates, and also includes some Google stuff:
Google Search for TV (2.2 or 3.13) with working Voice Input,
LeanbackOnFire (rockon999) Launcher - support Google Search and Android TV Recommendations,
Screen Rotation - allow set proper orientation for mobile Apps,
[*]Buttons Remapper - allow choose Keyboard, reassign Home, switch between Apps and many more,
[*]FireTVjack - allow reassign Home, set Language, and freeze stock KFTV Launcher,
LeanKey Keyboard Pro (it have multilingual support).
Module also adds Russian language instead Portuguese (and Ukrainian instead Japanese) to FireTV Settings menu and have Russian Settings translation over android resources overlays (must be compatible with future OTA updates).
AFTV Add-Ons (Magisk Module) v20201218 (Fire OS 6.2.7.6 compatible)
Previous:
=======
GDrive (All files)
Tested on Fire TV 4K with FireOS 6.2.6.5 / 6.2.6.6 / 6.2.6.8 / 6.2.7.1 / 6.2.7.3 / 6.2.7.6 and Magisk 20.1-4/21.0. Still under development.
How to install:
===========
- Unlock FireTV bootloader.
- Install Magisk (stable) via TWRP!
* don't ever do install / update Magisk over Magisk Manager on Fire TV 4K!
- Boot to Fire OS and pass Amazon Registration screen
- Check and install all current OS / Apps update in My Fire TV Settings section
- Reboot to TWRP Recovery and install / update module (AFTV-MM-2.0.zip)
* "adb shell reboot recovery" over adb or connect OTG cable with mouse and select Cancel on Power ON
How to update:
===========
Just add new module version in Modules section of Magisk Manager (+) and press Reboot button after.
You need to wait till autorestart on first boot after module update (implemented from v1.8 +).
To freeze stock Amazon launcher:
==========================
adb connect FireTV IP (allow connection on TV)
adb shell
su
settings put global frozenMode enabled
reboot
* KFTV Launcher will be auto-frozen if you'll enable AFTV-XM Xposed Module in Xposed Installer (Modules tab) and have any user launcher installed.
To choose LeanbackOnFire as default Home:
============================
- Install Xposed Framework from Magisk Manager
- Open Xposed Installer - Modules tab and activate AFTV-XM Module
- Reboot
To enable Android TV Recommendations:
================================
- Go to LeanbackOnFire Launcher Settings / Edit Apps Rows / Edit Rows and enable Recommendations Row there
* in case there is toast about needed permissions, do over adb:
adb connect FireTV IP (allow connection on TV)
adb shell
su (grant root access on TV)
pm grant com.amazon.tv.leanbacklauncher android.permission.WRITE_SECURE_SETTINGS
pm disable com.amazon.device.sale.service
reboot
Optional packages to disable:
=============================
pm disable com.amazon.ags.app
pm disable com.amazon.alexashopping
pm disable com.amazon.bueller.music
pm disable com.amazon.bueller.photos # (used for screensaver)
pm disable com.amazon.device.metrics
pm disable com.amazon.device.sale.service # (must be disabled in case LeanbackOnFire recommendations are ON)
pm disable com.amazon.device.software.ota
pm disable com.amazon.device.software.ota.override
pm disable com.amazon.firebat
pm disable com.amazon.hedwig
pm disable com.amazon.tahoe
pm disable com.amazon.tv.alexanotifications
pm disable com.amazon.tv.fw.metrics
pm disable com.amazon.wirelessmetrics.service
pm disable com.android.documentsui
...
GSearch
=======
You can use Voice Input in ATV apps (press on-screen mic and long-press mic on remote and speak)
You can assign ASSIST (keycode 219) in Xposed Edge Pro or other remapper apps to Voice remote button
===
P.S. In case something went wrong You can always do factory reset, remove Module or uninstall / reinstall Magisk and your system will back to full stock - no files in /system partition changed by module.
Have Fun!
tsynik said:
As we have unlocked bootloader on FiteTV 4K stick now, I made Magick module, which disables OTA updates and Metrics, and also includes some Google stuff: Google Search for TV (3.7), LeanbackOnFire (rockon999) Launcher, Launcher Hijack, Screen Rotation, Buttons Remapper and LeanKeyKeyboardPro (it have multilingual support).
AFTV Add-Ons (Magisk Module)
Tested on FireOS 6.2.6.5 and Magisk 19.3. Still under development.
Have fun!
Click to expand...
Click to collapse
Thanks very much, I'm wondering if you could help me, I've rooted my 4k stick but the stick won't go past setup screen as I think it's been blocked by Amazon, is there any chance you could upload a TWRP backup for me to restore in TWRP so I can get into my home screen ? Or you wouldn't know any commands I can use in TWRP terminal ?
I'd love to get this up and running along with this lot what you have done.
Thanks.
Awesome project! Thanks for the hard work, will defo be installing this once i get time to root
Be careful with this .... I had UI restart issues .... had to uninstall
Doesn't work properly for me. Seems to install fine, but nothing happens.
Tepifan said:
Doesn't work properly for me. Seems to install fine, but nothing happens.
Click to expand...
Click to collapse
I've updated module and instructions how to setup. Read 1st post.
Thanks. Will try this tomorrow.
Thanks, installed and working without any discernable issues as of yet. I'll update if I see anything.
For anyone interested in debug options: you can enable KFTV Launcher Debug menu (accessible via HUD).
To enable:
- Install MagiskHide Props Config module from repo
- Install busybox module from repo
- Reboot and override those options with props command via shell:
ro.debuggable=0 to ro.debuggable=1
ro.build.type=user to ro.build.type=userdebug
Have fun!
how to uninstall those alexa update in /data
Masterofchicken said:
how to uninstall those alexa update in /data
Click to expand...
Click to collapse
I too would like to know this, please elaborate for us both.
xionbunny said:
I too would like to know this, please elaborate for us both.
Click to expand...
Click to collapse
just type in adb shell:
su
pm uninstall com.amazon.vizzini
reboot
Working vizzini apk must be this:
mantis:/ $ pm path com.amazon.vizzini
package:/system/priv-app/com.amazon.vizzini/com.amazon.vizzini.apk
Great job. I'm a bit scared cause I dont want to be forced to factory reset if something goes wrong but this weekend I could try nonetheless. Any chance to have Chromecast support (Shield like) and/or Google services?
Thanks.
The pm grant com.amazon.fireh1jack android.permission.SYSTEM_ALERT_WINDOW command is not working for me, it gives me a huge list on how to execute pm commands correctly.
puppinoo said:
Any chance to have Chromecast support (Shield like) and/or Google services?
Thanks.
Click to expand...
Click to collapse
Probably no. There is something weird with fw when placing privileged apps to /system/priv-app. I tried current 7.1 tvstock opengapps package as a module, and it doesn't work (except google search)
@tsynik I cannot get this to work, i unlock bootloader, boot to twrp, install rbox rom then magisk 20.0 reboot to setup then reboot to twrp install your zip file then the commands in your guide wont work.
I am connected to my stick with adb and su but no joy.
---------- Post added at 08:34 PM ---------- Previous post was at 08:33 PM ----------
[/COLOR @tsynik I cannot get this to work, i unlock bootloader, boot to twrp, install rbox rom then magisk 20.0 reboot to setup then reboot to twrp install your zip file then the commands in your guide wont work.
I am connected to my stick with adb and su but no joy.
tsynik said:
Probably no. There is something weird with fw when placing privileged apps to /system/priv-app. I tried current 7.1 tvstock opengapps package as a module, and it doesn't work (except google search)
Click to expand...
Click to collapse
would there eventually be a solution?
xionbunny said:
would there eventually be a solution?
Click to expand...
Click to collapse
Aptoide TV + this module
tsynik said:
Aptoide TV + this module
Click to expand...
Click to collapse
aurora store gives you play store access though, I've turned that for the moment to get my official google play store apps.
Can anyone help me to get this working ?

Question Okay, I'm stupid...

So, I was going through and removing bloat from my phone and was trying to remove the Samsung Contacts app through `adb`, but apparently I removed the wrong thing and now the Phone, Messages, and Contacts app are crashing every time I try to open them. I removed "package:/system/priv-app/SamsungContactsProvider/SamsungContactsProvider.apk=com.samsung.android.providers.contacts" which is apparently a core service. I'm wondering if anyone might know how I could reinstall that APK?
install this apk should solve the problem
If worse comes to worse a factory reset will.
A lot of the bloatware is useful. I prefer to use a package disabler as I can easily toggle them on or off as needed real time.
rtd4 said:
install this apk should solve the problem
Click to expand...
Click to collapse
It sat for a minute trying to install and then came up with, "App not installed" and says that every time I retry.
Trying install via adb I get: "
Performing Streamed Install
adb: failed to install /home/mhicks/Downloads/SamsungContactsProvider.apk: Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.samsung.android.providers.contacts attempting to redeclare permission android.permission.SEND_CALL_LOG_CHANGE already owned by com.android.providers.contacts]"
Hmmm, perhaps I should remove Google Contacts first...
Okay, that helped, but now I'm getting: "
Performing Streamed Install
adb: failed to install /home/mhicks/Downloads/SamsungContactsProvider.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]"
I thought deleting the "com.samsung.android.providers.contacts" might solve the problem, but trying gave me: "
./adb -d uninstall com.samsung.android.providers.contacts
Failure [DELETE_FAILED_INTERNAL_ERROR]"
darkfrog26 said:
It sat for a minute trying to install and then came up with, "App not installed" and says that every time I retry.
Click to expand...
Click to collapse
try these commands on pc
adb shell cmd package install-existing com.samsung.android.providers.contacts
adb shell pm install -r --user 0 /system/priv-app/SamsungContactsProvider/SamsungContactsProvider.apk
The first command returns: "Package com.samsung.android.providers.contacts installed for user: 0", but the second command returns: "Failure [-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE]"
If you have deleted the apk with root you just have to paste it again in the folder /system/priv-app/SamsungContactsProvider
@rtd4, unfortunately, this device isn't rooted.
darkfrog26 said:
@rtd4, unfortunately, this device isn't rooted.
Click to expand...
Click to collapse
It is somewhat complicated to recover the device without wipe in the past I had these problems, it was solved with a higher version of the application
@rtd4, I suppose it's time for a wipe... Thanks for trying to help me.
If you had made a copy of all your apps including system apks with ApkExport you could now use that copy to restore it.
Now before you factory reset make a copy of your installed apps and any system updates then save it on the PC or SD card. After the reload you won't need Playstore. It speeds things up a lot...
APK Export (Backup & Share) - Apps on Google Play
Manage and extract your apps.
play.google.com
@blackhawk, thanks for the tip. Right now, I'm trying to set up a Telegram account so I can root my phone (US version) if I'm going to go through the trouble of wiping. Unfortunately, Telegram's SMS verification appears to be broken or at least doesn't like Mint Mobile... Fun day.
darkfrog26 said:
@blackhawk, thanks for the tip. Right now, I'm trying to set up a Telegram account so I can root my phone (US version) if I'm going to go through the trouble of wiping. Unfortunately, Telegram's SMS verification appears to be broken or at least doesn't like Mint Mobile... Fun day.
Click to expand...
Click to collapse
You're welcome.
You really don't need to root.
Consider the possible consequences carefully.
Package Disabler will easily block apks you don't want running.
Well, it would appear it's moot anyway since I'm at Baseband v4 and only v1 can be rooted apparently...
darkfrog26 said:
Well, it would appear it's moot anyway since I'm at Baseband v4 and only v1 can be rooted apparently...
Click to expand...
Click to collapse
This is the one I use:
Home - Package Disabler
The only NON-root solution that let’s you disable any unwanted packages that come pre-installed / installed with your phone / tablet.
www.packagedisabler.com
It has an interactive widget that allows you to toggle selected entries on/off. It runs even in Safe mode so be careful what you disable. I've never had to do a factory reset because of it but the potential is there.
Unfortunately it no longer disables Google play Services but will disable all carrier bloatware including OTA updates.
darkfrog26 said:
@rtd4, unfortunately, this device isn't rooted.
Click to expand...
Click to collapse
Then how come you have removed apk from system?
In case you have used command like
pm disable packageName . Then try pm enable packageName
Or
If you have used
pm hide packageName then try
pm unhide packageName
darkfrog26 said:
So, I was going through and removing bloat from my phone and was trying to remove the Samsung Contacts app through `adb`, but apparently I removed the wrong thing and now the Phone, Messages, and Contacts app are crashing every time I try to open them. I removed "package:/system/priv-app/SamsungContactsProvider/SamsungContactsProvider.apk=com.samsung.android.providers.contacts" which is apparently a core service. I'm wondering if anyone might know how I could reinstall that APK?
Click to expand...
Click to collapse
Next time use this, so you don't make mistakes:
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com

BYD Multimedia - Install APK

Hi everyone
I got my new BYD car
I dont have AA or AC and i try to install APK
I stack at passions the i copy APK files from USB to Multimedia
But i cant install them
I get a message like "For your driving safety and system stability, please do not install third party apps"
Any idea ?
Amir
BYD the Chinese car? Where r u from?
Yes, BYD is Chinese car
Someone, any idea ?
I too am interested in any developments on this front.
Hi, can this help you youtube
As of now, this is where we're up to:
1. we can now enable and use USB ADB to sideload apps
2. we can now re-enable Wireless ADB via sideloading a an wireless ADB enabling package
3. we can now replace the system Package Manager with an alternate unrestricted Package Manager
4. we can now install apps via native (or alternate) file manager using alternate-unrestricted Package Manager
Are people aware of this? or are instructions of this yet to be published on XDA?
insinc said:
As of now, this is where we're up to:
1. we can now enable and use USB ADB to sideload apps
2. we can now re-enable Wireless ADB via sideloading a an wireless ADB enabling package
3. we can now replace the system Package Manager with an alternate unrestricted Package Manager
4. we can now install apps via native (or alternate) file manager using alternate-unrestricted Package Manager
Are people aware of this? or are instructions of this yet to be published on XDA?
Click to expand...
Click to collapse
I can't find that infor online, can you please instruct us, I would be very greatfull
@insinc
Is this possible with every Android OEM head unit, like GM Mylink?
Thank you.
Bro, you need to open the box under the console on the passenger side. and you will see Android head just like SOFO888 said.
then you need to remove the thick black sticker and you will see a micro USB slot. with that slot, you can adb sideload apk. that is.
From a friend:
How to install applications on locked yuan/atto3​​On a USB drive (formatted in FAT32) create a folder called "third party apps" (WITHOUT the quotes)​​Inside that folder copy the apks you want to install​​Connect the USB drive to the USB data port of the car.​​You will see the screen to set a password​​Enter the password 20211231​
No need to sideload via ADB anymore.
Although I haven't tested this, you might be able to
1. install the unrestricted BYD package manager here: https://workupload.com/file/EgYhyaba92E
2. install app manager via here: https://github.com/MuntashirAkon/AppManager/releases
3. install Aurora OSS here: https://auroraoss.com/
4. install wireless adb switch from here: https://workupload.com/file/RsgTzvRKe6S
5. enable wireless adb via developer menu: Settings > tap on "restore" several times to show menu
6. launch app manager and grant permissions to aurora OSS to install packages
7. use Aurora OSS to install firefox and other non-google-drm apps
8. use firefox to install gbox and gbox apps via: www.gboxlab.com
insinc said:
From a friend:
How to install applications on locked yuan/atto3​​On a USB drive (formatted in FAT32) create a folder called "third party apps" (WITHOUT the quotes)​​Inside that folder copy the apks you want to install​​Connect the USB drive to the USB data port of the car.​​You will see the screen to set a password​​Enter the password 20211231​
No need to sideload via ADB anymore.
Although I haven't tested this, you might be able to
1. install the unrestricted BYD package manager here: https://workupload.com/file/EgYhyaba92E
2. install app manager via here: https://github.com/MuntashirAkon/AppManager/releases
3. install Aurora OSS here: https://auroraoss.com/
4. install wireless adb switch from here: https://workupload.com/file/RsgTzvRKe6S
5. enable wireless adb via developer menu: Settings > tap on "restore" several times to show menu
6. launch app manager and grant permissions to aurora OSS to install packages
7. use Aurora OSS to install firefox and other non-google-drm apps
8. use firefox to install gbox and gbox apps via: www.gboxlab.com
Click to expand...
Click to collapse
Good stuff bro, I'll test this weekend and will feedback here.
works in Thailand
SOFO888 said:
@insinc
Is this possible with every Android OEM head unit, like GM Mylink?
Thank you.
Click to expand...
Click to collapse
I do it on my GM head unit stock and install apks
Great to here that it is working on GM head units. Did you make it to install Google Maps?
Works like a charm for me in Japan too!! BUT the screen has dimmed alot even on full brightness, when on dash cam no problem but everything else is dimmed a lot now, anyone got any ideas?
@jollyboy1995
Can you PM me some pics of apps and how you did it? Thanks.
SOFO888 said:
@jollyboy1995
Can you PM me some pics of apps and how you did it? Thanks.
Click to expand...
Click to collapse
Harmon os -Gwm Haval -Range Rover -jaguar
Hey everyone just seeing if anyone could help currently have a stock unit which runs android 8.1 just looking for tips and tricks to make better experience Only website I have found so far is this for these headunits I have already installed...
forum.xda-developers.com
insinc said:
From a friend:
How to install applications on locked yuan/atto3​​On a USB drive (formatted in FAT32) create a folder called "third party apps" (WITHOUT the quotes)​​Inside that folder copy the apks you want to install​​Connect the USB drive to the USB data port of the car.​​You will see the screen to set a password​​Enter the password 20211231​
No need to sideload via ADB anymore.
Although I haven't tested this, you might be able to
1. install the unrestricted BYD package manager here: https://workupload.com/file/EgYhyaba92E
2. install app manager via here: https://github.com/MuntashirAkon/AppManager/releases
3. install Aurora OSS here: https://auroraoss.com/
4. install wireless adb switch from here: https://workupload.com/file/RsgTzvRKe6S
5. enable wireless adb via developer menu: Settings > tap on "restore" several times to show menu
6. launch app manager and grant permissions to aurora OSS to install packages
7. use Aurora OSS to install firefox and other non-google-drm apps
8. use firefox to install gbox and gbox apps via: www.gboxlab.com
Click to expand...
Click to collapse
this worked for me on byd atto 3 after softwer update. TNX
revy106 said:
Works like a charm for me in Japan too!! BUT the screen has dimmed alot even on full brightness, when on dash cam no problem but everything else is dimmed a lot now, anyone got any ideas?
Click to expand...
Click to collapse
yeah, your headlights are on. so the screen will only go to "night time" brightness. Day time brightness is so bright at night it's a safety hazard! Because during the day, the screen has to be bright enough it can beat the SUN!
so check if your headlights are set to "on" and change it to "auto" or "off" to get the android screen brighter.

Categories

Resources