Find Your Device:
Or Continue to Thread: OpenDelta OTA for all phones
19th May 2014, 06:45 PM |#1  
OP Senior Member
Thanks Meter: 432
Donate to Me
Hi i have tested a lot of OTA apps and configs and they are very annoying until i stop thinking for a moment and I find a solution for having true OTAS updates and not depending from other users just like Nexus Devices OTAS.
Ok we started:
First of all we need to download Android Bundle with contains SDK and Eclipse
Here it is:
After it is download and installed.
You are going to download my fixed source for supporting from Android 4.1.2 to 4.4.2.
And Click on:

Them open Eclipse...
Go to file/Import:

Next and locate were is the download source

Then Finish...
Wait until it is import....
Go to res folder, values and open config.xml:

Here are the important values for making work your OTA in your phone.
 <!-- Property to read for ROM version -->
    <string name="property_version"></string>

    <!-- Property to read for device identifier -->
    <string name="property_device"></string>
This should be put in build.prop:

You can modificated all values but you should modificate this ones:
 <!-- URL base to find .delta files, %s is expanded to property_device value. Path is suffixed by (expanded) filename_base -->
    <string name="url_base_delta"></string>

    <!-- URL base to find .update and .sign files, %s is expanded to property_device value. Path is suffixed by (expanded) filename_base -->
    <string name="url_base_update"></string>

    <!-- URL base to find the full zip files, %s is expanded to property_device value. Path is suffixed by (expanded) filename_base -->
    <string name="url_base_full"></string>
Indicates where to find the ZIP for your phone...

Also you can modificate all UI and values....
After the essentials modifications you will need to compile APK:
Go here and click on selected item..

You will need to create your own KeyStores

Rellenate also this:
Them just put destination and click finish:

After all of this you have to modificate the Settings.apk of your rom:
Decompile with the script/tool you like more and go to:
In res/values:
Add this:
 <string name="system_update_settings_list_item_title">System updates</string>
<string name="system_update_settings_list_item_summary" />
Paste it near baseband_version string kernel_version string etc...
Then go to public and paste this near device_info_settings:
<public type="string" name="system_update_settings_list_item_title" id="0x7f0c06d7" />
<public type="string" name="system_update_settings_list_item_summary" id="0x7f0c06d8" />
Then go to xml/device_info_settings.xml:
And copy this in the firs lines after:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings"
Paste this:
<PreferenceScreen android:title="@string/system_update_settings_list_item_title" android:key="system_update_settings" android:summary="@string/system_update_settings_list_item_summary">
        <intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
    <PreferenceScreen android:title="@string/additional_system_update_settings_list_item_title" android:key="additional_system_update_settings">
        <intent android:targetPackage="@string/additional_system_update" android:action="android.intent.action.MAIN" android:targetClass="@string/additional_system_update_menu" />
After Compiling Settings.apk you will have full OTAS
Last edited by werty100; 20th May 2014 at 06:34 PM.
The Following 15 Users Say Thank You to werty100 For This Useful Post: [ View ]