-
Notifications
You must be signed in to change notification settings - Fork 143
error when extracting apps from CEPHEUS v9.3.22 (mi9) #37
Comments
May be miui10 or Mi9 starts the structure change in img. My forked has been modified. But my MI9 has not been received, so I haven't tested it yet. |
Thanks for the info. I will test your forked soon. |
mabloshi's version works, with some modification: However, the file "system/vendor/etc/fstab.qcom" has been located in" /vendor/etc/fstab.qcom", and the encryption had been modified as "fileencryption=ice", whereas the /data partition is not encrypted after a wipe of /data partition and reboot. Maybe the encryption setting changed? |
@Ranio Thank you very much for testing. I got the phone in the afternoon and I also tested it. Encryption is now enabled by default. Under TWRP, you can try $adb shell
cepheus:/ # ls /data/app/
9Kh1XDKsv5uwuYvf5jEQ+uL1xRN _MIDN7Hb2jTjIGdqRFYInG6DgkihlCexg/ _eTfJ+2wIE+ffYKSaaN6USeybShGcHizl/ _uPUXKX7UVSP51dBUYPtMFo+Tl2MkNEK5/
_+i7DL,fOPsFOTN4BuCtbrQXCDDrDsGbF/ _MSup9j5oFSjv,ikA9ZlrYUWAMiam+TI0/ _g48IDgcatD6hbHuWDr126DWnuAaS3slS/ |
@maboloshi Thanks for your feedback. Screen lock has been enabled on my phone, I just checked the path /data/app, it has been encrypted. Could you please check whether the path "/data/media/0" or "/sccard"(the same one as previous) has been encrypted on yours, which was not on my phone. |
update: According to the metadata encryption,
So just after formatting of the data partition under TWRP, the metadata encryption works (if it doesn't work, try it again). |
@Ranio The official Miui version has encrypted |
@Ranio Try the latest build. Mi 9's image structure has changed a bit. |
@linusyang92 Thanks for the update, it works. |
cleaner-fix mi9 eroor
|
use https://github.com/maboloshi/mipay-extract cleaner-fix mi9 ok |
@hcwhan Try the latest version. I don't own a Mi 9, thus cannot test if the generated zip actually works. But the detection in the installer script should work in theory, which dynamically tests if the device has |
Same kind of error occured when I try @maboloshi forked ver with Mi5 ROM.
|
BTW, is there any software can be used to manually extract apps from the .img files?
Thanks!
--> rom: CEPHEUS v9.3.22
Scanning the drive for archives:
1 file, 2678999087 bytes (2555 MiB)
Extracting archive: ../miui_CEPHEUS_9.3.22_c63654cc2f_9.0.zip
Path = ../miui_CEPHEUS_9.3.22_c63654cc2f_9.0.zip
Type = zip
Physical Size = 2678999087
Comment = signed by SignApk
Everything is Ok
Files: 2
Size: 2024834027
Compressed: 2678999087
sdat2img binary - version: 1.0
Android Nougat 7.x / Oreo 8.x detected!
←[Kextracting |################################| 100%
←[?25hDone! Output image: miui-CEPHEUS-9.3.22-system.img
--> image extracted: miui-CEPHEUS-9.3.22-system.img
--> copying apps
----> copying Mipay...
----> copying NextPay...
----> copying TSMClient...
----> copying UPTsmService...
grep: system/build.prop: No such file or directory
ERROR: No more files
system/app
System ERROR:
Unknown error -2147024872
--> deodexing Mipay...
----> classes:
basename: missing operand
Try 'basename --help' for more information.
Can't find file: system/app/Mipay/oat/arm64/Mipay.odex/
--> abort
--> clean deodex
Press any key to continue . . .
The text was updated successfully, but these errors were encountered: