Jump to content


Photo

[Source Code] Attempt to port 2.6.35 kernel to Acer Liquid A1/E

- - - - -

  • Please log in to reply
18 replies to this topic

#1
lupohirp

lupohirp

    Regular

  • Members
  • PipPip
  • 87 posts
HI guys....i'm doing an attempt to port 2.6.35 kernel. i've ported a1_devices.c and other related acer stuff, updated board.h with dircetives from acer and then builded :). kernel build fine , toolchain do the zImage and create modules but i don't know if work. I've missed also some drivers like touchscreen (already resolved imported correctly from thepasto's chocolate kernel few hours ago but forgot to add to sourcecode) , and sensors i think.

I need a testing from devs in particular from youpi666 that is caring about gingerbread:
  • for testing we need AT LEAST a gingerbread rom (WARNING: I haven't imported 3.0 kgsl drivers so with ice cream sandwich will not work)
  • to test you need to compile a gingerbread rom with 2.6.35 zImage. if you only substitute zImage in a gingerbread 2.6.29 boot.img will not work 'cause the different partition layout.
  • I need only to know if it boot or not. if it boots up the hard tricky is done, then should be easy to resolve other bugs.

Instruction for build:
  • make clean, then make cyanogenmod_salsa_defconfig, then make -j4
  • after build grab zImage from arch/arm/boot and rename to kernel then move to device folder that you use to compile gingerbread rom (the command line should be the same for 2.6.29 the patch level is the same)
  • build a ginger rom.

SOURCE CODE IS HERE: https://hotfile.com/....35.tar.gz.html

sorry but i can't upload to my github now. i will do it later

  • 2

Feel free to

Posted Image


#2
Ma7moud

Ma7moud

    Addict

  • Members
  • PipPipPipPipPip
  • 558 posts
  • Gender:Male
  • Location:Egypt
  • Devices:Acer Liquid A1
  • Twitter:@9_CanZ
would it be easier to try porting the Liquid Glow kernel? from what i found its close to the Liquid, and acer just released kernel sources 4 days ago

Liquid Glow service manual:
http://klood.me/publ...ER E330 V01.pdf

Liquid Glow Specs:
http://pdadb.net/ind...iquid_glow_e330

Note: this page says its using Qualcomm MSM8255 but the service manual says MSM7227A

Liquid Glow Kernel Source from Acer:
Here

  • 0
Phone : Acer Liquid A1 (Color: Red)
BIN : 4.002.14.EMEA.GEN1

Recovery: TWRP
ROM : CM 7.2 (Ainillia version) (128MHz ~ 960MHz - Smartass V2) (Thanks lupohirp, Thepasto, Ainillia and the team)

#3
thepasto

thepasto

    Diehard

  • Members
  • PipPipPipPip
  • 430 posts
  • Gender:Male
  • Devices:Acer Liquid E
  • Twitter:@thepasto
If you only ported that, i think it won't boot.. Already tried 2000 times! We need i2c patch to get it boot as well and then many many rpc additions :D
But i'm really hope i'm totally wrong :P

I'll try it when downloaded.

Doesn't boot need more work

If you need help just let me know :)

GREAT WORK anyway.

Edited by thepasto, 23 June 2012 - 06:17 PM.

  • 1

Posted Image


Don't want to change phone yet? Support the devs!! :)


Posted Image


#4
Lens_flare

Lens_flare

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,504 posts
I can't believe it!
LEGENDARY LUPOHIRP from P500 development felt down to just help ACER community? Oo
Oh God, why you so unpredictable? :D

Wish you a good luck with your work [hope you now also could help me to find some answers about your previous device ;[ ]

  • 0

#5
Master_T

Master_T

    Addict

  • Members
  • PipPipPipPipPip
  • 591 posts
I think a lupohirp-thepasto collaboration is the only way to make this work... hope you two get in contact with each other. I went here to try and compile it, but since thepasto already tried and it didn't work for him I doubt it will for me either....

  • 0

#6
youpi666

youpi666

    Enthusiast

  • Members
  • PipPipPip
  • 208 posts
must do the work all together ;)
The pasto work on CM9 and didn't use GB, because CM9 work great on his liquid E. (and be sure that if we have a daily usable ICS on A1, i 'll don't touch GB anymore :P )
I think that the idea of adapt the kernel first to GB is definitely not a bad way to try. (the rom part 'll don't need too much time for now, and we talking about now playing with kernel with thepasto)

For the moment i'm stuck on compile :D

  • 0

#7
lupohirp

lupohirp

    Regular

  • Members
  • PipPip
  • 87 posts
ok guys time to do another test: the pasto reported that doesn't booted up and also thanks to him i've done a massive rework
  • imported ACER specific system bus from 2.6.29
  • imported chip's drivers from 2.6.29 ( sensors and etcetc)
  • imported touchscreen drivers
  • Integration of 2.6.29 gpio libraries with 2.6.35 libraries
  • some other small things that i don't remember xD
for those one that can't compile now i've uploaded the compiled zImage directly. I don't understand why i can't upload my code on github when i will able to do it i will do

zImage can be found here: https://hotfile.com/...nel.tar.gz.html

test and let me know.....also me i'm downloading ginger sources so i can help on this side....hope that will works :)

ok sources are up here : https://github.com/l...iquid-A1-2.6.35

for some unknown reason i've uploaded the compiled folder....do a make clean and then a make cyanogenmod_salsa_defconfig in order to compile

Edited by lupohirp, 27 June 2012 - 05:30 PM.

  • 1

Feel free to

Posted Image


#8
Mura88

Mura88

    Regular

  • Members
  • PipPip
  • 53 posts
  • Devices:Acer Liquid E Total Black
Hi, can someone explain what kind of improvements this kernel can give us ???

  • 0
Acer Liquid E@MaxPower: LNP 1.9.2 (2.3.7) /ADW Launcher EX 1.3.3.56 /Overclock 998Mhz/V6 Script 512HP [6-12-75-90-95-125]
now Acer Liquid E 512MB Black Best Rom: LiquidNext 1.6.1 (2.3.4)
ex Htc Magic 32A 288MB Black Best Rom: Ginger Yoshi 1.2 (2.3.4) + farmatito Kernel

#9
youpi666

youpi666

    Enthusiast

  • Members
  • PipPipPip
  • 208 posts

ok guys time to do another test: the pasto reported that doesn't booted up and also thanks to him i've done a massive rework

  • imported ACER specific system bus from 2.6.29
  • imported chip's drivers from 2.6.29 ( sensors and etcetc)
  • imported touchscreen drivers
  • Integration of 2.6.29 gpio libraries with 2.6.35 libraries
  • some other small things that i don't remember xD
for those one that can't compile now i've uploaded the compiled zImage directly. I don't understand why i can't upload my code on github when i will able to do it i will do

zImage can be found here: https://hotfile.com/...nel.tar.gz.html

test and let me know.....also me i'm downloading ginger sources so i can help on this side....hope that will works :)

ok sources are up here : https://github.com/l...iquid-A1-2.6.35

for some unknown reason i've uploaded the compiled folder....do a make clean and then a make cyanogenmod_salsa_defconfig in order to compile


Ok i'll try ;)

  • 0

#10
lupohirp

lupohirp

    Regular

  • Members
  • PipPip
  • 87 posts

Ok i'll try ;)


thanks :) in meanwhile i'm udating board-qsd8x50 with acer derictives.....but there are sooo many compile errors....now i'm tired i will try to resolve tomorrow :)

  • 1

Feel free to

Posted Image


#11
youpi666

youpi666

    Enthusiast

  • Members
  • PipPipPip
  • 208 posts
Test finish.
Sorry guy, doesn't boot.
phone vibrate, acer logo, then off.

  • 0

#12
thepasto

thepasto

    Diehard

  • Members
  • PipPipPipPip
  • 430 posts
  • Gender:Male
  • Devices:Acer Liquid E
  • Twitter:@thepasto

thanks :) in meanwhile i'm udating board-qsd8x50 with acer derictives.....but there are sooo many compile errors....now i'm tired i will try to resolve tomorrow :)


But i alredy got it booting.. i can send my patch to you.. to be quick :D don't need to do the same work two times :P there are a lot of missing thing to fix

  • 2

Posted Image


Don't want to change phone yet? Support the devs!! :)


Posted Image


#13
Master_T

Master_T

    Addict

  • Members
  • PipPipPipPipPip
  • 591 posts
I'm totally ignorant about the linux kernel, but I'm very curious to understand exactly what this is how it will differ from the one developed by thepasto... correct me if I'm wrong: thepasto's is a Acer-based .29 kernel patched to run GB/ICS roms, while this is a "real" .35 kernel patched to work on Acer's hardware, is this correct? What improvements will this give us compared to thepasto's kernel?

In any case, I just want to say you guys are amazing, as a humble programmer that makes boring .NET desktop applications for a living I'm fascinated (and a bit envious :D) by your kernel-hacking skills... keep up the great work!

  • 0

#14
Mura88

Mura88

    Regular

  • Members
  • PipPip
  • 53 posts
  • Devices:Acer Liquid E Total Black
Maybe I'm saying something stupid, I'm ignorant about kernel and porting, but LG optimus L7 has ICS as the basic version of Android, and probably kernel 3.x .
But the hardware is very similar to the Liquid (same GPU, Ram and probably CPU).

I've already said, maybe is stupid, but can you take something from L7 kernel to make a new kernel for Liquid ???

  • 0
Acer Liquid E@MaxPower: LNP 1.9.2 (2.3.7) /ADW Launcher EX 1.3.3.56 /Overclock 998Mhz/V6 Script 512HP [6-12-75-90-95-125]
now Acer Liquid E 512MB Black Best Rom: LiquidNext 1.6.1 (2.3.4)
ex Htc Magic 32A 288MB Black Best Rom: Ginger Yoshi 1.2 (2.3.4) + farmatito Kernel

#15
noxwell

noxwell

    Regular

  • Members
  • PipPip
  • 81 posts
Hi lupohirp, i have tried to port 2.6.37 kernel twice ans i've ported most things from A1 kernel, but it won't boot too. If you find it useful, you can get it here https://github.com/n...m-kernel-2.6.37. And it will be cool, if you make my kernel boot ;)

Edited by noxwell, 03 July 2012 - 12:16 PM.

  • 0

#16
lupohirp

lupohirp

    Regular

  • Members
  • PipPip
  • 87 posts
Another test: https://hotfile.com/...5-3.tar.gz.html

you can find changelog on my github...hopefully that this time will boot finally!!!



Hi lupohirp, i have tried to port 2.6.37 kernel twice ans i've ported most things from A1 kernel, but it won't boot too. If you find it useful, you can get it here https://github.com/n...m-kernel-2.6.37. And it will be cool, if you make my kernel boot ;)


i don't suggest you to use kernel from .37 .38 .39 'cause it's quite similar to 3.0( infact if i'm not wrong for example .38 kernels have kgsl 3.0 used in ice cream sandwich or it was something compatible) than to .32 kernels like .35 and .36 are....and .32 kernels are similar to .29 kernels. the pasto told me that he already booted up with my .35 skeleton so i'm waiting that he's uploading his patches on github. in meanwhile i'm porting acer stuff from 2.6.29. if you want you can help me :)

Edited by lupohirp, 04 July 2012 - 02:53 PM.

  • 1

Feel free to

Posted Image


#17
after_silence

after_silence

    Regular

  • Members
  • PipPip
  • 91 posts
  • Gender:Male
  • Devices:Acer Liquid A1
Last zImage still doesnt boot :-)

  • 1

#18
FunYeg

FunYeg

    Newbie

  • Members
  • Pip
  • 43 posts
  • Gender:Male
really want the . 35 kernel. hope the development can be finish.

Edited by FunYeg, 13 September 2012 - 05:55 PM.

  • 0

#19
errmsg

errmsg

    Regular

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Kiev
  • Interests:Kernel
  • Devices:Liquid A1 hw_version=6
  • Twitter:@RomanYepishev
Updating an old thread just because it ranks much higher in the search results :)
The ongoing project to get 2.6.35 running on Acer A1 is here and it is actually usable.

  • 1
My Acer Liquid Wiki
Share your knowledge because your hard drives are mortal.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users