Sunday, 11 October 2015

[GUIDE] How To Port FIUI to Any Device



Hello everyone! :cowboy: :D

I'm here again to put togethera detailed guide on "How To Port FIUI", which is a ROM that's improving each day with an iOS-based interface and CM11-based system.


FIUI (Future Interactive UI)



Quote:









FIUI is a Chinese ROM based off of CyanogenMod. The Future Interface UI is made by the AZ Fuga Team!
FIUI's concept is simple: Remove redundant features that bloat up the system, maximize functionality, all the while maintaining a gorgeous UI!





Quote:









This guide is applicable to any device and FIUI version.




Having said that, let's start!


1. Understanding Porting:


Quote:









What you'll need:
  1. WinRAR

  2. Notepad++ (recommended; wordpad is ok)

  3. Basic knowledge about copy-paste ;)






First of all, you need to know some concepts:


Quote:









Base ROM:

The ROM which is developed for your device. Important: due to FIUI is CM11 based, you could only use CyanogenMod 11 as base ROM.





Quote:









Port ROM:

The ROM which you want to port to your device. In this case: FIUI (Doesn't matter for which device is made)




Once we've learnt that. Let's prepare everything to start working.


2. Setting Up the Environment:

Time to organize files and folders before start porting. :highfive:


Quote:









Step 1:

Create to different folders in your favourite directory:
  • CM11 (Base ROM)

  • FIUI (Port ROM)







Quote:









Step 2:

Take any CM11 which is running on your device and extract it WinRAR. Copy it content in CM11 folder.

Then, do the same with FIUI ROM, pasting it content in FIUI folder.




Having done that, you're prepared to port! :laugh:


3. Porting the ROM:

Here's the "difficult" part of this guide.


Quote:









Firstly, delete those folders of Base ROM
  • system/app

  • system/media

  • system/priv-app


And replace them with "App", "Media" and "Priv-app" folders from Port ROM (FIUI)





Quote:









In FIUI, go to system/etc/permissions folder and look for com.htc.software.market.xml. If it's available, copy it to system/etc/permissions folder of CM11

Do the same procedure with libAppDataSearch.so, which should be located in system/lib folder of FIUI.

*Remember: it doesn't matter if you don't find those files on FIUI ROM*





Quote:









From FIUI, copy "su" file, located at system/xbin. Paste it in system/xbin folder of CM11 and replace it.





Quote:









In CM and FIUI, open framework-res.apk (located at system/framework) with WinRAR, and navigate to the res/xml folder (in both files).

Now, move those files directly from CM11 framework-res.apk into FIUI framework-res.apk :
  • eri.xml

  • storage_list.xml

  • apn.xml

  • power-profile.xml


One you've done that, copy system/framework folder from FIUI and paste it into CM11 folder. Attention: choose combine content, and replace when asked.





Quote:









Open build.prop of CM11 folder with Notepad++. Paste this code at the bottom of the file:

Code:


#fiui build
fiui.ver.name=beta_x.xx.
fiui.ver=1
fiui.navbar=0
fiui.traffic=1


Change the values according to the FIUI version that you're porting. ;)




After that, you've finished the hard work.


4. Repacking the ROM:


Quote:









Finally, go to CM11 folder and select all the content (Meta-INF, boot.img, system, etcetera) and zip them using WinRAR. Now flash it and enjoy a Future Interactive UI :highfive:





Done. You've ported FIUI to your device!



Quote:









Press thanks if I help you ;)





Code:


Don't copy my work without my permission.



Quote:









I'll be adding screenshots of the procedure for noobs :)







No comments:

Post a Comment