Install Google Apps from another Device - Fire General

Purpose
This guide is for anyone that does not want to trust downloaded APKs from someone else's guide. This guide is intended to walk you through the process of exporting the necessary android package files (APK) from a device you already trust with your Google credentials.
Requirements
- Android Development bridge. (ADB)
- An android device with working Google apps
- MyAppSharer and OI File Manager installed on Android Device
- Kindle Fire ADB drivers installed on PC
- APKs
- com.google.android.gms.apk
- com.google.android.gm.apk
- GoogleLoginService.apk
- GoogleServicesFramework.apk
- com.android.vending.apk
- Optional
- org.openintents.filemanager.apk
- com.lastpass.lpandroid
Notes
I tried this with APKs from a Galaxy Note 4 running Android 5.0.1. This failed to install GoogleServicesFramework with the error of `INSTALL_FAILED_DEXOPT`. I feel that this Fire OS is based on an older android version, that will require older APKs.
The devices used for examples in this guide:
- VZ Droid Razr HD running Android 4.4.2
- Kindle Fire 7 (2015 Edition) Running Fire OS 5.1.1
Assumptions
- Android SDK tools is installed on a Windows 7 PC
- The source of the Google APK's is guide is called the Android Device
- Your target Kindle Fire is not rooted and freshly wiped.
- That you know what APKs are and what they are used for.
- That your computer is already setup to talk to your Android device for file transfer.
- the ADB command is accessible from the command line. ie. `\Program Files (x86)\Android\android-sdk\platform-tools\` in your PATH.
- You will allow the Play store to update any components it deems necessary.
- ADB drivers for Kindle-Fire are working on your PC and USB debugging is already turned on.
- Fire OS 5.1.1
Directions
1. Create a directory on the Android Device in Download called PlayApps.
2. open MyAppSharer on the Android Device and type near the magnifying glass. This should filter the list.
note: "Ensure that the switch is on APK and not Link.
3. Select the Google Play Store and Google Play Services apps. Then Tap the < share button.
{
"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"
}
4. Tap the Export to SD card button.
5. Scroll to Find your Download directory
6. Tap on your PlayApps Directory.
7. Then tap the OK button.
8. Repeat the above five steps for Gmail.
9. Open OI File manager on the Android device and tap the House icon.
10. Tap the system directory. Note: that some devices may have a .system (dot system) directory. This is not the directory you are looking for.
11. Tap the Priv-App Directory. Note: Some devices put all the system apps in their own directories here, others do not.
12. Scroll and look for GoogleServicesFramework.apk or GoogleServicesFramework directory.
13. Long press on GoogleLoginService.apk.
14. Scroll down and tap on GoogleServicesFramework.apk. Note: this should select both of them.
15. Tap the Hamburger menu, then tap copy. Note: that the bottom of the screen will read 1 item to copy.
16. Tap the House button again.
17. Scroll, find and tap on the sdcard directory.
18. Scroll, find and tap on the Downloads directory.
19. Scroll, find and tap on the PlayApps directory.
20. Tap on the Clipboard icon. This will paste the app here.
21. You should now have five apk files in your PlayApps directory.
22. Using a USB cable, connect your android device to your PC.
23. Copy the PlayApps directory to your desktop.
24. Unplug the android device and plug in your kindle file.
25. Copy the PlayApps directory to the kindle
26. Launch a command prompt. use `CD` to change directory to the PlayApps directory on your PC.
27. Type the command adb devices. Note: If you receive a pop-up on the kindle called Allow USB debugging?, check the box for Allows allow, and tap OK.
28. Type the following commands.
adb install com.google.android.gms.apk
adb install GoogleLoginService.apk
adb install GoogleServicesFramework.apk
adb install com.android.vending.apk
adb install com.google.android.gm.apk
adb reboot
31. Login with your google credentials.
note: I also copy the APK for lastpass.
Resources
Kindle Fire Drivers - This guide is slightly outdated.
You only need to Select the Kindle USB driver from the extra Category. you can ignore the other items that it shows you to select.
https://developer.amazon.com/public...ing-up-the-ADB-Driver-for-Kindle-Fire-Devices
http://forum.xda-developers.com/showthread.php?t=1349902
http://forum.xda-developers.com/ama...google-framework-playstore-t3216122?nocache=1
USB Debugging
- SEttings > Device Options > Tap Serial Number 10 Times.
- Tap Developer options.
- Tap Enable ADB.
- Restart Kindle
- Force windows device manager to accept new driver.

Reserved

Works like a charm, thank you!
Am i able to remove all the apk´s in case of using warranty? How to do it?
Greetings

Yes. I personally wipe devices before warranty repair. They'll be gone after that. It will keep adb debugging turned on.
Sent from my SM-N910V using Tapatalk

Related

Installing Amazon apps

1.Make an account for Amazon; you'll need to put a credit card into the account and have to turn on 1 Click
2.You'll well need to download: Download All Files from Android Market Place
{
"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.Download Android SDK
and extract it the C drive.
4.Download HTC Sync
and switch connection type to HTC Sync doesn't matter if it fails
5. copy the amazon appstore.apk to the tools folder. (C:\sdk\tools). DO NOT rename the files.
6. Open up a command prompt on your PC (In windows it's start, run, cmd) and change to the tools directory.
cd\
cd sdk\tools
After you change to that directory the prompt should say: c:\sdk\tools.
(if you don't want to keep doing this then Create a shortcut for CMD.exe on your desktop. Right click the CMD.exe shortcut and go to Properties.
In the Start in: bar, type in the directory C:\sdk\tools)
7. Type adb devices to verify that your computer can see the phone. If everything is working you should get a response that looks something like this:
List of devices attached
HTxxxxxxxxx device
8. Once you verify that the computer and phone are connected type the following:
adb install nameofapp.apk (obviously changing the nameofapp part to whatever the file is named). should say success when its finish
9. Now open the amazon app and sign in, download any free app like Angry Birds Rio when its finished it will prompt you if you want to use installer or download all files choose download all files the apk will be downloaded to sdcard( if you get an error then go to amazon and purchase the app you want through there and open the amazon app on your phone while signed in to start download)
10 Switch the connection type to disk drive and look for the apk in the download folder and do same as Step 5,and 8 but before that switch the connection type to HTC Sync once again.
11.When its finish checked if it worked and you should be finish
By the way I don't claim the third party installation I just took a combination of things
Did I do Something Wrong??
Thanks for this detailed instruction on installing amazon app store.
Did I do something wrong when I installed amazon app store by inputting my phone number on the amazon app store web site??
I already had an amazon account, so i inputted my phone number on the web site page and the app downloaded to my phone and installed without a hitch, no problems.
robohh said:
Thanks for this detailed instruction on installing amazon app store.
Did I do something wrong when I installed amazon app store by inputting my phone number on the amazon app store web site??
I already had an amazon account, so i inputted my phone number on the web site page and the app downloaded to my phone and installed without a hitch, no problems.
Click to expand...
Click to collapse
you didnt do anything wrong. Thats how I did it too.
I just used the directions from the link below and used the 2d bar code on the top right to download the amazon app store.
It was a lot simpler to do then the directions provided in the first post
Code:
www*amazon*com/gp/feature.html?ie=UTF8&docId=1000626391
You will have to replace the * with a . if you copy and paste the contents of the code box
You all have rooted phones with the ability to use non-Market apps enabled, so of course Amazon Appstore will work naturally for you. This guide is intended for those using stock Arias that can't install .apk files directly on the phone because the ability to install apps from "Unknown sources" is disabled.
I have a rooted Aria and I still can't use it. I downloaded it without a problem, downloaded the free Angry Birds Rio app, and haven't been able to get it to work since then. Every time I open the Amazon app market app on my phone, it crashes. Dunno what the problem is.
Hm, nevermind. Just tried uninstalling and reinstalling the store app. Seems to be working now. We'll see how it goes this time!
Yup, this works on a stock Aria running 2.2. Did it on two seperate phones, and it works like a charm.
Tried another way to install amazon apps today and found it much easier.
Requirements: Amazon App Store, Android Injector, USB cable
1. Purchase or download app from amazon app store (personally did this with todays app of the day). Once downloaded, a pop up will notify you that it couldn't be installed because of the unknown source.
2. Connect your phone to your PC as a Disk Drive and turn on USB Debugging (Settings, Applications, Development)
3. Locate the .apk file at G:\Android\data\com.amazon.venezia\cache (replace G with the correct drive title for you)
4. Copy the .apk to your desktop or somewhere easy to find
5. Open Android Injector, select the .apk file on your desktop, install.

How to solve/fix bricked kindle fire,(solve the stuck on logo) and install adb

How do I install the ADB drivers?
• By far, the easiest and best method of installing ADB drivers on a Windows OS based machine is to use the installer provided in the Kindle Fire Utility distribution.
• Find the latest version and download it to your computer or download this
http://www.mediafire.com/download/pezst5gbwmke4yt/KindleDrivers.exe
• You can extract the files to any place on your hard drive
• Open up the folder and you'll see an "install_drivers.bat" file among the contents. Windows may hide the ".bat" portion of the name, so it might just look like "install_drivers" in the folder. Disconnect the Kindle Fire from the computer (highly recommended) and then run the "install_drivers.bat" batch file. The installer will automatically check for the OS type (32 or 64 bit), and then install the appropriate drivers and configuration files.
• Don't worry too much about Windows not being able to verify the publisher of the drivers. The warning is there because the drivers have been repackaged for use in KFU and have not been signed. It's OK to just install the driver software anyway. If Windows refuses to install unsigned drivers, that feature must be disabled before continuing. The process differs for various Windows releases, so search Google and find a suitable method for your system.
(Eg-Wind8 -http://www.makeuseof.com/tag/how-can-i-install-hardware-with-unsigned-drivers-in-windows-8/
How can I verify the drivers are loading?
The Windows Device Manager is the key to determining the status of all the computer's devices and drivers. Right click on the "Computer" wherever you can find it (the Start menu, the Windows Explorer, etc.), select "Manage" from the menu and the "Computer Management" program will start up. From the left panel, select "Device Manager" in the "System Tools" category and the large pane in the middle will show a list of device types. Click on the triangle (or plus sign) next to a device type and a list will expand to show all the devices of that particular type.
Now, connect the Kindle Fire to the computer and keep an eye on the device list. Windows will give some device detection beeps and the list will refresh.
{
"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"
}
Before getting into the meaning of the table above, a small detail must first be covered. For adb to interact with the Kindle Fire, it must first have the "USB debugging" feature enabled. Without this feature, Windows will not even attempt to load the appropriate driver. The stock Kindle Fire software has this feature turned on at all times, but other ROMs must have "Settings -> Applications -> Development -> USB debugging" enabled. The rest of this document assumes normal mode has USB debugging enabled.
What can I do if the drivers won't load?
Windows can be very temperamental when it comes to device drivers. Don't assume the worst right away, but try rebooting the computer, disconnecting/reconnecting the device, and restarting the device in both modes. Fastboot in particular sometimes won't get detected by Windows on the first try and may require a reboot of the Kindle Fire.
If the Kindle Fire comes up as a different device or you get a "Code 10" error, you'll have to explicitly tell Windows what driver you expect to see for the device. The steps below are for Windows 7, but they should be very similar for earlier versions of Windows as well. The following may have to be performed twice, once for normal mode and again for fast boot mode. The steps below are listed for normal mode (and the fast boot equivalent in parentheses). Be sure to have tried installing the drivers using the batch file at least once or you will not be able to complete the process.
• Install this before this just in case.Connect the Kindle Fire in normal mode (fast boot mode) to the computer
• In the Device Manager, right click on the device and select "Uninstall"
• Check the "Delete the driver software for this device." box and press "OK"
• Disconnect the Kindle Fire, reconnect and reboot in normal mode (fast boot mode)
• The Device Manager should show "Other devices -> Kindle" ("Other devices -> kindle")
• Right click on "Kindle" ("kindle") and select "Update Driver Software..."
• Select "Browse my computer for driver software"
• Do not click the "Next" button, but select "Let me pick from a list of device drivers on my computer"
• Select "kindle" and then press the "Next" button
• Press the "Have Disk..." button
• Click the "Browse..." button, point it to the "C:\kfu\drivers\kindle" directory and press"Open"
• Press the "OK" button
• Uncheck the "Show compatible hardware" checkbox
• Select "Android Composite ADB Interface" ("Android ADB Interface") and press the "Next" button
• Select "Install this driver software anyway"
• Press the "Close" button
The device should now appear in the Device Manager.
(Source- http://ezkindle.blogspot.com/2013/04/how-to-unbrick-install-adb-verify.html )
How to use KFU after this?
• Open the “run” batch file
• Select 2 and hit enter
• Allow to install
• If an error appears……..eg-'Activating Fastboot (4002) then hard reset the kindle fire and repeat the above steps
voilà you have a rooted kindle fire:good:
Installing android store
• Install root explorer from your device
http://www.mediafire.com/download/pezst5gbwmke4yt/KindleDrivers.exe
• Then Follow instructions on video http://www.youtube.com/watch?v=rTkegVrnAvA

[ROOT][SuperSU] I8200N Working!

I'M NOT RESPONSIBLE IF ANTHING GOES WRONG USING THIS METHOD!!! IT'S ONLY ONE THAT WORKED FOR ME, SO I'M JUST SHARING IT FROM MY EXPERIENCE! USE AT YOUR OWN RISK!!!
Hi everyone!
So, i was looking for root my new I8200N. Only way to do it is with VRoot/iRoot chinese application, but it installs Kinguser instead of SuperSu or Superuser. In my experience it's like half root coz many apps doesn't fully work with it. I tried everything i could find but nothing worked. I finally found solution so if you have troubles, here we go:
All requirements in attachment, just unrar it!
1. Install SAMSUNG USB Drivers (Recommended reboot!)
2. On AD (Android Device) go to | Settings > More > About | then press about 10 times on version number to unlock developer features. See at screenshot.
Then go back and enter developer settings. Check USB debugging, OK.
{
"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. Connect your AD with USB to PC and finish driver installation if needed in Device Manager.
4. Install VRoot and open it
Between this two, mobile will ask something with long address. Just check remember for this PC or something like that and Allow/OK.. And for white windows, go to Deny or something like that. It's something about Google Play...
On PC press "Root" when becomes available.
Just wait a minute and phone will reboot and it should be rooted. It should be like this:
Optional: You can delete chinese apps that comes installed, you just need "Kinguser".
5. Settings > More > Security | check "Unknown Sources" and OK.
6. Copy Lucky Patcher to AD and install it. Open it and when Kinguser ask for permission, go to Allow. Update if available.
7. In Lucky Patcher go to | Toolbox > Patch to Android > Check:
- Signature Verification status always True
- Disable .apk Signature Verification
- Disable Signature verification in the package manager
Apply
AD will reboot, if not then reboot after it finished.
8. Copy "kinguser.apk" from attachment to AD and install it. Open it and when asks you for update, CANCEL it!
9. Unrar "mrw" from attachment and whole folder copy to AD. I found easier paste it in device than SDcard coz of address we'll gonna need later.
10. Install Terminal from Google Play. https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
11. Open Terminal, type "su" (without quotes) and press enter. When promted for root access, Authorize/Allow it.
12. Now type "sh /storage/emulated/0/mrw/root.sh" (Without quotes). I pasted mrw folder in root of AD, so address is like that one in quotes. You can put it somewhere else, just type correct address. Then press enter. If any error or something comes up, just go for OK or what ever you got and don't worry it's normal. After few seconds, you will be promted for root access from SuperSU, Allow it!
Phone will reboot. Update SuperSU binary and app if needed.
Congratz! You are rooted with SuperSU!
I successfully rooted 2 devices with this method.
Happy rooting!
Just to highlight issues with this, vroot will install apps on your pc without you knowing even after uninstalling.
Also you can completely remove kingroot and replace with supersu by using another mod found on this forum.
You will need an app to mount system as read writable on boot. See the playstore.
Sent from a stolen phone!
That was the only way i could found that really works for me. Days i've been searching for root and this is only i could get working.

[Guide] How to create/restore a full backup of your phone to your PC [Root Required]

Note to staff: I'm new to XDA, so I'm sorry if this guide is posted in the wrong place or if it's inadequate. Please PM me if there are problems with it.
Note to users: I am NOT responsible if the restore process damages your phone. You are doing this at your own risk. Be sure to follow the steps carefully.
In this guide, I will share the best method of backing up your phone to your PC.
Recently I flashed a stock firmware on my SM-J730F and debloated it. Somehow I managed to soft-brick the device after a few weeks and I had to re-flash the firmware, and debloat it all over again. I found out a good method of backing up my entire phone so that I don't have to do that again. I will share that method with you guys.
This works with any phone, not just the J7.
Requirements:
1. Any phone
2. PC
3. An USB cable
4. ADB - Download Here
5. Root Access - Guide on how to root SM-J730F here || Other Phones - If your device is rooted, continue. If not, please leave.
6. FlashFire App - Install Here
Instructions:
1. Have your USB cable near you;
2. Download FlashFire from the link above;
3. Enable USB Debugging from Settings -> Developer Options;
4. Download the ADB from the link above, and extract everything inside the archive to C:\ADB (create a new folder);
5. Connect your USB cable from your phone to your PC - if you get an access request on your phone from your PC's fingerprint, accept it;
6. Open a Command Prompt and type: cd C:\ADB
7. Type adb devices in the command prompt to confirm that it detects your phone; you should get something like this:
{
"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"
}
8. Now open FlashFire on your phone and grant it root access;
9. Tap on the plus sign and tap on Backup:
10. Select Full - All Partitions:
11. On this screen, DO NOT select the partitions that have "(protected bootloader partition)" or "(protected partition)" under them; they might cause the restore process to be unstable:
(TIP: There are more partitions if you scroll down on the list of partitions. Just be careful not to select the protected one. Everything else, select.)
12. After that tap on the V button at the top right of the window, and now just scroll to the bottom of the page and tap on FLASH:
13. Your phone is going to reboot now. DO NOT intrerrupt this process, and DO NOT disconnect the USB cable.
14. Once your phone has rebooted, a list of files will start to load, and you will see FlashFire at the top of the screen. On the bottom, the last line should be this:
Start: adb backup go -f filename.zip
This means that FlashFire is waiting for your input from the Command Prompt on your PC.
15. If you see that line, then go on your PC, go into the Command Prompt and type the following command to start the backup process:
adb backup go -f backup.zip
16. Press Enter and the backup process will start on your phone. Wait until it is complete. Your phone will reboot when it's done.
And that's it!
You should have a Backup.zip file in your C:/ADB folder. The size of the file depends on how much data you have on your phone.
Congrats; You have created a full backup of your phone.
Below is a tutorial on how to restore the backup that you have just created.
1. Open ADB on your PC and verify if your device is detected, as I've explained above;
2. Open FlashFire, tap on the plus sign and tap on Restore:
3. On the window that opened select Restore from ADB:
4. Select all the partitions (except the protected partitions) (there are more if you scroll down), and then tap on the V sign at the top right:
5. Tap on the FLASH button and wait for your phone to reboot:
6. Once it's rebooted to that screen with two lines, you should see something like this:
7. Now type the following command into the Command Prompt on your PC:
adb push backup.zip /restore
8. Press Enter and wait for the restore process to finish. Your phone will reboot and hopefully everything is how it should have been when you backed up the phone.
And that's it! You're done restoring the backup.
I hope this guide has helped you; if it did hit the "Thanks!" button at the bottom right of this post, more guides about rooting the J7 and unbricking it available now..
And again, this is my first legit post on this site, so I'm sorry if something is wrong. Please leave constructive criticism, and don't be immature if you have a problem. Thanks
I tried backing my phone up and after step #13, nothing happened? Help please? It just rebooted.
hello i want to know that can i backup my phone (only rom and its update) without root if yes pls tell me...

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!!

Categories

Resources