• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      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 softwareNintendo 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 contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      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 / suspension / ban.

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

3135 posts in this topic

Posted · Report post

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
[/CODE] 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.
[CODE]
<?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[/code] 5. Compile the ROM.
[code]
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

Share this post


Link to post
Share on other sites

Posted · Report post

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:

                                              [*]updated gapps package - Jelly Bean Google experience as full as it can be on our device

                                                [*]Google Now for ICS Project (thanks to SilentStormer)

                                                [*]Voice Search for Google Now (thanks to Johny_G)

                                                [*]working Google Ears widget

                                                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

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

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
6

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

Hi, Can I flash this ROM to 136MB /system layout? Thanks.

1

Share this post


Link to post
Share on other sites

Posted · Report post

Some Screenies....

Screenshot_2012-07-17-10-13-01.pngScreenshot_2012-07-17-10-10-49.png

Screenshot_2012-07-17-10-15-18.pngScreenshot_2012-07-17-10-15-35.png

Screenshot_2012-07-17-10-16-38.pngScreenshot_2012-07-17-10-16-19.png

3

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

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

Edited by thecrazyguy
1

Share this post


Link to post
Share on other sites

Posted · Report post

Nice work KonstaT!! will be testing this and post feedback..

1

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks KonstaT,

Thanks Tilal6991

1

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks KonstaT, fantastic work as always ;)

2

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

looks like adding su broke the build again, seems they left LOGE/LOGD/LOGW in.

su-log-patch.txt

1

Share this post


Link to post
Share on other sites

Posted · Report post

CM10 in Zte blade, it's amazing, thanks KonstaT, tilal, and others dev

2

Share this post


Link to post
Share on other sites

Posted · Report post

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

You can try. Init.d scripts are run at early state and I guess there isn't anything in /data/radio at that point. I tried making a service that is run on property sys.boot.completed=1 (couple of seconds before lockscreen is shown) but didn't have much luck with that either.

This would be a temporary hack anyway. I'd rather have it properly fixed.

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

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?

Well, it isn't exectly smooth as butter yet. ;) It works quite well in many places but e.g. notification area and app drawer are still quite laggy. Yeah, there are some hacks that shouldn't be there (e.g. prebuilt CM9 binary). I'm sure it'll get better when more support is merged into CM10. To be honest I don't know how to verify how well the "project butter"/vsync is working. Hw acceleration at it's current state is Lalit's work, so you might want to consult him in this matter. :P

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.

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

Yeah, most of the other needed patches got merged last night. Actually the wpa_supplicant patches are not needed to build, they just fix wifi on our device.

Afaik RIL doesn't work any better on Skate/Crescent even with those lines added. It's something else preventing the radio getting the permissions (something similar to this?)

Edit. ok, there's something new going on. Edit2. Yeah, that won't work. Edit3. lol, I take that back. :)

looks like adding su broke the build again, seems they left LOGE/LOGD/LOGW in.

Sync your repo. Fix is merged (compiled just fine for me).

1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Sync your repo. Fix is merged (compiled just fine for me).

i think they're doing a "copy this from cm9" commit followed shortly afterwards by a "fix it for cm10" commit method with most patches.

my build broke half way so this isn't accurate, but it seems to be taking about 90mins to build as apposed to 70-odd for cm9, gonna delete out/ and try again.

edit: 80mins from clean, so only 5mins slower than cm9

Edited by sej7278
1

Share this post


Link to post
Share on other sites

Posted · Report post

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

Actually it does sort of work but there is a huge delay. It takes about half minute before SIM query is shown after the device is already booted. Still in search of better solution...

Does everybody's phone app constantly crash until PIN is entered? Or is it just mine because my operator is roaming on another network. It's this line where it fails. Index out of bound error on getting MCC value (operator country code).

1

Share this post


Link to post
Share on other sites

Posted · Report post

quite good for first build ! good work !!

:)

1

Share this post


Link to post
Share on other sites

Posted · Report post

OMG! Cannot believe that CM10 is coming to our blades. Thanks tilal, KonstaT, sej and all the other developers for their great work. This is amazing!

1

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.