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 7940717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:27:46+00:00 2026-06-03T23:27:46+00:00

I downloaded the source code of Android SDK and modified the class android.widget.TextView. Now,

  • 0

I downloaded the source code of Android SDK and modified the class android.widget.TextView.

Now, I am trying to figure out how I can replace the actual TextView running on my device with the modified one.

I found that the compiled classes reside in /system/framework on my phone.

Any pointers on how I can replace the appropriate jar & odex file?

Note: I also read in google groups that modifying bits-n-pieces of android will not work, we need to build entire source code.

  • 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-03T23:27:48+00:00Added an answer on June 3, 2026 at 11:27 pm

    I also read in google groups that modifying bits-n-pieces of android will not work, we need to build entire source code.

    You don’t have to rebuild the entire system if you just want to change a few lines here and there. Basically you need the phone where you can pull (and push!!) files with adb, and apktool or smali, depending on what are you planning to change, resources or code.

    In case of resources (localization, translation):

    1. Pull the framework-res.jar from the phone, use apktool if framework-res.jar to make it default framework for your future manipulations. You have to pull and import framework every time you use new phone or new version of Android.

    2. Pull the file you want to change.

    3. Use apktool d to decompile the file.

    4. Make the changes you need.

    5. Use apktool b to compile new file.

    6. Zip and sign.

    7. Push new file to the phone.

    In case you want to change code, use framework.jar instead of framework-res.jar and smali/backsmali for compilation/decompilation of .dex files.

    Also, it’s always a good idea to make backup copies of the files you are about to change in case when something goes wrong.

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

Sidebar

Related Questions

I have downloaded the Source code of Android 2.2 . Where can I find
I downloaded the Android PDF Viewer source code and am trying to compile it
I have downloaded Android source code but I don't find the Kernel Directory in
I have downloaded the android source code (1.5 Gb and appx. 5 Gb after
If you have downloaded any android source code, you would see a test folder
Im trying to download the source code of original Android Alarm Clock via git
I've downloaded as Android App source code from the following link . I'm getting
all I have downloaded source code from google android website following google's guide. My
I downloaded the android source code for callLog UI for the Contacts, Call log,
I've downloaded the android source code for CallLog, Contacts, Dialing from here . But

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.