[Magisk][Module] FireTV 4K Stick Add-Ons - Fire TV Original Android Development

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 ?

Related

Santander app is not working on custom ROM or root device

Hi Guys!
I've been following the topic about the TEZ app and I have a similar problem with Santander app. When I used the Android N with SuperSU, Santander has worked and still works today in my old S7. When I upgraded my Note 8 for Android Oreo the application didn't work anymore, not even open. I've tried a couple of 5 custom rom and none worked.
Last week I read the topic about TEZ and removed phone permission to the google phone play services and Santander ran until yesterday, but I lost the root in Magisk and restarted the Note 8 and the Santander didn't open more. I've uninstalled and reinstalled the Magisk and Santander and not solved.
Does anyone have any suggestions?
RRFERA said:
Hi Guys!
I've been following the topic about the TEZ app and I have a similar problem with Santander app. When I used the Android N with SuperSU, Santander has worked and still works today in my old S7. When I upgraded my Note 8 for Android Oreo the application didn't work anymore, not even open. I've tried a couple of 5 custom rom and none worked.
Last week I read the topic about TEZ and removed phone permission to the google phone play services and Santander ran until yesterday, but I lost the root in Magisk and restarted the Note 8 and the Santander didn't open more. I've uninstalled and reinstalled the Magisk and Santander and not solved.
Does anyone have any suggestions?
Click to expand...
Click to collapse
I'll Try To Make a Module For Santander App Like Tez Hider But I Need Firstly To Get the Following
- Full Logcat
- A Copy Of App
Dreamer(3MF) said:
I'll Try To Make a Module For Santander App Like Tez Hider But I Need Firstly To Get the Following
- Full Logcat
- A Copy Of App
Click to expand...
Click to collapse
Thanks! But I dont know how to do full logcat and copy app. Can you help me?
RRFERA said:
Thanks! But I dont know how to do full logcat and copy app. Can you help me?
Click to expand...
Click to collapse
I've tested the UK app, and all I need to do for it to start is to add it to the Hide list. Nothing else... If I don't, it complains about root and doesn't start. It looks like a very simple root detection.
Didgeridoohan said:
I've tested the UK app, and all I need to do for it to start is to add it to the Hide list. Nothing else... If I don't, it complains about root and doesn't start. It looks like a very simple root detection.
Click to expand...
Click to collapse
I did it and not solve! Santander is add to the Hide list in Magisk!
RRFERA said:
I did it and not solve! Santander is add to the Hide list in Magisk!
Click to expand...
Click to collapse
I got that, all I'm saying is that it's possible to hide root from the app... And that the root detection doesn't seem that sophisticated.
There might be something about your ROM that you're using. Do you pass SafetyNet, and does all checks in Rootbeer Sample return ok if you add it to the Hide list?
RRFERA said:
Thanks! But I dont know how to do full logcat and copy app. Can you help me?
Click to expand...
Click to collapse
As For Logcat, Send The Full Logcat Of Santander Via One Of The Following Methods
-----> Download Terminal Emulator From PlayStore & Write logcat | grep santander > log.txt
-----> Download Logcat Extreme (Or Catlog) From PlayStore
-----> Write adb logcat -d > log.txt For ADB
As For Santander App, Send Its Link On Google PlayStore
---------- Post added at 02:52 PM ---------- Previous post was at 02:43 PM ----------
RRFERA said:
I did it and not solve! Santander is add to the Hide list in Magisk!
Click to expand...
Click to collapse
- Did You Install BusyBox/Xposed? And If So, Disable/Uninstall BusyBox/Xposed --> Reboot
- Check The SafetyNet From Magisk Manager, PlayStore Device Certification Status & Netflix From PlayStore
I have same problems to logcat....
See the pic
Santander app:
https://play.google.com/store/apps/details?id=com.santander.app
I dont have BusyBox and Xposed, have SafetyNet green, and my google play is not certificated (i dont know how!).
RRFERA said:
I have same problems to logcat....
See the pic
Santander app:
https://play.google.com/store/apps/details?id=com.santander.app
I dont have BusyBox and Xposed, have SafetyNet green, and my google play is not certificated (i dont know how!).
Click to expand...
Click to collapse
I can't get that one to trigger at all... And I can't test much since I'm not a customer.
According to Rootbeer you do have busybox, so maybe it comes with the ROM. Check for that.
And, since the app is asking for phone permissions, have you also added the phone to the Hide list? That works for some of these apps...
Didgeridoohan said:
I can't get that one to trigger at all... And I can't test much since I'm not a customer.
According to Rootbeer you do have busybox, so maybe it comes with the ROM. Check for that.
And, since the app is asking for phone permissions, have you also added the phone to the Hide list? That works for some of these apps...
Click to expand...
Click to collapse
I dont understand, caus Rootbeer show busybox binary X.
And phone is add ti the Hide list.
I dont know why my Note 8 have play store uncertified.
RRFERA said:
I dont understand, caus Rootbeer show busybox binary X.
Click to expand...
Click to collapse
That means that Rootbeer is detecting busybox. All the green check marks mean that that particular sign of your device being rooted was not found.
I dont know why my Note 8 have play store uncertified.
Click to expand...
Click to collapse
If you can pass SafetyNet, clear data for the Play Store and possibly reboot. After that the status should be certified, but it might take a while for it to show.
If you can pass SafetyNet, clear data for the Play Store and possibly reboot. After that the status should be certified, but it might take a while for it to show.[/QUOTE]
Did it and now its certificated! Thanks!
Now, only problem is Santander app!
Didgeridoohan said:
I can't get that one to trigger at all... And I can't test much since I'm not a customer.
According to Rootbeer you do have busybox, so maybe it comes with the ROM. Check for that.
And, since the app is asking for phone permissions, have you also added the phone to the Hide list? That works for some of these apps...
Click to expand...
Click to collapse
A) For Enabling ADB Debugging On Your Device
HTML:
To use adb with a device connected over USB, you must enable USB debugging in the device system settings, under Developer options.
On Android 4.2 and higher, the Developer options screen is hidden by default. To make it visible, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options at the bottom.
On some devices, the Developer options screen might be located or named differently.
You can now connect your device with USB. You can verify that your device is connected by executing adb devices from the android_sdk/platform-tools/ directory. If connected, you'll see the device name listed as a "device".
B) Kindly Check Also This Post https://forum.xda-developers.com/ap...device-certified-custom-t3769069/post76595671
C) Send A Screenshots Of The Installed Magisk Modules From Magisk Manager, A ScreenShot Of The Main Interface Of Magisk Manager After Checking The SafetyNet & Also A Screenshots Of The Installed Apps From Settings-->Apps
D) What About Your Phone Model, The Flashed Rom & The Android Version?
Didgeridoohan said:
That means that Rootbeer is detecting busybox. All the green check marks mean that that particular sign of your device being rooted was not found.
If you can pass SafetyNet, clear data for the Play Store and possibly reboot. After that the status should be certified, but it might take a while for it to show.
Click to expand...
Click to collapse
Dreamer(3MF) said:
A) For Enabling ADB Debugging On Your Device
HTML:
To use adb with a device connected over USB, you must enable USB debugging in the device system settings, under Developer options.
On Android 4.2 and higher, the Developer options screen is hidden by default. To make it visible, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options at the bottom.
On some devices, the Developer options screen might be located or named differently.
You can now connect your device with USB. You can verify that your device is connected by executing adb devices from the android_sdk/platform-tools/ directory. If connected, you'll see the device name listed as a "device".
B) Kindly Check Also This Post https://forum.xda-developers.com/ap...device-certified-custom-t3769069/post76595671
C) Send A Screenshots Of The Installed Magisk Modules From Magisk Manager, A ScreenShot Of The Main Interface Of Magisk Manager After Checking The SafetyNet & Also A Screenshots Of The Installed Apps From Settings-->Apps
D) What About Your Phone Model, The Flashed Rom & The Android Version?
Click to expand...
Click to collapse
Hi friends! Show screenshots!
My phone is Note 8 with EchoeRom v2, android 8.0.0. And now my playstore is certificated!
RRFERA said:
Hi friends! Show screenshots!
My phone is Note 8 with EchoeRom v2, android 8.0.0. And now my playstore is certificated!
Click to expand...
Click to collapse
Have you checked if the ROM includes busybox by default? Check with the developer, or you could just try to run it... In a terminal emulator, just type busybox (it's possible you need to run su first) and see if you get a result.
Didgeridoohan said:
Have you checked if the ROM includes busybox by default? Check with the developer, or you could just try to run it... In a terminal emulator, just type busybox (it's possible you need to run su first) and see if you get a result.
Click to expand...
Click to collapse
Look the screenshot my friend!
RRFERA said:
Look the screenshot my friend!
Click to expand...
Click to collapse
So yes, the ROM comes with busybox included.
I haven't checked your log (it's no fun reading logs on a phone), so I don't know if there's anything in there about the app triggering because of that. But, it's certainly a possibility
You could try a different ROM that doesn't include busybox. If you then do need busybox, the best option is to install the busybox Magisk module from the Manager Downloads. That won't be detected.
Didgeridoohan said:
So yes, the ROM comes with busybox included.
I haven't checked your log (it's no fun reading logs on a phone), so I don't know if there's anything in there about the app triggering because of that. But, it's certainly a possibility
You could try a different ROM that doesn't include busybox. If you then do need busybox, the best option is to install the busybox Magisk module from the Manager Downloads. That won't be detected.
Click to expand...
Click to collapse
I tried Dr Ketan, Deluxe and NoName roms and all have the same problem!
[MODULE] Santander Hider (Trial/Beta Version)
Introduction:
Simple Module For Hiding The Root From Santander.
Current Version: 0.0.8
Click On Thanks Button If The Module/Post Is Useful (Dreamer(3MF))
>>> Sharing A Good Thought Is Gold <<<
----------------------------------------------------------------------------------------------------------------
SELinux Mode Inverter - Microsoft Intune Company Portal Hider - Other Modules
----------------------------------------------------------------------------------------------------------------
Dreamer(3MF) said:
[MODULE] Santander Hider (Trial/Beta Version)
Introduction:
Simple Module For Hiding The Root From Santander.
Current Version: 0.0.8
Thanks To:
- RRFERA
Created: May.26.2018
Updated: -
Download Link: Attached
Installation:
- Magisk Manager --> Modules --> Add (+) --> Choose The Downloaded File --> Reboot
- Or Flash It With TWRP Recovery
Magisk Hide:
- Santander Will Be Added Automatically To The List Of Magisk Hide
- Some Apps Will Be Added Automatically To The List Of Magisk Hide Such As Google Play Services, Google Play Store, Phone Apps & Phone Services
Recommendation:
- In-Case Of Using SuperSu with Magisk, Uninstall SuperSu (Maybe SuperSu Causes Problems To Magisk Hide)
- Clear Data&Cache Of Santander
- Enable Phone Permission Of Google Play Services
In-Case Of Failure Of Passing Santander Test: Kindly Send Your Answer For The Following
- Did You Try The Latest Update Of SantanderHider4Magisk?
- Did You Enable Phone Permission Of Google Play Services?
- Did You Add Santander To The List Of Magisk Hide?
- Did You Clear Data&Cache Of Santander --> Reboot --> Try Again?
- Did You Try To Hide Magisk Manager (Magisk Manager --> Settings --> Hide Magisk Manager)?
- Which Version Of Magisk Do You Use?
- Do You Use An Official ROM (Stock/Custom)?
- Is Your PlayStore Device Certification Status, Certified?
- Did Your Phone Pass The SafetyNet?
- Do You Use Any Other Rooting Tool Such As SuperSu with Magisk?
- Did You Try To Uninstall Magisk & Reinstall It Again?
- Did You Try To Install The Latest Version Of Magisk (Stable/Beta)?
- Did You Install BusyBox/Xposed? And If So, Disable/Uninstall BusyBox/Xposed -> Reboot --> Try Again
- Try This Module SELinuxModeInverter4Magisk
- Try To Disable Phone Permission Of Google Play Services
- Install RootBeer Sample From PlayStore --> Open It --> Send Its Screenshots Before Adding This App To Magisk Hide & After Adding This App To Magisk Hide
- Full Logcat Is Required
- Install Terminal Emulator From PlayStore --> Open It --> Write su --> Click On Enter --> Write magiskhide --ls --> Click On Enter --> Send Its Screenshot
- Try This Alternative Solution Hide-Unhide MagiskSu Via Tasker
Click On Thanks Button If The Module/Post Is Useful (Dreamer(3MF))
>>> Sharing A Good Thought Is Gold <<<
----------------------------------------------------------------------------------------------------------------
SELinux Mode Inverter - Microsoft Intune Company Portal Hider - Other Modules
----------------------------------------------------------------------------------------------------------------
Click to expand...
Click to collapse
Hello my friend!
First, thank you very much for your attention and help!
I did all the procedures indicated and unfortunately didn't work, Santander does not work.
See screenshots.

Help with nemid app

Hi
Could use some help getting this app to work.
https://play.google.com/store/apps/details?id=dk.e_nettet.mobilekey.everyone
Safetynet check succes. Certified in play store. Rootbeer fails in busybox.
Log here https://drive.google.com/file/d/1RFjOtX8oGTk2U0qi3n9NMF-8nGZnLbKL/view?usp=drivesdk
Anyone can help??
Just hide the Manager.
https://www.didgeridoohan.com/magisk/MagiskHide#hn_Hiding_the_Magisk_Manager
Thanks. But unfortunately still not work
If I add the app to the Hide list and also have the Manager hidden it starts just fine without complaining about root. Could be your busybox installation that is causing issues. Uninstall it and use @osm0sis busybox from the Magisk Downloads instead. Magisk will take care of hiding that.
Thanks for your advise. Tried several options to remove busybox. No files in system/xbin, but busybox still fails in check. Any solutions?
madsf said:
Thanks for your advise. Tried several options to remove busybox. No files in system/xbin, but busybox still fails in check. Any solutions?
Click to expand...
Click to collapse
Open up a terminal emulator and type the following:
Code:
which busybox
That should tell you where you have busybox installed.
Thanks. Please se attached.
No result with your command, but busybox still detected.
madsf said:
Thanks. Please se attached.
No result with your command, but busybox still detected.
Click to expand...
Click to collapse
I would ask your ROM creator/developer.
---------- Post added at 11:22 ---------- Previous post was at 11:22 ----------
@bernbutt Check out this thread. It's for the same app.
Didgeridoohan said:
I would ask your ROM creator/developer.
---------- Post added at 11:22 ---------- Previous post was at 11:22 ----------
@bernbutt Check out this thread. It's for the same app.
Click to expand...
Click to collapse
Thanks. I am in dialog with with the rom developer to find a solution.
Hi. After upgradring to magisk 16.6 I can't get the app to work. Same setup with magisk hide and hide magisk manager. Any can test if it's a local problem for me or General?
Sendt fra min SM-G965F med Tapatalk
https://forum.xda-developers.com/ap...d-code-app-t3810500/post77005334#post77005334
Magisk NemID FIX
I have been able to hide magisk without removing the magisk manager app as a quick fix.
After the lastest update for nemid, they just searched for the app name (Magisk Manager) and then blocked you cause of root.
Steps for magisk manager to hide it from Nemid
1. Hide magisk manager under settings so it gets another package name.
2. Go to downloads under magisk manager and install the Xposed SDK 27 (for my version of OS 8.1) systemless module
3. Install Xposed installer to manage next step
https://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
4. Install Xprivacylua for lastest version of OS like mine
https://github.com/M66B/XPrivacyLua/blob/master/README.md
5. Reboot untill it says active under Xposed installer app.
Maybe flik the status setting in Xposed installer app and reboot again
6. If it says active you are golden. Go to modules in Xposed installer app and enable xprivacylua
8. Go to xprivacylua app and find nemid app and expand and enable the block app overview/list (mine is on Danish so don't know presisely what it's called)
9. Check nemid app
This method worked for me and hope it will help others too.
DISCLAIMER
WITH XPOSED THERE IS A CHANCE TO SOFTBRICK YOUR DEVICE. By following this guide, it's your own responsibility if it's not working or softbricking your device.
madsf said:
Thanks. Please se attached.
No result with your command, but busybox still detected.
Click to expand...
Click to collapse
I have same problem here with Magisk 20 rooted oneplus 7 pro device (android 10.0.1) together with the banking app.
Before the update it used to work in Android Pie. After update it doesn't.
I don't know if there is a way? I hope there is someone will be able to help with this problem of mine. ?

Debloating more apps, clean up status bar, & removing pesky permanent notifications

Debloating more apps, clean up status bar, & removing pesky permanent notifications
Hola
For those of us who are using the non-Chinese variant, meaning no bootloader unlock, we are forced to find other ways to accommodate the following:
1. Removing more bloatware / unneeded apps.
2. Be able to remove most system based icons from the status bar to allow other icons to show up given the limited space we have due to the notch.
3. Be able to remove permanent notifications from the notifications panel.
While using adb can accommodate all of the above, being able to control most of these items from an app is much easier to manage. Most, if not all, of the apps I mention below will cost you a few dollars but in my view are worth every penny and can be used on other devices.
Bloatware removal
App needed: App Freezer
Link: https://play.google.com/store/apps/details?id=com.wakasoftware.appfreezer&hl=en
Basic setup (taken almost verbatim from Play Store info):
1. Make sure you know how to use adb clearly! <- If you don't know to use adb, Google it!
2. Go to [Settings], go [Accounts], then remove All Accounts! <- This is a critical part of the setup!
3. Enable Android Debugging mode of your phone.
4. Run command
- adb shell dpm set-device-owner com.wakasoftware.appfreezer/.receiver.DPMReceiver
5. Reboot your phone, now you can add your accounts back and enjoy this app.
(For detailed instructions: http://wakasoftware.com/app-freezer-setup)
6. For general bloatware / unneeded app removal, I have attached an export from my App Freezer installation. OBVIOUSLY there are apps that I froze that I do not need or use, so go through the list and edit as needed. It is very difficult to find proper information on those com.Huawei.* files.
Status bar icon removal
App needed: SystemUI Tuner
Link: https://play.google.com/store/apps/...ystemuituner&rdid=com.zacharee1.systemuituner
Basic setup (taken almost verbatim from Play Store info):
1. Make sure you know how to use adb clearly! <- If you don't know to use adb, Google it!
2. Enable Android Debugging mode of your phone.
3. Run commands
- adb shell pm grant com.zacharee1.systemuituner android.permission.WRITE_SECURE_SETTINGS
- adb shell pm grant com.zacharee1.systemuituner android.permission.PACKAGE_USAGE_STATS
- adb shell pm grant com.zacharee1.systemuituner android.permission.DUMP
4. Launch app and select which icon you want to remove. Note that unfortunately not all icons can be removed, like the unneeded VoLTE / HD system icon that always shows up unless you manually disable this feature.
5. RESTART your phone to make most of the selected icons removed. REMEMBER THAT SOME ICONS CANNOT BE REMOVED BY THIS APP!
Notification panel clean up
App needed: TidyPanel
Link: https://play.google.com/store/apps/details?id=com.dharmapoudel.tidypanel
Basic setup:
1. Install, buy the Pro version (if you think it is worth it), assign needed permissions.
2. Select which permanent notifications you want removed.
3. Restart to ensure it continues to work after a reboot (though I think you may need the Pro version to enable this feature).
4. I found that some permanent notifications take some fine tuning to be removed by this app in terms of using a custom title or custom text. It is finicky indeed but once you get the hang of it, it works well. The app developer has a XDA thread in the main Apps sub-forum.
Yes, yes, three additional PAID applications to be installed to give us other features that we usually would be able to achieve with simple root or otherwise. Hopefully this helps someone else other there.
sad, but when i try to activate with adb always shows " Not allowed to set the device owner because there are already some accounts on the device"
i removed all accounts, even i removed all device administrator programs
Ricardo_G said:
sad, but when i try to activate with adb always shows " Not allowed to set the device owner because there are already some accounts on the device"
i removed all accounts, even i removed all device administrator programs
Click to expand...
Click to collapse
Hola
Hmm, that is indeed weird, I did not have any issues with this part. But just to confirm did you remove ALL Google and non-Google accounts like WhatsApp, email accounts, anything else listed in the Users and Accounts section?
Sent from my LYA-L0C using Tapatalk
when i try to run adb command…
adb shell dpm set-device-owner com.wakasoftware.appfreezer/.receiver.DPMReceiver
java.lang.IllegalStateException: Not allowed to set the device owner because there are already some accounts on the device
at android.os.Parcel.createException(Parcel.java:1953)
at android.os.Parcel.readException(Parcel.java:1913)
at android.os.Parcel.readException(Parcel.java:1863)
at android.app.admin.IDevicePolicyManager$Stub$Proxy.setDeviceOwner(IDevicePolicyManager.java:5863)
at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:176)
at com.android.commands.dpm.Dpm.onRun(Dpm.java:106)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:54)
at com.android.commands.dpm.Dpm.main(Dpm.java:41)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:371)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.devicepolicy.DevicePolicyManagerService.enforceCanSetDeviceOwnerLocked(DevicePolicyManagerService.java:8067)
at com.android.server.devicepolicy.DevicePolicyManagerService.setDeviceOwner(DevicePolicyManagerService.java:7352)
at android.app.admin.IDevicePolicyManager$Stub.onTransact(IDevicePolicyManager.java:1095)
at com.android.server.devicepolicy.HwDevicePolicyManagerService.onTransact(HwDevicePolicyManagerService.java:769)
at android.os.Binder.execTransact(Binder.java:739)
Hola
Based on the initial response it is still detecting some other account on your device. Long shot but after removing all accounts try rebooting and try again (assuming you didn't do so already).
Sent from my LYA-L0C using Tapatalk
no works
---------- Post added at 05:13 AM ---------- Previous post was at 05:12 AM ----------
i can note remove find my device and archives, this can not deleted ( both are system app, non removable)
Ricardo_G said:
no works
---------- Post added at 05:13 AM ---------- Previous post was at 05:12 AM ----------
i can note remove find my device and archives, this can not deleted ( both are system app, non removable)
Click to expand...
Click to collapse
Hola
I don't understand, I did not have to remove any apps, just any accounts listed in the Users and Accounts section in Settings. Can you show us a screen capture of your phone of this section?
I don't have any un-needed apps that I can't hide, disable or install, and I don't have any persistent notifications either?
Jonathan-H said:
I don't have any un-needed apps that I can't hide, disable or install, and I don't have any persistent notifications either?
Click to expand...
Click to collapse
Hola
Not sure I understand your comment. If you are simply stating that you have no issues with your Mate 20 Pro, and don't want to remove / disable existing Huawei provided apps then that is absolutely fine, etc. My post is simply to share information on how I was able to get some features that I accustomed to using on other devices. Many us really like the hardware, but man their EMUI skin is a most difficult nut to crack :crying:
Only wish that Substratum can bring support for our device or at least for Android 9 Pie.
QAM said:
Hola
Not sure I understand your comment. If you are simply stating that you have no issues with your Mate 20 Pro, and don't want to remove / disable existing Huawei provided apps then that is absolutely fine, etc. My post is simply to share information on how I was able to get some features that I accustomed to using on other devices. Many us really like the hardware, but man their EMUI skin is a most difficult nut to crack :crying:
Only wish that Substratum can bring support for our device or at least for Android 9 Pie.
Click to expand...
Click to collapse
It´s simple
- i removed all accounts
- I remove all programs grants to accessibility
- I removed all programs grants to device administrator
and doesn´t work neither
Ricardo_G said:
no works
---------- Post added at 05:13 AM ---------- Previous post was at 05:12 AM ----------
i can note remove find my device and archives, this can not deleted ( both are system app, non removable)
Click to expand...
Click to collapse
adb shell
pm list packages
pm uninstall -k --user 0 "package name"
find my device is "com.google.android.apps.adm"
cant see the archives? maybe download an app similar to 'package name viewer' which will give you the package name to delete.
Please be cautious, some things should not be deleted and you may need a factory reset to get it back.
---------- Post added at 06:29 PM ---------- Previous post was at 06:28 PM ----------
Ricardo_G said:
It´s simple
- i removed all accounts
- I remove all programs grants to accessibility
- I removed all programs grants to device administrator
and doesn´t work neither
Click to expand...
Click to collapse
this doesnt make sense either. Did not in any way have anything to do with what was asked.
All worked great for me, thanks
Any benifit of freezing the bloat wares rather than just uninstalling them completely using adb? Just curious
wpy said:
Any benifit of freezing the bloat wares rather than just uninstalling them completely using adb? Just curious
Click to expand...
Click to collapse
If a package that is uninstalled causes issues, you'll need a factory reset to get it back. Otherwise just unfreeze
Cleanup Statusbar
command to remove statusbar icons:
Code:
adb shell settings put secure icon_blacklist [comma separated codes here] && adb reboot
Icons to disable (config_statusBarIcons from Huawei Mate 20 Pro framework_res.apk):
Code:
<string-array name="config_statusBarIcons">
<item>mute</item>
<item>ime</item>
<item>powersavingmode</item>
<item>speakerphone</item>
<item>wifi</item>
<item>cdma_eri</item>
<item>data_connection</item>
<item>phone_evdo_signal</item>
<item>phone_signal</item>
<item>battery</item>
<item>secure</item>
<item>clock</item>
<item>unicom_call</item>
<item>volte_call</item>
<item>vowifi_call</item>
<item>data_saver</item>
<item>tty</item>
<item>managed_profile</item>
<item>cast</item>
<item>sync_failing</item>
<item>sync_active</item>
<item>vpn</item>
<item>earphone</item>
<item>eyes_protect</item>
<item>nfc</item>
<item>alarm_clock</item>
<item>bluetooth</item>
<item>location</item>
<item>zen</item>
<item>volume</item>
</string-array>
command to re-enable the icons:
Code:
adb shell settings delete secure icon_blacklist && adb reboot
command to show disabled icons:
Code:
adb shell settings get secure icon_blacklist
webpatrick said:
command to remove statusbar icons:
Icons to disable (config_statusBarIcons from Huawei Mate 20 Pro framework_res.apk):
command to re-enable the icons:
command to show disabled icons:
Click to expand...
Click to collapse
Thanks for this info. Can confirm this works. But still cannot remove the stupid volte icon :laugh:
QAM said:
Hola
Hmm, that is indeed weird, I did not have any issues with this part. But just to confirm did you remove ALL Google and non-Google accounts like WhatsApp, email accounts, anything else listed in the Users and Accounts section?
Sent from my LYA-L0C using Tapatalk
Click to expand...
Click to collapse
I am also the same problem:哭::哭:
so after a successful cmd promt i get device is managed by your company why
miffymiffy said:
If a package that is uninstalled causes issues, you'll need a factory reset to get it back.
Click to expand...
Click to collapse
You can actually use the following in adb shell to reinstall a package as it is still in the system:
cmd package install-existing <package name>
dominicstg2 said:
so after a successful cmd promt i get device is managed by your company why
Click to expand...
Click to collapse
same with me, anyone can help or explain about this??

[Fix]Magisk manager 20.3 ctsProfile : False (Gpay and banking apps )

This worked for me on latest build of havoc os, might work for other Roms too.
Step 1 :
Open Magisk manager, download and install both
MagiskHide Props Config (link) and Busybox for android NDK modules from downloads, after installing reboot your phone.
Step 2:
Install terminal emulator from playstore(link)
Step 3:
open terminal emulator
enter command :
Code:
su
Grant superuser access when prompted
Step 4:
type in command:
Code:
props
Step 6 :
and follow the on screen options
select option 1 - edit device fingerprint
by typing : 1
then type in f to Pick a certified fingerprint
from the list pick your mobile manufacturer
select your mobile model
select the latest available android version
finally reboot your phone by typing in
Code:
reboot
this should fix the ctsProfile issue,
to use banking or wallet apps, hide magisk by using magisk hide option and select the app you want to hide root access from
thanks to this awesome dev Didgeridoohan for making this possible
https://forum.xda-developers.com/member.php?u=4667597
for people who want a video to look at the process here is the video
credits :
Thread link for magisk hide props config module: https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
DEV for magisk hide props config module : Didgeridoohan
you can donate him at : https://www.paypal.me/didgeridoohan
does it affect the fingerprint?
is it safe?
this process works to solve cts Profile check, but banking apps still doesn't work
Doesn't work for me.
I used:
Google Pixel XL (Android 10)
Magisk 20.4
Magisk Manager 7.5.1
Edit: Enable "Magisk Hide" in the Settings -> reboot -> now it works.
Doesn't work for me either.
Pixel 4
It didn't give me an option to select an Android version.
I managed to make banking apps to work by disabling usb debugging.
Enviado desde mi F8331 mediante Tapatalk
I did exactly as it described above but still ctsprofile: false. Google pay sees root on my Poco F2 Pro.
Unfortunately does not work for Google Pixel 4 XL (Android 10)
For everyone that's struggling with trying to pass CTS:
https://www.didgeridoohan.com/magisk/MagiskHide#hn_Unlocked_bootloader_3
Google seemed to do something, i.e. Google Pay has been working for a long time. But when I was sleeping, Google sneaked in to my bedroom and made so that ctsProfile returned false in Magisk when I wake up.
A new unknown and uninvented method needs to be done? A Magisk update?
Vantskruv said:
Google seemed to do something, i.e. Google Pay has been working for a long time. But when I was sleeping, Google sneaked in to my bedroom and made so that ctsProfile returned false in Magisk when I wake up.
A new unknown and uninvented method needs to be done? A Magisk update?
Click to expand...
Click to collapse
Ha!
I concur!
did the whole process with my Mi A3 with Android 10 and my device is stuck on Mi logo. how to fix?
Interesting. Woke up jul 8th as well with as notification that Google pay cannot be used any more. Seems like they flipped a switch.... I tried unroofing until I realized I had to do a factory reset to relock the bootloader. So back on root without Google pay. I hope for a quick solution though
Heh...
I have tried this method. It was suprising that Mi 10 is not on the props list...
The best thing in my phone is that the CTS is false (for - as I can remember - three weeks) but GP payements work.
Banking apps not working even though hided in the magisk. Any fix for it?
Not working with Magisk 20.4
Try disabling usb debugging and/or magisk hidding
Enviado desde mi F8331 mediante Tapatalk
vamsi209 said:
This worked for me on latest build of havoc os, might work for other Roms too.
Step 1 :
Open Magisk manager, download and install both
MagiskHide Props Config (link) and Busybox for android NDK modules from downloads, after installing reboot your phone.
Step 2:
Install terminal emulator from playstore(link)
Step 3:
open terminal emulator
enter command :
Code:
su
Grant superuser access when prompted
Step 4:
type in command:
Code:
props
Step 6 :
and follow the on screen options
select option 1 - edit device fingerprint
by typing : 1
then type in f to Pick a certified fingerprint
from the list pick your mobile manufacturer
select your mobile model
select the latest available android version
finally reboot your phone by typing in
Code:
reboot
this should fix the ctsProfile issue,
to use banking or wallet apps, hide magisk by using magisk hide option and select the app you want to hide root access from
thanks to this awesome dev Didgeridoohan for making this possible
https://forum.xda-developers.com/member.php?u=4667597
for people who want a video to look at the process here is the video
credits :
Thread link for magisk hide props config module: https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
DEV for magisk hide props config module : Didgeridoohan
you can donate him at : https://www.paypal.me/didgeridoohan
Click to expand...
Click to collapse
Hi!
At the end of the tutorial my phone was not there (redmi note 8 pro) so what i need to do if my phone is not to the list????
roberto_1986 said:
Hi!
At the end of the tutorial my phone was not there (redmi note 8 pro) so what i need to do if my phone is not to the list????
Click to expand...
Click to collapse
Pick whatever device on the list that's closest, or help with finding a working, certified print for your device.
Didgeridoohan said:
Pick whatever device on the list that's closest, or help with finding a working, certified print for your device.
Click to expand...
Click to collapse
its safe??? because it change my phone fingerprint....
---------- Post added at 02:04 AM ---------- Previous post was at 01:09 AM ----------
roberto_1986 said:
its safe??? because it change my phone fingerprint....
Click to expand...
Click to collapse
also for get fingerprint u need to have both CTS profile and basic integrity set to true (not in my case because CTS is set to false)
so someone can get his finger pring from a redmi note 8 pro???

safety net fails

I'm rooted android 11
But safety net fails
And magisk manager has no settings to hide root from apps.
Anyone else having this issue?
The new Magisk Manager has the magisk hide option, it's just kinda hidden.
If you just want to enable magisk hide:
- Go in the settings, under the "Magisk" section there's the toggle.
- Now on the home screen tap on the shild icon.
- Open magisk hide, if you want to see system apps tap on the search icon and enable "show system apps".
If you want to pass saferynet (and make gpay work):
- Do everything above
- Hide google related apps: google pay, play store, play services, google services framework, then wipe play store data.
- Open play store, check in setting at the bottom it should say "certified device".
If safetynet still fails (hardware type), you can download and install the magisk hide props module, you can find more info about it here.
- Force basic key attestation
- Install sqLite module and reboot
- Install gpay sqlite fix and reboot
You should now be able to use gpay. I did this and mine works.
More info about Magisk Hide Props
More info about GPay SQLite Fix
Tried it all nothing worked
Tried again with termux
Successful
Thanks for the help
humdrum2009 said:
Tried it all nothing worked
Tried again with termux
Successful
Thanks for the help
Click to expand...
Click to collapse
What commands in termux worked?
It was regular terminal
Once I installed the magisk mods , he suggested
I just typed props
It brought up options
I selected number 2,rebooted and it worked
- Force basic key attestation?
i type props in termux and it doesn't give me a list to choose that from.
---------- Post added at 07:11 PM ---------- Previous post was at 06:27 PM ----------
Got it to work. Forgotten to type su. Thanks for the tut
UPDATE... GPAY IS WORKING.. Installed termux typed "su props" and don't get an option to pick 1 or 2. What step am I missing?
type su then press (enter) then type props (enter) worked for me
bigmatt503 said:
UPDATE... GPAY IS WORKING.. Installed termux typed "su props" and don't get an option to pick 1 or 2. What step am I missing?
Click to expand...
Click to collapse
Install Magisk module : MagiskHide Props Config.
in Termux
su [enter]
props [enter]
now MagiskHide Props Config will starts.
2 ( Force Basic key attestation.)

Categories

Resources