Please rate the "KEWL" factor of this mod.

  • This is old news man... you wasted your time.

    Votes: 0 0.0%
  • Awesome! Thanks for bringing this to TW KK 4.4.2.

    Votes: 24 100.0%

  • Total voters
    24
Search This thread

alphamale

Senior Member
Mar 24, 2011
716
224
Massillion
Ok, i will have a look tomorrow morning at 11 (GMT +2 I'm from France :) )

Posté via Pyrana v44 by Alan-B

http://xdaforums.com/showthread.php?p=53646684

https://www.dropbox.com/s/k2uyhdn1ushn11f/framework-res.apk?dl=0

https://www.dropbox.com/s/578krbodr8rmoqv/SystemUI.apk?dl=0

https://www.dropbox.com/s/1s3sa7cshztbh2e/twframework-res.apk?dl=0


Sent from my SM-N900V using Tapatalk
 

alphamale

Senior Member
Mar 24, 2011
716
224
Massillion
Ok, i will have a look tomorrow morning at 11 (GMT +2 I'm from France :) )

Posté via Pyrana v44 by Alan-B

http://xdaforums.com/showthread.php?p=53646684

https://www.dropbox.com/s/1s3sa7cshztbh2e/twframework-res.apk?dl=0

Sent from my SM-N900V using Tapatalk

---------- Post added at 08:39 PM ---------- Previous post was at 08:38 PM ----------

https://www.dropbox.com/s/1s3sa7cshztbh2e/twframework-res.apk?dl=0

https://www.dropbox.com/s/578krbodr8rmoqv/SystemUI.apk?dl=0

https://www.dropbox.com/s/k2uyhdn1ushn11f/framework-res.apk?dl=0



Sent from my SM-N900V using Tapatalk
 

EvilDoer360

Member
Mar 7, 2015
18
2
46
Darlington, SC
:(

I can theme and/or change almost anything on my phone except for this friggin' pulldown animation. Been fighting this thing three weeks with no luck. I'm banging my head on the wall trying to figure this out. I have followed this 'how to' by @the_original_teknikl to a tee with no success. I have also tried a few other 'how to's' with no success. I have tried using Ninjamorph & my laptop to make changes (worked for everything else), I've tried different versions of apktool, but my animations just won't work. I've read through countless forums and tried numerous things and I always have to restore my nandroid and 'go back to the drawing board'. I'm obviously over looking something, but I can't figure out what it is...... Any help guys ??
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    An example of what I mean by ANIMATED STATUS BAR PULL DOWN BACKGROUND can be found HERE

    This is the thread I followed to get a feel for how to do it. ---> http://xdaforums.com/showthread.php?t=1143675

    Ok, after seeing a few posts a few days ago talking about people having animated status bar pulldown backgrounds, I decided to do some research because I had never heard of this before.

    I noticed that for some reason the mod stopped with ICS.

    So I decided to create a thread on how to add this feature to your ROM, or the ROM you are currently running.

    The edits are very simple, actually, pretty much exact to the GB version of the mod.... however, they can be a little time consuming based on just how many images you would like to add to your animation.

    In POST #2, I have posted a guide on how to add add this feature to your TOUCHWIZ KITKAT 4.4.2 ND8/NDC ROM. (other phones also running touchwiz kitkat should be relatively similair, depending on if your systemui.apk is where the background is pulled from.)

    In POST #3, I have posted a guide for user/themer's, on how to create your own animations and use them with this mod.

    In POST #4, I have posted a guide on how to add animation to the statusbar PULLDOWN bar.

    In POST #6 I would like to link to animations posted by you... To make it easier to find the animations... Why not have them posted in the thread explaining how to create them... But I'll need your help on this one.



    I would like to send a thank you to....
    @bilgerryan
    @tdunham
    @dazednconfused
    @CNexus
    and
    @erikalin ...

    Without your answers to a few questions I've had or tuts on how to do something... I wouldn't have this mod... Or a few others that I've put out....

    So thank you guys for your help.
    13
    Dev instructions

    Dev instructions on how to add this mod to your touchwiz kitkat 4.4.2 based rom is located below:

    Please remember to hit thanks if you like or use this mod.

    NOTE: To get this to work with your rom... Read THIS POST..... To customize the animation read POST #3 and POST #4.

    Step 1 - Download the AnimatedPulldownMod.zip I have attached below.

    Step 2 - Open the zip and extract the two files somewhere on your desktop.

    Step 3 - Decompile your systemui.apk from your rom using apktool or what ever tool you use to decompile apps.

    Step 4 - Navigate to the res/drawable folder in your decompiled app and the "pulldown.xml" from my zip to this folder.....

    Step 5 - Navigate to the res/drawable-xhdpi folder, (or whatever folder your rom uses), and do the same for the "pulldown_animxxxx.png" images into your open folder..... You can now delete my files.

    Step 6 - Navigate to "res/layout" folder and open "status_bar_expanded.xml" open it with an xml editor such as notepad++ or virtuos ten studio.

    Step 7 - In line 2 of that file you should see this..

    <com.android.systemui.statusbar.phone.notificationpanelview android:id="@id/notification_panel" android:background="@drawable/twcustom"................

    change the background to look like this android:background="@drawable/pulldown" so the image background gets directed to the pulldown.xml file you just put in your res/drawable folder.

    Step 8 - Save and close this file now to prevent any conflicts while recompiling the app.

    Step 9 - Once you have the images in the proper folder, edited the status_bar_expanded.xml file, and put the pulldown.xml file in your res/drawable folder... Recompile your apk and name it something different, like new.apk...

    Step 10 - Open both the original systemui.apk and the new new.apk you just built, with 7-zip (that is what i recommend)

    Step 11 - Drag the resourses.arsc and classes.dex file from the new.apk into the original systemui.apk.... Do the same for the res folder in the new.apk

    Step 12 - Add to your rom and enjoy!!!
    9
    Dev/Themer Instructions

    THEMER INSTRUCTIONS FOR CREATING YOUR OWN ANIMATIONS AND EDITING THE ABOVE FILES TO WORK WITH YOUR NEW ANIMATIONS.

    Please remember to hit thanks if you like or use this mod.

    This guide is assuming you have either performed the DEV MOD in the post above or you are on a rom that has.... AND..... you already have the custom images you would like to use for your animation. If you do not, I recommend reading the guide created by @erikalin on how to create your own images

    If you ever want to learn, the tutorial I made up on another device thread shows the process. I made a video tutorial too - me talking and walking through the process of grabbing a video and turning it into an animation. FWIW, just sharing the love. Link is: written tutorial or video tutorial. Just replace with your own image sizes and file names, same process.

    As stated above, the process is the same.

    You could also search GOOGLE or XDA FORUMS for how to create frame by frame png animations... WARNING!!! It can be time consuming.

    NOTE:Read POST #4 to learn how to create a flashable zip for other users of your, and all other roms based on your phone carriers android version that have the mod above, to use.

    Ok, so if you want to use a different animation than what i have inside the mod, you will have to edit the xml inside of Systemui.apk.

    Step 1 - Decompile the SystemUI.apk that already has the mod described in POST #2

    Step 2 - Navigate to the res/drawable folder and open pulldown.xml

    Step 3 - Count HOW MANY images are in your animation

    Step 4 - Add or remove these lines
    <item android:duration="100" android:drawable="@drawable/pulldown_animXXXX" />
    in that xml file you just opened to match the amount of images in your animation (see the next step to see what to name the images)
    (THIS FILE ONLY CONTAINS THIS SPECIFIC MOD... DO NOT WORRY ABOUT BREAKING ANYTHING ELSE IF YOU MESS UP...OTHER THAN THE SYSTEMUI FORCE CLOSING WHEN REBOOTING....THIS IS WHERE THE BACKUP COMES IN HANDY.... JUST FOLLOW THE NEXT STEP AND YOU WILL BE OK) (USE THAT FILE AS A TEMPLATE FOR HOW YOURS SHOULD LOOK ONCE FINISHED) (REMEMBER TO HIT SAVE ONCE YOU ARE DONE EDITING THIS XML FILE.)

    Step 5 - Rename your images to "pulldown_animXXXX.png" ... replacing the "XXX" with numbers starting at 0 ---> so if you have 10 images, you will start with pulldown_anim0 and end with pulldown_anim9

    Step 6 - Move those newly named images to the res/drawable-xhdpi folder

    Step 7 - Recompile the app and name it something else other than SystemUI.apk

    Step 8 - Open BOTH the original SystemUI.apk and the new apk you just created with 7-zip

    Step 9 - Drag the "resources.arsc" file, "classes.dex" file and the entire "res" folder from the NEW apk INTO THE ORIGINAL SYSTEMUI.APK

    Step 10 - Push the MODIFIED systemui.apk (NOT THE NEW ONE YOU JUST CREATED) into the priv/app folder on you phone with a root explorer and reboot..... or remove the systemui from my zip above and replace with yours and flash.....

    Step 11 - ENJOY!!!
    9
    instructions for adding animated pulldown bar

    Follow this if you are on the STOCK systemui.apk

    Step 1 - Download the zip below.

    Step 2 - In your decompiled systemui.apk, Navigate to the res/drawable folder and drop all 3 xmls from the zip, into this folder.

    Step 3 - Navigate to the res/drawable-xhdpi and drop the images from the zip into this folder.

    Step 4 - Recompile the apk and enjoy.

    Note: Use the same methods for the previous posts to customize your own animation.... what i did was put the same animation on both the close and open animations.... but you can have one for opening and one for closing... your choice.

    These are instructions courtesy of @talkingmonkeys for how to add the mod if you are using @dazednconfused single bar pulldown mod.

    Open drawable/tw_close_handle_bg.xml and look for these 3 lines

    Code:
    <item android:state_pressed="true" android:drawable="@drawable/tw_close_handle_bg_press" />
        <item android:state_focused="true" android:drawable="@drawable/tw_close_handle_bg_press" />
        <item android:drawable="@drawable/tw_close_handle_bg_normal" />

    Replace the above with this

    Code:
    <item android:state_pressed="true" android:drawable="@drawable/pulldown_bar_on" />
        <item android:drawable="@drawable/pulldown_bar_off" />
    5
    ok. so after some testing and failure... i have come to the conclusion that these will not be simply universal....

    they will be rom specific.
    I've actually been looking into this myself, because I want to implement the ability to be able to switch between static pulldowns and animated pulldowns for MOAR :)

    What I was thinking is the following (for making ANY number of pulldown images work, including a static one)

    In xml, remove the reference to @ drawabe/pulldown (we'll define it via smali)

    Add an init.d script that reads SystemUI.apk, checks to see how many pulldown_XX pngs there are and dynamically generates a pulldown.xml file that references each of those files. It then places this pulldown.xml file somewhere in the system (/data, /sdcard whatever)

    In the smali, SystemUI, instead of loading a drawable named pulldown from it's resources, loads the pulldown.xml file we created with the script (using the createFromPath method from the Drawable api) and voila, pulldown that animates if there are multiple images, or is static when there is only 1 image.