Help with this theme?!

Discussion in 'Android Themes' started by kingpg, Nov 3, 2010.

  1. kingpg
    Offline

    kingpg New Member

    Joined:
    Jul 23, 2010
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    0
    Ok imma try my best to explain my situation bare with me :)

    I love the Nex Theme alot and I use it for every rom but I like to change little things here and there on the framework. Usually ill copy over the drawable-hdpi then copy it back into the framework-res.apk and then push the framework file onto the phone.

    Well for this rom ive ran into a problem. (Ultimate Droid 1.0.0) I have repeatedly tried pushing the file onto the phone and everytime I do it just boot loops. I have the drawable-hdpi folder if someone can help me port it for that rom.

    If you needa know anything else to help out just lmk.

    File download is here.

    Sincerely,
    Kingpg
  2. mountaineerndixie
    Offline

    mountaineerndixie New Member

    Joined:
    Feb 22, 2010
    Messages:
    1,075
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Charleston, WV
    I think some of the framework folder names are a little different from the norm for whatever reason.

    So it's trying to push to a folder with a slightly different name. That's my guess based on hearing others trying to port themes and such.

    I'm not a Dev but that's what I would check first.

    ~ DroidForums.net App ~
  3. kingpg
    Offline

    kingpg New Member

    Joined:
    Jul 23, 2010
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    0
    Well what would be a solution?

    Sent from my Droid using Tapatalk
  4. mountaineerndixie
    Offline

    mountaineerndixie New Member

    Joined:
    Feb 22, 2010
    Messages:
    1,075
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Charleston, WV
    I would say to make sure the files/folders you are pushing have the same name/format as the ones you are replacing in the ROM. Crack open the ROM zip and check I guess.

    Like I said its just a guess.

    ~ DroidForums.net App ~
  5. kingpg
    Offline

    kingpg New Member

    Joined:
    Jul 23, 2010
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    0
    Alright I know what you mean imma try it right now hopefully that works.

    Sent from my Droid using Tapatalk
  6. mountaineerndixie
    Offline

    mountaineerndixie New Member

    Joined:
    Feb 22, 2010
    Messages:
    1,075
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Charleston, WV
    Sorry king...I shoulda let someone qualified help you. My bad, I try to give back to DF because I've gotten so much from here.

    Someone will know for sure here somewhere. It sounded similar to a situation I heard a themer discuss recently and thought it may be the same.

    ~ DroidForums.net App ~
  7. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    From what I can see you edit4ed the activity_title_bar.9.png and that's most likely your problem, .9 pngs have seperate properties and most of the time you can edit them but that particular .9.png is a cause of what you're describing...

    Try pulling another drawable-hdpi from the ROM itself, place it in whichever folder, then delete the activity_title_bar.9.png that you altered in the folder you uploaded, and copy the remaining PNGs over to the drawable-hdpi folder you just pulled from the UDv1.0.0 ROM....
    so what I'm saying is that you're going to overwrite everything 'except' the activity_title_bar.9.png on that newly pulled drawable folder... then just repack into the framework-res.apk and push back to your phone...
    try that and see if it takes...

    If you feel you must edit that PNG, there is an xUltimate tool for that, which I haven't used...
  8. mountaineerndixie
    Offline

    mountaineerndixie New Member

    Joined:
    Feb 22, 2010
    Messages:
    1,075
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Charleston, WV
    Yeah...what Mbk said!

    I was just about to say that......lol

    ~ DroidForums.net App ~
  9. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    LOL... I know you were, but I just picked your mind and posted it first... :D :p
  10. kingpg
    Offline

    kingpg New Member

    Joined:
    Jul 23, 2010
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    0
    ok I did exactly what you said and the problem persists I used the roms original framework-res.apk and changed everything else except the activity_title_bar.9.png

    what else could it possibly be ive never had this problem before...
  11. czerdrill
    Offline

    czerdrill New Member

    Joined:
    Jan 2, 2010
    Messages:
    4,828
    Likes Received:
    12
    Trophy Points:
    0
    instead of copying over and back, can you try just dragging the edited files into the apk? in other words don't unzip the apk and rezip...just drag edited files into the drawable-hdpi folder through 7zip
  12. kingpg
    Offline

    kingpg New Member

    Joined:
    Jul 23, 2010
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    0
    Thats what I meant I drag the folder into the winrar window.

    Sent from my Droid using Tapatalk
  13. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    I'll take another look at your drawable-hdpi folder later when I get back... might have another file not renamed right and is needed by the system, that'd be my guess. I don't have UDv1.0.0 loaded on either of my Droids currently to check quickly...
  14. czerdrill
    Offline

    czerdrill New Member

    Joined:
    Jan 2, 2010
    Messages:
    4,828
    Likes Received:
    12
    Trophy Points:
    0
    don't drag the folder...drag the individual files...

    [1] download UD's framework-res
    [2] open it in winrar don't unzip
    [3] navigate to res>drawable-hdpi in winrar don't unzip
    [4] drag edited pngs from your desktop to that folder
    [5] copy framework to phone
    [6] restart

    i dont know if winrar is the same as 7zip, but the point is not to unzip or zip up the apk, or remove any folder from it and drag it back in. just drag the edited files and overwrite them into the unzipped apk.

    i use apkmanager to do my edits, so i dont know if this will work or not but worth a shot.
  15. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    He wouldn't need APK Manager for image editing, so doing it the way he's doing is about the quickest...
    however @kingpg... you appear to have inserted all kinds of size variances to a lot of the images which is likely your main issue now, ....was there any reason that you changed the dimensions of many of the PNGs, especially a lot of the .9 PNGs?
  16. kingpg
    Offline

    kingpg New Member

    Joined:
    Jul 23, 2010
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    0
    All the changes I have made, were done before with previous ud roms

    Sent from my Droid using Tapatalk
  17. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    Well I didn't have a detailed look, but if some of the new XMLs he's included in this framework-res specifies that the image is to be of a certain height and width, and spaced x from the left side and y from the top, but you have now made those images far too huge for the layout specified in the XML... what do you think might happen?... and I seen more than a few like this, so can't venture to guess if that'd be a problem just to boot up.....
  18. kingpg
    Offline

    kingpg New Member

    Joined:
    Jul 23, 2010
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    0
    Oh s#it your right imma get to work resizing

    Sent from my Droid using Tapatalk
  19. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    I do know that the images don't just magically float into place....lol... they are specified to go to a certain place and to take up yay amount of space by the XMLs... just try resizing most of the biggest size differences and reload the theme a try every so many changes... :)
  20. kingpg
    Offline

    kingpg New Member

    Joined:
    Jul 23, 2010
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    0
    Thanks when im done working I'll resize it all and give it another try

    Sent from my Droid using Tapatalk