yashsingh1/xdaforums huggingface dataset:
[Xperia SP Original Android Development] Theliakos:
Enforcing — SE for Android is enforcing the loaded policy. Your device is actively protected from security threats and malicious apps will be denied access.

Permissive — The SE for Android policy file is loaded, but your device is not enforcing it. If a malicious app tries to access a resource that it is not allowed to, the access will be logged but not prevented. This mode is intended for testing and debugging. It generates log files of denied app and allows Samsung to identify new app threats and update its policy files.

Disabled — The SE for Android infrastructure is not enabled, and there is no policy file loaded. Log files are not generated and your system is vulnerable to security threats.

this what samsung says ! also good job mate !!!
[Xperia SP Original Android Development] jancsessz:
[MENTION=5727088]Tomoms[/MENTION] change CM recovery to Philz

Thanks
[Xperia SP Original Android Development] TheAvengingTITAN:
I believe it's already PhilZ, I remember Tomoms mentioning that if you don't have PhilZ after flashing the kernel, something went wrong.

Sent using Xperia SP CM12.1 with Tangerine Kernel
[Xperia SP Original Android Development] Tomoms:
No, recovery is CM recovery, but if you have already flashed PhilZ via Rashr, PhilZ won't be overwritten. I'll try to remove CM recovery and replace it after releasing v2.0.
[Xperia SP Original Android Development] TheAvengingTITAN:
Could you add in the updates TWRP? it's better than PhilZ

Sent using Xperia SP CM12.1 with Tangerine Kernel
[Xperia SP Original Android Development] Tomoms:
That was my secret intention :D:D

TWRP is the one and only recovery. Long live TWRP!
[Xperia SP Original Android Development] TheAvengingTITAN:
Haha yes! I always loved TWRP more than any other recovery (its the first recovery I ever used) :D

Sent using Xperia SP CM12.1 with Tangerine Kernel
[Xperia SP Original Android Development] kontini:
Why not now? I've replaced CM recovery with last working TWRP 2.8.6.0 and Philz Touch 6.59.0 . Just fastboot the file below:

tangerineV20_Philz659.elf

tangerineV20_TWRP2860.elf

I haven't tested everything but it is a safe boot image. I don't exclude I'll make a dual version with Philz or CWM or maybe both, anyway last TWRP recovery is enough

EDIT: it seems that TWRP 2.8.6.0 actually has some bugs so [NUT] reverted to 2.8.5.0 in his XZDualRecovery so if you have problems maybe it's not my fault

Sent using Xperia SP CM12.1 with Tangerine Kernel with TWRP recovery included
[Xperia SP Original Android Development] NicestRudeGuy:
double tap plz

twrp is really fast and simple

can u implement double tap to wake :D
[Xperia SP Original Android Development] francescohtc:
Guys, double tap to wake will keep the phone awake without deep sleep because is unsupported via hardware by our phone, so the battery will drain.

It's not a good feature in our case...
[Xperia SP Original Android Development] NicestRudeGuy:
oohh

then leave it couz battery is not that gud in custom roms ;)
[Xperia SP Original Android Development] RastHacker:
With Tangerine v1.3 my 3g doesn't work but 1.2 yes i'm with RR Build 4

Sent by Xperia SP using RR 5.4.0 fully working
[Xperia SP Original Android Development] TheAvengingTITAN:
3G and LTE works for me just fine. I'm not on RR, on CM12.1 . I don't think it's a kernel issue.

Sent using Xperia SP CM12.1 with Tangerine Kernel
[Xperia SP Original Android Development] SizpeK:
Are you already set selinux to pre . and flash sim fix ?

Sent from Xperia SP with Lollipop 5.1 (CM 12.1)
[Xperia SP Original Android Development] xXHenlolXx:
Only in the optimized version.
[Xperia SP Original Android Development] joei007:
Which FM Radio App did you use?
[Xperia SP Original Android Development] flash-:
go for spirit FM :)
[Xperia SP Original Android Development] Tomoms:
In CM12.1 there's the stock Radio FM app.
[Xperia SP Original Android Development] panco89:
hi,

I installed the kernel via fastboot , how do I turn the wi fi?
[Xperia SP Original Android Development] Tomoms:
Flashing it again via recovery :)
[Xperia SP Original Android Development] TheAvengingTITAN:
Standard Tangerine 5.2 works with AICP build 3
[Xperia SP Original Android Development] Deleunes254:
Did battery life improve? And performance?
[Xperia SP Original Android Development] lop2lop:
I have a little problem !!!

I can't go to TWRP! it;s something like there's no TWRP ! Just PhilZ Touch !!! It's not t-kernel's bug it's about my fault !

I flashed Stock ROM and for recoveries I used Rashr app to flash twrp and philz imgs but it doesn't worked ! finally I flashed twrp img with FlashTools and I flashed ROM and t-Kernel ! But now I wanna go to TWRP but there's no TWRP ! Only philZ Touch !

How can I Fix it ?

thanks.

______________________________

I FOUND THE SOLUTION IN OP !
[Xperia SP Original Android Development] flash-:
since you flashed an img via rashr adn you want twrp .....flash the twrp.img via rashr again or do like the OP says :

If you had previously flashed the old PhilZ with Rashr, you need to flash stock fotakernel with FlashTool to use TWRP or PhilZ in v3.1 and later.

Flashable FOTAKernel (thanks to [MENTION=5380710]kontini[/MENTION]): https://mega.co.nz/#!MxcmxSYA!RmLDKb...x_F_wv5djaoZoU
[Xperia SP Original Android Development] RandomUser017:
Performce increased very much. Soo smooth now. Battery is ok (haven't tested it for a long time, I just flashed it)

---------- Post added at 08:51 PM ---------- Previous post was at 08:10 PM ----------

Due an update, the file-system got updated. All devs have been informed.

As a user please use the following link to download AICP:

http://cubeserver.eu/Sony/Xperia-SP/Tomoms/Tangerine/ (EU High-Speed Server)
[Xperia SP Original Android Development] rafigh89:
After flashing tangerine 5.2 high sensitivity touch not work(AICP 9).

Is it possible to add color control to tangerine kernel?
[Xperia SP Original Android Development] prajjwal2345:
Can anyone provide another download link for downloading tangerine 5.2, coz the download links in first post is not working for me?
[Xperia SP Original Android Development] Sibat Al Nistas:
http://cubeserver.eu/Sony/Xperia-SP/Tomoms/
[Xperia SP Original Android Development] flash-:
install glove xperia app ...it will help :)
[Xperia SP Original Android Development] prajjwal2345:
What's the difference between the two 5.2zip?

What's that a1.zip??

And which is good to flash with the latest aicp(22nd June) build???????
[Xperia SP Original Android Development] halloarno:
For aicp 5.2.zip (see op)
[Xperia SP Original Android Development] Baholo:
Hi [MENTION=5727088]Tomoms[/MENTION]

Could you add SIOplus i/o scheduler in next build? :fingers-crossed:
[Xperia SP Original Android Development] francescohtc:
Hi Tomoms few feedbacks about latest kernel version (5.2)

There are few settings that are wrong:

The "TCP CONGESTION CONTROL" is setted up to "Westwood" that cause continuos signal drop with battery drain and with problems in call (voice is eard discontinuos or with bad quality by the other person) the right setting i've found is "CUBIC"

The better scheduler you can set is not "BFQ" but "Deadline" it minimize latency at least it delete almost the stuttering problem.

The "Read Ahead Buffer" setted up to "512" is wrong, optimal setting for our phone is "128" due to the slow internal memory, 512 will cause that the phone will hang or freeze for few seconds.

Another thing is that sometimes the phone doesn't use correctly the MPDecision and i don't know why, maybe it's rom related, but disabling "mpdecision" the phone is completely flying but obviously with a huge battery drain.

Thanks for you work, hope this will help in some ways...
[Xperia SP Original Android Development] Tomoms:
Added! You'll find it in v5.3.

About westwood: I've never had this kind of problems.

About scheduler: I randomly picked the default one because I know that people will immediately change it.

About read-ahead buffer size: I haven't set it to 512, I'll try to set it to 128.

About mpdecision: it is normal that if you disable it the phone will be fast because both cores will always be online.
[Xperia SP Original Android Development] francescohtc:
about westwood maybe is because my provider "Tre Italia" works only under UMTS/LTE so calls are under UMTS and the problem happen when it switch between 3G - H+.

About mpdecision i don't know how to explain but is like if the second core isn't used properly...

P.S. i'm testing other schedulers too... :)
[Xperia SP Original Android Development] antr34:
[MENTION=5727088]Tomoms[/MENTION]

can u add mkfs.f2fs from this thread

i successfully make partition, backup and restore using twrp by pushing that mkfs.f2fs to /sbin
[Xperia SP Original Android Development] Tomoms:
Ok. I'll include it either in v5.3 or in v5.4.
[Xperia SP Original Android Development] juliomb179:
[MENTION=5727088]Tomoms[/MENTION] about the item marked above [MENTION=5411190]Mrcl1450[/MENTION] i'ts working too

Look at this commit https://github.com/Mrcl1450/android...mmit/69c636adee906bf14533925104c1c5f690cc50a1
[Xperia SP Original Android Development] Tomoms:
Cool. It will be included in v5.2 then.
[Xperia SP Original Android Development] chachour:
[MENTION=1526953]tomtoms[/MENTION] could you add doubletap2wake please ?
[Xperia SP Original Android Development] akashsaini7:
http://xdaforums.com/showthread.php?p=60656342
[Xperia SP Original Android Development] yunamunchy:
just maybe
[Xperia SP Original Android Development] chachour:
sorry, I did not read it
[Xperia SP Original Android Development] flash-:
just to make it clear for you :

i think you are a new member here my friend...there are 65 pages and every page there is someone who did asked for Double tap to wake.....this thing had been discussed a lot in this community ....and no... the developer will not include it ...so save it for your self and don't ask for it or you will get a lot of comments and anger :p ....thank you :)
[Xperia SP Original Android Development] Tomoms:
v6.0 release

Hey, I have successfully built v6.0. I'll release it tomorrow after a quick test if there are no issues.

Changelog:

- source updates

- read ahead buffer size automatically set to 128 kb

- mkfs.f2fs in TWRP

- new I/O scheduler: SIOPlus

- big FauxSound update
[Xperia SP Original Android Development] so1o#:
Can I flash this kernel after fresh installed ROM (before first boot) ? Will it brick my device if I do this ?
[Xperia SP Original Android Development] jancsessz:
[MENTION=5727088]Tomoms[/MENTION]: curently philz touch recovery doest fully work :/ not mount sdcard1 :(

Tapatalk-kal küldve az én Xperia™ SP-el
[Xperia SP Original Android Development] flash-:
yes ...flash it before first boot ....flash ROM then t-kernel then reboot :)
[Xperia SP Original Android Development] Tomoms:
It worked for me a couple of days ago... I'll check again tomorrow.
[Xperia SP Original Android Development] YektaOz:
any updates to GPU overclock / 0 mhz fix ?:confused:

And thanks for this great kernel :)
[Xperia SP Original Android Development] halloarno:
0 = 480 MHz, see op.
[Xperia SP Original Android Development] francescohtc:
The boot now is really faster, new scheduler and reduced read ahead buffer made the trick! olè!

About GPU overclock i didn't see 0 = 480mhz i just see -1 but if i set on -1 cpuz and other apps show that gpu is running at 400mhz.
[Xperia SP Original Android Development] TheAvengingTITAN:
6.0 confirmed working on AICP

The TITAN has landed. Hide your works from this critic! The official maintainer of the XSP Lollipop and M Hub.
[Xperia SP Original Android Development] lvints:
[MENTION=5727088]Tomoms[/MENTION]

Version 6.0 is working properly in Blisspop optimized version ;)

Just like an explanation, what the result of using this setting: read-ahead buffer size set to 128 kb? :confused:
[Xperia SP Original Android Development] sambastrakan:
Hi,

Dont know if it's due to kernel or rom so I post here too:

- Clean install of latest version 06/21

- Flashed t-kernel v6 before 1st boot

- First boot OK

- I configured my settings and go to reboot recovery (philz)

- I wanted twrp so I reboot again from philz to twrp

- Changed the date and time in twrp (1971 when entering)

- I made a backup

- Then rebooted: stuck at "starting android", see start1.txt annexed

- I entered shell and type : stop; sync; reboot

- System boots up with similar parse error messages, remakes app optimization, but finally completes the boot. See start2.txt annexed

- dmesg also annexed
[Xperia SP Original Android Development] Baholo:
Hi everyone

I have a problem with inverted GPU clock. When taking work like game it's changing to 128mhz and when it's in idle it's changing to 400mhz. Sometimes getting lock at max mhz and then nothing can do with it like changing governor (powersave and it's still on 400mhz). I expected this in CM12.1 (stock and t-kernel) and in AICP (where t-kernel is included). I hear this may be warned by Adreno drivers but not for sure :confused:. In CM12.1 thread i got no answer :rolleyes:. Is there any way to fix it because of battery drains and unexpected behaviour?

Sorry for poor english ;-;
[Xperia SP Original Android Development] Tomoms:
Actually, I don't know.

In start1.txt I see japanese typefaces, start2.txt is corrupted :)

Instead of those files a last_kmsg would have been more useful for me...
[Xperia SP Original Android Development] Tomoms:
deleted
[Xperia SP Original Android Development] sambastrakan:
??? I downloaded the zip file from xda and I can read the txt files inside. Perhaps something wrong on your side.

Anyway, now a rar file attached with kmsg inside (but not the one when boot failed...).

There are a lot of things like that in the log file:

W/thermanager( 3818): failed to attach resource "cpu1" [sysfs], ignoring

E/thermanager( 3818): failed to parse threshold mitigations

E/thermanager( 3818): failed to parse thresholds

E/thermanager( 3818): failed to parse configuration sections
[Xperia SP Original Android Development] Tomoms:
The kmsg you sent me is quite useless... Errors scattered around the log are harmless. Next time the boot fails, reboot to recovery, connect the phone to the PC and get a copy of /proc/last_kmsg via adb. That log will be useful.
[Xperia SP Original Android Development] sambastrakan:
OK !
[Xperia SP Original Android Development] ciacho23:
Where can I download v6.0? Link in first post doesn't work
[Xperia SP Original Android Development] Tomoms:
Unfortunately the server seems to be down. I'm sure [MENTION=6766105]CubeDev[/MENTION] will get it working ASAP ;)
[Xperia SP Original Android Development] jk24777:
links dead

download links are dead bro :(
[Xperia SP Original Android Development] flash-:
please wait until the server is online again ...thank you :)
[Xperia SP Original Android Development] RandomUser017:
I am working on it... I will try my best, but [MENTION=5727088]Tomoms[/MENTION], make a mirror.
[Xperia SP Original Android Development] Tomoms:
Ok and good luck!
[Xperia SP Original Android Development] juliomb179:
DELETED
[Xperia SP Original Android Development] RandomUser017:
Noooooo... The files got deleted. But atleast the server works now. All files need to be reuploaded.
[Xperia SP Original Android Development] Tomoms:
What a pity... What happened?

BTW, links updated!
[Xperia SP Original Android Development] RandomUser017:
I have accidentally deleted all users. And the web server needs the "www" user to start the website. Then I tried to reinstall the web server and all files got deleted :(
[Xperia SP Original Android Development] sambastrakan:
Just 2 things without impact but may indicate something :

- In Antutu the IO Storage score can give 650 or 2500. May be due to cache and/or read ahead parameters? (Had always ~2500 with williams kernel 9.1 on cm11)

- Also in Antutu, the last graphic (and damn long) test is not as smooth as on cm11. Can't say it's laggy but it's not a linear movment. Score is about 1000 points under cm11.

Anyway, no impact for normal use. Good job!
[Xperia SP Original Android Development] exothermic_tzy:
OwnROM 0.5 Confirmed working with Tangerine v6.0
[Xperia SP Original Android Development] somberchocks:
Flashed the new version...everything seems to be working well.

Quick question though about read-ahead buffer size - both internal and external are supposed to be 128k right? Or can they be set separately w/o any issues?

What exactly is the advantage of lowering the read ahead value? Won't having a higher value translate into better performance?
[Xperia SP Original Android Development] jk24777:
I can better manage such server things :)

configuration and such ...
[Xperia SP Original Android Development] nitin pradhan:
Mobile data is not working in bliss pop v3.3

Tangerine v6.0_a1. For blisspop ROM is working superb.all new features were great & smooth. Work really fast but the only problem is mobile data not working :( can you please fix this issue or else tell any alternate way to fix it.I request you to please focus on this issue. I really love this kernel....:crying:
[Xperia SP Original Android Development] antr34:
update blisspop 3.5 :D
[Xperia SP Original Android Development] nitin pradhan:
Will you please give me a link for bilsspop 3.5 .I will be most thankful for you
[Xperia SP Original Android Development] antr34:
they can be set separately, but i gain more performance with 128k since i use swap n i can play games smooth

blisspop 3.5 + T-kernel 6.0_a1

underclock cpu 1.2ghz intellimm governor n deadline scheduler

256mb swapfile in /cache partition

games i tried = asphalt8, chaosrings 3, epoch 2, godfire

[MENTION=5727088]Tomoms[/MENTION]

i dont know why i cant format or convert partition f2fs in twrp

---------- Post added at 05:48 PM ---------- Previous post was at 05:42 PM ----------

too bad the link is dead since cubeserver is having problem, just wait for the dev to upload again :D
[Xperia SP Original Android Development] somberchocks:
Normal 3.5 version's on the Blisspop thread...well where else would it be?

But wait till the 3.5 optimized version is back up since the server on which its hosted is down right now. Flash that instead of the one on the Blisspop thread.

Yeah gaming kinda sucks in Lollipop. I remember Temple Run 2 running smooth as butter at 60 fps in KK whereas it stutters and lags noticeably with Lollipop.

Can you elaborate a bit on setting up a swap file?
[Xperia SP Original Android Development] antr34:
[MENTION=5946987]XenolithicYardZone[/MENTION]

bout swapfile i post it earlier but make sure u use f2fs to gain permormance since it will boost the read write performance

just make a script in init.d like this

if busybox [ ! -f /cache/swapfile ]

then

busybox dd if=/dev/zero of=/cache/swapfile bs=1m count=256

fi

busybox mkswap /cache/swapfile

busybox swapon /cache/swapfile

echo 70 > /proc/sys/vm/swappiness

sorry i know nothing bout android n linux, pls do correction if it wrong, n adjust it as u need like how big or swappiness
[Xperia SP Original Android Development] Araib93:
delete
[Xperia SP Original Android Development] RandomUser017:
I work with servers everyday, the experince is not a problem. It's that when I am in a hurry, I often do something wrong.
[Xperia SP Original Android Development] Alish976:
After flashing the latest version of Tangerine (v 6.0) on Blisspop ROM

System can't recognize my SimCard and I can't connect to my wireless modem . :(
[Xperia SP Original Android Development] flash-:
reflash the 5.1 or 5.2 (make sure you are flashing the VX.x_a1 version !! ) :)

good luck :good:
[Xperia SP Original Android Development] guize:
T6 has bad 2D/ 3D performance, compared to CM 12.1 kernel (both on AICP-9.0 || 5.1.1_r4_Build3).

128kb read-ahead is holding back IO performance a litle (512 is better).

Also had weird screen artifacts on lockscreen.

---------- Post added at 11:05 AM ---------- Previous post was at 11:00 AM ----------

read-ahead = IO scheduler.

I guess it is better with 512kb.
[Xperia SP Original Android Development] NicestRudeGuy:
v6 for cm is having philz
[Xperia SP Original Android Development] Tomoms:
Thanks for reporting. What's the error? Can you try to manually push mkfs.f2fs to /sbin while in TWRP and check if that file is already there (I'm sure I have put it in that folder...)?

I think you did something wrong because an user running Blisspop said that the kernel works well for him in previous pages.
[Xperia SP Original Android Development] rafigh89:
tomoms very thanks for your kernel,

Can you add kcal feature to this kernel?
[Xperia SP Original Android Development] pilger:
Guys, I have a series of really basic questions. Forgive me and feel free to link me to a guide if those were answered elsewhere.

do I have to reflash this everytime I flash a new ROM? Does the ROM replace the Kernel?

Is there any way to tweak the kernel configs or are they locked?

How can I use TWRP to format on f2fs? Which version of TWRP do I need for that? How to proceed?

Thanks in advance!
[Xperia SP Original Android Development] exothermic_tzy:
http://xdaforums.com/xperia-sp/general/root-ultimate-noobs-guide-to-rooting-t2845520

Yeah hey man I'm still a junior member myself, but I'll tell you some of the stuff I have:

1. Yes, whenever you flash a new ROM for unlocked bootloader, chances are the ROM has included a different kernel inside, so it will be flashed over the current kernel you have, just like what happens to the original ROM itself. Even with ROM updates, you will pretty much have to reflash this kernel.

2. These kernel configs can be tweaked using apps like Kernel Adiutor, Trickster Mod or Device Control, etc. so the configs are definitely not locked.

3. Flashable FOTA Kernel: https://mega.co.nz/#!MxcmxSYA!RmLDKbR8E69X7Hge2HaoOxnuorXy-x_F_wv5djaoZoU

Actually most recent versions of TWRP (commonly shared within the community has the build 2.8.5.0) should support f2fs, and the steps should be shown in the recovery itself. However it is advisable to do a Nandroid Backup and complete backup of your apps first in case you get into serious trouble during the process.

Hoped this has helped!
[Xperia SP Original Android Development] pilger:
Many thanks for the replies!

1. Got it. So it's a good practice to keep the kernel at hand at all times;

2. Alright. Gonna try that as soon as I solve the f2fs problem;

3. I actually have TWRP 2.8.5.0 and it doesn't allow me to format on f2fs, just the regular ext and fat. Even with tangerine already installed. The only way I found to format on f2fs is with Philz 6.59 but then Philz doesn't have as much features (such as terminal) and I don't want to use it afterwards.

I didn't get the FOTA Kernel, though. What it is? When should I use it and how?

Again, many thanks!
[Xperia SP Original Android Development] exothermic_tzy:
That's odd, but further details on the FOTA Kernel can be found in the OP, or you can try to look through the whole thread for info on it. One of its advantages though is that it allows you to use both Philz and TWRP. In most cases I hear of people converting to f2fs using Philz so you may want to give it a try.

Anyway, you're much welcome, next time you want to thank someone, hit that thanks button as it's much appreciated!;)
[Xperia SP Original Android Development] antr34:
[MENTION=5727088]Tomoms[/MENTION]

it worked although i have to set permission 755 to mkfs.f2fs. now twrp can fully working with f2fs.

can u make permission 755 by default in future release
[Xperia SP Original Android Development] pilger:
How did you manage to do that?
[Xperia SP Original Android Development] antr34:
open filemanager in twrp n point to /sbin, now find mkfs.f2fs click that file then choose chmod 755 now u set u can format /cache /data or sdcard, since theres no rom that support f2fs in system partition by now
[Xperia SP Original Android Development] pilger:
Worked like a charm!!! Many thanks! :good::good::good::good::laugh:

But I had to manually download mkfs.f2fs from here (found it on http://xda-forum.blogspot.com.br/2015/01/tutorial-migrate-filesystem-to-f2fs.html) and place it on /sbin/ through USB connection.

I hope this instructions help people with the same problem in the future. :)