[WIP] ICS Kernel Development for HW Acceleration, Camera - Desire HD Android Development

..................

Thanks to MN for starting this thread
In order for our devices to support hardware acceleration we need to use the latest kernel for our devices, this is msm-3.0 from qualcomm
I'm currently trying to port this kernel to msm7x30 devices
Currently looking into Desire HD/ Desire/ Nexus
Looks like nexus will be the first device with new kernel
What's done:
Crypto
touchscreen
GPU
ZSL/Camera
WIFI
Light sensor
Proximity sensor
Ext3/ext4 filesystem (no more slow yaffs)
Framebuffer
MDP
Audio
Needs to be done:
Many things
What happens when I boot? right previously it vibrated 7 times, now it stays at htc logo
Thanks to all the developers that are trying to get the new kernel running

[Calling All Kernel Devs] ICS Kernel Help(HW Acceleration, Camera)
PLEASE KEEP THIS THREAD CLEAN DEVS ONLY
Hi All,
This is a call-out to any KERNEL DEVS who is willing/want to help create a new updated kernel that is compatible with ICS. In order for some new features in ICS to work, an updated kernel is needed due to changes. Through this thread I hope we can accomplish and implement many of the new features of ICS that rely on kernel modifications.
Problems that are currently related to kernel are:
-HW Acceleration
-Camera
-(more to follow..)
Hardware Acceleration: (Big Thanks to shaky153 for the libs)
Adreno Libs for real hw acceleration only:
http://www.multiupload.com/XSDZH84NX8
Click to expand...
Click to collapse
FOR DEVS ONLY
link to libs for hw acceleration, grallocs not included as im working on that and other things just now:
libs:
libmemalloc
libgenalock
libhwcomposer
liboverlay
http://www.multiupload.com/AFPSW49SVT
the above files do work
dumpstate of system showed
h/w composer present and enabled
Code:
Hardware Composer state:
numHwLayers=1, flags=00000000
type | handle | hints | flags | tr | blend | format | source crop | frame name
----------+----------+----------+----------+----+-------+----------+---------------------------+--------------------------------
FB | 00000000 | 00000000 | 00000001 | 00 | 00105 | ffffffff | [ 0, 0, 480, 800] | [ 0, 0, 480, 800]
Allocated buffers:
0x17358: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000933
0x174e8: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000933
Total allocated (estimate): 3000.00 KB
hw composer runs gooooooood
libmemalloc initialises pmem, you can see this in logcat
D/memalloc( 1176): init_pmem_area: Initializing pmem area
D/memalloc( 1176): init_pmem_area_locked: Opening master pmem FD
D/memalloc( 1176): init_pmem_area_locked: Total pmem size: 33554432
D/memalloc( 1176): /dev/pmem: Allocated buffer base:0x4134c000 size:1536000 offset:0 fd:19
D/memalloc( 1261): /dev/pmem: Mapped buffer base:0x40797000 size:1536000 offset:0 fd:15
Click to expand...
Click to collapse
This is a libegl that inits adreno libs properly, Im not sure if anyone else has them or if it makes any difference, I did noticed that things have been changed n hacked on this current build, but this is how the libegl should initialise properly, its without any hacks
http://www.multiupload.com/T1JK316K0W
DEVS ONLY
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Thank You for taking time to read this and I hope we can accomplish this as a community.

Just to clear up any confusion and not to take any digs at zfreak or LordClockan, that what we are trying to achieve here is different to the HW Acel that these two have.
What we are trying to achieve here is real HW Acceleration and not a hacked up version. This in turn means:
-The whole UI will be fully accelerated
-There will not be 1000's of errors on saying 'Unable to dequeue native buffer'
-Uses hwcomposer

And another...

And one more...

kuklux said:
You just create another useless thread and beside zfreak thread is all doing that staff maybe you should drop into his thread not creating redundant thread just my cent
Sorry
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
and how is this thread useless?? please elaborate?

kuklux said:
You just create another useless thread and beside zfreak thread is all doing that staff maybe you should drop into his thread not creating redundant thread just my cent
Sorry
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
I am in no way creating a redundant thread, i have created this to gather the kernel devs to one location so they can help. PLEASE KEEP THE THREAD CLEAN.

kuklux said:
You just create another useless thread and beside zfreak thread is all doing that staff maybe you should drop into his thread not creating redundant thread just my cent
Sorry
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
zFr3eak is doing post-compile, slightly random lib swaps to get things running for users that can't wait until the source is built properly.
These libs are being tested against actual source to integrate into a real build.
The only thing redundant is people with no concept of what these posts mean providing commentary filled with uneducated opinions about them.

kuklux said:
This one guy is giving up
so good luck guys!...
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
But we have great minds like you to fill in. I think well be ok.
Anyway, back to intelligent conversation, are you guys building the kernel within the source, or just using header references?
Sent from my ADR6400L using Tapatalk

twistedumbrella said:
But we have great minds like you to fill in. I think well be ok.
Anyway, back to intelligent conversation, are you guys building the kernel within the source, or just using header references?
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
at this moment only header refrences, as we dont have the new kernel on dhd yet

DHD kernel if anyone wants to test
http://www.multiupload.com/YTLAJXOTH1

shaky153 said:
DHD kernel if anyone wants to test
http://www.multiupload.com/YTLAJXOTH1
Click to expand...
Click to collapse
it boots, but ts is not working at all, can't test further
in the logcat:
Code:
E/Adreno200-EGL( 1434): egliSwapWindowSurface: unable to dequeue native buffer

perfect!!, thats expected, was gna test right now, but ill test something else now thanks to you!

new adreno libs incoming

for?
hacked version or non hacked with your kernel?
you compiled them or??

http://www.multiupload.com/XSDZH84NX8
Adreno libs for real hw acceleration only
MN update op pls thanks
@lord its real hw accel

so we can disable hacks and use those libs?
or?

LorD ClockaN said:
so we can disable hacks and use those libs?
or?
Click to expand...
Click to collapse
no we cannot use them yet
---------- Post added at 11:38 PM ---------- Previous post was at 11:32 PM ----------
error I/Adreno ( 1209): ioctl code 0xc00c0902 (IOCTL_KGSL_DEVICE_GETPROPERTY) failed: errno 22 Invalid argument
---------- Post added at 11:38 PM ---------- Previous post was at 11:38 PM ----------
check out this camera
I/CameraService( 1212): CameraService started (pid=1212)

great stuff!!
so now we need modded kernel or?
---------- Post added at 10:59 PM ---------- Previous post was at 10:40 PM ----------
also think that not all libs are for gpu... maybe only one is for camera??!!

Related

[BETA 2] AOSP Gingerbread 2.3.7

Hi Guys....I'm PROUD to release the first BETA of the AOSP rom!)) Let's see the features:
AOSP pure code based on 2.3.7
kernel .35
REVERTED TO AOSP LOCKSCREEN-NEW!!!!!!!!!
Imported power menu from CyanogenMod ( imported only reboot.h library )
USE OF ALL APPS FROM AOSP SOURCES-NEW!!!
Used Mik_os frameworks folder for resolve many bugs so maybe you can find traces of CyanogenMod code
Rooted during compilation
NEED GBAPPS TO FLASH MARKET!!!!(ALSO AOSP NEED THIS AND THIS IS A SURPRISE FOR ME)
FOR OLD BASEBAND!!!!
MODIFIED SURFACEFLINGER.H AND SURFACEFLINGER.CPP TO SUPPORT PERSIST.SYS.USE_16BPP_ALPHA TO GAIN SMOOTHNESS WHEN SCROLLING
OVERALL UI PERFORMANCES GAINED-NEW!!!!!
MODIFIED A BIT EGL DRIVER(@729 OBTAINED 300FPS IN 1ST QUADRANT TEST AND 15 FPS IN 3THD QUADRANT TEST)-NEW!!!!
IMPLEMENTED LATEST FRANCO.KERNEL-NEW!!!!
FIX FOR ELECTRONBEAM ANIMATION THAT LIGHTS UP AFTER UNLOCK(maybe a bug in StageFright replaced with CAF but i need test)-NEW!!!!!
SOME OPTIMIZATIONS CODE!-NEW!!!!!
FIXED HSDPA ICON!(NOW IT SHOWS CORRECTLY)
It works:
Usb
Wifi
adb
audio
sd
gps
camera
shutdown
Usb
GSM-NEW!!
UI-NEW!!
BLUETOOTH-NEW!!
ACCELEROMETHER-NEW!!!!!
doesn't work:
ScreenShots
Headset icon is not showing in statusbar but headset are workin'
AOSP browser still don't work
here the link for the download:http://www.multiupload.com/C1SBJLC0UL
Thanks to
Mik and Andy for help me fixing some bugs
FranciscoFranco for his kernel
drnotor for help me with annoynig NTFS filesystem (looooool)
*******WHAT'S NEXT*************
Workin' on ICS!!!!
Was waiting for a aosp rom, good luck with this.
Thanks for yuA hard work
Sent from LG O¹ • miks cyanogen7.1 with latest testing release kernel v1.1 and v19.3♦• using tapatalk
I really hope you'll make this work, an AOSP rom is just what I would like now.
Good luck with your work!
BTW, if you need some beta testing I think I can help you
Finally a nexus s I CAN AFFORD! Thanks!
Wasn't andy's ROM AOSP too?
ciaox said:
Wasn't andy's ROM AOSP too?
Click to expand...
Click to collapse
Yes it was, but now we don't have another one...
ciaox said:
Wasn't andy's ROM AOSP too?
Click to expand...
Click to collapse
22VIN said:
Yes it was, but now we don't have another one...
Click to expand...
Click to collapse
Yes and no. Andy's rom was based on CAF code (if i remember correctly). CAF code is based on AOSP but it is a different code. Mine rom is based totally on Google code.
Howewer i had an idea......AOSP android 2.3.5 doesn't allow to use 2.2 libraries(i thinked so but it isn't unfrotunately) like CM7.....and i've used these from mik's github...we have a gingerbread update and so 2.3 libraries...i can retrieve these with dsxida's kitchen.....then try to recompile the entire system (even if lg **** 2.3.3 code will doesn't annoying me)but i have the suspect that i must use the new baseband.......see what happens in the next days
any update??????
He has started the thread yesterday only. Let us give him some time to work on it first.
Ok, one question... Is it based on .32 kernel or .35 kernel? Or best someone who ports .38 kernel...
Sent from LGE XDA phone wit Matt's v6.5.7(1.1)
dax4182 said:
Ok, one question... Is it based on .32 kernel or .35 kernel? Or best someone who ports .38 kernel...
Sent from LGE XDA phone wit Matt's v6.5.7(1.1)
Click to expand...
Click to collapse
based on .35 kernel!....now i'm trying to resolve gsm problem (maybe it is a binder problem i've applied some fixes)!
lupohirp said:
based on .35 kernel!....now i'm trying to resolve gsm problem (maybe it is a binder problem i've applied some fixes)!
Click to expand...
Click to collapse
Cool, hope never bricks my phone...
Sent from LGE XDA phone wit Matt's v6.5.7(1.1)
gkarthik16 said:
He has started the thread yesterday only. Let us give him some time to work on it first.
Click to expand...
Click to collapse
Yeah!! But eager to know about his awesome working progress
Sent from my LG-P500 using Tapatalk
grrrrr... NOTHING!!!! it still gave me the same error!(((
Code:
rild
dlopen failed: Cannot load library: link_image[1962]: 2048 could not load neede
d library 'liblgdrm.so' for 'libril-qc-1.so' (reloc_library[1311]: 2048 cannot
locate '_ZNK7android6Parcel16enforceInterfaceERKNS_8String16E'...
)
i've reworked the parcel adding this in PARCEL.CPP
Code:
// LGDRM Section for rild
bool Parcel::enforceInterface(const String16& interface) const
{
return enforceInterface(interface,NULL);
}
and in Parcel.h
Code:
#ifdef _INTERNAL_BINDER_PARCEL_
bool enforceInterface(const String16& interface) const;
#endif
but without success ((((...could anyone help me????i don't think it is only a permission problem.....
Need more patient i think, i saw andy have problem like u... u can read on his topic, before he build last rom and after he delete cm7 rom.. he said something strange with code.. i think u need go and search on another forum.
Have a good luck sir, hope u still doing this project...
Sent from my LG-P500
lupohirp said:
grrrrr... NOTHING!!!! it still gave me the same error!(((
Code:
rild
dlopen failed: Cannot load library: link_image[1962]: 2048 could not load neede
d library 'liblgdrm.so' for 'libril-qc-1.so' (reloc_library[1311]: 2048 cannot
locate '_ZNK7android6Parcel16enforceInterfaceERKNS_8String16E'...
)
i've reworked the parcel adding this in PARCEL.CPP
Code:
// LGDRM Section for rild
bool Parcel::enforceInterface(const String16& interface) const
{
return enforceInterface(interface,NULL);
}
and in Parcel.h
Code:
#ifdef _INTERNAL_BINDER_PARCEL_
bool enforceInterface(const String16& interface) const;
#endif
but without success ((((...could anyone help me????i don't think it is only a permission problem.....
Click to expand...
Click to collapse
Better, you use CAF instead of AOSP: CAF is optimized for MSM devices,
so you have some more luck to get things work.
BTW: RILD cant be used as a compiled thing from android source, LG has
many modifications made to use the baseband. these baseband version
differs in AOSP and CAF/CM7, so better use compiled **** from LG - that should
work.
andy572 said:
Better, you use CAF instead of AOSP: CAF is optimized for MSM devices,
so you have some more luck to get things work.
BTW: RILD cant be used as a compiled thing from android source, LG has
many modifications made to use the baseband. these baseband version
differs in AOSP and CAF/CM7, so better use compiled **** from LG - that should
work.
Click to expand...
Click to collapse
infact i'm downloading the coeduarora sources and try their rild libraries ...BTW i've maded some modifcations to opensource gralloc (set 16 bit per pixel instead of 32 bit in framebuffer.cpp to gain more smoothness ) but i dunno how to compile it.....i've only to copy the libgralloc folder in device/lge/thunderg and then compile or i must call somewhere in the device folder????sorry for the dumb question but i'm very new to android ((
lupohirp said:
infact i'm downloading the coeduarora sources and try their rild libraries ...BTW i've maded some modifcations to opensource gralloc (set 16 bit per pixel instead of 32 bit in framebuffer.cpp to gain more smoothness ) but i dunno how to compile it.....i've only to copy the libgralloc folder in device/lge/thunderg and then compile or i must call somewhere in the device folder????sorry for the dumb question but i'm very new to android ((
Click to expand...
Click to collapse
I'm not even sure P500 supports 32-bits framebuffer, not even my x5 does so that was a good call.
franciscofranco said:
I'm not even sure P500 supports 32-bits framebuffer, not even my x5 does so that was a good call.
Click to expand...
Click to collapse
infact i use the opensource libgralloc.....and i founded that it use a 32-bit per pixel (think was the reason also to the strange UI behaviour that i have) i set 16 bit and see...also made some changes to framework....now i'm going to recompile to see what happens...i've copied only libgralloc folder in device

[rom][23.08.2012 - TUK][linaro]Unknown CM9[Port - Supercharged - Tweaked]

BEFORE YOU GO ON READING, READ THIS !!!!!​
Another pure version of CM9 but this is a port of Linaro version...For what is linaro?...please use Google...
This rom isn't based on our CM9, just use some libs from our device to boot up...don't mistake me
and Supercharged...
Click to expand...
Click to collapse
FEATURE LIST
Linaro toolchain 4.6
Supercharged
Heavy tweaked
S3's sounds
Hefe 0.8.0 kernel (Jeffsf's work)
Thomas's LZ scripts
Change log
Code:
[B]19.08.2012[/B]
[LIST]
[*]First build
[*]Hefe Kernel of JEFFSF...BIG THANKS TO HIM
[*]Tweaked build.prop
[*]Supercharged
[*]Init.d Tweaks from Thomas (Unknown gapps)
[*]Exclusive gapps
[*]Added some sounds
[*]Cleaned some stuffs
[/list]
[B]23.08.2012[/B]
[list]
---------------Carlos's work
[*] Second build by [B][COLOR="Red"]Carlos[/COLOR][/B]
[*]Remove some extra lines that maybe could cause phone slow down
[*]Added my first personal init.d tweak (specially made for Unknown CM9) that adds better internet speed and, increase ondemand scheduler responsive so it should be smooth ) (personal tweak name's 12tweak)
[*]Added sony bravia
[*]Ported some libs and lines from samsung galaxy s 4g beam(with my permission literally)
[*]Some corrections in the build.prop and with more tweaks
[*]Increased GPS speed
[*]JELLYBEAM look!!
---------------My work
[*]Updated kernel to Hefe 0.8.1
[*]Cleaned some stuffs
[/list]
---------------Gapps version 2
[list]
[*]Some minor init.d tweaks problems
[*]Some dump stuff not very important
[*]Revert back to Google Search
[*]Version FB w/o tweaks for who wants faster boot time (but still Supercharged)
[/LIST]
Download LinksRom​
First testing build (94.64MB)
MD5: 1cb1da23332133ffc64ca073f3e32d64
Second build By Carlos
Second testing build (94.35MB)
MD5: c95819036bb557503be13d29fb8d8bfc​Gapps and Morphine​
Uknown gapps
MD5: 9d29becfb711980f04d4b17f1582b4b9
Uknown gapps v2 Mirror By Carloshttps://dl.dropbox.com/u/86760139/unknown_gapps.ziphttps://dl.dropbox.com/u/86760139/unknown_gapps.zip
MD5: 89b46e94c27fe8f2fe419906c6884741
Uknown gapps v2 FB (Faster boot - No tweak but still supercharged)
MD5: 554b883056547403412bb40526fd4929​
Bugs
CM9 bugs
You tell me
INSTRUCTION
YOU MUST BE ON ICS TO FLASH THIS
Download the ROM zip file to your SD card
Reboot to CWM/TWRP
Do a factory reset
Format /system
Flash the ROM using CWM/TWRP
(Optional) Flash Unknown_gapps if you want the Market plus other Google apps and Tweaks
Reboot to the ROM
Let it sit for 10 mins
If you previously had IMEI/EFS problems, flash back to stock with my Heimdall OneClick, then Heimdall OneClick either AntonX's or Hampsterblade's kernel with CWM, then flash CM9 from there.
Flashing from 3.0.2.8 recovery does not work. Make sure the version of your recovery is 5.0.2.x (x being 7 or 8).
Got problems? Ask in the Q&A Thread!
CREDITS​
Cyanogen team
zeppelinrox
Kylesum
Team Acid (Especially JT, Bryan, Fernando,...)
Team Kickass - (Especially Thomas, Erikmm,...)
Team Unknown (my mates...)
Jeffsf
Juan - Mr.dope for graphics logo and some will come in future so stay tuned ^^
Carlos Maintainer w me
Here is the Q&A thread
http://forum.xda-developers.com/showthread.php?p=30431015#post30431015
brandonc0526 said:
Here is the Q&A thread
http://forum.xda-developers.com/showthread.php?p=30431015#post30431015
Click to expand...
Click to collapse
Thanks man...Idk if we need it or not since this is CM9 anw ^^
P/s: I had some trouble w Goo and now my parents force me to go to sleep so...I will upload it again at 4.00AM (at most ur evening I think)...Sorry for this trouble...
daothanhduy1996 said:
Thanks man...Idk if we need it or not since this is CM9 anw ^^
P/s: I had some trouble w Goo and now my parents force me to go to sleep so...I will upload it again at 4.00AM (at most ur evening I think)...Sorry for this trouble...
Click to expand...
Click to collapse
I think it does since its a different build/version of CM9 then what we already currently have. And don't worry about it, we can wait
seems really cool. If you google and actually read about it.i noticed a link wasnt up was wondering if it will be back up soon or can we just use the packages from the linaro website. I would rather have the port to save time trouble. Says linaro about doubles the speed in their cm9 version. Sorry i got an error posting to qa
Sent from my SGH-T959V using XDA Premium HD app
Okay, Links are up now, you can flash and try it now ^^
For who uses Wifi, maybe u will have a quick battery drain, if u want to save some juice, you can do the following steps: before flashing, open the zip file and modify the build.prop by deleting this line: wifi.supplicant_scan_interval=20 (just that line)
Your warranty now is void
AGAIN, YOU MUST BE ON ICS TO FLASH THIS
P/s: This rom was built by Linaro toolchain 4.6 but our kernels weren't so, if u don't get it at full speed as u hope, don't comment bad things in this thread...Thank you
Pp/s: Hit thanks if u like
Nice job dao. I will be back to android soon hope to start a new project so be ready!
This rom is really fast. Only bug that i found on few other roms. When adding lockscreen as toggle for pulldown bar it dont lock screen when selected
Sent from my SGH-T959V using XDA Premium HD app
update coming just wait like..........................two hours depending internet mood
okay links up there have been several butter changes
Unknown CM9 2 and Unknown gapps 2
Unknown CM9 Changes​
Click to expand...
Click to collapse
* Remove some extra lines that maybe could cause phone slow down
*Added my first personal init.d tweak (specially made for Unknown CM9) that adds better internet speed and, increase ondemand scheduler responsive so it should be smooth ) (personal tweak name's 12tweak)
*Added sony bravia
*Ported some libs and lines from samsung galaxy s 4g beam(with my permission literally)
*Some corrections in the build.prop and with more tweaks
*Increased GPS speed
*JELLYBEAM look!!
Click to expand...
Click to collapse
Unknown gapps changes
Click to expand...
Click to collapse
​
*Some minor init.d tweaks problems
*Some dump stuff not very important
Click to expand...
Click to collapse
WiFi doesn't seem to be enabling at all. I'll get a log for you in the morning..
**edit**
seems to be an issue with the Wi-Fi driver..
Sent from my SGH-T959V using xda app-developers app
---------- Post added at 06:43 AM ---------- Previous post was at 05:55 AM ----------
--------- beginning of /dev/log/system
W/InputManagerService( 4286): Window already focused, ignoring focus gain of: [email protected]
--------- beginning of /dev/log/main
D/AudioHardware( 450): AudioHardware pcm playback is going to standby.
V/AudioHardware( 450): closeMixer_l() mMixerOpenCnt: 1
D/AudioHardware( 450): closePcmOut_l() mPcmOpenCnt: 1
I/ActivityManager( 4286): START {act=android.settings.SETTINGS flg=0x10000000 cmp=com.android.settings/.Settings} from pid 15889
D/AudioHardware( 450): AudioHardware pcm playback is exiting standby.
V/AudioHardware( 450): open pcm_out driver
D/AudioHardware( 450): openPcmOut_l() mPcmOpenCnt: 0
V/AudioHardware( 450): openMixer_l() mMixerOpenCnt: 0
V/AudioHardware( 450): open playback normal
V/AudioHardware( 450): write() wakeup setting route SPK
I/ActivityManager( 4286): Start proc com.android.settings for activity com.android.settings/.Settings: pid=28972 uid=1000 gids={1015, 3002, 3001, 3003, 3007}
D/LocalBluetoothProfileManager(28972): LocalBluetoothProfileManager construction complete
I/Process ( 4286): Sending signal. PID: 28972 SIG: 3
I/dalvikvm(28972): threadid=3: reacting to signal 3
I/dalvikvm(28972): Wrote stack traces to '/data/anr/traces.txt'
D/libEGL (28972): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL (28972): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL (28972): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
D/OpenGLRenderer(28972): Enabling debug mode 0
W/InputManagerService( 4286): Starting input on non-focused client [email protected] (uid=10075 pid=28912)
I/ActivityManager( 4286): Displayed com.android.settings/.Settings: +1s65ms
D/AudioHardware( 450): AudioHardware pcm playback is going to standby.
V/AudioHardware( 450): closeMixer_l() mMixerOpenCnt: 1
D/AudioHardware( 450): closePcmOut_l() mPcmOpenCnt: 1
I/ActivityManager( 4286): START {act=android
Sent from my SGH-T959V using xda app-developers app
Lol, I think I know why but I will download the build 2 and see what's wrong when I get home
Sent from my SGH-T959V using xda premium
Before I go back to Galaxy S 4G Beam, here is the alogcat that I got. I wanted to attach but phone app wouldn't let me.
Below seems to be the content of wifi failure
__________________________
I/ActivityManager( 1991): Process com.google.android.apps.maps:LocationFriendService (pid 6073) has died.
D/androidNetworkLocationListeners( 4307): Still have listener com.google.android.location.int[email protected]
E/WifiStateMachine( 1991): DriverFailedState
D/WifiLocator( 4307): Too many no-location APs. Will not compute a location nor go to the server. hasLocation=0 noLocation=0 cacheMiss=0
E/WifiStateMachine( 1991): DriverFailedState
Sent from my SGH-T959V using xda app-developers app
Well try flashing first the rom and the gapps without rebooting when flashing both because I have the same problem when I flash the rom and then reboot later after that go to thr recovery and flash the gapps
I did flash them both at the same time.. Or am I misreading your post?
I flashed the rom, gapps, kernel, awesome beats, and a modem all at the same time via twrp tbh.
Sent from my SGH-T959V using xda app-developers app
GMSonicX said:
I did flash them both at the same time.. Or am I misreading your post?
I flashed the rom, gapps, kernel, awesome beats, and a modem all at the same time via twrp tbh.
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
I flashed rom then gapps, nothing else, and wifi is working. Could it be the kernel or modem? I dont see awesome beats being the issue.
Sent from my SGH-T959V using xda premium
I've had issues with the Hefe kernel causing Wifi not to work, but it gets fixed if you re-flash the kernel again.
That works, I still get an error though. Well its in red. And red ALWAYS means there's something wrong. Right?
Sent from my SGH-T959V using xda app-developers app

CM debugging

Now that we have enough cm ports the next thing we need to do is fixing all the bugs in it. We should not rely on whitexp for everything! Lets help him out...
Current Bugs(common in all roms)
1.Wifi
2.Bluetooth
3.Software rendering only
4.Camera
5.Green screen in auto rotation
6.No sound in headphones
Tell me if I missed something..
To moderator:You can put this thread anywhere if you think I created it in the wrong forum. The other thread you made is for debugging small problems like sdcard unreadable etc. Here we aim to do technical things( LIKE A BOSS) xD
Look here
U missed maybe the volume problem while using headphones ?
Sent from my GT-S5360 using xda premium
Green screen in rotate comes here?
Sent via Rajnikanth
lets keep this professional,
post a logcat together with the report,
so we can trace problems
deathnotice01 said:
lets keep this professional,
post a logcat together with the report,
so we can trace problems
Click to expand...
Click to collapse
We need to aim on fixing the bugs of only 1 rom for now cuz each rom has different bugs... I think democracy should be the one? It seems the most stable.
our phone is using bcm4330 right? Well the HTC Sensation XL uses the same chip too see here
http://www.chinagadgetland.com/wifi-ic-bcm4330-for-htc-sensation-xl-p-10008632.html
Can we use this?
The main problem is hardware rendering,when it will be fixed,things like camera,sensors work.
But we need the help of Broadcom Engineers because libGLES_hgl.so has a lot of dependencies and does not work with the stock surfaceflinger/libui. So we need libGLES_hgl.so without dependencies.
I read this on MADTeam thread
"theviper" said:
our phone is using bcm4330 right? Well the HTC Sensation XL uses the same chip too see here
http://www.chinagadgetland.com/wifi-ic-bcm4330-for-htc-sensation-xl-p-10008632.html
Can we use this?
Click to expand...
Click to collapse
Lot of phones use it! HTC explorer also has it
the problem is the libGLES_hgl.so the dev need to the source code of the file..
we cannot fix the bug this time with out the source that affect other library like
liblog.so
libcutils.so
libhardware.so
libutils.so
libpixelflinger.so
libETC1.so
libui.so
libc.so
libstdc++.so
libm.so
libGLES_android.so
the source is need to create the indepentdency library that not affect the other library so if that happen we can now use the egl.cfg with out having problem in other library...
Or else use a pre share library source.. like david did to fix swap color...
Sent from my GT-S5360 using slow mobile internet..
are this the drivers?
https://github.com/CyanogenMod/android_hardware_broadcom_wlan/tree/gingerbread/bcm4330
blooper1 said:
the problem is the libGLES_hgl.so the dev need to the source code of the file..
we cannot fix the bug this time with out the source that affect other library like
liblog.so
libcutils.so
libhardware.so
libutils.so
libpixelflinger.so
libETC1.so
libui.so
libc.so
libstdc++.so
libm.so
libGLES_android.so
the source is need to create the indepentdency library that not affect the other library so if that happen we can now use the egl.cfg with out having problem in other library...
Or else use a pre share library source.. like david did to fix swap color...
Sent from my GT-S5360 using slow mobile internet..
Click to expand...
Click to collapse
may trying to apply it manually in framework.ajr and compare the libs and egl related problems with gb 2.3.6, it works almost every tiem ^^
For headphone sound, try to delete the libaudioeq.so from system/lib it should work
DQiB said:
may trying to apply it manually in framework.ajr and compare the libs and egl related problems with gb 2.3.6, it works almost every tiem ^^
For headphone sound, try to delete the libaudioeq.so from system/lib it should work
Click to expand...
Click to collapse
wow thats a good idea using framework.jar to compare the libs file if that will work may be soon unofficial port of cm7 will be release... thanks sir for helping us!
Sent from my GT-S5360 using xda premium
---------- Post added at 04:12 PM ---------- Previous post was at 04:02 PM ----------
bluethooth library
libc.so
libstdc++.so
libm.so
libbluetooth.so
Camera library
libutils.so
libbinder.so
libui.so
liblog.so
libcamera_client.so
libcutils.so
libc.so
libstdc++.so
libm.so
libbrcmjpeg.so
libcamera.so
audio library
libasound.so
liblog.so
libcutils.so
libutils.so
libmedia.so
libhardware.so
libhardware_legacy.so
libc.so
liba2dp.so
liblvvefs.so
lib_Samsung_Resampler.so
libsamsungSoundbooster.solibsamsungAcousticeq.so
libsoundalive.so
libstdc++.so
libm.so
libaudio.so
Sent from my GT-S5360 using xda premium
yes i appritiate this thread
but let me know atleast how many bugs we can solve 2, 3
suppose almost all but the problem caused by drivers.....can be solved
the gpu......
if i am wrong then sorry
btw thanks
i am no dev but flashed whitexps latest build..
wifi still not work havent tried bluetooth but i guess that doesnt work too.
camera dont work too...
but here's the biggie..telephony fully fixed
usb tethering work..
and i am a tOTAL noob..no use trying to ask me to debug..trying to help :0
hell_lock said:
Now that we have enough cm ports the next thing we need to do is fixing all the bugs in it. We should not rely on whitexp for everything! Lets help him out...
Current Bugs(common in all roms)
1.Wifi
2.Bluetooth
3.Software rendering only
4.Camera
5.Green screen in auto rotation
6.No sound in headphones
Tell me if I missed something..
To moderator:You can put this thread anywhere if you think I created it in the wrong forum. The other thread you made is for debugging small problems like sdcard unreadable etc. Here we aim to do technical things( LIKE A BOSS) xD
Click to expand...
Click to collapse
well carrier internet is not working for me either
I am on democracy rom and I replaced all the libs with the ones in cm7(latest one)...
Anyone here who has the latest ver installed? Is there any colour change while screen rotation?
Color swapped when rotation ...
Sent from my GT-S5360 using xda premium
Nano's 0.63 build doesnt have the green screen issue. Anyone who still has it?
Just asking guys
How can I make the sound to work correctly I got always problem when playing with sound?
Can I replace some audio file from stock?
Sent from my GT-S5360 using xda premium
Baskhara said:
Just asking guys
How can I make the sound to work correctly I got always problem when playing with sound?
Can I replace some audio file from stock?
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
what problems are you getting in sound? Its working fine on my side..but the sound works till 90% it does not work in full

[Kernel][JB 4.2.1][aosp][s4] Komodo [USBOTG][linaro][S2W]

I do not own an HTC ONE S however I have an AOSP kernel for the EVO 4G LTE. Both use CM 8960 kernel source. Even though this will be a first release for the one S it is the 25th release for this kernel so it is heavily modified.
I suggest using the app kernel tuner from the market as this app will really let you unlease this kernels features.
Changelog 2/25/13
Changlelof 2/25/13 rls 28
"msm_fb: display: fix compiler warning for uint64_t format" …
villel: adjust refx100 to 6650. …
msm_fb: display: fix compiler warning for uint64_t format …
video: msm: Remove timeout from wait4vsync …
msm_fb: display: get mipi frame rate from panel file …
msm_fb: display: wait4vsync before set suspend flag …
msm_fb: display: wait4vsync after timing generator is turned off …
msm_fb: display: replace msleep with wait4vsync …
msm_fb: display: check bus scale handler for registration …
msm: msm_bus: Add support for 64-bit bandwidth requests …
add zram using snappy compression support
add frandom number generator support
linux 3.0.66
clean up crc32
update bfq v6
increase capture number of periods
up MDP clocks
tune sched_fair
msm_fb: display: clean pipes from commit queue at suspend …
msm: rotator: Support Fast YUV for 8960, 8064 and 8x30 targets. …
msm: rotator: clear rotator bus scale handler …
forget using aroma to set gpu users can change via app after boot
update usb fastcharge to 3.1
wcnss: Update Riva ramdump segments
update arm topology drivers
add strncpy_from_user
Changlelog 2/16/13
lower max voltage
Linux 3.0.65
Linux 3.0.64
reduce refresh rate
Changelog 2/13/13
fix blk-core error
remove flags
Linux 3.0.63
msm_fb: display: add mdp clock control to histogram enable/disable …
msm_fb: display: keep borderfill pipe's iommu info …
msm: display: Fix blend configuration for video layer with MDP compos… …
msm_fb:display: correct bus bw for downscale case …
add HYPER gov
Changelog 2/11/13
Compiled with -O3 optimization
add build flag and update cm panel refresh rate
msm_fb: display: restore previous mdp bandwidth when resume …
msm: vidc: Add ioctls for MPEG-2 extradata support …
video: msm: Fix copyright attribution. …
msm: kgsl: initialize kgsl_sync_timeline_ops properly …
android, lowmemorykiller: Sync with Google/CAF …
msm: kgsl: Don't wake up gpu on kgsl_ioctl calls if not necessary …
msm: kgsl: Avoid NULL pointer in adreno setstate functions …
msm_fb: Check for panel power on after Unblank. …
compiled with linaro 4.7.3 (1/13) This has all -O3 errors fixed but for now is compiled with -O2s so I know it boots.
Has S2W (thanks to Zarboz and showp)
Fix for headphone detection
kernel based thermal mangement
kernel based mpdecision (this will give you better battery life)
OC to 1.809 (optional)
usb otg
Usb Fast charge(optional off by default)
cpu governeors:wheatly,lionheart,baddass(3 phase),onedemand,performance,conservative,savadgedzen,intellidemand,lagfree,interactive,
IO schedulers: deadline,cfq,bfq,sio,zen,vr,row,fifo,noop
gpu OC (optional)
Linux 3.0.62
user controlled voltage (optional)
dynamic fsync
dynamic readahead
here is a little explanation of kernel based thermal and mpdecision control
What is msm_thermal?
Kernel based 3-phase thermal control!
This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_backup.
Check /sys/kernel/msm_thermal/conf/ for the thermal configuration
allowed_max_high = highest threshold (phase 3)
allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
allowed_max_freq = max frequency if throttled (limit)
[...]mid[...] = same as above, just for phase 2
[...]low[...] = Lowest threshold (phase 1)
check_interval_ms = how often shall we check? (sampling rate)
Default: 1000ms (=1sec)
If you want to see msm_thermal doing it's job:
Code:
adb shell cat /proc/kmsg | grep 'msm_thermal'
What is msm_mpdecision?
100% kernel based multi core decision! (should cpu1 be online or not?)
This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_backup.
Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
startdelay = time until mpdecision starts doing it's magic (70000)
delay = time between checks (500)
pause = if something else plugs in the cpu, fall asleep for 10000
scroff_single_core = if the screen is off, don't plug in cpu1 (1)
nwns_threshold_up = runqueue threshold, if this is reached cpu1 will be hotplugged (35)
nwns_threshold_down = runqueue threshold, if this is reached cpu1 will be unplugged (5)
twts_threshold_up = time threshold, this amount of time must have passed (250)
twts_threshold_down = same as above (250)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
idle_freq = a value against that will be checked if a core +/- is requested. (486000)
If cpu0 is below that value and a core up of cpu1 is requested, nothing will happen.
If cpu1 is above that value and a core down of cpu1 is requested, nothing will happen. (otherwise it would now put down cpu1 even though it is still working)
(all times are in ms)
My source can be found https://github.com/thicklizard
Normal disclaimer NOT RESPONSIBE IF YOU BRICK,DROP,LOSE YOUR DEVICE. FLASH AT YOUR OWN RISK
downloads
http://d-h.st/hk1
installation instructions
Open zip fastboot flash/flash gui the bootimg
using a file explore replace the modules location in system/lib/modules with the ones in the zip make sure permisions are set correctly
go to system/bin rename mpdecision to mpdecision_backup
go to system/bin rename thermald to thermald_backup
Thanks to
Chad G
intervigil
deck
Showp
Zarboz
Ca1ne
just in case
damn it man, Im out of thanks for the day! But damn another kernel! Thank you so much man. Will download and test now! :good:
dr_rick13 said:
damn it man, Im out of thanks for the day! But damn another kernel! Thank you so much man. Will download and test now! :good:
Click to expand...
Click to collapse
Good i need the feedback please
Sent from my EVO using Tapatalk 2
ive flashed the kernel screen is jittery im fixing that soon but which permission do we set the modulse
Sent from my HTC One S using xda app-developers app
Nerd019 said:
ive flashed the kernel screen is jittery im fixing that soon but which permission do we set the modulse
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Should be rx r r
Sent from my EVO using Tapatalk 2
thank you sir and thank you for this new kernel and hard work
Sent from my HTC One S using xda app-developers app
Nerd019 said:
thank you sir and thank you for this new kernel and hard work
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
That was a typo should be rw-r-r
Sent from my EVO using Tapatalk 2
thank you sir
Sent from my HTC One S using xda app-developers app
It must be Christmas again I just flashed Bubba kernel now this one pops up. What to do, what to do...thank you!
Sent from my One S using Xparent Skyblue Tapatalk 2
thicklizard said:
Good i need the feedback please
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
hey man, do we need to flash boot.img even if we're hboot 1.09? or do we have to fastboot boot.img AND flash zip?
dr_rick13 said:
hey man, do we need to flash boot.img even if we're hboot 1.09? or do we have to fastboot boot.img AND flash zip?
Click to expand...
Click to collapse
I dont know the mounting points for the one s. so I didn't make it flashable so I wouldn't brick some ones device lol. If anyone wants to make a zip feel free
Sent from my EVO using Tapatalk 2
Using ths on droyd$ build of AOKP I must say it is very nice. Sweep to wake is very responsive everything seem to be working great so far.
Sent from my HTC One S using Tapatalk 2
thicklizard said:
I dont know the mounting points for the one s. so I didn't make it flashable so I wouldn't brick some ones device lol. If anyone wants to make a zip feel free
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
lol thanks man, damn I'm so out of it today -__- my bad.
---------- Post added at 02:17 PM ---------- Previous post was at 02:03 PM ----------
just installed and followed directions.. everything works ok BUT WiFi.. I go to turn it on and it just goes back to OFF automatically.. Ideas?
mteezey said:
Using ths on droyd$ build of AOKP I must say it is very nice. Sweep to wake is very responsive everything seem to be working great so far.
Sent from my HTC One S using Tapatalk 2
Click to expand...
Click to collapse
How do you get Sweep to Wake to work?
Sent from my One S using Xparent Skyblue Tapatalk 2
damn it i still get the weird display thing even after setting the kernel up good set permissions everything i still get this damn flicker
I have an idea for the flicker if someone will test give me about 10 min.
Sent from my EVO using Tapatalk 2
Nerd019 said:
damn it i still get the weird display thing even after setting the kernel up good set permissions everything i still get this damn flicker
Click to expand...
Click to collapse
what ROM are you on man?
dr_rick13 said:
lol thanks man, damn I'm so out of it today -__- my bad.
---------- Post added at 02:17 PM ---------- Previous post was at 02:03 PM ----------
just installed and followed directions.. everything works ok BUT WiFi.. I go to turn it on and it just goes back to OFF automatically.. Ideas?
Click to expand...
Click to collapse
I would check the permission on primawlan.ko and make sure it's the one I compiled they have to match the kernel
Sent from my EVO using Tapatalk 2
i'll test it bro i have nothing to do anyways lol pm me .
---------- Post added at 09:26 PM ---------- Previous post was at 09:25 PM ----------
i'm on baked 7.1 but i wiped everything and now im on baked 7 i was on aokp icj but i switched

[DEV][CM10] Project Butter For Cm10

Those dev who want to fix project butter in our cm10 to make it bloody,freaking smooth can start dev here
now the problem is
Our HTC video drivers, don't support vsync properly,we have to port caf ones as sakindia said
i know if our all dev(best dev) teamup to fix they can do it like they did with kernal 3
Hpsgill said:
Those dev who want to fix project butter in our cm10 to make it bloody,freaking smooth can start dev here
now the problem is
Our HTC video drivers, don't support vsync properly,we have to port caf ones as sakindia said
if no one want to fix it can post ''''delete this thread''' (only dev)
i will request mod to delete this thread
i know if our all dev(best dev) teamup to fix they can do it like they did with kernal 3
Click to expand...
Click to collapse
Delete this thread
Jus joking
sent from Apex Rom by Apex-Predator
---------- Post added at 05:35 PM ---------- Previous post was at 05:34 PM ----------
So from were to start????
sent from Apex Rom by Apex-Predator
didn't cute_prince say that project butter can be backported for cm10.1 maybe we just need to wait
um now that i consider it,i don't think it's necessary to backport any video drivers.
I have an idea,but cant try currently due to lack of time
I am pretty sure gralloc and hwcomposer need fixing.Or we might just need to fake vsync events.
so u are in!!!
can u post way to fix it
i think cute-prince is free and can do it
i also pm him
sakindia123 said:
um now that i consider it,i don't think it's necessary to backport any video drivers.
I have an idea,but cant try currently due to lack of time
I am pretty sure gralloc and hwcomposer need fixing.Or we might just need to fake vsync events.
Click to expand...
Click to collapse
is this is helpfull found while browsing around
https://android.googlesource.com/platform/frameworks/native/+/03e407270c7ad76632f982c886d0776bed9e9b4c/services/surfaceflinger/DisplayHardware/HWComposer.cpp

Categories

Resources