Post Reply

Development for camcorder and 720p

OP macs18max

26th October 2014, 10:32 AM   |  #1  
OP Senior Member
Thanks Meter: 2,136
 
638 posts
Join Date:Joined: Apr 2010

The focus of this thread is to get 720p playback and camcorder working for desire on Kitkat ROMs.

tytung has successfully got camcorder and 720 playback mp4 for HD2 for Ics, Jellybean and Kitkat. I have manage replicate the code and will try to get it working on desire

I don't owe a desire so will need some user to actively test the ROM and kernel that I will compile and post.

Source code I have take in from spezi git and first working on cm11 ROM then evervolv
Instructions below is taken from spezi77 thread.
Tester should know how to flash kernel or ROM
Also know how to provide kmsg or last_ksmg and logcat



Installation notes
- Rooted
- At least 512mb ext4 sd-ext partition (1024mb recommended)
- Hboot with at least 250mb system partition (If not slimmed) -> please use AlphaRev Jelly Hboot (250/5/182) for best experience
- Use a newer recovery such as 4ext (credits madmaxx82 & jmcclue) or twrp (credits Chromium)
- Full wipe recommended
- Flash ROM
- In case you use Alpha Jelly hboot (250/5/182) flash GApps -- if not then boot ROM and enable A2SD before flashing GApps
- Boot ROM and let it settle down (3-5 min)
- Enable A2SD

Code:
1) run Terminal Emulator
2) type 'su' and press enter
3) allow root access in the popup query
4) type 'a2sd install' and press enter
5) reply to questions in this order
--> y n y (dalvik to card - yes, data to card - no, reboot - yes)
6) that's it
Enable Developer Settings
--> Open up "Settings > About phone" and tapping 7 times on "Build number"
The Following 14 Users Say Thank You to macs18max For This Useful Post: [ View ]
26th October 2014, 10:33 AM   |  #2  
OP Senior Member
Thanks Meter: 2,136
 
638 posts
Join Date:Joined: Apr 2010
Testing Logs
Download ROM (26Oct2014)

25/Oct/2014 - Above link ROM an kernel boots , 720p works but camcorder doesn't work
26/Oct/2014 - Uploaded new kernel for test. Result=No tested yet See Post

Hopefully the ROM boots fine.
I made the following changes in evervolv qsd8k kernel.
1. Used older venc driver.
2. Change PMEM_ADSP size to 0x02C00000

You can find it in the attached zip on this post. Add these files if
Do the following test.
For Playback 720p
First test playback the smaller resolution video files in Gallery. Playback a smaller resolution media files (mp4) 176 x 144.
If that is successful play this file http://www.h264info.com/clips.html serenity trailer 720p resolution.

Do the following test for camcorder
Open camcorder and record. If it fails go to setting and change audio from aac to amr or vice versa. Try both audtio setting. I have disable all other not working video setting so you will see only m4v
Last edited by macs18max; 26th October 2014 at 09:10 PM.
The Following 6 Users Say Thank You to macs18max For This Useful Post: [ View ]
26th October 2014, 10:36 AM   |  #3  
OP Senior Member
Thanks Meter: 2,136
 
638 posts
Join Date:Joined: Apr 2010
Quote:
Originally Posted by nickleby

I've selected the related files to 720p playback because I don't wanna flash a whole ROM for the moment (I can't), and I can confirm that 720p playback works fine (at least under Evervolv, I'm sure it will be fine for CM too). However, I haven't tested camcoder yet, I'll try to compile the kernel right now and test. Thanks macs18max!!!

Edit: I had the chance to flash the complete ROM. 720p works fine. Camcoder using AAC or AMR with MSM_PMEM_ADSP_SIZE = 0x02C00000 doesn't work. Using MSM_PMEM_ADSP_SIZE = 0x03200000 is the same. The phone/camera app hangs after pressing the record button.

Quote:
Originally Posted by jukyO

Thanks nickelby. @macs18max,
I guess no need for me to test it then?


Sent from my HTC Desire using Tapatalk

Good 720p is working. I will compile a new kernel tonight for testing
The Following 3 Users Say Thank You to macs18max For This Useful Post: [ View ]
26th October 2014, 10:39 AM   |  #4  
jukyO's Avatar
Senior Member
Flag Ogulin
Thanks Meter: 377
 
1,932 posts
Join Date:Joined: Feb 2011
More
Quote:
Originally Posted by macs18max

Good 720p is working. I will compile a new kernel tonight for testing

Ok. Please provide which rom to use with this kernel.

Sent from my unknown using Tapatalk
26th October 2014, 10:55 AM   |  #5  
zinconnu's Avatar
Senior Member
Thanks Meter: 16
 
335 posts
Join Date:Joined: Jun 2008
Wow! Thanks for you work on Desire! If i can help, just ask!
26th October 2014, 11:51 AM   |  #6  
lilsafbig's Avatar
Senior Member
Flag bradford
Thanks Meter: 108
 
1,084 posts
Join Date:Joined: Aug 2013
More
On spezis carbon Rom when you record the video it has a delay in motion but when u stop recording it doesn't save. I don't have the desire working anymore no microusb working.

Sent from my HTC Desire XS using XDA Free mobile app
26th October 2014, 05:35 PM   |  #7  
OP Senior Member
Thanks Meter: 2,136
 
638 posts
Join Date:Joined: Apr 2010
Please test this kernel. I have made a flashable zip.
But first you will need to have the cm11 test ROM, installed in the first post
EDIT: link removed has error

Then you need to flash the kernel attached in this post
http://forum.xda-developers.com/atta...1&d=1414337559

Open camcorder and record. If it fails go to setting and change audio from aac to amr or vice versa. Try both audtio setting. I have disable all other not working video setting so you will see only m4v
Report back with logs and kmsg if not working
Attached Files
File Type: zip camcorder test kernel 1.zip - [Click for QR Code] (2.47 MB, 200 views)
Last edited by macs18max; 26th October 2014 at 08:04 PM.
The Following 3 Users Say Thank You to macs18max For This Useful Post: [ View ]
26th October 2014, 07:55 PM   |  #8  
jukyO's Avatar
Senior Member
Flag Ogulin
Thanks Meter: 377
 
1,932 posts
Join Date:Joined: Feb 2011
More
Quote:
Originally Posted by macs18max

Please test this kernel. I have made a flashable zip.
But first you will need to have the cm11 test ROM, installed in the first post
link http://d-h.st/zwo

Then you need to flash the kernel attached in this post
http://forum.xda-developers.com/atta...1&d=1414337559

Open camcorder and record. If it fails go to setting and change audio from aac to amr or vice versa. Try both audtio setting. I have disable all other not working video setting so you will see only m4v
Report back with logs and kmsg if not working

Cannot open
http://d-h.st/zwo

Other host?

Sent from my HTC Desire using Tapatalk
The Following User Says Thank You to jukyO For This Useful Post: [ View ]
26th October 2014, 08:03 PM   |  #9  
OP Senior Member
Thanks Meter: 2,136
 
638 posts
Join Date:Joined: Apr 2010
Quote:
Originally Posted by jukyO

Cannot open
http://d-h.st/zwo

Other host?

Sent from my HTC Desire using Tapatalk

No other host. But wait.. I found that I missed a flag a boardconfig.mk will compile and reupload
The Following User Says Thank You to macs18max For This Useful Post: [ View ]
26th October 2014, 09:01 PM   |  #10  
Jack4L_'s Avatar
Member
Thanks Meter: 37
 
57 posts
Join Date:Joined: Oct 2013
Quote:
Originally Posted by macs18max

No other host. But wait.. I found that I missed a flag a boardconfig.mk will compile and reupload

Code:
Filename: cm11_bravo_camcorder_test.zip
Size: 148.80 MB (156024405 bytes)
Uploaded By: macs18max
Uploaded On: 2014-10-25 16:07:28
Downloaded: 11
MD5 Sum: 09a6b244725b39dbcba01c70cf5acf47
This version has the boardconfig.mk ????

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes