yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Rosemberg91:
thanks for your guide, work with tablet this guide???
[Android Software Development] fehery:
Thx a lot,good work,please help me galaxy3.
[Android Software Development] rohith_luffy:
any tips for motorola defy users (suggested rom base)..wajk is developing on a miuiv4 rom already .. but i thought i could give this method a try .

thanks :)
[Android Software Development] antaine:
Does it work on ARMV6 CPU like in Galaxy 3 ??
[Android Software Development] Dhiraj:
Is it possible to port miui tho HTC explore ?

HTC Sense 3.5,Android 2.3.5
[Android Software Development] Mr.Oug:
Same question here. But we have a cm9 rom all we need is miui but it I'd a arm6 device with ldpi screen
[Android Software Development] come at me bro:
We dont have a ice sandwich Rom on the vivid/hoilday would it be possible to port One this way
[Android Software Development] proxuser:
I can't say anything about ldpi and mdpi devices. Miui is designed for hdpi devices. This guide is for hdpi devices only..

Some guys got it working on Mdpi devices with resizing but i don't know how's.

I don't think. You need special kernel for that like cm9 .
[Android Software Development] antaine:
Are you saying that it should work on ARMV6 and ARMV7 ldpi mdpi (with resized framework and apps) and hdpi?
[Android Software Development] come at me bro:
This sucks, I never seen a beast of a phone with no development, I shoulda went with the gs2 or the 4s
[Android Software Development] co2gaz:
I didn't find liblbesec.so in SGS II's MIUI 4. It's normal?
[Android Software Development] sparkyman216:
its libibesec.so
[Android Software Development] turbocheke:
thanks a lot, great!
[Android Software Development] Shermanballz:
I've never even considered porting a rom, but I followed the instructions and it worked!

Only glitch: it thinks my slide out keyboard is out when it's in, and vice versa. Oh well. Thanks!
[Android Software Development] tilal6991:
Brilliant guide! Managed to port MIUI to my ZTE Skate - an arm6 device using this!
[Android Software Development] m4rk84:
"copy invoke-as from miui4 rom to /system/xbin and give it permissions on updater-script

set_perm(0, 0, 06755, "/system/xbin/invoke-as")"

I'm really green when it comes to this stuff...just wondering how i'd go about giving it the permissions as above...? thanks
[Android Software Development] brainmaster:
Its for advanced users, you should better leave it before you do something wrong and write here in the thread that you fried your Phone.

No offense.
[Android Software Development] haydnlj:
Any idea if this should work on CAF ICS roms? Took a quick attempt without success, libdvm.so was failing in a bootloop - needed phone so didn't investigate much further.
[Android Software Development] ldiomedi:
using this tuto, I could port v4 to the defy. For some reason, eppsylon's rom don't work by this way. I try different v4 roms with the same result: bootloop. That's why me and the most of people who port v4 to defy used quarx's build from 8/3, his last build, very stable, for froyo kernel. Whit that for sure u will boot. But there's other problem: with the latest v4(2.3.30 and 2.4.6) i can't get mobile data work, and w can't find a solution for that yet.

Enviado desde mi MB525 usando Tapatalk
[Android Software Development] 9Lukas5:
I get the same error lines as you trying to port the new 2.4.6 miui v4 to x10. I think it's something with 4.0.4. My base rom is 4.0.4, too, but if I port it using a 4.0.3 rom, it works for me.

L
[Android Software Development] algarues:
I followed the instructions but what I get is

finding update package....

opening update package....

installing update...

installation aborted

I am using CM9 for milestone 2 as a basis to install on milestone 2

I also tried to use MIUI for milestone 2 as a basis, but with the same result
[Android Software Development] cowsquad:
I got cm9 droid to boot up with miuiv4 for the droid 2. One thing that you guys must do first is. First copy framework, media and apps folder from miuiv4 to your base, then try to see if it boots up like that. Then go from there. Second, make sure that apps and media won't take a lot of space on system. If you boot loop, get recovery log from /cache/recovery/log and check if everything installed properly. Then continue with the rest of the files.
[Android Software Development] cowsquad:
I've seen that the OP doesn't explaing things very well, for example he stated that you should copy android_runtime.so or you room won't boot up. But I found it confusing. First try to boot up your port using your base. Copy files from your port (miui-4) and delete those same files in your base. Porting is a long process. Trial and fail :)
[Android Software Development] algarues:
ok thanks

I will give it a second try
[Android Software Development] cowsquad:
Lets know how it goes:eek:
[Android Software Development] ZduneX25:
I think that each new miuiv4 brings more changes and one day it won't work, am using patchrom and beyond files mentioned by @proxuser there is also some more changes like several smali files inside: android.policy.jar, framework.jar, services.jar..

So this might be the reason that some of you cannot get it working. For me this guide was working with miui 2.3.9, 2.3.16 and stopped to work after 2.3.23 that is why I switched to patchrom.
[Android Software Development] proxuser:
sometimes you need use original libandroid_runtime.so libary. same happens me often.
[Android Software Development] ZduneX25:
I tried both the other day:

file from miui - stuck on kernel bootlogo

file from base - stuck on bootanimation

___________

Sent form awesome Neo V
[Android Software Development] rukin5197:
Yeah its because of cm9 being 4.0.4 and miui being 4.0.3 I believe
[Android Software Development] rukin5197:
Can you please tell me how to use patchrom? I'm still trying to find out. Can you pm me with some details? I'm not so familiar with that kind of building. I've built cm7 and cm9, aokp and cna. But this is just different
[Android Software Development] neroyoung:
MIUIv4 2.4.6 is Based on ICS 4.0.4
[Android Software Development] ZduneX25:
Where have you found that info?

It depends from base.

___________

Sent form awesome Neo V
[Android Software Development] neroyoung:
From Miuiandroid community i have downloaded MIUI 2.4.6 for NS which is based on ICS 4.0.4.

I have seen it in build.prop file

I am trying to port it to my Xperia Mini Pro by using Base of CM9 FXP 115 ICS 4.0.4

BUT I am stucking in bootanimation.No matter whether is use libandroid_runtime.so from MIUI or from CM9

If i use it from MIUI then ROM won't show bootanimation

If i use it from CM9 then i can see bootanimation but stuck there ...can't pass boot animation...
[Android Software Development] ZduneX25:
That makes sense since official China miui is still 4.0.3 I also tried with fxp 115 same situation :p

___________

Sent form awesome Neo V
[Android Software Development] thetrisatria:
try to build 2.4.6 with CM9 FXP113.

it works for me, with libandroidruntime from miui.

with newer FXP, i have no luck :'(

Nexus S 2.4.6 has Android 4.0.4 + CM9 FXP113 has Android 4.0.3 = works!
[Android Software Development] neroyoung:
can you PLEASEEEEEEEEEEEEEEEEEEEE tell me exact steps that you did to port ROM?

I always stuck in bootanimation :(
[Android Software Development] ZduneX25:
@thetrisatria it's true it works with fxp 113, but fxp 115 is a way better (faster more smooth) on neov

btw: does anybody know if miuiandroid.com has open source on github?
[Android Software Development] gandhar:
okay, can the reverse work? my phone (wt19i) has a working MIUI rom but cm9 does not support one of the speakers, any idea how i could get it working?
[Android Software Development] algarues:
ok, but let's make a point clear

what happens to me is that cwm refuses to unzip the patched update

so, does that mean that I should re-sign the zip?

because that happens also if I disable signature verification and script assertion

is there maybe any special permissions that I should check in one of the files inside the update.zip?

Could you please briefly described how you went about for yours?

thanks a lot
[Android Software Development] Chriss1983:
In my first try was the ROM in the boot animation hang :-(

I've done exactly as described, but now hangs in my remains DHD screen splash and does not start ..

Base ROM: Icecoldsandwitch 7.1

MIUI Base: MIUI Germany Sensation MIUI V4 GER/EN
[Android Software Development] jspina:
I believe that it would be best to find a different miui rom. the one that you are using (all sensation miui roms) have a bit of sense in it. Which makes it not boot for your phone.

I tried the same thing with a sensation miui rom and it was a no go(desire z).
[Android Software Development] jbbandos:
Well,

I have a different hang at boot. I've used Evervolv's Texasice for the N1 as the base, and MIUI.com Nexus S 2.4.6 for the framework+apps. Now I only get the following in logcat:

- waiting for device -
--------- beginning of /dev/log/main
I/ev ( 78): Welcome to Android 4.0.4 /
I/ev ( 79): Attempting to boot Evervolv AOSP ICS ROM.
I/ev ( 80): Please visit www.evervolv.com for updates.
I/ev ( 81): Also follow @preludedrew on twitter for latest n greatest.
I/ev ( 82): __________ ______
I/ev ( 83): ___ ____/__ ________________ __________ /__ __
I/ev ( 84): __ __/ __ | / / _ \_ ___/_ | / / __ \_ /__ | / /
I/ev ( 85): _ /___ __ |/ // __/ / __ |/ // /_/ / / __ |/ /
I/ev ( 86): /_____/ _____/ \___//_/ _____/ \____//_/ _____/
I/ev ( 87):
I/run-parts( 73): vm.swappiness = 20
I/run-parts( 73): vm.min_free_kbytes = 8192
I/run-parts( 73): vm.dirty_ratio = 60
I/run-parts( 73): vm.dirty_background_ratio = 20
I/run-parts( 73): vm.vfs_cache_pressure = 40
I/mountext( 96): Checking /dev/block/mmcblk0p2 for errors...
I/run-parts( 73): /dev/block/mmcblk0p2: clean, 11/98496 files, 14389/393216 blocks
I/mountext( 104): /sd-ext successfully mounted
I/apps2sd ( 108): A2SD flag not set...nothing to do.
I/apps2sd ( 109): DC2SD flag not set...nothing to do
I/apps2sd ( 110): XDATA flag not set...nothing to do
D/AK8973 ( 128): AK8973 daemon 1.2.3 Start
D/AK8973 ( 128): (Library version : 1.2.1.620)
I/DEBUG ( 119): debuggerd: Apr 2 2012 01:24:33
I/Netd ( 118): Netd 1.0 starting
--------- beginning of /dev/log/system
I/Vold ( 117): Vold 2.1 (the revenge) firing up
D/Vold ( 117): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 117): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 117): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
D/DirectVolume( 117): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
D/Vold ( 117): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/ ( 123): ServiceManager: 0x48a910
I/Netd ( 169): Netd 1.0 starting
I/Netd ( 191): Netd 1.0 starting
I/Netd ( 213): Netd 1.0 starting
I/Netd ( 235): Netd 1.0 starting

And it keeps starting Netd forever, without anything else. Any idea on what is wrong here?
[Android Software Development] jspina:
I am probably wrong but you could try copying over the file libhardwarelegacy.so from system/lib from either rom.

EDIT: now that I think about it... that should fix your bootloop without any problem.
[Android Software Development] lwxddlqkillapp:
I try to port on my xt720 But it bootlap in sencond boot why?

based ics XT720 and port rom IS NEX ONE
[Android Software Development] c2t2l4n:
If i have Xperia X8 from what pphone i need miui ? from htc?
[Android Software Development] ablivian:
I have made my first miui v4 port from htc desire-s to hts desire-z.

I have a bootloop.

I have used 2 ics roms from the desire-z.

The bootloop stays.

First I've replaced libandroid_runtime.so => hang at splashscreen

When I didn't replace libandroid_runtime.so => bootloop

What I have done in my last version:

-replaced system/app and system/framework.

-replaced etc/telocation.db and etc/yellowpage.db

-replaced lib/content-types.properties

-replaced media

-didn't replace invoke-as and liblbesec.so, because I don't know how to change the rights on windows. Is this necessary?

-used the original build.prop

I don't know how to get te bootlog.

I've tried with ADB. i can do "adb remount" when booting, but, when I try "adb shell" to get on my phone. I receive an errors:

Is There somebody who can help me?
[Android Software Development] ldiomedi:
You must put those files, invoke-as and liblesec.so and you don't have to change permissions on windows. For that, there's a file in META-INF/com/google/android/ named updater-script. Add the two "set_perm" lines from the guide at bottom of that script. There android will give permissions for those files.
[Android Software Development] jspina:
Are you trying to port with audacity and cm9 as your base? Those have the same result for everyone working on this. :(
[Android Software Development] ablivian:
yes. i did. There was someone who did the desire-s port. But he doesn't do this every week. And I want to do this every week for the last updates:)
[Android Software Development] HuskyHamburger:
Sorry for the noob question, but how do I change the permissions in updater-script?
[Android Software Development] ldiomedi:
I answered that few post ago.
[Android Software Development] cowsquad:
To all here:

OP states to copy liblcec.so and invoke_as and set permissions. I have found out that by setting permission on the updater-script, my phone wouldn even boot. But if I don't even do that, my phone boots up just fine. Also, first boot takes like 4 to 5 min to boot up. Another thing is to check if your /system/apps, media and framework have enough space in system; otherwise, your phone won't boot up. Do that by getting /cache/recovery/log in the first boot, right after you are done installing your zip file.
[Android Software Development] ldiomedi:
As i see, not all devices shows the same behavior. In my defy, set permissions on updater-script works. I Don't try without setting those permissions.
[Android Software Development] baji240588:
i have same problem like yours

somebody help please or maybe the master of porting :) suhu proxuser .

my device is desire s

and sorry i want to learn about it.

note : i use miui4 miui.us for nexus s
[Android Software Development] medicjunKie:
Can this be used to port MIUI to the LG myTouch?
[Android Software Development] dba.rknair@gmail.com:
Anyone succesfully able to port for LG Optimus 3D\Thrill 4G??
[Android Software Development] rmcsc:
Hmmm... this + Xoom?
[Android Software Development] lwxddlqkillapp:
need help
[Android Software Development] v1r0x:
At first: thanks proxuser for this guide :)

But I can't get it work :(

I've tried many different combinations.

virtuous quattro + miui-au desire/miui-au desire s/GNEX/Sensation/Galaxy/SGSII

and

audacity + miui-au desire s/desire HD port/GNEX

The only version which booted up was the virtuous + GNEX. But I got no service, wifi and umts, etc.

ajhavery who ported ICS for the Desire Z told me to use audacity instead of virtuous.

With audacity not even the GNEX worked :(

Most of the time I stuck at the "htc" logo.

My last try was audacity + DHD + libandroid_runtime.so from audacity. This got stuck at the bootanimation

Here a part of the logcat (after a few seconds about 10k lines)

I/DEBUG ( 1205): stack:
I/DEBUG ( 1205): bee119e8 40192d99 /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee119ec 40186707 /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee119f0 401a6be8 /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee119f4 98c06c97
I/DEBUG ( 1205): bee119f8 40047720 /system/lib/libc.so
I/DEBUG ( 1205): bee119fc 400476b0 /system/lib/libc.so
I/DEBUG ( 1205): bee11a00 00000000
I/DEBUG ( 1205): bee11a04 4001f299 /system/lib/libc.so
I/DEBUG ( 1205): bee11a08 00000000
I/DEBUG ( 1205): bee11a0c bee11a3c [stack]
I/DEBUG ( 1205): bee11a10 408749e9 /system/lib/libdvm.so
I/DEBUG ( 1205): bee11a14 00000044
I/DEBUG ( 1205): bee11a18 401a6af8 /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee11a1c 4001e405 /system/lib/libc.so
I/DEBUG ( 1205): bee11a20 df0027ad
I/DEBUG ( 1205): bee11a24 00000000
I/DEBUG ( 1205): #00 bee11a28 1d2000c5
I/DEBUG ( 1205): bee11a2c 98c06c97
I/DEBUG ( 1205): bee11a30 401924e5 /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee11a34 0000f2e0 [heap]
I/DEBUG ( 1205): bee11a38 401924e5 /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee11a3c fffffbdf
I/DEBUG ( 1205): bee11a40 00000044
I/DEBUG ( 1205): bee11a44 0000f2e0 [heap]
I/DEBUG ( 1205): bee11a48 401924e5 /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee11a4c 401ca285 /system/lib/libnativehelper.so
I/DEBUG ( 1205): #01 bee11a50 0000f2e0 [heap]
I/DEBUG ( 1205): bee11a54 1d2000c5
I/DEBUG ( 1205): bee11a58 0000f2e0 [heap]
I/DEBUG ( 1205): bee11a5c 401a8e00 /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee11a60 401866d4 /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee11a64 401a8dec /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee11a68 4018b446 /system/lib/libandroid_runtime.so
I/DEBUG ( 1205): bee11a6c 4014960b /system/lib/libandroid_runtime.so
I/ServiceManager( 1202): service 'media.audio_flinger' died
I/ServiceManager( 1202): service 'media.audio_policy' died
I/ServiceManager( 1202): service 'media.player' died
I/ServiceManager( 1202): service 'media.camera' died
[Android Software Development] dhk.-:
I'm trying to port miui v4 from optimus one to the optimus one... from an old base rom to a new base rom but i get bootloop... when I'm copying files to the nee base rom i saw that the miui rom have not the lib that prevent of boot loop but the new base rom have it... so i don't delete it... can someone help me?

Enviado desde mi E15i usando Tapatalk
[Android Software Development] cowsquad:
Which lib files?
[Android Software Development] chillje:
Hi im trying to port a defy rom (quarx2k ics froyo rom) to my milestone 2.

My Base is the newest ICS tezet ROM (froyo).

After flashing i loop on

I/Netd ( 2437): Netd 1.0 starting
E/Netd ( 2437): Unable to bind netlink socket: No such file or directory
E/Netd ( 2437): Unable to open quota2 logging socket
D/AndroidRuntime( 2439):
D/AndroidRuntime( 2439): >>>>>> AndroidRuntime START com.android.internal.os.Zyg
oteInit <<<<<<
D/AndroidRuntime( 2439): CheckJNI is OFF
D/dalvikvm( 2439): DexOpt: incorrect opt magic number (0xff ff ff ff)
I/SurfaceFlinger( 2438): SurfaceFlinger is starting
D/dalvikvm( 2439): ODEX file is stale or bad; removing and retrying (/data/dalvi
k-cache/system@framework@core.jar@classes.dex)
I/SurfaceFlinger( 2438): SurfaceFlinger's main thread ready to run. Initializing
graphics H/W...
E/FramebufferNativeWindow( 2438): couldn't open framebuffer HAL (No such device)

E/SurfaceFlinger( 2438): Display subsystem failed to initialize. check logs. exi
ting...

After changing the kernel to the last cm7-defy-port from endless for milestone2 i loop on

I/Netd ( 2467): Netd 1.0 starting
E/Netd ( 2467): Unable to bind netlink socket: No such file or directory
E/Netd ( 2467): Unable to open quota2 logging socket

I have tried to change the "libandroid_runtime.so" but no better result :(

any ideas?

thx in advance :)
[Android Software Development] dhk.-:
Libandroid_runtime.so

Enviado desde mi E15i usando Tapatalk
[Android Software Development] ldiomedi:
I don't understand. u are trying to port ics from quarx (cm9) over other ics? The base rom must be ics and recommended from your device, but the other must b be v4 and could be from other devices.
[Android Software Development] spyder-corrado:
Hello,

I'd like to wear a Rom MIUI ARC S (LT18i) on an Xperia Ray (ST18i).

The base is the same except for the higher frequency processor Arc S.

What should I modify it to fit the MIUI ARC S Ray on my xperia?

Thanks!!

:):)
[Android Software Development] ZduneX25:
Sensors, camera libs and edit build.prop and of course use ics beta kernel for ray.

___________

Sent form awesome Neo V
[Android Software Development] dekkyy:
Wrong libandroid_runtime.so. use the one from your ics base.
[Android Software Development] Jmaserang:
I used this method for the motorola photon and it worked great would it work for the epic touch ?
[Android Software Development] ronak.super:
Ported for galaxy tab , IT BOOTS UP...but keyboard is not showing[doesnt popup] tried all the keyboard available on market

can anyone help with keyboard issue AND the apps like miui music, miui home and miui apps are not installing

port from galaxy nexus to galaxy tab both hdpi

also phone crashes any guide
[Android Software Development] e0mandaniel:
so i get this msg when i try to flash

E:Can't open /sdcard/______.zip

(bad)

installation aborted.

and if i have infuse i can port from captivate right?
[Android Software Development] MДЯCЦSДИT:
You need to change phonewindowmanager.smali in android.policy.jar and also need /etc/permissions from MIUI
[Android Software Development] ZduneX25:
Remove 3 files from meta-inf and sign whole zip again.

___________

Sent form awesome Neo V
[Android Software Development] wali01x:
hi according to this guide im trying to use cm9 4.0.4 version i727 and using t989 miui port. problem im running into it is either with libandroid_runtime.so from base = bootanimation bootloop and from miui v4 = kernel stuck @ samsung logo ..need some help from someone please & thank you...
[Android Software Development] Lens_flare:
damnit :[

E/dalvikvm( 100): ERROR: couldn't find native method
E/dalvikvm( 100): Requested: Landroid/view/GLES20Canvas;.nStartTileRendering:(IIIII)V
E/JNIHelp ( 100): RegisterNatives failed for 'android/view/GLES20Canvas', aborting
F/libc ( 100): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

Porting from Nexus S to Liquid Mt (let's say, near the same as desire z)

guided with OP, but no sucess..

could somebody help to overcome it?

android_runtime is from base rom, base rom is CM9 for mine device.

//sry for posts: 1, actually modaco user :p

ADD:

nevermind, got it passed. For those who have the same problem you have to modify framewrok.jar to replace requested smali-s

for example, for issue above, replace GLES20Canvas*.smali on android/view with those in your base' framework.jar
[Android Software Development] lwxddlqkillapp:
I have port it and work.but com.android.systemui have stoped working? how to sovle it
[Android Software Development] :
Anyone an idea here?

I've tried to port it for WFS using the latest CM9 built which is almost fully working.

Followed instructions and used sources from MiCode on github.

Logcat attachted

Edit what a noob question: I guess it's same error as above :)

Easy to fix :D (Damn just restored nandroid)
[Android Software Development] Lens_flare:
status bar

after all that operations with framework just status bar issue remains.. seems is about native frameworks.. hope topic starter will help us, coz I doubt he haven't any issue with rom first time :P

btw, seems nexus s is the only way for me, others have unbelieveably ****ty issues (even desire s/z/hd).
[Android Software Development] e0mandaniel:
ok.. so i was able to boot the rom after 7 times of trials.

well now the problem is that.. theres touchscreen problem

it sometimes responds..but it doesn't respond most of the time

is there anyway to fix this problem?

btw im on infuse
[Android Software Development] nasty007:
i followed tutorial but i cannot get it to boot, with port libandroid_runtime.so i dont get bootanimation, just black screen, and with base libandroid_runtime.so bootanimation is bootlooping.

im trying to port on Droid 3