Jump to content


Photo

[22/07/2013] Eco CM7 - A minimalist cm7 build

* * * * * 5 votes

186 replies to this topic

#1
jventura

jventura

    Diehard

  • Members
  • PipPipPipPip
  • 454 posts
  • Gender:Male
  • Location:Portugal
  • Devices:ZTE Blade

Sometimes I have the need for a stable, snappy build, with all possible features that our Blade can give. Eco CM7 is my cm7 stripped-down, minimalist and efficient build for those times. It is tweaked to be as fast as possible with minimum bloat. Battery efficiency is also one of my goals.. As much as I like ICS or JB, Gingerbread seems hand-made to our ZTE Blades.

This build includes only a minimum bundle of applications, Google Play for installing other applications you need, and "Eco Wallpapers", an assortment of wallpapers from AOSP, cm10 and elsewhere.. The default launcher is LauncherPro, a minimalist and fast launcher, although zip files are available to install other launchers (check below - section "Additional").

Since Gingerbread is stable by now, and the patches on cm7 are scarce, I don't expect to do frequent updates, only stable releases.

Details

Features

  • Eco Wallpapers
  • Automatic retrieval of Mms contents (for people without data plans)
  • Fast transitions and animations
  • Launcher Pro (default launcher - credits to the programmer)

More info

  • Changelog (2nd post)
  • FAQ's and Suggested tweaks (3rd post)
  • Build instructions (3rd post)

Sources

Additional (Install in ClockworkMod)

Attached Files


Edited by jventura, 13 April 2014 - 03:26 PM.

  • 11

#2
jventura

jventura

    Diehard

  • Members
  • PipPipPipPip
  • 454 posts
  • Gender:Male
  • Location:Portugal
  • Devices:ZTE Blade

Changelog

22/07/2013 (http://www.multiupload.nl/FVHFGDZPFO)

  • Fixes Masterkey bug.
  • Set scrolling cache default to disabled (faster scroll on menus).
  • Synced with cm7 repositories.

21/05/2013 (http://www.multiupload.nl/0JPE09PXQ0)

  • Synced with cm7 repositories.

27/01/2013 (http://www.multiupload.nl/6Z6Z8H1I6H)

  • Synced with cm7 repositories.

18/01/2013 (http://www.multiupload.nl/NIBDT64049)

  • Synced with cm7 repositories (Most are updated Greek translations)

11/11/2012 (http://www.multiupload.nl/DR1H5MJYPU)

  • Initial release
  • Synced with cm7 repositories
  • Mms auto-retrieval 1 2
  • Fast transitions/animations
  • Eco Wallpapers apk
  • Stock AOSP look

Edited by jventura, 13 April 2014 - 03:24 PM.

  • 1

#3
jventura

jventura

    Diehard

  • Members
  • PipPipPipPip
  • 454 posts
  • Gender:Male
  • Location:Portugal
  • Devices:ZTE Blade
FAQs and Tweaks

There are some suggestions also in this post.

- Battery Efficiency
  • Set Smartassv2 Governor: Settings > CyanogenMod settings > Performance > CPU settings > Available governors. Don't forget to select "Set on boot".
  • You can also set the Minimum CPU frequency to 122 MHz to save some battery (not tested).
  • Disable automatic rotation: Settings > Display > Auto-rotate screen (sensor is drawing too much battery for now).
  • Automatic Brightness: Settings > Display > Brightness.
- Tweaks
  • On LauncherPro, set the Application drawer opening speed: "Menu button" > Preferences > Advanced Settings > (App Drawer) Opening Speed > Set to "7". It will be similar to the speed which other system applications start up.
Build Instructions (Adapted from KonstaT's CM10.1 instructions)
  • Follow instructions on initializing a build environment up to a point of downloading the source code.
  • Initialize CyanogenMod 7 repo.
    repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
  • Create a file local_manifest.xml in .repo/local_manifests/ folder with the following content
    <?xml version="1.0" encoding="UTF-8"?>
    <manifest>
        <project name="joaoventura/android_device_zte_blade" path="device/zte/blade" revision="gingerbread" />
        <project name="joaoventura/proprietary_vendor_zte_blade" path="vendor/zte/blade" revision="gingerbread" />
        <project name="joaoventura/zte-kernel-msm7x27" path="kernel/zte/zte-kernel-msm7x27" revision="2.6.35" />
        <project name="joaoventura/EcoWallpapers" path="packages/apps/EcoWallpapers" revision="master" />
    </manifest>
    
  • Get CM7 source code
    repo sync -d -j16
  • Update Prebuilts (just once in a while)
    cd path-to/CM7_WORK_DIR/vendor/cyanogenmod/
    ./get-rommanager
    
  • Change your CM7 base folder in the apply_patches script. Open path-to/CM7_WORK_DIR/device/zte/blade/patches/apply_patches.sh with a text editor and change the following line to your path-to/CM7_WORK_DIR/
    # Set here the base location of your cyanogenmod files
    BASE_PATH=~/android/cm7
    
  • Apply the patches for our ZTE Blade. Every time you resync (step 4), you will have to reapply the patches.
    cd path-to/CM7_WORK_DIR/
    device/zte/blade/patches/apply_patches.sh
    
  • Compile the ROM
    cd path-to/CM7_WORK_DIR/
    . build/envsetup.sh
    brunch blade -j8
    

Edited by jventura, 21 May 2013 - 09:11 AM.

  • 1

#4
Snap.IT

Snap.IT

    Addict

  • Members
  • PipPipPipPipPip
  • 861 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Devices:ZTE Blade 3, Alcatel OT995

Sometimes I feel the need for a stable, snappy build, with all possible features that our Blade can give. Eco CM7 is my cm7 stripped-down, minimalist and efficient build for those times. It is tweaked to be as fast as possible with minimum bloat. Battery efficiency is also one of my goals.. As much as I like ICS or JB, Gingerbread seems hand-made to our ZTE Blades.

This build includes only a minimum bundle of applications, Google Play for installing other applications you need, and "Eco Wallpapers", an assortment of wallpapers from AOSP, cm10 and elsewhere.. The default launcher is LauncherPro, a minimalist and fast launcher, although zip files are available to install other launchers.

Details

Features
  • Eco Wallpapers
  • Automatic retrieval of Mms contents (for people without data plans)
  • Fast transitions and animations
  • Launcher Pro
More info
  • Changelog (2nd post)
  • FAQ's and Suggested tweaks (3rd post)


Whoa, nice build. :)

Looks like a babe and made for minimum drain of battery. I'll be running this on loop to check it out. :)

Are you using latest sources or previous sources for wifi on this one? I've found that people who have gen1's and 2's do better with the older wifi drivers while gen3's do better with the newest ones.

  • 0

#5
jventura

jventura

    Diehard

  • Members
  • PipPipPipPip
  • 454 posts
  • Gender:Male
  • Location:Portugal
  • Devices:ZTE Blade

Whoa, nice build. :)

Looks like a babe and made for minimum drain of battery. I'll be running this on loop to check it out. :)

Are you using latest sources or previous sources for wifi on this one? I've found that people who have gen1's and 2's do better with the older wifi drivers while gen3's do better with the newest ones.


Hi Snap,

Since I lost track of the location of the proprietary blobs tailored for cm7 (they were in someone's github), I had to took the blobs out of the latest cm7 nightly build. So, I don't know what blobs they are, but they are working fine in my original Gen1 tpt'd-to Gen2.. :)

  • 0

#6
judas1977

judas1977

    Regular

  • Members
  • PipPip
  • 55 posts
Nice - i did it by myself after installation on new rom (i mean deleting unused system apps etc.,) and... I wanted to test latest nightly build (11.11.2012), because of that nice feature: Port "Strip Unicode" feature from ICS branch into GB.
Is this feature present in your rom (altough i think it's a matter of switching mms.apk anyway)?
Because up to date i had to put mms.apk from one guy from xda, wchich makes exactly the same thing, but i suppose that now there will be an option in mms/sms setup...

  • 0

#7
Snap.IT

Snap.IT

    Addict

  • Members
  • PipPipPipPipPip
  • 861 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Devices:ZTE Blade 3, Alcatel OT995

Hi Snap,

Since I lost track of the location of the proprietary blobs tailored for cm7 (they were in someone's github), I had to took the blobs out of the latest cm7 nightly build. So, I don't know what blobs they are, but they are working fine in my original Gen1 tpt'd-to Gen2.. :)


Same as i am using with great battery life on Mokee then. I don't actually have a source for the older drivers either anymore so i just use latest too. :)

I just compiled the wifi against kernel using the same cnfg as i used for the kernel (TomG config, i get bored changing it every time) so it's the same as you are using.

  • 0

#8
kingpair

kingpair

    Regular

  • Members
  • PipPip
  • 80 posts
  • Gender:Male
  • Devices:ZTE Blade
This looks great. :) Giving it a go...

  • 0

#9
M@X

M@X

    Regular

  • Members
  • PipPip
  • 119 posts
  • Gender:Male
  • Location:India
  • Devices:ZTE-BLADE
Its a Great rom ! Works smooth on my Idea blade too ..
Thanxxx :) jventura

  • 0

#10
jventura

jventura

    Diehard

  • Members
  • PipPipPipPip
  • 454 posts
  • Gender:Male
  • Location:Portugal
  • Devices:ZTE Blade

Nice - i did it by myself after installation on new rom (i mean deleting unused system apps etc.,) and... I wanted to test latest nightly build (11.11.2012), because of that nice feature: Port "Strip Unicode" feature from ICS branch into GB.
Is this feature present in your rom (altough i think it's a matter of switching mms.apk anyway)?
Because up to date i had to put mms.apk from one guy from xda, wchich makes exactly the same thing, but i suppose that now there will be an option in mms/sms setup...


Yeap, that feature is in, I've seen it there.. :) It is an option in the mms application settings..

And it also includes my mms auto-retrieval patch, which is essential for those who do not have data connections on, so they can receive/send mms without having to switch data connection on (and pay for it). MMs Auto-retrieval is enabled by default, but can be disabled in Mms application settings..

Edited by jventura, 11 November 2012 - 06:43 PM.

  • 1

#11
jackal-sk

jackal-sk

    Diehard

  • Members
  • PipPipPipPip
  • 311 posts
  • Gender:Male
  • Devices:ZTE Blade

As much as I like ICS or JB, Gingerbread seems hand-made to our ZTE Blades.


This.

Nice build, thx.

  • 0
CURRENT: ZTE Grand X IN
PAST: Palm m500, m505, Zire 71, Zire 72, Mio P500, Samsung Omnia II, HTC Wildfire/Buzz, ZTE Blade

#12
Snap.IT

Snap.IT

    Addict

  • Members
  • PipPipPipPipPip
  • 861 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Devices:ZTE Blade 3, Alcatel OT995

Yeap, that feature is in, I've seen it there.. :) It is an option in the mms application settings..

And it also includes my mms auto-retrieval patch, which is essential for those who do not have data connections on, so they can receive/send mms without having to switch data connection on (and pay for it). MMs Auto-retrieval is enabled by default, but can be disabled in Mms application settings..


Nice work with the MMS commit, while i don't use it i've noticed that a lot of people do. :)

  • 0

#13
jventura

jventura

    Diehard

  • Members
  • PipPipPipPip
  • 454 posts
  • Gender:Male
  • Location:Portugal
  • Devices:ZTE Blade

Nice work with the MMS commit, while i don't use it i've noticed that a lot of people do. :)


Thanks! :)
In ICS and JB, unfortunately, the lack of mms auto-retrieval causes battery drainage for all users when data connection is off, even for AOSP users. Users of Samsung phones blame Samsung, users of LG phones blame LG, but it was an error introduced by the google developers when they moved some things on the framework and forget to update the mms app to reflect those changes.. They should ease on innovation and start on the maintenance part, IMHO.. :)

By the way, I was reading your post on Mokee which you say that you compiled latest CM kernel with TomG configurations. From which cm did you took the kernel?

  • 1

#14
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150
You should probably submit the patch to AOSP.

It works awesome BTW. Thanks for making it :P

  • 0
If you like my work or if I helped, click the Plus button.

#15
jventura

jventura

    Diehard

  • Members
  • PipPipPipPip
  • 454 posts
  • Gender:Male
  • Location:Portugal
  • Devices:ZTE Blade

You should probably submit the patch to AOSP.


If it is not solved in 4.2, I'm considering submitting the patches. I would do it now, but I still have to download AOSP source code.. :wacko:
I think I'll wait for Android 4.2 to be out.. :D

  • 0

#16
killer99

killer99

    Regular

  • Members
  • PipPip
  • 126 posts
I stripped the rom a little bit more; like sound and alarms and etc
If you want it I could upload it

  • 0

#17
dhoomktoo1

dhoomktoo1

    Newbie

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Devices:OMCSkate,SFBlade
@killar99 Could you please upload that? would like to use it.

  • 0

#18
dhoomktoo1

dhoomktoo1

    Newbie

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Devices:OMCSkate,SFBlade
@jventura I am currently running targetbsp's latest cm7.2 build. just wonder if I can just install this rom on that without the usual wipes.? would save me a lot of config / app reinstall time. thanks for your help

  • 0

#19
Smiff2

Smiff2

    Diehard

  • Members
  • PipPipPipPip
  • 426 posts
  • Gender:Male
  • Location:UK
  • Devices:Blade, U8510, G300

@jventura I am currently running targetbsp's latest cm7.2 build. just wonder if I can just install this rom on that without the usual wipes.? would save me a lot of config / app reinstall time. thanks for your help


not sure what would be the point if you aren't resizing partitions, or can you now resize e.g from 160mb system to 120mb system without losing any data?

  • 0

#20
killer99

killer99

    Regular

  • Members
  • PipPip
  • 126 posts
okee the rom is only 60mb with market already included
uploading right now
It should run on a minimum of 95mb stystem partition

Edited by killer99, 12 November 2012 - 08:39 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users