Articles by "Porting Guides"
Showing posts with label Porting Guides. Show all posts
Droidadda is one of worlds best online blogging portal where latest trending articles on Android,Blogging,Seo,Gadgets,Tricks,etc are daily published.

Miui9 is the latest released Android custom interface operating system created by Xiaomi for its Mi devices. Recently Xiaomi has announced official Global Stable update of Miui 9 for several Mi devices. Miui 9 is better known for its user interface and features. So today i am back here to address you an amazing guide so that you too can run Miui 9 on your android devices. You can do this by porting Miui 9 rom for your android mediatek devices.

How to Port Miui 9 on Mediatek?

Miui 9 has been ported to many android devices including Mediatek,Qualcomm & Spreadtrum platforms. These rom has been ported by Developers. But with this guide you too can port Miui 9 for your mediatek device and become a developer. To port miui 9 on your device follow the below given steps properly.
This guide is for Mediatek 64 Bit devices with Kernel 3.18.19


Device
Redmi Note 4
Cherry Mobile Flare 5
Android
Android 6.0
Android 6.0
Kernel
3.18.19
3.18.19
Chipset
MT6797
MT6753

Follow below steps:

NOTE: DO NOT REPLACE ENGINEERING MODE APP
  • Delete folders from Port ROM
  1. system/etc/firmware
  2. system/etc/mddb
  • Modify .xml file to match Device
  1. system/etc/device_features
  • Copy folders/files from Stock ROM
  1. system/etc/firmware [folder]
  2. system/etc/mddb [folder]
  3. system/etc/agps_profiles_conf2.xml
  4. system/etc/apns-conf.xml
  5. system/lib/hw/audio.primary.mt6753.so
  6. system/lib/hw/gps.mt6753.so
  7. system/lib/hw/gralloc.mt6753.so
  8. system/lib/hw/hwcomposer.mt6753.so
  9. system/lib/hw/lights.mt6753.so
  10. system/lib/hw/memtrack.mt6753.so
  11. system/lib/hw/mmsdk.mt6753.so
  12. system/lib/hw/sensors.mt6753.so
  13. system/lib/libcameracustom.so
  14. system/lib/libshowlogo.so
  15. system/lib64/hw/audio.primary.mt6753.so
  16. system/lib64/hw/gps.mt6753.so
  17. system/lib64/hw/gralloc.mt6753.so
  18. system/lib64/hw/hwcomposer.mt6753.so
  19. system/lib64/hw/lights.mt6753.so
  20. system/lib64/hw/memtrack.mt6753.so
  21. system/lib64/hw/mmsdk.mt6753.so
  22. system/lib64/hw/sensors.mt6753.so
  23. system/lib64/libcameracustom.so
  24. system/xbin/mnld
  • Copy these files to fix front flash + front video recording (Copy from K4 Note)
  1. system/lib/libcam.paramsmgr.so
  2. system/lib64/libcam.paramsmgr.so
  • Edit build.prop
  1. ro.product.model=Flare 5
  2. ro.product.brand=Cherry Mobile
  3. ro.product.name=Flare_5
  4. ro.product.device=Flare_5
  5. ro.product.board=Cherry Mobile
  6. ro.board.platform=mt6753
  7. ro.build.product=Cherry Mobile
  8. qemu.hw.mainkeys=0
  9. ro.sf.lcd_density=300
  10. ro.mediatek.platform=MT6735
  11. mediatek.wlan.chip=CONSYS_MT6735
  12. mediatek.wlan.module.postfix=_consys_mt6735
  • Apply RIL Fix for MIUI
Unpack your stock rom and port rom boot.img & copy these from stock boot.img to port boot.img
  1. boot.img-kernel
  2. boot.img-ramdisk_offset
  3. boot.img-tags_offset
  4. ramdisk/fstab.mt6735

Important Instructions

  • Modify all files with MT6797
  • Compare all lines between mt6735 and mt6797 files
  • Rename all lines from mt6797 files to mt6735 (Example: mount all/fstab.mt6797 >> mount all/fstab.mt6735)
  • Rename all mt6797 files to mt6735 (Example: init.mt6797.rc >> init.mt6735.rc)
  • Repack boot.img
Please note that you must have to follow the guide perfectly in order to port Miui 9 on your Mediatek device or else you may encounter several issues including Bootloop. If you may encounter bugs of any issue that you can handle then you can comment below so that i can help you fixing them out.

Final Words

This was the article on Best Guide For Porting Miui9 on Mediatek 64Bit Device. I hope you'll like this article. If you need any extra help completing this guide, then you should tell me in comments. If installation fails, then the only thing that you need to do is to try and repeat the whole tutorial more than once.
Also Read: How to cross port rom for mediatek devices

Google Search Tags:

Miui Porting Guide, Miui 9 Porting Guide, Miui Porting Guide for Mediatek, Miui9 Porting Guide for Mediatek, Miui porting guide for mediatek 64 bit, Miui9 porting guide for mediatek 64 bit, Mtk 64 bit Miui9 porting guide, Mtk64 bit Miui porting guide, Stable Miui9 porting guide, Bugless Miui9 porting guide, Mediatek porting guide for Miui9
Thankyou for visiting Droidadda. For fast access to our service Bookmark & Subscribe us now. Share this article with your friends. If any issues then feel free to comment below. Peace out.
Droidadda is one of worlds best online blogging portal where latest trending articles on Android,Blogging,Seo,Gadgets,Tricks,etc are daily published.




Easiest Guide to port MTK Rom Within 2 min (All Chip-sets)

CROSS MTK custom ROMs to all other chipsets and with different  kernels

crossPorting Rom to your android device from one MTK device to other MTK device, sounds interesting. Right? Yes! Today im going to show you How to crossport roms from one MTK to another MTK chipset, it doesn’t matter whether they are :


Device info :-

MT6582
MT6592
MT6572

3.4.67 to 3.10.54( kernel)
3.10.54 to 3.4.67(kernel)

SPROUT 4/8 TO MT6582
SPROUT 4/8 TO MT6592

After reading this guide, I am damn sure, You can easily Crossport rom from these chipsets to another chipsets. Yes! MTK rom porting is super easy. You can easily crossport roms to your MTK device without any bugs. New MTK devices get launch every day and buying device, you feel sad as there is no custom rom, but you can port rom for your device by your own.

Minimum Requirements to port ROM for MTK device


minimum requirements to consider before following this mtk porting guide for your MTK android device.



  • A little brain
  • A bit patience
  • Windows 7/XP/8
  • WinRAR
  • any working  ROM
  • Working eyes to read it carefully


More details about this mtk rom porting guide:

The main thing is selecting a base ROM while cross-port is really impotent


u must take a base for

  • cm 13 to any cm13 based
  • aosp(layers)to aosp(layers)
  • aosp(substractum) to 
  • aosp(substractum)
  • aosp+cmte to aosp+cmte


Let's Start



STEP 1



STEP 2



STEP 3




STEP 4





STEP 5





STEP 6



STEP 7



STEP 8


USE BASE ROM BOOT
FOR SPROUT4/8 PORT( Replace init.environ.rc from port to base boot.img)
RE-ZIP BASE ROM 
FLASH VIA RECOVERY


We will face some common bug after cross port (MM ROMS ONLY)

setting reset
home key not work
unable to pull notification panel 

here is a PATCH

FILES FOR NON EMULATED LP ROMS (MT6582-6592)

NON-EMALUTED FILES FOR LP ROM MT6582-SYSTEM 5 USER HERE

NON-EMALUTED FILES FOR LP ROM MT6582-SYSTEM 6 USER HERE

NON-EMALUTED FILES FOR LP ROM MT6592-SYSTEM 5 USER HERE

NON-EMALUTED FILES FOR LP ROM MT6592-SYSTEM 6 USER HERE


ALL THE BEST


GUIDE BY:
SAMAR VISPUTE  MINH QUOC



SIMPLIFIED BY  MANJUNATHU YASHU

Friends, if you like this post, kindly comment below the post and do share your response. Thanks for reading :)
Droidadda is one of worlds best online blogging portal where latest trending articles on Android,Blogging,Seo,Gadgets,Tricks,etc are daily published.


After Long Time A New Post In Blog Which Is Awaited Post Directly To The Point Here Is Guide For Porting Lollipop Based Rom(Except Cyanogenmod)

Requirements:
  1. Your Stock Rom
  2. Port Rom (Which You Can To Port)
  3. Notepad++(If Any Editing Needed)
  4. A Working PC with windows OS Installed
  5. Brain
NOTE: Take Backup Of All Your Setup By Recovery And Don't Point Your Finger On Me Are Blog Are Any Dev 

Here I Am Just Posting The Method I Know And Booted Many Rom's Almost Bugless

1. Open Stock Rom Folder In New And Also Port Rom Folder In One More New Tab(Side-By-Side)

2. Replace Boot.img From Stock To Port Rom Folder

3. Open System Folder in Both Stock And Also Port Rom Folder

4. Open Folder System/bin Replace pq & vold From Stock To Port Rom

5. Open Folder System/etc Replace Wifi,Bluetooth,Firmwares From Stock To Port Rom

6. Open Folder System/lib Replace egl & hw Folder From Stock To Port Rom

7. Open Folder System/lib Replace Following From Stock To Port Rom
  • All Lib Starting With "libaudio"
  • libcamalgo.so
  • libcamdrv.so
  • libcameracustom.so
  • libsensorservices.so
  • libsync.so
  • libvcodecdrv.so 
 8. Open Folder System Replace Vendor From Stock To Port Rom

9. user file 
system/usr/keylayout/generic.kl

9. Open System/build.prop Compare Following With Stock To Port Rom If Any Changes Required Change Them
ro.sf.lcd_density=200
ro.product.model=Lava iris x1 grand
ro.product.brand=Lava
ro.product.name=Lava
ro.product.board=Lava iris x1 grand
ro.product.locale.language=en
ro.product.locale.region=US

ro.sf.hwrotation=0


10. Now Open Meta-Inf And Navigate To com/google/android/updater-script and edit mounting points according to your Device

11. Congo You Ported A Rom ,Now Compress Port Rom In A Zip Flash And Enjoy



Stuck on bootlogo or black screen comes after boot logo = replace libMali.so from any working rom for ur device.
Location - system/lib

Screen upside down = open build.prop of ur port rom with notepad++ find this line ro.sf.hwrotation=180 and change 180 to 0 , if it is already 0 then change it to 180. 
If u will find more bugs then i m here to help u..

Download file for lava iris x1 grand


Now zip the rom and flash the rom!!!
Bug Fixing:
Just replace it from Stock ROM to your Custom ROMs.
Bootloop when porting:
/system/lib/libandroid_runtime.so
/system/lib/libandroid_servers.so
/system/lib/libmedia_jni.so
*Repack boot.image
Showing black screen after logo:
\system/lib/libMali.so
RadioFM :
\system\bin\fmradio
\system\etc\firmware\mt6620_patch_e3_hdr.bin
\system\etc\firmware\mt6620_patch_e6_hdr.bin
\system\etc\firmware\WMT.CFG
\system\lib\modules\mtk_fm_drv.ko
\system\lib\libfmcust.so
Sensors :
/system/bin/akmd*
/system/lib/libsensors.so
/system/lib/libms3c_yamaha.so
/system/etc/firmware (folder)
/system/bin/servicemanager
Bluetooth\Wifi not turning On\Off :
\system\lib\module\mtk_stp_wmt
Bluetooth :
/system/bin/bd_prov
/system/bin/uim*
/system/bin/hcid
/system/bin/bluetooth*
/system/bin/hciattach
/system/bin/sdptool
/system/xbin/hciconfig
/system/bin/brcm_patchram_plus
/system/lib/libbluetooth_mtk.so
/system/lib/libbluetoothem_mtk.so
Wifi :
/system/bin/netcfg
/system/bin/dhcpcd
/system/bin/ifconfig
/system/bin/hostap
/system/bin/hostapd
/system/bin/hostapd_bin
/system/bin/pcscd
/system/bin/wlan*
/system/bin/wpa*
/system/bin/netd -> Fix wifi hotspot
/system/lib/libhardwarelegacy.so -> Fix wifi /system/lib/modules/mtk_stp_wmt.ko/system/lib/modules/mtk_wmt_wifi.ko
/system/etc/wifi (folder)
/system/etc/firmware (folder)
Camera :
system/lib/libfeatureio.so – camera not working
/system/etc/media_profiles.xml
/system/lib/libcamera.so
/system/lib/liboemcamera.so
\system\lib\hw\camera.default.so
\system\lib\libcamera_client.so
\system\lib\libcameracustom.so
\system\lib\libcamer aprofile.so
\system\lib\libcameraservice.so
\system\lib\libmhal.so
\system\lib\libmhalcontent.s o
\system\lib\libmhaldrv.so
\system\lib\libmhalmdp.so
\system\lib\libmhalpipe.so
\system\lib\libmhalscenario.so
\system\lib\libmhalutility.so
\system\etc\permission\android.hardware.camera.fro nt.xml
\system\lib\libOmx*.so -fix camcoder
\system\lib\libfeatureo.so -fix cam focus
# camera not working or force close or any other problem
copy all libs starting with /libcam*.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
SD card/Memory:
/system/bin/vold
\system\etc\vold.fstab -> edit file for swap internal and external
\system\etc\vold.fstab.nand
*Note:If not present leave this. from kitkat 4.4.x this file hase been moved into boot.img
Storage not mounting:
Decompile framework-res.apk using apktool or apk multitool and replace following file from STOCK framework-res.apk to PORT framework-res.apk
/res/xml/storage_list.xml
GPS:
\system\xbin\libmnlp
/system/etc/gps.conf
Touch Screen(Haptic):
/system/usr
/system/usr\keylayout\Generic.kl ->fix HomeKey
Sim1/2 (RIL):
\system\etc\firmware\modem.img
\system\etc\permission (RIL)
/system/bin/stmd
/system/bin/rild*
/system/etc/rril
Audio/Sound:
\system\lib\libaudio* .so
Ads:
/system/etc/hosts ->replace with new files or use tweak.
Resolution problem:
open build.prop and add following line
ro.sf.lcd_density=240
[ex: 240 but your dpi maybe deferent]
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
LED not working:
Replace following files from STOCK to PORT
system/lib/libfeatureio.so
Fix Network / 3G Network:
/ system / etc / agps_profiles_conf
/ system / etc / APNs-conf
/ system / etc / epo-conf
/ system / etc / spn-conf
/ system / etc / virtual-spn-conf-by-efspn
/ system / etc / virtual-spn-conf-by-IMSI
For any queries comment below!!
Warning:Make a full nandroid backup through TWRP recovery before flashing!!
Credits:
Google
XDA
Sai charan [make guides ]
All My MTK Devs Friends 
Comment Below If I Missed You In The List