Porting MIUI stock camera for use in LineageOS 14.1

onlyLyon

Senior Member
Apr 4, 2017
191
48
0
Hi.

I'm currently using the EU weekly ROM 7.3.30 on my mi5s 3/64 .
All in all, I got it all tweaked up and it works fine, but having tried both lineageOS 14.1 and resurrection remix (both unofficial builds for the mi5s) I feel they run snappier, as I would expect from such hardware. Only problem , no 3rd party camera apps I've tried (open camera, manual camera, the stock cameras on lineageOS and resurrection remix, google camera, a better camera, PixiMod) have been able to focus quickly and accurately, giving consistently good and sharp images as the stock camera app does. Also, most other camera apps are buggy in 4K video (and can't really use any form of digital stabilization).

Is there any way I can transfer the stock MIUI 8.3 camera app to use on lineageOS or resurrection remix.
My phone is rooted, I have titanium backup pro and root browser installed.

Thanks for your advise guys!
 
Last edited:

onlyLyon

Senior Member
Apr 4, 2017
191
48
0
Hi.

I'm currently using the EU weekly ROM 7.3.30 on my mi5s 3/64 .
All in all, I got it all tweaked up and it works fine, but having tried both lineageOS 14.1 and resurrection remix (both unofficial builds for the mi5s) I feel they run snappier, as I would expect from such hardware. Only problem , no 3rd party camera apps I've tried (open camera, manual camera, the stock cameras on lineageOS and resurrection remix, google camera, a better camera, PixiMod) have been able to focus quickly and accurately, giving consistently good and sharp images as the stock camera app does. Also, most other camera apps are buggy in 4K video (and can't really use any form of digital stabilization).

Is there any way I can transfer the stock MIUI 8.3 camera app to use on lineageOS or resurrection remix.
My phone is rooted, I have titanium backup pro and root browser installed.

Thanks for your advise guys!
I tried backing up the stock camera app in titanium backup and restoring it later from lineageOS but it seemed to be stuck in a loop in 'restoring' such that I had to kill the titanium backup process...
 
  • Like
Reactions: mazana2810

shaneel1491

Senior Member
Apr 1, 2011
602
235
0
I think the MIUI camera APK relies on the MIUI system framework, so the camera is just a GUI for the interface which is actually located in the framework. Just from what I've seen though. I could be wrong
 
  • Like
Reactions: onlyLyon

onlyLyon

Senior Member
Apr 4, 2017
191
48
0
That's too bad... I might be lucky, but for me the stock camera app is actually very good (apart from the annoying bug in which the app never remembers the video resolution and it keeps reverting to fullHD instead of 4k). And I'm very picky on photography in general... Seems that for now I'm married to the miui ROMs.