Excuse me for asking a silly question.
Just wondering, how difficult is it to reverse engineer the HDR algorithm used in the Pixel camera app?
Is the algorithm itself is embed within encrypted codes to prevent reverse engineering?
(I guess in this case, ported camera apps all just copy and paste the code?)
Or can we actually look at the algorithm if we open the app on a developer platform?
I'm not trying to develop an app, just more general question because I see many manufactures are not quite catching up with Google HDR and wondering why...
port
You can extract the apk and copy the code and build it in your own app or if you want, You can help me develop my rom which can have the HDR algorithm and many more thing.
If you want to contact me you can post anything on the post mentioned below with the link
https://forum.xda-developers.com/ge...e-ui-rom-google-pixel-3-t3954765#post80019412
Ugh.. Sorry I'm not a developer myself. I'd love to help as much tho...
You can download and install RAR and then press the .. button and press it again and copy everything to your download folder and upload everything to mega and tell me your mega account
muhammad42620 said:
You can extract the apk and copy the code and build it in your own app or if you want, You can help me develop my rom which can have the HDR algorithm and many more thing.
If you want to contact me you can post anything on the post mentioned below with the link
https://forum.xda-developers.com/ge...e-ui-rom-google-pixel-3-t3954765#post80019412
Click to expand...
Click to collapse
Did you ever get the ROM going?
I suspect that a lot of the camera processing algorithms used are made with high-perf compiled languages, such as C++, making reverse-engineering quite difficult (but definitely possible). Many of the gcam ports take the original app and make edits, for new UI features or editing libs for features such as contrast. I'm not sure if Google obfuscates their code to protect their intellectual property.
(there is a chance that I am wrong, but simply "copy and pasting" HDR code will definitely not work to create a new app that is separate from GCAM)
Related
hello all,
i've been looking for a camera api or dll.
Right now developing a camera relatede program and i need to control the camera.
thank you!
simón
sims said:
Ive been looking for a camera api or dll.
Right now developing a camera relatede program and i need to control the camera.
Click to expand...
Click to collapse
We needed the same thing last week. The company that built the software (IAstyle, http://www.iastyle.com) got bought by HTC recently, and it doesn't look like they'll be selling much any time soon.
and one would resell or offer this api? it will help a lot the comunity
sims
Uhh I NEED THAT too
If anybody sdk or any clue how internaly camera comunicates... (does it use direct show system?)
LET ME KNOW pls!
I will try to use classic trick by capturing screen buffer while picture soft is running...
then my soft will put it to jpg remove jpg header and in sequence it will send it to my video stream server which then distributs it on broadband computer to more users which they will see something like this http://spaced.no-ip.com
however camera has 1 bug its picking up GSM-GPRS signal induction lines... anyway there is always way around it.[/quote]
i need the camera specification, to caputure images using my application. But there's no way for achieving this information.
please, if someone have the idea or where i can ask for....
sims
do you think that these drivers will work on an xda2?
sims
During working on my project, I wrote (for testing purpose and for the future integration), a small test application called SkyDriveBrowser. I hope, source code of this project will be interesting and helpful to novice programmers.
Code is very simple (nothing fancy or colorful ) and demonstrates a few basic techniques to work with SkyDrive using MS Live component for WP7.
For my own purposes, SkyDriveItem class pay some attention to the archives, you don't need that part.
Code is completely free; you may use it in your commercial or fun projects without any limitations even mentioning my name in about box! Enjoy!
UPDATE: I've added compiled .xap to the archive.
Can you post some screenshot ?
wpxbox said:
Can you post some screenshot ?
Click to expand...
Click to collapse
I can but it has no sense at all. My post for developers only; it's not a complete app but useful piece of code. BTW, archive already contains a compiled .xap; you may sideload it to phone/emulator and play yourself
Oh Ok. Got it Thanks
Found a folder "WebApp" somwhere in bada FW...
This folder seems to contain elements of the GUI...
My idea...
Exchange the images with others... self made...
These Pics are there as real images... No IMG, No QMG... Real image format...
Has anybody tested this modification?
If this should work, this could be the next step forward for bada custom ROMs...
As I know, WebApp is the folder that contain Dolphin browser files. It is used when an web based application is launched. Maybe you should look here for user interface costimization.
http://forum.xda-developers.com/showthread.php?t=1276254&page=2
http://forum.xda-developers.com/showthread.php?t=904555
Thanx.
I never understood for what WebApp is used...
In few tests I have removed this app, without any differences...
Now if I read it is used in combination with Dolfin Browser... so it is little bit more clear...
Maybe someone can post Screenshot... As we can see few Pics...
Maybe then function is better to identify...
Best Regards
adfree said:
Thanx.
I never understood for what WebApp is used...
In few tests I have removed this app, without any differences...
Now if I read it is used in combination with Dolfin Browser... so it is little bit more clear...
Maybe someone can post Screenshot... As we can see few Pics...
Maybe then function is better to identify...
Best Regards
Click to expand...
Click to collapse
I think, it is not only for Dolfin...
Simply wath the images of this folder...
Osp\System\RO\WebApp\images
As secretwhite said
These PNGs are for web app....check out SDK for a web app Sample
Web apps are like native apps in look but based on the web kit
Please do more research like this because it good for brain training
GUI tweaks are more than that...harder than that
I replaced a main menu icon in 10 minutes using hex editior but you have to have enough skills to use hex editior....I was just like you and learned from xda members
Best Regards
Well...
I also learned a lot from xda...
Well...
I think, it is a sense for perfection...
But basically the reference for the system should lead to these (or similar) graphics...
The question is, if they are also located at other places in system...
Okay...
How to check...
Maybe please example for livetest
Is WebAppLoader.exe now an relict or demo and can be removed?
Or ist it active and can be start from handset?
How?
Thanx.
Best Regards
Been a lot of complaints on other forums about the crippled camera app in bada 2.0 and I'd like to restore some of the fuctionality from 1.2. Perhaps it's not actually possible as all I have seen is the KK5 app brought back to enable front camera, and no 1.2 app for bada 2.0 to restore some of the other missing functions like pause in video recording or editing options. So if this is waste of time please let me know, but I though the main problem was passing the sequrity check which has now been solved thanks to kubika. SO if possible this is the precise scope of the project:
It's not just the ability to pause a video recording, or edit anything after, there's a lot of other stuff too...
NO Image Quality selection
NO countinous/sequance shoot mode
NO sharpness, saruration, contrast adjustment... but still have auto contrast check box... as oppesed to what?!?!?
NO thumbnail or info view for picture when reviewing from cammera app
NO edit fuction for anything from anywhere as already mentioned... though admittedly if I really want to edit a pic I'll probably do it on my PC anyway.
Although a noob at this I do have some expeciance with PC's, and my understanding is that bada apps are in C++ so if one can decompile and recompile the camera app. Then ALL missing functions, with possible exception of editing that probably calls on seperate app, should be easily recoverable in the bada 2.0 camera app. I've actually checked the samsung developer website, and it gives guidelines on how to implemnet many of these functions if whishing to create your own app, so the code should be easy to reinsert even for me in their own app. The one problem may be creating/inserting buttons/tiles for the menus if not already available but simply uncalled, which I hope is actually the case since one can easily recover the record call button.
The main issue is I don't know how to decompile the two apps to read and compare the code, and then recompile them, so could someone please point me to the appropriate program(s) with hopefuly some instructions on how to use them. I think this is something that may be appreciated by many since we can now more easily upload modified apps, and is a relatively simple mod for a noob to atempt... so if anyone can offer some help with that to get me started, it's a project I'd be looking to take up .
innovative ..
liked your idea.
+1
to keep it simple, you can't 'decompile' a binary code to a c++ code, the compiling process is a one-way procedure..
I know this has already been discussed in several threads, but none of them go further than just stating that it doesn't work. I'm talking about external mic support on the OnePlus 3's best video recording apps: OnePlus cam and Gcam. All alternatives are far inferior, but if you know any, please tell me (including voice recording apps that can record while filming).
I'm a total noob at making/modding apps, but I've go so far as to having converted the apks to java source code (or as close as dex2jar can get it. It just seems so simple to change from TYPE_BUILTIN_MIC to TYPE_WIRED_HEADSET with setPreferredDevice() in the interface AudioRouting. But that isn't the case, and I would like to ask if OnePlus cam and Gcam just have different names for these thing and it still would be quite easy to change, or if it's so entangled and proprietary that it's impossible. I have the java code for reference, but not sure if it's against the rules to upload even thought they're free apps.
Does anyone have experience with this and can help me/try and mod the apks?
Here's some files with audio in their names (is this where to look and if so, which?):
OnePlus cam:
AudioAttributesCompatApi21.class
AudioAttributesCompat.class
AudioManagerImpl.class
AudioManager.class
AudioManagerBuilder.class
Gcam:
AudioFrameProvider.class
AudioSample.class
AudioFrameConsumer.class
AudioTrackDecoder.class
In addition to the there are also files with names like: ExternalMediaSource.. MediaDecoderSource.. TrackDecoder..
Thanks in advance - ASH19