Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,925 Members 52,532 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] XPLOD 3.0.24 opensource kernel

Tip us?
 
XpLoDWilD
Old
(Last edited by XpLoDWilD; 14th March 2012 at 01:39 AM.)
#1  
XpLoDWilD's Avatar
Senior Recognized Developer - OP
Thanks Meter 14297
Posts: 1,593
Join Date: Nov 2009
Location: France

 
DONATE TO ME
Default [KERNEL] XPLOD 3.0.24 opensource kernel

Hi there,

This is a development thread.
Don't ask for ETAs. Don't ask what's working. Don't ask how to use.

It is not yet in an usable state.

Quote:
INFORMATION
This is an attempt to make a homemade 3.x kernel for our beloved Galaxy S II. I'm targetting the GT-I9100 only for now, if you wish to get it running on other variants (I9100G for instance), feel free to port it to your device and do a pull request.

I started it off Origenboard 3.0.4 kernel patched to 3.0.24, so that we get the most up-to-date opensource drivers, removing the need of porting Samsung drivers from 2.6 (gingerbread) kernel.
We'll be able to merge proprietary stuff from Samsung when they release it (audio and modem mainly), but thanks to what we'll already have we'll have a proper 3.x kernel without any Samsung crap (such as their MTP implementation that is borked it seems).

Quote:
GIT REPOSITORY
http://github.com/xplodwild/android_...msung_galaxys2

Quote:
WHAT'S WORKING
  • Keys GPIOs
  • Regulator and battery (it loads well but Android doesn't show it's charging)
  • Screen/framebuffer
  • Touchscreen
  • MFC (untested but should work from Origen)
  • RTC Clock
  • Touchkeys

Quote:
MAJOR ISSUES
  • Phone never wakes from deep sleep (<== We definitely need experts on this one)
  • ADB works only after unplugging and replugging USB cable (issue almost located)

Quote:
HOW TO HELP
Well, start forking, do stuff and make pull requests so I merge it and everyone enjoys. I'd need some help for the major issues above (especially the deepsleep issue).

If you're not a developer, well, buy me a coffee, there's a donation button on the left of this post

I'll keep you informed when it'll be ready for "public" use.
_ Omni developer - Android - Check my twitter for the latest updates!
______
<codeworkx> YIPIJAHEY SCHWEINEBACKE

Samsung Galaxy S II i9100, Galaxy Note N-7000, Galaxy S III i9300 Asus TF300T, TF700T Sony Xperia T (mint) LG Nexus 4, Nexus 5 Oppo Find 5, N1
and other devices you've never heard of.
______
Press "Thanks" if I helped !
The Following 112 Users Say Thank You to XpLoDWilD For This Useful Post: [ Click to Expand ]
 
Entropy512
Old
#2  
Senior Recognized Developer
Thanks Meter 24104
Posts: 13,135
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
  • Phone never wakes from deep sleep
  • cpufreq is stuck at 200Mhz in ondemand governor
My guess is that these might be connected - or does conservative work?

Our device becomes very unhappy if it enters suspend when the regulators aren't set high enough to support 200 MHz.

As an experiment - if you set the default voltages for 200/500 to match 800 and it fixes things, that's the problem. If it still breaks - it's something else and I have no clue what.
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
The Following 3 Users Say Thank You to Entropy512 For This Useful Post: [ Click to Expand ]
 
pulser_g2
Old
#3  
pulser_g2's Avatar
Developer Admin / Senior Recognized Developer
Thanks Meter 10690
Posts: 19,244
Join Date: Nov 2009
Quote:
Originally Posted by Entropy512
[*]Phone never wakes from deep sleep[*] cpufreq is stuck at 200Mhz in ondemand governor

My guess is that these might be connected - or does conservative work?

Our device becomes very unhappy if it enters suspend when the regulators aren't set high enough to support 200 MHz.

As an experiment - if you set the default voltages for 200/500 to match 800 and it fixes things, that's the problem. If it still breaks - it's something else and I have no clue what.
I was just thinking that Iirc it puts the device into 800 when waking, or something like that...


Having trouble getting an answer? | What is XDA about? | How to ask for help?

if [ $PM.incoming.type = $type.question.ROM.how_to_use ] || [ $PM.incoming.type = $type.question.ROM.silly_question ]; then mv $PM.incoming /.trash; PM.response($responsetype.ignore); $PM.sender.ignore_in_future=true; init.sequence($boy_who_cried_wolf); fi;

BTC: 1K2fpDsRHkirWmk3PKiqtzhVHKUJCWPWnN
PGP: 0x260F4FDEF258E3C4
 
XpLoDWilD
Old
#4  
XpLoDWilD's Avatar
Senior Recognized Developer - OP
Thanks Meter 14297
Posts: 1,593
Join Date: Nov 2009
Location: France

 
DONATE TO ME
Quote:
Originally Posted by Entropy512 View Post
Our device becomes very unhappy if it enters suspend when the regulators aren't set high enough to support 200 MHz.

As an experiment - if you set the default voltages for 200/500 to match 800 and it fixes things, that's the problem. If it still breaks - it's something else and I have no clue what.
I had the same issue when I haven't enabled the governors, so the CPU was stuck at 1200MHz but won't wake up either from a deep sleep.
I'll have a try with the voltage, but my guess is more that there's some steps missing (the default 2.6 kernel seems to have a "low power mode" in which the board gets before waking up, if I understood it correctly).

At the same time, I'm giving a try with the 3.3 branch at Linaro (check android-3.3 branch at my github). It's harder than 3.0 because there's no more s3c framebuffer, it seems to go directly to FIMD, and the LCD panel has to be setup through SPI.
_ Omni developer - Android - Check my twitter for the latest updates!
______
<codeworkx> YIPIJAHEY SCHWEINEBACKE

Samsung Galaxy S II i9100, Galaxy Note N-7000, Galaxy S III i9300 Asus TF300T, TF700T Sony Xperia T (mint) LG Nexus 4, Nexus 5 Oppo Find 5, N1
and other devices you've never heard of.
______
Press "Thanks" if I helped !
The Following 13 Users Say Thank You to XpLoDWilD For This Useful Post: [ Click to Expand ]
 
XpLoDWilD
Old
(Last edited by XpLoDWilD; 14th March 2012 at 02:17 AM.)
#5  
XpLoDWilD's Avatar
Senior Recognized Developer - OP
Thanks Meter 14297
Posts: 1,593
Join Date: Nov 2009
Location: France

 
DONATE TO ME
Some update:
- Touchkeys, clock and various things added/fixed
- Patched to 3.0.24
Edit:
- Added sdcard mounting

Cool stuff should come very quickly
_ Omni developer - Android - Check my twitter for the latest updates!
______
<codeworkx> YIPIJAHEY SCHWEINEBACKE

Samsung Galaxy S II i9100, Galaxy Note N-7000, Galaxy S III i9300 Asus TF300T, TF700T Sony Xperia T (mint) LG Nexus 4, Nexus 5 Oppo Find 5, N1
and other devices you've never heard of.
______
Press "Thanks" if I helped !
The Following 50 Users Say Thank You to XpLoDWilD For This Useful Post: [ Click to Expand ]
 
sam razzy
Old
#6  
sam razzy's Avatar
Senior Member
Thanks Meter 446
Posts: 3,150
Join Date: Oct 2011
Location: Ma sweet home
Good work...
---deleted some post----


Sorry u can delete this post as it making thread very ugly..

_____________________

Sent From My Phone
IMG]http://forum.xda-developers.com/attachment.php?attachmentid=1176894&stc=1&d=134141  9861[/IMG]
The Following User Says Thank You to sam razzy For This Useful Post: [ Click to Expand ]
 
luexi
Old
#7  
Senior Member
Thanks Meter 28
Posts: 270
Join Date: Jun 2011

 
DONATE TO ME
just buy u a expensive coffee! Work hard!
 
polford23
Old
#8  
Senior Member
Thanks Meter 142
Posts: 1,770
Join Date: Jan 2008
Quote:
Originally Posted by XpLoDWilD View Post
Cool stuff should come very quickly
Does this mean you are smelling Samsung source code somewhere? ;)

boba
Samsung Galaxy S3 - CM9 Nightly
The Following User Says Thank You to polford23 For This Useful Post: [ Click to Expand ]
 
iamnotkurtcobain
Old
#9  
iamnotkurtcobain's Avatar
Senior Member
Thanks Meter 2268
Posts: 7,563
Join Date: Oct 2010
Yeah do you smell sources?

Sent from my GT-I9100 using XDA
 
XpLoDWilD
Old
#10  
XpLoDWilD's Avatar
Senior Recognized Developer - OP
Thanks Meter 14297
Posts: 1,593
Join Date: Nov 2009
Location: France

 
DONATE TO ME
Quote:
Originally Posted by boba23 View Post
Does this mean you are smelling Samsung source code somewhere? ;)

boba
We'll do our best without them.
_ Omni developer - Android - Check my twitter for the latest updates!
______
<codeworkx> YIPIJAHEY SCHWEINEBACKE

Samsung Galaxy S II i9100, Galaxy Note N-7000, Galaxy S III i9300 Asus TF300T, TF700T Sony Xperia T (mint) LG Nexus 4, Nexus 5 Oppo Find 5, N1
and other devices you've never heard of.
______
Press "Thanks" if I helped !

The Following 25 Users Say Thank You to XpLoDWilD For This Useful Post: [ Click to Expand ]
Tags
3.0, galaxys2, kernel, samsung
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes