Jump to content


[DEV][ROM][8.1.] CyanogenMod 10 (Android 4.1.2)

* * * * * 68 votes

3143 replies to this topic

#3021
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 1,665 posts
  • Gender:Male
  • Location:Finland
  • Devices:ZTE Blade, ZTE Blade III

View Postdaemond, on 08 January 2013 - 07:24 PM, said:

This seems to be broken. There's a commit that enables purging by default, but the patch that re-enables the functionality in the framework hasn't been committed to the jellybean branch yet, so it does nothing. This should be added to the patches in the device tree.
Errm, no. Did you even check the link you quoted? That's how I've usually pointed out gerrit patches that are yet to be merged.


#3022
96frozen

96frozen

    Enthusiast

  • Members
  • PipPipPip
  • 159 posts

View PostKonstaT, on 08 January 2013 - 03:35 PM, said:

This is now the final CM10 release - for real this time. ;)

cm-10-20130108-KonstaKANG-blade.zip
http://www.mediafire...428z9l44e6rf66i
md5:9a696d776d0dae0ea0d9800b60e55bf3

-fixed charger mode detection
-fake vsync events
-set correct permissions for boostpulse (now it actually works :P)
-enabled divx and wma hw decoding (again)
-switched back to jellybean camera (again) & fixed preview glitches
-Allow purging of asset bitmaps (1)

what do the fake v-sync events mean? (do they do anything to improve the performance, or they're just there to avoid UI crashes?)

also, please don't drop support for this rom until CM10.1 has bluetooth working.

Edited by 96frozen, 08 January 2013 - 07:48 PM.

ROM: CM10 by KonstaT

CWM: GEN2 CWM 6.0.1.1 by Snap.IT

Thank all of the developers topics, rate them 5 stars, they are the people who are keeping your cellphone alive.

Thanks to KonstaT, Snap.IT, tilal6991, daemond, Ganster (this guy is specially awesome for fixing OMX on 4.x ROMS), burstlam and many others that I can't think of right now :D

#3023
daemond

daemond

    Regular

  • Members
  • PipPip
  • 134 posts
  • Gender:Male
  • Location:Germany

View PostKonstaT, on 08 January 2013 - 07:43 PM, said:

Errm, no. Did you even check the link you quoted? That's how I've usually pointed out gerrit patches that are yet to be merged.

Sorry, I think I get it now. So the link to gerrit indicates you have merged that patch for your build?


#3024
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 1,665 posts
  • Gender:Male
  • Location:Finland
  • Devices:ZTE Blade, ZTE Blade III

View Post96frozen, on 08 January 2013 - 07:47 PM, said:

what do the fake v-sync events mean? (do they do anything to improve the performance, or they're just there to avoid UI crashes?)
It emulates vsync events where vsync events are normally passed from kernel driver to userspace driver. We can't have vsync (in sense of 'project butter') at kernel level but this intercepts vsync 'chain' and feeds fake data in between. Vsync should now work from hwcomposer onward to framework (and I still emphasize word should :P).

If it increases smoothness or reduces underruns on our device remains to be seen. Can't say that I've noticed much of a difference...

View Postdaemond, on 08 January 2013 - 08:16 PM, said:

Sorry, I think I get it now. So the link to gerrit indicates you have merged that patch for your build?
Yes, you got it. :)


#3025
daemond

daemond

    Regular

  • Members
  • PipPip
  • 134 posts
  • Gender:Male
  • Location:Germany
By the way, did anyone notice occasional graphical glitches and corruption in Trebuchet's text rendering? Sometimes I see small glitches in the fadeout part of icon titles that are too long. That's not really a problem. However, somewhat more rarely, I get this:

Posted Image

Text rendering is completely broken, as if the GPU is reading random data instead of the actual glyph bitmaps. Shadows still look fine, though. I looked through the HWUI librarie's commit log, and apparently it was blessed with a metric ton of bugfixes in Android 4.2. I hope it is not a bug in the GPU drivers and fixable or already fixed.


#3026
archish

archish

    Regular

  • Members
  • PipPip
  • 89 posts
  • Gender:Male
Switch off allow purging of assets or clear the recent app list to free memory. This will fix the graphics issue

Edited by archish, 08 January 2013 - 11:24 PM.


#3027
daemond

daemond

    Regular

  • Members
  • PipPip
  • 134 posts
  • Gender:Male
  • Location:Germany
This also happens with the purging option disabled. An actual fix would be much nicer than crude workarounds.

Edited by daemond, 09 January 2013 - 12:35 AM.


#3028
elrond_bs

elrond_bs

    Enthusiast

  • Members
  • PipPipPip
  • 263 posts
  • Gender:Male
  • Devices:ZTE Blade
KonstaT, I tried H\W video decoding (divx) with last version (8.1), and it's not working (MX Player and VLC). :( Tested different videos with different parameters (with B frames, no B frames, etc.), but no luck, only S\W works as before. Have you tested it, and what\where is supposed to work?

Everything else is OK, the ROM seems a little smother.

Edited by elrond_bs, 08 January 2013 - 11:47 PM.

ZTE Blade with CyanogenMod 10 - KonstaKANG (Android 4.1.2 Jelly Bean)

#3029
Ganster

Ganster

    Regular

  • Members
  • PipPip
  • 92 posts
  • Gender:Male
  • Location:Ukraine
  • Devices:Orange San Francisco
  • Twitter:@Ganster41
@elrond_bs, What container you trying to play? What video/audio encoders used to make this video?
We have support only simple profile of mpeg4-asp and baseline of avc. Audio need to be encoded to mp3(not AC3!) in avi container, or aac/amr for mp4.


#3030
ssme

ssme

    Newbie

  • Members
  • Pip
  • 12 posts
  • Devices:LG GT540, TMobile Pulse Mini
Sorry for the newbie question.  I have a UK AMOLED Orange San Francisco running a Modaco 2.1 ROM, and I want to try out this ROM.  As I understand it, I need to TPT the ROM on there, is that right?  But the TPT link (Amphoras) in the first post is dead.

Is it possible to get a single download that will repartition my phone and install the latest version of this ROM, or are there more steps involved?

Any help most welcome!


#3031
sabertoothxxx

sabertoothxxx

    Newbie

  • Members
  • Pip
  • 6 posts
  • Gender:Male
  • Location:Kolkata India
  • Devices:Zte Blade Gen2
You will

View Postssme, on 09 January 2013 - 07:52 AM, said:

Sorry for the newbie question.  I have a UK AMOLED Orange San Francisco running a Modaco 2.1 ROM, and I want to try out this ROM.  As I understand it, I need to TPT the ROM on there, is that right?  But the TPT link (Amphoras) in the first post is dead.

Is it possible to get a single download that will repartition my phone and install the latest version of this ROM, or are there more steps involved?

Any help most welcome!
No there is more than one step first of all root your device(try the tutorials posted here and then the best way is to download TPT helper app from playstore and then use the tpt which has atleast a 180 mb system partition), flash that then flash this rom.

Current Devices : Zte blade Gen2 A.K.A Dell XCD 35
Samsung Galaxy Tab 10.1 3G

Current Roms : Cm 10.1 latest for zte blade
CM 10 nightly for galaxy tab with phone mode hack

Accesories : Soundmagic ES18 | Senheiser CX180 | Creative EP 630 | Senheiser HD 200

#3032
ssme

ssme

    Newbie

  • Members
  • Pip
  • 12 posts
  • Devices:LG GT540, TMobile Pulse Mini

View Postsabertoothxxx, on 09 January 2013 - 08:02 AM, said:

You will No there is more than one step first of all root your device(try the tutorials posted here and then the best way is to download TPT helper app from playstore and then use the tpt which has atleast a 180 mb system partition), flash that then flash this rom.

Thanks.  I think the phone is already rooted as it has a Modaco ROM on it, with SU preinstalled.

What will the TPT Helper do? Create a file on the SD card to boot from to format the phone in the right sizes?  Have I got that right?  WIll that get rid of CWM?

If CWM remains then after formatting it's just a matter of installing this ROM through CWM?

Sorry about all the questions. :)


#3033
TehStalker

TehStalker

    Regular

  • Members
  • PipPip
  • 56 posts
  • Gender:Male
  • Devices:ZTE Blade

View Postssme, on 09 January 2013 - 08:23 AM, said:

Thanks.  I think the phone is already rooted as it has a Modaco ROM on it, with SU preinstalled.

What will the TPT Helper do? Create a file on the SD card to boot from to format the phone in the right sizes?  Have I got that right?  WIll that get rid of CWM?

If CWM remains then after formatting it's just a matter of installing this ROM through CWM?

Sorry about all the questions. :)

TPT Helper will do just that, and reinstall CWM. Then you flash as normal.


#3034
azidhaka

azidhaka

    Newbie

  • Members
  • Pip
  • 26 posts
  • Devices:ZTE Blade
Great work, KonstaT!

Unfortunately 8.1 broke the online audio streaming for me. I am receiving data, but there is no playback. It was working on 27.12 when you reverted the hardware acceleration for media, and before that, when OMX was completely out of the picture.

Maybe Ganster can help with that. Online streaming uses the native android audio decoding service and is not working. Other apps like Winamp use own engine and do work.

For now, my best option is the 27.12 release with the kernel which fixed charging.


#3035
elrond_bs

elrond_bs

    Enthusiast

  • Members
  • PipPipPip
  • 263 posts
  • Gender:Male
  • Devices:ZTE Blade

View PostGanster, on 09 January 2013 - 06:36 AM, said:

@elrond_bs, What container you trying to play? What video/audio encoders used to make this video?
We have support only simple profile of mpeg4-asp and baseline of avc. Audio need to be encoded to mp3(not AC3!) in avi container, or aac/amr for mp4.
I tried few normal Xvid L5 test videos, but also the videos I sent you, one of which is the simplest possible profile, even with PCM audio. In MX Player it doesn't start with H\W decoder and it crashes with H\W+, in VLC - directly crashes, when hardware decoding is enabled. :(

ZTE Blade with CyanogenMod 10 - KonstaKANG (Android 4.1.2 Jelly Bean)

#3036
Ganster

Ganster

    Regular

  • Members
  • PipPip
  • 92 posts
  • Gender:Male
  • Location:Ukraine
  • Devices:Orange San Francisco
  • Twitter:@Ganster41
H\W+ will never work on our device.
Why others doesnt play I dont know. May be KonstaT uses old proprietaries... You can compare libs with my from here: https://github.com/a...proprietary/lib
PCM audio dont supported by our extractor. You can enable software audio in MX Player for it.


#3037
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 1,665 posts
  • Gender:Male
  • Location:Finland
  • Devices:ZTE Blade, ZTE Blade III

View Postelrond_bs, on 08 January 2013 - 11:45 PM, said:

KonstaT, I tried H\W video decoding (divx) with last version (8.1), and it's not working (MX Player and VLC). :( Tested different videos with different parameters (with B frames, no B frames, etc.), but no luck, only S\W works as before. Have you tested it, and what\where is supposed to work?

Everything else is OK, the ROM seems a little smother.
What Ganster said.

I can even play my test clip (xvid/mp3) in QuickPic without a problem.

View Postazidhaka, on 09 January 2013 - 09:05 AM, said:

Great work, KonstaT!

Unfortunately 8.1 broke the online audio streaming for me. I am receiving data, but there is no playback. It was working on 27.12 when you reverted the hardware acceleration for media, and before that, when OMX was completely out of the picture.

Maybe Ganster can help with that. Online streaming uses the native android audio decoding service and is not working. Other apps like Winamp use own engine and do work.

For now, my best option is the 27.12 release with the kernel which fixed charging.
Can you get a logcat/more info for Ganster? I wonder if it breaks something else as well.

It seems that divx support is somewhat limited and hardly anyone uses wma audio. I'm still not sure if the benefits are greater than the disadvantages. It would be great to have some kind of pros/cons list, as I don't use my phone as a media device that much (other than listening mp3's from sdcard). There's surely been enough reverting with that one commit already... :P

View PostGanster, on 09 January 2013 - 09:52 AM, said:

May be KonstaT uses old proprietaries... You can compare libs with my from here: https://github.com/a...proprietary/lib
Exactly where I got them this time around.


#3038
Jenik 38

Jenik 38

    Newbie

  • Members
  • Pip
  • 3 posts
  • Devices:ZTE Blade

View PostGanster, on 07 January 2013 - 11:49 PM, said:

@peta809: RTSP streaming doesnt work on our device starting from CM9, and its hard to fix. May be I'll try to fix it later, but it's not important for me...

Dear Ganster,

Thanks for explanation. I have same problem like as @peta809, and my friend from CZ. We still waiting on gingerbred versions roms.
For me is most hardly that you fix RTSP streaming. :).
But thanks for reply and identification problem.

regards, Jan


#3039
azidhaka

azidhaka

    Newbie

  • Members
  • Pip
  • 26 posts
  • Devices:ZTE Blade

View PostKonstaT, on 09 January 2013 - 10:01 AM, said:

Can you get a logcat/more info for Ganster? I wonder if it breaks something else as well.

I have no explanation of this, but when i prepared the logcat session suddenly the two streaming programs began working?! Same as before, data flows, but now there is a playback instead of silence. If they go wrong again, i'll look into them.

May i suggest, KonstaT, since all users have different needs, to provide two versions of the ROM, one with the hardware decoding and one without. That way everyone can select whichever works best for them.


#3040
99x

99x

    Newbie

  • Members
  • Pip
  • 38 posts
  • Devices:Samsung GT-i9000

View Postssme, on 09 January 2013 - 08:23 AM, said:


Thanks.  I think the phone is already rooted as it has a Modaco ROM on it, with SU preinstalled.

What will the TPT Helper do? Create a file on the SD card to boot from to format the phone in the right sizes?  Have I got that right?  WIll that get rid of CWM?

If CWM remains then after formatting it's just a matter of installing this ROM through CWM?

Sorry about all the questions. :)

I'd recommend a 160MB system TPT partition for this rom, with the Google apps (gapps) package from the first post. It fits perfectly. The larger system partition you have, the less space in the data partition you end up with, meaning you won't be able to install as many apps.





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users