DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 8 of 8

Thread: Theming apps in /data/app

  1. Droid Ninja
    MJ5150's Avatar
    Member #
    18384
    Join Date
    Dec 2009
    Location
    Lacey, Washington
    Posts
    1,040
    Phone
    Droid 1
    #1

    Theming apps in /data/app

    What is the correct way to theme apps in /data/app?

    I am trying to edit "Wireless Tether for Root Users". I want to change the PNG's for the android.tether-1.apk from green to blue.

    Pulled the APK from /data/app
    Put in my blue PNGs
    Booted into recovery, mounted system and data.
    Pushed it back and ran adb shell "/system/bin/chmod 644 /data/app/android.tether-1.apk"
    Rebooted, and the app disappears.

    What did I do wrong?
  2. Master Droid
    gszeman's Avatar
    Member #
    56765
    Join Date
    Apr 2010
    Location
    Novi, MI
    Posts
    507
    Phone
    Galaxy Nexus
    #2
    Move it to /system/app/
    Copy (not move) it to your sdcard
    Move it to your PC
    Make your edits

    Option 1:
    Move the .apk to your /AndroidSDK/tools/ folder
    Open a cmd prompt
    cd c:\directory of your .apk (for me it's c:\AndroidSDK\tools\
    adb remount
    adb push android.tether-1.apk /system/app/android.tether-1.apk
    adb reboot

    Option 2
    Move the edited .apk back to your sdcard
    Open Root Explorer
    Navigate to /sdcard/
    android.tether-1.apk
    Long press and select move
    mount r/w
    paste in /system/app/
    Long press
    android.tether-1.apk and change permissions to User R/W, Group R, Others R
    Reboot

    Rom: Codename Android 1.0.1
    Kernel: Imo's Lean Minimalistic Experimental

  3. Rescue Squad
    titans's Avatar
    Member #
    11378
    Join Date
    Dec 2009
    Posts
    2,668
    Twitter
    @titans_df
    Phone
    Incredible
    Premium Member
  4. Master Droid
    gszeman's Avatar
    Member #
    56765
    Join Date
    Apr 2010
    Location
    Novi, MI
    Posts
    507
    Phone
    Galaxy Nexus
    #4
    Quote Originally Posted by titans View Post
    Sounds like you didn't sign the .apk.
    Lol...yeah, or you can sign the .apk

    Thanks Titans...just like me to look for the most difficult solution to a problem.
    Rom: Codename Android 1.0.1
    Kernel: Imo's Lean Minimalistic Experimental

  5. Droid Ninja
    MJ5150's Avatar
    Member #
    18384
    Join Date
    Dec 2009
    Location
    Lacey, Washington
    Posts
    1,040
    Phone
    Droid 1
    #5
    Quote Originally Posted by titans View Post
    Sounds like you didn't sign the .apk.
    Hmmm.....all I did was open it with 7Zip with the "open archive" option when I right clicked on it. I did not extract any files. I deleted the green ones, then dropped in my blue ones and closed the 7Zip app. Was that OK?

    What is involved in signing it?

    -Mike
  6. Droid Ninja
    MJ5150's Avatar
    Member #
    18384
    Join Date
    Dec 2009
    Location
    Lacey, Washington
    Posts
    1,040
    Phone
    Droid 1
    #6
    Thanks for the tips gszeman. I tried both of your methods and got the "Sorry! The application Wireless Tether (process.android.tether) has stopped unexpectedly. Please try again." error.

    What did I mess up on?

    -Mike
  7. Droid Ninja
    MJ5150's Avatar
    Member #
    18384
    Join Date
    Dec 2009
    Location
    Lacey, Washington
    Posts
    1,040
    Phone
    Droid 1
    #7
    Got it figured out. Thanks for leading me down the right path fellas.

    -Mike
    Last edited by MJ5150; 06-19-2010 at 01:05 AM.
  8. App Themer
    MAD450r's Avatar
    Member #
    60980
    Join Date
    Apr 2010
    Posts
    1,297
    Liked
    2 times
    Phone
    motorola droid, Incredible als
    DroidForums.net Theme Developer
    #8

    Glad you figured it out

    I find there is no need to resync apk's
    I do all my editing with paint.net.
    for what you did you could have just opened the green images in paint.net and messed with hue. As I taught by theBowers here a few weeks back.
    alot less work
    then just drag the folder back to your still open 7zip and use root explorer to copy back to phone. Once its been edited if its an app it has to go into the system/app folder as you probly already know.

    Some like to keep both and resync, I find it more work for nothing. Even if it does update automatically as this would allow, you will still have to manually re-edit any changes you did so this is why I dont bother with sync.
    Old devices
    Droid 1 running cm10

    Droid incredible running cm7
    Nexus One running cm9
    Droid x running darkslide
    Droid x2 running cm10
    Droid 3 running AOKP
    Current devices
    Verizon GS3 running Synergy r484: zerolemon 7000mah
    Nexus 10 running AOKP
    mine
    Nexus 10 running Cleanrom
    dads

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Theming apps
    By czerdrill in forum Android Themes
    Replies: 34
    Last Post: 05-27-2010, 12:47 PM
  2. Factory Data Reset...Where's My Apps?
    By looneytoone in forum Android General Discussions
    Replies: 6
    Last Post: 05-24-2010, 06:50 AM
  3. A little help theming apps...please :)
    By gszeman in forum Android Hacks and Help
    Replies: 3
    Last Post: 05-23-2010, 08:03 AM
  4. Theming apps not included in Roms
    By tyroniousdex in forum Android Hacks and Help
    Replies: 0
    Last Post: 05-08-2010, 07:49 PM
  5. Going to root: Best method, apps & uses without losing data?
    By pudah in forum Android Hacks and Help
    Replies: 27
    Last Post: 03-22-2010, 12:12 AM

Search tags for this page

android /data/app

,

editing /data/app apks

,

how to theme /data/app

,

how to theme /data/app apks

,

how to theme data apps android

,

the application wireless tether (process android.tether) has

,

theme /data/app apks

,

themes data/app

,

theming apps

Click on a term to search our site for related topics.
Find us on Google+