• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][CDMA+GSM][JB] SlimBean for Xperia Play [last updated 2nd Feb 2013]

Search This thread

cj360

Senior Member
Oct 24, 2011
1,332
709
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"][/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because your phone 
* bootloops and alarm does not go off. Please do some research if you have any  
* concerns about features included in my ROM before using it! YOU and only 
* YOU are choosing to make these modifications.
*/

[COLOR="Magenta"]#if[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience you [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]




I thought I would try to build a rom from source and I wanted to try one that might be faster or at least really small. Rom itself only takes up 24mb on internal storage!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Working:
  • Both CDMA and GSM Networks are working (tell me if GSM isn't)
  • Rotation
  • Camera! Thx to wedgess!
  • Bluetooth (should be I don't have devices to test with)
  • Wifi
  • Root
  • USB Mass Storage or MTP if your using wedgess' or cosmicdans' kernel
  • GPS
  • TouchScreen
  • Advanced Slim Settings (A.S.S)
  • Video playback is just as buggy as other JB roms.i
  • Multiboot (also specific to cosmicdans' or wedgess' kernel


Not working yet:

  • [*] Camcorder is still broken on the latest build but Camera is working 100%
  • Camera and Camcorder work on wedgess' & cosmicdans' kernels
  • OTA causes Settings to force close. So DON'T TOUCH IT! I should remove it but I'm lazy
  • Something I missed? Don't be shy tell me in the thread!



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Install:

  • You must have an [BIG]UNLOCKED BOOTLOADER[/BIG] if you were wondering
  • Perform the usual nandroid backup of your working set-up.
  • Use LuPus V3 or Turbo JB Kernel
  • Wipe data
  • Wipe cache
  • Wipe Dalvik cache
  • Format System ( found in mounts & storage in CWM )
  • Flash ROM from the DOWNLOADS section in the 2nd post
Huge thanks to CM, FXP, KXP, SlimBean's github, Slimrom's homepage whose work and sources made this possible.
paxChristos for his cdma fix on jellybean
Multiple developers on the Xperia play forums

And if anyone is interested in what I changed from CyanogenMod's device trees to make this compile, then here's my github:
https://github.com/cj360


 
Last edited:

cj360

Senior Member
Oct 24, 2011
1,332
709
~~ 02--03--13 ~~
Changelog:
* latest version of slimbean
* camera and gallery2 are combined like they should be so there's only one camera icon and it works like it should

Downloads:
GSM via Mediafire: http://www.mediafire.com/download.php?4jsvlxev19d094i


CDMA via Mediafire: http://www.mediafire.com/download.php?744ybcs5mn26abr



~~ 12--16--12 ~~
Changelog:
* latest version of slimbean
* updated touchpad fix, should* work with more games no guarantees
* camera & camcorder are working via legacy camera app

Downloads:
GSM via Mediafire: http://www.mediafire.com/?cp56pzoca3m0cn1


CDMA via Mediafire: http://www.mediafire.com/?6tesq78n5zxbnqp


~~ 11--16--12 ~~
Changelog:
* updated to slimbean 3.0 new features from slimroms.net including new lockscreens and more
* fixed camera preview and taking pictures work like they should
* panorama & camcorder are still broken w.i.p.

Downloads:
GSM via Mediafire: http://www.mediafire.com/?5bu25y8ytixc01d


CDMA via Mediafire: http://www.mediafire.com/?f28cpjt79fdlos7

Older downloads are still there simply go to my SlimBean folder on Mediafire



~~ 11--10--12 ~~
Changelog:
Fixed Mirror Issue in certain apps and the frame lock issue
no more need for lagfix.zip!



~~ 11-6-12 ~~
first build

bug I forgot to mention: slight mirror effect in multiple apps ie if you watch a flash based video in the gallery app and there's black borders cause the video doesn't fit the screen exactly, the video will be mirrored in these borders.






~~~ Addons ~~~

Use this gapps (I see slim gapps is starting to have issues)
Gapps

Some flashable mods, thanks to Leraeniesh for the tip

http://forum.xda-developers.com/showpost.php?p=32177449&postcount=3
 
Last edited:

game_guy

Senior Member
Jun 24, 2012
147
27
Very nice! I'm definitely going to try this out. 24MB is freaking tiny for a ROM. :3 I'll get back to you on results.
 

cj360

Senior Member
Oct 24, 2011
1,332
709
I can try porting GSM version...







Wouldn't it be better to help cj's source builds? Splitting/kanging the project is not the best idea.

Sent from Xperia Play (R800a) with Tapatalk

If want to sure, but like Dan said it might be easier for me since I just need to change from Zeusc to Zeus. Let me know if you really want to otherwise I'll probably be putting up a version for gsm users.


Sent from my Xperia Play
 
  • Like
Reactions: saqibkhan

CosmicDan

Senior Member
Jun 19, 2009
5,890
7,736
34
Sydney
Google Pixel 3 XL
Xiaomi Poco X3 Pro
Good luck with the kernel thing, I got no idea lol...

Maybe a GSM port wouldn't be so bad. Since I would like to make an MIUI5 based on this, if we can just replace libs and/or hack the framework smali to use GSM, that would make MIUI5 easier to support both CDMA and GSM.

Or even if, when you get around to it - build one GSM version and if I find the differences in framework and libs myself then you wouldn't have to worry about building twice every time. For once it'll be a ROM which is CDMA built and needs a GSM Patch instead of the other way around :p
 

cj360

Senior Member
Oct 24, 2011
1,332
709
I use cm10 sources for the kernel maybe that will have a better outcome.
Sent from my Xperia Play
 
Last edited:

MGSBigBoss

Senior Member
Jun 28, 2012
310
38
It looks like sechko made a thread for this port already for gsm

Sent from my R800x using xda app-developers app
 

cj360

Senior Member
Oct 24, 2011
1,332
709
Noticed after I posted, hoping to include wedges' camera fix as well if I can figure out recovery. Probably work on it this weekend.
 

MGSBigBoss

Senior Member
Jun 28, 2012
310
38
Sounds good I'm actually waiting for the next release before I decide to download and try it out. I was waiting for milestone 1 for aokp.. I haven't tried pacman.. I plan on using this one

Sent from my R800x using xda app-developers app
 

CosmicDan

Senior Member
Jun 19, 2009
5,890
7,736
34
Sydney
Google Pixel 3 XL
Xiaomi Poco X3 Pro
Heya bro I finally got a chance to try this out, awesome sauce really. I built my own kernel based on KRsH (same as the MIUI Oz ROM) and manually updated genlock/fb code for Jellybean, super fast! But I had a few issues with the ROM, kept failing on buffer locks and falling back to software rendering (whenever you scroll). Here's the log:

Code:
?: E/libgenlock(462): perform_lock_unlock_operation: GENLOCK_IOC_DREADLOCK failed (lockType0x1,err=Connection timed out fd=51)
?: W/Adreno200-EGLSUB(462): <GetBackBuffer:2121>: genlock_lock_buffer GENLOCK_WRITE_LOCK failed
?: W/Adreno200-ES20(462): <gl2_surface_swap:43>: GL_OUT_OF_MEMORY
?: W/Adreno200-EGL(462): <qeglDrvAPI_eglSwapBuffers:3477>: EGL_BAD_ALLOC
?: W/HardwareRenderer(462): EGL error: EGL_BAD_ALLOC
?: W/HardwareRenderer(462): Mountain View, we've had a problem here. Switching back to software rendering.

And I solved it by using all these files from latest CM10 ROM:
Code:
lib\libgenlock.so               
lib\libGLESv1_CM.so             
lib\libGLESv2.so                
lib\libGLES_trace.so            
lib\egl\egl.cfg                 
lib\egl\eglsubAndroid.so        
lib\egl\libEGL_adreno200.so     
lib\egl\libGLESv1_CM_adreno200.so
lib\egl\libGLESv2S3D_adreno200.so
lib\egl\libGLESv2_adreno200.so  
lib\egl\libGLES_android.so      
lib\egl\libq3dtools_adreno200.so
lib\hw\audio.a2dp.default.so    
lib\hw\audio.primary.default.so 
lib\hw\audio.primary.msm7x30.so 
lib\hw\audio_policy.default.so  
lib\hw\audio_policy.msm7x30.so  
lib\hw\camera.semc.so           
lib\hw\copybit.msm7x30.so       
lib\hw\gps.goldfish.so          
lib\hw\gps.semc.so              
lib\hw\gralloc.default.so       
lib\hw\gralloc.msm7x30.so       
lib\hw\hwcomposer.msm7x30.so    
lib\hw\keystore.default.so      
lib\hw\lights.semc.so           
lib\hw\local_time.default.so    
lib\hw\power.default.so         
lib\hw\sensors.default.so       
lib\hw\sensors.goldfish.so

And now it's ultra-smooth and fast. I did not flash the lagfix by the way.

Anyway, if you want to look at my kernel i just pushed the last changes to my GitHub - under KRsH repo, jellybean branch. Remember that this is NOT a CM10 kernel! It is based on my KRsH-based stock ICS kernel with Jellybean updates ;) it also has a ramdisk in there too with my own minor mods. Another thing to note is that it has 280MB on system and 8MB on cache and the ramdisk will symlink /cache/dalvik-cache to /data/dalvik-cache. So a full format/FTF flash will be required if you don't remove the mtdparts from kernel commandline.

Cheers! Now to start working on MIUI5....
 

cj360

Senior Member
Oct 24, 2011
1,332
709
Sounds awesome! I have a break between my classes maybe i can futx with it.

Sent from my Xperia Play


that's weird that you had the issue with the failing buffer locks. the first build has that issue which is why I added the lagfix, but I build with cm's hardware and I couldn't get what was causing it.

Here's the next beta build. It doesn't need the lagfix from aokp any more and I'm pretty sure the frame buffer issue was something from slimbean and I believe they fixed it.
http://www.mediafire.com/?8ojp4loittohamu

I'll be editing the 2nd post so it has the downloads and maybe clean up the OP Friday or Saturday.
 
Last edited:

MGSBigBoss

Senior Member
Jun 28, 2012
310
38
Sounds awesome! I have a break between my classes maybe i can futx with it.

Sent from my Xperia Play


that's weird that you had the issue with the failing buffer locks. the first build has that issue which is why I added the lagfix, but I build with cm's hardware and I couldn't get what was causing it.

Here's the next beta build. It doesn't need the lagfix from aokp any more and I'm pretty sure the frame buffer issue was something from slimbean and I believe they fixed it.
http://www.mediafire.com/?8ojp4loittohamu

I'll be editing the 2nd post so it has the downloads and maybe clean up the OP Friday or Saturday.

Does this include the lines that cosmicdan posted few posts up?

Sent from my R800x using xda app-developers app
 

cj360

Senior Member
Oct 24, 2011
1,332
709
I'm trying to build a kernel from his sources if that's what you mean. Between cm10's hardware and slimbean'srecent update those errors should be gone. Also for whatever reason slimbean likes the older GB music player, I don't so apollo, Trebuchet, and cm10's new file manager will be included in the next build.
 

MGSBigBoss

Senior Member
Jun 28, 2012
310
38
Hey cj do you think you can add the Xperia s or another keyboard instead of the crappy small default jb/ics one?

Sent from my R800x using xda app-developers app
 
  • Like
Reactions: xpatisonx

Top Liked Posts

  • There are no posts matching your filters.
  • 79
    Code:
    [COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"][/COLOR]
    [COLOR="Blue"]/*
    * Your warranty is now void.. LOL I guess you knew it already.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because your phone 
    * bootloops and alarm does not go off. Please do some research if you have any  
    * concerns about features included in my ROM before using it! YOU and only 
    * YOU are choosing to make these modifications.
    */
    
    [COLOR="Magenta"]#if[/COLOR]
    You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
    Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
    experience you [COLOR="DarkRed"]problems[/COLOR]
    [COLOR="Magenta"]#endif[/COLOR][/COLOR]




    I thought I would try to build a rom from source and I wanted to try one that might be faster or at least really small. Rom itself only takes up 24mb on internal storage!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Working:
    • Both CDMA and GSM Networks are working (tell me if GSM isn't)
    • Rotation
    • Camera! Thx to wedgess!
    • Bluetooth (should be I don't have devices to test with)
    • Wifi
    • Root
    • USB Mass Storage or MTP if your using wedgess' or cosmicdans' kernel
    • GPS
    • TouchScreen
    • Advanced Slim Settings (A.S.S)
    • Video playback is just as buggy as other JB roms.i
    • Multiboot (also specific to cosmicdans' or wedgess' kernel


    Not working yet:

    • [*] Camcorder is still broken on the latest build but Camera is working 100%
    • Camera and Camcorder work on wedgess' & cosmicdans' kernels
    • OTA causes Settings to force close. So DON'T TOUCH IT! I should remove it but I'm lazy
    • Something I missed? Don't be shy tell me in the thread!



    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    Install:

    • You must have an [BIG]UNLOCKED BOOTLOADER[/BIG] if you were wondering
    • Perform the usual nandroid backup of your working set-up.
    • Use LuPus V3 or Turbo JB Kernel
    • Wipe data
    • Wipe cache
    • Wipe Dalvik cache
    • Format System ( found in mounts & storage in CWM )
    • Flash ROM from the DOWNLOADS section in the 2nd post
    Huge thanks to CM, FXP, KXP, SlimBean's github, Slimrom's homepage whose work and sources made this possible.
    paxChristos for his cdma fix on jellybean
    Multiple developers on the Xperia play forums

    And if anyone is interested in what I changed from CyanogenMod's device trees to make this compile, then here's my github:
    https://github.com/cj360


    36
    ~~ 02--03--13 ~~
    Changelog:
    * latest version of slimbean
    * camera and gallery2 are combined like they should be so there's only one camera icon and it works like it should

    Downloads:
    GSM via Mediafire: http://www.mediafire.com/download.php?4jsvlxev19d094i


    CDMA via Mediafire: http://www.mediafire.com/download.php?744ybcs5mn26abr



    ~~ 12--16--12 ~~
    Changelog:
    * latest version of slimbean
    * updated touchpad fix, should* work with more games no guarantees
    * camera & camcorder are working via legacy camera app

    Downloads:
    GSM via Mediafire: http://www.mediafire.com/?cp56pzoca3m0cn1


    CDMA via Mediafire: http://www.mediafire.com/?6tesq78n5zxbnqp


    ~~ 11--16--12 ~~
    Changelog:
    * updated to slimbean 3.0 new features from slimroms.net including new lockscreens and more
    * fixed camera preview and taking pictures work like they should
    * panorama & camcorder are still broken w.i.p.

    Downloads:
    GSM via Mediafire: http://www.mediafire.com/?5bu25y8ytixc01d


    CDMA via Mediafire: http://www.mediafire.com/?f28cpjt79fdlos7

    Older downloads are still there simply go to my SlimBean folder on Mediafire



    ~~ 11--10--12 ~~
    Changelog:
    Fixed Mirror Issue in certain apps and the frame lock issue
    no more need for lagfix.zip!



    ~~ 11-6-12 ~~
    first build

    bug I forgot to mention: slight mirror effect in multiple apps ie if you watch a flash based video in the gallery app and there's black borders cause the video doesn't fit the screen exactly, the video will be mirrored in these borders.






    ~~~ Addons ~~~

    Use this gapps (I see slim gapps is starting to have issues)
    Gapps

    Some flashable mods, thanks to Leraeniesh for the tip

    http://forum.xda-developers.com/showpost.php?p=32177449&postcount=3
    12
    Even though this is dead and I'm not working on it anymore figured I'd put this here so everyone that wants to can see it.
    My contract with verizon ends in June so that means new phone! I don't know what I'm getting next other than something from best buy that's free with another 2yr contract. Which means the development I've been working on for the play will stop. I may come back later if I learn more C to help in kernel development but otherwise, it's been fun everyone!
    9
    Yeah, I didn't see anyone thank me. Meh, that's XDA for ya. Glad I'm leaving TBH :silly:
    8
    Time to update! Finished the cdma version, just have to build the gsm version & upload them.