• 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][2014-06-16] CyanogenMod 10 (Continuation of KonstaT's work)

850 posts in this topic

Posted

Please don't post same question more than once in different topics! I already answered you in CM10.1 topic. And this is offtopic anyway.

0

Share this post


Link to post
Share on other sites

Posted

Sorry. I posted it by mistake in this topic, and found no way to remove it. Still, there might be some answers here to. :)

0

Share this post


Link to post
Share on other sites

Posted

I guess (as others have mentioned here) that this little device only has 512MB RAM and that may not be enough to hold a few apps in memory.

For example I need to restart Opera Mini many times even though I've only used alarm clock (built in), calendar (built in), RSS reader (Sparse RSS), browser (Opera Mini) and launcher (built in). During this test I didn't send or receive a call or SMS.

So my question is, are there any settings or apps to improve the memory use... even just a little bit?

0

Share this post


Link to post
Share on other sites

Posted

You can use ZRam, and page merging

0

Share this post


Link to post
Share on other sites

Posted

I guess (as others have mentioned here) that this little device only has 512MB RAM and that may not be enough to hold a few apps in memory.

For example I need to restart Opera Mini many times even though I've only used alarm clock (built in), calendar (built in), RSS reader (Sparse RSS), browser (Opera Mini) and launcher (built in). During this test I didn't send or receive a call or SMS.

So my question is, are there any settings or apps to improve the memory use... even just a little bit?

You can use ZRam, and page merging

A swap partition might also help, as it acts as a page file, freeing up ram when needed without killing background apps

0

Share this post


Link to post
Share on other sites

Posted

You can use ZRam, and page merging

I've tried with and without zRAM and KSM with more or less the same result :(

A swap partition might also help, as it acts as a page file, freeing up ram when needed without killing background apps

I've created a swapfile on /sdcard but it looks like that the swapspace is never used. After an uptime of more than 1 day, I get this output when using the command 'free' in a terminal:

total used free shared buffers

Mem: 429476 327288 102188 0 8080

-/+ buffers: 319208 110268

Swap: 204796 0 204796

0

Share this post


Link to post
Share on other sites

Posted

eric3, it might sound stupid but maybe a reboot once a day could help?

when my phone becomes slow it works fine again after a reboot

good luck!

0

Share this post


Link to post
Share on other sites

Posted

when my phone becomes slow it works fine again after a reboot

The phone is not slow, I like this phone/ROM combination.

It's just unable to keep the browser (Opera Mini) resident in memory.

For example:

I start Opera Mini (OM) at 23:00. OM will be resident in memory untill 0:00. I've tested this by starting and stopping OM every 15 minutes or so. At 0:00 something happens (maybe the calendar is updated) which will kill OM and remove it from memory.

The same thing happens in the morning when the alarm clock is ringing.

I was hoping that adding virtual memory (swap) will help me get rid of this problem, but it looks like that the virtual memory is there but not used.

0

Share this post


Link to post
Share on other sites

Posted

The phone is not slow, I like this phone/ROM combination.

It's just unable to keep the browser (Opera Mini) resident in memory.

Yeah indeed, I like it too :)

Maybe it is with the added low memory function in the kernel, which improved a lot but it could be possible it kills your OM because it isn't used and becomes a background action witch has to be killed to improve everything (I am just brainstorming) :)

or something autokill in OM, like some games,... have?

0

Share this post


Link to post
Share on other sites

Posted

Maybe it is with the added low memory function in the kernel, which improved a lot but it could be possible it kills your OM because it isn't used and becomes a background action witch has to be killed to improve everything

Yes that is a possibility.

I guess I'm just a very "light user" (not playing games or watching movies). The heaviest app I use is Opera Mini, and even here I've turned off the use of images. It's a bit annoying that something small (I think it's the alarm clock in the morning or the updating of the calendar at 0:00h) will kill Opera Mini en thus removing it from memory.

The killing of background tasks probably improves the experience for most people.

But it would be nice if the killing can be tuned. Because when I check the memory (with the command "free" in a terminal), it looks like I have enough memory to keep Opera Mini resident.</p></p>

0

Share this post


Link to post
Share on other sites

Posted

Can anyone upload gapps file? thanks :)

1

Share this post


Link to post
Share on other sites

Posted (edited)

Can anyone compile the camera (and gallery) from CM10 (not legacy) with the following modifications? (remove lines between <<--N)

The idea is "to hide" from the menus everything that is not working (fully or partially) in our Blades keeping the other options that are not available in the legacy but works fine (focus mode, color effect, ...)


=======================================================================

android_packages_apps_Camera/res/xml/video_preferences.xml

=======================================================================


<<--1

<IconListPreference

camera:key="pref_video_effect_key"

camera:defaultValue="@string/pref_video_effect_default"

camera:title="@string/pref_video_effect_title"

camera:icons="@array/video_effect_icons"

camera:largeIcons="@array/video_effect_icons"

camera:entries="@array/pref_video_effect_entries"

camera:entryValues="@array/pref_video_effect_entryvalues" />

<<--1


=======================================================================

android_packages_apps_Gallery2/res/layout/photoeditor_effects_fix.xml

=======================================================================


<<--2

</com.android.gallery3d.photoeditor.actions.FaceliftAction>

<com.android.gallery3d.photoeditor.actions.FaceTanAction style="@style/Effect">

<ImageView

style="@style/EffectIcon"

android:src="@drawable/photoeditor_effect_facetan"/>

<TextView

android:id="@+id/effect_label"

android:text="@string/facetan"

style="@style/EffectLabel"/>

</com.android.gallery3d.photoeditor.actions.FaceTanAction>

<com.android.gallery3d.photoeditor.actions.StraightenAction style="@style/Effect"

android:tag="@string/straighten_tooltip">

<ImageView

style="@style/EffectIcon"

android:src="@drawable/photoeditor_effect_straighten"/>

<TextView

android:id="@+id/effect_label"

android:text="@string/straighten"

style="@style/EffectLabel"/>

<<--2

Edited by ilopez85
0

Share this post


Link to post
Share on other sites

Posted

I think I've found the setting to solve this issue.

I guess I'm just a very "light user" (not playing games or watching movies). The heaviest app I use is Opera Mini, and even here I've turned off the use of images. It's a bit annoying that something small (I think it's the alarm clock in the morning or the updating of the calendar at 0:00h) will kill Opera Mini en thus removing it from memory.

It's the 'sys.mem.max_hidden_apps' setting in the /system/build.prop file.

The default is 4, I changed it to 10, and now it works the way I want

0

Share this post


Link to post
Share on other sites

Posted

Raising sys.mem.max_hidden_apps to 10 may be a bit too much. You can never fit that many apps into the RAM anyway.

I am going to make a (final?) build of this Android ROM soon. That will include the master key fix and some other stuff, like raising max_hidden_apps. I still can't reproduce the button backlight issue. Can anyone that is affected please check if replacing /system/lib/hw/lights.blade.so and/or /system/app/BladeParts.apk to the version from an older build fixes the problem?

0

Share this post


Link to post
Share on other sites

Posted

Next version? Date?

0

Share this post


Link to post
Share on other sites

Posted

Raising sys.mem.max_hidden_apps to 10 may be a bit too much. You can never fit that many apps into the RAM anyway.

I am going to make a (final?) build of this Android ROM soon. That will include the master key fix and some other stuff, like raising max_hidden_apps. I still can't reproduce the button backlight issue. Can anyone that is affected please check if replacing /system/lib/hw/lights.blade.so and/or /system/app/BladeParts.apk to the version from an older build fixes the problem?

I tried replacing the 0514 version files in 0328 and the problem seems to be in BladeParts.apk

1

Share this post


Link to post
Share on other sites

Posted

Next version? Date?

I can't promise anything but today or tomorrow probably. I want to sort out the backlight issue first.

I tried replacing the 0514 version files in 0328 and the problem seems to be in BladeParts.apk

Ah, I think I found it. When BladeParts enable the button backlight on startup (or resume, most probably), they also force it to the "on" state. This might cause these problems.

0

Share this post


Link to post
Share on other sites

Posted

Any news about Apollo and Jelly Bean Camera?

0

Share this post


Link to post
Share on other sites

Posted

Hello!

This is my first post, although I've been around quite some time and had nothing to say except thanks to everybody involved in android development.

I have been using this rom for a month and have to say everything is working right, previous rom was Konstat's CM10.1 but I came back to CM10 because of bluetooth problems (didn't used to initialize). At first I had the button backlight issue, I calibrated proximity sensor and it was still not working correctly. But then I restored proximity sensor to default values, restarted and it was working perfectly!

My Blade is European, Gen2. Hope it helps!

0

Share this post


Link to post
Share on other sites

Posted

Ah, I think I found it. When BladeParts enable the button backlight on startup (or resume, most probably), they also force it to the "on" state. This might cause these problems.

I think button backlight is handled differently on framework side in CM10 and CM10.1. In CM10.1 button backlight gets enabled every time you touch the screen and stays lit for about seven seconds before turning off again. This can be quite annoying and that's why added an option to disable it. ;) Iirc in CM10 button backlight is enabled only when auto-brightness is enabled (not sure if this is a bug or a feature :P).

Btw, I'm running the same device parts code on both my devices and I haven't received any reports of weird button backlight behaviour. Not even on my CM10 build for Blade III.

0

Share this post


Link to post
Share on other sites

Posted

I had a lot of flickering with the new google maps or especially navigation (ver. 7), so for the moment I just reverted back to 6.14.4, which had more features anyways.

I was just wondering, if this is a general problem with this rom and if there is a reason for this?

0

Share this post


Link to post
Share on other sites

Posted

No, new Maps version is missing some things or they are working in another way (with Google+). Not very nice move by Google, this way they gather more personal information (your locations) for advertising.

0

Share this post


Link to post
Share on other sites

Posted

Sorry, I meant the flickering. Especially when using navigation in landscape mode, for example the header bar was constantly jumping around and there were some other graphical glitches. Since as you said the new maps is missing some features and there isn't much benefit, I didn't care that much and just installed the old version. I was just wondering, why this was happening, as I didn't have such bugs with any other app.

0

Share this post


Link to post
Share on other sites

Posted

offline maps is still there in the new maps version, luckily :)

great you will maybe do an update daemond!

(is there a possibility to add halo? ;))

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.