yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] AngryGamer025:
I already flashed that zip but I just could not find how to change resolution. ;) But I just found it. :D

Send from my Nexus 7 using Tapatalk HD in Dutchy style

Devices: Nexus 7 - AOKP Mr1 build 1
[Nexus 7 Original Development] flim flamin:
While this seems like a cool tweak, I'm not sure I understand why you would enable 720p on a 1.2mp camera... or did I miss something?
[Nexus 7 Original Development] osm0sis:
Haha no idea. It doesn't affect video calling or anything so the only thing I can think of is if you vlog or want to do some other kinds of self-video on the front camera.
[Nexus 7 Original Development] QNBT:
I tried while recording myself playing the guitar, the frame rate is terrible. Probably a lot smoother with lower res. So, if you won't make any fast movements the 720p mod will probably be a good option to have.

If you're really interested the video is here (not gonna embed it lol):

http://www.youtube.com/watch?v=ftY25RUkFK4
[Nexus 7 Original Development] hillbeast:
Because this is XDA Developers. We don't do stuff because we needed it, we do it because it's able to be done.

Does the HTC HD2 actually need all those operating systems? No, but they get ported because making the device do something that it wasn't originally intended to do is fun.
[Nexus 7 Original Development] osm0sis:
Haha well said, sir. :D
[Nexus 7 Original Development] 1pop23:
Is there a way to revert back from this?
[Nexus 7 Original Development] osm0sis:
Follow the link someone posted a page back. It goes to my post which has a revert/undo zip.
[Nexus 7 Original Development] Headlessbody:
strange things...

Hello, i 'm a noob and English is not my native tongue. Forgive me!

I've found a ****ty guide in Italian about 720p on nexus 7.

I discovered later that was material from this forum...

I edited the XML with ex explorer but all I got was smaller video resolution, something like 355*288...

So I came here and try to find a solution.

I've read all the 33 pages of this thread and.....

1) Yeah!! It worked!

2) I looked for a while for the magic 720p button.

3) I found it.

4) Did a few videos to compare.

5) touched the far less magic time lapse button (oddly in Italian says rallentatore that is slow motion!)

6) ****ed up the video button

7) felt stupid

8) downloaded and put the undo file from the author of the thread.

9) feared a lot the " now I'm stucked in the x logo" step

10) same gallery error

11) downloaded and installed the other file, with the mod.

12) feared a lot the " now I'm stucked in the x logo" step

13) video works again... But...

14) In the recorded videos, at both res there is a background sound like an old vinyl record.. And it seems that also the video got some small... Can't find the words in English.. Some insecurities (?) Like a small stop while panning.

I could post a test tomorrow, now here is late and I would prefer more light to test better.

Ideas to fix it?

EDIT: I don't have video shot before the mod, I had one before the time lapse button step, and it has that noise too, but I can't tell if it's an hardware problem, but in the first days of my nexus I shot some videos and didn't notice any strange " click and hiss" noise..
[Nexus 7 Original Development] hillbeast:
I suggest using the update.zip linked on the first page to patch the file correctly.
[Nexus 7 Original Development] Headlessbody:
With "patch" you mean to overwrite it?
[Nexus 7 Original Development] hillbeast:
Technically yes. It's overwriting it with a patched version of the file. It's more effective than doing it manually. Most likely you have something missing somewhere and it's awkward telling people what to look for because it could be anything.
[Nexus 7 Original Development] hillbeast:
Thanks for the donation Headlessbody!
[Nexus 7 Original Development] Headlessbody:
Ahah, just a (small) beer.

It worked, i unzipped the file and overwrite the xml. No more strange sounds.

I should ignore the time lapse button or I can safely play with it?

---------- Post added at 10:12 AM ---------- Previous post was at 09:41 AM ----------

I don't want to monopolize this thread or your time, but...

WTF!!!

First video was ok, i recorded another one and i get again crackling sounds.

No reboot or anything between the videos!! Very strange!

Next step is revert to the original file and let's see what happen..

i'll keep you posted.

----edit----

i revert with the undo file provided by osm0sis and i get the gallery error.

rewrite the modded file and camera works with crackling sounds @ both res.

look at my 720p video on youtube. /watch?v=L35h8oU2dyk
[Nexus 7 Original Development] osm0sis:
ROM and Gapps?
[Nexus 7 Original Development] Headlessbody:
Sorry, i have no clue of what info yuo're asking.

i assume some tchnical details of my machine..

So i try these:

Android 4.2.1 build J0p40D

kernel 3.1.10-g22b4fcd

i have it since last week and i rooted with CF-Auto-Root from chainfire.

i suppose gaaps are google apps, correct?

i followed the guide [How to] Install ICS Google Apps with Speech Recognition Noob (Simple) Version from use prokennexusa
[Nexus 7 Original Development] osm0sis:
So you're using ICS GApps on stock JB4.2.1? If so then that's probably the issue right there. My zip just pushes the stock file back so there isn't a way that in itself should mess up Camera/Gallery. One other thought: are you leaving 720p selected in the Camera settings when you revert? It might not like pointing to a profile that doesn't exist anymore.
[Nexus 7 Original Development] Headlessbody:
Don't remember.. i'll try to revert leaving low quality setting on! thanks a lot:good:

------update----------

i've tried, and probably you're right, because now i don't get the error, or the 720p option.

unfortunately i kept the sound..

i'm pretty sure audio was fine before modding, although i tried just one or two times the very first moments i had it.

at this point, i'll put again the modded file, at least i have higher res.

what i,noob as i am, can't understand is, if the only mod was in that file how the undo step don't work?

i assume an hardware issue or other files involved...
[Nexus 7 Original Development] darkmatthew:
Works on 4.2.1?Worth install on Paranoid 2.99?
[Nexus 7 Original Development] hillbeast:
Paranoid used to have the patch already back when it was CM based, but then they went AOSP so I have no clue if its there or not. If its not then bug the maintainers to put it back. Yes it should work.
[Nexus 7 Original Development] tjackbjorn:
Sv: [MOD] Nexus 7 720p Video Recording

What camera app are you using? I downloaded the modaco camera launcher app from market, but I can't say I can see any diffrence..

Thanks!

Tapatalked via my Nexus 7.
[Nexus 7 Original Development] hillbeast:
Did you install the mod and change the settings? There is a difference. Thousands of people can see its there.
[Nexus 7 Original Development] tjackbjorn:
Sv: [MOD] Nexus 7 720p Video Recording

Yes I have installed the mod and in the modaco camera app I've set it to record in 720p.

Tapatalked via my Nexus 7.
[Nexus 7 Original Development] hillbeast:
Well if its set to 720p and you can't see the difference then the problem isn't with the tablet. Don't expect miracles that improve quality. The camera is still crap. My videos I made were best case scenario where I used good lighting and was shooting something that shows the detail up nicely. Play the video on a computer and check the resolution there.
[Nexus 7 Original Development] tjackbjorn:
Sv: [MOD] Nexus 7 720p Video Recording

aaaah. Well I see. Thank you :) I will try!

Tapatalked via my Nexus 7.
[Nexus 7 Original Development] narco14:
thx for the share. If you want, you are this app (nexus7 camera starter) on play store and you can choose 720hd or 480hd in settings camera.
[Nexus 7 Original Development] igerup:
He he, this is a neat little tweak for us Nexus 7 "nerds". It works on 4.2.1 JOP40D, no problems. Ahh, I sooo enjoy being able to use CWM recovery on this, unlike on the Optimus L5...
[Nexus 7 Original Development] osm0sis:
Just confirming that JDQ39 uses the same media_profiles.xml as JOP40C/D, so the updated ones I posted are still valid, and you don't need to revert before flashing the OTA. :)

http://xdaforums.com/showthread.php?p=34146296#post34146296
[Nexus 7 Original Development] hillbeast:
This mod seems to be invincible. Every update it continues to work as expected.
[Nexus 7 Original Development] osm0sis:
Haha yup. They did make changes between JZO54K and JOP40D, the latter of which being what my zips are based off, but nothing since then! :)
[Nexus 7 Original Development] getmoneygreen:
does this mod works on 4.2.2 and can i flash the mods thats osmosis posted a couple of threads back if i ever wanted to revert back
[Nexus 7 Original Development] osm0sis:
Literally 4 posts above I answered all those questions. Please read next time. :)
[Nexus 7 Original Development] getmoneygreen:
oooppps my bad ill keep that in mind next time ;)
[Nexus 7 Original Development] privy:
Well officially got to testing out some video recording with my n7 and 720 video seems to be working fine but I do not get any audio when I play back the video. Tried reading through this thread but didn't find anything.
[Nexus 7 Original Development] hillbeast:
Check the video on your computer. If sound isn't working then you haven't installed the mod correctly. Sound works fine for everyone else.
[Nexus 7 Original Development] privy:
Checked on my computer and no sound. Just using the way it came on smoothrom. Anything else I have to do to get it to work?
[Nexus 7 Original Development] slixzen:
So in the first post you mentioned backing up the file that holds the camera profile. However I don't see a file path mentioned. Where is this, as I am attempting this in a car and would love to try it out.
[Nexus 7 Original Development] hillbeast:
/system/etc/media_profiles.xml
[Nexus 7 Original Development] jj03:
Snapcamera in the market also allows for 720p vid recording. Has loads of options. No root needed. Just install and enjoy.
[Nexus 7 Original Development] osm0sis:
Can't really do 720p if the system doesn't support it, that's where this mod comes in.
[Nexus 7 Original Development] jj03:
Fair enough..and thankyou. :)
[Nexus 7 Original Development] hillbeast:
I also don't like to needlessly pay for applications when I can just do the mod on my own. Having a device that's rooted is a given on the XDA. Anywhere else, yeah I can understand the need for applications to perform tasks, but I like to just root it and do everything for free.
[Nexus 7 Original Development] -Asskicker-:
Does this also improve the quality in applications like Skype?

I tried searching but the search is down currently. :silly:
[Nexus 7 Original Development] osm0sis:
Nope. Though you'll see people have reported otherwise, that's all placebo. :p

It mods the media codec profiles so it affects recorded video only. :)
[Nexus 7 Original Development] backslashV:
Hi, I don't understand the part that says "backup though as it plays up with OTA updates if you have this mod installed."

Does this mean that I can't flash stock ROMs with this mod and I have to revert back?

Also what I have to do is flashing the zip file right?

Thanx
[Nexus 7 Original Development] osm0sis:
Google's Stock ROMs have things called "asserts" during the OTA update process. Basically they're just file checks to make sure it's patching an unmodified file. Replacing any system file can therefore keep you from flashing an OTA (as can custom kernel, or radio, because of similar checks).

If you are a stock ROM user and would like to use this mod then use the flashable zips from my post here:

http://xdaforums.com/showpost.php?p=34146296&postcount=264

One flashes the mod, and one is a revert to flash it back to the unmodified stock file in case you need it for a future OTA to pass the asserts. :good:
[Nexus 7 Original Development] backslashV:
Thanks,

1. But I'll be able to FLASH the stock ROM thru recovery right?

2. Will changing build.prop values also stop me from installing OTA updates?

3. My nexus 7 has this build number: JDQ39 which is different than what you posted.
[Nexus 7 Original Development] osm0sis:
1. You can never easily flash Google's stock ROM through recovery because they are .img files. You need to use fastboot.

2. Yes of course. It's an important system file and you will never see an OTA that doesn't have a build.prop assert.

3. No offense but you need to read the post again, because I explained that.

Any more basic questions like that should be taken to a Q&A section thread, for future reference. ;)
[Nexus 7 Original Development] backslashV:
Thanx, I think just the last one was basic :)
[Nexus 7 Original Development] egawrangler:
Looks like this feature has been added in Android 4.3. I did the OTA update and now I have the HD 720p recording option.
[Nexus 7 Original Development] hillbeast:
I don't know how it's doing 720p then. It's not in the media_profiles.xml as far as I can see. Google must be doing something weird, or perhaps the media_profiles.xml doesn't matter anymore? I dunno but that's really weird. Can anyone else confirm this? I don't have my N7 anymore.
[Nexus 7 Original Development] Patsfan123:
No 720p option on my n7 with 4.3
[Nexus 7 Original Development] osm0sis:
Nah. I just checked, and the media_profiles.xml for JB4.2 and 4.3 are completely identical.

My zip based on the latest revision (from 4.2) will still work perfectly.
[Nexus 7 Original Development] :
Thanks for this MOD. Added your media_profiles.xml to my ASR JB 4.3 JWR66Y ROM. :good:
[Nexus 7 Original Development] BrothaJINC:
sorry if i missed something but I've been reading thru a whole bunch of pages and cant find what to back up and how to flash. is it just a zip?

I'm on 4.3 pa official

thanks in advance
[Nexus 7 Original Development] osm0sis:
In your bunch of pages you must have skipped the one right before this one.. ;)

I link to the post with the latest zips.
[Nexus 7 Original Development] BrothaJINC:
i found the update zips

now do i have to back up anything cux your other zip file says undo?
[Nexus 7 Original Development] osm0sis:
Undo reverts. No backup required. :)
[Nexus 7 Original Development] BrothaJINC:
hell yea, thanks for the help mane
[Nexus 7 Original Development] stranded.eu:
Hey! Is there anyway to get root on Nexus 7 without deleting all the data and unlocking the bootloader? This is the only feature that I care about and I need to root it somehow without backing up my data on the tablet.

Also if anyone is seeking for a workaround for 1280x720 videos... lgCamera app works great, however the recording preview lags and is stretched out but the final video is still 720p and works fine.
[Nexus 7 Original Development] osm0sis:
Look up MotoChopper.
[Nexus 7 Original Development] stranded.eu:
Damn, I'm on 4.3 which does not work with MotoChopper. Too bad..
[Nexus 7 Original Development] compgenie:
What do I do ?

I flashed the zip using TWRP,

And video recording remains the same! No difference between the old and new recordings...at all...

Even the preview is 480p

I'm using Camera launcher for Nexus 7 from PS

I'm not getting any rashes or FCs at all though.

Did I do something wrong?

Running stock 4.3 SuperSU rooted JB .........
[Nexus 7 Original Development] skaterpunk0187:
That would b great!
[Nexus 7 Original Development] heat361:
Hill beast it would be awesome if you made this a flashable zip file. Thank you for your work
[Nexus 7 Original Development] slick_rick:
Thank you for this. I added it to my own personal build and it works great. As far as adding it to CM10 officially for our device, if anything, someone else who knows how to use gerrit can do it for you but just list you as the author. Thoughts?
[Nexus 7 Original Development] JeepFreak:
AWESOME!

Any chance this will improve video messages (not video calls) in Tango?

Thanks!

Billy
[Nexus 7 Original Development] fredy915:
Damn i wish there was a flashable version of this im not to comfortable messing with that lol
[Nexus 7 Original Development] smt8544:
Works perfectly! Great job OP :) I simply pulled /system/etc/media_profiles.xml via adb, edited it on my PC, pushed it back, set permissions (probably wasn't needed but its good to be safe!) and rebooted (again maybe not needed). I am running Jr7.
[Nexus 7 Original Development] hillbeast:
Any method is fine by me, as long as I am credited for my work.
[Nexus 7 Original Development] swordrune10:
I'm sure this would be merged real fast, if of course there was a proper maintainer for grouper :p
[Nexus 7 Original Development] hillbeast:
Okay I asked a CM maintainer who I've developed with in the past (cdesai) how to use Gerrit and submitted the change. Hopefully it'll get accepted. I really don't want to deal with going through changing it or something.

Link in case anyone is interested. http://review.cyanogenmod.com/#/c/22833/
[Nexus 7 Original Development] xT4Z1N4TRx:
Will this make apps like Skype better?
[Nexus 7 Original Development] heat361:
Thanks for the mod I just copy and pasted the code with the + and rebooted and it works. There is a big difference in quality.
[Nexus 7 Original Development] hillbeast:
Probably not seeing Skype uses its own compression systems and codecs. I believe it leverages the NEON SIMD functionality of the processor rather than hardware encoding in the GPU which is what this mod does.
[Nexus 7 Original Development] Mr. Monkey:
I tried this last night and ended up in boot loop. Just want to make sure I did it right. I added in the Encoder settings for the 720p, but I left out the '+' signs. Are those supposed to be included? Running stock/rooted rom.
[Nexus 7 Original Development] bennor3814:
You can remove the "+" character. If you follow the github link in the OP post and select the View File button you'll see the code doesn't contain the plus character.
[Nexus 7 Original Development] oldlight:
I changed the file, push it back to /device/asus/grouper, build a .zip by brunch grouper, flash it, install camera.apk but still, camera was forced close.

What chmod options did you use?
[Nexus 7 Original Development] bennor3814:
Using ES File Explorer I checked the Read box for User, Group, Other. Check the Write box for only User. And left Execute unchecked for all. I believe these settings generates a chmod numeric value of 644. I also rebooted the tablet too as a precaution after making the changes.
[Nexus 7 Original Development] jaysmi32:
A zip would be nice that can be flashed through recovery
[Nexus 7 Original Development] slick_rick:
Thats awesome, hope it gets merged. Have you ever though of adding in a smaller nav bar height? I figured out how to add it in the source and it looks pretty nice.
[Nexus 7 Original Development] fattire:
There is :)
[Nexus 7 Original Development] hillbeast:
This is a bit off topic and should be discussed elsewhere, for instance my Kyorarom thread, but yes I know where that is set as well, but I'd rather not change it to something static. I'd rather people be able to dynamically change it to their personal preference, because clearly you'd rather a smaller one (which is fine, personal preference), while I'm fine with the current one.
[Nexus 7 Original Development] armyboy11b:
Wow
[Nexus 7 Original Development] stranded.eu:
wow what? :P
[Nexus 7 Original Development] SkOrPn:
Has anyone tried doing this on KitKat yet? Or CM11 for that matter?
[Nexus 7 Original Development] osm0sis:
Stock is unchanged in KitKat so you can continue using my last zip.
[Nexus 7 Original Development] SkOrPn:
Ok thanks. I flashed it and tomorrow I will be giving it a try. Thank you osm0sis. :good:

EDIT: I am on CM11 KRT16S (koko98's unofficial 11/26 build) using M-Kernel a65.
[Nexus 7 Original Development] koko98:
I think 720p support is already added in my rom

Enviado desde mi LT30p mediante Tapatalk
[Nexus 7 Original Development] hillbeast:
All CM ROMs or CM based ROMs have this mod already. It was pushed upstream over a year ago now.
[Nexus 7 Original Development] SkOrPn:
Thanks for confirming. Crap I was installing my copy of mIRC just to go to their channel to ask that question, lol... :good:
[Nexus 7 Original Development] Bert98:
Works good on my Nexus 7 with stock KRT16S, thanks :thumbup:

Inviato dal mio Xperia U utilizzando Tapatalk
[Nexus 7 Original Development] Sinfamy:
Does this work with 4.4.3?
[Nexus 7 Original Development] hillbeast:
It should.
[Nexus 7 Original Development] alexche77:
It DOES, confirmed, latest deodexed built BSZKitKat 1.5 with carcosa kernel and google camera!

:victory::victory::victory:
[Nexus 7 Original Development] iarejohnsmith:
On SlimKat 4.4.3 Weekly, and mod does not work. Weird. :confused:

Flashed it and the camera settings still only has 480p. Anyone know what the issue is?

EDIT: Flashed version by osm0sis, and it worked! At least for a while...

Now the camera app just keeps FCing lol. Oh well. Wasn't gonna record too much video on this old N7 anyways.
[Nexus 7 Original Development] wildpig1234:
I tried to modify the media_profiles.xml to lower the bitrate on my samsung s4 but it still records at high bit rate. Anyone got idea why? thanks
[Nexus 7 Original Development] enderzip:
I can't find the update.zip file

Since xda no longer recommend dev-host, can you send me the update.zip file? Thanks.
[Nexus 7 Original Development] rahimali:
Attached!
[Nexus 7 Original Development] enderzip:
thank you so much!
[Nexus 7 Original Development] fattire:
For anyone who is trying to build using my CM10 build instructions, you may have noticed the camera launcher for nexus 7 doesn't work with this error:

E/AndroidRuntime(12801): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.modaco.cameralauncher/com.modaco.cameralauncherActivity}: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.google.android.gallery3d/com.android.camera.Camera}; have you declared this activity in your AndroidManifest.xml?

I believe this is because CM10 is replacing the google (gapps) gallery with Gallery2.

CM10 users. Try this from adb shell:

$ am start -n com.android.gallery3d/com.android.camera

(don't type the $)

720p camera launches for me. If anyone knows modaco, tell them to check if com.google.android.gallery3d is installed, and if not, use com.android.gallery3d instead!

Or maybe I could just write it and we could put it in the cm10 grouper device. Should be pretty easy.

Anyway, the 720p camera seems to work for me too on cm10. Nice job.
[Nexus 7 Original Development] hillbeast:
I think there is something defined in the framework somewhere that will detect whether to show the camera shortcut or not. I'd first check the gallery application itself and if not it'll be in the framework. I looked all through the device project for grouper there is no mention anywhere for it. Maybe it detects if its a front camera only?
[Nexus 7 Original Development] pmgreen:
Will this work with the Glazed ROM?
[Nexus 7 Original Development] fattire:
I don't see anything in the Gallery2 source -- or in the config.xml in frameworks... but I'll keep looking and maybe ask someone if I can't find it (and you don't beat me to it). I'm assuming it's unrelated to the USE_CAMERA_STUB set in the BoardConfig which apparently gets overridden by the existence of the props... I wish I were more familiar with how Android enables/disables icons... I'll ask around.

Update:

adb shell

$ su

# pm enable com.android.gallery3d/com.android.camera.CameraLauncher

Component {com.android.gallery3d/com.android.camera.CameraLauncher} new state: enabled

We just need to make this the default config. Thanks to intervigil for the tip.