yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] halloarno:
About Viper4Android: It works fine!

- set SELinuxmode to permissive with SELinuxModeChanger app http://xdaforums.com/showthread.php?t=2524485

- don't use the v4a lollipop version

- use fx v2340 http://xdaforums.com/showthread.php?t=2191223

(You don't have to freeze/remove AudioFX in this rom. If you like to use both (AudioFX and v4a), choose in v4a, settings, FX compatible mode, compatible -> now both works at the same time)

If you like a even better sound:

- flash extremebeats http://xdaforums.com/showthread.php?t=2634729

Sadly I have to say goodbeye to my favorite soundmod (megabassbeats): it breaks audio in calls (although it works in other lollipop roms, but aicp is my favorite).

Thanks, prangr8 for helping me out.
[Xperia SP Android Development] Deleunes254:
What is this Selinux exactly? I see it often in post as enforcing,permissive...
[Xperia SP Android Development] ehsan rajabi:
Hi. Tnx for amazing rom ...

Im using The latest build. The camera fix didn't work for me . idk why !?

Can i flash tangerin kernel now after i installed all apps and stuff ? For that battery tweak .

What happens ? Does my rom get factory reset?

And. How Should i flash it ? With flash tool?
[Xperia SP Android Development] :
Just do the other steps. Don't flash anything else.
[Xperia SP Android Development] Marco20:
Is anybody working on the sound quality problem?
[Xperia SP Android Development] DahakePL:
Battery icon jumps from right to left when using buttons in status bar
[Xperia SP Android Development] ehsan rajabi:
So no kernel to flash ? Ok

Where can i find Kernel Adiutor ?
[Xperia SP Android Development] halloarno:
In settings, aicp extra's..

---------- Post added at 08:35 PM ---------- Previous post was at 08:34 PM ----------

Sound quality in...?
[Xperia SP Android Development] DahakePL:
Anyone can help with the battery jumping bug?

Anyone else has it?
[Xperia SP Android Development] halloarno:
Something with security.. I honestly dont know exactly.

Soms say enforcing is safer. But viper4android needs permissive....
[Xperia SP Android Development] flash-:
what do you mean by battery jumping bug? :confused:

edit : got now ...i have it ....but it's not a bug ...it's just misplace :p
[Xperia SP Android Development] ehsan rajabi:
It doesn't have the options that survey says !
[Xperia SP Android Development] :
I confirm the bug. For those who don't understand it:

Pull down status bar so you see the navigation. Now click in the arrow to extend the WiFi panel. Then the battery jumps.
[Xperia SP Android Development] flash-:
what options ?

like what ?
[Xperia SP Android Development] ehsan rajabi:
Kernel Adiutor . for exp conservative mode !

Ps: status bar brightnsess control has problem
[Xperia SP Android Development] flash-:
first status bar brightnsess control has got no problems....if you want to adjust go to settings>display and then disable adaptive brightness and then see how that goes :)

kernel auditor is in the settings >aicp extra >scroll the last and you will see it :)
[Xperia SP Android Development] ehsan rajabi:
You dont get what i say . yes i disabled auto brightness. I was talking about the one you can adjust without pulling down ntf bar. And just sling across it. Ok?

Secondly. I specifically sayd conservative mode in cpu gov its not there. There are 3 other mods . (cause i didn't flash tangerine?)
[Xperia SP Android Development] Deleunes254:
Tangerine Kernel 4.0 Released! :D
[Xperia SP Android Development] flash-:
sorry didn't pay attention i was flashing things :p

yes the default kernel hasn't got much stuff

you can flash it now(t-kernel) ....cuz the last t-kernel has been fixed with the latest AICP build

download it from here

and sorry again for not understanding what you meant earlier :)

---------- Post added at 08:04 PM ---------- Previous post was at 08:04 PM ----------

yes it is my friend :)

i've tested it and it's working perfect so flash it and enjoy :p
[Xperia SP Android Development] Deleunes254:
Awesome!
[Xperia SP Android Development] ehsan rajabi:
Its ok ....

So i just reboot and flash this zip in recovery. ? Nothing els to do before or after ?
[Xperia SP Android Development] flash-:
yes ...don't wipe anything ...just reboot into philz or twrp and flash it :)
[Xperia SP Android Development] Marco20:
The quality is pretty bad.
[Xperia SP Android Development] flash-:
flash t-kernel v4.0 and enable fauxsound settings...that should help :)
[Xperia SP Android Development] ehsan rajabi:
With rashr and philz i flashed t4 and edited kernel finally ....

And also installed exposed . but the phone became laggy for a few minutes then it got smooth again 0.o

Any way. I couldn't find power nap app . can sb help pls ?
[Xperia SP Android Development] :
I know why. The settings provided in the 3. post are to low. Select a second core. And if it still laggs, change the CPU Gonovour to ondemand or something else.

Gesendet von meinem Xperia SP mit Hilfe von XDA Forums
[Xperia SP Android Development] halloarno:
Maybe you like to try viper4android and extremebeats? For links see a few posts a bove.
[Xperia SP Android Development] Jeanborba:
AICP latest build + tangerine kernel 4.0
[Xperia SP Android Development] Marco20:
I already use it. I only face this problem on the highest volume level, but it's still pretty annoying...
[Xperia SP Android Development] xperia_sp:
battery drain fast

Rom is working fine..camera is working..but only problem is battery drained too fast..I tried solution that mentioned in post 3 but every time it restarts phone and black screen..

Can anyone help me with that?:confused:
[Xperia SP Android Development] :
Have you installed Tangerine 4.0
[Xperia SP Android Development] xperia_sp:
yeah!

everything works better except battery,,:silly:
[Xperia SP Android Development] :
Tangerine 4.0 has been overclocked to 1.9, go to the Kernel Auditor and edit the max. to 1.7 or 1.6 Ghz.
[Xperia SP Android Development] xperia_sp:
thanks man! will try it:)
[Xperia SP Android Development] :
Use the "Thanks" button if you want to thank me... That's what it's for.
[Xperia SP Android Development] flash-:
[MENTION=6255096]prangr8[/MENTION] I have a small question....why didn't you in built a working Fm radio until now(and I know I can use spirit-fm or something but I know that the Fm radio was fixed so if it's not hard on you please in the next build put the Fm radio :p

and did you do something new in build 2? cuz i'm sure the battery performance have dropped ....in R3 or R4 B1 the battery was just great but actually now i have some problems with it (and my settings are the same ....smartassv2 1.8 ghz ..gpu ondemand 200mhz ...i greenify all apps ,,,,etc :confused: ) from 100% to 75% with only 1h22m ! :eek:

Thank you my friend :good:
[Xperia SP Android Development] RandomUser017:
Hey, so I just flashed AICP (Build 2) with Tangerine 4.0.

While booting up and setting up the settings and apps, I noticed that the battery has a lot drained. This is because [MENTION=5727088]Tomoms[/MENTION] has overclocked the Tangerine kernel to 1944MHz, which is, in my opinion quite a lot. That's why I tried the steps in post #3. Well... it fixed the problem, but now the phone started lagging. [MENTION=6255096]prangr8[/MENTION], please update post #3 so it does save battery, but doesn't affect the performance too much. I have changed the MHz to 1728 and enabled Multicore Power Saving in the Kernel Auditor (Settings > AICP Extras). Works fine with some bugs which are listed here:

Camera not working (fixed)

The camera app is not shown in the application drawer, but is in the apps tab in the settings.

Battery-icon bug

When clicking on the expand arrow of a tile, the battery icon jumps to the left.

View images if needed:

http://mars.workupload.com/image/77AHKPcg

http://mars.workupload.com/image/YJyFPzOj

Cannot change profile picture

Nothing happens after selecting an image.

It took a lot of time to make this post. If this post has helped you, please use the thank feature. :good:
[Xperia SP Android Development] Raienryu:
About the FM Radio, I've already addressed to this earlier I think. I don't want to add any apps. I just want to keep it same as AICP gives it so that no additional problems might occur :) . Also the only major change I've done since R3 and R4 build 1 was to shift to Marcelo's kernel and not use the base CM kernel. But I don't think that could be the cause for battery drains as most of us flash Tangerine anyway.

Hopefully the battery drains will be fixed by next build.

About the profile picture, for me in R4 build 1 also I had that problem but apparently when I went to /data/system/users/0 and removed the photo.png there and put another png and renamed it to photo.png, set permissions it worked. And from next time I could change it normally. But in this build it doesn't work that way somehow. Can someone test this method for me and verify?

If you face lags, then instead of conservative use SmartassV2 governor. It's a good balance between battery and performance

And about the battery icon jumping to the left, I think it was made to accomodate both the TaskManager and PowerOptions in the status bar. I have both enabled so the battery icon doesn't jump :p . Try it out once.
[Xperia SP Android Development] RandomUser017:
I don't have problems with the battery or the profile picture. I am just trying to say that these fixes should be added to the ROM. Most ROM-Users don't know how to fix these issues. They just want it to work. For e.g. the camera work without a fix.

---------- Post added at 07:15 PM ---------- Previous post was at 06:44 PM ----------

Didn't work for me. I also didn't find any fixes on the web.
[Xperia SP Android Development] dogueto:
The download of new build is very slow to me. I have 10Mb internet but i'm downloading only with 10kbps but with any other sites i can download with 1MBs. i tried the others mirrors but nothing change. Anybody have an alternative link?
[Xperia SP Android Development] RandomUser017:
[MENTION=6680683]dogueto[/MENTION] here is a mirror of your ROM. The file is mirrored on my server. The server is German and has a 1Git/s connection. [MENTION=6255096]prangr8[/MENTION] you may put this link in the #1 post. With my 100Mbit/s connection it takes around 45 seconds.

Download | http://84.200.24.108/XperiaSP/AICP/AICP_4.2.zip
[Xperia SP Android Development] dogueto:
Wow, man!! Thanks! Very fast server =D
[Xperia SP Android Development] RandomUser017:
[MENTION=6680683]dogueto[/MENTION] How about using the "Thanks" button? And [MENTION=6255096]prangr8[/MENTION] here another bug:

Recording

When recording the screen, the phone laggs and the stop button doesn't work.
[Xperia SP Android Development] flash-:
hahaha damn man ...you need 45s i need 45 minute (i've got a 100kb\s :crying: )

thanks for uploading for other users though :good: [MENTION=6766105]CubeDev[/MENTION] use a-z recorder app for Recording ....cuz in the inbuilt recorder more the 3-4m the Recording will stop ! and it laggs a lot too ....
[Xperia SP Android Development] vitorqa:
You can change your picture going into the app 'Contacts' and then editing the first contact ('ME')
[Xperia SP Android Development] Tanha_Dil:
Flashed the ROM n Gapps but i am unable to sign in Playstore .... every time i open PlayStore after Checking Info... it Shows " There was a problem communicating with Google Services" :( anyone Help me with this

tried wiping cache and delvic cache ... also reflashed gapps and Tangerine Kernel tooo
[Xperia SP Android Development] flash-:
do a full wipe and reflash the ROM with those Gapps :)
[Xperia SP Android Development] RandomUser017:
Try installing a hosts editor and remove all hosts from the list.

And the profile picture doesn't change when editing ME in the contacts.
[Xperia SP Android Development] sirhan_s:
No Network Coverage

I was using Ressuruction Remix 2, with Unlocked bootloader, it was working nicely.

Now I have switched to AICP build 2 and tangarine 4.0 kernel

I have "no coverage" (no range/signal) now. No Service is showing in the status bar, cant make any calls/text/data. I have flashed the ROM & gapps again (clean flashed, wiped data, cache, dalvik cache & internal storage also using TWRP). Done twice.

From the Settings > Mobile Networks > Network Operators, I can search the network and see the operator list.When I select my operator nothing happens. I have tried switching to 2G mode and still not working.

Can you help what are the procedures to follow to get the coverage back?

I am using Sony Xperia SP C5302.
[Xperia SP Android Development] Tanha_Dil:
tried reflash of ROm and gapp still the same error from playstore.... also checked the hosts file it only contains localhost....

also flashed other gapp still same error " There was a problem communicating with Google Services" :(
[Xperia SP Android Development] NagiSe7en:
Try other Gapps Package..see if it resolves ur issue..

Or Try installing google play services apk.
[Xperia SP Android Development] halloarno:
I do not suffer network problems with aicp r4b2 + tangerine v4. So it should be working for you to...

In your wiping list before install, i miss wipe system. (But I guess when flash ROM the previouse system will be automaticly wiped).

If this wont help:

Flash a ftf file with flashtool (instructions in 'general' section).

Once I tried flashing a mod, it kills my wifi. And my nandroid backup didnt solve it. When flash a ftf youre phone will be like it just arrive out a Factory (and you have to get rootacces again etc.)
[Xperia SP Android Development] rabea3:
i flashed last stable rom of 13-6 everything is ok except camera , it doesn't work and there is no even icon for it
[Xperia SP Android Development] AdrianDC:
Please try this : http://xdaforums.com/showpost.php?p=61348305&postcount=683
[Xperia SP Android Development] ehsan rajabi:
Pls sb give me power nap link ...
[Xperia SP Android Development] sirhan_s:
Hi,

Thanks

1) I have returned to stock firmware

2) Rooted using towelroot

3) Relocked bootloader, using my backed up TA partition with Backup TA

4) Unlocked the bootloader

5) Installed recoveries

6) Flashed the AICP ROM and gapps

Its wokring now. I am on default kernel of the ROM. Didnt flashed Tangerine 4.0 yet.

Thanks for your time
[Xperia SP Android Development] RandomUser017:
If you has read post #1, you would know that there is a fix for that. Follow the tutorial that was made by Adrian DC and then use an app called Root App Delete. Open it, uninstall the camera and then reboot to reinstall the camera so you see an icon. [MENTION=6255096]prangr8[/MENTION], please add this to the tutorial iin post #1.
[Xperia SP Android Development] rabea3:
cam icon appear but still not working

---------- Post added at 10:08 AM ---------- Previous post was at 09:34 AM ----------

thank you i Followed the tutorial and it works
[Xperia SP Android Development] halloarno:
Did you copy the file libals.so?

If not :READ! the first post completly.
[Xperia SP Android Development] RandomUser017:
Instead of writing thanks, use the thanks button. [MENTION=5725668]rabea3[/MENTION]
[Xperia SP Android Development] BrokeDude12345:
Just flashed R4-Build2 with Tangerine v4 and Minimal GAPPS. I also used their bloatware removal script. Flashed using Philz.

I'm getting a lag and SystemUI FCs. I underclocked to the normal 1.6 and turned off KSM. I have the Governor set to LagFree like I did using my previous ROM BlissPop. But it doesn't make a difference.

Any help would be great!
[Xperia SP Android Development] halloarno:
Soms report flashing with philz got problems. Mayby try twrp?

I flashed pa gapps.
[Xperia SP Android Development] flash-:
i use Minimal GAPPS too but didn't used their bloatware removal script ......i was on v4.0 and now i am on v5,0 t-kernel

so do a FULL WIPE and reflash the ROM with Minimal edition Gapps and t-kerenl (v4,0 or v5.0) and then edit cpu to :

use smartass v2 and put it to 1.7-1.8 ghz ....and don't use their bloatware removal script cuz this ROM hasn't got any bloatware !!

good luck :)
[Xperia SP Android Development] halloarno:
Wifi working with t-v5?
[Xperia SP Android Development] flash-:
yup! :)
[Xperia SP Android Development] BrokeDude12345:
Thank you, bro. But I use the script to remove AudioFX as I use Viper and they tend to conflict. Also, I don't need Cyanogen File Manager, CM Music, or any of those apps as I use alternatives like FX and Shuttle+

Should I use TWRP? I use Philz flashed with Rashr. How do I get replace the recovery?
[Xperia SP Android Development] flash-:
yes but those files and apps are like 50mb only ?...second of all there is an option in viper to work along the fx audio..

for twrp flash this via flashtool and you will have the twrp and philz recovery together after flashing t-kernel :)
[Xperia SP Android Development] halloarno:
In this ROM (aicp 4.2) Viper didnt conflict with audiofx for me (see few posts above).
[Xperia SP Android Development] RandomUser017:
[MENTION=6255096]prangr8[/MENTION], when powering off no confirm-screen comes up. When rebooting a confirm-screen does come up. Weird, will this be fixed?
[Xperia SP Android Development] lennon vasques:
someone also having this problem when trying to use the kernel tangerine? in my xperia sp is forever in bootanimation and does not start completely. :crying: if someone can help me.
[Xperia SP Android Development] lvints:
What version are you using?
[Xperia SP Android Development] Raienryu:
Just wanted to give a small heads up...

I'm going to my cousins' place for the weekend and I will be back on Tuesday/Monday, So I will be quite or completely inactive from Friday (Day after tomorrow) till Tuesday and if there are sufficient changes, then you can expect an update in AICP by wednesday if all goes well...

Have a nice weekend people :)
[Xperia SP Android Development] lennon vasques:
I use the latest version of rom: AICP 9.0.

already I tried using two versions of tangerine kernel version 4.0 and 5.0 but the phone does not start completely, just gets in bootanimation.

I downloaded their own version of the rom AICP on the kernel page even after flashing nothing has changed
[Xperia SP Android Development] flash-:
just try to do a FULL WIPE then flash the ACIP R4 adn let it boot and settle down a little bit ,,,,then reboot to recovey and flash t-kernel and after done wipe cahce and dalvickcache and then reboot :) (twrp recovery is recommended for flashing ;) )

good luck:good:
[Xperia SP Android Development] Ainster:
sony ported apps work with new version ?
[Xperia SP Android Development] flash-:
yes they do :)
[Xperia SP Android Development] Ainster:
I have flashed rom + gapps + sony apps but phone boots about 10 min and nothing so i was interested maybe first need boot stock rom than install apps :)
[Xperia SP Android Development] flash-:
re do a full wipe ...flash the ROM...let the phone settle down then go to recovery and flash the xperia port for 5.x and Gapps :)
[Xperia SP Android Development] Ainster:
Did i should wipe dalvic cache and cache after apps install? :confused:
[Xperia SP Android Development] flash-:
yes for sure ! :D
[Xperia SP Android Development] ohmygel:
Aicp 4.2 + tangerine 4.0

They say led is now working but i dont notice any difference between the aicp 4.1 + tangerine 3.0.

Got it, i need to install discolight for lollipop
[Xperia SP Android Development] dogueto:
No matters what build or kernel i install, i always have trebuchet and facebook crash sometimes.

In the case of trebuchet, if i install Nova Launcher maybe i resolve it? and how about Facebook? it crash a lot.
[Xperia SP Android Development] somberchocks:
You always have Trebuchet cause Trebuchet is the only launcher that comes with the latest build! Also didn't the previous build have Google Now launcher along with Trebuchet? And kernels got nothing to do with launchers.

Sure install Nova and when you press the Home button, the system will detect multiple launchers and ask you to pick one. Pick whichever you want. Alternatively you can go to the Home menu in Settings and select your default launcher.

Btw try Next launcher. Works great.

As for your FB problem - well you can try generic solutions like clearing data or reinstalling the app if you haven't already.
[Xperia SP Android Development] flash-:
never had a crash with trebuchet ....so how about you try to reboot to recovery and wipe cache and dalvick-cache and see what happen ;)
[Xperia SP Android Development] ehsan rajabi:
So i fixed the camera (uninstalled the old and flashed new one )

But i cant update this and google photos that i have , cause they say that aren't installed in Google play
[Xperia SP Android Development] bubbeld:
is this only for UBL ?
[Xperia SP Android Development] NagiSe7en:
Yess, Only for Unlocked Bootloader
[Xperia SP Android Development] flash-:
yes my friend it is ...this is only for UBL :)
[Xperia SP Android Development] avi.singh9993:
so when is new aicp coming with latest cm12.1 as its stable now. i'm too lazy to do all that fixes given with build2 :p

also i mean common everybody would like the best build without all that side fixes.
[Xperia SP Android Development] lakshen93:
Hello,

I want to know what kernel is the best for this ROM. With the new Tangerine, I can't find which is the best ...

Thanks a lot :D
[Xperia SP Android Development] Deleunes254:
He said somewhere wednesday we can expect a new update. Tangerine will also update soon
[Xperia SP Android Development] flash-:
yeah for sure my friend we are waiting ...but for now developer don't have time ....so he said he will release the new update in next week (so please wait :p ) :)

---------- Post added at 01:21 PM ---------- Previous post was at 01:17 PM ----------

please flash the v4.0 (not v4,0-a1 !!)for now ....cuz if you flash 5.0 you need to do some fixes for wifi( if you want go ahead and flash it and do the fix) ....flash the v4.0 and wait until the developer of the kernel release an new version without a bug :) :good:
[Xperia SP Android Development] RandomUser017:
[MENTION=6255096]prangr8[/MENTION], the current camera fix is not complete and it is also written in bad or not so good English. Here is the complete tutorial:

1 - Download this file from here or here.

2 - Move the file to your phone

3 - Install Root Explorer or ES File Explorer and give the app root permissions.

4 - Open the app and go for libals.so and long press on it and press copy.

5 - Now go back to directory / then go to system/lib.

6 - Paste the file there.

7 - Long press on libals.so and tap on permissions.

8 - Tap on enter octal and put (0644) (or 'rw-r-r' using ES File Explorer).

Do this to make the camera app icon show up:

9 - Install System App Deleter, give it root permissions and delete the camera app.

10 - Finally reboot (the camera will reinstall because it is a ROM-module).
[Xperia SP Android Development] Beakel:
Hi! I am new to flashing, and I have few questions. Sorry for being complete noob here ;)

If I download this rom+gapps and flash it through recovery on stock(.205) build do I need to flash kernel before, or after flashing rom+gapps?

Which kernel should I use with this rom?

How about performance of this rom? As mentioned I am using stock .205 build and I am experiencing some serious lags and sometimes UI crashes(I've rooted my phone and I'm using Xposed with GravityBox module, if it matters)

And which recovery is best to use to flash this rom? Thanks in advance :)
[Xperia SP Android Development] flash-:
twrp recovery is recommended ....install rashr app on your phone ...go to it and install twrp.img recovery and then reboot to it....DO A FULL WIPE(data/cache/dalvick/system) and then flash this ROM and flash with t-kernel v5.0(need a wifi fix) or flash v4.0 then reboot to system let the phone settle down a little bit and then reboot to recovery and wipe (cache/dalvickcache/)and then flash the GApps and reboot that's all

the things you need(twrp.img \t-kernel thread \t-kernel download site)

that is all ..good luck :good: :)
[Xperia SP Android Development] RandomUser017:
I recommend the recovery CWM and you have to flash the kernel after flashing the ROM and the G-Apps. I recommend using Tangerine 5.0.