[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Talking to myself again...

At least I know now why the update can't be installed:

D/DownloadManager( 9318): [168] Finished with status SUCCESS
D/Finsky (16418): [1] DownloadBroadcastReceiver.onReceive: Intent received at DownloadBroadcastReceiver
D/Finsky (16418): [1] DownloadQueueImpl.notifyProgress: com.ota.updates: onProgress 4306328/4306328 Status: 200.
D/Finsky (16418): [1] DownloadImpl.setState: com.ota.updates from DOWNLOADING to SUCCESS.
D/Finsky (16418): [1] DownloadQueueImpl.onComplete: com.ota.updates: onComplete
D/Finsky (16418): [1] DownloadQueueImpl.remove: Download com.ota.updates removed from DownloadQueue
I/installd( 226): free_cache(0) avail 5962956800
D/Finsky (16418): [1] InstallerTask.startCopyFromDownload: Prepare to copy com.ota.updates (com.ota.updates) from content://downloads/my_downloads/168 (expect 4803841 bytes)
I/installd( 226): free_cache(4803841) avail 5962952704
V/Herrevad(10581): NQAS connected
D/Finsky (16418): [1] 7.onPostExecute: Successfully copied APK to update com.ota.updates (com.ota.updates)
D/Finsky (16418): [1] InstallerTask.startInstaller: Begin install of com.ota.updates
D/Finsky (16418): [1] PackageVerificationReceiver.onReceive: Verification requested, id = 1
D/Finsky (16418): [1] WorkerTask.onPreExecute: Verification Requested for id = 1, data=file:///data/app/vmdl272464.tmp flags=18 fromVerificationActivity=false
D/Finsky (16418): [312] PackageVerificationService.getPackageInfo: Cannot read archive for file:///data/app/vmdl272464.tmp in request id=1
D/PackageManager( 1104): /data/app/vmdl272464.tmp already staged; skipping copy
D/Finsky (16418): [1] PackageVerificationReceiver.onReceive: Verification requested, id = 1
E/TemperatureHumiditySensor( 1104): mCompEngine is NULL
W/PackageManager( 1104): Package com.ota.updates signatures do not match the previously installed version; ignoring!
I/art ( 1104): Explicit concurrent mark sweep GC freed 160076(7MB) AllocSpace objects, 44(6MB) LOS objects, 31% free, 35MB/51MB, paused 2.441ms total 121.215ms
E/Finsky (16418): [1] PackageInstallerImpl.handleCommitCallback: Error -505 while installing com.ota.updates: INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.ota.updates signatures do not match the previously installed version; ignoring!
W/Finsky (16418): [1] 3.installFailed: Install failure of com.ota.updates: -505 null
D/Finsky (16418): [1] InstallerTask.cancelCleanup: Cancel running installation of com.ota.updates (com.ota.updates)
D/Finsky (16418): [1] PackageInstallerImpl.innerCreateSession: Created session 2044939241 for com.ota.updates
I/AppCompatDelegate(16418): The Activity's LayoutInflater already has a Factory installed so we can not install AppCompat's
V/WindowManager( 1104): not Base app: Adding window Window{3564e53c u0 com.android.vending/com.google.android.finsky.activities.MainActivity} at 3 of 7
D/Finsky (16418): [1] AppActionAnalyzer.<init>: com.ota.updates is installed but certificate mistmatch

To hilite the most important line:

E/Finsky (16418): [1] PackageInstallerImpl.handleCommitCallback: Error -505 while installing com.ota.updates: INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.ota.updates signatures do not match the previously installed version; ignoring!

So obviously the version installed in our ROM has been signed by a different key than the one from the market. So maybe someone else than "Matt Booth" built (and signed) our version?

Kind regards,

Ralf