Kali ini saya mau memberi cara untuk fix rom setelah porting rom.

Fix bug

Push dari Stock/Port tidak perlu sekaligus hanya seperlux yg dirasakan kurang

>>Fix bug saat melakukan porting :
Alat Tempur :- Stock ROM atau ROM yang tak ada bug- Winrar- Brain- Kompi / Lepi / HH
Syarat :- Unzip semua ROM (Stock and Port)
LAKUKAN FIX SECARA URUT DARI ATAS KE BAWAH

Cara I:
Secara Garis Besar untuk fix bug seperti dibawah ini: S=Stock Rom, P=Port Rom
*Fix USB Connection
1. Repack boot.img dari S dan P
2. Samakan beberapa bagian yang berkaitan dengan system pada ROM S dan P di:
   - init.qcom.usb.rc
   - init.qcom.usb.sh
3. Perhatikan permissions chmod dan chown dari S ke P
4. Pack Boot.img ROM P

*Fix FM RADIO
=>(untuk fix radio saat dibuka fc)
1. Explore dir /system dari S- Search kata " RADIO "
2. Setelah itu copy semua ke dir yang sama ke P
=>(untuk fix radio saat dibuka fc dan band tidak terdeteksi)
1. Explore dir /system dari S- Search kata "FM"
2. Setelah itu copy semua ke dir yang sama ke P
=>(untuk fix suara yang tidak muncul baik di head set maupun speaker)
1. Explore dir /system dari S- Search kata "AUDIO"
2. Setelah itu copy semua ke dir yang sama ke P

*Fix WiFI
1. Explore dir /system dari S- Search kata " WIFI"
2. Setelah itu copy semua ke dir yang sama ke P
3. Explore dir /system dari S- Search kata " WPA"
4. Setelah itu copy semua ke dir yang sama ke P

*Fix Bluetooth
=>(fix bluetooth yang tidak mau hidup)
1. Explore dir /system dari S- Search kata " BLUE"
2. Setelah itu copy semua ke dir yang sama ke P
=>(Fix transfer bluetooth lama )
1. Explore dir /system dari S- Search kata " BT"
2. Setelah itu copy semua ke dir yang sama ke P

*Fix Signal
=>(fix bluetooth yang tidak mau hidup)
1. Explore dir /system dari S- Search kata " SIGNAL"
2. Setelah itu copy semua ke dir yang sama ke P
=>(Fix transfer bluetooth lama )
1. Explore dir /system dari S- Search kata " BT"
2. Setelah itu copy semua ke dir yang sama ke P

*Tambahan Fixing WiFI, Hotspot, Bluetooth, Signal
1. Masuk ke S ke dir /system/etc
2. Copy semua folder firmware ke P

*Fix all sensor
=>(auto rotate and etc)-
1. Explore dir /system dari S- Search kata " SENSOR"
2. Setelah itu copy semua ke dir yang sama ke P

*Fix Camera
1. Explore dir /system dari S- Search kata " CAMERA"
2. Setelah itu copy semua ke dir yang sama ke P

*Fix SS aka Screenshot
1. Explore dir /system dari S- Search kata " SCREENSHOOT"
2. Setelah itu copy semua ke dir yang sama ke P
3. Explore dir /system dari S- Search kata " SCREENCAP "
4. Setelah itu copy semua ke dir yang sama ke P

Now Zip again ur ROM P with the correct update script

Cara II: (Khusus yg masih pure rom portingan)
 Wifi:
*Bin
netcfg
dhcpcd
ifconfig
hostapd*
wpa*
netd -> Fix wifi hotspot
*Lib
libhardwarelegacy.so -> Fix wifi Hotspot
libwpa_client
*Lib/modules
ath6kl(folder)
cfg80211
*Etc
wifi (folder)
firmware (folder)
dhcpcd(folder)

Tombol Sentuh(Haptic):
Usr (Folder)
usr\keylayout\Generic.kl ->fix HomeKey (Compare)/Set Key 102 HOME

Ads:
etc/hosts ->replace dgn file terbaru ato dari tweak buat blok iklan

Audio:
*Bin
Mm-audio*
Sound
*Etc
Audio*
*Lib
Soundfx(Folder)
Libaudio*
Libmm-audio*
libSR_AudioIn
*Lib/Hw
audio.a2dp.default.so -> audio bluetooth

Storage:
*Build.prop -> Edit sesuaikan dgn stock "ro.emmc.sdcard.partition"
*Bin
Vold
*Etc
Vold* -> edit file untuk swap internal dan external

GPS:
*Lib
libgps*
*Lib/Hw
gps.default.so
gralloc*
*Etc
gps.conf ->cari file dari tweak atau edit sesuaikan dgn pool indo buat lock cepat bisa cari lewat google NTP indo

Camera:
*Bin
Mm-qcamera*
V4l2-qcamera-app
*Lib
 Libcamera*
Libmm_camera*
Liboemcamera
libtscamera-ext
*Lib/Hw
camera

Blutooth:
*Bin
Bluetooth*
Hciattach
Sdptool
*Etc
Bluetooth (Folder)
*Lib
Libblue*
*Xbin
Hciconfig
Bttest
atau
Khusus portingan dari flare : KLIK DI SINI ( credit to ario)

Sensors:
*Bin
Sensor*
*Lib
libsensorservice
*Lib/Hw
sensors* (rename)
lights*

Bootloop waktu porting:
*libandroid_runtime.so
*libandroid_servers.so
*libmedia_jni.so
*Repack boot.image


USB Connection:
*Unpack dan Edit bagian bootclash... (carax sama seperti tutor porting)
Khusus Lewa:KLIK DI SINI ->include fix SS (Credit to Teguh)
Selain Lewa:KLIK DI SINI (Credit to Alhadi)

Cara III: (Kalo malas bongkar dari stock dan yg masih pure rom portingan)
KLIK DI SINI

Error yg biasa terjadi saat porting (Instalation Aborted) :
Error 0 : cukup pindahkan file kedalam folder / copas lagi dari pc / format microsd / gunakan yg lain
Error 6 : cek format dan mount apakah susah sesuai dgn stock rom
Error 7 : hapus kalimat assert yang ada di script biasax plg atas
Error Font : hapus eksekusi file font
Error Symlink :cek updater sesuaikan mgkn file yg dieksekusi tidak ada di folder system/copas symlink dari port rom
Error Set permission : cek updater sesuaikan mgkn file yg dieksekusi tidak ada di folder system
Error Binary : ganti update binary yg cocok bisa dari stock atupun dari port atau bisa jg kitchen


Credit To : Jhun Soo Xda, Modaco, Google, Grup FB Andromax
DWYOR !!!!!!!!

Sumber http://aldiigo.blogspot.com/2014/07/fix-bug-setelah-porting-rom-disini-saya.html?m=1






First