[WIP] MIUI Port -HELP NEEDED-

SWEATTAIMI

Senior Member
Oct 19, 2010
2,051
379
0
W4ZT3D
(Originaly Posted by popdog123)

This is a work i continue as popdog123 is very busy, so i think we shall do our best and let him work on his work, or whatever hes doing,

See The 2 Reserved, comments to get latest info!

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 Milestone, 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

10/14/2011

Replaced all Apk's (Now using latest MIUI 1.10.07 (STABLE)

Replaceed Android Policy (With Milestone's)

Replaced Services (With Milestone's)

still boots up, only FC was keyboard

(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:

SWEATTAIMI

Senior Member
Oct 19, 2010
2,051
379
0
W4ZT3D
!

Special Thanks to!

Popdog123

For starting the port and to get it to even boot,

Thanks To!

4silvertooth (teaching me on how to)
jazux (telling me what to do)
DJoptimus-One (yeah he made stuffs also as i dont know)

For helping to get this port to work,
 
Last edited:

SWEATTAIMI

Senior Member
Oct 19, 2010
2,051
379
0
W4ZT3D
TO DO:

See the difference in this files:
android.policy.jar
services.jar
framework-res.apk
framework.jar

(as we only looked at framework.jar we)
we got no progress, but now we can do get it!
(Akash.gupta made the launcher work on galaxy 3, and on the port of MIUI)
Nothing is impossible we need to see what we are missing
and try to edit and recompile and test on our phone,
 
Last edited:

DJBhardwaj

Recognized Contributor
Apr 23, 2011
5,004
2,651
253
27
Delhi
Whats the status so far ? I mean actually where have we reached ? What things aren't working ?

Sent via LG Optimus-One Gingerbread
 

SWEATTAIMI

Senior Member
Oct 19, 2010
2,051
379
0
W4ZT3D
why a new thread when old thread by popdog already exist are u taking over the rom assembling from here on .

whatt progess can we expect from this.....as it has beeen long since no update in old thread :(
we can in hope for sure that we may soon get launcher to work as i now know that we cant only look into framework.jar we must check services etc,
 
  • Like
Reactions: DJBhardwaj

SWEATTAIMI

Senior Member
Oct 19, 2010
2,051
379
0
W4ZT3D
Whats the status so far ? I mean actually where have we reached ? What things aren't working ?

Sent via LG Optimus-One Gingerbread
the thing is for now same as before, but as popdog123 is busy and so many want this i actually will settle down and look into what is not correct in our files as in framework.jar , launcher, services.jar and framework-res.
 
  • Like
Reactions: DJBhardwaj

DJBhardwaj

Recognized Contributor
Apr 23, 2011
5,004
2,651
253
27
Delhi
the thing is for now same as before, but as popdog123 is busy and so many want this i actually will settle down and look into what is not correct in our files as in framework.jar , launcher, services.jar and framework-res.
Cool! All the best then and if you need any help. PM me or any other member of Team ENVY :)
We are always there to help :)

Sent via LG Optimus-One Gingerbread
 
  • Like
Reactions: SWEATTAIMI

sewa2k

Senior Member
Jan 29, 2011
221
40
0
34
Villa Alemana
theres no spam thread, serious its you whos spamming delete the comment or i get mod to delete it for you!
Im sorry, but with your non-working roms u r the one whos spamming the entire dev section of P500.

First you start to "porting" ROMS to our P500, then, when u fail, start a new thread involving a "supercrazyamazing rom with extra-cheese", and only was a themed rom, but hey, no rom, because u cant figure it to enable sd-mount and show us screenshot of your fail (sorry, rom). Then u take others ppl work (like dr.notors) and continues as ur work? sorry m8 but im not spamming either threatening u with the mods. I dont even know why ur threads are still open.
 

SWEATTAIMI

Senior Member
Oct 19, 2010
2,051
379
0
W4ZT3D
Im sorry, but with your non-working roms u r the one whos spamming the entire dev section of P500.

First you start to "porting" ROMS to our P500, then, when u fail, start a new thread involving a "supercrazyamazing rom with extra-cheese", and only was a themed rom, but hey, no rom, because u cant figure it to enable sd-mount and show us screenshot of your fail (sorry, rom). Then u take others ppl work (like dr.notors) and continues as ur work? sorry m8 but im not spamming either threatening u with the mods. I dont even know why ur threads are still open.
again thats not spam, and i quited the rom and i do not have time,

The ihero is partly working, and SD-Card mounted,

Doktor notor's rom is not stolen i said i do a topic for it, as people may not go to his forum,

Please do read before posting man And why some threads is still open and not closed or deleted is because I or anyoneelse exept mod can close it (or administrator's) so i have tried close some topics with no luck, so what you can do is ask mod to do that for me ?
 
Last edited:

SWEATTAIMI

Senior Member
Oct 19, 2010
2,051
379
0
W4ZT3D
Well it would be great if you work on a single port and make it a complete success rom.
As dj said team envy is all there to help you out but we need a fully working rom as all the thread remains incomplete.
Well lets port miui :d
yeah i thought that to, after some researches and questions i noticed that we only worked on framework.jar but we forgot 2 other files aswell
 

DJBhardwaj

Recognized Contributor
Apr 23, 2011
5,004
2,651
253
27
Delhi
A quick tip from my side :- consider andy for the launcher. Remember his rom that was removed RC4.1 or something. He has always used a launcher actually and fully modified by HIM, and also with his upcoming legendary rom, he is doing the same with the launcher. All around the devs in O1 section, andy is the best in this field. You should ask him :)
I am 100% sure he will help and will take out some time for you.

JUST ONE RULE SHOULD BE FOLLOWED WHILE THIS :- BE PATIENT
 

shhbz

Senior Member
Jul 19, 2010
2,961
1,068
0
▂ ▃ ▅ ▆ █ Searching...
A quick tip from my side :- consider andy for the launcher. Remember his rom that was removed RC4.1 or something. He has always used a launcher actually and fully modified by HIM, and also with his upcoming legendary rom, he is doing the same with the launcher. All around the devs in O1 section, andy is the best in this field. You should ask him :)
I am 100% sure he will help and will take out some time for you.

JUST ONE RULE SHOULD BE FOLLOWED WHILE THIS :- BE PATIENT
your 100 thanks clicked. :D
 

SWEATTAIMI

Senior Member
Oct 19, 2010
2,051
379
0
W4ZT3D
ANDY:

as i see in the logcat, it seems that there are mixed libraries from miui and LG proprietary libs.
this cant work, because many apps are crashing at boot time because of missing functions for layout.

at first, remove the fu** LG drmserver - no one but LG need this.
second, try the surfaceflinger, surfaceflinger_client, libpixelflinger and liblayout from another rom,
these from LG rom cant work here - miui has patched many libraries, so these installed
cant work properly.
hmm we have missed something :p