Quantcast
Channel: xda-developers - Galaxy S Plus I9001 Android Development
Viewing all articles
Browse latest Browse all 315

[Tutorial] How To Port MIUI-v5 for Galaxy S Plus

$
0
0
[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 don’t 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 needn’t do anything

Step
  • All move files is from PORT ROM(i9000) to BASE ROM(i9001)
  1. Quote:

    Compare two system folder using Beyond Compare
  2. Quote:

    Delete cm10.1 app and framework and fonts folder, and move miui's to cm10.1
  3. 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 needn’t do anything

  4. Quote:

    Delete cm10.1 media/audio , and move miui's to cm10.1 (don’t forget bootanimation.zip ,and lockscreen, theme, wallpaper folders)
  5. 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");
    Add this line above it
    Code:

    set_perm(0, 1000, 06750, "/system/xbin/shelld");


    save

Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	N/A
Size:	32.7 KB
ID:	2477383   Click image for larger version

Name:	4.png
Views:	N/A
Size:	12.2 KB
ID:	2478572  
Attached Files
File Type: zip mount.zip - [Click for QR Code] (899 Bytes)

Viewing all articles
Browse latest Browse all 315

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>