Infeasible
Status Update
Comments
ch...@magendanz.com <ch...@magendanz.com> #2
Can you provide the below requested information to better understand the issue:
Can you please test with latest library and update result here.
https://developer.android.com/topic/libraries/support-library/revisions.html
If possible please provide a complete sample application.
Expected output
What do you expect to occur?
Current output
What do you see instead?
Can you please test with latest library and update result here.
If possible please provide a complete sample application.
Expected output
What do you expect to occur?
Current output
What do you see instead?
ch...@magendanz.com <ch...@magendanz.com> #3
This seems to be intended according to https://issuetracker.google.com/74278849 , the suggestion is to remove the extra logic to deliverResult() in onStartLoading().
Description
To repro:
- Extract Nougat system image (e.g. system.img from bullhead-n4f26o-factory-1da5304e)
- Convert from sparse to raw image with simg2img (e.g. simg2img system.img sys.raw)
- Mount raw system image (sudo mount -t ext4 -o loop sys.raw sys/)
- Dump all file/folder permissions (ls sys -ARZl > sys.txt) <-- This is your baseline
- Build new sparse image with make_ext4fs (sudo make_ext4fs -s -T -1 -S file_contexts -l $size -L system -a system new.img sys/, where $size is raw image size and file_contexts is pulled from kernel in boot.img)
- Unmount the original image file (sudo umount sys)
- Convert from sparse to raw image with simg2img (e.g. simg2img new.img new.raw)
- Mount new raw system image (sudo mount -t ext4 -o loop new.raw sys/)
- Dump all file/folder permissions (ls sys -ARZl > new.txt)
Result:
- Some files (build.prop, hostapd, logd, etc.) have different mode (permissions), owner or group.
- Although all file contents are identical, this permission corruption will prevent the device from booting with the new system image