Jump to content


[DEV] AOSP Dev for Zte Blade

* * * * * 32 votes

  • Please log in to reply
938 replies to this topic

#21
Matty-p

Matty-p

    Addict

  • Moderator Team
  • PipPipPipPipPip
  • 682 posts
  • Gender:Male
  • Devices:orange sanfransico, g300
Ok guys here's a direct mirror I've uploaded for
you irc dropbox limits free accounts to 10 g of bandwidth a file so please use this link instead
http://matty-p.co.cc/uE2agm


#22
AndreiKu

AndreiKu

    Newbie

  • Members
  • Pip
  • 6 posts
  • Gender:Male
  • Location:Belarus
  • Interests:Waiting ICS
  • Devices:Zte Libra a.k.a. blade
  • Twitter:@AndreiKukso
How to install?


#23
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Ad Free
  • PipPipPipPipPipPip
  • 1,775 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b
Also, attached here is the boot image as well.. :) unzip it.

MD5Sum: 2d403a5fae5f712b3134ab6c289f4e31  ics4blade_boot.img

Attached Files


try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#24
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Ad Free
  • PipPipPipPipPipPip
  • 1,775 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b

View PostAndreiKu, on 24 November 2011 - 08:11 AM, said:

How to install?

You may have to re-read the first post to see that you may have to re-TPT the Blade to get a bigger partition....

As for installing:
sudo fastboot flash system ics4blade_system.img
sudo fastboot flash boot ics4blade_boot.img

If this is outside of your comfort zone, it would be more better for you not to actually do anything until this gets stable! :)

try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#25
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Ad Free
  • PipPipPipPipPipPip
  • 1,775 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b
@Matty-P:

Cheers for mirroring the image! :)

try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#26
smg22rus

smg22rus

    Regular

  • Members
  • PipPip
  • 79 posts
  • Devices:ZTE Racer
fastboot flash system ics4blade_system.img say ics4blade_system.img is BIG!!! Build update.zip for betatesters!!!


#27
FezzFest

FezzFest

    Newbie

  • Members
  • Pip
  • 38 posts
  • Gender:Male
  • Devices:ZTE Blade
31 hours!? That would drive me insane! And I tought 3 hours of compiling on my Core i5 laptop was long Posted Image


#28
hedgepigdaniel

hedgepigdaniel

    Addict

  • Members
  • PipPipPipPipPip
  • 850 posts
  • Gender:Male
  • Location:Sydney, Australia
  • Devices:Galaxy Nexus, ZTE Blade (OLED)
I can't get this to work. I've flashed both the system.img and boot.img as you've provided as part of a Gen2 TPT with a 210MB system partition (having checked the hashes before doing the TPT), wiped data and cache, and removed my SD card, but all that happens is that the screen goes completely black soon after the green android has been displayed for a few seconds - basically the phone appears to be off - and it does not respond to anything, including the power button.

I have a UK OLED blade. Any Ideas? @t0mm13b are you testing on an OLED Blade?

EDIT: clockworkmod works fine in the meantime, so the TPT seems to have worked fine.

Edited by hedgepigdaniel, 24 November 2011 - 08:49 AM.


#29
smg22rus

smg22rus

    Regular

  • Members
  • PipPip
  • 79 posts
  • Devices:ZTE Racer
only black screen 2!!!


#30
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 1,665 posts
  • Gender:Male
  • Location:Finland
  • Devices:ZTE Blade, ZTE Blade III
Thank you t0mm13b. Excellent work! :)

It still boots into a black screen for me. I can see from logcat that it boots all the way into Android though, so it goes much further than my own build. There is also no sign in logcat that it would react to touch. I did extract the files from your system.img and trimmed it a bit, but I doubt it would be because of that.

Here's that screen part from logcat when booting:
D/AndroidRuntime(   97): 

D/AndroidRuntime(   97): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<

D/AndroidRuntime(   97): CheckJNI is ON

I/SurfaceFlinger(   96): SurfaceFlinger is starting

I/SurfaceFlinger(   96): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

I/blade.gralloc(   96): using (fd=12)

I/blade.gralloc(   96): id		   = msmfb30_30001

I/blade.gralloc(   96): xres		 = 480 px

I/blade.gralloc(   96): yres		 = 800 px

I/blade.gralloc(   96): xres_virtual = 480 px

I/blade.gralloc(   96): yres_virtual = 1600 px

I/blade.gralloc(   96): bpp		  = 16

I/blade.gralloc(   96): r			= 11:5

I/blade.gralloc(   96): g			=  5:6

I/blade.gralloc(   96): b			=  0:5

I/blade.gralloc(   96): width		= 76 mm (160.421051 dpi)

I/blade.gralloc(   96): height	   = 127 mm (160.000000 dpi)

I/blade.gralloc(   96): refresh rate = 0.14 Hz

D/libEGL  (   96): loaded /system/lib/egl/libGLES_android.so

D/libEGL  (   96): loaded /system/lib/egl/libEGL_adreno200.so

D/libEGL  (   96): loaded /system/lib/egl/libGLESv1_CM_adreno200.so

D/libEGL  (   96): loaded /system/lib/egl/libGLESv2_adreno200.so

E/libEGL  (   96): eglSetSwapRectangleANDROID:1460 error 3008 (EGL_BAD_DISPLAY)

Thanks for the compiling instructions too. Now I have to see if I can breathe new life into by own build. :)


#31
gwebb

gwebb

    Regular

  • Members
  • PipPip
  • 89 posts
  • Gender:Male
  • Devices:GT540, Blade, Nexus S, Nexus 7

View Postt0mm13b, on 23 November 2011 - 09:42 PM, said:

I built this on a Atom N270 1.6Ghz with 2Gb RAM, running Arch Linux 32bit. It took a long while, about 31 hours to be exact. I timed this for the benefit of others to judge if they can get the build to work on a superior specc'd machine.

Well done just for that. :)


#32
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Ad Free
  • PipPipPipPipPipPip
  • 1,775 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b

View Posthedgepigdaniel, on 24 November 2011 - 08:47 AM, said:

I can't get this to work. I've flashed both the system.img and boot.img as you've provided as part of a Gen2 TPT with a 210MB system partition (having checked the hashes before doing the TPT), wiped data and cache, and removed my SD card, but all that happens is that the screen goes completely black soon after the green android has been displayed for a few seconds - basically the phone appears to be off - and it does not respond to anything, including the power button.

I have a UK OLED blade. Any Ideas? @t0mm13b are you testing on an OLED Blade?

EDIT: clockworkmod works fine in the meantime, so the TPT seems to have worked fine.

Mine is TFT.... no idea.... :unsure:

try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#33
ayziaa

ayziaa

    Enthusiast

  • Members
  • PipPipPip
  • 271 posts
  • Gender:Male
  • Location:Lyon, France
  • Devices:OSF, OSD
  • Twitter:@Ayziaa

View Postt0mm13b, on 24 November 2011 - 08:26 AM, said:

You may have to re-read the first post to see that you may have to re-TPT the Blade to get a bigger partition....



Is there a way to know a partition size on the phone?? Because I don't remember!Posted Image

Android folder music player for holo lovers :https://play.google....=fr.ayziaa.App2

#34
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Ad Free
  • PipPipPipPipPipPip
  • 1,775 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b

View PostKonstaT, on 24 November 2011 - 08:57 AM, said:

E/libEGL  (   96): eglSetSwapRectangleANDROID:1460 error 3008 (EGL_BAD_DISPLAY)

Thanks for the compiling instructions too. Now I have to see if I can breathe new life into by own build. :)

That is an interesting error found in frameworks/base/opengl/libagl/egl.cpp

Just wondering is that because the screen density is incorrect for the display for ICS?

static EGLSurface createWindowSurface(EGLDisplay dpy, EGLConfig config,
		NativeWindowType window, const EGLint *attrib_list)
{
	if (egl_display_t::is_valid(dpy) == EGL_FALSE)
		return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); // <-------
//
.... SNIP
The above snippet 'if (egl_display_t::is_valid(dpy)...' is sprinkled all over the place, dpy is resolution for height ..... just saying...

Edited by t0mm13b, 24 November 2011 - 10:19 AM.

try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#35
KonstaT

KonstaT

    Hardcore

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

View Postt0mm13b, on 24 November 2011 - 10:02 AM, said:

That is an interesting error found in frameworks/base/opengl/libagl/egl.cpp

Just wondering is that because the screen density is incorrect for the display for ICS?

static EGLSurface createWindowSurface(EGLDisplay dpy, EGLConfig config,
		NativeWindowType window, const EGLint *attrib_list)
{
	if (egl_display_t::is_valid(dpy) == EGL_FALSE)
		return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); // <-------
//
.... SNIP
There is some other error with adreno200-egl too:
D/libEGL  (  129): loaded /system/lib/egl/libGLES_android.so


D/libEGL  (  129): loaded /system/lib/egl/libEGL_adreno200.so


D/libEGL  (  129): loaded /system/lib/egl/libGLESv1_CM_adreno200.so


D/libEGL  (  129): loaded /system/lib/egl/libGLESv2_adreno200.so


E/Adreno200-EGL(  129): egliSwapWindowSurface: unable to dequeue native buffer


E/SurfaceTexture(   96): [<pid_129>] error binding external texture image 0x99ee0 (slot 0): 0x502


E/Adreno200-EGL(  129): egliSwapWindowSurface: unable to dequeue native buffer


E/Adreno200-EGL(  129): eglLockWindowSurface: unable to dequeue native buffer


E/SurfaceTexture(   96): [<pid_129>] error binding external texture image 0x99ee0 (slot 0): 0x502
And there is more later with surfacetexture...

Actually I saw some life in the screen when I pushed the power button after it was booted to android. I saw a CRT screen off animation. :) Is it even supposed to have that?

I attached couple of logcats from booting if that is any help.

Edit. And I have blade with TFT screen.

Attached Files


Edited by KonstaT, 24 November 2011 - 10:36 AM.


#36
burstlam

burstlam

    Enthusiast

  • MoDaCo Ad Free
  • PipPipPip
  • 283 posts

View Postt0mm13b, on 24 November 2011 - 10:02 AM, said:

That is an interesting error found in frameworks/base/opengl/libagl/egl.cpp

Just wondering is that because the screen density is incorrect for the display for ICS?

static EGLSurface createWindowSurface(EGLDisplay dpy, EGLConfig config,
		NativeWindowType window, const EGLint *attrib_list)
{
	if (egl_display_t::is_valid(dpy) == EGL_FALSE)
		return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); // <-------
//
.... SNIP


Using OLED GEN2 ,STOCK PARTITION
I try repack it to cwm version and set density with ro as we have~
still a black screen

then I replace the files inside egl folder with the hero patch version~ I got the display

touchscreen not working for me


#37
oxyg3n89

oxyg3n89

    Regular

  • Members
  • PipPip
  • 116 posts
  • Gender:Male
  • Location:Lithuania
  • Devices:OSF/OMC/ Huawei U8800pro
http://www.multiupload.com/OVH06T8LFS here is additional link for the same ics image.
i have 160mb system partition and TFT blade, still do not get it, was said 160mb partition too small, won't it work at all ? if it was simple and safe way to change partion size to 210mb i would test that image :) waiting for answers, enjoy share link :D

Edited by oxyg3n89, 24 November 2011 - 11:36 AM.

CM9.

#38
Simono

Simono

    Diehard

  • Members
  • PipPipPipPip
  • 330 posts
  • Gender:Male
  • Devices:Samsung Galaxy S3
As t0mm13b say in first post You can use "Gen1 to Gen2 TPT v8 Stock" metod to change layout partition.

Phone: Samsung Galaxy S3, ROM: stock, 32GB Micro SD Card
ZTE Blade, ROM: CM10

#39
furrabbit.nh

furrabbit.nh

    Regular

  • Members
  • PipPip
  • 71 posts
  • Gender:Male
  • Location:Doncaster Uk
  • Devices:Zte Blade - CM7 7.2.0
updatez.zip for people that want it HERE

Posted Image

#40
ayziaa

ayziaa

    Enthusiast

  • Members
  • PipPipPip
  • 271 posts
  • Gender:Male
  • Location:Lyon, France
  • Devices:OSF, OSD
  • Twitter:@Ayziaa

View Postfurrabbit.nh, on 24 November 2011 - 11:58 AM, said:

updatez.zip for people that want it HERE

Thanks for this. but I get a black screen were I should get android animation and then nothing happen. I resize the partition with gen1 to gen2 tpt  v8 stock but it's the same. I flashed with Clock Work Recovery. Am I doing somethin wrong or missing something?
Sorry for the noob questions on this post!






Edited by ayziaa, 24 November 2011 - 12:31 PM.

Android folder music player for holo lovers :https://play.google....=fr.ayziaa.App2




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users