MIUI Development ROMs

Discussion in 'Archive 2011' started by MarkHUK, Dec 16, 2011.

  1. MarkHUK

    MarkHUKCommunity Founder
    Staff Member

    Nov 6, 2010
    4,242
    1,929
    322
    IT Infrastructure Security Consultant
    Shenzhen
    MIUI ROM 1.12.9 uploaded! enjoy!

    Thanks,

    MIUI Android Team

    <?php

    $current_rel = "1.12.16";

    // Function to get files name is correct to our rom /pack
    function check_files_name($file, $marker)
    {
    return strpos($file, $marker) === 0;
    }
    // EF

    // Function to get device name from file name
    function device_name($file)
    {
    $device = substr($file, 12, 33);
    $device = substr($device, 0, -11);
    return $device;
    }

    // Function to get device name from file name
    function device_name2($file)
    {
    $device = substr($file, 18, 33);
    $device = substr($device, 0, -10);
    return $device;
    }


    // ROM
    if ( ($handle = opendir('/home/miuiandroid/public_html/rom-dev/output/')) )
    {
    // Start table
    echo '<table border="0" cellspacing="0" cellpadding="0" width="580">
    <tbody>';

    while( false !== ($file = readdir($handle)) )
    {
    if(check_files_name($file, 'miuiandroid'))
    {
    // Loop table for devices
    echo '<tr>
    <td><img src="http://miuiandroid.com/wp-content/uploads/'.device_name($file).'.png" width="115" height="201" /></td>
    <td></td>
    <td valign="top">';
    echo '<h3>'.device_name($file).' '.$current_rel.'</h3>' . "\n";
    echo '<span class="deodex"><a href="http://roms.miuiandroid.com/miuiandroid_'.device_name($file).'-'.$current_rel.'.zip">Download ROM</a></span>';
    echo 'ROM MD5: <span>'.md5_file("/home/miuiandroid/public_html/rom-dev/output/miuiandroid_".device_name($file)."-".$current_rel.".zip").'</span>';
    echo '</td>
    </tr>';
    }
    }
    echo '</tbody>
    </table>' . "\n";

    // close directory
    closedir($handle);
    }

    ?>
    <h2>Unofficial ports</h2>
    <table width="500" border="0" cellspacing="0" cellpadding="0">
    <tbody>
    <tr>
    <td><img src="http://www.miuiandroid.com/wp-content/uploads/AcerLiquid.png" alt="Acer Liquid" width="115" height="201" /></td>
    <td></td>
    <td valign="top">
    <h3>Acer Liquid 1.12.9</h3>
    Download: <a href="http://forums.miuiandroid.com/showthread.php?7878-MIUI-1-12-9" target="_blank">http://forums.miuiandroid.com/showthread.php?7878-MIUI-1-12-9</a>

    CREDIT: Lens_Flare</td>
    </tr>
    </tbody>
    </table>
     

Share Our Site