Install OTA if offline install fails - Droid Incredible General

By now I am sure everyone has been directed to some instruction similar to the one here solo.dc3.com/dinc/ to install the OTA and re-do root. However if you have uninstalled any VZW software the install still fails.
There is however a file in the update.zip file called updater-script located
META-INF\com\google\android
if you pay attention to what is causing the install to fail then you can edit out the asserts/installs that are causing the failure. I had an issue with VzNav.apk I removed it long ago and the install failed. Once I found this file I was able to run this install without a hitch.

mattbat said:
By now I am sure everyone has been directed to some instruction similar to the one here solo.dc3.com/dinc/ to install the OTA and re-do root. However if you have uninstalled any VZW software the install still fails.
There is however a file in the update.zip file called updater-script located
META-INF\com\google\android
if you pay attention to what is causing the install to fail then you can edit out the asserts/installs that are causing the failure. I had an issue with VzNav.apk I removed it long ago and the install failed. Once I found this file I was able to run this install without a hitch.
Click to expand...
Click to collapse
I went through the list at http://www.chadhaney.com/droidIncDefault/ and downloaded all of the stuff I was missing; do you think it would be easier to re-install them/check permissions/etc or do it your way? After going through that list, I at least know what I'm missing now.

How do you edit in the updater script? I tried deleting the assert line that causes me the failure and reapplying my edited update package, then i get an error that says update package bad. I also noticed that before I edited the update script, the size of the script was 97kb. After I deleted out the line, the size changed to 99 kb. Could that be the problem?

riverrat087 said:
How do you edit in the updater script? I tried deleting the assert line that causes me the failure and reapplying my edited update package, then i get an error that says update package bad. I also noticed that before I edited the update script, the size of the script was 97kb. After I deleted out the line, the size changed to 99 kb. Could that be the problem?
Click to expand...
Click to collapse
You have to sign the update.zip after you change anything inside it.
http://forum.xda-developers.com/showthread.php?t=666441 will help you do it if you're on windows.

With Winrar (which I used) you have to add a "comment": signed by SignApk
and it will work. Be sure you zip up the same directory structure as well.
The reason I did it this way is b/c even after re-installing VzNav.apk it still failed complaining about it. So the edit was the only way.

Related

Android question

I've been searching and searching and really couldn't find a clear answer.
I flashed my phone using method 1 as described in this thread http://forum.xda-developers.com/showthread.php?t=593786
Now I am seeing this other I guess they are android releases like http://forum.xda-developers.com/showthread.php?t=591104
They post these sqsh files. I already got my phone flashed and running Android is there a way I can upgrade or do whatever I need to do to use the sqsh file in the link I mentioned above? I can't find any clear instructions on how to do this really.
Thanks!
Yes, put the system.sqsh file on your SD card, and create a file called 'systemtonand', when you reboot, the bootloader should pick up that you want to transfer the file and do it automatically.
you may want to add blank file "cleardata" to delete your current data file to prevent conflicts (some system files store items in the data file that may not agree with another system file). there is a cache that, alternatively, can be cleared to avoid deleting your data file, have not tried this, another use posted it but I don't recall which thread.

[Q] Non-apk app that needs reinstalled

I flashed nonsensikal 8.2 to my Eris and attempted to load my apps back. I have one called vRecorder, which contrary to popular opinion, worked great for recording phone calls. However, when I attempted to reload it I found it is unavailable and no longer supported. After trying several other call recorders, all failures, I'm left with trying to install my old one. The problem is, it isn't a .apk file, it's a .zip file. I originally downloaded this off the market, but since then the developer has packed up his bags and I can't get in touch with them. The .zip file located in the /data/app folder contains the following files:
AndroidManifest.xml
res (folder which contains four more folders all of which contain image and xml files)
resources.arsc
Since I cannot back this up using Astro and it's a zip format, is there any way to either convert it to .apk or flash it like a rom? I tried simply renaming it to apk and it acted like it installed, but gave me the message saying 'application not installed' when it completed. Any help would be appreciated.
Rhordae said:
I flashed nonsensikal 8.2 to my Eris and attempted to load my apps back. I have one called vRecorder, which contrary to popular opinion, worked great for recording phone calls. However, when I attempted to reload it I found it is unavailable and no longer supported. After trying several other call recorders, all failures, I'm left with trying to install my old one. The problem is, it isn't a .apk file, it's a .zip file. I originally downloaded this off the market, but since then the developer has packed up his bags and I can't get in touch with them. The .zip file located in the /data/app folder contains the following files:
AndroidManifest.xml
res (folder which contains four more folders all of which contain image and xml files)
resources.arsc
Since I cannot back this up using Astro and it's a zip format, is there any way to either convert it to .apk or flash it like a rom? I tried simply renaming it to apk and it acted like it installed, but gave me the message saying 'application not installed' when it completed. Any help would be appreciated.
Click to expand...
Click to collapse
Try resigning it. You can find out how to do that in the Eris roll up thread
rename it back to zip... pull it to your computer... then adb install -r appname.zip
Actually just rename it to a .apk
hakkeshou said:
Actually just rename it to a .apk
Click to expand...
Click to collapse
I already tried renaming it and installing it that way but after I ran it, it went through the install process and ended with the message "Application not installed." I will try what vinylfreak89 suggested by installing SDK on my pc and trying the adb install. I'm also trying to find how to resign in the rollup thread. I'll let you know how it goes.
Are you sure the program didn't download to the phone's DATA/APP folder as a ZIP as well as an APK in DATA/APP-PRIVATE?
I am having the same problem re-installing with a 'protected' Market program.
My app-private folder is empty (using Root Explorer). However, I found a call recorder that seems to be working for me. It's called rVoix and can be found in thread 806451 in this forum.
My Eris has been rooted and I'm using nonsensikal 8.2 black rom (I highly recommend this rom, it's awesome).
Did you nandroid before you flashed the new rom? If so, restore the old rom, use titanium to back up the app, nandroid back to the current rom, and restore the app.
Sent from my ERIS using XDA App

[SOLVED]Need Copy of SysemUI.apk?

SOLUTION HERE
So I decided it would be a good idea to attempt to solve the 'sim card removed' notification problem I've been having by disabling notifications for systemui (since that's where 'app data' took me when I went to see what app was giving me the error. Since it would let me do that, I decided to try converting it to a user app, disabling notifications, and then converting it back to a system app using Rom Toolbox.
After converting to a user app failed (it did not convert) I now have a new problem. After being rebooted, systemui not only failed to launch, it;s not listed as being installed at all!
Can anyone provide a backup .apk of systemui so I can attempt to reinstall it and fix my screwup?
edit-update:: in rom tolbox, I managed to find a task with the same name viewing app info, I noticed it says 'excluded: YES', with yes in red and OOM Group is Foreground App. CPU time = 0s, which I assume means it's not running.
How to proceed?
more info: /sytem/app has no .apk or .odex for systemui
Yet more info: I tried Restart SystemUI from the Play store with no success. The option to go to SystemUI settings fails. It seems I somehow deleted/lost the systemui app? That should mean I can reinstall it if someone copies theirs, yes?
*bump*
Please, guys? This device is pretty much unusable right now and I literally need one .apk file to fix it. I swear I'll buy you a beer if we ever meet.
zomgitsanoob said:
*bump*
Please, guys? This device is pretty much unusable right now and I literally need one .apk file to fix it. I swear I'll buy you a beer if we ever meet.
Click to expand...
Click to collapse
Hope it solves your problem.
But did you consider reseting the phone? Or use odin and install proper firmaware again?
Although it says .apk, it downloads as a zip file? The zip doesn't contain an .apk and attempting to install the zip through recovery fails with
E: footer is wrong
E: signature verification failed.
Factory reset didn't fix it and stock image for the g530az apparently does not exist anywhere on the internet for some reason. Sideload fails also.
Please advise.
on my pc, download is working well. I uploaded the apk.
Use on cwm or twrp guys . include the systemui
pls someone can upload SYSTEMui_ess.odex i need it to repair my phone .the file is in the folder system/priv_app/

problem opening apk lite P9

Hello to all,
I found this annoying problem for a few weeks when I open the .apk files directly from notifications instead of starting the installation of the app, the same file is opened by the "File Manager" as a .zip preventing me from installing the app but permettondomi in vain to check the contents. Initially this did not happen, but he walked directly installation. I checked if the manager appeared as the default app but it is not nothing. Does anyone have advice on how can I bring everything to the initial situation? It could be a default of the last update (VNS-L31C55B150)?
Hello.
I think that if you long click the APK in the Notification Bar it will take you to the exact place in Settings where you can change the default opening Program.
If that fails, try to Reset your app-preferences. Have you changed/flashed/installed anything prior to the problem ?
I do not remember but maybe Precise And coincided with the upgrade of system
I have just had the same issue as you, yet when downloading the apk from a different source worked for me. I don't really know why it gets detected as just a .zip archive rather than a apk. Have you tried other sources or renaming/repacking the apk ?
Solve looking for the apk file you downloaded, and opening it with the file manager, but I do so in more steps

[NST/G] Revisiting cacerts.bks

cacerts.bks updated 12-6-20
When the original search was on to repair the aging cacerts.bks file in order to get the Kindle app working again, one of the things I came across was a remark from a fellow who had located a Honeycomb ROM (Android 3.2...last stop before the format of the security certificate storage was changed) and copied the cacerts.bks file from it to his Android 2.2 device which was having problems with websites, etc.
I still can't get the method described by @tshoulihane in this thread to work for me. But his edited cacerts.bks file works really well in solving the problem.
Yesterday I managed to locate a CM 7 ROM (Honeycomb). It contains a largish cacerts.bks file (compared to ours) with 127 certificates, 17 of which have expired. These seem to be mostly for central/eastern European and Asian entities, so perhaps not that critical. Well, it's only 10 years old
It has worked for me with the Kindle app and perhaps will help with some of the websites that complain about a secure connection even though I have enabled TLS 1.2 in Opera Mobile. More testing is needed there.
For anyone who wants to try it out, it is attached below. To use, rename your current cacerts.bks file (that's in /system/etc/security) to cacerts.bks.bak or similar. Then move the new file (unzip) into the same place. Check permissions. They should be rw-r-r. Reboot.
This looks great... though when I tried to rename and copy the new cacerts file, I am getting blocked due to the lack of root permissions.
I'm running the 1.2.1 tweaked/modded rom so I thought it wouldn't be an issue. I also tracked down the supersu3.1.3 apk and sideloaded it, but it didn't help either. Wondering if you had any ideas?
xrayd2 said:
This looks great... though when I tried to rename and copy the new cacerts file, I am getting blocked due to the lack of root permissions.
I'm running the 1.2.1 tweaked/modded rom so I thought it wouldn't be an issue. I also tracked down the supersu3.1.3 apk and sideloaded it, but it didn't help either. Wondering if you had any ideas?
Click to expand...
Click to collapse
So was your SU app missing? Or did your file manager just not have root access?
Hard to know where to start. From my experience, the best-behaving SU for the NST/G is the one that comes with NookManager (attached below). It's old and the binaries are probably out of date, but you don't need anything better for the device.
You can try removing the one you have now, reboot, and install the one below. Then check that your file manager has root acccess. In ES File Explorer, for example, you have to go into settings and tick the selection for root access. It's not automatic. And even with that, you have to tick an additional box to mount /system as rw while you're working in it.
At one time the superuser app was included -- but is no longer linked, and I had overlooked it after initially flashing the rom.
Unfortunately, the su app you provided also doesn't work. When I try to delete the old cacerts.blk it looks like it's doing something, but then the file still remains. If I instead try to rename the file, I get "operation failed".
I tried to delete or rename using an app called "root browser", and also the file manager in "super manager" suite. When I try to enable the root explorer function in ES file manager , I get "sorry, test failed. This feature cannot run on your device."
When I go under Device info, the ROM name does indeed say "Tweaked Modded ROM". I assume this should mean it's rooted but I'll have to dig deeper.
I appreciate your help though!
xrayd2 said:
When I go under Device info, the ROM name does indeed say "Tweaked Modded ROM". I assume this should mean it's rooted but I'll have to dig deeper.
Click to expand...
Click to collapse
Mmm.... so the ROM came "rooted"? I've attached a root check app which I've tried on my NST. This should answer the question of root.
If root has been lost somehow, it might be possible to salvage what you have by running NookManager. If you don't want the various additions like Relaunch, you can remove those apps from the data/app folder once you've written the card and then make the other needed changes as described here: https://forum.xda-developers.com/nook-touch/development/nst-g-updating-nookmanager-t3873048
Or, you could just use NM as-is and uninstall unwanted material afterwards. The important thing is root and a functioning SU.
Okay... turns out my device was NOT rooted after all; I had assumed the binaries were already installed. Fortunately, I was able to find a superSU 0.93 binary and root through CWM. I replaced cacerts.blk with yours, and now the kindle app works! At first I had difficulty logging in, but turns out Amazon was emailing me a one time password after every attempt. After entering the OTP I am now up and running.
My next issue is getting Pocket working -- I installed Read it Later 1.0.1 but it's not syncing.
Thanks for the link to your other post. I will sideload the apk's you recommended.
xrayd2 said:
My next issue is getting Pocket working -- I installed Read it Later 1.0.1 but it's not syncing.
Click to expand...
Click to collapse
Might not be possible. Chatter here: https://forum.xda-developers.com/showthread.php?t=1604661&page=2 goes back to 2013.
I found reference to a functioning version in 9/2016. Had hoped it was a cacerts issue but maybe pocket changed their api.
https://forum.xda-developers.com/showpost.php?p=68600731&postcount=54
Would this be what's causing my Nook to not load certain https sites?
I can get to gmail fine, but I can't for the life of me load the todoist website
Tried loading your cacerts.bks, doesn't seem like it changed anything
I had no problem getting the Todoist home page. Logging in may be another matter.
Are you using Opera Mobile and did you make the settings change for TLS 1.2?

Categories

Resources