[Q] How to update sideload apps with adb? - Barnes & Noble Nook Tablet

Hello,
I have been sideloading apps from Amazon Appstore using the ADB method onto the Nook Tablet (v1.4.2). It works well. However, when an updated version of the apps shows up, I have to completely uninstall it and re-install using ADB. Settings and info from previous version are lost.
So my question is: Is there a way to update an adb installed apps without losing the info from existing installation?
I recently uninstalled the Amazon Appstore and re-installed with a more recent version (using adb). Something happened to the sd card during the un-installation (I think it has to do with the amazon appstore directory (android/data/com.amazon.venezia is deleted). Afterwards, I cannot access B-N's store or account any more (internal error: exception executing the command) Evernote seems to crash from time to time too (issue accessing database file). The "update" Amazon Appstore seems to be working. I don't know if these are related.
Any idea on these 2 questions?

why don't you root it? you'll have access to Google play store (android market), then if you want you can install amazon appstore, and do whatever you want

nook_user said:
Hello,
I have been sideloading apps from Amazon Appstore using the ADB method onto the Nook Tablet (v1.4.2). It works well. However, when an updated version of the apps shows up, I have to completely uninstall it and re-install using ADB. Settings and info from previous version are lost.
So my question is: Is there a way to update an adb installed apps without losing the info from existing installation?
I recently uninstalled the Amazon Appstore and re-installed with a more recent version (using adb). Something happened to the sd card during the un-installation (I think it has to do with the amazon appstore directory (android/data/com.amazon.venezia is deleted). Afterwards, I cannot access B-N's store or account any more (internal error: exception executing the command) Evernote seems to crash from time to time too (issue accessing database file). The "update" Amazon Appstore seems to be working. I don't know if these are related.
Any idea on these 2 questions?
Click to expand...
Click to collapse
As for your question of sideload apps, I'm not sure but I can install updates without uninstall in most cases.
Everything else you mention points toward the SDcard as a problem. If it were me I'd backup everything on the sd to your computer, reformat the sd and copy everything back from computer to sd.

Thanks for your replies.
FYI, my NT is not rooted and I have to use 'adb' to update. Normal update process does not work. After digging a bit more, it seems that "adb install -r" (re-install) option may just do the job for updating. I will try that this weekend.
As to the issue with connecting with B-N store. I don't think it is the issue with the SD card. I completely unmounted and removed the SD card, rebooted, and still cannot access BN store. I don't think that contacting BN store requires the SD card.

If you originally installed an application via adb, and you want to update that application to it's newer version via adb, while keeping its data and settings, use the following code:
Code:
adb install -r <packagename>.apk

adb install -r "packagename.apk" it should work

Related

Cannot install apps from amazon app store

I have the amazon app store installed on my Nook tablet but none of the apps will install (tried 5 different ones). I keep getting the following error message:
'The application was not able to install onto your device. Please "Archive" and then "Unarchive" the application to try again.
I obviously have allow unknown sources checked and also have a 8 GB Micro SD card installed which the Nook tablet recognizes. Any ideas on why I am getting the error message above? Thanks for any suggestions.
Are you doing App Install or Package Install? If anything, try re-installing the Amazon Appstore. Good luck
By any chance, are these apps that you bought and installed previously on another device? I had that problem with the Kindle app but not with a couple of others. I tried one or two other methods too, and finally had success getting Kindle from a free software website.
did you try resetting the nook? i didnt have the EXACT same issue but i did have issues downloading things and a simple reset fixed all of that for me. i still have things that say "this is not compatible with your device" which is crap because i sideloaded the .apks of the same apps that WERENT from the amazon store and they worked just fine.
That sounds like what happens when you use app installer rather than Package Installer.
Sent from my BNTV250 using xda premium
I've just rebooted my nook Tablet to see if that fixed my problem, which is the same as the OP's except I haven't been able to install ANY .apks after setting the "allow 3rd party apps" checkbox.
Specifically, I'm trying to get mobovideo to install, also four or five other video players, and Amazon Marketplace. I can download all of these no problem, but when I click on the download it tells me it can't install and says something about trying to "Archive then Unarchive" the file and try again. Which I would try if I knew where downloaded .apks go...I did find my second Am Market download (fat fingered the install so downloaded twice) under My Downloads, but the only option I get when I touch it is "Delete".
I'm downloading all this stuff on the device. Is that my problem? Does the sideloading need to be done from a microSD?
Thanks!!!
rtwombly said:
I've just rebooted my nook Tablet to see if that fixed my problem, which is the same as the OP's except I haven't been able to install ANY .apks after setting the "allow 3rd party apps" checkbox.
Specifically, I'm trying to get mobovideo to install, also four or five other video players, and Amazon Marketplace. I can download all of these no problem, but when I click on the download it tells me it can't install and says something about trying to "Archive then Unarchive" the file and try again. Which I would try if I knew where downloaded .apks go...I did find my second Am Market download (fat fingered the install so downloaded twice) under My Downloads, but the only option I get when I touch it is "Delete".
I'm downloading all this stuff on the device. Is that my problem? Does the sideloading need to be done from a microSD?
Thanks!!!
Click to expand...
Click to collapse
Here is an apk of Moboplayer that I installed no problem on nook tablet.
Just ran a quick test -- While some apps won't load due to incompatibility, the couple of successful tests I did worked fine. I did do them as package installs.
This is using a sideloaded copy of the Amazon Market.
The fix was to take the micro sd card out of the Nook and delete the entire contents of the card and then reinstall the amazon app store. All apps install fine now. Strange since I deleted the contents of the card before inserting it originally. Not sure why I had to do it again...
Nachtswerg said:
Just ran a quick test -- While some apps won't load due to incompatibility, the couple of successful tests I did worked fine. I did do them as package installs.
This is using a sideloaded copy of the Amazon Market.
Click to expand...
Click to collapse
When an app is incompatible, do you get a message like the ones we've been posting, or something more helpful?
Can anybody comment on my using a direct download rather than sideloading via microSD? Is this simply not the way to do it?
bkerk25 -- thanks, I'll give that apk a try in the morning and let ya know
I have used both sideloading and direct download with few issues at all. Some apps simply won't install right now either way. I have recieved the same error message you described a couple of times.
Sent from my BNTV250 using xda premium
It's a light error message that states the program is not compatible with my device. No details on why
Alrighty. I'm not sure what's different, but I went back to comptonsoft.com/test/ and tried downloading AppMenu. This time it worked, I was able to install it and view the "secret" options which I haven't seen since the initial attempt, and am now browsing Amazon Apps. I hadn't attempted to go back to that app since rebooting, so maybe that's what I needed to do. Also, I was habitually hitting App Installer first, then Package Installer when that failed, so I dunno, maybe that messes things up.
Anyway, thanks for this great workaround xda folken!
BigCTM said:
The fix was to take the micro sd card out of the Nook and delete the entire contents of the card and then reinstall the amazon app store. All apps install fine now. Strange since I deleted the contents of the card before inserting it originally. Not sure why I had to do it again...
Click to expand...
Click to collapse
This worked for me!
Thanks,
jebrank
I'm having the same problem. I've tried:
Removing and replacing the sd card
Using a different sd card
Trying to install all kinds of different apps
Resetting the device
Reinstalling the amazon app store (actually, I get the same error when i try to install even that or Appmenu now)
Factory reset
Nothing works and it's very frustrating. I think I might try to exchange it for a new one, unless someone here has a better idea
liebherk said:
I'm having the same problem. I've tried:
Removing and replacing the sd card
Using a different sd card
Trying to install all kinds of different apps
Resetting the device
Reinstalling the amazon app store (actually, I get the same error when i try to install even that or Appmenu now)
Factory reset
Nothing works and it's very frustrating. I think I might try to exchange it for a new one, unless someone here has a better idea
Click to expand...
Click to collapse
maybe try transferring the apk's from your sd card to the system\app folder using ES file explorer or root explorer and install from there?
Amazon Store - Downloaded Apps Won't Install
liebherk said:
I'm having the same problem.
Click to expand...
Click to collapse
Same problem here. I went through the same steps and new, old, installed (on my phone) and never installed apps won't install.

NT 1.4.1 and Android Market

UPDATE: I tried a few things on another NT running 1.4.1 and I was able to get the Android Market working. Here are the steps I followed:
Both of the units I have the market working on were initially rooted on 1.4.0 and Google Apps installed using the method described by Indirect. Note that this did not include installing the FOTAkill.apk which prevents Firmware Over-The-Air upgrades.
On the first unit the Google Apps packages were side loaded prior to rooting as described by Anlog.
The second unit I did not side load Google Apps first, instead installing them as part of Indirect's root kit.
Both units also had the tgps_launcher package installed. It is not necessary to use this particular package (you could use AnyCut to create the shortcut). If you do not side load the Google Apps apks prior to upgrade to 1.4.1 you will need some method to get back to the Application Settings screen.
Firmware 1.4.1 arrived on both Nook Tablets. On the first tablet that had Google Apps side loaded the market and Google Mail continued to work properly. On the second tablet that installed Google Apps as root the market and Google Mail both stopped working.
On the second unit I used tgps_launcher to get to the Application Settings screen. I disabled auto-mount, and enabled USB debugging (twice, once for each check box). I then connected the USB cable to my PC where the unit showed up as an Android Phone.
Launch a command prompt. Change directory to C:\ntroot (this is where you unzipped Indirect's files right?). Then execute the following commands:
C:\ntroot>adb install system\app\GoogleServicesFramework.apk
2869 KB/s (2238785 bytes in 0.762s)
pkg: /data/local/tmp/GoogleServicesFramework.apk
Success
C:\ntroot>adb install system\app\MediaUploader.apk
1988 KB/s (270892 bytes in 0.133s)
pkg: /data/local/tmp/MediaUploader.apk
Success
Once these steps were completed I was able to launch Android Market and I was prompted to sign in to my account. Once signed in I could install new apps and upgrade existing apps from the Android Market.
Also, if you need to manage the Google accounts on your Nook Tablet, you can get to the account management screen from the GMail app. Launch GMail, then click the soft menu button. Select Accounts. Click the soft menu button again and choose Account Settings. This displays the Account Settings activity where you can add a new account, adjust the sync settings for existing accounts, or delete an account.
I've read in several other threads that post 1.4.1 update a lot of folks are experiencing trouble with Android Market. Am I the only lucky one who can still use the Android Market after the 1.4.1 upgrade?
Here are some notes on my experience:
My NT firmware version is 1.4.1
I no longer have root access
Side loading from the nook tablet no longer works
I can still purchase and install apps via the Android Market properly
Since side loading doesn't work I can't purchase apps via alternative markets (Amazon, AppBrain, GetJar, etc). It also appears that the files I replaced in /system/apps have been at least partially restored (Google Calendar is missing, the keyboard is now a weird mashup of the NT stock keyboard and the honeycomb keyboard).
Thinking back on the initial steps I took with my nook tablet, I first side loaded all of the google apps prior to rooting. That meant I had an installed copy of Android Market and GMail outside of /system/apps. I was also able to launch the Android Market and setup my google account, but received the familiar crash at that point. I then rooted and installed google apps to /system/apps which left me with a working Android Market. I'm wondering if that first step of side loading google apps prior to root is why I have a working Android Market now on firmware 1.4.1.
Anyone else have a working Android Market on 1.4.1? If so, was your setup process similar to mine, or different in some way?
Click to expand...
Click to collapse
I managed to install MediaUploader, but GoogleServicesFramework failed:
C:\ntroot>adb install GoogleServicesFramework.apk
2052 KB/s (2189960 bytes in 1.042s)
pkg: /data/local/tmp/GoogleServicesFramework.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
I found that I had the google certificate inside the file OneTimeInitializer.apk, but I'm unable to install it (same error).
Does anyone know if there's any way to get the google cert installed without rooting?
Thanks
Hmmm, I must have loaded that cert as one of the side effects of actions I took while still running 1.4.0. I get that same error when I attempt to install the other apks from the gApps folder.
Thank you thank you thank you!!!
I have a 1.4.0 rooted tablet that autoupdated to 1.4.1. I had lost market functionality. I followed your three easy steps and everything is great now.

[Q] Installing updateable apps for a gift tablet?

Hello!
We are android developers and are currently running a "win a tablet with all our apps" contest. Apart from our apps, we'd like to offer pristine, out-of-the box tablets (Galaxy Tab 10.1, in case it matters).
That means users should expect the initial tablet setup screens (language, Google account, etc.) in an otherwise untouched tablet (unrooted with original bootloader).
The user should also be able to update our (paid) apps through the regular Play Store interface.
I have a feeling this is in effect impossible.
Investigated so far:
- adb install the apps, require dev mode (reversible, so ok) but doesn't appear in Play Store's "my apps";
- adb push *.apk /data/app, failed due to the device being unrooted (rooting should be reversible, it might be a solution). Is it the same as adb install? Would it appear in "my apps"?
- (not tried) installing the app through an account which has already purchased the app (ie.: internal store test account), then wiping (how?) the account data
Help? :fingers-crossed:

Unresponsive reinstalled Google Play Store app on rooted Samsung SCH-i509

Device: Samsung SCH-i509
Android Ver: 2.3.6
Rooeted: Yes
Internal Memory: 160MB
Ext memory: 2GB microSD partitioned as: 1st Partition: 1455MB FAT, Second Partition: 515 EXT2 (I am using Link2SD for linking apps to SD card)
Superuser App: SuperSU
Rom Management: RomToolBox lite
I rooted my phone about a fortnight ago, first time rooting, things went fine, and apps were responsive.
2 days back I not only uninstalled the Google Play Store updates but also uninstalled the app, hoping I would install the latest google store APK from Android Police ( Ver: com.android.vending-4.8.22.apk )
I am new to rooting and installing apks, so after installing the above mentioned Google Play Store apk to the SD card and finding it was not responsive (I was getting a blank screen and an error message shortly thereafter which disappeared instantaneously for me to note what it said). I googled and found on a forum, (sorry don't recall which one) that the APK needs to be copied to the system/app folder and any previous apk of Google Play Store needs to be replaced. So using Root Browser in ROMToolBox I copied the apk to system/app.
Doing so did open the 'first run' of Google Play Store, as in I was prompted to allow permission via google account and opened the interface with my apps etc normally. But trouble started when I tried to update the apps. The moment I do that, I get the downloading bar AND then I get the force close screen. The same would happen in the case if I try to download any apps.
I froze the Google Play Store app through ROMToolBox App Manager.
On doing a search on XDA forums before I posted here I came across: http://forum.xda-developers.com/showthread.php?t=2129881
And did as suggested in this thread: went to the system/app folder through Root Browser and set permission to rw-r--r-- as suggested there.
UNFORTUNATELY things are the same as before: once the app fires up either by clicking on a Google Play Store linked ad or by just opening it, I am back to force close screen.
I would be really thankful if someone could help me out on this.
Also, I am not quite sure how much it makes a difference I was using Link2SD to link all user apps to SD card (I uninstalled this app as well hoping to install the latest version)
You rebooted after changing the apk permissions, right? Also perhaps try force stopping the plays store, wiping the app data then reboot.
Thanks
jr67 said:
You rebooted after changing the apk permissions, right? Also perhaps try force stopping the plays store, wiping the app data then reboot.
Click to expand...
Click to collapse
Thanks for the reply. I had rebooted and clear app data but the app was still unresponsive/
The issue resolved when I downloaded an older version of the Google Play Store app and installed it in the sys/app folder after removing the previous one, reconfigured the permissions and rebooted. things are working fine now.
Cheers, have a great weekend!

[Q] Root related apps won't install anymore

OK, so this problem came up today in the middle of trying to find a working move to SD app. Basically, on the play store, it gives me a message for a few apps that there is "insufficient space available." (it will download it first, then give me the error trying to install) and I get the same message trying to remote install from a computer. If I try downloading from the Playstore as an APK file and side loading I get an error:
Out of Space
____ couldn't be installed. Free up some space and try again.
This doesn't happen to all apps. Just most apps which require a root. It's behaving strangely like a virus, so I am worried that Verizon had some additional programs on the device to make it more difficult to do anything with it.
Of course, I have 22.35 GB available internal and 109 GB available external. I cleared the cache, I uninstalled and reinstalled Google Play, I power cycled the device (turned off and on), and I am not really sure what I can do about it.
If I backup the DRM keys, flash a custom ROM, and then delete the Verizon apps, can I flash to a custom ROM that isn't branded by Verizon and still restore the DRM keys to it?
EDIT: It's gotten much worse. Most apps I try now won't install. They will download just fine, but then at the "Install" point they give that error.
EDIT 2: Problem resolved. It was caused by all of the failed rooting attempts. Titanium Backup/Restore and a Factory Reset with only Easy Root fixed everything.

Categories

Resources