Related
Here you go! Ripped straight from my article: How To: Remove AT&T From Captivate.
Instructions
WARNING: I am not responsible for any bricked, messed up, ruined devices. You modify your phone at your own risk. These processes are not necessarily safe for your Samsung Captivate or any other device.
Root the Samsung Captivate
First things first. You’ll need to root your device to continue with many of the modifications listed below. For our “How to Root the Samsung Captivate” guide, click here. It’s very very easy. Even a total noobie can do it! If you have questions, post a comment and we’ll get back to you A.S.A.P. Look below if you get the idea, check out our “How to Root the Samsung Captivate” guide if you don’t.
Download Update.zip
Plug in your Captivate to your computer. When the phone notifies you that the USB has been plugged in, scroll down your notifications bar and click on “USB connected: Select to copy files to/from your computer.”
Click “Mount”
Now, you’ll probably see a popup telling you a new USB drive has been inserted, open it up on your computer. In Windows, click “Open folder to view files.”
Drag Update.zip into the Captivate USB drive (on the top level… do not navigate into folders)
Turn off the Captivate (Power Off)
Hold down the Volume Up/Down rocker and the power button until you see some action. Your phone is now booting into recovery.
Use the volume down button to scroll down to “Reinstall packages”
Click the power button to select that option
Enable App Sideloading
AT&T has some weird reservations against app sideloading. That means, AT&T Android users can not use any apps not downloaded on the Android Market. Have no fear! You can remove this restriction easily. Check below for the basic instructions, or click to go to our “Enable Captivate App Sideloading” guide.
BusyBox Installed
Samsung Captivate with root
SQL Database Manager
We suggest trying the SQLite plugin for Firefox, you can find it here.
Turn on USB debugging: Settings >> Applications >> Development
Plug in your Samsung Captivate
Open up Command Prompt on your computer (Windows: start, search, type “cmd”, right click cmd, Run as Administrator)
Type in: cd _____PATH TO ANDROID SDK FOLDER______\tools
Example: cd C:\Users\USERNAME\Desktop\android-sdk-windows\tools
Type in: adb shell
Type in: su
Type in: cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db
Type in: cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db.backup
Type in: exit
Type in: exit
Type in: adb pull /sdcard/settings.db %userprofile%\desktop
Leave Command Prompt open
Open SQLite Manager in Firefox by pressing Tools >> SQLite Manager
Click “Database”
Then click “Connect Database”
Navigate to “settings.db” on your Desktop
Expand the tables
Click “Secure” on the panel
Scroll down to ID 6, “install_non_market_apps”
Double click it and change “value” from 0 to 1.
Close SQLite Manager
Go back to the command prompt window, type in: adb push %userprofile%\desktop\settings.db /sdcard
Type in: adb shell
Type in: su
Type in: cp /sdcard/settings.db /dbdata/databases/com.android.providers.settings
Type in: chmod 777 /dbdata/databases/com.android.providers.settings/settings.db
Type in: reboot
Disconnect your Captivate from your computer while your phone reboots.
Remove AT&T Bloatware Apps
Must have root and BusyBox installed before performing this process!
Open up Android Market and search/download “Titanium Backup”
Make sure your phone is not “Mounted” with USB
Open Titanium Backup
Press the Backup/Restore button
Click on each app and press un-install if you’d like to get rid of it. Do not delete apps off of this list, unless you know it is safe! This deletes these potentially forever… so be sure about things!
Delete-able:
AT&T Navigator
AT&T Radio
AT&T Maps
AT&T Music
AT&T Mobile Hotspots
Mobile Banking
Mobile Video
Where
YPmobile
AT&T FamilyMap
Mini Diary
MobiTV
Write and Go
Remove AT&T Market Restrictions
Market restrictions? What? You mean AT&T really censors what apps I can and cannot see on my Samsung Captivate? Yes they do. But, no problem. Android developer Andrea Baccega has developed an app called "Market Enabler" to remove the censorship by emulating the T-Mobile market on the Samsung Captivate as well as other devices. Instructions below if you've already got root access:
Download “Market Access” and install the latest version of the APK file on your Captivate.
Don't know how to install .apk files? Copy the file to your phone and then install "Apps Installer" or "Astro File Manager" from the market. It's easy! Just double click the .apk when you find it!
Close the Market down fully. If you were running the Market previously, reset the phone so it is not a running task. Or use a task killer and end the Market app.
Open up the Market Access application and go to "Backup value" in case you need to get back to the AT&T market
Then click "Providers" and find: "T-Mobile [US]"
Click and hold that option until it says "Emulate "T-Mobile" SIM?" -- click "Yes" there
You may have to Allow Market Access in Superuser Permissions
Click back to "Settings" click the checkbox next to "Emulate on boot"
All done. Now your Market is uncensored.
Remove AT&T and/or Samsung Logos on the Device
Not quite yet! Check back later. We are working with some chemistry-experts to see if we can dissolve those logos. Have you seen how sexy the Captivate is without logos? Click here to check out the video.
Credits
Big thanks to the XDA-Developers forum users for all their hard work on posting Captivate guides. User: nbs11 – bloatware removal. User: clubtech – market censorship removal application. User: blackjackboy – original root guide. User: kirbo20 – app sideloading.
Thank you for compiling all this in a FAQ WT fasion.
Sent from my AOSP on XDANDROID MSM using XDA App
got everything to work... except the Swoosh
Ok heres is what happened. I started on this whole guide and got hung up somewhere in the middle. I had to use Root Manager and SQLite Editor. Got everything but the AT&T Boot Swoosh sound off. I realize that this is not the exact post for the swoosh sound, but here goes. whenever im using the /sdcard command at the end of my command, it will say that this is a read only file system. it was writing to the sd card at one point, then somehow stopped. Any suggestions on how to fix this?
ThePatient said:
Ok heres is what happened. I started on this whole guide and got hung up somewhere in the middle. I had to use Root Manager and SQLite Editor. Got everything but the AT&T Boot Swoosh sound off. I realize that this is not the exact post for the swoosh sound, but here goes. whenever im using the /sdcard command at the end of my command, it will say that this is a read only file system. it was writing to the sd card at one point, then somehow stopped. Any suggestions on how to fix this?
Click to expand...
Click to collapse
you can either delete it from system/etc/PowerOn.wav
or you can install silent boot
http://www.androlib.com/android.application.com-antweb-silentboot-BnqC.aspx
Anyone try to remove the AT&T Address Book app yet?
I remember seeing this....and would be incredibly happy if this was possible!
kennethpenn said:
Not quite yet! Check back later. We are working with some chemistry-experts to see if we can dissolve those logos. Have you seen how sexy the Captivate is without logos? Click here to check out the video.
Credits
Click to expand...
Click to collapse
Great write up, still hoping we can remove that logo
decepticon said:
Great write up, still hoping we can remove that logo
Click to expand...
Click to collapse
Now only if I can remove the AT&T logo from the front of my phones screen at the top!
22 steps to enable sideloading, and you are still using a gui editor, this can be done in 8 steps shown here on xda-developers:
/showpost.php?p=7267391&postcount=1
Also, to remove the at&t/samsung boot animation you can delete (or rename) the file /system/media/bootsamsung.qmg however this leaves the at&t white "world phone" screen on longer and then a black screen for the rest of the boot process. Haven't found anything that will edit the .qmg file (which was used on the samsung moment and the galaxy spica as well), also placing a bootanimation.zip in this folder after removing the bootsamsung.qmg does not work(although it does on the samsung moment).
not sure how i'm still a new user and can't link websites when I've been a member since 2008...
shad0wf0x said:
22 steps to enable sideloading, and you are still using a gui editor, this can be done in 8 steps shown here on xda-developers:
/showpost.php?p=7267391&postcount=1
Also, to remove the at&t/samsung boot animation you can delete (or rename) the file /system/media/bootsamsung.qmg however this leaves the at&t white "world phone" screen on longer and then a black screen for the rest of the boot process. Haven't found anything that will edit the .qmg file (which was used on the samsung moment and the galaxy spica as well), also placing a bootanimation.zip in this folder after removing the bootsamsung.qmg does not work(although it does on the samsung moment).
not sure how i'm still a new user and can't link websites when I've been a member since 2008...
Click to expand...
Click to collapse
It's just very detailed. Takes like five minutes to do...
Nice job kenneth. If I were you id take a look at the guide I wrote on the subject in general. Nb added stuff and did edits. Feel free to use the info there to simplify your own guide.
Sent from my Samsung Captivate using XDA app
You didn't really explain how to uninstall the AT&T applications. How is this done?
raid0422 said:
You didn't really explain how to uninstall the AT&T applications. How is this done?
Click to expand...
Click to collapse
Open Titanium Backup
Press the Backup/Restore button
Click on each app and press un-install if you’d like to get rid of it. Do not delete apps off of this list, unless you know it is safe! This deletes these potentially forever… so be sure about things!
Delete-able:
AT&T Navigator
AT&T Radio
AT&T Maps
AT&T Music
AT&T Mobile Hotspots
Mobile Banking
Mobile Video
Where
YPmobile
AT&T FamilyMap
Mini Diary
MobiTV
Write and Go
Does this mean that Titanium Backup is what you use to uninstall software? I looked at the description of it and it just said it was for creating a backup image.
OK, yeah it is. I just used it to uninstall everything.
Yes Titanium Backup can be used. I've updated the post to make things clearer... thanks for your feedback!
Sent from my Samsung Captivate using XDA app
Here is the stock Galaxy S startup animation and sound to get rid of the AT&T antenna animation and swish sound.
Thanks to emclondon in the Galaxy S forums for the upload.
Cool.. I will definitely refer to this thread when I get my captivate
when I type su it gets me permission denied...any ideas?
raid0422 said:
OK, yeah it is. I just used it to uninstall everything.
Click to expand...
Click to collapse
How?
Instructions:
Open Titanium Backup
Press the Backup/Restore button
Click on each app and press un-install if you’d like to get rid of it
OK after Pressing Backup/Restore there are only 5 options in the list (apparently for backing up)
Accounts
Applications Widgets
Bluetooth Pairings
Country, Language, Time zone
Wi-Fi Access Points
Where are the applications listed to uninstall?
Although HTC 10 comes with less bloat than most other phones, it still has apps preinstalled that some of us probably will never use.
Some of those apps may even run at boot and consume RAM and CPU. For this purpose I made a small script that will remove those apps instead of doing it manually via ADB Shell.
This script is for Mac/OS X/macOS. I think it can also run on Linux but I'm not sure because I don't use Linux much.
For Windows, it can easily be ported to command line. If someone is willing to do it, PM me the script and I will add it to the repo.
Apps that the script removes:
Boost+
Google+ Sense Add-on
Instagram (placeholder app)
LinkedIn Sense Add-on
HTC Mail
Facebook (placeholder app)
Messenger (placeholder app)
News Republic
TouchPal Keyboard (SEE NOTE!)
Twitter Sense Add-on
Voice Recorder
Zoe
HTC Help
IceView Case support
HTC Speak
Transfer my stuff
Google Hangouts
Google Play Music
Basically what the script does:
Mount /system as RW
Delete above apps .apk and containing folder
Reboot after done.
DISCLAIMER: Although I don't see what could possibly go wrong by flashing this script, be sure to back up your ROM before flashing as I don't take any responsibility caused by this script. I have tested it on my HTC 10 and I didn't have any issues.
IMPORTANT NOTE: If you plan to remove TouchPal keyboard, make sure that you have an alternative already installed before or you won't be able to type any text. In case you're reading this after you already screwed up, download your prefered keyboards .apk file and install it via ADB. The script will stop before removing the keyboard and ask if you are sure you want to remove it.
How to:
Enable USB debugging
Connect your phone
Execute "adb shell" and then "su" and grant superuser access to adb shell
(OS X) make script executable (chmod a+x)
Run script
I am open for suggestions and merge requests, happy debloating
The script can be found HERE.
Hoping someone works on the windows version cause i suppose totally run this.
Thanks for sharing
Sent from my HTC 10 using XDA-Developers mobile app
All this can be manually removed simply by hitting uninstall with root access right? Not knocking the script, just asking honestly.
Sent from my SM-G900V using Tapatalk
Just double checking, but I take it that root is required?
Milano_II said:
All this can be manually removed simply by hitting uninstall with root access right? Not knocking the script, just asking honestly.
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
Ive tried some apps for removal of system apps but it didn't work. And since I play around with ROMs reinstalling and uninstalling app by app takes just to much time.
Milamber said:
Just double checking, but I take it that root is required?
Click to expand...
Click to collapse
Yes, you need root because you need to remove apps from the read-only /system partition.
Got it. Thanks for the reply. I haven't had an htc phone since gingerbread and I mostly had Samsungs on Verizon so I never bothered rooting. I didn't get my 10 yet but I hope to root right away and get rid of things I think are bloat. Probably gonna need this script I guess we'll see. Thanks again!
Sent from my SM-G900V using Tapatalk
very nice, quick and easy one step to uninstall the stuff that is safe to, thank you!
razrlover said:
Hoping someone works on the windows version cause i suppose totally run this.
Thanks for sharing
Click to expand...
Click to collapse
if you like i can take a crack at it, simple batch script should work almost out of the box as long as you have adb set up
ibrokemypie said:
if you like i can take a crack at it, simple batch script should work almost out of the box as long as you have adb set up
Click to expand...
Click to collapse
will you make it for windows please?
@gillim74 @razrlover @dj_chapz
I have made a working copy for windows and added it to a fork of the gitlab repo here: https://github.com/ibrokemypie/htc_10_pme_debloat/blob/master/htc10_bloat_remover.cmd
I will maintain this as long as @dj_chapz does and will pull in any changes he makes.
I usually make changes after a firmware update if I notice any new bloat, but there shouldnt be much changes.
Also, this list is by personal preference, because some apps that I choose to leave others may want to remove or vice versa, so everyone should take the script as a base and edit to their likeing.
ibrokemypie said:
@gillim74 @razrlover @dj_chapz
I have made a working copy for windows and added it to a fork of the gitlab repo here: https://github.com/ibrokemypie/htc_10_pme_debloat/blob/master/htc10_bloat_remover.cmd
I will maintain this as long as @dj_chapz does and will pull in any changes he makes.
Click to expand...
Click to collapse
After running this (windows), and going into Settings > Apps, I get a Loading screen that never ends. Same thing in Titanium backup when it tries to build a db of the installed apps.
typhoonikan said:
After running this (windows), and going into Settings > Apps, I get a Loading screen that never ends. Same thing in Titanium backup when it tries to build a db of the installed apps.
Click to expand...
Click to collapse
which update are you running? still marshmallow or have you gone to nougat? custom rom? and have you tried restarting and perhaps clearing cache/dalvik?
Device or resource busy
Read-only file system
Read-only file system
tried it but all the apps had the above thing ^
nougat,
oh it did work o.o saw the apps for a second, thank you! could i just add the sense apks into the script and remove it the same way?
Dare I ask... why not make a shell script you run from the phone? I'll give it a shot. I wrote one that creates directories so I can use FolderSync to restore settings from the cloud.
Sent from my HTC6545LVW using XDA Labs
SovPanda said:
Device or resource busy
Read-only file system
Read-only file system
tried it but all the apps had the above thing ^
nougat,
oh it did work o.o saw the apps for a second, thank you! could i just add the sense apks into the script and remove it the same way?
Click to expand...
Click to collapse
Hi, did you use the Windows version? Thanks
spacecowboy618 said:
Hi, did you use the Windows version? Thanks
Click to expand...
Click to collapse
windows 10 <--
used the one he has listed to download in the original OP and works
Hi,
Beep'nGo is not supported anymore.
But it's not clear what app could be used instead which would be compatible with preinstalled Beaming Service for Samsung.
Samsung Pay is not available World Wide. App even can't run if installed from apk.
What about other popular Loyalty Card apps? Which apps use Beaming Service?
Thanks.
Beep'nGo still working
I think Beep'nGo was the best loyalty card app. I have a Galaxy Note 3 and even though the app was discontinued earlier this year it still works on my Note 3. I can still add cards locally to the app and the beaming still works. I have been trying to figure out the file structure so that I can preserve the functionality in case something happens to the phone. I have searched the folders and I can't find a mobeam, beepngo or derivative naming file structure. So the question is how does it work. Where are the install files. Any ideas?
the app is still working ,sort of.
if its already installed, it works fine.
But ive just got a Note 8 & unable to use the app so far. Im gutted & I love this app. It works great all the time o my other devices.
I just cant log in at since installing the app.
I get an error 'you are not connected to the internet'. Ive tried all sorts with no luck.
I also tried to find the data file for the app, I found the file for it named COM.MOBEAM.BEEPNGO, then theres a sub folder named CACHE, but thats empy!
Im at a loss how to log in and get this app working on my new phone. Its frustrating as its perfectly fine on my S7 Edge, but I need to give that phone to my partner soon.
someone here must know something on this surely?
Im not in USA so cant use samsung pay or those affiliated apps
pinkbellbird, you can't logon becuse app is discontinued. Nowere to logon. No coud backup.
You can use it by adding new cards every time you reset to factory. Otherwise it's working.
I have Samsung Galaxy Note 3 and love that app, using it all the time. Also I use Titanium Backup for it and restore data every time I play with roms or reset to defaults.
Would like to know if there is alternative for this app that use beaming though.
Samsung Pay is the only other app that I have read of that includes the beaming tech.
As I do not have a Samsung at present, I would be quite interested to know if something is available for phones, at large, that incorporates the beaming tech.
If there was a way to make Samsung Pay work in my country.
Sent from my SM-N910C using Tapatalk
Beep n go on S8
I had the same trouble with my new S8. Just install the app sending it via Bluetooth from old to new phone and then scan the cards directly with new phone from old phone as it was physical card. Then installing widget on new phone you will bypass the logon error.
Still no one found a way to export the cards stored into discontinued Beep n' Go app so they can EASILY be imported into other apps like... Samsung Pay?
We find ourselves in the same position as you. The way I managed to solve the problem, now that I am one step away from making the change to a note 8 (from a note 3), it is to make a copy of the system and user data with the Note root and using the Titanium Backup, and the new phone will reload the Beep'N'Go program. With total reinstallations of Note 3 it has worked, I hope it also does note 8!
Steps to migrate BeepnGo including data from old to new phone
install ADB ( developer.android.com/studio/command-line/adb ) on your PC
Open cmd window in the folder where ADB is located
on old phone: enable USB debug option in developer options
connect old phone to PC ( watch for question popups on phone and answer them)
check if phone is visible to adb : adb devices
commands:
adb backup -apk com.mobeam.beepngo ( watch for question popups on phone and answer them, if your phone is encrypted it will ask for a password (use simple password like the letter 'a' . This command will create a file backup.ab in the current folder)
[the previous command should have backed up the apk as well. However on my phone this did not work so we need some more steps to copy the apk too:]
adb shell
pm list packages -f | grep mobeam
will show the path where the application is stored (in my case:
package:/data/app/com.mobeam.beepngo-2/base.apk=com.mobeam.beepngo )
copy the apk to a folder which is visible on PC:
cp /data/app/com.mobeam.beepngo-2/base.apk /storage/self.primary/Download/beepngo.apk
exit
(you are back at the normal cmd window prompt, don't close the window yet)
Now on PC open windows explorere, navigate to your phone devices Download folder and copy beepngo.apk to a folder on PC
Disconnect old phone
on new phone: enable USB debug option in developer options
Connect new phone (watch for question popups on phone and answer them)
Copy beepngo.apk to the Downloads folder of the new phone
On phone use file manager, navigate to Downloads folder and run the beepngo.apk to install beepngo
On PC go to the command window:
check if new phone is visible to adb : adb devices
adb restore backup.ab (this will restore the beepngo files, watch for popups on your phone and answer quesitons. if you had to enter a password for encryption, please enter the same password again )
Start beepngo and the data from previous phone is visible
:laugh: :victory: :laugh: :victory: :laugh: :victory:
OH MY GOD!!! IT WORKS!!!!!
so I will not have to root the new note 8! Thank you very much! Really !!!!
:laugh: :victory: :laugh: :victory: :laugh: :victory:
MisterKosmos said:
install ADB ( developer.android.com/studio/command-line/adb ) on your PC
Open cmd window in the folder where ADB is located
on old phone: enable USB debug option in developer options
connect old phone to PC ( watch for question popups on phone and answer them)
check if phone is visible to adb : adb devices
commands:
adb backup -apk com.mobeam.beepngo ( watch for question popups on phone and answer them, if your phone is encrypted it will ask for a password (use simple password like the letter 'a' . This command will create a file backup.ab in the current folder)
[the previous command should have backed up the apk as well. However on my phone this did not work so we need some more steps to copy the apk too:]
adb shell
pm list packages -f | grep mobeam
will show the path where the application is stored (in my case:
package:/data/app/com.mobeam.beepngo-2/base.apk=com.mobeam.beepngo )
copy the apk to a folder which is visible on PC:
cp /data/app/com.mobeam.beepngo-2/base.apk /storage/self.primary/Download/beepngo.apk
exit
(you are back at the normal cmd window prompt, don't close the window yet)
Now on PC open windows explorere, navigate to your phone devices Download folder and copy beepngo.apk to a folder on PC
Disconnect old phone
on new phone: enable USB debug option in developer options
Connect new phone (watch for question popups on phone and answer them)
Copy beepngo.apk to the Downloads folder of the new phone
On phone use file manager, navigate to Downloads folder and run the beepngo.apk to install beepngo
On PC go to the command window:
check if new phone is visible to adb : adb devices
adb restore backup.ab (this will restore the beepngo files, watch for popups on your phone and answer quesitons. if you had to enter a password for encryption, please enter the same password again )
Start beepngo and the data from previous phone is visible
Click to expand...
Click to collapse
My backup.ab has 0 Kbytes. Any ideas?
rexator said:
My backup.ab has 0 Kbytes. Any ideas?
Click to expand...
Click to collapse
Are you sure that you have the latest version of MoBeam? I tested it on the latest version.
What does these command give as output?
adb shell
pm list packages -f | grep mobeam
Thank you MisterKosmos! Great help, works perfect. Looked complicated at first, but was really easy thanks to your great tutorial. 5 min work to get beep n go from my S8 to S9.
Do you think it would be possible to export the database to another format so to import into let's say Samsung Pay?
I just want a list of wakeblocks which i should block.....
Nd plz don't give me any link...coz im tired of that all thing....nd don't tell there's already a thread. Bcoz i've read all the thread about battery optimization and wakblocks...........i just want the list...which i should block......bcoz im getting just 4 hour of sot in any stock nougat.......custom roms sot are worse than I'm getting........is there any one...who would like to help me.....its my humble request......
Harshseth said:
I just want a list of wakeblocks which i should block.....
Nd plz don't give me any link...coz im tired of that all thing....nd don't tell there's already a thread. Bcoz i've read all the thread about battery optimization and wakblocks...........i just want the list...which i should block......bcoz im getting just 4 hour of sot in any stock nougat.......custom roms sot are worse than I'm getting........is there any one...who would like to help me.....its my humble request......
Click to expand...
Click to collapse
Every user has different apps, hence different wakelock situation. Every user has different usage behavior, hence different apps to block or not.
Your request isn't really good to answer. And if you really read the big battery guide here on xda, you know what to do.
strongst said:
Every user has different apps, hence different wakelock situation. Every user has different usage behavior, hence different apps to block or not.
Your request isn't really good to answer. And if you really read the big battery guide here on xda, you know what to do.
Click to expand...
Click to collapse
1st of all Thnx for the reply......
I tried everything..i thought i can get the list...but unfortunately it is not possible
Harshseth said:
I just want a list of wakeblocks which i should block.....
Nd plz don't give me any link...coz im tired of that all thing....nd don't tell there's already a thread. Bcoz i've read all the thread about battery optimization and wakblocks...........i just want the list...which i should block......bcoz im getting just 4 hour of sot in any stock nougat.......custom roms sot are worse than I'm getting........is there any one...who would like to help me.....its my humble request......
Click to expand...
Click to collapse
try this shell script.. third party applications installed are stopped from running in background..
copy the provided script into internal storage then
type this commands in adb terminal
step 1: we have first disable all third party applications running in background.. so type this commands..
adb shell
cd /storage/emulated/0
sh script.sh
step 2: dump the third party packages list into a txt file into c directory of windows so that we can add exceptions for to allow the app to run in background...
adb shell pm list packages -f > c:\app_list.txt
step 3: Now we have to give access to apps like whatsapp to run in background.. so as to receive notification.
adb shell
cmd appops set com.whatsapp RUN_IN_BACKGROUND allow
com.whatsapp was an example of a package you have replace this package name with whatever apps you wanna allow to run in background..
you can get the package name from the generated app_list.txt file..
***** rename the script.sh.txt to script.sh
ajaikumarnadar said:
try this shell script.. third party applications installed are stopped from running in background..
copy the provided script into internal storage then
type this commands in adb terminal
step 1: we have first disable all third party applications running in background.. so type this commands..
adb shell
cd /storage/emulated/0
sh script.sh
step 2: dump the third party packages list into a txt file into c directory of windows so that we can add exceptions for to allow the app to run in background...
adb shell pm list packages -f > c:\app_list.txt
step 3: Now we have to give access to apps like whatsapp to run in background.. so as to receive notification.
adb shell
cmd appops set com.whatsapp RUN_IN_BACKGROUND allow
com.whatsapp was an example of a package you have replace this package name with whatever apps you wanna allow to run in background..
you can get the package name from the generated app_list.txt file..
***** rename the script.sh.txt to script.sh
Click to expand...
Click to collapse
Can't download the script....tried in uc and chrome everywhere
Harshseth said:
Can't download the script....tried in uc and chrome everywhere
Click to expand...
Click to collapse
#!/bin/bash
for pkg in $( pm list packages -3 | cut -d: -f2); do
appops set $pkg RUN_IN_BACKGROUND deny
done
copy the above and create a txt file and rename it as script.sh
YOU NEED TO BE ROOTED TO DO THIS OR ELSE YOU WON'T GET ANY RESULTS!Here's how to install a working Google Play Store without any error 406, a full Leanback Launcher complete with suggestions and settings, and a fully working Google search with mic!
BEFORE YOU STARTYou need to first follow the Playing with Fire guide, but please delete the wifi direct xml from the tar.gz first so the remote and wifi will work.
Now for the tweaking!Please install the XInstaller XPosed module and enable it.
And please enable downgrading apps in the Installations menu in XInstaller.
GOOGLE APPNow, you want to download this version of the Google App and install it with the Downgrade App toggle you enabled.
Now you will have working Google Search.
LEANBACK LAUNCHER + SETTINGSNow for Leanback Launcher. Playing With Fire already installed the TvSettings but this version of it doesn't work very well.
Download this version of TvSettings from aftv2atv. Now do these commands to install it.
Code:
adb push TvSettings.apk /sdcard/
adb shell
su
mount -o rw,remount /system
rm /system/priv-app/TvSettings/TvSettings.apk
mkdir /system/priv-app/TvSettings
chmod 755 /system/priv-app/TvSettings
chown root:root /system/priv-app/TvSettings
mv /sdcard/TvSettings.apk /system/priv-app/TvSettings/
cd /system/priv-app/TvSettings/
chown root:root TvSettings.apk
Now you will have a better Settings app. Now for the main launcher.
Download Leanback Launcher and rename it to TvLauncher.apk
Now do these commands.
Code:
adb shell
su
mount -o rw,remount /system
mkdir /system/priv-app/TvLauncher
chmod 755 /system/priv-app/TvLauncher
chown root:root /system/priv-app/TvLauncher
mv /sdcard/TvLauncher.apk /system/priv-app/TvLauncher/
cd /system/priv-app/TvLauncher/
chown root:root TvLauncher.apk
Now you should have a working Leanback Launcher with settings and suggestions!
GOOGLE PLAY STORENow for the main event, the Google Play Store! Download the Play Store mod I made and install it.
It might crash on launch, if it does, go into settings, go to apps, select Play Store from System Applications, and clear data. You'll do this every time it crashes.
Now you have the full Play Store!
CONCLUSION
If you read this through and followed the steps, you should have all of these fully working.
Enjoy your Googlified Fire Stick 2!
Awesome, can't wait to try this tomorrow.
---------- Post added at 07:12 PM ---------- Previous post was at 07:05 PM ----------
Sorry to ask a question to soon but the title says firestick 2 and the playing with fire thread says it works on fire tv 2 box. Is it fair to assume it will work for that too or just the firestick 2?
brick00444 said:
Awesome, can't wait to try this tomorrow.
---------- Post added at 07:12 PM ---------- Previous post was at 07:05 PM ----------
Sorry to ask a question to soon but the title says firestick 2 and the playing with fire thread says it works on fire tv 2 box. Is it fair to assume it will work for that too or just the firestick 2?
Click to expand...
Click to collapse
It works, make sure to use the ARM versions.
Pix12 said:
It works, make sure to use the ARM versions.
Click to expand...
Click to collapse
Now I'm confused, in the instructions for Lazyv4 it says: "Step One: Required Files - Download the following files. For some of these I will have listed two versions (ARM) and (ARM64) so make sure you pick the version that's appropriate for the architecture of your CPU. FireTV-v1 (ARM) & FireTV-v2 (ARM64)."
Thanks for the post @Pix12.
Do you have any extra advice for the Google Play login on Fire Box 2nd gen? I followed the guide above - your Play Store mod won't install (and the old apk you recommend on Playing Fire thread will install but still won't allow Google login)
Btw- I think you forgot to include an 'adb push Tvlauncher.apk' line in your guide. Cheers.
EDIT: Worked it out: - so re-installing Google Play Services fixed login issue. I used an apk uploaded Aug'18 (https://www.apkmirror.com/apk/googl...3-2-78-080406-210410490-android-apk-download/) and used the Google Play apk mentioned here: https://forum.xda-developers.com/showpost.php?p=79117328&postcount=279 (thanks @Pix12)
EDIT#2: Giving up on both Fire Stick 2 (tank) & Fire TV box 2 (sloane) mods - i.e. insert Google Playstore. 'Playing with Fire' mod doesn't work reliably anymore and I can't get the method outlined in this OP to fix it (although I did make some progress with the recommended XInstaller module - it was patchy to say the least). Hopefully a Dev on here will work it out properly but it's well beyond me. Need a new, less frustrating project.....
JJ2017 said:
Thanks for the post @Pix12.
Do you have any extra advice for the Google Play login on Fire Box 2nd gen? I followed the guide above - your Play Store mod won't install (and the old apk you recommend on Playing Fire thread will install but still won't allow Google login)
Btw- I think you forgot to include an 'adb push Tvlauncher.apk' line in your guide. Cheers.
EDIT: Worked it out: - so re-installing Google Play Services fixed login issue. I used an apk uploaded Aug'18 (https://www.apkmirror.com/apk/googl...3-2-78-080406-210410490-android-apk-download/) and used the Google Play apk mentioned here: https://forum.xda-developers.com/showpost.php?p=79117328&postcount=279 (thanks @Pix12)
Click to expand...
Click to collapse
You need to use the XInstaller module to be able to force downgrade.
So I saw installed those files for the launcher And the settings. However nothing happened. Whenever I disable Amazons launcher nothingLeanback Launcher will launch but after both files are installed my settings disappeared for the it. I was trying to do this on a fire tv 2. So maybe the files are different or something just not sure what I should do
is there any tutorial how to root the Stick 2?
Now that the fire tv 2 on the latest firmware has been rooted, https://forum.xda-developers.com/fir...2-box-t3908387, it would be great if google play store could also be installed. Could you please provide a tutorial to add only this feature? Personally not interested in changing the launcher or the other interesting features in your guide. Congratulations on what you have been able to accomplish. Hopefully Amazon doesn't hire you away from us.
Thanks for this. Is there a way to install this using Magisk GApps (MagicGApps module) and without Xposed?
..i don't know the correct configuration yet that could work? ..anyone?
I have installed it with the gapps-config mentioned but getting black screen after booting. (Guess original launcher cant start?)
Eyedoctor2 said:
Now that the fire tv 2 on the latest firmware has been rooted, https://forum.xda-developers.com/fir...2-box-t3908387, it would be great if google play store could also be installed. Could you please provide a tutorial to add only this feature? Personally not interested in changing the launcher or the other interesting features in your guide. Congratulations on what you have been able to accomplish. Hopefully Amazon doesn't hire you away from us.
Click to expand...
Click to collapse
Yeah, you can just do the Play Store part of it, in fact, the Playing with Fire guide contains a gapps-config that only includes the bare minimum.
Pix12 said:
Yeah, you can just do the Play Store part of it, in fact, the Playing with Fire guide contains a gapps-config that only includes the bare minimum.
Click to expand...
Click to collapse
I have tried to read through most of that post and also searched through it but I can't find anywhere that details a method of installing the play store only. Can you please point me in the right direction?
I know from other threads that there is a definite demand for this functionality.
Arturkeibel said:
is there any tutorial how to root the Stick 2?
Click to expand...
Click to collapse
https://forum.xda-developers.com/fire-tv/development/unlock-fire-tv-stick-2nd-gen-tank-t3907002
When trying to install your modded play store I get the following error. I do have the Xinstaller module enabled with downgrading apps selected:
$ adb install PlayTVMod4FTVS2.apk
PlayTVMod4FTVS2.apk: 1 file pushed. 5.0 MB/s (24434423 bytes in 4.689s)
pkg: /data/local/tmp/PlayTVMod4FTVS2.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
eelsid said:
When trying to install your modded play store I get the following error. I do have the Xinstaller module enabled with downgrading apps selected:
$ adb install PlayTVMod4FTVS2.apk
PlayTVMod4FTVS2.apk: 1 file pushed. 5.0 MB/s (24434423 bytes in 4.689s)
pkg: /data/local/tmp/PlayTVMod4FTVS2.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Click to expand...
Click to collapse
Oh, you need to tick the disable signature check option.
Pix12 said:
Oh, you need to tick the disable signature check option.
Click to expand...
Click to collapse
I disabled signature checking in XINstaller however I'm not able to install either through adb or pm, I get the following error when installing from the adb shell:
# pm install /sdcard/PlayTVMod4FTVS2.apk
pkg: /sdcard/PlayTVMod4FTVS2.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
I already have com.android.vending installed in /system/priv-app/PhoneskyKamikazeCanvas as installed by open Gapps (the version linked in the "playing with fire" thread. I would expect the apk to simply update the system app however it's seeing it as a duplicate. I am able to install it via "pm install -r" to replace it but this breaks play store altogether with a host of permissions errors in logcat.
Using only the gapps version installed in priv-app, with no apk installed under /data/app, I am able to sign into play store and install an app, however after that point I am not able to install any more apps, when I click install I get error code 406.
eelsid said:
I disabled signature checking in XINstaller however I'm not able to install either through adb or pm, I get the following error when installing from the adb shell:
# pm install /sdcard/PlayTVMod4FTVS2.apk
pkg: /sdcard/PlayTVMod4FTVS2.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
I already have com.android.vending installed in /system/priv-app/PhoneskyKamikazeCanvas as installed by open Gapps (the version linked in the "playing with fire" thread. I would expect the apk to simply update the system app however it's seeing it as a duplicate. I am able to install it via "pm install -r" to replace it but this breaks play store altogether with a host of permissions errors in logcat.
Using only the gapps version installed in priv-app, with no apk installed under /data/app, I am able to sign into play store and install an app, however after that point I am not able to install any more apps, when I click install I get error code 406.
Click to expand...
Click to collapse
XInstaller only works with installing on the system without adb or shell commands, Try pushing it to the sdcard and installing it with a file explorer.
Backup image
Hello @Pix12 thank you for your guide, i have tried everything to get this to work but cant, would it be possible for you to make a backup of your fully set up stick in twrp, put it in a zip and upload it to mega for me to install to my stick? ( I know this method works as i have tested it to clone a stick you just have to change the serial number to yours on the backup folder before restoring in twrp ) it would be a great help if you could! Thanks in advance @Pix12
Can you please upload the version of the opengapps you are using. All versions older than a couple months are not on their git anymore. Using the gapps-config.txt. I'm not able to install with the "tvlauncher" flag, It only installs the launcher when I add "leanbacklauncher" thus it creates the "leanbacklauncher" folder in /system/priv-app/. vs "TVlauncher" This is the reason why I'm wondering if the opengapps versions have changed. When I followed your instructions this the TVsettings disappeared alltogether from the home screen.
thecdman said:
Hello @Pix12 thank you for your guide, i have tried everything to get this to work but cant, would it be possible for you to make a backup of your fully set up stick in twrp, put it in a zip and upload it to mega for me to install to my stick? ( I know this method works as i have tested it to clone a stick you just have to change the serial number to yours on the backup folder before restoring in twrp ) it would be a great help if you could! Thanks in advance @Pix12
Click to expand...
Click to collapse
Same request! It would help a lot