AnsweredAssumed Answered

Incremental OTA update is not happening

Question asked by HARISH KUMAR T S on Feb 22, 2018
Latest reply on Mar 6, 2018 by HARISH KUMAR T S

Hi Team,

I am trying the incremental ota update for iMX6q android version 7.1.2, So below given procedure is flowed, So some error is repeating. 

https://source.android.com/devices/tech/ota/tools

The ota update test case, I am the changes for kernel driver print function for the previews target and the new build target files, after generating the incremental update.zip.

 

Any one can help to resolve this updating errors.

 

The recovery/lost_log detail is attached with this.

 

  1.913074] Supported API: 3
[ 1.914027] charge_status 1, charged 1, status -2, capacity -2147483648
[ 1.946636] Finding update package...
[ 2.005920] I:Update location: /cache/update.zip
[ 2.005989] Opening update package...
[ 2.047481] I:read key e=3 hash=20
[ 2.047560] I:1 key(s) loaded from /res/keys
[ 2.047600] Verifying update package...
[ 2.095085] I:comment is 1746 bytes; signature 1728 bytes from end
[ 2.128271] I:signature (offset: 0x8a5e4, length: 1722): 308206b606092a864886f70d010702a08206a7308206a3020101310b300906052b0e03021a0500300b06092a864886f70d010701a08204b2308204ae30820396a00302010202090093fec60408e0f83d300d06092a864886f70d0101050500308196310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643124302206092a864886f70d0109011615616e64726f696440667265657363616c652e636f6d301e170d3131303731343137323833325a170d3338313132393137323833325a308196310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643124302206092a864886f70d0109011615616e64726f696440667265657363616c652e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100ade42d493d64e4100e8895971d2193f8dad025a5f7c1fb875095c46b073f211456c8ad07239830ad475f59b96d9af317e9dda8d03397d8723188ce56958f0d3cebe0fdc16fc03d041adb6b38edf58ca8721b05ecb0168f4114c4c7b94cd29f69d40242a79f16eca45bf723cefe07e28916ff63d8f088062437840646789832aabc9ad00db7f8c9aade012e7e272877726b7d45e92d0d2203e5c934a9c83bdee3a24d734c0c77e407ce9cc4c4fe665c82aeb1284eb32943566c942acd61064c8e4990403e5c37a6ab596a558c17932633d259d5718b8464a18e829278e8b67fd3f438aef3b1fb8a0faad13e23bd5b2e8b773fc3e4cb58daa70501f8f8efe8480f020103a381fe3081fb301d0603551d0e041604141d6f3c4a9d0b551f09d0d00286f215f3d5b714843081cb0603551d230481c33081c080141d6f3c4a9d0b551f09d0d00286f215f3d5b71484a1819ca48199308196310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643124302206092a864886f70d0109011615616e64726f696440667265657363616c652e636f6d82090093fec60408e0f83d300c0603551d13040530030101ff300d06092a864886f70d010105050003820101000fdac64a84d451f16a7bacdaba3210e65e811125f6b8a59804158fe5a85b3736a47d3fc265c2fed96d94db5891b2b556b91848db5a407a4dea2901ce6d7e5223d39349d30d0a21cecc26a1d505dd617409e1b48196267d3a6dc521dc28d4231d3d4e81ec797cab4d3d874f929a120a7f04684d503d6f582f962bd8690f6bc7fb25298de03c51ed315cb14b8ecdeb5bf74498916621d3484a2bb46847889decd26a9e4f7f47186bed4cb1de7db801aa3e4a773aa80b43ebc224cd1c29c15457e16ff1e34813b466abafcb51f8f2204aaa1a01e9f7158401f90821a330ce01c4425f5d1ba40b29549a4053a8dd92228084368ecf52fb80afc91212ecc3231f86d7318201cc308201c80201013081a4308196310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643124302206092a864886f70d0109011615616e64726f696440667265657363616c652e636f6d02090093fec60408e0f83d300906052b0e03021a0500300d06092a864886f70d010101050004820100649fbd9def8f1ddde5c31be382896ad190c311d8d789737f7f3d504103b1d31f3c086260419e537565b157ce6b2c0f864ad57a88f966d4b75a9393a668ec8ce20d207234ee897b46160447ea8899ac5f8b5f0695892da719f8314ebf99eeacb7e948e392f3c73bd1d2c316c9db506c33caf472b4b3a1dd0013dc9a99ff9d16a029f43e99e6e1266a8d60f384fa5574794ee4ed159dcfe4e13803e36a6d25dba59b3d2cd2956e56a4c24b841e7867c4e7c764103ba207d940270344b7f45d7dd74321c6536088d95b697af74866a01bcfed80b8a9e9592646beb300fb626e566ae3807a5e7169abd90d0d2f9ea84bef035e15ecd4fe3364fe18b224fa47d5e80f
[ 2.129190] I:whole-file signature verified against RSA key 0
[ 2.129264] Update package verification took 0.0 s (result 0).
[ 2.163834] Installing update...
[ 2.318454] Source: Android/xxxxx/xxxxxx:7.1.2/2.0.0-rfp-rc6/20170930:user/release-keys
[ 2.318522] Target: Android/xxxxx/xxxxxx:7.1.2/2.0.0-rfp-rc6/20170930:user/release-keys
[ 2.318542] Verifying current system...
[ 2.320130] failed to stat "/system/bin/install-recovery.sh": No such file or directory
[ 2.320163] file "/system/bin/install-recovery.sh" doesn't have any of expected sha1 sums; checking cache
[ 2.320193] failed to stat "/cache/saved.file": No such file or directory
[ 2.320222] failed to load cache file
[ 2.320246] script aborted: E3005: "/system/bin/install-recovery.sh" has unexpected contents.
[ 2.538866] E:Error in /cache/update.zip
[ 2.538936] (Status 7)
[ 2.578002]
[ 2.599025] W:failed to read uncrypt status: No such file or directory
[ 2.599620] I:/cache/update.zip
[ 2.599675] 0
[ 2.599710] time_total: 0
[ 2.599741] retry: 0
[ 2.599770] target_build: 20170930
[ 2.599800] source_build: 20170930
[ 2.599829] error: 3005
[ 2.599858] Installation aborted.
[ 2.696457] I:Saving locale "en_US"
  

Thanks and Regards,

Harish

Outcomes