FORUMS

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of … more

ZenFone 2 Lolliflash and ZenPower Giveaway!

We recently did an in-depth review of the Asus Zenfone 2 but one of the things people may … more

recaf - CAF enhanced AOSP for Xperia SP

758 posts
Thanks Meter: 4,310
 
Post Reply Subscribe to Thread Email Thread
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
Last edited by adfad666; 13th December 2013 at 05:17 PM.
The Following 45 Users Say Thank You to adfad666 For This Useful Post: [ View ]
 
 
11th November 2013, 12:52 AM |#2  
adfad666's Avatar
OP Recognized Developer
Flag Olomouc
Thanks Meter: 4,310
 
Donate to Me
More
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
Last edited by adfad666; 2nd December 2013 at 10:28 PM.
The Following 21 Users Say Thank You to adfad666 For This Useful Post: [ View ]
11th November 2013, 07:55 AM |#3  
ngoralph's Avatar
Recognized Contributor
Thanks Meter: 1,291
 
More
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
11th November 2013, 08:05 AM |#4  
Sahand_N's Avatar
Junior Member
Flag Tehran
Thanks Meter: 9
 
More
Downloading...
One question though, did you manage to fix the "Phone" app battery drain issue?
11th November 2013, 08:07 AM |#5  
adfad666's Avatar
OP Recognized Developer
Flag Olomouc
Thanks Meter: 4,310
 
Donate to Me
More
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 Following 7 Users Say Thank You to adfad666 For This Useful Post: [ View ]
11th November 2013, 09:25 AM |#6  
Senior Member
Thanks Meter: 35
 
More
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 :/
Last edited by lorkan126; 11th November 2013 at 10:56 AM.
11th November 2013, 11:06 AM |#7  
ngoralph's Avatar
Recognized Contributor
Thanks Meter: 1,291
 
More
Quote:
Originally Posted by lorkan126

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: [ View ]
11th November 2013, 01:12 PM |#8  
adfad666's Avatar
OP Recognized Developer
Flag Olomouc
Thanks Meter: 4,310
 
Donate to Me
More
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 Following 3 Users Say Thank You to adfad666 For This Useful Post: [ View ]
11th November 2013, 03:06 PM |#9  
Storm.Breaker's Avatar
Member
Thanks Meter: 7
 
More
@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, 17 views)
11th November 2013, 06:24 PM |#10  
Senior Member
Flag Pärnu
Thanks Meter: 20
 
More
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
Last edited by pakatsui; 11th November 2013 at 09:27 PM.
11th November 2013, 10:07 PM |#11  
adfad666's Avatar
OP Recognized Developer
Flag Olomouc
Thanks Meter: 4,310
 
Donate to Me
More
Quote:
Originally Posted by Storm.Breaker

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

I noticed it works if you change the default notification colour, so I must have missed some part about the custom colours for apps.

Quote:
Originally Posted by pakatsui

Doesn't have SU installed by default, so I had to flash it.

Super user is for sure installed, but I think you need to enable developer settings for it to work. It's the exact same code as for CyanogenMod ( I didn't even fork it I just link to their projects) and I think super user is hidden and disabled there until developer mode is enabled. I'll add the code like CM has to hide it unless developer mode is enabled.

Quote:
Originally Posted by pakatsui

1 question as well. Is there a way to enable facebook sync?

Absolutely not, Facebook needs to die. Immediately. Seriously.
The Following 7 Users Say Thank You to adfad666 For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes