yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] olokos:
It might be a dumb suggestion, but sometimes we go without even looking at obvious things. Have you decompiled supervideocamera and corrected the invalid/valid files?

Wysłane z mojego C6903 przy użyciu Tapatalka
[Sony Cross-Device General] munjeni:
That have no sense since these apks is from Z2 which allready have support for these things, maybe I am wrong but I do not think that that things is in apks. That have no sense realy.
[Sony Cross-Device General] olokos:
Well yeah, but if you decompile the app you can see some device capabilities check. Can't tell lol where exactly, (apart that it's in supervideocamera.apk) but the files are sth like invaild/valid and I suppose that it's some kind of check because you can see hdr and other camera stuff in there that is different between valid and invalid. Honestly, take a look there.

Wysłane z mojego C6903 przy użyciu Tapatalka
[Sony Cross-Device General] showlyshah:
Seriously?? No parameters in lib files???

Dude if so.. We are few steps away from making it work!!

Also check for cam sensor lib too..

Any way paraeters are in apk. The semc camera ui, and super video camera apk. Some things are hardcoded in it. Thats the soul reason why editing media profile.xml wont work as it should on aosp or cm.

Can u pm me how to disassemble these elf ( lib) to analyse it.

I hope we can soon make it work.

Cheers and thank you.

---------- Post added at 09:21 PM ---------- Previous post was at 09:17 PM ----------

Media profile.xml is the culprit.. Check my another thread on z1 section about 45.5 fps timeshift. U will get a mediaprofile. Xml there. Replace it with the one u have now( backup original) clear data of cam apps and video. Reboot and enjoy
[Sony Cross-Device General] munjeni:
I do not say that! I say - I have no idea where is a parameters, thats all! I dont think that parameters is in apk (since apks is from Z2! I do not think that there is a checks for parameters) or xml files (I have tried all xmls from Z2 and these 120 fps or 4k resolution is stil missing in logcat - getting unsuported error from mm-camera, so for sure check is in mm_camera libs), I thinking that parameters is in:

1. camera FW

2. camera libs

3. qcom.camera.so hal (found there something but I am not so good hacker to confirm if that is a parameters since I can not see resolution or fps hex values or dec values, but I can see there is a some functions for parameters init. Allso there is something related to dlopen libcamera but I can not see these licamera in system)

I do not know where is stored array of the resolutions values, or array of the supported fps values :( It must be located first.
[Sony Cross-Device General] olokos:
Have you checked the file I told you to check in the end? I'm sure I've seen some resolutions and fps there.

Wysłane z mojego C6903 przy użyciu Tapatalka
[Sony Cross-Device General] munjeni:
Yes but not see anything :(. Where you found them ...in which file excatly?
[Sony Cross-Device General] olokos:
SuperVideoCamera.apk

There's a directory:

SuperVideoCamera.apk\res\xml

In which you can find files:

camera_parameter_validator_validation_invalid_list.xml

camera_parameter_validator_validation_valid_list.xml

That seems like a big deal for me. I couldn't even get it to show up in the app drawer so if you have any suggestions how do I get it to the app drawer at least then I could try fiddling around with that by myself.

You can also find some really interesting stuff here

\SuperVideoCamera.apk\res\values

Let me know how do I get this app to show up in the app drawer please so I could test anything I change in the apk :D

And check those files out of course if you haven't done it yet(you propably did).
[Sony Cross-Device General] krabappel2548:
Camera app probably isn't the problem I think. Z1 camera app from 4.3 already had the 4k res strings included. But maybe it is supervideocamera.apk although I think it are the libs.
[Sony Cross-Device General] olokos:
Have you checked out that validator thingy in supervideocamera.apk I mentioned above?
[Sony Cross-Device General] munjeni:
In my custom rom (booth kitkat and jb) you can use z2 camera update, I have patched camera widget and supervideo camera so all shortcuts is on booth app drawer and widget, decompile and compare byself to see what I have done :)

Strange thing, 4k and videoshift can not be on drawer without a patch, so probably you are right about validation, maybe these validation is for shortcut only since 4k and supervideo app is hiden if not supported!? Maybe these validanion allso hide 3xxx video resolution parameter !?
[Sony Cross-Device General] olokos:
You may be correct, but I suppose that this validation prevents the app to show up in the camera apps if it doesn't prevent it from working at all (which I think it does).

Could you direct me to the directory where you made the changes? It is kind of a big deal to go through all those files one by one :D

Wysłane z mojego C6903 przy użyciu Tapatalka
[Sony Cross-Device General] munjeni:
Excuse me if I am wrong since I removed all folders of decompiled apks so I can not let you know in detail, sorry, I think I have modified 3 apk: somccmaerawidget, timeshiftvideo and supervideocam, camera widget have new xml file where I have defined parameters for showing in widget, supevideo and timeshift have allso (if I am not wrong) new xml file... better idea you can look into androidmanifest.xml file, you will see something like 4kvideoparms and timeshift_parms (if I am not wrong)...

Of topic... any one want to help me in implementing privacy guard from cm11 into stock rom? I have done 70 percent of things, sucesfully launch privacy guard but 30 percent is remaining (need to colect remaining missing framework things)! I will open git if someone wiling to help! Let me know! Here is a progress http://xdaforums.com/showpost.php?p=51695816&postcount=74
[Sony Cross-Device General] olokos:
All i want is just having the 4k app showing up in the app drawer :D

Wysłane z mojego C6903 przy użyciu Tapatalka
[Sony Cross-Device General] krabappel2548:
I'll take a look, I've been very busy lately.. I'll try to make some time for xda again soon :p
[Sony Cross-Device General] gauravbhakuni90:
portrait retouch error

After flashing the portrait retouch in cwm when i start portrait retouch its saying unfortunately it has stopped

PS i m using lb nut rooted and deodexed kk .681 fw
[Sony Cross-Device General] olokos:
No worries mate. I know that feel perfectly as I started some development myself.

Funny thing is that I thought you guys checked everything and I won't be of any help as I know only some basics of programming and as it turns out I actually can help both of the big guys with working on this, dayum. :D

Wysłane z mojego C6903 przy użyciu Tapatalka
[Sony Cross-Device General] krabappel2548:
Took a look at the xml files and I don't think they will make a difference, but I will see what it does when I edit them.
[Sony Cross-Device General] olokos:
Try copying all of the strings from invalid to valid or deleting all of the strings between <any>markers</like_this>.

I tried to do that myself but I have no idea how to get those apps to appear in the app drawer. Some help with that would be really nice, so I could fiddle around with it myself. :)
[Sony Cross-Device General] ziemny:
Unfortunately I only get FC's on background defocus, retouch and other extra apps. I also don't see the FPS increase in videos. I'm on NUT's stock ROM.
[Sony Cross-Device General] olokos:
Thanks mate, could you tell me more precisely how to get it to show up in the xperia home? I mean what strings to edit etc. I can fiddle around with it too, but that would speed up my fiddling around a bit, because my free time is not really high.
[Sony Cross-Device General] luis4ever:
Comparing Timeshift Burst and SuperVideo Android Manifest:

Supervideo:

Line 30/36: <category android:name="android.intent.category.LAUNCHER" />

Timeshift:

Line 36: <category android:name="android.intent.category.DEFAULT" />

Also, this is the only code i see that maybe is causing app not showing in camera:

Timeshift: <action android:name="com.sonymobile.android.addoncamera.timeshift.intent.ACTION_PICK" />

SuperVideo: <action android:name="android.intent.action.MAIN" />

I will add <action android:name="com.sonymobile.android.addoncamera.supervideo.ACTION_PICK" /> and i'll see what happens.
[Sony Cross-Device General] olokos:
Thank you very much. :)
[Sony Cross-Device General] showlyshah:
So i think that u are hardworking to learn hacking/coding. Now the very first thing u need is to learn - " how to identify things and what it does", i am an electronics hobbiest for about 14 years, an android enthusiastic for about 5 years, and an electrical and electronics engg for about 4 years, an android teacher ( servicing android hardware& software) for about 1.5 yrs...

I always advice those who ask me how to learn things with this - to learn, u must learn from the bits, even if u learn every nuke and corner of a project, u only study and learn about that project only, a good hacker/learner wont do dat, but he goes for the roots or the tiny components that builds up the whole thing. And the benefits - u will do what ever thrown at you, no matter even if u dont know any thing about it, just becoz u know what it is made of and what they can do..

I swear, i dont have a solid idea in making an android app( but becoz i hate coding) , still i worked as an android devloper in a reputed company( precisely as a program comaptibility analyser, checking and correcting the end program on various devices and os), and guess what, they give me the award for the best in class!!!, and i belive there is a reason why i acheved that, learn from others who managed to figure out the problems, and then mix it with my on idea, and the outcome will be a bit better( or worse in some case, but then again i learn what should not be done).

Now my friend i see an enthusiastic in you, i think u can become a good hacker in near future, now what u need is a lil learning, and i hope u will figure it out soon. Go to android devloper page by google, there is a section about manifest files in the page, ( that is the core of any apk, a single error in that file will be enough to make ur program dead), and take a look at various components of the file.

I wish u all success, and hope u will fix ur problem in few days..

Thanks

---------- Post added at 01:37 PM ---------- Previous post was at 01:27 PM ----------

A quick help- the camera is called as action camera, becoz of the apps in it ( like background defocus, timeshift etc) so most probably, an intent with ".ACTION_PICK" will have effect only from the camera app doc ( or the camera extras menu ( the one where u see the other camera apps like timeshift, etc), so if u want to launch an app from there, u must need a receiver of that intent action on ur apk, with enough permissions.

The post by luis4ever seems to be in right path, for he seems to figure it out.
[Sony Cross-Device General] olokos:
[MENTION=3783716]showlyshah[/MENTION]

I really apprecieate your words. I see that you already realised what do I want to do. Actually my job goal is to work in a huge company that creates games like CoD, BF etc. For now I'm only able to do really basic stuff with my limited knowledge, but I really want to learn more and more on that since I gave up with the idea that I'll learn all of that stuff in school... I'm in high school now (first year) and I thought that I'll actually learn how to code there... Nope, we are doing stuff like install drivers, install windows, set up a printer, reassemble a PC (with stupid regulations like keep all screws, screwdrivers etc. in order and wear a white coat similiar to the one that doctors wear). I was really disappointed when I digged what's up with the programming in high school (it's a technical school actually, so the main focus is on IT stuff). It turned out that we'll only do some basics so we won't really be able to do some serious stuff, but we will quickly go through it... That's not what I expected... Not at all...

Thank you for what you've told me. That's really useful and it will surely help me with learning it by myself. It's not that easy for me to learn how an entire app was built (but I do have some general idea which helps me), because my free time is really small because of the school stuff... Gosh, sometimes I barely have time to hang out with friends... I will surely learn the fundament of the app. What do you think about "Hacking android" xda book on google books? Would that be a good thing to read or do you suggest something else? I'm thinking about a book because that way I could learn something useful on-the-go. For example when I'm going to school or when I'm on vacation. Getting a laptop or a netbook with eclipse for a 15 minutes way to school isn't that good idea...
[Sony Cross-Device General] sumedh123:
guys plz give the install instructions my default camera also stopped working:crying: m using stock deodex
[Sony Cross-Device General] showlyshah:
Yap.. They all do the same thing.. Insted of teaching what we want to learn, they teach us what they know.

Now if u want to practice. Slowly...

1) learn java very well

2) start learning android programing after java

3) interact with some real world problems and devices

And this can take about 3-4 years, and since u are trying to induce some learning to ur brain, u will get tired, belive me, programming is not everybodys toy, it will eat ur brain and body, and most time its not enjoyable.

If u want to learn fast

1) learn fundamentals and basic structure of java ( no problem even if u cant build an java program /jar)

2) use google android developer page to make up a good idea about apk, how its build and what are its back born.- now start learning the fundamentals of the application programming- after u complete it, u can simply make some program like helo world or so with the help of some Google search.

3) now u have learned to make the simplest program, so next thing is to dig up how the big guys roll.. U need to decompile some programs, try to make small small changes ( one at a time is a good go, or u can have multiple changes, only if u know what u are doing) and compile and install and take a look on the effect of ur change.

4) now u have learned that, what simple changes can make what changes..( i recomend to try visual changes before going into codes,) here in xda, there are thousands of tutorials and tools which will help u to do things, so browse around android softwre hacking section or apps and themes section.

5) dedicate ur small works to community.. No matter how small they are... Remb that a hacker is not a programmer in a sense, he does not usualy make big bang programs, but he makes things simple,elegant, and user friendly ( eg, some.messaging apps does not have that enter button, which we need in many situations, all they have is a send key, so adding an enter button is considered as hack, but in that process we only change a bit of the original code and not recreating the whole thing)

6)here in fast learning, reverse engineering is your teacher, and google search is your guide. So u wont need to spend a lot of time in learning coding, u only learn basics throughly, and the programmer in ur dreams will come to u with out ur knowledge. Now the benifits are, u wont suffer any thing like a real programmer suffer.

Good tools include sdk, apk tools, 7zip,winrar,notpad++, jd gui, android kitchen, apk analyser by sony, etc..

U dont need to spend time, u need a phone /tab with internet while u roam, computer at home, and enthusiasm. Lol i dont spend time in social networks or chatting apps, i spend time on xda, xda have been my second gf since few years, and now my original one is gone, and being single, xda is my first gf, i eat, sleep, smoke with xda, i just take a look on it when ever i get a 10 min free..

And the hacking book by xda, well its a quick reference guide, if u wish u can use it, but its contents are all on xda, u will get guides in it, but to know the responses by users for those guides , u need xda.
[Sony Cross-Device General] munjeni:
[MENTION=4300205]olokos[/MENTION] simple download camera apps from my thread, you will get working booth camera shortcuts and shortcuts in camera drawer
[Sony Cross-Device General] olokos:
[MENTION=3783716]showlyshah[/MENTION] I wish you had that donate button so I could get you a beer for that. To make it worse I already used up my 8 thanks a day. Thank you so so so much mate! I think I'll try the fast way and if it won't work then I'll go for the slower one. I'll get some java books soon I suppose. :)
[Sony Cross-Device General] showlyshah:
Its ok mate.. We all help each other.. Thats how we roll.. Be the helping hand for others.. We do care each other.. Thats why we are a community.. And thats how we claim our victory..

Cheers.

---------- Post added at 01:30 PM ---------- Previous post was at 01:29 PM ----------

Mate. Can u point out the link.. I am using xda app, so its lil hard to browse the whole forum.
[Sony Cross-Device General] munjeni:
Here you go http://xdaforums.com/showthread.php?p=51806151

Use Z2 cam, than replace camera.common.apk in priv-app from one from my main rom to get cam full working (without 4k only)
[Sony Cross-Device General] DeejayTelis:
Can i install any of these in my .757 rooted device?
[Sony Cross-Device General] luis4ever:
Works with no problems. After you install the MOD download this and install it as a normal apk. The icons on the Drawer should go and will show on camera app only.
[Sony Cross-Device General] fer2503:
The real problem of z1 camera is the lack of shutter time controll...not the 4k
[Sony Cross-Device General] ziemny:
In my case it says "The application couldn't be installed".
[Sony Cross-Device General] luis4ever:
Are you running the mod? Deodexed, super used mod?
[Sony Cross-Device General] arifkpi:
Timeshift Video

Is it possible to make Timeshift Video works on Xperia SP? :)
[Sony Cross-Device General] olokos:
I doubt it because SP has only 1 gig of ram so that's a problem even if the camera could handle it, but hey it's xda, everything is possible here! I'm not kidding, just take a look at android 4.4 for x8 which have 384mb of RAM and Google stated that it needs 512mb to run.

Wysłane z mojego C6903 przy użyciu Tapatalka
[Sony Cross-Device General] C_Karhu:
Hi!

Is there by any chance possible to make 15 mp resolution in manual mode on JB 4.3 Xperia Z1? When I tried 4.4 my camera wouldn't work, so I downgraded to 4.3
[Sony Cross-Device General] iamadam:
my phone is Xperia Acro S but i have Beanstalk 4.4+ rom can this works for me ??
[Sony Cross-Device General] mnsk:
What are the requirements and the steps to get timeshift video work on stock 757?

I have got stock deodexed but no superuser mod. :confused:
[Sony Cross-Device General] andino:
My timeshift video works on my Z1 but I can't seem to select it when I'm inside the camera app. It shows up in my app drawer along with 4k video which I couldn't get working yet. Any suggestions?
[Sony Cross-Device General] cool400:
Hi xperiaz2,

thanks for your great work!

Unfortunately I can't figure out, which APKs I need to get the full Z2-camera-app on my Z1?

There are so many diffenrent APKs and so many versions...

Any help?

Or maybe is there a way to get one single APK with the full functionality of the Z2-camera-app?

Best regards and thanks a lot

cool400
[Sony Cross-Device General] luis4ever:
Install this as a normal apk. Apps on drawer should go and appear on camera app only.
[Sony Cross-Device General] demonicangell™:
no u require sony framework .
[Sony Cross-Device General] mnsk:
I have a Z1 on stock deodexed 757.

I want the instructions on how to install timeshift video.

---------- Post added at 11:05 AM ---------- Previous post was at 11:03 AM ----------

Which files did you install/flash?
[Sony Cross-Device General] abheshekk:
Hi Guys,

I am on stock .757 ROM by NUTS its odexed will i be able to install timeshift video and 4k features on my z1,if yes then what are the steps?
[Sony Cross-Device General] luis4ever:
1.- Make a Nandroid.

2.- Deodex the Rom.

3.- Install Xperia Xposed or Superuser Mod.

4.- Flash the Mod for KK.

5.- Install Apk I provided on previous page.
[Sony Cross-Device General] DeejayTelis:
What mod for KK do you mean?
[Sony Cross-Device General] luis4ever:
This zip. I couldn't find the page it was posted so i uploaded my file to other server. Credits to XperiaZ2
[Sony Cross-Device General] DeejayTelis:
Oh man, i can't thank you enough...! I'll test it out right now. :) :victory:

And let's not forget to thank xperiaz2 for making it possible! Hooray!

*Worked like magic! Except 4K video , and there weren't bgdefocus and portrait retouch
[Sony Cross-Device General] luis4ever:
4K is not working yet.

Install as normal apk's:

Background Defocus: http://d-h.st/t7y

Portrait Retouch: http://d-h.st/rsM

Editor for Portrait Retouch: http://d-h.st/eMB

Credits to creators of this ports.
[Sony Cross-Device General] mnsk:
After a reboot apps.on drawer come back everytime.
[Sony Cross-Device General] luis4ever:
Yes, but apps on camera are showing now.
[Sony Cross-Device General] mnsk:
Made it a system app now working fine.
[Sony Cross-Device General] zyxel25:
where did you move the Z2_camera app? and what is the original filename to replace the old pk.
[Sony Cross-Device General] mnsk:
Well actually I used titanium backup to integrate update into system rom.

You can replace SuperVideoCamera.apk
[Sony Cross-Device General] daxsm:
I have PAC-man 4.4.2 rom on my Xperia S. I've flashed zip and I get FC. What am I missing?
[Sony Cross-Device General] :
This is only for Sony software.
[Sony Cross-Device General] luis4ever:
He better no replaces that file. The original name is SuperVideoCamera.apk
[Sony Cross-Device General] mnsk:
My bad I thought it updates over the original camera.
[Sony Cross-Device General] joyahmed3244:
?

will it work on openSEMC kitkat rom for xperia s ???
[Sony Cross-Device General] DeejayTelis:
Hey, [MENTION=1710082]luis4ever[/MENTION], thank you for everything. All is installed and working properly (except 4K of course).

What would you say to make a flashable zip for recoveries?

I might give it a try if it is allowed, and if you don't have time or you ain't able to. (giving credits to the ones that ported the apps, xperiaz2 for the z2 dump and you for taking time to explain to me how to install, cuz it was all so confusing.)

Tell me your opinion. :)
[Sony Cross-Device General] luis4ever:
It should be good if I could come here and get a zip with all what I need and all features in one zip. Timeshift, portrait, background defocus, Superusermod, etc. I will make a one in all zip for my personal use but I don't know if I can post it since it's not my own work.
[Sony Cross-Device General] DeejayTelis:
Well, you should write inside the zip and give credits to the ones that ported it and to xperiaz2.

Also, send a message to them and ask them if it's allowed to upload it here. It could be awesome for people to just flash it and, tada! Voila, camera is ready. :D

:highfive:
[Sony Cross-Device General] guybrush2099:
how can I play the editor? I can only get portrait retouch app

I can't find the editor in the installed app list too...
[Sony Cross-Device General] DeejayTelis:
I made a flashable zip containing the latest: (All of them belong to xperiaz2 !!! He ported them, thank him for the apps!! - I just created a flashable zip with all of them in one place so you can easily install them )

Superuser mod *(for .757 only) special thanks to [MENTION=4924807]MysticEnforcer[/MENTION] for uploading his modded service.jar

AR_Effects

Background_Defocus

Portrait_Retouch

Editor for portrait retouch

Creative Camera

Timeshift Video

4K SuperVideo + libs (currently not working) .

I would upload it, but i firstly need to test it, and ask the creators for permissions. If I ain't allowed, I won't upload it.