Jump to content


Photo

[DEV][ROM][8.1.] CyanogenMod 10 (Android 4.1.2)

* * * * * 69 votes

  • Please log in to reply
3134 replies to this topic

#1
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,760 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Open C
  • Twitter:@konstatuomio

*
POPULAR

This is my port of CyanogenMod 10 for ZTE Blade. It is unofficial and unsupported by the CyanogenMod team. This ROM is mainly for developers/testers/advanced users - people who are aware that this ROM is incomplete. I'm really not interested in hearing whining about non-working things (and questions when they will be fixed), instead your ideas/input on the remaining issues is welcome. Sources and instructions are available in the second post for you to build CM10 yourself.

Attached File  Screenshot_2012-07-23-16-45-49.png   166.54KB   3132 downloads Attached File  Screenshot_2012-07-23-16-47-35.png   136.85KB   2884 downloads Attached File  Screenshot_2012-07-23-16-46-30.png   34.48KB   2872 downloads Attached File  Screenshot_2012-07-23-16-47-50.png   79.73KB   2761 downloads


cm-10-20130108-KonstaKANG-blade.zip
deprecated, use cm10.1
md5:9a696d776d0dae0ea0d9800b60e55bf3

gapps-jb-20121017-KonstaKANG.zip
deprecated, use cm10.1
md5:9979601a6b32b0d4e147f5be79b4f01e

You'll need at least 160mb system partition for the ROM and gapps to fit. Both gen1->gen2 and G2 TPTs are available at Amphoras' site.

Working:
  • RIL (mobile network & data)
  • Wifi
  • Bluetooth (& bt-tethering)
  • GPS
  • Audio (playback/input/routing/headphones/etc)
  • Hardware acceleration and OpenGL rendering
  • Hardware video decoding & encoding
  • Camera (photos, camcorder & panorama)
  • SD card
  • USB-storage & adb
  • USB-tethering
  • Browser
  • Touchscreen/multi-touch
  • Sensors
  • LEDs
Partially working:
  • Project Butter - fake vsync events
Not working:Sources:Thanks:
  • CyanogenMod team & everyone who's been working on CM10

  • 104

#2
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,760 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Open C
  • Twitter:@konstatuomio
1. Follow instructions on initializing a build environment up to a point of downloading the source code.

2. Download CM10 source code.
repo init -u git://github.com/CyanogenMod/android.git -b jellybean
repo sync

3. Download ZTE Blade device config, props and kernel source from my github. Create a file path-to/CM10_WORK_DIR/.repo/local_manifests/local_manifest.xml and copy in following content.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="KonstaT/android_device_zte_blade" path="device/zte/blade" revision="jellybean" />
<project name="KonstaT/proprietary_vendor_zte" path="vendor/zte" revision="jellybean" />
<project name="KonstaT/zte-kernel-msm7x27" path="kernel/zte/zte-kernel-msm7x27" revision="jellybean" />
</manifest>
'repo sync' again.

4. Update ROM Manager & Terminal Emulator. (You have to do this again only when the apps have been updated.)
cd path-to/CM10_WORK_DIR/vendor/cm/
./get-prebuilts

5. Compile the ROM.
cd path-to/CM10_WORK_DIR/
. build/envsetup.sh && lunch cm_blade-userdebug
make bacon -j8

Use 'repo sync' to pull merged changes from upstream. Use 'make clobber' to clean the build environment. Repeat step 5 to do a new build.
Sej's intructions on building CM9 might also help.

Patches to CM10 source tree needed to compile (or add functionality).
Copy the patches and cd into the directories respectively. To apply patch(es).
git am -3 patchname.patch

frameworks/av/
https://github.com/K...r-MSM7x27.patch

frameworks/native/
https://github.com/K...on-pixel-.patch

hardware/qcom/media/
https://github.com/K...r-msm7x27.patch

  • 23

#3
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,760 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Open C
  • Twitter:@konstatuomio
Merged commits not mentioned in the changelog.

8.1. changelog:
  • fixed charger mode detection
  • fake vsync events
  • set correct permissions for boostpulse (now it actually works :P)
  • enabled divx and wma hw decoding (again)
  • switched back to jellybean camera (again) & fixed preview glitches
  • Allow purging of asset bitmaps (1)
27.12. changelog:
  • backported USB gadget driver from msm-3.0 kernel (thanks to WaylandACE)
    • fixed native USB tethering
    • fixed issues with apps failing because of borked usb0 interface (e.g. network speedtest apps)
  • switched back to legacy camera
  • reverted some of the OMX hacks (and switched back to using OMX libs from ZTE device)
24.11. changelog:
  • video playback improvents by Ganster (HTML5 streaming video, divx harware decoding, etc)
18.11. changelog:
  • fixed hardware video decoding (e.g. YouTube HQ, thanks to Ganster and everyone involved)
16.11. changelog:
  • got rid off nasty CTS breaking hacks
  • fixed camcorder to ICS standards (uses hardware encoder, videos can be viewed via gallery)
  • switched to jellybean camera app (preview and panorama are still a bit flaky, might have to change back to legacycamera later)
14.11. changelog:
  • "Clear all" button on recent apps (1)
6.11. changelog:
  • CM File Manager (merged)
  • few kernel updates (ashmem, pmem)
  • fixed possible bluetooth issues
28.10. changelog:
  • fixed possible connection drop
  • zRAM tweaks
  • Add option to hide AlarmClock Icon in StatusBar (1)
  • Trebuchet : Add a pref to set hotseat icon's number (1)
  • restore soundrecorder interface (1)
17.10. changelog:
  • fixed small issue with gallery
  • Expanded Desktop (1,2)
  • Add onclick action to notification clock and date (1)
  • removed Google Ears widget from gapps package
16.10. changelog:
  • added zram support (Settings -> Performance -> Memory management-> zRam)
  • added missing bluetooth filter
  • legacycamera now bundled into gallery2
  • new CM circle battery mod (merged)
15.10. changelog:
  • Updated trimmed gapps package based on 4.1.2 version
10.10. changelog:
  • Android 4.1.2
  • fixed notification blur
  • Allow airplane and silent power toggle (1,2)
27.9. changelog:
  • camcorder records and saves files (small resolution and framerate)
  • removed few LatinIME dictionaries (da, hr, iw, ka, nb)
  • updated audio routing strategies
  • Clock - right/center/off (1,2)
  • NavigationBar: Custom height (1,2)
15.9. changelog:
  • fixed CRT screen off animation
  • calculator: start of new features (1)
  • stopwatch&timer: fix pending bugs (1)
9.9. changelog:
  • Lockscreen: Add clock alignment (1,2)
  • Quick reply option added to SMS (merged)
1.9. changelog:
  • fixed panorama mode in legacy camera
  • no more prebuilt/cm9 libs
  • added option to exit to home screen after a call instead of call log (Phone -> Settings -> Exit to home screen, ported from AOKP)
  • plenty of merged cm10 changes (e.g. national roaming option)
29.8. changelog:
  • fixed streaming video, should work fine with most apps and with local videos in gallery (youtube still causes a soft reboot after few seconds)
  • added a temporary hack to add support for ad-hoc networks until proper solution is merged into CM10 (thanks to kelvie&szym)
  • i/o scheduler settings got merged so I enabled more i/o schedulers in kernel
  • smaller font footprint
  • option for circle battery (Settings -> System -> Status bar -> Battery status style -> Circle)
  • Forward porting CM7/CM9 Advanced Phone Settings (1)
  • Stopwatch & Countdown (1)
21.8. changelog:
  • camera works with apps that don't require gpu acceleration. Legacy camera app included.
  • added option to control cursor in text fields using volume keys. Works also with third party keyboards. (Settings -> Language & input -> Volume key cursor control)
  • plenty of stuff from cm10 upstream
  • cm10 bootanimation (1)
  • Option to enable gfx effects (1,2)
  • NavigationBar : Customization (1,2)
15.8. chagelog:
  • gapps: fixed scrolling in Google Now
13.8. changelog:
  • fixed derp in gapps package backup script :P
11.8. changelog:10.8. changelog:
  • updated trimmed gapps package
  • latest Play Shop (3.7.15)
  • removed Gmail (JB version can now be downloaded from the Play Shop)
9.8. changelog:
  • smooth ui - no streaming video
  • bootanimation: allow using RGB565 instead of ARGB8888 (1)
  • Back icon doesn't scale when changing navbar height (1)
8.8 changelog:
  • slighly slower UI but streaming video playback works in this build
  • added hot reboot option to power menu (thanks to burstlam)
  • old ringtones & silenced low battery sound
  • included all LatinIME dictionaries
  • trebuchet launcher
27.7. changelog:
  • enabled triple frame buffering in kernel
  • improved UI speed
  • broke all video playback
  • theme manager
  • Hardware key custom rebinding (1,2)
  • Improve scrolling cache (1)
  • several improvements to browser (1,2,3)
26.7. changelog:
  • updated trimmed gapps package to include jb gmail app with expandable notifications
25.7. changelog:
  • ability to enable/disable use of profiles (1,2)
  • fixed purchasing apps from the play shop
  • partition info, ext partition info should now work with all(?) the different a2sd solutions (Settings -> Partition info, thanks to Squadzone)
  • MIUI-style battery bar (Settings -> System -> Status bar -> Battery status style -> Status bar, thanks to Spitemare)
23.7. changelog:
  • upstream CM10 changes:
    • notification power widget
    • more of the CM settings now actually work
    • charging LED works again
    • center clock (1,2)
    • much more...
  • option to display navigation bar (Settings -> System -> Show navigation bar)
  • link to this forum page (Settings -> About device -> KonstaKANG)
  • option to disable boot animation (Settings -> Performance -> Disable boot animation)
22.7. changelog:
  • video playback to same level as in ICS
19.7. changelog:
  • fixed GPS
  • fixed native moving apps to sdcard
  • fixed headphones and some other audio issues
  • superuser should be fully working
18.7. changelog
  • new CM10 features merged (some will still force close)
  • superuser included and working root access (pop-up keeps appearing even you've ticked remember, you can still flash the zip from superuser homepage)
  • audio playback fixed
  • RIL fix with flashable zip
16.7. changelog:
  • initial release

  • 26

#4
Freakn

Freakn

    Newbie

  • Members
  • Pip
  • 14 posts
  • Devices:zte blade
What about hearing about all the good work you guys are doing?Is dat ok to post? :P But you are right indeed people should stop whining about things not workig. Keep up the good work!

Edited by Freakn, 17 July 2012 - 10:14 AM.

  • 6

#5
幻 DreamChange

幻 DreamChange

    Newbie

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:China
  • Devices:zte blade
Do I manually "chmod 777 /data/radio/* && chown radio.radio /data/radio/*" in adb shell or terminal emulator after the ROM is booted up every boot?

  • 1

#6
android@sam

android@sam

    Enthusiast

  • Members
  • PipPipPip
  • 259 posts
  • Gender:Male
  • Location:Nagpur,India
  • Interests:Computers, MObilez...
  • Devices:DELL XCD35 aka ZTE BLADE

Do I manually "chmod 777 /data/radio/* &amp;&amp; chown radio.radio /data/radio/*" in adb shell or terminal emulator after the ROM is booted up every boot?

Yes you have to do it on every boot

  • 2

Sony Ericsson UI On your ZTE BLADE

"CYANSCAPE"


#7
幻 DreamChange

幻 DreamChange

    Newbie

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:China
  • Devices:zte blade

Yes you have to do it on every boot

Can I make a script in init.d to make it dose that? My English is poor.

  • 1

#8
dejf

dejf

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:ZTE Blade
Hi, Can I flash this ROM to 136MB /system layout? Thanks.

  • 1

#9
ZTR

ZTR

    Enthusiast

  • Members
  • PipPipPip
  • 259 posts
  • Gender:Male
  • Location:India
  • Devices:Galaxy S i9000,Dell XCD 35
  • Twitter:@Zakitheracer
Some Screenies....
Posted ImagePosted Image
Posted ImagePosted Image
Posted ImagePosted Image

  • 3
ROM:CM10.1 KonstaKANG 24/07/13
Recovery:CWM 6.0.2.7

#10
thecrazyguy

thecrazyguy

    Newbie

  • Members
  • Pip
  • 17 posts
  • Devices:Zte Blade (Sapo A5)
Are the Gapps included or can we download the ones from ICS?

Edited by thecrazyguy, 17 July 2012 - 01:54 PM.

  • 1

#11
kahush

kahush

    Newbie

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Devices:ZTE Blade
Nice work KonstaT!! will be testing this and post feedback..

  • 1

#12
ElrOnDPT

ElrOnDPT

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:ZTE Blade
Nice work!

What is your opinion right now on 4.1 performance on the current build? Where project butter is working, is it noticiable?

Cheers and huge props for the work! :)

  • 1

#13
bhush

bhush

    Regular

  • Members
  • PipPip
  • 116 posts
  • Gender:Male
  • Location:Pune,India
  • Devices:DELL XCD35,HTC P3400i
Thanks KonstaT,
Thanks Tilal6991

  • 1

#14
android@sam

android@sam

    Enthusiast

  • Members
  • PipPipPip
  • 259 posts
  • Gender:Male
  • Location:Nagpur,India
  • Interests:Computers, MObilez...
  • Devices:DELL XCD35 aka ZTE BLADE

  • 2

Sony Ericsson UI On your ZTE BLADE

"CYANSCAPE"


#15
shmizan

shmizan

    Addict

  • Members
  • PipPipPipPipPip
  • 574 posts
  • Devices:ZTE Blade

Are the Gapps included or can we download the ones from ICS?

search for jellybean gapps, they are different, they include google now and many other things

  • 1

Orange San Francisco, Upgraded to Gen 2 with TPT Helper (custom partition layout: 150-sys, 302-data, 4-cache)
CyanogenMod 10


#16
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade
nice one! seems i was patching far too much stuff in the mainline code, basically its just comment out srec and add the undef line to bionic, the dalvik patch got merged, i guess they fixed mdpwrapper. i hadn't noticed the wpa issues. plus your device and kernel tweaks.

cyanogenmod have added superuser.apk to the build now (and fixed the typo in the repo) as a prebuilt for the moment.

for the radio permissions you're probably best to add an init script such as lalit does for the skate

  • 3

#17
retrocat

retrocat

    Newbie

  • Members
  • Pip
  • 13 posts
  • Gender:Male
  • Location:Budapest, Hungary
  • Devices:ZTE Blade Gen1 TPT Gen2
  • Twitter:@norti
Thanks KonstaT, fantastic work as always ;)

  • 2

#18
ufizo

ufizo

    Enthusiast

  • Members
  • PipPipPip
  • 222 posts
  • Gender:Male
  • Location:Roorkee, India
  • Devices:DELL XCD35
  • Twitter:@ufiz0
So, right now we are using openGL hacks to get HW acceleration working... It this correct?
Like we had in ICS, before the adreno binaries for ICS were released?

  • 1

#19
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade
looks like adding su broke the build again, seems they left LOGE/LOGD/LOGW in.

Attached File  su-log-patch.txt   5.69KB   19 downloads

  • 1

#20
Romu_Android

Romu_Android

    Enthusiast

  • Members
  • PipPipPip
  • 263 posts
  • Gender:Male
  • Location:France
  • Interests:Android - iOS Jailbreaking
  • Devices:Galaxy Note 3 - Nexus 7
CM10 in Zte blade, it's amazing, thanks KonstaT, tilal, and others dev

  • 2




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users