[NAND] CyanogenMod 7.2 from source

Search This thread

CoolrunnerII

Senior Member
Jan 27, 2012
132
226
Trondheim
I just uploaded Build 20130310.

This includes:

* Battery temp readout ( Big applause for Syahmixp for the patch :D )
* Battery driver i2c cleanup. This may fix the lost keys bug.
* Backlight value is remembered during suspend. This will make the screen brighter faster if used outdoors.
* tun.ko is now included in the rom and loaded at boot time.

You can grab it from the Google code download page
 

HATA28

Senior Member
Jun 7, 2009
54
20
Europe
Hi all,

I have to say it's good ROM, but I've noticed that it is not good for daily use. Today I've had about 5 freezes (can't wake up OS from sleep). Performance in apps it's not bad, but freezing in standby mode is really annoying. I've also been using PowerAmp and I noticed that locking screen stops music. :(
Do you have any tips or something?

Well, I'll try some WM ROMs.

You should disable WIFI before locking the phone/turning of the screen. I noticed it will only freeze when WIFI is on while the screen is off.
Also, if you use the default music player it won't stop playing when turning off the screen.


@CoolrunnerII
Thanks for the upload!
However, the hardware keys are sometimes still not working after waking up.
 
Last edited:

Seduce

Member
Mar 11, 2013
27
1
Also, if you use the default music player it won't stop playing when turning off the screen.

I think that is by design to use the phone as mp3player.

Well I installed this version today and tomorrow I will try vpn. Today I tried it at my college (with vpnroot) and somehow it couldn't connect...

I hope it will work this time.

greez
 

CoolrunnerII

Senior Member
Jan 27, 2012
132
226
Trondheim
You should disable WIFI before locking the phone/turning of the screen. I noticed it will only freeze when WIFI is on while the screen is off.
Also, if you use the default music player it won't stop playing when turning off the screen.


@CoolrunnerII
Thanks for the upload!
However, the hardware keys are sometimes still not working after waking up.

I haven't had the lost keys bug in ages. Are you certain you got it flashed correctly?

If I experienced it some myself I would probably fix it quite fast.
 

Seduce

Member
Mar 11, 2013
27
1
Hi,

After I installed this rom I flashed the boot_LCD_Power_off.img on it. Was that nessesary? Because I notice that the battery temp. is stuck...
 

CoolrunnerII

Senior Member
Jan 27, 2012
132
226
Trondheim
Hi,

After I installed this rom I flashed the boot_LCD_Power_off.img on it. Was that nessesary? Because I notice that the battery temp. is stuck...

No, the kernel in the new rom has some improvements over the one in boot_LCD_power_off.img

Temp and vpn won't work after flashing that.

Maybe we should remove some of the old files now. What do you think BrianXP?
 

Seduce

Member
Mar 11, 2013
27
1
Hi, thx for your fast reply.

I made a full wipe and flash and now the battery temp works. (sometimes it stucks on 60C but dont matter, restart fix this).

But I still could get the vpn to work. I tried the stock method and the app vpnroot. Do you use vpn?

My next step will be the app vpn_connections. Lets see..

greez
 

santos81

Member
May 12, 2009
14
0
Try VPNC. It works fine, if you connect to cisco asa

Sent from my Xperia X1 using xda app-developers app
 

CoolrunnerII

Senior Member
Jan 27, 2012
132
226
Trondheim
We should just mark them as "deprecated". I'll do some maintenance on some descriptions and stuff so it's uniform.

Also, I think it's time to edit the build instructions for Ubuntu 13.04. I'm running the beta of it now.

Sent from my Nexus 7 using XDA Premium HD app

That's very nice of you :)

I started working on a gingerbread revision compile now. It looks like it compiles now, after some issues with CMStat. I'll publish a rom when I have tried it myself.

CRII
 

CoolrunnerII

Senior Member
Jan 27, 2012
132
226
Trondheim
What changes are in the new branch? Just curious.

Most of it is translations, but I think there are some optimizations in the java runtime.

I have been trying to figure out a way to get a changelog with repo but havent figured out anything yet.

I looks like vpn is included by default now, so you wont need a separate app to do that anymore. Apart from that I havent found anything radical yet.
 

CoolrunnerII

Senior Member
Jan 27, 2012
132
226
Trondheim
I have been thinking about the battery level. I am so fed up with it being all over the place, so I am thinking about just reporting a linear value based on battery voltage. When charging for short periods this will give misleading readings, but the readings are bogus anyway.

When charging it will go to 100% very fast, but it won't stop charging until the current had dropped below a certain threshold. It could also be possible to use the current to calculate how far the charging has gone during charging and report that as the level.

What do you guys think? Isn't this a better way to do it?

CRII
 

Elibl

Senior Member
Dec 20, 2011
686
448
I have been thinking about the battery level. I am so fed up with it being all over the place, so I am thinking about just reporting a linear value based on battery voltage. When charging for short periods this will give misleading readings, but the readings are bogus anyway.

When charging it will go to 100% very fast, but it won't stop charging until the current had dropped below a certain threshold. It could also be possible to use the current to calculate how far the charging has gone during charging and report that as the level.

What do you guys think? Isn't this a better way to do it?

CRII

for charging-end detection current would be for sure a good identifier...

but as i mentioned a few times a while ago there is a sony ericsson driver for our battery chip out there from the native android device xperia x10(same battery) the kernel is not that far from our so i think it should be possible to use it...

it must be modified to match with the board file. especially power_supply struct but the detection in board file(or userspace?) is anyway buggy so maybe just use the one from driver...

so i think this would be the best solution ;)

i wanted to do it all the time somewhen but i just have to less free time

i already spent time on it so if you do it and keep a new branch up to your progress i could maybe help you with some commits if i got the time... but for sure point you to some key locations in the kernel...

all the best
 
Last edited:

Marcintosh

Member
Oct 30, 2012
39
13
Hi! Could we use xperia x1 like usb-modem? Where can I get drivers?

USB tethering works on ZeamDroid. I couldn't get WiFi tethering to work even on the EXT3 builds.

EDIT: Wait.... What was I saying? I never even tried WiFi tethering on the EXT3 builds. Maybe it was my Galaxy Tab 2 that I thought when I got to that part. WiFi tethering never did work on that thing until I rooted it.
 
Last edited:
  • Like
Reactions: santos81

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    We now have a complete working build environment for CyanogenMod7.2 for the X1/kovsky.

    Feature list:

    * Phone works (SMS, calls, HSDPA, EDGE et al)
    * Wifi works with open access points and WPA encryption. Signal meter is now working. (WEP does not work, you may get unexpected disconnects, and have to reconnect sometimes)
    * Bluetooth works, but turning bluetooth off will drain your battery very fast. (You need to reboot stop this)
    * GPS works with AGPS, but may crash your phone.
    * Camera can take pictures. (No autofocus)
    * Automatic adjustment of screen backlight
    * About 40 hours battery life.

    Issues we are working on:

    * Fix bluetooth turn off bug
    * Power usage

    Issues that will probably not be resolved:

    * FM-radio


    This is based on SP3DEV/Alex's earlier work with lots of contributions from the rest of the community.

    The android code is at: https://github.com/CoolrunnerII/
    The kernel code is maintained by Zargloub at: https://gitorious.org/~poussevin/linux-on-qualcomm-s-msm/tp-alex-linux-xperia

    If anyone feel they have the skill and interest to contribute directly to these repos please contact me and I may arrange with write permision for more people.

    Precompiled releses can be found in the second post.

    We have a google code page with a issue tracker.

    Build instructions can be found in the google code wiki
    8
    20121001:

    * First fix for wifi signal meter in wpa_supplicant. Signal level changes with distance from access point. I need feedback about absolute levels. (Should it read higher or lower?)


    cm-7-20121002


    20120920:

    * Small change to wpa_supplicant.conf that may enable WEP access points. I can't test this at the moment, so I would like some feedback on this.

    cm-7-20120920

    recovery:

    * with the same kernel as 20120919
    * with Elibl's fixes for screen roation and font size

    Mediafire: recovery.img

    20120919:

    * gps.kovsky.so with agps support (got some crashes when enabled with wifi)
    * zargloubs latest kernel with my touchscreen fix.
    * working camera

    Mediafire: cm-7-20120919


    20120902:

    * Only change from 20120902 is libcamera.so
    * Camera should work now. Using what I believe is the proprietary HTC Dream libcamera.so that has been included in all the other ROM's

    cm-7-20120902 [broken]


    20120831:

    * First release with working GPS included
    * Standard CM7.2
    * Latest kernel from zargloub (without modules, if you need them you will have to flash a boot.img afterwards)
    * RIL is working as far as I can tell
    * Camera lib seems to be broken, but I haven't tested it all that much
    * KNOWN BUG: When GPS is in use the touchscreen stops working.
    * WARNING; There has been a reported boot loop caused by booting with gps enabled. I think I have fixed this bug, but havent tested the fix. If you end up in a boot loop you will have to enter recovery and flash a zip without gps.

    cm-7-20120831 [broken]





    Initial alfa release: cm-7-20120801
    8
    I finally found out why we don't have any signal level reading for wifi. We are using wpa_supplicant_6 as all the other gingerbreads are using, only we are the only ones using the nl80211 driver in there, and that driver doesn't have any driver_cmd function. All the other ones that have the same ti wifi chipset as us are using some sort of proprietary driver. The ones having broadcom wifi are using the wext driver. driver_cmd handles signal level and power saving modes and stuff like that.

    I'll have a go at implementing the driver_cmd function. When I have the time to figure out what ioctl calls to use I may get the signal level up from the kernel space driver into wpa_supplicant and from there up to the libwifi module and all the way up to android gui. :p

    I'm trying to get hold of another X1 to open up and connect to a logic analyzer. I'll leave the power consumption issues until I do. If I can boot a phone in windows mobile and measure the voltages and current then I may have a better idea what do do to extend out battery life. Also getting the i2c bus transactions would be very helpful.
    7
    I just uploaded Build 20130310.

    This includes:

    * Battery temp readout ( Big applause for Syahmixp for the patch :D )
    * Battery driver i2c cleanup. This may fix the lost keys bug.
    * Backlight value is remembered during suspend. This will make the screen brighter faster if used outdoors.
    * tun.ko is now included in the rom and loaded at boot time.

    You can grab it from the Google code download page
    7
    I have to agree, CyanogenMod 6.2 does fit for the Kovsky. I also edit the build.prop file just to make it match the correct build number. It's a little bit of an OCD thing of mine. It would also be great if this ROM is available on ROM Manager, it would be really user friendly.

    By the way, the WiFi meter seems to be quite exact so far. And the download link in the second post leads to an older build.

    Sent from my Kovsky using xda app-developers app

    I fixed the download link now. Sorry for that :p

    I don't think I'll start work on a CM 6.2 build. If anyone want to try it feel free, I can give out write permisions for the repos so you can start you own branch.

    I think the wifi meter was a bit low, so I'll add some on it in the next release. I may be able to include power save modes also, I'm looking into it.

    The good news is that I just won an ebay auction on a X1 with a broken headset plug. When I get it I'll start some proper power supply measurement and open it up and see if I can figure out what i2c commands are sendt under windows mobile.