yashsingh1/xdaforums huggingface dataset:
[Xperia Play Android Development] CosmicDan:
I know lol I get the error myself. Basically I need to implement the cdma/gsm telephony framework to make it compatible with the CM9 base. Night!

Edit/Update: I've fixed calls and data (tested properly this time) but I'm having a very hard time getting SMS to work, it's doing my head in and I might have bitten off more than I can chew here. I need to spend the next few days examining sourcecode of how exactly the telephony internals handle messaging.
[Xperia Play Android Development] tempest918:
Awesome, looking forward to the updates!
[Xperia Play Android Development] solomon4400:
+1

Tbh wasn't much of a fan of miui until this bad boy! Can't wait untill until he gets ish sorted out
[Xperia Play Android Development] CosmicDan:
Good News Everyone!

[YOUTUBE]1D1cap6yETA[/YOUTUBE]

v0.31 has working calls, sms and data :laugh: They said it was impossible.... MWAHAHAHA.....

.... quite proud of myself really. The fact that this ROM uses 100% original CM9 libraries and binaries means that it should be possible to base it on Jellybean when it becomes bootable. Wooo!

I won't update the original post yet until I get some test results on calls and sms. I didn't get a single FC doing anything in this test but I can't do much right now because I only have one phone with credit, if it's just as good for you guys as it was for me then it should be fine for daily use! Let me know :)

Download LuPuS UI v0.31

Changes:

v0.31
-----

- Removed Telocation (useful only in China)
- Fixed Calls (again) -_-
- Fixed Data and APN's
- Fixed SMS
- Initial work for future R800x compatibility (merge in massive chunks of CM9 code)
- Removed AudioEffectService, AccessoryKeyDispatcher and ServiceMenu (they were broken)
- Removed unneeded permissions
- Reverted to MIUI Browser due to CM9 browser issues (but still uses CM9 webkit)

No problem, thanks for testing!

Yeah I used to hate MIUI for being so iPhone-esque but that was back when I was a noob.... I use Go Launcher myself to fix that lack of app-drawer feature. Main reason I like MIUI is the security/filtering options built in, and the lovely theme capability (though that's still a W.I.P. for MIUI4). Not to mention the cool Notification Toggles, I dig AOKP's toggles too but I like having a separate page for them.

EDIT: Decided to update the first post lol. I'm surprised that more people haven't taken interest in this port yet.... oh well, I do it for myself :P On a side note, wtf happened to imgbox? All the images are down, hope it gets fixed soon I couldn't be bothered upping them on another host.
[Xperia Play Android Development] cj360:
Sweet, definitely gonna test the new version. Could you do a write up on what you merged and edited to fix data? It would be awesome if it worked on other pics rooms as well.
[Xperia Play Android Development] CosmicDan:
Basically everything in internal/telephony (framework.jar) from CM9, then bugfix missing/mismatched methods from there. This is only relevant to porting MIUI to CM9 though, I do plan to release the kitchen within a week because it's quickly approaching a mature state.
[Xperia Play Android Development] tempest918:
Need a tester? Why not Zoidberg? haha I'm surprised there aren't more people looking at this rom too. Maybe they don't know it's based on cm9 binaries?
[Xperia Play Android Development] solomon4400:
whatever if you aint flashing this rom then YOU AINT FLASHING SH!T!!!!!!!:laugh::laugh::laugh:

naw naw im playing i love every single dev that puts work into xplay development and i love a lot of the roms that you guys put out here. this just happens to be my fav atm.
[Xperia Play Android Development] cj360:
If ur with Verizon your gonna have a bad time.

The new rom doesn't work with cdma, it doesn't connect even with the cdma converter zip.

Upon boot without the r800xcdma zip, there's just no network with an x over the data signal icon, with the converter script com.phone process crashes at boot and still no signal.

I really need to fix my sdk as fastboot is fine but I can't give logcats atm.
[Xperia Play Android Development] tempest918:
The rom is stable so far. I haven't experienced any FCs on the phone app at all. I sent some SMS and had no problem at all. Great work man! On a side note, are there no built in cpu controls?

Edit: wedgess' touchpad fix works to fix touchpads and circle button for FPSE like it does on all the other CM9 based roms. I saw you in the thread for full touchpad support by markphyton and i flashed the zip there and i hang at the kernel screen.
[Xperia Play Android Development] solomon4400:
Also stable on r800a. Thanks cosmicdan. You turned me into a miui user. Also never got to try games but if you say the fix works like in other cm9-based roms then I'm even more excited about this rom. Only thing is that I am new to miui so there is a few things I don't understand but don't wrry will do my own research on miui and its functions/themes.

But I have to ask about superuser app. Is it even needed? I'm able to get root via the rom settings. Sorry I just don't get it.lol:D

HEY KEEP EM COMMING!
[Xperia Play Android Development] tempest918:
MIUI has its root settings in LBE, AFAIK
[Xperia Play Android Development] wedgess:
Download the root checker app if your not sure but all my rooted apps are working ;)

Sent from my Xperia Play
[Xperia Play Android Development] cj360:
I think Lerenesh forgot a couple files from gb. Or they conflict with the rom.
[Xperia Play Android Development] tempest918:
Yeah I'm not stressing about it. the touchpad fix by wedgess fixes FPSE, that's all I'm concerned about. I'm sure CosmicDan will implement a full fix later. In a couple days, this rom went from not bootable on my device to my daily driver. In a few more days it will be firing lasers and cooking my dinner haha :p
[Xperia Play Android Development] solomon4400:
+1

By the way my root apps are working I just never new miui manages its own root perm.
[Xperia Play Android Development] CosmicDan:
Thanks for your interest. CDMA support is definitely possible, but I will need a good tester with a lot of patience! I will have to see a logcat of the crash, then I send you some new files to try, then you will get another crash, and it will probably go back and fourth many many times lol. If you are willing to do this when you get your logcat working, I hope you can. But I understand if you don't, or can at least leave it for weekends - because you will be switching from your original working ROM to this ROM many many times. Sad but true, when it comes to things like this there's a lot of trial and error.

Basically what I need to do is slowly merge more of the CM9 smali into the MIUI framework and there is a lot of guesswork involved. But with logcats I can do anything :)

No in-built CPU controls, yet! Just like I did with MIUI on X10, there will soon be a 'Performance' menu option in settings, which will look the same as CM9's Performance section.

The full touchpad support is probably not possible I'm afraid, CM9 source changes are needed or I can make a very hacky change (replace CM9 libs with ICS beta ones) which I refuse to do. I am writing a detailed report of my research in his thread now.

LOL.

Yeah LBE Guard is incredible, it's a superuser and permissions manager all in one. You can deny individual permissions on a per-app basis.... Chinese-grade security features whoooo!

Re: Circle button, that is really pissing me off. I am investigating this sourcecode patch that apparently fixes it, but it's for CM7 and is a year old. So I think it would already be implemented.... and I am not set up to compile CM9 from source. Looks like that's my next work! Duh that's for a random game not Cyanogenmod >_< got mixed up there!
[Xperia Play Android Development] cj360:
I should have it all fixed now, I'll get on either later today after some sleep or tomorrow. And hopefully the same things that work with miui can be tweaked to work with other roms to enable cdma.
[Xperia Play Android Development] CosmicDan:
Only if it's based on CM9, yes. Because CM9 has CDMA support. The only problem with this patch is that we use MIUI framework so I need to make smali changes. And they are extensive.
[Xperia Play Android Development] tempest918:
Does MMS work in MIUI or is it just not working on this rom?
[Xperia Play Android Development] CosmicDan:
It should work, obviously broken.... double-check you have an MMS APN set up and send me a logcat, I can't test it right now.
[Xperia Play Android Development] xRegrets:
Gonna try this rom after I finish backing up :)
[Xperia Play Android Development] tempest918:
I have issues when I change the apn. I will test and get back with you with a logcat.
[Xperia Play Android Development] tempest918:
Here is the logcat. I can send but not receive MMS, or I get a FC. Hope it helps.
[Xperia Play Android Development] CosmicDan:
OK I see it:

[ 07-27 08:56:19.968 1886:0x75e E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.NoSuchMethodError: com.android.internal.telephony.WapPushOverSms.dispatchWapPdu
at com.android.internal.telephony.SMSDispatcher.processMessagePart(SMSDispatcher.java:668)

Will do my best to get it fixed for next version. BTW do you get FC when sending or "expecting to receive" an MMS? The error suggests it crashes when it sends but I dunno. You said it sends OK? Did you send to yourself so don't know?
[Xperia Play Android Development] tempest918:
I had my wife's phone. I sent a couple messages from my phone to hers no problem but when I tried to send a pic message from hers to mine it crashes before the message is received. This logcat is from when I sent the message from her phone, it crashes, I temporarily lose all signal and I regain signal, then I ended the logcat.
[Xperia Play Android Development] CosmicDan:
Yeah that's the Phone app/service restarting after it crashes, we are lucky to have that at least to save time in reboots :P OK great, I'm surprised that sending actually works lol.
[Xperia Play Android Development] tempest918:
I don't use MMS that often but my wife had sent one to me and it didn't come through. Other than that I just wanted to make you aware of others who may run into it as well. I haven't noticed any other bugs so far, but I will let you know if I do.
[Xperia Play Android Development] solomon4400:
@CosmicDan:

here's my bug and would like for others to test aswell. when i try to create a new contact i get crash and message "unfortunately, the process com.android.phone has stopped." then i temporarily loose network/service for like 20 secs or so. logcat is in my attactment. thanks and loving this rom my girl said its sooo sexy;)
[Xperia Play Android Development] tempest918:
I get the same problem, a temporary workaround is to create the contact in your Google contacts on the website and sync it to your phone.
[Xperia Play Android Development] CosmicDan:
Damn that's a big bug! Will release a new version with that fix before the weekend is over.

I was thinking of releasing a stock-based MIUI too, based on MarkPhytons ICS (so it would have fully working proxy sensor and touchpads) but the other MIUI already has it....
[Xperia Play Android Development] solomon4400:
Cool sounds great thanks for the great work keep it up! About the touchpad situation don't sweat it just do your thing with devs like you the possibilities are endless.
[Xperia Play Android Development] CosmicDan:
I've done enough digging to realize that the touchpads can't be fixed any more than they already are sadly :( even with Markphytons's "full touchpad fix", I can't get a stock-based MIUI working fully.

On that note, development on this is currently suspended - when Jellybean gets working Wifi it will be rebooted with a jellybean base. If you still want MIUI, give LuPuS MIUI a try. But no CDMA support sadly since it's based on stock.
[Xperia Play Android Development] Fat_boy555:
Lol. Speaking abt flashing baseband 62 in the aokp thread, I am having a boot loop when I flash this rom. I get to only the kernel screen b4 it reboots and on 0.30 I get to the boot screen and the boot screen just keeps on going...
[Xperia Play Android Development] wedgess:
Have u factory reset, wiped cache and dalvik cache via CWM.if not that will fix ur problem

Sent from my Xperia Play
[Xperia Play Android Development] Fat_boy555:
Yup I formatted everything. In mounts and storages and wiped every thing. So i have to flash baseband 62? Happened to me on sechko MIUI port but was solved by flashing a later version of the rom..
[Xperia Play Android Development] wedgess:
Ye I would flash .62 baseband I'm not able to link u to it yet I'll b home in an hour I'll link you then, if someone hasn't by then

Sent from my Xperia Play
[Xperia Play Android Development] CosmicDan:
Judging by your experience you probably shouldn't be using this ROM, no offense. Not only is it experimental but I've stopped working on it, it will be locked as soon as I get a new LuPuS UI up with JB/CM10 base. If you want MIUI look at LuPuS MIUI.
[Xperia Play Android Development] Fat_boy555:
Lol. No offence taken. I flash quite often lol. Not only for play but for Samsung devices. But quite unfamiliar to the flashtool side if things. Just use Fastboot adb and Cwm...
[Xperia Play Android Development] CosmicDan:
Flashtool should only be needed once to flash latest full stock firmware in order to update baseband/modem. But if you flash a lot of different kernels or get a brick it can also help sometimes. Just make sure youre using the latest flashtool and after installing latest FTF boot the stock and check version in about, make sure its at .62.

Sent from Xperia Play (R800a) with Tapatalk
[Xperia Play Android Development] Fat_boy555:
Come to think abt it, it's been 6 months to 8 since u last used flashtool to flash stock for update...
[Xperia Play Android Development] Fat_boy555:
U have the link to the latest firmware?
[Xperia Play Android Development] CosmicDan:
It's in the OP, under the Install/Download section in italics.
[Xperia Play Android Development] wedgess:
Plus turn adb ON and ALLOW INSTALLATION OF NON-MARKET APPS while in stock

Sent from my Xperia Play
[Xperia Play Android Development] Fat_boy555:
I'm not sure if it is my download or the file in the link, but I have a corrupted file...
[Xperia Play Android Development] wedgess:
It must be your download I suggest trying to re-download

Sent from my Xperia Play
[Xperia Play Android Development] CosmicDan:
True but shouldn't really matter if you're unlocked bootloader :P booting stock is just a test to make sure phone is good, fastboot always available to flash new boot.img. I also make a habit of doing "fastboot erase system" and "fastboot erase userdata" when I switch kernels.
[Xperia Play Android Development] gopin:
I read on your other miui thread that you are working on this Rom again?
[Xperia Play Android Development] CosmicDan:
Yes. Stock based ICS is so damn slow so I want to go back to using this as daily driver :P New release in 24-48 hours.
[Xperia Play Android Development] solomon4400:
Ya stock is cheezing:mad: me cuz it is so laggy at times but however games run so smooth though.
[Xperia Play Android Development] tempest918:
Have you figured out a fix for MMS? :p I'm glad you are working on this one again. Honestly, I prefer CM9 based roms over stock.
[Xperia Play Android Development] iRhyiku:
How does Dead Space and GTA3 run on this?
[Xperia Play Android Development] solomon4400:
i dont play dead space and i aint even bothered to try gta3 as thre is always issues with it on ics. nova3 is what i usually play and its smooth like nicki minaj boobs.

:)
[Xperia Play Android Development] CosmicDan:
Yeah I think MMS is fixed, dunno I can't test it LOL. But it should at least give a different error now (if it doesn't work).

Dunno about GTA3 but Dead Space seems to run well. But touchpads don't work in it of course.

EDIT: I spent hours trying to get "Performance" option under settings from CM9 but I had no luck. It was very easy for Gingerbread MIUI/CM7 because the Performance options were in a separate APK called CMParts, but in CM9 they are deep inside Settings.apk :( I got it all ported over and I just got random nullpointerexceptions on a part of code that marks/unmarks the checkboxes lol. Spent HOURS on it trying to figure it out but no dice!
[Xperia Play Android Development] CosmicDan:
0.4 is ready. Be sure to review the extra points in Installation/Download section (new important issues/fixes) and check the changelog. SMS and MMS need testing.
[Xperia Play Android Development] tempest918:
Flashing now. I'll test the MMS and report back, Thanks! :laugh:
[Xperia Play Android Development] gopin:
Has anyone tested wifi tether?

i tried it in v0.31 and it did not seem to be working.

flashing new version right now. will report later!
[Xperia Play Android Development] CosmicDan:
Cool cheers. Just updated first post again, take a look at step (1) in Download for info on a new kernel - if you want 513MB of space on /data ;)

It was working 100% when I first tested it back on v0.3 but maybe it broke with later phone/data/sms/mms fixes.... you are using native tether right? Not an app?
[Xperia Play Android Development] gopin:
It was working 100% when I first tested it back on v0.3 but maybe it broke with later phone/data/sms/mms fixes.... you are using native tether right? Not an app?[/QUOTE]

yes, native. Not app.

and no, it is not working :( pc seems to connect, but shows up as "limited or no conectivity"
[Xperia Play Android Development] CosmicDan:
yes, native. Not app.

and no, it is not working :( pc seems to connect, but shows up as "limited or no conectivity"[/QUOTE]

Ahah, I had no data on my SIM so I couldn't test that :P I know what it is, just an interface mapping. Should be fixef for next version.... for now use Wifi Tether.
[Xperia Play Android Development] tempest918:
SMS appears to be broken again. Says unable to send message at this time, will send when service is available. Does it even though I have signal.
[Xperia Play Android Development] CosmicDan:
OK thanks, yeah I thought it wouldn't be that easy. Will revert that change to get SMS working again because I'm releasing next major version within 1-2 hours, then I'll work on bugfixes for a while.
[Xperia Play Android Development] CosmicDan:
v0.5 up, OP updated.
[Xperia Play Android Development] tempest918:
Haha, getting fancy with Aroma! Changes look awesome! I will have to tell the wife to not send me any pics till mms gets fixed, lol. I will run home at lunch and flash it. I was testing the Stock based rom to see if the slide open option works on it and it doesn't. Onlive doesn't work because it doesn't detect the gamepad sliding open.

EDIT: Rom is working great! Are there any other benefits to using the kernel that shrinks system to 180MB?
[Xperia Play Android Development] wedgess:
Ye it will give u 500+mb storage instead of 380mb, but only use it with this rom.

Sent from my Xperia Play
[Xperia Play Android Development] CosmicDan:
Yep. Its your choice really, im sick of using link2sd for so many apps :p

Sent from Xperia Play (R800a) with Tapatalk
[Xperia Play Android Development] CosmicDan:
Random bug report to myself (lol):

(1) Experienced a random reboot while i wasn't even using the phone and it was stuck in a bootloop, logcat saying a lot of bad/random things about CPU so I deciede to lower my max clock from 1.6GHz to 1.5GHz. Hopefully it doesn't happen again.

(2) YouTube HD video quality is poor, much more pixelated than what I remember (I always test with the same HD video every time I build a ROM). Using the YT 720p modded APK helped a bit but it's still not as good as I remember. I don't know if this is an issue with the latest MIUI or with FXP131, nor if it's an issue with video decoding libs or the graphic driver libs - all of which are from FXP131. It seems to be doing a poor job of rescaling.
[Xperia Play Android Development] tempest918:
In reference to the random reboots, I have been getting them too. I oc to 1.6 by default, I will drop it and see what happens. I also noticed my phone is hotter than usual.
[Xperia Play Android Development] gopin:
does not Doomlord recomend not to overclock for very long periods of time? (I thought i saw this in his thread).

anyway, i did not see this in the tips and tricks section. If you double tap lock in lock screen you get music controls. ;)
[Xperia Play Android Development] CosmicDan:
Governor and scheduler combination does make a difference, the CPU could be maxing-out more often depending on what's going on and what they're set to. Also with this ROM having KSM and zRAM enabled, the CPU usage will be higher than usual. Considering the Play's CPU is rated for 1GHz, even 1.5GHz is a big ask... Some people from DoomLord's stock kernel say they get stable at 2GHz max, I reckon that's complete bullsh*t lol.

If I have time on the weekend (will be fixing/testing MMS hopefully) i will see if FXP131 kernel (not LuPuS) is any different, and also try out CM9 stock ROM differences in stability. Personally though, I was running this MIUI ROM on the stock 1GHz max and it wasn't noticeably slower. Intellidemand is a pretty awesome governor.

Running CPU Spy and App Monitor for the moment to check if there's any rouge processing going on while my screen is off, since that's when the reboot happened. Also, don't forget to set min clock to 249MHz - SetCPU seems to detect that wrong (it goes lower which causes wake lag).

Well it's not like the CPU is constantly running on max clock. I mean yeah, overclocking will reduce the lifespan of the phone generally - but that reboot/bootloop I was getting is an example of the self-protection these embedded processors have when overheating. I had to pull battery and let it sit for a while.

Nice one!
[Xperia Play Android Development] paxChristos:
FYI: the snapdragon soc msm 8255 (zeus) is rated up to 1.5ghz on some phones, and the msm8655 (zeusc) is rated up to 1.4ghz.

Source: http://en.m.wikipedia.org/wiki/Snapdragon_(system_on_chip)

Pax
[Xperia Play Android Development] CosmicDan:
Well there ya go. Yeah I never had issues on 1.4GHz before, that's what I had been always using since a few days ago. Sony would have just locked it at 1GHz for battery life concerns and/or quality control in the event of a bad chip fabrication....

I think it's a standard practice for all cpu manufacturers to intentionally downclock them 10% or more than what they were designed to run at.
[Xperia Play Android Development] tempest918:
I dropped to 1.5 and it hasn't rebooted at all since, I was running at 1.6 on AOKP and it never rebooted, weird.
[Xperia Play Android Development] CosmicDan:
*Exactly* the same as me. Just this rom I guess, oh well ~100Mhz aint anything to cry about.

With the new kernel im having memory issues, we've lost 18MB from 720p fix and my tweaked VM values might be bad. Im experimenting with building a new kernel to increse available memory and fixing it for linaro, but until then if anyone has memory issues run the Aroma installer again, choose Customize > Elite and select "Classic" VM Preset for FXP stock memory values.

Sent from Xperia Play (R800a) with Tapatalk
[Xperia Play Android Development] Fat_boy555:
I have a bug to report: settings fc when attempting to sey screen lock. Any ideas?
[Xperia Play Android Development] solomon4400:
Ya provide a logcat pls
[Xperia Play Android Development] CosmicDan:
No need for logcat, its a known bug. I'll fix it when I can.

Sent from Xperia Play (R800a) with Tapatalk
[Xperia Play Android Development] xRegrets:
Importing VCF file is fine. It seems that my vcf file has a problem, remade it and it restores perfectly :)
[Xperia Play Android Development] cj360:
I'll add a log when I can as I forgot to when I tried v5.

Com.phone crashes right on boot for me, with and without keirans and atariis r800x zip. I also tried the advanced setup in aroma that didn't get past lupus kernel splash screen. Definitely need a log for that.
[Xperia Play Android Development] CosmicDan:
Ok thanks, i will see what the R800x ZIP does. Can you link me to it aswell as logcat with /without the fix?

Ok maybe Aroma "Customize" is borked, i will test. To get stock CM9 vm values, for now just delete /etc/sysctrl.conf and reboot

Sent from Xperia Play (R800a) with Tapatalk