yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] SWEATTAIMI:
Or well ask mik, hes kernel should work well, i will try install miui and flash hes kernel or gb kernel :)
[Optimus One, P500 Android Development] SWEATTAIMI:
Tell me whos not, even i am xP think popdog and silver also is
[Optimus One, P500 Android Development] SWEATTAIMI:
this shall work on optimus v as its only that its sold in USA/UK/ASIA,

so dont worry it has same usage so its shall work
[Optimus One, P500 Android Development] SWEATTAIMI:
The gingerbread kernel do works with MIUI! :D!
[Optimus One, P500 Android Development] theprophet09:
This is a great news! So no forsclose?
[Optimus One, P500 Android Development] SWEATTAIMI:
well after i did factory reset there was a force close, yet i do only know that the gb kernel works,

(but i will check the Launcher2 as soon as my PC do want to open my sdcard)
[Optimus One, P500 Android Development] 4silvertooth:
The kernel is used only for adb, any kernel will give the same FC.

We just need a kernel with adb working and old baseband.(Overflow kernel or GB kernel is new baseband) The FC is not due to kernel. Its for solving the ril errors.

The FC will only be solved by framework changes and working libs.
[Optimus One, P500 Android Development] SWEATTAIMI:
yeah but i thought i got it to no forceclose :D

anyhow, what old kernel you need, Miks? or franco's???
[Optimus One, P500 Android Development] 4silvertooth:
Any but with adb enabled on boot.

.

What are the changes you made.
[Optimus One, P500 Android Development] SWEATTAIMI:
tried to change some smali for ADB Launcher in framework.jar, (but it was for galaxy 3)

as i need the smali from desire :/
[Optimus One, P500 Android Development] SWEATTAIMI:
Added smali files RegisteredCacheServices from MIUI Desire,

And ADB Launcher's From MIUI Desire

Now flashing and reboot x)

Still no progress, we have missed something
[Optimus One, P500 Android Development] d3adbroke:
Damn u hope they get this working soon I'm excited
[Optimus One, P500 Android Development] SWEATTAIMI:
I try to change the launcher (from another desire, maybe its odexed wrong)

and may be broke, i dont know at least i can only hope

(also the launcher is a bit bigger, so it may be working)

[no but seems to answer better, now we just need to know what is forceclosing this)
[Optimus One, P500 Android Development] SWEATTAIMI:
hmm, some java error still

Launcher aint starting by some reason, i still dont get why, replacing all smali files wont work, (phones get stuck)

but i think its some missing component in launcher or we have missed some smali.

I think its something in W/SurfaceFlinger( 4646): ro.sf.lcd_density not defined, using 160 dpi by default. thats doesnt make the launcher to start
[Optimus One, P500 Android Development] 4silvertooth:
No that's not the problem. Its just missing entry in build.prop.

Uses 160 which is default.
[Optimus One, P500 Android Development] 4silvertooth:
What do you mean by this?? ADB launcher.
[Optimus One, P500 Android Development] 4silvertooth:
Replacing all smali will brake the cm framework. You have to get those missing methods, and merge them.(no replacing the whole smali)
[Optimus One, P500 Android Development] SWEATTAIMI:
must been thinking on adb and wrote launcer afterwards
[Optimus One, P500 Android Development] SWEATTAIMI:
ah, sorry my bad :D

i will take time to get merge x)
[Optimus One, P500 Android Development] SWEATTAIMI:
Sorry if i have not updated as usual, but almost everything on my pc is gone (all but not the work or something. I just need to re-compile and re-extract some framework files (some files was on the part of disk i deleted)

Again this will take 10 min or less to get all files again

(Luckly i have most stuff on my pendrive so again on worries.)
[Optimus One, P500 Android Development] 4silvertooth:
I am posting reading material...

For all the fast learners.

Android booting.

http://elinux.org/Android_Booting

http://kobablog.wordpress.com/2011/05/19/start-up-sequence-of-system-server-of-android-memo/

http://blogold.chinaunix.net/u2/85805/showart_1421736.html

Reading crash dump.

http://kobablog.wordpress.com/2011/05/14/how-to-read-crash-dump-of-android/

Boot logs of devices for comparing.

http://kobablog.wordpress.com/2011/05/26/boot-logs-of-various-android-devices/
[Optimus One, P500 Android Development] SWEATTAIMI:
never used smali merging, what app to use ?___?
[Optimus One, P500 Android Development] 4silvertooth:
You can use any text editor, but use winMerge its free and can compare the difference in the files or folders.
[Optimus One, P500 Android Development] SWEATTAIMI:
Sure thing , i thought i tested but i may did wrong. Darn windows. Anyway ill try after i have been outside long enough. :-)

Witch reminds me that i was able to open it before :-) gosh i feet retarded
[Optimus One, P500 Android Development] nikoltu:
Any progress made after last news were posted in 1 post?
[Optimus One, P500 Android Development] SWEATTAIMI:
soon :D i will look why launcher dies, :D

when thats done i think it preety much bug's we should search for :D

4silvertooth; the error :

So for error like this one in logcat

D/dalvikvm(1598):

VFY:deadcode

0x0024-0024in

Landroid/content/pm/

RegisteredServicesCache;.readPersistentServicesLoc ked

()V

is on RegisteredServicesCache, but the coding looks identical in Desire and LG P500 ???
[Optimus One, P500 Android Development] ert69:
Oh dudes I wish I could help but I don't know anything about coding... can't wait till it boots up though... :p
[Optimus One, P500 Android Development] SWEATTAIMI:
it boots up as told, only thing is that launcher doesnt start, and that error with locked is not an error, nothing to do with launcher , i checked other RegisteredservicesCache and they got same script, (does the desire work's that we are porting from)??

And can someone get logcat that would be verynice :)

(as i change to much and most do backup everytime, i loose much time x()
[Optimus One, P500 Android Development] 4silvertooth:
No, no time = no progress. But SWEATIAMI Is on it right now.
[Optimus One, P500 Android Development] 4silvertooth:
Not just this error there are many such dead codes,all have to be solved somehow.
[Optimus One, P500 Android Development] SWEATTAIMI:
Bootmanager ?x=?

yeah, if i only get: https://market.android.com/details?id=com.drx2.bootmanager

boot manager to work so i can intsall MIUI on sdcard and run, it would be alot easier to get to work with, but as i dont know how that runs i need to take nandroid every time,

Maybe theres permission problem for launcher, i googled, sometimes you may wipe data reflash,

someone fixed trough permission and so on :D
[Optimus One, P500 Android Development] fernando1sg:
damn I'm dying to see this already working PD: @SWEATTAIMI I'm iFadeOne on YouTube :D
[Optimus One, P500 Android Development] 4silvertooth:
Dual boot will be good ( but our phone is not in support list , will have to modify it to work ) because atleast we can have a working rom for regular use. There was a old thread in our section on that, like everything on SD. Lets search. Or may be test the whole thing on emulator.(software testing)

Permission issue already solved by popdog. There's no error for permission in log.

Edit:http://xdaforums.com/showthread.php?t=1050760

Link to everthing2sd but its not dual boot just boot from sdcard.
[Optimus One, P500 Android Development] SWEATTAIMI:
tomorow i will flash miui, and make a logcat, make som coffe and see what the whole **** is messing with me :P

[Wasnt permission or clean install after whipe] btw did the desire ROM were poering from worked on desire?
[Optimus One, P500 Android Development] SWEATTAIMI:
Ah cool :D and im taimixd L0L! :3
[Optimus One, P500 Android Development] SWEATTAIMI:
I love my signature! ↯ツ

♀|♂♪Sent from my LG-P500 using ⓟⓘⓡⓐⓣⓔⓓ XDA-Premium app♪♀|♂
[Optimus One, P500 Android Development] ert69:
U dirrty pirate! lol.. jk.. We all are pirates at some point.. :D
[Optimus One, P500 Android Development] SWEATTAIMI:
ⓖⓡⓐⓑ ⓕⓘⓛⓔⓢ ⓦⓗⓔⓝ ⓤ ⓒⓐⓝⓣ ⓑⓨ ⓔⓜ ⓓⓤⓔ ⓣⓞ ⓣⓞ ⓛⓞⓦ ⓐⓖⓔ ⓛⓞⓛ

♀|♂♪Sent from my LG-P500 using ⓟⓘⓡⓐⓣⓔⓓ XDA-Premium app♪♀|♂
[Optimus One, P500 Android Development] SWEATTAIMI:
ⓘ ⓦⓘⓛⓛ ⓑⓤⓨ ⓐⓛⓛ ⓐⓟⓟⓢ ⓣⓗⓐⓣ ⓘ ⓝⓔⓔⓓ ⓣⓞ, ⓐⓝⓓ ⓣⓗⓔ ⓐⓟⓟⓢ ⓣⓗⓐⓣ ⓘⓢ ⓦⓞⓡⓣⓗ ⓣⓞ ⓑⓤⓨ ツ

♀|♂♪Sent from my LG-P500 using ⓟⓘⓡⓐⓣⓔⓓ XDA-Premium app♪♀|♂
[Optimus One, P500 Android Development] SWEATTAIMI:
P.S Sorry for dubble pist before.

Anyway as told i hope for progress tomorow :D

♀|♂♪Sent from my LG-P500 using ⓟⓘⓡⓐⓣⓔⓓ XDA-Premium app♪♀|♂
[Optimus One, P500 Android Development] nikoltu:
We are only privateers sailing under our Kings flag :D
[Optimus One, P500 Android Development] ert69:
Oh man.. I dig dat! :D

(Massive Golden Age of Piracy fan :P)
[Optimus One, P500 Android Development] SWEATTAIMI:
too much of topic :D:cool:
[Optimus One, P500 Android Development] SWEATTAIMI:
Finaly Good News!

I Will start Work on it at the evening or tomorow, due to several reasons,

i did not got adb
[Optimus One, P500 Android Development] 4silvertooth:
I am uploading a kernel i think it should work with that.

Edit: Link removed, some error.

@SWEATTAIMI

And a personal note whats with all the signatures i just saw right now on pc, cant see it on xda app, dont hurry things this thread already on so many post (330) without results, please be clean.
[Optimus One, P500 Android Development] SWEATTAIMI:
Please check Link again;

Unfortunately, the link you have clicked is not available.

Reasons for this may include:

- Invalid link

- The file has been deleted because it was violating our Terms of service.
[Optimus One, P500 Android Development] 4silvertooth:
Here's it is..

http://www.multiupload.com/IN2XOVQWL8
[Optimus One, P500 Android Development] DJBhardwaj:
Have been away. So how can i help ?
[Optimus One, P500 Android Development] SWEATTAIMI:
Now it works
[Optimus One, P500 Android Development] 4silvertooth:
its available check again.

http://www.megaupload.com/?d=OUKHHBMZ
[Optimus One, P500 Android Development] SWEATTAIMI:
Try get laucher work, as i do

♀|♂♪Sent from my LG-P500 using ⓟⓘⓡⓐⓣⓔⓓ XDA-Premium app♪♀|♂
[Optimus One, P500 Android Development] 4silvertooth:
We are trying the new kernel right now.

I get miui bootanimation than FC dialog. But no luck with adb so no logcat.
[Optimus One, P500 Android Development] SWEATTAIMI:
MIUI_A2SD_Default_Kernel_GB_1.7.1

we can try that one later also :D (Try to make it boot from LGP500, originaly for MIUI Desire ;)
[Optimus One, P500 Android Development] SWEATTAIMI:
as told adb has been working before, so whats the poing with changing kernel ?

Nice boot logo btw :P

it also got a new fc, contacts storage :(
[Optimus One, P500 Android Development] Ventus_zx:
Wait is muiu working?
[Optimus One, P500 Android Development] SWEATTAIMI:
it boots up, and get fc as contacts and launcher .
[Optimus One, P500 Android Development] DJBhardwaj:
@silvertooth:- you ported the launcher ?
[Optimus One, P500 Android Development] SWEATTAIMI:
at least i can tell that theres nothing in framework.jar, it has somehting with launcher or the *kernel*

lucky for me i got windows 7 lite, so i can use Virtual box, and fix stuffs trough there, as adb managed to not work with linux ..

Grats silvertooth you solved the problem, its kernel problem, or launcher, something is currently killing it, maybe some ram ?
[Optimus One, P500 Android Development] 4silvertooth:
Yo guys i told not to hurry things. We needed a old baseband kernel with working adb.( It wont solve the FC problem i said that before). Kernel coming up with working adb and loglevel set to 8 so now we get detailed log.
[Optimus One, P500 Android Development] SWEATTAIMI:
ok, so now we need to get logcat, (may take time for me, as i must install tons of drivers .
[Optimus One, P500 Android Development] 4silvertooth:
So here is the kernel we wanted. Old baseband working adb and loglevel set to 8.

We dont have to use overflow's kernel anymore.

http://www.multiupload.com/IOCK5HTBZH

We need to look into this.
[Optimus One, P500 Android Development] SWEATTAIMI:
seems like theme error for me,
[Optimus One, P500 Android Development] 4silvertooth:
If we fix the framework we don't need to port it.
[Optimus One, P500 Android Development] SWEATTAIMI:
i will see what i can do :):D
[Optimus One, P500 Android Development] SWEATTAIMI:
i think we looked at wrong stuff last time :D

I/dalvikvm( 1301): Could not find method android.content.res.Resources.getThemeFileStream, referenced from method android.graphics.BitmapFactory.decodeResource

W/dalvikvm( 1301): VFY: unable to resolve virtual method 7303: Landroid/content/res/Resources;.getThemeFileStream (ILjava/lang/String; )Ljava/io/InputStream;

D/dalvikvm( 1301): VFY: replacing opcode 0x6e at 0x0013

D/dalvikvm( 1301): VFY: dead code 0x0016-0031 in Landroid/graphics/BitmapFactory;.decodeResource (Landroid/content/res/Resources;ILandroid/graphics/BitmapFactory$Options; )Landroid/graphics/Bitmap;

D/dalvikvm( 1301): VFY: dead code 0x0043-0044 in Landroid/graphics/BitmapFactory;.decodeResource (Landroid/content/res/Resources;ILandroid/graphics/BitmapFactory$Options; )Landroid/graphics/Bitmap;

Files missing, thats why we got dead code (resourcher.getFileStream , there is no file in Android content resources)
[Optimus One, P500 Android Development] thachtunganh:
MIUI Music App

I have MIUI Music the lastest Version ... and it work on CM7

Credit: DOn't know :|

Know BUG:

Only one Bug : If you press menu button , open setting tab , slide down , when you see the line "File size filter" , you'll get FC

Edit: @4silvertooth: The camera App you have posted has a bug , when i tap to focus, it give a FC , tried it on 2 LG O1 , and 2 phone is on Mik CM7 ROM v6.5.6
[Optimus One, P500 Android Development] 4silvertooth:
http://xdaforums.com/showthread.php?t=1186493

For the miui music. Chinese version.
[Optimus One, P500 Android Development] thachtunganh:
Oh , i'm sorry... I Just want to help :)

Thank you for the link to MIUI Music Lastest version :)
[Optimus One, P500 Android Development] 4silvertooth:
All the stuff that give errors has to be looked.
[Optimus One, P500 Android Development] SWEATTAIMI:
more detailer verision of logcat?
[Optimus One, P500 Android Development] andy572:
why a logcat? the errors are everywhere :D
[Optimus One, P500 Android Development] SWEATTAIMI:
so we need to know what more to solve than just this?

and i looked at desire, it has same missing file, HD2 Also,

i dont know what the problem is. in htc desire smali, was the same string as P500. ?__?
[Optimus One, P500 Android Development] 4silvertooth:
Yaa, will have to be handled one by one, loads of work to do.
[Optimus One, P500 Android Development] SWEATTAIMI:
i think to port launcher may be easier??

i will try to look at pox, port as its a port and most of the other MIUI ROMS are not,

Yes i know how to open rfs file, Winimage ftw!

Added Out Folder from framework.jar Pox v1.5

Will Add P500 ADDED!
[Optimus One, P500 Android Development] theprophet09:
So what's the news?

If i'm not wrong you guys are trying to port the MIUI launcher in order to avoid dead code errors?

Keep up for the great work :)
[Optimus One, P500 Android Development] SWEATTAIMI:
nope trying to get no dead codes in framework.jar (i will look inside pox rom as they got all to work and its the only "port, i dont think we can look at desire :/

and galaxy has 4 folders inside smali one called siso, and we does not have that one

also i think we got some **** files thats not nessesary:

galaxy 3 has got 30 files inside: /home/incz/Desktop/MIUI/P500/system/framework/out/smali/android/content/res

we got 36,

their port working,

our dont
[Optimus One, P500 Android Development] fernando1sg:
dude if you guys fix those bugs, doesn't change the fact. that this will be beta version? or just working almost as good as its supposed to?

Enviado desde mi LG-P500 usando XDA Premium App
[Optimus One, P500 Android Development] 4silvertooth:
Pox is not miui their miui port is still work in progress the one you look is pox is miui launcher mod, MiuiWizX something.

This is their miui port.

http://xdaforums.com/showthread.php?t=1133741

This is miui mod.

http://xdaforums.com/showthread.php?t=1032550
[Optimus One, P500 Android Development] SWEATTAIMI:
ah i see: 06/05/11

progress! akash.gpta (our porter) booted his phone ok with MIUI framework but its a little bit laggy :-/ hi is debugging it and hopefully it reduces the lag BIG thanx to akash.gpta he has been a great help oh and he booted the framework on froyo!

now we only need to grab their port, and see how framework looks like :D
[Optimus One, P500 Android Development] andy572:
why not copy the framework files to your phone and boot? :D
[Optimus One, P500 Android Development] SWEATTAIMI:
i think ill try to make a custom rom (as G3 Does, its also good if the port fails)
[Optimus One, P500 Android Development] mat0122:
great news :)
[Optimus One, P500 Android Development] SWEATTAIMI:
you ever tried that :P it wont boot, (at least i tried with stock framework using pox rom as i thought it was their port)

and i cant grab their port as its not released as beta,

but a custom rom is not so bad either isnt it?

http://xdaforums.com/showthread.php?p=16385235#post16385235 ROM [WIP]

4silvertooth, dont worry i will work on this to :D

MULTIPLE Works maybe will be hard, but worth the time! :D
[Optimus One, P500 Android Development] SWEATTAIMI:
I feel like a bit lazy, as i dont like to reflash, :( but i must in order to get everything to work :)
[Optimus One, P500 Android Development] theprophet09:
Don't be lazy, we count on you :P
[Optimus One, P500 Android Development] SWEATTAIMI:
well the thing is that it takes so long time to restore, and its not worth it if you hasnt done any step futher,even if you dont know if you have or not, its so damn anoying,

Extra thing; what is the theme "system" in theme chooser called on apk, i want delete it but cant find it???

My mom counted on me to, when i changed the HIGH School Line she lacked out, to count is stupid, only hope!
[Optimus One, P500 Android Development] fernando1sg:
don't be or i might kill you :)

Enviado desde mi LG-P500 usando XDA Premium App
[Optimus One, P500 Android Development] SWEATTAIMI:
Ha ha i do two works on same time. I will try to get Miuiwiz launcher to work on cm7

♀|♂♪Sent from my LG-P500 using ⓟⓘⓡⓐⓣⓔⓓ XDA-Premium app♪♀|♂
[Optimus One, P500 Android Development] sweetnsour:
any progress since the last update?
[Optimus One, P500 Android Development] SWEATTAIMI:
nope :P unless 4silvertooth is working on it
[Optimus One, P500 Android Development] DJBhardwaj:
Wait! Let popdog come online, we might have a surprise for you :)
[Optimus One, P500 Android Development] sweetnsour:
you guys are keeping me on the edge of my chair

surprise me :D
[Optimus One, P500 Android Development] SWEATTAIMI:
we o_o what is we ?? :O
[Optimus One, P500 Android Development] shhbz:
any news yet :(
[Optimus One, P500 Android Development] 4silvertooth:
On new baseband it would be hard I think, can we use old one.
[Optimus One, P500 Android Development] popdog123:
Ok so progress so far:

Started using mik's cm7 (so old baseband it is)

Libs work just fine

Problem is framework... I've tried copying smali files all day from one framework to another but only to more errors. We need to modify some files to support both cm7 and miui classes so i'll look into that probably tomorrow because i've spent a long time in front of the computer today :)

I'll post the new zip a bit later. I think it's a good one and we should only bring patches to it (bins, libs... all work except framework). Oh and it still contains the hdpi apks but i don't think that's a problem for now...
[Optimus One, P500 Android Development] 4silvertooth:
Ok please don't forget to post the latest.

Jazuk allready posted link to mdpi apk at general thread.
[Optimus One, P500 Android Development] WhizKins:
Which MIUI are you using to port? The official or the unofficial one?
[Optimus One, P500 Android Development] 4silvertooth:
HTC desire miui.
[Optimus One, P500 Android Development] DJBhardwaj:
You take rest mate! I think jazux might handle the framework part :-\
[Optimus One, P500 Android Development] digkong:
jut installed miui on my dads phone.. and its incredible i must say.. it brings everything so much down to earth... and it has all those little features which makes it a perfect rom for me at least...:D

hope u guys succeed at this port.. seriously u guys will do a great job..

its the first time am seeing.. that devs are working as a team.. in this forum... :)which is totally awesome...

wish u guys all luck...
[Optimus One, P500 Android Development] popdog123:
Official rom but development edition not the stable one.

Also first post updated...
[Optimus One, P500 Android Development] WhizKins:
Yes but there are two versions for desire, official and unofficial ones that's why I'm asking. Can you provide me the download link?

EDIT: nvm thanks popdog123 :)
[Optimus One, P500 Android Development] kongyujian:
Oh man. This is so cool. :) miui on our p500 especially with it being closed source and all. :)

Good luck. :)
[Optimus One, P500 Android Development] Bytecode:
Is MIUI froyo-based? If so I obviously suggest to pick stuff from a Froyo rom.
[Optimus One, P500 Android Development] popdog123:
The one i downloaded is based on android 2.3.4 so it's Gingerbread.

But it's a good point... I think a froyo based rom would be easier to port.
[Optimus One, P500 Android Development] digkong:
no latest version is based on 2.3.4...
[Optimus One, P500 Android Development] manufn619:
hey guys quick question does wifi and camera work in this rom, i am super interested and i wanna flash this baby
[Optimus One, P500 Android Development] popdog123:
Well it probably would if it booted... :))

READ THE FIRST POST CAREFULLY!
[Optimus One, P500 Android Development] franciscofranco:
Hard to read is hard...then people complain X doesnt work or Y doesnt work... and then it's devs fault...oh well

/offtopic
[Optimus One, P500 Android Development] hon kin:
Just cant wait too see this stuff turns into a fully working rom!
[Optimus One, P500 Android Development] akash.gpta:
I've also tried porting the MIUI Rom to my device..but had not much of a success :(..Hope you guys make it!! :)

All the best..
[Optimus One, P500 Android Development] jazux:
they are doing it the same as we, so at least they should get all the looks (launcher, lockscreen, menus, notification bar) i think thats more than enough to anyone :)
[Optimus One, P500 Android Development] 4silvertooth:
Well you can help. What method did you use to port. Any tips?
[Optimus One, P500 Android Development] SWEATTAIMI:
were waiting on popdog 0_o
[Optimus One, P500 Android Development] theprophet09:
What are we waiting from him?
[Optimus One, P500 Android Development] popdog123:
Well i'm here... what's up? :)

Sorry for not being here but i'm really short on time right now...

@SWEATTAIMI i checked all the replies since i was last on and i don't see any sign of MDPI apks... anyway just give me a link and i'll update the first post
[Optimus One, P500 Android Development] SWEATTAIMI:
xdaforums.com/showthread.php?t=858935

There
[Optimus One, P500 Android Development] SWEATTAIMI:
He is the lead
[Optimus One, P500 Android Development] popdog123:
As far as i know, those are froyo mdpi apks... we need gingerbread
[Optimus One, P500 Android Development] Bytecode:
Then replace apk contents :rolleyes: ;)
[Optimus One, P500 Android Development] SWEATTAIMI:
Hows the project goin ? Djoptimus told u may got somewhere

Ciaox, do you think u can make the miui launcher work in my rom ?
[Optimus One, P500 Android Development] shhbz:
definately I believe ciaox even want to make this thing working u can ask him to join the stuff and work as a team.

s-u-c-c-e-e-d​
[Optimus One, P500 Android Development] SWEATTAIMI:
Popdog is good to also djoptimus and 4silvertooth

All devs are good
[Optimus One, P500 Android Development] shhbz:
well as i said a team work is quite imp if ciaox joins in than it will be even better ,definately all are good and they have given huge efforts in getting this ported no offence to that.

choice is yours