[Discontinued]Miui port

Search This thread

popdog123

Retired Recognized Developer
Dec 25, 2010
437
3,242
Hello!

Ok so this is an attempt to port MIUI to LGP500. We are trying this because porting on the Galaxy 3 (LDPI armv6) was a success and i'm sure it will work on our device too.

This is what we're using so far: MIUI for Desire & Overflow ROM

So far this has been done:
  • ADB now working
  • Merged framework.jar from base rom with MIUI one
  • Replaced all apks with miui except LatinIME.apk which seems to give an error on boot
  • Use libs, bin and xbin from base rom
  • Merged permissions



[Update 9.07.2011 - 17:48 GMT+3 DST]
  • Now using framework from CM7
  • Libs, and bins from CM7
  • Boot.img still from Overflow (CM7 Boot.img stops adb on boot after a while - so using Overflow for developing for now)
  • Replaced many smali files in framework but errors keep popping up - I think framework is pretty screwed up now and must be redone (again)
  • No more nasty error on boot (with stack dump and stuff...)
  • No need for logcat now because errors come from framework

[Update 11.07.2011 - 15:32 GMT+3 DST]
  • MIUI boots up and we have graphics BUT
  • It only boots up to some error dialogs that say some processes force closed with "Close" and "Report to MIUI"
  • Gapps, Provision, and StatusBar force close so they need work
  • Removed ContactsProvider.apk and CalendarProvider.apk

[Update 14.07.2011 - 10:58 GMT+3 DST]
  • Fixed framework.jar - no more errors seem to come from it
  • New zip not made on mac so no low memory errors
  • New problem that might fix the apps: All apps look for their classes.dex in /cache/dalvik-cache but only system classes are there. The app classes are created in /data/cache/dalvik-cache
  • All apps are back because the errors don't come from them

[Update 28.07.2011 - 18:53 GMT+3 DST]
  • Added dalvik-cache to /cache script
  • New zip with init.d script and updated framework
  • Need to fix dead code in framework
  • Need new kernel
  • Need MDPI apks
  • Need libs that don't make the apks crash

Latest flashable zip:
http://www.multiupload.com/VNM8QTDBZ3 [Updated 28.07.2011] Thank you 4silvertooth

(DOES NOT BOOT! DON'T FLASH IF YOU DON'T KNOW WHAT YOU'RE DOING!) Sorry... i had to put this in big red letters because apparently people didn't see it well...



If you would like to help go ahead. Download the rom or make your own one if you don't like our development and give input. But most of all don't try to bring us down with "this can't be done" stuff. It can be done and it was done for another armv6 device. We need to get apps and framework to work and rom to boot. Libs and bins will come after...

This being said i would like to thank these people for their work so far and for making me get off my ass and do something useful:
4silvertooth
jazux
DJoptimus-One
Also i would like to thank overflow for his rom. It's the base for our miui so far.
 
Last edited:

SlashSpeed

Senior Member
Mar 24, 2009
261
44
Fantastic news! I can't wait too see how this works out. Good luck, you're gonna need it! :)
 

jazux

Retired Recognized Developer
Dec 23, 2010
1,316
285
helsinki
looks good :) ill be happy to help, just ask ;) for now im looking the motorola dump... maybe theres something that will help my team on galaxy 3 :p but anyway i subscribed tol this thread :cool:

EDIT: damn that motorola dump is useful, already found many, many tweaks :) thanks a million times for 4silvertooth :)
 
Last edited:

popdog123

Retired Recognized Developer
Dec 25, 2010
437
3,242
good point... also do you know a way to upload the files like in a git source (only the ones that changed) because multiuplad is painfully slow for me...
 

4silvertooth

Senior Member
Mar 23, 2011
1,422
137
Android Hell
About the log.
The error so.lcddensity(something) is in build.prop you have to add it, it's using 160 by default.
All the missing class will have to be taken from the decompiled framework.

Sent from my LG-P500 using XDA Premium App
 

popdog123

Retired Recognized Developer
Dec 25, 2010
437
3,242
I'm redoing framework.jar... See what i missed... Then i'll get to build.prop
Also using boot.img from mik's cm port now
 

popdog123

Retired Recognized Developer
Dec 25, 2010
437
3,242
ok ok... will do that... but for now we have to make a good base to start off of...
 

Bytecode

Inactive Recognized Developer
Dec 30, 2010
2,683
4,487
25
/dev/null
Nice to see another dev porting some other firmwares to our phone :) if you want help then I'm in :)

Sent from my LG Optimus One P500 using XDA Premium App
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    Hello!

    Ok so this is an attempt to port MIUI to LGP500. We are trying this because porting on the Galaxy 3 (LDPI armv6) was a success and i'm sure it will work on our device too.

    This is what we're using so far: MIUI for Desire & Overflow ROM

    So far this has been done:
    • ADB now working
    • Merged framework.jar from base rom with MIUI one
    • Replaced all apks with miui except LatinIME.apk which seems to give an error on boot
    • Use libs, bin and xbin from base rom
    • Merged permissions



    [Update 9.07.2011 - 17:48 GMT+3 DST]
    • Now using framework from CM7
    • Libs, and bins from CM7
    • Boot.img still from Overflow (CM7 Boot.img stops adb on boot after a while - so using Overflow for developing for now)
    • Replaced many smali files in framework but errors keep popping up - I think framework is pretty screwed up now and must be redone (again)
    • No more nasty error on boot (with stack dump and stuff...)
    • No need for logcat now because errors come from framework

    [Update 11.07.2011 - 15:32 GMT+3 DST]
    • MIUI boots up and we have graphics BUT
    • It only boots up to some error dialogs that say some processes force closed with "Close" and "Report to MIUI"
    • Gapps, Provision, and StatusBar force close so they need work
    • Removed ContactsProvider.apk and CalendarProvider.apk

    [Update 14.07.2011 - 10:58 GMT+3 DST]
    • Fixed framework.jar - no more errors seem to come from it
    • New zip not made on mac so no low memory errors
    • New problem that might fix the apps: All apps look for their classes.dex in /cache/dalvik-cache but only system classes are there. The app classes are created in /data/cache/dalvik-cache
    • All apps are back because the errors don't come from them

    [Update 28.07.2011 - 18:53 GMT+3 DST]
    • Added dalvik-cache to /cache script
    • New zip with init.d script and updated framework
    • Need to fix dead code in framework
    • Need new kernel
    • Need MDPI apks
    • Need libs that don't make the apks crash

    Latest flashable zip:
    http://www.multiupload.com/VNM8QTDBZ3 [Updated 28.07.2011] Thank you 4silvertooth

    (DOES NOT BOOT! DON'T FLASH IF YOU DON'T KNOW WHAT YOU'RE DOING!) Sorry... i had to put this in big red letters because apparently people didn't see it well...



    If you would like to help go ahead. Download the rom or make your own one if you don't like our development and give input. But most of all don't try to bring us down with "this can't be done" stuff. It can be done and it was done for another armv6 device. We need to get apps and framework to work and rom to boot. Libs and bins will come after...

    This being said i would like to thank these people for their work so far and for making me get off my ass and do something useful:
    4silvertooth
    jazux
    DJoptimus-One
    Also i would like to thank overflow for his rom. It's the base for our miui so far.
    3
    WELL FOR UR INFO THE MODDED VERSION EVEN INSTALL THEME FROM MARKET WITH NO ISSUE,IF USER WISH TO GET LATEST MIUI ICON PACK THAN THEIR CHOICE.
    WELL I BELIEVE U GO AHEAD AND CREATE A ROM....:rolleyes:

    I installed the modded version.

    - it install garbage untranslated icons on home screen
    - missing some translations in GUI (notably the themes downloads)
    - again, the theme you linked - cannot use in any automatic way. When people are insane enough to use Chinese in filenames, stuff gets the ****ty side up, sorry.


    dr. notor

    seriously u did this thing? :D upload it! :p

    Yeah, about 3 hours work with kitchen and bunch of other tools. Are there any more working MIUI APKs? NOT interested in untranslated broken crap, this would be a themed ROM, not port.

    Got music, camera, gallery, bunch of clock widgets. The weather widget is GO Weather, launcher - already been said. Known bug: the color settings button in camera causes a FC. :p

    One more note - the toolbar transparency is using Multipicture Live Wallpaper. The QQ Launcher does NOT support transparent status bar. There is no such problem with GO Launcher e.g., but that does not quite fit here, even with a MIUI theme (could find just one).
    3
    Hey guys I know you want MIUI, but here is something else similar to it. http://xdaforums.com/showthread.php?t=1233863
    If you guys want, I can port it over to your device just as I did with Honeycomb.

    Sent from my HTC Hero making C.R.E.A.M.
    3
    Please keep your wars on other threads. Maybe start a thread where everyone can start insulting each other and call each other names, donno. But please keep this thread a bit cleaner because if someone wants to check the progress of this project they shouldn't have to go through many pages of crap.
    3
    Well i'm back... finally finished my exams and got some time for myself.

    But i have a bit of bad news. I've been studying android and how it's build and how it works and i'm afraid this might be an impossible port to make for now. I've looked into the Galaxy 3 port and it's not an actual port. It's just the framework. So it is possible to port apps from the rom but they might not work fully because of incompatible libs.
    Now about the libs, they are compiled specifically for a type of processor (in miui case armv7) which have some instructions built in. While armv7 may run armv6 libs it's not possible the other way around. So even if we got the phone to boot, and got the launcher and a few miui apps running it wouldn't be miui.
    I see that SWEATTAIMI is still working to complete the port of the framework and i wish him the best of luck but i will have to step down since i am working on other android projects that are more likely to come to an end than this.