[Tutorial] How To Port MIUI-v5 for Galaxy S Plus GT-i9001 (also for Galaxy Wonder GT-i8150)
Beginning
MIUI is a fantastic rom. But for s+ the ram is too low to run miui-v5. Finally I move to cm. Since I dont update it some weeks, I receive some PM to request update. I think I should write a guide, and I think you who love this amazing rom should try to port one by yourself. Here we go.
What you need
Choose rom
For i9001, you are able to port cm-10.1 base rom from i9000 , i8150 or Nexus S. Best from i9000 in my opinion.
PORT ROM: http://xiaomi.eu/community/ (download i9000 one)
BASE ROM:cm-10.1 ion by ADC team is good
Start porting
PART 1
In system folder, you can find these subfolder
Step![]()
Beginning
MIUI is a fantastic rom. But for s+ the ram is too low to run miui-v5. Finally I move to cm. Since I dont update it some weeks, I receive some PM to request update. I think I should write a guide, and I think you who love this amazing rom should try to port one by yourself. Here we go.
What you need
- I will not teach you how to use those tools, you'd better having knowledge about it.
- Windows 7 (or XP, 8)
- WinRAR or else
- Beyond Compare
- Notepad + +
- Apktool
- Android Kitchen with Cygwin (or something else can un-pack boot.img)
Choose rom
For i9001, you are able to port cm-10.1 base rom from i9000 , i8150 or Nexus S. Best from i9000 in my opinion.
PORT ROM: http://xiaomi.eu/community/ (download i9000 one)
BASE ROM:cm-10.1 ion by ADC team is good
Start porting
PART 1
- Unzip the PORT ROM(we call it miui) and BASE ROM(we call it cm10.1)
- Compare two system folder using Beyond Compare
In system folder, you can find these subfolder
Quote:
addon.d app bin cameradata etc ﹂permission --others firmware fonts framework lib media tts usr vendor xbin build.prop |
- in red is that need to move
in black we neednt do anything
Step
- All move files is from PORT ROM(i9000) to BASE ROM(i9001)
- Quote:
Compare two system folder using Beyond Compare
- Quote:
Delete cm10.1 app and framework and fonts folder, and move miui's to cm10.1
- Quote:
- etc and lib folder, move all files which miui have, but cm10.1 don't have
- move and cover libandroid_servers.so from miui to cm10.1
- As for subfolder of lib folder(examples, hw and modules),you neednt do anything
- Quote:
Delete cm10.1 media/audio , and move miui's to cm10.1 (dont forget bootanimation.zip ,and lockscreen, theme, wallpaper folders)
- Quote:
xbin folder , move shelld and su from miui to cm10.1
- Edit build.prop (use Beyond Compare could help you find how to edit)
Only need to change version and ringtones
Code:ro.build.display.id=JDK39E
ro.build.version.incremental=3.12.27
Code:ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=GoodMorning.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
- now delete your old cm10.1 system folder(in zip) , and push your new system folder into zip.
- Go to cm10.1 META-INF/com/google/android/updater-script (open with notepad++)
search
Code:set_perm(0, 0, 06755, "/system/xbin/su");
Code:set_perm(0, 1000, 06750, "/system/xbin/shelld");
save