[GUIDE] How to port Kitkat Base roms ?? - Miscellaneous Android Development

How to Port kikat base Roms
Instructions
1. Extract port ROM to a folder name "PORT" and stock ROM to a folder named "STOCK"
2. Copy boot.img from stock to port
3. Go to "PORT" etc folder and delete folder "Bluetooth, firmware and WiFi
4. Now go to "STOCK" system/etc folder and copy "Bluetooth, firmware and WiFi" folder and paste it to "STOCK" system/etc folder
5. Open folder system/lib in PORT and delete folder egl and hw
6. Open folder system/lib in STOCK and copy folder egl and hw and paste it to "PORT" Lib folder
7. Noe go to STOCK system/lib and copy all files starting from libaudio**** and following files
libcamalgo.so
libcamdrv.so
libcameracustom.so
libdpframework.so
libsensorservice.so
libsync.so
libvcodecdrv.so
8. Now paste the copied files to PORT system/lib
9. Now copy files "pq and gold " from STOCK system/bin and paste it to PORT system/bin
10. Now go to PORT system folder and delete vendor folder and then copy vendor folder from PORT and paste it to PORT system/
11. open folder system/usr/keylayout in STOCK and copy file Generic.kl
12. open folder system/usr/keylayout in PORT and paste file Generic.kl
13. Open build.prop in PORT and search line ro.sf.hwrotation=
And set it to "0"
In build.prop search lines
ro.product.locale.language=
ro.product.locale.region=
For English change it to
ro.product.locale.language=en
ro.product.locale.region=US
Step 14. Edit Updater script in META.inf folder nd
Compress/zip META-INF, system and boot.img using 7-Zip as port.zip and flash using any custom recovery.
First boot may take 2-3 minutes
Please add proper credits in your ported ROMs
Bug Fixing
Showing black screen after logo?
Replace following file from STOCK to PORT
system/lib/libMali.so
Stuck at logo/Bootloop?
Replace following files from STOCK to PORT
system/lib/libandroid_runtime.so
system/lib/libandroid_servers.so
system/lib/libmedia_jni.so
Camera focus not working?
Replace following file from STOCK to PORT
system/lib/libfeatureio.so
Camera showing wrong model in pic property?
Change model in build.prop
Still not working? Replace following file from STOCK to PORT
system/lib/libexif.so
Camera not working/force close?
Replace following files from STOCK to PORT
all files from system/lib folder which starts with libcam
Resolution problem?
open build.prop and add following line
ro.sf.lcd_density=240
Pixalation in video?
Replace following file from STOCK to PORT
system/lib/libvcodecdrv.so
Flipped touch screen?
Replace following files from STOCK to PORT
system/lib/libinput.so
Credits -
XDA
Umang leekha

There is hissing noise that comes out of the speaker after playing media.
I replaced all audio libs, libcustom_nvram.so
How can i fix it?

zenowaren said:
There is hissing noise that comes out of the speaker after playing media.
I replaced all audio libs, libcustom_nvram.so
How can i fix it?
Click to expand...
Click to collapse
Well, i unpacked stock system.img and flashed via cwm without modifying any files, there is the same problem again. It is not related to porting

Related

{mtk} cross platform (chipsetrom porting

[align=center]{:4_106:}HELLO FOLKS,
I AM HERE TO INTRODUCE CROSS MTK PLATFORM MIUI ROM PORTING GUIDE
[/align]
WARNINGS :- THIS GUIDE IS ONLY FOR DEV, NOT FOR NEWBIES
Click to expand...
Click to collapse
[align=center]{:4_106:}MTK CROSS PLATFORM ROM PORTING GUIDE{:4_106:}
REQUIRMENTS:
1. FULLY KNOW MIUI ROM PORTING GUIDE (IF U DON'T KNOW TEACH URSELF USING @ANSUMAN GUIDE)
2. THIS GUIDE WILL WORK WITH SAME MTK GPU CHIPSET
(EXAMPLE: MT6582 <------>MT6592 (BOTH CHIPSET HAS MALI GPU),ETC )
3. BASE ROM (STOCK ROM) AND PORT ROM (MIUI ROM WHICH YOU GOING TO PORT FOR UR DEVICE) HAS SAME ANDROID SDK
(EXAMPLE: 4.2.x<---->4.2.x , 4.4.x<---->4.4.x ,ETC )
4. BRAIN AND EXPERT {:4_106:}
[align=center]LETS BEGIN THE GUIDE
1. MAKE 2 NEW FOLDER ON DESKTOP AND EXTRACT STOCK ROM IN 1ST FOLDER (NAME IT TO BASE),EXTRACT PORTING ROM TO 2ND FOLDER (NAME IT TO PORT)
2. OPEN BASE FOLDER >SYSTEM>BIN> COPY ALL BIN FILES TO
PORT FOLDER>SYSTEM>BIN> PASTE HERE AND REPLACE EXISTING FILES
3. OPEN BASE FOLDER >SYSTEM> LIB > COPY HW FOLDER,MODULE FOLDER (IF EXIST IN KK ),SOUNDFX FOLDER TO
PORT FOLDER >SYSTEM>LIB > PASTE HERE (FIRST DELETE HW,MODULE,SOUNDFX)
4. OPEN BASE FOLDER >SYSTEM> LIB> COPY ALL LIB FILES(.SO) TO
PORT FOLDER >SYSTEM>LIB > PASTE HERE AND REPLACE EXISTING FILES
5. OPEN MIUI ROM ZIP FILE IN WINRAR AND GO TO SYSTEM>LIB FOLDER> EXTRACT THIS FILE SOMEWHERE
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
(IMPORTANT FILES )
6. NOW COPY ABOVE STEPS 5 LIB FILE AND MOVE IT TO PORT FOLDER >LIB FOLDER> PASTE HERE AND REPLACE EXISTING FILES
7. OPEN MIUI ROM ZIP FILE IN WINRAR AND GO TO SYSTEM>LIB FOLDER> EXTRACT THIS FILE SOMEWHERE
>>libwebp_android.so
>>libwebrtc_audio_preprocessing.so
>>libwebviewchromium.so
>> libwebviewchromium_plat_support.so
(IMPORTANT FILES )
[backcolor=Black]
[backcolor=White]8. NOW COPY ABOVE STEPS 4 LIB FILE AND MOVE IT TO PORT FOLDER >[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>LIB> PASTE HERE AND REPLACE EXISTING FILES
9. DELETE VENDOR FOLDER OF PORT AND PASTE FROM BASE FOLDER IN PORT FOLDER
10. CHANGE BOOTANIMATION IN PORT FOLDER>MEDIA FOLDER> HERE (ACC. TO YOUR SCREEN RESOLUTION)
11. GO TO PORT FOLDER>[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>ETC > DELETE FIRMWARE, MDDB(SOME ROM NOT EXISTED,SO IF YOU ROM NOT PRESENT IGNORE IT)
AND PASTE ABOVE TWO FOLDER FROM BASE TO PORT>[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>ETC> HERE
12. OPEN BASE FOLDER >[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>ETC> COPY AUDIOEFFECT, AUDIOPOLICY, MEDIACODECS FILES TO
PORT FOLDER>ETC FOLDER> PASTE HERE AND REPLACE EXISTING FILES
13. NOW GO TO BASE> [/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>XBIN> COPY libmnlp_mt65xx(DIFF ACC TO CHIPSET LIKE MT6582,MT6592) FILE TO
PORT FOLDER>[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>XBIN > PASTE HERE (DELETE PORT ROM'S libmnlp_mt65xx)
14. NOW COMES BOOT.IMG EDITING (USE KITCHEN OR ANYOTHER U PREFER)
>> EXTRACT BOTH BOOT.IMG (BASE AND PORT)
>> OPEN BASE BOOT>INIT.RC AND CAMPARE WITH PORT'S INIT.RC AND CHANGE BOOTCLASSPATH IF PRESENT
AND OTHER REGARDING THEMES ETC.
>> OPEN BASE BOOT>PROJECT.RC AND CAMPARE WITH PORT'S PROJECT.RC AND DO CHANGES WHICH IS EXTRA IN PORT
>> OPEN BASE BOOT>ENVIRONMENT.RC AND CAMPARE WITH PORT'S ENVIRONMENT.RC AND DO CHANGES WHICH IS EXTRA IN PORT (THIS IS ABSENT IN JB ,SO DON'T WORRY ABOUT IT)
>> PACK IT , COPY NEW BOOT.IMG AND PASTE ,REPLACE IN PORT FOLDER
15. NOW OPEN PORT FOLDER>[/backcolor][/backcolor][backcolor=Black][backcolor=White]SYSTEM>BUILD.PROP> AND CHANGE MT65xx TO UR CHIPSET ACC TO UR STOCK BUILD.PROP ,
ALSO WLAN LINE mT65xx TO UR CHIPSET ACC TO UR STOCK BUILD.PROP ,
16. OPEN META-INF>ANDROID>UPDATER-SCRIPT AS TEXT EDITIOR(IN NOTEPAD++ OR U PREFER ANY OTHER)
CHANGE MOUNTPOINT ACC. TO UR STOCK ROM'S UPDATER-SCRIPT[/backcolor]
[/backcolor]
[backcolor=White]ALSO THIS LINE --> symlink("wlan_mt65xx.ko", "/system/lib/modules/wlan.ko"); (MT65XX DEPEND ON UR STOCK ROM UPDATER-SCRIPT)
[/backcolor]
Click to expand...
Click to collapse
[backcolor=White]
SAVE IT
17. GO TO BASE> SYSTEM>FRAMEWORK>COPY SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI[/backcolor][backcolor=White][backcolor=White][backcolor=White].JAR[/backcolor][/backcolor] UNPACK IT (NAME AS S)
DO SAME WITH PORT>SYSTEM>FRAMEWORK>[/backcolor][backcolor=White][backcolor=White] SERVICES.JAR(MAKE SURE DEODEXED)[/backcolor][/backcolor]
[backcolor=White][backcolor=White][backcolor=White]>> USING BASKMALI[/backcolor][/backcolor][/backcolor][backcolor=White][backcolor=White][backcolor=White][backcolor=White][backcolor=White].JAR[/backcolor][/backcolor] UNPACK IT[/backcolor][/backcolor][/backcolor][backcolor=White][backcolor=White][backcolor=White][backcolor=White] (NAME AS CLASSOUT)
[/backcolor]
>>NOW OPEN [/backcolor][/backcolor][/backcolor][backcolor=White][backcolor=White][backcolor=White][backcolor=White]S FOLDER[/backcolor]>ANDROID>SERVER AND SEARCH OF THESE FILES
MOUNTSMALI** (U WILL GET LOTS OF FILE STARTING WITH MOUNT),COPY THESE FILES
AND PAST & REPLACE IN CLASSOUT FOLDER>ANDROID>SERVER>HERE
[/backcolor]>> PACK THE CLASSOUT FOLDER USING SMALI.JAR
> PUSH IN SERVICES.JAR(PORT) AND PASTE IN SAME LOCATION AS MENTIONED IN STEPS 17.
(IMPORTANT STEPS)
(IMPORTANT STEPS)
[/backcolor]18. GO TO PORT FOLDER ,DELETE UNWANTED STUFF LIKE, UBOOT.IMG ,SCATTER ETC
19. MAKE ZIP OF BOOT.IMG,SYSTEM,META-INF AND FLASH VIA UR CWM RECOVERY,TWRP ETC[/backcolor]
FAQ :
1. IS THIS REALLY WORKING ??
>> YES ,IT IS ( I PORTED MIUI V5 BASED ON KITKAT (BETA) FROM MT6592 TO MT6582
2. MAY I GET LOTS OF BUGS ??
>> YES U WILL GET BUGS BUT NOT MAJOR.....I FOUND BUGS OF SOME APPS FC....TAKE LOGCAT AND TRY TO FIX IT OR ASK HERE
NOTE : I AM NOT RESPONSIBLE OR MIUI FORUM...IF UR DEVICE GOT FEVER,DEAD,WAR ETC
CREDITS :
GOOGLE
MIUI FORUM
XDA
ANSUMAN GUIDE (HERE IS LINK : http://en.miui.com/thread-20482-1-1.html)
ME
[/align]
[/align]

How to port armv6 to armv7 rom

THIS IS THE SIMPLEST AND FASTEST WAY TO PORT ROMS FROM ARMV6 TO ARMV7!!!
This is the method which I use in porting Roms-
Things Needed- Winrar, Notepad++
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:
What is base Rom:
Quote:
The ROM which is Developed For your Mobile..
Quote:
What is Port Rom:
Quote:
The Rom Which you want to port to your Device.
Quote:
STEP1;
Quote:
Take any clean(bugless)ROM which is running on your device as Base ROM.
Quote:
STEP2:
Quote:
Extract it Using Winrar.
Quote:
STEP3:
Quote:
Take the ROM you want to port. This Port ROM. Extract it also using Winrar.
Quote:
STEP4:
Quote:
Delete app, Framework, Fonts and Media folder in System Folder of Base ROM.
Note: To Port Kitkat base ROM, you also have to copy the priv-app folder from port to base. Thats It.. (Credits to @thelegend10 for informing me that this guide works with KK)
Quote:
STEP5:
Quote:
Now copy app, Framework, Fonts and Media folder in System Folder from Port rom to base rom system folder.
Quote:
STEP6:
Quote:
Now open etc folder in both the ROMs folder.
Quote:
STEP7:
Quote:
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 open init.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.
Quote:
STEP8:
Quote:
Now open buid.prop file using Notepad++ and make changes to these of Base Rom as you wish.
Quote:
ro.build.id=
ro.build.display.id=
ro.build.date=
ro.modversion=
Quote:
STEP9:
Quote:
In build.prop file change these to same as Port Rom build.prop values.
Quote:
ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=
Also Copy anything you Find Extra in ADDITIONAL BUILD PROPERTIES related to theme..
Quote:
STEP10:
Quote:
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.
Quote:
STEP11:
Quote:
If You find any extra file or folder in system folder of PORT rom than copy them to your base rom system folder.
Quote:
STEP12:
Quote:
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..
NOW YOUR ROM IS REDY TO BE FLASH!!!!!!!!!!!!!!!!!!!!!!!!

[Guide] {MTK} CROSS PLATFORM (CHIPSET) ROM PORTING

HELLO FOLKS,
INTRODUCING A CROSS PLATFORM ROM PORTING GUIDE FOR MTK SOCs
Code:
[SIZE="4"][COLOR="Red"]NOTE : [/COLOR][/SIZE]THIS GUIDE HAS 6 PARTS, ONE FOR THE SYSTEM FOLDER CHANGES AND THE OTHER FOR THE BOOT.IMG MODIFICATIONS.
WARNINGS :-
1) THIS GUIDE IS INTENDED FOR DEVELOPERS ONLY.
2) NEWBIES MAY FIND IT COMPLICATED SO PLEASE DO NOT TRY THIS. (RESEARCH A LITTLE MORE BEFORE YOU TRY THIS)
MTK CROSS PLATFORM ROM PORTING GUIDE ​
REQUIRMENTS:
1. FULLY UNDERSTAND THE ROM PORTING GUIDE (PLEASE FOLLOW THE GUIDE FROM XDA.)
2. THIS GUIDE WILL ONLY WORK FOR MTK SOCs WITH THE SAME GPU.
(EXAMPLE: MT6582 <------>MT6592 (BOTH CHIPSETS HAVE MALI GPU)
3. BASE ROM (STOCK ROM) AND PORT ROM . SHOULD HAVE THE SAME ANDROID SDK LEVEL.
(EXAMPLE: 4.2.x<---->4.2.x , 4.4.x<---->4.4.x ,ETC )
4. A FULLY FUNCTIONING BRAIN AND EXPERTISE
LETS BEGIN :
PART 1 : SYSTEM FOLDER CHANGES
----------------------------------
1.
A) MAKE 2 NEW FOLDERS ON DESKTOP
B)EXTRACT THE STOCK ROM IN THE 1ST FOLDER (NAME IT AS BASE),
C)EXTRACT THE ROM YOU WANT TO PORT TO THE 2ND FOLDER (NAME IT AS PORT)
2.
A) OPEN BASE FOLDER >SYSTEM>BIN>
B) COPY ALL BIN FILES TO THE PORT FOLDER>SYSTEM>BIN> AND PASTE IT REPLACEING ANY EXISTING FILES
(DO NOT DELETE THE FILES THAT HAVE NOT BEEN REPLACED.)
3.
A) OPEN BASE FOLDER >SYSTEM> LIB >
B) COPY HW FOLDER,MODULE FOLDER (IF THIS EXISTS IN YOUR STOCK KK ROM ),SOUNDFX FOLDER TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE (REMEMBER TO DELETE THE HW,MODULE,SOUNDFX FOLDERS FIRST))
4.
A) OPEN BASE FOLDER >SYSTEM> LIB>
B) COPY ALL LIB FILES(.SO) TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE AND REPLACE EXISTING FILES
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
6. COPY 5 LIBRARY FILES MENTIONED IN STEP 5 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
7.
A) OPEN PORT ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B)EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libwebp_android.so
>>libwebrtc_audio_preprocessing.so
>>libwebviewchromium.so
>> libwebviewchromium_plat_support.so
(IMPORTANT FILES )
8. COPY THE 4 LIBRARY FILES MENTIONED IN STEP 7 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
9. REPLACE THE VENDOR FOLDER IN THE PORT FOLDER WITH THE VENDOR FOLDER FROM THE BASE
10 CHANGE BOOTANIMATION IN THE PORT FOLDER>MEDIA FOLDER> (ACC. TO YOUR SCREEN RESOLUTION USE YOUR STOCK BOOTANIMATION IF YOU DONT HAVE A SIMILAR RESOLUTION BOOT ANIMATION FILE)
11.
A) OPEN THE PORT FOLDER>SYSTEM>ETC > ABD DELETE THE FOLLWOING
FIRMWARE,
MDDB(SOME ROMS MAY NOT HAVE THIS,SO IF YOUR ROM DOES NOT, IGNORE IT)
B) COPY THESE TWO FOLDERS FROM BASE TO PORT>SYSTEM>ETC>
12.
A) OPEN BASE FOLDER >SYSTEM>ETC>
B) COPY AUDIOEFFECT, AUDIOPOLICY, MEDIACODECS FILES TO PORT FOLDER>ETC FOLDER> PASTE THERE REPLACING EXISTING FILES
13.
A) OPEN THE BASE ROM FOLDER'S >SYSTEM>XBIN> FOLDER
B) COPY THE libmnlp_mt65xx(DIFF ACC TO CHIPSET LIKE MT6582,MT6592) FILE TO PORT FOLDER>SYSTEM>XBIN > PASTE IT THERE
C) DELETE PORT ROM'S libmnlp_mt65xx
########################################################################################
PART 2 : EDITING THE BOOT.IMG (CRITICAL)
14.
----------------------------------------------------------------------------------------
(USE DSIXDA'S KITCHEN/ MTK FIRMWARE ADAPTER OR ANY OTHER BOOT.IMG DECOMPILER/COMPILER OF YOUR CHOICE)
>> EXTRACT BOTH BOOT.IMG (BASE AND PORT)
>> OPEN BASE BOOT>INIT.RC AND COMPARE WITH PORT'S INIT.RC AND CHANGE BOOTCLASSPATH IF PRESENT
AND OTHER REGARDING THEMES ETC.
>> OPEN BASE BOOT>PROJECT.RC AND COMPARE IT WITH PORT'S PROJECT.RC AND DO CHANGES WHICH IS EXTRA IN PORT
>> OPEN BASE BOOT>ENVIRONMENT.RC AND COMPARE IT WITH PORT'S ENVIRONMENT.RC AND DO CHANGES WHICH IS EXTRA IN PORT (THIS IS ABSENT IN JB ,SO DON'T WORRY ABOUT IT)
>> PACK IT , COPY NEW BOOT.IMG AND PASTE ,REPLACE IN PORT FOLDER
########################################################################################
PART 3 : Build.prop
15.
A) NOW OPEN PORT FOLDER>SYSTEM>BUILD.PROP> AND CHANGE MT65xx TO YOUR CHIPSET ACC TO UR STOCK BUILD.PROP ,
B) ALSO THE WLAN LINE mT65xx TO UR CHIPSET ACC TO UR STOCK BUILD.PROP
++++++++++++++++++++++++++++++++++++++++++++
mediatek.wlan.chip=CONSYS_MT6582
mediatek.wlan.module.postfix=_consys_mt6582
++++++++++++++++++++++++++++++++++++++++++++
########################################################################################
PART 4: UPDATER-SCRIPT EDIT
16.
A) OPEN META-INF>ANDROID>UPDATER-SCRIPT AS TEXT EDITIOR(IN NOTEPAD++ OR U PREFER ANY OTHER)
B) CHANGE MOUNTPOINT ACC. TO UR STOCK ROM'S UPDATER-SCRIPT
C) ALSO THIS LINE --> symlink("wlan_mt65xx.ko", "/system/lib/modules/wlan.ko"); (MT65XX DEPEND ON UR STOCK ROM UPDATER-SCRIPT)
SAVE IT
########################################################################################
PART 5: FRAMEWORK EDIT
17.
A. GO TO BASE> SYSTEM>FRAMEWORK>COPY SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS S)
B) DO THE SAME WITH PORT>SYSTEM>FRAMEWORK> SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS CLASSOUT)
>>NOW OPEN THE S FOLDER>ANDROID>SERVER AND SEARCH OF THESE FILES
MOUNTSMALI** (U WILL GET LOTS OF FILE STARTING WITH MOUNT),COPY THESE FILES
PASTE & REPLACE IN THE CLASSOUT FOLDER>ANDROID>SERVER>HERE
>> PACK THE CLASSOUT FOLDER USING SMALI.JAR
> PUSH IN SERVICES.JAR(PORT) AND PASTE IN SAME LOCATION AS MENTIONED IN STEPS 17.
(IMPORTANT STEPS)
(IMPORTANT STEPS)
########################################################################################
Part 6: CLEANING UP
18. GO TO PORT FOLDER ,DELETE UNWANTED STUFF LIKE, UBOOT.IMG ,SCATTER ETC
########################################################################################
19. MAKE ZIP OF BOOT.IMG,SYSTEM,META-INF AND FLASH VIA UR CWM RECOVERY,TWRP ETC
FAQ :
1. DOES THIS REALLY WORK ?
>> YES ,IT DOES ( I PORTED A MIUI V5 BASED ON KITKAT (BETA),hive ui rom,samsung s5 FROM MT6592 TO MT6582 )
2. WIL I GET LOTS OF BUGS ?
>> YES, ALMOST CERTAINLY YOU WILL. MAY NOT BE MAJOR BUT I DID HAVE BUGS LIKE FCs FOR SOME APPS
NOTE : TAKE A LOGCAT AND TRY TO FIX IT OR ASK HERE
NOTE : PLEASE DO NOT HOLD ME OR THE XDA FORUM RESPONSIBLE FOR ANY DAMAGES CAUSED BY YOU.
IF YOUR DEVICES EXPLODES, GOES TO MARS, GIVES BIRTH TO A DRAGON, CAUSES WAR, MAKES AN OMLETTE OR GETS YOU MARRIED CONSIDER IT FATE AND LIVE WITH IT>
CREDITS :
GOOGLE
XDA
ME([email protected])
PART 1
STEP 3
is it base folder or port folder -to delete the hw , modules ,soundfx
i think it's port folder
correct it
Excellent guide
[email protected] said:
HELLO FOLKS,
INTRODUCING A CROSS PLATFORM ROM PORTING GUIDE FOR MTK SOCs
Code:
[SIZE="4"][COLOR="Red"]NOTE : [/COLOR][/SIZE]THIS GUIDE HAS 6 PARTS, ONE FOR THE SYSTEM FOLDER CHANGES AND THE OTHER FOR THE BOOT.IMG MODIFICATIONS.
WARNINGS :-
1) THIS GUIDE IS INTENDED FOR DEVELOPERS ONLY.
2) NEWBIES MAY FIND IT COMPLICATED SO PLEASE DO NOT TRY THIS. (RESEARCH A LITTLE MORE BEFORE YOU TRY THIS)
MTK CROSS PLATFORM ROM PORTING GUIDE ​
REQUIRMENTS:
1. FULLY UNDERSTAND THE ROM PORTING GUIDE (PLEASE FOLLOW THE GUIDE FROM XDA.)
2. THIS GUIDE WILL ONLY WORK FOR MTK SOCs WITH THE SAME GPU.
(EXAMPLE: MT6582 <------>MT6592 (BOTH CHIPSETS HAVE MALI GPU)
3. BASE ROM (STOCK ROM) AND PORT ROM . SHOULD HAVE THE SAME ANDROID SDK LEVEL.
(EXAMPLE: 4.2.x<---->4.2.x , 4.4.x<---->4.4.x ,ETC )
4. A FULLY FUNCTIONING BRAIN AND EXPERTISE
LETS BEGIN :
PART 1 : SYSTEM FOLDER CHANGES
----------------------------------
1.
A) MAKE 2 NEW FOLDERS ON DESKTOP
B)EXTRACT THE STOCK ROM IN THE 1ST FOLDER (NAME IT AS BASE),
C)EXTRACT THE ROM YOU WANT TO PORT TO THE 2ND FOLDER (NAME IT AS PORT)
2.
A) OPEN BASE FOLDER >SYSTEM>BIN>
B) COPY ALL BIN FILES TO THE PORT FOLDER>SYSTEM>BIN> AND PASTE IT REPLACEING ANY EXISTING FILES
(DO NOT DELETE THE FILES THAT HAVE NOT BEEN REPLACED.)
3.
A) OPEN BASE FOLDER >SYSTEM> LIB >
B) DELETE THE HW,MODULE,SOUNDFX FOLDERS
C) COPY HW FOLDER,MODULE FOLDER (IF THIS EXISTS IN YOUR STOCK KK ROM ),SOUNDFX FOLDER TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE (REMEMBER TO DELETE THE HW,MODULE,SOUNDFX FOLDERS FIRST))
4.
A) OPEN BASE FOLDER >SYSTEM> LIB>
B) COPY ALL LIB FILES(.SO) TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE AND REPLACE EXISTING FILES
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
6. COPY 5 LIBRARY FILES MENTIONED IN STEP 5 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
7.
A) OPEN PORT ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B)EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libwebp_android.so
>>libwebrtc_audio_preprocessing.so
>>libwebviewchromium.so
>> libwebviewchromium_plat_support.so
(IMPORTANT FILES )
8. COPY THE 4 LIBRARY FILES MENTIONED IN STEP 7 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
9. REPLACE THE VENDOR FOLDER IN THE PORT FOLDER WITH THE VENDOR FOLDER FROM THE BASE
10 CHANGE BOOTANIMATION IN THE PORT FOLDER>MEDIA FOLDER> (ACC. TO YOUR SCREEN RESOLUTION USE YOUR STOCK BOOTANIMATION IF YOU DONT HAVE A SIMILAR RESOLUTION BOOT ANIMATION FILE)
11.
A) OPEN THE PORT FOLDER>SYSTEM>ETC > ABD DELETE THE FOLLWOING
FIRMWARE,
MDDB(SOME ROMS MAY NOT HAVE THIS,SO IF YOUR ROM DOES NOT, IGNORE IT)
B) COPY THESE TWO FOLDERS FROM BASE TO PORT>SYSTEM>ETC>
12.
A) OPEN BASE FOLDER >SYSTEM>ETC>
B) COPY AUDIOEFFECT, AUDIOPOLICY, MEDIACODECS FILES TO PORT FOLDER>ETC FOLDER> PASTE THERE REPLACING EXISTING FILES
13.
A) OPEN THE BASE ROM FOLDER'S >SYSTEM>XBIN> FOLDER
B) COPY THE libmnlp_mt65xx(DIFF ACC TO CHIPSET LIKE MT6582,MT6592) FILE TO PORT FOLDER>SYSTEM>XBIN > PASTE IT THERE
C) DELETE PORT ROM'S libmnlp_mt65xx
########################################################################################
PART 2 : EDITING THE BOOT.IMG (CRITICAL)
14.
----------------------------------------------------------------------------------------
(USE DSIXDA'S KITCHEN/ MTK FIRMWARE ADAPTER OR ANY OTHER BOOT.IMG DECOMPILER/COMPILER OF YOUR CHOICE)
>> EXTRACT BOTH BOOT.IMG (BASE AND PORT)
>> OPEN BASE BOOT>INIT.RC AND COMPARE WITH PORT'S INIT.RC AND CHANGE BOOTCLASSPATH IF PRESENT
AND OTHER REGARDING THEMES ETC.
>> OPEN BASE BOOT>PROJECT.RC AND COMPARE IT WITH PORT'S PROJECT.RC AND DO CHANGES WHICH IS EXTRA IN PORT
>> OPEN BASE BOOT>ENVIRONMENT.RC AND COMPARE IT WITH PORT'S ENVIRONMENT.RC AND DO CHANGES WHICH IS EXTRA IN PORT (THIS IS ABSENT IN JB ,SO DON'T WORRY ABOUT IT)
>> PACK IT , COPY NEW BOOT.IMG AND PASTE ,REPLACE IN PORT FOLDER
########################################################################################
PART 3 : Build.prop
15.
A) NOW OPEN PORT FOLDER>SYSTEM>BUILD.PROP> AND CHANGE MT65xx TO YOUR CHIPSET ACC TO UR STOCK BUILD.PROP ,
B) ALSO THE WLAN LINE mT65xx TO UR CHIPSET ACC TO UR STOCK BUILD.PROP
++++++++++++++++++++++++++++++++++++++++++++
mediatek.wlan.chip=CONSYS_MT6582
mediatek.wlan.module.postfix=_consys_mt6582
++++++++++++++++++++++++++++++++++++++++++++
########################################################################################
PART 4: UPDATER-SCRIPT EDIT
16.
A) OPEN META-INF>ANDROID>UPDATER-SCRIPT AS TEXT EDITIOR(IN NOTEPAD++ OR U PREFER ANY OTHER)
B) CHANGE MOUNTPOINT ACC. TO UR STOCK ROM'S UPDATER-SCRIPT
C) ALSO THIS LINE --> symlink("wlan_mt65xx.ko", "/system/lib/modules/wlan.ko"); (MT65XX DEPEND ON UR STOCK ROM UPDATER-SCRIPT)
SAVE IT
########################################################################################
PART 5: FRAMEWORK EDIT
17.
A. GO TO BASE> SYSTEM>FRAMEWORK>COPY SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS S)
B) DO THE SAME WITH PORT>SYSTEM>FRAMEWORK> SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS CLASSOUT)
>>NOW OPEN THE S FOLDER>ANDROID>SERVER AND SEARCH OF THESE FILES
MOUNTSMALI** (U WILL GET LOTS OF FILE STARTING WITH MOUNT),COPY THESE FILES
PASTE & REPLACE IN THE CLASSOUT FOLDER>ANDROID>SERVER>HERE
>> PACK THE CLASSOUT FOLDER USING SMALI.JAR
> PUSH IN SERVICES.JAR(PORT) AND PASTE IN SAME LOCATION AS MENTIONED IN STEPS 17.
(IMPORTANT STEPS)
(IMPORTANT STEPS)
########################################################################################
Part 6: CLEANING UP
18. GO TO PORT FOLDER ,DELETE UNWANTED STUFF LIKE, UBOOT.IMG ,SCATTER ETC
########################################################################################
19. MAKE ZIP OF BOOT.IMG,SYSTEM,META-INF AND FLASH VIA UR CWM RECOVERY,TWRP ETC
FAQ :
1. DOES THIS REALLY WORK ?
>> YES ,IT DOES ( I PORTED A MIUI V5 BASED ON KITKAT (BETA),hive ui rom,samsung s5 FROM MT6592 TO MT6582 )
2. WIL I GET LOTS OF BUGS ?
>> YES, ALMOST CERTAINLY YOU WILL. MAY NOT BE MAJOR BUT I DID HAVE BUGS LIKE FCs FOR SOME APPS
NOTE : TAKE A LOGCAT AND TRY TO FIX IT OR ASK HERE
NOTE : PLEASE DO NOT HOLD ME OR THE XDA FORUM RESPONSIBLE FOR ANY DAMAGES CAUSED BY YOU.
IF YOUR DEVICES EXPLODES, GOES TO MARS, GIVES BIRTH TO A DRAGON, CAUSES WAR, MAKES AN OMLETTE OR GETS YOU MARRIED CONSIDER IT FATE AND LIVE WITH IT>
CREDITS :
GOOGLE
XDA
ME([email protected])
Click to expand...
Click to collapse
Hey from which all chipsets can i port roms to my mt6577?? I hav ported frm mt6577 and a few from mt6589 with d help of other guides .. So can u plz tell frm which all can i port wid dis guide?
Papdya said:
Hey from which all chipsets can i port roms to my mt6577?? I hav ported frm mt6577 and a few from mt6589 with d help of other guides .. So can u plz tell frm which all can i port wid dis guide?
Click to expand...
Click to collapse
u can pick up any chipset make sure gpu company is same
Ok thanks.
In step 5:
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
Stock or port zip rom?
Thanks!
Worked well after first try. Thanks for this guide
Just one problem so far, My mt6592 Roms got an Power Saving feature for Cpu under Battery Tab in Settings. How can i port this?
Edit: I've looking more into this now, still no process. Really need some thoughts
Traace said:
Worked well after first try. Thanks for this guide
Just one problem so far, My mt6592 Roms got an Power Saving feature for Cpu under Battery Tab in Settings. How can i port this?
Edit: I've looking more into this now, still no process. Really need some thoughts
Click to expand...
Click to collapse
pm u... great to see u ...this guide worked well
what happens if i try do to this with a rom that is not MTK based?
what to do if GPU are differnt ?
that is port rom have mali nd stock have PowerVR
plz help
pepexzz said:
In step 5:
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
Stock or port zip rom?
Thanks!
Click to expand...
Click to collapse
Same question. Can you exp clearly for us this step? Thank.
toanlaptop said:
Same question. Can you exp clearly for us this step? Thank.
Click to expand...
Click to collapse
Steps 5 and 6 go together.
Extract the LIB folder of BASE ROM to anywhere you want. Then copy and replace the bolded files below to the PORT ROMs LIB folder.
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
6. COPY 5 LIBRARY FILES MENTIONED IN STEP 5 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
Click to expand...
Click to collapse
theKramer said:
Steps 5 and 6 go together.
Extract the LIB folder of BASE ROM to anywhere you want. Then copy and replace the bolded files below to the PORT ROMs LIB folder.
Click to expand...
Click to collapse
Thank for your help. I'll try again. I've failure many time
toanlaptop said:
Thank for your help. I'll try again. I've failure many time
Click to expand...
Click to collapse
I havent done this myself. I am just helping to explain what the author wrote..
baksmali was not able to to unpack my stock services.jar then i changed the services.jar extension to .zip and when i opened it there was no classes.dex file inside it. is it ok if i take the services.jar from another rom which i ported successfully with no bugs ?
hey thanks
but after porting rom like this my stats bar is not showing :crying::crying::crying:
Nayeem Hossain said:
but after porting rom like this my stats bar is not showing :crying::crying::crying:
Click to expand...
Click to collapse
Patch systemui.
miuiv6 6582 problem
anyone knows how to fix swap storage in miui v6 in KK mt6582 ? the sdcard0 is phone storage and sdcard0 is memory card .. tnx
Tech N You said:
Patch systemui.
Click to expand...
Click to collapse
How to patch my system ui
would please tell me??
or any guide ???
---------- Post added at 10:45 AM ---------- Previous post was at 10:32 AM ----------
[email protected] said:
pm u... great to see u ...this guide worked well
Click to expand...
Click to collapse
this file is missing on my boot.img PROJECT.RC and ENVIRONMENT.RC
what to do??
lildhiel08 said:
anyone knows how to fix swap storage in miui v6 in KK mt6582 ? the sdcard0 is phone storage and sdcard0 is memory card .. tnx
Click to expand...
Click to collapse
From stock boot.img search for file init_nossd.rc or anyfile related to init then ssd and in boot of port do same open both with notepad++ and then from stock copy whole as it is and replace with port and repack boot.img and flash

How to port rom for YU yuphoria

Hello developer...!!!
I have YU yuphoria and I wanna start to port rom for this device ... I have knowledge of porting ro. For MTK devices and have ported many rom for my XOLO One but now I wanna port rom for yuphoria and it's chipset is Snapdragon and i don't have any knowledge, how to port rom for this chipset...
Please provide a proper guide to port rom for Snapdragon and also how to slove bug after porting...
Thank u in advance...
Things do you need:
PC/Laptop
Desired ROM : The important thing is the same chipset, like Qualcomm Snapdragon 650 etc
Boot.img unpacker (Android Image Kitchen) Here is the link.
Notepad++ or WordPad
WinRAR or 7zip
Prepare 5 window on your desktop
1. Window PORT ROM window (ported results, first leave it blank) = (P)
2. Window STOCK ROM window (Extract Stock rom here) = (S)
3. Window BASE ROM window (base extract here) = (B)
4. Android Image Kitchen Window (S)
5. Android Image Kitchen Window (B)
NB:
P=Port
S=Stock
B=Base
1st Chapter, META-INF.
1. Copy the META-INF (S) to the window (P)
Here in use updater-script (S), edit UI PRINT with which you prefer.
2. Replace All SET PERMISSION and symlinks in Updater Script (P) to have (B), remember that replaced only part SET PERMISSION & symlink ALONE!, SHOULD THE FORMAT PARTITION WITH STOCK ROM (S)!, IF YOU OWN ANY negligent BRICK YOUR DEVICE!
2nd Chapter, boot.img
1. Extract the Android Image Kitchen, in which two different places to make it easier.
2. Copy the boot.img (S) and (B) in each folder android image in the kitchen which has been extracted earlier.
3. Drag the file to the boot.img unpackimg.bat, and boot.img already tar extracts.
4. Open the ramdisk folder, open the file init.rc (S) & (B) with Notepad ++, delete the row EXPORTBOOTCLASSPATCH ... (S), and copy lines bootclasspath ... (B) to init.rc (S), Tarok in place which removed earlier, SAVE.
5. Return to the Kitchen Android Image (S), click repackimg.bat, copy-new.img image file (s) into the window (P), rename it so boot.img. So boot.img in use that have (S) which has been edited earlier.
3rd Chapter, SYSTEM
1. Copy the folder system (B) and all its contents to the window (P)
2. Copy and replace files BIN (S) is, to BIN (P):
NETD
Wpa_suplicant
Wpa_cli
Fmconfig
Sensorservice
Radiooptions
Hostapd
dhcpcd
Vold
netcfg
Hostapd_cli
Mpdecision
Fm_qsoc_patches
Ifconfig
3. Copy and replace files / folders ETC (S) is, to the ETC (P):
Folder dhcpcd
Folder FIRMWARE
Folder PERMISSIONS
Folder PPP
Folder WIFI
Audio_effects.conf, audio_policy.conf, audioFilter.csv
DHCPD-run-hooks, gps.conf, hosts, media_profiles.xml, init.qcom.wifi.sh
Vold.emmc.fstab & Vold.fstab
PHP:
4. Copy and replace files / folders LIB (S) is, to LIB (P):
Folder MODULES
Folder HW, except files, audio_policy * .so, hwcomposer * .so
All files Libchromatic * .so
All files LibOmx * .so
Mmi_audio.so
Libhardware_legacy.so
Libgps.so
Libgps.utils.so
Libaudioalasa.so, libaudiosffect_jni.so, libaudioeq.so, libaudioutils.so
Libwpa_client.so
Liboemcamera.so
Libcameraservice.so
All files libmmcamera * .so
Libsensorservice.so
All files libvideo * .so
Mmi_audio.so
All files mmi_camera * .so
Mmi_wifi.so
Mmi_battery.so
Liboem_rapi.so
Libcamera_client.so
5. Copy and replace Folder USR (P) with USR folder (s)
6. Edit Bulid.prop to edit information / add tweaks
Final Chapter, MAKE ZIP INSTALLER
1. Block All Files & Folders in the window (P), the META-INF, system and boot.img.
2. Right-click, select add to archive .. (use winrar), select the zip file, rename it, press OK
3. Now it's finished zip files, can be installed directly via CWM or TWRP
Tutorial How to Fix Bug on MIUI ROM Qualcomm Chipset.. This is just a basic.. Still many a method for fix bug. My Experience in port ROM MIUI on Qualcomm Chipset, opportunities for having a bug is 10 to 30%.. Most of them wifi, camera, does not signal the emergence of either SIM1 or 2, USB Mass Storage and Sensoring.. For that I share this thread! So, here is it!!!
1. SIGNAL BUGS
Replace all files ending librilxxx.so in system / lib with the files from the stock rom.
If the signal is still on, Please check IMEI and MEID * # 06 # IMEI and MEID null if trying to flash part of your EFS.
Part EFS is a backup for the ICS: mmcblk0p9, mmcblk0p10, mmcblk0p11, To JB: mmcblk0p6, mmcblk0p7, mmcblk0p8.
2. SENSOR BUGS
Replace sensorservice file in system / bin with files from stock rom
Replace libsensorservice.so file in system / lib with the files from the stock rom
Replace sensor.default.so file in system / lib / hw with files from stock rom
3. CAMERA BUGS
Replace all files berextensi mm-qcameraxxx in system / bin with files from stock rom
Change file-qcamera v4I2-app in system / bin with filedari stock rom
Replace camera.msm7627a.so file in system / lib / hw with files from stock rom
Change the file libcamera_client.so and libcameraservice.so in system / lib with files from stock rom
Replace all libmmcameraxxx.so files in system / lib with the files from the stock rom
4. WIFI BUGS
Replace the wpa_supplicant file in system / bin with files from stock rom
Replace the firmware folder and wifii in system / etc with files from stock rom
Change the file wifitest_recv.sh and wifitest_send.sh in system / etc with files from stock rom
Replace libwpa_client.so file in system / lib with the files from the stock rom
Replace cfg80211.ko file in system / lib / modules with files from stock rom
Replace ath6kl folders in system / lib / modules with files from stock rom
Replace the files in the folder with the file system wifi from stock rom
NB: if none of the above files in the system folder on the add port rom download of files stock rom also commonly
5. GPU BUGS
Replace all files in the folder egl in system / lib with files from stock rom
6. USB BUGS
Replace vfold.fstab file in system / etc with files from stock rom
NB: if there are still bugs to be repck boot.img and please pelototin ramdisknya where settings for usb: v
7. BUGS WHILE VIEW VIDEO
Replace all files ending libchromaticxxx.so in system / lib with the files from the stock
Press thanks if I helped
RoyalBhati said:
Things do you need:
PC/Laptop
Desired ROM : The important thing is the same chipset, like Qualcomm Snapdragon 650 etc
Boot.img unpacker (Android Image Kitchen) Here is the link.
Notepad++ or WordPad
WinRAR or 7zip
Prepare 5 window on your desktop
1. Window PORT ROM window (ported results, first leave it blank) = (P)
2. Window STOCK ROM window (Extract Stock rom here) = (S)
3. Window BASE ROM window (base extract here) = (B)
4. Android Image Kitchen Window (S)
5. Android Image Kitchen Window (B)
NB:
P=Port
S=Stock
B=Base
1st Chapter, META-INF.
1. Copy the META-INF (S) to the window (P)
Here in use updater-script (S), edit UI PRINT with which you prefer.
2. Replace All SET PERMISSION and symlinks in Updater Script (P) to have (B), remember that replaced only part SET PERMISSION & symlink ALONE!, SHOULD THE FORMAT PARTITION WITH STOCK ROM (S)!, IF YOU OWN ANY negligent BRICK YOUR DEVICE!
2nd Chapter, boot.img
1. Extract the Android Image Kitchen, in which two different places to make it easier.
2. Copy the boot.img (S) and (B) in each folder android image in the kitchen which has been extracted earlier.
3. Drag the file to the boot.img unpackimg.bat, and boot.img already tar extracts.
4. Open the ramdisk folder, open the file init.rc (S) & (B) with Notepad ++, delete the row EXPORTBOOTCLASSPATCH ... (S), and copy lines bootclasspath ... (B) to init.rc (S), Tarok in place which removed earlier, SAVE.
5. Return to the Kitchen Android Image (S), click repackimg.bat, copy-new.img image file (s) into the window (P), rename it so boot.img. So boot.img in use that have (S) which has been edited earlier.
3rd Chapter, SYSTEM
1. Copy the folder system (B) and all its contents to the window (P)
2. Copy and replace files BIN (S) is, to BIN (P):
NETD
Wpa_suplicant
Wpa_cli
Fmconfig
Sensorservice
Radiooptions
Hostapd
dhcpcd
Vold
netcfg
Hostapd_cli
Mpdecision
Fm_qsoc_patches
Ifconfig
3. Copy and replace files / folders ETC (S) is, to the ETC (P):
Folder dhcpcd
Folder FIRMWARE
Folder PERMISSIONS
Folder PPP
Folder WIFI
Audio_effects.conf, audio_policy.conf, audioFilter.csv
DHCPD-run-hooks, gps.conf, hosts, media_profiles.xml, init.qcom.wifi.sh
Vold.emmc.fstab & Vold.fstab
PHP:
4. Copy and replace files / folders LIB (S) is, to LIB (P):
Folder MODULES
Folder HW, except files, audio_policy * .so, hwcomposer * .so
All files Libchromatic * .so
All files LibOmx * .so
Mmi_audio.so
Libhardware_legacy.so
Libgps.so
Libgps.utils.so
Libaudioalasa.so, libaudiosffect_jni.so, libaudioeq.so, libaudioutils.so
Libwpa_client.so
Liboemcamera.so
Libcameraservice.so
All files libmmcamera * .so
Libsensorservice.so
All files libvideo * .so
Mmi_audio.so
All files mmi_camera * .so
Mmi_wifi.so
Mmi_battery.so
Liboem_rapi.so
Libcamera_client.so
5. Copy and replace Folder USR (P) with USR folder (s)
6. Edit Bulid.prop to edit information / add tweaks
Final Chapter, MAKE ZIP INSTALLER
1. Block All Files & Folders in the window (P), the META-INF, system and boot.img.
2. Right-click, select add to archive .. (use winrar), select the zip file, rename it, press OK
3. Now it's finished zip files, can be installed directly via CWM or TWRP
Tutorial How to Fix Bug on MIUI ROM Qualcomm Chipset.. This is just a basic.. Still many a method for fix bug. My Experience in port ROM MIUI on Qualcomm Chipset, opportunities for having a bug is 10 to 30%.. Most of them wifi, camera, does not signal the emergence of either SIM1 or 2, USB Mass Storage and Sensoring.. For that I share this thread! So, here is it!!!
1. SIGNAL BUGS
Replace all files ending librilxxx.so in system / lib with the files from the stock rom.
If the signal is still on, Please check IMEI and MEID * # 06 # IMEI and MEID null if trying to flash part of your EFS.
Part EFS is a backup for the ICS: mmcblk0p9, mmcblk0p10, mmcblk0p11, To JB: mmcblk0p6, mmcblk0p7, mmcblk0p8.
2. SENSOR BUGS
Replace sensorservice file in system / bin with files from stock rom
Replace libsensorservice.so file in system / lib with the files from the stock rom
Replace sensor.default.so file in system / lib / hw with files from stock rom
3. CAMERA BUGS
Replace all files berextensi mm-qcameraxxx in system / bin with files from stock rom
Change file-qcamera v4I2-app in system / bin with filedari stock rom
Replace camera.msm7627a.so file in system / lib / hw with files from stock rom
Change the file libcamera_client.so and libcameraservice.so in system / lib with files from stock rom
Replace all libmmcameraxxx.so files in system / lib with the files from the stock rom
4. WIFI BUGS
Replace the wpa_supplicant file in system / bin with files from stock rom
Replace the firmware folder and wifii in system / etc with files from stock rom
Change the file wifitest_recv.sh and wifitest_send.sh in system / etc with files from stock rom
Replace libwpa_client.so file in system / lib with the files from the stock rom
Replace cfg80211.ko file in system / lib / modules with files from stock rom
Replace ath6kl folders in system / lib / modules with files from stock rom
Replace the files in the folder with the file system wifi from stock rom
NB: if none of the above files in the system folder on the add port rom download of files stock rom also commonly
5. GPU BUGS
Replace all files in the folder egl in system / lib with files from stock rom
6. USB BUGS
Replace vfold.fstab file in system / etc with files from stock rom
NB: if there are still bugs to be repck boot.img and please pelototin ramdisknya where settings for usb: v
7. BUGS WHILE VIEW VIDEO
Replace all files ending libchromaticxxx.so in system / lib with the files from the stock
Press thanks if I helped
Click to expand...
Click to collapse
Hey can I port Android Nougat by this method
AadilAhmed555 said:
Hey can I port Android Nougat by this method
Click to expand...
Click to collapse
Which device do u want to port android n rom
#Rohan said:
Which device do u want to port android n rom
Click to expand...
Click to collapse
To my Yuphoria
AadilAhmed555 said:
To my Yuphoria
Click to expand...
Click to collapse
Android N custom ROM is already ported to yuphoria
Link:-http://forum.xda-developers.com/yu-yuphoria/orig-development/rom-cyanogenmod-14-t3456281/
RoyalBhati said:
Things do you need:
PC/Laptop
Desired ROM : The important thing is the same chipset, like Qualcomm Snapdragon 650 etc
Boot.img unpacker (Android Image Kitchen) Here is the link.
Notepad++ or WordPad
WinRAR or 7zip
Prepare 5 window on your desktop
1. Window PORT ROM window (ported results, first leave it blank) = (P)
2. Window STOCK ROM window (Extract Stock rom here) = (S)
3. Window BASE ROM window (base extract here) = (B)
4. Android Image Kitchen Window (S)
5. Android Image Kitchen Window (B)
NB:
P=Port
S=Stock
B=Base
1st Chapter, META-INF.
1. Copy the META-INF (S) to the window (P)
Here in use updater-script (S), edit UI PRINT with which you prefer.
2. Replace All SET PERMISSION and symlinks in Updater Script (P) to have (B), remember that replaced only part SET PERMISSION & symlink ALONE!, SHOULD THE FORMAT PARTITION WITH STOCK ROM (S)!, IF YOU OWN ANY negligent BRICK YOUR DEVICE!
2nd Chapter, boot.img
1. Extract the Android Image Kitchen, in which two different places to make it easier.
2. Copy the boot.img (S) and (B) in each folder android image in the kitchen which has been extracted earlier.
3. Drag the file to the boot.img unpackimg.bat, and boot.img already tar extracts.
4. Open the ramdisk folder, open the file init.rc (S) & (B) with Notepad ++, delete the row EXPORTBOOTCLASSPATCH ... (S), and copy lines bootclasspath ... (B) to init.rc (S), Tarok in place which removed earlier, SAVE.
5. Return to the Kitchen Android Image (S), click repackimg.bat, copy-new.img image file (s) into the window (P), rename it so boot.img. So boot.img in use that have (S) which has been edited earlier.
3rd Chapter, SYSTEM
1. Copy the folder system (B) and all its contents to the window (P)
2. Copy and replace files BIN (S) is, to BIN (P):
NETD
Wpa_suplicant
Wpa_cli
Fmconfig
Sensorservice
Radiooptions
Hostapd
dhcpcd
Vold
netcfg
Hostapd_cli
Mpdecision
Fm_qsoc_patches
Ifconfig
3. Copy and replace files / folders ETC (S) is, to the ETC (P):
Folder dhcpcd
Folder FIRMWARE
Folder PERMISSIONS
Folder PPP
Folder WIFI
Audio_effects.conf, audio_policy.conf, audioFilter.csv
DHCPD-run-hooks, gps.conf, hosts, media_profiles.xml, init.qcom.wifi.sh
Vold.emmc.fstab & Vold.fstab
PHP:
4. Copy and replace files / folders LIB (S) is, to LIB (P):
Folder MODULES
Folder HW, except files, audio_policy * .so, hwcomposer * .so
All files Libchromatic * .so
All files LibOmx * .so
Mmi_audio.so
Libhardware_legacy.so
Libgps.so
Libgps.utils.so
Libaudioalasa.so, libaudiosffect_jni.so, libaudioeq.so, libaudioutils.so
Libwpa_client.so
Liboemcamera.so
Libcameraservice.so
All files libmmcamera * .so
Libsensorservice.so
All files libvideo * .so
Mmi_audio.so
All files mmi_camera * .so
Mmi_wifi.so
Mmi_battery.so
Liboem_rapi.so
Libcamera_client.so
5. Copy and replace Folder USR (P) with USR folder (s)
6. Edit Bulid.prop to edit information / add tweaks
Final Chapter, MAKE ZIP INSTALLER
1. Block All Files & Folders in the window (P), the META-INF, system and boot.img.
2. Right-click, select add to archive .. (use winrar), select the zip file, rename it, press OK
3. Now it's finished zip files, can be installed directly via CWM or TWRP
Tutorial How to Fix Bug on MIUI ROM Qualcomm Chipset.. This is just a basic.. Still many a method for fix bug. My Experience in port ROM MIUI on Qualcomm Chipset, opportunities for having a bug is 10 to 30%.. Most of them wifi, camera, does not signal the emergence of either SIM1 or 2, USB Mass Storage and Sensoring.. For that I share this thread! So, here is it!!!
1. SIGNAL BUGS
Replace all files ending librilxxx.so in system / lib with the files from the stock rom.
If the signal is still on, Please check IMEI and MEID * # 06 # IMEI and MEID null if trying to flash part of your EFS.
Part EFS is a backup for the ICS: mmcblk0p9, mmcblk0p10, mmcblk0p11, To JB: mmcblk0p6, mmcblk0p7, mmcblk0p8.
2. SENSOR BUGS
Replace sensorservice file in system / bin with files from stock rom
Replace libsensorservice.so file in system / lib with the files from the stock rom
Replace sensor.default.so file in system / lib / hw with files from stock rom
3. CAMERA BUGS
Replace all files berextensi mm-qcameraxxx in system / bin with files from stock rom
Change file-qcamera v4I2-app in system / bin with filedari stock rom
Replace camera.msm7627a.so file in system / lib / hw with files from stock rom
Change the file libcamera_client.so and libcameraservice.so in system / lib with files from stock rom
Replace all libmmcameraxxx.so files in system / lib with the files from the stock rom
4. WIFI BUGS
Replace the wpa_supplicant file in system / bin with files from stock rom
Replace the firmware folder and wifii in system / etc with files from stock rom
Change the file wifitest_recv.sh and wifitest_send.sh in system / etc with files from stock rom
Replace libwpa_client.so file in system / lib with the files from the stock rom
Replace cfg80211.ko file in system / lib / modules with files from stock rom
Replace ath6kl folders in system / lib / modules with files from stock rom
Replace the files in the folder with the file system wifi from stock rom
NB: if none of the above files in the system folder on the add port rom download of files stock rom also commonly
5. GPU BUGS
Replace all files in the folder egl in system / lib with files from stock rom
6. USB BUGS
Replace vfold.fstab file in system / etc with files from stock rom
NB: if there are still bugs to be repck boot.img and please pelototin ramdisknya where settings for usb: v
7. BUGS WHILE VIEW VIDEO
Replace all files ending libchromaticxxx.so in system / lib with the files from the stock
Press thanks if I helped
Click to expand...
Click to collapse
Thankx bro ... Can you tell me one more thing...I wannaa port Lewa os 7 of yureka for yuphoria ... Is it portable to yuphoria ??
add me my no yu group 9691808497
#Rohan said:
Android N custom ROM is already ported to yuphoria
Link:-http://forum.xda-developers.com/yu-yuphoria/orig-development/rom-cyanogenmod-14-t3456281/
Click to expand...
Click to collapse
It is ported?
Sent from my Yu5010 using Tapatalk
shrayanshy said:
It is ported?
Sent from my Yu5010 using Tapatalk
Click to expand...
Click to collapse
yes
can i port this ios rom to yuphoria ??
watch this rom and port it plss!!
pls search in youtube that ios rom for android it was uploaded 2 months ago by "android tricks "
it was the ios rom for intex aqua power plus will you pls port the rom for yu yuphoria ??
basadevakalyan said:
watch this rom and port it plss!!
pls search in youtube that ios rom for android it was uploaded 2 months ago by "android tricks "
it was the ios rom for intex aqua power plus will you pls port the rom for yu yuphoria ??
Click to expand...
Click to collapse
Bro don't be over happy it is iOS theme ROM not iOS rom
Sent from my YU5010 using Tapatalk
Please anyone can port the "Hydrogen (H2) os" to YU Yuphoria ..
Sent from my YU5010 using Tapatalk
i want to port vivo v1 rom for yuphoria.
RoyalBhati said:
Things do you need:
PC/Laptop
Desired ROM : The important thing is the same chipset, like Qualcomm Snapdragon 650 etc
Boot.img unpacker (Android Image Kitchen) Here is the link.
Notepad++ or WordPad
WinRAR or 7zip
Prepare 5 window on your desktop
1. Window PORT ROM window (ported results, first leave it blank) = (P)
2. Window STOCK ROM window (Extract Stock rom here) = (S)
3. Window BASE ROM window (base extract here) = (B)
4. Android Image Kitchen Window (S)
5. Android Image Kitchen Window (B)
NB:
P=Port
S=Stock
B=Base
1st Chapter, META-INF.
1. Copy the META-INF (S) to the window (P)
Here in use updater-script (S), edit UI PRINT with which you prefer.
2. Replace All SET PERMISSION and symlinks in Updater Script (P) to have (B), remember that replaced only part SET PERMISSION & symlink ALONE!, SHOULD THE FORMAT PARTITION WITH STOCK ROM (S)!, IF YOU OWN ANY negligent BRICK YOUR DEVICE!
2nd Chapter, boot.img
1. Extract the Android Image Kitchen, in which two different places to make it easier.
2. Copy the boot.img (S) and (B) in each folder android image in the kitchen which has been extracted earlier.
3. Drag the file to the boot.img unpackimg.bat, and boot.img already tar extracts.
4. Open the ramdisk folder, open the file init.rc (S) & (B) with Notepad ++, delete the row EXPORTBOOTCLASSPATCH ... (S), and copy lines bootclasspath ... (B) to init.rc (S), Tarok in place which removed earlier, SAVE.
5. Return to the Kitchen Android Image (S), click repackimg.bat, copy-new.img image file (s) into the window (P), rename it so boot.img. So boot.img in use that have (S) which has been edited earlier.
3rd Chapter, SYSTEM
1. Copy the folder system (B) and all its contents to the window (P)
2. Copy and replace files BIN (S) is, to BIN (P):
NETD
Wpa_suplicant
Wpa_cli
Fmconfig
Sensorservice
Radiooptions
Hostapd
dhcpcd
Vold
netcfg
Hostapd_cli
Mpdecision
Fm_qsoc_patches
Ifconfig
3. Copy and replace files / folders ETC (S) is, to the ETC (P):
Folder dhcpcd
Folder FIRMWARE
Folder PERMISSIONS
Folder PPP
Folder WIFI
Audio_effects.conf, audio_policy.conf, audioFilter.csv
DHCPD-run-hooks, gps.conf, hosts, media_profiles.xml, init.qcom.wifi.sh
Vold.emmc.fstab & Vold.fstab
PHP:
4. Copy and replace files / folders LIB (S) is, to LIB (P):
Folder MODULES
Folder HW, except files, audio_policy * .so, hwcomposer * .so
All files Libchromatic * .so
All files LibOmx * .so
Mmi_audio.so
Libhardware_legacy.so
Libgps.so
Libgps.utils.so
Libaudioalasa.so, libaudiosffect_jni.so, libaudioeq.so, libaudioutils.so
Libwpa_client.so
Liboemcamera.so
Libcameraservice.so
All files libmmcamera * .so
Libsensorservice.so
All files libvideo * .so
Mmi_audio.so
All files mmi_camera * .so
Mmi_wifi.so
Mmi_battery.so
Liboem_rapi.so
Libcamera_client.so
5. Copy and replace Folder USR (P) with USR folder (s)
6. Edit Bulid.prop to edit information / add tweaks
Final Chapter, MAKE ZIP INSTALLER
1. Block All Files & Folders in the window (P), the META-INF, system and boot.img.
2. Right-click, select add to archive .. (use winrar), select the zip file, rename it, press OK
3. Now it's finished zip files, can be installed directly via CWM or TWRP
Tutorial How to Fix Bug on MIUI ROM Qualcomm Chipset.. This is just a basic.. Still many a method for fix bug. My Experience in port ROM MIUI on Qualcomm Chipset, opportunities for having a bug is 10 to 30%.. Most of them wifi, camera, does not signal the emergence of either SIM1 or 2, USB Mass Storage and Sensoring.. For that I share this thread! So, here is it!!!
1. SIGNAL BUGS
Replace all files ending librilxxx.so in system / lib with the files from the stock rom.
If the signal is still on, Please check IMEI and MEID * # 06 # IMEI and MEID null if trying to flash part of your EFS.
Part EFS is a backup for the ICS: mmcblk0p9, mmcblk0p10, mmcblk0p11, To JB: mmcblk0p6, mmcblk0p7, mmcblk0p8.
2. SENSOR BUGS
Replace sensorservice file in system / bin with files from stock rom
Replace libsensorservice.so file in system / lib with the files from the stock rom
Replace sensor.default.so file in system / lib / hw with files from stock rom
3. CAMERA BUGS
Replace all files berextensi mm-qcameraxxx in system / bin with files from stock rom
Change file-qcamera v4I2-app in system / bin with filedari stock rom
Replace camera.msm7627a.so file in system / lib / hw with files from stock rom
Change the file libcamera_client.so and libcameraservice.so in system / lib with files from stock rom
Replace all libmmcameraxxx.so files in system / lib with the files from the stock rom
4. WIFI BUGS
Replace the wpa_supplicant file in system / bin with files from stock rom
Replace the firmware folder and wifii in system / etc with files from stock rom
Change the file wifitest_recv.sh and wifitest_send.sh in system / etc with files from stock rom
Replace libwpa_client.so file in system / lib with the files from the stock rom
Replace cfg80211.ko file in system / lib / modules with files from stock rom
Replace ath6kl folders in system / lib / modules with files from stock rom
Replace the files in the folder with the file system wifi from stock rom
NB: if none of the above files in the system folder on the add port rom download of files stock rom also commonly
5. GPU BUGS
Replace all files in the folder egl in system / lib with files from stock rom
6. USB BUGS
Replace vfold.fstab file in system / etc with files from stock rom
NB: if there are still bugs to be repck boot.img and please pelototin ramdisknya where settings for usb: v
7. BUGS WHILE VIEW VIDEO
Replace all files ending libchromaticxxx.so in system / lib with the files from the stock
Press thanks if I helped
Click to expand...
Click to collapse
Can Vivo v1 rom be ported for yuphoria by this method
RoyalBhati said:
Things do you need:
PC/Laptop
Desired ROM : The important thing is the same chipset, like Qualcomm Snapdragon 650 etc
Boot.img unpacker (Android Image Kitchen) Here is the link.
Notepad++ or WordPad
WinRAR or 7zip
Prepare 5 window on your desktop
1. Window PORT ROM window (ported results, first leave it blank) = (P)
2. Window STOCK ROM window (Extract Stock rom here) = (S)
3. Window BASE ROM window (base extract here) = (B)
4. Android Image Kitchen Window (S)
5. Android Image Kitchen Window (B)
NB:
P=Port
S=Stock
B=Base
1st Chapter, META-INF.
1. Copy the META-INF (S) to the window (P)
Here in use updater-script (S), edit UI PRINT with which you prefer.
2. Replace All SET PERMISSION and symlinks in Updater Script (P) to have (B), remember that replaced only part SET PERMISSION & symlink ALONE!, SHOULD THE FORMAT PARTITION WITH STOCK ROM (S)!, IF YOU OWN ANY negligent BRICK YOUR DEVICE!
2nd Chapter, boot.img
1. Extract the Android Image Kitchen, in which two different places to make it easier.
2. Copy the boot.img (S) and (B) in each folder android image in the kitchen which has been extracted earlier.
3. Drag the file to the boot.img unpackimg.bat, and boot.img already tar extracts.
4. Open the ramdisk folder, open the file init.rc (S) & (B) with Notepad ++, delete the row EXPORTBOOTCLASSPATCH ... (S), and copy lines bootclasspath ... (B) to init.rc (S), Tarok in place which removed earlier, SAVE.
5. Return to the Kitchen Android Image (S), click repackimg.bat, copy-new.img image file (s) into the window (P), rename it so boot.img. So boot.img in use that have (S) which has been edited earlier.
3rd Chapter, SYSTEM
1. Copy the folder system (B) and all its contents to the window (P)
2. Copy and replace files BIN (S) is, to BIN (P):
NETD
Wpa_suplicant
Wpa_cli
Fmconfig
Sensorservice
Radiooptions
Hostapd
dhcpcd
Vold
netcfg
Hostapd_cli
Mpdecision
Fm_qsoc_patches
Ifconfig
3. Copy and replace files / folders ETC (S) is, to the ETC (P):
Folder dhcpcd
Folder FIRMWARE
Folder PERMISSIONS
Folder PPP
Folder WIFI
Audio_effects.conf, audio_policy.conf, audioFilter.csv
DHCPD-run-hooks, gps.conf, hosts, media_profiles.xml, init.qcom.wifi.sh
Vold.emmc.fstab & Vold.fstab
PHP:
4. Copy and replace files / folders LIB (S) is, to LIB (P):
Folder MODULES
Folder HW, except files, audio_policy * .so, hwcomposer * .so
All files Libchromatic * .so
All files LibOmx * .so
Mmi_audio.so
Libhardware_legacy.so
Libgps.so
Libgps.utils.so
Libaudioalasa.so, libaudiosffect_jni.so, libaudioeq.so, libaudioutils.so
Libwpa_client.so
Liboemcamera.so
Libcameraservice.so
All files libmmcamera * .so
Libsensorservice.so
All files libvideo * .so
Mmi_audio.so
All files mmi_camera * .so
Mmi_wifi.so
Mmi_battery.so
Liboem_rapi.so
Libcamera_client.so
5. Copy and replace Folder USR (P) with USR folder (s)
6. Edit Bulid.prop to edit information / add tweaks
Final Chapter, MAKE ZIP INSTALLER
1. Block All Files & Folders in the window (P), the META-INF, system and boot.img.
2. Right-click, select add to archive .. (use winrar), select the zip file, rename it, press OK
3. Now it's finished zip files, can be installed directly via CWM or TWRP
Tutorial How to Fix Bug on MIUI ROM Qualcomm Chipset.. This is just a basic.. Still many a method for fix bug. My Experience in port ROM MIUI on Qualcomm Chipset, opportunities for having a bug is 10 to 30%.. Most of them wifi, camera, does not signal the emergence of either SIM1 or 2, USB Mass Storage and Sensoring.. For that I share this thread! So, here is it!!!
1. SIGNAL BUGS
Replace all files ending librilxxx.so in system / lib with the files from the stock rom.
If the signal is still on, Please check IMEI and MEID * # 06 # IMEI and MEID null if trying to flash part of your EFS.
Part EFS is a backup for the ICS: mmcblk0p9, mmcblk0p10, mmcblk0p11, To JB: mmcblk0p6, mmcblk0p7, mmcblk0p8.
2. SENSOR BUGS
Replace sensorservice file in system / bin with files from stock rom
Replace libsensorservice.so file in system / lib with the files from the stock rom
Replace sensor.default.so file in system / lib / hw with files from stock rom
3. CAMERA BUGS
Replace all files berextensi mm-qcameraxxx in system / bin with files from stock rom
Change file-qcamera v4I2-app in system / bin with filedari stock rom
Replace camera.msm7627a.so file in system / lib / hw with files from stock rom
Change the file libcamera_client.so and libcameraservice.so in system / lib with files from stock rom
Replace all libmmcameraxxx.so files in system / lib with the files from the stock rom
4. WIFI BUGS
Replace the wpa_supplicant file in system / bin with files from stock rom
Replace the firmware folder and wifii in system / etc with files from stock rom
Change the file wifitest_recv.sh and wifitest_send.sh in system / etc with files from stock rom
Replace libwpa_client.so file in system / lib with the files from the stock rom
Replace cfg80211.ko file in system / lib / modules with files from stock rom
Replace ath6kl folders in system / lib / modules with files from stock rom
Replace the files in the folder with the file system wifi from stock rom
NB: if none of the above files in the system folder on the add port rom download of files stock rom also commonly
5. GPU BUGS
Replace all files in the folder egl in system / lib with files from stock rom
6. USB BUGS
Replace vfold.fstab file in system / etc with files from stock rom
NB: if there are still bugs to be repck boot.img and please pelototin ramdisknya where settings for usb: v
7. BUGS WHILE VIEW VIDEO
Replace all files ending libchromaticxxx.so in system / lib with the files from the stock
Press thanks if I helped
Click to expand...
Click to collapse
whIch rom I have to take as a stock in yuphoria
Not working

port Miui 8 from Moto x Play

Hello dear team XDA Developers.
Before many thanks for all the technological contributions that we share day by day.!!!
I need your support and collaboration, I am trying to make the port of the ROM MIUI 8 of the xiaomi Mi4i device for the motorola x play I followed the following tutorial, but I could not pass the boot.
Things do you need:
PC/Laptop
MIUI ROM : Can for en.miui.com/download or other. The important is the same chipset, like Qualcomm Snapdragon 200 Dual Core 1.2Ghz Cortex-A7 and Adreno 302 (That's is my Moto E dual SIM chipset)
Boot.img unpacker (Android Image Kitchen) Here is the link.
Notepad++ or WordPad
WinRAR or 7zip
Prepare 5 window on your desktop
1. Window PORT ROM window (ported results, first leave it blank) = (P)
2. Window STOCK ROM window (Extract Stock rom here) = (S)
3. Window BASE ROM window (MIUI Rom V5 extract here) = (B)
4. Android Image Kitchen Window (S)
5. Android Image Kitchen Window (B)
NB:
P=Port
S=Stock
B=Base
1st Chapter, META-INF.
1. Copy the META-INF (S) to the window (P)
Here in use updater-script (S), edit UI PRINT with which you prefer.
2. Replace All SET PERMISSION and symlinks in Updater Script (P) to have (B), remember that replaced only part SET PERMISSION & symlink ALONE!, SHOULD THE FORMAT PARTITION WITH STOCK ROM (S)!, IF YOU OWN ANY negligent BRICK YOUR DEVICE!
2nd Chapter, boot.img
1. Extract the Android Image Kitchen, in which two different places to make it easier.
2. Copy the boot.img (S) and (B) in each folder android image in the kitchen which has been extracted earlier.
3. Drag the file to the boot.img unpackimg.bat, and boot.img already tar extracts.
4. Open the ramdisk folder, open the file init.rc (S) & (B) with Notepad ++, delete the row EXPORTBOOTCLASSPATCH ... (S), and copy lines bootclasspath ... (B) to init.rc (S), Tarok in place which removed earlier, SAVE.
5. Return to the Kitchen Android Image (S), click repackimg.bat, copy-new.img image file (s) into the window (P), rename it so boot.img. So boot.img in use that have (S) which has been edited earlier.
3rd Chapter, SYSTEM
1. Copy the folder system (B) and all its contents to the window (P)
2. Copy and replace files BIN (S) is, to BIN (P):
NETD
Wpa_suplicant
Wpa_cli
Fmconfig
Sensorservice
Radiooptions
Hostapd
dhcpcd
Vold
netcfg
Hostapd_cli
Mpdecision
Fm_qsoc_patches
Ifconfig
3. Copy and replace files / folders ETC (S) is, to the ETC (P):
Folder dhcpcd
Folder FIRMWARE
Folder PERMISSIONS
Folder PPP
Folder WIFI
Audio_effects.conf, audio_policy.conf, audioFilter.csv
DHCPD-run-hooks, gps.conf, hosts, media_profiles.xml, init.qcom.wifi.sh
Vold.emmc.fstab & Vold.fstab
4. Copy and replace files / folders LIB (S) is, to LIB (P):
Folder MODULES
Folder HW, except files, audio_policy * .so, hwcomposer * .so
All files Libchromatic * .so
All files LibOmx * .so
Mmi_audio.so
Libhardware_legacy.so
Libgps.so
Libgps.utils.so
Libaudioalasa.so, libaudiosffect_jni.so, libaudioeq.so, libaudioutils.so
Libwpa_client.so
Liboemcamera.so
Libcameraservice.so
All files libmmcamera * .so
Libsensorservice.so
All files libvideo * .so
Mmi_audio.so
All files mmi_camera * .so
Mmi_wifi.so
Mmi_battery.so
Liboem_rapi.so
Libcamera_client.so
5. Copy and replace Folder USR (P) with USR folder (s)
6. Edit Bulid.prop to edit information / add tweaks
Final Chapter, MAKE ZIP INSTALLER
1. Block All Files & Folders in the window (P), the META-INF, system and boot.img.
2. Right-click, select add to archive .. (use winrar), select the zip file, rename it, press OK
3. Now it's finished zip files, can be installed directly via CWM or TWRP
Tutorial How to Fix Bug on MIUI ROM Qualcomm Chipset.. This is just a basic.. Still many a method for fix bug. My Experience in port ROM MIUI on Qualcomm Chipset, opportunities for having a bug is 10 to 30%.. Most of them wifi, camera, does not signal the emergence of either SIM1 or 2, USB Mass Storage and Sensoring.. For that I share this thread! So, here is it!!!
1. SIGNAL BUGS
Replace all files ending librilxxx.so in system / lib with the files from the stock rom.
If the signal is still on, Please check IMEI and MEID * # 06 # IMEI and MEID null if trying to flash part of your EFS.
Part EFS is a backup for the ICS: mmcblk0p9, mmcblk0p10, mmcblk0p11, To JB: mmcblk0p6, mmcblk0p7, mmcblk0p8.
2. SENSOR BUGS
Replace sensorservice file in system / bin with files from stock rom
Replace libsensorservice.so file in system / lib with the files from the stock rom
Replace sensor.default.so file in system / lib / hw with files from stock rom
3. CAMERA BUGS
Replace all files berextensi mm-qcameraxxx in system / bin with files from stock rom
Change file-qcamera v4I2-app in system / bin with filedari stock rom
Replace camera.msm7627a.so file in system / lib / hw with files from stock rom
Change the file libcamera_client.so and libcameraservice.so in system / lib with files from stock rom
Replace all libmmcameraxxx.so files in system / lib with the files from the stock rom
4. WIFI BUGS
Replace the wpa_supplicant file in system / bin with files from stock rom
Replace the firmware folder and wifii in system / etc with files from stock rom
Change the file wifitest_recv.sh and wifitest_send.sh in system / etc with files from stock rom
Replace libwpa_client.so file in system / lib with the files from the stock rom
Replace cfg80211.ko file in system / lib / modules with files from stock rom
Replace ath6kl folders in system / lib / modules with files from stock rom
Replace the files in the folder with the file system wifi from stock rom
NB: if none of the above files in the system folder on the add port rom download of files stock rom also commonly
5. GPU BUGS
Replace all files in the folder egl in system / lib with files from stock rom
6. USB BUGS
Replace vfold.fstab file in system / etc with files from stock rom
NB: if there are still bugs to be repck boot.img and please pelototin ramdisknya where settings for usb: v
I would greatly appreciate your support and collaboration in my case.
anyone tryed to port?
rober788 said:
anyone tryed to port?
Click to expand...
Click to collapse
I have tried to port without some positive result I still need help, someone else who can contribute, some developer of XDA developer that can help us
lsolis293 said:
I have tried to port without some positive result I still need help, someone else who can contribute, some developer of XDA developer that can help us
Click to expand...
Click to collapse
I tryed to make the port too, but i didnt manage to get to make the zip ...
Check whether the build.prop is set with permission 755. If not set and try.
Maybe Miui of Xiaomi Mi4i is based on android 5.0.1 and Moto X Play started with android 5.1 , different bases. Have you ever tried patchrom of miui? Its a little longer but maybe more effective..
I too tried porting and was able to make zip using patchrom but I wasn't able to get past boot.

Categories

Resources