Related
I hereby discontinue support for my Fire TV Guides and Apps. I've been a big fan of Fire TV devices for the last 2-3 years, but Amazon has now with each firmware further limited the possibilities of a configurable Android environment and even destroyed standard Android commands. This goes too far for me now.
I can recommend the following devices to anyone who wants to have a reasonable and much better Android TV experience, which I now use myself and am enthusiastic about:
Mi Box
Mi Box S
Sony Android TV (ATV3 platform, eg. XF7, XF8, XF9 or higher)
Will be trying this tomorrow, thankyou
Awesome a new project for tomorrow. Thanks for all your hard work.
rainman74 said:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The following steps installs the newest Leanback Launcher with Recommendations, Chromecast integrated, Daydream and activates the Google Voice Search with Google Assistant so that it also can be used in a current Kodi 18 Nightly Build on a Fire TV.
This is the most comprehensive and up-to-date transformation of a Fire TV into an Android TV device with almost all Google functionalities usable.
Amazon TV Launcher and Amazon Alexa voice search are completely replaced by Leanback Launcher and Google Voice Search. Xposed edge, XInstaller and HDXPosed must also be installed and activated. Before installing it is recommended to make a backup of the system and data partition via TWRP if you have connected an external sdcard. Many thanks to @SimLynks for some tips from his PlayFire modification and to @peleg for his wonderful [project] aftv2atv.
This manual is only possible with a rooted device!
Tested on a rooted Fire TV 4k box
Firmware 5.2.6.2
Instructions:
Unpack all zip files and copy all apk in the appendix to C:\adb\
1. Disabling unnecessary and blocking Amazon junk
Code:
adb shell su -c pm disable amazon.jackson19
adb shell su -c pm disable com.amazon.acos.providers.UnifiedSettingsProvider
adb shell su -c pm disable com.amazon.advertisingidsettings
adb shell su -c pm disable com.amazon.ags.app
adb shell su -c pm disable com.amazon.application.compatibility.enforcer
adb shell su -c pm disable com.amazon.application.compatibility.enforcer.sdk.library
adb shell su -c pm disable com.amazon.avod
adb shell su -c pm disable com.amazon.bueller.music
adb shell su -c pm disable com.amazon.bueller.notification
adb shell su -c pm disable com.amazon.bueller.photos
adb shell su -c pm disable com.amazon.client.metrics
adb shell su -c pm disable com.amazon.client.metrics.api
adb shell su -c pm disable com.amazon.communication.discovery
adb shell su -c pm disable com.amazon.device.sale.service
adb shell su -c pm disable com.amazon.device.software.ota
adb shell su -c pm disable com.amazon.device.software.ota.override
adb shell su -c pm disable com.amazon.device.sync
adb shell su -c pm disable com.amazon.device.sync.sdk.internal
adb shell su -c pm disable com.amazon.imp
adb shell su -c pm disable com.amazon.kindle.cms
adb shell su -c pm disable com.amazon.kor.demo
adb shell su -c pm disable com.amazon.logan
adb shell su -c pm disable com.amazon.metrics.api
adb shell su -c pm disable com.amazon.ods.kindleconnect
adb shell su -c pm disable com.amazon.recess
adb shell su -c pm disable com.amazon.tahoe
adb shell su -c pm disable com.amazon.tcomm.client
adb shell su -c pm disable com.amazon.tv.csapp
adb shell su -c pm disable com.amazon.tv.launcher
adb shell su -c pm disable com.amazon.tv.launcher/.ui.HomeActivity_vNext
adb shell su -c pm disable com.amazon.tv.legal.notices
adb shell su -c pm disable com.amazon.tv.nimh
adb shell su -c pm disable com.amazon.tv.settings/com.amazon.tv.settings.tv.AppDisableService
adb shell su -c mount -o remount,rw /system
adb shell su -c rm -r /system/priv-app/com.amazon.vizzini
adb shell su -c rm -r /system/priv-app/WhisperplayCore
adb shell su -c rm -r /system/priv-app/WhisperplayInstall
adb shell su -c mount -o remount,ro /system
(Notice: Amazon Alexa and Wisperplay will be completely deleted to make room on the system partition for Chromecast Integrated.)
2. Customize build.prop
View attachment 4481935
Code:
adb shell su -c mount -o remount,rw /system
adb push C:\adb\mod-build.prop.sh /sdcard/
adb shell su -c sh /sdcard/mod-build.prop.sh
adb shell su -c rm /sdcard/mod-build.prop.sh
adb shell su -c mount -o remount,ro /system
3. Adjust permissions for voice recognition
View attachment 4481936
Code:
adb shell su -c mount -o remount,rw /system
adb push C:\adb\tv_core_hardware.xml /sdcard/
adb shell su -c cp /sdcard/tv_core_hardware.xml /system/etc/permissions/tv_core_hardware.xml
adb shell su -c chmod 644 /system/etc/permissions/tv_core_hardware.xml
adb shell su -c chown root:root /system/etc/permissions/tv_core_hardware.xml
adb shell su -c rm /sdcard/tv_core_hardware.xml
adb shell su -c mount -o remount,ro /system
4. Install Open Google apps for Android TV
Download the matching zip file and copy it to the sdcard (I use version open_gapps-arm64-5.1-tvstock-20180423).
Open GApps for ARM (Fire TV sticks)
Open GApps for ARM64 (Fire TV boxes)
Insert this code to new "gapps-config.txt" and copy it to the same directory as the GApps on the sdcard.
Code:
forceclean
skipswypelibs
skipvendorlibs
GoogleAssistant
+extsharedstock
+keyboardstock
+provision
+packageinstallerstock
+webviewstock
+notouchauthdelegate
Include
gappspico
backdrop
#castreceiver
configupdater
googlebackuptransport
googlecontactsync
gsfcore
leanbacklauncher
overscan
secondscreenauthbridge
secondscreensetup
tvcustomization
tvetc
tvframework
tvgmscore
tvkeyboardgoogle
tvvending
tvwallpaper
tvwidget
Then install the GApps zip via TWRP and restart the device. Please don't sign up for Google Play Store yet!
5. Allow Google registration (NoTouchAuthDelegate)
View attachment 4481943
Code:
adb shell su -c mount -o remount,rw /system
adb push C:\adb\Tv-NoTouchGsf.apk /sdcard/
adb shell su -c chmod 755 /system/app/NoTouchAuthDelegate/
adb shell su -c rm /system/app/NoTouchAuthDelegate/NoTouchAuthDelegate.apk
adb shell su -c cp /sdcard/Tv-NoTouchGsf.apk /system/app/NoTouchAuthDelegate/NoTouchAuthDelegate.apk
adb shell su -c chmod 644 /system/app/NoTouchAuthDelegate/NoTouchAuthDelegate.apk
adb shell su -c chown root:root /system/app/NoTouchAuthDelegate/NoTouchAuthDelegate.apk
adb shell su -c rm /sdcard/Tv-NoTouchGsf.apk
adb shell su -c mount -o remount,ro /system
6. Install Google app to enable voice recognition (com.google.android.katniss)
Now restart the device and then sign in to Google Play Store.
Then search for and install the "Google" app on the Play Store. It'll take a while (I use current Google 2.2.0.138699360).
(Notice: The search in the Play Store does not work with the search button on the remote!)
7. Adjust the Xposed edge key configuration for the search button of the Fire TV remote
Activate the "Keys" in the Xposed edge and add the new KEYCODE_SEARCH key (simply press the search key on the Fire Remote for recognition).
Use "Single Click" with the activity "com.google.android.katniss\.search.SearchActivity" and leave "Long press" empty. This is the standard function, you first have to click and release the microphone, wait until the input is ready ("Speak Now" appears), and then press and hold the microphone and speak, then release.
More useful key assignments for the Leanback Launcher see attached photos:
View attachment 4488212View attachment 4488213View attachment 4488214View attachment 4488215
8. Install Android TV Settings modified for Fire TV
Once you have installed the aftv2atv Fire TV settings (better than the modified settings apk from PlayFire), you can choose which apps the Google Assistant is allowed to search for hits.
View attachment 4488216
Code:
adb shell su -c mount -o remount,rw /system
adb push C:\adb\TvSettings-2.1.1.apk /sdcard/
adb shell su -c cp /sdcard/TvSettings-2.1.1.apk /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c chmod 644 /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c chown root:root /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c rm /sdcard/TvSettings-2.1.1.apk
adb shell su -c mount -o remount,ro /system
9. Finish
Reboot for the last time.
That's all and now you will boot directly in Leanback Launcher and start the voice search by pressing the search button in Leanback Launcher and Kodi.
Google Assistant also now finds hits in Kodi (movies, tv shows and music, if Kodi already is running), along with other sources such as YouTube, Spotify, etc. (directly install these apps from Google Play Store)
10. Optional: Access Amazon settings
If you still need to access the Amazon settings, you can install my modified conFIREator Settings app additionally (More details click here):
View attachment 4488238
Known issues
Although the cast receivers are displayed and found correctly, no device could connect. Looks like Google has something here against unlicensed cast receivers.
.
Click to expand...
Click to collapse
After step 5 your guide says install the google app, when i log into google and search for the app it wont let me install it ? i get error code 0
sconnyuk said:
After step 5 your guide says install the google app, when i log into google and search for the app it wont let me install it ? i get error code 0
Click to expand...
Click to collapse
Did you already have an older version installed? Then simply uninstall them before.
rainman74 said:
Did you already have an older version installed? Then simply uninstall them before.
Click to expand...
Click to collapse
brand new install of latest fire tv2 rom. clean slate and following your guide.
---------- Post added at 05:12 PM ---------- Previous post was at 05:11 PM ----------
ive just tried again, im up to instaaling gapps and waiting on optomising
---------- Post added at 05:14 PM ---------- Previous post was at 05:12 PM ----------
rainman74 said:
Did you already have an older version installed? Then simply uninstall them before.
Click to expand...
Click to collapse
no, ive just formatted and installed latest rom (fire tv2) and folowing as a clean slate.
---------- Post added at 05:15 PM ---------- Previous post was at 05:14 PM ----------
rainman74 said:
Did you already have an older version installed? Then simply uninstall them before.
Click to expand...
Click to collapse
can you tell me what i need to do after step 5 ? it says install google app but it isnt included in your guide ? thanks
sconnyuk said:
can you tell me what i need to do after step 5 ? it says install google app but it isnt included in your guide ? thanks
Click to expand...
Click to collapse
then sideload Google App 2.2.0
rainman74 said:
then sideload Google App 2.2.0
Click to expand...
Click to collapse
its asking for decription key ?
sconnyuk said:
its asking for decription key ?
Click to expand...
Click to collapse
Link with key
rainman74 said:
Link with key
Click to expand...
Click to collapse
Thanks for all the help but after i install that and go sign into google store, search google and try install i get error code 0 again, no matter what i try install i get trhe same error code, any idea ?
sconnyuk said:
Thanks for all the help but after i install that and go sign into google store, search google and try install i get error code 0 again, no matter what i try install i get trhe same error code, any idea ?
Click to expand...
Click to collapse
Code:
adb shell
chown -R media_rw:media_rw /data/media/
find /data/media/ -type d -exec chmod 775 {} ‘;’
find /data/media/ -type f -exec chmod 664 {} ‘;’4)
rainman74 said:
Code:
adb shell
chown -R media_rw:media_rw /data/media/
find /data/media/ -type d -exec chmod 775 {} ‘;’
find /data/media/ -type f -exec chmod 664 {} ‘;’4)
Click to expand...
Click to collapse
Thanks, im restoring my backup at the moment, what will this code do ? i dont get any reccomendations and i cant see any setting icons on my home screen either, will this fix those issues too ?
sconnyuk said:
Thanks, im restoring my backup at the moment, what will this code do ? i dont get any reccomendations and i cant see any setting icons on my home screen either, will this fix those issues too ?
Click to expand...
Click to collapse
restoring permissions, that is a possible solution for Error 0
rainman74 said:
restoring permissions, that is a possible solution for Error 0
Click to expand...
Click to collapse
no, restoring my backup from twrp. im going to give it 3rd and final go see if i can get it working
sconnyuk said:
no, restoring my backup from twrp. im going to give it 3rd and final go see if i can get it working
Click to expand...
Click to collapse
Best luck! I have tested my guide on 4 Fire TVs... I've never got Error 0.
rainman74 said:
Best luck! I have tested my guide on 4 Fire TVs... I've never got Error 0.
Click to expand...
Click to collapse
Ok, so i seem to have got a littel further this time, i can now install from playstore and reccomendations work (sometimes) but, i cannot see any settings icon ? and obviously my original settings are disabled.
Also i cant see my sideloaded apps anywhere or even know where to access them from ? can you shed any light on this for me please ?
sconnyuk said:
Ok, so i seem to have got a littel further this time, i can now install from playstore and reccomendations work (sometimes) but, i cannot see any settings icon ? and obviously my original settings are disabled.
Also i cant see my sideloaded apps anywhere or even know where to access them from ? can you shed any light on this for me please ?
Click to expand...
Click to collapse
Is it possible that you have not configured XInstaller correctly? Please send me screenshots of your XPosed modules and one screenshot of each XInstaller area. If the settings do not appear at the bottom of the launcher, you have not installed the Settings.apk correctly. Please scroll down in the launcher and take a screenshot.
To access all apps, press and hold the Menu key, then the app bar opens with all (even the non-leanback) apps. To do this, however, you must have configured all keys as specified in Xposed edge.
rainman74 said:
Is it possible that you have not configured XInstaller correctly? Please send me screenshots of your XPosed modules and one screenshot of each XInstaller area. If the settings do not appear at the bottom of the launcher, you have not installed the Settings.apk correctly. Please scroll down in the launcher and take a screenshot.
To access all apps, press and hold the Menu key, then the app bar opens with all (even the non-leanback) apps. To do this, however, you must have configured all keys as specified in Xposed edge.
Click to expand...
Click to collapse
Yes I've not configured xinstaller as I can't find the app xinstaller to launch. I have managed to get as far as installing settings and running all commands but I do not see any settings. If there was a way to select xinstaller I might be able to progress?
sconnyuk said:
Yes I've not configured xinstaller as I can't find the app xinstaller to launch. I have managed to get as far as installing settings and running all commands but I do not see any settings. If there was a way to select xinstaller I might be able to progress?
Click to expand...
Click to collapse
Launch the Xposed Installer
- Click on the three lines in the top left corner of the screen
- Click on Modules
- Click the check box to activate XInstaller (use Mouse Toogle for Fire TV)
Restart the Fire TV
Launch the Xposed Installer again
- Click on Modules again
- Click on XInstaller
In XInstaller click on XInstaller first
- Check Expert mode
- Press the back arrow
In the Installations page, in the "Enable" section, check the boxes for:
- Downgrading apps
- Installing unknown apps
- Then scroll down to the "Disable" section and check the boxes for:
- Checking signatures
- Checking signatures (F-Droid)
- Forward locking
- Verifying apps
- Checking SDK version
- Checking duplicated permissions
- Press the back arrow
In the Misc page, in the "Enable" section, check the box for:
- Debugging apps
- Then scroll down to the "Disable" section and check the boxes for:
- Checking permissions
- Verifying JAR
- Verifying signatures
- Checking Lucky Patcher
- Auto updating Google Play
Exit the program
rainman74 said:
Launch the Xposed Installer
- Click on the three lines in the top left corner of the screen
- Click on Modules
- Click the check box to activate XInstaller (use Mouse Toogle for Fire TV)
Restart the Fire TV
Launch the Xposed Installer again
- Click on Modules again
- Click on XInstaller
In XInstaller click on XInstaller first
- Check Expert mode
- Press the back arrow
In the Installations page, in the "Enable" section, check the boxes for:
- Downgrading apps
- Installing unknown apps
- Then scroll down to the "Disable" section and check the boxes for:
- Checking signatures
- Checking signatures (F-Droid)
- Forward locking
- Verifying apps
- Checking SDK version
- Checking duplicated permissions
- Press the back arrow
In the Misc page, in the "Enable" section, check the box for:
- Debugging apps
- Then scroll down to the "Disable" section and check the boxes for:
- Checking permissions
- Verifying JAR
- Verifying signatures
- Checking Lucky Patcher
- Auto updating Google Play
Exit the program
Click to expand...
Click to collapse
Thanks for that, its working now.
I have recomendations come up correctly, i can see and use my settings now and its now setup better than i had previously.
One question, how to make my sideloaded apps show on the homescreen ? or isnt this possible ?
Thanks for your help and for putting this together.
this trick was original found by @gundal, I just made an easy way to set it on this thread.
download fastboot tools here
Enable USB debug on developper options and open adb/fastboot tools on pc and type:
adb devices
accept prompt window on phone and type:
adb shell
-press enter-
pm uninstall --user 0 com.samsung.android.samsungpass
-press enter-
now reboot and flip the samsung pass toggles in fingerprints menu, login and you are done.
to see all packages installed, type the command: pm list packages (after command adb shell)
btw, you can uninstall or disable with command:
pm uninstall --user 0 PACKAGE_NAME
pm disable-user --user 0 PACKAGE_NAME
C:\Program Files (x86)\Minimal ADB and Fastboot>pm uninstall --user 0 com.samsung.android.samsungpass
'pm' is not recognized as an internal or external command,
operable program or batch file.
kmakis said:
C:\Program Files (x86)\Minimal ADB and Fastboot>pm uninstall --user 0 com.samsung.android.samsungpass
'pm' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
I have done it it works mayb your download is broken
This is a very basic script I made as I noticed that even after successfully rooting, I could not uninstall System Apps with apps like Lucky Patcher or System App Remover.
Code:
@ECHO OFF
ECHO \................./
ECHO \..Bloat Remover../
ECHO \................./
ECHO SAMS CLUB
adb shell pm uninstall -k --user 0 com.rfi.sams.android
ECHO Walmart
adb shell pm uninstall -k --user 0 com.walmart.android
ECHO FM Radio
adb shell pm uninstall -k --user 0 com.android.fmradio
ECHO Grocery
adb shell pm uninstall -k --user 0 com.walmart.grocery
ECHO VUDU
adb shell pm uninstall -k --user 0 air.com.vudu.air.DownloaderTablet
ECHO Walmart EBooks
adb shell pm uninstall -k --user 0 com.kobobooks.android.walmart
ECHO GPlay Music
adb shell pm uninstall -k --user 0 com.google.android.music
ECHO Auto Dialer Example App (pointless)
adb shell pm uninstall -k --user 0 com.example
ECHO Call Log Backup/Restore
adb shell pm uninstall -k --user 0 com.android.calllogbackup
ECHO Call Management
adb shell pm uninstall -k --user 0 com.android.server.telecom
ECHO Carrier Config
adb shell pm uninstall -k --user 0 com.android.carrierconfig
ECHO SMS Push
adb shell pm uninstall -k --user 0 com.android.smspush
ECHO Call Recorder
adb shell pm uninstall -k --user 0 com.mediatek.callrecorder
ECHO Contacts
adb shell pm uninstall -k --user 0 com.android.contacts
adb shell pm uninstall -k --user 0 com.android.providers.contacts
adb shell pm uninstall -k --user 0 com.google.android.syncadapters.contacts
ECHO Duo
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon
ECHO GPlay Movies
adb shell pm uninstall -k --user 0 com.google.android.videos
ECHO Text 2 Speech
adb shell pm uninstall -k --user 0 com.google.android.tts
ECHO Keep Notes
adb shell pm uninstall -k --user 0 com.google.android.keep
ECHO Maps
adb shell pm uninstall -k --user 0 com.google.android.apps.maps
ECHO Mobile Data
adb shell pm uninstall -k --user 0 com.android.phone
adb shell pm uninstall -k --user 0 com.android.providers.telephony
ECHO MMS Service
adb shell pm uninstall -k --user 0 com.android.mms.service
ECHO SIM Data
adb shell pm uninstall -k --user 0 com.android.simappdialog
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.mediateksimprocessor
adb shell pm uninstall -k --user 0 com.mtk.telephony
ECHO Sound Recorder
adb shell pm uninstall -k --user 0 com.android.soundrecorder
ECHO Walmart Nav Bar Button App
adb shell pm uninstall -k --user 0 com.mid.kubedemo
ECHO Fix NavBar back to Stock Android
adb shell settings put secure sysui_nav_bar "space,back;home;recent,space"
ECHO Done!
How to Use
This tutorial is assuming you already have ADB on your system with USB Debugging enabled
1.) Root your device using one of the provided methods in this section
2.) Once Rooting is complete, plug your device into your PC
3.) Open Notepad, copy the code above and paste it.
4.) Save it as BloatRemover.bat (or anything you want)
5.) Double click it when saved and it will automatically remove all the walmart stuff from the tablet! Should work on both the 7 and 10 inch tablets released on Black Friday.
Script 2 Edit Update @CyberstormFox for the info on the walmart logo nav bar button app...
@ragtop429 for the NavBar Reset ADB Code to remove the walmart logo button (although your code was slightly wrong )
Added to the script of everything pertaining to phone operation that was disabled anyway and Text Messaging.
Additional bloat
I also recommend adding the app com.mid.kubedemo.
It's the app that's launched when you hit the Walmart logo embedded in the left side of the navbar.
If anyone can figure out how to remove the icon itself, that would be nice.
It's still there, but now does nothing.
CyberstormFox said:
I also recommend adding the app com.mid.kubedemo.
It's the app that's launched when you hit the Walmart logo embedded in the left side of the navbar.
If anyone can figure out how to remove the icon itself, that would be nice.
It's still there, but now does nothing.
Click to expand...
Click to collapse
yo, thanks for letting me know which one it is. I've actually gotta update this script anyway as I've added everything that pertains to using your phone and text messaging to the debloater as you can't put a sim card in these and its all "disabled" taking up space anyway. I'll edit it right now
KaptinBoxxi said:
This is a very basic script I made as I noticed that even after successfully rooting, I could not uninstall System Apps with apps like Lucky Patcher or System App Remover.
Code:
@ECHO OFF
ECHO \................./
ECHO \..Bloat Remover../
ECHO \................./
ECHO SAMS CLUB
adb shell pm uninstall -k --user 0 com.rfi.sams.android
ECHO Walmart
adb shell pm uninstall -k --user 0 com.walmart.android
ECHO FM Radio
adb shell pm uninstall -k --user 0 com.android.fmradio
ECHO Grocery
adb shell pm uninstall -k --user 0 com.walmart.grocery
ECHO VUDU
adb shell pm uninstall -k --user 0 air.com.vudu.air.DownloaderTablet
ECHO Walmart EBooks
adb shell pm uninstall -k --user 0 com.kobobooks.android.walmart
ECHO GPlay Music
adb shell pm uninstall -k --user 0 com.google.android.music
ECHO Auto Dialer Example App (pointless)
adb shell pm uninstall -k --user 0 com.example
ECHO Call Log Backup/Restore
adb shell pm uninstall -k --user 0 com.android.calllogbackup
ECHO Call Management
adb shell pm uninstall -k --user 0 com.android.server.telecom
ECHO Carrier Config
adb shell pm uninstall -k --user 0 com.android.carrierconfig
ECHO SMS Push
adb shell pm uninstall -k --user 0 com.android.smspush
ECHO Call Recorder
adb shell pm uninstall -k --user 0 com.mediatek.callrecorder
ECHO Contacts
adb shell pm uninstall -k --user 0 com.android.contacts
adb shell pm uninstall -k --user 0 com.android.providers.contacts
adb shell pm uninstall -k --user 0 com.google.android.syncadapters.contacts
ECHO Duo
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon
ECHO GPlay Movies
adb shell pm uninstall -k --user 0 com.google.android.videos
ECHO Text 2 Speech
adb shell pm uninstall -k --user 0 com.google.android.tts
ECHO Keep Notes
adb shell pm uninstall -k --user 0 com.google.android.keep
ECHO Maps
adb shell pm uninstall -k --user 0 com.google.android.apps.maps
ECHO Mobile Data
adb shell pm uninstall -k --user 0 com.android.phone
adb shell pm uninstall -k --user 0 com.android.providers.telephony
ECHO MMS Service
adb shell pm uninstall -k --user 0 com.android.mms.service
ECHO SIM Data
adb shell pm uninstall -k --user 0 com.android.simappdialog
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.mediateksimprocessor
adb shell pm uninstall -k --user 0 com.mtk.telephony
ECHO Sound Recorder
adb shell pm uninstall -k --user 0 com.android.soundrecorder
ECHO Walmart Nav Bar Button App
adb shell pm uninstall -k --user 0 com.mid.kubedemo
ECHO Fix NavBar back to Stock Android
adb shell settings put secure sysui_nav_bar "space,back;home;recent,space"
ECHO Done!
How to Use
This tutorial is assuming you already have ADB on your system with USB Debugging enabled
1.) Root your device using one of the provided methods in this section
2.) Once Rooting is complete, plug your device into your PC
3.) Open Notepad, copy the code above and paste it.
4.) Save it as BloatRemover.bat (or anything you want)
5.) Double click it when saved and it will automatically remove all the walmart stuff from the tablet! Should work on both the 7 and 10 inch tablets released on Black Friday.
Script 2 Edit Update @CyberstormFox for the info on the walmart logo nav bar button app...
@ragtop429 for the NavBar Reset ADB Code to remove the walmart logo button (although your code was slightly wrong )
Added to the script of everything pertaining to phone operation that was disabled anyway and Text Messaging.
Click to expand...
Click to collapse
Just wanted to add this.
You can do a temp root using mtk-su
Guide HERE
If you get the following error when you run the batch file
Code:
Fix NavBar back to Stock Android
/system/bin/sh: home: not found
/system/bin/sh: recent,space: not found
Try manually going to ADB Shell and typing the code there manually
In this case:
Code:
adb shell
settings put secure sysui_nav_bar "space,back;home;recent,space"
sm_x said:
Just wanted to add this.
You can do a temp root using mtk-su
Guide HERE
If you get the following error when you run the batch file
Code:
Fix NavBar back to Stock Android
/system/bin/sh: home: not found
/system/bin/sh: recent,space: not found
Try manually going to ADB Shell and typing the code there manually
In this case:
Code:
adb shell
settings put secure sysui_nav_bar "space,back;home;recent,space"
Click to expand...
Click to collapse
I had actually fixed all this and totally forgot about this post to edit it
Root is not needed to change the navbar.
just in case anyone is in my same boat and doesn't have adb installed as a system app (or whatever you call it such that you can access adb from any directory on your computer) and you have to actually be in the platform_tools directory to use adb commands, make sure you copy this bat file to said directory or it won't do anything. once you move it there, it'll work fine.
also... for some reason the nav bar edit didn't work from the bat file. i had to do that one manually.
anyway, thanks for this!
KaptinBoxxi said:
Just wanted to add this.
You can do a temp root using mtk-su
Guide HERE
If you get the following error when you run the batch file
Try manually going to ADB Shell and typing the code there manually
In this case:
I had actually fixed all this and totally forgot about this post to edit it
Click to expand...
Click to collapse
If that doesn't work try:
adb shell settings put secure sysui_nav_bar 'space[1.5WC],back;home;recent,space[1.5WC]'
Root access not needed to remove walmart button.
Quotes
Looks like putting single quotes inside the double quotes works (and should work in the bat file):
Code:
C:\otherApps\platform-tools>adb shell settings put secure sysui_nav_bar "space,back;home;recent,space"
/system/bin/sh: home: not found
/system/bin/sh: recent,space: not found
C:\otherApps\platform-tools>adb shell settings put secure sysui_nav_bar "'space,back;home;recent,space'"
C:\otherApps\platform-tools>adb shell settings get secure sysui_nav_bar
space,back;home;recent,space
The problem is that semicolon is the command delimiter for a 'sh' shell, so it splits the string into three separate commands, but "home" and "recent,space" are not valid. By including the single quotes inside the double, the string gets passed to the shell as a single argument.
Thanks for the script - it otherwise worked well!
N6ML said:
Looks like putting single quotes inside the double quotes works (and should work in the bat file):
Code:
C:\otherApps\platform-tools>adb shell settings put secure sysui_nav_bar "space,back;home;recent,space"
/system/bin/sh: home: not found
/system/bin/sh: recent,space: not found
C:\otherApps\platform-tools>adb shell settings put secure sysui_nav_bar "'space,back;home;recent,space'"
C:\otherApps\platform-tools>adb shell settings get secure sysui_nav_bar
space,back;home;recent,space
The problem is that semicolon is the command delimiter for a 'sh' shell, so it splits the string into three separate commands, but "home" and "recent,space" are not valid. By including the single quotes inside the double, the string gets passed to the shell as a single argument.
Thanks for the script - it otherwise worked well!
Click to expand...
Click to collapse
For everyone with the new 2020 tablets. This script will not work.
I've tried it. You can use adb tools to remove apps though so just do them individually since the tablet no longer have the same exact apps. It really doesn't contain that much bloat. The navigation bar is not easily modified through adb anymore due to android 10. Walmart allows for a two button navigation and a gesture. However, if you change your launcher you cannot use gestures.
The two apps that control the navigation bar are:
com.android.internal.systemui.navbar.twobutton - This one has only two buttons (No walmart button)
com.androidinternal.systemus.navbar.threebutton - This one has three buttons plus the walmart button so a total of 4
I'm going to see if I can install another nav bar to get the stock android bar, but I'm not sure which one to get yet.
szymonurai said:
For everyone with the new 2020 tablets. This script will not work.
I've tried it. You can use adb tools to remove apps though so just do them individually since the tablet no longer have the same exact apps. It really doesn't contain that much bloat. The navigation bar is not easily modified through adb anymore due to android 10. Walmart allows for a two button navigation and a gesture. However, if you change your launcher you cannot use gestures.
The two apps that control the navigation bar are:
com.android.internal.systemui.navbar.twobutton - This one has only two buttons (No walmart button)
com.androidinternal.systemus.navbar.threebutton - This one has three buttons plus the walmart button so a total of 4
I'm going to see if I can install another nav bar to get the stock android bar, but I'm not sure which one to get yet.
Click to expand...
Click to collapse
Any update on this? Did you find a nav bar that worked, with no Walmart button?
Not sure if anyone did this yet but since it looks like Android removed the ability to mess with the nav bar in Android 10, I used the code:
adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural
To enable gestures, which removes the Walmart icon and then I used
adb shell settings put global policy_control immersive.navigation=*
to hide the gesture bar. Gestures still work just fine as of now.
afxtwn said:
Not sure if anyone did this yet but since it looks like Android removed the ability to mess with the nav bar in Android 10, I used the code:
adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural
To enable gestures, which removes the Walmart icon and then I used
adb shell settings put global policy_control immersive.navigation=*
to hide the gesture bar. Gestures still work just fine as of now.
Click to expand...
Click to collapse
This didn't work me fully. everything works from home screen but in apps can't pull up from bottom for app switcher.
Phone Setup
1.Launch the Settings application on your phone.
2.Tap the About Phone option generally near the bottom of the list.
3.Then tap the Build Number option 7 times to enable Developer Mode. You will see a toast message when it is done.
4.Now go back to the main Settings screen and you should see a new Developer Options menu you can access.
5.Go in there and enable the USB Debugging mode option.
Microsoft Windows ADB Setup
1.Download the ADB ZIP file for Windows
2.Extract the contents of this ZIP file into an easily accessible folder (such as C:\adb)
3.Open Windows explorer and browse to where you extracted the contents of this ZIP file
4.Then open up a Command Prompt from the same directory as this ADB binary. This can be done by holding Shift and Right-clicking within the folder then click the “open command prompt here” option. (Some Windows 10 users may see “PowerShell” instConnect your smartphone or tablet to your computer with a USB cable. Change the USB mode to “file transfer (MTP)” mode. Some OEMs may or may not require this, but it’s best to just leave it in this mode for general compatibility.
5.In the Command Prompt window, enter the following command to launch the ADB daemon: ./adb devices
6.On your phone’s screen, you should see a prompt to allow or deny USB Debugging access. Naturally, you will want to grant USB Debugging access when prompted (and tap the always allow check box if you never want to see that prompt again).
7.Finally, re-enter the command from step #6. If everything was successful, you should now see your device’s serial number in the command prompt.
Disable command
adb shell pm disable-user --user 0 (package name)
list (warning:read app names individually and then disable,there may be apps you might need)
.\adb shell pm disable-user --user 0 com.heytap.market
.\adb shell pm disable-user --user 0 com.google.ar.core
.\adb shell pm disable-user --user 0 com.oppo.market
.\adb shell pm disable-user --user 0 com.oppo.market
.\adb shell pm disable-user --user 0 com.oppo.market
.\adb shell pm disable-user --user 0 com.google.ar.core
.\adb shell pm disable-user --user 0 com.facebook.system
.\adb shell pm disable-user --user 0 com.facebook.services
.\adb shell pm disable-user --user 0 com.nearme.browser
.\adb shell pm disable-user --user 0 com.coloros.weather.service
.\adb shell pm disable-user --user 0 com.coloros.weather2
.\adb shell pm disable-user --user 0 com.google.android.setupwizard
.\adb shell pm disable-user --user 0 com.coloros.phonenoareainquire
.\adb shell pm disable-user --user 0 com.facebook.services
.\adb shell pm disable-user --user 0 com.nearme.browser
others:
app:Google photos (disable if you had heavy battery drain like i had)
package:com.google.android.apps.photos
app:Music
package:com.oppo.music
app:YouTube Music
package:com.google.android.apps.youtube.music
app:Facebook App Manager
package:com.facebook.appmanager
app:Weather Services
package:com.coloros.weather.service
app:Assistive Ball
package:com.coloros.floatassistant
app:User Experience Program
package:com.nearme.statistics.rom
app:RfToolkit
package:com.oppo.rftoolkit
How to re-enable: goto playstore , search for the app you want to enable and click enable.
OR
go to settings>app management>search for the app and hit enable.
Is it safe to uninstall google app from phone ?
I have bought a new, stock Sony Xperia X Compact from a Chinese online vendor. The cell phone can send SMS messages. I have tried to follow instructions on this forum to install a custom ROM, but i have not been able (i have found many expired links).
I offer 0.001 BTC = 1 mBTC (about 20 US$ at today's rate) for who can guide me to choose and install a custom ROM. My goal is to have a simple, secure, degoogled phone.
I have a Ubuntu PC and a Windows PC.
Start by reading
Info about suzu | LineageOS Wiki
wiki.lineageos.org
Install LineageOS on suzu | LineageOS Wiki
wiki.lineageos.org
Write if you don't understand something.
ok thanks.
I will read th link you provided
I have started to follow the instructions on a ubuntu PC.
see my log below.
I mark with the characters <<<< when something failed
--------------------------------------------------------
Info about suzu | LineageOS Wiki
wiki.lineageos.org
Get LineageOS for the Sony Xperia X
Get the builds here
Download lineage-18.1-20221021-recovery-suzu.img
lineage-18.1-20221021-recovery-suzu.imglineage-18.1-20221021-recovery-suzu.img
Install LineageOS on suzu | LineageOS Wiki
wiki.lineageos.org
Make sure your computer has adb and fastboot. Setup instructions can be found here.
Using ADB and fastboot | LineageOS Wiki
wiki.lineageos.org
Up to this point all OK. Now i follow:
5. You may also need to set up udev rules: see this repository for more info.
https://github.com/M0Rf30/android-udev-rules#installation
$ git clone https://github.com/M0Rf30/android-udev-rules.git
Cloning into 'android-udev-rules'...
remote: Enumerating objects: 1164, done.
remote: Counting objects: 100% (152/152), done.
remote: Compressing objects: 100% (67/67), done.
remote: Total 1164 (delta 91), reused 128 (delta 84), pack-reused 1012
Receiving objects: 100% (1164/1164), 300.93 KiB | 3.24 MiB/s, done.
Resolving deltas: 100% (521/521), done.
$ cd android-udev-rules
$ sudo cp -v 51-android.rules /etc/udev/rules.d/51-android.rules
'51-android.rules' -> '/etc/udev/rules.d/51-android.rules'
$ sudo chmod a+r /etc/udev/rules.d/51-android.rules
$ sudo cp android-udev.conf /usr/lib/sysusers.d/
$ sudo systemd-sysusers
Creating group adbusers with gid 998.
$ sudo gpasswd -a $(whoami) adbusers
Adding user XXX to group adbusers
$ sudo udevadm control --reload-rules
$ sudo systemctl restart systemd-udevd.service
$ adb kill-server
cannot connect to daemon at tcp:5037: Connection refused <<<<<
$
# Replug your Android device and ...
the instructions have not said before to plug my Android device ! <<<<<<<
Anyway i connect my android smartphone to my ubuntu PC with a USB cable.
# You should now see your device
Where should i see my device ? <<<<<<<
On the phone, enable developer options by clicking repeatedly on the android version number, and then in the developer options enable usb debugging.
Then, after plugging in the enabled phone with a usb cable from the PC, confirm the authentication option in the pop-up window.
After executing the command
Code:
adb devices
you will receive information about the device number, which means that you have established a connection with which to perform further actions.
ze7zez said:
On the phone, enable developer options by clicking repeatedly on the android version number, and then in the developer options enable usb debugging.
Then, after plugging in the enabled phone with a usb cable from the PC, confirm the authentication option in the pop-up window.
After executing the command
Code:
adb devices
you will receive information about the device number, which means that you have established a connection with which to perform further actions.
Click to expand...
Click to collapse
Thanks, your advice worked, and i have made progress. I have arrived to the point:
Unlocking the bootloader
Step 1: On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
Step 2: service info --> Config :
Rooting status : Bootloader unlock allowed: NO <<<<<
So my phone is not rooted. I will search XDA how to root it, however let me know if you recommend a specific page
Since there are several different models of Xperia X show command results:
adb shell getprop ro.build.fingerprint
adb shell getprop ro.semc.version.cust
adb shell getprop ro.semc.version.cust_revision
ze7zez said:
Since there are several different models of Xperia X show command results:
adb shell getprop ro.build.fingerprint
adb shell getprop ro.semc.version.cust
adb shell getprop ro.semc.version.cust_revision
Click to expand...
Click to collapse
$ adb shell getprop ro.build.fingerprint
docomo/SO-02J/SO-02J:8.0.0/34.4.B.1.129/2043362636:user/release-keys
$ adb shell getprop ro.semc.version.cust
1305-8403
$ adb shell getprop ro.semc.version.cust_revision
R11E
I'm sorry, but there is no known way to root the Xperia X Compact (SO-02J - Japanese version).
I advise you against experimenting on your model based on the thread:
How To root and Twrp X compact Docomo so-02j
hello friends, i'm having trouble for my root and twrp because i have so-02j version. I've followed the guides trying the genesis kernel, but it just makes a stop in the sony logo when booting. does my device have a chance to root twrp and...
forum.xda-developers.com
Removing bloatware from sony Xperia SO-02J on a non-rooted Cell phone.
Adapted from
Find package names searching the app on https://www.apkmirror.com/apk/
$ adb devices
List of devices attached
BH9080Z65U device
$ adb shell
SO-02J:/ $ am get-current-user
0
SO-02J:/ $
SO-02J:/ $ pm uninstall -k --user 0 apps.r.compass
Failure [not installed for 0]
SO-02J:/ $
// try to remove Suguden :
SO-02J:/ $ pm uninstall -k --user 0 com.nttdocomo.android.phonemotion
Success
SO-02J:/ $
// try to remove chrome:
SO-02J:/ $ pm uninstall -k --user 0 com.android.chrome
Success
// try to remove Docomo Disaster kit:
SO-02J:/ $ pm uninstall -k --user 0 jp.co.nttdocomo.saigaiban
Success
SO-02J:/ $
// remove docomo dmarket:
SO-02J:/ $ pm uninstall -k --user 0 com.nttdocomo.android.store
Success
SO-02J:/ $
// try to remove docomo Application Manager
130|SO-02J:/ $ SO-02J:/ $ pm uninstall -k --user 0 com.nttdocomo.android.applicationmanager
/system/bin/sh: SO-02J:/: not found
127|SO-02J:/ $
// try rm docomo mail 127|SO-02J:/ $ pm uninstall -k --user 0 jp.co.nttdocomo.carriermail
Success
SO-02J:/ $
// docomo data copy:
SO-02J:/ $ pm uninstall -k --user 0 com.nttdocomo.android.sdcardbackup
Success
SO-02J:/ $
// Now restart the phone and try it: OK.
// Continue :
SO-02J:/ $ pm uninstall -k --user 0 com.nttdocomo.android.dhome
Success
SO-02J:/ $ pm uninstall -k --user 0 com.facebook.katana
Success
SO-02J:/ $ pm uninstall -k --user 0 com.facebook.appmanager
Success
SO-02J:/ $ pm uninstall -k --user 0 com.google.android.videos
Success
SO-02J:/ $ pm uninstall -k --user 0 com.google.android.music
Success
SO-02J:/ $ pm uninstall -k --user 0 com.touchtype.swiftkey.beta
Failure [not installed for 0]
SO-02J:/ $ pm uninstall -k --user 0 com.sonymobile.entrance
Success
SO-02J:/ $ pm uninstall -k --user 0 com.sonymobile.assist
Success
SO-02J:/ $ pm uninstall -k --user 0 com.google.android.tts
Success
// Now restart the phone and try it: all OK.
try to unistall more docomo apps.
SO-02J:/ $ pm uninstall -k --user 0 com.nttdocomo.android.areamail
Success
Now try phone: cannot make or receive calls !!
Downloadl com.nttdocomo.android.areamail_11.00.00002-12610_minAPI18(nodpi)_apkmirror.com.apk from https://www.apkmirror.com/apk/ and install it on the phone.
Restart the phone.
I can make and receive calls.
Stop unintalling apps for the moment