[HOWTO] Add BLN support to your kernel - Galaxy 3 Android Development

This is for devs
This is a simple modification to have button-light-notifications (+ some extras) support.
This uses the LED class support in the linux kernel, with a new led driver for s5p6442.
On the Android system side, light notification is handled by the lights library (lights.s5p6442.so).
Below, you will find a new lights library that support bln and you can build it with the name lights.GT-I5800.so.
There is also a modification to the max8998.c driver. The old support for leds is deleted.
don't forget to :
- add LEDs class support in the kernel's .config (drivers/leds) and add all triggers.
- change owner and r/w permissions to the following sysfs files :
Code:
/sys/class/leds/lcd-backlight/brightness
/sys/class/leds/button-backlight/brightness
/sys/devices/platform/s5p6442_led.1/leds/button_led/trigger
/sys/devices/platform/s5p6442_led.1/leds/button_led/delay_on
/sys/devices/platform/s5p6442_led.1/leds/button_led/delay_off

Amazing.
Thanks
One question
Will it work on Samsung froyo roms

cdesai said:
Amazing.
Thanks
One question
Will it work on Samsung froyo roms
Click to expand...
Click to collapse
Yes, I guess.

Ironic. Lights file is called "lights.GT-I5800", but I5800 doesn't have leds
Anyway, I've just compiled it (both kernel and android sides), and in froyo something is failing (or maybe I did something wrong ). leds are almost always blinking (trigger file is at heartbeat mode almost all the time. Except when it's mode is default-on). I'm trying to see what the hell is causing this

moikop said:
Ironic. Lights file is called "lights.GT-I5800", but I5800 doesn't have leds
Anyway, I've just compiled it (both kernel and android sides), and in froyo something is failing (or maybe I did something wrong ). leds are almost always blinking (trigger file is at heartbeat mode almost all the time. Except when it's mode is default-on). I'm trying to see what the hell is causing this
Click to expand...
Click to collapse
change permissions directly in drivers/leds/led-class.c from 0644 to 0666 like this :
Code:
static DEVICE_ATTR(brightness, 0666, led_brightness_show, led_brightness_store);
static DEVICE_ATTR(max_brightness, 0444, led_max_brightness_show, NULL);
#ifdef CONFIG_LEDS_TRIGGERS
static DEVICE_ATTR(trigger, 0666, led_trigger_show, led_trigger_store);
#endif
and same in ledtrig-timer.c
Code:
static DEVICE_ATTR(delay_on, 0666, led_delay_on_show, led_delay_on_store);
static DEVICE_ATTR(delay_off, 0666, led_delay_off_show, led_delay_off_store);

Wow man! So fast..

ranadip.bswas said:
Wow man! So fast..
Click to expand...
Click to collapse
also, heartbeat is the default trigger. You can change it in the lights.GT-I5800 (lights.cpp) : change "heartbeat" to "none" if you want the default samsung behaviour.

moikop said:
Anyway, I've just compiled it (both kernel and android sides), and in froyo something is failing. leds are almost always blinking (trigger file is at heartbeat mode almost all the time. Except when it's mode is default-on).
Click to expand...
Click to collapse
marcellusbe said:
change permissions directly in drivers/leds/led-class.c from 0644 to 0666 like this :
and same in ledtrig-timer.c
Click to expand...
Click to collapse
That didn't do it, as it wasn't really a bug. Modified lights.c and now it works great!
Thanks

moikop said:
That didn't do it, as it wasn't really a bug. Modified lights.c and now it works great!
Thanks
Click to expand...
Click to collapse
Can we hav a bite??

This is really awesome marcel
Sent from my GT-I5801 using XDA App

This Is really Cool One ..looking forward to have it over our G3 .
Marcell You are a Rockstar in the Andriod world.

Man.. Cant wait.. Moikop said in earlier post he s able to compile it.. if it s completed, can we guys try it out?? :/
tapatalked by RnB

Please please... why are you making me so desperate.??
Please let us have some .

hey moikop.. any news?

ranadip.bswas said:
hey moikop.. any news?
Click to expand...
Click to collapse
Sorry guys, I'm busy with a new project much bigger and important
I've already implemented the support for this new system in G3Mod. lights.*.so file compiled as well, and it working great.
It's only a matter of time until you guys will be able to use this in your phones. Just be patient

moikop said:
Sorry guys, I'm busy with a new project much bigger and important
Click to expand...
Click to collapse
for g3...?

well
am having samsung galaxy i5800
will it be useful to my droid..??

austin266 said:
well
am having samsung galaxy i5800
will it be useful to my droid..??
Click to expand...
Click to collapse
hard back/menu button = bln wld not wrk.

Hey,
I am currently making a kernel and i would like to add the BLN support i am using Samsung Galaxy Wonder (GT-I8150) do i add the same lines as this one or i have to change some??
Sorry for noob question i am just a beginner!

Will this work on samsung galaxy grand... I'm desperate to have it...

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

[MOD] enable 10 point multitouch SCREENSHOTS ADDED!

hey guys!
there have been a lot of requests for this mod so i decided to post a tut on how enable it! UPTO 10 POINTS TOUCH IS ONLY SUPPORTED BY CM FIRMWARES! NOT ON SAMSUNG FIRMWARES!
our touch screen sensor is the Atmel maXTouch mXT224 which by default can track upto 10 touch points with pressure sensing. it is the same sensor used in the galaxy s and galaxy tab. as we know samsung isnt the smartest and decide to keep the limit to 3 on our devices. this basicaly tells it to track all 10 touch points. in the kernel sources-
in the file: Kernel/drivers/input/touchscreen/qt602240.h (tks dharamg3 for the correction )
change:
Code:
5277: //#define MAX_NUM_FINGER 10 // Maximum possible fingering
5278: #define MAX_USING_FINGER_NUM 5
to
Code:
#define MAX_USING_FINGER_NUM 10
this will enable 10 point touch at kernel level.
at firmware level in the sources-
Code:
froyo/services/java/com/android/server/InputDevice.java
Set max_pointers to 10.
note-
in cm firmwares 10 is enabled by default so no need to change the firmware sources. samsung firmwares limit it to 5. therefore even if kernel sources are changed, it will track 5 and ignore the rest.
this poses no harm to phone.... it was always capable of doing it.
this mod is based on the galaxy s mod-
http://forum.xda-developers.com/showthread.php?t=891030
one last thing- dont tell me its useless on such a small screen. (i know )
but u never know when it could come in handy. wont affect ur phone in any other way and no harm in leaving it enabled.
hit thanks if i helped!
UPDATE-
SCREENSHOTS ADDED- u dont know how hard it is to get all 10 fingers in and then take screenshots
also when going over 7 touch points its less glitchy when u keep ur fingers further from each other.....
Finally people will stop pestering rom developers to include 10 point multitouch
Sent from my GT-i5801 using XDA App
where can i find the drivers folder in root explorer ??
and im using cm7 a6.1 2.3.5 it would do the job right ?
bscraze said:
Finally people will stop pestering rom developers to include 10 point multitouch
Sent from my GT-i5801 using XDA App
Click to expand...
Click to collapse
yeah thought the devs would get bugged
anxdateamcool said:
where can i find the drivers folder in root explorer ??
and im using cm7 a6.1 2.3.5 it would do the job right ?
Click to expand...
Click to collapse
u cannot directly use this mod. u will need to modify the kernel sources and then compile it. this tut is mostly for devs who would like to impliment this to thier kernel.
unreal3000 said:
yeah thought the devs would get bugged
u cannot directly use this mod. u will need to modify the kernel sources and then compile it. this tut is mostly for devs who would like to impliment this to thier kernel.
Click to expand...
Click to collapse
had already tried 10 with samsung firmware, but didnt work out...so had restricted to 5 when i did it in g3mod kernel...
The path is Kernel/drivers/input/touchscreen/qt602240.c
dharamg3 said:
had already tried 10 with samsung firmware, but didnt work out...so had restricted to 5 when i did it in g3mod kernel...
The path is Kernel/drivers/input/touchscreen/qt602240.c
Click to expand...
Click to collapse
yeah...even sgs samsung firmwares only support upto 5
Nice! But how do you put all your fingers on your screen?
Humpie said:
Nice! But how do you put all your fingers on your screen?
Click to expand...
Click to collapse
Put your phone in landscape mode and put it on a table now imon thedown side put 5 fingers and on the up side 5 this should work with small hands
Sent from my GT-I5800 using Tapatalk
werker123 said:
Put your phone in landscape mode and put it on a table now imon thedown side put 5 fingers and on the up side 5 this should work with small hands
Sent from my GT-I5800 using Tapatalk
Click to expand...
Click to collapse
you are exaclty right
how can i decompile the zimage of the kernel??
Sent from my Galaxy 3 using Kyorarom Ascendency Alpha 3 at a clock of 1200MHz -> i love it!
EternalFame said:
how can i decompile the zimage of the kernel??
Sent from my Galaxy 3 using Kyorarom Ascendency Alpha 3 at a clock of 1200MHz -> i love it!
Click to expand...
Click to collapse
You can use a script, search for it and you'll find it, although for this mod you'll need the source, but you'll also need to decompile the kernel for the initramfs
whoops! building a build environment is a lot more easier than this..
anxdateamcool said:
whoops! building a build environment is a lot more easier than this..
Click to expand...
Click to collapse
if guys want i can upload a stock froyo kernel with this mod.....
but the only thing is on samsung firmwares only 5 fingers will work and on cm 6.2
wifi and some other feature wont work.....
if i get cm 6.2 sources then i can compile a kernel which will work with all cm6 feature that work on our phone.
unreal3000 said:
if guys want i can upload a stock froyo kernel with this mod.....
but the only thing is on samsung firmwares only 5 fingers will work and on cm 6.2
wifi and some other feature wont work.....
if i get cm 6.2 sources then i can compile a kernel which will work with all cm6 feature that work on our phone.
Click to expand...
Click to collapse
Since you got some programming skills maybe make a custom kernel/rom? just a suggestion
Sent from my GT-i5801 using XDA App
bscraze said:
Since you got some programming skills maybe make a custom kernel/rom? just a suggestion
Sent from my GT-i5801 using XDA App
Click to expand...
Click to collapse
i would love to but i dont realy have any skills in programing.
this is just something i figured out and managed to achieve with experimenting.
not nearly enough to make my own roms/kernels
unreal3000 said:
i would love to but i dont realy have any skills in programing.
this is just something i figured out and managed to achieve with experimenting.
not nearly enough to make my own roms/kernels
Click to expand...
Click to collapse
Well just a suggestion mayb in the future when you acquire more skills
Sent from my GT-i5801 using XDA App
screenshots added for upto 10 fingers.
updated first post.
but the screen is cluttered with the touchpoints
unreal3000 said:
screenshots added for upto 10 fingers.
updated first post.
but the screen is cluttered with the touchpoints
Click to expand...
Click to collapse
May I ask how on earth did you manage to put all the 10 fingers on screen AND take the screenshot? Do you have 3 hands or something?
moikop said:
May I ask how on earth did you manage to put all the 10 fingers on screen AND take the screenshot? Do you have 3 hands or something?
Click to expand...
Click to collapse
this is just way tooo much.....
maybe he hired someone to make screenshot...
Sent from Galaxy
Kyorarom Ascendency
A7 powered by
G3mod 2.2.2 OC
rkkoby said:
this is just way tooo much.....
maybe he hired someone to make screenshot...
Sent from Galaxy
Kyorarom Ascendency
A7 powered by
G3mod 2.2.2 OC
Click to expand...
Click to collapse
that is possible.. automatic screencapture trigger..!!

Trying to port kernel 3.0 for i9003, please help

Hello,
I have been porting kernel 3.0 to i9003 since last month.
Now, platform specific codes and most of the drivers are ported.
Today, I am able to finish the kernel build with minor warnings.
but I have problems customizing the init scrits to be used with the kernel.
Any help from more experience devs would be appreciated
Current status:
- Platform specific code and all drivers except battery are ported.
- The kernel is built successfully
- trying to pack it into normalboot.img
I can release the source now due to its size. ( asking a guy at github to increase my storage space). But will do asap.
Sorry to post in the wrong forum but I dont have permission to post in the dev forum.
crackerizer said:
Hello,
I have been porting kernel 3.0 to i9003 since last month.
Now, platform specific codes and most of the drivers are ported.
Today, I am able to finish the kernel build with minor warnings.
but I have problems customizing the init scrits to be used with the kernel.
Any help from more experience devs would be appreciated
Current status:
- Platform specific code and all drivers except battery are ported.
- The kernel is built successfully
- trying to pack it into normalboot.img
I can release the source now due to its size. ( asking a guy at github to increase my storage space). But will do asap.
Sorry to post in the wrong forum but I dont have permission to post in the dev forum.
Click to expand...
Click to collapse
Thank u very much! You could contact dhiru
Sent from my GT-I9003 using XDA
Great...but main question is that whether device boot or not??? Because many people have successfully compiled kernel 3.0 but device doesnt boot.
vishal24387 said:
Great...but main question is that whether device boot or not??? Because many people have successfully compiled kernel 3.0 but device doesnt boot.
Click to expand...
Click to collapse
That what I'm going to find out. For now, I'm trying to modify the init script and looking for help from some devs here to speed it up.
my wish- that you release it as fast as you can
R u using
This?
i have also used this guide n compiled a kernel 3.0 successfully packed it using dhiru's boot.img from alpha 6
i have also modified sum codes
but still no luck i think these files need alot of config changes!!!!
n lastly best of luck i hope u get success
sachin sharma said:
R u using
This?
i have also used this guide n compiled a kernel 3.0 successfully packed it using dhiru's boot.img from alpha 6
i have also modified sum codes
but still no luck i think these files need alot of config changes!!!!
n lastly best of luck i hope u get success
Click to expand...
Click to collapse
sachin sharma, can you explain your procedure during your port? I'll compare with mine to see if we do the same thing.
After checking the boot script, I don't think we can just do a drop-in replacement. I think modifying the init script is needed (and i'm working on it). Also, There are some changes in the kernel which can cause problem with the ported code. I'm thinking about droping RFS and J4FS support in the new kernel (and probably abandon all samsung code).
crackerizer said:
sachin sharma, can you explain your procedure during your port? I'll compare with mine to see if we do the same thing.
After checking the boot script, I don't think we can just do a drop-in replacement. I think modifying the init script is needed (and i'm working on it). Also, There are some changes in the kernel which can cause problem with the ported code. I'm thinking about droping RFS and J4FS support in the new kernel (and probably abandon all samsung code).
Click to expand...
Click to collapse
I will suggest u to start ur thread in development thread. In general section developers mostly dont come here. Also u should upload ur source code to github. It will help to other developers to look into ur source code & find out the problem.
vishal24387 said:
I will suggest u to start ur thread in development thread. In general section developers mostly dont come here. Also u should upload ur source code to github. It will help to other developers to look into ur source code & find out the problem.
Click to expand...
Click to collapse
He needs to pump up his post count first buddy
Sent from my GT-I9100 using xda premium
ephraim033 said:
He needs to pump up his post count first buddy
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
oh...I forgot about that Anyway how many posts one has to do so that he can post a thread in development section?
vishal24387 said:
oh...I forgot about that Anyway how many posts one has to do so that he can post a thread in development section?
Click to expand...
Click to collapse
Not sure, i think it's 10?
Sent from my GT-I9100 using xda premium
ephraim033 said:
Not sure, i think it's 10?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Yes, 10!
crackerizer said:
sachin sharma, can you explain your procedure during your port? I'll compare with mine to see if we do the same thing.
After checking the boot script, I don't think we can just do a drop-in replacement. I think modifying the init script is needed (and i'm working on it). Also, There are some changes in the kernel which can cause problem with the ported code. I'm thinking about droping RFS and J4FS support in the new kernel (and probably abandon all samsung code).
Click to expand...
Click to collapse
all we need is config file in /arch/arm/config for kernel 3.0 for our devices
all we have now is config file for kernel 2.6.7 thats wats preventing our devices to boot
i followed same procedure mentiond in that blog after that i used zoom config file edit it at some places wer i thought shud be a change like device name to galaxy sl etc
renamed it latona_galaxy_sl
even then no benefit but i havn't givn hope m still trying!!!!
main problem is that we dont know how to configurate config file as "make config" command gives a hell lot of options!!!!
@crackeziner is your 3.0 kernel booting ?
anuraagkochar said:
@crackeziner is your 3.0 kernel booting ?
Click to expand...
Click to collapse
Probably not.
Booting itself is the main problem .. lol.
All my attempts to port this failed miserably.
Skander1998 said:
Probably not.
Booting itself is the main problem .. lol.
All my attempts to port this failed miserably.
Click to expand...
Click to collapse
what can do now??
Skander1998 said:
Probably not.
Booting itself is the main problem .. lol.
All my attempts to port this failed miserably.
Click to expand...
Click to collapse
Just give it try. Don't let it down guys
Sent from my GT-I9003 using XDA
sachin sharma said:
all we need is config file in /arch/arm/config for kernel 3.0 for our devices
all we have now is config file for kernel 2.6.7 thats wats preventing our devices to boot
i followed same procedure mentiond in that blog after that i used zoom config file edit it at some places wer i thought shud be a change like device name to galaxy sl etc
renamed it latona_galaxy_sl
even then no benefit but i havn't givn hope m still trying!!!!
main problem is that we dont know how to configurate config file as "make config" command gives a hell lot of options!!!!
Click to expand...
Click to collapse
I have gone far more than that . All latona specific codes are ported not only the defconfig file. Most drivers (LCD, power switch, camera, etc.) are also ported. I'm now modifying the init script to match what the kernel have now. Hopefully it will boot.
crackerizer said:
I have gone far more than that . All latona specific codes are ported not only the defconfig file. Most drivers (LCD, power switch, camera, etc.) are also ported. I'm now modifying the init script to match what the kernel have now. Hopefully it will boot.
Click to expand...
Click to collapse
u mentiond that u r getting errors while compiling right?
that means ur deconfig file is still not correct
all the codes needs to be changed according to "kernel 3.0"
not by porting codes from other kernels or previous kernels
n lastly all drivers are already given in the source code thers nothing to change in it except that u just have to compile!!!!!!
crackerizer said:
I have gone far more than that . All latona specific codes are ported not only the defconfig file. Most drivers (LCD, power switch, camera, etc.) are also ported. I'm now modifying the init script to match what the kernel have now. Hopefully it will boot.
Click to expand...
Click to collapse
But did it boot?? Did u test that? When do u think u will be able to test that?

[MOD/IMPR.] Sense 4 UserFriendly Pack! || ALL IN ONE FOR THE FASTEST SENSE 4.0 ||

RCMix / XxXPachaXxX
This is a flashable pack created for the setup of all sense 4 roms for a perfect user friendly experience. It works on speed/smoothness/touch-resposiveness improvements and will give you a more "touchable" touch interface and general phone.
See the content of the pack before flash!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Content:
Ken's Kernel (klquicksall RCMix v5.5)
init.d script for sheduler, RAM and kernel setup
TakeCONTROL MOD, special version for this pack!
Qualcomm Init scripts for boot setups (tnx codeaurora)
EGL Libs with correct configuration (tnx codeaurora)
Cy8c touchscreen driver settings
General synaptic driver settings perfectly fitted to sensation touch panel
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Notes:
The major parts of the code are copyright of CodeAurora - 2010/2011/2012
Standards touch calibration values are derived from empirical measurements to fit standars; Calibration values for pyramid are derived from personal work on physical measurements with a raw width field of 1 unit corresponding physically to 17mm of linear size on the touchscreen.
To grant a more userfriendly touch experiance i changed the normal pressure scale values. The purpose is to generate a valid touch signal also on a light touch. The result is the perception of a lighter and soft touch in the general phone use.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Pack DOWNLOAD (Dev-Host) : LINK
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Remember: W the community!
Thx )
Sent from my HTC Sensation using xda premium
give a try tomorrow
THX XxXPachaXxX ..
To download, testing,,,
thanks .. now download and give it a try
Maybe it would be good to write in the OP, that ppl that already flashed a current version of bricked kernel have to put mpdecision and thermald back in place, else they would not have any core and thermal management (the compatibility.sh adresses only renamed binaries ...).
Additionally i noticed that in your "init.qcom.mdm_links.sh" there is a line: "mount -t ext4 -o remount,ro,barrier=0 /dev/block/mmcblk0p12 /system". In this situation it won´t get applied but the system partition on pyramid is mmcblk0p22 (not 12), only as information.
I would like to know which changes are meant by "boot setup" and which exact version of EGL libs are included here.
But the reason i actually looked at the package is because of the touch screen configuration, in which file exactly the values are included? I really would like to change them by myself!
In my understanding it doesn't do sweep to wake?
hlenforcer said:
Maybe it would be good to write in the OP, that ppl that already flashed a current version of bricked kernel have to put mpdecision and thermald back in place, else they would not have any core and thermal management (the compatibility.sh adresses only renamed binaries ...).
Additionally i noticed that in your "init.qcom.mdm_links.sh" there is a line: "mount -t ext4 -o remount,ro,barrier=0 /dev/block/mmcblk0p12 /system". In this situation it won´t get applied but the system partition on pyramid is mmcblk0p22 (not 12), only as information.
I would like to know which changes are meant by "boot setup" and which exact version of EGL libs are included here.
But the reason i actually looked at the package is because of the touch screen configuration, in which file exactly the values are included? I really would like to change them by myself!
Click to expand...
Click to collapse
1) the pack automatically restore the mpdecision and thermald daemons
2) the qcom mdm don't refers to system partition!
3) for the EGL version, it's different in the files, you can use opengl extension app in the market to check the version of the lib that u are talking
4) all the touch and iput settings files are in the usr directory
calyxim said:
In my understanding it doesn't do sweep to wake?
Click to expand...
Click to collapse
s2w is included in rcmix kernel
Let's improve our Sensation.
Thx bro
Downloading now
Sent from my HTC Sensation 4G using xda premium
Testing now!
Flashed it after a clean installation of Pkmn
Feedback later
MarciWoi said:
Testing now!
Flashed it after a clean installation of Pkmn
Feedback later
Click to expand...
Click to collapse
Do you have s2w by default or is this using Aroma and you can choose?
XxXPachaXxX said:
1) the pack automatically restore the mpdecision and thermald daemons
Click to expand...
Click to collapse
ah ok that was my fault, i thought the bricked installer script would delete them totally instead of renaming them, they are missing completely only on aosp roms ...
2) the qcom mdm don't refers to system partition!
Click to expand...
Click to collapse
yeah but somehow irritating that it gets mounted to a directory named system ...
3) for the EGL version, it's different in the files, you can use opengl extension app in the market to check the version of the lib that u are talking
Click to expand...
Click to collapse
i know but i thought you could tell me by heart if it is 213, 218 or something newer
4) all the touch and iput settings files are in the usr directory
Click to expand...
Click to collapse
ah cool, did not look into the file cause i thought it would be binaries hehe
so thx for your fast response! :cyclops:
btw, i bet in the next 2 pages there will appear ppl ranting about the unavailability of the information where to find kernel source (the gpl thing), only a hint after watching how it goes at xda hehe
dwcasey said:
Do you have s2w by default or is this using Aroma and you can choose?
Click to expand...
Click to collapse
I think it´s default :good:
hlenforcer said:
btw, i bet in the next 2 pages there will appear ppl ranting about the unavailability of the information where to find kernel source (the gpl thing), only a hint after watching how it goes at xda hehe
Click to expand...
Click to collapse
+1
So little information. As I can understand from the first line - there is a whole kernel in this package? Where I can find information on this kernel? What is the battery consumption after this package installation?
hlenforcer said:
ah ok that was my fault, i thought the bricked installer script would delete them totally instead of renaming them, they are missing completely only on aosp roms ...
yeah but somehow irritating that it gets mounted to a directory named system ...
i know but i thought you could tell me by heart if it is 213, 218 or something newer
ah cool, did not look into the file cause i thought it would be binaries hehe
so thx for your fast response! :cyclops:
btw, i bet in the next 2 pages there will appear ppl ranting about the unavailability of the information where to find kernel source (the gpl thing), only a hint after watching how it goes at xda hehe
Click to expand...
Click to collapse
No problem with kernel because it's the ken's rcmix kernel v5.5
MarciWoi said:
I think it´s default :good:
Click to expand...
Click to collapse
yes, default
Zer0r said:
+1
So little information. As I can understand from the first line - there is a whole kernel in this package? Where I can find information on this kernel? What is the battery consumption after this package installation?
Click to expand...
Click to collapse
The kernel is RCMix v5.5, for more information you can refer to my thread on xda or the klquicksall's thread on acsyndicate
+1 sounds good and all...really thanks OP for your contribution....but I do not want to go thru renaming mpdecision and thermald as I have NO clue how to do so...MOD sounds AWESOME..I however lack the knowledge to use it limits me
Sent from my HTC Sensation 4G using xda premium
Any feedback? i'm doing other tests and if i will get better results i will update the pack
Would flashing the newest Faux kernel after installing this defeat the porpuse of this mod ?
I would rather not have S2W.
Thanks.

[KERNEL] [MTD] [TW/CM9/CM11] [DEV] Watson Kernel (MTD support on Gingerbread!)

Hello guys,
This is a project I was working on for a kernel for our SGY.
I made it with a few things in mind:
>Improve it's performance
>Be universally compatible (after I nearly given up on trying to get a snappier CM11 and after the need for a snappier SGY, I decided to go back to GB. However, BML is terrible, and it is annoying to come back to. I decided to build a MTD kernel for Gingerbread then, and it works!)
>Experiment and upgrade as much as I can (thanks @robcore!!!!)
But since I lost my device, I cannot continue developing it. I am then releasing the source code (sorry, no flashable stuff, I deleted it long ago ) for any of you to continue(?) my work if your heart so desires.
If I ever get myself another SGY (or another BCM21553 device), I will gladly continue development (and support whoever does it too), but before I lose all my data and the kernel code alongside it, I am making it available.
This kernel features:
-OC up to 1040MHz (It's questionable even today if the bcm21553 OCs really work, but I tried hacking a way that works very similarly to MarocOS's one, maybe even better. Be warned though, the source around it is messy)
-GPU hacks for performance (Again, even I don't know if they do work, probably the values are just there to be seen, I'm not sure. I do know though that increasing the CPU speed will much likely increase the speed of V3D too)
-DVFS disabled (I found out DVFS is mostly the culpirit in the "832MHz crisis" where the kernel would forcefully scale itself to 832MHz, so I eliminated any reference to it in kernel code. Apparently DVFS on the processor is only available under the bcm21553 governor, but it is present on the other drivers as well. The idea for disabling DVFS came from my friend @robcore)
-A few additional governors and a buggy interactive governor (which is the default xd)
-MTD support for Gingerbread (Thanks Samsung Epic 4G! Although it only works on TouchWiz (I tried it with SL v2 and v2.1 and it works, but under NougatME(CM7) I got no success and loads of segfaults), it works ALMOST perfectly. See bugs for details )
-Some scraped source code from Samsung's FSR I found on the internet (barely compilable, though)
Bugs:
>Gingerbread version:
-IMEI won't appear in the Status screen, I also faced problems with non-working radio for calls. Data works just fine, but calling and receiving calls is unavailable. I believe it is EFS-related. My suggestion is backing up the EFS partition's file structure, then converting it to MTD, then restoring the backup.
-TWRP will crash and panic when exiting, a workaround is force rebooting
>ICS version:
-TWRP will crash and panic when exiting (I believe fixing it here will fix the bug above too)
>KitKat version:
-Flashing images fail randomly, you may also be unable to reboot normally if you do so. I tried addressing this but I couldn't get anywhere.
DOWNLOAD THE SOURCE: Here!
Thanks to:
 @robcore - his development on the Snapdragon S4 breathes life on my dev soul!
 @zman0900 - I saw his thread on an MTD TW kernel for the Samsung Epic 4G, which led me to believe MTD on GB is possible.
nice kernel
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
vdhero said:
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
Click to expand...
Click to collapse
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Building and fixing
sonickles9 said:
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Click to expand...
Click to collapse
I don't sure so I decided to build a kernel from your source and another cm9 version from Mohamad.Afaneh's source and I'll merge the audio on both of them for the best think to fix the bug.Thank you .
Link for kernel?
(img files...)(stock/cm9/cm11)
TheRealModder said:
Link for kernel?
(img files...)(stock/cm9/cm11)
Click to expand...
Click to collapse
Compile one for yourself,man. It only takes like 15-25 mins
vdhero said:
Compile one for yourself,man. It only takes like 15-25 mins
Click to expand...
Click to collapse
I don't know how to compile....
TheRealModder said:
I don't know how to compile....
Click to expand...
Click to collapse
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
vdhero said:
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
Click to expand...
Click to collapse
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
TheRealModder said:
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
Click to expand...
Click to collapse
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Click to expand...
Click to collapse
zlimage? We don't have that here, we only have boot.img for kernel
vdhero said:
zlimage? We don't have that here, we only have boot.img for kernel
Click to expand...
Click to collapse
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
Click to expand...
Click to collapse
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
vdhero said:
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
Click to expand...
Click to collapse
Ok. If you want to install linux i recommend using ubuntu or linux mint.
Ubuntu official website:https://www.ubuntu.com/
Linux mint official website:https://linuxmint.com/
Sent from my Zenfone 2 Laser using XDA Labs
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
vdhero said:
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Click to expand...
Click to collapse
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Assabtigle said:
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Click to expand...
Click to collapse
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Be fast bro!!
vdhero said:
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Click to expand...
Click to collapse
BE fast BRO Love U and Your WORK!!
All Your DEVELOPMENT are Faster than The ORIGINAL one Please Buy a NEW one!
and Yeah install the Stock Rom in your Phone by ODIN it will be fine!:laugh:

Categories

Resources