Jump to content


Photo

[Development][ROM] Stock FROYO + 2.6.32 kernel

* * * * * 6 votes

  • Please log in to reply
651 replies to this topic

#1
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
Dear all,
let me present work in progress to make standard FROYO reference rom based on appropriate kernel - 2.6.32

Rom is an adopted stock froyo of Huawei UM840 device (msm7225 based). Same for ramdisk.
Kernel is a port of u8150 (msm7225 based) to Pulse.

Works:
- display
- radio
- mobile data network
- bluetooth
- wifi
- touchscreen
- keypad
- jogball
- usb: mass storage, adb
- usb tethering
- both cameras (thanks to dr.flo wrapper)
- front camera switch
- sd card
- backlight/brightness
- vibrator
- sensors
- sound
- hardware acceleration
- gps

Doesn't work:
- keypad LEDs

Known issues:
- mac address is not correct. (SetMacAddress app looks causing problems to wifi driver, don't use it so far). Try this solution by dr.flo
- gps icon stuck forever on notification bar, ignore it. (Known bug of eclair gps libs on froyo.)

The um840 rom is fully internationalized. I hope it might be an interesting base for custom roms, as well as would help us improve 2.6.32 kernel, which should bring new life to CM7 (and more?)

Instructions to install:
- Make a backup of your system if something goes wrong
- Should be installed on /system partition of 110MB or more (for u8220: install first if not yet TRE 2.1 rom or CHT8000 2.1 rom)
- Wipe data/Factory reset
- install zip via ClockworkMod Recovery v2.5.0.7 as usual
- install DT Apps2SD if needed.

Download:

um840-20120226.zip (fixed wifi reconnection)
Dark Tremor Apps2SD (optional)

Kernel update (optional):
um840-BOOTIMG-20120315.zip (Fix for Goggles. Also adds ext3/4.) git: 807ee49eb1bea1856fdc323c07c6a256483cf7ee


Historical versions:
um840-20120224.zip (fixed reboot on incoming sms/alarm)
um840-20120222.zip (fixed boot animation)
um840-20120220.zip (features smooth HQ video playback)
um840-20120218.zip
um840-20120216.zip
um840-20120215.zip
um840-20120213.zip
rom_u8150-FR.03.zip (Feb-07-2012)
rom_u8150-FR.02.zip (Feb-06-2012)
rom_u8150-FR.01.zip

Edited by pier11, 15 March 2012 - 01:14 PM.

  • 9

#2
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
Changelog:

um840-20120226.zip
- fixed wifi reconnection issue. New wifi driver.
- added Terminal Emulator app.

um840-20120224.zip
-fixed reboot on incoming sms/alarm
-green/red/dpad buttons don't wake up phone anymore

um840-20120222.zip
- boot animation fixed -- thanks to lloco73
- added 'No-frills CPU Control' app to control overclock.
- keypad-lights-ready kernel.

um840-20120220.zip
- HQ video smooth playback

um840-20120218.zip
- Updated apps to latest versions. This fixed that some apps did not show up.
- Added Pulse's sound profile.
- Added SetMacAddress to correct default mac address setting.
- Asian fonts are back to normal.
- HQ video playback is back but not smooth.

um840-20120216.zip
- added support for /system/etc/init.d scripts
- mounts /sd-ext partition if available
- ships busybox, e2fsck
Allows now to install DT Apps2SD

um840-20120215.zip
- video playback works
- cameras can record video
- gps works
- added superuser

Edited by pier11, 26 February 2012 - 12:48 PM.

  • 0

#3
romea

romea

    Newbie

  • Members
  • Pip
  • 41 posts
u8230 touch does not work

Edited by romea, 09 January 2012 - 05:45 AM.

  • 0

#4
snowboy.vs

snowboy.vs

    Newbie

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Belarus
  • Devices:U8230
U8230 touch screen is work


  • 0

#5
jgilalonso

jgilalonso

    Regular

  • Members
  • PipPip
  • 58 posts
  • Devices:U8220
Hi Pier11,


I think that it would be interesting (if CM7 RC works well with your kernel) inform to the CM community to merge your work in the CM7 official.
Perhaps, Tom or other people can solve cam issue or improve your kernel (someone said that battery drained faster than 29 kernel)

Is a proposition.

we are with you

  • 0

#6
hzf

hzf

    Regular

  • Members
  • PipPip
  • 61 posts
  • Gender:Male
  • Interests:Installing a Custom ROM:
    1. BACKUP
    2. FACTORY RESET
    (OPTIONAL: FORMAT /BOOT , /SYSTEM )
    3. INSTALL ZIP FROM SD CARD
    (OPTIONAL: INSTALL GAPPS)
  • Devices:Huawei RBM2, Galaxy Nexus
all FRG83 build roms are able to run this boot.img
checked it on CM6.1, and pier11 post #1 summarizes the status.

  • 0
Any suggestions I make are just that, suggestions. I am not responsible for what you do to your phone.

#7
rulerofkaos

rulerofkaos

    Enthusiast

  • Members
  • PipPipPip
  • 289 posts

I think that it would be interesting (if CM7 RC works well with your kernel) inform to the CM community to merge your work in the CM7 official.
Perhaps, Tom or other people can solve cam issue or improve your kernel (someone said that battery drained faster than 29 kernel)


I think this is a good idea, maybe we'll get some interesting and helpfull input.

  • 0

#8
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

u8230 touch does not work

romea,

thanks for testing. In fact you may have different touchscreen to what other people have.
Would you be kind enough to try to enter ProjectMenu in some other rom as described here
What is your Touch screen type? (And what' camera types while you are still there).

Also pastebin-en dmesg from rom that works (or both) would help figure out your touchscreen issue.

In terminal:
dmesg > /sdcard/dmesg.txt
Or via adb:
./adb shell dmesg > dmesg.txt

Edited by pier11, 09 January 2012 - 01:39 PM.

  • 0

#9
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

all FRG83 build roms are able to run this boot.img
checked it on CM6.1, and pier11 post #1 summarizes the status.


I run CM6.1 in the moment (twrock's basic). It works better with the kernel than stock froyo. Radio, sound work fine. Wifi just need driver for 2.6.32 kernel.
Cameras don't try to work as shipped with CM6.1 libs are incompatible with .32 kernel (they search wrong devices to begin with).

I'm interested to get help on solving radio/wifi/sound issues with stock froyo rom. It's not an issue with CM6.1.

  • 0

#10
El Nino9

El Nino9

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts

I run CM6.1 in the moment (twrock's basic). It works better with the kernel than stock froyo. Radio, sound work fine. Wifi just need driver for 2.6.32 kernel.
Cameras don't try to work as shipped with CM6.1 libs are incompatible with .32 kernel (they search wrong devices to begin with).

I'm interested to get help on solving radio/wifi/sound issues with stock froyo rom. It's not an issue with CM6.1.


Hi Pier, i've been following your other kernel thread and would like to say a big thank you to you for starters.
i've pulled out my my pulse from my spares draw once again because of you and i would love to see the device be able to gtalk video with the front cam on a device that had a front camera before the nexus s.

i will try to get to the point of my post now, i am currently downloading your work now and about to flash to my pulse. i wont be able to assist directly tonight. i will be trying a 3rd party camera app such as camera zoom fx as i remember from my G1 days that the original camera app had distortion issues similar to this or maybe somebody else can provide feedback quicker then me.
as for the ril situation, i'm not sure if it was the pulse or the blade, but i recall there was a huge thread trying to get the ril to work and various methods tried by lots of people to get it to work. i will try find that thread as it might be useful probably tomorrow after work.
i hope to contribute like you have given your time for this community.

many thanks

  • 0

#11
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

i hope to contribute like you have given your time for this community.


Thanks, mate, appreciate your help!

That all stuff but cameras work fine with CM6/7, but hesitate to work on stock Froyo. Wanted to understand better if kernel need adjustments or better rom building was needed.
our CM6/7 looks heavily borrowed Eclair libs... Wanted to avoid that if possible, thus stock Froyo rom...

  • 0

#12
El Nino9

El Nino9

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts

Thanks, mate, appreciate your help!

That all stuff but cameras work fine with CM6/7, but hesitate to work on stock Froyo. Wanted to understand better if kernel need adjustments or better rom building was needed.
our CM6/7 looks heavily borrowed Eclair libs... Wanted to avoid that if possible, thus stock Froyo rom...



i guess the fact is that the rom you have borrowed from the ascend isn't entirely stock, i mean we would be required to build directly from AOSP source from google (not CM source) for a "stock rom" as the manufacture of the device might have mods.
i was reading the build prop to change the screen density a little during break to see what new things they have in there since our phone. some interesting add ons. will provide more info.back to work now, breaks over :(

  • 0

#13
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
I used Huawei's "1MULTI-TOUCH_STOCK_ROM" from u8150 device. (removed some apps/media to fit into our smaller /system partition).
By stock I meant official Huawei's rom.
Our 2.6.32 kernel has u8150 origin too.

  • 0

#14
dr.flo

dr.flo

    Diehard

  • Members
  • PipPipPipPip
  • 429 posts

i guess the fact is that the rom you have borrowed from the ascend isn't entirely stock, ...


I believe 'stock' in this context refers to a ROM that most closely matches the original u8150 kernel, not one that doesn't have any modifications.
Since pier11 ported u8150's kernel to the pulse, with as little modifications as possible, we would expect u8150 stock rom to function for all those things that are equivalent in hardware.

The goal is to have a working pulse .32 kernel which is as similar as possible to other .32 kernels. This would allow us to look forward and eliminate hacks in CM that are only there for compatibility with the outdated .29 kernel.

edit: pier was a little faster B)

Edited by dr.flo, 10 January 2012 - 03:55 PM.

  • 0

#15
dr.flo

dr.flo

    Diehard

  • Members
  • PipPipPipPip
  • 429 posts
one slightly off topic question:

on my pulse I currently run UK 2011 update (with ~ 85 MB system partition)

If I install the UK 2010 update to get a greater system partition in order to try the froyo rom,
can I revert to smaller system partition if I re-install UK 2011 again?

  • 0

#16
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
you should,
but no one returned yet :) No point :)

  • 0

#17
D-D-

D-D-

    Diehard

  • Members
  • PipPipPipPip
  • 414 posts
  • Gender:Male
  • Devices:T-mobile Pulse
  • Twitter:@boriseto

you should,
but no one returned yet :) No point :)


Actually it didn't return the values for me the last time. :/ The data stayed untouched after updating from 2010 to 2011 UK. To get the needed partition, I used the DE update.

  • 0

#18
twrock

twrock

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,683 posts
  • Gender:Male
  • Location:Taiwan
  • Devices:Jiayu G2S & Huawei G300

Actually it didn't return the values for me the last time. :/ The data stayed untouched after updating from 2010 to 2011 UK. To get the needed partition, I used the DE update.

That is strange. I've gone back and forth between the two UK roms a number of times. I have always had the partitions resized no matter which update I flashed.

  • 0

#19
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

That is strange. I've gone back and forth between the two UK roms a number of times. I have always had the partitions resized no matter which update I flashed.


Hey, twrock, good to have you in this thread :)

While you are still here, what would be your idea how to fix radio in that rom?
Formal replacement of system/lib/*ril* and rild to one from pulse didn't give me results... Is u8150 radio related stuff should work out of box, or not at all? that's gsm phone, not cdma as ascend... Radio works with CM6/7 just fine.

Edited by pier11, 11 January 2012 - 02:21 AM.

  • 0

#20
El Nino9

El Nino9

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts

Hey, twrock, good to have you in this thread :)

While you are still here, what would be your idea how to fix radio in that rom?
Formal replacement of system/lib/*ril* and rild to one from pulse didn't give me results... Is u8150 radio related stuff should work out of box, or not at all? that's gsm phone, not cdma as ascend... Radio works with CM6/7 just fine.


i've been trying to do some research about the ril by searching on this forum and found a topic for the pulse...
http://android.modac..._1#entry1223197
(used words ril and porting)
and it pointed to another site http://www.netmite.c.../telephony.html

also reading this thread, i found that it lead to the fix for RIL for the ZTE blade which might help us in knowing how they obtained it.


i will try read through these all and if anybody else has time and wants to read up it'll be great :)

also what matty says make it sound so easy :P but i know it isn't :(

the blade also had issues with RIL again when porting CM7

i think i have found the post i had mentioned earlier but it will take time to go through all of them. hopefully they are well documented and at least explain what was done to achieve this. LINK

Off topic, can someone upload the 2010 2.1 update please as i can't get a hold of it anymore?
and @ pier11: i tried using a 3rd party camera app, camera zoom. it gives the exact same results (as expected but i thought i'd try) i will during the weekend try look through the build.prop file and compare with CM6 mods to see what other functions were added via this method.

Edited by El Nino9, 11 January 2012 - 10:19 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users