Related
Hi all,
I've decided to work on Contacts again, and am slowly porting over the features of my previous work to 2.1. It will not be updated as often since I'm now busy with school work, and will only be updated on weekends or when I've the time.
Features:
Dialer:
Ability to set certain programs for voicemail
Themeable background: custom_background_dialer.png in drawable-finger (both mdpi and hdpi) (Not working now, see known bugs)
Changeable digits color
Ability to disable feedback function
Press call button with no digits entered to retrieve last dialled number
Call log:
Show/hide contact pictures in call log
Show/hide call button (If call button is hidden, the call type icon will dial the number instead when tapped)
Show actual time in call log, instead of relative time
Ability to clear all logs of a particular type (missed, incoming, outgoing)
Contacts:
Show/hide call button
Navigate directly from contact info (works with M4ps and rooted Maps, it doesn't make sense actually, if you're rooted you shouldn't be running M4ps).
Added preference to hide all "Text/SMS" actions except for mobile numbers.
Favourites
Show/hide call button
Always Nandroid First!
Installation instructions for apk:
Code:
adb remount
adb shell rm /system/app/Contacts.odex
adb push Contacts.apk /system/app/
Download (Thanks AndroidSPIN!):
CyanogenMod:
apk (unzip and push): http://www.androidspin.com/download...tacts_Eclair/&file=WyContacts1.1_cyan_apk.zip
update.zip: http://www.androidspin.com/download...ir/&file=WyContacts1.1_cyan_update_signed.zip
Others (Stock Rooted ROM, Superboot, Bacon Addon):
May not release it, if you are interested just compile it from my GitHub. Reason? Most of the other custom ROMs have different frameworks, that causes the alphabetical separators (possibly other stuff) to be all messed up. It's a better idea if the ROM makers themselves compile it against their source..
Changes:
1.1:
Fixed the issue with SMS/MMS action not showing numbers
Pressing green dial button with no digits entered now retrieves the last dialled number
Added preference to return to dialer instead of home screen after a call from dialer
1.0r2:
1.0 was compiled for mdpi devices, resulting in low-res graphics. 1.0r2 is compiled for both, should look nice in your hdpi device again. Thanks MontAlbert for the heads up.
1.0
Implemented function to show/hide contact pictures in call log
Added pref to show/hide dial button in call log. If hidden, tapping on
the call type icon will dial out instead.
0.9 (Unreleased):
Preference to show/hide separators in Contacts
Preference to show/hide contact pictures in Contacts/Favourites
0.8:
Added navigation action beside the address of a contact
Added preference to hide sms action for all numbers except mobile
0.7 (Unreleased):
Added preference to hide frequently called
Added menu option to clear frequently called (will be hidden if you hide
Added preference to enable rotation to landscape mode
0.6:
Fixed the FCs that occured due to lack of permissions (GET_ACCOUNTS).
Also added more preferences for call log. You can now show exact time instead of relative time.
0.5:
Ported over Dialer enhancements from my previous work.
To Do:
Port the changes over from http://forum.xda-developers.com/showthread.php?t=599194
Source: http://github.com/Wysie/Contacts_Eclair_Mod_CyanMod
Known Bugs:
Replacing custom_background_dialer is not working. Can't figure out why. Please let me know if you have a fix.
Amazing work like always Do you mind if I throw your modified Contacts.apk into my theme?
Google Voice is installed to /system/app/googlevoice.apk (its all lower case for somereason). In case you didn't know its exact location.
I will edit this post once I start to play around with it some for a good size for a full screen dialer background image.
Edit: Here is a logcat of Google Voice being launched. I haven't installed the modified Contacts.apk yet, if that is of any importance.
Code:
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.androi
d.apps.googlevoice/.HidingSplashActivity }
I/ActivityManager( 302): Start proc com.google.android.apps.googlevoice for act
ivity com.google.android.apps.googlevoice/.HidingSplashActivity: pid=1261 uid=10
036 gids={3003, 1015}
V/RenderScript_jni( 375): surfaceDestroyed
V/RenderScript( 375): setSurface 0 0 0x0
D/LocationManager( 368): removeUpdates: listener = com.android.wallpaper.grass.
[email protected]
D/NetworkLocationProvider( 302): removeListener(): wallpaper
D/NetworkLocationProvider( 302): enableLocationTracking(): false
E/NetworkLocationProvider( 302): releaseCheckLocationLock: wake lock has alread
y been released
I/ActivityManager( 302): Starting activity: Intent { cmp=com.google.android.app
s.googlevoice/.SetupActivity (has extras) }
W/InputManagerService( 302): Starting input on non-focused client com.android.i
[email protected] (uid=10036 pid=1261)
W/InputManagerService( 302): Client not active, ignoring focus gain of: com.and
[email protected]
I/ActivityManager( 302): Displayed activity com.google.android.apps.googlevoice
/.HidingSplashActivity: 645 ms (total 645 ms)
D/dalvikvm( 1261): GC freed 1943 objects / 147632 bytes in 63ms
D/GoogleVoice( 1261): call interceptor component name = ComponentInfo{com.google
.android.apps.googlevoice/com.google.android.apps.googlevoice.CallInterceptor}
D/ ( 1261): unable to unlink '/data/data/com.google.android.apps.googlevo
ice/shared_prefs/com.google.android.apps.googlevoice_preferences.xml.bak': No su
ch file or directory (errno=2)
I/ActivityManager( 302): Displayed activity com.google.android.apps.googlevoice
/.SetupActivity: 845 ms (total 845 ms)
D/dalvikvm( 302): GC freed 36563 objects / 1869048 bytes in 111ms
D/dalvikvm( 375): GC freed 894 objects / 39560 bytes in 66ms
D/VoiceDialerReceiver( 516): onReceive Intent { act=android.intent.action.PACKA
GE_CHANGED dat=package:com.google.android.apps.googlevoice flg=0x20000000 cmp=co
m.android.voicedialer/.VoiceDialerReceiver (has extras) }
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
80000
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
20047
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
20048
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
700e5
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
20031
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
20030
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
50000
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
50000
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
20005
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
20004
W/ResourceType( 302): Resources don't contain package for resource number 0x7f0
90001
I/WindowManager( 302): Setting rotation to 1, animFlags=0
W/SurfaceFlinger( 302): timeout expired mFreezeDisplay=1, mFreezeCount=0
I/ActivityManager( 302): Config changed: { scale=1.0 imsi=310/260 loc=en_US tou
ch=3 keys=1/1/2 nav=3/1 orien=2 layout=34}
I/WindowManager( 302): Setting rotation to 0, animFlags=0
I/ActivityManager( 302): Config changed: { scale=1.0 imsi=310/260 loc=en_US tou
ch=3 keys=1/1/2 nav=3/1 orien=1 layout=34}
I/ActivityManager( 302): Process com.svox.pico (pid 1020) has died.
D/dalvikvm( 302): GC freed 6153 objects / 280376 bytes in 224ms
D/dalvikvm( 516): GC freed 195 objects / 9664 bytes in 53ms
I/ActivityManager( 302): Starting activity: Intent { cmp=com.google.android.app
s.googlevoice/.LoginActivity (has extras) }
I/ActivityManager( 302): Displayed activity com.google.android.apps.googlevoice
/.LoginActivity: 68 ms (total 68 ms)
I/ActivityManager( 302): Starting activity: Intent { act=android.intent.action.
Hey Man,
For Nexus1 ... you'll want hdpi only. mdpi should/can be removed.
Any chance we can get a concise set of features that were included?
Thanks.
~enom~
Just tried it,
Works great, except for an FC when I select Display Options in the contacts list.
Any chance of getting the vibrate when answered feature?
Great Work
Any chance of some screen shots to see what I'm dicing with?
Amdathlonuk said:
Any chance of some screen shots to see what I'm dicing with?
Click to expand...
Click to collapse
It's gonna look something like this:
http://forum.xda-developers.com/showthread.php?t=599194
any chance of...
Porting the features from Cytown's Phone.apk for the G1?
I just love his blacklist feature.
Never mind! I just saw his thread in the G1 and he is supporting the Nexus.
Great job fellas!
Ssantos6981 said:
Porting the features from Cytown's Phone.apk for the G1?
I just love his blacklist feature.
Never mind! I just saw his thread in the G1 and he is supporting the Nexus.
Great job fellas!
Click to expand...
Click to collapse
+1
...Can't get it to work...
I got the contacts.apk to work but Cytown's phone.apk wont work. Everything keeps force closing.
Woe is me and not being able to blacklist on my Nexus!
Stupendous to see you developing for the Nexus One, can't wait to see what you can bring to Contacts for 2.1.
Suggestion, I'm really not sure how possible this is, could the right Dial icon on Favorites be customizable? Like, let me select any option from the QuickBar to display on the right side? On a per-contact basis would be absolutely stellar.
Oh, this a very nice mod, big thanks, perfect
Fantastic. Deleted aContacts(snob for exact call log).
On call log, anyway to not make it show my contact's number next to the call time? Makes it a tad scrunched, and does not add value for a person who is already my contact.
Also, anyway to default to Call log?
david1171: Use it as you like! By the way, I've changed the Google Voice stuff but I still can't see it. Are you able to? Thanks!
Wysie said:
david1171: Use it as you like! By the way, I've changed the Google Voice stuff but I still can't see it. Are you able to? Thanks!
Click to expand...
Click to collapse
This thread shows that the GUI of it may not be visible out side of the US
Yeah it appears in my launcher and is called Voice. I have it themed and all.
I want to know can support chinese sort or search ?
In my mind, want to addon some function on builded contact tools in N1. Is it easy to do, if some one can provide some stuff, i want to learn and do some modify for chinese
Hi Wysie,
Thanks for this.
Was wondering if there would be a way to group the contacts together in the call log?
For example if I call my mom...i mean girlfriend...5 times in a row, not to have 5 different entries, but one entry that shows me I called her 5 times?
Thanks,
Lou
I'm leaving grouping as the last priority. I know a lot of you want it but I simply do not have the time to do it. I don't wanna do a lousy job .
Wysie said:
I'm leaving grouping as the last priority. I know a lot of you want it but I simply do not have the time to do it. I don't wanna do a lousy job .
Click to expand...
Click to collapse
Cool! At least we know that it's coming. =) I'll be waiting for that one. But in the mean time...I can't seem to see the Group function for each contact. Am I not doing something? I press the MORE option in the Contact Edit Menu and I don't see it. Oh, also...maybe a Birth Date field? Weird that Google has it on the desktop Gmail but not in the phone.
ah...nevermind...not everything has been ported over yet. Cool...can't wait for your updates!
Wysie said:
I'm leaving grouping as the last priority. I know a lot of you want it but I simply do not have the time to do it. I don't wanna do a lousy job .
Click to expand...
Click to collapse
Understandable...
respect
Lou
0.8 out .
Is there anybody there with a Moto Droid phone who can test my app
"Brainy Droid Live Wallpaper"
I have some users who cant see textures, and the logcat shows really high texture ids.
If someone can install it then look in logcat for
Code:
06-09 23:34:04.728 I/BrainyLiveDroid(21748): Battery Update
06-09 23:34:04.728 I/BrainyLiveDroid(21748): Bubble Update
06-09 23:34:04.728 I/BrainyLiveDroid(21748): Adding Texture 315638026
or the other BrainyLiveDroid lines...
Works fine on other devices...
Thx..
I ported the latest GB Cronos from Feeyo to the 32a Magic 6.35 radio. This rom uses carz's 2.6.34 kernel.
***Feeyo and carz have put in a lot of work for us....please let them know by donating here and here.***
How to install ROM:
1. Nand backup
2. Wipe cache and dalvik (try wiping dalvik only if coming from an earlier version of GB Cronos)
3. Flash GB rom (rapidshare, multiupload)
4. Flash gapps (rapidshare, multiupload)
5. Flash carz's oc kernel (if desired - see below)
6. Flash GPS fix (if needed for your location - see below)
7. Reboot
Kernels and GPS fixes:
You can flash these files from carz from recovery with no wipe
576 MHz oc kernel: (rapidshare, multiupload)
614 MHz oc kernel: (rapidshare, multiupload)
710 MHz oc kernel: (rapidshare, multiupload) (thanks to rps13)
Fix for GPS in Asia: GPS_AS.zip (rapidshare, multiupload)
Fix for GPS in Europe: GPS_EU.zip (rapidshare, multiupload)
Update Details:
-See 2nd post
Bugs:
-Youtube HQ buggy
-Lights/leds buggy
Working:
-USB tethering (with stock setting -> tethering works with Market apps)
-Games (you may have to move some of them to internal phone memory from SD card download optimized Angry Birds here)
-Camera
-Camcorder / video recording
-Gmail
-BT
-Wifi
-GPS
-USB connect
-3G/2G
-Phone calls
-Youtube
-Facebook sync
-Ap2sd
-Google voice search
-Smooth UI
-No FCs
-Root
-Most everything
-GB screen on/off animation
..To enable On/Off animations in this build:
..1. SpareParts: Enable both and put on Normal.
..2. Menu -> Settings -> Display -> Animation = Show All.
..3. CM Extra -> Display -> Rotate 180 = enable.
..4. CM Extra -> Display -> Rotate Screen On and Off = enable.
..This should work. If not reboot.
I've included Astro File Manager and Titanium Backup to make restoring apps easier.
CREDITS:
....Feeyo for this AOSP 2.3 GB rom with CM parts Link: HTC Hero Cronos Ginger
....carz12 for his work on the kernel Link:2.6.34-6355 kernel and 2.6.35-6355 kernel
....dsixda for his kitchen Link: [KITCHEN] Basic ROM kitchen for aspiring Magic cooks by dsixda
....ezterry, Firerat, and the CM Team
This rom is for the 32A Magic / Sapphire.
You need the new radio 6.35.10.18 or 6.35.16.19, SPL 1.76.2007 and recovery-RA-Magic32A-6.35-v1.6.2 or recovery-RA-hero-v1.6.2.img or recovery-RA-sapphire-v1.7.0H.img or recovery-RA-magic+-v2.0.0.1-seo.img.
It might work on with other recovery images, but I have not tested them.
If you do not know how to change your radio, SPL and recovery, click here at Cursor's post.
*NOTE*
I am not sure how much support I will provide for this rom.
I will try to update at a minimum whenever Feeyo release updates that will port over to our phones.
If you don't know what you're doing and have a question that is not specifically related to this rom, please search google, XDA, etc. first before you ask.
I am not responsible if you brick your phone. Nand backups are your friend
Optimized Angry Birds:
optimized Angry Birds link
Kernels and GPS fixes:
You can flash these files from carz from recovery with no wipe
576 MHz oc kernel: (rapidshare, multiupload)
614 MHz oc kernel: (rapidshare, multiupload)
710 MHz oc kernel: (rapidshare, multiupload) (thanks to rps13)
Fix for GPS in Asia: GPS_AS.zip (rapidshare, multiupload)
Fix for GPS in Europe: GPS_EU.zip (rapidshare, multiupload)
Updates (v2.3.0 - July 12, 2011):
-Download link for v2.3.0
MD5sum: 0bd33de6f0f6fcb59f58c09713f729f5
Updated to Feeyo's 2.3.0 Cronos build from July 12
For detailed change log see Feeyo's Cronos Forum
Updates (v2.2.4 - June 10, 2011):
-Download link for v2.2.4
MD5sum: cc02f88e7e998c134909ffd588ac5592
Updated to Feeyo's 2.2.4 Cronos build from June 8
Added CM Parts back
For detailed change log see Feeyo's Cronos Forum
Updates (v2.2.3 - June 4, 2011):
-Download link for v2.2.3
MD5sum: c131230e8be97c7ae82c3d3aa80179c7
Updated to Feeyo's 2.2.3 Cronos build from June 3
Removed CM Parts
For detailed change log see Feeyo's Cronos Forum
Updates (v2.1.0 - Apr 28, 2011):
-Download link for v2.1.0
MD5sum: 4d6623d2ea8796eb5f93114a1edbd9ef
Fixed/Updated (from original Hero Cronos rom, some of these items are only applicable to the kernel for the Hero and not the Sapphire...I am too lazy to figure out which are irrelevant to the Sapphire using carz's kernel so I included them here):
Updated to latest AOSP/CM sources
Reverted toolchain back to 4.4.3
3G/WiFi priority fixed
Added Cronos Wallpaper collections to default Launcher
Added more DalvikVM Heap jumps in CM Extra
Changed WiFi Policy to not disconnect while in sleep mode
Tweaked lowmemorykiller configurations in init.rc and hero.init.rc
Enabled android powertop support
Added VM dirty_writeback_centisecs
Better libsensors (Sensor Sensitivity)
Re-written a lot for liblights
Changed notifications alert blinks
Included Orriginal HTC Hero Battery Calculation
Tweaked GPS
Tweaked Brightness Stability
RGB Reverted
Included latest "Leaked" Music Player
Removed MIUI Camera
Added Default Camera
Tweaked Cronos Governor Configuration
Tweaked Kernel lowmemorykiller.c
Changed strict init.rc lowmemorykiller configuration
Will not kill as fast anymore
Better memory utilization
Updates (v2.0.1 - Apr 10, 2011):
Fixed/Updated (from original Hero Cronos rom):
Added Default Phone App with In call menu.
Repatched EGL.
This is an update patch only! No wipes of any kind needed.
Updates (v2.0.0 - Apr 9, 2011):
MD5sum: 70bb9d5edf8e84b243fd308577f4cc97
Fixed/Updated (from original Hero Cronos rom):
Resampler optimization routines properly patch.
TextView.setText memleak fixed.
SW renderer of Stagefright move on to draw stage after the initialization.
Fixed isValid() Software EGL Rendering seg fault.
Default WiFi sleep policy added.
Added sdcard tweaks.
Removed Default Camera.
Removed Default Music Player.
Added MIUI Camera.
Added MIUI Music Player.
Changed some compile optimizations.
Faster GUI Animations.
Updated to latest CM Extra. (By CM Team)
Integrated latest CM source updates. (By CM Team)
Updates (v1.9.5 - Mar 28, 2011):
Fixed/Updated (from original Hero Cronos rom):
TextView.setText memleak fixed
OOM Error encoding images
Fixed contact data updating
Updates (v1.9.4 - Mar 21, 2011):
Fixed/Updated (from original Hero Cronos rom):
21 Mar 2011 | Cronos Ginger 1.9.4
Fixed Launcher Menu (more) Replication Bug.
Bugs: Heavy Graphics Load System Crash. (Library Exception)
Updates (v1.9.3 - Mar 20, 2011):
Fixed/Updated (from original Hero Cronos rom):
20 Mar 2011 | Cronos Ginger 1.9.3
AccessibilityManagerService death notifications proper clean up.
Removed dead store : core/java/android/os/BatteryStats.java Patch2.
Improved shutdown speed.
revert PIXEL_FORMAT_RGB_565 (By Nadlabak)
Improved Camera preview format.
Gralloc Mem Leak Fix.
17 Mar 2011 | Cronos Ginger 1.9.2
Updated to latest source updates
Included New EVO kernel.
Added cifs module.
Compiled it deodexed now.
Changed some compile optimizations.
Bug fixes of DRM framework
Removed dead code with no other effect than consuming battery life.
float values equality checks : core/java/android/webkit/WebView.java.
Updated to latest CM Extra.
Removed dead store : core/java/android/os/BatteryStats.java
frameworks/base: Fix for force close during rapid FF of cetain midi clips
Runtime inclusion of services in the SystemServer with overlays
Fixed memory leak in PreferenceScreen.
Removed strict lowmemorykiller configuration.
Should be nicer to battery life.
Updates (v1.9.0 - Mar 13, 2011):
-Ported from Ginger Cronos 1.9.0
Fixed/Updated (from original Hero Cronos rom):
-Updated to latest sources
-Fixed Volume Key handling
-Added DSPManager again
-Patched libfreetype for better rendering of fonts
-Changed animation speeds to be a bit slower (Nicer to look at)
Updates (v1.8.0 - Mar 5, 2011):
-Ported from Ginger Cronos 1.8.0
-Changed GBRider Cronos version number to correspond to original Hero Cronos
Fixed/Updated (most from original Hero Cronos rom):
-Updated build to Android 2.3.3
-Fixed Battery Icon
-Fixed WiFi/3G Bug
-Unlocked Android 2.3 Audio effects for Music Player
-Removed DSPManager
-Patched libfreetype for better rendering of fonts
-CM Extra updated to latest version
-In call touch UI added back to Phone settings
Updates (v1.5.0 - Feb 23, 2011):
-Ported from Ginger Cronos 1.5.0
-Changed GBRider Cronos version number to correspond to original Hero Cronos
Fixed/Updated (most from original Hero Cronos rom):
-Fixed USB Tethering
-Smoother GUI
-Faster GUI
-Removed memory reservation for phone app
-Left green charge led activated on 90%
-Fixed: Charge low % bug
-Fixed: In call Lockscreen bug
-Fixed: AM/PM Lockscreen Bug
-Some changes to EGL again
-Youtube HQ works sometimes
-CM Extras fixed so no FC on any options
Updates (v2 - Feb 16, 2011):
-Ported from Ginger Cronos 1.3.0
Fixed/Updated:
-Google voice search
-USB connect
-Trackball light
-More performance tweaks
-Updated CM Extra
-Fixed Webcore Library exceptions
-Improved EGL
-Included Launcher2
-Improved Camera
-Fixed Lockscreen
-Fixed home buton
-Faster animations
-Camera Rendering Changes
Not working:
-Youtube high def videos over wifi
-Some games like Angry Birds (?)
-Usb tethering may not be working (?)
-Airplane mode may drain battery (?)
Updates (v1 - Feb 13, 2011):
-Ported from Ginger Cronos 1.1.0
Not working:
-Google voice search
-USB connect buggy
-Youtube high def videos over wifi
-Some games like Angry Birds
-Trackball light
-Usb tethering may not be working
-Airplane mode may drain battery
Hopefully others can confirm, but the camera and camcorder video recording are working for me.
Facebook also seems to sync fine (but I don't use FB so my test was basic and I'm no expert on the FB apk).
The GB screen on/off animations were working for me, but right now they're not. I noticed from the Hero and other forums that this feature seems to be buggy for all. Here is a work around. Enable 180 degrees rotating by going into CM Extra -> Display -> Rotate 180 degrees (make sure screen off and screen on animation are selected). Reboot. Then enable all window animations by going into Settings -> Display -> Show All window animations. This seems to work most of the time.
This is my favourite 32a 6.35 AOSP / CM rom to date. It's snappy with no FC's (except if you try to navigate through the initial set up wizard on first boot too quickly - which seems normal) and no major bugs (from my testing anyway).
After you get your phone set up, reboot once to speed things up. Jit is enabled.
What about battery drain?
Confirmed:
camera and camcorder video recording are working for me also!!!
fb sync working
great job
Thanks
Ntadeusz said:
What about battery drain?
Click to expand...
Click to collapse
Battery drain so far seems the same to me as it is on other roms using carz's 2.6.34 v0.70 kernel.
Lately, I've been turning off auto-sync, 3G, GPS, BT, and wifi most of the time and I've been getting 2+ days with a single charge.
When I use those features heavily I start the day with 90-100% and end up having 25-40% remaining by the end of the day.
giant_rider said:
Battery drain so far seems the same to me as it is on other roms using carz's 2.6.34 v0.70 kernel.
Lately, I've been turning off auto-sync, 3G, GPS, BT, and wifi most of the time and I've been getting 2+ days with a single charge.
When I use those features heavily I start the day with 90-100% and end up having 25-40% remaining by the end of the day.
Click to expand...
Click to collapse
Thank You. I will flashing it, but first i have to change spl and radio. At the moment i have old radio.
That's quite interesting, i was staying away from new radio roms because of camera problems, but stock new radio roms were always kinda better for me. I'll try this one, thank you!
downloading
Thanks
saibot64 said:
That's quite interesting, i was staying away from new radio roms because of camera problems, but stock new radio roms were always kinda better for me. I'll try this one, thank you!
Click to expand...
Click to collapse
haha . that's what i want to say .
Is it fast and smooth?
I just flashed OR seems i need to update again...
Can i use the partitions patch with this rom or do i have to remove it?
hey
hey giant very nice update
wolfshadowkd said:
Is it fast and smooth?
I just flashed OR seems i need to update again...
Click to expand...
Click to collapse
It is fairly fast and smooth for me. I set the windows and transition animations in Spareparts to fast and I increased the scrolling speed, etc. in LauncherPro. I also set the tweak in AutoKiller, and there are the performance settings in CM Extra. Then I reboot.
The max kernel speed is set at 576, so it won't be as fast as the roms that are set to oc to higher frequencies. I can look into oc for the next release.
Update: It's not the fastest, but I just got some Linpack scores of 3.90-4.00, so it's respectable especially for no oc.
hayer said:
Can i use the partitions patch with this rom or do i have to remove it?
Click to expand...
Click to collapse
I'm not sure. I am not familiar enough with that patch to say.
Wow, this is good news. Giant, do you know what has changed that the cam is working now?
@Capy, good to see you still around here in the Magic forum . Do you think that you can take advantage of this development in order to get the cam working with your FroyoSense ROM?
Thx, and keep on the good work
ATeam-MrT said:
Wow, this is good news. Giant, do you know what has changed that the cam is working now?
@Capy, good to see you still around here in the Magic forum . Do you think that you can take advantage of this development in order to get the cam working with your FroyoSense ROM?
Thx, and keep on the good work
Click to expand...
Click to collapse
trying man trying
This is an awesome ROM. Smooth, stable... The only thing I noticed so far is that Neocore FCs every time.
As for the Voice Search, it works first time after installing it from the Market. It then stops working after reboot. Same behavior was in the ezterry's releases.
Giant, thanks a lot for compiling this ROM. It's golden!
Update: Neocore issue solved by reinstalling it.
Sent from my GBRider Cronos v1.0 using Tapatalk
How about usb tethering, does it work?
Well,
I am really impressed with this rom, too. I think it's first new 32A radio android >2.1 with so many features working (3d accel. does not - I suppose).
I noticed 1 minor inconvenience - on the first attempt to use Market - Market and Launcher did FC (now it's running fine).
And 1 a little more annoying - Sygic Mobile Maps (10) do not work ("App closed unexpectedly"...)
Logcat below:
Code:
W/FlurryAgent( 993): onStartSession called with duplicate context, use a specific Activity or Service as context instead of using a global context
I/ActivityManager( 507): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sygic.drive/.SygicDriveActivity bnds=[3,138][77,225] } from pid 599
I/ActivityManager( 507): Start proc com.sygic.drive for activity com.sygic.drive/.SygicDriveActivity: pid=1372 uid=10041 gids={3003, 1015}
D/dalvikvm( 1372): Cronos GC_EXTERNAL_ALLOC freed 47K, 54% free 2489K/5379K, external 0K/0K, paused 70ms
D/dalvikvm( 602): Cronos GC_CONCURRENT freed 484K, 52% free 3250K/6727K, external 0K/512K, paused 8ms+19ms
D/dalvikvm( 507): Cronos GC_CONCURRENT freed 1160K, 44% free 5488K/9671K, external 2487K/2513K, paused 18ms+25ms
D/dalvikvm( 1372): Trying to load lib /data/data/com.sygic.drive/lib/libsygic.so 0x405176d0
D/dalvikvm( 1372): Added shared lib /data/data/com.sygic.drive/lib/libsygic.so 0x405176d0
D/dalvikvm( 1372): GetFieldID: unable to find field Landroid/view/Surface;.mSurface:I
D/AndroidRuntime( 1372): Shutting down VM
W/dalvikvm( 1372): threadid=1: thread exiting with uncaught exception (group=0x40018560)
E/AndroidRuntime( 1372): FATAL EXCEPTION: main
E/AndroidRuntime( 1372): java.lang.NoSuchFieldError: mSurface
E/AndroidRuntime( 1372): at com.sygic.drive.SygicMain.InitJavaObjects(Native Method)
E/AndroidRuntime( 1372): at com.sygic.drive.SygicMain.<init>(SygicMain.java:60)
E/AndroidRuntime( 1372): at com.sygic.drive.SygicDriveActivity$4.<init>(SygicDriveActivity.java:319)
E/AndroidRuntime( 1372): at com.sygic.drive.SygicDriveActivity.onCreate(SygicDriveActivity.java:319)
E/AndroidRuntime( 1372): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 1372): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1706)
E/AndroidRuntime( 1372): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1768)
E/AndroidRuntime( 1372): at android.app.ActivityThread.access$1500(ActivityThread.java:123)
E/AndroidRuntime( 1372): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:936)
E/AndroidRuntime( 1372): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1372): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1372): at android.app.ActivityThread.main(ActivityThread.java:3812)
E/AndroidRuntime( 1372): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1372): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1372): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 1372): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 1372): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 507): Force finishing activity com.sygic.drive/.SygicDriveActivity
W/ActivityManager( 507): Activity pause timeout for HistoryRecord{4091db18 com.sygic.drive/.SygicDriveActivity}
W/ResourceType( 507): Skipping entry 0x7f040006 in package table 0 because it is not complex!
W/ResourceType( 507): Skipping entry 0x7f040005 in package table 0 because it is not complex!
I/ActivityManager( 507): No longer want com.noshufou.android.su (pid 1017): hidden #16
I/WindowManager( 507): Setting rotation to 1, animFlags=0
I/ActivityManager( 507): Config changed: { scale=1.0 imsi=260/3 loc=pl_PL touch=3 keys=1/1/2 nav=3/1 orien=2 layout=18 uiMode=17 seq=7 themeResource=null}
D/dalvikvm( 599): Cronos GC_EXPLICIT freed 192K, 54% free 3073K/6663K, external 2738K/3419K, paused 182ms
I/PowerWidget( 561): Clearing any old widget stuffs
I/PowerWidget( 561): Setting up widget
I/PowerWidget( 561): Default buttons being loaded
I/PowerWidget( 561): Button list: toggleWifi|toggleBluetooth|toggleGPS|toggleSound
I/PowerWidget( 561): Setting up button: toggleWifi
I/PowerWidget( 561): Setting up button: toggleBluetooth
I/PowerWidget( 561): Setting up button: toggleGPS
D/dalvikvm( 599): Cronos GC_EXPLICIT freed 21K, 55% free 3052K/6663K, external 2585K/3228K, paused 157ms
I/PowerWidget( 561): Setting up button: toggleSound
D/dalvikvm( 599): Cronos GC_EXPLICIT freed 95K, 56% free 2956K/6663K, external 2432K/3037K, paused 127ms
D/dalvikvm( 599): Cronos GC_EXPLICIT freed 10K, 56% free 2949K/6663K, external 2432K/3037K, paused 102ms
D/dalvikvm( 599): Cronos GC_EXPLICIT freed 735K, 54% free 3131K/6663K, external 2521K/3037K, paused 88ms
D/dalvikvm( 599): Cronos GC_EXPLICIT freed 197K, 54% free 3083K/6663K, external 2438K/3037K, paused 139ms
I/Process ( 1372): Sending signal. PID: 1372 SIG: 9
I/ActivityManager( 507): Process com.sygic.drive (pid 1372) has died.
D/dalvikvm( 507): Cronos GC_EXPLICIT freed 268K, 44% free 5431K/9671K, external 1946K/2428K, paused 166ms
D/dalvikvm( 1075): Cronos GC_EXPLICIT freed 187K, 53% free 2781K/5831K, external 276K/512K, paused 98ms
W/ActivityManager( 507): Activity destroy timeout for HistoryRecord{4091db18 com.sygic.drive/.SygicDriveActivity}
Michal
There is a strange and erratic pattern on my Inspire, involving ADW Launcher EX and the OS not maintaining its default launcher preference. I'm currently running CM 7.2.0-RC1. ADW Launcher EX is installed, alongside ADW Launcher, which I've elected to not remove from the system partition. All too frequently, the phone will present me with a selection between the two launchers upon my pressing the home button. Even after checking the box to save the default launcher preference, this will continue to happen-- even without a reboot.
The behavior is not 100% consistent. However, there are certain things I can do to force it to happen. Like for example: putting any Business Calendar widget on the desktop will immediately cause the default to evaporate. The Vlingo widget can force it as well.
For further analysis, I removed the Business Calendar and Vlingo widgets from the desktop, and now the occurrences are erratic. I cannot find a pattern.
I had no issues previously on my HTC Evo (retired March 2012). Although I'm currently running CM 7.2.0-RC1, this issue has existed through several nightly 7.1.x builds I was using. Also, this will happen for both ADW Launcher and ADW Launcher EX.
Is there anyone else out there who's having the same issue, or has some suggestion as to what might be causing it?
UPDATE: Here is the logcat that specifically shows the "preferred activity" for "MAIN" being dropped.
Code:
W/InputManagerService( 1357): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 1357): Starting: Intent { act=android.appwidget.action.APPWIDGET_CONFIGURE cmp=[b]mikado.bizcalpro[/b]/.WidgetConfig4x1 (has extras) } from pid 30703
I/PackageManager( 1357): [b]Result set changed, dropping preferred activity for Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] } type null[/b]
D/Kiwi (17311): Kiwi: onCreate: [email protected]
D/Kiwi (17311): ContextManagerImpl: Activity->onCreate. Activity: [email protected], Total Activities: 1
Thanks in advance.
I eventually got fed up with issue, so I wiped and reinstalled everything from scratch. Since doing so, the issue has not resurfaced.
Case closed, though I wish I could have better understood what caused it to happen in the first place.
I am also on cm7.2 and I upgraded to ex. What I did was use titanium backup to freeze the stock launcher and adw launcher. Don't have any issues.
Freezing the apps removes them from apps list and stops them from running until manually defrosted. Currently have 18 frozen apps.
Sent from Soundwave aboard Nemesis.
Hi,
This is a dev thread about the fight for the camera in ICS on the HTC Chacha.
I'm trying to load the libcamera.so and liboemcamera.so from a STock Sense Chacha rom (Gingerbread).
This afternoon I managed to fix the linker errors so camera.chacha.so loads libcamera.so.
I/CameraHAL( 98): camera_get_camera_info: id:0 faceing:0 orientation: 90
I/CameraHAL( 98): camera_get_camera_info: id:1 faceing:1 orientation: 270
V/CameraHolder( 1213): open camera 0
I/CameraHAL( 98): camera_get_camera_info: id:0 faceing:0 orientation: 90
I/CameraService( 98): Opening camera 0
I/CameraHAL( 98): camera_device open+++
I/CameraHAL( 98): Switching to HTC Camera: 0
I/QualcommCameraHardware( 98): openCameraHardware: call createInstance
D/QualcommCameraHardware( 98): createInstance: E
D/QualcommCameraHardware( 98): Storing the current target type as 3
D/QualcommCameraHardware( 98): constructor EX
D/QualcommCameraHardware( 98): startCamera E
E/QualcommCameraHardware( 98): Unable to determine the target type. Camera will not work
E/QualcommCameraHardware( 98): createInstance: startCamera failed!
D/QualcommCameraHardware( 98): ~QualcommCameraHardware E
Now the problem is that it gives an error in QualcommCameraHardware::startCamera: "Unable to determine the target type":silly:
I believe I know why though... I'll test another day.
Here it is:
In libcamera.so:
Failed to set default parameters?!
initDefaultParameters X
ro.board.platform
Storing the current target type as %d
persist.debug.camera.showfps
constructor EX
...
msm7k
qsd8k
msm7x30
...
I believe it uses the parameter ro.board.platform, which is ro.board.platform=msm7x27 in our CM9 to set the target, and that the allowed values are: msm7k, qsd8k and msm7x30.
I'll test altering the build.prop just to confirm it. If that is true, I'll have to find a way to fix that...
Anyway, I'm pretty happy about that, it's a step!
Yes!! I have managed to work around the target error!
DEBUG/QualcommCameraHardware(98): Storing the current target type as 0
Here is a logcat: http://logcat.miui.us/907002
The camera app still crashes... Idk what is the relevant error. I see no preview.
Maybe:
167: 07-11 01:54:31.381: ERROR/mm-camera 7x-vfe(98): Received VFE start ACK!!! This is a user preview start.
Thanks for working on this problem!
I use CM7 and the camera really costs me nerves there. With Pro Paint Camera I found an app that does not crash soo often, but still it is not 100% perfect (as images are 90° rotated and you can't make videos).
So any improvement on that camera issue is good news!
Note to self:
DEBUG/Camera(828): app passed NULL surface
ERROR/mm-camera 7x-vfe(98): Received VFE start ACK!!! This is a user preview start.
Those same messages are shown in with CM9 + Aria's libs (which works OK) and in CM9 + stock libs (which doesnt work), so I guess they are irrelevant.
Logcats of opening the camera:
Chacha CM9 Cam w/ Stock Libs: http://logcat.miui.us/907002 (Preview fails)
Chacha CM9 Cam w/ Aria Libs: http://pastebin.com/sFBWVc8g (Preview ok, pictures OK)
Chacha Stock GB w/ Stock Libs: http://pastebin.com/0A6BmtxQ (Everything works)
DEBUG/CameraSettings(828): Parameters:
Chacha CM9 Cam w/ Stock Libs, Params: http://pastebin.com/uyuKxjds
Chacha CM9 Cam w/ Aria Libs, Params: http://pastebin.com/CXemXgdt
Diff Aria params vs Stock: http://pastebin.com/GbcJB0Qf
All I can see from that are the memory leaks starting @ 0x3b2f0.
http://logcat.miui.us/907002 shows:
Code:
Code:
2047 private void setPreviewDisplay(SurfaceHolder holder) {
2048 try {
2049 mCameraDevice.setPreviewDisplay(holder);
2050 } catch (Throwable ex) {
2051 closeCamera();
2052 throw new RuntimeException("setPreviewDisplay failed", ex); // <------
2053 }
2054 }
Code:
public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) {
// Make sure we have a surface in the holder before proceeding.
if (holder.getSurface() == null) {
Log.d(TAG, "holder.getSurface() == null");
return;
}
Log.v(TAG, "surfaceChanged. w=" + w + ". h=" + h);
// We need to save the holder for later use, even when the mCameraDevice
// is null. This could happen if onResume() is invoked after this
// function.
mSurfaceHolder = holder;
Code:
VERBOSE/camera(832): surfaceChanged. w=320. h=427
118: 07-11 01:54:31.151: DEBUG/QualcommCameraHardware(98): requested preview size 480 x 320
119: 07-11 01:54:31.151: DEBUG/QualcommCameraHardware(98): requested picture size 2560 x 1920
120: 07-11 01:54:31.151: DEBUG/QualcommCameraHardware(98): requested Fps Range min: 9000 x max: 30000
121: 07-11 01:54:31.151: DEBUG/QualcommCameraHardware(98): setGpsLocation: E
122: 07-11 01:54:31.151: DEBUG/QualcommCameraHardware(98): not defined touch-focus yet, or AP without touch-focus function
123: 07-11 01:54:31.151: INFO/QualcommCameraHardware(98): Before Setting coordinate x:240 y:160
124: 07-11 01:54:31.151: DEBUG/QualcommCameraHardware(98): setThumbnailSize w=640 h=480
125: 07-11 01:54:31.151: DEBUG/QualcommCameraHardware(98): virtual android::status_t android::QualcommCameraHardware::setParameters(const android::CameraParameters&), final_rc=0
126: 07-11 01:54:31.181: VERBOSE/camera(832): Preview size is 480x320
Vs w/ Aria libs: VERBOSE/camera(828): Preview size is 384x288 <-- smaller!! (would fit in the surface 427x320!)
preview-size-values=800x480,720x480,768x432,640x480,640x384,576x432,480x320,240x160
preview-size=480x320
./frameworks/base/libs/camera/CameraParameters.cpp :
Code:
597 void CameraParameters::setPreviewSize(int width, int height)
598 {
599 char str[32];
600 snprintf(str, sizeof(str), "%dx%d", width, height);
601 set(KEY_PREVIEW_SIZE, str);
602 }
603
604 void CameraParameters::getPreviewSize(int *width, int *height) const
605 {
606 *width = *height = -1;
607 // Get the current string, if it doesn't exist, leave the -1x-1
608 const char *p = get(KEY_PREVIEW_SIZE);
609 if (p == 0) return;
610 parse_pair(p, width, height, 'x');
611 }
./src/com/android/camera/Camera.java :
Code:
2200 // Set a preview size that is closest to the viewfinder height and has
2201 // the right aspect ratio.
2202 List<Size> sizes = mParameters.getSupportedPreviewSizes();
2203 Size optimalSize = Util.getOptimalPreviewSize(this,
2204 sizes, (double) size.width / size.height);
2205 Size original = mParameters.getPreviewSize();
2206 if (!original.equals(optimalSize)) {
2207 mParameters.setPreviewSize(optimalSize.width, optimalSize.height);
2208
2209 // If preview is running, stop preview and let startPreview call
2210 // this function again because we cannot change size on the fly
2211 if (mCameraState != PREVIEW_STOPPED) {
2212 stopPreview();
2213 startPreview();
2214 return;
2215 }
2216
2217 // Zoom related settings will be changed for different preview
2218 // sizes, so set and read the parameters to get lastest values
2219 mCameraDevice.setParameters(mParameters);
2220 mParameters = mCameraDevice.getParameters();
2221 }
2222 Log.v(TAG, "Preview size is " + optimalSize.width + "x" + optimalSize.height);
--> in the Logcat I see this line, from Camera.java:2222 :
07-11 01:54:31.181: VERBOSE/camera(832): Preview size is 480x320
Looking at Util.getOptimalPreviewSize --> maybe it tried to fit with a 90º rotation...
07-12 19:41:17.495: DEBUG/Util(810): ***ALEX*** display.getHeight=480, display.getWidth=320
07-12 19:41:17.495: DEBUG/Util(810): ***ALEX*** size.height=480, size.width=800
07-12 19:41:17.495: DEBUG/Util(810): ***ALEX*** size.height=480, size.width=720
07-12 19:41:17.495: DEBUG/Util(810): ***ALEX*** size.height=432, size.width=768
07-12 19:41:17.495: DEBUG/Util(810): ***ALEX*** size.height=480, size.width=640
07-12 19:41:17.495: DEBUG/Util(810): ***ALEX*** size.height=384, size.width=640
07-12 19:41:17.495: DEBUG/Util(810): ***ALEX*** size.height=432, size.width=576
07-12 19:41:17.495: DEBUG/Util(810): ***ALEX*** size.height=320, size.width=480
07-12 19:41:17.495: DEBUG/Util(810): ***ALEX*** size.height=160, size.width=240
07-12 19:41:17.495: DEBUG/Util(810): ***ALEX*** optimalSize.height=320, optimalSize.width=480
07-12 19:45:14.977: INFO/power(169): *** set_screen_state 0
Where display is the screen (seen by the camera app) --> rotated 90º (but it's normal, as the App is launched rotated :-/ ).
All the preview sizes from the preview-size-values list are correct (landscape orientation).
Wondering if Change I7c0a2976: msm7x30: Camera HAL for HTC Sense devices (3/2) could have anything to do with the issue...
Tried either pref_camera_force_preview_default on and off, the same error.
I have also build and tested https://github.com/commonsguy/cw-advandroid/tree/master/Camera/Preview fails , and it fails too, so the issue is maybe not in the Camera app... (unless it is in the preview part of it)?
On the requested preview size, we get:
118: 07-11 01:54:31.151: DEBUG/QualcommCameraHardware(98): requested preview size 480 x 320
And the Aria libs are clearly substracting from both x and y to take into account the viewport is not as big as the whole screen, as we have to leave some margins to the UI and such, right? Maybe the trick is to adjust this in line 2205 and 2207 in Camera.java via a wrapper function, depending on the optimalSize() returned...
I wish I could set up a working compiling environment to help you, maybe once I'm back from holidays...
Keep it up and thanks for your hard work! Cheers!