Can someone port OxygenOS 2.2.0 Camera app? - OnePlus 2 Q&A, Help & Troubleshooting

I got a new Nexus 6P and one of the main things I miss from OnePlus 2 (which I earlier owned) is the camera app. So, after trying to find a good tutorial to explain how to port apps to other devices without rooting the device, I didn't find any form which I'd have understood a thing. So, the question is: Could someone port the Camera app from OxygenOS 2.2.0 (or 2.2.1) to other devices? (This does not mean porting the one from HydrogenOS)

Related

[WIP] [NO RELEASE] [MEMBERS NEEDED] MIUI 7 Marshmallow [Port from MI Max]

I have started to port MIUI 7 Marshmallow rom from MI Max to Redmi Note 3.
Here is the MIUI 7 Marshmallow ROM: http://en.miui.com/download-302.html
Anyone working on the same project may contact, also anyone experienced in porting may contact too.
Initial ports will be closed released for testing and stable ports will be posted here.
MIUI8?good work
Me bro
Sent from my Redmi Note 3 using XDA-Developers mobile app
<rant>
It's fairly simple to "port" I guess, as far as I know the process consists of: downloading the MiMax ROM and copying over the hardware files from our Kenzo MIUI-7 ROM, of course before any of this your either going to need system dumps or a way to extract the firmwares, and even then you'll need to put together an update-script to properly flash it all, and then you can start testing stuff out to see what works/dosnt and then you rinse and repeat until everything works, I've done this before for another device and although it did boot, there were countless issues and the entire process is archaic and pointless tbh, building from source (but we can't since MIUI is closed source so id say just wait for MIUI8 lol) would be easier in some sense since having the source upfront helps you have an idea of wtf is actually going on compared to the guess work that is copying & pasting libs and stuff from /system/etc, my point is, just wait till June 28th or whenever were supposed to have MIUI-8 since hacking together an M based MIUI-7 for our device based on another devices firmware with "similar" hardware would just be painful and I'd feel sorry for you if you had to do such, then again I could be awfully wrong and the entire thing may work (it is quite possible) relatively easily considering the familiarity of the hardware, I just wouldn't expect it to be bugless, but someone please do prove me wrong, I'd be happy.
</rant>
DiamondBond said:
It's fairly simple to "port" I guess, as far as I know the process consists of: downloading the MiMax ROM and copying over the hardware files from our Kenzo MIUI-7 ROM, of course before any of this your either going to need system dumps or a way to extract the firmwares, and even then you'll need to put together an update-script to properly flash it all, and then you can start testing stuff out to see what works/dosnt and then you rinse and repeat until everything works, I've done this before for another device and although it did boot, there were countless issues and the entire process is archaic and pointless tbh, building from source (but we can't since MIUI is closed source so id say just wait for MIUI8 lol) would be easier in some sense since having the source upfront helps you have an idea of wtf is actually going on compared to the guess work that is copying & pasting libs and stuff from /system/etc, my point is, just wait till June 28th or whenever were supposed to have MIUI-8 since hacking together an M based MIUI-7 for our device based on another devices firmware with "similar" hardware would just be painful and I'd feel sorry for you if you had to do such, then again I could be awfully wrong and the entire thing may work (it is quite possible) relatively easily considering the familiarity of the hardware, I just wouldn't expect it to be bugless, but someone please do prove me wrong, I'd be happy.
Click to expand...
Click to collapse
1. I have ported Roms for Micromax canvas music, Micromax unite 2. They were mtk. I have themed complete rom for LG l 3 e405. It was Qualcomm.
2. Flashing will be block based. If what I have planned will work.
3. We have no other better option to get marshmallow right now. And I live in present.
4. Without trying I can't know if it is a good idea or not. What I will loose? Few hours. What many will gain? May be a stable marshmallow miui 7.
Be positive.
Sent from my Redmi Note 3 using XDA-Developers mobile app
Sudeep Duhoon said:
3. We have no other better option to get marshmallow right now. And I live in present.
4. Without trying I can't know if it is a good idea or not. What I will loose? Few hours. What many will gain? May be a stable marshmallow miui 7.
Be positive.
Sent from my Redmi Note 3 using XDA-Developers mobile app
Click to expand...
Click to collapse
Keep up good work my friend. Looking forward for this..
count me in bro, i have spare redmi note 3 to test and provide logcats or anything you want.
Sudeep Duhoon said:
I have started to port MIUI 7 Marshmallow rom from MI Max to Redmi Note 3.
Here is the MIUI 7 Marshmallow ROM: http://en.miui.com/download-302.html
Anyone working on the same project may contact, also anyone experienced in porting may contact too.
Initial ports will be closed released for testing and stable ports will be posted here.
Click to expand...
Click to collapse
nice work bro...
keep moving...
I think you will be founder of quick charge 2.0 for RN3 if you can port this rom :good:
Here you have a beta tester of your work men! Good luck
Nice..can you please port to MTK?
The leaked version of
Miui 7:http://forum.xda-developers.com/showthread.php?t=3377347
and cm13:http://forum.xda-developers.com/showthread.php?t=3350656
are stable enough now. Though the initial boot was failed of Port rom. I see no point of trying now.
Please close the thread.
Sent from my Redmi Note 3 using XDA-Developers mobile app

Multi-Window vs. camera2.api

Hi.
I urgently want to use 2 specific app-windows side by side (musician-apps . live_bpm and drummers_metronome). Sadly both apps are not capable of this. I have the stock android v. 6.01.
Therefore I tested CM13 et voila - split-screen for the above two apps works flawlessly! So whats the problem?- One other feature that I
strongly want/need... in the stock rom (live-HDR in Camera and a few other camera-features) is now NOT working in CM13 because of missing camera2-api (at least this is the error-message in camera-app)
I found a possible solution myself - download the apk's, decompile and edit the manifest.xml. This should work, but I found no way to download the apks - both are legally purchased by me. The second way, to contact the developers, was wasted. _Both didn't reply.
Any idea how to achieve both features? Perhaps any different rom?
Solved!
I still don't know an exact answer to my question, but have found a solution: Newest Resurrection Remix Rom has multi-window-mode for every app (not only those who are made for this option as in stock-marshmellow...) AND realtime-hdr. I'm happy.

LineageOS 14.1 for HTC One M9

Hello fellow M9 users,
As many of you may know, AOSP 7.1.1 based custom roms have started to pop up for our device. Many of these are based on the Lineage OS sources (formerly Cyanogenmod).
There appear to be some recent commits to the device specific git repositories for our device:
https://github.com/LineageOS/android_device_htc_hima-common
https://github.com/LineageOS/android_device_htc_himaul
One major issue that all the Nougat roms currently have is the lack of a working camera. I'm not a qualified dev, so I'm making this thread to both ask for progress and search for/organize volunteer efforts. I remember that we had a similar issue with CM13 (getting the camera to work proved to be difficult and took a while). I'm wondering what the difference is between this device and other devices (since it seems that pretty much every single other HTC device has had LOS14.1 with all working features for a while now). What is stopping us from doing the same? Do we need to create a petition/pester HTC to release source code?
If there are any devs left for this phone, please reply in this thread so fellow M9 users can be kept informed and potentially help you test (or help in any other way, depending on the posters' abilities).
The last commit was one month ago and nobody has replied here, seems like development has really halted... Any idea why this happened? What makes the m9 different from the 7, 8 or 10, all of which have active development?
Maybe because stock system is already superb with sense...
*deleted*
a solution
i installed lineage os....and the camera is working fine for me. The thing you need to do is to not update the camera app. As soon you update the app it starts crashing and wont open camera. It happened with me and then i uninstalled the update and guess what camera is working fine again. We will have to wait for this fix but for the time being we have to stick with the older version of camera app.
I have Lineage OS on my M9. If you install flash OpenGapps using the stock installation, you will get an updated google camera that will crash all the time. I flashed the nano installation from OpenGapps. The stock camera from Lineage OS works well. I think the stock version from OpenGapps automatically replaces stock Lineage apps if there is a google alternative. The nano version does not replace apps.

Mid-Spring Xiaomi MiA1 Ultimate Upgrade List and Best Third-Party softwares to use?

I'm fairly new to using android and now wanting to delve into messing with my phone per se (In other words, I'm a noob). I haven't done so since I last jailbroke my iPhone before.
I'm really interested to wipe my phone's data and start anew and pimp my phone out, to get the most out of the Xiaomi MiA1 and essentially have the Ultimate MiA1. I've read about GCam and custom ROMs and the sorts, but there's just so much that I can't really pinpoint a path for myself. I'm interested to see what you guys have on your phone and what you can recommend to me? I know the "best" is subjective, but I do want to hear what you guys think is the "best" for you even if it isn't necessarily for everyone, it may definitely be for someone
I'm on Android 8.1.0 (skeptical to upgrade if it means losing flexibility) currently.
Also: I want to keep a backup of my data before wiping it up, what app can you guys recommend to do so?
Choose a pie rom for sure!
I've been using the bootleggers rom and it's great
But it's the only one I've tested
you should know that all Pie roms have problem with Gcam autofocus. It can be fixed with changing aspect ratio to 16:9 but it's hit or miss (for example, doesn't work for me at all).
Never_Sm1le said:
you should know that all Pie roms have problem with Gcam autofocus. It can be fixed with changing aspect ratio to 16:9 but it's hit or miss (for example, doesn't work for me at all).
Click to expand...
Click to collapse
Wait what? LOS16 autofocus on Gcam works fine in my experience without doing anything. Just make sure you are using gapps since they are required (might work with microg but I haven't tested that)
EDIT: I'm guessing you meant stock Pie. Should probably edit that so that people don't misunderstand like I did.
himynameisjisoo said:
I'm fairly new to using android and now wanting to delve into messing with my phone per se (In other words, I'm a noob). I haven't done so since I last jailbroke my iPhone before.
I'm really interested to wipe my phone's data and start anew and pimp my phone out, to get the most out of the Xiaomi MiA1 and essentially have the Ultimate MiA1. I've read about GCam and custom ROMs and the sorts, but there's just so much that I can't really pinpoint a path for myself. I'm interested to see what you guys have on your phone and what you can recommend to me? I know the "best" is subjective, but I do want to hear what you guys think is the "best" for you even if it isn't necessarily for everyone, it may definitely be for someone
I'm on Android 8.1.0 (skeptical to upgrade if it means losing flexibility) currently.
Also: I want to keep a backup of my data before wiping it up, what app can you guys recommend to do so?
Click to expand...
Click to collapse
I haven't tried a lot of roms, but from what I tried until now I think stock 8.1 is the best in terms of stability. (I have tried Lineageos 16 unofficial and Pixel Experience 9.0 official).
if you choose to use stock, I do not recommend to pie as stock pie works horribly for me at least. also stock pie has a lot of bugs like autofocus bug in Gcam and downgrading is not that easy.
I use Stock 8.1 November update and I'm rooted with Magisk and TWRP recovery.
for the Gcam I use the recommended Gcam 5 Arnova's v8.3b1: https://f.celsoazevedo.com/file/gcamera/GCam-5.1.018-Pixel2Mod-Arnova8G2-V8.3b1.apk
If you want the night sight feature you need to download Gcam 6.
also in order to use Gcam you need to enable camera2 api.

[Q] Stock Cam on LineageOS 16

Hi,
I try to find a way, where I could install the Stock Cam from OnePlus5 to my LineageOS. I 'm not sure, but I think this must include also some Libs?
For the moment I only find articles for GCam or others, but the Stock Cam was not findable for me. So I would like to ask, if someone has experiances with that, or maybe put me to the link where it is explained (as I was maybe to tumb to find it )
Thanks in Advance!
As no Answers, I research further, and give here some infos, if others search for that also:
- It is possible to install the stock cam without additional things (like root or whatever) by downloading it from apkmirror
- link: https://www.apkmirror.com/apk/oneplus-ltd/oneplus-camera
- take care, it seems on OnePlus 5 not all versions running properly. The last real working version under Lineage OS 16 for me was 3.4.25
- I tested several versions of 3.8, where are on each app other problems (app crash, not choosable options, and so on)
- The link to standart Gallery is not working (I expect that the cam app assumes to open the oneplus galery, but I have others)
- you can test Versions by starting in a low version, then you can update to newer versions. The other direction (starting with high version, and downgrade is only possible by deinstalling the newer version).
- If I foud a stable 3.8-Version I will notice it here (3.5, 3.6, 3.7 are not on apkmirror, I assume that the big version-change is related to also other hardware needs for the cam, so this will cause maybe the problems...)
BR
MP
similar story and solution here:
OP Camera version 3.0.43 (I may try the suggested v 3.4.25, if I find time)
OP Gallery version 3.8.21
Do you have any gapps installed?
androidtel said:
Do you have any gapps installed?
Click to expand...
Click to collapse
Yes, I'm bad and use the most of Gapps
Anyway, maybe the point that 3.8 does not work could be related to Cam Framework which maybe must also updated... but on apk mirror only V1 is avalible... But I'm afraid to change something there on the Rom included stuff, as I need my phone running...

Categories

Resources