[Experimental] Froyo 720p Playback + Fullscreen Video recording ! - Defy Android Development

Froyo only !
Plays a 720p Demo Video i have that did not play before.
Playback is okay, but it lags a bit every few seconds on the video i use to test.
EDIT : Lag is because this is a "High Profile" vid. (Blueray quality)
h264info com/clips.html <- add the dot
Used for test :
Serenity – 720p “On HD DVD” Trailer
Video Type: 1280×720 (720p), 23.967 FPS, CE-High profile (PS3 and Xbox 360 compatible)
Its experimental and not tested alot, so do a backup before you try.
This is not installable with recovery. You have to push files and folder
to /system/lib
****** EDIT *******************************
Now also the stock Camera is recording in fullscreen 848x480
Working package for recovery can be found in post #24
http://forum.xda-developers.com/showpost.php?p=11018223&postcount=24

After playing arround with build.prop and media_profiles.xml i am now also able to record video with 848x480 @8mbit @30fps using the "lgcamera" app from the market. (Selecting "MPEG4" as encoder).
I think it recorded 640x480 before regardless what you set.

you're a f*****g genius. how did you do it? would 720p recording be possible?

-={antibyte}=- said:
Its experimental and not tested alot, so do a backup before you try.
This is not installable with recovery. You have to push files and folder
to /system/lib
Click to expand...
Click to collapse
I have aplied the .zip with system recovery, in the option "Flash Zip" and that was ok.
But the video test of serenity, has much lag at 1,2GHz with stock player...
In milestone 2 too?

It's a "high profile 720p" file and thats too much for the defy, it seems.
Install "TubeMate" from the market, goto Settings->Maximum Resolution->select 1280x720
Then you can search for "720p" and download a video.
They play without lag and extremely crisp and nice.
You have to choose "Download" as "Watch" just opens the Youtube app.
aikidoka90 said:
I have aplied the .zip with system recovery, in the option "Flash Zip" and that was ok.
But the video test of serenity, has much lag at 1,2GHz with stock player...
In milestone 2 too?
Click to expand...
Click to collapse

zip is not a update file for recovery. only libs

walter79 said:
zip is not a update file for recovery. only libs
Click to expand...
Click to collapse
I know that is not an update, but if you flash the zip with recovery, it puts libs in his folder.
But the advantage to play 720p videos is to see some series like Big Bang Theory without conversion... If a simple trailer 80MB is too much for defy...
This isn´t possible in droid 2 or X???

Erm, i think it will do nothing if you apply this one with recovery.
There is a recovery package of this in the development thread.
aikidoka90 said:
I know that is not an update, but if you flash the zip with recovery, it puts libs in his folder.
But the advantage to play 720p videos is to see some series like Big Bang Theory without conversion... If a simple trailer 80MB is too much for defy...
This isn´t possible in droid 2 or X???
Click to expand...
Click to collapse

Stock Camera now patched for 848x480 Fullscreen recording !

This is my post number 10 and i hope i can continue this in the dev thread

i open a 720p thread in development section.

could you post your patched camera.apk, build.prob and the media...xml.

Still cant post in the dev thread
Anyway here is an update collection of files.
Not for recovery, i am to tired to make a package
Patched BlurCamera.apk for 848x480 fullscreen recording
remove the BlurCamera.odex if you have a non deodexed firmware !!
there is a remount script in /system/bin.
chmod 755 /system/bin/remount and you can just type
remount rw
or
remount ro
to mount the system partition writable/readonly.

BUG
Camera seems to start with QVGA and has to be switched to VGA manualy in the
settings
But VGA then shows and records as 848x480
EDIT:
Now works as it should.
Strange.

Hm, not working for me.
GB froyo.
mnt rw
then
cp all in system.zip, to /system/*
delete odex.
install lgcamera. 848x480 available in lgcamera, but app is halt, when i start record.
in stock camera, see onle VGA.

have same problem

Did you reboot?
Sent from my MB525 using Tapatalk

Fail, after reboot phone not started. just show boot animation, again and again

Now thats strange .
Works perfect for me.
Sent from my MB525 using Tapatalk

any ideas how phone now can be start?
i think i need hard reset, but how do hard reset, if phone not started, and just show boot animation.

Related

[MOD] [CM6] Bootanimation Audio Working!

This is something that I have been working on. So now that I have gotten it to work I am releasing it.
This is to enable bootanimation audio on CM6. This will probablly work fine for any aosp rom but I have not testing that out. If anyone wants to test on a non cm aosp rom please let me know how it works so I can update the post.
Bootanimation Audio as a flashable zip. This means yes you can flash this after a nightly or stable build and when you boot into the rom it will be working right away.
Bootanimation Audio:
Droid Eye Sound
Transformers Sound
You also notice two small scripts I have added to the package as well.
lcdd = lcd density changer
rmapk = system apk remover
Code:
# lcdd 240
Do you want to reboot now? (y or n) > n
No Eh? Must not wanna see your changes.
# lcdd 190
Do you want to reboot now? (y or n) > y
Rebooting Device
For the rmapk just run that its pretty self explanatory.
NOTE: Just in case!!!!! This zip only works the initial time. If you flash this over an existing one it will cause double entries and the boot animation will NOT WORK. After you flash this simply switch out the audio with a new on in your terminal or adb.
Code:
adb remount
adb push file.mp3 /system/media/android_audio.mp3
Code:
su
mount -o rw,remount /system
cp /sdcard/file.mp3 /system/media/android_audio.mp3
Reserved...
Works great on CM RC1
Thanks
Also if anyone has mp3 clips that they would like to use please let me know it will only take a min to update a zip file for you and it would be nice to start a collection for cm6 audio files.
Here is the Transform Droid Sound - Add that to the col
It is cool but I think it is too short.
Kykiskly said:
Here is the Transform Droid Sound - Add that to the col
It is cool but I think it is too short.
Click to expand...
Click to collapse
Transformers Up
thanks man worked great on cm r2
how long can the mp3 be in seconds?
sound
lithid-cm said:
Also if anyone has mp3 clips that they would like to use please let me know it will only take a min to update a zip file for you and it would be nice to start a collection for cm6 audio files.
Click to expand...
Click to collapse
hey i got one you might like . megaupload .com /?d=F9QPV29Mow up
put space in it didnt know my link would show up since i am a new user to this site

[DEV] unofficial CyanogenMod7 port for RK2818/RK2918 tablets

this is a work-in-progress development project for porting CyanogenMod 7 (gingerbread/2.3.7) and ClockworkMod Recovery 5 to RK2818/RK2918 tablets.
there is no support from any makers/vendors. you must agree all risks by installing non-supported files, it may brick your tablet, and you may lose official support/warranty.
* YOU MUST READ CAREFULLY POST#1, #2, AND #3!
* DO NOT USE FILES FOR OTHER TABLETS! IT WILL BRICK YOUR TABLET!
* project page
http://androtab.info/rockchip/cyanogenmod/
* RK2818 tested tablets
mivvy MIDroid A2
Craig CMP738A
RAmos T11AD
ACHO C901 PRO
ARCHOS 7htv2
4G Systems oneTab
Yarvik TAB210
... and more!
* RK2818 current status (2011/11/18)
not work:
3G, HDMI, and many things which you expect to work
work:
accelerometer, audio, gapps, hardware accelerated video, internal NAND flash, SD card, touchscreen with calibration app, USB host/device, USB GPS dongle, wlan
* RK2918 tested tablets
Yuandao N50DT
* RK2918 current status (2011/11/26)
not work:
3G, bluetooth, camera, hardware accelerated video, HDMI, and many things which you expect to work
work:
3D, accelerometer, audio, gapps, internal NAND flash, SD card, touchscreen, USB host/device, vibrator, wlan
* changelog
refer git log
* resources
http://www.cyanogenmod.com/ (What is CyanogenMod?)
http://wiki.cyanogenmod.com/index.php?title=Latest_Version#Google_Apps (Google Apps)
http://wiki.cyanogenmod.com/index.php?title=Building_from_source
http://source.android.com/source/
http://review.cyanogenmod.com/#q,status:merged,n,z (CyanogenMod merged changes)
http://forum.xda-developers.com/showthread.php?t=1286305 (rkflashtool)
https://github.com/naobsd/cm_device_rockchip_rk2818
https://github.com/naobsd/cm_device_rockchip_rk2918
https://github.com/naobsd/cm_external_skia/compare/gingerbread-naobsd (placeholder for patches to cherry-pick)
https://github.com/naobsd/cm_frameworks_base/compare/gingerbread-naobsd (placeholder for patches to cherry-pick)
https://github.com/naobsd/cm_packages_apps_TSCalibration
https://github.com/naobsd/cm_system_vold/compare/gingerbread-naobsd (placeholder for patches to cherry-pick)
https://github.com/naobsd/rkutils
* links
http://www.arctablet.com/blog/archo...se-cm7-android-2-3-market-root-archos-7-htv2/ ARCHOS 7HTv2
http://forum.archosfans.com/viewtopic.php?f=81&t=57534 ARCHOS 7HTv2
http://forum.archosfans.com/viewtopic.php?f=81&t=55132 ARCHOS 7HTv2 (not updated?)
http://forum.archosfans.com/viewtopic.php?f=80&t=57832 Arnova 10
http://www.forotablets.com/showthread.php/2190-New-CyanogenMod-V.7.1 bq Verne Plus
http://gathering.tweakers.net/forum/list_messages/1456249/last Yarvik TAB210
* How to dump stock update.img (if you don't have stock update.img)
1. get temporary root
2. dump update.img from backup partition with rkdump for android
* How to make update.img
1. unpack stock update.img for your tablet with AFPTool.exe(Windows) or rkunpack(Unices) (DO NOT USE FILES FOR OTHER TABLETS!)
2. replace boot.img and system.img with files from CM7
3. (if necessary) unpack system.img with fsck.cramfs(RK2818) or loopback mount system.img(RK2918), tweak accelerometer properties in build.prop, add gapps, remove/replace TSCalibration.apk, then repack system.img with mkfs.cramfs
4. repack update.img with AFPTool.exe(Windows) or rkafpack(Unices)
* How to flash update.img
1. use RKAndroidBatchUpgrade.exe(RK2818) or RKBatchTool.exe(RK2918)
(TBD)
* RK2818 issues
some apps get FC
no camera preview
no UI to change USB mode
no USB mass storage mode (mount from PC) under some condition
* RK2818 FAQ
- how to make update.img
http://wiki.archosfans.com/index.php?title=Dump_your_Home_Tablet_rom_and_create_a_custom_rom
- lags on initial boot
please wait several seconds after calibration screen popped
- install failed on some apps (e.g. Angry Birds)
remove SD card before install
- I want to change USB mode host<->device
host mode:
Code:
echo 1 > /sys/bus/platform/drivers/dwc_otg/force_usb_mode
device mode:
Code:
echo 0 > /sys/bus/platform/drivers/dwc_otg/force_usb_mode
or, try this app: http://forum.xda-developers.com/showpost.php?p=19414868&postcount=543
- lags on 3D apps
yes, there is no 3D hardware on RK2818
* RK2918 FAQ
- boot.img in SDK2.0 based ROM
in (some of) SDK2.0 based ROMs, new format is used for boot.img(and recovery.img). it's almost same as standard android boot.img format. it has both kernel and ramdisk.
in general, unpackbootimg/mkbootimg can be used to unpack/repack for this format. but it doesn't work with boot.img for RK2918 tablets. Rockchip uses non-standard way to generate hash value which is stored in header of boot.img. if you flashed repacked boot.img, your tablet will go into recovery mode. it means we can't make customized boot.img(ramdisk).
but there is workaround. we can convert SDK2.0 boot.img into pre-SDK2.0 format.
Code:
$ unpackbootimg -i boot.img
$ rkcrc -k boot.img-zImage kernel.img
$ rkcrc -k boot.img-ramdisk.gz ramdisk.img
then flash kernel.img into kernel partition, and ramdisk.img into boot partition.
- accelerometer tweaks
for Yuandao N50DT
Code:
accelerometer.flip_xy=1
accelerometer.invert_x=1
accelerometer.invert_z=1
* common FAQ
- no gapps
download gapps for CM7 and add files in zip into system.img
- how to use internal NAND flash as SD card?
Settings -> CyanogenMod settings -> Application -> Use internal storage -> On -> reboot
if enabled, internal NAND flash is mounted on /mnt/sdcard and SD card is mounted on /mnt/nand.
- I like portrait / my favorite portrait apps are upside down / accelerometer axes are wrong on some apps
make /data/local.prop with following 3 lines, then reboot.
Code:
accelerometer.hwrotation=270
input.hwrotation=270
ro.sf.hwrotation=270
- I want to do calibration again
delete following files if exist, reboot, run calibration app, then reboot again
Code:
/data/misc/pointercal
/data/misc/idc/*
Fun,
Any chance of a Telechip port?
Cheers
Craig CMP738a boots up and results are identical to your findings.
initial bootup.
the calibration utility hung for a few seconds and asked if it should be killed. waiting allowed the procedure to complete.
started the music app. started playing a song. no audio came from the speakers but audio counter counted up. Headphones did not have sound either.
Tried connecting to wireless, says obtaining IP address... doesnt seem to want to connect to WPA2 network of mine. but it did connect fine to my WEP network.
Trying to view the gallery program for photos is very laggy.
A few videos would play in the video program but they were all like slideshows. A few would not play at all. no audio from the videos obviously.
Phone app and Camera (crashes) app are useless on this device I have.
USB Keyboard works in the usb host port.
FAT32 Flash drive doesnt seem to mount automatic.
SDCARD doesnt seem to be recognized. (nothing in /dev?)
Very cool so far tho.
Edit: since I am using the stock kernel for this device I would think I could get the hardware working... audio... video??? or maybe I need the rockchip support libraries...
fun_ is working on audio support, but video support seems to be hard to add, any help is welcome
Hi,
I have already adapted CM7 to RK2808 on Rocktab resistive screen.
Sound works and video MP4.
If these elements can help you:
http://www.slatedroid.com/topic/14838-experimentale-cyanogen-cm7-080211/
I noticed a lot of files missing .so in the lib in your system.img.
For the sensors you can try to take those CM7 for HTC G1.
http://forum.xda-developers.com/forumdisplay.php?f=448
And rename for RK2818.
This had worked on CM6 on APAD after disabling the rotation parameters in Menu Cyanogen.
@lefeudedieu: Hi and thanks for your reply, I will try it
snipes420 said:
Craig CMP738a boots up and results are identical to your findings.
Click to expand...
Click to collapse
thank you for your report! I added CMP738A to "tested" list.
in general, it should work on most RK2818 tablets. I tested ~20 eclair/froyo firmware(boot/system.img) for other tablets on my mivvy A2, and they worked well. it should be same for my CM7.
snipes420 said:
initial bootup.
the calibration utility hung for a few seconds and asked if it should be killed. waiting allowed the procedure to complete.
Click to expand...
Click to collapse
some process is running in background. please wait several seconds
snipes420 said:
Tried connecting to wireless, says obtaining IP address... doesnt seem to want to connect to WPA2 network of mine. but it did connect fine to my WEP network.
Click to expand...
Click to collapse
hmm. I'm using both WPA and WPA2 enabled APs. I'll try WPA2-only AP.
snipes420 said:
Trying to view the gallery program for photos is very laggy.
A few videos would play in the video program but they were all like slideshows. A few would not play at all. no audio from the videos obviously.
Click to expand...
Click to collapse
no 3D hardware in RK2818.
hardware accelerated video is not supported on my CM7.
snipes420 said:
FAT32 Flash drive doesnt seem to mount automatic.
SDCARD doesnt seem to be recognized. (nothing in /dev?)
Click to expand...
Click to collapse
I didn't test USB drive yet. I have only multi-card-reader, it doesn't work well on android. I'll try it when I get simple USB flash memory stick or something.
SD card should work... please show me detail if you can't investigate it.
snipes420 said:
Edit: since I am using the stock kernel for this device I would think I could get the hardware working... audio... video??? or maybe I need the rockchip support libraries...
Click to expand...
Click to collapse
please use your own bootloader/kernel because there is no source.
audio will work, but I didn't do anything yet.
to support hw video, libstagefrighthw.so for RK28 is needed. if you find it, please tell me.
Flash on my Acho C901 Pro MID ( www.acho.com.cn ), working fine, but when enable Wifi, MID keep restarting and cant open screen anymore.
Thnks on your new image.
Flash on my Acho C901 Pro MID ( www.acho.com.cn ), working fine, smooth. Wifi is working now. Everthing looking ok. Web browser seldom force close. Some application fail to install. So far so good.
Bugs:
Install market: cannot open
Install gmail : cannot open
Install youtube: can hear only sound, no video
Login gmail account in browser: Browser forced close.
aduhai said:
Thnks on your new image.
Flash on my Acho C901 Pro MID ( www.acho.com.cn ), working fine, smooth. Wifi is working now. Everthing looking ok. Web browser seldom force close. Some application fail to install. So far so good.
Bugs:
Install market: cannot open
Install gmail : cannot open
Install youtube: can hear only sound, no video
Login gmail account in browser: Browser forced close.
Click to expand...
Click to collapse
thank you for you report.
try to remove SD card for app install failure.
I can't understand "Install market/gmail: cannot open". do you know how to add files into cramfs system.img?
market is working for me. I can see non HQ video on youtube. (poor frame rate, of course)
it seems bit unstable (app died silently) than before.
fun_ said:
thank you for you report.
try to remove SD card for app install failure.
I can't understand "Install market/gmail: cannot open". do you know how to add files into cramfs system.img?
market is working for me. I can see non HQ video on youtube. (poor frame rate, of course)
it seems bit unstable (app died silently) than before.
Click to expand...
Click to collapse
Yes remove SD can resolve problem.
Ok, I dint know how to install gapps-gb-20110307signed.zip. I just unziped the file, and copy all file under app folder to my sd card. I double click the file and its install. When I tried to run the market and gmail, it just open in white screen and immediate close.
The other bug is, I cant login to google account in browser, It just hang and force close.
aduhai said:
The other bug is, I cant login to google account in browser, It just hang and force close.
Click to expand...
Click to collapse
try 2011/5/19 image. it should fix crash on google account sign in page.
fun_ said:
try 2011/5/19 image. it should fix crash on google account sign in page.
Click to expand...
Click to collapse
downloading..... and report it later.
Crash on google account sign in page Fixed.
but still cant open market, maybe I installed without a proper way. Got to try more.
realy looking forward to a stable release for this.
got an archos 7 ht v2 wich is not realy slow.
also have a HTC Kaiser wich runs on Cyanogenmod 6. and runs realy smooth.. lot better then my tablet.
Is there any clockwork mod for RK2818 , or can use any compatible clockwork mod ?
aduhai said:
Is there any clockwork mod for RK2818 , or can use any compatible clockwork mod ?
Click to expand...
Click to collapse
No, there's no recovery, only standart
One more bug,
this rom drain my batteries fast.
aduhai said:
Is there any clockwork mod for RK2818 , or can use any compatible clockwork mod ?
Click to expand...
Click to collapse
"install zip", and backup/restore on kernel/boot/system are difficult.
if you are OKay only backup/restore/wipe on data/cache, I'll try to make it.

Serendipity 7 Video player.

So I don't have enough posts to post in the Dec forum... but I figured I might not be the only one in my situation...
So far I have only one bug since installing Serendipity 7. Videos won't play... select a video from gallery and it says: "unable to open video".
(Upgraded from GR12 via rom flash in cm)
Sent from a GingerCappy S7
Serendipity VII don't have the Samsung video player installed from default, you have 2 option:
-Install your favorite Player like Vital player or Rock player from the market
or
- create and download a package with the Samsung Video Player from serendipity add-on kitchen. on the serendipity 7 website.
and install it from recovery
Do I have to rename the zip to update.zip? I tried flashing it as Serendipity.zip, and it went through, but it appears to have installed.
The only time you have to rename something to update.zip is when using the stock 2e recovery because that's the only file it will install, with cwm recovery you can install any zip file.
no need to rename
put it on the internal sdcard
go into recovery
select install zip from sdcard
select choose sip from sdcard
find the serendipity.zip and install it
then go back and reboot system now
after the phone boot you will find the video app on the app drawer.
What?! No Root?! No Recovery?!
I am trying to flash Serendipity 7 over Serendipity 6.4.
I got through the Odin section of the instructions (bootloader, GB, etc.)
Now I need to flash the Serendipity 7 ROM, but it looks like what I have is totally stock -- RootChecker/CWM says it's not rooted, and there's no Recovery installed that I can figure out how to get to.
Did I miss something? Is this normal? How do I get into recovery?
If CWM is not there, how do I get it on there if I'm not rooted?
========================
UPDATE:
I think I figured it out. Hold VOL_UP and POWER until the screen flashes the banner three or four times and then it goes into green recovery like it should.
Whew!
========================
I got up to Step 7, where the phone rebooted, but can't go any further after setting up. It doesn't have an option to boot into download mode and Vol Down + Power doesn't work.
punkgambitpr said:
Serendipity VII don't have the Samsung video player installed from default, you have 2 option:
-Install your favorite Player like Vital player or Rock player from the market
or
- create and download a package with the Samsung Video Player from serendipity add-on kitchen. on the serendipity 7 website.
and install it from recovery
Click to expand...
Click to collapse
You sir are awesome. Thanks for thee info!
So now... I'm sure there are better video players out there than the Samsung one? Which one do y'all suggest?
MadGoat said:
You sir are awesome. Thanks for thee info!
So now... I'm sure there are better video players out there than the Samsung one? Which one do y'all suggest?
Click to expand...
Click to collapse
Not really... the stock video player plays every format imaginable (mkv, mp4, avi, divx, etc up to 720p) and does it using GPU acceleration, which to date, no other app can do. This means full playback without dropped frames, and for me at least, my CPU only runs at about 400-600 MHz during 720p playback. No other video player can compare with that. Also, during playback, you can use the power button to lock the screen, and prevent accidental touches from interrupting the video.
I'd stick with it unless you have a specific need otherwise.
Also, since your new to XDA, bit of advice: Questions like this are certainly encouraged, and we're all here to help each other, but this sort of question would be best in the Q&A forum, not the development thread. The reason why the Devel section is closed to new members is that it is for "development related posts only". Also, only create new threads if you're absolutely sure no existing thread already exists where you can ask your question.
Good luck modifying your phone and welcome to XDA!!
Awesome, good to know on all accounts. Thanks for all the info!
Sent from a GingerCappy S7
xcrunner4623 said:
I got up to Step 7, where the phone rebooted, but can't go any further after setting up. It doesn't have an option to boot into download mode and Vol Down + Power doesn't work.
Click to expand...
Click to collapse
I had the same issue until I powered the phone down and then the volume down, power button key combo worked.
The AOSP Gallery plays videos. The Samsung Gallery does not. Minor mistake.
Samsung video player from kitchen, kc1 modem... and I'm a happy chappy. Thanks guys! (Mikey and chance, your work is greatly appreciated and your talent envied)
Sent from a GingerCappy S7

[Rom] [4.4.4] Cyanogenmod 11 for Moto X

***Posting this on behalf of current CM developer for this device***
Source can be found at https://github.com/CyanogenMod
This is a unified build for Moto X
To build CyanogenMod for yourself you can follow http://wiki.cyanogenmod.org/w/Build_for_moto_msm8960dt
If you'd rather not extract files from the latest CyanogenMod build you can add vendor.xml to your .repo/local_manifests folder.
It's been confirmed to work on both the 4.3 and 4.4 bootloaders.
Details on Installing and downloading CyanogenMod can be found here: http://wiki.cyanogenmod.org/w/Moto_msm8960dt_Info
Official nightlies can be downloaded here: http://download.cyanogenmod.org/?device=ghost
Gapps: http://wiki.cyanogenmod.org/w/Gapps
Known Issues: http://wiki.cyanogenmod.org/w/Known_Issues_page_for_moto_msm8960dt
Changelog: http://www.cmxlog.com/11/moto_msm8960dt/
Before you post a bug report:
Please ensure you have done a full wipe of data and formated system under Mounts and Storage.
If you have flashed parts for other versions you may need to do a full flash of the factory software for your model and start clean.
Do not report bugs in nightlies to jira.cyanogenmod.org
Enjoy!
Already known bugs
So, already known bugs:
1. Speakerphone did not work.
2. GPS sometimes do not find satellites.
3. Video camera have only CIF and QVGA resolution of video quallity.
Also, no external audio at all (speaker, ringer, etc) for the xt1030.
Sent from my unknown using Tapatalk
Rottgrub said:
Also, no external audio at all (speaker, ringer, etc) for the xt1030.
Sent from my unknown using Tapatalk
Click to expand...
Click to collapse
Strange. Bootloader unlocked?
da900 said:
Strange. Bootloader unlocked?
Click to expand...
Click to collapse
Yep, unlocked boot loader. It seems to happen with all of the CM11 based ROMs on the Droid Mini.
That said, headphone audio works fine. I haven't tested bluetooth audio, but I can test that later today.
I'd be happy to run any tests, or provide logcat info if you like. Just let me know.
I am not a dev. Post logcat here. Dhacker will see it and will be able to isolate the problem.
Will this work on unlocked xt1055 US cellular CDMA version?
Sent from my XT1055 using Tapatalk
khanapurechait said:
Will this work on unlocked xt1055 US cellular CDMA version?
Sent from my XT1055 using Tapatalk
Click to expand...
Click to collapse
Codename: moto_msm8960dt
Also known as: ghost, obake-maxx
Vendor: Motorola
Release Date: 2013 Aug 23
Carrier: TMobile, International GSM, Verizon, US Cellular, Sprint
From the link in the OP it says it will: http://wiki.cyanogenmod.org/w/Moto_msm8960dt_Info
Hi I'm using the new PA google camera and I found that de back camera has the CIF QVGA and QCIF resolution and front camera has 1080p resolution, this may addres the issues taking videos with the back camera.
Hope this helps to developers.
I'm using Liquid rom right now.
Videocamera fix
Hi, guys and girls. Seems like I have managed to fix video camera to recocord 1080p and 720p videos and also front video camera, wich can record up to 720p now. I was rying to make front camera record also 1080p videos as on stock ROMs it can do so, but did not find a solution at the moment.
Proof is in the screenshots.
How to;
1. Download attached media-profiles.zip and extract xml file
2. Copy to Sdcard
3. Using any root file manager (I use RootExplorer) go to /system/etc
4. Copy downloader media-profiles.xml to this location and agree with the replacement.
5. Set permissions rw--r--r--
6. Reboot
7. Enjoy fully functional AOSP camera
P.S. If anyone is familiar with gerrit and/or github, please, add this fix to msm8960dt cm source code.
P.P.S. Finaly managed to add 1080p front camera recording.
da900 said:
I am not a dev. Post logcat here. Dhacker will see it and will be able to isolate the problem.
Click to expand...
Click to collapse
Appreciate the advice nevertheless.
Motorola driver decided to be a jerk, so the logcat took me longer than expected. This is the xt1030 Droid Mini, unlocked bootloader, running a clean install of CM11, no gapps package, as of a few days ago. Clean booted the phone, played with the volume controls, and sound ringtone selector.
The bug: No external audio at any point. Headphones work, however.
http://pastebin.com/Q4qjZYbv
If someone takes a look, and wants further tests, please let me know. Be happy to dig into the issue.
Cheers!
-- after rooting around --
Looking it over, since it seems to be horking out around here:
Code:
D/ALSADevice( 347): ALSA module opened
D/AudioHardwareALSA( 347): AudioHardware: DLOPEN successful for ACDBLOADER
E/ ( 347): 2 (No such file or directory) opendir /sys/kernel/debug/asoc/msm8960-tabla1x-snd-card/msm8960-snd-card failed
E/ ( 347): failed to get Peek and Poke names
E/ ( 347): [ACDB RTC]->rtc init done!->result [0]
E/ ( 347): [ACDB ACPH]->actp diag init done!
E/ACDB-LOADER( 347): Error: ACDB ANC returned = -8
E/ACDB-LOADER( 347): done with conversion, anc config size is 148
I've included the contents of that directory structure in case it's useful. Looks like the directory it's looking for is at:
/sys/kernel/debug/asoc/msm8960-snd-card
But that's just a guess without looking directly at the code, which I may do.
http://pastebin.com/HdyCwLyx
Rottgrub said:
Appreciate the advice nevertheless.
Motorola driver decided to be a jerk, so the logcat took me longer than expected. This is the xt1030 Droid Mini, unlocked bootloader, running a clean install of CM11, no gapps package, as of a few days ago. Clean booted the phone, played with the volume controls, and sound ringtone selector.
The bug: No external audio at any point. Headphones work, however.
http://pastebin.com/Q4qjZYbv
If someone takes a look, and wants further tests, please let me know. Be happy to dig into the issue.
Cheers!
--
Looking it over, since it seems to be horking out around here:
Code:
D/ALSADevice( 347): ALSA module opened
D/AudioHardwareALSA( 347): AudioHardware: DLOPEN successful for ACDBLOADER
E/ ( 347): 2 (No such file or directory) opendir /sys/kernel/debug/asoc/msm8960-tabla1x-snd-card/msm8960-snd-card failed
E/ ( 347): failed to get Peek and Poke names
E/ ( 347): [ACDB RTC]->rtc init done!->result [0]
E/ ( 347): [ACDB ACPH]->actp diag init done!
E/ACDB-LOADER( 347): Error: ACDB ANC returned = -8
E/ACDB-LOADER( 347): done with conversion, anc config size is 148
I've included the contents of that directory structure in case it's useful. Looks like the directory it's looking for is at:
/sys/kernel/debug/asoc/msm8960-snd-card
But that's just a guess without looking directly at the code, which I may do.
http://pastebin.com/HdyCwLyx
Click to expand...
Click to collapse
Guess I found a solution for you. Open zip with CM11 nightly. Go to system and find a folder called xt1080. Open it. You will see 3 folders. Extarct them. Then using any root file manager copy files from every folder to /sytem/bin, /system/etc, /system/lib. Extracted folders have the same names. Set permissions. Reboot.
da900 said:
Guess I found a solution for you. Open zip with CM11 nightly. Go to system and find a folder called xt1080...
Click to expand...
Click to collapse
Unfortunately, I've already tried those files with no luck. Appreciate the idea though.
Sent from my Xperia Sola using Tapatalk
Rottgrub said:
Unfortunately, I've already tried those files with no luck. Appreciate the idea though.
Sent from my Xperia Sola using Tapatalk
Click to expand...
Click to collapse
Then just extract the same files from your stock ROM.
da900 said:
Then just extract the same files from your stock ROM.
Click to expand...
Click to collapse
Tried that as well, unfortunately.
Sent from my Xperia Sola using Tapatalk
da900 said:
Hi, guys and girls. Seems like I have managed to fix video camera to recocord 1080p and 720p videos and also front video camera, wich can record up to 720p now. I was rying to make front camera record also 1080p videos as on stock ROMs it can do so, but did not find a solution at the moment.
Proof is in the screenshots.
How to;
1. Download attached media-profiles.zip and extract xml file
2. Copy to Sdcard
3. Using any root file manager (I use RootExplorer) go to /system/etc
4. Copy downloader media-profiles.xml to this location and agree with the replacement.
5. Set permissions rw--r--r--
6. Reboot
7. Enjoy fully functional AOSP camera
P.S. If anyone is familiar with gerrit and/or github, please, add this fix to msm8960dt cm source code.
P.P.S. Finaly managed to add 1080p front camera recording.
Click to expand...
Click to collapse
Is this working for anyone else? My camera still just freezes up when you try to record which is why I removed those resolutions.
---------- Post added at 08:27 PM ---------- Previous post was at 08:08 PM ----------
da900 said:
Guess I found a solution for you. Open zip with CM11 nightly. Go to system and find a folder called xt1080. Open it. You will see 3 folders. Extarct them. Then using any root file manager copy files from every folder to /sytem/bin, /system/etc, /system/lib. Extracted folders have the same names. Set permissions. Reboot.
Click to expand...
Click to collapse
Yeah the unified build isn't set up to recognize Droid Mini. Can you send me the output of:
adb shell
Code:
getprop
cat /proc/cmdline
dhacker29 said:
Yeah the unified build isn't set up to recognize Droid Mini. Can you send me the output of:
adb shell
Code:
getprop
cat /proc/cmdline
Click to expand...
Click to collapse
Happily. I appreciate you looking into it. I restored to stock 4.4, added root, and pulled the below:
xt1030 Stock 4.4: getprop
http://pastebin.com/F0AtmxXU
xt1030 stock 4.4: /proc/cmdline
http://pastebin.com/0ELEb8tk
Let me know if you need anything else.
da900 said:
Hi, guys and girls. Seems like I have managed to fix video camera to recocord 1080p and 720p videos and also front video camera, wich can record up to 720p now. I was rying to make front camera record also 1080p videos as on stock ROMs it can do so, but did not find a solution at the moment.
Proof is in the screenshots.
How to;
1. Download attached media-profiles.zip and extract xml file
2. Copy to Sdcard
3. Using any root file manager (I use RootExplorer) go to /system/etc
4. Copy downloader media-profiles.xml to this location and agree with the replacement.
5. Set permissions rw--r--r--
6. Reboot
7. Enjoy fully functional AOSP camera
P.S. If anyone is familiar with gerrit and/or github, please, add this fix to msm8960dt cm source code.
P.P.S. Finaly managed to add 1080p front camera recording.
Click to expand...
Click to collapse
Tried your solution and two things happend to me, the first one is that no longer had wifi and the second one is that did nit work your solution every time I opened the google camera failed.
did I miss something?
have google now?
if google now worked, this rom will be perfect!!!
http://www.cmxlog.com/11/moto_msm8960dt/
TiagoRigueto said:
have google now?
if google now worked, this rom will be perfect!!!
http://www.cmxlog.com/11/moto_msm8960dt/
Click to expand...
Click to collapse
It works and can be installed from google play

Development for camcorder and 720p

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"
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
nickleby said:
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.
Click to expand...
Click to collapse
jukyO said:
Thanks nickelby. @macs18max,
I guess no need for me to test it then?
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Good 720p is working. I will compile a new kernel tonight for testing
macs18max said:
Good 720p is working. I will compile a new kernel tonight for testing
Click to expand...
Click to collapse
Ok. Please provide which rom to use with this kernel.
Sent from my unknown using Tapatalk
Wow! Thanks for you work on Desire! If i can help, just ask!
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
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/attachment.php?attachmentid=2985917&stc=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
macs18max said:
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/attachment.php?attachmentid=2985917&stc=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
Click to expand...
Click to collapse
Cannot open
http://d-h.st/zwo
Other host?
Sent from my HTC Desire using Tapatalk
jukyO said:
Cannot open
http://d-h.st/zwo
Other host?
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
No other host. But wait.. I found that I missed a flag a boardconfig.mk will compile and reupload
macs18max said:
No other host. But wait.. I found that I missed a flag a boardconfig.mk will compile and reupload
Click to expand...
Click to collapse
Code:
Filename: cm11_bravo_camcorder_test.zip
Size: 148.80 MB (156024405 bytes)
Uploaded By: macs18max
[B][SIZE="5"]Uploaded On: 2014-10-25 16:07:28[/SIZE][/B]
Downloaded: 11
MD5 Sum: 09a6b244725b39dbcba01c70cf5acf47
This version has the boardconfig.mk ????
boardconfig.mk?
Download and install this ROM
https://drive.google.com/folderview?id=0B1gea2aywqJYZkxpRGRRVDhJZG8&usp=sharing
Test 720p and camcorder as per instruction as per this post http://forum.xda-developers.com/showpost.php?p=56284038&postcount=2
If still doesnt work, flash this kernel.
http://forum.xda-developers.com/attachment.php?attachmentid=2985917&stc=1&d=1414337559
try again
cool guys! I always wanted someone to port Tytung work as I really wanted stable camera on 4.x roms; I think LaidbackNikez tried to port it but failed. Hope you guys have better luck. Good luck and keep up with the work! I have switched to galaxy s5 recently but I will try to test your work soon my old htc desire
macs18max said:
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/attachment.php?attachmentid=2985917&stc=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
Click to expand...
Click to collapse
Hi, I cannot have the ROM installed the whole day because I'm busy with an university assigment and basically I need to stay with my current ROM (Evervolv) to have all my information and apps... I tried the kernel with evervolv and camcoder is not working (same behaviour as with your ROM). I saw you've missed a flag in boardconfig.mk when compiling but I'm trying to download the new ROM and it's asking for a permission... I'm going to have like 2 hours free right now, so I can flash the ROM again and test...
nickleby said:
Hi, I cannot have the ROM installed the whole day because I'm busy with an university assigment and basically I need to stay with my current ROM (Evervolv) to have all my information and apps... I tried the kernel with evervolv and camcoder is not working (same behaviour as with your ROM). I saw you've missed a flag in boardconfig.mk when compiling but I'm trying to download the new ROM and it's asking for a permission... I'm going to have like 2 hours free right now, so I can flash the ROM again and test...
Click to expand...
Click to collapse
Sorry first time I'm using google drive. dev host is currently not working.
What kinda of permission is it asking? Do you have any idea what should I do in my end so that others can download from g-drive
macs18max said:
Sorry first time I'm using google drive. dev host is currently not working.
What kinda of permission is it asking? Do you have any idea what should I do in my end so that others can download from g-drive
Click to expand...
Click to collapse
I don't use Google Drive either. When I open the link it says I need permission to access the file. There's a button to request for a permission, I've pressed it and I guess it sends you an email to aprove my request. Somewhere in Google Drive must be an option to make the file available to all public.
macs18max said:
Sorry first time I'm using google drive. dev host is currently not working.
What kinda of permission is it asking? Do you have any idea what should I do in my end so that others can download from g-drive
Click to expand...
Click to collapse
Boys, you need to set request desktop site when downloading from g drive. Click on arrow and then small arrow on top to download.
nickleby said:
I don't use Google Drive either. When I open the link it says I need permission to access the file. There's a button to request for a permission, I've pressed it and I guess it sends you an email to aprove my request. Somewhere in Google Drive must be an option to make the file available to all public.
Click to expand...
Click to collapse
Sent from my HTC Desire using Tapatalk
K here it is on dev host
http://d-h.st/Mkl
Camcoder not working yet... With/without kernel. Now when you press the record button the phone doesn't hang, but it doesn't record any video using AAC or AMR-NB. 720p playback works ok.
nickleby said:
Camcoder not working yet... With/without kernel. Now when you press the record button the phone doesn't hang, but it doesn't record any video using AAC or AMR-NB. 720p playback works ok.
Click to expand...
Click to collapse
Did not log anything, but.
Same as above, with/without kernel files. Once record is pressed, nothing happens.
Mount command in kernel zip is missing "yaffs" in the beginning, before "MTD".
With kernel files flashed, system looks more responsive, at least for me.
Cheers!
Sent from my unknown using Tapatalk
Just had a try..
Funny thing or strange thing happened.
Downloaded rom, installed It, and it worked!!
But only once.. impossible to make it work again.. even with a full wipe and a new installation. Won't work again
Sent from my HUAWEI P7-L10 using XDA Free mobile app

Categories

Resources