New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
legsim
Old
#1  
Junior Member - OP
Thanks Meter 6
Posts: 24
Join Date: Nov 2010
Location: Lyon
Default Android parts in HP Pre 3 kernel

Hello everybody,

I was just looking around the Pre 3 kernel sources to find something useful about turning on the flash LED to make a torch when I found some lines related to Android.

Maybe HP just used Android sources to make their kernel or maybe this kernel is ready to start Android ?

What do you think about that ?

Code:
# Android
#
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_LOGGER=y
CONFIG_ANDROID_RAM_CONSOLE=y
CONFIG_ANDROID_RAM_CONSOLE_ENABLE_VERBOSE=y
# CONFIG_ANDROID_RAM_CONSOLE_ERROR_CORRECTION is not set
# CONFIG_ANDROID_RAM_CONSOLE_EARLY_INIT is not set
CONFIG_ANDROID_TIMED_OUTPUT=y
CONFIG_ANDROID_TIMED_GPIO=y
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
 
rwhitby
Old
#2  
rwhitby's Avatar
Recognized Developer
Thanks Meter 86
Posts: 137
Join Date: Dec 2010
Location: Adelaide

 
DONATE TO ME
Quote:
Originally Posted by legsim View Post
Hello everybody,

I was just looking around the Pre 3 kernel sources to find something useful about turning on the flash LED to make a torch when I found some lines related to Android.

Maybe HP just used Android sources to make their kernel or maybe this kernel is ready to start Android ?

What do you think about that ?

Code:
# Android
#
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_LOGGER=y
CONFIG_ANDROID_RAM_CONSOLE=y
CONFIG_ANDROID_RAM_CONSOLE_ENABLE_VERBOSE=y
# CONFIG_ANDROID_RAM_CONSOLE_ERROR_CORRECTION is not set
# CONFIG_ANDROID_RAM_CONSOLE_EARLY_INIT is not set
CONFIG_ANDROID_TIMED_OUTPUT=y
CONFIG_ANDROID_TIMED_GPIO=y
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
Qualcomm's reference kernel for that processor is an Android kernel. So all devices based on that processor start with an Android kernel and work from there.

-- Rod
 
sylau90
Old
#3  
Senior Member
Thanks Meter 35
Posts: 688
Join Date: Feb 2010

 
DONATE TO ME
Quote:
Originally Posted by rwhitby View Post
Qualcomm's reference kernel for that processor is an Android kernel. So all devices based on that processor start with an Android kernel and work from there.

-- Rod
so,is it possible to run android on hp pre 3?



Device: HTC one X MIUI JB AOKP by Dekky with neocortex's kernel

If I helped or you appreciate my works,no coffee...thanks...buy me a tea,by clicking donate to me above my profile picture...or click thanks

 
pablo_max
Old
#4  
Member
Thanks Meter 0
Posts: 43
Join Date: Aug 2010
Yes, both the Pre3 and touchpad were developed with android due to mismatch in speed between hardware teams and webOS teams. I.e. webOS teams were way too slow.
 
rwhitby
Old
#5  
rwhitby's Avatar
Recognized Developer
Thanks Meter 86
Posts: 137
Join Date: Dec 2010
Location: Adelaide

 
DONATE TO ME
Quote:
Originally Posted by pablo_max View Post
Yes, both the Pre3 and touchpad were developed with android due to mismatch in speed between hardware teams and webOS teams. I.e. webOS teams were way too slow.
On what authority do you make this statement? Do you work in either of those teams? You'll need some facts to back up a bold, unprovable statement like that.

-- Rod
 
legsim
Old
#6  
Junior Member - OP
Thanks Meter 6
Posts: 24
Join Date: Nov 2010
Location: Lyon
Quote:
Originally Posted by pablo_max View Post
Yes, both the Pre3 and touchpad were developed with android due to mismatch in speed between hardware teams and webOS teams. I.e. webOS teams were way too slow.
Seriously ? It sounds a little weird, I thought that the Pre 3 was developed with WebOS 2.1.

Anyway, it still would be great to be able to dual-boot Android or at least make Android apps working, maybe within a chroot like there is with the Touchpad.
By the way, would the Touchpad Android IPK work on Pre 3 ? Is there any reason I shouldn't try ?
 
rwhitby
Old
#7  
rwhitby's Avatar
Recognized Developer
Thanks Meter 86
Posts: 137
Join Date: Dec 2010
Location: Adelaide

 
DONATE TO ME
Quote:
Originally Posted by legsim View Post
Seriously ? It sounds a little weird, I thought that the Pre 3 was developed with WebOS 2.1.
Without further proof, you should treat that post as trolling. There is no Android available from HP for the Pre 3.

Quote:
Anyway, it still would be great to be able to dual-boot Android or at least make Android apps working, maybe within a chroot like there is with the Touchpad.
By the way, would the Touchpad Android IPK work on Pre 3 ? Is there any reason I shouldn't try ?
You should read the threads on PreCentral where the damage that package does to your kernel installation is outlined. Folks are having to doctor their devices to recover full capability again.

-- Rod
 
legsim
Old
#8  
Junior Member - OP
Thanks Meter 6
Posts: 24
Join Date: Nov 2010
Location: Lyon
I tried to install the IPK but it didn't want to install the modified kernel.
So I did it manually and now the Pre 3 won't boot anymore.

It's time for doctoring in recovery mode
 
scrizz
Old
#9  
scrizz's Avatar
Recognized Developer
Thanks Meter 619
Posts: 3,346
Join Date: Apr 2010
Location: Tampa, FL

 
DONATE TO ME
Quote:
Originally Posted by legsim View Post
I tried to install the IPK but it didn't want to install the modified kernel.
So I did it manually and now the Pre 3 won't boot anymore.

It's time for doctoring in recovery mode
that's the attitude.

gratz
PAST: T-mobile G1/iphone/N900/T-mobile HD2/BB 8520/Vibrant/T-mobile G2/Nokia N8/LG G2x/32GB HP Touchpad/Playbook/Vibrant
CURRENT: Nexus 7 /BB Z10


Vibrant Modems Here!
ლ(ಠ益ಠლ)
Y U NO BE SMARTER


XDA PORTAL POSTS

Expand Your Choice of Icons with Icon Themer

Icons are some of the most commonly themed elements of the Android UI, and there is certainly no … more

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more