Question extracting camera app from stock ROM - Redmi Note 10 Pro

Hello, I would like to extract the camera application apk from the stock ROM, in order to use it on ArrowOS.
Do you have any idea how to proceed?

Rendering said:
Hello, I would like to extract the camera application apk from the stock ROM, in order to use it on ArrowOS.
Do you have any idea how to proceed?
Click to expand...
Click to collapse
You can try but I think it won't work in case of difficult settings which can't be easily copied....
Only a backup of titanium or alpha backup pro.... and restore didn't work, I've already tried and give up.
But may be your knowledge is better and you get it....

Rendering said:
Hello, I would like to extract the camera application apk from the stock ROM, in order to use it on ArrowOS.
Do you have any idea how to proceed?
Click to expand...
Click to collapse
I have the solution that worked.
The camera backup files (6 files total) needs to restored in titaniumbackup.
Just place files in titanium backup folder and restore.
Taken from Cdroid 8.4 12L.
It really does work like stock. More stable than Gcam. Especially the video stabilization is awesome. Using it on Nusantara A12
Download Link -https://www.mediafire.com/folder/08nbxeplmgdgw/TB_MIUI_Cam

Joy Joshi said:
I have the solution that worked.
The camera backup files (6 files total) needs to restored in titaniumbackup.
Just place files in titanium backup folder and restore.
Taken from Cdroid 8.4 12L.
It really does work like stock. More stable than Gcam. Especially the video stabilization is awesome. Using it on Nusantara A12
Download Link -https://www.mediafire.com/folder/08nbxeplmgdgw/TB_MIUI_Cam
Click to expand...
Click to collapse
@Rendering
But it's not the stock cam
and for me not better than gcam

Related

[REQ] MIUI Camera and Music Player

Anyone able to make a flashable ZIP that will replace the stock android camera and music player with the one from the MIUI ROM?
I really like the music player better and the camera has a few nice features that could come in handy, though I would perfer to stay with CM7, I just can't seem to find myself using MIUI as a daily rom.
In theory since miui uses CM source it should just be a matter of pushing the apks via adb. The only problem i see is getting them to work in english, i was thinking of doing it for the messaging app. I'll poke around with the rom tomorrow and post back if no one else finds a way.
I installed MIUI and then the English Language Pack and was able to pull the APK files and save them to the SDCard.
I then loaded up a nandroid of CM7-RC4 and replaced the original Music.apk and Camera.apk
Good news is they work, bad news is they FC alot with some of the features.
The Camera force closes when you try to pull up settings and another thing I can't remember. The Music player will FC if you go into settings and touch anything, the settings load but you can't touch them at all. It did play music though.
It's because you have to also pull the /lib files. Which are associated with the apk
BrokenWall said:
I installed MIUI and then the English Language Pack and was able to pull the APK files and save them to the SDCard.
I then loaded up a nandroid of CM7-RC4 and replaced the original Music.apk and Camera.apk
Good news is they work, bad news is they FC alot with some of the features.
The Camera force closes when you try to pull up settings and another thing I can't remember. The Music player will FC if you go into settings and touch anything, the settings load but you can't touch them at all. It did play music though.
Click to expand...
Click to collapse
Sent from my GT-I5800 using Tapatalk
rudolf895 said:
It's because you have to also pull the /lib files. Which are associated with the apk
Sent from my GT-I5800 using Tapatalk
Click to expand...
Click to collapse
I'm trying the above and it is not working. I have also pulled out the lib files associated with camera (libcamera.so, libcamera_client.so and libcameraservice.so). Still force closing on me when i try to launch the miuicamera. I also tried replacing the lib files with the ones from the MIUI rom and still no dice (even adjusted the permission via root explorer properly)
I'm on the NS4G, but I am sure it is the same process because i was using an NS4G miui to get the files.
Shed some light here please. I like CM7 and only want the camera app from miui.
Music app
Her is the thread for the music app
http://forum.xda-developers.com/showthread.php?t=995975
I'm definitley very interested in the Miui Camera... Please let me know if you manage anything
here you go.
don't try to install it regularly, push it via ADB or rootexplorer.
remember to say thanks if it works!
FaithCry said:
here you go.
don't try to install it regularly, push it via ADB or rootexplorer.
remember to say thanks if it works!
Click to expand...
Click to collapse
ALLLLLRRRIIIGHHHHTTTT!!!! Finally a semi working version! Thanks much for this!
obviously there needs to be some kinks worked out for all the features to be supported as i get FC's here and there, but man, finally something that works! With android, you can rarely say something is a lost cause.
Thanks again FaithCry!
Doesn't the MIUI camera not support the front camera?
itsallsubliminal said:
ALLLLLRRRIIIGHHHHTTTT!!!! Finally a semi working version! Thanks much for this!
obviously there needs to be some kinks worked out for all the features to be supported as i get FC's here and there, but man, finally something that works! With android, you can rarely say something is a lost cause.
Thanks again FaithCry!
Click to expand...
Click to collapse
no problem I found that it was just the zoom if you tried to press it... other than that it worked for me; mind you i didn't experiment much. then again, why not just step closer or do the zoom on your comp since it is digital zoom anyway
derekwilkinson said:
Doesn't the MIUI camera not support the front camera?
Click to expand...
Click to collapse
nope not yet, not even on their own rom; you have to install the regular google camera to use the front facing one. they're just about to release a fix for the front facing one, don't know how long it will take to get ported; but i'll keep you guys updated if anything comes up!
FaithCry said:
no problem I found that it was just the zoom if you tried to press it... other than that it worked for me; mind you i didn't experiment much. then again, why not just step closer or do the zoom on your comp since it is digital zoom anyway
nope not yet, not even on their own rom; you have to install the regular google camera to use the front facing one. they're just about to release a fix for the front facing one, don't know how long it will take to get ported; but i'll keep you guys updated if anything comes up!
Click to expand...
Click to collapse
T Latest MIUI has the ffc
can't seem to get any miui camera to work on my ns. tried flashing the zip in cwm3. tried just extracting the apk to system/apps with root explorer. everytime i do, i reboot and open camera and get the regular aosp camera.
can't seem to get any miui camera to work on my ns. tried flashing the zip in cwm3. tried just extracting the apk to system/apps with root explorer. everytime i do, i reboot and open camera and get the regular aosp camera.
Click to expand...
Click to collapse
The apk posted on the first page is what u should transfer via adb or root explorer to /system/app folder. It will show up as "MIUI Camera" in ur app drawer after u reboot
Sent from my Nexus S 4G using XDA Premium App
Thanks. I got it working now Waiting for a long time for it
dwd3885 said:
can't seem to get any miui camera to work on my ns. tried flashing the zip in cwm3. tried just extracting the apk to system/apps with root explorer. everytime i do, i reboot and open camera and get the regular aosp camera.
Click to expand...
Click to collapse
After you paste it at system/app,
please remember to change the permission
window7 said:
After you paste it at system/app,
please remember to change the permission
Click to expand...
Click to collapse
yep. have done that, still fc.
I can't get the camera app to appear in my drawer. I followed the instructions, but it won't show up. Anybody have any ideas?
*EDIT* nm, I just had to reboot it again.
Hey quick question, would you be able to run the MIUI Camera on the Stock Google Rom also? Or do I need to have a customer rom installed first before I try to put the MIUI Camera on my phone?

[MOD][CAMERA] for cm10.1 with autofocus

MOD camera for cm10.1 with autofocus
Hy guys i found a way to use the autofocus on 4.2.1 versions
This is not my work i only deleted unnecessary files and rezipped the file
HOW TO:
-froze or delete the galery2 app from system/app (to avoid duplicates)
-put the file attached to your sd card
-flash via CWM
-done
TO KNOW
-there are still problems with panorama shots but it didnt work either with the other one
-the other panorama mode as far as i know its only for nexus phones
-the apps has wrong permissions when u flash it go to system/app and set it to rw-r--r--
link : http://d-h.st/WLb
why don't u post in http://forum.xda-developers.com/showthread.php?t=2091599 thread and included in the same mod?
swifer_lf said:
why don't u post in http://forum.xda-developers.com/showthread.php?t=2091599 thread and included in the same mod?
Click to expand...
Click to collapse
That are two different Mods.
Thanks!!
mivv said:
MOD camera for cm10.1 with autofocus
Hy guys i found a way to use the autofocus on 4.2.1 versions
This is not my work i only deleted unnecessary files and rezipped the file
HOW TO:
-froze or delete the galery2 app from system/app (to avoid duplicates)
-put the file attached to your sd card
-flash via CWM
-done
TO KNOW
-there are still problems with panorama shots but it didnt work either with the other one
-the other panorama mode as far as i know its only for nexus phones
-the apps has wrong permissions when u flash it go to system/app and set it to rw-r--r--
link : http://d-h.st/W7l
Click to expand...
Click to collapse
Thank you for your hard work, I would love to use it but download link expired
Justray said:
Thank you for your hard work, I would love to use it but download link expired
Click to expand...
Click to collapse
updated download link
mivv said:
updated download link
Click to expand...
Click to collapse
I installed this on CM10 PACman, and it works , bad thing is; now I got 2 camera apps and 2 gallery apps, also now BOTH cameras have autofocus... weird uh, or maybe the PACman rom has a camera app with autofocus?, I will reflash this rom and check first, then delete this camera and gallery then flash your mod. lets see what happens, I will also flash in the latest CM10.1 unofficial (new bootloader) and post my results (dual boot FTW!).
You shouldve read op first.
punyategar said:
You shouldve read op first.
Click to expand...
Click to collapse
I did it on purpose to compare both cameras but I was naive because there was no way to tell them apart... and after re flashing the rom I saw the camera in the rom has autofocus, but they're far from the same, gallery app us the same, but the camera has different menus, a lot less options... unfortunately, I don't know if use yours or port the one in PACman rom to the CM10.1 unofficial for the new bootloader... the CM10.1 camera also has autofocus... but the menus and UI suck ass.
Good thing is it works for both CM10 and CM10.1
Maybe mivv uses default cm camera, rezip it, and set it up as default. Sorry if offensive.
when i was recording a video it was capturing nicely, then when i viewed it it was broken.

Lineage CrossX Touchwiz Experiment

Hello, I own a galaxy S5, I'm trying to make Samsung Gallery app work with Lineage OS, I feel it's not too framework dependent. I'd need someone who runs a ROOTED STOCK TOUCHWIZ/ SAMSUNG EXPERIENCE FIRMWARE not lower than Android NOUGAT, to send me a ZIPME backup of the official Samsung Gallery app and Camera App.
Just in case it works, it would benefit the entire Lineage OS users.
brainycaleb said:
Hello, I own a galaxy S5, I'm trying to make Samsung Gallery app work with Lineage OS, I feel it's not too framework dependent. I'd need someone who runs a ROOTED STOCK TOUCHWIZ/ SAMSUNG EXPERIENCE FIRMWARE not lower than Android NOUGAT, to send me a ZIPME backup of the official Samsung Gallery app and Camera App.
Just in case it works, it would benefit the entire Lineage OS users.
Click to expand...
Click to collapse
Great! Hope you are successful!! Do u need just the apps or data and stuff too?
Vmb265 said:
Great! Hope you are successful!! Do u need just the apps or data and stuff too?
Click to expand...
Click to collapse
I need all the datas I can get.
brainycaleb said:
I need all the datas I can get.
Click to expand...
Click to collapse
Plz tell me specifically what all files do you need
Vmb265 said:
Plz tell me specifically what all files do you need
Click to expand...
Click to collapse
I want these two folders containing their "lib" and "oat" foldersextracted from your system apps in zip format
com.sec.android.gallery3d
com.sec.android.app.camera
And a "ZIPme" backup of their datas please.
brainycaleb said:
I want these two folders containing their "lib" and "oat" foldersextracted from your system apps in zip format
com.sec.android.gallery3d
com.sec.android.app.camera
And a "ZIPme" backup of their datas please.
Click to expand...
Click to collapse
Well, these apps don't have a lib and oat folders in their system folders
Vmb265 said:
Well, these apps don't have a lib and oat folders in their system folders
Click to expand...
Click to collapse
Thanks, I already gave up on the project because after some test carried on Lineage OS Snap camera app, there was almost no difference between pictures taken by Samsung Camera and LOS Snap Camera.

Google Camera with Portrait mode and Night Sight for MIUI 10

Hey Everyone. I finally found a way to make google camera work on miui.
Just flash the zip and use this camera and settings.
Files were taken from LOS 15.1 so credit to its developers.
Suggested Google Camera Port:
https://f.celsoazevedo.com/file/gcamera/GCam_6.1.021_Advanced_V1.4.032219.1950.apk
Bugs:
Miui Camera doesn't work
Slow motion doesn't work.
V2 Update:
Fixed no audio in video recording
mehdi554 said:
Hey Everyone. I finally found a way to make google camera work on miui.
Just flash the zip and use this camera and settings.
Files were taken from LOS 15.1 so credit to its developers.
Suggested Google Camera Port:
https://f.celsoazevedo.com/file/gcamera/GCam_6.1.021_Advanced_V1.4.032219.1950.apk
Bugs:
Miui Camera doesn't work
Slow motion doesn't work.
V2 Update:
Fixed no audio in video recording
Click to expand...
Click to collapse
does it cause MIUI camera not working? Why?
zj37tzbpl said:
does it cause MIUI camera not working? Why?
Click to expand...
Click to collapse
Yes. Because it replaces MIUI camera libs with LOS 15.1 ones.
mehdi554 said:
Yes. Because it replaces MIUI camera libs with LOS 15.1 ones.
Click to expand...
Click to collapse
Can't they be working on one ROM at the time?
zj37tzbpl said:
Can't they be working on one ROM at the time?
Click to expand...
Click to collapse
they could if someone modifies miui libs. that's beyond my knowledge.
i get error 7 when flashing zip file. I am currently on miui 10.4
mmicoo said:
i get error 7 when flashing zip file. I am currently on miui 10.4
Click to expand...
Click to collapse
try this.
İs it works on eu beta rom?
ulasecgin said:
İs it works on eu beta rom?
Click to expand...
Click to collapse
it should
I installed Gcam to my Miui 10.2.4 system. After this, my camera started to lag and freeze. Because of that, I installed Lineage Os 16.0 but none of the rear cameras were working. Then I tried installing some other custom ROMs but I just couldn't get rear cameras to work. What can I do about it?
how can i install settings.xml file?
ulasecgin said:
how can i install settings.xml file?
Click to expand...
Click to collapse
Create a folder inside the internal storage and name it Gcam, inside that one create another folder called configs and copy the xml file there.
Fire up the camera and double tap the grey area between the shutter and pictures, and select restore from the pop up menu restart the camera and you are done
Sent from my MI 5s Plus using Tapatalk
oznklync said:
I installed Gcam to my Miui 10.2.4 system. After this, my camera started to lag and freeze. Because of that, I installed Lineage Os 16.0 but none of the rear cameras were working. Then I tried installing some other custom ROMs but I just couldn't get rear cameras to work. What can I do about it?
Click to expand...
Click to collapse
try flashing miui fastboot rom with mi flash . a full flash that wipes everything.
mehdi554 said:
try flashing miui fastboot rom with mi flash . a full flash that wipes everything.
Click to expand...
Click to collapse
İ try this but nothing changed. Rear cameras still not working.
how can I return stock camera?​
ulasecgin said:
how can I return stock camera?​
Click to expand...
Click to collapse
Dirty flash miui rom
Sent from my MI 5s Plus using Tapatalk
oznklync said:
I installed Gcam to my Miui 10.2.4 system. After this, my camera started to lag and freeze. Because of that, I installed Lineage Os 16.0 but none of the rear cameras were working. Then I tried installing some other custom ROMs but I just couldn't get rear cameras to work. What can I do about it?
Click to expand...
Click to collapse
Same happened to me a few months earlier. Flashing MIUI 10 (the last version then but i cant remember now.) fastboot file through mi flash tool with wiping everything solved it for me.
Thanks
Thanks

Google photos shortcut in MIUI camera?

The MIUI stock rom is way superior compared to the current GCAM version. I'm wondering if it's possible to create a google photos shortcut so I can watch/edit my photos in google photos (and not in the MIUI gallery).
Thanks guys!
MarvinMe said:
The MIUI stock rom is way superior compared to the current GCAM version. I'm wondering if it's possible to create a google photos shortcut so I can watch/edit my photos in google photos (and not in the MIUI gallery).
Thanks guys!
Click to expand...
Click to collapse
Deactivate Miui Gallery. I did it with Titanium Backup and it's working great with Google photos. (ROS) I don't know if it works with Stock rom.
Kollachi said:
Deactivate Miui Gallery. I did it with Titanium Backup and it's working great with Google photos. (ROS) I don't know if it works with Stock rom.
Click to expand...
Click to collapse
Great idea! I'm just curious - people said that if you uninstall/deactivate MIUI gallery app you get into a bootloop (but maybe only on stock rom). Thanks!
MarvinMe said:
Great idea! I'm just curious - people said that if you uninstall/deactivate MIUI gallery app you get into a bootloop (but maybe only on stock rom). Thanks!
Click to expand...
Click to collapse
Yes if you uninstall the wrong system app you can get bootloop. But deactivating gallery won't do that.

Categories

Resources