Question How to extract / repack image from stock zip - Realme 8 Pro

Greetings.
I want to change the superimage file to mod the rom from extracted opf (RMX3081GDPR_11_A.41_2021081818280000)
Code:
<program project="20713" emmcsize="64G" customize="" />
Currently I'm stuck on the NV files :
ProFile.xml
Code:
<BasicInfo Brand="oppo" Project="19365" Version="Unknown Version" MemoryName="ufs" TotalSectors="0" GrowLastPartToFillDisk="1" LogEnable="0" LogPosition="0" DelayStartTime="0" UseGPT="1" CheckImage="0" NeedUsbDownload="1" BackupPart="0" BackupPartId="" ChipType="1" IsEnterpriseVer="0" IsSecrecyVer="0" IsRootVer="0" IsLockVer="0" IsCloudServerVer="0" IsBindingMetadataUserdataVer="1" IsDownloadConfigVer="1" IsDownloadConfigSignedVer="1" IsVerifyCdtVer="0" IsOcdtVer="1" IsClearRootConfigVer="1" SupportFillChunk="1" supportFwConfig="0" ProversionUseFfuFirehose="0" />
Code:
<NVList>
<nv id="01000100" text="EUEX" super0="super.0.b5af3876.img" super1="super.1.923a20d4.img" super2="super.2.166a7a8d.img" />
<nv id="01010001" text="TR" super0="super.0.b5af3876.img" super1="super.1.923a20d4.img" super2="super.2.57982db4.img" />
<nv id="10000101" text="EU-NONEEA" super0="super.0.b5af3876.img" super1="super.1.923a20d4.img" super2="super.2.7f563541.img" />
<nv id="10000111" text="UA" super0="super.0.b5af3876.img" super1="super.1.923a20d4.img" super2="super.2.5b847b8d.img" />
<nv id="10001010" text="GB" super0="super.0.b5af3876.img" super1="super.1.923a20d4.img" super2="super.2.039b9258.img" />
<nv id="00000000" text="GB" super0="super.0.b5af3876.img" super1="super.1.923a20d4.img" super2="super.2.039b9258.img" />
</NVList>
For the Sahara project the android bootloader flash is prog_firehose_ddr.elf
Code:
<SAHARA>
<File Id="13" Path="prog_firehose_ddr.elf" />
</SAHARA>
Code:
<Program0>
<File Name="rawprogram0.xml" Path="rawprogram0.xml" SizeInSector="0" FileOffset="0" />
</Program0>
rawprogram0.xml
Code:
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="super.img" label="super" num_partition_sectors="2490368" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="9961472.0" sparse="true" start_byte_hex="0x25208000" start_sector="152072"/>
Code:
<ProgramList>
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="ssd" num_partition_sectors="2" physical_partition_number="0" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="6" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="persist.img" label="persist" num_partition_sectors="8192" physical_partition_number="0" FileOffsetInSrc="176" SizeInSectorInSrc="8192" SizeInByteInSrc="33554432" md5="3fe4f7b6edaac54a109825975d71cefa" sha256="6e348b5a04b0bc8a0ffafa18b10e24211bf4178a1daa2d9e2d7df039330e7e00" start_sector="8" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="misc" num_partition_sectors="256" physical_partition_number="0" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="8200" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="keystore" num_partition_sectors="128" physical_partition_number="0" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="8456" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="frp" num_partition_sectors="128" physical_partition_number="0" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="8584" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="cache.img" label="cache" num_partition_sectors="114688" physical_partition_number="0" FileOffsetInSrc="8368" SizeInSectorInSrc="136" SizeInByteInSrc="69804" md5="4cff69857328767921ef317ee7595a6c" sha256="1bf9ed06f6fd6259ac7b425f14e8bb44cf88166835a8416d8c8c7557e2ed302f" start_sector="8712" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="recovery.img" label="recovery" num_partition_sectors="24576" physical_partition_number="0" FileOffsetInSrc="8400" SizeInSectorInSrc="24576" SizeInByteInSrc="100663296" md5="778e13d2aafdcf2cc25d33fb77e8affe" sha256="bfc725d1a4b46c4eab96b93369e14f9d8b5131646d1674bc6c9b0bc1e9c91755" start_sector="123400" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="metadata.img" label="metadata" num_partition_sectors="4096" physical_partition_number="0" FileOffsetInSrc="32976" SizeInSectorInSrc="4096" SizeInByteInSrc="16777216" md5="25237699568220986a27389ec3ba1ada" sha256="8d06912dcedbea8d3bd38da19fbf50c05f35f5036b742352c11bafa257a38a3b" start_sector="147976" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="" label="super" num_partition_sectors="2490368" physical_partition_number="0" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="152072" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="userdata.img" label="userdata" num_partition_sectors="0" physical_partition_number="0" FileOffsetInSrc="37072" SizeInSectorInSrc="714432" SizeInByteInSrc="365789616" md5="1818012644c6fca9fd0695952aa2639e" sha256="f8a3e0a14e620fa80e07b84c47e98ca1a5b973644b2243b6602e7e2aa310fd66" start_sector="2642440" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_main0.bin" label="PrimaryGPT" num_partition_sectors="6" physical_partition_number="0" FileOffsetInSrc="126384" SizeInSectorInSrc="6" SizeInByteInSrc="24576" md5="e5068841845a1b0c4baf7450845c3039" sha256="d150ac45358a3022fc738f074ffa845e29a65ae8cde984492604a01d069491d4" start_sector="0" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_backup0.bin" label="BackupGPT" num_partition_sectors="5" physical_partition_number="0" FileOffsetInSrc="126400" SizeInSectorInSrc="5" SizeInByteInSrc="20480" md5="c0800575fc31d6d989bf52fdbf49109d" sha256="b5bfba4650978ffff25a2c926565207c62432233533fd22d45cb27caf52c1d27" start_sector="-5" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="xbl.elf" label="xbl" num_partition_sectors="896" physical_partition_number="1" FileOffsetInSrc="126416" SizeInSectorInSrc="828" SizeInByteInSrc="3390749" md5="921353b1a95ebb6151b67eec01e1d9d8" sha256="bfb652f8d161092651f968f61bac54a5db661f1c0f0bfec104c3e50e0b0bb873" start_sector="6" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="xbl_config.elf" label="xbl_config" num_partition_sectors="32" physical_partition_number="1" FileOffsetInSrc="127248" SizeInSectorInSrc="18" SizeInByteInSrc="71804" md5="9488651424d8b4f71800443f2957226f" sha256="012415f10df8b3315a79027003b3cbe57d60b7b460ca7222d23dd503adb421db" start_sector="902" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="last_parti" num_partition_sectors="0" physical_partition_number="1" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="934" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_main1.bin" label="PrimaryGPT" num_partition_sectors="6" physical_partition_number="1" FileOffsetInSrc="127280" SizeInSectorInSrc="6" SizeInByteInSrc="24576" md5="6dbb0def5d405ccd30f4cd1ec311601d" sha256="494cddffe601c9c7bde3e7adc56ed1e94efe30234b51a5c5cbfd0e5dc1ebd21a" start_sector="0" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_backup1.bin" label="BackupGPT" num_partition_sectors="5" physical_partition_number="1" FileOffsetInSrc="127296" SizeInSectorInSrc="5" SizeInByteInSrc="20480" md5="5146347e664d4602ac051c98d8b4a86f" sha256="164ba998cf3ec25cfd2eae01e212b3338f67ce8288861ab9232ef7194cab0a22" start_sector="-5" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="last_parti" num_partition_sectors="0" physical_partition_number="2" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="6" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_main2.bin" label="PrimaryGPT" num_partition_sectors="6" physical_partition_number="2" FileOffsetInSrc="127312" SizeInSectorInSrc="6" SizeInByteInSrc="24576" md5="46d750f0c0dbcc342e8a7df25a6b278a" sha256="67b7d0d21490b895616c5795932bff837575e9ea6e3a2112ca3b73278f7bdb2e" start_sector="0" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_backup2.bin" label="BackupGPT" num_partition_sectors="5" physical_partition_number="2" FileOffsetInSrc="127328" SizeInSectorInSrc="5" SizeInByteInSrc="20480" md5="1a6ca6bfc0ca7eb7b68631ae80f30a84" sha256="7afe30e035cbe168f9d9093ad060fc7357245f716bfc8d6cfc270032970003ed" start_sector="-5" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="ALIGN_TO_128K_1" num_partition_sectors="26" physical_partition_number="3" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="6" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="cdt" num_partition_sectors="32" physical_partition_number="3" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="32" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="zeros_5sectors.bin" label="ddr" num_partition_sectors="256" physical_partition_number="3" FileOffsetInSrc="127344" SizeInSectorInSrc="5" SizeInByteInSrc="20480" md5="daa100df6e6711906b61c9ab5aa16032" sha256="cc61635da46b2c9974335ea37e0b5fd660a5c8a42a89b271fa7ec2ac4b8b26f6" start_sector="64" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="cdt_engineering_release.img" label="cdt_engineering" num_partition_sectors="512" physical_partition_number="3" FileOffsetInSrc="127360" SizeInSectorInSrc="256" SizeInByteInSrc="1048576" md5="86ec536e6cbfb8a64cdbfad593d5b056" sha256="72e22fa2321b8cba9101b2ebec259c311f40fe3b85776cb13e1ec64648266641" start_sector="320" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="oppo20713.bin" label="ocdt" num_partition_sectors="32" physical_partition_number="3" FileOffsetInSrc="127616" SizeInSectorInSrc="1" SizeInByteInSrc="40" md5="4eda0ad8c680cb800a5e84df7d49e41a" sha256="0e5fab00a8f1bd023452923e8642f481aea6d02dc75117d28893a1cd4ccecac6" start_sector="832" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="last_parti" num_partition_sectors="0" physical_partition_number="3" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="864" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_main3.bin" label="PrimaryGPT" num_partition_sectors="6" physical_partition_number="3" FileOffsetInSrc="127632" SizeInSectorInSrc="6" SizeInByteInSrc="24576" md5="9a2e93881eb4e45762375f2d38f3f21f" sha256="48abebc2281e4d656384622568aa6b568a16077c16f726b6e65ce32b3d414685" start_sector="0" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_backup3.bin" label="BackupGPT" num_partition_sectors="5" physical_partition_number="3" FileOffsetInSrc="127648" SizeInSectorInSrc="5" SizeInByteInSrc="20480" md5="0c4df455d8ca0999c62805a7a07447cf" sha256="48c3f042deeddea4b33767ba1d327cc1bf5d2076fe7668f0be88a473a512b02b" start_sector="-5" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="aop.mbn" label="aop" num_partition_sectors="128" physical_partition_number="4" FileOffsetInSrc="127664" SizeInSectorInSrc="40" SizeInByteInSrc="162984" md5="35bf621709853cb5a2a63e5125541d88" sha256="206a41bfc00c1c63dd23a32bddcc18c35ed0b8940a25d7058c8bec9b467b9abb" start_sector="6" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="tz.mbn" label="tz" num_partition_sectors="1024" physical_partition_number="4" FileOffsetInSrc="127712" SizeInSectorInSrc="734" SizeInByteInSrc="3006422" md5="eb6b8b4215d709cbf2214571652e8a71" sha256="87e5620d7756e7f06298d4a606b8ed55f04430a0217d3f3f8f104f355b47a742" start_sector="134" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="hyp.mbn" label="hyp" num_partition_sectors="128" physical_partition_number="4" FileOffsetInSrc="128448" SizeInSectorInSrc="98" SizeInByteInSrc="399536" md5="abe5318bfb0530ce5fcba29967e7468c" sha256="d11c9d756ca1acd746a8919c4d5a88e855f4645f6f8cdbe0b4ce940268e2b124" start_sector="1158" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="NON-HLOS.bin" label="modem" num_partition_sectors="35840" physical_partition_number="4" FileOffsetInSrc="128560" SizeInSectorInSrc="31635" SizeInByteInSrc="129576960" md5="c6b81dadbf8f188ca0934b31a9b8e372" sha256="99a10b03c2b65c66cf9dbb5ca8e65ff633fe9dbbac1bf10d26fafbc2c9d7fa4e" start_sector="1286" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="BTFM.bin" label="bluetooth" num_partition_sectors="256" physical_partition_number="4" FileOffsetInSrc="160208" SizeInSectorInSrc="239" SizeInByteInSrc="978944" md5="6c578587731f28754d7de05319e5c7b8" sha256="19863b80ccc6f921811dc8ed0acbff0f1b4296395d3e5a89e19c434f22ee805e" start_sector="37126" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="mdtpsecapp" num_partition_sectors="1024" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="37382" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="mdtp" num_partition_sectors="8192" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="38406" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="abl.elf" label="abl" num_partition_sectors="256" physical_partition_number="4" FileOffsetInSrc="160448" SizeInSectorInSrc="40" SizeInByteInSrc="163840" md5="b2b2c27c25f1bd4edcdc6a712140333f" sha256="e0e2ba8d339a577e2bebbe0e4192cfe735dc7b3ffd22f1e63d3da1d2fd61c68c" start_sector="46598" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="dspso.bin" label="dsp" num_partition_sectors="8192" physical_partition_number="4" FileOffsetInSrc="160496" SizeInSectorInSrc="8192" SizeInByteInSrc="33554432" md5="12231fb9e750da6d8ac348980ac0bd62" sha256="8dbb921055d1c1b095b14401d47a386d0e4368883858efbdceed7340138d8373" start_sector="46854" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="km4.mbn" label="keymaster" num_partition_sectors="128" physical_partition_number="4" FileOffsetInSrc="168688" SizeInSectorInSrc="60" SizeInByteInSrc="242823" md5="40743ed906215b51ea851a21c84c4f22" sha256="3ec05729820d71f4d9013d0033c0e1365604a2cdfb6898bbe5da675fb0b3ddb7" start_sector="55046" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="boot.img" label="boot" num_partition_sectors="16384" physical_partition_number="4" FileOffsetInSrc="168752" SizeInSectorInSrc="16384" SizeInByteInSrc="67108864" md5="0d9db5e60420bfddd613c12bcb1feb28" sha256="dd24e391b784b0976063263004b572d77bdd9e671e7a4d4b9c040ed90e35725b" start_sector="55174" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="cmnlib.mbn" label="cmnlib" num_partition_sectors="128" physical_partition_number="4" FileOffsetInSrc="185136" SizeInSectorInSrc="98" SizeInByteInSrc="398870" md5="d79cd59625b1e7d372c615229701f791" sha256="02f7e8fee98163cce46df0b020ebf72ec826f671e794dfbbc090fb6a2e34e6c4" start_sector="71558" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="cmnlib64.mbn" label="cmnlib64" num_partition_sectors="128" physical_partition_number="4" FileOffsetInSrc="185248" SizeInSectorInSrc="127" SizeInByteInSrc="520150" md5="6a9225583c43f2d85c8ff07181c44d06" sha256="e9b9d2a4288bf380adb170f338ccd308c1e664c6d31b542e0b0e27ad50973de5" start_sector="71686" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="devcfg.mbn" label="devcfg" num_partition_sectors="32" physical_partition_number="4" FileOffsetInSrc="185376" SizeInSectorInSrc="12" SizeInByteInSrc="47884" md5="9279942b3606f619dd49a699cec310e3" sha256="d871e259dee6b427a3af80c8ac55bf7ce7b0959ee131db9fb1200bf24eefbe70" start_sector="71814" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="qupv3fw.elf" label="qupfw" num_partition_sectors="16" physical_partition_number="4" FileOffsetInSrc="185392" SizeInSectorInSrc="14" SizeInByteInSrc="53647" md5="dec5c324ea59d2046886ac61f7abc30a" sha256="31b842a98ad53b0591c59525849fb05a8992b607b0ea2c860215e9aa0a70f7ef" start_sector="71846" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="vbmeta_system.img" label="vbmeta_system" num_partition_sectors="16" physical_partition_number="4" FileOffsetInSrc="185408" SizeInSectorInSrc="1" SizeInByteInSrc="4096" md5="cc9bc90baf6b0d69e6b4cb8d3cf04394" sha256="6e2e0082ee60b3d8de74c284c999cfe2f36bbf18326dd8fcef22c8c1143e9036" start_sector="71862" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="vbmeta_vendor.img" label="vbmeta_vendor" num_partition_sectors="16" physical_partition_number="4" FileOffsetInSrc="185424" SizeInSectorInSrc="1" SizeInByteInSrc="4096" md5="cbe32999a0c64f3900dc1fd220d64e0f" sha256="2eb031149fd9129f3bb16393f6ada0d92ef952bfb7c3ac76d9ca80357f24939a" start_sector="71878" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="vbmeta.img" label="vbmeta" num_partition_sectors="16" physical_partition_number="4" FileOffsetInSrc="185440" SizeInSectorInSrc="2" SizeInByteInSrc="8192" md5="a3ef7b22e646868950c1918577a7a085" sha256="d83ece16f348ee1dba241f150ba6202c95018b2381389b6ea198b2201869c67f" start_sector="71894" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="dtbo.img" label="dtbo" num_partition_sectors="6144" physical_partition_number="4" FileOffsetInSrc="185456" SizeInSectorInSrc="6144" SizeInByteInSrc="25165824" md5="159866624391d310c6fc2dab962123eb" sha256="53f03f2fe70c2e8c0e89d929f6aa253b13e89d1b3a43101af11f354c8e8ca9d6" start_sector="71910" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="imagefv.elf" label="imagefv" num_partition_sectors="512" physical_partition_number="4" FileOffsetInSrc="191600" SizeInSectorInSrc="8" SizeInByteInSrc="32768" md5="5bc81ed073742d16bb20d6ce49dfda41" sha256="f32c0b5a120e1e37c60f1f550504eaf1dde0eed3e22a0d479f7df7c361ab1499" start_sector="78054" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="uefi_sec.mbn" label="uefisecapp" num_partition_sectors="512" physical_partition_number="4" FileOffsetInSrc="191616" SizeInSectorInSrc="31" SizeInByteInSrc="126743" md5="edf6bb929e4210f8da633098b88ff815" sha256="25f05fd76a962ec69673abe850adbae48108fd6e00d8a1ef5608231058d982d1" start_sector="78566" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="oppo_sec.mbn" label="oppo_sec" num_partition_sectors="2560" physical_partition_number="4" FileOffsetInSrc="191648" SizeInSectorInSrc="30" SizeInByteInSrc="121481" md5="e813fcfdadab23d58a1bd4c48f63df67" sha256="acf49417249c6c870691f9d79043c7867aea75e0028c3905666643c88ff0dbc2" start_sector="79078" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="devinfo" num_partition_sectors="1" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="81638" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="dip" num_partition_sectors="256" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="81639" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="dpAP.mbn" label="apdp" num_partition_sectors="64" physical_partition_number="4" FileOffsetInSrc="191680" SizeInSectorInSrc="4" SizeInByteInSrc="13508" md5="1c61baaabb65bab1cec6ff37bb1e0c60" sha256="948e0891b65a461fc775565b98eaabd88bde1af20b9c4f157a710a994a533ca9" start_sector="81895" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="apdp_full" num_partition_sectors="64" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="81959" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="spunvm" num_partition_sectors="2048" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="82023" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="splash.img" label="splash" num_partition_sectors="8356" physical_partition_number="4" FileOffsetInSrc="191696" SizeInSectorInSrc="130" SizeInByteInSrc="529024" md5="12d88b398bf1ae0ab27b6df976b84b6c" sha256="3ed14f3062d1de8b4a32cad217186d20ae0c17d5cac700c5d836baeeee9ed22f" start_sector="84071" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="limits" num_partition_sectors="1" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="92427" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="toolsfv" num_partition_sectors="256" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="92428" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="logfs_ufs_8mb.bin" label="logfs" num_partition_sectors="2048" physical_partition_number="4" FileOffsetInSrc="191840" SizeInSectorInSrc="4" SizeInByteInSrc="16384" md5="c040a889d66a4f120f502f89b551f42b" sha256="cadf6d7179d79ad39cbead824e2aa5394dd6447058d7990a2e37a94bb22e9e55" start_sector="92684" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="cateloader" num_partition_sectors="512" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="94732" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="rawdump" num_partition_sectors="32768" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="95244" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="logdump" num_partition_sectors="16384" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="128012" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="storsec.mbn" label="storsec" num_partition_sectors="32" physical_partition_number="4" FileOffsetInSrc="191856" SizeInSectorInSrc="6" SizeInByteInSrc="20573" md5="fe0d9958d274a19102c51938d2c38271" sha256="c8dee7ee101a648d063fa8dcbf0b9881b8d497d0a7aa2ca7c6855f3c8dbc717d" start_sector="144396" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="multi_image.mbn" label="multiimgoem" num_partition_sectors="8" physical_partition_number="4" FileOffsetInSrc="191872" SizeInSectorInSrc="4" SizeInByteInSrc="13400" md5="a35f78ed1ea4bfabec5aab745f6d9148" sha256="f28592a6109f9fb5e4abdf29e0bbb580d32f7ed862ac8ba02b489814cd5cc504" start_sector="144428" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="multiimgqti" num_partition_sectors="8" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="144436" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="uefivarstore" num_partition_sectors="128" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="144444" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="sec_smt.dat" label="secdata" num_partition_sectors="7" physical_partition_number="4" FileOffsetInSrc="191888" SizeInSectorInSrc="4" SizeInByteInSrc="12764" md5="f6974ecc135a4a7baa3591b788add036" sha256="932656886a730f19ecbfd9e75a7efe423cebce43f207361de05e61161642b3ae" start_sector="144572" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="catefv" num_partition_sectors="128" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="144579" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="catecontentfv" num_partition_sectors="256" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="144707" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="last_parti" num_partition_sectors="0" physical_partition_number="4" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="144963" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_main4.bin" label="PrimaryGPT" num_partition_sectors="6" physical_partition_number="4" FileOffsetInSrc="191904" SizeInSectorInSrc="6" SizeInByteInSrc="24576" md5="29f8d2f8daedd29cf6c5dc0925b37fcd" sha256="1aa3bf894bdaa1321a8ea878aac41005267eb7a59e4282640fe250b15f2428a2" start_sector="0" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_backup4.bin" label="BackupGPT" num_partition_sectors="5" physical_partition_number="4" FileOffsetInSrc="191920" SizeInSectorInSrc="5" SizeInByteInSrc="20480" md5="bbb48a78c03fb220a5afd185382ac651" sha256="6f78e48bbc588e123f9a0d33608de94f390b7447fbc4cca384588375d7fb8d6b" start_sector="-5" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="ALIGN_TO_128K_2" num_partition_sectors="26" physical_partition_number="5" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="6" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="dynamic_nvbk.bin" label="oppodycnvbk" num_partition_sectors="2560" physical_partition_number="5" FileOffsetInSrc="191936" SizeInSectorInSrc="2560" SizeInByteInSrc="10485760" md5="aed320574619484e6470d00abf0bd279" sha256="fa2c8eba9a85394215bb4b455243afd3960975f93eb443534cae0020b246a058" start_sector="32" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="static_nvbk.bin" label="oppostanvbk" num_partition_sectors="2560" physical_partition_number="5" FileOffsetInSrc="194496" SizeInSectorInSrc="2560" SizeInByteInSrc="10485760" md5="a9b73b06c1163d990eb56a12e3cb74f5" sha256="30d691f1227d9861785858ef23ef01bb6f7bb7fb6df03fd5148ba6f22c3f9a9b" start_sector="2592" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="modemst1" num_partition_sectors="512" physical_partition_number="5" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="5152" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="modemst2" num_partition_sectors="512" physical_partition_number="5" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="5664" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="emmc_fw.bin" label="opporeserve1" num_partition_sectors="2048" physical_partition_number="5" FileOffsetInSrc="197056" SizeInSectorInSrc="1024" SizeInByteInSrc="4194304" md5="ec87a838931d4d5d2e94a04644788a55" sha256="f334a8b51e7acf50318a8d86b8847dae129285451a5b0a3e7c6d2cdce1068944" start_sector="6176" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="opporeserve2.img" label="opporeserve2" num_partition_sectors="32768" physical_partition_number="5" FileOffsetInSrc="198080" SizeInSectorInSrc="152" SizeInByteInSrc="77900" md5="aa856f678526a2979e93affae5ee9e4a" sha256="d863ee5a3e9caea1c52e663aae9ef9b337770a6a439c54a04a9ed8f0bf03807c" start_sector="8224" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="opporeserve3" num_partition_sectors="16384" physical_partition_number="5" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="40992" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="DRIVER.ISO" label="DRIVER" num_partition_sectors="8192" physical_partition_number="5" FileOffsetInSrc="198112" SizeInSectorInSrc="5810" SizeInByteInSrc="23795712" md5="a68c61d322f724bc69c83bc3189f6b9d" sha256="5f857ea78f5ac666332a305017ecbce703ae3831a1fb6ecf2ed413869ebbf70d" start_sector="57376" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="fsg" num_partition_sectors="512" physical_partition_number="5" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="65568" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="fsc" num_partition_sectors="32" physical_partition_number="5" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="66080" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="" label="last_parti" num_partition_sectors="0" physical_partition_number="5" FileOffsetInSrc="0" SizeInSectorInSrc="0" SizeInByteInSrc="0" md5="" sha256="" start_sector="66112" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_main5.bin" label="PrimaryGPT" num_partition_sectors="6" physical_partition_number="5" FileOffsetInSrc="203936" SizeInSectorInSrc="6" SizeInByteInSrc="24576" md5="b29a261193a64f00fec67885f0d969c4" sha256="f1ea4db6a54e9fbbb85251242fe238ad77578e833a1ef159f01b3a74a33add85" start_sector="0" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="0" filepath="" filename="gpt_backup5.bin" label="BackupGPT" num_partition_sectors="5" physical_partition_number="5" FileOffsetInSrc="203952" SizeInSectorInSrc="5" SizeInByteInSrc="20480" md5="13d1f85b9a7623998a629c8a394442df" sha256="7df44f3e223c116edf08806cd44def33e9ee3e6601e08191882bd36c44968bc9" start_sector="-5" />
</ProgramList>
Code:
<Super>
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="super.0.b5af3876.img" label="super" num_partition_sectors="2490368" physical_partition_number="0" FileOffsetInSrc="203968" SizeInSectorInSrc="8068680" SizeInByteInSrc="4131168544" md5="d9f515480f321a4dc7bb3224f8a3c202" sha256="0132db978235f37094382da218dc823267f1a01937a234997f5fd00a24ec8e8d" start_sector="152072" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="super.1.923a20d4.img" label="super" num_partition_sectors="2490368" physical_partition_number="0" FileOffsetInSrc="1212560" SizeInSectorInSrc="3610464" SizeInByteInSrc="1848559096" md5="9afbcde19bc0b55aae19531b58896224" sha256="20307136dd71a450b94b3c77b2888c27ed65933ffb7105e607c5074a9152cb4c" start_sector="152072" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="super.2.166a7a8d.img" label="super" num_partition_sectors="2490368" physical_partition_number="0" FileOffsetInSrc="1663872" SizeInSectorInSrc="1641064" SizeInByteInSrc="840225640" md5="e3dd7e2e399f438b81020e3acb135009" sha256="e461c02dfa6f431028b8e8ef5e3abfe1d9e8c74620bba90e9b45bbed3b3c1a29" start_sector="152072" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="super.2.57982db4.img" label="super" num_partition_sectors="2490368" physical_partition_number="0" FileOffsetInSrc="1869008" SizeInSectorInSrc="1489632" SizeInByteInSrc="762692516" md5="d4647eb0259236bf86345c6b1bfb7e94" sha256="a9c70a6fd681236d642c11920d9e7863e1ca09b31e149285eda566dece477b6c" start_sector="152072" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="super.2.7f563541.img" label="super" num_partition_sectors="2490368" physical_partition_number="0" FileOffsetInSrc="2055216" SizeInSectorInSrc="1548008" SizeInByteInSrc="792580928" md5="c76553ac11dc0229c858fc5401b4cbb0" sha256="f6983753f204ec3e7a73d00cc47edc2d652d9bf474f558413bc6abdf659895e2" start_sector="152072" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="super.2.5b847b8d.img" label="super" num_partition_sectors="2490368" physical_partition_number="0" FileOffsetInSrc="2248720" SizeInSectorInSrc="1497064" SizeInByteInSrc="766497628" md5="ac562d3d4df61b9a8c49a7572549a41f" sha256="b14ae104136467d066760b8ba5098cac3cd4f0addddd1768013ba00fc5f6b321" start_sector="152072" />
<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" skip_download="0" not_overwrite="0" sparse="1" filepath="" filename="super.2.039b9258.img" label="super" num_partition_sectors="2490368" physical_partition_number="0" FileOffsetInSrc="2435856" SizeInSectorInSrc="1637280" SizeInByteInSrc="838288204" md5="56870c3120cf33cd531c84404b205931" sha256="272b6cc4811f502d7b4970869aef10a71ad9c991ff47276d8aa8e75638c0252b" start_sector="152072" />
</Super>
Have a problem with parts. How to make physical partitions editable or mount it ?
Since the parts super partitions are guess encrypted (sha256) and md5 checked it would be hard to decrypt ?
Flash check - decrypt and md5 check prevent further flashing ... (guess).
Looking forward for a clue ...

GitHub - bkerler/oppo_decrypt: Oppo .ofp Firmware decrypter and oneplus .ops de-/encrypter
Oppo .ofp Firmware decrypter and oneplus .ops de-/encrypter - GitHub - bkerler/oppo_decrypt: Oppo .ofp Firmware decrypter and oneplus .ops de-/encrypter
github.com

Related

[Theme]WM 6.5.X WQVGA Only Themes

Hello,
I make 'em for my i910 so please if you want them in any other resolution other than 240X400 feel free to make,break and fix- but don't ask me all requests will be ignored.
Themes- WQVGA WM 6.5.X only
Black Gargoyle DOWNLOAD
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Abstract Blue DOWNLOAD
Black DOWNLOAD
BW_Theme (A tribute to a wolf ablaze)DOWNLOAD
Lioryte Lock Screen customizing cabs- Hit the image to download.
Credits: I would like to thank Zanix for helping and in some cases doing all the work Thanks buddy you rock!. Thanks also goes to m.carroll, livven, jeffrey2000
ock has ported this awesome gchris Titanium theme to make it WQVGA. Awesome porting, thanks ock!
Click on the images to download
Resources and Codes
240X400 .cpr file for clock on top as seen on the first 3 lock screen images
Code:
<Form Width="240" Height="400">
<LS_LockScene ID="Scene">
<Slider ID="LockSlider" Top="315" Left="24" Width="192" Height="40" Orientation="Middle" OnPress="ShowNotifications" OnSlideLeftFinal="Unlock" OnSlideRightFinal="Unlock" >
<Layer ID="SlidePath" >
<Layer ID="SlidePathLeft">
<Image Left="34" Top="13" Width="29" Height="13" Opacity="1.0" Source="\windows\arr_loop_l4.png" />
</Layer>
<Layer ID="SlidePathRight">
<Image Left="129" Top="13" Width="29" Height="13" Opacity="1.0" Source="\windows\arr_loop_r4.png" />
</Layer>
<ControlSequence ID="SlidePathEnterSequenceLeft" Left="34" Top="13" Width="29" Height="13" FramesPerSecond="28" Loop="False">
<Image ID="Sequence1" Opacity="1.0" Source="\windows\arwL_entry_001.png" />
<Image ID="Sequence2" Opacity="1.0" Source="\windows\arwL_entry_002.png" />
<Image ID="Sequence3" Opacity="1.0" Source="\windows\arwL_entry_003.png" />
<Image ID="Sequence4" Opacity="1.0" Source="\windows\arwL_entry_004.png" />
<Image ID="Sequence5" Opacity="1.0" Source="\windows\arwL_entry_005.png" />
<Image ID="Sequence6" Opacity="1.0" Source="\windows\arwL_entry_006.png" />
<Image ID="Sequence7" Opacity="1.0" Source="\windows\arwL_entry_007.png" />
<Image ID="Sequence8" Opacity="1.0" Source="\windows\arwL_entry_008.png" />
<Image ID="Sequence9" Opacity="1.0" Source="\windows\arwL_entry_009.png" />
<Image ID="Sequence10" Opacity="1.0" Source="\windows\arwL_entry_010.png" />
<Image ID="Sequence11" Opacity="1.0" Source="\windows\arwL_entry_011.png" />
<Image ID="Sequence12" Opacity="1.0" Source="\windows\arwL_entry_012.png" />
<Image ID="Sequence13" Opacity="1.0" Source="\windows\arwL_entry_013.png" />
<Image ID="Sequence14" Opacity="1.0" Source="\windows\arwL_entry_014.png" />
<Image ID="Sequence15" Opacity="1.0" Source="\windows\arwL_entry_015.png" />
<Image ID="Sequence16" Opacity="1.0" Source="\windows\arwL_entry_016.png" />
<Image ID="Sequence17" Opacity="1.0" Source="\windows\arwL_entry_017.png" />
<Image ID="Sequence18" Opacity="1.0" Source="\windows\arwL_entry_018.png" />
<Image ID="Sequence19" Opacity="1.0" Source="\windows\arwL_entry_019.png" />
<Image ID="Sequence20" Opacity="1.0" Source="\windows\arwL_entry_020.png" />
<Image ID="Sequence21" Opacity="1.0" Source="\windows\arwL_entry_021.png" />
</ControlSequence>
<ControlSequence ID="SlidePathEnterSequenceRight" Left="129" Top="13" Width="29" Height="13" FramesPerSecond="28" Loop="False">
<Image ID="Sequence1" Opacity="1.0" Source="\windows\arwR_enter_001.png" />
<Image ID="Sequence2" Opacity="1.0" Source="\windows\arwR_enter_002.png" />
<Image ID="Sequence3" Opacity="1.0" Source="\windows\arwR_enter_003.png" />
<Image ID="Sequence4" Opacity="1.0" Source="\windows\arwR_enter_004.png" />
<Image ID="Sequence5" Opacity="1.0" Source="\windows\arwR_enter_005.png" />
<Image ID="Sequence6" Opacity="1.0" Source="\windows\arwR_enter_006.png" />
<Image ID="Sequence7" Opacity="1.0" Source="\windows\arwR_enter_007.png" />
<Image ID="Sequence8" Opacity="1.0" Source="\windows\arwR_enter_008.png" />
<Image ID="Sequence9" Opacity="1.0" Source="\windows\arwR_enter_009.png" />
<Image ID="Sequence10" Opacity="1.0" Source="\windows\arwR_enter_010.png" />
<Image ID="Sequence11" Opacity="1.0" Source="\windows\arwR_enter_011.png" />
<Image ID="Sequence12" Opacity="1.0" Source="\windows\arwR_enter_012.png" />
<Image ID="Sequence13" Opacity="1.0" Source="\windows\arwR_enter_013.png" />
<Image ID="Sequence14" Opacity="1.0" Source="\windows\arwR_enter_014.png" />
<Image ID="Sequence15" Opacity="1.0" Source="\windows\arwR_enter_015.png" />
<Image ID="Sequence16" Opacity="1.0" Source="\windows\arwR_enter_016.png" />
<Image ID="Sequence17" Opacity="1.0" Source="\windows\arwR_enter_017.png" />
<Image ID="Sequence18" Opacity="1.0" Source="\windows\arwR_enter_018.png" />
<Image ID="Sequence19" Opacity="1.0" Source="\windows\arwR_enter_019.png" />
<Image ID="Sequence20" Opacity="1.0" Source="\windows\arwR_enter_020.png" />
<Image ID="Sequence21" Opacity="1.0" Source="\windows\arwR_enter_021.png" />
</ControlSequence>
<ControlSequence ID="SlidePathLoopSequenceLeft" Left="34" Top="13" Width="29" Height="13" FramesPerSecond="4" LoopCount="2">
<Image ID="Sequence1" Opacity="1.0" Source="\windows\arr_loop_l1.png" />
<Image ID="Sequence2" Opacity="1.0" Source="\windows\arr_loop_l2.png" />
<Image ID="Sequence3" Opacity="1.0" Source="\windows\arr_loop_l3.png" />
<Image ID="Sequence4" Opacity="1.0" Source="\windows\arr_loop_l4.png" />
</ControlSequence>
<ControlSequence ID="SlidePathLoopSequenceRight" Left="129" Top="13" Width="29" Height="13" FramesPerSecond="4" LoopCount="2">
<Image ID="Sequence1" Opacity="1.0" Source="\windows\arr_loop_r1.png" />
<Image ID="Sequence2" Opacity="1.0" Source="\windows\arr_loop_r2.png" />
<Image ID="Sequence3" Opacity="1.0" Source="\windows\arr_loop_r3.png" />
<Image ID="Sequence4" Opacity="1.0" Source="\windows\arr_loop_r4.png" />
</ControlSequence>
</Layer>
<Layer ID="Slide" Width="60" Height="40" OnInitComplete="Binding:LockScreen,LS_Notifications">
<Layer ID="SlideDown">
<Image ID="SliderFocusIcon" Width="60" Height="40" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" />
</Layer>
<Layer ID="SlideUp">
<Image ID="SliderIcon" Width="60" Height="40" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" />
</Layer>
<Text ID="TotalCount" Left="26" Width="22" Height="40" FontFamily="Tahoma" FontSize="10" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetOutline" Color="#00000000" TextOffset="1"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Slider>
<Text ID="TapOrSlide" Top="301" Left="60" Width="120" Height="16" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18150">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<Text ID="SlideToUnlock" Top="301" Left="90" Width="60" Height="16" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18149">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<LockScreenListView ID="Notifications List" Top="174" Left="9" Width="222" Height="235" Columns="1" Rows="4" ItemWidth="222" ItemHeight="37" OnInitComplete="Binding:LockScreen,LS_Notifications">
<Layer ID="Focus" Width="222" Height="37" />
<Layer ID="ListItem" Visible="False">
<Layer ID="Normal">
<Slider ID="ItemSlider" Width="222" Height="32" Orientation="Middle" OnSlideLeftFinal="NotificationUnlock" OnSlideRightFinal="NotificationUnlock">
<Layer ID="SlidePath">
<Layer ID="SlidePathLeft">
<Image Left="61" Top="9" Width="29" Height="13" Opacity="1.0" Source="\windows\arr_loop_l4.png" />
</Layer>
<Layer ID="SlidePathRight">
<Image Left="132" Top="9" Width="29" Height="13" Opacity="1.0" Source="\windows\arr_loop_r4.png" />
</Layer>
<ControlSequence ID="SlidePathEnterSequenceLeft" Left="61" Top="9" Width="29" Height="13" FramesPerSecond="28" Loop="False">
<Image ID="Sequence1" Opacity="1.0" Source="\windows\arwL_entry_001.png" />
<Image ID="Sequence2" Opacity="1.0" Source="\windows\arwL_entry_002.png" />
<Image ID="Sequence3" Opacity="1.0" Source="\windows\arwL_entry_003.png" />
<Image ID="Sequence4" Opacity="1.0" Source="\windows\arwL_entry_004.png" />
<Image ID="Sequence5" Opacity="1.0" Source="\windows\arwL_entry_005.png" />
<Image ID="Sequence6" Opacity="1.0" Source="\windows\arwL_entry_006.png" />
<Image ID="Sequence7" Opacity="1.0" Source="\windows\arwL_entry_007.png" />
<Image ID="Sequence8" Opacity="1.0" Source="\windows\arwL_entry_008.png" />
<Image ID="Sequence9" Opacity="1.0" Source="\windows\arwL_entry_009.png" />
<Image ID="Sequence10" Opacity="1.0" Source="\windows\arwL_entry_010.png" />
<Image ID="Sequence11" Opacity="1.0" Source="\windows\arwL_entry_011.png" />
<Image ID="Sequence12" Opacity="1.0" Source="\windows\arwL_entry_012.png" />
<Image ID="Sequence13" Opacity="1.0" Source="\windows\arwL_entry_013.png" />
<Image ID="Sequence14" Opacity="1.0" Source="\windows\arwL_entry_014.png" />
<Image ID="Sequence15" Opacity="1.0" Source="\windows\arwL_entry_015.png" />
<Image ID="Sequence16" Opacity="1.0" Source="\windows\arwL_entry_016.png" />
<Image ID="Sequence17" Opacity="1.0" Source="\windows\arwL_entry_017.png" />
<Image ID="Sequence18" Opacity="1.0" Source="\windows\arwL_entry_018.png" />
<Image ID="Sequence19" Opacity="1.0" Source="\windows\arwL_entry_019.png" />
<Image ID="Sequence20" Opacity="1.0" Source="\windows\arwL_entry_020.png" />
<Image ID="Sequence21" Opacity="1.0" Source="\windows\arwL_entry_021.png" />
</ControlSequence>
<ControlSequence ID="SlidePathEnterSequenceRight" Left="132" Top="9" Width="29" Height="13" FramesPerSecond="28" Loop="False">
<Image ID="Sequence1" Opacity="1.0" Source="\windows\arwR_enter_001.png" />
<Image ID="Sequence2" Opacity="1.0" Source="\windows\arwR_enter_002.png" />
<Image ID="Sequence3" Opacity="1.0" Source="\windows\arwR_enter_003.png" />
<Image ID="Sequence4" Opacity="1.0" Source="\windows\arwR_enter_004.png" />
<Image ID="Sequence5" Opacity="1.0" Source="\windows\arwR_enter_005.png" />
<Image ID="Sequence6" Opacity="1.0" Source="\windows\arwR_enter_006.png" />
<Image ID="Sequence7" Opacity="1.0" Source="\windows\arwR_enter_007.png" />
<Image ID="Sequence8" Opacity="1.0" Source="\windows\arwR_enter_008.png" />
<Image ID="Sequence9" Opacity="1.0" Source="\windows\arwR_enter_009.png" />
<Image ID="Sequence10" Opacity="1.0" Source="\windows\arwR_enter_010.png" />
<Image ID="Sequence11" Opacity="1.0" Source="\windows\arwR_enter_011.png" />
<Image ID="Sequence12" Opacity="1.0" Source="\windows\arwR_enter_012.png" />
<Image ID="Sequence13" Opacity="1.0" Source="\windows\arwR_enter_013.png" />
<Image ID="Sequence14" Opacity="1.0" Source="\windows\arwR_enter_014.png" />
<Image ID="Sequence15" Opacity="1.0" Source="\windows\arwR_enter_015.png" />
<Image ID="Sequence16" Opacity="1.0" Source="\windows\arwR_enter_016.png" />
<Image ID="Sequence17" Opacity="1.0" Source="\windows\arwR_enter_017.png" />
<Image ID="Sequence18" Opacity="1.0" Source="\windows\arwR_enter_018.png" />
<Image ID="Sequence19" Opacity="1.0" Source="\windows\arwR_enter_019.png" />
<Image ID="Sequence20" Opacity="1.0" Source="\windows\arwR_enter_020.png" />
<Image ID="Sequence21" Opacity="1.0" Source="\windows\arwR_enter_021.png" />
</ControlSequence>
<ControlSequence ID="SlidePathLoopSequenceLeft" Left="61" Top="9" Width="29" Height="13" FramesPerSecond="4" LoopCount="2">
<Image ID="Sequence1" Opacity="1.0" Source="\windows\arr_loop_l1.png" />
<Image ID="Sequence2" Opacity="1.0" Source="\windows\arr_loop_l2.png" />
<Image ID="Sequence3" Opacity="1.0" Source="\windows\arr_loop_l3.png" />
<Image ID="Sequence4" Opacity="1.0" Source="\windows\arr_loop_l4.png" />
</ControlSequence>
<ControlSequence ID="SlidePathLoopSequenceRight" Left="132" Top="9" Width="29" Height="13" FramesPerSecond="4" LoopCount="2">
<Image ID="Sequence1" Opacity="1.0" Source="\windows\arr_loop_r1.png" />
<Image ID="Sequence2" Opacity="1.0" Source="\windows\arr_loop_r2.png" />
<Image ID="Sequence3" Opacity="1.0" Source="\windows\arr_loop_r3.png" />
<Image ID="Sequence4" Opacity="1.0" Source="\windows\arr_loop_r4.png" />
</ControlSequence>
</Layer>
<Layer ID="Slide" Width="67" Height="32">
<Layer ID="SlideDown">
<Image ID="Focus Image" Left="15" Width="37" Height="32" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" />
</Layer>
<Layer ID="SlideUp">
<Image ID="Image" Left="15" Width="37" Height="32" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" />
</Layer>
<Text ID="Notification Count" Left="52" Width="30" Height="11" FontFamily="Tahoma" FontSize="10" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetOutline" Color="#00000000" TextOffset="1"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Slider>
</Layer>
</Layer>
<Layer ID="No Items">
</Layer>
</LockScreenListView>
<Layer ID="TimeX" Top="0">
<Image ID="TimeBG" Width="240" Height="373" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" Source="\windows\LS_TimeBG.png"/>
<Layer Top="7" ID="DateTime" OnInitComplete="Binding:LockScreen,LS_ClockDataItem">
<Text ID="TimeText" Left="40" Width="200" Top="-1" Height="60" FontFamily="Tahoma" FontSize="51" FontStyle="Regular" Wrap="False" HorizontalAlignment="Middle" VerticalAlignment="Middle" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<Text ID="AMPMText" Left="210" Width="90" Height="16" FontFamily="Tahoma" FontSize="9" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<Text ID="DateText" Left="95" Top="57" Width="90" Height="19" FontFamily="Tahoma" FontSize="10" FontStyle="Bold" Wrap="False" HorizontalAlignment="Middle" VerticalAlignment="Middle" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Layer>
<Layer ID="AppointmentX" Left="10" Top="95">
<Layer ID="Appointment">
<ActiveIcon ID="Display Appointment" OnInitComplete="Binding:LockScreen,LS_Appointment">
<Image Width="32" Height="32" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" Source="\windows\icn_cal_up.png"/>
<Text ID="Subject" Left="34" Top="0" Width="150" Height="17" FontFamily="Tahoma" FontSize="10" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<Text ID="Time" Left="34" Top="15" Width="150" Height="15" FontFamily="Tahoma" FontSize="8" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<Text ID="Location" Left="34" Top="27" Width="150" Height="15" FontFamily="Tahoma" FontSize="8" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</ActiveIcon>
</Layer>
</Layer>
</LS_LockScene>
</Form>
Thanks to Wiif, I now have another code line added to the 240x400.cpr
Code:
<Image ID="Background" Left="0" Top="0" Width="240" Height="400" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" Source="\Windows\Background.jpg" />
OR
Code:
<Image ID="Background" Left="0" Top="0" Width="240" Height="400" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" Source="\Windows\Background.png" />
To go right under
Code:
<LS_LockScene ID="Scene">
What this code does, is letting anyone choose whatever background to use as lock screen background. All that is needed to do in order to get a different Lock screen background is to place a 240x400 jpg/png file in /windows to act as background.
However, if there is no jpg/png file- The lockscreen will revert back to WM 6.1 lockscreen.
I'll be posting A cab. File for testing, This .cab file will work on any WQVGA device, needless to say the i900/910
.Cab file has background set as a .png file. So all that needs to be done is get your favorite png image, resize it to 240x400 (Or not), rename it to background.png and install to /windows. Resco explorer/ Total commander are needed as it's part of the ROM. Once installed just soft reset.
Please feedback
reserved 2
reserved 3
thank you lioryte.. your lockscreen cab works great
Hah nice one m8!! (W)QVGA is on the extinction
Sad but true. I'm still having fun with the ol' i910 though

(Guide)how to theme your settings.apk for beginers

Hi all iam apk5656 and tis is my fourth thread sorry for my bad en
first all credits goes to balamu96m
and his thread link http://forum.xda-developers.com/showthread.php?t=1576565
but in my guide here i will explain how to theme settings.apk in extremely jb/kk style
first follow my guide here on how to enable dark/light theme if you want jb then enable dark one and if you want kk enable he light one http://forum.xda-developers.com/android/themes/light-black-theme-framework-res-t3366072 after you finish then you can start here :highfive: :highfive: :highfive:
ok lets start
requirement is
1-settings.apk
2-framework-res.apk
3-just your brain lol
first thing in my guide here we will change your settings header
decompile your framework-res
download this mod edit - links removed
go to drawable-mdpi and past these images there
if you want kk style then replace the image wich in kk folder with yours and if you want jb style replace themage in jb folder with yours
now recompile the framework and replace it with yours and you will got the new settings header
now lets go to theme your settings.apk :highfive:
decompile it and replace this icons mod edit - links removed
with yours wich in drawable-mdpi-ldpi or hdpi
the go to settings.xml
your stock sould be like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.android.settings.IconPreferenceScreen android:title="@string/dual_settings_title" android:key="dual_settings" settings:icon="@drawable/ic_dualsettings_sim">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DualSimSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/radio_controls_title" settings:icon="@drawable/ic_settings_wireless">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call">
<intent android:targetPackage="com.android.phone" android:action="android.intent.action.MAIN" android:targetClass="com.android.phone.CallSettingOptions" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/sound_settings_title" settings:icon="@drawable/ic_settings_sound">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SoundSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/wallpaper_settings" settings:icon="@drawable/ic_settings_wallpaper">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WallpaperChooser" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/security_settings_title" android:key="security_settings" settings:icon="@drawable/ic_settings_security">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SecuritySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/applications_settings" android:key="applications_settings" settings:icon="@drawable/ic_settings_applications">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ApplicationSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/sync_settings" android:key="sync_settings" settings:icon="@drawable/ic_settings_sync">
<intent android:action="android.settings.SYNC_SETTINGS" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/privacy_settings" android:key="privacy_settings" settings:icon="@drawable/ic_settings_privacy">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.PrivacySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/storage_settings" settings:icon="@drawable/ic_settings_storage">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Memory" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/language_settings" settings:icon="@drawable/ic_settings_language">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.LanguageSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/voice_input_output_settings" settings:icon="@drawable/ic_settings_speech">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.VoiceInputOutputSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/accessibility_settings" settings:icon="@drawable/ic_settings_accessibility">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.AccessibilitySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/dock_settings" android:key="dock_settings" settings:icon="@drawable/ic_settings_dock">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DockSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/date_and_time_settings_title" settings:icon="@drawable/ic_settings_date_time">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DateTimeSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/swtichmachine" settings:icon="@drawable/ic_lock_power_off">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.timerpower.AlarmClock" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/about_settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DeviceInfoSettings" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>
here we start replace yours
Code:
<com.android.settings.IconPreferenceScreen android:title="@string/radio_controls_title" settings:icon="@drawable/ic_settings_wireless">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
with this
Code:
<PreferenceCategory android:title="Wireless and Networks" />
<com.android.settings.IconPreferenceScreen android:title="Wi-Fi" settings:icon="@drawable/wifi">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.wifi.WifiSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="Bluetooth" settings:icon="@drawable/bt">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.bluetooth.BluetoothSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:persistent="false" android:title="Data usage" android:key="button_data_usage_key" settings:icon="@drawable/data">
<intent android:targetPackage="com.sigterm" android:action="android.intent.action.MAIN" android:targetClass="com.sigterm.activities.DataUsageActivity" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="/More..." android:key="wireless_settings" settings:icon="@drawable/more">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
ok that will add blutooth and wifi and more and datausage shortcuts
now we will need to categorie your settings
with this code <PreferenceCategory android:title="categorie name" />
and like this have a look on mine
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="Wireless and Networks" />
<com.android.settings.IconPreferenceScreen android:title="Wi-Fi" settings:icon="@drawable/wifi">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.wifi.WifiSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="Bluetooth" settings:icon="@drawable/bt">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.bluetooth.BluetoothSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:persistent="false" android:title="Data usage" android:key="button_data_usage_key" settings:icon="@drawable/data">
<intent android:targetPackage="com.sigterm" android:action="android.intent.action.MAIN" android:targetClass="com.sigterm.activities.DataUsageActivity" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="/More..." android:key="wireless_settings" settings:icon="@drawable/more">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
<PreferenceCategory android:title="interface" />
<com.android.settings.IconPreferenceScreen android:title="@string/rom_toolbox" settings:icon="@drawable/ic_settings_rom">
<intent android:targetPackage="com.jrummy.liberty.toolboxpro" android:action="android.intent.action.MAIN" android:targetClass="com.jrummy.apps.rom.toolbox.RomToolboxActivity" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/xposed_installer" android:key="xposed_key" settings:icon="@drawable/xpsoed">
<intent android:targetPackage="de.robv.android.xposed.installer" android:action="android.intent.action.MAIN" android:targetClass="de.robv.android.xposed.installer.WelcomeActivity" />
</com.android.settings.IconPreferenceScreen>
<PreferenceCategory android:title="Device" />
<com.android.settings.IconPreferenceScreen android:title="@string/sound_settings_title" settings:icon="@drawable/ic_settings_sound">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SoundSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/dual_settings_title" android:key="dual_settings" settings:icon="@drawable/ic_dualsettings_sim">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DualSimSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call">
<intent android:targetPackage="com.android.phone" android:action="android.intent.action.MAIN" android:targetClass="com.android.phone.CallSettingOptions" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/wallpaper_settings" settings:icon="@drawable/ic_settings_wallpaper">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WallpaperChooser" />
</com.android.settings.IconPreferenceScreen>
<PreferenceCategory android:title="Personal" />
<com.android.settings.IconPreferenceScreen android:title="@string/security_settings_title" android:key="security_settings" settings:icon="@drawable/ic_settings_security">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SecuritySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/applications_settings" android:key="applications_settings" settings:icon="@drawable/ic_settings_applications">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ApplicationSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/sync_settings" android:key="sync_settings" settings:icon="@drawable/ic_settings_sync">
<intent android:action="android.settings.SYNC_SETTINGS" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/privacy_settings" android:key="privacy_settings" settings:icon="@drawable/ic_settings_privacy">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.PrivacySettings" />
</com.android.settings.IconPreferenceScreen>
<PreferenceCategory android:title="Management" />
<com.android.settings.IconPreferenceScreen android:title="@string/storage_settings" settings:icon="@drawable/ic_settings_storage">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Memory" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/language_settings" settings:icon="@drawable/ic_settings_language">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.LanguageSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/voice_input_output_settings" settings:icon="@drawable/ic_settings_speech">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.VoiceInputOutputSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/accessibility_settings" settings:icon="@drawable/ic_settings_accessibility">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.AccessibilitySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/dock_settings" android:key="dock_settings" settings:icon="@drawable/ic_settings_dock">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DockSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/date_and_time_settings_title" settings:icon="@drawable/ic_settings_date_time">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DateTimeSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/swtichmachine" settings:icon="@drawable/ic_lock_power_off">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.timerpower.AlarmClock" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/click_me" settings:icon="@drawable/jb">
<intent android:targetPackage="iaj.areeb.jellybean" android:action="android.intent.action.MAIN" android:targetClass="iaj.areeb.jellybean.PlatLogoActivity" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:title="@string/about_settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DeviceInfoSettings" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>
now save and out
go to your device_info_settings.xml
and add this on the last before resources this is for rom info
Code:
<Preference android:title="Rom Name" android:summary="rom name" style="?android:preferenceInformationStyle" />
<Preference android:title="Rom Developer" android:summary="your name" style="?android:preferenceInformationStyle" />
<Preference android:title="Recovery Version" android:summary="Recovery version" style="?android:preferenceInformationStyle" />
<Preference android:title="Release Date" android:summary="your rom build date" style="?android:preferenceInformationStyle" />
<Preference android:title="Contact Us" android:summary="your page url or somethin like this" style="?android:preferenceInformationStyle" />
save and recompile
and replace settings.apk with yours and tada :laugh: :laugh: if you like this this thread hit thanks button :highfive:
oh i forget download data usage app from here and paste it in system/app mod edit - links removed
guys what do you think about this thread?
Woww Great Articale!
Thanks man
if you really like this hit thanks button lol
good
thread closed until the links will be available
Dan - forum moderator

Unity, Android Studios, Gradle Issues.

Hey Friends,
I am attempting to export a Unity Android Build and then import it into Android Studios.
The Catch here is that the exported version from Unity has to be in Gradle format so that a Gradle build machine could make a build with the project immediately, without first opening it in Android Studios.
My current issue is it seems to not be reading my apps .iml file properly?
I get this error when importing my assembled project into Android Studios:
Error:FAILURE: Build failed with an exception.
* What went wrong:
Task 'generateDebugSources' not found in project ':app'.
* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Thanks for your time and assistance, my iml to follow:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="AndroidApp" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":app" />
</configuration>
</facet>
<facet type="android" name="Android">
<configuration>
<option name="SELECTED_BUILD_VARIANT" value="debug" />
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<afterSyncTasks>
<task>generateDebugSources</task>
</afterSyncTasks>
<option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build" />
<output-test url="file://$MODULE_DIR$/build" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
<excludeFolder url="file://$MODULE_DIR$/build" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/mediarouter-v7/23.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/23.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-ads-lite/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-ads/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-analytics-impl/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-analytics/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-appindexing/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-appinvite/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-auth-base/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-auth/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-base/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-basement/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-cast/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-drive/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-fitness/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-games/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-gcm/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-identity/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-iid/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-location/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-maps/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-nearby/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-panorama/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-plus/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-safetynet/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-tagmanager-api/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-tagmanager/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-tasks/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-vision/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-wallet/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-wearable/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-analytics-impl/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-analytics/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-auth-common/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-auth-module/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-auth/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-common/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-config/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-crash/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-database-connection/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-database/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-iid/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-messaging/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-storage-common/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-storage/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-runtime-classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-safeguard" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-verifier" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant-run-support" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/reload-dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/restart-dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/sourceFolderJavaResources" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="1.7" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

How To Guide Engineer mode GDPR codes

Codes for GDPR RMX3081 Rom.
For full access use Secrecy unlock.
There are guess 2 levels of available code, level one is for non-auth, all other for auth and/or rooted access.
Regions are only set to EU (GDPR Rom), some items are for CN for test purposes.
Some actions are permanent, some are fixed. Beware of the changes !
CSS:
<OrderItem name="*#12345#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="com.oppo.activation.action.STOP_SERVICE" />
</OrderItem>
<OrderItem name="*#10000#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.MarkResultShow"
android:targetPackage="com.oppo.engineermode" />
<OrderItem name="*#36446337#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.EngineeringMode"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*##*37847#" type="startActivity" platform="ALL" region="ALL" level="6">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.device.DeviceListActivity"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#66#" type="startActivity" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.IMeiAndPcbCheck"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#6776#" type="startActivity" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.CheckSoftwareInfo"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#649010#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.DiagEnabled"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#637243#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.ShowRemoteMessage"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#727#" type="startActivity" platform="QCOM" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.SarTest"
android:targetPackage="com.oppo.engineermode.network" />
</OrderItem>
<OrderItem name="*#7327#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.rftoolkit.RfToolkitCustomerService"
android:targetPackage="com.oppo.rftoolkit" />
</OrderItem>
<OrderItem name="*#7890#" type="startActivity" platform="ALL" region="EXP" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.NetWorkSet"
android:targetPackage="com.oppo.engineermode.network" />
</OrderItem>
<OrderItem name="*#800#" type="startActivity" platform="MTK" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.mediatek.engineermode.EngineerMode"
android:targetPackage="com.mediatek.engineermode">
<extra
android:name="isRedirectToLogger"
android:value="true" />
</intent>
</OrderItem>
<OrderItem name="*#807#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.aftersale.DeviceSimpleDetectActivity"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#808#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.EngineerModeMain"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#805#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.bluetoothtest.BluetoothTest"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#803#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.wifitest.WifiSettings"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#802#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.gps.GpsActivity"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#806#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.autoaging.AutoAgingMainListActivity"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#8778#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.manualtest.MasterClear"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#888#" type="startActivity" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.PcbShow"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*##*8110#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.OtaSwitch"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#8019#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.wireless.WifiSocketHelper"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#818#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.NetworkSearchNew"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="Step_Num"
android:value="First" />
</intent>
</OrderItem>
<OrderItem name="*#838#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.NetworkSearchNew"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="Step_Num"
android:value="Second" />
</intent>
</OrderItem>
<OrderItem name="*#8168#" type="startActivity" platform="ALL" region="CN" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.CmccEvaluationOTA"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="AntPosition"
android:value="Button" />
</intent>
</OrderItem>
<OrderItem name="*#8398#" type="startActivity" platform="ALL" region="CN" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.network.CmccEvaluationOTA"
android:targetPackage="com.oppo.engineermode.network">
<extra
android:name="AntPosition"
android:value="TOP" />
</intent>
</OrderItem>
<OrderItem name="*#8020#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.wireless.WifiAdbHelper"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#899#" type="other" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.aftersale.AfterSalePage"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#99#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.KeepSrceenOn"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#928#" type="startActivity" platform="QCOM" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.wifitest.WifiFTMActivity"
android:targetPackage="com.oppo.engineermode">
<extra
android:name="Step_WifiFtm"
android:value="First" />
</intent>
</OrderItem>
<OrderItem name="*#9434#" type="startActivity" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.decrypt.WifiDecryptionActivity"
android:targetPackage="com.oppo.decrypt" />
</OrderItem>
<OrderItem name="*#911#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.PowerOff"
android:targetPackage="com.oppo.engineermode" />
</OrderItem>
<OrderItem name="*#07#" type="other" platform="ALL" region="EXP" level="1" />
<OrderItem name="*#67767#" type="other" platform="ALL" region="EXP" level="1" />
<OrderItem name="*#8011#" type="other" platform="ALL" region="ALL" level="1" />
<OrderItem name="*#39724#" type="other" platform="ALL" region="EXP" level="2" />
<OrderItem name="*#390501#" type="other" platform="ALL" region="EXP" level="1" />
<OrderItem name="*#390502#" type="other" platform="ALL" region="EXP" level="1" />
<OrderItem name="*#008#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.LanguageSwitchActivity"
android:targetPackage="com.oppo.engineermode">
<extra
android:name="language_str"
android:value="zh_CN" />
</intent>
</OrderItem>
<OrderItem name="*#643223#" type="startActivity" platform="ALL" region="ALL" level="1">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.DevelopmentConfigPage"
android:targetPackage="com.oppo.engineermode">
</intent>
</OrderItem>
<OrderItem name="*#885526#" type="startActivity" platform="ALL" region="ALL" level="2">
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.oppo.engineermode.development.VulkanDebugActivity"
android:targetPackage="com.oppo.engineermode">
</intent>
</OrderItem>
<!--*#928#-->
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wifitest.WifiFTMActivity" />
<!--*#8019#-->
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wireless.WifiSocketHelper" />
<!--*#8020#-->
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wireless.WifiAdbHelper" />
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wireless.SwitchMetaModeHelper" />
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.DetectMasterClearResult" />
<!--*#637243#-->
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.ShowRemoteMessage" />
<activity packageName="com.oppo.engineermode"
className="com.oppo.engineermode.manualtest.modeltest.ModelTestImpl" />
<service packageName="com.oppo.engineermode"
className="com.oppo.engineermode.assistant.SwitchWifiMMI" />
<service packageName="com.oppo.engineermode"
className="com.oppo.engineermode.assistant.SwitchProductionMode" />
<service packageName="com.oppo.engineermode"
className="com.oppo.autotest.connector.AutoTestServer" />
<service packageName="com.oppo.engineermode" className="com.oppo.autotest.RunAllTest" />
<service packageName="com.oppo.engineermode"
className="com.oppo.engineermode.wireless.WifiAdbHelperService" />
<shell_command command="--update_back_cover_color" />
<shell_command command="--update_engineer_result" />
<shell_command command="--update_oppo_sn" />
<shell_command command="--reset_back_cover_color" />
<shell_command command="--reset_write_protect" />
<shell_command command="--reset_engineer_result" />
<shell_command command="--reset_download_mode" />
<shell_command command="--execute_start_mmi" />
<shell_command command="--execute_stop_mmi" />
<shell_command command="--execute_master_clear" />
<shell_command command="--execute_power_off" />
<shell_command command="--execute_model_test" />
<shell_command command="--execute_engineer_order" />
<shell_command command="--execute_switch_production_mode" />
<shell_command command="--execute_detect_ms_result" />
<shell_command command="--execute_show_production_message" />
<shell_command command="--execute_switch_wifi_mmi" />
<shell_command command="--execute_launch_wifi_mmi" />
<shell_command command="--generate_attk_key_pair" />
<shell_command command="--verify_attk_key_pair" />
<shell_command command="--verify_attk_key_pair_only" />
<shell_command command="--verify_ali_key" />
<shell_command command="--export_attk_public_key" />
<shell_command command="--get_device_id" />
<shell_command command="--enable_rpmb" />
<shell_command command="--crypto_eng_verify" />
<shell_command command="--get_tee_version" />
<shell_command command="--install_keybox" />
<shell_command command="--provision_keybox" />
<shell_command command="--verify_keybox" />
StratOS_HTC said:
Codes for GDPR RMX3081 Rom.
Click to expand...
Click to collapse
How to obtain this codes for another model? Please provide guide/tutorial
Quick guidethrought on different phone :
Entering Engineering Mode (and list of secret codes)
To enter the Engineering Mode: dial *#899# Here are two more lists with secret codes that I found, it seems without root yout can only execude codes with Level 1. I am not responsible for any data loss or damage to your device by using these...
forum.xda-developers.com
Any one of these allow you to turn on "Rndis, diag switch" in ColorOS 12/Oxygen OS 12?

How To Guide How to change files in Android XML Binary format

In the OmniROM (tested in OmniROM 12 and OmniROM 13) - and I assume in other Android distributions also - global settings are stored the file
/data/system/users/0/settings_global.xml
The file settings_global.xml is in the Android Binary XML format and can not be edited via text editor. To change the entries in that file via script it must be converted to text format and after the necessary changes are done in the file in human readable format converted back from text format to the Android Binary XML format. This can be done with the Android executables abx2xml and xml2abx:
Code:
ASUS_I006D:/ # abx2xml -h
java.lang.ArrayIndexOutOfBoundsException: length=2; index=2
usage: abx2xml [-i] input [output]
usage: xml2abx [-i] input [output]
Converts between human-readable XML and Android Binary XML.
When invoked with the '-i' argument, the output of a successful conversion
will overwrite the original input file. Input can be '-' to use stdin, and
output can be '-' to use stdout.
ASUS_I006D:/ #
Note:
See here https://www.cclsolutionsgroup.com/post/android-abx-binary-xml or here https://cs.android.com/android/plat...ndroid/internal/util/BinaryXmlSerializer.java for details about the Android Binary XML file format.
A lot of xml files in Android are in the Android Binary XML format (there may be others on other phones):
Code:
ASUS_I006D:/ # find /data/system -name "*.xml" -exec file {} \; 2>/dev/null | grep "Android Binary XML" | wc -l
31
ASUS_I006D:/ #
Spoiler: List of XML files in Android Binary XML format in OmniROM 13
Code:
find /data/system -name "*.xml" -exec file {} \; 2>/dev/null | grep "Android Binary XML"
ASUS_I006D:/ # find /data/system -name "*.xml" -exec file {} \; 2>/dev/null | grep "Android Binary XML"
/data/system/users/0/package-restrictions.xml: Android Binary XML v0
/data/system/users/0/registered_services/android.content.SyncAdapter.xml: Android Binary XML v0
/data/system/users/0/registered_services/android.accounts.AccountAuthenticator.xml: Android Binary XML v0
/data/system/users/0/settings_system.xml: Android Binary XML v0
/data/system/users/0/settings_secure.xml: Android Binary XML v0
/data/system/users/0/settings_global.xml: Android Binary XML v0
/data/system/users/0/wallpaper_info.xml: Android Binary XML v0
/data/system/users/0/appwidgets.xml: Android Binary XML v0
/data/system/users/0.xml: Android Binary XML v0
/data/system/users/userlist.xml: Android Binary XML v0
/data/system/appops/history/900000.xml: Android Binary XML v0
/data/system/appops/history/9900000.xml: Android Binary XML v0
/data/system/appops/history/99900000.xml: Android Binary XML v0
/data/system/package-watchdog.xml: Android Binary XML v0
/data/system/display-manager-state.xml: Android Binary XML v0
/data/system/packages.xml: Android Binary XML v0
/data/system/overlays.xml: Android Binary XML v0
/data/system/sensor_privacy.xml: Android Binary XML v0
/data/system/watchlist_settings.xml: Android Binary XML v0
/data/system/cachequota.xml: Android Binary XML v0
/data/system/job/jobs.xml: Android Binary XML v0
/data/system/device_policies.xml: Android Binary XML v0
/data/system/shortcut_service.xml: Android Binary XML v0
/data/system/inputmethod/subtypes.xml: Android Binary XML v0
/data/system/install_sessions.xml: Android Binary XML v0
/data/system/appops.xml: Android Binary XML v0
/data/system/log-files.xml: Android Binary XML v0
/data/system/notification_policy.xml: Android Binary XML v0
/data/system/netpolicy.xml: Android Binary XML v0
/data/system/sensor_privacy_impl.xml: Android Binary XML v0
/data/system/batterystats-daily.xml: Android Binary XML v0
ASUS_I006D:/ #
So to change the settings in the file settings_global.xml these commands are necessary:
Example:
Code:
# convert the file into a human readable format
#
ASUS_I006D:/ # abx2xml /data/system/users/0/settings_global.xml /data/local/tmp/setttings_global.xml.human
ASUS_I006D:/ #
ASUS_I006D:/ # ls -l /data/local/tmp/setttings_global.xml.human
-rw-r--r-- 1 root root 15425 2022-11-20 14:30 /data/local/tmp/setttings_global.xml.human
ASUS_I006D:/ #
ASUS_I006D:/ # file /data/local/tmp/setttings_global.xml.human
/data/local/tmp/setttings_global.xml.human: ASCII text
ASUS_I006D:/ #
ASUS_I006D:/ # head -5 /data/local/tmp/setttings_global.xml.human
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<settings version="210">
<setting id="140" name="adb_wifi_enabled" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="86" name="mobile_data1" value="0" package="com.android.phone" defaultValue="0" defaultSysSet="true" />
<setting id="91" name="mobile_data2" value="0" package="com.android.phone" defaultValue="0" defaultSysSet="true" preserve_in_restore="true" />
ASUS_I006D:/ #
Now edit the file /data/local/tmp/setttings_global.xml.human and convert it back to Android Binary XML format
Code:
# convert the XML file in human readable format into the Android Binary XML format
#
ASUS_I006D:/ # xml2abx /data/local/tmp/setttings_global.xml.human /data/system/users/0/settings_global.xml
ASUS_I006D:/ #
ASUS_I006D:/ # ls -l /data/system/users/0/settings_global.xml
-rw------- 1 system system 10697 2022-11-20 15:34 /data/system/users/0/settings_global.xml
ASUS_I006D:/ #
To activate the new settings just reboot the phone.
Note:
The global settings in the file settings_global.xml in the OmniROM 13 are (there may be others on other phones):
Spoiler: Entries in settings_global.xml
Code:
cat /data/local/tmp/setttings_global.xml.human
ASUS_I006D:/ # cat /data/local/tmp/setttings_global.xml.human
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<settings version="210">
<setting id="140" name="adb_wifi_enabled" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="86" name="mobile_data1" value="0" package="com.android.phone" defaultValue="0" defaultSysSet="true" />
<setting id="91" name="mobile_data2" value="0" package="com.android.phone" defaultValue="0" defaultSysSet="true" preserve_in_restore="true" />
<setting id="41" name="low_battery_sound_timeout" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="33" name="car_undock_sound" value="/product/media/audio/ui/Undock.ogg" package="android" defaultValue="/product/media/audio/ui/Undock.ogg" defaultSysSet="true" />
<setting id="131" name="enable_freeform_support" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="128" name="show_notification_channel_warnings" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="103" name="time_remaining_estimate_based_on_usage" value="0" package="com.android.systemui" defaultValue="0" defaultSysSet="true" preserve_in_restore="true" />
<setting id="142" name="development_settings_enabled" value="1" package="com.android.settings" defaultValue="1" defaultSysSet="true" preserve_in_restore="true" />
<setting id="10" name="window_animation_scale" value="1.0" package="android" defaultValue="1.0" defaultSysSet="true" />
<setting id="136" name="stylus_handwriting_enabled" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="129" name="force_allow_on_external" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="106" name="multi_sim_data_call" value="2" package="com.android.phone" defaultValue="2" defaultSysSet="true" preserve_in_restore="true" />
<setting id="122" name="tether_offload_disabled" value="1" package="com.android.settings" defaultValue="1" defaultSysSet="true" />
<setting id="105" name="battery_estimates_last_update_time" value="1668412978004" package="com.android.systemui" defaultValue="1668412978004" defaultSysSet="true" preserve_in_restore="true" />
<setting id="9" name="mode_ringer" value="2" package="android" defaultValue="2" defaultSysSet="true" />
<setting id="36" name="default_install_location" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="22" name="wifi_display_on" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="44" name="device_name" value="ASUS_I006D" package="android" defaultValue="ASUS_I006D" defaultSysSet="true" />
<setting id="13" name="wifi_networks_available_notification_on" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="29" name="dock_sounds_enabled_when_accessbility" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="14" name="bluetooth_on" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="115" name="bugreport_in_power_menu" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="18" name="mobile_data" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="160" name="network_watchlist_last_report_time" value="1668898800000" package="android" defaultValue="1668898800000" defaultSysSet="true" preserve_in_restore="true" />
<setting id="135" name="autofill_logging_level" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="46" name="database_creation_buildid" value="SQ3A.220605.009.A1" package="android" defaultValue="SQ3A.220605.009.A1" defaultSysSet="true" />
<setting id="118" name="art_verifier_verify_debuggable" value="1" package="com.android.settings" defaultValue="1" defaultSysSet="true" />
<setting id="37" name="emergency_tone" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="114" name="adb_allowed_connection_time" value="604800000" package="com.android.settings" defaultValue="604800000" defaultSysSet="true" />
<setting id="53" name="max_sound_trigger_detection_service_ops_per_day" value="1000" package="android" defaultValue="1000" defaultSysSet="true" />
<setting id="47" name="add_users_when_locked" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="34" name="dock_audio_media_enabled" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="117" name="enable_gpu_debug_layers" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="143" name="adb_enabled" value="1" package="com.android.settings" defaultValue="1" defaultSysSet="true" preserve_in_restore="true" />
<setting id="25" name="trusted_sound" value="/product/media/audio/ui/Trusted.ogg" package="android" defaultValue="/product/media/audio/ui/Trusted.ogg" defaultSysSet="true" />
<setting id="24" name="unlock_sound" value="/product/media/audio/ui/omni_unlock_phone.ogg" package="android" defaultValue="/product/media/audio/ui/omni_unlock_phone.ogg" defaultSysSet="true" />
<setting id="130" name="force_resizable_activities" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="2" name="airplane_mode_radios" value="cell,bluetooth,wifi,nfc,wimax" package="android" defaultValue="cell,bluetooth,wifi,nfc,wimax" defaultSysSet="true" />
<setting id="21" name="wifi_max_dhcp_retry_count" value="9" package="android" defaultValue="9" defaultSysSet="true" />
<setting id="126" name="always_finish_activities" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="3" name="airplane_mode_toggleable_radios" value="bluetooth,wifi,nfc" package="android" defaultValue="bluetooth,wifi,nfc" defaultSysSet="true" />
<setting id="43" name="heads_up_notifications_enabled" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="78" name="low_power" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="58" name="charging_started_sound" value="/product/media/audio/ui/ChargingStarted.ogg" package="android" defaultValue="/product/media/audio/ui/ChargingStarted.ogg" defaultSysSet="true" />
<setting id="64" name="zen_mode_ringer_level" value="2" package="android" defaultValue="2" defaultSysSet="true" />
<setting id="65" name="user_disabled_hdr_formats" value="" package="android" defaultValue="" defaultSysSet="true" />
<setting id="39" name="preferred_network_mode" value="26,26" package="android" defaultValue="26,26" defaultSysSet="true" />
<setting id="48" name="bluetooth_disabled_profiles" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="31" name="desk_undock_sound" value="/product/media/audio/ui/Undock.ogg" package="android" defaultValue="/product/media/audio/ui/Undock.ogg" defaultSysSet="true" />
<setting id="55" name="zen_duration" package="android" />
<setting id="121" name="mobile_data_always_on" value="1" package="com.android.settings" defaultValue="1" defaultSysSet="true" preserve_in_restore="true" />
<setting id="97" name="debug_app" package="android" preserve_in_restore="true" />
<setting id="8" name="wifi_sleep_policy" value="2" package="android" defaultValue="2" defaultSysSet="true" />
<setting id="28" name="dock_sounds_enabled" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="107" name="wifi_scan_always_enabled" value="1" package="android" defaultValue="1" defaultSysSet="true" preserve_in_restore="true" />
<setting id="127" name="cached_apps_freezer" value="device_default" package="com.android.settings" defaultValue="device_default" defaultSysSet="true" />
<setting id="125" name="overlay_display_devices" package="com.android.settings" />
<setting id="87" name="data_roaming1" value="0" package="com.android.phone" defaultValue="0" defaultSysSet="true" />
<setting id="84" name="data_roaming2" value="0" package="com.android.phone" defaultValue="0" defaultSysSet="true" />
<setting id="138" name="enable_back_animation" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="82" name="network_recommendations_enabled" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="133" name="enable_non_resizable_multi_window" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" preserve_in_restore="true" />
<setting id="102" name="bluetooth_sanitized_exposure_notification_supported" value="1" package="com.android.bluetooth" defaultValue="1" defaultSysSet="true" preserve_in_restore="true" />
<setting id="32" name="car_dock_sound" value="/product/media/audio/ui/Dock.ogg" package="android" defaultValue="/product/media/audio/ui/Dock.ogg" defaultSysSet="true" />
<setting id="54" name="sound_trigger_detection_service_op_timeout" value="15000" package="android" defaultValue="15000" defaultSysSet="true" />
<setting id="79" name="updatable_driver_production_denylist" value="" package="android" defaultValue="" defaultSysSet="true" />
<setting id="26" name="power_sounds_enabled" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="111" name="stay_on_while_plugged_in" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" preserve_in_restore="true" />
<setting id="104" name="average_time_to_discharge" value="-1" package="com.android.systemui" defaultValue="-1" defaultSysSet="true" preserve_in_restore="true" />
<setting id="45" name="lid_behavior" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="159" name="zen_mode_config_etag" value="1249128678" package="android" defaultValue="1249128678" defaultSysSet="true" preserve_in_restore="true" />
<setting id="35" name="set_install_location" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="116" name="debug_view_attributes" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="62" name="zen_mode" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="11" name="transition_animation_scale" value="1.0" package="android" defaultValue="1.0" defaultSysSet="true" />
<setting id="16" name="data_roaming" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="80" name="sysui_tuner_demo_on" value="0" package="com.android.systemui" defaultValue="0" defaultSysSet="true" />
<setting id="123" name="debug.force_rtl" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="1" name="theater_mode_on" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="15" name="cdma_cell_broadcast_sms" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="137" name="ingress_rate_limit_bytes_per_second" value="-1" package="com.android.settings" defaultValue="-1" defaultSysSet="true" />
<setting id="0" name="airplane_mode_on" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="132" name="force_desktop_mode_on_external_displays" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="50" name="default_restrict_background_data" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="27" name="low_battery_sound" value="/product/media/audio/ui/omni_lowbattery1.ogg" package="android" defaultValue="/product/media/audio/ui/omni_lowbattery1.ogg" defaultSysSet="true" />
<setting id="56" name="apply_ramping_ringer" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="95" name="wait_for_debugger" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="19" name="netstats_enabled" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="49" name="wifi_wakeup_enabled" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="112" name="ota_disable_automatic_update" value="1" package="com.android.settings" defaultValue="1" defaultSysSet="true" />
<setting id="63" name="wifi_migration_completed" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="101" name="time_remaining_estimate_millis" value="-1" package="com.android.systemui" defaultValue="-1" defaultSysSet="true" preserve_in_restore="true" />
<setting id="40" name="subscription_mode" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="4" name="assisted_gps_enabled" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="23" name="lock_sound" value="/product/media/audio/ui/omni_lock_phone.ogg" package="android" defaultValue="/product/media/audio/ui/omni_lock_phone.ogg" defaultSysSet="true" />
<setting id="120" name="non_persistent_mac_randomization_force_enabled" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="6" name="auto_time_zone" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="134" name="enable_gnss_raw_meas_full_tracking" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="88" name="wifi_on" value="1" package="android" defaultValue="1" defaultSysSet="true" preserve_in_restore="true" />
<setting id="57" name="wireless_charging_started_sound" value="/product/media/audio/ui/WirelessChargingStarted.ogg" package="android" defaultValue="/product/media/audio/ui/WirelessChargingStarted.ogg" defaultSysSet="true" />
<setting id="83" name="device_provisioned" value="1" package="com.android.provision" defaultValue="1" defaultSysSet="true" preserve_in_restore="true" />
<setting id="119" name="wifi_display_certification_on" value="0" package="com.android.settings" defaultValue="0" defaultSysSet="true" />
<setting id="81" name="sysui_demo_allowed" value="0" package="com.android.systemui" defaultValue="0" defaultSysSet="true" />
<setting id="59" name="hdmi_control_auto_device_off_enabled" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="5" name="auto_time" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="20" name="usb_mass_storage_enabled" value="1" package="android" defaultValue="1" defaultSysSet="true" />
<setting id="38" name="call_auto_retry" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="77" name="audio_safe_volume_state" value="3" package="android" defaultValue="3" defaultSysSet="true" />
<setting id="141" name="boot_count" value="4" package="android" defaultValue="4" defaultSysSet="true" preserve_in_restore="true" />
<setting id="30" name="desk_dock_sound" value="/product/media/audio/ui/Dock.ogg" package="android" defaultValue="/product/media/audio/ui/Dock.ogg" defaultSysSet="true" />
<setting id="124" name="animator_duration_scale" value="1.0" package="android" defaultValue="1.0" defaultSysSet="true" />
</settings>
ASUS_I006D:/ #
Working with files in Android Binary XML format on a PC
I do not know a tool to convert a file in Android Binary XML format to human readable format on a PC.
There is a tool to convert binary XML files used in apk files to human readable format and vice versa called xml2axml (https://github.com/hzw1199/xml2axml)
XML files used in apk files are in AXML format, which is also a binary format for XML files, but different from the Android Binary XML format.
I used xml2axml successfully to convert XML files used in apk files but xml2axml does not work for files in the Android Binary XML format.
I did not test it but I assume that's also true for other tools to work with apk files like apktool or dex2jar.
Other tools for files in Android Binary XML format I found are:
The abx converter from here https://github.com/cclgroupltd/android-bits/tree/main/ccl_abx claims to be a tool to convert Android Binary XML files but seems not to work for Android Binary XML files from OmniROM 13:
Code:
[[email protected] /data/develop/android/android-bits-main/ccl_abx]$ python3 ccl_abx.py ../../test2/settings_global.xml
Traceback (most recent call last):
File "/data/develop/android/android-bits-main/ccl_abx/ccl_abx.py", line 292, in <module>
main(sys.argv[1:])
File "/data/develop/android/android-bits-main/ccl_abx/ccl_abx.py", line 284, in main
doc = reader.read(is_multi_root=multi_root)
File "/data/develop/android/android-bits-main/ccl_abx/ccl_abx.py", line 266, in read
raise NotImplementedError(f"unexpected XML type: {xml_type}")
NotImplementedError: unexpected XML type: 7
[[email protected] /data/develop/android/android-bits-main/ccl_abx]$
Update 23.11.2022 /bs
ccl_abx.py works for the Android Binary XML files from OmniROM 12, e.g.
Code:
[[email protected] /data/develop/android/android-bits-main/ccl_abx]$ python3 ccl_abx.py ../../test2/settings_global_a12.xml -mr | sed "s/>/>\n/g" | more
<root>
<settings version="205">
<setting id="67" name="adb_wifi_enabled" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="91" name="mobile_data1" value="0" package="com.android.phone" defaultValue="0" defaultSysSet="true" preserve_in_restore="true" />
<setting id="87" name="mobile_data2" value="0" package="com.android.phone" defaultValue="0" defaultSysSet="true" />
<setting id="41" name="low_battery_sound_timeout" value="0" package="android" defaultValue="0" defaultSysSet="true" />
<setting id="33" name="car_undock_sound" value="/product/media/audio/ui/Undock.ogg" package="android" defaultValue="/product/media/audio/ui/Undock.ogg" defaultSysSet="true" />
<setting id="101" name="time_remaining_estimate_based_on_usage" value="0" package="com.android.systemui" defaultValue="0" defaultSysSet="true" preserve_in_restore="true" />
....
<setting id="85" name="wifi_on" value="1" package="android" defaultValue="1" defaultSysSet="true" preserve_in_restore="true" />
<setting id="57" name="wireless_charging_started_sound" value="/product/media/audio/ui/WirelessChargingStarted.ogg" package="android" defaultValue="/product/media/audio/ui/WirelessChargingStarted.ogg" defaultSysSet="true" />
[[email protected] /data/develop/android/android-bits-main/ccl_abx]$
There is a github repo with an abx parser in go https://github.com/SagerNet/abx-go (I did not test this)
Example
I wrote a little script to use the method described above to enable WiFi
enable_wifi.sh
The script will enable WiFi in the persistent settings if it's currently disabled; if WiFi is already enabled the script will change nothing.
The script must be executed by the user root on the phone.
Example output of the script:
Output if WiFi is disabled:
Code:
ASUS_I006D:/ # /data/local/tmp/enable_wifi.sh
Checking WiFi status in the persistent global settings ...
Converting the file "/data/system/users/0/settings_global.xml" to an XML file in text format "data/local/tmp/setttings_global.xml.human.9574" ...
WiFi is currently disabled -- enabling WiFi now :..
... WiFi enabled in the persistent global settings.
To activate the change reboot the phone
ASUS_I006D:/ #
Output if WiFi is already enabled:
Code:
ASUS_I006D:/ # /data/local/tmp/enable_wifi.sh
Checking WiFi status in the persistent global settings ...
Converting the file "/data/system/users/0/settings_global.xml" to an XML file in text format "data/local/tmp/setttings_global.xml.human.9613" ...
WiFi is already enabled in the persistent global settings
ASUS_I006D:/ #
The script is attached to this post ; it can also be downloaded from here: enable_wifi.sh.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Important Note
After writing this HowTo I discovered that there is a native Android command to change the settings stored in the file /data/system/users/0/settings_global.xml:
settings
Spoiler: settings usage
Code:
Usage:
ASUS_I006D:/ $ settings
Settings provider (settings) commands:
help
Print this help text.
get [--user <USER_ID> | current] NAMESPACE KEY
Retrieve the current value of KEY.
put [--user <USER_ID> | current] NAMESPACE KEY VALUE [TAG] [default]
Change the contents of KEY to VALUE.
TAG to associate with the setting.
{default} to set as the default, case-insensitive only for global/secure namespace
delete [--user <USER_ID> | current] NAMESPACE KEY
Delete the entry for KEY.
reset [--user <USER_ID> | current] NAMESPACE {PACKAGE_NAME | RESET_MODE}
Reset the global/secure table for a package with mode.
RESET_MODE is one of {untrusted_defaults, untrusted_clear, trusted_defaults}, case-insensitive
list [--user <USER_ID> | current] NAMESPACE
Print all defined keys.
NAMESPACE is one of {system, secure, global}, case-insensitive
255|ASUS_I006D:/ $
Spoiler: settings example
e.g to set or get the WiFi status:
Code:
ASUS_I006D:/ $ settings get global wifi_on
1
ASUS_I006D:/ $
ASUS_I006D:/ $ settings put global wifi_on 0
ASUS_I006D:/ $
ASUS_I006D:/ $ settings get global wifi_on
0
ASUS_I006D:/ $
ASUS_I006D:/ $ settings put global wifi_on 1
ASUS_I006D:/ $
ASUS_I006D:/ $ settings get global wifi_on
1
ASUS_I006D:/ $
A description of the known settings is here:
https://developer.android.com/reference/android/provider/Settings.Global
https://developer.android.com/reference/android/provider/Settings.Secure
https://developer.android.com/reference/android/provider/Settings.System
But since this HowTo is mainly about editing files in Android Binary XML format and the change of the WiFi status is only meant as an example, I leave it like this
Really interesting.
This helps a lot.
Thank you very much
Thank you, amazing post!

Categories

Resources