yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] kajjtan:
Its possible to get titanium backup and restore data, still I dont have this game and cant help
[Android Apps and Games] saigetshu:
in my problem while playing asphalt 5 won't save, I just disable network connection or go into air plane mode. and i can pass every mission and I have all unlocked car's dude. :D
[General Questions and Answers] sandeepaex:
Hi guys,

I have a vodafone 858 (android 2.2) phone. Its battery usage screen isn't giving proper information of power consumption. It shows only these items all the time, like this >

android system 96%

cell standby 4%

phone idle 2%

It has never shown the power consumption of other things. such as display, camera etc.

How can I solve this ?
[General Questions and Answers] st@matis:
its normal.It shows you what has been using the battery more and not what is draining it.If you want rhe camera and other stuff to show up just use them and you gonna see that they will appear
[General Questions and Answers] sandeepaex:
@ st@matis no dude, Its not showing when I used camera. other thing is the display, that is one of the most battery drain things of a phone, but I have never seen battery usage of the screen in battery usage screen.

Also I'm using twitter, facebook and browser all the time, but the damn battery usage screen has never shown them. :(
[General Questions and Answers] st@matis:
damn it..Maybe the usage indicator is non-functional.Try downloading spare parts or betterbatterystats.If you wanna reduce the screen battery drain turn off animations,the screen sensor,haptic feedback and lower brightness
[Galaxy Ace S5830 Original Android Development] Axel2033:
Only for developers!

IT CAN KILL YOUR PHONE!​

​

​

​

​

CyanogenMod 9.0 COOPER KANG ALPHA Android 4.0.3 ICS by TeamHackAce

TEAM:

axel2033 (I am)

Grif07

lagloose

EmoBoiix3

slaid480

djsky2011

wayland_ace

FIRST ALPHA VERSION!!!

configs on github

ALPHA 10

download

Changelog:

Alpha 1-first release

Alpha 2-use kernel by Wayland_ACE, only software acceleration, use js engine

Alpha 3-many files pached and kernel too, don't work adreno 200

Alpha 4-Touchscreen fixed!

Alpha 5-touch working, audio working

Alpha 6-Screen is not flickering, but very slow. Touch works, bad very badly

Alpha 7-Device can wake up from sleep

Alpha 8-Fix touch

Alpha 9-fix wi-fi

Alpha 10-android 4.0.3, fix gallery, audio and network stats

Gapps for ICS

multiupload

Please DONATE ME:)

PayPal : KY32FMN633JNE

WebMoney :

WMZ : Z133095981000

WME : E310660703253

​
[Galaxy Ace S5830 Original Android Development] dragonnn:
Does it boot normally? It's possible to get any screenshots (I know this is a nob question, but I will see how it looks). What about the performance?
[Galaxy Ace S5830 Original Android Development] NJosh:
Omg.. ICS finally on our Ace.. Will wait until it's released for end users like me.. +1 for the effort.. Go CM9.. :D
[Galaxy Ace S5830 Original Android Development] Axel2033:
It is first build and it can't work(
[Galaxy Ace S5830 Original Android Development] dragonnn:
The means no boot? Nothing? Ok waiting for the next effects of you work, you are amazing;).
[Galaxy Ace S5830 Original Android Development] slaid480:
are you killing me what we will do first axel2033,fixing kernel??
[Galaxy Ace S5830 Original Android Development] Axel2033:
I don't think why it don't work(

I think problrm in kernel

may be ketut can hepl)
[Galaxy Ace S5830 Original Android Development] slaid480:
ketut is in china for the moment dude :(
[Galaxy Ace S5830 Original Android Development] music.soul:
Hope we get this as a new Year Gift :D
[Galaxy Ace S5830 Original Android Development] slaid480:
check coolya's github I think he has a fixes kernel for cm9!!!
[Galaxy Ace S5830 Original Android Development] Axel2033:
last change in cooly's kernel was 20 october
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Which problem do u have now? No mount or surfaceflinger wait files?
[Galaxy Ace S5830 Original Android Development] djsky2011:
what kernel are u using, was about to port from this https://github.com/ilarrain/kernel_galaxyace
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Update the update-script :))

Assert failed on device getprop

---------- Post added at 08:08 PM ---------- Previous post was at 08:06 PM ----------

Change this:

to this:
[Galaxy Ace S5830 Original Android Development] Axel2033:
i built my kernel from this sources but it don't work too(
[Galaxy Ace S5830 Original Android Development] djsky2011:
shouldnt the update script read format("ext4", "EMMC", "/dev/block/stl12");

instead of

format("ext4", "EMMC", "/dev/block/stl12", "0");

EDIT: nevermind it basically does the same thing
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Second problem of this build is - kernel.

1) no mount

2) no proper sysfs entries for surfaceflinger
[Galaxy Ace S5830 Original Android Development] slaid480:
what about porting from another device with similare hardware stuff???
[Galaxy Ace S5830 Original Android Development] Axel2033:
I tried six kernels
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
I can fix second error very easy with kernel recompile, but I dont know how to fix no mount error.
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
If I:

make menuconfig or make cooper_defconfig in kernel directory - all ok, if via build script - I got this error. I cant find decision in google :(
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Success! Compiling next...
[Galaxy Ace S5830 Original Android Development] Bayint Naung:
Wish I could help.

But I only know C well. not linux system nor android... :o
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Ok. Now I have a problem:

But I cant find, what file is it: alloc_controller.h. Google keeping silence.
[Galaxy Ace S5830 Original Android Development] CallMeVentus:
Overlaylib.h must have an "include" path for that file , right ?

Something like

#include <alloc_controller.h>
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Yes, hi has. But no file at the disk.

I need this libraries, but I dont know where to get it...
[Galaxy Ace S5830 Original Android Development] Bayint Naung:
android_hardware_qcom_display / libgralloc

alloc_controller.cpp

alloc_controller.h
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
So, we have:

libgralloc.cooper.so - (library in device dir)

/hardware/msm7k/libgralloc

/hardware/msm7k/libgralloc-qsd8k

/hardware/qcom/display/libgralloc

wtf? the last 2 lib are conflicting...
[Galaxy Ace S5830 Original Android Development] CallMeVentus:
In Android.mk of hardware/msm7k , delete libgralloc-qsd8k
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Just renamed.

---------- Post added at 05:49 PM ---------- Previous post was at 05:47 PM ----------

And here I cant delete them - libraries are different
[Galaxy Ace S5830 Original Android Development] lagloose:
Hi

tried a lot of things now, to get things running. But no success. I really think, that anything else doesn't make sense now until we have a working ICS kernel and a working touchscreen (accelerated or not). I will fix, what i can fix without touchscreen and still 'google' the net, if i can find anything that can help you. But it seems to me that you already have found the most promising informations yourself...
[Galaxy Ace S5830 Original Android Development] SpaceCaker:
maybe look by the galaxy gio forum they have an working but not stable ics rom
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
fixed!!! moving forward :)
[Galaxy Ace S5830 Original Android Development] djsky2011:
Fix for egl... FOLLOW THESE STEPS, RECOMPILE AXEL'S OR ILLARAINS KERNEL WITH THE FOLLOWING CHANGES...

1. You need right *.so adreno200. Not all *.so worked with ICS. So we may need to try the blades, skate, p500, desire's, galaxy3 .so files

2. You should patch these files:

DisplayHardware.cpp - selectConfigForPixelFormat

SurfaceFlinger.cpp - SurfaceFlinger::createNormalSurface or define NO_RGBX_8888

eglApi.cpp - eglSwapBuffers

glext.h - remap GL_TEXTURE_EXTERNAL_OES

gl2ext.h - remap GL_TEXTURE_EXTERNAL_OES

state.cpp - fix case GL_TEXTURE_EXTERNAL_OES

BootAnimation.cpp - BootAnimation::android()

I have a copy of the these modified files but laptop not powerful enough to compile kernel on windows. Compile any of these kernels or a mixture of.

https://github.com/ilarrain/kernel_galaxyace

https://github.com/teamhacksung/android_device_samsung_cooper

https://github.com/TeamHackAce/device_cooper_cm9

any compile errors just post here or substitute missing files from another of these kernel sources
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
bionic/libc/kernel/common/linux/{fb.h, msm_mdp.h, ashmem.h, android_pmem.h}: must be updated from kernel-headers (missing data) (dont copy over, some things are added for android system!)
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Does anybody know in which library this is defined?
[Galaxy Ace S5830 Original Android Development] lagloose:
Sorry, but i do not really understand... What do you mean by 'Fix' ? Do you have a working screen ? No flickering ? Be more specific with the patches. Perhaps you should upload the patched files here packed in a zip..
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Issues, that i posted before are fixed :)
[Galaxy Ace S5830 Original Android Development] Bayint Naung:
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:63: error: 'HWC_FLAGS_PRIVATE_0' was not declared in this scope
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:64: error: 'HWC_FLAGS_PRIVATE_1' was not declared in this scope
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:65: error: 'HWC_FLAGS_PRIVATE_3' was not declared in this scope

These should be due to header file problem. Included header files in hwcomposer.cpp should have definition of these.

Perhaps header files are not updated?
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
No, these definitions were missing!
[Galaxy Ace S5830 Original Android Development] lagloose:
Are you talking about CM9 ICS git ? Strange... i even do not have a 'qcom' directory anymore. hwcompser.cpp is found in 'hardware/libhardware/modules/hwcomposer/hwcomposer.cpp'.

Under android/system I did:

find . -name "*.h" | xargs grep HWC_FLAGS_PRIVATE

and

find . -name "*.cpp" | xargs grep HWC_FLAGS_PRIVATE

both no result...

???
[Galaxy Ace S5830 Original Android Development] djsky2011:
kernel patches

These are some patches that should be compiled in new kernel in order for display to function
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Yes, CM9 ICS. I had restored a lot of code...
[Galaxy Ace S5830 Original Android Development] djsky2011:
i can provide that file hwcomposer.cpp if u need it or qcom folder
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
It must be here: /hardware/libhardware/include/hardware/hwcomposer.h by these 3 patches

https://www.codeaurora.org/gitweb/q...;hpb=44502668438dcd1033a3fe52da2107a3a8e1cd79

https://www.codeaurora.org/gitweb/q...;hpb=8be60f653d16b989973660fd9229a926f78e5a19

https://www.codeaurora.org/gitweb/q...;hpb=ba25cec0abbebc11d0f13a38d490745a6638abfc

---------- Post added at 11:41 PM ---------- Previous post was at 10:51 PM ----------

Need board option to disable HDMI feature
[Galaxy Ace S5830 Original Android Development] slaid480:
PfffffffffI feel bad about that ,I have done prt from ZTe with last patches and acelaration but stock at android text
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
What do u mean?

---------- Post added 14th December 2011 at 12:01 AM ---------- Previous post was 13th December 2011 at 11:58 PM ----------

adb logcat?

---------- Post added at 12:02 AM ---------- Previous post was at 12:01 AM ----------

Yahooooo.... compiling is finished!!! Will try boot...
[Galaxy Ace S5830 Original Android Development] slaid480:
when I flash I stocked at ANDTOID white text

I hope you can boot with working touch
[Galaxy Ace S5830 Original Android Development] djsky2011:
can u even get into logcat?
[Galaxy Ace S5830 Original Android Development] slaid480:
oh my god ,I forgot it and restore my back up I will upload the rom tomorrow if wyland failed to boot too
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
I cant unpack system.img and boot.img :(((
[Galaxy Ace S5830 Original Android Development] djsky2011:
what happens when u try to unpack?
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
operation incomplete

files contents may be broken

---------- Post added at 01:17 AM ---------- Previous post was at 12:29 AM ----------

libgralloc.msm7k - working

hwcomposer.msm7k - working

genlock - working

Launcher - WORKING (loaded fully, like in photo (not my))

screenshot

But screen still flicking (I not tryed yet load adreno200 driver)

logcat: http://cs.fill.ee/ics/logcat.txt
[Galaxy Ace S5830 Original Android Development] djsky2011:
Good news i think, seems like we need to tweak dalvik, maybe that will help fix the screen flicker
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
we need to run adreno200 driver :)
[Galaxy Ace S5830 Original Android Development] djsky2011:
can upload and inbox me zip so i can edit a few scripts and files plz :)
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
E/msm7k.gralloc( 164): period: 10

E/msm7k.gralloc( 164): ignorethresh_us: 500000

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

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

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

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

E/libEGL ( 164): eglSetSwapRectangleANDROID:1463 error 3008 (EGL_BAD_DISPLAY)
[Galaxy Ace S5830 Original Android Development] djsky2011:
what EGL drivers are u using, try using one from the blade
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
http://cs.fill.ee/ics/cm_boot2.zip - please, update the header of the topic :)

By the way, here is modified kernel

P.S Dont forget "Thanks" :)
[Galaxy Ace S5830 Original Android Development] djsky2011:
the redraw is slow, refresh rate maybe??.... back and menu keys respond to touch.

E/msm7k.hwcomposer( 157): hwc_set invalid list or module

E/libEGL ( 157): called unimplemented OpenGL ES API

E/libEGL ( 157): called unimplemented OpenGL ES API

E/libEGL ( 157): called unimplemented OpenGL ES API

E/libEGL ( 157): called unimplemented OpenGL ES API

E/libEGL ( 157): called unimplemented OpenGL ES API

E/libEGL ( 157): called unimplemented OpenGL ES API

E/libEGL ( 157): called unimplemented OpenGL ES API

E/libEGL ( 157): called unimplemented OpenGL ES API

E/libEGL ( 157): called unimplemented OpenGL ES API

E/libEGL ( 157): called unimplemented OpenGL ES API

W/WindowManager( 157): Failure taking screenshot for (120x180) to layer 21010

W/NetworkManagementSocketTagger( 157): setKernelCountSet(10019, 0) failed with errno -2

D/SurfaceFlinger( 157): About to give-up screen, flinger = 0x20a248

E/msm7k.hwcomposer( 157): hwc_set invalid list or module

--------------------------------------------------------------------------

those drivers are causing a lot of problems :eek:
[Galaxy Ace S5830 Original Android Development] lexyin:
I want to knonw how to flash it ??:confused:
[Galaxy Ace S5830 Original Android Development] Axel2033:
Only for developers!!!

P.s. alpha 3 for now
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Where did u got that logcat entries?

---------- Post added at 09:38 AM ---------- Previous post was at 09:19 AM ----------

Found another hack for EGL, will try it
[Galaxy Ace S5830 Original Android Development] lagloose:
found this in Galaxy S Forum:

---

Originally Posted by koaaN View Post

I tried the honeycomb libs to, i got them all to load but then it crashes (libEGL : eglSetSwapRectangleANDROID:1460 error 3008 (EGL_BAD_DISPLAY) )

You need the hwcomposer, liboverlay, and you may need generic egl libs in system/lib/

I used the EGL libs for the system from the SDK, they seem most generic and working.

The bad display is usually that it cannot properly detect your display size. It is fixable, and a lot better than just giving up completely. I will look into it when I get home and find out how I got past the same error.

---
[Galaxy Ace S5830 Original Android Development] olecom:
go ahead . man:)
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Probably I found decision, need recompile again and will test today :)
[Galaxy Ace S5830 Original Android Development] lailero:
GREAT JOB guys!!! you must know that lot of people are following this forum to know all the progress so we thank you to explain what are you doing at the moment and how is all working!!

Keep the good work!!!

Salu2!!!
[Galaxy Ace S5830 Original Android Development] traduz:
Axel2033

You should give the proper credits of the rom, it should be by Wayland_ACE, not by you, and the other names on the team.

He's doing all the hard work. And all you do is the link for github and in the first post. pfff

and i'm saying that because i read all the pages.
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
So recompiling result looks good. But I need to test it (today, at evening) and if any result, I'll upload modified rom.
[Galaxy Ace S5830 Original Android Development] consegregate:
If the developer feels that it's unfair he should upload his work on a separate thread as a release.

But I guess this is a work in progress, everyone wants to make it happen and all the help they have is all the help they need.

So meanwhile let it happen, and not argue about who's got the most credit over something still not released.

Cheers :)
[Galaxy Ace S5830 Original Android Development] djsky2011:
wow wayland ur kernel building skills are quite good :), who's github are u using?.... i think u need to setup ur own github with all the changes so that future kernels can be built without all the hard work.
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
I used not only github, a I had made a lof of changes, that had found on google or rewrited myself. github probably not bad idea, but I had never worked before with it, even with git :)
[Galaxy Ace S5830 Original Android Development] djsky2011:
currently adding a few non kernel mods, fingers crossed
[Galaxy Ace S5830 Original Android Development] slaid480:
hey you I have compile alot with 3 builds but still not working and then you say just wyland that work :mad: please this thread is for devs be away
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
What things?
[Galaxy Ace S5830 Original Android Development] djsky2011:
driver related.... even tho hardware acceleration isnt working, software should def work.... we need compatible generic drivers
[Galaxy Ace S5830 Original Android Development] slaid480:
I think I will try to compile another time without accelaration
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Just wait a little bit :) Probably it will work, I hope :))) I had recompiled gralloc and hwcomposer modules with some additional patches. (and some other libraries too)
[Galaxy Ace S5830 Original Android Development] slaid480:
yeah but don't forget it's galaxy ace not a high-end devices that can run everything on ICS,that's why I'm a liltle bit :(
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
2d acceleration - not a heavy operation :) My current goal - fix flickering and get normal launcher lock screen. (It already done, but flickering still exists). But for this fixes we need to get HW accel.
[Galaxy Ace S5830 Original Android Development] slaid480:
you cen use ones from ZTE BLADE like I have done;)
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
And HW accel is working for u or screen is not flickering?

---------- Post added at 04:27 PM ---------- Previous post was at 04:16 PM ----------

I'm currently studing a logcat strace:

refresh rate - 0 !? WTF? I think I can be related to flickering problem.

---------- Post added at 04:31 PM ---------- Previous post was at 04:27 PM ----------

By latest patch, that I applied, it must be proper refresh rate after update. refresh rate calculating BEFORE loading drivers. So, I hope we fixed flickering problem... want to test it ASAP!!!
[Galaxy Ace S5830 Original Android Development] djsky2011:
that refresh rate is def wrong and proves my theory about screen not refreshing, thats why A N D R O I D logo remains even after boot... i'm currently looking for the SDK drivers
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
I already compiled the library with RR fix!!! Just I have not device near me. Maybe 1-2 hours...
[Galaxy Ace S5830 Original Android Development] kevinkrs:
I can test for you. I have my ace near me xD
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
Thanks, but I need to do it itself
[Galaxy Ace S5830 Original Android Development] TheWeirdOne:
Well, I probably shouldn't whine, but then again, this is what happened on my phone (Think of it as feedback, and don't flame me, or anything along those lines)

Alpha1: Just stuck at that android screen.

Build 2: Gets further than that, but the entire thing's a tad flickery, and the touch is non-responsive when it gets to the 'enter your pin' part, and doesn't get any further than that :| .

I'll wait for build four, then. #smiley face#
[Galaxy Ace S5830 Original Android Development] anshsahajpal:
Can someone please tell me what's the current problem woth the rom....did u got it to boot??
[Galaxy Ace S5830 Original Android Development] prateek_gemini:
read the 24 pages ... u will get the idea ...( they have booted but screen flickers and drivers not working etc.) guys i request that this thread remains for devs only .... dnt post ..... they know the problems and they r working on it .. :-)
[Galaxy Ace S5830 Original Android Development] slaid480:
Same problem here on my build wayland
[Galaxy Ace S5830 Original Android Development] djsky2011:
Guys no questions only suggestions allowed from NON DEVS!!, the problems we are facing are similar to any other ICS port in the Alpha stage. For those following this thread we need proper Adreno200 drivers. If that fails we will have to resort to modding the kernel, which has already started ;)
[Galaxy Ace S5830 Original Android Development] slaid480:
ZTE BLADE has adreno200 witch mean we can use it's proper drivers from latest build guys,what do you think about that???
[Galaxy Ace S5830 Original Android Development] CallMeVentus:
We need to port it .
[Galaxy Ace S5830 Original Android Development] Wayland_ACE:
I'm at home... will start to test now :)
[Galaxy Ace S5830 Original Android Development] djsky2011:
i'm going to setup a github so u can upload your sources. Will make development a lot easier ;)

edit: Goodluck!
[Galaxy Ace S5830 Original Android Development] xDragonZ:
Dont forget to share the github repo link , so that we can fork it
[Galaxy Ace S5830 Original Android Development] djsky2011:
Are u developing also?
[Galaxy Ace S5830 Original Android Development] daredj:
I'm back... wow you did a lot of changes in 1 week!

About adreno200, some of these devices use it:

Wildfire S

Galaxy Ace

Galaxy Gio

Optimus Net

Optimus Hub

ZTE Skate

Huawei smart bar

Ideos X3

Nexus ONE

HTC Desire

Also:

I was searching about ics roms for the above devices, and maybe can be usefull:

-ZTE Skate (Should try to contact with him, maybe he can talk about how he "hacked" Graphics..) : http://android.modaco.com/topic/348745-cyanogenmod-9-for-zte-skate-updated-1312/

-Nexus One (Can't use hardware aceleration, needs msm-3.0): http://xdaforums.com/showthread.php?t=1366897

-HTC Desire (hacked gpu aceleration too, also gives email of Qualcomm's CEO to petition source of adreno): http://xdaforums.com/showthread.php?t=1355660

Maybe you can use drivers of those devices, i'm not ready to compile my own rom, but in my opinion these links should be helpfull

Greetings!
[Galaxy Ace S5830 Original Android Development] djsky2011:
I have narrowed down the problem thanks to marcelleusb from galaxy3 thread to the gralloc lib, what u think wayland?