[Rom] [4.4.4] Cyanogenmod 11 for Moto X - Moto X Original Android Development

***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

Related

[Experimental] Froyo 720p Playback + Fullscreen Video recording !

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.

[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.

[MOD] [CM11] [4.4.x] [KitKat] Volume rocket wake

I was searching for this for quite sometime and I found this post on XDA and made it work on CM11.
Just wanted to share with whoever wanted it.
Attached is flashable zip (working for 4.4.1).
A better solution is to follow these steps in Terminal or via ADB SHELL, thanks to @ksilver89
The boolean is stored inside /data/data/com.android.providers.settings/databases/settings.db, which you can access and modify with sqlite3 command. No framework modification required.
Code:
Code:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
Code:
Code:
insert into system values(null, 'volume_wake_screen', '1');
Reboot and you're done.
zagzag99 said:
I was searching for this for quite sometime and I found this post on XDA and made it work on CM11.
Just wanted to share with whoever wanted it.
Attached is flashable zip.
Click to expand...
Click to collapse
Hey man thanks for the mod but its problematic on cm11 i tried it and after flashing it whenever open contacts/people/dialer the phone turns off
not work for me on CM11 nightly 06012014 on LG p880 when screen goes off, and you try to wake up, the phone reboots itself
Apps Crashing
zagzag99 said:
I was searching for this for quite sometime and I found this post on XDA and made it work on CM11.
Just wanted to share with whoever wanted it.
Attached is flashable zip.
Click to expand...
Click to collapse
After flashing the above zip, none of the apps are working on my nexus 4 with 4.4.2. Dialler, Messaging and even settings get force stopped. CM Version is "11-20120104-SNAPSHOT-M2-mako"
ajeet0112 said:
After flashing the above zip, none of the apps are working on my nexus 4 with 4.4.2. Dialler, Messaging and even settings get force stopped. CM Version is "11-20120104-SNAPSHOT-M2-mako"
Click to expand...
Click to collapse
Look at the OP. I posted a better solution that will work with any version.
Also I noted on CM11 changelog that they've added the UI for toggling this boolean in the recent nightly
Thanks
Has anyone of you made this fix work? Unfortunately it does not work for me (running latest Slimkat which is a CM derivative)...
Works for me on Huawei Ascend P6. I have edited the .db file with SQLite Editor. Thanks!
Thanks for posting this, will check it out on my free time

[Q] Front camera in Snapchat broken CM11

Hello,
I have CM11 installed on my htc one s, but the front camera doesn't work in snapchat; It does work in other apps, so is this a problem related to cyanogenmod not having the htc drivers or is this snapchat's fault? More importantly, is there a fix or a snapchat replacement app of some sort which enables the front camera?
Maybe try a newer release of CM 11
Sent from my HTC One S using xda app-developers app
I'm on the latest nightly and it's still broken
Same issue
My camera is stretched and sometimes freezes but only in snapchat. Any ideas?
nikkarus said:
My camera is stretched and sometimes freezes but only in snapchat. Any ideas?
Click to expand...
Click to collapse
Bro same problem and it lags...I hope they can fix it!!!!!!
http://forum.xda-developers.com/showpost.php?p=50728759&postcount=1116
This is happening since 4.3.
phoenixita said:
http://forum.xda-developers.com/showpost.php?p=50728759&postcount=1116
This is happening since 4.3.
Click to expand...
Click to collapse
is there any fix available?
speedfreak007 said:
is there any fix available?
Click to expand...
Click to collapse
Unfortunately not yet.
phoenixita said:
Unfortunately not yet.
Click to expand...
Click to collapse
There is a temporary fix I have been doing since very early CM11 builds.
If you copy a "camera.msm8960.so" from another ROM (I took the one from a GUMMY ROM), and paste it into system/lib/hw (delete/overwrite the old one - may be in capitals "CAMERA.MSM8960.so and not overwrite so must be deleted manually) then the front camera works fine with CM11.
I have issue with my Galaxy S4 and have always done this after installing a new nightly and it has been fine. (Posting here as I was looking for a proper solution through Google searches and saw you are suffering with the same issue)
darrendm said:
There is a temporary fix I have been doing since very early CM11 builds.
If you copy a "camera.msm8960.so" from another ROM (I took the one from a GUMMY ROM), and paste it into system/lib/hw (delete/overwrite the old one - may be in capitals "CAMERA.MSM8960.so and not overwrite so must be deleted manually) then the front camera works fine with CM11.
I have issue with my Galaxy S4 and have always done this after installing a new nightly and it has been fine. (Posting here as I was looking for a proper solution through Google searches and saw you are suffering with the same issue)
Click to expand...
Click to collapse
Why don't they include this file in official cm11? is it HTC owned (not opensource) or something?
darrendm said:
There is a temporary fix I have been doing since very early CM11 builds.
If you copy a "camera.msm8960.so" from another ROM (I took the one from a GUMMY ROM), and paste it into system/lib/hw (delete/overwrite the old one - may be in capitals "CAMERA.MSM8960.so and not overwrite so must be deleted manually) then the front camera works fine with CM11.
I have issue with my Galaxy S4 and have always done this after installing a new nightly and it has been fine. (Posting here as I was looking for a proper solution through Google searches and saw you are suffering with the same issue)
Click to expand...
Click to collapse
Sorry @darrendm
what is a Gummy Rom ? (i'm french sorry)
And what about CM team ? Why don't solve this problem ?
darrendm said:
There is a temporary fix I have been doing since very early CM11 builds.
If you copy a "camera.msm8960.so" from another ROM (I took the one from a GUMMY ROM), and paste it into system/lib/hw (delete/overwrite the old one - may be in capitals "CAMERA.MSM8960.so and not overwrite so must be deleted manually) then the front camera works fine with CM11.
I have issue with my Galaxy S4 and have always done this after installing a new nightly and it has been fine. (Posting here as I was looking for a proper solution through Google searches and saw you are suffering with the same issue)
Click to expand...
Click to collapse
Not sure if this is still an issue for the One S, but it still is for the S4. I just did this and it worked, but I wanted to mention I had to use the camera file from a 4.1 ROM to do so. Hopefully that helps someone else.
spyder91 said:
Not sure if this is still an issue for the One S, but it still is for the S4. I just did this and it worked, but I wanted to mention I had to use the camera file from a 4.1 ROM to do so. Hopefully that helps someone else.
Click to expand...
Click to collapse
I am having this issue as well. Is there a way you could zip up the file as I don't know how to extract the file from a different ROM. Thanks
Edit: I think it may just be a Snapchat issue, as my front camera works for the regular camera app
th3pr1nc30f3gypt said:
I am having this issue as well. Is there a way you could zip up the file as I don't know how to extract the file from a different ROM. Thanks
Edit: I think it may just be a Snapchat issue, as my front camera works for the regular camera app
Click to expand...
Click to collapse
This is the file I use. Taken from an old nightly GUMMY ROM build for the Galaxy S4. It seems to work with every new CM11 nightly I install I so don't think it matters that the file is extracted from an older ROM.
EDIT: Can't seem to attach file so I have linked from my DropBox: https://www.dropbox.com/s/cnnx4gavx43e8v8/camera.msm8960.so
darrendm said:
This is the file I use. Taken from an old nightly GUMMY ROM build for the Galaxy S4. It seems to work with every new CM11 nightly I install I so don't think it matters that the file is extracted from an older ROM.
EDIT: Can't seem to attach file so I have linked from my DropBox: https://www.dropbox.com/s/cnnx4gavx43e8v8/camera.msm8960.so
Click to expand...
Click to collapse
I tried this, restarted my phone, and neither Snapchat or the regular camera app would work. I put the original backup file back in and my regular camera app works again, just not Snapchat front camera
darrendm said:
This is the file I use. Taken from an old nightly GUMMY ROM build for the Galaxy S4. It seems to work with every new CM11 nightly I install I so don't think it matters that the file is extracted from an older ROM.
EDIT: Can't seem to attach file so I have linked from my DropBox: https://www.dropbox.com/s/cnnx4gavx43e8v8/camera.msm8960.so
Click to expand...
Click to collapse
SERIOUSLY. WHAT. THANK YOU SO MUCH
I have been looking for a fix for sooooo long. And thank you for providing the file!
Worked like a charm
Galaxy S4 cm11 4.4.4
Snapchat 5.0.27.1
:good::good::good:
darrendm said:
This is the file I use. Taken from an old nightly GUMMY ROM build for the Galaxy S4. It seems to work with every new CM11 nightly I install I so don't think it matters that the file is extracted from an older ROM.
EDIT: Can't seem to attach file so I have linked from my DropBox: https://www.dropbox.com/s/cnnx4gavx43e8v8/camera.msm8960.so
Click to expand...
Click to collapse
Hey man. Any chance you could re-upload that file or provide intel on how/where to extract it myself?
Ojive said:
Hey man. Any chance you could re-upload that file or provide intel on how/where to extract it myself?
Click to expand...
Click to collapse
https://www.dropbox.com/s/cnnx4gavx43e8v8/camera.msm8960.so
This file works for me on my S4. I paste it into the /system/lib/hw directory after flashing the latest nightly. (you must DELETE the existing file manually as pasting this file into the directory DOES NOT delete the other file of the same name but in capital lettering)
Also, this does not a complete fix for the Snapchat camera issues. I am now able to record video with the front camera however a lot of the time it will still cause the app to freeze or camera to lock up - requiring a phone reboot. HOWEVER this is a lot better than not being able to record ANY videos at all (as it is normally with the CM11 ROMS)
EDIT: the file is extracted from an old GUMMY ROM nightly in the system/lib/hw directory. If this file doesn't work for you, you could try extract the file from other non CM based ROMS and see if if your problem is fixed.
darrendm said:
https://www.dropbox.com/s/cnnx4gavx43e8v8/camera.msm8960.so
This file works for me on my S4. I paste it into the /system/lib/hw directory after flashing the latest nightly. (you must DELETE the existing file manually as pasting this file into the directory DOES NOT delete the other file of the same name but in capital lettering)
Also, this does not a complete fix for the Snapchat camera issues. I am now able to record video with the front camera however a lot of the time it will still cause the app to freeze or camera to lock up - requiring a phone reboot. HOWEVER this is a lot better than not being able to record ANY videos at all (as it is normally with the CM11 ROMS)
EDIT: the file is extracted from an old GUMMY ROM nightly in the system/lib/hw directory. If this file doesn't work for you, you could try extract the file from other non CM based ROMS and see if if your problem is fixed.
Click to expand...
Click to collapse
Thanks <3
darrendm said:
There is a temporary fix I have been doing since very early CM11 builds.
If you copy a "camera.msm8960.so" from another ROM (I took the one from a GUMMY ROM), and paste it into system/lib/hw (delete/overwrite the old one - may be in capitals "CAMERA.MSM8960.so and not overwrite so must be deleted manually) then the front camera works fine with CM11.
I have issue with my Galaxy S4 and have always done this after installing a new nightly and it has been fine. (Posting here as I was looking for a proper solution through Google searches and saw you are suffering with the same issue)
Click to expand...
Click to collapse
Thanks man it really works for me after some tweaks :highfive:
I don't think you need the file "camera.msm8960.so" from another ROM :angel:.
Here is how I did it:
1) In the path system/lib/hw, there is two files "camera.MSM8960.so" (13KB) and "camera.vendor.msm8960.so" (210KB)
2) delete the file "camera.MSM8960.so", but copy its exact name with the capitals. This is important cuz I believe it is case sensitive.
3) rename "camera.vendor.msm8960.so" to "camera.MSM8960.so" which is the exact name of the deleted file
4) make sure the permissions are set as follows: "rw- r-- r--" which is short for read/write OWNER, read GROUP, read OTHER
5) open snapchat and go for video setting change qualiy to low. after that, record a video with front camera and send it to urself.
6) finally put the video quality back to standard and ENJOYYYY it should work for u.
:victory:

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