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 )
####################################################
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.