I got many requests for this tutorial.
Hope it helps new porting team members.
If you have any doubt please ask.
This tutorial is for those porters who don't use patchrom and follow my easy method of porting.
This ota making process starts when you choose a port rom (MIUI rom) for your device.
I will take an example. So that all will be clear.
- Suppose I want to port for a MT6589 FHD device. Then I will choose a miui rom like this which will be updated weekly or frequently.
- Port the full rom to your device. If everything works well then its good.
- Now when the author release a update next week, download the small update.
Modification needed in the zip file:
- open the zip file and open the updater-script uing notepad ++.
- Remove any lines like this:
3. Replace/ remove all "assert" words with null. Them click on replace/ replace all.
4. Now the updater-script should look like this, without "assert" words.
5. Check the mount points of system and data.
6. Check if your updater script has the line
package_extract_dir("system", "/system");
If not there add it.
7. Check if this line is there in updater script, if not add it.
set_perm(0, 0, 0644, "/system/build.prop");
8. After all editing done drag and drop the updater-script to its respective place in update zip.
9. Create a system folder on desktop.
10. Take a build.prop from your miui full rom.
11. Change the version number. Ex- If you are creating a ota update from 4.5.9 to 4.5.16 then write 4.5.16 in the below line in build.prop.
ro.build.version.incremental=4.5.16
12. Now drag and drop the system folder having build.prop file inside it to the update zip.
13. The update zip contains these folders.
14. Flash the ota update and enjoy updating to latest version.
Credits:
comment 0 التعليقات:
more_vertsentiment_satisfied Emoticon