[Sony Xperia P, U, Sola, Go] sijav:
Hello guys, devs

I've been looking to create MIUI V5 based on stock rom this whole months but have lots and lots of problems!

however I could manage so much problems (HUGE THANKS TO MUNJENI! ... feel free to press thnx on here) but still have networks and wi-fi problems (screen resolution fixed somehow! and there is no battery drain :D)

SO:

Not Working:

- WIFI NOW WORKING!!!

- bluetooth WORKED VERY WELL!!!

- Network (get fc on Phone.apk, Phone.apk related ... fixed telephony smali!)

- get FC on Provision.apk (to fix this first we need to fix telephony smalis)

- get FC on SEMCSetupWizard (Resource ID problem)

- get FC on Note (Overlay Problem)

- get FC on many app (Overlay and Resource ID Problem)

- some miss resolutions (fixed on phone, massages, lockscreen and more but still have problem on top of the other app that contains multi-page, see this

- get FC on radio! (Still overlay or Resource ID conflict problem)

Working? everything else! (every single settings tested)

and there is no battery draining! (at least not without network)

Kernel Git: https://github.com/sijav/patchrom_nypon_kernel

OTA ZIP UPLOADED:

here's the link (you need 7z to unpack this)

PART1: http://www.mediafire.com/download/9brhxkia07oo3s8/out.7z.001

PART2: http://www.mediafire.com/download/4dh2a073ioqxtx9/out.7z.002

OR

the fullota flashable zip in 1 part ;) : http://bayfiles.net/file/QWo5/cCxjzW/fullota.zip

the LATEST fullota flashable zip (BUILD 1.100 and latest MIUI Version) in 1 part ;) : http://bayfiles.net/file/SBDz/ApZbtU/fullota.zip

enjoy ;)

so here I am giving you all my works and files created in github you can use that for creating a rom using linux (ubuntu 12.04 is preferred and 64 bit is a must)

Attention: this rom is not released yet so you need still waiting for a release ... do not post: waiting for release, nice jub, great jub (press the thnx button is just enough :))

for discussion or other question please take it to here => [P] .::| the official unofficial MIUI discussion thread |::.

this thread has been made for devs to come and contribute to this great rom :D

here is link to github => https://github.com/sijav/patchrom_nypon

remember:

. First you need to full wipe your phone (wipe dalvik cache and data and also cache)

. After flash do not wipe any data ( it will cause fc and auto reboot), Do not flash gaaps (it will cause your home button not working!)

. you may want to flash boot.img first then flash your rom but that doesn't necessary

. adb has been enabled on start so you can have adb logcat after the splash screen!

. adb is not activated during splash screen and in recovery ( for activating this in recovery I need to recompile recovery again and that I can not do but if anyone willing to do pm me I will send some information what he have to do)

. fix_patchrom.sh will rename framework2.jar to framework_ext.jar so everytime you update your miui framework2.jar will be updated and you need to do fix_patchrom.sh again for framework2 update!

Readme from github:

Get started
----------------

$ mkdir micode
$ cd micode
$ git clone -b jellybean git://github.com/MiCode/patchrom_android.git android
$ git clone -b jellybean git://github.com/MiCode/patchrom_build.git build
$ git clone -b jellybean git://github.com/MiCode/patchrom_miui.git miui
$ git clone -b jellybean git://github.com/MiCode/patchrom_tools.git tools
$ git clone -b master git://github.com/sijav/patchrom_nypon.git nypon

- for patchrom fix run:
$ ./fix_patchrom.sh

Export path
-----------

$ . build/envsetup.sh -p nypone
$ export PATH=$PATH:/path_to/micode/tools

Build your rom
--------------

$ cd nypone
$ make fullota
- you will get error on compiling the framework-miui-res.apk so enter this code:
$ ./fmr.sh

After everything is compiled, you need to manually fix updater-script from zip! (this isn't nessesary)

- Please do look in temp folder for conflicts and try to fix remaining bugs, Thnx.
- for now Phone.apk and Provision.apk are not working, deleting them and SEMCSetupWizard.apk will make rom booting.
- after installing you need to run these command as some files won't have the right permissions if you don't fix the updater-script from zip:
adb shell chmod 06755 /system/xbin/*
adb shell chmod 755 /system/bin/*
- there is a folder named changes it containes the changes that has been made to the untouched frameworks until the first initial import

"MIUI is one of the most popular Android ROMs in the world. It is based on 4.1.2 featuring better experience and richer themes.

and MIUI offers alot of Free and Paid Themes, clocks and wallpapers. It is very customizable."​