FORUMS

[ROM][JB][AOSP][4.1.2/JZO54K][DEV] Project Jellyzeus r5

5,840 posts
Thanks Meter: 7,719
 
By CosmicDan, Senior Member on 30th November 2012, 02:56 AM
Thread Closed Email Thread
What is it?

A pure(-ish) build of AOSP (code-frozen 4.1.2_r1/jb-mr0-release, a.k.a JZO54K) for the Xperia Play. It's as pure as can be, there are some fixes from CM10 (thanks J), SlimRom and myself needed to get everything working. But the framework and apps are 99% 90% AOSP, with changes specific to solving known Jellybean issues on our device. There are however some more extras, such as Google Apps preinstalled and maybe some other slight changes.



What's the point?

Designed for developers/chefs and testers, this has three major goals:
  1. Provide a good base to port other Jellybean ROM's to (in particular, my Turbo UI ROM)
  2. A good comparison with other JB ROM's to see what is and isn't broken (great for the second or third multiboot slot). E.g. if something crashes in Slimbean or PAC, try in this. Because it is "feature frozen" whereas CM10 and other JB ROM's keep adding new things that may break something (you know, it happens).
  3. Forward-port ICS/GB code to get more things working - like native xLoud and better Touchpad support.
This ROM is feature frozen. I will not add Notification Toggles. I will not add a Reboot option to power menu. I will not add *anything* unless it will benefit other JB ROM's/Developers or Turbo UI. Please don't request new fancy features that other JB ROM's already have - this is not the point of this ROM. Many of my developments have already made their way into wedgess PAC, cj360's SlimBean and/or FXP's CyanogenMod. Jellyzeus is a platform for my own research and improvements and I only released it for educational, development and comparison purposes.



If you want a more serious and useful ROM that is directly based on this, check out my MIUI based PatchROM build - Turbo UI.



Status?

Green: Complete
Brown: Has issues or untested
Red: Broken or not finished yet
  • Calls, texts, 3G for GSM (have not done heavy testing, needs more)
  • Multiboot-aware
  • All sensors (including proximity)
  • CDMA addon (beta, needs logcats if any problems)
  • Camera (Legacy) (Thanks to Wedgess) (No Panorama)
  • Browser and Web rendering
  • Sound with with decent stock-like headphone volume
  • xLOUD enabled (uses ICS Audio blobs from stock/prebuilt) (hack)
  • Google Apps included
  • Wifi
  • GPS / Location services
  • Touchpads (Lag reduced but not eliminated)
  • Bluetooth
  • Native Wifi Tether
  • Google Now Voice Search/Recognition
  • Video Recording (480p only - don't ask about 720p, not possible)
  • ?


Bugs/Important Info?

  • On a fresh install, all the tones are set to silent. Ringtone, Notification Tone and Alarm tone must be manually set. I have no idea what is causing this. Fixed.



Sources?

All of my source changes can, as always, be found on my GitHub (see my signature). Additionally, here are the details of my repo's - they are all original AOSP from 4.1.2_r1 tag, with the exception of these mentioned repo's - mostly for compatibility with QCOM hardware, as well as additional fixes and improvement's I've made. There are also various small patches to make to get it to build. Instructions for building from my sources can be found in post #2.

Source repo/patch details:
Code:
cosmicdan:
bootable/recovery/ (forked from cyanogenmod)
device/semc/msm7x30-common/ (forked from garwedgess)
frameworks/av/ (forked from AOSP)
frameworks/base/ (forked from AOSP) (jellyzeus branch)
frameworks/native/ (forked from AOSP)
hardware/libhardware/ (forked from slimroms, jb branch)
hardware/libhardware_legacy/ (forked from slimroms, jb branch)
libcore (forked from AOSP)
system/core/ (forked from AOSP) (jellyzeus branch)
vendor/semc/ (forked from garwedgess)

cyanogenmod:
build/
external/busybox/
external/bluetooth/bluez/
external/yaffs2/
external/zlib/
hardware/broadcom/wlan/
hardware/ril/
hardware/sony/DASH/
packages/apps/Gallery2/
packages/apps/LegacyCamera/
vendor/cm/
system/bluetooth/
system/netd/
system/vold/

garwedgess:
device/semc/msm7x30-common/
device/semc/zeus/
device/semc/zeus-common/

SlimRoms (branch):
external/chromium/ (jellybean)
external/webcore/ (jellybean)
hardware/msm7k/ (jb)
hardware/qcom/audio/ (jb)
hardware/qcom/gps/ (jb)
hardware/qcom/media/ (jb)
hardware/qcom/display/ (jellybean)



This patch for Guava incompatibility with OpenJDK -
https://github.com/CyanogenMod/android_external_guava/commit/c8b97210aa31c9b80b5fd136d8617ebe4e731e09

Use prebuilt kernel to save time and fix build complaining from missing kernel sources - 
Open /device/semc/zeus/BoardConfig.mk and remove the comment (#) symbol from TARGET_PREBUILT_KERNEL

Open vendor/cm/config/common.mk and comment out the three lines for Terminal, like so:
Code:
#PRODUCT_COPY_FILES +=  \

#vendor/cm/proprietary/Term.apk:system/app/Term.apk \
#vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so:system/lib/libjackpal-androidterm4.so




Credits?
  • CosmicDan, Kamarush and Irii for Turbo JB Kernel
  • Cyanogenmod and Jerpelea (FreeXperia)
  • Wedgess, cj360, paxChristos, KeiranFTW, Nickholtus, SuperVenom and Farenheith
  • Fellow members of MIUI Australia - LennyKano, FusionJack and Dekky
  • Special thanks to Amarullz (creator of Aroma Installer) and the XDA community


Download and Instructions?
  1. Flash Turbo JB kernel (recommended) and be sure to follow the instructions there. This ROM is multiboot-aware already, so feel free to install the ZIP from Slot 2 or 3.
  2. Install the ROM normally (in any slot you like if using multiboot)
Download latest ROM: zeus_aosp_412_r5.zip @ Mediafire
Download CDMA addon: zeus_aosp_412_cdma_r3.zip @ Mediafire (install after main ROM)



Changelog?


Code:
r5
--

 - Overhaul Telephony, Webkit, Bluetooth and Net framework
 - Additional property support from CyanogenMod (performance related)
 - Reverted Camera changes in r4
 - More things I can't remember. It's all on GitHub.


r4
--

 - Fixed Camera recording (480p only, 720p permanently removed due to bugs)
 - Fixed native App2SD
 - Numerous fixes/optimizations to Telephony and Media framework
 - Reverted ICS audio blobs


r3
--

 - New - hold volume buttons to skip music tracks
 - 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)
 - Fixed default tones being silent (Random fix)
 - Fixed Wifi signal indicator on statusbar (Framework issue)
 - Fixed GPS (was it ever broken? Google Maps and GPS Status lock fine)
 - Fixed Bluetooth (Update sources for BCM interface from CM10)
 - Patched services to not force minfree or adj values
 - Basic tweaks added to init.d, same used in MIUI Australia (minfree/adj/kernel tuning)
 - Updated Google Now to latest version (no longer crashes on voice input but simply fails)


r2
--

 - Additional video and audio native decoding support, thanks to CAF (such as H.263, WMV, MP3, etc)
 - Fixed root (replaced with Chainfire's SuperSU v0.99)
 - Fixed Proximity Sensor
 - Fixed rotation (accelerometer/orientation)
 - Fixed compass
 - Fixed ALS (automatic brightness)
 - Fixed Browser (replaced webKit core with prebuilt from SlimBean port, thanks cj360!)
 - Disable some debugging parameters to improve performance
 - Native Sony sound blobs and full xLoud support enabled
 - Replaced AOSP Keyboard with Nexus 4.2 version (smaller APK)
 - Removed unused content accidently included from CM10
 - Removed Google Calendar and returned original (more compatible with widgets, can get Google Calendar from Play Store anyway)


r1
--

 - Initial release
Screenshots?


No. It looks like AOSP (like CM10 but with much less features). If you only want to see what this ROM looks like, please move along it's for dev's and research purposes after all.
The Following 41 Users Say Thank You to CosmicDan For This Useful Post: [ View ] Gift CosmicDan Ad-Free
30th November 2012, 03:17 AM |#2  
CosmicDan's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 7,719
 
Donate to Me
More
This post is reserved for build instructions.
The Following 9 Users Say Thank You to CosmicDan For This Useful Post: [ View ] Gift CosmicDan Ad-Free
30th November 2012, 04:15 AM |#3  
JunDavis's Avatar
Senior Member
Flag Crestview
Thanks Meter: 136
 
More
Really looking forward for this! First!

Sent from my R800i using xda app-developers app

---------- Post added at 05:15 AM ---------- Previous post was at 04:28 AM ----------

I don't really have any ideas on the kernel panic, but I'll keep thinking.

Sent from my R800i using xda app-developers app
30th November 2012, 04:43 AM |#4  
CosmicDan's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 7,719
 
Donate to Me
More
I figured it out, same problem as the webcore glitches. QCOM tile renderer is not fully ported yet. WOOO one-man think tank! :P
The Following 5 Users Say Thank You to CosmicDan For This Useful Post: [ View ] Gift CosmicDan Ad-Free
30th November 2012, 04:47 AM |#5  
JunDavis's Avatar
Senior Member
Flag Crestview
Thanks Meter: 136
 
More
Quote:
Originally Posted by CosmicDan

I figured it out, same problem as the webcore glitches. QCOM tile renderer is not fully ported yet. WOOO one-man think tank! :P

+ A Half Wit

Sent from my R800i using xda app-developers app
30th November 2012, 04:57 AM |#6  
CosmicDan's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 7,719
 
Donate to Me
More
You're only a halfwit when you complain or flame the dev's :P
30th November 2012, 05:14 AM |#7  
Binary_File's Avatar
Member
Flag México D.F
Thanks Meter: 16
 
More
The camera works fine. The automatic rotation doesn't work.
30th November 2012, 05:27 AM |#8  
CosmicDan's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 7,719
 
Donate to Me
More
Quote:
Originally Posted by Binary_File

The camera works fine. The automatic rotation doesn't work.

Erm... Camera doesn't work. Automatic rotation is a minor framework issue, not a priority right now. Main things are camera and web browser (which are graphics related).
30th November 2012, 07:52 AM |#9  
pmb1903's Avatar
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by CosmicDan

This post is for detailed status and (when available) source-code links and summaries of changes.

kmsg dump of the kernel panic when trying to start legacy camera:

Code:
Switching from ACPU rate 768000 KHz -> 1024000 KHz

Enabling PLL 2

Disabling PLL 1

ACPU speed change complete

msm_enqueue: queue event new max is 1

msm_enqueue: queue control new max is 1

msm_pp_release: pp not in progress for 0

Unable to handle kernel NULL pointer dereference at virtual address 00000000

pgd = 81180000

[00000000] *pgd=01376031, *pte=00000000, *ppte=00000000

Internal error: Oops: 80000007 [#1] PREEMPT

last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state

Modules linked in:

CPU: 0    Tainted: G        W   (2.6.32.9-KRsH-irii #1)

PC is at 0x0

LR is at msm_ioctl_config+0x10d8/0x12b4

pc : [<00000000>]    lr : [<803e5198>]    psr: 60000013

sp : 8c135e68  ip : 00000014  fp : 8c135edc

r10: 2c72490c  r9 : 8c134000  r8 : 8003712c

r7 : 40046d1b  r6 : 2c72490c  r5 : 2c72490c  r4 : 80e6d0d8

r3 : 00000000  r2 : 0000002b  r1 : 00000000  r0 : 8c135e84

Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user

Control: 10c57c7d  Table: 01380059  DAC: 00000015



LR: 0x803e5118:

5118  fffffe00 e1a0200d e3c23d7f e3c3303f e24b0070 e5933008 e2952004 30d22003

5138  33a03000 e3530000 1a000005 e1a01005 e3a02004 ebfaf31b e3500000 0a000008

5158  ea000001 e3a01004 ebfafc46 e51f0064 e3002854 e51f1074 e51f3068 eb06ce30

5178  ea00003e e5943000 e51b1070 e5932080 e59330c4 e592205c e5920000 e12fff33

5198  eafffc1e e51f00a0 e5947000 e3500010 9a000004 e3a010d0 ebf5798b e2506000

51b8  1a000001 ea000002 e1a06000 e3a03001 e5863030 e1a0c00d e3cc3d7f e3c3303f

51d8  e286003c e5933008 e2952004 30d22003 33a03000 e3530000 1a000005 e1a01005

51f8  e3a02004 ebfaf2ef e2504000 0a000017 ea000001 e3a01004 ebfafc1a e51f0114



SP: 0x8c135de8:

5de8  00000000 80d9c000 800d8624 80114318 80c0ca40 00000000 ffffffff 8c135e54

5e08  2c72490c 40046d1b 8c135edc 8c135e20 80036bb0 80036308 8c135e84 00000000

5e28  0000002b 00000000 80e6d0d8 2c72490c 2c72490c 40046d1b 8003712c 8c134000

5e48  2c72490c 8c135edc 00000014 8c135e68 803e5198 00000000 60000013 ffffffff

5e68  8c135ecc 8c135e78 801303fc 8012d1bc 00000032 00000000 00000000 0000002b

5e88  2c57000c 2c724900 000004cc 81180b10 00000133 00000000 00000000 8c130128

5ea8  00000200 8c156420 8c135ecc 8c029a00 803e40c0 2c72490c 40046d1b 8003712c

5ec8  8c134000 2c72490c 8c135efc 8c135ee0 80157698 803e40cc 2c72490c 8c029a00



FP: 0x8c135e5c:

5e5c  00000000 60000013 ffffffff 8c135ecc 8c135e78 801303fc 8012d1bc 00000032

5e7c  00000000 00000000 0000002b 2c57000c 2c724900 000004cc 81180b10 00000133

5e9c  00000000 00000000 8c130128 00000200 8c156420 8c135ecc 8c029a00 803e40c0

5ebc  2c72490c 40046d1b 8003712c 8c134000 2c72490c 8c135efc 8c135ee0 80157698

5edc  803e40cc 2c72490c 8c029a00 40046d1b 0000001b 8c135f7c 8c135f00 80158160

5efc  80157668 80036340 8003eb18 80e2b6c0 00000002 8017a404 801482c4 cf397500

5f1c  00000020 00000000 00000000 00000003 2c7245b0 ceaa1b00 2c7245b0 00000003

5f3c  00000000 8c135f6c 8c135f50 ceaa1b00 00000002 0000001b 2c72490c 8c029a00



R0: 0x8c135e04:

5e04  8c135e54 2c72490c 40046d1b 8c135edc 8c135e20 80036bb0 80036308 8c135e84

5e24  00000000 0000002b 00000000 80e6d0d8 2c72490c 2c72490c 40046d1b 8003712c

5e44  8c134000 2c72490c 8c135edc 00000014 8c135e68 803e5198 00000000 60000013

5e64  ffffffff 8c135ecc 8c135e78 801303fc 8012d1bc 00000032 00000000 00000000

5e84  0000002b 2c57000c 2c724900 000004cc 81180b10 00000133 00000000 00000000

5ea4  8c130128 00000200 8c156420 8c135ecc 8c029a00 803e40c0 2c72490c 40046d1b

5ec4  8003712c 8c134000 2c72490c 8c135efc 8c135ee0 80157698 803e40cc 2c72490c

5ee4  8c029a00 40046d1b 0000001b 8c135f7c 8c135f00 80158160 80157668 80036340



R4: 0x80e6d058:

d058  80e6d054 00000000 00000000 8080e260 00000000 00000002 00000001 00000000

d078  805d9458 80e2b7a4 80e2b7a4 0ee00001 00000001 00000001 80e6d0d8 00000000

d098  00000000 80e6d09c 80e6d09c 00000000 00000000 8080e260 00000000 00000001

d0b8  00000001 00000000 805d94c0 80e6d0c4 80e6d0c4 0ee00002 00000001 00000000

d0d8  cb099500 00000000 80e6d0e0 80e6d0e0 80e6d0e8 80e6d0e8 00000001 00000000

d0f8  80719017 80e6d0fc 80e6d0fc 80e6d104 80e6d104 00000000 00000000 80728fea

d118  00000000 80e6d11c 80e6d11c 80e6d124 80e6d124 00000000 00000000 80728ff0

d138  00000000 80e6d13c 80e6d13c 80e6d144 80e6d144 00000000 00000000 80728ff5



R8: 0x800370ac:

70ac  e24fef6d 3798f107 e28d1008 e3a08000 e357080f e2270000 2a0011ff ea02873c

70cc  e1a02007 e28d1008 e3a00000 eb000925 e28fe014 e1a07000 e28d1008 e3570e17

70ec  3891000f 3798f107 eaffffef e5ad0008 e1a02007 e1a0100d e3a00001 eb000919

710c  eaffff90 e320f000 e320f000 e320f000 e320f000 807e8a98 8080bf00 800377a8

712c  800ceacc 800bf904 80037714 80148fcc 80149048 801482f0 80146848 800d8dc0

714c  80148340 801560cc 80155e88 80037724 80147c5c 800d8dc0 80155cec 80147f4c

716c  800eb148 800d8dc0 800d8dc0 801488f4 800cb73c 80164720 800d8dc0 800eb230

718c  800eb644 800d8dc0 800c70b4 800d8dc0 800d8dc0 800cfc0c 800d8dc0 800d8dc0



R9: 0x8c133f80:

3f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

3fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

3fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

3fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

4000  00000000 00000002 00000000 8c156420 807fdff8 00000000 00000017 8119faa0

4020  8119faa0 8c134000 8c1565cc 811fa1c0 00000000 8c156420 8c135e6c 8c135e20

4040  8059e334 00000000 00000000 00000000 00000000 00000000 01010000 00000000

4060  2c724f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Process Binder_1 (pid: 1156, stack limit = 0x8c1342f0)

Stack: (0x8c135e68 to 0x8c136000)

5e60:                   8c135ecc 8c135e78 801303fc 8012d1bc 00000032 00000000

5e80: 00000000 0000002b 2c57000c 2c724900 000004cc 81180b10 00000133 00000000

5ea0: 00000000 8c130128 00000200 8c156420 8c135ecc 8c029a00 803e40c0 2c72490c

5ec0: 40046d1b 8003712c 8c134000 2c72490c 8c135efc 8c135ee0 80157698 803e40cc

5ee0: 2c72490c 8c029a00 40046d1b 0000001b 8c135f7c 8c135f00 80158160 80157668

5f00: 80036340 8003eb18 80e2b6c0 00000002 8017a404 801482c4 cf397500 00000020

5f20: 00000000 00000000 00000003 2c7245b0 ceaa1b00 2c7245b0 00000003 00000000

5f40: 8c135f6c 8c135f50 ceaa1b00 00000002 0000001b 2c72490c 8c029a00 40046d1b

5f60: 0000001b 8003712c 8c134000 00000000 8c135fa4 8c135f80 801581f8 80157c28

5f80: 00000001 00000001 2c5762d8 2c569740 2c724934 00000036 00000000 8c135fa8

5fa0: 80036f00 801581c0 2c5762d8 2c569740 0000001b 40046d1b 2c72490c 2c7248fc

5fc0: 2c5762d8 2c569740 2c724934 00000036 2c574dd8 000e1000 0006ae00 000002f8

5fe0: 2c53930c 2c7248e0 2ab49cfd 2ab2ebd4 00000010 0000001b ff706766 ff746a6a

Code: bad PC value

[audio_out.c:audio_dsp_event] PCMDMAMISSED 32
Nnvh  vdnnbolllicb.o vk
---[ end trace 1b75b31a2719ed1e ]---

Kernel panijbimvhyc - not syncing: Fatal exception

[<8003d83c>] (unwind_backtrace+0x0/0xd8) from [<80598164>] (dump_stack+0x20/0x24)

[<80598164>] (dump_stack+0x20/0x24) from [<80598978>] (panic+0x6c/0x130)

[<80598978>] (panic+0x6c/0x130) from [<8003b5c4>] (die+0x17c/0x1a8)

[<8003b5c4>] (die+0x17c/0x1a8) from [<805981cc>] (__do_kernel_fault.part.2+0x64/0x74)

[<805981cc>] (__do_kernel_fault.part.2+0x64/0x74) from [<8003ecf8>] (do_page_fault+0x1ec/0x204)

[<8003ecf8>] (do_page_fault+0x1ec/0x204) from [<80036340>] (do_PrefetchAbort+0x44/0xa8)

[<80036340>] (do_PrefetchAbort+0x44/0xa8) from [<80036bb0>] (__pabt_svc+0x50/0xa0)

Exception stack(0x8c135e20 to 0x8c135e68)

5e20: 8c135e84 00000000 0000002b 00000000 80e6d0d8 2c72490c 2c72490c 40046d1b

5e40: 8003712c 8c134000 2c72490c 8c135edc 00000014 8c135e68 803e5198 00000000

5e60: 60000013 ffffffff

[<80036bb0>] (__pabt_svc+0xiy. Mkz50/0xa0) fro . [<803e5198>] (msm_ioctl_config+0x10d8/0x12b4)

[<803e5198>must  (msm_ioctl_config+0x10d8/0x12b4) from [<80157698>] (vfs_ioctl+0x3c/0x9c)
Mk
[<80157x cg:banghead: mixvkok698>]
(vfs_ioctl+0x3c/0x9c) from [<80158160>]r (do_vfs_ioctl+0x54oftu 4/0x598)
? Ggbf yourself g6c6uukt:rolleyes:lmng
[<80158160>] (do_vfsvkrjvj_ioctl+0x544/0x598) from [<8y01581f8>]y (sys_ioctl+0x44/0x70)

[<801581f8>] (sys_ioctl+0x44/0x70) from [<80036f00>] (ret_fast_syscall+0x0/0x2c)
:
&@[email protected]:*Binder_1*
Gvnm .:df
Rebooteing in 1 seconds..

smd_close(RPCCALL)mm l nuik
:what::thumbdown:

I think the interesting part is this:
Code:
Code: bad PC value
[audio_out.c:audio_dsp_evju:jnj çgigyaent] PCMDMAMISSED 32
d .mzk
Y
I've done some research and apparently this is some kind of deadlock, but from what i do nott know.



Sent from my FIH-FB0 using xda premium
30th November 2012, 08:25 AM |#10  
CosmicDan's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 7,719
 
Donate to Me
More
I found the problem, both camera and browser should be fixed this weekend. Was not using latest fixed QCOM hardware sources for display (specifically, TileRendering support).
The Following 4 Users Say Thank You to CosmicDan For This Useful Post: [ View ] Gift CosmicDan Ad-Free
1st December 2012, 03:37 AM |#11  
JunDavis's Avatar
Senior Member
Flag Crestview
Thanks Meter: 136
 
More
Proximity mught be in the libs.
/system/lib/libssensorservice.so
Or something like that. Maybe..
Sent from my Xperia Play using xda app-developers app
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes