Help with making a flashable zip

Discussion in 'Droid X Hacks' started by WilfulHippo, Aug 15, 2011.

  1. WilfulHippo

    WilfulHippo Member

    Joined:
    Jan 30, 2011
    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    So I just made a package of apps for my release and had it to install apps to /system but it didn't work should it go to /data? And how do you make a text appear when installing like "thank-you for installing this zip" I have a general idea but am a little unsure

    Sent from my DROIDX using DroidForums
     
  2. CJM

    CJM Developer Relations Staff Member Rescue Squad Premium Member

    Joined:
    Sep 12, 2010
    Messages:
    9,519
    Likes Received:
    661
    Trophy Points:
    228
    Location:
    Mississippi Gulf Coast
    Ratings:
    +682
    The apps should be in the "apps" folder. Which would be inside the system folder. Or open up a rom and look at its file structure.

    The text is located in META-INF\com\google\android\ and is called the "updater-script". I edit that with notepad++.
    The one I edited for my D1 looks like this:

    show_progress(0.200000, 10);
    ui_print("CJM's Theme . . . . . . . Installing");
    mount("MTD", "system", "/system");
    show_progress(0.500000, 40);
    package_extract_dir("system", "/system");
    show_progress(0.100000, 10);
    ui_print("CJM's Theme . . . . . . . Installed");
    ui_print("Install complete. .Reboot system now");

    unmount("/system");



    You would put whatever text you want to appear like this: ui_print("thank-you for installing this zip"); or: ui_print("Installing WilfulHippo's zip");

    I didnt make that whole update.zip file. It was something posted as a "blank" zip file in this forum. I just changed the updater-script. I'm not sure it would be same for the DX.

    You could also take a look, or post your question here:Up and Coming Themers

    Here's a link that might help: How to Create Android Update Zip Package | All About Web & Mobile Application Development

    If you have any questions, just ask. I'll try and help. Or post you text for the updater-script and we'll see if we can figure it out.
     
  3. WilfulHippo

    WilfulHippo Member

    Joined:
    Jan 30, 2011
    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Thanks so much that's super helpful

    Sent from my DROIDX using DroidForums
     
Search tags for this page
creating a flashable zip for the droid rzr
,
creating flashable zip android
,

how to create a flashable zip android

,
how to make a flashable zip file for android
,
how to make flashable zips on a powerpc
,
s4 make flashable zip