yashsingh1/xdaforums huggingface dataset:
[Android Software Development] corby2geek:
No..no, I mean port's kernel because I have read somewhere that we can port a kernel.

Thanks :)
[Android Software Development] Lens_flare:
just paste boot.img from base.
[Android Software Development] debsattam:
can't we port this miui rom without using cyanogen mod ?
[Android Software Development] ghekua:
I would like to port MIUI 4.1 to CM10. Is this will be using the same way?

Thanks bro :D
[Android Software Development] oktavianno:
i want to port miui from other device with same spec with my device . the different only camera resolution .. can i pirt this rom into my device with perfectly resolution camera ? how about kernel ?
[Android Software Development] zoldyck:
I tried to Install Miui port by me

but I have some warning '' com.android.phone has stopped ''

any solution?
[Android Software Development] rdejager:
What device are you using, how about a logcat? ehm where is the port from etc etc etc
[Android Software Development] KranTi:
I use this guide for port miui4..i follow all the instructions,but my phone is not booting..:(

I have galaxy ace s5830.,it stucks at galaxy ace s5830 logo..

What should i do?

Any help plz...
[Android Software Development] LynXT:
created a port of MIUI ICS, but gives bootloop flash it, does not advance the bootanimation
[Android Software Development] riteshbendre:
well I took Randomblame's ROM as base (Desire HD - Jelly Bean) and trying to port Slim Bean ROM... things went OK .. the ROM boots, everything works ..except Network ...

when I try searching manually..i get an error ...so any ideas on how to fix this ??

De-compiling ... framework-res.apk > values > bools > skip network changed to "false" ... but then it gets stuck in BootLoop ... :S
[Android Software Development] dntipwn:
keep getting com.andriod.phone has stopped any help would be appreciated
[Android Software Development] SpaceCaker:
Decompile framework.jar of miui and cm base rom ;)

Check in build prop of cm rom by

Ro telephony classes wich name it has like on mine it says COOPERril

So go to decompiled jars

Find the cooperril.smali and add to miui framework jar at same location compile that jar and phone stops fcing and network works
[Android Software Development] gabrielking9:
This tuto should be on OP
[Android Software Development] dntipwn:
Got the com.android.phone to stop fc and the miuihome to stop fc but now it wont load all the way it pops up with a loading bar and then just sits there? Almost there
[Android Software Development] Ozadroid:
Did u put /system/xbin/shelld from miui base to ur port? And did u edited ur init.rc in boot.img and added this line

service shelld /system/xbin/shelld
class main

If not do that!
[Android Software Development] dntipwn:
just did that and it didnt change anything. Still a constant fc of miuihome
[Android Software Development] Ozadroid:
try putting that 2 lines in init.<device>.rc and remove from init.rc

if it still doesnt work use an older launcher it will work. i m myself using launcher from 2.9.14
[Android Software Development] dntipwn:
OK so I installed a older version of miuihome and it still has fc just not as frequently and its kinda of usable here's my log cat if you could look and see what the issue is

EDIT:NVM i got it working looking around a little more i found that i was missing some files in my system/lib folder that i didnt know about but so far so good. Thank you for all your help.
[Android Software Development] DelsaDj:
someone tried to port MIUI on mtk6577 ?

I'm tried... but with not success...
[Android Software Development] _polimorph_:
Has anyone succesfully ported MIUIv4 to Android 4.2 base? I'm doing this atm but after allot of debugging and smali diffing now I'm stuck in a bootloop at "mi" bootanimation (it passed the bootscreen) with no output from logcat. If I had any log I could debug the error, but without it it's imposible.

Anyone knows why there's no output from logcat?
[Android Software Development] knight84:
using MIUI v4 JB 4.12.7

Base CM10 HTC Explorer

using libandroid_runtime.so from MIUI

Done Smalling accordingly to Len's Flare

WindowManagerPolicy

i got this error.

http://pastebin.com/CjekciiN

Pls help
[Android Software Development] Ozadroid:
Y r u using libandroid_runtime from miui? Use ur cm10 libs
[Android Software Development] knight84:
according to proxuser which he wrote this method to use MIUI's libandroid_runtime.so.

well, im confused how this porting will work. they are so many guides like ayushrox, lens flare and others. different ppl give different guide.

Some just move the 4 folders. others have to use smali/ diff method.

when is necessary to use them ? im sure ICS and JB has different method.

i hope someone could clarify this. Am really used to MIUI :) its AWESOME..

any answer would be appreciated.

back to porting progress...

---------- Post added at 04:06 PM ---------- Previous post was at 03:51 PM ----------

Still getting the same error.

E/AndroidRuntime( 1065): at android.content.res.Resources.getText(Resources.java:248)

E/AndroidRuntime( 1065): at android.content.res.MiuiResources.getText(MiuiResources.java:53)

E/AndroidRuntime( 1065): at android.content.res.Resources.getString(Resources.java:332)

E/AndroidRuntime( 1065): at android.content.Context.getString(Context.java:292)

Full error detail at:

http://pastebin.com/zP7Gnakd
[Android Software Development] Ozadroid:
This is the guide i learnt porting from! and it is very good. but for better n detailed understanding use lens_flare's guide. and follow each step as it says!

btw what is the Miui base rom u took?
[Android Software Development] knight84:
yes actually i used Len's Flare guide.

you can reply to this post. Link

thanks. im having headache. pls advice wat to do. Im not noob and u can suggest me ways to fix. thanks

im using Passion build JB MIUI 2.12.7
[Android Software Development] soulhackereborn:
M using CM9 for my device that's Xperia Sola Mt27i as base and latest MIUI v 4 for Xperia S followed the the tutorial but stuck on MIUI boot screen!!!

Help please!!
[Android Software Development] JG:
:good:

BTW OP thanks for this guide! you rock!
[Android Software Development] yu358756554:
So useful.Thanks
[Android Software Development] rhlravi:
hello! thanks a lot for the guide. after porting on trying to boot its stuck at boot animation, logcat is here and also attached in the post

there is no error before "could not register natives" which seems to be stopping the phone from booting (using lg star phone). the audio errors also dont seem to be responsible since those are present on many of the phone's roms are those roms work properly.

base and port android versions are same and steps followed properly. trying to port from nexus s

help would be greatly appreciated. thank you
[Android Software Development] XeoNoX:
followed the instructions, and everything works but the camera, the camera worked on CM10 but it wont open for my MIUI port. Any ideas?
[Android Software Development] Ozadroid:
put the camera app from cm10.
[Android Software Development] xpresotw:
im gonna learn this one...
[Android Software Development] icu64:
the other thread

can someone please post the link to Len's Flare guide?
[Android Software Development] lozohcum:
What about boot.img file? Should I take it from base rom or MIUI's one?
[Android Software Development] digitalhigh:
You always want your base boot image...
[Android Software Development] pongnamu:
My ported MIUI does not boot. Please help!

Here is the logcat: http://pastebin.com/VQevBPa0

Thanks :)
[Android Software Development] [SP]JESTER:
I have the same problem, Porting to a Bionic. You got yours to work yet?
[Android Software Development] pongnamu:
No. Still not work... I will change my base ROM :)
[Android Software Development] neudof:
I am trying to do this for the Sprint Note 2. Can I use the Stock Deodexed Samsung TouchWiz (MA7) as the base rather than CM10.1?
[Android Software Development] erdal67:
Hey where di i find the updater script?

sent from my HTC Wildfire infected with MIUI v3
[Android Software Development] martin_carpio17:
I have a galaxy s advance with JELLY BEAN 4.1.2 ... this phone is like the little brother of the galaxy s2... in this

post says that you have to have android 4.0, it will work on my phone with jelly bean?
[Android Software Development] KINGbabasula:
R: [GUIDE] How to port MIUI v4 to your Device

I tried two times with different methods. The result: stuck on boot logo :(

Inviato dal mio GT-I9070 con Tapatalk 2
[Android Software Development] Bluezzy:
Go to you ROM's folder.Then go to META- INF>Com>Google>Android>Updater script :)

Help.I tried this on my Alcatel OT 990 and the phone boot normaly,but when i unlock screen,screen goes just black and nothing is happening,please :D
[Android Software Development] lozohcum:
My port Boots but I have instant "process.com.android.phone has stopped" error so I can't do nothing. Do you know how to fix it?
[Android Software Development] rajit:
stuck on mi logo. everything cheeked... now ??
[Android Software Development] radnou974:
What about framework ?
[Android Software Development] jacobmacek:
EDIT: Nevermind, I found out what I was doing wrong, it was a total noob mistake

---------- Post added at 12:52 AM ---------- Previous post was at 12:52 AM ----------

logcat it!

---------- Post added at 12:54 AM ---------- Previous post was at 12:52 AM ----------

META-INF/com/google/android/updater-script

---------- Post added at 12:57 AM ---------- Previous post was at 12:54 AM ----------

What I would do is delete phone.apk and telephony provider.apk from the rom then install again; this is just so you can try out the rom and check for bugs. The reason it is force closing is because the port is most likely from a different carrier. Try finding a similar phone on the same carrier that has a miui v4 rom. Once you have that, take telephony provider.apk, phone.apk and mms.apk and put it into your rom and try that. Tell me how that works for ya

---------- Post added at 12:58 AM ---------- Previous post was at 12:57 AM ----------

What I would do is delete phone.apk and telephony provider.apk from the rom then install again; this is just so you can try out the rom and check for bugs. The reason it is force closing is because the port is most likely from a different carrier. Try finding a similar phone on the same carrier that has a miui v4 rom. Once you have that, take telephony provider.apk, phone.apk and mms.apk and put it into your rom and try that. Tell me how that works for ya

---------- Post added at 01:03 AM ---------- Previous post was at 12:58 AM ----------

from personal experience, when you get

03:29:27.970 Info ServiceManager 1294 service 'media.audio_flinger' died
03:29:27.970 Info ServiceManager 1294 service 'media.player' died
03:29:27.970 Info ServiceManager 1294 service 'media.camera' died
03:29:27.970 Info ServiceManager 1294 service 'media.audio_policy' died

it means you're using the wrong android runtime lib :good:

---------- Post added at 01:08 AM ---------- Previous post was at 01:03 AM ----------

From my personal experience, when this happens,

I/ServiceManager( 92): service 'media.audio_flinger' died
I/ServiceManager( 92): service 'media.player' died
I/ServiceManager( 92): service 'media.camera' died

it usually means you are using the wrong libandroid_runtime.so

---------- Post added at 01:09 AM ---------- Previous post was at 01:08 AM ----------

From my personal experience, when this happens,

I/ServiceManager( 92): service 'media.audio_flinger' died
I/ServiceManager( 92): service 'media.player' died
I/ServiceManager( 92): service 'media.camera' died

it usually means you are using the wrong libandroid_runtime.so
[Android Software Development] WildfireDEV:
Thanks a lot for this. Used this to port a Rom to a friends device who wanted a kid feel to his android device.
[Android Software Development] LoLaTiOn:
Chinese lang with miuiandroid link and multi langue

You need replace miui-framework-res original to solve this fc produced on chinese lang only

Envoyé depuis mon GT-I9003 avec Tapatalk
[Android Software Development] lozohcum:
Do you mean that I have to replace framework-miui-res.apk with multilanguage framework-miui-res.apk ??
[Android Software Development] AngSanley:
no need to replace boot.img ? :/
[Android Software Development] sendhiloo7:
Similar model phone.

Hi Guys,

I Need one help.. I have Micromax A116 & i foung Ginoee Dream 1 also same same chipset & all spec similar . Only different is size 5" & 4.65.

i have attached two build.prop files... can you please check shall i flash the rom from ginoee without porthing..
[Android Software Development] Notorious:
Your missing shell libs. Open the MIUI ROM youre porting from and go to system/lib/ and take the all the libshell lib files and add them to your rom
[Android Software Development] shubhamchamaria:
Miui_frameworks.xml from /system/etc/
[Android Software Development] acocalypso:
thanks for the replay but i have already copied miui_framework.xml.

im using init.d script for now. i figured out a lot of isnt working. like browser.

07-17 12:11:19.899: E/AndroidRuntime(5257): FATAL EXCEPTION: main
07-17 12:11:19.899: E/AndroidRuntime(5257): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.browser/com.android.browser.BrowserActivity}: java.lang.ClassCastException: com.android.browser.ea cannot be cast to com.android.browser.cP
07-17 12:11:19.899: E/AndroidRuntime(5257):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2077)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2102)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at android.app.ActivityThread.access$600(ActivityThread.java:133)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1198)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at android.os.Handler.dispatchMessage(Handler.java:99)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at android.os.Looper.loop(Looper.java:137)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at android.app.ActivityThread.main(ActivityThread.java:4765)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at java.lang.reflect.Method.invokeNative(Native Method)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at java.lang.reflect.Method.invoke(Method.java:511)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at dalvik.system.NativeStart.main(Native Method)
07-17 12:11:19.899: E/AndroidRuntime(5257): Caused by: java.lang.ClassCastException: com.android.browser.ea cannot be cast to com.android.browser.cP
07-17 12:11:19.899: E/AndroidRuntime(5257):	at com.android.browser.MiuiNavigationBarPhone.a(MiuiNavigationBarPhone.java:173)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at com.android.browser.eB.e(TitleBar.java:87)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at com.android.browser.eB.<init>(TitleBar.java:78)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at com.android.browser.at.<init>(BaseUi.java:150)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at com.android.browser.ea.<init>(XLargeUi.java:60)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at com.android.browser.BrowserActivity.ah(BrowserActivity.java:107)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at com.android.browser.BrowserActivity.onCreate(BrowserActivity.java:88)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at android.app.Activity.performCreate(Activity.java:5024)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
07-17 12:11:19.899: E/AndroidRuntime(5257):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2041)
[Android Software Development] Slimegod:
Anyone face a download link for v4 do I can try to port?

---------- Post added at 05:19 PM ---------- Previous post was at 04:48 PM ----------

Also I'm trying to port MIUIv3.7.5 from at&t to sprint. It's different variant carriers do I need to do anything cause of that. I read on a different thread I had to but couldn't find the global.jar file I needed to change in between the ROMs.
[Android Software Development] Romiui:
After doing every thing as well i got error installing =(

xxxx.zip(bad)

what the problem ?

Can Any one help please ?
[Android Software Development] MasterAwesome:
There is this device called micromax a210 which is the same specifications of micromax a116 which has an unofficial miui rom...since everything is same other than the camera, what are the files i would have to replace...please explain in detail...
[Android Software Development] vita94:
I tried porting MIUI from a similar device (LG GT540) to my GP Keon. I got the following error:

--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
E/AKMD2 ( 124): restore calibration data failed.
E/DirectVolume( 107): Dv:partAdd: ignoring part_num = 4 (max: 3)
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/DirectVolume( 107): Invalid 'PARTN' value
E/AudioHardwareMSM76XXA( 120): failed to open AUTO_VOLUME_CONTROL /system/etc/AutoVolumeControl.txt
: No such file or directory (2)
E/QualcommCamera( 120): Qint android::get_number_of_cameras(): E
E/ ( 120): Error Loading libmpqstobinder
E/ ( 120): Error: Cannot load library: load_library[1091]: Library 'libmpqstobinder.so' not
found
E/GestureDeviceService( 120): Could not load gesture HAL module
E/JNIHelp ( 118): Native registration unable to find class 'android/util/jTestFramework', aborting
F/libc ( 118): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

I really don't know what should I change I get that there is a problem with 'android/util/jTestFramework'. I need to add it somewhere but I don't know where.

Thanks in advance!
[Android Software Development] vita94:
I managed to fix that error decompiled the framework.jar file of the original rom that works and added the jTestFramework to the new framework.jar that is used in MIUI, some other files showed that were generating fatal error (android/graphics/SurfaceTexture, android/view/GLES20Canvas) and I replaced those with original ones but now I also get

--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
E/AKMD2 ( 122): restore calibration data failed.
E/DirectVolume( 109): Dv:partAdd: ignoring part_num = 4 (max: 3)
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/DirectVolume( 109): Invalid 'PARTN' value
E/AudioHardwareMSM76XXA( 118): failed to open AUTO_VOLUME_CONTROL /system/etc/AutoVolumeControl.txt
: No such file or directory (2)
E/QualcommCamera( 118): Qint android::get_number_of_cameras(): E
E/ ( 118): Error Loading libmpqstobinder
E/ ( 118): Error: Cannot load library: load_library[1091]: Library 'libmpqstobinder.so' not
found
E/GestureDeviceService( 118): Could not load gesture HAL module
F/libc ( 116): Fatal signal 11 (SIGSEGV) at 0x0000002c (code=1)

116 matches the errors that I had previously with SurfaceTexture and GLES20Canvas, but they are not showing, also the 0x0000002c is not the same. What is now causing the problem? I'm new to this so sorry if the error is obvious.

Thanks in advance!
[Android Software Development] AndroGeek974:
Hi ! Someone know if it is working with MIUIv6 too ? I try to port it to my device but I stuck on the bootanimation
[Android Software Development] xperia_bird:
Can I port MIUI v4 to a xperia e ??

using the stock JB or a cm10 rom, will it work with the method you describe :confused:
[Android Software Development] wbchristmas:
Would this work for Galaxy Note 3?
[Android Software Development] Notorious:
No this is very old and only for 4.1 and 4.0 jellybean roms
[Android Software Development] dic1911:
I thought 4.0 means ICS ;)

Sorry for my bad English...
[Android Software Development] mstdzw:
Is there a way to bootup android port from device witch diffrent screen dpi?

I try to port from Redmi's 1280x720 > lenovo a830 540x960
[Android Software Development] Notorious:
Yes my mistake
[Android Software Development] the_Victorian:
I get stuck at the Miui logo. any ideas?
[Android Software Development] _polimorph_:
Logcat
[Android Software Development] the_Victorian:
Adb wouldn't detect it for some reason
[Android Software Development] _polimorph_:
Sucks... You have to find that reason. No logcat, no progress.
[Android Software Development] the_Victorian:
I know.. Im porting from the nexus s to the Samsung galaxy victory (essentially a repackaged s3 mini) and we don't have fully working CyanogenMod yet, so its an issue...
[Android Software Development] akkufix:
Just saw this...

As a hint or idea. S3 mini has STE-NovaThor chip. Maybe you can take Omnirom as a base? This is "near" AOSP.
[Android Software Development] ashok225123:
ashok

Sir I want dual sim support but cm aosp are only single sim working pls help me
[Android Software Development] NeoLogY:
Look in galaxy grand duos thread, some Dev had made a patch for dual sim. Not sure it's [MENTION=3117667]pawitp[/MENTION] or [MENTION=4924398]RVR[/MENTION], see if its usable for your port.

---------- Post added at 09:49 PM ---------- Previous post was at 09:49 PM ----------

Look in galaxy grand duos thread, some Dev had made a patch for dual sim. Not sure it's [MENTION=3117667]pawitp[/MENTION] or [MENTION=4924398]RVR[/MENTION], see if its usable for your port.
[Android Software Development] ZduneX25:
@Raadius use nexus s as base then make two builds:

1) with libandroid-runtime.so from nexus's miui

2) with libandroid-runtime.so from evo's cm9

you said you took file from cm7 - it will never work, miuiv4 will work out on cm9 or aosp ics only
[Android Software Development] Raadius:
Ok, will report back in a few.

Evo 4G doesn't have a CM9 build, only CM7.

EDIT: I have been using Evo 4G AOSP ICS roms btw as a base, should I use a Nexus S base instead on my Evo? Should I use the Nexus S 4G (or Nexus S) libandroid-runtime.so from MIUI v4 or from a base rom?
[Android Software Development] cowsquad:
I think you should use libandroid_runtime.so from your rom base and paste it in miui v4. If you are using a boot.img from a rom base your files should match up. Just an opinion. I veen trying to port a rom too, with no success. I can't get it pass the boot logo.
[Android Software Development] ZduneX25:
From miuiv4 to base, not revert, did you read the OP?

___________

Sent form awesome Neo V
[Android Software Development] Anon9mouz:
Ok I'm trying to port miuiv4 to the nook tablet and im using a base from the nook color and base cm7.2 base for the nook tablet? Now what kinda of setup are u using to do all of this and can I just use windows without using ubuntu??

___________________________________________________
[Android Software Development] cowsquad:
You must have ubuntu, mint or you can install virtual machine on windows