Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,098 Members 46,741 Now Online
XDA Developers Android and Mobile Development Forum

recaf - CAF enhanced AOSP for Xperia SP

Tip us?
 
adfad666
Old
(Last edited by adfad666; 13th December 2013 at 05:17 PM.)
#1  
adfad666's Avatar
Recognized Developer - OP
Thanks Meter 4143
Posts: 718
Join Date: Jul 2011
Location: Olomouc

 
DONATE TO ME
Default recaf - CAF enhanced AOSP for Xperia SP

Hello Boys and Girls,

Everyone at XDA loves AOSP based projects. However AOSP is designed only for the Nexus devices. For most other devices, a significant ammount of extra code needs to be added for them to run properly. For Qualcomm devices, most of this extra code is supplied by the Code Aurora Forums. Here you can find a variant of AOSP that is not only designed specifically for Qualcomm based devices, but it also includes various tricks and enhancements.

So today I'm introducing a little project I've been cooking up for myself, which might also be interesting for other Xperia SP users.

It's called recaf - adding the CAF optimizations back into your AOSP rom.

This is now based on Android 4.4 KitKat. On the surface, it looks almost exactly like pure AOSP as provided by Google. You wouldn't know just by looking at it, but under the surface there are lots of changes to dalvik, the frameworks and the hardware drivers to massively improve battery life.

However, pure AOSP sometimes feels a little bit featureless compared to advanced roms such as CyanogenMod, so I have included a few basic tweaks that I feel make life easier when using an AOSP-like rom:
  • CyanogenMod camera app - because AOSP camera app is rubbish
  • CyanogenMod cLock widget - because it's actually pretty nice
  • Integrated Superuser - it's right there in the settings menu!
  • exFAT and NTFS - needed for larger SDCards
  • Multicoloured notification lights - AOSP gives us white lights only
  • Quick settings - easily accessible by swiping down the right side of the status bar
  • Advanced reboot - Always available in the power menu
  • ADB and SU security - root access is disabled by default

So without further delay, here is your download link:

recaf-4.K1-20131212-huashan.zip
recaf-4.K1-20131207-huashan.zip
recaf-4.K1-20131202-huashan.zip
recaf-4.K1-20131129-huashan.zip
recaf-4.K1-20131127-huashan.zip

I assume you will also want to install GAPPS, the version I recommend is the FULL version created by the Paranoid Android team from THIS THREAD.

For your first install you will need to flash the boot.img from inside the zip - SELinux changes for Android 4.4 will cause the zip to fail on other recoveries.

If you want to chat about recaf, join the Freenode IRC chat room #recaf.

recaf-4.J3-20131110-huashan.zip
recaf-4.J3-20131113-huashan.zip
pa_gapps-full-4.3-GH-20131112.zip
The dawn of mobile phones
Ericsson GA 628 => Nokia 5110 => Siemens C35i => Siemens C45

The age of colour screens and polyphonic ringtones
Motorola C350 => Sony Ericsson T610 => Sony Ericsson T630 => Sony Ericsson K790i => Sony Ericsson T250i

The age of Android
LG Optimus One => Sony XPERIA J => Sony XPERIA SP => Sony XPERIA Z1 Compact
The Following 41 Users Say Thank You to adfad666 For This Useful Post: [ Click to Expand ]
 
adfad666
Old
(Last edited by adfad666; 2nd December 2013 at 10:28 PM.)
#2  
adfad666's Avatar
Recognized Developer - OP
Thanks Meter 4143
Posts: 718
Join Date: Jul 2011
Location: Olomouc

 
DONATE TO ME
Known Major Bugs
  • Location services are currently broken for certain apps. fixed in 4.K1.
  • GSM data sometimes (very rarely) randomly disconnects until reboot - I need help to determine what causes this. If you can reliably reproduce this, let me know.
  • Android RunTime (ART) will fail at boot time fixed.

Known Minor Bugs
  • WiFi does not connect to WPA secured networks. WPA2 security works as expected.
  • For Superuser to work you need to change ADB access to apps and adb (in developer settings)
  • Language does not change in some parts of Android, most notably the Settings app. Most other apps work fine and I didn't touch the language code, so this is a CAF bug I will need to fix.
  • Custom notification colours for missed calls and voice mail don't work
  • LED on charging sometimes gets stuck when disconnected until reboot.
These are features, not bugs
  • Facebook sync cannot be activated.

Quick Settings poll

I created a poll about Quick Settings (discuss it there)

http://forum.xda-developers.com/show....php?t=2550027
The dawn of mobile phones
Ericsson GA 628 => Nokia 5110 => Siemens C35i => Siemens C45

The age of colour screens and polyphonic ringtones
Motorola C350 => Sony Ericsson T610 => Sony Ericsson T630 => Sony Ericsson K790i => Sony Ericsson T250i

The age of Android
LG Optimus One => Sony XPERIA J => Sony XPERIA SP => Sony XPERIA Z1 Compact
The Following 20 Users Say Thank You to adfad666 For This Useful Post: [ Click to Expand ]
 
ngoralph
Old
#3  
ngoralph's Avatar
Recognized Contributor
Thanks Meter 1254
Posts: 1,524
Join Date: Apr 2012
Default some feedback,

flashed rom+gapps= setup wizard FC
flashed rom=boot then reboot then flash gapps= profit

seems like integrated SU is not working properly for me though
 
Sahand_N
Old
#4  
Sahand_N's Avatar
Junior Member
Thanks Meter 9
Posts: 27
Join Date: Jun 2013
Location: Tehran
Downloading...
One question though, did you manage to fix the "Phone" app battery drain issue?
 
adfad666
Old
#5  
adfad666's Avatar
Recognized Developer - OP
Thanks Meter 4143
Posts: 718
Join Date: Jul 2011
Location: Olomouc

 
DONATE TO ME
Ahh yes the setup wizard will crash due to the above bug. You can skip it by pressing the four corners of the screen, start top left then go clockwise.

Sent from my C5303 using XDA Premium 4 mobile app
The dawn of mobile phones
Ericsson GA 628 => Nokia 5110 => Siemens C35i => Siemens C45

The age of colour screens and polyphonic ringtones
Motorola C350 => Sony Ericsson T610 => Sony Ericsson T630 => Sony Ericsson K790i => Sony Ericsson T250i

The age of Android
LG Optimus One => Sony XPERIA J => Sony XPERIA SP => Sony XPERIA Z1 Compact
The Following 6 Users Say Thank You to adfad666 For This Useful Post: [ Click to Expand ]
 
lorkan126
Old
(Last edited by lorkan126; 11th November 2013 at 10:56 AM.)
#6  
Senior Member
Thanks Meter 31
Posts: 124
Join Date: Apr 2013
I will search all bugs and i will post them here. Thank you for your job, I am waiting for Aosp or Cm based on android 4.4. Regards



BUG #1 : Settings language is always English, if you change language it doesnt help ofc, still english on settings.
BUG #2 : There is 2x calendar app xd
BUG #3 : SU dont work, and i dont know how to root this firmware :/
 
ngoralph
Old
#7  
ngoralph's Avatar
Recognized Contributor
Thanks Meter 1254
Posts: 1,524
Join Date: Apr 2012
Quote:
Originally Posted by lorkan126 View Post
I will search all bugs and i will post them here. Thank you for your job, I am waiting for Aosp or Cm based on android 4.4. Regards



BUG #1 : Settings language is always English, if you change language it doesnt help ofc, still english on settings.
BUG #2 : There is 2x calendar app xd
BUG #3 : SU dont work, and i dont know how to root this firmware :/
download superSU from chainfires site
The Following User Says Thank You to ngoralph For This Useful Post: [ Click to Expand ]
 
adfad666
Old
#8  
adfad666's Avatar
Recognized Developer - OP
Thanks Meter 4143
Posts: 718
Join Date: Jul 2011
Location: Olomouc

 
DONATE TO ME
What are you trying to user Superuser for? I tested remounting /system and adding a file with Root explorer and it worked fine

Sent from my C5303 using XDA Premium 4 mobile app
The dawn of mobile phones
Ericsson GA 628 => Nokia 5110 => Siemens C35i => Siemens C45

The age of colour screens and polyphonic ringtones
Motorola C350 => Sony Ericsson T610 => Sony Ericsson T630 => Sony Ericsson K790i => Sony Ericsson T250i

The age of Android
LG Optimus One => Sony XPERIA J => Sony XPERIA SP => Sony XPERIA Z1 Compact
The Following 2 Users Say Thank You to adfad666 For This Useful Post: [ Click to Expand ]
 
Storm.Breaker
Old
#9  
Storm.Breaker's Avatar
Member
Thanks Meter 7
Posts: 30
Join Date: Oct 2013
@adfad666 thank you so much for sharing this rom! I have decided to switch to this one as my daily driver, pure stock 4.3 jellybean just the way i like it battery life is significantly better than cm10.2 and lag is non existent. Looking forward to future updates/bug fixes and of course AOSP kitkat roms!

Bug report: The notification light doesnt seem to work when charging via usb but works for notifications. Also, even though ive changed the notification lights to custom color values it still blinks white
ive attached a logcat below hope it helps.
Attached Files
File Type: txt logcat.txt - [Click for QR Code] (158.9 KB, 15 views)
To serve and protect!
 
pakatsui
Old
(Last edited by pakatsui; 11th November 2013 at 09:27 PM.)
#10  
Senior Member
Thanks Meter 19
Posts: 136
Join Date: Apr 2012
Going to test this out as I'm currently running PAC and my battery ran out in 6 hours with 1 hour tops screen time. Hope this is better like the previous comment stated. Will post a small review afterwards.

Ok first off: battery life seems to be A LOT better than CM10.2/PAC.
Doesn't have SU installed by default, so I had to flash it.
Seems to be smoother than PAC. Might be placebo effect though.

1 question as well. Is there a way to enable facebook sync? I did it on CM10.* with this method: http://forum.xda-developers.com/show....php?t=2064859, but the CM10.2 apk doesn't work with AOSP

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes