General :: Silent Install / Uninstall Using ADB Shell

Feb 13, 2013

I am completely lost in trying to implement a silent install-from-apk-file and unistall-package-name by using the adb shell command 'pm'.

I'm doing the project in Eclipse, emulator 2.2, rooted (tested during runtime using RootTools.isRootAvailable()).

Here is the relevant code:

Code:
@Override
public void onClick(View v) {
switch (v.getId())
{
case R.id.btnInstall:

[Code] ......

In the code above I have hardcoded the command for the case 'R.id.btnInstall' to make sure there's no typo, but I get a return value of 9 from install.exitValue().

General :: Silent install / uninstall using ADB shell


General :: Install Zip Via ADB Shell Instead Of CWM

Jan 29, 2013

Is there any method to install a modding zip, like SystemUI mod, via adb shell instead of CWM?

View 3 Replies View Related

HTC Incredible :: Uninstall App With Titanium Different Than Moving With ADB SHell?

Aug 31, 2010

Just curious. If I am using a deodexed ROM and uninstall a "stock" app with Titanium, is the end result of less bloatware etc any different than using mv to apps.disabled via ADB?

I have started using Titanium for its simplicity and not needing to connect to my PC but I want to use whatever is best.

View 3 Replies View Related

Android :: Silent Uninstall Of Multiple Apps

Oct 12, 2010

Had android phone for about three weeks. Samsung Galaxy S (T-Mobile UK) Loving it to bits, but as per usual there have to be "but's". so, BUT, i hate uninstallation procedure and how you cannot uninstall stuff without going through millions of annoying "are you sure", "done", "ok" buttons. It's a problem because, as should be expected, i jumped into app downloading pretty deep. So now i have boatloads of stuff needing uninstallation and the process put me to sleep yesterday, very literally. I haven't even gone fifth of the way to intended uninstallation target. Got some apps that supposedly do batch uninstall, but you still have to mash, "uninstall" and "done" buttons for every single uninstalled app, which kind of defeats "batch uninstallation" purpose. Any ideas on the app, where i can select, push "uninstall" and forget about the rest? I do understand the risks, btw, you dont have to tell me.

View 1 Replies View Related

Sony Ericsson Xperia X1/X2 :: SPB Mobile Shell - Uninstall

Jul 14, 2010

Did anyone try to uninstall the SPB Mobile Shell From The X2 ?

Do you think this will give more speed to the Phone?

View 1 Replies View Related

Samsung Captivate :: Install Profile Timer / Cannot Exit Silent Mode

Oct 8, 2010

I have a Captivate I was running with out of the box software. I installed a profile timer to control sound (mainly because of the "fully charged" notification going off of a night). Since I installed it, I have not been able to get my phone out of Silent Mode. If I long-press power to get the Phone Options menu and Silent Mode is enabled, then I disable it, I get the Silent Mode icon in the notification bar and Silent Mode in Settings is checked, but shows as "Off" in Phone Options. If I turn off Silent Mode in Settings, then it shows as off in Settings, but "On" in Phone Options.

Because of this, the phone is always silent. I did a hard reset, but that did not straighten it out. I've also tried a couple of different widgets to force it to ring or vibrate, but I'd like to actually get the problem resolved. I even did the upgrade to Froyo 2.2 to see if that would fix it, assuming a whole new firmware would straighten it out. It worked until I restarted the phone, but then went back to the out of sync Silent Mode settings.Does anyone have any suggestions?Thanks, Mark

View 5 Replies View Related

Samsung Galaxy S :: Skype Won't Install After Uninstall

Dec 1, 2010

I updated my Galaxy S to froyo (2.2) from the Samsung official website.I've managed to install skype and login, Everything worked fine. But the battery was draining the whole time, So i uninstalled it.It got uninstalled, But now i cant install it again.I may have uninstalled while skype was on.

View 2 Replies View Related

Motorola Droid X :: Can't Install / Uninstall Facebook App After Theming - What To Do?

Nov 12, 2010

I just rooted, deoxed, and themed my X using the 928 black glass method in the sticky.

Everything went perfectly.

After the blackglass theme went through, I changed it to the nextheme, and again, everything went perfectly except that the facebook app was still using the blackglass theme.

Now, I cannot uninstall the facebook app (says "uninstall unsuccessful") and I cannot update in the market (says: "installation unsuccessful"; although it downloads just fine).

I tried using root explorer to go into systems/apps to delete facebook.apk, which worked, but I still can't install the new facebook from the market.

View 10 Replies View Related

Samsung Moment :: Uninstall Drivers - Unknown Install Error

Aug 19, 2010

I'm having trouble with the drivers, just like many others. Now, when trying to uninstall so I can reinstall, I get: Unknown install error. Contact to distributors. Then when I click OK, I get: Fatal error during install.

View 4 Replies View Related

Android :: How Phone Implement Copy-as-install / Remove-as-uninstall?

May 17, 2010

If an apk were copied to /data/app, android would install it automatically; and if an apk were deleted from /data/app, android would uninstall it automatically. How does android implement this? with i notify? where is the related codes?

View 2 Replies View Related

Android :: Write A Front End Program To Install And Uninstall An App Over Android Device

Jul 16, 2010

By "Program", I mean a desktop front end for installing/uninstalling apps on a phone.Can u please help me out from this? I am not clear what to do ?

View 1 Replies View Related

Android :: Write A Program To Install And Uninstall An App Over Android Device

Jul 15, 2010

I want to write a program which can install and uninstall an application over android device.As these features are provided over android device,but from where should i start and which files are required to be seen to develop my own application.

View 1 Replies View Related

General :: TSF Shell Like Folders?

May 15, 2013

if there is an folder app or a way to get the cool folders from TSF SHell with their nice animation or feature to pull out the apps with a wipig gesture?

View 1 Replies View Related

General :: Wallpapers Of TSF Shell?

Sep 13, 2012

Some directory of the Wallpapers of TSF Shell?

I want set one as my lookscreen.

View 3 Replies View Related

General :: Use SU From Within Shell Script?

Jul 20, 2012

i want to run su -c "chroot some/folder /some/script" from within a shellscript but it just does nothing for a moment and fails then. it works if i run it directly from the shell or if i am already root.

View 2 Replies View Related

General :: Installing App From CWM Via Shell Command

Nov 8, 2012

The latest version of Google Now (2.1) doesn't like being flashed. If you flash it via CWM it seems to break voice search functionality, causing a force close.

Playing with the adb shell, I discovered that the pm install command works nicely:

Code:
pm install [APKNAME].apk

So, I thought this would be perfect to execute in a shell script via CWM/Edify.

So far I've tried all manner of commands. First I was trying the above command in a install.sh file, before I realised that "pm" wasn't present anywhere in /sbin/ (the header of my shell script is #!/sbin/sh").

So, I've tried this:

Code:
#!/sbin/sh
exec /system/bin/pm install data/media/install/Velvet.apk

Here is the update script:

Code:
ui_print("Mounting system...");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Mounting data...");
run_program("/sbin/busybox", "mount", "/data");
[Code] .....

Which, copies the files correctly. This also isn't my first time running scripts in my installer, but this is the first time I've attempted this. To no avail. This same command works in the adb shell, though.

Also, is there another way of flashing that may work? I heard about putting the original file ("Velvet.apk") in /system/app and then putting the updated version in /data/appcom.google.andorid.googlequicksearch-1.apk but this doesn't work either.

Running the above script in Busybox installer's script running function also works perfectly. The only thing it won't do is install from CWM.

View 2 Replies View Related

General :: TSF Shell Theme Not Appearing

Jun 25, 2013

i have created a TSF Shell theme and is working perfectly on my device. However, the same is not the case when installed from Play Store. The theme refuses to show up in TSF Shell themes.

View 2 Replies View Related

General :: Using VIM To Know Terminal Height Via ADB Shell

Feb 11, 2012

Cyanogenmod 7.2 has vim (and nano) installed, but when i use vim, the full size of my terminal is unused, and the cursor position and what is displayed become asynchronous. I have tried setting TERM=linux and TERM=xterm (I'm using OS X terminal which emulates an xterm), but neither get me a working vim. vi, which is part of busybox works fine. nano also fails to use the height of my terminal window, and additionally the enter key is broken.

Any way config to get a working vim using android?

View 1 Replies View Related

General :: How To Use SCP From Android System Shell

Nov 8, 2012

I have an Amazon Kindle and the SGS2 which I take out and about with me.

I want to be able to transfer documents to and from the phone and Kindle (already got SSH access to the Kindle over WiFi) while out and about.

My phone is rooted and I've installed dropbear SSH. I can use connectbot to SSH into the phone locally but the shell I'm presented with doesn't see `scp`. I believe this is supposed to be included with dropbear? How do I get scp from this shell?

The reason I'm looking to do it all from a root shell on the phone is becuase I believe this is the only way to get access to the clients connected to the virtual access point. Hence I'll be able to:

be in the middle of the desert, create a WiFi tethering hotspot with the phone (though it has no signal), connect the Kindle to the phone via this access point, get a root shell on the phone and scp documents from the phone to the Kindle.

I believe I am as far as this final step but need an extra kick to get me there. Perhaps I need to install another shell?

View 3 Replies View Related

General :: SBP Shell Widgets In Other Launchers

Feb 8, 2012

i am using spb for a long time.but there are many other cool, clean launchers which do not need as much cpu/ram.so i do not need most of the spb thinks. i do not use most of the spb widgets.but i really really love the 3d sms and 3d birthday widget.

It is not possible to get widgets running outside there own launcher.i searched the web for a really long time to find widgets which are looking as cool as this 2 widgets.tell me such widgets so that i can drop spb and use it in an other launcher?

View 4 Replies View Related

General :: How To Create TSF Shell Theme

Mar 29, 2012

is there any tool for creating TSF Shell theme ? (like go theme factory)

View 1 Replies View Related

General :: No Silent Ringtone On Android 4.3?

Mar 25, 2014

I have a Google Nexus running Android 4.1

I can set default ringtone and default notification both to silent so only people with custom ringtone can make my phone ring

I just got a Note 3 running Android 4.3

When I go to set the default ringtone there is no 'silent' option. Under default notification I can set that to 'none' which is the same as silent but there is no 'none' option for ringtone.

Can I set default ringtone to 'silent' or 'none' with Android 4.3 ?

View 2 Replies View Related

General :: Nand Recovery Via ADB Shell Fastboot

Nov 6, 2011

HTC sensation blackscreen, trying to flash a nand backup. ADB, fastboot and Shell working.

I got into shell, can #ls that directory ok ..#cd sdcard... try to #ls sdcard or any other folder and will not show content. Im not up with linux commands. I believe I am missing a mount command somewhere.

What Im after is the location of backup folder so I can see the filename of the nand backup to restore in fastboot. And the commands necessary to restore a nand backup via adb, shell or fastboot.

View 9 Replies View Related

General :: Shell Has Been Granted Superuser Permissions?

May 1, 2014

What does this mean? is it normal? i have it showing up quite a few times in my superuser logs. like, several times within a minute. today is the first day. been running this rom for about a week.

I read that disabling usb debugging will stop it, but thats already disabled...

I am running dmans stock ics for samsung captivate glide.

View 2 Replies View Related

General :: Recovery Shell In Chinese Tablet?

Nov 30, 2012

I have chinese tablet, probably it's a any product of MID, becouse on start appear MID logo, perhaps it's only firmware from MID devices. At the back I can see m70008 maybe it's version of tablet. That tablet was blocked by too much write bad pattern and don't know google e-mail. So I tried do wipe data via adb, and probably I do wipe all . Tablet stuck on bootscreen, and system don't start. If I try run shell via adb I get error "- exec '/system/bin/sh' failed: No such file or directory (2) -"what I have to do ?.

View 1 Replies View Related

General :: How To Make Bash The Default Shell On ICS

Jul 2, 2012

I'm using ICS (AOKP with some CM9 patches). I'd like "adb shell" to bring up bash instead of mksh. Is there any way to do this? I tried linking /bin/sh to `which bash`, but that caused system problems--I lost USB debugging completely and had to restore from nandroid backup.

View 2 Replies View Related

General :: Execute Shell Commands From Tasker?

Jan 14, 2014

I am trying to create a tasker automated thing, which would show a scene which will have a button to execute a shell command (The command should be executed as root). how to do it?

Code:

reboot recovery

View 1 Replies View Related

General :: Shell Command To List Files In APK?

Jun 17, 2013

I'm trying to unzip an apk using the device shell. I need to see the package name of the app contained in the apk. I tried using unzip -l but I just get output that says "zip flags 1 and 8 not supported". How can I unzip an apk? For that matter, am I using the right tool for this job? I just want to view the manifest of the apk, really. I have busybox.

View 4 Replies View Related

General :: How To Switch Bluetooth Adapter On And Off From Shell

Dec 31, 2012

Are there commands to switch the bluetooth adapter on and off from the shell? Googling has turned up nothing in particular.

(If it matters, I'm using a Galaxy Nexus, and trying to put together a script to cycle my bluetooth adapter on boot.)

View 1 Replies View Related

General :: Copy Files From Device To PC HDD Via ADB Shell

Sep 18, 2013

I am having trouble finding the right command to copy a file from a device via adb shell to my pc. I tried -mv- but that just renamed it.

Code:

mv Camera c:/camera
renamed to c:camera

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved