Sei sulla pagina 1di 6

How to port MIUI ROM on Qualcomm processor

smartphone : Guide & bugs fix


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..!!

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

Hal yang Anda butuhkan:


PC / Laptop
MIUI ROM: Can untuk en.miui.com/download atau lainnya. Yang penting adalah chipset yang sama, seperti Qualcomm
Snapdragon 200 Dual Core 1.2GHz Cortex-A7 dan Adreno 302 (Itu adalah saya Moto E chipset ganda SIM)
Boot.img unpacker (Android Gambar Kitchen) Berikut adalah link.
Notepad ++ atau WordPad
WinRAR atau 7zip

Siapkan 5 jendela pada desktop Anda


1. window Jendela PORT ROM (hasil porting, pertama biarkan kosong) = (P)
2. Jendela STOCK ROM jendela (Extract Stock rom di sini) = (S)
3. Jendela DASAR ROM jendela (MIUI Rom V5 ekstrak di sini) = (B)
4. Android Gambar Kitchen Window (S)
5. Android Gambar Kitchen Window (B)

NB:
P = Pelabuhan
S = Stock
B = Basis

1 Bab, META-INF.
1. Copy META-INF (S) ke jendela (P)
Berikut digunakan updater-script (S), mengedit UI PRINT dengan yang Anda sukai.
2. Ganti Semua SET IZIN dan symlink di Updater Script (P) untuk memiliki (B), ingatlah bahwa hanya diganti bagian SET IZIN
& symlink ALONE !, HARUS FORMAT PARTISI DENGAN STOCK ROM (S) !, JIKA ANDA SENDIRI APAPUN BRICK lalai
PERANGKAT ANDA!
2 Bab, boot.img
1. Ekstrak Android Kitchen Gambar, di mana dua tempat yang berbeda untuk membuatnya lebih mudah.
2. Salin boot.img (S) dan (B) di setiap folder gambar android di dapur yang telah diekstrak sebelumnya.
3. Drag file ke unpackimg.bat boot.img, dan boot.img sudah tar ekstrak.
4. Buka folder ramdisk, buka file init.rc (S) & (B) dengan Notepad ++, menghapus EXPORTBOOTCLASSPATCH baris ... (S), dan
menyalin baris bootclasspath ... (B) ke init.rc (S), Tarok di tempat yang dihapus sebelumnya, SIMPAN.
5. Kembali ke Gambar Kitchen Android (S), klik repackimg.bat, copy-new.img file gambar (s) ke jendela (P), nama itu begitu
boot.img. Jadi boot.img digunakan yang telah (S) yang telah diedit sebelumnya.

3 Bab, SYSTEM
1. Salin sistem folder (B) dan semua isinya ke jendela (P)
2. Copy dan mengganti file BIN (S) adalah, untuk BIN (P):

NETD
Wpa_suplicant
Wpa_cli
Fmconfig
Sensorservice
Radiooptions
Hostapd
dhcpcd
Vold
netcfg
Hostapd_cli
Mpdecision
Fm_qsoc_patches
ifconfig
3. Copy dan mengganti file / folder ETC (S) adalah, dengan ETC (P):

folder dhcpcd
folder FIRMWARE
Perizinan folder
folder PPP
folder WIFI
Audio_effects.conf, audio_policy.conf, audioFilter.csv
kait dhcpd run--, gps.conf, host, media_profiles.xml, init.qcom.wifi.sh
Vold.emmc.fstab & Vold.fstab

4. Copy dan mengganti file / folder LIB (S) adalah, untuk LIB (P):

MODUL folder
Folder HW, kecuali file, audio_policy * .so, hwcomposer * .so
Semua file Libchromatic * .so
Semua file 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
Semua file libmmcamera * .so
Libsensorservice.so
Semua file libvideo * .so
Mmi_audio.so
Semua file mmi_camera * .so
Mmi_wifi.so
Mmi_battery.so
Liboem_rapi.so
Libcamera_client.so

5. Copy dan mengganti Folder USR (P) dengan folder USR (s)
6. Ubah Bulid.prop untuk mengedit informasi / menambahkan tweak

Bab terakhir, MEMBUAT ZIP INSTALLER


1. Block All Files & Folders di jendela (P), META-INF, sistem dan boot.img.
2. Klik kanan, pilih add to archive .. (penggunaan winrar), pilih file zip, mengubah nama itu, tekan OK
3. Sekarang sudah selesai file zip, dapat diinstal langsung melalui CWM atau TWRP

Tutorial Cara Perbaiki Bug pada MIUI ROM Qualcomm Chipset .. Ini hanya dasar .. Masih banyak metode untuk
memperbaiki bug. Pengalaman saya di pelabuhan ROM MIUI di Qualcomm Chipset, peluang untuk memiliki bug adalah 10
sampai 30% .. Kebanyakan dari mereka wifi, kamera, tidak menandakan munculnya baik SIM1 atau 2, USB Mass Storage dan
Sensoring .. Untuk saya itu berbagi thread ini! Jadi, di sini adalah itu !!!

1. BUGS SIGNAL

Mengganti semua file yang berakhir librilxxx.so dalam sistem / lib dengan file dari rom Stock.
Jika sinyal masih pada, Silakan periksa IMEI dan MEID * # 06 # IMEI dan MEID null jika mencoba untuk flash bagian dari
EFS Anda.
Bagian EFS adalah cadangan untuk ICS: mmcblk0p9, mmcblk0p10, mmcblk0p11, Untuk JB: mmcblk0p6, mmcblk0p7,
mmcblk0p8.

2. BUGS SENSOR

Ganti file sensorservice dalam sistem / bin dengan file dari rom Stock
Ganti libsensorservice.so file dalam sistem / lib dengan file dari rom Stock
Ganti sensor.default.so file dalam sistem / lib / hw dengan file dari rom Stock

3. BUGS CAMERA

Mengganti semua file berextensi mm-qcameraxxx dalam sistem / bin dengan file dari rom Stock
Ubah file-qcamera v4I2-aplikasi dalam sistem / bin dengan rom Stock filedari
Ganti file camera.msm7627a.so dalam sistem / lib / hw dengan file dari rom Stock
Mengubah libcamera_client.so berkas dan libcameraservice.so dalam sistem / lib dengan file dari rom Stock
Mengganti semua file libmmcameraxxx.so dalam sistem / lib dengan file dari rom Stock

4. BUGS WIFI

Mengganti file wpa_supplicant dalam sistem / bin dengan file dari rom Stock
menggantikan

Potrebbero piacerti anche