1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Theming apps in /data/app

Discussion in 'Android Themes' started by MJ5150, Jun 18, 2010.

  1. MJ5150
    Offline

    MJ5150 New Member

    Joined:
    Dec 22, 2009
    Messages:
    1,040
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Lacey, Washington
    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. gszeman
    Offline

    gszeman New Member

    Joined:
    Apr 8, 2010
    Messages:
    506
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Novi, MI
    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

  3. titans
    Offline

    titans Premium Member Premium Member

    Joined:
    Dec 3, 2009
    Messages:
    2,664
    Likes Received:
    0
    Trophy Points:
    0
    Sounds like you didn't sign the .apk.
  4. gszeman
    Offline

    gszeman New Member

    Joined:
    Apr 8, 2010
    Messages:
    506
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Novi, MI
    Lol...yeah, or you can sign the .apk

    Thanks Titans...just like me to look for the most difficult solution to a problem.
  5. MJ5150
    Offline

    MJ5150 New Member

    Joined:
    Dec 22, 2009
    Messages:
    1,040
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Lacey, Washington
    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. MJ5150
    Offline

    MJ5150 New Member

    Joined:
    Dec 22, 2009
    Messages:
    1,040
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Lacey, Washington
    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. MJ5150
    Offline

    MJ5150 New Member

    Joined:
    Dec 22, 2009
    Messages:
    1,040
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Lacey, Washington
    Got it figured out. Thanks for leading me down the right path fellas.

    -Mike
    Last edited: Jun 19, 2010
  8. MAD450r
    Offline

    MAD450r Theme Developer Theme Developer

    Joined:
    Apr 21, 2010
    Messages:
    1,297
    Likes Received:
    1
    Trophy Points:
    0
    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.
Search tags for this page

how to theme /data/app apks

,

themes data/app