Breaking News
Loading...
, ,

How to port MIUI ROM on Qualcomm processor smartphone : Guide & bugs fix

Share on Google Plus

We want to share a guide to port MIUI ROM for noob. even though they had a lot of threads about this on this forum, This method is based on my experience in the ported ROM during this.. Moreover, many say it is difficult to port on Qualcomm chipset, For me it is a little difficult .. but if it find a suitable device like Hisense AD688G and Motorola Moto E, and the your presence of a will succeed for it  . So, here is it..!!

Qualcomm Processor
















Things do you need:
  1. PC/Laptop
  2. 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)
  3. Boot.img unpacker (Android Image Kitchen) Here is the link.
  4. Notepad++ or WordPad
  5. 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

7. BUGS WHILE VIEW VIDEO
  • Replace all files ending libchromaticxxx.so in system / lib with the files from the stock

You Might Also Like

0 comments

About me

Like us on Facebook

Blog Archive