[UPDATE][ROM]CaNNoN202 Complete Eclair [v2.0](Almost Complete)[4/2/10]-[FAST][STABLE]

Search This thread

gophergun

Senior Member
Feb 18, 2008
311
2
I checked the thread but didnt see much help there... I'm a bit new to the development scene, but im going to take a bit deeper look into it, or try different combination of installs.
If it's at all useful, the Send + Menu + End key combination still works for rebooting.
 
Last edited:
E

epsilon222

Guest
Found another bug -

Tried to add a contact picture to a contact, after pressing "save" on the crop screen, it FC:

"The process android.process.acore has stopped unexpectedly. Please try again."
 

Firerat

Senior Member
Feb 24, 2009
3,848
185
3D Patch - CaNNoN202 Complete Eclair 1.2 with 3D and YouTube HQ Video

ok, it has been a good while since I compiled a kernel, but since the current 3d patch didn't have working wifi I thought I would have ago

This is from CM-Kernel-2.6.29-eclair tree, it has no ram hack.
btw, it was Case_ who pointed me in the right direction on getting 3d to work on the g1 and on how to get the damn camera to compile :)

  • wifi - working
  • camera - now working ( thanks to Case_ )
  • Shutdown - working
  • reboot - working
  • LWP - some work, some don't... nexus don't :(
  • Youtube / Beebplayer - working :) NB HQ only, LQ has issues..
  • 3D Games - they seem to work ok*
  • Launcher2 - not recommended, use std Home if you have problems**
* I don't have any games, I just grabbed a free jumping ball one from the Market.
** Honestly.. Launcher2 *will* make your phone unstable, if you have it stuck as default
Settings --> Applications --> Manage Applications --> Menu Button --> Filter --> All --> Launcher --> Clear defaults --> Home (key)

I have only been able to test on a G1,

btw this is a *NO WIPE* update.

Please note this is working on my G1, I can not be held responsible for any 'bricks',
loss of data, rsi etc which may or may not be the result of this kernel/kernel module.
but as I said, its been working well for me


Oh, and don't forget to Nandbackup

I now have two flavours,
##################################################
For those with an Existing installation of Complete Eclair.
assumes that the Settings.apk and ContactsProvider.apk have already
been fixed

##################################################
This is Boot.img, wifi Module, and libraries, should be ok to flash over your
existing CE 1.2 ROM ( please backup first ;) )
*NO WIPE REQUIRED*
CE-12-Patch_3D_Vid_signed.zip
md5sum : 3d4765dcaa9a6485a7528881a4ae5001
##################################################



##################################################
for those who wish to make a fresh install
##################################################
This is boot.img, wifi Module, libraries, Settings and ContactProvider apks
from CE1.1, the apks resolve wifi fc and Facebook pic sync.
This needs to be flashed over a brand new CE 1.2 flash i.e.
Nand backup
wipe data/factory reset
wipe Dalvik-cache
wipe SD:ext
flash CE 1.2 ( CE 1.2 White theme or CE 1.2 Black theme OP is here )
flash this: CE-12-Patch_3D_Vid_WiFi_FB_signed.zip
md5sum 08d696a0fe1d022633730daff69f81b8
##################################################

I will try and get the camera back, I think Case_ did mention that he ported that from the donut tree, which will be fun
UPDATE : Camera is now working, link updated

I will also see if any of the new libs can get decoding working
working video , not 100% where all the libs came from, I think the majority if not all are from the Driod Eris dump and/or King's 0.1 Eris Port

####################################################
update 2010-03-09 Toggle HW 3D on and off
####################################################
don't know why I didn't think of this earlier, you can toggle 3d on and off with /system/lib/egl/egl.cfg

the below script will toggle hw3d, I should have it do all kinds of checks., file exists etc, but I figure it will get replaced in spare parts soon ;)
Code:
#!/system/bin/sh
#hw3dqcom.sh
# qcom hw3d toggle - Firerat 2010-03-09
if [ `busybox id -u` != "0" ];
then
        echo Require root to edit /system/lib/egl/egl.cfg
        echo do \'su\' and run again
        exit 1;
else
        hw3d=`grep qcom /system/lib/egl/egl.cfg|cut -d " " -f 2`
if [ $hw3d == "1" ];
then
        echo qcom Hardware 3d on,
        grep -v "#" /system/lib/egl/egl.cfg|grep 0
rwsystem
        echo Turning off
        sed s/0\ 1\ qcom/0\ 0\ qcom/ -i /system/lib/egl/egl.cfg
        grep -v "#" /system/lib/egl/egl.cfg|grep 0
rosystem
exit 0;
else
        echo qcom Hardware 3d off,
        grep -v "#" /system/lib/egl/egl.cfg|grep 0
rwsystem
        echo Turning on
        sed s/0\ 0\ qcom/0\ 1\ qcom/ -i /system/lib/egl/egl.cfg
        grep -v "#" /system/lib/egl/egl.cfg|grep 0
rosystem
exit 0;
fi
fi
I have attached as text,
save to sd,
Code:
su
rwsystem
cp /sdcard/hw3dqcom.txt /system/bin/hw3dqcom.sh
chmod 755 /system/bin/hw3dqcom.sh
rosystem
ps, if you have done a copy paste job with windows, then do
dos2unix /system/bin/hw3dqcom.sh
at some point to fix the eol nonsense
now I might try and figure out how to do that in spare parts :)

oh, and if you want to play with the android gles, then
Code:
cp /system/bin/hw3dqcom.sh /system/bin/hw3dandroid.sh
sed s/qcom/android/g  /system/bin/hw3dandroid.sh -i
well give you the android toggle script

PS, you need to get it to 'reload' for changes to take effect, i.e. for lwp set a normal wallpaper, then an lwp
####################################################

you can also drop these into a gscript directory on your sd card
lite version here ( use barcode scanner )
chart


####################################################
update 2010-03-21 Gallery3D
###############################################
Since people have been asking about Gallery3D I thought I should add it here

Follow Bluedragon's Quote for download
i used the flan 3d gallery
and go here for install instructions

Gallery3D will cause you to have two Gallery Icons, this is due to the Camera app having the standard gallery within it.
if it bugs you, download this
Camera-novideo-nogallery.apk
and to install...
Code:
su
rwsystem
cp /sdcard/Camera-novideo-nogallery.apk /system/app/Camera.apk
rosystem

Basically I edited the AndroidManifest.xml which referenced Gallery
and since Video Recording isn't working, and often causes FC after temptation ;), I disabled switching to video mode.
I also removed some of the gallery and video code, thought I might as well make it smaller.

You can revert to the original camera by unzipping the ROM, and getting the Camera.apk on to the SD card and copying it over as above

Oh, and yes, if you rotate your phone Gallery3D does go a little strange, it does correct itself after a while, to speed things up lock screen with power button then unlock ;)
Hopefully this little glitch will be fixed soon.
 

Attachments

  • hw3dqcom.txt
    730 bytes · Views: 62
Last edited:

Ohsaka

Senior Member
Jun 8, 2009
754
69
ok, it has been a good while since I compiled a kernel, but since the current 3d patch didn't have working wifi I thought I would have ago

This is from CM-Kernel-2.6.29-eclair tree, it has no ram hack.

I have only been able to test on a G1,

Please note that on first boot cache has to be rebuilt, so give it some time

PS, livewaterpaper from the market seems to work well

Video: http://tinyurl.com/3dneocore

Pretty sweet.
 

G Zero

Senior Member
Jan 11, 2010
172
0
If it's at all useful, the Home + Menu + End key combination still works for rebooting.
You meant to say send end and menu to reboot :)

@Fire, nice work!!

Was anyone able to try this rom, dev included, without the ram hack and observe results? Eclair is so graphic based that I believe the ram hack might be becoming more of an obstacle than an opportunity and we could actually be slower from having it.
 

virtualenix

New member
Mar 4, 2010
2
0
Found another bug -

Tried to add a contact picture to a contact, after pressing "save" on the crop screen, it FC:

"The process android.process.acore has stopped unexpectedly. Please try again."

Good morning (or night) at all,
I have the same problem and more, when I find one contact and I push to call this I recive the same error message:

(Italian version)
Spiacenti.
Interruzione imprevista del
processo android.process.acore.
Riprova.


(english version)
Sorry
The process android.process.acore has stopped unexpectedly.
Try again.


damn, any one know why this?
thx a lot
 

anthonws

Senior Member
Jan 25, 2008
265
31
Lisbon
Jumped the wagon! Again! :)

@CaNNoN
Kudos!
Thank you for the wonderful rom :)

@Firerat

Thanks for the 3D "patch", wifi and camera.

I was watching logcat and found this erros:

"E/EGL.oem ( 3093): could not open hw3dc (Operation not permitted)
E/libEGL ( 3093): No EGLDisplay for hardware EGL!
E/copybit ( 3093): Error opening frame buffer errno=13 (Permission denied)
E/copybit ( 3093): Error opening frame buffer errno=13 (Permission denied)"

Are they normal? WIP I assume :)

Best regards,
Anthon.
 
Last edited:

Mervin60

Member
Apr 22, 2008
9
0
Test results

I'm kinda new here. I've followed this thread for weeks and never really posted anything :p

My foundings:

The launcher menu is much more responsive and smooth now. Works great!

I've tried the neocore benchmark. The result is 23,7 FPS. When i exited the program the phone froze for about 30 seconds, and then rebooted from the nexus bootscreen (not the G1 bootscreen).

The same happened when i tried to load the magik smoke live wallpaper. It displayed very smooth initially, but when i tried to change the settings the phone froze. Rebooted from the nexus boot screen. The second time (after reboot) the phone froze completely and i had to pull out the battery.

My setup:

T-Mobile G1 (dutch)
CaNNoN202 Complete Eclair 1.2
Radio 2.22.23.02
Death SPL
RA recovery 1.6.2
 

Firerat

Senior Member
Feb 24, 2009
3,848
185
@CaNNoN
Kudos!
Thank you for the wonderful rom :)

@Firerat

Thanks for the 3D "patch", wifi and camera.

I was watching logcat and found this erros:

"E/EGL.oem ( 3093): could not open hw3dc (Operation not permitted)
E/libEGL ( 3093): No EGLDisplay for hardware EGL!
E/copybit ( 3093): Error opening frame buffer errno=13 (Permission denied)
E/copybit ( 3093): Error opening frame buffer errno=13 (Permission denied)"

Are they normal? WIP I assume :)

Best regards,
Anthon.

errm, no something not right there
that looks like you have the kernel drivers, but incorrect permisions

I have just d/l my link and flashed over a nand restore, I get this

Code:
I/SurfaceFlinger( 2215): SurfaceFlinger is starting                             
I/SurfaceFlinger( 2215): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...                                                                
I/gralloc ( 2215): using (fd=22)                                                
I/gralloc ( 2215): id           = msmfb                                         
I/gralloc ( 2215): xres         = 320 px                                        
I/gralloc ( 2215): yres         = 480 px                                        
I/gralloc ( 2215): xres_virtual = 320 px                                        
I/gralloc ( 2215): yres_virtual = 960 px                                        
I/gralloc ( 2215): bpp          = 16                                            
I/gralloc ( 2215): r            = 11:5                                          
I/gralloc ( 2215): g            =  5:6                                          
I/gralloc ( 2215): b            =  0:5                                          
I/gralloc ( 2215): width        = 45 mm (180.622223 dpi)                        
I/gralloc ( 2215): height       = 67 mm (181.970154 dpi)                        
I/gralloc ( 2215): refresh rate = 60.00 Hz                                      
D/gralloc ( 2215): UPDATE_ON_DEMAND supported                                   
D/libEGL  ( 2215): loaded /system/lib/egl/libGLES_android.so                    
D/libEGL  ( 2215): loaded /system/lib/egl/libGLES_qcom.so                       
D/EGL.oem ( 2215): system process, deny GL context                              
E/libEGL  ( 2215): No EGLDisplay for hardware EGL!                              
I/SurfaceFlinger( 2215): EGL informations:                                      
I/SurfaceFlinger( 2215): # of configs : 8                                       
I/SurfaceFlinger( 2215): vendor    : Android                                    
I/SurfaceFlinger( 2215): version   : 1.4 Android META-EGL                       
I/SurfaceFlinger( 2215): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer                                                             
I/SurfaceFlinger( 2215): Client API: OpenGL ES                                  
I/SurfaceFlinger( 2215): EGLSurface: 5-6-5-0, config=0x1000000                  
I/SurfaceFlinger( 2215): flags     : 00160000                                   
I/SurfaceFlinger( 2215): OpenGL informations:                                   
I/SurfaceFlinger( 2215): vendor    : Android                                    
I/SurfaceFlinger( 2215): renderer  : Android PixelFlinger 1.2                   
I/SurfaceFlinger( 2215): version   : OpenGL ES-CM 1.0                           
I/SurfaceFlinger( 2215): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_OES_EGL_image GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap
later you should get
Code:
D/libEGL  ( 2310): loaded /system/lib/egl/libGLES_android.so                    
D/libEGL  ( 2310): loaded /system/lib/egl/libGLES_qcom.so                       
D/gralloc ( 2215): freeing GPU buffer at 0                                      
D/EGL.oem ( 2310): smi: offset=10000000, len=00700000, phys=0x0                 
D/EGL.oem ( 2310): ebi: offset=00000000, len=00800000, phys=0x16500000          
D/EGL.oem ( 2310): reg: offset=20000000, len=00100000, phys=0xa0000000          
D/gralloc ( 2215): freeing GPU buffer at 307200                                 
D/gralloc ( 2215): allocating GPU size=307200, offset=0                         
V/RenderScript( 2310): GL Version OpenGL ES 1.0-CM                              
V/RenderScript( 2310): GL Vendor QUALCOMM, Inc.                                 
V/RenderScript( 2310): GL Renderer Q3Dimension MSM7500 01.02.08 0 4.0.0         
E/RenderScript( 2310): Error, OpenGL ES Lite not supported

granted it isn't perfect, but something doesn't look right with yours

my patch zip is
CE-12_3DPatch-wifi_signed.zip
md5sum 4f8bef5d6a9404e241d381c51a5fff56

full link here
http://www.4shared.com/get/234712796/3751721c/CE-12_3DPatch-wifi_signed.html
 

Mervin60

Member
Apr 22, 2008
9
0
Crash again...

After the last boot the phone froze before displaying the home screen. Rebooted again and now everything is fine. I'm getting random results so it seems.
 

Firerat

Senior Member
Feb 24, 2009
3,848
185
After the last boot the phone froze before displaying the home screen. Rebooted again and now everything is fine. I'm getting random results so it seems.

the cache gets wiped, so the first boot can be a little laggy, guess it depends on how many apps you have, and how many want to run on boot.

tbh, I'm not convinced the cache needs wiping, I was just going off other boot.img updates

Anyway , are you still seeing that permission error?

can you do ls -l /dev/msm_hw3d* on the console
you should get something like
Code:
crw-rw-rw-    1 1000     1000      10,  53 Mar  5 12:16 /dev/msm_hw3dc
crw-rw----    1 1000     1000      10,  54 Mar  5 12:16 /dev/msm_hw3dm
 

anthonws

Senior Member
Jan 25, 2008
265
31
Lisbon
@Firerat

Thanks for the reply!

I reapplied you patch just to make sure, but I still see these errors right after a reboot.

Code:
W/ActivityManager( 2735): Activity pause timeout for HistoryRecord{43e7aee0 com
android.launcher2/.Launcher}
D/dalvikvm( 3054): Added shared lib /system/lib/librs_jni.so 0x0
V/RenderScript( 3054): RS Launching thread
V/RenderScript_jni( 3054): surfaceCreated
V/RenderScript_jni( 3054): surfaceChanged
V/RenderScript( 3054): setSurface 320 455 0x327d40
V/RenderScript( 3054): initEGL start
D/libEGL  ( 3054): loaded /system/lib/egl/libGLES_android.so
D/libEGL  ( 3054): loaded /system/lib/egl/libGLES_qcom.so
E/EGL.oem ( 3054): could not open hw3dc (Operation not permitted)
E/libEGL  ( 3054): No EGLDisplay for hardware EGL!
E/copybit ( 3054): Error opening frame buffer errno=13 (Permission denied)
E/copybit ( 3054): Error opening frame buffer errno=13 (Permission denied)
V/RenderScript( 3054): GL Version OpenGL ES-CM 1.0
V/RenderScript( 3054): GL Vendor Android
V/RenderScript( 3054): GL Renderer Android PixelFlinger 1.2


But I also see this:

Code:
V/RenderScript( 3054): initEGL start
D/libEGL  ( 3054): loaded /system/lib/egl/libGLES_qcom.so
I/ActivityManager( 2735): Process com.android.settings (pid 3072) has died.
D/EGL.oem ( 3054): smi: offset=10000000, len=00700000, phys=0x0
D/EGL.oem ( 3054): ebi: offset=00000000, len=00800000, phys=0x16500000
D/EGL.oem ( 3054): reg: offset=20000000, len=00100000, phys=0xa0000000
D/gralloc ( 2735): allocating GPU size=585728, offset=0
V/RenderScript( 3054): GL Version OpenGL ES 1.0-CM
V/RenderScript( 3054): GL Vendor QUALCOMM, Inc.
V/RenderScript( 3054): GL Renderer Q3Dimension MSM7500 01.02.08 0 4.0.0
E/RenderScript( 3054): Error, OpenGL ES Lite not supported

Thanks :)
 
Last edited:

Mervin60

Member
Apr 22, 2008
9
0
the cache gets wiped, so the first boot can be a little laggy, guess it depends on how many apps you have, and how many want to run on boot.

tbh, I'm not convinced the cache needs wiping, I was just going off other boot.img updates

Anyway , are you still seeing that permission error?

can you do ls -l /dev/msm_hw3d* on the console
you should get something like
Code:
crw-rw-rw-    1 1000     1000      10,  53 Mar  5 12:16 /dev/msm_hw3dc
crw-rw----    1 1000     1000      10,  54 Mar  5 12:16 /dev/msm_hw3dm

I'm getting:

Code:
crw-rw-rw-    system     system     10,  53 2010-03-05 13:07 msm_hw3dc
crw-rw----    system     system      10,  53 2010-03-05 13:07 msm_hw3dm

Seems ok, doesn't it?
 

Mervin60

Member
Apr 22, 2008
9
0
Phone froze again after neocore. Same with LWP. Seems the phone crashes when returning to "Normal" display.

: UPDATE : Also i found that the touch allignment isn't really how it should be. It's a few mm off.....
 
Last edited:

Mervin60

Member
Apr 22, 2008
9
0
Some more problems

  • When it tried shutting down the phone, it froze and rebooted from the nexus load screen, second try was without any problems.
  • When the phone is just booted the menu animation (launcher2) is very smooth and quick. After about half an hour of use the animation is much slower and less responsive.
  • Sometimes the menu loads, but there are no icons.

Is it possible that your kernel patch isn't compatible with the black version of CaNNon's rom? Because i'm running that one.
 

Firerat

Senior Member
Feb 24, 2009
3,848
185
  • When it tried shutting down the phone, it froze and rebooted from the nexus load screen, second try was without any problems.
  • When the phone is just booted the menu animation (launcher2) is very smooth and quick. After about half an hour of use the animation is much slower and less responsive.
  • Sometimes the menu loads, but there are no icons.

Is it possible that your kernel patch isn't compatible with the black version of CaNNon's rom? Because i'm running that one.

I'm on the black one also, so that shouldn't matter

the only thing I can think of at the moment is jit, I know it was recommended earlier in this thread, do you know if you have jit on?