yashsingh1/xdaforums huggingface dataset:
[Sony Xperia T, TL, TX, V] WhiteNeo:
Well.. Some kernel scrift files are not extracted properly during sync. Had to copy those manually over from default CM12 kernel source. :)

Just run a few builds and add whatever is missing, or compare the scripts folders in both kernel sources. :good:

And.. Actually, I was wondering about the recovery line myself. :D
[Sony Xperia T, TL, TX, V] LeonardK:
Oh, okay then ^^

So you don't think the "arm-eabi-" is a problem? I will test soon and will find out anyway :)
[Sony Xperia T, TL, TX, V] lpdevIT:
Thank you, tomorrow I'll try that app :)

For the sound now I'm using audio manager in addition to the default system sound manager, it should work good.

For the apps and the memory, the problem is that I have 16 gb of internal memory and 16 gb of SD card. When I go in Setting -> memory I have 3 "sectors": internal archive (total: 1.97 GB, free 298 mb), internal memory (total: 10.85 gb, free 5.81 gb) and sd card (total 14.91 gb free 5.60 gb). I think the problem is the first one: tomorrow I'll give a better try

Now I have two more problems:

- The most important one is that when my phone goes in stand-by mode, internet (3g or wifi) stops working. I found the option in settings but it doesn't affect nothing. Any help? This is very annoying

- Other thing is the battery: with a medium use (basically whatsapp, facebook, some calls, little games) my battery leasts only 5-6 hours. I'll try better next days. I have all services disabled. My phone is quite old (almost 2 years)
[Sony Xperia T, TL, TX, V] LeonardK:
It should work for WiFi if you go to Settings->WiFi->3dotMenu->Advances->Keep WiFi on during sleep: Always.

The space:

Your internal memory is split up into diverse system partitions (not displayed),

internal storage (for apps; 2GB for you) and internal emulated memory card (~10G).

This is done by sony but you can, as often mentioned before, change that.

I do not experience battery drain, that's all what I can say. But I often deactivate mobile internet as it tends to drain battery.
[Sony Xperia T, TL, TX, V] WhiteNeo:
I didn't really get the problem you were talking about. Sorry :D

But after re-reading your post I can at least say that our phone is A9 because this fits best to our krait architecture. There's no dedicated optimization flag, unfortunately.

You may also check the cpu type right after the build starts. (You know, the few lines that are shown when you "breakfast mint") :)
[Sony Xperia T, TL, TX, V] lpdevIT:
Thank you! For the WiFi I tried with no result... I have this problemi only with WiFi, noto 3g

You got the problem! How to change it?
[Sony Xperia T, TL, TX, V] LeonardK:
It's krait, but I was confused that it actually is a "krait-architecture" A5 cortex.

Also what I meant was that it seems strange to me that there are many lines starting:

"arm-eabi-"

This looks cut off and my assumption is that it should be "arm-eabi-4.8" or "arm-eabi-4.9" - but it works fine without too O.o

Also: Do you know where updateing has the caf kernel sources from? I found official by sony which seem to be heavily outdated and there are many in the codeaurora forum but all "external". Quite confusing.

I added all files from scripts just doing:

cp -n path/to/default/cm/kernel/scripts/* kernel/sony/msm8x60/scripts

which just copies anything which does not exist in the latter ;)

Nope, I do not seem to have the problem but I yet was very lazy in backuping apps and have not yet switched to the latest CM12/CM12.1^^ Maybe they introduced a bug there.

But maybe performance tweaks with disabling services did this?
[Sony Xperia T, TL, TX, V] rrutk:
No NANDROID backup with TWRP possible after installation

Tested, works so far :)

1.

But, after installation, it is not possible to do a backup in TWRP 2.8.6.0 ?!

The backups starts and after 1 second (checking partitions) the TWPR loops back to the main menu!

I guess, something is wrong with the rights to write / partitions / paths ... ?

I have applied the patch with the TWRP-App and I have done:

su

chmod 777 /mnt/media_rw/sdcard0

chmod 777 /mnt/media_rw/sdcard1

chown 1023:1023 /mnt/media_rw/sdcard0

chown 1023:1023 /mnt/media_rw/sdcard1

chown -R 1023:1023 /mnt/media_rw/sdcard0

chown -R 1023:1023 /mnt/media_rw/sdcard1

But nothing helps.

I can write to the sd-card and external sd-card via windows explorer.

The External SD Location always switches back to /mnt/media_rw/sdcard0, wheter i change it to mnt/media_rw/sdcard1, /storage/sdcard0 or /storage/sdcard1 or anything.

Any ideas?

I really need to to a backup.

TWRP creates every time a folder, but without content:

2.

Why I always have a "Settings were finished" popup after rebooting ?
[Sony Xperia T, TL, TX, V] WhiteNeo:
If you can provide a trustable source for this A5 thing, I might switch to that one in a future build. :good:

Maybe [MENTION=4812336]updateing[/MENTION] can tell us where his CAF kernel-msm repo is from. I'm curious about that myself :)

The backup thing is an issue in current build. I'm already working on a fix for this :)

And the Settings fc is also quite common with current upstream source. My bet is this will already be fixed as soon as I grab the latest CM source. :good:
[Sony Xperia T, TL, TX, V] rrutk:
Great, that the bug is known and that you are working to create a fix for it! Thank you! :)

To apply all comming fixes / builds, simply flash them over with TWRP ? Without factory reset?

Hope, nothing goes wrong then, because of this bug I dont have a nandroid backup ... :-/
[Sony Xperia T, TL, TX, V] Tolios1999:
[MENTION=5122093]WhiteNeo[/MENTION] sorry to ask you again, but did you by any chance check out my post a few days ago, about the new build, reverting the "system" from f2fs to ext4? Thanks!:thumbup:

Send Form my xperia T using Neo's homebuild L ROM
[Sony Xperia T, TL, TX, V] WhiteNeo:
Well, I gotta check the installer scripts, but it should be fine in next build, as I guess it might be connected to the backup issue in some way.
[Sony Xperia T, TL, TX, V] LeonardK:
Hi [MENTION=5122093]WhiteNeo[/MENTION] , did you also need to cherry-pick this commit? It *should* fix "undefined reference to 'qhwc::..."

I'm running my build in a sec.
[Sony Xperia T, TL, TX, V] WhiteNeo:
It will fix the build, but as always there's more than one possibilities to fix this. :)

BTW, you might also run into an issue in frameworks/base when building with Archis Optimizations. I suggest a local Os flag for the erroring section, too. :good:
[Sony Xperia T, TL, TX, V] ghylander:
do we really need to flash superSU?

CM12 comes with a stock superuser service (privacy guard) which i've been using since i flashed CM12 and i haven't been in need of a superuser app
[Sony Xperia T, TL, TX, V] LeonardK:
Thank you for this, I will look out for the error ;)

EDIT: Did not happen :D

I'm trying to make it as easily possible for anyone to follow the build later on - maybe I will even write a "complete guide" - so everything takes rather long as I need to always put up my own branches, modify local_manifest and then commit every change. But the result should then be - with the correct manifest - a "sync & brunch". :D

---------- Post added at 10:12 PM ---------- Previous post was at 10:00 PM ----------

Do you actually still use updateing's repos updateing/android_device_sony_blue-common instead of the CyanogeMod ones?
[Sony Xperia T, TL, TX, V] WhiteNeo:
I've decided to remove CM's default su binary because it's far too uncomfortable to manage superuser permissions for apps. In addition, it was causing issues and incompatibilities with certain apps.

So yes, you have to flash SuperSU. ;)

Not completely, no. I use a modified version with some additions required for F2FS mounting and stuff. Also I've disabled some of updateings additions like usb mass storage mode and so on. :)

I just wonder what the consequences of this guide would be. Probably several people would think that I'm not doing anything else than running the two terminal commands described in the thread. :D
[Sony Xperia T, TL, TX, V] superricky89:
Mate, you do really much more! You've created one of the best Rom so far for a device that you don't even own!

And so much more... I really respect and admire you for your priceless work! :)
[Sony Xperia T, TL, TX, V] updateing:
I grabbed the code base here:

https://www.codeaurora.org/cgit/quic/la/kernel/msm/?h=LA.AF.1.1_rb1.16
[Sony Xperia T, TL, TX, V] rrutk:
If you got it fixed, will it be possible to provide an additional fix-nandroid-backup.zip only for fixing the nandroid backup possibility??

So one could do a nandroid backup before doing a full system flash.

Would be great, thank you!
[Sony Xperia T, TL, TX, V] LeonardK:
So you do not only customized the kernel but also some other repos? Besides android_build and the prebuilts?

I need to look into that too, then :)

doubt it^^

When I write guides I try to write them as such the people do not just do it blindly but understand it – this way one also gets less questions ;)

And sk I hope they see enough of WhiteNeo repos :)

---------- Post added at 10:14 AM ---------- Previous post was at 10:10 AM ----------

Thank you very much! So basically you are using the 'quic' repo and not one of the others.

Sony has an own GitHub and also downloads for exactly our device. Can you explain why you chose this source?

Thanks a bunch!
[Sony Xperia T, TL, TX, V] updateing:
Because...

1. This repo is used in CAF's manifest of 8960 family. (Check this page https://www.codeaurora.org/xwiki/bin/QAEP/release and revelant XML file)

2. I didn't find 9.2.x.xxx branch in Sony's GitHub repo, and I think 10./11... branches are for newer phones. They don't have defconfig of blue series. Although Xperia Z's APQ8064 is also a member of A-family and Sony published its kernel source on GitHub, I haven't got enough time to try porting to our phones. (maybe I'm not adequate to do so as well... )

3. 9.2.A.xxx source provided via tar.gz package is way too old. It doesn't even support KitKat. tital6991 did a lot of work to get it working on Kitkat when bringing up KK on our phones.
[Sony Xperia T, TL, TX, V] LeonardK:
Wow, thanks for that thorough explanation :)

You seem to have spent much time doing the research^^ – Thanks for that very much!

Maybe you can look into that other sources if you have time – I am definitely not capable to understand so much of this. Props to you!
[Sony Xperia T, TL, TX, V] ghylander:
oh i see

ok then, let's give this a flash
[Sony Xperia T, TL, TX, V] WhiteNeo:
New build is online, with fixed the backup functionality in TWRP. :)

I suggest flashing latest gapps with the update, as gesture input on AOSP keyboard has been fixed with Banks' latest version. :good:

And.. another thing.

From this build on, I will have to reduce the update frequency - quite drastically, I fear.

My "real" life got quite time-consuming, and I can no longer afford to spend my whole Sunday working on new builds.

I've decided that, at least for a few months, updates will only appear if there are important changes in CM12.1 source, like a new Android version or important features and security updates.

That said, I will still be around the forums, trying to help you should there be any issues. :)

As always, thanks for using my ROM, and thanks for your support! :)

You're free to flash the boot.img of my latest build before updating, then do a nandroid backup of your data partition.

However, there should be no issues, as the new version is running perfectly fine on my Xperia V. :)

Yes. You're also going to need libril sources from official CM12. Just replace the corresponding folder in msm8960-common and you should be fine.

Otherwise there will be the same telephony issues as in my first CM12 build with Archi's Optimizations. :)
[Sony Xperia T, TL, TX, V] LeonardK:
Than I try to work harder on my recreation^^ – that way everybody should be able to build the ROM – just adding features to it will require more work (and upstream bugfixing maybe).

This way maybe someone with a better PC can push out more often updates – maybe me too once in a while. My builds take *some* ours (intel Centrino / Core 2 Duo T6600 here), but I do not need this PC so hard, so that wouldn't be that of a problem.

Is that all? It would be nice if you could (if it's more) provide your repos (just push them to GitHub) and local manifests so I do not nee to spend so much time doing research but just recreating the ROM. This is even more nice when you cannot build that often anymore, and I do not have too much time either (final exams coming).

So is there something else I should know?

Thank you for this awesome ROM, I probably will flash today or tomorrow :)
[Sony Xperia T, TL, TX, V] Fessy3:
What when I want Album and Walkman applications from Sony? With google play it can not be installed because device is not compatible.
[Sony Xperia T, TL, TX, V] rrutk:
Thank you !!!!!!

Great and fast work!

Nandroid backup now runs without problem!

Update was without problems!

---------- Post added at 12:16 PM ---------- Previous post was at 12:13 PM ----------

Use the Walkman-App from stock rom (SemcMusic.apk).

Install from external source (not playstore, it gives you a "not compatible"), but it works fine on my Xperia T.
[Sony Xperia T, TL, TX, V] LeonardK:
Either try to use a playstore downloader or try using this: sony-xperia-feature-apps.

Haven't myself though, but I plan trying it maybe.
[Sony Xperia T, TL, TX, V] Cr1ms0n:
Speaker problem

[MENTION=5122093]WhiteNeo[/MENTION]

First of all thank you for the update your work is very much appreciated. A couple of pages back I posted a problem I have with my speaker - it stopped working completely and it's not a hardware issue as I replaced it with a new one. I am not sure how to fix it do you have any ideas/suggestions?

Thanks a lot in advance
[Sony Xperia T, TL, TX, V] rrutk:
"First of all thank you for the update your work is very much appreciated"

[MENTION=5122093]WhiteNeo[/MENTION]

This really needs to be said .

Thanks for the effort and support.
[Sony Xperia T, TL, TX, V] Mortimus:
Not sure if this is rom related or I just haven't been paying attention, but is tap and pay for google wallet disabled in this? or in CM12.1? Haven't used Google Wallet tap and pay in a while, but was looking today and just don't see the options anywhere.
[Sony Xperia T, TL, TX, V] Fessy3:
Thanks, it works! But when I updated Album with Google Play, Album crashed. I had to do downgrade. Walkman updated without problems.

I have question yet. In what is this ROM diffrent from the official CM?
[Sony Xperia T, TL, TX, V] LeonardK:
Many customizations (for complete list see OP), such as:

- Other recovery (TWRP)

- Option for F2FS file system

- more Kernel OC

- Arch's customizations and performance tweaks
[Sony Xperia T, TL, TX, V] xAnimus:
I understand that this is a beta build, but is it stable at all for daily use?
[Sony Xperia T, TL, TX, V] LeonardK:
Roughly as stable as CM12.1.

So, for me, yes.

But if you *really* depend on your phone and if it crashes there's no alternative to do what you must – this might be ungood.
[Sony Xperia T, TL, TX, V] xAnimus:
I am mostly playing games, surfing through the internet and using facebook or youtube. I don't really depend on my phone heavily, I don't even use a sim card. I don't have a custom rom at the moment and I'd really love to use something that will probably "boost" my phone (as I've heard Kitkat and Lolipop are good in terms of battery life and managing ram, comparing them with Jellybean). I am not going with the official cm 12 as I am insecure using a nightly. I am aware that this is not much of a difference, but after looking at the comments, it seems like a really good and quite stable one.
[Sony Xperia T, TL, TX, V] Ckovvi:
Great work and thanks for this great ROM. I'm planning to install it, and I have two questions :

1. Can I flash it via PhilzCwm 6 recovery?

2. How good is battery life, compared to the latest stock rom?
[Sony Xperia T, TL, TX, V] LeonardK:
This ROM is a CM nightly!

Just one that isnt built daily but weekly or even less often – but with optimizations.

---------- Post added at 03:27 PM ---------- Previous post was at 03:27 PM ----------

2) depends. For me: Better, some others say worse.
[Sony Xperia T, TL, TX, V] LeonardK:
Thank you once again, I finally understand the structure of these repo ;) (more or less)

I just wonder why they have ultiple kernel/msm -repos as they are exactly the same. We could use quic/kernel/msm or any other O.o

Yep, the last shared commits are from ~2012 – since then the branches diverged.

I just try to find out what revision 9.2.x.xxx would equal to. This turns out to be rather difficult as grep'ing through all the msm8960 (ics and jb) xml's – though just being pretty fast – does not turn out to give any result for "sony" nor "mint" :/

Sadly the downloadable sony kernel does not include more git info than the .gitignore. The optimal way would be finding something that is more or less immediately removed or changed from the 9.2.x.xxx sources downloadable in the archive that one knows about and then running git blame on the line in the LA.AF... repos.

I tried some wild shots but didn't succeed :/

[MENTION=4812336]updateing[/MENTION]:

I just checked out the sources of 1.16, merged the CM commits in hope of good luck and cherry-picked your 3 last commits.

Result's here:

https://github.com/LeonardKoenig/android_kernel_sony_msm8x60-caf/tree/cm-12.1-testing

I'm quite unsure whether this would build but I could think it would be quite ok, actually^^
[Sony Xperia T, TL, TX, V] LeonardK:
I really doubt that it is possible to deactivate a feature of Google Wallet that easy – and this would be documented in the changes. So: Probably no. Either Google removed the feature or they block it on custom ROMs or similar. Maybe you had a different version back then.

Sorry to answer so late but didn't notice your post^^
[Sony Xperia T, TL, TX, V] NiiSyth:
Black Screen on cm 12.1

I've been using your Homebuilds for quite a while and I'm really glad for what is the one last active ROM on Xperia T.

I just ran into a really critical bug on the "cm-12.1-20150412-UNOFFICIAL-mint" build last night.

No matter what I did, The screen wouldn't show.

It'd boot and the bootanimation would show up.

Also if I press the power button,

Shutdown and all options show up but a black screen beneath it.

I'm updating to the latest Nightly and gapps but I just couldn't backup my chats or anything and taking a nandroid seemed futile as the screen just won't show up anyways.

Anyone has any idea what could have caused this??
[Sony Xperia T, TL, TX, V] LeonardK:
Hm, this seems similar to a bug that updateing fixed in his kernel but if I remember, only for hayabusa. At least ttgis is so on first glance. Maybe the patch wasnt yet included in the 0412 nightly.
[Sony Xperia T, TL, TX, V] updateing:
The source is only a reference. Sony should add its own code to support specific phone after receiving code from CAF, so we may not find "sony" or "mint" in CAF's source.

CM merged caf/kk_2.7-stable into its source, so I think the diverging point should be somewhere in this branch, but it's not easy to check since there are so many commits in 2013~2014.

You may give it a try :) I checked out caf/kk_2.7-stable and diff -Naur CM's cm-11.0, then applied the produced patch to caf/LA.AF.1.1_rb1.5 - this is the beginning of my kernel-msm repo.
[Sony Xperia T, TL, TX, V] LeonardK:
Just noticed that some commits you applied were already merged into CM so they are empty (but thats no problem ofcourse).

I may give it a try in the next few days but given that my builds take 8h to compile I will first try to make sure it runs ;)

I might wanna merge Neo's conversion too as I like F2FS, my archibuild stuff is already set up.

Gotta try that soon :D

Luckily my informatics final exam is on 4th May so I do not need the PC so much til short before :)

I just need to find time for math final exam xD
[Sony Xperia T, TL, TX, V] Speedcuber92:
This happened to me too.

I let my battery fully discharge, and when I turned my phone back on it was only a black screen.
[Sony Xperia T, TL, TX, V] LeonardK:
[MENTION=5122093]WhiteNeo[/MENTION] I just rebased your, updateings and CMs changes completely on the latest CAF sources. It should be pretty much exactly the same as your sources besides that it has a complete scripts folder ;)

Can you please list your changed sources? That is anything that is different from CMs? I really do want to make sure the build will run more or less flawlessly. Is there anything to add for F2FS or any of the features you added?

I will not (yet) include a different recovery probably and no other supersu (one can at any time change to SuperSu ofc, and I will do so). But the rest I'ld like to have pretty much exactly the same.

List of changes applied yet:

ArchiBuild fix on display sources

custom android_build (archi)

custom prebuilt toolchain (archi)

custom kernel (all included)

any other repo?
[Sony Xperia T, TL, TX, V] WhiteNeo:
As I said, you need CM12 libril source, or there will be telephony issues. :)

The other stuff should work just fine. Give it a shot! :D
[Sony Xperia T, TL, TX, V] LeonardK:
Ok, build stopped rather late at compiling kernel with this:

LD vmlinux.o
target R.java/Manifest.java: SoundRecorder (/home/leonard/android/out/target/common/obj/APPS/SoundRecorder_intermediates/src/R.stamp)
/home/leonard/android/kernel/sony/msm8x60/Makefile:960: recipe for target 'vmlinux.o' failed
Makefile:130: recipe for target 'sub-make' failed
make[1]: Leaving directory '/home/leonard/android/kernel/sony/msm8x60'
build/core/tasks/kernel.mk:229: recipe for target 'TARGET_KERNEL_BINARIES' failed

I forgot to pipe stderr to stdout that's why an error didn't show up but I should be able to restart the build and get to this point rather fast with ccache.

Probably some mergin failed there.

EDIT:

Just a few notes coming from your pre-last CM12 build to the latest CM12.1 (clean flash):

- the mobile-internet drain seems to be huge (but I cannot compare to before as yesterday I used for the first time xD)

- I have dhcp issues to getting into my router's WiFi (I can connect with static though).

- one random reboot being connected to my PC for charging. Sadly no log as it was short after install.

EDIT2: Some people seem to have this issue (those who give their router all say they have a fritz.box like me..) and it ain't probably an upstream bug as the CM sources are on the same state as the google sources mostly.

EDIT3: Probably my FritzBox's ip pool was full.
[Sony Xperia T, TL, TX, V] ghylander:
one more question

if i at any given time want to flash a different ROM, i need to use the uninstaller zip right?
[Sony Xperia T, TL, TX, V] LeonardK:
> The message you have entered is too short. Please lengthen your message to at least 2 characters.
[Sony Xperia T, TL, TX, V] Tolios1999:
After using CM12.1 with clean install for a few days, I think it is great work, but it isn't full ready yet. The WiFi disconnects randomly, the browser (any browser) after a few minutes and with only 2 or 3 tabs open, uses more than 300 MB of ram. This slows the phone down a lot. When restarting the phone, it already uses almost 500 MB without using it. And as the previous CM, the microphone has issues. Probably it is to low on picking up the voice. I tried fauxound app to increase it, but fauxsound constantly looses the settings.

I will probably go back to latest CM12 build. I think it was working smoother.

I hope I help by pointing out the issues I think there are with CM12.1

Again, thanks for your effort [MENTION=5122093]WhiteNeo[/MENTION]. :thumbup:
[Sony Xperia T, TL, TX, V] LeonardK:
After my dhcp issue no dc's so far so I can't confirm that.

The RAM usage isn't a problem. One of the major mistakes is to treat RAM like HDD space. Unused RAM is wasted RAM! It is no problem that the RAM is used ~300MB. A problem on the other hand *would* be if an app needed more RAM the RAM wouldn't be emptied to provide more. So, if you do not notice problems like slow-access or not-fluid stuff then look on the RAM. But don't if that ain't the case. Free RAM is not good to judge a OS, smoothness is.

Also did I never have mic issues, but that seems to be just me ;)