ADB - LineageOS Questions & Answers

i have error:closed when i exec "adb shell rm/data/system/gesture.key", please help me

Related

[Q] Please help with Rage Temproot during Gfree root process

Please help, I've searched around and can't find the solution to my issue, I'm rooting following the XDA wiki for Gfree and using the Android SDK....I've managed to get the ADB to recognize my phone and I "think" that the ADB has been able to push the first 5 files to the SD....but I'm stuck on the last command line.
$ adb push su /sdcard/su
$ adb push Superuser.apk /sdcard/Superuser.apk
$ adb push rage /data/local/tmp/rage
$ adb push busybox /data/local/tmp/busybox
$ adb push root /data/local/tmp/root
$ adb shell chmod 0755 /data/local/tmp/*
when I run $ adb shell chmod 0755 /data/local/tmp/*
I get the following:
Usage: chmod <MODE> <File>
so then I go to terminal emulator on the phone and type
$ /data/local/tmp/rage
I get: /data/local/tmp/rage: not found
Where have I screwed up?
G2_Gordon_G1 said:
Please help, I've searched around and can't find the solution to my issue, I'm rooting following the XDA wiki for Gfree and using the Android SDK....I've managed to get the ADB to recognize my phone and I "think" that the ADB has been able to push the first 5 files to the SD....but I'm stuck on the last command line.
$ adb push su /sdcard/su
$ adb push Superuser.apk /sdcard/Superuser.apk
$ adb push rage /data/local/tmp/rage
$ adb push busybox /data/local/tmp/busybox
$ adb push root /data/local/tmp/root
$ adb shell chmod 0755 /data/local/tmp/*
when I run $ adb shell chmod 0755 /data/local/tmp/*
I get the following:
Usage: chmod <MODE> <File>
so then I go to terminal emulator on the phone and type
$ /data/local/tmp/rage
I get: /data/local/tmp/rage: not found
Where have I screwed up?
Click to expand...
Click to collapse
looks like you screwed up the last command ... didnt write the syntax properly thats why it showed its usage.....
(adb shell chmod 0755 /data/local/tmp/*) this command that is.....
also the last thing showing file not found means the files were never pushed to the phone..... connect your phone to your pc in chagre only and usb debigging connected mode and in command prompt in the adb folder write "adb devices"
it should show somehting like this.....
adb list of devices attached
SH034N34GF
this number over here (SH034N34GF) is an example ... it will show your phone ID... which would be different....
if you see list of devices attached and an empty line below and no serial number as shown in example....
than it means your android usb drivers for adb shell are not set up correctly
in that case ... get the drivers set up properly....
check with adb devices command to confirm your phone is recognized....
than start over with the commands
I've started over and have typed VERY CAREFULLY...
On each of the first five command prompts I get a 40 or so line message that starts with:
Android Debug Bridge version 1.0.26
.......
(list of commands)
.......
and ends with
bug tags are printed.
OK so I guess that's good
So then I type C:\> adb shell chmod 0755 /data/local/tmp/*
and NOW I get
adb server is out of date. killing...
*daemon started successfully*
Bad Mode
Clearly, I'm a noob.....
Now what?
read this guide .... on it search for .... "out of date" author explains how to tackle it
G2_Gordon_G1 said:
I've started over and have typed VERY CAREFULLY...
On each of the first five command prompts I get a 40 or so line message that starts with:
Android Debug Bridge version 1.0.26
.......
(list of commands)
.......
and ends with
bug tags are printed.
OK so I guess that's good
So then I type C:\> adb shell chmod 0755 /data/local/tmp/*
and NOW I get
adb server is out of date. killing...
*daemon started successfully*
Bad Mode
Clearly, I'm a noob.....
Now what?
Click to expand...
Click to collapse
hispeedworm said:
read this guide .... on it search for .... "out of date" author explains how to tackle it
Click to expand...
Click to collapse
In the ADB guide it says:
"By the way, the first adb command that you type may well also come up with some lines similar to "adb deamon out of date" etc, but don't worry, that's normal, just check the rest of the output."
So apparently that's not a problem?
G2_Gordon_G1 said:
In the ADB guide it says:
"By the way, the first adb command that you type may well also come up with some lines similar to "adb deamon out of date" etc, but don't worry, that's normal, just check the rest of the output."
So apparently that's not a problem?
Click to expand...
Click to collapse
im uploading my adb... its minimal with just adb fastboot and few other files.... unzip into a folder on your pc.....use these instead of the android sdk and all..
make sure that folder is linked in windows..... Step 4 of the adb for noobs guide..... reinstall the android usb drivers again following the guide.....
when thats done restart and press F8 ... disable signature verification ... when windows loaded... go to command prompt.... do into the adb directory.....than write adb devices....if it shows you device than start over with the commands.... you should not get the error saying out of date... as i just used this adb shell 2 days back to root my desire Z.....
hope this helps
Thanks! Will try again soon!

TempRoot Dezire Z ad G2 Help Needed

I can use a computer to temproot my Gingerbread 2.34 G2/Desire Z
I run this batch file and to Re Root, (root fades off after a while) I run the lines in RED and it works again as rooted.
adb wait-for-device
adb push ./fre3vo /data/local/tmp
adb shell chmod 777 /data/local/tmp/fre3vo
adb shell /data/local/tmp/fre3vo -debug -start Fb990000 -end FFFFFFFF
adb wait-for-device
adb remount
adb shell
adb shell exit
cls
adb shell chmod 755 /data/local/tmp/fixsu.sh
adb shell /data/local/tmp/fixsu.sh
Exit
Is there anyone who knows of a local application that would act like adb but DOES NOT NEED THE PHONE TO BE HOOKED UP TO A COMPUTER ? If not, is there anyone who could get something written that would do the red commands on the phone without having to use adb and a computer? (When I use Connect Bot or Terminal Emulator, I get access denied, but the same commands via ADB succeeds... I don't know why.) That'd really make the TempRoot very usable when the user is on the road, and away from a computer. I really think the super smart android afficionados in our forum would easily be able to cobble something that we all could use, Like Visionary... Thank you for reading this, and thank you even more if you can tell us how to do it on the phone, or even writing a one button job that accomplishes this.
Aloha from Hawaii !
Please ask in forum for Desire Z.
SwiftKeyed from dGB with Transparent XDA App

[Q] ADB strange behavior

Hi all, I have the following strange behavior when I want to use ADB:
(my device is Desire HD with 4.0.4, usb deb. is enabled, OS is win7 x64, Android Phone driver in dev manager is "My HTC" but I tried changing it with "ADB composite interface" or something like that but with the same result...)
When I start CMD (adb is registered in "Environment variables") and type "adb devices", my device is listed, but right after that when I type ""ADB shell" (daemon is restarting at this point) followed by "adb devices", my device is listed as empty entry (no device name) and some adb shell commands give me trouble (they don't work, push doesn't work and install apk is working fine).....
Main problem is that I want to use androidscreencast but I'm unable to execute
adb shell
su
chmod 777 /data/dalvik-cache
cd /data/dalvik-cache
chmod 777 ./
No errors, no results?
Any ideas?
chmod 777 /data/dalvik-cache/*
Is right
Sent from my HTC Desire X using xda premium

Help with Debloat rooted Fire TV 2 Box- Sloane

Have 2 ftv2 Sloane boxes that I'd like to debloat.
I am rooted running latest prerooted image.
Is it possible to debloat?
What's the gist, do I debloat via adb?
Thanks
dovedescent7 said:
Have 2 ftv2 Sloane boxes that I'd like to debloat.
I am rooted running latest prerooted image.
Is it possible to debloat?
What's the gist, do I debloat via adb?
Thanks
Click to expand...
Click to collapse
Hi @dovedescent7, if you install a custom launcher and have the firetv settings apk or confireator settings apk as # root installed then you can use this list here as a reference. Once disabled use a file explorer and navigate to /system/priv-app folder and delete each named folder (double check)
com.amazon.device.software.ota
com.amazon.device.software.ota.override
android.amazon.perm
com.amazon.ags.app
com.amazon.android.marketplace
com.amazon.bueller.music
com.amazon.bueller.notification
com.amazon.client.metrics
com.amazon.client.metrics.api
com.amazon.communication.discovery
com.amazon.connectivitydiag
com.amazon.dcp
com.amazon.device.crashmanager
com.amazon.device.logmanager
com.amazon.device.messaging
com.amazon.device.sync
com.amazon.devicecontrol
com.amazon.dp.logger
com.amazon.identity.auth.device.authorization
com.amazon.imp
com.amazon.kindle.cms
com.amazon.kindle.devicecontrol
com.amazon.kso.blackbird
com.amazon.ods.kindleconnect
com.amazon.parentalcontrols
com.amazon.platform.fdrw
com.amazon.precog
com.amazon.providers
com.amazon.providers.contentsupport
Always disable system app first before you delete them. I'm sure @0815hoffi should have a better list, these are just a few I have lying around..
This is my script, it disabled Updates and removes the Amazon Launcher.
I use this on 2k and 4k Stick.
For all scripts Look my github Page.
echo remove Bloatware
echo Please Wait, removal running...............
adb shell "su -c pm disable com.amazon.kindle.cms"
adb shell "su -c pm disable com.amazon.tv.launcher"
adb shell "su -c pm disable com.amazon.tv.oobe"
adb shell "su -c pm disable com.amazon.device.sale.service"
adb shell "su -c pm disable com.amazon.recess"
adb shell "su -c pm disable com.amazon.whisperplay.contracts"
adb shell "su -c pm disable com.amazon.bueller.photos"
adb shell "su -c pm disable com.amazon.device.sync"
adb shell "su -c pm disable com.amazon.webview"
adb shell "su -c pm disable com.amazon.tv.csapp"
adb shell "su -c pm disable com.amazon.tcomm.client"
adb shell "su -c pm disable com.amazon.client.metrics"
adb shell "su -c pm disable amazon.jackson19"
adb shell "su -c pm disable com.amazon.device.software.ota"
adb shell "su -c pm disable com.amazon.ags.app"
adb shell "su -c pm disable com.amazon.application.compatibility.enforcer"
adb shell "su -c pm disable com.amazon.whisperplay.service.install"
adb shell "su -c pm disable com.amazon.device.software.ota.override"
adb shell "su -c pm disable com.amazon.communication.discovery"
adb shell "su -c pm disable com.amazon.device.sync.sdk.internal"
adb shell "su -c pm disable com.amazon.bueller.music"
adb shell "su -c pm disable com.amazon.application.compatibility.enforcer.sdk.library"
adb shell "su -c pm disable com.amazon.vizzini"
adb shell "su -c pm disable com.amazon.tv.forcedotaupdater.v2"
adb shell "su -c pm disable com.amazon.avod"
adb shell "su -c pm disable com.amazon.shoptv.client"
adb shell "su -c pm disable android.amazon.perm"
adb shell "su -c pm disable com.amazon.android.marketplace"
adb shell "su -c pm disable com.amazon.awvflingreceiver"
adb shell "su -c pm disable com.amazon.bueller.notification"
adb shell "su -c pm disable com.amazon.device.crashmanager"
adb shell "su -c pm disable com.amazon.device.messaging"
adb shell "su -c pm disable com.amazon.device.messaging.sdk.internal.library"
adb shell "su -c pm disable com.amazon.device.messaging.sdk.library"
adb shell "su -c pm disable com.amazon.kso.blackbird"
adb shell "su -c pm disable com.amazon.ods.kindleconnect"
adb shell "su -c pm disable com.amazon.providers"
adb shell "su -c pm disable com.amazon.providers.contentsupport"
adb shell "su -c pm disable com.amazon.securitysyncclient"
adb shell "su -c pm disable com.amazon.sharingservice.android.client.proxy"
adb shell "su -c pm disable com.amazon.sync.provider.ipc"
adb shell "su -c pm disable com.amazon.sync.service"
adb shell "su -c pm disable com.amazon.tv.legal.notices"
adb shell "su -c pm disable com.amazon.tv.support"
adb shell "su -c pm disable com.amazon.platform.fdrw"
adb shell "su -c pm disable com.android.managedprovisioning"
adb shell "su -c pm disable com.amazon.device.bluetoothdfu"
adb shell "su -c pm disable com.amazon.tv.fw.metrics"
adb shell "su -c pm disable com.amazon.device.logmanager"
adb shell "su -c pm disable com.amazon.dcp"
adb shell "su -c pm disable com.amazon.dcp.contracts.framework.library"
adb shell "su -c pm disable com.amazon.android.service.networkmonitor"
adb shell "su -c pm disable com.amazon.tmm.tutorial"
adb shell "su -c pm disable com.amazon.logan"
adb shell "su -c pm disable com.amazon.tv.nimh"
adb shell "su -c pm disable com.ivona.tts.oem"
adb shell "su -c pm disable com.ivona.orchestrator"
adb shell "su -c pm disable com.amazon.alexashopping"
adb shell "su -c pm disable com.amazon.ftv.glorialist"
adb shell "su -c pm disable com.amazon.tv.livetv"
adb shell "su -c pm disable com.amazon.wifilocker"
adb shell "su -c pm disable com.amazon.ssdpservice"
adb shell "su -c pm disable com.amazon.alta.h2clientservice"
adb shell "su -c pm disable com.amazon.dialservice"
adb shell "su -c pm disable com.amazon.cardinal"
adb shell "su -c pm disable com.amazon.tifobserver"
adb shell "su -c pm disable com.amazon.aca"
adb shell "su -c pm disable com.amazon.aria"
adb shell "su -c pm disable com.amazon.firehomestarter"
adb shell "su -c pm disable com.amazon.franktvinput"
adb shell "su -c pm disable com.amazon.hedwig"
adb shell "su -c pm disable com.amazon.naatyam"
adb shell "su -c pm disable com.amazon.alexa.externalmediaplayer.fireos"
adb shell "su -c pm disable com.amazon.ale"
adb shell "su -c pm disable com.amazon.avl.ftv"
adb shell "su -c pm disable com.amazon.ceviche"
adb shell "su -c pm disable com.amazon.dpcclient"
adb shell "su -c pm disable com.amazon.firebat"
adb shell "su -c pm disable com.amazon.firerestapiframework"
adb shell "su -c pm disable com.amazon.katoch"
adb shell "su -c pm disable com.amazon.tv.releasenotes"
adb shell "su -c pm disable com.amazon.tv.routing"
adb shell "su -c pm disable com.amazon.tahoe"
adb shell "su -c pm disable com.amazon.whisperjoin.middleware.np"
adb shell "su -c pm disable com.amznfuse.operatorredirection"
echo reboot recovery
adb shell reboot recovery
adb shell "mount -o rw /system"
adb shell "mv /system/etc/security/otacerts.zip //system/etc/security/old.otacerts.zip.old"
echo Debloating Amazon Apps...
adb shell "rm -r /system/priv-app/com.amazon.avod/"
adb shell "rm -r /system/priv-app/com.amazon.shoptv.client/"
adb shell "rm -r /system/priv-app/android.amazon.perm/"
adb shell "rm -r /system/priv-app/com.amazon.ags.app/"
adb shell "rm -r /system/priv-app/com.amazon.android.marketplace/"
adb shell "rm -r /system/priv-app/com.amazon.awvflingreceiver/"
adb shell "rm -r /system/priv-app/com.amazon.bueller.music/"
adb shell "rm -r /system/priv-app/com.amazon.bueller.notification/"
adb shell "rm -r /system/priv-app/com.amazon.device.crashmanager/"
adb shell "rm -r /system/priv-app/com.amazon.device.messaging/"
adb shell "rm -r /system/priv-app/com.amazon.device.messaging.sdk.internal.library/"
adb shell "rm -r /system/priv-app/com.amazon.device.messaging.sdk.library/"
adb shell "rm -r /system/priv-app/com.amazon.device.sync/"
adb shell "rm -r /system/priv-app/com.amazon.device.sync.sdk.internal/"
adb shell "rm -r /system/priv-app/com.amazon.kindle.cms/"
adb shell "rm -r /system/priv-app/com.amazon.kso.blackbird/"
adb shell "rm -r /system/priv-app/com.amazon.ods.kindleconnect/"
adb shell "rm -r /system/priv-app/com.amazon.providers/"
adb shell "rm -r /system/priv-app/com.amazon.providers.contentsupport/"
adb shell "rm -r /system/priv-app/com.amazon.recess/"
adb shell "rm -r /system/priv-app/com.amazon.securitysyncclient/"
adb shell "rm -r /system/priv-app/com.amazon.sharingservice.android.client.proxy/"
adb shell "rm -r /system/priv-app/com.amazon.sync.provider.ipc/"
adb shell "rm -r /system/priv-app/com.amazon.sync.service/"
adb shell "rm -r /system/priv-app/com.amazon.tv.legal.notices/"
adb shell "rm -r /system/priv-app/com.amazon.tv.support/"
adb shell "rm -r /system/priv-app/com.amazon.webview/"
adb shell "rm -r /system/priv-app/com.amazon.platform.fdrw/"
adb shell "rm -r /system/priv-app/com.android.managedprovisioning/"
adb shell "rm -r /system/priv-app/com.amazon.device.bluetoothdfu/"
adb shell "rm -r /system/priv-app/com.amazon.tv.fw.metrics/"
adb shell "rm -r /system/priv-app/com.amazon.device.logmanager/"
adb shell "rm -r /system/priv-app/com.amazon.dcp/"
adb shell "rm -r /system/priv-app/com.amazon.dcp.contracts.framework.library/"
adb shell "rm -r /system/priv-app/com.amazon.device.software.ota/"
adb shell "rm -r /system/priv-app/com.amazon.device.software.ota.override/"
adb shell "rm -r /system/priv-app/com.amazon.android.service.networkmonitor/"
adb shell "rm -r /system/priv-app/com.amazon.tmm.tutorial/"
adb shell "rm -r /system/priv-app/com.amazon.tv.csapp/"
adb shell "rm -r /system/priv-app/com.amazon.bueller.photos/"
adb shell "rm -r /system/priv-app/com.amazon.vizzini/"
adb shell "rm -r /system/priv-app/com.amazon.logan/"
adb shell "rm -r /system/priv-app/com.amazon.tv.nimh/"
adb shell "rm -r /system/priv-app/com.ivona.tts.oem/"
adb shell "rm -r /system/priv-app/com.ivona.orchestrator/"
adb shell "rm -r /system/priv-app/com.amazon.device.sale.service/"
adb shell "rm -r /system/priv-app/com.amazon.alexashopping/"
adb shell "rm -r /system/priv-app/com.amazon.ftv.glorialist/"
adb shell "rm -r /system/priv-app/com.amazon.tv.livetv/"
adb shell "rm -r /system/priv-app/com.amazon.wifilocker/"
adb shell "rm -r /system/priv-app/com.amazon.ssdpservice/"
adb shell "rm -r /system/priv-app/com.amazon.alta.h2clientservice/"
adb shell "rm -r /system/priv-app/com.amazon.dialservice/"
adb shell "rm -r /system/priv-app/com.amazon.cardinal/"
adb shell "rm -r /system/priv-app/com.amazon.tifobserver/"
adb shell "rm -r /system/priv-app/com.amazon.aca/"
adb shell "rm -r /system/priv-app/com.amazon.aria/"
adb shell "rm -r /system/priv-app/com.amazon.franktvinput/"
adb shell "rm -r /system/priv-app/com.amazon.hedwig/"
adb shell "rm -r /system/priv-app/com.amazon.naatyam/"
adb shell "rm -r /system/priv-app/com.amazon.alexa.externalmediaplayer.fireos/"
adb shell "rm -r /system/priv-app/com.amazon.ale/"
adb shell "rm -r /system/priv-app/com.amazon.avl.ftv/"
adb shell "rm -r /system/priv-app/com.amazon.ceviche/"
adb shell "rm -r /system/priv-app/com.amazon.dpcclient/"
adb shell "rm -r /system/priv-app/com.amazon.firebat/"
adb shell "rm -r /system/priv-app/com.amazon.firerestapiframework/"
adb shell "rm -r /system/priv-app/com.amazon.katoch/"
adb shell "rm -r /system/priv-app/com.amazon.tv.releasenotes/"
adb shell "rm -r /system/priv-app/com.amazon.tv.routing/"
adb shell "rm -r /system/priv-app/com.amazon.tahoe/"
adb shell "rm -r /system/priv-app/com.amazon.whisperjoin.middleware.np/"
adb shell "rm -r /system/priv-app/com.amznfuse.operatorredirection/"
adb shell "rm -r /system/priv-app/com.amazon.imdb.tv.android.app/"
echo Removing any added System Components from Amazon App Updates...
adb shell "rm -r /data/app/com.amazon.aca-1/"
adb shell "rm -r /data/app/com.amazon.ags.app-1/"
adb shell "rm -r /data/app/com.amazon.alexashopping-1/"
adb shell "rm -r /data/app/com.amazon.amazonvideo.livingroom.firetv-1/"
adb shell "rm -r /data/app/com.amazon.appaccesskeyprovider-1/"
adb shell "rm -r /data/app/com.amazon.aria-1/"
adb shell "rm -r /data/app/com.amazon.avl.ftv-1/"
adb shell "rm -r /data/app/com.amazon.avod-1/"
adb shell "rm -r /data/app/com.amazon.bueller.music-1/"
adb shell "rm -r /data/app/com.amazon.cardinal-1/"
adb shell "rm -r /data/app/com.amazon.firebat-1/"
adb shell "rm -r /data/app/com.amazon.ftv.glorialist-1/"
adb shell "rm -r /data/app/com.amazon.hedwig-1/"
adb shell "rm -r /data/app/com.amazon.katoch-1/"
adb shell "rm -r /data/app/com.amazon.kso.blackbird-1/"
adb shell "rm -r /data/app/com.amazon.shoptv.client-1/"
adb shell "rm -r /data/app/com.amazon.tahoe-1/"
adb shell "rm -r /data/app/com.amazon.tv.launcher-1/"
adb shell "rm -r /data/app/com.amazon.tv.livetv-1/"
adb shell "rm -r /data/app/com.amazon.tv.ottssocompanionapp-1/"
adb shell "rm -r /data/app/com.amazon.tv.releasenotes-1/"
adb shell "rm -r /data/app/com.amazon.aca-2/"
adb shell "rm -r /data/app/com.amazon.ags.app-2/"
adb shell "rm -r /data/app/com.amazon.alexashopping-2/"
adb shell "rm -r /data/app/com.amazon.amazonvideo.livingroom.firetv-2/"
adb shell "rm -r /data/app/com.amazon.appaccesskeyprovider-2/"
adb shell "rm -r /data/app/com.amazon.aria-2/"
adb shell "rm -r /data/app/com.amazon.avl.ftv-2/"
adb shell "rm -r /data/app/com.amazon.avod-2/"
adb shell "rm -r /data/app/com.amazon.bueller.music-2/"
adb shell "rm -r /data/app/com.amazon.cardinal-2/"
adb shell "rm -r /data/app/com.amazon.firebat-2/"
adb shell "rm -r /data/app/com.amazon.ftv.glorialist-2/"
adb shell "rm -r /data/app/com.amazon.hedwig-2/"
adb shell "rm -r /data/app/com.amazon.katoch-2/"
adb shell "rm -r /data/app/com.amazon.kso.blackbird-2/"
adb shell "rm -r /data/app/com.amazon.shoptv.client-2/"
adb shell "rm -r /data/app/com.amazon.tahoe-2/"
adb shell "rm -r /data/app/com.amazon.tv.launcher-2/"
adb shell "rm -r /data/app/com.amazon.tv.livetv-2/"
adb shell "rm -r /data/app/com.amazon.tv.ottssocompanionapp-2/"
adb shell "rm -r /data/app/com.amazon.tv.releasenotes-2/"
adb shell "rm -r /data/app/com.amazon.imdb.tv.android.app*/"
adb shell "mv /etc/security/otacerts.zip /etc/security/old.otacerts.zip.old"
adb shell "rm -r /system/media/alarms/"
adb shell "rm -r /system/media/notifications/"
adb shell "rm -r /system/media/ringtones/"
echo Remove Amazon Launcher...
adb push Markus-TWRP.zip /sdcard/Markus-TWRP.zip
adb shell twrp install /sdcard/Markus-TWRP.zip
adb shell reboot
Click to expand...
Click to collapse
I've been trying to do this with mine. I installed a new launcher on my Fire TV 2nd gen (sloane) and disabled the amazon launcher. After I reboot, not it just gets stuck booting. I can get back to twrp and reflash, but after I disable the amazon launcher it still won't go past the amazon fire tv logo.
sturner83 said:
I've been trying to do this with mine. I installed a new launcher on my Fire TV 2nd gen (sloane) and disabled the amazon launcher. After I reboot, not it just gets stuck booting. I can get back to twrp and reflash, but after I disable the amazon launcher it still won't go past the amazon fire tv logo.
Click to expand...
Click to collapse
Only tested on TV Stick 2 and 4k.
Do you have flashed my zip?
You must wait for twrp after
echo reboot recovery
adb shell reboot recovery
In my script.
This is only a example , you must Customizing it.
Check my github Page for full Script
0815hoffi said:
Only tested on TV Stick 2 and 4k.
Do you have flashed my zip?
You must wait for twrp after
echo reboot recovery
adb shell reboot recovery
In my script.
This is only a example , you must Customizing it.
Check my github Page for full Script
Click to expand...
Click to collapse
I'm not using your zip. I'm disabling manually for now. I only disabled the amazon launcher.
You must disable
adb shell "pm disable-user --user 0 com.amazon.tv.launcher"
wait 5 seconds
adb shell "pm disable-user --user 0 com.amazon.firehomestarter"
To get Custom Launcher working.
To restore without reflash:
adb shell "pm enable com.amazon.firehomestarter"
adb shell "pm enable com.amazon.tv.launcher
0815hoffi said:
You must disable
adb shell "pm disable-user --user 0 com.amazon.tv.launcher"
wait 5 seconds
adb shell "pm disable-user --user 0 com.amazon.firehomestarter"
To get Custom Launcher working.
To restore without reflash:
adb shell "pm enable com.amazon.firehomestarter"
adb shell "pm enable com.amazon.tv.launcher
Click to expand...
Click to collapse
Thanks. I wasn't disabling com.amazon.firehomestarter. Works great after that.
Can you post a link to your github?
https://github.com/0815hoffi/FireTV-2k-4k-debloat
0815hoffi said:
https://github.com/0815hoffi/FireTV-2k-4k-debloat
Click to expand...
Click to collapse
Apologies for bumping an old post. Have you seen anybody who has updated your fine work for a firetv2 (sloane)? I have disabled and removed the same files, but can't use the settings. Any APK for settings seem to be for sticks not the old box.
I don't have the skill level to do the required work.
Thanks!
Old FW?
Update to FW 5.2.7.6 or newer and it should work.
Also you must grant root access for the settings App..
0815hoffi said:
Also you must grant root access for the settings App..
Click to expand...
Click to collapse
made it work with
Settings apk Fire TV 2 on Later Fire OS versions
I saw an old Thread about installing a Stock Settings Apk on Fire TV but sadly it doesn't work on new versions, I'm looking to do this because I want to be able to access settings without needing to go into Fire TV launcher and I want to have...
forum.xda-developers.com
You posted an apk and a cmd line to adb. Thanks!

mtk-su root

Hello.
So now we can get root shell on LG Q7
adb push mtk-su /data/local/tmp/
adb shell
cd /data/local/tmp
chmod 755 mtk-su
./mtk-su
Any ideas how to setup root access for apps?
Give me link
I can't have a root shell. When I enter /data/local/tmp/mtk-su it just exits adb shell

Categories

Resources