[Rom] MIUI 1.11.11 EN-FR-DE-NL on Xperia ray

Search This thread

bheremans

Senior Member
Aug 6, 2007
238
110
MIUI Rrom for Xperia Ray

sony-ericsson-xperia-ray-miui.jpg

(screenshots taken with neon BT theme, this is not the default theme)

Uses :

FreeXperia Kernel
CM 7.1.0 build from source
MIUI.US Rom as base

Know Problems

See second post

Credits

  • freeXperia team for the kernel,
  • cyanogen team for a working cm 7.1 rom for xperia
  • miui.us team for their miui rom
  • luke1215 for his template how to port X10 rom, this learned me a lot
 

Attachments

  • shot_000001.resized.jpg
    shot_000001.resized.jpg
    17.5 KB · Views: 5,735
  • shot_000002.resized.jpg
    shot_000002.resized.jpg
    16.7 KB · Views: 4,719
  • shot_000003.resized.png
    shot_000003.resized.png
    40.5 KB · Views: 3,444
  • shot_000005.resized.png
    shot_000005.resized.png
    53.4 KB · Views: 4,823
  • shot_000006.resized.jpg
    shot_000006.resized.jpg
    11.9 KB · Views: 3,134
  • shot_000009.resized.jpg
    shot_000009.resized.jpg
    19 KB · Views: 3,362
Last edited:

bheremans

Senior Member
Aug 6, 2007
238
110
For brave people who want to blow up there xperia ray or help to develop it further.
First read the freexperia topic how to install custom rom or revert back to original firmware.


What doesn't work


  • Taking Screenshots with MIUI application (menu + volume down)
  • Flashlight when taking photo's (torch app works)
  • Google maps => to test if it still drains the battery
  • wifi tethering => it loads, but I can't connect my portable, to be tested by others.. usb tethering works for me
  • ????


What works


  • Calls / sms
  • GSM Data connection
  • Wifi
  • Bluetooth
  • Camera ( to record video, change resolution to HD (720p) 2h)
  • Frontcamera



How to install

  1. Download file
  2. unzip file
  3. copy MIUI.1.XX.XX._Xperia-Ray.zip to sdcard
  4. Put Phone in fastboot mode (poweroff, then connect phone to pc when holding volume up
  5. flash kernel : fastboot flash boot boot.img
  6. poweroff and poweron, hit volume down on freexperia logo to enter cwmrecovery
  7. Flash zip on sdcard with cwmrecovery
  8. reboot and enjoy MIUI


Changelog


16 nov 2011
  • Based on newer CM7.2 RC0 base rom
  • Frontcam darkness fixed (fxp kernel)
  • barcode application works (fxp kernel)

14 nov 2011 Requires new SE firmware !!!
  • Updated to MIUI 1.11.11 Multi language (English, German, Dutch, French, Chinese)
  • Based on newer CM7.1 base rom
  • GPS Fix

9 nov 2011 Requires new SE firmware !!!
  • Newer Mugetsu kernel (better battery and performance), see his thread and thank him :
    http://xdaforums.com/showthread.php?t=1336375
  • Updated to MIUI 1.11.4 Multi language (English, German, Dutch, French, Chinese)
  • Based on newer CM7.1 base rom

27 oct 2011 Requires new SE firmware !!!
  • Updated to FXP043 kernel
  • Updated to MIUI 1.10.21 Multi language
  • Fixed torch (flash when taking photo's doesn't work)
22 oct 2011
  • Updated FXP kernel
  • Updated to MIUI 1.10.21 based on Android 2.3.7
  • Fixed wifi and usb thethering
  • Added default MIUI aps (you can uninstall them)
18 oct 2011
  • Fixed camera
17 oct 2011
  • Fixed data connection
14 oct 2011
  • Updated to MIUI 1.10.14


Download

This Version Requires : SEMC 4.0.2.A.0.42 rom because it is based on fxp043
Get the SE rom here, flash with flashtool : http://xdaforums.com/showthread.php?t=1285977


All userdata will be deleted !!


Download Mugetsu V1 Kernel : http://hotfile.com/dl/134561882/3218077/boot.img.html
or
FXP Kernel 15-nov-2011 http://hotfile.com/dl/135178633/b11f672/boot_20111115.img.html


MIUI 1.1.11 V2 http://hotfile.com/dl/135177656/ac0ef92/MIUI-1.11.11-CM7.2.0-RC0.zip.html

Flash SE firmware with flashtool
Flash new kernel (boot.img) with fastboot
Flash new MIUI rom with CWM


mugetsu's kernel


download file
http://hotfile.com/dl/134502573/af30048/Mugetsu-1.zip.html
copy to your sdcard

download file
http://hotfile.com/dl/134561882/3218077/boot.img.html
poweroffphone, hold volume up and connect with usb to pc. Blue light should turn on.
fastboot flash boot boot.img

disconnect usb, poweron and enter cwm recovery (hit volume down on fxp bootsplash)
install the update.zup you placed on sdcard

reboot


It is mugetsu's kernel, he compiled a version that works with this miui for us :
http://xdaforums.com/showthread.php?t=1336375
thank him if it performs well :)

It doesn't include the patched libsql


Older Versions


MIUI 1.11.11 : http://hotfile.com/dl/135037074/9704969/MIUI-1.11.11_Xperia-Ray.zip.html

FXP Kernel 14-nov-2011 : http://hotfile.com/dl/135036621/a4d2c1f/boot_20111114.img.html

MIUI 1.11.4 : http://hotfile.com/dl/134572445/cddfc8c/MIUIAndroid-1.11.4-CM7_Xperia-Ray.zip.html
MIUI 1.10.21 Xperia Ray Multi Language : http://hotfile.com/dl/133435300/3fc4eba/MIUI-1.10.21-Ray-Multilang_unzipThis.zip.html


MIUI 1.10.21 Xperia Ray http://hotfile.com/dl/133092397/2942d81/MIUI-1.10.21_Xperia-Ray_unzip-this.zip.html


Beta 2 http://hotfile.com/dl/132633833/74c527e/MIUI_1.10.14_Xperia_Ray_20111018_unzip-this.zip.html
Beta 1 http://hotfile.com/dl/132531453/2ae8c08/MIUI_1.10.14_Xperia_Ray_20111017_unzip-this.zip.html
Alpha http://hotfile.com/dl/132332278/75f9707/MIUI_1.10.14_Xperia_Ray_unzip-this.zip.html

First release : http://hotfile.com/dl/132214134/bb0bdea/Miui_xperia_ray_v6.zip.html



to revert you will need to reflash original firmware or freexperia kernel, ...
I am not responsable of any damage that you or you phone will suffer by using this rom !!!



Other MIUI Xperia 2011 Topics
also see this topic it seems other people started to try porting MIUI for xperia :
http://xdaforums.com/showthread.php?t=1295511
 
Last edited:

xutienan9520

Senior Member
Apr 22, 2011
98
16
Perth
you are awesome!!!!
nice work!
with this, i may let the MIUI team to made real miui for us!
thanks and help solve the problem!

---------- Post added at 09:43 PM ---------- Previous post was at 09:22 PM ----------

help!!!!!!

why i flashed but just reboot on FXP logo?
 

bheremans

Senior Member
Aug 6, 2007
238
110
Did you flash the kernel and the rom ? The rom wil noot boot without the provided kernel in the boot.img. The provided kernel will not boot freexperia cm7.
Also don't forget to reset to defaults (clear data / clear cache / clear dalvik cache)
 

bheremans

Senior Member
Aug 6, 2007
238
110
The kernel I provided it build from the freexperia git. But built with other options to match the prelink map for the rom.
I provided a kernel witch is built for normal prelink map.

Standard freexperia kernel is built to use 2G prelink map.
 

xutienan9520

Senior Member
Apr 22, 2011
98
16
Perth
so....there is no boot.img in this miui, and is the kernel you said is the same kernel in package of FXP041 CM7(with gapps)? or the boot.img in FXP CM7 ROm? or the boot.img from CM7 in CM website.....

maybe you can just put the kernel on, and the clear instructor

thanks
 

bheremans

Senior Member
Aug 6, 2007
238
110
My mistake, I uploaded the wrong zip file.
Uploaded new zipfile with boot.img and rom. If you already have flashed the previous zip file with cmrecovery, then you just have to flash the boot.img with fastboot now.
 

punkmonkey1984

Senior Member
Aug 16, 2008
2,061
613
Bucheon 부천시
Would this work on the Xperia Arc? because of of the different screen size ?

Also great progress on this, i do like Miui so im happy to see someone with the know how getting this off the ground.
 

XperiaPlayer

Senior Member
Jul 26, 2011
449
116
Manchester
Punk, it wouldn't work on the Xperia Arc unless someone ported it like I am doing for the Xperia Play. You have to recompile the Cyanogen Mod kernel with some specific config changes, then combine that with the MIUI.US version for the Desire S and then copy over some files.etc to get a UPDATE.zip. You then flash the kernel and that and hope for the best. If I can get it to work on the Xperia Play, bheremans can get it work on the Xperia Neo, then it is only a matter of time before someone will port it to the Arc.

Note that camera, data.etc probably wont work yet unless we get some proper developers in here :p.

See my thread in the Xperia Play section: http://xdaforums.com/showthread.php?t=1295511
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,709
Pune
Problems I still have :

- gsm data connection
- camera (proprietary lib, prelinked with wrong prelink map ...)
- flash light
- taking screenshots

hi i think i know how to resolve the FlashLight issue refer to this post:
http://xdaforums.com/showthread.php?p=18247100#post18247100
u will basically need to change ramdisk to give correct permissions to flashlight sysfs interface

also u might want to contact luke1215 as he is currently making MiUI for X10

regards,

DooMLoRD
 

punkmonkey1984

Senior Member
Aug 16, 2008
2,061
613
Bucheon 부천시
Punk, it wouldn't work on the Xperia Arc unless someone ported it like I am doing for the Xperia Play. You have to recompile the Cyanogen Mod kernel with some specific config changes, then combine that with the MIUI.US version for the Desire S and then copy over some files.etc to get a UPDATE.zip. You then flash the kernel and that and hope for the best. If I can get it to work on the Xperia Play, bheremans can get it work on the Xperia Neo, then it is only a matter of time before someone will port it to the Arc.

Note that camera, data.etc probably wont work yet unless we get some proper developers in here :p.

See my thread in the Xperia Play section: http://xdaforums.com/showthread.php?t=1295511

I know i was not very optimistic about it running on the Arc due to the facts you stated above, but in general the whole new Xperia line is heading in the right direction, which is good.
Im only know just starting to get my head around .xml files, id love to be able to test and build stuff, but i dont think i have the knowledge at the moment to contribute to anything useful.

Time to do some research i guess lol.
 

xutienan9520

Senior Member
Apr 22, 2011
98
16
Perth
At last i flashed it!!!!!!!
quite nice, i can use the theme from miui.
i post a thread to miui in China, so maybe we can get the real miui in few months
 

JasonStein

Retired Recognized Developer
Jul 25, 2011
194
246
Columbus,OH
Hi bro,
You have done a great job to Xperia family.I have working on it for few days porting miui to Xperia arc but I have no idea about the kernel.Since the fxp's cm kernel is not suitble to miui so can you tell me how to tweak the kernel.
I have linux environment and I have got the source code from cm.Just tell me how to tweak the kernel and I will be appreciate.
Thx
Best regards
Jason.


P.S You mean tweak this option
from kernel/arch/arm/configs/xxx_defconfig
arch/arm/mach-msm/include/mach/vmalloc.h
before building the kernel?
Can you tell me some detils about your change to the fxp's kernel?
I don't know how to change the prelink map from 2G/2G to 3G/1G
Thx again!
 
Last edited:

bheremans

Senior Member
Aug 6, 2007
238
110
hi i think i know how to resolve the FlashLight issue refer to this post:
http://xdaforums.com/showthread.php?p=18247100#post18247100
u will basically need to change ramdisk to give correct permissions to flashlight sysfs interface

also u might want to contact luke1215 as he is currently making MiUI for X10

regards,

DooMLoRD

Hi Doomlord,

I know pretty good where the problem with the data and camera is.
kernel and rom libs are compiled with normal prelink map.
But some libs are precompiled and are linked with 2G prelinkmap.

For example is I use the commando isPrelinked (in cm tools), you will see :

libmmgsdilib.so: not prelinked
libmmipl.so: not prelinked
libmmjpeg.so: not prelinked
libmm-omxcore.so: 0xa4000000
libm.so: 0xafb00000

libm.so is prelinked at : 0xafb00000

but the preopritary files you have to use for example

libril.so: 0x6e600000

prelink-linux-arm-2G.map

prelink-linux-arm.map

MIUI libs : normal prelink map
proprietary libs : 2G prelink map

Mixem them causes preblems the system expexts libril.so at 0xAE600000
Same problem for camera libs

We can't compile MIUI from source and we can't compile some SE libs from source (for now)

but if we could free up the 0x6E600000 and shift things like in the commit you pointed out in the xperia play topic things could work out maybe.

Although I thought I had data runing on standard cm7 rom compiled with normal prelink map. So maybe I forgot to replcace some files in MIUI rom and we can get data working without kernel changes..

I am a java developper and system admin so I can read code and change some stuff and compile, but I am certainly no kernel developper :-(

Just posting all this stuff so others can understand the problems and maybe help :)
 

bheremans

Senior Member
Aug 6, 2007
238
110
Hi bro,
You have done a great job to Xperia family.I have working on it for few days porting miui to Xperia arc but I have no idea about the kernel.Since the fxp's cm kernel is not suitble to miui so can you tell me how to tweak the kernel.
I have linux environment and I have got the source code from cm.Just tell me how to tweak the kernel and I will be appreciate.
Thx
Best regards
Jason.


P.S You mean tweak this option from kernel/arch/arm/configs/xxx_defconfig
arch/arm/mach-msm/include/mach/vmalloc.h
before building the kernel?
Can you tell me some detils about your change to the fxp's kernel?
I don't know how to change the prelink map from 2G/2G to 3G/1G
Thx again!


JasonStein, yes, also CONFIG_PAGE_OFFSET :
http://xdaforums.com/showpost.php?p=18386122&postcount=29

I din't change anything to the kernel souce, only the config options !!
 

bheremans

Senior Member
Aug 6, 2007
238
110
I know i was not very optimistic about it running on the Arc due to the facts you stated above, but in general the whole new Xperia line is heading in the right direction, which is good.
Im only know just starting to get my head around .xml files, id love to be able to test and build stuff, but i dont think i have the knowledge at the moment to contribute to anything useful.

Time to do some research i guess lol.

Xperia Arc / ray / Neo all pretty much the same, the have same cpy, gpu, resolution, ...

http://www.xperiablog.net/comparison/

the all use the same kernel source as far I know, maybe some small config options in fxp_xxxxx_debconfig. I should be able to compile a kernel and rom pretty easy. Maybe I will try to do it later today.
 

Top Liked Posts