installation of apk from device via ADB - Android Q&A, Help & Troubleshooting

Hi guys.
I need your help, i'm a noob in this and idk how install a apk on my huawei watch.
i push the apk file to the system directory of the device (because "Casio Watchfaces seems to work only if they are placed in /system/priv-app.So try pushing it to /system/priv-app via TWRP or any Root Explorer") but idk how install a apk. file from device directory. via adb
Thanks.

Related

[Q] Install zip via adb shell instead of cwm

Is there any method to install a modding zip, like SystemUI mod, via adb shell instead of CWM?
You can use tickle my android to push systemui.apk etc ...
Press the thanks button
Sent from my Nexus⁴
"To use Tickle My Android, you will need:
- a rooted Android phone or tablet with USB Debugging enabled and ClockworkMod Recovery installed"
I haven't got CWM, and I don't want to install it to my company phone.
But my phone is rooted. May I install systemui.apk into /system/app and set permissions?
Does it work?
What is the update-binary file in modding zip /META-INF/com/google/android folder?
I can recognize the updater-script in the same directory which is describes the method of the install under CWM. But I don't know what update-binary does.
Update-binary is what provides the functions that updater-script calls. And yeah, you can adb push SystemUI.apk to sdcard, then mount system in adb shell, copy SystemUI.apk to /system and set permissions, then exit adb shell and do adb reboot. I'm not going to into more detail on this because it'll be redundant, as there are many guides on using adb.
Sent from my Desire HD using xda premium

[Q] Need Help

Hello, today I finally rooted my sgh-t989d samsung galaxy and I was trying to install new themes. I found the theme Blue Fire, so I downloaded it and it's a .apk file. But I was just wondering, how do I get the .apk file on to my phone? I've tried searching it, and I usually get a download that shows a command prompt, but it never actually gets the .apk onto my phone. Any help please?
You can install the apk file using adb install (adb is included in the android sdk, usb debugging have to be enabled on the phone) or you just copy the file to the device and install it using any file manager (e.g. root browser).
Maybe you have to enable the installation of apk files from unknown sources in the settings.

[Q] How do I remove ChargerPluggedIn.ogg? [SOLVED]

Hi,
I'm using the last Envi-ROM based in stock 23.0.1.A.0.167 and I would like to disable the charger plugged in notification so I tried to remove ChargerPluggedIn.ogg from /system/media/audio/ui but it says that it's an only read file and I can't do it. I'm root and I tried with RootExplorer, ES File Explorer, ADB (mv, chmod,...) but I'm not able to change the permissions neither the file nor /system folder.
Any idea?
Thanks in advance
So i just changed the permissions of that file with rom toolbox lite to 777 without issues. I also moved it up a directory without issue. Maybe try that app ( https://play.google.com/store/apps/...+lite&pcampaignid=APPU_EaWoVMe9Nce7mwWlnILYCw)
If you still have issues why don't you backup your phone and redownload envi-rom zip. Open the zip and navigate to the file and delete it. Then install that moded zip file and restore your data from the backup?
You can try to remove this file via file explorer in recovery, like for example aroma explorer.
Sent from Xperia Z2
Nope no good. Could only see /system/bin/ no other directories.
Thanks a lot for your comments. I tried toolbox with the same result as the previous tries. With aroma explorer I can only access to /system/bin/. So no luck for the moment. It seems that the only solution is install again the ROM without the file, but I still looking for other alternatives first.
Here is the solution: http://forum.xda-developers.com/xperia-z2/general/4-4-4-sony-ric-killer-t2953141

[Q] Pls Help Installing Es File Explorer with ADB

Hi - Have a Kindle Fire HDX 7 with 13.3.2.1 installed. Brand new refurbed unit.
I have rooted with KFHDX+ToolKit+v0.95 and all went fine.
I also Disabled OTA updates but I'm concerned that the otacerts.zip is still in the /system/etc/security folder. I'd like to move it out of there.
I have confirmed I have root, and want to install Es File Explorer. I have sideloaded the file and tried to install with adb:
C:\Users\davcam\AppData\Local\Android\sdk\platform-tools>adb install /sdcard/Download/ES_File_Explorer_V3.0.4.apk
Invalid APK file: /sdcard/Download/ES_File_Explorer_V3.0.4.apk
I'm afraid to enable wifi and get an unwanted update from Amazon. That's why I want to install ES FM with ADB
Goal is to mv the otacerts.zip file out of it's folder and then install Safestrap-Thor-3.75-os3.2.4-B02.apk and take a backup of stock rom, restore to a new ROM slot and then activate that .
C:\Users\davcam\AppData\Local\Android\sdk\platform-tools>adb shell ls -Ral /system/etc/security
/system/etc/security:
drwxr-xr-x root root 2014-02-07 04:23 cacerts
-rw-r--r-- root root 1337 2014-02-07 04:23 otacerts.zip
Feels like a Catch-22
do I need to chmod the file to 755 or is it a R/W permissions problem?
Have not been able to install any apks with adb.
thanks
thought: do you have to register with AMZ to get OTA updates? Maybe I could get file from 1Mobile.?
adb install only accepts local paths; e.g. those on your computer, not device.
As for otacerts.zip, you don't have to revoke any permissions — just rename it to something like otacerts.zip.old.
EncryptedCurse said:
adb install only accepts local paths; e.g. those on your computer, not device.
As for otacerts.zip, you don't have to revoke any permissions — just rename it to something like otacerts.zip.old.
Click to expand...
Click to collapse
So is it even feasible to install apks on your Kindle using adb? If so can you show me a simple example using the Download folder?
Can I safely do this: ADB install (installs application) -- adb install c:\example.apk ?
EDIT: I tried the above command and it works. I guess you can!
thanks

How to delete file in folder system/etc/permisions with adb

Hi everybody
I have one question about adb
I want delete one file in system and push another file confusederform.xml) how to replace ????
My device full rooted and recovery not work (no commond line)and cant anything install app because dont show anything (memory empty)but my storage is half_full

Categories

Resources