[Port][App] GS3 TouchWiz camera app for all AOSP 4.2.2 ROMs [4.3 beta now available!]

Search This thread

zaid.oj

Senior Member
..............................
--

Port for Android 4.2.2
...................

Hi there i know that this MOD is not for 4.4 roms, as its not possible! or lets say was not possible because there was no stock kitkat rom for the s3, now that samsung released a kitkat rom, yet sadly not for the international version i9300, but for AT&T and some other operators, i believe it would be possible to port the cam to kitkat AOSP roms!! can it be done?!
 

jas51088

Member
Feb 18, 2014
16
0
Do we have a version which will work on on CM 12 . I am using the 5.0.2 Tamasek's unofficial CM 12 rom on the samsung galaxy s3.
 

Ahmad Tawfik

Senior Member
Aug 31, 2015
690
242
Please port this camera to cm12.1 5.1.1

---------- Post added at 07:38 AM ---------- Previous post was at 07:37 AM ----------

I tried it on gt-i9300i s3 eo cm12.1 and it doesn't work
 

Top Liked Posts

  • There are no posts matching your filters.
  • 64
    Hi! This is my first mod for Android; a partially working attempt at getting the Samsung camera (from the leaked 4.2.2 ROM; XUFME7) to work on AOSP ROMs. Not a skin, this is the full camera along with most of the features!

    Want to see it in action? No screenshot - it looks exactly the same as on TW ROMs - but here's a video. http://www.youtube.com/watch?v=mYX4PSVDiIU Apologies for the terrible quality, but it's hard to film a phone with the Nexus 7's front camera, and I couldn't find a decent screen capture app :<

    --

    Port for Android 4.3
    Beta version NOW AVAILABLE, click here for details + download: http://xdaforums.com/showpost.php?p=46566446&postcount=135
    It doesn't work as well as the 4.2.2 version - in particular, video recording is 100% broken, even in the AOSP camera - but you can still try it out if you don't mind this!

    --

    Port for Android 4.2.2

    Working/Non-Working Features List:
    What Works:
    Front and back cameras
    "Wand" Filters
    Flash
    Auto & Macro focus modes
    Tap-to-focus
    White Balance options
    GPS tagging
    Gallery shortcut (uses AOSP Gallery)

    Shooting modes:
    Single Shot
    Best Photo
    Face Detection
    HDR
    Beauty
    Smile Shot
    Low light

    Possibly Working, depending on kernel:
    (These features require that the mediaserver process can write to /sdcard (for burst shot/best face) and /data (for panorama). The only way to change this is using a modified kernel with an init.rc which gives it that access. In my experience, with Googy-Max kernel, Panorama works but the other two don't. Your mileage may vary.)
    Burst shot
    Best Face
    Panorama

    Not Working, may be fixed later:
    Shutter sounds
    Automatic mDNIe / screen brightness adjustment

    Not Working, unlikely to be fixed:
    Camcorder
    Share Shot
    Voice recognition
    Weather/city photo tagging in the media database (what's this used for exactly?)

    Untested:
    Buddy Photo Share
    External SD card

    Download:

    Download:
    This patch is ONLY compatible with AOSP-based 4.2.2 ROMs running on the GT-I9300 and GT-I9300T; the international models of the Galaxy S3 (Exynos chip, no LTE)
    CWM zip: http://d-h.st/sg8 (5.26 MB / MD5: f53d603f49de1bb0aba90546b9bbc1ce)

    Notes:
    This patch has only been tested on RootBox 4.1. Please let me know if you have trouble using it on any other ROM!



    Disclaimer:
    This is an experimental patch, and you install it at your own risk! I am not responsible for anything that occurs as a result of this. Always make backups.

    Installation:
    You need a recovery that allows you to install .zip files; most likely CWM or TWRP. But you probably already have one of these if you're running AOSP on this phone :p

    1. Boot into recovery mode: turn the phone off, hold down VolumeUp+Home and then press the power button
    2. Make a Nandroid backup (not obligatory, but recommended in case something goes wrong!)
    3. Flash the camera mod zip
    4. Wipe the Cache and Dalvik Cache - just in case

    Hope you enjoy it! Now go out and take some awesome photos :D

    Changelog:
    20th July 2013: Released first version. Camera (+ most features) is functional. Camcorder appears but does not record successfully.
    22nd July 2013: Released new version which should work on any AOSP ROM, instead of needing a custom built ROM.
    17th October 2013: 4.3 beta release is out.
    18
    Well, I think my previous bootloop might not actually have been caused by the media stuff - I had edited my build.prop to add qemu.hw.mainkeys=1 but I hadn't changed permissions on it, and I think that was the issue. Really stupid bug!

    I tried swapping the libmedia.so/libaudioflinger.so and other required files from TW, but there's too many differences for it to work on AOSP :( Oh well.


    Anyhow...

    This isn't as good as I wanted it to be yet, but I wanted to keep my promise to release something, so here's a beta version for 4.3. Works on the I9300, and maybe also on the I9305 and/or N7100/Note 2 - it would be nice if someone could test it on those!

    The biggest issue at the moment is that installing this mod breaks video recording - in the AOSP camera app as well - so if you need to use that, you shouldn't install it yet!!

    Currently Working:
    Front and back cameras
    "Wand" Filters
    Flash
    Auto & Macro focus modes
    Tap-to-focus
    White Balance options
    GPS tagging
    Gallery shortcut (uses AOSP Gallery)

    Single Shot
    Face Detection
    HDR
    Smile Shot
    Low light
    Sound and Shot (saves file, but you cannot play it in the AOSP gallery)

    Not Working due to permissions issues:
    Burst shot
    Best Photo
    Panorama
    Beauty

    Not Working, may be fixed later:
    Shutter sounds
    Automatic mDNIe / screen brightness adjustment
    Camcorder in AOSP camera + other apps

    Not Working, unlikely to be fixed:
    Samsung Camcorder
    Share Shot
    Buddy Photo Share
    Voice recognition
    Weather/city photo tagging in the media database (what's this used for exactly?)

    To be added in future versions:
    Remove Low Battery warning
    Move bottom bar when softkeys/navbar is enabled (if I can figure out how to do it)

    Download:
    This patch is ONLY compatible with AOSP-based 4.3 ROMs running on the GT-I9300, and possibly also the GT-I9305 and GT-N7100
    Make a Nandroid backup before flashing!!

    CWM zip: http://d-h.st/rWJ (5.92 MB / MD5: 9345513dd93b8131740d3c0edaa92dc1)
    9
    I've been working on a 4.3 port since yesterday from the Note 2, and I have it somewhat working now but need to test + fix all features, disable shooting modes that don't work, launch AOSP gallery instead of TW, etc ...

    I think this means that the mod will also work on the Note 2, which would be quite cool - I don't have one so I can't test it, but it seems like it would work, because I'm now using the Note 2 libs on the S3 :p


    Anyhow, release in the next couple of days if everything goes well!
    7
    Welp.

    I was going to post a picture of myself facepalming... taken with the TW camera app, of course... but I figured XDA is just a bit too public for that. :p


    It turned out that one single byte in mediaserver was all I needed to change for my original attempt from several days ago to work. I wish I had known that before I started all this stuff about compiling ROMs... I suppose it was a good learning experience, though. I really didn't expect the fix to be that simple.


    So my final mod turns out to be much, much simpler:
    - Use Samsung files, with one modified to add a version of Camera::connect that only takes one param
    - Modify mediaserver to allocate a CameraService that is 12 bytes bigger than the AOSP version

    I feel kinda dumb now. Oh well! Hindsight is 20/20. And... sometimes the simplest solutions turn out to be the right ones :p


    I'll put together a CWM zip that should [hopefully] work on all ROMs and add it to the OP shortly! Now available. Please try it out and let me know how it goes, and what ROM you're using! Off to sleep now, at the very appropriate time of 9am... :D
    6
    Hm, I'm guessing that the picture quality isn't different from the AOSP camera app and this tho there still is missing sources from Samsung that we'll never get.:confused:

    Otherwise. Nice mod! :)
    Thank you :D

    I've seen people talk about how the camera on AOSP is worse because of missing sources, but I'm not sure what sources these are. The Samsung kernel module is open source, and this mod replaces all the user space code related to the camera - as far as I know, anyway - with the TW versions. (Please correct me if I'm wrong on this :p)

    This is purely anecdotal and rather hard to test accurately, but I never noticed much of a difference in picture quality between AOSP and TW, I just wanted the camera app because of the extra modes and options that are really useful.