Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
drakester09
Old
#2981  
Senior Member
Thanks Meter 581
Posts: 748
Join Date: Jan 2012
Low priority but in case it helps, here is a fix for the 0.00B Memory usage in Apps->Running

Credit to gokhanmoral.

https://github.com/gokhanmoral/siyah...eb1a668b13a834
The Following 2 Users Say Thank You to drakester09 For This Useful Post: [ Click to Expand ]
 
ivkos
Old
#2982  
ivkos's Avatar
Member
Thanks Meter 69
Posts: 85
Join Date: Jan 2012
Location: Stara Zagora
Do we still need those msgid="somedigits" parameters in language strings? I tried removing all of them from a strings file using regex, and the app and its translation seem to still work fine.
Samsung Galaxy S II
 
codeworkx
Old
#2983  
codeworkx's Avatar
Elite Recognized Developer - OP
Thanks Meter 38738
Posts: 4,912
Join Date: Nov 2010

 
DONATE TO ME
Quote:
Originally Posted by StevenHarperUK View Post
Hi

I have recently been working on enhancing the volume overlay.

http://review.cyanogenmod.com/#change,14375
http://review.cyanogenmod.com/#change,14458

I am not begging for reviews, I want some feedback from devs to see if its approved of.

Tablets get a much more functional volume overlay (which have some bugs)

I have added a list setting in the sounds settings called - Volume Panel

It lets you pick
  • Single (default for phones)
  • Expandable (default for tablets)
  • Expanded
  • Off

Also the icons are touchable and go directly to the Sound Menu.

I have also added Alarm Volume to the expanded views - I think this is better all round.


On a side not - I have a usb -> HDMI cable (dock) arriving next week - getting that working is my next project.
Last weekend cyanogen granted me global +2 in gerrit which allows me to merge anything in by myself now. But since these changes are affecting the GUI and user experience we have to get our UX-controller gu1dry on it.
i'll ping him about it for review.
^^ this is my personal opinion and can't be taken as a official statement from the CyanogenMod team.
--------------------------------------------------------------------------------------------------------------------------------------------------
CyanogenMod Developer | FreeXperia Team
Twitter: http://twitter.com/codeworkx | FreeXperia Project Website | IRC: #freexperia @ irc.freenode.net

Current devices:
Google Nexus 4: 3.4.y, CWM6, CM10.1
HTC One: 3.4.y, CWM6, CM10.1
Sony Xperia Tablet Z: 3.4.y, CWM6, CM10.1
Sony Xperia Z: 3.4.y, CWM6, CM10.1
Sony Xperia V: 3.4.y, CWM6, CM10.1
Sony Xperia T: 3.4.y, CWM6, CM10.1
Samsung Galaxy Note II LTE GT-N7105: 3.0.y, CWM6, CM10.1
Samsung Galaxy S III GT-I9300: 3.0.y, CWM6, CM10.1
Samsung Galaxy Tab 2 10.1" GT-P5100: 3.0.y, CWM6, CM10.1
Samsung Galaxy Tab 2 7" GT-P3100: 3.0.y, CWM6, CM10.1
Samsung Galaxy S II GT-I9100: 3.0.y, CWM6, CM10.1
Samsung Galaxy S II GT-I9100G: 3.0.y, CWM6, CM10.1

Dead devices:
Google Galaxy Nexus, HTC Desire HD, LG Optimus 2X, Samsung Galaxy S, HTC Dream (G1)

BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Screenshots: http://imgur.com/a/pyS99#0 | Downloads: https://sourceforge.net/projects/bbqlinux/files/ | IRC: #bbqlinux @ irc.freenode.net
The Following 23 Users Say Thank You to codeworkx For This Useful Post: [ Click to Expand ]
 
Entropy512
Old
#2984  
Elite Recognized Developer
Thanks Meter 20807
Posts: 11,500
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Quote:
Originally Posted by codeworkx View Post
Last weekend cyanogen granted me global +2 in gerrit which allows me to merge anything in by myself now. But since these changes are affecting the GUI and user experience we have to get our UX-controller gu1dry on it.
i'll ping him about it for review.
See if you can get those dock audio commits out of review too...

http://review.cyanogenmod.com/#change,14046
http://review.cyanogenmod.com/#change,14262

And once those are in:
http://review.cyanogenmod.com/#change,14253 (atinm's -1 is due to the commits this depends on not being in.)
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
The Following 7 Users Say Thank You to Entropy512 For This Useful Post: [ Click to Expand ]
 
sorg
Old
(Last edited by sorg; 11th April 2012 at 05:58 AM.)
#2985  
Senior Member
Thanks Meter 127
Posts: 363
Join Date: Sep 2006
Location: 台灣
codeworkx,
can u tell what u changed to fix CRT animation bug (quick blink) on ICS?

Unfrtunately, u did it before merge to official Cyanogen tree and there are no history for this change.

I want to try to port your fix for stock ROM.
Samsung Galaxy S II GT-I9100
Samsung Galaxy S III GT-I9300
Samsung Galaxy S III LTE SHV-E210K
Samsung Galaxy S 4 GT-I9500
The Following User Says Thank You to sorg For This Useful Post: [ Click to Expand ]
 
codeworkx
Old
#2986  
codeworkx's Avatar
Elite Recognized Developer - OP
Thanks Meter 38738
Posts: 4,912
Join Date: Nov 2010

 
DONATE TO ME
Quote:
Originally Posted by sorg View Post
codeworkx,
can u tell what u changed to fix CRT animation bug (quick blink) on ICS?

Unfrtunately, u did it before merge to official Cyanogen tree and there are no history for this change.

I want to try to port your fix for stock ROM.
grep the code for "SURFACEFLINGER_FORCE_SCREEN_RELEASE"
^^ this is my personal opinion and can't be taken as a official statement from the CyanogenMod team.
--------------------------------------------------------------------------------------------------------------------------------------------------
CyanogenMod Developer | FreeXperia Team
Twitter: http://twitter.com/codeworkx | FreeXperia Project Website | IRC: #freexperia @ irc.freenode.net

Current devices:
Google Nexus 4: 3.4.y, CWM6, CM10.1
HTC One: 3.4.y, CWM6, CM10.1
Sony Xperia Tablet Z: 3.4.y, CWM6, CM10.1
Sony Xperia Z: 3.4.y, CWM6, CM10.1
Sony Xperia V: 3.4.y, CWM6, CM10.1
Sony Xperia T: 3.4.y, CWM6, CM10.1
Samsung Galaxy Note II LTE GT-N7105: 3.0.y, CWM6, CM10.1
Samsung Galaxy S III GT-I9300: 3.0.y, CWM6, CM10.1
Samsung Galaxy Tab 2 10.1" GT-P5100: 3.0.y, CWM6, CM10.1
Samsung Galaxy Tab 2 7" GT-P3100: 3.0.y, CWM6, CM10.1
Samsung Galaxy S II GT-I9100: 3.0.y, CWM6, CM10.1
Samsung Galaxy S II GT-I9100G: 3.0.y, CWM6, CM10.1

Dead devices:
Google Galaxy Nexus, HTC Desire HD, LG Optimus 2X, Samsung Galaxy S, HTC Dream (G1)

BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Screenshots: http://imgur.com/a/pyS99#0 | Downloads: https://sourceforge.net/projects/bbqlinux/files/ | IRC: #bbqlinux @ irc.freenode.net
The Following 9 Users Say Thank You to codeworkx For This Useful Post: [ Click to Expand ]
 
punshkin
Old
(Last edited by punshkin; 11th April 2012 at 01:12 PM.)
#2987  
Senior Member
Thanks Meter 189
Posts: 874
Join Date: Jan 2010
i know i shouldn't post here ( no dev ) but i feel this should be mentioned here, since it was lost in the User Discussion Thread.
It is about fixing the FM radio, apparently there is a fix but it can't be merged into CM the way it is now.
If any of you dev's is interested in fixing the FM Radio this is what Codeworkx wrote:

Quote:
Originally Posted by codeworkx View Post
Not really.
I'm also working on the GT-I9100G (omap4).

Btw... if someone wants to fix fmradio:
1. implement fmradio support from scratch
2. make the fmradio app ics compatible
3. http://review.cyanogenmod.com/#change,7389, but not the way it's done because it would break all other devices.

i would try it myself but i have barely any coding skills
if someone is offended by me posting here just delete it
[Themed][App]Sony Ericsson LiveView AOSP/Vanilla[Yes, watch's screen itself!]
[Themed][App]Sony Ericsson LiveView Black`n`White[Yes, watch's screen itself!]
HTC Dream/T-Mobile G1 >ezGingerbread/Cyanogenmod 7.2<
Samsung Galaxy S2 I9100 >MIUI/Cyanogenmod 10.1/LA2<
Sony Ericsson Original LiveView >LiveWare/OpenLiveView<
iPod Touch 4G 32gb >iOS 5.1.1/Jailbroken<
Asus Nexus7 3G >4.2 Stock/Paranoid Android 3.1<
 
Entropy512
Old
#2988  
Elite Recognized Developer
Thanks Meter 20807
Posts: 11,500
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Quote:
Originally Posted by punshkin View Post
i know i shouldn't post here ( no dev ) but i feel this should be mentioned here, since it was lost in the User Discussion Thread.
It is about fixing the FM radio, apparently there is a fix but it can't be merged into CM the way it is now.
If any of you dev's is interested in fixing the FM Radio this is what Codeworkx wrote:



i would try it myself but i have barely any coding skills
if someone is offended by me posting here just delete it
I replied to that in the discussion thread, but based on that patch, some of it can be fixed in the kernel:
1) Change kernel to make the device appear at /dev/radio0 to /dev/fmradio
2) There seems to be some funky frequency math (kHz vs Hz unit conversions?) - that should be movable to the kernel
3) The audio stream stuff, if necessary after the other changes, is the hard part.

I can try a quick attempt at a kernel patch for this but I have no way of testing it beyond "does it compile", since this is one of the few differences between I9100 and I777.
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
 
peterperfect
Old
#2989  
Senior Member
Thanks Meter 423
Posts: 492
Join Date: Jun 2011
Location: Rio de Janeiro
Quote:
Originally Posted by Entropy512 View Post
I replied to that in the discussion thread, but based on that patch, some of it can be fixed in the kernel:
1) Change kernel to make the device appear at /dev/radio0 to /dev/fmradio
2) There seems to be some funky frequency math (kHz vs Hz unit conversions?) - that should be movable to the kernel
3) The audio stream stuff, if necessary after the other changes, is the hard part.

I can try a quick attempt at a kernel patch for this but I have no way of testing it beyond "does it compile", since this is one of the few differences between I9100 and I777.
Entropy, if you patch it just compile for me and i will do the tests/logging for i19100.
# Google Nexus 4 CM10.1 JB 4.2.2
# Asus Pad TF300T CM10.1 JB 4.2.2
# Rikomagic MK802 Ubuntu

Member of TeamBBQ
Check out http://changelog.bbqdroid.org
 
sa_ma
Old
#2990  
Member
Thanks Meter 25
Posts: 32
Join Date: Oct 2009
Quote:
Originally Posted by Entropy512 View Post
I replied to that in the discussion thread, but based on that patch, some of it can be fixed in the kernel:
1) Change kernel to make the device appear at /dev/radio0 to /dev/fmradio
2) There seems to be some funky frequency math (kHz vs Hz unit conversions?) - that should be movable to the kernel
3) The audio stream stuff, if necessary after the other changes, is the hard part.

I can try a quick attempt at a kernel patch for this but I have no way of testing it beyond "does it compile", since this is one of the few differences between I9100 and I777.
Hi,
the most important part is indeed the audio path control , the rest as you said can easily be done in the kernel module,
the advice was to have a wrapper for SGS SII but this is something I would need some help to do, there is other examples in the code of such a thing but for me thats too much work for such a small thing , I have my own kanged version which do the trick for me

I assume we still can use the same FM application as it is with ICS, this one also need some changes
P.S : I am the one who submitted the gerrit patch

 
Post Reply+
Tags
alpha build, android 4.0, best sgs2 rom ever, bitte nicht stören codeworkx, cm9, cm9sgs2, development thread, epic winning, for experienced users, ics, not for user questions or discussion, schreiben sie keine scheiße, use the 'thanks' buttons - don't spam noobz0rz
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...