yashsingh1/xdaforums huggingface dataset:
[Xperia Play Android Development] CosmicDan:
r2 is up. I have not done extreme testing but it seems everything except touchpads is now working 100%. Additionally a CDMA addon is now available, but it's beta - as usual, please report any problems you have and provide logcats if you find CDMA issues.
[Xperia Play Android Development] Fat_boy555:
Video recording working?
[Xperia Play Android Development] CosmicDan:
Yes, same as PAC and SlimBean. Everything except touchpads work.
[Xperia Play Android Development] jeff7424:
Uhm sir since you said touchpads doesn't work, how about gamepad? I really wanted to try. Oh oh and panorama working? :D

Edit: One more thing, I'm on .58 right now so is it necessary to change to .62 ftf?

Edit: flashed .62, flashed kernel, flash rom on internel but installation aborted (symlink error)?
[Xperia Play Android Development] Fat_boy555:
Slim bean does not have video recording working. And touch pads is just a matter of implementing farenheits fix right?
[Xperia Play Android Development] olokos:
Proximity on jelly bean :D i have to admit again - luv ya :P
[Xperia Play Android Development] Slothboy:
So.. how fast is this ROM? Good enough for a daily driver?
[Xperia Play Android Development] olokos:
I tried to flash it on your latest r5 kernel but status 7 + when I wiped data on slot 2 it wiped sdcard/a secure/ :( ill upload Cwm log as I can't attach file with phone :-\

//EDIT http://db.tt/cIpQHEOU I have 2 gigs left on my sd card.
[Xperia Play Android Development] jeff7424:
Same problem.
[Xperia Play Android Development] ThePlasticBling:
Panorama and CDMA addon don't work.
[Xperia Play Android Development] olokos:
Just delete the .img files from the root of your sd-card and its working :P how about /sdcard/.asec/ wiping?...
[Xperia Play Android Development] gopin:
Does WiFi tethering work? Has Anyone using this ROM tried it?
[Xperia Play Android Development] jeffbud98:
Where is the boot animation stored on this ROM its not in the typical /system/media/. And I keep getting status 7 some symlinks failed on my ROMs test installation any idea?

Sent from my Transformer Pad TF300T
[Xperia Play Android Development] CosmicDan:
Boot animation - There is none, it's using internal framework one. Just put one in usual place to use it.

Regarding install errors and wiping: Here is what I see in the log -

Formatting /cache...
Formatting /sd-ext...
I:Formatting unknown device.
mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: Invalid argument
Error mounting /sd-ext!
Skipping format...
Formatting /sdcard/.android_secure...
I:Formatting unknown device.
rm: can't remove '.' or '..'
rm: can't remove '.' or '..'
Data wipe complete.
I:Can't format unknown volume: /external_sd
I:Can't format unknown volume: /emmc
mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: Invalid argument
rm: can't remove '/data/dalvik-cache': No such file or directory
rm: can't remove '/cache/dalvik-cache': No such file or directory
rm: can't remove '/sd-ext/dalvik-cache': No such file or directory
Dalvik Cache wiped.

...

minzip: Extracted file "/system/bin/applypatch"
minzip: Error writing 20480 bytes from zip file from 0x7e8f89ec: No space left on device
minzip: Process function elected to fail (in inflate)
minzip: Can't extract entry to file.
minzip: Error extracting "/system/bin/applypatch_static"

Update to Turbo Kernel r5 and wipe the second/third slot IMG files from SDCard.

Re: Camera, Does Panorama work on PAC ROM?
[Xperia Play Android Development] nickholtus:
the status 7 error is about some permissions that can't be set.

will make a recovery.log to see the error
[Xperia Play Android Development] CosmicDan:
Nah, it's insufficient space. Pre-r5 turbo kernel made ext2 images with 5% reserved blocks so system could only take about 240MB data before it was full. r5 fixed it but you need to re-create the slot images.

I'm assuming/hoping all the other weird "formatting unknown" things are also related to out-dated Turbo kernel. I have installed this ZIP many times during testing and never had such issues.
[Xperia Play Android Development] nickholtus:
first time i flashed it with turbo r5 kernel i got a status 7 error.

but after a reboot i installed it again and it is gone:)
[Xperia Play Android Development] CosmicDan:
Odd. I have no idea, I've re-installed the ZIP to slot 2 every time without formatting anything and never had any of these issues.

As for android_secure being wiped (asec), that's what is supposed to happen when you do a Factory Reset. Nothing to be alarmed about.
[Xperia Play Android Development] cyrusalmighty:
+1. ??
[Xperia Play Android Development] jeffbud98:
can you please take a look at this
[Xperia Play Android Development] CosmicDan:
No. Added to status list.
[Xperia Play Android Development] jeffbud98:
This is the error I get when I try to flash my test based on this rom

Sent from my Transformer Pad TF300T
[Xperia Play Android Development] CosmicDan:
minzip: Error writing 1871 bytes from zip file from 0x7ef499ec: No space left on device
minzip: Process function elected to fail (in inflate)
minzip: Can't extract entry to file.
minzip: Error extracting "/system/app/0B6DmTb8hPk02MC1RMFNXWm1VUHc.apk"
symlink: failed to symlink /system/xbin/[ to busybox: No such file or directory

Something wrong with your updater script, or your ZIP/SDCard has errors.
[Xperia Play Android Development] jeffbud98:
Okay thanks

Sent from my Transformer Pad TF300T

---------- Post added at 08:53 PM ---------- Previous post was at 07:56 PM ----------

getting error expects 5 args. got 3 but i think the symlinks one is solved any ideas now
[Xperia Play Android Development] CosmicDan:
Which command is getting the error? Update your installer binary and/or script.

We're going off topic, this is not a place to request help with building ROM's.
[Xperia Play Android Development] jeffbud98:
Okay thanks I'm gonna eventually figure this out.

Sent from my Transformer Pad TF300T
[Xperia Play Android Development] CosmicDan:
Touchpad lag has been 100% resolved in next version. I will try to get Wifi tethering working and increase performance for r3 (any recommendations on performance is very welcome).

As for CDMA, I still need testers with logcat reports. As soon as r3 is released I will probably stop working on it and go back to Turbo UI (using this as a base). Thanks!
[Xperia Play Android Development] Lordomn:
once I get around laptop I'll definitely be testing on cdma...

Sent from my R800x
[Xperia Play Android Development] Slothboy:
Can I use any JB kernel with this ROM?

Sent from a very.. very fast R800i.
[Xperia Play Android Development] CosmicDan:
I don't see why not?

Sent from Xperia Play (R800a) with Tapatalk
[Xperia Play Android Development] Slothboy:
I was just wondering x)
[Xperia Play Android Development] torgamer:
YESSSSSSS Good Rom

but some games game pad don't work (NBA Jam) However Som game work fine (Lode Runner-Zenonia-Run Like Hell)

I hope to fix it

Thx you

Good rom Smooth and Faster

Voice Search Had been stop working

And GPS not work
[Xperia Play Android Development] f3w1n:
Wow, i was waiting to see the touchpad lag fix to switch to JB... A-W-E-S-O-M-E
[Xperia Play Android Development] fma965:
BUG: Link2sd doesn't work ... for me atleast, i'm using EXT3 if it matters

also which EXT version would you recommend?

Thanks
[Xperia Play Android Development] CosmicDan:
Works fine for me (on any slot). This error is strange, it's failing on remounting system. I use ext2 but it shouldn't matter. Are you using latest Link2SD? Is your SDCard setup as two primary partitions - 1st as FAT32 and 2nd as ext?
[Xperia Play Android Development] fma965:
Hmm, im guessing its the latest since its from the play store, last time i checked i partitioned it in CWM recovery ages ago so i assume ext3 would be at the end? it is working fine in slimbean on internal btw.

sidenote: i am writing a noob friendly guide to multiboot xperia play to help lessen the noob questions on your thread :)
[Xperia Play Android Development] CosmicDan:
Yeah CWM does it right AFAIK. I really have no idea sorry, I can't reproduce it myself - it always worked. Try checking in logcat, thee should be an error in there about it.
[Xperia Play Android Development] fma965:
ok thanks it may have flashed wrong or something aswell i guess, nevermind i will experiment and report if i find any thing :)
[Xperia Play Android Development] Rox598:
Hey Dan

Please accept my deepest apologies if this has been mentioned/solved I had a look see and I couldn't see a solution so i'm sorry if i've missed it while I was reading.

I can't seem to get your ROM to install. using your turbo kernel i kept getting status 7 do you possibly know why that is? just incase I did try using another JB kernel and it didn't install on it either :S

I did install your FTF btw before I attempted to install anything
[Xperia Play Android Development] CosmicDan:
I don't know why people are getting this, I will need to see your recovery.log (from /tmp/). Make sure you've formatted system and data before trying to install.
[Xperia Play Android Development] olokos:
Wipe your 2nd/3rd img file From the root of sdcard. Wiping data and system in recovery of 2nd/3rd rom won't work.
[Xperia Play Android Development] Rox598:
Ah ha! I managed to get it installed!

What I was doing wrong was me being incredibly stupid (shocking right?) I was doing the usual wipe data and cache which is what I thought you meant but not formatting them through the mounts and storage option.....

I should be slapped for my foolishness :\ Sorry Dan for the trouble

Android for dummies needed lol
[Xperia Play Android Development] fma965:
S*** i should prob update the guide i just wrote then :D http://xdaforums.com/showthread.php?p=35239283 i told them to factory reset

EDIT: Updated ofcourse :)
[Xperia Play Android Development] Rox598:
I'd more than assume that's what I did to get it booting this time as every other attempt failed lol

No toggles in the notification bar is that normal?
[Xperia Play Android Development] fma965:
Great thanks, AOSP doesn't have toggles last time i checked, sure they are AOKP, CM etc features.

Dan i read you said "r3 in no more than 24hours :) so does this mean touchpads and everything is fixed completely in R3 if so i may have to switch from slimbean :)
[Xperia Play Android Development] Rox598:
Oh yeah of course i'm on a roll today aren't I lol think i'll go to bed <.<
[Xperia Play Android Development] fma965:
offtopic : yh i am kinda feeling the same today and yet i just wrote a massive guide :S maybe that wasn't the best idea

ontopic: how would i add toggles to AOSP? i can edit framework if i was told how :D
[Xperia Play Android Development] CosmicDan:
Most things work, but I've had reports that GPS and Video Recording is still broken. So r3 will be pushed back a bit. Also, touchpad lag is *nearly* solved - it's reduced greatly but not perfect yet.

Yeah, no toggles on AOSP. I tried adding QuickSettings by Wanam/LiDroid (he has a guide) but there's a specific part of the code that doesn't work well and I'm not sure why (I spent about 4 hours on it so I'm stuck). I have no idea how to implement other toggles. Unless someone can find another Jellybean toggle guide/mod (if it's just a mod I can compare to their base, as long as it mentions what base) *or* give Widgetsoid (from Play Store) a try.
[Xperia Play Android Development] fma965:
OK Cool, Did a little searching and couldnt find any guides other than wanams one. will check the app out :)

Thanks again.
[Xperia Play Android Development] CosmicDan:
Are you any good with Smali? I've gotten pretty good (I like to think so, what with MIUI) but the specific error is baffling me. Maybe we can find someone to help. I can give my information if you like, I can't remember exact error but it was to do with the new code to add widget in SystemUI. Something about the variables was missing, line on of them needs to be reinitialized (it would actually crash right-after the new QuickPanel widget code, not on QuickPanel code itself).

EDIT: Eh... let's not worry about it. Goal of this ROM is to be as close to AOSP as possible and "light", my work on this has already helped CM10, SlimBean and P.A.C. (Proxy Sensor, xLoud, Touchpad lag) and that is goal #2 succeeded - and goal #1 is to make Turbo UI based on this when it's finished.
[Xperia Play Android Development] jeffbud98:
can i have a github link to the jb vendor trees i cant seem to find them
[Xperia Play Android Development] CosmicDan:
Which ones? You mean vendor/semc? It's on github.com/garwedgess
[Xperia Play Android Development] jeffbud98:
yup thats it. Thanks.
[Xperia Play Android Development] CosmicDan:
No problem. Do note that if you get the ROM built from source, most things will not work (sound, wifi, RIL, maybe others). Because I'm lazy and still an amateur with Linux I fix all those things in my Windows script.
[Xperia Play Android Development] CosmicDan:
Found some interesting things while crawling the source, these are in all JB ROM's... give these a try, test touchpads...

# Farenheith's touchpad fix
mod.touchpad.startfrom1=1
# Dan's additional
debug.inputconsumer.resample=0
debug.velocitytracker.strategy=legacy

# Dan's HWUI tweaks. Defaults/possible values:
#ro.hwui.texture_cache_size=24.0
#ro.hwui.layer_cache_size=16.0
#ro.hwui.gradient_cache_size=0.5
#ro.hwui.path_cache_size=4.0
#ro.hwui.shape_cache_size=1.0
#ro.hwui.drop_shadow_cache_size=2.0
#ro.hwui.fbo_cache_size=16
#ro.hwui.texture_cache_flush_rate=0.6 <--- this is a percentage
#ro.hwui.text_cache_width=1024
#ro.hwui.text_cache_height=256

# My current tests
# Disabled in r3, seems to actually hurt performance for some apps
#ro.hwui.texture_cache_size=12.0
#ro.hwui.layer_cache_size=8.0
#ro.hwui.path_cache_size=2.0
#ro.hwui.fbo_cache_size=8
#ro.hwui.texture_cache_flush_rate=0.7
[Xperia Play Android Development] Slothboy:
Just installed this ROM, I'll be sure to check for any bugs and report them back to you Dan. c:
[Xperia Play Android Development] Rox598:
Hey Dan

Having a little trouble with bluetooth it turns on only a fraction of the time. it just stays saying it's turning it on but doesn't actually switch on. ive managed to get it turning on only twice after several reboots
[Xperia Play Android Development] Slothboy:
Will WiFi be fixed in r3? I kind of depend on it. xD

No bugs so far apart from WiFi, really smooth and slick :)
[Xperia Play Android Development] ThePlasticBling:
OK for me wifi and cdma don't work, but I don't even know what a logcat is so I would help you but i don't know how haha
[Xperia Play Android Development] fma965:
Hi sorry no i am not :D, Not a big deal not having toggles just feels "naked" without it :)
[Xperia Play Android Development] CosmicDan:
Wifi works fine, for everyone else and me, please give more detail on what the problem is.
[Xperia Play Android Development] jeffbud98:
Nevermind

Sent from my Transformer Pad TF300T
[Xperia Play Android Development] ps2stuff:
Really can't wait for a working JB rom for our play especially looking forward to turbo ui after this is complete, Thanks for all your effort so far guys, the play devs are working so hard for us lately, not long ago stock was the only real choice but with touchpads, camera and sensors fixed choices are fast improving, sorry for the off topic i just wanted to say thanks, and i cant wait for the rom to be complete
[Xperia Play Android Development] CosmicDan:
Sorry I missed that. Was just about to upload r3 but I'll look into that now.
[Xperia Play Android Development] fma965:
Dam :( i wanted R3, I would ask for ETA but obviously no ETA's allowed :( Really want AOSP with Touchpad nearly fully working :) Great work once again Dan!

- Fixed various Google App issues (e.g. Calendar sync, Location services)
- Reduced touchpad lag by about half (best I can do until we learn more...)
- Fixed touchpad recognition (Farenheith's Touchpad Fix v1.1)

Awesome!
[Xperia Play Android Development] CosmicDan:
I uploaded r3 for testing:

http://www.mediafire.com/?z4yyu8i5qhm88ay

Bluetooth should work now. Will probably upload r4 in a few days, need to fix video recording.
[Xperia Play Android Development] RCalisto:
Was waiting for r3 to test i Love your work cosmicdan keep going!

Enviado do meu Xperia Play using tapatalk!
[Xperia Play Android Development] jimmyvau:
I've been trying this out on my R800x but I can't get 3g or data. Here's my logcat. I disabled/re-enabled data, then tried to search for a network provider then I turned airplane mode on then off. When the phone booted there was a status icon, but it was completely empty and I had no connection. After turning airplane mode on and off the icon disappeared.
[Xperia Play Android Development] CosmicDan:
Not helpful, need full logcats (earliest as possible from boot until the first sign of problems).
[Xperia Play Android Development] jimmyvau:
Here's another more detailed log. This is from my first boot. 3G/mobile data never connects, but there is a signal icon. Rebooting doesn't help.
[Xperia Play Android Development] CosmicDan:
That's still not early enough, I need one from the *beginning* of boot. I.e. start adb logcat as soon as kernel logo comes on.
[Xperia Play Android Development] ravid1323:
i don't sure, but maybe this will fix the recording? http://xdaforums.com/showthread.php?t=1703513&highlight=recorder
[Xperia Play Android Development] clivejefferies:
Isn't that for ICS?
[Xperia Play Android Development] Rox598:
Thanks Dan! Downloading now and shall report on any findings :)
[Xperia Play Android Development] ravid1323:
the leagecy camera, was fixed with camera libs from ICS. so i thought to myself
[Xperia Play Android Development] jimmyvau:
I'm going to try this again. Maybe third time is a charm. The first logcat is from my first boot and going through setup. Setup has to enable and connect to wifi in order to sync with gmail. The second is after a reboot and I try to make a phone call. If you need me to do anything specific while catching the logcat, let me know. I'm really looking forward to trying this out and then eventually Turbo UI when you start working on it again.

Edit: I had to zip the first one because the attachment was to large.
[Xperia Play Android Development] jeffbud98:
just about to finish syncing the source for liquid smooth (an aosp based rom) i understand how to set up the vendor trees but how would i add some of the branches and fixes under the sources for this rom. would i just do something along the lines of this "git clone https://github.com/garwedges/proprietary_vendor_semc.git -b jb semc" for each fix
[Xperia Play Android Development] CosmicDan:
git clone is to download the entire repo. I don't have any modifications to the vendor tree, it's all elsewhere. You would have to cherry pick or generate patches for each commit and apply manually, google can help with both of those. I personally prefer to git clone an entire repo then manually diff the two trees (e.g with meld) so I can see what's happening, whats new and exclude things I don't need. Seeing what you're merging also gives you a memory of what is new so you know what to do if it doesnt build.
[Xperia Play Android Development] CosmicDan:
Uploading r4 now.

Try again in r4, and share full logcat again if still having problems.

I have no idea how to fix video recording, it's really bugging me and I have no other code to check. It's possibly a conflict with xLoud / ICS Audio blobs.

r4
--

- Attempted fix on Camera panorama
- Attempted fix on Camera recording (480p only, 720p permanently removed due to bugs)
- Fixed native App2SD
- Numerous fixes/optimizations to Telephony and Media framework

EDIT2: I may have found a possible fix, but has to be done in the kernel. PMEM is wrong. If this is true, this means that only Turbo kernel will work with Jellyzeus and Turbo UI.
[Xperia Play Android Development] smokerman:
just a question..video playback at least is better? in slim bean is buggy..some of videos dont play..:confused: and those playing is a bit slow at least the better quality ones.
[Xperia Play Android Development] CosmicDan:
I don't know. Tell me which app you are using and what the codec, resolution and bitrate and such the video is. On this ROM I've only tested YouTube HQ playback and 480p MP4/H264 video, both of which played flawlessly - the MP4 file was played in ES File Explorer (which uses native hardware decoding).
[Xperia Play Android Development] smokerman:
I use always MX player..thanks for your answer.:good:
[Xperia Play Android Development] CosmicDan:
Have you installed the ARM v7a-NEON addon? If it's still slow, then the format is not supported by hardware *or* it's a bug with the app or ROM, will need more details to find out which.
[Xperia Play Android Development] ps2stuff:
Hi Dan thanks again for your work, this rom is so smooth so far, when do you expect the link to r4 to be ready or are you still working on it?
[Xperia Play Android Development] CosmicDan:
Still trying to fix video recording. If I don't get it working within 24 hours I'll just upload it and leave it for later.
[Xperia Play Android Development] Rox598:
Hey Dan

Not sure if anyone else is having a problem but my web browser keeps force closing when i go to sign into websites (specifically E-banking website)
[Xperia Play Android Development] CosmicDan:
I'll probably fix it in Turbo UI and not bother fixing it in this.
[Xperia Play Android Development] Rox598:
No worries chap thought i'd let you know anyway :)
[Xperia Play Android Development] ravid1323:
about xloud, soon it will be easyer. sony's xperia e was introduced, running sony's stock JB, after release the /system from xperia e, we will get sony xloud libs for JB
[Xperia Play Android Development] cj360:
Seems like the msm7x30 primary and policy libs are causing soft reboots on slim, work was slowing to a halt so I pasted them into system to test a little bit. I see its starting to fail at updating the device info via audiohardware. (May not be what I'm looking for tho)
[Xperia Play Android Development] CosmicDan:
That makes zero difference for us. It's not an msm-7x30 device, 0% compatible.
[Xperia Play Android Development] CosmicDan:
Odd. The only thing I can think of is that you've missed some of the code changes I had to make to get them to work.

But I don't know if it's even worth it yet, I need to do a test and revert ICS blobs to see if that fixes video recording. If it does, then that means we have to either chose between xLOUD or Video Recording =\ At least until when (if) I port the ICS Camera code to this.
[Xperia Play Android Development] cj360:
I can hope catlog is missing it. The phone see xloud as another device and routes the audio to it on boot right?
[Xperia Play Android Development] CosmicDan:
I just found out that xLOUD is also broken in my latest build. Damn it!

EDIT: OK, after messing with the audio libs I found I had to wipe data *and* reinstall the ROM to get xLOUD working. Anyway, xLOUD wont be on the very first time you make a sound on the device, but after a few seconds it "kicks in" and I've never seen it fail since. When it does kick-in you'll see this in logcat:

I/AudioHardwareMSM7X30( 173): Routing audio to Speakerphone
I/AudioHardwareMSM7X30( 173): Change routing audio to speaker for xLOUD

...even after putting the device to sleep, it will engage xLOUD right away on the first sound - it's only on a fresh boot that it takes a while to start. Probably the AudioEffectService.

I would make a full logcat dump and check any occurance of "Audio" and "xloud" to see any issues.
[Xperia Play Android Development] CosmicDan:
OK, I reverted to using the QCOM generic audio blobs and it fixed video recording. xLOUD still works of course but it's ignorant to audio policy - which means that (a) xLoud will be unreliable and (b) It will cause the same issues as always for R800x users.

So before releasing r4 with mostly-working xLOUD, I'm going to see if I can get it working with prebuilt blobs better.
[Xperia Play Android Development] Slothboy:
Your work is very appreciated, thank you very much Dan :'D
[Xperia Play Android Development] Guimac90:
Is it just me, or USB storage mode doesn't work?