Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8755505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:52:21+00:00 2026-06-13T13:52:21+00:00

For my thesis, I’m modifying the android framework and building the source (4.1.1 Jelly

  • 0

For my thesis, I’m modifying the android framework and building the source (4.1.1 Jelly Bean).
I can do a full build, but because this is very time consuming (I’m developing on a ubuntu 12.04 64bit virtual machine) I’d like to build separate modules.

For example:
When doing changes to the location modules, it should be possible to just build the changed module, and make a new system image:

mmm frameworks/base
make snod

But this doesn’t work. Every time I try to boot, the new system image won’t boot because of:

I/dalvikvm( 1696): DexOpt: mismatch dep signature for '/system/framework/framework.odex'

After some research, I tried to disable dexpreopt with the enviroment variables

export $WITH_DEXPREOPT=false 

and

export $DISABLE_DEXPREOPT=true 

and doing a full rebuild with ‘make installclean’. The full rebuild works, and the changes to the framework are present in the build. But after doing a new change, still ‘mmm frameworks/base’ and ‘make snod’ result in dexpreopt mismatch.

The build/core/makefile from ‘make snod’ also gives the warning: ‘Warning: with dexpreopt enabled, you may need a full rebuild.’, which comes from this line in the makefile:

ifeq (true,$(WITH_DEXPREOPT))
$(warning Warning: with dexpreopt enabled, you may need a full rebuild.)
endif

This leads me to believe the $WITH_DEXPREOPT variable isn’t correctly set or read?
So far I haven’t been able to get a bootable system image without doing a clean full rebuild. Is the procedure I follow the correct to disable dexpreopt, or are there any other ways to build separate modules after doing changes to the framework and getting a new system image?

Build target is ‘full-eng’.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:52:22+00:00Added an answer on June 13, 2026 at 1:52 pm

    Apparently the WITH_DEXPREOPT environment variable is overwritten by an internal WITH_DEXPREOPT variable in

    build/target/board/generic/BoardConfig.mk
    

    Changing this to false, or according to the people at google groups, starting a make with:

    make showcommands WITH_DEXPREOPT=false
    

    does the trick. Building a specific module and making a new system image now results in a bootable build.

    (source: https://groups.google.com/d/topic/android-building/vJCkg8Yq9Ic/discussion )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im building this Digital Signage prototype for a master thesis. Im using WPF and
I am starting my thesis which is an app for android. This app is
I am writing my thesis in LaTeX and because things got a bit long
I am currenty writing my master's thesis about monitoring of distributed systems. For this
This is for a Wordpress site powered by Thesis. What I'm trying to do
As a thesis for my graduation I'm going to start an open source project:
I am busy writing my thesis (so, I guess this could count as a
I am working on my bachelor thesis (this is my first research project) and
Actually We are doing thesis work where we need to make 10 voip phones
In my english thesis latex file, how to mention the following non English words:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.