Porting Guides?


Jan 13, 2012
10
0
11
#1
Could someone put up a skeleton of a porting guide so we could try to port MIUI to our devices which might not be having MIUI ports? Would be wonderful to have rough guidelines. Or even complete ones ;)
 
May 16, 2011
116
11
30
#7
No it's not libandroid_runtime.so. If i keep that file from my base, the phone stucks at bootloop. But if i copy that file from MIUI ICS, the phone doesn't even come to bootanimation.
 

MarkHUK

Founder of Xiaomi.eu
Staff member
Nov 6, 2010
5,006
3,045
1,000,000
#8
No it's not libandroid_runtime.so. If i keep that file from my base, the phone stucks at bootloop. But if i copy that file from MIUI ICS, the phone doesn't even come to bootanimation.
there's a library / permissions issue from looking it over.
 

MarkHUK

Founder of Xiaomi.eu
Staff member
Nov 6, 2010
5,006
3,045
1,000,000
#13
Still no luck. Any Help???
You could go to mi-code.net and download the PatchROM guide, its still in Chinese but you can translate it loosely with google translate.

I am working on an English guide at the moment but there is a A LOT to write and i dont get a lot of spare time to look at it.

Thanks,

Mark
 
May 16, 2011
116
11
30
#14
You could go to mi-code.net and download the PatchROM guide, its still in Chinese but you can translate it loosely with google translate.

I am working on an English guide at the moment but there is a A LOT to write and i dont get a lot of spare time to look at it.

Thanks,

Mark
Can you send me that file in chinese, or give me a link? I will try to translate.
 

MarkHUK

Founder of Xiaomi.eu
Staff member
Nov 6, 2010
5,006
3,045
1,000,000
#17
Reminds me - im on chapter 3 since like 4 days, must do some more work on it... its a massive document :)
 
Feb 29, 2012
7
0
11
#22
Looking at the guide, one thing I notice is the android-runtime.so don't replace this. You won't get a boot.

Sent from my GT-I9100 using Tapatalk
 
May 16, 2011
116
11
30
#23
OK. I managed to boot 2.3.9 and have few issues. Superuser doesn't work. I added liblbesec.so, libloader.so, libnativecache.so, libservice.so and add 0755 permissions. Is anything else needed in that version?
 

MarkHUK

Founder of Xiaomi.eu
Staff member
Nov 6, 2010
5,006
3,045
1,000,000
#24
OK. I managed to boot 2.3.9 and have few issues. Superuser doesn't work. I added liblbesec.so, libloader.so, libnativecache.so, libservice.so and add 0755 permissions. Is anything else needed in that version?
Try the standard Superuser.apk and see if that is working first of all.
 
Feb 29, 2012
7
0
11
#25
OK. I managed to boot 2.3.9 and have few issues. Superuser doesn't work. I added liblbesec.so, libloader.so, libnativecache.so, libservice.so and add 0755 permissions. Is anything else needed in that version?
What do you mean by not working? Is it force closing when requesting? If so go into permissions and go to apps then choose the app and give root permission that way. It should work then.

Sent from my GT-I9100 using Tapatalk