yashsingh1/xdaforums huggingface dataset:
[Xperia Play General] Smiley76:
yeah.. that solved it. thanks :)

---------- Post added at 09:01 AM ---------- Previous post was at 08:47 AM ----------

yeah it might be that CPU is under load thing.. but instead of white flash it just freeze.. but after reverting that commit and put back the properitary drivers it's working again.
[Xperia Play General] szl.kiev:
anyone know where is the script /.mk that responding make default.prop?

in build/core/main.mk only states

ro.secure

ro.allow.mock.location

ro.debuggable

but no

persist.sys.usb.config

can't find command that state "persist.sys.usb.config"

so if we can edit it in the source, we don't need to edit the ramdisk every time after finishing a build
[Xperia Play General] CosmicDan:
Search source code? Maybe adb is default value if not specified.

Sent from Xperia Play (R800a) with Tapatalk
[Xperia Play General] szl.kiev:
yes it's a default value,

I still can't find the source code that state it
[Xperia Play General] CosmicDan:
Find-in-files in entire source code :D lol.... id just try adding it to the mk and see if it makes default.prop properly

Sent from Xperia Play (R800a) with Tapatalk
[Xperia Play General] szl.kiev:
I found it, it's inside

build/tools/post_process_props.py

my previous search was around makefile & .mk

never thought its under python command

33 --- val = "adb"

33 +++ val = "mass_storage,adb"
[Xperia Play General] Fat_boy555:
That's also present in supervenom's aokp jb rom..

Edit: this is more noticeable when playing games.. As to which, as far I have only played temple run. Will test more games and post.
[Xperia Play General] szl.kiev:
https://github.com/CyanogenMod/andr...mmit/b94d9ef1e1b35aa372314638d0110eea7462f97f

line 208-213 should it in msm_vidc_enc.h instead of msm_vidc_dec.h ?
[Xperia Play General] CosmicDan:
Hey pax, or anyone else who might know....

Do you know what framework code (where) is responsible for switching speaker device when placing calls?

EDIT: Confirmed bug on FXP136 - when a call is ended, the audio router does not switch back to loudspeaker (it stays on handset). You have to toggle silent-mode to get the loudspeaker working again.

If someone could check/add that to the FXP bugtracker it would be good.
[Xperia Play General] CosmicDan:
I know that lol, I'm saying that it's an unrecognized commandline option because the spelling is wrong, it should be -Wno-uninitialized

Huh... I don't even know why retouch_binaries is needed. Why do they need to be touched?
[Xperia Play General] paxChristos:
Damn, I missed that one, I was focused on the error, not that last little bit :P

I believe retouching makes sure that the binaries match what was built so that no problems occur with a mismatch. Apparently it's a pretty major thing ;)
[Xperia Play General] CosmicDan:
So it's just a verification thing. Check this out and see if you have the lines, whatever that code is from it seems to return a match if the binaries were never touched at all.
[Xperia Play General] nickholtus:
hi all,

i thought maybe we can use the video drivers from this kernel:

https://github.com/securecrt/android_kernel_htcleo-2.6.32-ics/tree/

as it is for adreno and it has the newest video drivers out there from qualcomm:)

and jb is running fine on that device:P
[Xperia Play General] jerpelea:
i think you want to check those

https://www.codeaurora.org/gitweb/q...f;hp=e70f930d1111f9a8a98a3ed59f9c392576899f93

https://www.codeaurora.org/gitweb/q...ff;h=acffb1675f468a85f528e01707f3fa98f45b77f8
[Xperia Play General] nickholtus:
hi,

big thanks fxp!!

if i get home (sunday) i will try it, otherwise i think paxchristos can try it:)
[Xperia Play General] Supervenom:
Change the update-binary with a working CM9 one and error 6 will vanish. And please update your last test. The one with modified msm sources.

EDIT: I have compiled a kernel with all fixes you mentioned. As base I used https://github.com/CyanogenMod/semc-kernel-msm7x30/tree/4.1.B.0.431 .
[Xperia Play General] nickholtus:
We are almost there!

rom is booting, i get screen:)

rom is really fast

only one big problem left: screen flikkers a lot and is unreadable.

we (kamarush and I) are fixing it right now

edit: thanks for the kernel, but got one from kamarush a bit earlier
[Xperia Play General] paxChristos:
If you're using Qcom/hardware from CAF, that could be an issue where framework/base doesn't match the hardware folder (That's what happened to me w/ Team Gummy Rom)

Pax

Thanks everybody else for all the ideas,

@Supervenom, i've checked & there are differences in the hashcodes between cm9 & cm10 updater-script

Pax
[Xperia Play General] IdeosDev:
Could the kernel patch made possible the Arc?

Need some to help to compile as not able compile it cause i am not at my pc :(
[Xperia Play General] nickholtus:
rom is just fine:)

only need some kernel source editing.

as i already tried 6 jb roms (dhd mini pro desire s etc.) it all haves the same problem:P
[Xperia Play General] Supervenom:
That is to say?
[Xperia Play General] TheCraig:
Looks like we're going to get Jelly bean soon :D
[Xperia Play General] bamsbamx:
I suppose that with jelly bean we will not get touchpads working ( i prefer to have jelly bean, i dont play so much:) )...

So would be posible to use Sony Beta ICS ROM as base? Maybe with that we could get touchpad+ jelly bean...

Thanks for the hard work !
[Xperia Play General] Supervenom:
In that case it would not be JB... but themed ics, because it is very difficult to have together CM9/AOKP and stock ICS. With CM10 is impossible.
[Xperia Play General] Motawa88:
why doesnt touchpads work with jb?
[Xperia Play General] ~iSamur@i:
because we need the sony's framework to use the touchpad in a lot of xperia play optimezed games
[Xperia Play General] Supervenom:
They work, but as in AOSP based ICS Roms like CM9 or AOKP.
[Xperia Play General] Motawa88:
okay. for me. i only care about the touchpads on the n64 emulator. Will this work? (n64oid has native touchpad support on ICS)

another question:

how does "porting" work? do you guys have to write drivers for hour devices and then it works? im really interessted in that stuff =) but im a totally noob as you can probably tell... i only know "porting" from like an xbox 360 game to PC and most of the ports are very very badly (performance)

we are not emulating the JB OS, right?
[Xperia Play General] Supervenom:
We have JB source code and some device specific ICS code. What we need to do is to adapt device specific code (included kernel) to run with JB. For example taking parts of code from working ports of similar devices (Desire HD has Play's same SoC)
[Xperia Play General] Motawa88:
is there a coding language needed?
[Xperia Play General] paxChristos:
Several :P

AOSP is in java, c, c++, and tiny bits of assembly.

Kernel is c & c++
[Xperia Play General] TheCraig:
I know C and Java, Assembly is really hard.

Anyway I heard you got it booting, awesome :P
[Xperia Play General] Motawa88:
jesus... so first i have to learn those right? :D

another thing: will we get all the features that come with JB? Like Butter and Google Now/Search-Voice feature? or will there be cuts?

nickholtus already said that the rom is really fast... so faster as gingerbread? :P

just delete this if my questions get to annoying.

Freddy
[Xperia Play General] Supervenom:
JB will come with all features and I think it will be faster than gingerbread.
[Xperia Play General] Motawa88:
oh my god. so ill leave you guys alone now so you can work really really hard on this :P

im checking like every hour here to see your progress.

im waiting to test the rom now!

thank you guys.
[Xperia Play General] isavegas:
I just found out, and my question is, would 4G on the xperia play R800at still be intact? I would love to beta test this for you, but my computer is mia right now. If possible, I'll try making room on my sd card and making a nand backup. If I have room, I'll be able to beta it :D
[Xperia Play General] CosmicDan:
Too early to say dude.... 2G probably won't work at first :P And it's not beta yet, it's not even alpha or pre-alpha.... it's like, prototype....!

Please guys stop asking questions, only post if you have something to contribute! Just a little annoyed with seeing a new post and getting excited over nothing is all lol.... nothing personal!
[Xperia Play General] nickholtus:
hi all,

hopefully you guys can help me out with really the last screen problem:

http://imageshack.us/photo/my-images/835/dsc03251z.jpg/

here is a bit of the logcat that looks not good:

D/memalloc( 121): /dev/pmem: Allocated buffer base:0x2c4f9000 size:1658880 offset:0 fd:31

D/memalloc( 487): /dev/pmem: Mapped buffer base:0x3cc3f000 size:1658880 offset:0 fd:50

D/memalloc( 121): /dev/pmem: Allocated buffer base:0x2c4f9000 size:1658880 offset:1658880 fd:42

D/memalloc( 487): /dev/pmem: Mapped buffer base:0x3cdd4000 size:3317760 offset:1658880 fd:53

D/memalloc( 738): /dev/pmem: Unmapping buffer base:0x3e17e000 size:7004160 offset:5345280

D/memalloc( 738): /dev/pmem: Unmapping buffer base:0x3e82c000 size:8663040 offset:7004160

D/memalloc( 738): /dev/pmem: Unmapping buffer base:0x3fe95000 size:10321920 offset:8663040

D/memalloc( 121): /dev/pmem: Freeing buffer base:0x2ca12000 size:1658880 offset:5345280 fd:52

D/memalloc( 121): /dev/pmem: Freeing buffer base:0x2cba7000 size:1658880 offset:7004160 fd:55

D/memalloc( 121): /dev/pmem: Freeing buffer base:0x2cd3c000 size:1658880 offset:8663040 fd:58

D/memalloc( 121): /dev/pmem: Allocated buffer base:0x2c4f9000 size:1658880 offset:3317760 fd:48

D/memalloc( 487): /dev/pmem: Mapped buffer base:0x3e00d000 size:4976640 offset:3317760 fd:56
[Xperia Play General] Supervenom:
Can you post full logcat?

However how did you get the rom booting? With modified kernel or JB sources?
[Xperia Play General] Sythedragon:
Is it not possible to set a coordinate to start rendering at, as an additional command or whatnot? Ergo setting a custom position, which in the current state of the ROM would have it rendering at the correct position?

Like when you're positioning DIV tags in a webpage.

Obviously I could be talking nonesense :p
[Xperia Play General] CosmicDan:
Seems like a framebuffer issue, maybe a buffer overun/overflow. Perhaps forcing vsync or checking out the timing/resolution code will present a lead.... I don't know much about linux though, let alone ARM archs.

EDIT: Check logcat/dmesg around gralloc/adreno init to see if actual screen size and density is found properly. Though my only guess is thinking it's a timing/clocksync issue.
[Xperia Play General] KeiranFTW:
We need to map kernel pmem to userspace, and at the moment I can't quite remember what exactly needs to be changed. At least I think that is the problem.

Obviously this is a big issue as the whole 2011 line haven't received CM10 yet, FXP are probably having this issue too (idk, I don't work with FXP anymore).

Hopefully this will get fixed.
[Xperia Play General] paxChristos:
Would a pmem test module (https://github.com/CyanogenMod/semc-kernel-msm7x30/commit/f15f0c689709dc1884c5cd7ab8cb47ad164e361c) help at all?

Pax
[Xperia Play General] nickholtus:
this problem is only for the sony ericsson hdpi devices

for mdpi it works fine
[Xperia Play General] KeiranFTW:
Nope, that's not it, because FXP's JB branch is the ICS one but with changes needed for JB.
[Xperia Play General] nickholtus:
can anyone make a zimage from me?

using this sources: https://github.com/CyanogenMod/semc-kernel-msm7x30/tree/jellybean

they added triple buffer etc. maybe we did something wrong:P
[Xperia Play General] Supervenom:
As Pax said in the OP it returns error when trying to compile.

EDIT: I think this is the commit that broke: https://github.com/CyanogenMod/semc-kernel-msm7x30/commit/03cfe147330905837710c9e512bf3fdb24322e7d
[Xperia Play General] paxChristos:
Use the ndk in Doom's git & use arm-eabi-4.4.3

Linaro runs into issues.
[Xperia Play General] Supervenom:
Here to you: http://dl.dropbox.com/u/21691972/zImage
[Xperia Play General] nickholtus:
thanks, but are you sure you cloned the repo with: git://github.com/CyanogenMod/semc-kernel-msm7x30.git -b jellybean

and not just git clone git://github.com/CyanogenMod/semc-kernel-msm7x30.git ????

because this isn't a good zimage
[Xperia Play General] Supervenom:
Yes, sure and I have compiled with cyanogen_zeus_defconfig
[Xperia Play General] paxChristos:
@Supervenom

You sure?

I just built it off a fresh clone & got this comparing our zImages (md5sum)

36f156f1b66523ca3c67c6d4782a36aa supervenom zImage

5a5a2ce4db223aa8ab801bb32bf63467 kernel/jb-fxp/arch/arm/boot/zImage

Type in git branch & check which branch you're on.

@Nickholtus -- Here's the zImage from my build (arm-eabi-4.4.3) of FXP's code (and yes, I git branch'd it to be sure I was on jellybean :P)

Pax
[Xperia Play General] Supervenom:
Me too with 4.4.3 (I used the AOKP one) and trust me it was jellybean (view attachment) .
[Xperia Play General] paxChristos:
You git pulled before building?

Pax
[Xperia Play General] Supervenom:
No, because I built soon after the download was finished. I'm on 64 bit, maybe this makes difference.
[Xperia Play General] paxChristos:
Nope, I'm on 64-bit, too.

Hmm... I did do make -j4

make (after a make clean) gave me this for md5sum

f751577ed8eaa81faad4335c66d4cb28 arch/arm/boot/zImage

Pax

(Weird ... :P)

Edit: @Nickholtus, you wanna post your ramdisk so we can just post full kernels in this thread?

Pax

Edit2: @Nickholtus, Do you want me to add in the dirty fixes from earlier? When I did it last time, the kernel would boot, but upon trying to enter CWM, it'd just turn off (or the screen would, I didn't test it too much :P )

Pax
[Xperia Play General] nickholtus:
thanks, i would try to upload the latest kernel later
[Xperia Play General] paxChristos:
If anybody else wants to build jb with the kernel being built while building the rom, you need to edit the Makefile in the base of the kernel directory.

(And remove the -o2 optimization from the Makefile as well to get rid of the false error regarding error #2 in building) (Does not fix it :( )

Pax
[Xperia Play General] Supervenom:
Ok but also in this way we will have a NOT working rom!
[Xperia Play General] nickholtus:
kamarush and i are fixing the last kernel issues later today:)

hopefully we have a fully booting jb rom tomorrow and then it is easy to fix most bugs (data is already working)
[Xperia Play General] Supervenom:
But why not to work on GitHub? In that way we could give you some help.
[Xperia Play General] nickholtus:
i can't push something to github becasue of my internet connection

it will take hours! to push everything (and i don't even have the souces here)

kamarush will push everything when the kernel is fully working
[Xperia Play General] Supervenom:
Ok, but if he pushes when it is fully working our help will be useless. However it's his decision.
[Xperia Play General] CosmicDan:
Are you guys helping with CM10 or is this a sort of "healthy/motivational competition" thing going on here?
[Xperia Play General] Supervenom:
I think we all have to collaborate to get JB working on Xperia 2011 lineup. Although I'm not an experienced developer for that reason I asked for sources. In particular due to my good hardware I can compile builds quite fast.
[Xperia Play General] paxChristos:
I think what you mean is that it would take forever to clone into a repository, otherwise, if you want one of us can clone FXP & then add you in as an admin on that repo so you could push the changes that way ;) (or if kamarush has a git pointing us in his direction would be nice ;) )

Pax
[Xperia Play General] szl.kiev:
Same thing with st18i build, after enabling triple buffer.

Kernel repo using github cm source jellybean branch.

Should we set the offset somewhere for the triple buffer?
[Xperia Play General] paxChristos:
We're waiting on either kamarush or nickholtus to throw us a bone (*cough**cough* git diff at the very least ;) ) that fixes that problem ;)

Pax
[Xperia Play General] muzadull:
Please tell me what ramdisk you are using,i've tried kamarush but it hangs on bootlogo and the screen has a flickering problem.And also what jelly bean rom you using,I've tried championwinner rom,it's not working.

I just hope the kernel i've compiled is a working one.
[Xperia Play General] paxChristos:
Got CM10 built & Installed, [sarcasm]1 minor problem[/sarcasm]:

Here's the logcat:

http://pastebin.com/baWpGdAa

Pax

Edit: Also, doesn't move past kernel splash screen, so like i said, minor problems

(tl;dr CM10 Gralloc, SchedPolicy, I/Netd (netd starting gets repeated a couple of times) are the big issues, currently)

Latest pre-alpha boots, but has issues with display

Pax
[Xperia Play General] paxChristos:
LightningDude found this (Much props to him) that we're missing from JB Ramdisks:

https://dl.dropbox.com/u/21955004/init.trace.rc

init.trace.rc...

once I get my CNA backup running i'm gonna do a little digging ...

Pax
[Xperia Play General] paxChristos:
Ok, sched policy errors were fixed with the attached kernel, now we're onto different ones.

Logcat: http://pastebin.com/2fTfB1v8

(Kernel)Dmsg Log: http://pastebin.com/fRjZ9dqn

gralloc is where the issues are :(

Pax
[Xperia Play General] aaron187:
I also had gralloc issues. Screen was black because of gpu allocation....
[Xperia Play General] paxChristos:
Here's where it's erroring out:

if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
ALOGE("FBIOPUT_VSCREENINFO failed");
m->base.unlock(&m->base, buffer);
return -errno;
}

./cm10/hardware/msm7k/libgralloc-qsd8k/framebuffer.cpp line 124

It's an issue of both kernel & rom-code

I just uploaded a kernel (attached) that "works" with a build of cm10

WARNING: STILL HAVING ISSUES WITH FRAME BUFFER!! SCREEN HAS ISSUES WHERE IT'LL FLASH HORIZONTALLY

Edit: Working on some more stuff, will hopefully release an updated kernel/ramdisk & updated CM10 later

Edit2: Do not use the kernel inside of this zip. use the attached one.

Pax
[Xperia Play General] IdeosDev:
maybe this help
[Xperia Play General] Smiley76:
let me know how it's going with the framebuffer errors.

I'm having a working JB on Xperia pro apart from that framebuffer thing (I had some ugly workaround that I saw was mentioned here earlier) but after enabling tripple buffers they don't work anymore ;)

Also.. have you found out why the APN-settings isn't stored?
[Xperia Play General] paxChristos:
Thanks for showing up Smiley, i've been following your's & Kamarush's progress in the mini-pro thread :D

If you don't mind me asking, what workarounds have you tried so far?

Pax

ps. I've had issues with APNs sticking on a couple different ics roms (cdma) :(
[Xperia Play General] muzadull:
Thank you.I will try that
[Xperia Play General] paxChristos:
If anybody wants to look over the logcat of what's going on when it's running:

http://pastebin.com/jhPQVvzY

Also, for CDMA user (I don't know about gsm) I'm getting baseband unknown currently :( (gonna try a cuople of things to fix it, tho)

Pax
[Xperia Play General] muzadull:
I think he means this:

--https://gist.github.com/3160669--
[Xperia Play General] lightningdude:
Running the cm10 posted on the previous page, and the kernel that was attached, I get this really weird problem. I was stuck on the boot animation for a long time, so I plugged my phone in to do a logcat. When I did, I was taken to the lockscreen. So I figured I'd unplug my phone to mess around a bit, but when I did, the phone went right back to the boot animation. I hurried up and plugged my phone back into my computer, and within 20 seconds, I'm back to the lockscreen.

Here's a logcat of plugging the charger back in while the boot animation is running. Be warned, it's long.
[Xperia Play General] paxChristos:
Latest kernel

Here's the latest kernel (attached)

Sources for kernel are at https://github.com/paxchristos/semc-kernel-msm7x30/tree/

config remains cyanogen_zeus_defconfig

and i'll update with a link to a newly built cm10 (tried fixing some stuff in framebuffer.cpp, but to no avail)

My guess is issues with ./cm10/hardware/msm7k/libgralloc (as supervenom pointed out to me) so if anybody has any ideas, i'm open to them.

Pax
[Xperia Play General] lightningdude:
The image offset in the split screen is greater than it was on the test 5 kernel. This leads me to think that the image problem is kernel related. I can't say for sure, though, as I'm no coder.

Edit: As had been discussed with pax before posting, I'm no longer receiving the E/gralloc errors.

Edit2: And just like the test 5 kernel, I get a reboot when I unplug the usb, but it goes right back to lockscreen when I plug it back in.
[Xperia Play General] Streykatorato:
Is the gralloc working now? haha.. cant get it installed lol... yes i know that this is a developer thread but the update-script says i need an R800x haha... lol... But seriously how am i going to get it to work... need to try out some Touchpad things...
[Xperia Play General] lightningdude:
I would have just edited my post with this one, but I figured it was worth its own post. CM10 won't mount the sdcard in the rom that pax uploaded, regardless of what kernel is running. After seeing JB running on another phone, and checking the logcat for this one, I believe there's a problem with a redirect in terms of how JB mounts the sdcard differently than ICS. Typically you'll see /mnt/sdcard in ICS, but in JB, at least on my Fascinate, it's at /storage/sdcard0.
[Xperia Play General] paxChristos:
Gimme an hour & I'll get zeus up.

Pax
[Xperia Play General] lightningdude:
It may not be throwing gralloc errors anymore, but there's some serious graphical glitching going on. That, coupled with the fact that I can't seem to keep the phone running unless it's plugged in, I think touchpads are the least of our problems. The update-script says R800x because of the sources that pax is using to build. If you can't figure out how to get past the update-script telling you which phone you need to have, this is definitely not something you should be downloading, much less attempting to run.
[Xperia Play General] Streykatorato:
Great Pax :) haha im from Norway so the clock is actually 01:57 AM... I dont wanna sleep... xD So this keeps me staying up a little bit more ;) Or all night :D
[Xperia Play General] Motawa88:
meaning you´re done?
[Xperia Play General] paxChristos:
I've been working on it since 11:30am central time, I stopped for the day around 6 pm, tomorrow I'll try a few new tweaks, but for now family time :D
[Xperia Play General] Streykatorato:
What about uploading zeus? Not getting past the update-script...
[Xperia Play General] paxChristos:
still building :P

(I'm building with a 2ghz dual core... it's taking longer than I thought :P)
[Xperia Play General] Streykatorato:
Well.. Atleast we are waiting for something good! :D
[Xperia Play General] paxChristos:
Uploading now approx 24 minutes remaining.

There is now a link in my signature for CM10 Alpha where i'll throw all the files.

Pax
[Xperia Play General] Streykatorato:
You are uploading CM10 alpha for zeus to mediafire now?
[Xperia Play General] paxChristos:
Now I am (lost internet connectin (really crappy dsl :( )

ETA: 34 minutes, if I don't lose internet again :(

Pax
[Xperia Play General] Streykatorato:
You are uploading it to mediafire now right? :P ;)

And btw... is there a new kernel now?... haha sorry.. im a bit happy right now lol...
[Xperia Play General] CosmicDan:
Good GOD man please stop bumping I'm wetting my pants here! When it's up it's up just wait!
[Xperia Play General] Streykatorato:
I know... stopping now....
[Xperia Play General] szl.kiev:
Pax, what is the latest progress you've got? Does the graphic over lapping error (flickering) wiped out?
[Xperia Play General] paxChristos:
It's going to mediafire, In either my signature or the OP, look for the CM10 pre-alpha hyperlink. That's the folder I'll put builds into.

No, it hasn't been fixed yet. I'm gonna try something nickholtus thought of tomorrow with a new kernel/rom release.

Remember, this is a pre-alpha, a lot of stuff does not work. Please logcat any errors you find, otherwise (unless it's something like baseband unknown) I WILL IGNORE THEM

Pax
[Xperia Play General] Leraeniesh:
Should we use ICS gapps, or is there a new breed for jellybean?