MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

[DEV][ROM] RacerMod 1.7 [19/04/2013] CyanogenMod 7.2 port with 2.6.35.7 kernel & CWM Recovery 5.0.2.8

389 posts in this topic

Posted (edited) · Report post

[center][size=6]CyanogenMod7.2 unofficial port with 2.6.35.7 kernel & CWM Recovery 5.0.2.8 by mikeioannina[/size]

[size=5][b][color=#0000FF]Info:[/color][/b][/size]
Here you&#39;ll find the latest CM7 builds using 2.6.35.7 kernel & latest CM7 CWM Recovery 5.0.2.8.

Supported phones: ZTE Racer/Carl/Freddo (work in progress)

[size=5][b][color=#0000FF]Disclaimer:[/color][/b][/size]
[color=#FF0000][size=4][b]I AM NOT RESPONSIBLE FOR WHATEVER HAPPENS TO YOUR PHONE&#33;
I need your help with testing/debugging/logcats/dmesg and no posts like &quot;When is the next version coming?-When is that feature going to work?&quot;
Also DO NOT send me PMs asking how to fix wifi/bluetooth/etc. These messages are going to be deleted with no answer. If you really want something fixed, try and fix it yourself and post it here. I work alone currently, no-one is interested in helping me. The best way to solve problems is with your help.
:)
Please don&#39;t mirror this ROM and don&#39;t post direct links from my website[/b][/size][/color][/center]

[size=5][b][color=#0000FF]Kernel features:[/color][/b][/size]
2.6.35.7 kernel ported from Blade sources
Governors: performance/powersave/userspace/ondemand/interactive(default)/conservative/smartass/smartass2
IO schedulers: noop/bfq(default)
Overclocking handled CM Settings menu up to 844MHz (by default not active)
Fake Dual touch in kernel (by default disabled)
Calibrated touchscreen with values from stock 2.2
Compatible with Gen1 & Gen2 phones

[size=5][b][color=#0000FF]Features:[/color][/b][/size]
Built for LDPI
Full hardware acceleration
Screen on/off animation
Rotation animation
Screen calibration options in Device Settings (only working with dual touch driver for now)
Both softkeys & hardware buttons enabled in CWM Recovery
Most of the core components are built from sources
For a full list of CyanogenMod changes visit [url=&quot;http://review.cyanogenmod.com/#/q/status:merged+branch:gingerbread,n,z&quot;]CM Gerrit[/url]
Extra features cherry-picked from CyanogenMod gerrit or coded by myself

[size=5][b][color=#0000FF]Known bugs/not working:[/color][/b][/size]
Bluetooth & Wifi (Carl/Freddo only)
Framebuffer has some small bugs (for example: on boot, image is distorted for some time)

[size=5][b][color=#0000FF]Download links:[/color][/b][/size]
[size=4][url=http://goo.im/devs/mikeioannina/RacerMod]goo.im/devs/mikeioannina/RacerMod[/url][/size]

All files are coming in update.zip format. Both gen1 & gen2 zips are available for download.

[size=5][b][color=#0000FF]Changelog:[/color][/b][/size]

[b]1.7 - 20130419[/b]
- Latest CM7 changes
- Trying some improvements in the touchscreen driver to avoid ghost clicks
- Integrated GooManager for future updates & removed RomManager and CM Updates notification

[b]1.6 - 20130319[/b]
- Changed flashing method: the ROM zip will support only gen2 from now on. If you have a gen1 phone, you will have to flash the extra gen1 zip to make the rom work.
- Latest gingerbread features merged in [url=&quot;http://review.cyanogenmod.com/#/q/status:merged+branch:gingerbread,n,z&quot;]CM Gerrit[/url]
- Use the #2 touchscreen driver from alpha 1 again
- Remove these features to stay close to stock cm7 (maybe I will add them again in a future version):
*Option to hide alarm icon in status bar
*Possibility to change the style of lock pattern screen
*Option to disable volume key beep sounds
*Option to mute camera focus sound
*Disable AM/PM style selection menu while 24-hour clock is selected
*Display of mod version using cm9+ option
*Music app: Let music player fade smoothly when playing/pausing/seeking
*Allow custom calendar reminder snooze times

[b]1.5 alpha 2 (Kernel only) - 20130214[/b]
- Use the alternative non-dual touch touchscreen driver

[b]1.5 alpha 1 - 20130126[/b]
- Latest CyanogenMod7 changes
- Two new touchscreen drivers without dual touch hacks (default included #2 driver)
- Removed touchscreen calibration (not working on single touch drivers yet)
- Device sources split (easier future development)
- Kernel cleanup: removed useless modules, reduced size
- Reclaim some more RAM
- Kernel source cleanup - removed useless code (work in progress)
- Fixed gralloc problem (work in progress)
- Full hardware acceleration (work in progress)
- Screen on/off animation
- Rotation animation
- Removed &quot;Music app: Start playback when A2DP headset gets connected&quot; feature (unstable)

[b]1.4 - 20121215[/b]
- Kernel built inline using cm9 method
- Kernel build date is displayed
- Added option to hide alarm icon in status bar
- Added possibility to change the style of lock pattern screen
- Added option to disable volume key beep sounds
- Added option to mute camera focus sound
- Disable AM/PM style selection menu while 24-hour clock is selected
- Change display of mod version using cm9+ option
- Modify Running ProcessView as ics (claimed to be better)
- Add Greek dictionary for keyboard
- Music app: Start playback when A2DP headset gets connected
- Music app: Let music player fade smoothly when playing/pausing/seeking
- Allow custom calendar reminder snooze times
- Added format number option to dialer

[b]1.3 - 20121128[/b]
- Final fix for keyboard numbers bug
- Fix gsm network & usb that broke in the previous build
- Final fix for Carl/Freddo accelerometer
- Updated CWM Recovery
- Updated Google Apps
- Update.zips are now signed

[b]1.2 - 20121117[/b]
- Removed auto-brightness since we don&#39;t have a light sensor
- Fixed device settings icon size
- Fix Phone.apk battery drain caused by not having proximity sensor (patch by deadlink)
- Fix MagicSmoke live wallpaper force-close
- Fix keyboard numbers bug
- Fixed Carl/Freddo accelerometer
- New experimental gesture pressure/blindspot values in Device settings adjusted for our screen size

[b]1.1 - 20121107[/b]
- Fixed accelerometer (needs testing)
- Add screen calibration options to RacerParts
- Fixed wifi (needs testing)
- Fix call/end keys backlight staying on (needs testing)
- Fix call/end keys not working (needs testing)
- Updated CWM Recovery with new kernel

[b]1.0 - 20121029[/b]
- Initial port for mooncake.

[size=5][b][color=#0000FF]Screenshots:[/color][/b][/size]
[img]http://i.imgur.com/gvyua.png[/img][img]http://i.imgur.com/6ru5E.png[/img][img]http://i.imgur.com/a35TW.png[/img][img]http://i.imgur.com/v2OZt.png[/img][img]http://i.imgur.com/edOqe.png[/img]

[size=5][b][color=#0000FF]To do:[/color][/b][/size]
- Fix wifi & bluetooth on Carl/Freddo
- Port clean 2.6.35 kernel from CAF
This should help with: framebuffer problems
USB OTG mode
improve USB driver
update outdated ZTE sources
more RAM available
get rid of useless ZTE changes
hope for wifi ar6003 fix (porting the wifi source will be easier on clean CAF source)
ETA of CAF kernel: 3 months to NEVER (depends on difficulties I&#39;m going to find)

[size=5][b][color=#0000FF]Built from source:[/color][/b][/size]
Compared to all other Racer ROMs, almost everything is compiled from source and modified specially for mooncake board.

- Netd - good
- Vold - good
- libaudio - good
- libcamera - good
- libcopybit - good
- libgralloc - good
- liblights - good
- libril - good
- libsensors - good
- kernel: msm_ts (touchscreen) - needs more work
- kernel: msm_fb - needs more work

[size=5][b][color=#0000FF]Sources:[/color][/b][/size]
[url=&quot;https://github.com/RacerMod&quot;]https://github.com/RacerMod[/url]
[url=&quot;https://github.com/mikeNG&quot;]https://github.com/mikeNG[/url]

Check [url=&quot;https://github.com/RacerMod/racermod/&quot;]https://github.com/RacerMod/racermod/[/url] for build instructions.


[center][size=5][b][color=#0000FF]Thanks to these people who donated to help me get a new device:[/color][/b][/size]
Raphael Machado, master_alarm

[size=5][b][color=#0000FF]Credits:[/color][/b][/size]
CyanogenMod, deadlink, vamshi, equiliym, GuyOverThere, TomGiordano, kalltkaffe, tilal6991, CodeAurora Forum and everyone else that I forgot to mention[/center] Edited by mikeioannina
14

Share this post


Link to post
Share on other sites

Posted · Report post

Ready to test your builds for racer, will be great to have cm7 nightlies back with regular updates since equilym is busy with job. :(
0

Share this post


Link to post
Share on other sites

Posted · Report post

thumbs up, hope you have more luck editing sources than me :P
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='mikeioannina' timestamp='1351049908' post='2042733']
Hey guys, I decided to do some experiments building CM7 for my ZTE Carl because I couldn't find any fresh builds. I am also working on porting 2.6.35.7 kernel and have done a lot of progress on my device.

If you are interested I can compile CM7 for Racer too, but I need testers because I don't have the device.

[b]Progress:[/b]
Kernel boots, screen/touchscreen works, usb works, nothing else tested(probably not working)
Now compiling first CM7 nightly with the new changes to do some extensive testing.

When I reach some stable state, I'll upload the ROM and sources.
[/quote]

hi, i can be a tester ;)
0

Share this post


Link to post
Share on other sites

Posted · Report post

Nice to hear that you are interested.

Current progress: After first CM7 build with the new changes, the Rom boots until the setup wizard, touchscreen and vibration on softkeys work (I can't test anything else now because of this bug:) but the image is distorted, looking into fixing this now (probably gralloc & copybit problem because they are built from source)

Unfortunately I can't do much work now because I'm on my laptop and compile takes 2-2.5 hours...
2

Share this post


Link to post
Share on other sites

Posted · Report post

you can try with some other egl drivers, not sure what are you using as source to build that rom
0

Share this post


Link to post
Share on other sites

Posted · Report post

I can help test as well

As for the screen thing, I think equiliym is right, I remember having that same issue of your screenshot while testing egl drivers
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I'm using official CM7 blade device folder modified for mooncake, also using 2.6.35.7 official CM7 blade kernel with added support for mooncake. What egl libs do you recommend me to use? There are so many out there...

If anyone has some knowledge on android/programming and wants to help, I can add him as collaborator on my github repositories so we can speed up development

EDIT: I still can't find proper egl libs or the graphics problem is not the libs... Weird thing is that the CRT-off animation works!

The sources are in a good way, I fixed all the compiler warnings on kernel source, cleaned up the device folder and did some modifications from Blade to Racer...

Now the bad news are that there is no support for akm8962 compass/accelerometer (it is used in Carl) in libsensors source but I've found some sources that may work with some tweaks... Edited by mikeioannina
1

Share this post


Link to post
Share on other sites

Posted · Report post

Damn! I'm searching a whole day the internet for the screen issue but can't find any solution!

These are the two logcat errors connected with this problem:
[code]
eglSetSwapRectangleANDROID:1909 error 3008 (EGL_BAD_DISPLAY)
eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)
[/code]
2

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='mikeioannina' timestamp='1351198442' post='2043608']
Damn! I'm searching a whole day the internet for the screen issue but can't find any solution!

These are the two logcat errors connected with this problem:
[code]
eglSetSwapRectangleANDROID:1909 error 3008 (EGL_BAD_DISPLAY)
eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)
[/code]
[/quote]

By chance, does the rom work with a different kernel?

The things I find related to that error involves egl libs (libGLES_android.so, libEGL_adreno200.so, libGLESv1_CM_adreno200.so, libGLESv2_adreno200.so) but this doesn't mean much regarding to a "cause". Since you're using CM7 sources I know that current egl drivers are good enough for source based roms (the egl libs I use come from equiliym nightlies build, 06-24 or something like that), I don't know what changes have you done to devices files but I don't think it'll cause this error unless extract-files isn't coping the right files or board-mooncake.mk is sending some prebuilt it shouldn't (related to egl libs of course)

The kernel may be a cause but only if you've changed gpios or anything else related to lcd panel structs, with .32 kernels there are 3 defined: himax, lead and samsung and, at least Racer, needs himax only (lead is for a different chipset, gordon something, also refered to as r750 board or something like that; and samsung I've no idea =/), By default however, in .35 kernels LCD panel is a bool prompt, not multiple selection as .32 unless you change kconfig. I remember that vamshi for .35 kernel once told that he modified gpios to the get the kernel working but I don't what gpios was he refereing to.

Anyhow, if it's kernel problem you'll know by testing another kernel (vamshi's, deadlink's or the .32 you made), if not, I only have 2 versions (I think) of egl drivers that work for CM7 that I can send you, I think equiliym have more but I don't know.
0

Share this post


Link to post
Share on other sites

Posted · Report post

I haven't tried a different kernel... I use the exact same prebuilts that work for Blade & V9.

The kernel works in CWM recovery fine, but in Rom I have the screen issue, the only errors that appear on logcat are the two I posted above so I suspect that it is a lib problem. If I remember correctly in the first builds of my .35 kernel, I used equiliym's last nightly and the screen worked but had lag and ghosting... then I built my own nightly with blade sources modified for mooncake & blade prebuilts, since then the screen is distorted. It seems like it isn't recognising correctly the size of the screen.

I can upload my sources to github so you can take a look if you want
1

Share this post


Link to post
Share on other sites

Posted · Report post

oh great man !! then when did we gonna get new kernel .35 :D
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

[quote name='mikeioannina' timestamp='1351282790' post='2044022']
I haven't tried a different kernel... I use the exact same prebuilts that work for Blade & V9.

The kernel works in CWM recovery fine, but in Rom I have the screen issue, the only errors that appear on logcat are the two I posted above so I suspect that it is a lib problem. If I remember correctly in the first builds of my .35 kernel, I used equiliym's last nightly and the screen worked but had lag and ghosting... then I built my own nightly with blade sources modified for mooncake & blade prebuilts, since then the screen is distorted. It seems like it isn't recognising correctly the size of the screen.

I can upload my sources to github so you can take a look if you want
[/quote]

You can upload it if you want, others might want to check it as well.

Checking if I could reach the same problems as you I started working again on .35 sources and compile a kernel, it boots and touchscreen isn't disorted, although it's behaving funny, it has some weird ramdon refresh, like some buffer is being updated or something, also I've few copyBits errors and wifi is dead (although I was thinking in using ar6000.ko and wifi folder from blade as it is to see if wifi start making signs of life). Anyhow, if anyone is interested here's my .35 test and is for gen1 phones: [url="http://www.mediafire.com/?4me6f4smp8ybjmd"]http://www.mediafire...4me6f4smp8ybjmd[/url] [b]is a just a test, not reliable or anything[/b]

I wish I could provide a screenshot but the ridiculous power button isn't working lol odd since keypad, vol+ and vol-, call and endcall works, only power is dead =/

I'll upload a gen2 version for mikeioannina and any other that can test on gen2 phones in a momment.

Edit://

Here's the gen2 version, see if it boots lol and if touchscreen is also disorted [url="http://www.mediafire.com/?qgsoiuiriinauzo"]http://www.mediafire.com/?qgsoiuiriinauzo[/url] Edited by GuyOverThere
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I always try not to modify the original source very much or make changes that don't break other devices so when the sources reach a stable state I'll submit the changes to CM gerrit so maybe we'll have official support some day.

@GuyOverThere
I think I had the same bug with the screen refresh before I started building my own nightlies... now the screen is distorted Edited by mikeioannina
3

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

[quote name='mikeioannina' timestamp='1351365089' post='2044309']
@GuyOverThere
I think I had the same bug with the screen refresh before I started building my own nightlies... now the screen is distorted
[/quote]

Hmmm... well I haven't changed the rom or libs, just the kernel to test, did you found the screen refresh cause?

I didn't change much from blade sources, enable l20x cache, setting my gen1, added config_mach_mooncake in a few places (sdcards, battery and the like definitions) where it made sense (it has already ifdef config_mach_blade for instance) and compile msm_ts instead of synaptics-i2c-rmi, synaptics-cypress and blade touchscreen Edited by GuyOverThere
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

[quote name='GuyOverThere' timestamp='1351366036' post='2044312']


Hmmm... well I haven't changed the rom or libs, just the kernel to test, did you found the screen refresh cause?

I didn't change much from blade sources, enable l20x cache, setting my gen1, added config_mach_mooncake in a few places (sdcards, battery and the like definitions) where it made sense (it has already ifdef config_mach_blade for instance) and compile msm_ts instead of synaptics-i2c-rmi, synaptics-cypress and blade touchscreen
[/quote]

I haven't found what caused the refresh bug...
As I see we have done almost the same modifications. In the kernel .config did you leave all 3 screens that were enabled in 2.6.32?
EDIT: Can you send me your defconfig? Edited by mikeioannina
1

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='mikeioannina' timestamp='1351366282' post='2044315']
I haven't found what caused the refresh bug...
As I see we have done almost the same modifications. In the kernel .config did you leave all 3 screens that were enabled in 2.6.32?
EDIT: Can you send me your defconfig?
[/quote]

No, I only used lead qvga and himax qvga.

defconfig here: [url="http://pastebin.com/LmfrL0KP"]http://pastebin.com/LmfrL0KP[/url]
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

[quote name='GuyOverThere' timestamp='1351366752' post='2044317']


No, I only used lead qvga and himax qvga.

defconfig here: [url="http://pastebin.com/LmfrL0KP"]http://pastebin.com/LmfrL0KP[/url]
[/quote]

Thanks, it's almost the same as mine. There are differences only in camera, accelerometer and the displays (I have all 3 enabled)

EDIT: Does the kernel need to be compiled twice for gen1/gen2 phones? Or is there an easier way?

EDIT 2: GuyOverThere With the kernel you uploaded my phone does not boot now and throws up Netd errors in logcat. Edited by mikeioannina
1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

[quote name='mikeioannina' timestamp='1351367322' post='2044322']
Thanks, it's almost the same as mine. There are differences only in camera, accelerometer and the displays (I have all 3 enabled)

EDIT: Does the kernel need to be compiled twice for gen1/gen2 phones? Or is there an easier way?

EDIT 2: GuyOverThere With the kernel you uploaded my phone does not boot now and throws up Netd errors in logcat.
[/quote]

Needs to compiled twice, even if gen was made mutliple selection in Kconfig, only one PHYS_OFFSET is used while generating the final zImage, I guess that two zImage files could be produced with changes to kernel core build procedures but that's way beyond me.

As for netd, can I then assume that it actually boots (or works, in the sense the phone recognize it) but netd is blocking load progress? I ask since a kernel that doesn't boot makes the phone unable to even reach logcat, is possible it's a problem with ramdisk, does it reach the bootanimation? Edited by GuyOverThere
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='GuyOverThere' timestamp='1351368287' post='2044329']
As for netd, can I then assume that it actually boots (or works, in the sense the phone recognize it) but netd is blocking load progress? I ask since a kernel that doesn't boot makes the phone unable to even reach logcat
[/quote]

Yes that's what I mean (netd is blocking load progress)
1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

[quote name='mikeioannina' timestamp='1351368473' post='2044333']
Yes that's what I mean (netd is blocking load progress)
[/quote]

Can you post the netd errors?

Also, here's my logcat with .35.7 kernel, maybe check if there's any important differences regarding netd or egl [url="http://pastebin.com/5RwBYSFH"]http://pastebin.com/5RwBYSFH[/url] (although netd loads kinda earlier, maybe something is registered by logcat) Edited by GuyOverThere
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='GuyOverThere' timestamp='1351369333' post='2044338']


Can you post the netd errors?

Also, here's my logcat with .35.7 kernel, maybe check if there's any important differences regarding netd or egl [url="http://pastebin.com/5RwBYSFH"]http://pastebin.com/5RwBYSFH[/url] (although netd loads kinda earlier, maybe something is registered by logcat)
[/quote]

I can see that the egl libs load fine on your phone, can you upload them somewhere or point me where to find them?

http://pastebin.com/2KfdgaBK here is my logcat... you can clearly see the erros in the end and it just keeps looping those errors until I turn off the phone.
1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

[quote name='mikeioannina' timestamp='1351370072' post='2044341']
I can see that the egl libs load fine on your phone, can you upload them somewhere or point me where to find them?

[url="http://pastebin.com/2KfdgaBK"]http://pastebin.com/2KfdgaBK[/url] here is my logcat... you can clearly see the erros in the end and it just keeps looping those errors until I turn off the phone.
[/quote]

Egl libs: [url="http://www.mediafire.com/?g99q25kgj49aqk1"]http://www.mediafire...g99q25kgj49aqk1[/url] I think this are from racerboy's #257 rom but I'm really not sure

Are you building netd? It does seem so, with racer we can't (while we can compile, doing that generate the DNSProxyListener errors you're getting and is the reason why in racer we use the prebuilt one) don't know if Carl's the same but who knows.

I think that while inherinting cm files, BUILD_NETD is set as true and since you're missing BUILD_NETD := false from BoardConfig.mk and you're not using prebuilt (PRODUCT_COPY_FILES += device/zte/mooncake/prebuilt/netd:system/bin/netd in device_mooncake.mk), netd is probably being compiled and sended to the device.

Check if you can use the netd prebuilt from here: [url="https://github.com/netalien/cyanogenmod_device_zte_mooncake/tree/master/prebuilt"]https://github.com/netalien/cyanogenmod_device_zte_mooncake/tree/master/prebuilt[/url] (just push it with adb) Edited by GuyOverThere
0

Share this post


Link to post
Share on other sites

Posted · Report post

When I built CM7 with .32 kernel, netd didn't work from source (only from prebuilt, the one you gave in the link) but when I started building with .35 kernel, netd worked with no errors from source.

I used your egl libs but the phone does not even get past the ZTE logo now... can you send me the libgsl.so too?
1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

[quote name='mikeioannina' timestamp='1351373918' post='2044354']
When I built CM7 with .32 kernel, netd didn't work from source (only from prebuilt, the one you gave in the link) but when I started building with .35 kernel, netd worked with no errors from source.

I used your egl libs but the phone does not even get past the ZTE logo now... can you send me the libgsl.so too?
[/quote]

o.O crap xD

libgsl.so: [url="http://www.mediafire.com/?x3b2ze0mkm38o6p"]http://www.mediafire...x3b2ze0mkm38o6p[/url]

Edit://

Hmmm are you building gralloc as well?

Here's something from your logcat:
[code]
I/SurfaceFlinger( 208): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
I/mooncake.gralloc( 208): using (fd=27)
I/mooncake.gralloc( 208): id = msmfb30_30001
I/mooncake.gralloc( 208): xres = 240 px

I/mooncake.gralloc( 208): yres = 320 px
I/mooncake.gralloc( 208): xres_virtual = 240 px
I/mooncake.gralloc( 208): yres_virtual = 640 px
I/mooncake.gralloc( 208): bpp = 16
I/mooncake.gralloc( 208): r = 11:5
I/mooncake.gralloc( 208): g = 5:6
I/mooncake.gralloc( 208): b = 0:5
I/mooncake.gralloc( 208): width = 38 mm (160.421051 dpi)
I/mooncake.gralloc( 208): height = 51 mm (159.372543 dpi)
I/mooncake.gralloc( 208): refresh rate = 2.03 Hz
D/libEGL ( 208): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 208): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 208): loaded /system/lib/egl/libGLESv2_adreno200.so
E/libEGL ( 208): eglSetSwapRectangleANDROID:1909 error 3008 (EGL_BAD_DISPLAY)
I/SurfaceFlinger( 208): EGL informations:
[/code]

And here's mine during load:
[code]

I/SurfaceFlinger( 878): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/msm7k.gralloc( 878): RGB565
D/libEGL ( 878): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 878): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 878): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 878): loaded /system/lib/egl/libGLESv2_adreno200.so
I/SurfaceFlinger( 878): EGL informations:
[/code]

I don't know where that msm7k.gralloc error is comming from but the interesting part is that I don't have any mooncake.gralloc information logs regarding graphics, since you're building it from source, could it be related to the screen issue? Edited by GuyOverThere
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.