{"action":"created","issue":{"url":"https://api.github.com/repos/linneman/orct/issues/2","repository_url":"https://api.github.com/repos/linneman/orct","labels_url":"https://api.github.com/repos/linneman/orct/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/linneman/orct/issues/2/comments","events_url":"https://api.github.com/repos/linneman/orct/issues/2/events","html_url":"https://github.com/linneman/orct/issues/2","id":313329069,"number":2,"title":"Newer MBN ELF compatibility problems","user":{"login":"copslock","id":34976676,"avatar_url":"https://avatars0.githubusercontent.com/u/34976676?v=4","gravatar_id":"","url":"https://api.github.com/users/copslock","html_url":"https://github.com/copslock","followers_url":"https://api.github.com/users/copslock/followers","following_url":"https://api.github.com/users/copslock/following{/other_user}","gists_url":"https://api.github.com/users/copslock/gists{/gist_id}","starred_url":"https://api.github.com/users/copslock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copslock/subscriptions","organizations_url":"https://api.github.com/users/copslock/orgs","repos_url":"https://api.github.com/users/copslock/repos","events_url":"https://api.github.com/users/copslock/events{/privacy}","received_events_url":"https://api.github.com/users/copslock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T13:40:37Z","updated_at":"2018-04-13T03:01:19Z","closed_at":null,"author_association":"NONE","body":"Hi,author of ORCT,thanks for developing such awesome tool to parse the Qualcomm MBN MCFG elf file,and there was some problem parsing the newer elf mbn used in android N platform devices\r\n`\r\nError in transformation of 35-th mcfg-item occurred: mcfg item -> {:orct.mbn/ite\r\nm_length 1010, :orct.mbn/item_type 4, :orct.mbn/attrib 25, :orct.mbn/sp_ops 0, :\r\norct.mbn/spare1 0} has wrong type 4!\r\n\r\n[orct.mbn$extract_mcfg_items$fn__740 invoke mbn.clj 168]\r\n[orct.mbn$extract_mcfg_items invoke mbn.clj 164]\r\n[orct.mbn$parse_mbn_file_content invoke mbn.clj 200]\r\n[orct.mbn$parse_mbn_data invoke mbn.clj 301]\r\n[orct.core$print_file doInvoke core.clj 64]\r\n[clojure.lang.RestFn invoke RestFn.java 494]\r\n[orct.core$cli doInvoke core.clj 188]\r\n[clojure.lang.RestFn applyTo RestFn.java 137]\r\n[clojure.core$apply invoke core.clj 630]\r\n[orct.core$_main doInvoke core.clj 228]\r\n[clojure.lang.RestFn applyTo RestFn.java 137]\r\n[orct.core main nil -1]`\r\n\r\nCan you make some commit to support the newer format?\r\nIf you need some of the AMSS code,I can provide some of it,thanks a lot.\r\nAnd is it possible to output the mbn's nv item file in item files mode? thanks"},"comment":{"url":"https://api.github.com/repos/linneman/orct/issues/comments/381007137","html_url":"https://github.com/linneman/orct/issues/2#issuecomment-381007137","issue_url":"https://api.github.com/repos/linneman/orct/issues/2","id":381007137,"user":{"login":"copslock","id":34976676,"avatar_url":"https://avatars0.githubusercontent.com/u/34976676?v=4","gravatar_id":"","url":"https://api.github.com/users/copslock","html_url":"https://github.com/copslock","followers_url":"https://api.github.com/users/copslock/followers","following_url":"https://api.github.com/users/copslock/following{/other_user}","gists_url":"https://api.github.com/users/copslock/gists{/gist_id}","starred_url":"https://api.github.com/users/copslock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copslock/subscriptions","organizations_url":"https://api.github.com/users/copslock/orgs","repos_url":"https://api.github.com/users/copslock/repos","events_url":"https://api.github.com/users/copslock/events{/privacy}","received_events_url":"https://api.github.com/users/copslock/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T03:01:19Z","updated_at":"2018-04-13T03:01:19Z","author_association":"NONE","body":"Thanks a lot!\r\nI had tested the tool on MSM8992 MSM8936 MSM8996 MSM8953 MSM8940 platform's mcfg mbns,and the tool works seamlessly on 8953 and 8996 platform,and it was annoying about the wrong type format about the type mcfg-int-delete-nv-item & type mcfg-int-delete-efs-file nv items,which is declared not support by the current implementation on a few newer SDM450 platform&older msm8936 platform mbns,and some exception (details below) about the zlib-uncompress moudle when possible processing the compressed data in the earlier MSM8994 platform mbns,but works perfectly without uncompress the zilb compressed EFS items\r\n\r\n`(def mcfg-int-nv-item                        0x01)\r\n(def mcfg-int-efs-file                       0x02)\r\n(def mcfg-int-sw-only                        0x03)\r\n(def mcfg-int-delete-nv-item                 0x04)\r\n(def mcfg-int-delete-efs-file                0x05)\r\n(def mcfg-int-static-wo-efs-file             0x06)\r\n(def mcfg-int-muxd-nv-item                   0x07)\r\n(def mcfg-int-muxd-sw-only                   0x08)\r\n(def mcfg-int-muxd-efs-file                  0x09)\r\n(def mcfg-int-muxd-sw-only-efs-file          0x0a)\r\n(def mcfg-int-data-profile                   0x0b)\r\n(def mcfg-int-delete-data-profile            0x0c)\r\n(def mcfg-int-static-wo-data-profile         0x0d)\r\n(def mcfg-int-muxed-data-profile             0x0e)\r\n(def mcfg-int-muxd-sw-only-data-profile      0x0f)\r\n(def mcfg-int-config-item                    0x10)`\r\n\r\n`No matching method found: alength\r\n[clojure.lang.Reflector invokeMatchingMethod Reflector.java 80]\r\n[clojure.lang.Reflector invokeStaticMethod Reflector.java 207]\r\n[orct.utils$zlib_uncompress invoke utils.clj 275]\r\n[orct.qcn_parser$parse_nv_efs_data$fn__546 invoke qcn_parser.clj 249]\r\n[clojure.core.protocols$iter_reduce invoke protocols.clj 49]\r\n[clojure.core.protocols$fn__6510 invoke protocols.clj 112]\r\n[clojure.core.protocols$fn__6452$G__6447__6465 invoke protocols.clj 13]\r\n[clojure.core$reduce invoke core.clj 6519]\r\n[orct.qcn_parser$parse_nv_efs_data invoke qcn_parser.clj 240]\r\n[orct.qcn_parser$subst_with_parsed_nv_efs_data invoke qcn_parser.clj 282]\r\n[orct.qcn_printer$print_nv_item_set doInvoke qcn_printer.clj 204]\r\n[clojure.lang.RestFn invoke RestFn.java 464]\r\n[orct.core$print_file doInvoke core.clj 73]\r\n[clojure.lang.RestFn invoke RestFn.java 494]\r\n[orct.core$cli doInvoke core.clj 188]\r\n[clojure.lang.RestFn applyTo RestFn.java 137]\r\n[clojure.core$apply invoke core.clj 630]\r\n[orct.core$_main doInvoke core.clj 228]\r\n[clojure.lang.RestFn applyTo RestFn.java 137]\r\n[orct.core main nil -1]`\r\n\r\nThere maybe more problems like the exceptions above because Qualcomm always update the NV/EFS items format or whatever makes the tool hard to parse the ELF with the same code method. And about the NVdefinitions, I just used the QXDM's parse format and manually make some definition as the format in some XML file. Besides,does the mcfg_build.pl helps anything？So far the SDM630&660&636 support is not very necessary.\r\n[mcfg_sw_8994.tar.gz](https://github.com/linneman/orct/files/1905636/mcfg_sw_8994.tar.gz)\r\n[mcfg_sw_SDM450_type_4_error.tar.gz](https://github.com/linneman/orct/files/1905646/mcfg_sw_SDM450_type_4_error.tar.gz)\r\n[mcfg_sw_8936_type_5_error.tar.gz](https://github.com/linneman/orct/files/1905660/mcfg_sw_8936_type_5_error.tar.gz)\r\n[NvDefinition.tar.gz](https://github.com/linneman/orct/files/1905662/NvDefinition.tar.gz)\r\n[mcfg_sw_sdm630_version_not_surpport.tar.gz](https://github.com/linneman/orct/files/1905665/mcfg_sw_sdm630_version_not_surpport.tar.gz)\r\n\r\nAll in all ,thanks for developing such awesome tool to help manually active IMS-based Voice on LTE. It's hard for the community to support such proprietary files used in the Qualcomm platform.\r\n\r\nBest regards,\r\nQTRUN Quicktest Technology\r\nwww.qtrun.com\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"copslock"}}