Adaptar ROMs a cualquier MTK6589 NUEVO MÉTODO

Jorge Gomez Diaz

Simdualero de Plata
16 Abr 2013
86
2
418
Madrid
#1
ADAPTAR ROM* A CUALQUIER ANDROID MTK6589 - JELLY BEAN *CUALQUIER ROM

Habia pensado hacer este post para que los usuarios mas avanzados y con conocimientos pudieran colaborar en portar y adaptar las ROMs mas famosas y preparadas a nuestro terminal por ello investigando he encontrado un monton de tutoriales donde podriamos empezar a guiarnos.

En primer lugar quiero decir que no me hago responsable de nada de lo que les pase a vuestros teléfonos.

  • Por ello es recomendable hacer un backup de vuestro teléfono como siempre.

-------> REQUISITOS PREVIOS <--------



  • ROOTEAR EL TELEFONO
  • LAS ROMS DEBEN DE SER COMPATIBLES (EJ. 4.2.2 - 4.2.2)
  • MISMO PROCESADOR (ARMv7 - ARMv7) LISTA AQUI
  • BLOC DE NOTAS
  • TIEMPO, DEDICACIÓN Y ESFUERZO :wink:

TODA LA INFORMACION ESTA RECOPILADA AQUÍ, SI CONSIDERÁIS QUE DEBERÍA ESTAR EN OTRO ORDEN NO DUDÉIS EN COMENTARLO.

1º SELECCIONAR LA ROM (ARMv7) QUE MAS NOS CONVENGA. TIENE QUE SER DE LA MISMA VERSION (EJ. 4.2.2 -> 4.2.2 NO PUEDE SER 4.1.2 -> 4.2.2) NOSE SI ME HE EXPLICADO xD

2º SIENTO QUE ESTÉ EN INGLES (http://forum.xda-developers.com/showthread.php?t=1908008)


(copy/paste)

Many people have requested me to share the method which I am using to port roms..

THIS IS THE SIMPLEST AND FASTEST WAY TO PORT ROMS!!!

This is the method which I use in porting Roms-
Things Needed- Winrar, Notepad++

This is For Same Resolution Mobiles and You can use this Method to port roms From armv6 to armv7 devices but I dont know about the method used to port roms from armv7 to armv6 devices..

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]What is base Rom:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]The ROM which is Developed For your Mobile..[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]What is Port Rom:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]The Rom Which you want to port to your Device.[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP1;
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Take any clean CM9, AOSP, CM7, CM10 ROM which is running on your device as Base ROM.[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP2:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Extract it Using Winrar.[/TD]
[/TR]
</tbody>[/TABLE]

i49.tinypic.com_2z56udi.png [/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP3:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Take the ROM you want to port. This Port ROM. Extract it also using Winrar.[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP4:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Delete app, Framework, Fonts and Media folder in System Folder of Base ROM.

i50.tinypic.com_33e35gk.png [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP5:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Now copy app, Framework, Fonts and Media folder in System Folder from Port rom to base rom system folder.

i47.tinypic.com_2hn7r5j.png [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP6:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Now open etc folder in both the ROMs folder.

i45.tinypic.com_2ywclzc.png [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP7:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]In etc folder of base ROM open permissions folder and copy all the permissions files in Port rom to your base ROM folder except platform and handheld_hardware .And Then openinit.d Folder in Base ROM and Delete Every thing except banner and then copy all the files inside init.d folder of port ROM to Base ROM.

i45.tinypic.com_2mye13.png
i46.tinypic.com_3311v1g.png [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP8:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Now open buid.prop file using Notepad++ and make changes to these of Base Rom as you wish.Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]ro.build.id=
ro.build.display.id=
ro.build.date=
ro.modversion=
[/TD]
[/TR]
</tbody>[/TABLE]

i47.tinypic.com_10zoeud.png [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP9:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]In build.prop file change these to same as Port Rom build.prop values.Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=
[/TD]
[/TR]
</tbody>[/TABLE]

i49.tinypic.com_24pgk0z.png
Also Copy anything you Find Extra in ADDITIONAL BUILD PROPERTIES related to theme..
i49.tinypic.com_nl74g8.png [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP10:Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]COPY THE set_perm Lines in META-INF/com/google/android/updater-script From Port to Base ROM After Deleting set_perm lines in Base ROM's Updater-Script.
i50.tinypic.com_2jfklk9.png [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP11:Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]If You find any extra file or folder in system folder of PORT rom than copy them to your base rom system folder.[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]STEP12:Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Last Step to ZIP THE FOLDERS IN ONE..
SELECT META-INF, system, boot.img(if it is having), data(if it is having).
Right Click and Select Add to Archive..
Select Zip..
Type the Name.
Click OK..
i50.tinypic.com_vhf2c5.png [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

FOR MIUI:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Copy telocation.db and yellowpage.db From /system/etc folder to yours..

Copy content-types.properties file From /system/lib to yours..

Copy invoke-as from miui4 rom to /system/xbin and give it permissions on updater-script
set_perm(0, 0, 06755, "/system/xbin/invoke-as");
Note:It is needed for backup & themes app to work[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Copy liblbesec.so from miui 4 to /system/lib and give permission on updater-script
set_perm(0, 0, 0755, "/system/lib/liblbesec.so");
It is needed for superuser app from miui to work[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Change values Some of the Values in build.prop of your ROM:
ro.build.id=MIUI
ro.build.display.id=MIUI
ro.build.version.incremental=2.x.x (version number)

ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=GoodMorning.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

FOR ParanoidAndroid And PAC:

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Copy paranoid folder inside system/etc to yours..
Go to META-INF/com/google/android/Updater-Script of your base ROM and open it with Notepad++
Copy this line:
Code:

set_perm(1000, 1000, 0644, "/system/etc/paranoid/properties.conf");
i50.tinypic.com_35nd1l5.png [/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Specially For PA:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Now Open Build.prop in /system with Notepad++
Copy these lines in Additional Properties of Build.prop:
Code:

#Depends on Resolution Of your device can be pa_hdpi/pa_mdpi/pa_xhdpi. Change it according to your device.ro.pa.family=pa_mdpi#Depend on pa version. Replace x.xx with the version of PA you are porting.ro.pa.version=x.xx
i47.tinypic.com_2wmpd1v.png [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Specially For PAC Rom:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]Now Open Build.prop in /system with Notepad++
Copy these lines in Additional Properties of Build.prop:
Code:

#Replace the x.x.x with your PAC Rom versionro.pac.version=x.x.x#Customize these lines according to your wish.ro.pacrom.version=mesona_PAC_jb-alpha-v19.0.0ro.modversion=mesona_PAC_jb-alpha-v19.0.0#Depends on Resolution Of your device can be pa_hdpi/pa_mdpi/pa_xhdpi. Change it according to your device.ro.pa.family=pa_mdpi#Depend on pa version. Replace x.xx with the version of PA you are porting.ro.pa.version=x.xx#Modify this line according to your AOKP versionro.aokp.version=mesona_jb-Milestone-1#Modify it according to your base ROM's build.propro.cm.version=xxxxxxxxxxxx
Replace any line in Your build.prop which appear twice mainly ro.cm.version and ro.modversion
i47.tinypic.com_2wq8h21.png [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]For HTC Devices:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]To fix network auto select-
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]
  1. Decompile framework-res.apk
  2. Go to \framework-res\res\values\bools.xml and change change <bool name="skip_restoring_network_selection">true</bool> to false
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]To Fix Graphichal issues:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2"]
  1. Decompile framework.jar
  2. Change these files with your base
    • smali\smali\android\os
    • Environment
    • SystemProperties
    • smali\smali\android\view
    • HardwareCanvas
    • HardwareRenderer$Gl20Renderer
    • HardwareRenderer$GlRenderer
    • HardwareRenderer
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

IF YOU ARE HAVING BOOTLOOP THEN COPY THESE LIB FILES TO BASE ROM FROM PORT ROM:
Quote:
[TABLE]
<tbody>[TR]
[TD="class: alt2, bgcolor: #E9E9E9"]
  • libandroid_runtime.so
  • libandroid_servers.so
  • libmedia_jni.so
[/TD]
[/TR]
</tbody>[/TABLE]

IF YOUR BASE ROM HAS ISSUES LIKE CAMERA ISSUE THAN YOUR PORTED ROM TOO WILL HAVE ISSUES.

NOW ZIP YOUR ROM AND POST IT BUT DON'T FORGET TO GIVE CREDITS TO THE DEVELOPER OF PORT ROM..


EN PRINCIPIO YA ESTARÍA ADAPTADA.

HAGO ESTE TUTORIAL PARA QUE ALGUNOS QUE ESTAMOS EMPEZANDO CON ESTO PUEDAN APORTAR AL FORO Y A LA SCENE DE ESTE TERMINAL.
TAMBIEN TIENE QUE VER QUE ESTOY DE EXAMENES Y NO TENGO TIEMPO DE HACER GRAN COSA Y SI ALGUIEN VA AVANZANDO PUES NO ESTA DE MAS.

-AGRADECER A:
FORO XDA-DEVELOPERS
FORO MOVILESDUALSIM @rodrigoss93
RESTO DE GENTE QUE HACE POSIBLE UNA SCENE DE ESTE MODESTO TERMINAL.

ESPERO SUS PROGRESOS Y QUE PRONTO PODAMOS VER MULTITUD DE ROMs DISPONIBLES AQUI. SALUDOS.


NO HACE FALTA DECIR QUE CUALQUIERA QUE PUEDA APORTAR MAS DETALLES O METODOS, ASI COMO CUALQUIER ERROR EN EL POST QUE LO COMENTE Y SE ACLARARA LO ANTES POSIBLE
 
Última edición por un moderador:
'Me Gusta': biker_boys

anderm5

Simdualero de Oro
5 Abr 2013
170
3
488
21
#2
Re: Adaptar ROMs a cualquier MTK6589 [SOLO USUARIOS AVANZADOS]

me gusta pero se puede hacer con cualquier rom de cualquier movil?? muchas gracias por el esfuerzo.
Pd. si tienes alguna rom en mente dimela y la intento adaptar
Saludos :smile:

Enviado desde mi S5 usando Tapatalk 2
 

Jorge Gomez Diaz

Simdualero de Plata
16 Abr 2013
86
2
418
Madrid
#3
Re: Adaptar ROMs a cualquier MTK6589 [SOLO USUARIOS AVANZADOS]

En este momento estoy trabajando en poner PARANOIDROM en nuestro movil.

MIENTRAS CUMPLA LOS REQUISITOS SE PUEDE ADAPTAR CUALQUIER ROM EN PRINCIPIO.
 

flufy_tendo

Ajuste de nivel +5
Simdualero de Diamante
25 Dic 2012
12.918
7.301
10.276
Galicia
#4
Re: Adaptar ROMs a cualquier MTK6589 [SOLO USUARIOS AVANZADOS]

Gracias por el aporte. @chaskaman échale un vistazo

Enviado desde mi zp900 usando Tapatalk 2
 
Última edición por un moderador:

insanzada

Simdualero de Bronce
26 Abr 2013
18
0
336
#5
Re: Adaptar ROMs a cualquier MTK6589 [SOLO USUARIOS AVANZADOS]

És possible portar 4.2.2 para nuestro movil?
 

insanzada

Simdualero de Bronce
26 Abr 2013
18
0
336
#7
Re: Adaptar ROMs a cualquier MTK6589 [SOLO USUARIOS AVANZADOS]

Gracias Jorge, poderias meter la rom con multilang ?
 

hazelwood

Simdualero de Bronce
19 Abr 2013
22
0
336
#8
Re: Adaptar ROMs a cualquier MTK6589 [SOLO USUARIOS AVANZADOS]

Mañana me lo leo atentamente, que me interesaría meter un CM10 al Z2.
 

Jorge Gomez Diaz

Simdualero de Plata
16 Abr 2013
86
2
418
Madrid
#9
Re: Adaptar ROMs a cualquier MTK6589 [SOLO USUARIOS AVANZADOS]

Cualquier avance es algo, espero que entre todos podamos hacer algo MÁS decente y personalizable.
 

Jordiluna

Simdualero de Platino
23 May 2013
387
18
754
#12
Yo he probado con miui v5 tambien y lo mismo me quedo en el logo, probare con una xperia a ver..........