Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

recaf - CAF enhanced AOSP for Xperia SP

OP adfad666

11th November 2013, 01:52 AM   |  #1  
adfad666's Avatar
OP Recognized Developer
Flag Olomouc
Thanks Meter: 4,282
 
744 posts
Join Date:Joined: Jul 2011
Donate to Me
More
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 06:17 PM.
The Following 44 Users Say Thank You to adfad666 For This Useful Post: [ View ]
11th November 2013, 01:52 AM   |  #2  
adfad666's Avatar
OP Recognized Developer
Flag Olomouc
Thanks Meter: 4,282
 
744 posts
Join Date:Joined: Jul 2011
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 11:28 PM.
The Following 21 Users Say Thank You to adfad666 For This Useful Post: [ View ]
11th November 2013, 08:55 AM   |  #3  
ngoralph's Avatar
Recognized Contributor
Thanks Meter: 1,283
 
1,552 posts
Join Date:Joined: Apr 2012
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, 09:05 AM   |  #4  
Sahand_N's Avatar
Junior Member
Flag Tehran
Thanks Meter: 9
 
27 posts
Join Date:Joined: Jun 2013
More
Downloading...
One question though, did you manage to fix the "Phone" app battery drain issue?
11th November 2013, 09:07 AM   |  #5  
adfad666's Avatar
OP Recognized Developer
Flag Olomouc
Thanks Meter: 4,282
 
744 posts
Join Date:Joined: Jul 2011
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, 10:25 AM   |  #6  
Senior Member
Thanks Meter: 35
 
148 posts
Join Date:Joined: Apr 2013
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 11:56 AM.
11th November 2013, 12:06 PM   |  #7  
ngoralph's Avatar
Recognized Contributor
Thanks Meter: 1,283
 
1,552 posts
Join Date:Joined: Apr 2012
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, 02:12 PM   |  #8  
adfad666's Avatar
OP Recognized Developer
Flag Olomouc
Thanks Meter: 4,282
 
744 posts
Join Date:Joined: Jul 2011
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, 04:06 PM   |  #9  
Storm.Breaker's Avatar
Member
Thanks Meter: 7
 
30 posts
Join Date:Joined: 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)
11th November 2013, 07:24 PM   |  #10  
Senior Member
Flag Pärnu
Thanks Meter: 20
 
145 posts
Join Date:Joined: Apr 2012
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 10:27 PM.

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

Advanced Search
Display Modes