2

My /system/priv-app/DocumentsUI is empty obviously. Putting any 3rd party DocumentsUI.apk in it results in bootloop. I have a custom rom (Aosp extended).

Flashing the /system again would fix the problem I think. Just want to make sure if this will make the condition worse or im going alright?

1
  • 2
    Extract the file from ROM's zip file and put in proper place with proper permissions. Dec 4 '20 at 1:29
1

This answer was before the edit but holds

Flashing /Data would result in:

  • Losing your user data.

  • Worse, it's not going to solve your problem.

Solutions

  • Dirty flash the ROM ( flash /system without wiping /Data)

  • As suggested by Irfan in comments, Extract the file from ROM's zip file and put in proper place with proper permissions.

Second option requires a good understanding of Android. For me, dirty flashing would be fastest and simplest.

0
2

The way I did it was a little different.. I made a full twrp backup. Wiped everyhing. Flashed the stock rom. Copied the DocumentsUI.apk from twrp. Wiped again. Restored the backup. Placed the copied apk into /system/priv-app/DocumentsUI. Everything worked perfectly!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.