Porting Guides?


NeoMustain

Members
Jan 13, 2012
10
11
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 ;)
 

marcusant

Members
Mar 4, 2012
6
11
Do that with your device's files instead of epic.

Sent from my SPH-D700 using Tapatalk
 

iBotPeaches

Script Gatekeeper
Oct 31, 2011
3,807
335
Nice little guide. Actually helped me out with some things as well regarding CDMA and GSM.

Thanks
 

dekkyy

Members
May 16, 2011
116
30
Can anyone help me with this logcat? Never had any problem before, only now with 2.3.9.
 

Attachments

  • logcat.txt
    67.5 KB · Views: 268

MarkHUK

Founder/Server Admin xiaomi.eu
Staff member
Nov 6, 2010
5,248
1,000,000
libandroid_runtime.so appears to be something to look at.. at first glance anyway!
 

dekkyy

Members
May 16, 2011
116
30
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/Server Admin xiaomi.eu
Staff member
Nov 6, 2010
5,248
1,000,000
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/Server Admin xiaomi.eu
Staff member
Nov 6, 2010
5,248
1,000,000
Wich one?
That's the question.... not sure at first glance but it looks like an issue with the loading of the libs or the wrong libs being found? Don't know how much that helps
 

MarkHUK

Founder/Server Admin xiaomi.eu
Staff member
Nov 6, 2010
5,248
1,000,000
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
 

dekkyy

Members
May 16, 2011
116
30
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/Server Admin xiaomi.eu
Staff member
Nov 6, 2010
5,248
1,000,000
Reminds me - im on chapter 3 since like 4 days, must do some more work on it... its a massive document :)
 

MarkHUK

Founder/Server Admin xiaomi.eu
Staff member
Nov 6, 2010
5,248
1,000,000
What edits needs to be done?
off hand i dont know, i dont know your device and dont have it to test anything here which makes it hard. You'd need to ask other porters for your device.
 

jusada

Members
Feb 29, 2012
7
11
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
 

dekkyy

Members
May 16, 2011
116
30
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/Server Admin xiaomi.eu
Staff member
Nov 6, 2010
5,248
1,000,000
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.
 

jusada

Members
Feb 29, 2012
7
11
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