[PORT] [v3.6] OxygenOS 3.5.8 Camera for OP2

ghbuur

Senior Member
May 24, 2013
715
763
0
now as the final oxygenos has been released, this port is fully working!

bugs:
- probably needs rom with previously running h2o camera at least once
- quick green screen when changing camera modus
- opening recorded videos with stock player inside camera let's crash gallery. go to gallery instead or use other player/gallery
- dark picture with force flash on daylight (rom issue?)
- manual exposure limited to 2sec (rom issue?)

edits:
- place the original OOS3 camera lib inside attached zip in system/app/OnePlusCamera/lib/arm64, vendor/lib64 and system/lib64 (permission 644)
- added new zip with included libs, thx @MaluNoPeleke
- added h20 camera port to install/uninstall first, credit to its porter
- added new zip, no more h2os camera needed
- added new zip for AOSP rom like exodus etc.
- added new zip, CM+AOSP, snappier and manual mode seems to work too
- added new zip, updated by myself to updated oos 3.0.1 camera
- added new zip (1.4.0), slimmed and fully compatible new MM based roms
-added new zip (v2), better deodexed, included libs and odex file (check post #241)
- added new zip (v3), modified apk, probably no more "ocs stopped" message
- added new oneplus 3 gallery to v3
- added new zips (v3.1), better HDR performance
- added new zips (v3.2), fixed gallery edit
- added new zips (v3.4), OP2 and OP3 version of camera (#367)
- added new zips (v3.5), OP2 version, removed most of the libs, clean flash needed

- flash in recovery and enjoy. stock or other camera apps will NOT be replaced!

- previous users of old h2o cam or my old zips should uninstall old version/both "oneplus" folders in system/app first. they will now be placed in system/priv-app
- users of "test zip" need rom update or dirty flash of existing rom before flashing


thx to @Seraph08 for deodexed oos3 rom
thx to me for deodexed oos301/oos302 rom

don't copy nor upload it somewhere else!

to be continued...
 
Last edited:

tbiwalkar

Senior Member
Mar 4, 2014
237
46
0
Kalyan
I made a working flashable zip for cm 13. Thanks to Seraph08 deodexed version of OOS 3.0 Beta. Little issues are:

- opening recorded videos inside camera let's crash gallery. Go to gallery instead
- quick green screen when changing camera modus
RAW and Manual supported?
 

ghbuur

Senior Member
May 24, 2013
715
763
0
just updated to 0204 build of seraph08 cm13 and flashed the camera zip, it works fine. so i guess it's because i used h2o camera before and didn't clean flash the rom?! if someone could send me a log on a freshly installed rom, i'll investigate. thx
 
Last edited:
  • Like
Reactions: merewood bebox

Prasad98

Senior Member
Feb 13, 2014
381
167
0
Mumbai
Works.

Working perfectly as mentioned....
Thank you for the port!
(Flashed it on cm13 13th March build and I had previously flashed h2os camera and then flashed this zip... So works perfectly)
 

Joern85

Senior Member
Jul 23, 2011
109
18
18
Doesn't work for me. I'm on rr 0304 build. Flashed HOS camera port and then OOS, copied libs also. Rebooted and wiped cache / dalvik, but the camera app doesn't show up in application drawer. Any advice? Thanks!
 

ghbuur

Senior Member
May 24, 2013
715
763
0
Doesn't work for me. I'm on rr 0304 build. Flashed HOS camera port and then OOS, copied libs also. Rebooted and wiped cache / dalvik, but the camera app doesn't show up in application drawer. Any advice? Thanks!
what if you put the two folders inside the zip (link) manually in system/app with correct permissions?

https://www.dropbox.com/s/u2p5edadjps88o5/Folders.zip?dl=0

another trick is to push the apks to system with lucky patcher like mentioned on this post:

http://forum.xda-developers.com/showthread.php?p=66153590

Sent from my ONE A2003 using XDA-Developers mobile app
 
  • Like
Reactions: Joern85

Joern85

Senior Member
Jul 23, 2011
109
18
18
what if you put the two folders inside the zip (link) manually in system/app with correct permissions?

https://www.dropbox.com/s/u2p5edadjps88o5/Folders.zip?dl=0

another trick is to push the apks to system with lucky patcher like mentioned on this post:

http://forum.xda-developers.com/showthread.php?p=66153590

Sent from my ONE A2003 using XDA-Developers mobile app
Copying the folders manually and setting permissions didn't help. Or I was to stupid :D But using Luckypatcher did the trick.
 
  • Like
Reactions: ghbuur

philidor

Senior Member
Sep 30, 2007
736
231
73
It partially work on EXODUS ROM (AOSP). Main camera work very well but you can't take selfy and make video.
There is a way to have it on AOSP ROM?

Inviato dal mio ONE A2003 utilizzando Tapatalk