[GUIDE] Workaround Issues (Unofficial MoDaCo 1.2c) - Hero CDMA General

This is meant to be a compliment to the post: [GUIDE] Root Hero [MAC], Load Unofficial MoDaCo 1.2c, Nandroid Backup/Restore!
However, if you are using other rooted ROMs, you can feel welcome to try the steps described to workaround your issues as well! Tell us how it goes!
For this guide, I will be providing steps to workaround most of the known issues that exist with the unit using Unofficial MoDaCo 1.2c
PLEASE NOTE: These are the best possible WORKAROUNDS I have been able to find scattered across various forums. They are not FIXES. Most of these issues will most likely require an update from Sprint/HTC in order to be "FIXED". If you would like to keep up with new developments, you can check the Sprint Discussion forums for any official announcements by Admins:
http://community.sprint.com/baw/com...-devices/android_phones/hero?view=discussions
Feel free to reply with any further fixes and corrections of any errors I may make now or in the future! Happy Rooting!
BEFORE FOLLOWING THE WORKAROUND GUIDE
Most all of my workarounds will require some type of app. To make loading apps into your phone easier (and fun!), I will have you first download Barcode Scanner. For those who don't wish to rely on the Barcode Scanner, I will also provide links to the App from androlib.com, and you are of course free to run searches of the app name. In fact, we have to do that initially for Barcode Scanner!
Open "Market" and select "Search". Type in "barcode scanner". The name of the app we want is "Barcode Scanner" and it is by "ZXing Team". You are in theory able to use any other barcode scanning apps as well, I'm just having you get the one I use!
AndroLib Link: Barcode Scanner
From this point forward, you can use Barcode Scanner to scan QR Codes that I will place of Apps I instruct you to download and use.
Quick Boot
If you wish to be able to reboot the phone or load it into recovery mode without plugging in and running adb, download this app called "Quick Boot":
{
"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"
}
AndroLib: Quick Boot
Workarounds
Please use these workarounds in order (if possible) for best results.
Voice Search/Maps Force Close (Thanks dom2114!)
Forum Post: Google Voice Search/Maps Force Closes on MoDaCo
Connect to your Mac via USB, Open Terminal, and enter the following commands (Thanks thecodemonk!):
Code:
adb remount
adb shell
mv /data/app/com.google.android.voicesearch.apk /system/app
mv /data/app/com.google.android.apps.maps.apk /system/app
Prevent apps from using wrong names / reverting to previous versions after reboot (Thanks jonnythan!)
Forum Post: Misnamed apps? Wrong versions? Fix here
The way this workaround works, you will unfortunately have to use it every time you install and/or update an app. The reasoning behind this is that if any data exists in the /data/boot-cache directory that we are emptying, then there is the possibility that we will have this issue occur. Only though repeated use of this command have people been able to successfully avoid this issue. Therefore, I will provide instructions so that you can simply run a single command after any app install and/or update, which should help you avoid the issue!
Download "Command Executer" from Market.
AndroLib: Command Executer
On your phone, open the App called "Notes" (Yes, it's there I promise, it came with MoDaCo!)
Select Menu>New>Text Note
Name the note: "clear-boot-cache"
Save the following into the body of the note:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system && rm -r /data/boot-cache/*
Make sure the cursor is in the actual body of the note, long press, and select "Copy all"
Open "Command "Executer", select the "Super User" radio button, long press in the text box provided, select "Paste".
You should see the code you copied from the note
When running this command for the first time, you will have to grant su access. the Superuser Permission app will open asking you to allow this command to run. Select "Always allow" so that you don't have to go through the pop-up again. If you don't receive any errors, you are good! If you do get an error, just try it again.
If nothing spits out then you are good for reboot, and your app names and versions should all remain intact!
Remove Useless Preloaded Apps (Thanks chuckhriczko and VoXHTC!)
Forum Post 1: How to remove Stocks, Nascar, and other useless apps...
Forum Post 2: APPS that are SAFE to remove
List of Apps I remove (and can confirm everything left still works after reboot!):
-Sprint NFL
-Sprint Nascar
-Stocks + Widget
-Peep (Twitter) + Widget
-Foorprints + Widget
Code:
adb remount
adb shell
cd /system/app
rm Sprint_NFL.apk
rm Sprint_NFL.odex
rm Sprint_Nscar.apk
rm Sprint_Nscar.odex
rm Stock.apk
rm Stock.odex
rm com.htc.StockWidget.apk
rm com.htc.StockWidget.odex
rm HtcTwitter.apk
rm HtcTwitter.odex
rm com.htc.TwitterWidget.apk
rm com.htc.TwitterWidget.odex
rm HtcFootprints.apk
rm HtcFootprints.odex
rm HtcFootprintsWidget.apk
rm HtcFootprintsWidget.odex
rm LearnMore.apk
rm LearnMore.odex
Not all apps you try to remove will have matching ".odex" files. This is OK. We must make sure to remove them just in case, as leaving either the .apk or the .odex can result in the app reinstalling itself!
NOTE: For the following apps, I use Google Voice and Maps, so I do not need them. HOWEVER, if you want to use the Sprint provided Visual Voicemail and turn-by-turn Navigation, DO NOT REMOVE!
Code:
rm Sprint_Navigator.apk
rm Sprint_Navigator.odex
rm Sprint_Core.apk
rm Sprint_Core.odex
cd /system/sd/app
rm com.coremobility.app.vnotes.apk
Wifi-Sleep Policy (Possible Battery Life Improvement!)
Forum Post: Battery Drain...Fixed for me!
This seems to have helped many users on the Sprint forums with battery life issues. Worth a shot!
Code:
Settings->Wireless Controls->WiFi Settings>Press Menu>Advanced>Wi-Fi sleep policy>Never
Alarm Volume
Forum Post: Alarm not working properly?
I use a combination of an app and widget to keep my alarm volume at max and making sure it stays there.
"Sound Manager" will allow you to schedule the alarm volume to adjust at a specific time (default 8AM). I set a default alarm for everyday of the week at the default time (8AM), and I have not had any problems with the alarm not going off since!
AndroLib: Sound Manager
You can also use the "AudioManager Widget" widget to monitor the alarm volume. I check it anytime I swipe to the home screen that holds it.
AndroLib: AudioManager Widget
Helpful Hints
How to tell if apps2sd (A2SD) is working
Connect to your Mac via USB, Open Terminal, and enter the following commands:
Code:
adb remount
adb shell
ls /system/sd/app/
If you get a list of applications, then A2SD is working properly.

Related

How long should a boot take after enabling JIT?

I just flashed fixxxed ROM v3 (no sense) and followed the JIT instructions exactly (found here)
Code:
How to install & enable JIT [R]
* Download the needed files: VMLibs
* Create 2 folders on your sdcard: “jit” & “dalbk”
* Extract the vmlibs.zip to the “jit” folder on your sdcard
* Using ADB pull your build.prop
ADB pull /system/build.prop C:\build.prop
* Add the following line to the end of the build.prop: dalvik.vm.execution-mode=int:jit
* Save it & push it back to your “jit” folder on the sdcard
ADB push C:\build.prop /sdcard/jit/build.prop
ADB shell
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock6 /system
# cp /system/build.prop /sdcard/dalbk/
# cp /system/bin/dalvikvm /sdcard/dalbk/
# cp /system/lib/libdvm.so /sdcard/dalbk/
# cp /system/lib/libnativehelper.so /sdcard/dalbk/
# cd /sdcard/jit/bin
# cp -f dalvikvm /system/bin/
# busybox chmod 755 /system/bin/dalvikvm
# cd /sdcard/jit
# cp -f libdvm.so /system/lib/
# cp -f libnativehelper.so /system/lib/
# cat build.prop >/system/build.prop
# chmod 644 /system/lib/libdvm.so
# chmod 644 /system/lib/libnativehelper.so
# chmod 666 /system/build.prop
# sync
# mount -o remount,ro /dev/mtd/mtdblock6 /system
# reboot
The only error I encounter is re-mounting to read only... i get a device busy error.
Its been approximately 15 minutes.
I have no applications installed.
Just wiped EVERYTHING (SD EXT partition, data, dalvik) then flashed the ROM, rebooted a few times then did the JIT instructions.
It goes to the sprint boot image, then stuck on the white HTC screen.
What did I do wrong?
Have you tried pulling the battery and rebooting??
sometimes it freezes on first boot up.. Some roms do that for me to
And i also have these instructions
http://forum.xda-developers.com/showthread.php?t=659387
Not working
Still stuck on boot. I've pulled the battery 3 times now, does the same thing. Goes through the sprint splash screen, then gets stuck on the white HTC screen.
Is there a way to pull a boot log to see what's happening?
I cant think of anything but to open up the sdcard on your comp and make sure it has /sdcard/jit/bin and the file inside of it.
you can put the file that is inside of /jit/bin in /jit/
and then type the command
cp -f dalvikvm /system/bin/
Jus10o said:
I cant think of anything but to open up the sdcard on your comp and make sure it has /sdcard/jit/bin and the file inside of it.
you can put the file that is inside of /jit/bin in /jit/
and then type the command
cp -f dalvikvm /system/bin/
Click to expand...
Click to collapse
I forgot that I deleted the jit folder and re-created it without unzipping the files. Got that part (hence the post edit ) but now I'm back to square one again.
poor_red_neck said:
I forgot that I deleted the jit folder and re-created it without unzipping the files. Got that part (hence the post edit ) but now I'm back to square one again.
Click to expand...
Click to collapse
one person said that happened to them.. they changed there wallpaper from a non htc one and it booted up
Well **** too late... lol...
I just flashed freshtoast 1.1 again... going to give it another shot.
Last time I ran that rom (without JIT) the keyboard started acting REALLY wacky... would only type symbols (as if I were long pressing a key)
How can I confirm JIT is working?
I know I saw a command to type into a shell to see if its working but I cant remember what thread it was in.
Dammit this is really frustrating!!!
I can get fresh toast to get to the lock screen (yes Ive already removed the HTC lock screen as well as set helix as my default home screen) and now its locked.
The cell radio never turns on (says invalid sim)
There is no wallpaper loaded, so that must what's causing the error now.
WOOOHOOOO
FINALLY a successful boot!!!
Now I just need to confirm its working.
type
adb shell
su
dalvikvm -h
look near the bottom for with_jit
it should be 2nd line up
And test benchmarks in linpack.. if you can get anything in the 4.0+ then its working.
sawweeeettt!!!
4.15 Mflops.....
Thanks for the help!!!!!!!!!
I'll see how long I can go w/o camera. Im loving this overclocked with JIT.... freakin BLAZING!!!
I'm a HUGE fan of Sense... I just hope I can get used to android without it.
poor_red_neck said:
sawweeeettt!!!
4.15 Mflops.....
Thanks for the help!!!!!!!!!
I'll see how long I can go w/o camera. Im loving this overclocked with JIT.... freakin BLAZING!!!
I'm a HUGE fan of Sense... I just hope I can get used to android without it.
Click to expand...
Click to collapse
use "zeam" launcher.. Not sure 100% if it works with jit, but you can be the first to test.. If it locks up, you can always reboot and it will run fine long enough so you can change the launcher (thats if it even locks up).
http://forum.xda-developers.com/showthread.php?p=6189091#post6189091
-I only used zeam for couple mins and went back to helix. I like the bottom row of widgets, helps clean up the homescreen alot.
-And beautiful widgets" paid app in the market for clock widget.
If you run jit long enough youll eventually just get used not using sense. Going back to sense without jit just sucks for me now.
Heres my set up
{
"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"
}

[GUIDE][TOOL] Guide To Create You're Own De-Bloat Tool/APK Installer/For Any Device

Ever Tired Of Useless Stock Bloat Stuffed Up In Rom! Time To Remove Them!
This Is Guide To Create A Script To Remove Bloatware From Stock Rom For Any Device! Plus APK Installer
For Referring Purpose I'm Using Samsung's De-Bloat Too/APK Installer Develop'd by Me!
Requirements:
CWM Recovery w/ ADB
USB Drivers
Rooted
Phone connected to PC with USB Debugging enabled.
What Does This Tool Do..........?
It Removes Bloatware From Stock Rom! Eg: Samsungs's Unwanted Stuff
#Optional : Install/Batch APK's
Download This Tool Zip Here
Extract It
- Now Edit(Using NotePad++) Debloat.bat
{
"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"
}
-Go To Line 30 And Edit The "BuddiesNow.apk" name to you're specific one In Rom/Device!
For Eg:
Edit This
Code:
adb shell rm /system/app/BuddiesNow.apk
adb shell rm /system/app/BuddiesNow.odex
To
Code:
adb shell rm /system/app/TWLauncher.apk
adb shell rm /system/app/TWLauncher.odex
-Thats All! Save The File & Run The Debloat.bat By Following Instructions!
How-To USE :
Click On Debloat.bat
Follow On Screen Instructions To Remove !
Reboot Phone When Prompted!
--------------------------------
For APK Installer
Place The Wanted APK's In The same Folder!
-Close The Window To Skip Auto Install!
-Press Continue For Auto Apk Installer
IMPORTANT: -And Make Sure You Reconnect USB Cable Before Pressing Continue!
-Press Continue For Auto Apk Installer
-Done!
It Works On Stock Rom.
It Also Works On Custom Rom If Therez Any Bloat In It! Don't Panic If Therz Some Error Regarding No Such File/Directory.It's coz of absence of specified app in System/app (Bloat-Free)
Now Make You're Own Versions For You're Devices Like HTC,SE etc
The Tool Attached Here(For Ex) Is almost Common For Samsung Devices!
Download Link : http://goo.im/devs/eaglerazor123/Eag-debloat.zip
http://www.mediafire.com/?qhq294rzh3ajll4
Credit Me If You Used This Somewhere
Hit Thanks If You Like ! Donate If You Want To!
This was posted on the portal! NICE!!
http://www.xda-developers.com/android/create-a-de-bloat-script-and-auto-apk-installer/
do i really need adb??? i haven't set up one on my pc..
cant i just use QtAdb???
draiyan said:
do i really need adb??? i haven't set up one on my pc..
cant i just use QtAdb???
Click to expand...
Click to collapse
Didn't try that yet! I recommend to Setup ADB it's very handy!
1 word - wow. This is a really great tool. Used it, and it's flawless. I would LOVE to have it in my ROM if you don't mind! Like flashing the ROM then flashing this script to remove Facebook, Twitter, etc. Great work buddy
invasion2 said:
1 word - wow. This is a really great tool. Used it, and it's flawless. I would LOVE to have it in my ROM if you don't mind! Like flashing the ROM then flashing this script to remove Facebook, Twitter, etc. Great work buddy
Click to expand...
Click to collapse
Thanks! No prob u can use it!
Feel free to pull my Universal De-Blur/De-Bloat for a template for MotoBlur devices if you want.
we dont have a cwm with adb support then how can we make it work??
eaglerazor123 said:
Ever Tired Of Useless Stock Bloat Stuffed Up In Rom! Time To Remove Them!
This Is Guide To Create A Script To Remove Bloatware From Stock Rom For Any Device! Plus APK Installer
For Referring Purpose I'm Using Samsung's De-Bloat Too/APK Installer Develop'd by Me!
Requirements:
CWM Recovery w/ ADB
USB Drivers
Rooted
Phone connected to PC with USB Debugging enabled.
What Does This Tool Do..........?
It Removes Bloatware From Stock Rom! Eg: Samsungs's Unwanted Stuff
#Optional : Install/Batch APK's
Download This Tool Zip Here
Extract It
- Now Edit(Using NotePad++) Debloat.bat
-Go To Line 30 And Edit The "BuddiesNow.apk" name to you're specific one In Rom/Device!
For Eg:
Edit This
Code:
adb shell rm /system/app/BuddiesNow.apk
adb shell rm /system/app/BuddiesNow.odex
To
Code:
adb shell rm /system/app/TWLauncher.apk
adb shell rm /system/app/TWLauncher.odex
-Thats All! Save The File & Run The Debloat.bat By Following Instructions!
How-To USE :
Click On Debloat.bat
Follow On Screen Instructions To Remove !
Reboot Phone When Prompted!
--------------------------------
For APK Installer
Place The Wanted APK's In The same Folder!
-Close The Window To Skip Auto Install!
-Press Continue For Auto Apk Installer
IMPORTANT: -And Make Sure You Reconnect USB Cable Before Pressing Continue!
-Press Continue For Auto Apk Installer
-Done!
It Works On Stock Rom.
It Also Works On Custom Rom If Therez Any Bloat In It! Don't Panic If Therz Some Error Regarding No Such File/Directory.It's coz of absence of specified app in System/app (Bloat-Free)
Now Make You're Own Versions For You're Devices Like HTC,SE etc
The Tool Attached Here(For Ex) Is almost Common For Samsung Devices!
Download Link : http://goo.im/devs/eaglerazor123/Eag-debloat.zip
http://www.mediafire.com/?qhq294rzh3ajll4
Credit Me If You Used This Somewhere
Hit Thanks If You Like ! Donate If You Want To!
Click to expand...
Click to collapse
sorry sir, but for apk installer section, what's used for?
can you explain little bit?
Was actually kind of hoping to use this but the download is no longer there. Has this been abandoned?
You can get it here
http://forum.xda-developers.com/showthread.php?t=1667140
missed out a "/"
There's a small mistake that i noticed. In line 59 of Debloat.bat,
Code:
adb shell rm system/aap/MobilePrint.odex
should probably be
Code:
adb shell rm /system/aap/MobilePrint.odex
.
Btw, great tool, thanks!!!

[TOOL][LINUX] Ezy-Adb - Shell script for the quick install and use of adb on Linux

I made this tool to make adb commands quicker and easier to carry out, as I use adb a fair bit. It's similar to this one but I wanted to include some different functions and put more focus on the hassle free installation of adb on various Linux distributions.
It's a simple script that has the most useful adb commands in a menu format. I also added an adb installation menu which automatically detects what system you have and installs the correct package and it's dependencies. Not every system is supported yet but I'll add more in time.
Code:
[I]I am not responsible for any damages caused by your use of this tool.
Please do some research if you are unsure of anything.[/I]
Features:
Installs adb and configures udev rules.
supports ubuntu, debian, mint, suse, redhat, fedora, centos, elementaryOS, Mageia
Adb over network
Manages files into organised directories
Reboot menu
Pull, push, sideload, shell
Logcats and system dumps
Install and uninstall apps
Unlock bootloaders
Remotely take screenshots and create screen recordings
Full adb backup and restore
More to come
Download Link
{
"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"
}
Instructions:
Extract file anywhere in your home directory
cd to the same directory as ezy-adb.sh
Open a terminal and change permissions with this command:
Code:
$ chmod 755 ezy-adb.sh
Run the script with:
Code:
$ ./ezy-adb.sh
Thanks to @raziel23x. I learned a lot from studying his apktool script.
Enjoy
Changelog
28/09/15
Initial release
29/09/15
Added diagnostic tools sub menu with dumpsys fuctions
merged log and log dump into diagnostic tools
30/09/15
Added option adb over network
Added option uninstall package
04/10/15
Merged reboot functions into a sub menu
10/10/15
v1.3
Script now scans for a connected device before executing commands
Date in (y,m,d,H,M,S) added to screenshot name
y, H,M,S added to date on screen recording name
Bug fixes
Minor ui tweaks
25/11/15
v1.4
Install adb now supports elementaryOS and mageia
Bug fixes
23/12/15
v1.4.1
Fixed derp on adb install
Art Vanderlay said:
I made this tool to make adb commands quicker and easier to carry out, as I use adb a fair bit. It's similar to this one but I wanted to include some different functions and put more focus on the hassle free installation of adb on various Linux distros.
It's a simple script that has the most useful commands in a menu format. I also added an adb installation command which automatically detects what system you have and installs the correct package and it's dependencies. Not every system is supported yet so i'll add more based on feedback.
Features:
Installs adb and configures udev rules.
supports ubuntu, debian, mint, suse, redhat, fedora, centos
Manages files into organised directories
Reboot menu
Pull, push, sideload, shell
Logcats and dump files
Install apk's
Unlock bootloaders
Remotely take screenshots and create screen recordings
Full adb backup and restore
More to come
Instructions:
Extract file anywhere in your home directory
cd to the same directory as ezy-adb.sh
Open a terminal and change permissions with this command:
Code:
$ chmod 755 ezy-adb.sh
Run the script with:
Code:
$ ./ezy-adb.sh
Download Link
ezy-adb.sh.tar.gz
Thanks to @raziel23x. I learned a lot from studying his script.
Enjoy
Click to expand...
Click to collapse
I've always wanted an easy way to install adb and config udev rules on Ubuntu but i just couldn't so i had to switch to BBQLinux. But now i don't have to :laugh: Thank you bro.
kirito9 said:
I've always wanted an easy way to install adb and config udev rules on Ubuntu but i just couldn't so i had to switch to BBQLinux. But now i don't have to :laugh: Thank you bro.
Click to expand...
Click to collapse
No worries Glad to help.
Nice work m8
Thanks buddy :good:
good job man
in this way it will not be necessary to rename screenshots
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > ~/EZY_ADB/ScreenShots/$(date '+%Y%m%d%H%M%S').png
thanks
asmanao said:
good job man
in this way it will not be necessary to rename screenshots
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > ~/EZY_ADB/ScreenShots/$(date '+%Y%m%d%H%M%S').png
thanks
Click to expand...
Click to collapse
Cheers. That'll make things easier
nice job man, thannks! Your tool makes my nerding easier :laugh:
Thanks, bro, It's Really Helpful

tb-debloater, personalised debloating script for lenovo tab devices (tested tb-8504f)

{
"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"
}
this is tb-debloater.
a simple script to free your device of bloatware.
DISCLAIMER
I am not held responsible for any damages that might occur when using this script.
Just because it worked for me doesn't mean it will work for everyone else. Use at your own risk!​What is tb-debloater?
tb-debloater is a well documented script that will easily disable all the bloatware that your Lenovo tablet would come pre-installed with.
Things that you should know before using this script:
This is a personalised script to suit myself (YoMarshMellow).
The script is easily editable to suit your needs.
YoMarshMellow's script uninstalls 36 bloatware applications.
This script only was tested on TB-8504F, could work on other TB models.
Script tested on Android 8.1.0, could work on Android 7.x.x
Root is not required for this script, but a Windows PC is required with ADB drivers installed.
This is a batch script, so it will only work for Windows.
The script has a troubleshooter guide to help you find the solution to the problem if the script fails.
This script has an easy to use UI. Nothing to be confused about here.
I AM NOT RESPONSIBLE FOR ANY DAMAGES THAT MIGHT OCCUR.
Downloads:
tb-debloater: http://www.mediafire.com/file/m8st4vn7px8u101/tb-debloater.zip/file
All the drivers have already been provided for you in the script folder. However you can download from here if it is outdated:
platform-tools: https://developer.android.com/studio/releases/platform-tools
usb-driver: https://developer.android.com/studio/run/win-usb
universal adb drivers: https://adb.clockworkmod.com
How to install the drivers:
Due to a limitation on XDA I cannot list all of the images needed to guide the installation of the drivers.
However, you can visit the troubleshooter.html file located in the base directory of the script folder.
What you need to do to ensure the script will be successful:
Make sure you only have ONE device connected to your PC.
If you are logged into a Lenovo Account, log out.
This is because this uninstalls the Lenovo ID APK and all of it's services, rendering the account infomation on your device useless.
On your device, go to Settings > System > About device > Build number || tap it 7 times until you get a toast message saying "You are now a developer!"
Go to Settings homepage, Settings > System > Developer Options > USB Debugging || turn it on, accept RSA fingerprints if prompted.
Make sure you have ADB drivers and ADB clients in the same folder of this script.
Simply start the batch file by double-clicking it. If a command prompt window opens and then closes straight away then follow the steps below:
1. In File Explorer, go to the folder destination of this script.
2. Press Shift + Right Click in an empty space to open the tools menu, and click on 'Open Command Prompt window here' or 'Open PowerShell window here'
If you have opened Command Prompt (CMD), type in 'tb-debloat.bat' || sit back and relax as the script frees your device of bloatware...
If you have opened Windows PowerShell, type in '.\tb-debloat.bat' || sit back and relax as the script frees your device of bloatware...
NOTE: You will have to accept the RSA fingerprints that will be prompted on your tablet during the process. You cannot continue without pressing OK.
NOTE: If you see any errors on the script, it is likely that the app is not installed on your device at all or your computer has lost connection to your device.
3. After script, go to Settings > Apps & notifications > See all 'xx' apps || check that all the listed apps in script are either disabled, uninstalled or both.
If not, disable/uninstall them.
NOTE: This script only disables the applications due to root limitations. You will need to uninstall some manually after, some can only be disabled.
NOTE: Some system apps may show up as 'Not installed for this user'. Do not ignore this, the application is still enabled, but only for other users. You should disable them.
Visit the troubleshooter.html file if your script has failed.
What you need to know before editing the script:
You must do your research on the package files and check if it is safe to remove before adding them to this list.
For example, adding 'com.android.phone' to this list will cause the tablet for force crash and boot into the recovery menu with a warning.
The only way to get out of this looped error is to factory reset. I learnt this the hard way...
I recommend using Notepad++ but you can use any text editor you want, as long it can read batch files (the stock notepad.exe will work too).
I seriously wouldn't edit or remove any other command other than 'adb shell pm uninstall -k --user 0 <com.package.name>', doing so can render the script useless.
Any command you shouldn't edit will be neatly annotated for you in the batch script.
Commands in the script that you SHOULD NOT edit:
'cd assets'
'disclaimer.vbs'
'adb devices'
'rsa-fingerprint.vbs'
'endscript_msg.vbs'
'troubleshooter.html'
Any other command in the script are perfectly fine to edit. You just have to make sure that the command has to follow the form of 'adb shell pm uninstall -k --user 0 <com.package.name>'
Something went wrong? Device not booting?
Try booting into recovery by making sure the device is turned off and then holding POWER + VOLUME UP until you boot into the recovery screen.
In the recovery menu, navigate to the Wipe data option with the volume buttons, and select with the power button, confirm 'Yes'.
Note: This will revert the script too if you were not rooted in the first place.
Still not working?
If your device's firmware is totally messed up, you can reflash it with Lenovo's LMSA app on Windows, it's easy to use and a lifesaver.
However, you can't downgrade back to Nougat for rooting purposes because it only provides you with the latest firmware.
Download Lenovo LMSA application: https://support.lenovo.com/gb/en/downloads/ds101291
MOD EDIT: CONTENT REMOVED
Per the forum rules, using XDA to promote social media is not allowed:
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
Click to expand...
Click to collapse
Encouraging members to participate in forum activities on other phone related sites is prohibited.
Click to expand...
Click to collapse
Thanks for this!
I commented out the following 2 lines, otherwise I couldn't create new multi-user accounts:
:: adb shell pm uninstall -k --user 0 com.android.wantjoin.settings
:: adb shell pm uninstall -k --user 0 com.android.wantjoin.childmode.ctrl
Also, I re-ran the script for each user account, which worked well. Android user account numbering goes 0, 10, 11, 12 ...
so change every instance of --user 0 to --user 10 or --user 11, etc and re-run the script.
Keep it up man!
Thanks for this wonderful work!!

Root FireTV Launcher Switcher Stick 2 5.2.7.4 , Stick 4k 6.2.7.3 Root

Root FireTV Launcher Switcher Stick 2 5.2.7.4 , Stick 4k 6.2.7.3 Root.
Works with Stick 2 and Stick 4k.
1, Check if you have root.
adb shell
[email protected]:/ $ su
su
[email protected]:/ #
127|[email protected]:/ # exit
exit
127|[email protected]:/ $ exit
exit
2, Install com.markus.firetools.apk and a Laucher of your choice.
adb install com.markus.firetools.apk
adb install launcher*.apk
{
"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"
}
3, Test the installed Launcher ( in this Case Wolf-Launcher )
4, Open my SettingsApp and start Sleep.
5, Allow Root for my Settingsapp
6, Open my SettingsApp and go down to the last 2 Entries.
7,
Entries:
EnableCustomLauncher > activates the Custom Launcher and make a restart
DisableCustomLauncher > deactivates the Custom Launcher and make a restart
AndroidStudio_SourceCode-com.markus.firetools.zip attached, so everyone can see what this app actually does.
I've got root but can't install com.markus.firetools.apk. "The package conflicts with an existing package of the same name" ?
Then you have installed a old Version.
Try to uninstall.
If you have flashed LauncherReplacer.zip you must delete /system/priv-app/Newsettingsroot
I tried 'pm uninstall com.markus.firetools' and got the message 'Failure [DELETE_FAILED_INTERNAL_ERROR]' I used Remote adb shell to do this.
I tried using CX file explorer to delete the 'Fire TV Settings' app but it indicated that I was trying to delete a system app. CX file explorer had superuser privileges granted by Magisk.
Is there another way to uninstall the app ?
Have you flashed my LauncherReplacement.zip ???
try
adb install -r com.markus.firetools.apk
or
adb shell
su
mount -o rw,remount /system
rm -r /system/priv-app/NewSettingsRoot
reboot
AndroidStudio_SourceCode-com.markus.firetools.zip attached 1st Post, so everyone can see what this app actually does.
Not like some other App / Guides , where you don't really know what it does.
I tried the adb -r command and received this message
adb: failed to install com.markus.firetools.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.markus.firetools signatures do not match the previously installed version; ignoring!]
I flashed the zip in TWRP.
fourlans said:
I tried the adb -r command and received this message
adb: failed to install com.markus.firetools.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.markus.firetools signatures do not match the previously installed version; ignoring!]
I flashed the zip in TWRP.
Click to expand...
Click to collapse
If you flashed the Zip , then you dont need the new one.
The Zip also works.
The new zip worked. Thanks for all your efforts and swift response to my queries.
Great work thanks. Out of interest is there any way for me to change the firetools order / possibility you may change it?
For 1 reason or another I need to use reboot more than most of the menu it would be nice if it was either the first option or just below sleep instead of right down the bottom.
I know I can press and hot select and play for 5 seconds but this would be a nice alternative option.
Thanks
dougie175 said:
Great work thanks. Out of interest is there any way for me to change the firetools order / possibility you may change it?
For 1 reason or another I need to use reboot more than most of the menu it would be nice if it was either the first option or just below sleep instead of right down the bottom.
I know I can press and hot select and play for 5 seconds but this would be a nice alternative option.
Thanks
Click to expand...
Click to collapse
Special Version Reboot First Entry and Launcher Icon for Reboot.
0815hoffi said:
Special Version Reboot First Entry and Launcher Icon for Reboot.
Click to expand...
Click to collapse
Wow that's amazing. Thank you that is genuinely appreciated
I have root but when I change to enable custom launcher it reboots but it's still on the stock amazon launcher .I have granted full rights to magisk and it is enable in its settings .
Try
adb shell
su
pm disable com.amazon.firehomestarter
pm disable com.amazon.tv.launcher
Version 1.1 for Test.
With and Without Launcher Icons.
Can confirm this works great! I have one problem only, the Settings App sometimes doesn't open the setting I've selected the first time, it just closes itself, but the settings menu doesn't open. When this happens, I have to pick the setting multiple times/try opening other settings and it fixes itself in a few tries.
0815hoffi said:
Version 1.1 for Test.
With and Without Launcher Icons.
Click to expand...
Click to collapse
I'm currently on 1.0, could 1.1 potentially have a fix for this?
I'm on 2nd gen stick, version 5.2.7.3 rooted, btw.
Try this Version 1.2
But this has no launcher toogle and no system Settings link, you must use the Launcher Icon.
( i Think one of this option makes the Problem maybe )
I no more have an 2nd Gen Stick.
Currently i test a FireTV Stick lite.
Without root i can Switch the Launcher and access the important System Settings with a Simple App.
Launcher can be disable with 2 ADB commands.
0815hoffi said:
I no more have an 2nd Gen Stick.
Currently i test a FireTV Stick lite.
Without root i can Switch the Launcher and access the important System Settings with a Simple App.
Launcher can be disable with 2 ADB commands.
Click to expand...
Click to collapse
Which app do you use now? I have 4k stick. Will it work with thism
kevev said:
Which app do you use now? I have 4k stick. Will it work with thism
Click to expand...
Click to collapse
Works on FireTV Stick Lite.
Not tested on 4k but you can try it.
adb install -r ca.dstudio.atvlauncher.apk
Or launcher off your choice
adb install -r com.markus.firetoolsNoroot.apk
This create the settings shortcuts
adb shell "pm disable-user --user 0 com.amazon.tv.launcher"
wait 5 seconds
adb shell "pm disable-user --user 0 com.amazon.firehomestarter"
Press home button.
To restore Amazon Launcher if not work.
adb shell "pm list packages -d"
wait.exe 3
adb shell "pm enable com.amazon.firehomestarter"
wait.exe 3
adb shell "pm enable com.amazon.tv.launcher"

Categories

Resources