cannt install apk via android terminal emulator - Android Q&A, Help & Troubleshooting

I cannt install apk via android terminal emulator
i have tried
$cd /sdcard
$pm install apk.apk
but i always get this error message
[1] killed

DigitalPerson said:
I cannt install apk via android terminal emulator
i have tried
$cd /sdcard
$pm install apk.apk
but i always get this error message
[1] killed
Click to expand...
Click to collapse
If I am not wrong you have to use SU command first to get root access.If that is not working, Try installing the .apk using a root explorer such as ES File Explorer or File Explorer....

also make sure that install from non market sources is ticked from within settings
Sent from a desire z

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Moving to Q&A

glevitan said:
If I am not wrong you have to use SU command first to get root access.If that is not working, Try installing the .apk using a root explorer such as ES File Explorer or File Explorer....
Click to expand...
Click to collapse
I have tried the same commands from the windows cmd:
Code:
adb shell
$cd /sdcard
$pm install apk.apk
without SU and even the device isn't rooted ,and it works
but it doesn't work when I try the commands directly from the android terminal emulator

I am asking this question because i want to develop a program not just to install apk package

bombadier said:
also make sure that install from non market sources is ticked from within settings
Sent from a desire z
Click to expand...
Click to collapse
yes i have enabled installing programs fro unknown sources
but it doesn't work

try other terminal app.
I use terminal ide. it's cool.

DigitalPerson said:
I have tried the same commands from the windows cmd:
Code:
adb shell
$cd /sdcard
$pm install apk.apk
without SU and even the device isn't rooted ,and it works
but it doesn't work when I try the commands directly from the android terminal emulator
Click to expand...
Click to collapse
If you try it in gingerbread it will work. I have tested it. But on ICS it will not work. It is a bug in ICS su binary or in busybox.

I have tried terminal ide and tried to do the same thing on another device with Gingerbread and on Froyo
I always get the same error message

DigitalPerson said:
I have tried terminal ide and tried to do the same thing on another device with Gingerbread and on Froyo
I always get the same error message
Click to expand...
Click to collapse
I tested on ARHD GB . Which ROM r u using ?

sometimes I get this error message
{
"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"
}

musarraf172 said:
I tested on ARHD GB . Which ROM r u using ?
Click to expand...
Click to collapse
I have tried it on my nexus s with 4.0.3 rooted stock rom
and also tried it on android emulator with 2.2 and 2.3 and 4.0.3
non of them worked

DigitalPerson said:
I have tried terminal ide and tried to do the same thing on another device with Gingerbread and on Froyo
I always get the same error message
Click to expand...
Click to collapse
Interestingly pm install command works on ICS from ADB terminal on PC.

musarraf172 said:
Interestingly pm install command works on ICS from ADB terminal on PC.
Click to expand...
Click to collapse
yes it works from adb on PC
but it doesn't work directly from the android terminal

up up up up

up up up up

I have also tried to do the same thing on HTC Deire with CyanogenMod 7.0 ROM and kernel g37556d9
and I get the same error message:
[1] killed

same here
i am also trying to install an apk from terminal on my phone (htc desire currently trying out an ICS rom). I do not have a file browser so cannot install from that. i do not have adb as i am at work and cant put it on the pc. i do not have market access on my phone because i am on a boat halfway between norway and scotland. so my only option is through terminal.
i have tried the install command, the pm install command, the am start command to get androids built in package installer to do the install and nothing works. i get exactly the same as the screenshot above.
i've also tried inserting the apk into the rom zip then resigning and flashing the rom again and that doesnt work either. the app i'm trying to instrall is es file explorer as this would then enable installing from the file browser.
there really must be a simple way to do this but i cant find one that works.
the closest i got was just using install as with this the icon appeared in my apps list (after a reboot) but the apk was just copied not properly installed so the app didnt work when clicked on.
any help here would be greatly appreciated
cheers
update:
DigitalPerson this may help you too.
i kept trying and then decided to try a different apk, this time astro file manager. the following worked (in ICS on my desire)
su
cd /sdcard
install com.metago.astro_247.apk /data/app/com.metago.astro_247.apk
so the reason is either a problem with the original apk i was using or just the naming convention. i.e. the apk name should be in its "com.company.app.apk" format which can hopefully be found online somewhere.

further update
just some more info.
now that i have successfully installed astro i tried installing the original es file explorer apk from within astro. it worked fine which suggests the apk is fine so it was just the naming convention for the apk that i needed to have right. i havent seen this described elsewhere but i dont think there are many people out there who would have run into this problem. also i'm just learning with android so although my reasoning points to just the name of the apk being wrong i could just have got lucky and it could be something else completely.
anyway i hope this helps someone

Related

where to get jbed aka. java box by esmertec

Hey guys, I'm just wondering where to get that java box for the hero phone ( like in the modaco Rom)
Thanks in advance!
i would also like this, I extracted the apk but i need more then that because it wont run on my friends stock hero.
im an mgmaps user so java is required!
huh, any replies to this? i'm not rooted, stock upgraded rom, can i get java and where can i find a suitable app?
http://lmgtfy.com/?q=jbed+android+apk
first link ... took me 5 secs
alright dudes, here is the tutorial for that.. thought everyone had found it for himself, but okay ;-)
http://home.leakdroid.com/2009/08/31/java-app-for-android/comment-page-1/
keyra74 said:
http://lmgtfy.com/?q=jbed+android+apk
first link ... took me 5 secs
Click to expand...
Click to collapse
yeah, aren't you cute, found that myself, thank you oh-so-very-much....now, this:
adb remount
adb install Jbed.apk or adb push Jbed.apk /system/app
adb push libjbedvm.so /system/lib
adb shell reboot
is French to me....je ne parle pas francais!!!!
so, illiterate as i am, i turned to a forum of experts for a bloody answer....so, once again, thank you oh-so-very-much for providing it
i hope i've embedded enough sarcasm to make you realize you haven't helped a bit!
{
"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"
}
1. Download this
2. Start a shell (i prefer adb shell), and type the following (each line confirmed with the return key)
Code:
adb remount
adb install Jbed.apk or adb push Jbed.apk /system/app
adb push libjbedvm.so /system/lib
adb shell reboot
Ready to take off with Java!
suisen said:
yeah, aren't you cute, found that myself, thank you oh-so-very-much....now, this:
adb remount
adb install Jbed.apk or adb push Jbed.apk /system/app
adb push libjbedvm.so /system/lib
adb shell reboot
is French to me....je ne parle pas francais!!!!
so, illiterate as i am, i turned to a forum of experts for a bloody answer....so, once again, thank you oh-so-very-much for providing it
i hope i've embedded enough sarcasm to make you realize you haven't helped a bit!
Click to expand...
Click to collapse
They helped you out to much if you ask me...
Don't forget that this is a development sub-forum! If you don't understand the things mentioned here you should post your question in the general forum where they could help you out step by step.
does not work with the new rom release(rooting was no problem with flashrec and does work)
ginchiller said:
does not work with the new rom release(rooting was no problem with flashrec and does work)
Click to expand...
Click to collapse
in modaco it is already included, with normal rom it works (tested and using it)
that is just a proof that it is working in the new release, but how could it be installed without flashing to modaco?
maybe by reading this thread?
http://forum.xda-developers.com/showpost.php?p=4545215&postcount=7
yeah,...thanks... but as i said this method is not working with the new rom...
i figured out how to install it on the new rom!!!
as i said i have allready rooted it with this tutorial
Flashrec
so i had the cm-hero-recovery.img on my phone again
i restarted the phone holding POWER+HOME (not power+back)
then i typed in the following commands into the cmd (be sure that you have the Jbed.apk & libjbedvm.so in your android sdk tools folder)
Code:
adb shell mount /system
adb push Jbed.apk /system/app
adb push libjbedvm.so /system/lib
adb shell reboot
and after the reboot there it should be, i hope i could help someone with the same problem
Worked perfectly ginchiller ty
Is there a way to fullscreen mode?
I have installed the new opera mini but it has bugs with landscape.
Without landscape its ok but I want it in fullscreen...
for those j2me apps i tried yet, fullscreen works perfectly
How to install applications? When i run jbed i see sdcard folder. What i have to do?
close jbed, open a file browser, goto the folder where you stored the java-program (*.jar) and open/execute it with jbed (just open it, normally after a successful installation of jbed, jbed will pop up)
ohh, i will try another file manager because when i tap on .jar file in SUBFS its try to extract files not execute)))

Photon Flashing and Rooting and ADB Issue

Hey everyone,
I'm trying to install adb on my computer running Windows XP and I'm getting the error message "Daemon not running, starting it now on port 5037; ADB server didn't ACK; failed to start daemon; error: cannot connect to daemon"
Now, I've set up adb just like this thread http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/ told me to.
I've also tried stopping my anti-virus and my firewall is not running so as far as I know, the port 5037 is not blocked. I've killed adb.exe and all instances and restarted phone and computer. Any help on how to resolve this?
Swiftly sent from my rooted Photon
What are you trying to use the adb for?
To push my photon-torpedo.tar file to /data/tmp so I can root my phone. I lost root after I installed an update and I had used a different computer with adb the last time. In desperate need to get this going lol. The latest OTA won't install due to error: /system/app/booksphone.apk
Swiftly sent from my rooted Photon
I have a question, and a couple ideas.
Do you have access to a computer at this point in time?
And if you can, just download terminal emulator. Same thing as the adb you're trying to install.
If you have a computer, save the Photon Torpedo file into a folder on your desktop, Then shift right click and run in command prompt. :] That should fix it. If all that doesn't work, try the AIO one click method.
http://forum.xda-developers.com/showthread.php?t=1217416
Hopefully those things will get you going.
I get permission denied when trying to push with terminal emulator (I typed cp /sdcard-ext/photon-torpedo.tar /data/tmp) and will the oneclick method work if I'm getting the error for adb?
Edit: I have superuser and busybox installed.
Swiftly sent from my rooted Photon
{
"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"
}
Here is a screen shot of terminal emulator attempts
Swiftly sent from my rooted Photon
I would say try it from a computer then. If you have access to one. That is probably going to be your best bet. Unless someone else has an idea. I've never tried to root from my phone directly, I've always done it with the command prompt on the computer.
Ok. But again, will the oneclick method work if I'm getting the error message for adb? Also, you don't know what would fix the error?
Swiftly sent from my rooted Photon
I believe you are getting the error message because you are trying to do it from your phone. The way I have my root folder set up is with moto fastboot extracted. And the photon torpedo file zipped and put in there. So if you wanna run it via command prompt, try that. It may be failing though because you don't have the fastboot file included. That is necessary I believe. But don't quote me. I just know everytime I've rooted again, I had no issues with that setup I mentioned above. Try that. And let me know if it works.
Edit..
I seem to recall not being able to access files unless you set them to "Run As Root" so that could also be your issue doing it from your phone.
Even though the error message on OP is coming from command prompt? And how do I set to "Run as Root"? Never heard of being able to do that before, I think.
Swiftly sent from my rooted Photon
The error is coming from trying to install the adb in the OP though, correct? And as I said, if you follow those instructions, it SHOULD work. If not, try the one click method. If those don't work. Then let me know, and I'll ask around. Cause those are the only ideas I have.
Ocr should work because the necessary adb files are in the .zip, just run the .bat
Sent from one focused MoPho
Thanks. I stepped away from the computer last night to watch the Cardinals win the NLCS lol When I get home tonight, I'll try the OCR method. And come to think of it, I seem to recall having to place additional files in either the tools or platform-tools folder; yet, the instructions did not lead me to do this.
Swiftly sent from my rooted Photon
Tried running OCR. Got the daemon not running error
Swiftly sent from my rooted Photon
Okay. Reboot your phone. Try again. If not try another USB port. If no on all those try a different cable. If still no. Then you got me.
Sent from my Photon via XDA
It's gotta be something with the computer i imagine
Swiftly sent from my rooted Photon
Also, trying to use rsdlite to flash the sbf. Rsdlite is not seeing the sbf file in its file browser. Is this a 64 bit driver issue or do I need a different version of rsd?
Swiftly sent from my rooted Photon
Still nothing? Hm. What verison of RSD are you using? But that shouldn't matter. Not sure what to tell ya Man. That is weird.
Sent from my Photon via XDA
Using RSDLITE 4.5.3 I just can't figure this stuff out. Every time I think I have things working, I run into another error.
Here is the bottom line:
-My phone was rooted.
-I installed [root] talk for video chat which modified my build.prop file
-I received notification of a new update with google talk video chat
-Update failed.
-Attempted wipe to get it to install. No luck
-Realized it was because of the build.prop but lost root in the process of wiping
-Had to get root back to replace the modify build.prop file
-Did that by reinstalling superuser and running terminal emulator commands
-Tried update again
-Success
-Another prompt for an update
-Failed due to /system/app/booksphone.apk
-No more root due to last update
-Need root to convert google books to system app which must have been changed while rooted
-Terminal emulator commands get permission denied at /bin/tar xf /data/tmp/photon-torpedo.tar
-ADB gets "adb server didn't ACK" error while running normal adb and one click root
-Rsdlite won't find the sbf file i downloaded so I can reflash everything back to stock
So that's my process so far.
Any other thoughts on the matter would be greatly appreciated.
Swiftly sent from my rooted Photon
This is my latest effort using Terminal Emulator
Swiftly sent from my rooted Photon

[PORT/MOD] SmartActions app Port 12/13/12 v0.2.4

The very first Smart Actions Port v0.1.2(12/13/12)
Ported from Droid Razr MAXX VRZ_XT912_6.7.2-180_DHD-16_M4-31_1FF
Requires ICS
Has not been tested on JB. (Should work)
All rooted devices should work.
Miui doesn't seem to work, you can try it
{
"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"
}
Install:
1. Download Here
2. Do a nandroid backup
3. Extract and run bat file in windows
4. Enjoy
Alternate method:
1. Open command prompt
2. Do a Nandroid backup
3. Extract zip
4. In Command Prompt explore to adb location and type:
Code:
adb remount
5. Then:
Code:
adb push [drag and drop system folder from extraction location] /system
ex.: adb push C:\Users\Joe-Acer\Desktop\SmartActions\bin\system /system
6. Reboot
Code:
adb reboot
Do not update from market, WILL BREAK IT
Known Bugs, Not working:
1. Location conditions
Code:
Change log:
v0.1.0:
Initial Release
v0.2.3
Released to Public
v0.2.4:
Fixed wallpaper (Only limited to RAZR wallpapers)
Added:
homescreen
LiveWallpapers.apk
MagicSmokeWallpapers.apk
NetworkLocation.apk
SocialShare.apk (not tested, more like public test)
How to use SmartActions:
PM me questions
If you want to integrate this into your rom be sure to PM and credit me.
Hmm what's this?
(First...)
from my E3D
tatnai said:
Hmm what's this?
(First...)
from my E3D
Click to expand...
Click to collapse
Heard of tasker, like that but more reliable, in my opinion anyway
How do I install this from my phone...
donbudafuko said:
How do I install this from my phone...
Click to expand...
Click to collapse
copy the files from bin/system to /system... need a root file explorer to copy the files... then reboot
Would it be possible to get some screenies?
Sent from my PG86100 using Tapatalk 2
Many people don't understand this.
Would be great if you do a "How To" w/Review video.
That would be great.
Looks very interesting thanks for this
Sent from my PG86100 using Tapatalk 2
joekp said:
copy the files from bin/system to /system... need a root file explorer to copy the files... then reboot
Click to expand...
Click to collapse
What root explorer do you use? I tried Astro and it did not let me write the files to the directories, gave me errors every time, and when I tried individually it said could not write also.... Going to look for another root explorer
Redneckhightech said:
What root explorer do you use? I tried Astro and it did not let me write the files to the directories, gave me errors every time, and when I tried individually it said could not write also.... Going to look for another root explorer
Click to expand...
Click to collapse
Esfilexplorer and go to settings and check all three checkmarks under root
joekp said:
Esfilexplorer and go to settings and check all three checkmarks under root
Click to expand...
Click to collapse
You may need to make sure that the permissions are set right. ES will change them. Just long press the files, go to properties, then change the permissions.
So we copy each of the files in the /system directory of the smartactions folders into their respective folders in the phones /system?
for instance there is a folder for the app, all of those files go into the /system/app folder of our phones?? etc...
Roxxas049 said:
So we copy each of the files in the /system directory of the smartactions folders into their respective folders in the phones /system?
for instance there is a folder for the app, all of those files go into the /system/app folder of our phones?? etc...
Click to expand...
Click to collapse
Yes
As soon as I set up a rule it force closes, and then continues to do so each time. I'm using a standard PA JB rom.
Roxxas049 said:
As soon as I set up a rule it force closes, and then continues to do so each time. I'm using a standard PA JB rom.
Click to expand...
Click to collapse
OP clearly states "requires ICS".
ZWYATT said:
OP clearly states "requires ICS".
Click to expand...
Click to collapse
To be fair, it also says "Has not been tested on JB. (Should work)".
ramjet73
ZWYATT said:
OP clearly states "requires ICS".
Click to expand...
Click to collapse
Check the play store for update
Roxxas049 said:
As soon as I set up a rule it force closes, and then continues to do so each time. I'm using a standard PA JB rom.
Click to expand...
Click to collapse
Check the play store for update might fix it
Update worked for me... No fc so far
there is another app in the play store that basically operates the same way. https://play.google.com/store/apps/details?id=AutomateIt.mainPackage&feature=search_result#?t=W251bGwsMSwxLDEsIkF1dG9tYXRlSXQubWFpblBhY2thZ2UiXQ.. its called automateit. Good job with the port.

[TOOL] Android Wear APK Tools: Sideload and Uninstall Apps to Android Wear

Android Wear APK Tools:
A GUI application which allows you to install any APK straight to your watch (via adb) or uninstall any non-protected package directly. Much more convenient than doing it through the adb command line.
Screenshot:
{
"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"
}
How to use:
Download Link: HERE
Windows:
Unzip Android-Wear-APK-Tools.zip, and run Android-Wear-APK-Tools.exe
Linux:
Run the following command in terminal, and then open AndroidWearAPKTools.py
Code:
sudo apt-get install python-tk
Mac:
Install Python from here, then run AndroidWearAPKTools.py
_________________
Connect your watch to your computer, enable ADB Debugging on your phone and your watch, and make sure ADB and the drivers are set up on your computer.
Nice
Awesome little tool. Downloading right now.
Great little tool. Simple C25K side loaded :thumbup:.
Works great! Thank you
crazyeats said:
Works great! Thank you
Click to expand...
Click to collapse
what are some apps that can be sideload and work on the watch
Sent from my LGLS990 using XDA Free mobile app
mrkrabs said:
what are some apps that can be sideload and work on the watch
Sent from my LGLS990 using XDA Free mobile app
Click to expand...
Click to collapse
Apps that work and are actually uesufll IMHO:
-terminal emulator
-qqplayer (warning, sideloading any video player will break wear mini launcher if you use that, contacted the developer and hoping he will fix it)
-MiXplorer (not in play store, from xda, crashes on exit but otherwise works great, much easier to use as a file explorer than es file explorer because it has list view
-es file explorer (I use it for the music player, text editor and to install apps in one click-can only be done with root-because it is kinda hard to install apps via terminal)
-astro bluetooth module (read my guide thread in the general forum if you want to find out what I use it for, might also help you
Also you can try apps but they will most probably not work if they use any kind of holo theme because AFAIK wear has holo removed.
Thanks for the great tool.
FYI, PerfMon works great.:good:
http://forum.xda-developers.com/showthread.php?t=1933284
mrkrabs said:
what are some apps that can be sideload and work on the watch
Sent from my LGLS990 using XDA Free mobile app
Click to expand...
Click to collapse
Google keyboard. Need to reboot phone after install. Works with wear messenger.
Sent from my LG-VS985 using Tapatalk
I have a oneplus one and for some reason it will not allow the store version of android wear to install. Will this apk do the trick?
26.2man said:
I have a oneplus one and for some reason it will not allow the store version of android wear to install. Will this apk do the trick?
Click to expand...
Click to collapse
I have the OPO and did not have any problem installing the android wear app.
hum my adb drivers are good, but the app still won't do any thing. i press conect to watch does nothing....
reggiexp said:
hum my adb drivers are good, but the app still won't do any thing. i press conect to watch does nothing....
Click to expand...
Click to collapse
Same here...the LOG says: IndexError: list index out of range
@DaRusko
yeah i don't know how adb works so this app would be cool. guess i will need to find a thread where they explain how to push apps to watch
@nagasgura
Hey any updates? It won't do any thing. I just rooted my watch unlocked. And your app won't find watch or conect. Im to lazy to use adb. It isnt to hard but a app is easier
reggiexp said:
@nagasgura
Hey any updates? It won't do any thing. I just rooted my watch unlocked. And your app won't find watch or conect. Im to lazy to use adb. It isnt to hard but a app is easier
Click to expand...
Click to collapse
Do you have adb in your environment path?
nagasgura said:
Do you have adb in your environment path?
Click to expand...
Click to collapse
That means what? (bit of a noob in script things i mostly use tools for things, it isnt hard if some one makes a tutorial but without i don't understand most of it)
google doesnt help much explainig what adb environement path is...
its not working
I got the tool to work. Tho I used it to push minuum keyboard apk to my watch. but i then used adb in cmd to do the rest of the installation, so yea might as well started there. But now that I have this tool working I can easily push other apk's in the future.
follow this tutorial.
http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
After you extract the zip, then you extract the Android-Wear-APK-Tools zip. Inside the same folder that contains the AndroidWearAPKTools.exe, copy and paste the adb files which I uploaded to my dropbox here:
https://www.dropbox.com/s/fztjfh3qq5bftlc/Android-Wear-APK-Tools-adb-files.rar?dl=0
After that it will connect to your watch every time.
spc_hicks09 said:
After you extract the zip, then you extract the Android-Wear-APK-Tools zip. Inside the same folder that contains the AndroidWearAPKTools.exe, copy and paste the adb files which I uploaded to my dropbox here:
https://www.dropbox.com/s/fztjfh3qq5bftlc/Android-Wear-APK-Tools-adb-files.rar?dl=0
After that it will connect to your watch every time.
Click to expand...
Click to collapse
you are my hero edit dude is it normal that my ADB doesnt open any more? im trying to install minimum but i can't open adb....
i can install apps no problem but adb won't open....
found it on google. im big noob XD

How To Guide How to give any app WRITE_SECURE_SETTINGS without a computer or root

DISCLAIMER: This guide works on any phone with Android 11 or newer. Previous versions do not have wireless debugging so this is not possible.
Hey all! In this short guide, I will be showing you how to give any app the permission "WRITE_SECURE_SETTINGS" without needing to connect to a computer.
For this guide, I will be using System UI Tuner by Zachary Wander as my example app.
First, download and install Shizuku. This is a wonderful app that allows system API access directly without needing to root your phone.
Once you've installed Shizuku, follow the steps to start it through the wireless debugging method. You will only need to pair once as long as you don't reinstall the app.
DISCLAIMER: Shizuku will need to be restarted if you restart your phone but it's just a matter of re-enabling wireless debugging and then clicking "Start" in the Shizuku app.
Next, we're going to install Termux by Fredrik Fornwall. Simply open the app once, wait for it to finish installing, then leave the app.
Now, re-enter Shizuku, and click the button that says "Use Shizuku in terminal apps".
{
"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"
}
Then click "Export files".
Afterwards, make a new folder, and call it "Shizuku".
Finally, click "Use this folder".
Almost there!
Head over to Termux, and type:
Code:
pkg install nano
This installs a text editor that we will use to edit our Shizuku config file.
While it's installing, go to Termux's app info, and change the permissions to allow it access to all files. This will allow it to see the folder we made earlier.
Go back to Termux, and after nano is done installing, type the following:
Code:
cd /sdcard/Shizuku
nano shizuku
Once inside the text editor, press the CTRL key on Termux's key bar, and press the "\" key on your keyboard.
Now, type "PKG", press Enter, then in the next field, type "com.termux".
Now, tap "a", tap Ctrl+X, tap "y", and you're done!
Whenever you want to authorize an app with "WRITE_SECURE_SETTINGS" simply open Termux, cd to "/sdcard/Shizuku", and type:
Code:
sh shizuku pm grant <package name here> android.permission.WRITE_SECURE_SETTINGS
You will only have to do this once per app as long as you do not uninstall it.
Have fun!
So this broke my brain just a bit (it's been one of those days) however if I am reading it correctly this will give some apps a pseudo root.
alarmdude9 said:
So this broke my brain just a bit (it's been one of those days) however if I am reading it correctly this will give some apps a pseudo root.
Click to expand...
Click to collapse
Sort of, it's the highest permission you can give an app without rooting your phone.
Does it allow you to say debloat the phone or things like that?
alarmdude9 said:
Does it allow you to say debloat the phone or things like that?
Click to expand...
Click to collapse
I'm not sure I haven't tested it that far but you can access all app data folders with it so maybe?
alarmdude9 said:
Does it allow you to say debloat the phone or things like that?
Click to expand...
Click to collapse
I'm not sure I haven't tested it that far but you can access all app data folders
Hmmm have to get some time to try this. Adulting sucks.
Hello, so I'm stuck on the /sdcard/
I dont have one is just on internal storage Shizuku folder... How do im supposed to type it
Does Shizuku still work with the N200 after the November update?
I was able to get everything setup to the last step where I grant packages write permissions, but every package I name returns 'pm: no such file or directory'.
If I use Termux to try to navigate to /SD card/Android/data i get 'cannot open directory: permission denied'. I'm wondering if Termux can even access the apps to give them elevated permissions?
Finnzz said:
Does Shizuku still work with the N200 after the November update?
I was able to get everything setup to the last step where I grant packages write permissions, but every package I name returns 'pm: no such file or directory'.
If I use Termux to try to navigate to /SD card/Android/data i get 'cannot open directory: permission denied'. I'm wondering if Termux can even access the apps to give them elevated permissions?
Click to expand...
Click to collapse
I have same error

Categories

Resources