General :: Android Kernel Optimization

May 8, 2013

What sections of kernel code are changed for optimization of performance.

Like we can change
1) the minimum free memory that android need to keep free.
2) Rate of clearing cache
3)Advanced LMK- where we can kill more than one process at at time when memory scarcity occurs.
4) Reducing logging.
5) In framework we can change the oom_adj value of important processes.
6) Implement Zram for kernel.
7) change the minimum and maximum no of process for AMS.

I want to know all the changes that can be made into kernel or framework code to optimize performance. I also want to know how can we implement swapcache for android kernel. What changes do i need to make in the code.

General :: Android Kernel Optimization


ADVERTISEMENT

General :: How To Port AODP Kernel To CM9 Kernel

Jun 9, 2012

I have u8800 and 3.0.8 AOSP kernel. But not runnig cm9 with AOSP kernel. How to port aosp kernel to cm9 kernel.

View 1 Replies View Related

Android :: PNG Optimization On Packaging Process

Oct 28, 2009

I've noticed that the PNGs of my application with some gradients effects looked terribly bad at the device (a Samsung Galaxy) and at the emulator, and I've found the following note at the documentation (http://developer.android.com/guide/topics/graphics/2d- graphics.html):

Image resources placed in res/drawable/ may be automatically optimized with lossless image compression by the aapt tool. For example, a true-color PNG that does not require more than 256 colors may be converted to an 8-bit PNG with a color palette. This will result in an image of equal quality but which requires less memory. So be aware that the image binaries placed in this directory can change during the build. If you plan on reading an image as a bit stream in order to convert it to a bitmap, put your images in the res/raw/ folder instead, where they will not be optimized."

I've tried the res/raw suggestion, but it didn't worked.

I've tried to use the image as JPEG as a workaround, but I couldn't use 9-patch.

I've uploaded a comparison between the original png and the "optimized" png that is shown on the emulator or devices: [url]

One workaround would be put the images at /assets/ and manually load and set the image on the ImageViews, but it requires a lot of code changes.

View 11 Replies View Related

Android : Screen Optimization In Droid?

Jun 30, 2010

I want to do screen optimization. That means once I develop the UI in android it should fit exactly the same in all android enabled phones. So how do i do it?

View 1 Replies View Related

Android :: Optimization Accessing Fields Vs Methods

Nov 1, 2010

I know rule #1 of optimization is: don't do it! But I figured this was an easy question, and if I start using the faster method now I can save a lot of cpu time when I'm finished.Now, the answer to my question may be "there's no difference" and that's fine with me. I just want to know.

View 4 Replies View Related

Android :: Open Home Memory Optimization

Nov 11, 2009

Any idea? It doesn't seem to close apps like TaskKiller or TaskPanel. So what is it doing?

View 4 Replies View Related

Android :: Long ListView Optimization / Usability

Nov 17, 2010

I have a long list to display in a listview. Let's say 200 items. This is a long list, but i can't reduce it. Now my list is slow and is not convenient for the user.I need something like a paging system: at the beginning I load 25 items. When the user reach the end I show a button, or something like it, to load other 25 items. An Iphone style solution.Is there a better way? Or what is the best solution?

View 1 Replies View Related

Android :: Want Sql Optimization Techniques For Databases Has Nearly 80,000 Records

Jul 14, 2009

I want to know optimization techniques for databases that has nearly 80,000 records,
list of possibilities for optimizing

i am using for my mobile project in android platform
i use sqlite,i takes lot of time to retreive the data.

View 9 Replies View Related

Android :: Optimization Proposals For ListView With Data From Multiple Tables

Aug 18, 2010

I just encountered the following situation. I have an Android app with a scenario which I guess may happen in multiple apps. It's about tagging/labeling/categorizing, call it as you want.After CommonsWare's feedback here a bit of a clarification. I'm weird about doing the second query to the DB inside the CursorAdapter, basically this would result in one query per row and I fear this will heavily impact my performance (I've still to test it on a real device with a substantial amount of data to see how much this impacts).My question therefore is on whether there are some strategies on how to avoid this given my data model or whether I have to basically "live" with that :)

View 2 Replies View Related

Android :: Build Library Without Optimization In Order To Properly Debug It

Mar 12, 2009

I'm trying to debug native library (in particular, libril.so). Everythig is going fine, breakpoint is being hit, I can go thru the lines of RIL_onRequestComplete() function. But when I tried to print out particular struct I got,

(gdb) print pRI $2 = <value optimized out> (gdb) print pRI->pCI $3 = (android::._115 *) 0x613 (gdb) print pRI->pCI->requestNumber Cannot access memory at address 0x613

I suspect it could be due to optimization done by compiler. But when I tried to add,

LOCAL_CFLAGS := -g3 -O0

into makefile of the lib, I've got another problem when I cannot correctly set breakpoint on desired function. Instead of correct one,

(gdb) break RIL_onRequestComplete Breakpoint 1 at 0xae402e4e: file hardware/ril/libril/ril.cpp, line 1800.

I got,

(gdb) break RIL_onRequestComplete Breakpoint 1 at 0xffffab44: file bionic/libm/src/s_tanf.c, line 42.

Does anybody know what could be a problem, and what is the right way to handle this?

View 2 Replies View Related

Motorola Droid :: Desktop Kernel Patch Applied To Android Kernel

Nov 18, 2010

Does anybody know if the new desktop kernel patch written by Mike Galbraith can be applied or modified to be used in the android kernel?

Tiny Linux Kernel Patch Delivers Huge Speed Boost - PCWorld Business Center

I haven't messed around with android kernels yet, but I have applied it to my current Ubuntu 10.10 system and you can see the difference. Its like night & day!

View 2 Replies View Related

Android :: Patches To Convert A Normal Vanilla Kernel Into Droid Kernel?

Mar 3, 2010

I have vanilla linux kernel version 2.6.27. I want to apply android specific patches and convert it to android linux kernel 2.6.27. Where can a user find the patches to convert a normal vanilla kernel into android kernel?

View 1 Replies View Related

Jelly Bean :: Turn Off WiFi Optimization S4 I9500 4.3

Dec 6, 2013

Well I have S4 I9500 and whenever I tried to connect to my work network after updating to a clean android 4.3*OTA, I receive a notification stating that: This network has been disconnected.You need to sign-in again. This also happened to all 4.3 users in my workplace. 2 colleagues using Note 3 and another colleague using S4 19500. All of us can log onto various networks outside of our workplace like home and coffee shops. After doing some research I found out that I have to turn off wifi optimization but that option is not available in S4.

View 2 Replies View Related

Samsung Galaxy S :: Phone Running Really Slow / Could It Be Optimization Thing - Something?

Jul 4, 2010

I just got my phone about 4 days ago, and when opening apps, unlocking, opening contact lists etc etc, it just lags heaps. Does anybody else have the same issue? Could it just be an optimization thing or something?

View 35 Replies View Related

Android :: Any Tool To Find Memory Leak / Code Optimization In Android?

Sep 12, 2010

I would like to know is there any tool in android to find memory leak and code optimization.

View 8 Replies View Related

Samsung Moment :: Joeys Kernel And Get Stock Kernel Back

Jun 11, 2010

where I have got right now on my phone, which is:

1. I updated to stock 2.1 using the sprint update tool.
2. I followed the video tutorial to root the phone
3. then i used joey's page (http://www.joeyconway.com/sdx/custom/index.php) to install the his kernel (joeykrim-SDX-kernel v2.0.4 (includes root)).

I have done nothing else to the phone but this and removing a couple of bloatware apps (i checked the list of permitted deletions before i removed anything.) I have not installed a new recovery..at least i dont think that I did as part of one of the other operations I performed (as an aside, i am not really sure what the custom recovery is or what it is used for, so i didnt install it...i guess i need to read up more...)

So that is where I am..but i have a couple of questions.

1) i am now having issues with my wifi connection - the signal reception is very spotty in areas where i should have atleast 2 bars of reception, and the wifi often cuts out completely....Is there any know corellation between joey's kernel and this wifi issue? I have searched the forums and have found nothing that answers this.

2) Is there an easy way to get back to the stock kernel? I have read that i can get back to stock everything by using the sprint download center where I did my original 2.1 update. But is there a way to get back to just the stock kernel without wiping the phone?

View 1 Replies View Related

General :: Use OpenVPN In Android 4.0.3 And Kernel 3.0.8

Feb 13, 2013

i want to use open vpn in android 4.0.3 and kernel 3.0.8 but the prblm is its cannot connect TUN cannot open error comes. need to root tablet but how to root ?

My Model :
Bsnl Penta IS703C
android 4.0.3
kernel 3.0.8 ?

and one thing when we root is the OS also changes if your team can change my os also

View 1 Replies View Related

General :: How To Install Kernel For Android

Jun 17, 2012

How am I meant to install a kernel?

HTC Explorer A310e using XDA

View 9 Replies View Related

Motorola Droid :: New Kernel Over Old Kernel

May 20, 2010

I currently have bekit 1ghz kernet installed, but I was interested in trying out some other kernels. Can I just install them via Rom Manager over the first kernel? Or is there some kind of uninstall process I should use first?

View 3 Replies View Related

General :: How To Compile Android Kernel From Source

Jun 21, 2013

I am needing to make a kernel for a certain device. There aren't any source codes available for that device but there are for multiple clones out there. I am running Linux Mint Debian edition and i cant find a guide for compiling a kernel on debian.

View 1 Replies View Related

General :: Android Kernel Compilation Giving Error

Aug 21, 2013

I am new to android. i am try to compile android kernel 3.4.0 for HTC device.After running cross compile command,

"export CROSS_COMPILE=/home/jharvard/ndk-x86/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-"

when I run make clean command "make clean && make mrproper".It shows errors,

/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 25: arm-eabi-gcc: command not found
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 26: arm-eabi-gcc: command not found

View 1 Replies View Related

General :: Emulate Android Froyo With Normal Kernel?

Nov 3, 2012

Is there any way to emulate an android froyo with normal kernel and everything a normal android phone has? Including a market and recovery mode. I want this mainly because I feel terrified by the thought that I might brick my phone flashing a custom rom and I am a beginner so I never tried anything complicated with it. So before I try anything over my phone I want to try this on an emulated phone.

View 9 Replies View Related

Android :: Push Kernel Repo Into Android.git.kernel.org

Jul 13, 2009

I'm working for Freescale Semiconductor on the i.MX series linux BSP. Now we have android running well on i.MX515 platform, and hope to push android kernel repo into android.git.kernel.org. Then what's the process need us to follow? How reviews will be done? And what we should provide?

View 3 Replies View Related

General :: Where Is Kernel In The ROM

Jun 19, 2012

i wanna know wheres is the kernel in the ROM and as i can replace it for other kernel

View 1 Replies View Related

General :: Nexus 7 - How To Build Latest Linux Kernel For Android Device

Mar 24, 2013

How to build latest linux kernel from off site for Android device (for example Nexus7)?

I have: AOSP source code

Android build for device (from aosp)
Downloaded kernel 3.8.4 from off site

The question is: How can I build latest kernel using all described stuff (aosp source, kernel config, latest kernel)?

View 1 Replies View Related

General :: How To Extract Kernel Of A ROM

Apr 6, 2012

I just want to know how to extract a kernel of a ROM!

View 1 Replies View Related

General :: How To Change Kernel

Aug 5, 2012

I know that the boot img contains the kernel.. but how can i now change somthing inside?

ROMS I open with winrar and then change everything I want.

Does it work a different way at Kernel?

View 2 Replies View Related

General :: Test Kernel On AVD?

Jul 25, 2012

i'm trying to use my custom kernel on avd, when i launch

Code:

./emulator -avd sgsp40 -kernel /home/rmbq/zImage -show-kernel -verbose

the output is:

Code:
emulator: found SDK root at /home/rmbq/android-sdk-linux
emulator: Android virtual device file at: /home/rmbq/.android/avd/sgsp40.ini
emulator: virtual device content at /home/rmbq/.android/avd/sgsp40.avd
emulator: virtual device config file: /home/rmbq/.android/avd/sgsp40.avd/config.ini
emulator: using core hw config path: /home/rmbq/.android/avd/sgsp40.avd/hardware-qemu.ini
emulator: Found AVD target API level: 15
emulator: found skin 'WVGA800' in directory: /home/rmbq/android-sdk-linux/platforms/android-15/skins
emulator: autoconfig: -skin WVGA800

[code]....

there is this line:

Code:

emulator: Could not open file: (null)/system/build.prop: No such file or directory

which appear only when i use a custom kernel.

View 1 Replies View Related

General :: Difference Between ROM And Kernel

Apr 16, 2012

whats the difference between a ROM and a kernel

U8150

View 9 Replies View Related

General :: How To Edit Kernel Name In Rom

Sep 11, 2012

I have a kernel in my phone and I want to change its name. How to do it

GT-I9003

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved