yashsingh1/xdaforums huggingface dataset:
[Sony Xperia T, TL, TX, V] AdrianDC:
A very important change will hit your devices upon next release.

The device will now use a "normal" unified UserData partition structure, with the internal storage emulated as part of it.

The easy way of telling that is that now, only your 2GB original Data partition will be accessible.

And only TWRP will keep compatibility to access the SDCard partition (if it exists) as "Legacy SDCard".

Now you're probably unhappy and wondering "Where are my 10+GB going ??".

The first answer is : You will not be allowed to flash the next Release I build.

A system I just finished working on will detect you still have a SDCard partition BEFORE flashing anything,

and will totally abort the installation & explain to you why and where to find more informations (soon, on CM Wiki).

Once that build is uploaded, I will ask you guys to flash it on purpose,

just to make sure you

can't

flash it & see the message.

Do no worry, the worst that can happen is that you don't have a lot of space to save medias one day or two.

So the final step will be me finishing to work on a very special flashable zip

that will perform the unification of the UserData partition automatically,

ONLY IF you are using the correct zip, on the correct device,

with the correct partitions detected, and ONLY IF they are

empty

.

This might evolve but so far, this is how the zip will work.

You'll be invited to backup your data and wipe everything afterwards,

only when you've consciously performed that change will you be allowed to flash the ROM.

Might sound a bit annoying at first sight, but believe me, it's the safest, most reliable,

and less "hacky" way of bringing Marshmallow to Xperia Blue devices,

since their internal SDCard requires a lot of hacks to work in original ext4,

introduces giant glitches and bugs with ext4 MicroSD, and still forces users

to struggle for space & end up resizing partitions in the end.

For Tsubasa, this change will be most effective, due to its even lower storage space,

and will therefore even the usage of the device with Huashan who's fine since all that time.

More soon...
[Sony Xperia T, TL, TX, V] nhicko95:
did you mean that the internal storage will become emulated like a legacyxperia,s cm13 ?
[Sony Xperia T, TL, TX, V] AdrianDC:
Data & Internal Storage will be in one partition & handled properly by Android like on 90+% of the Android devices nowadays.
[Sony Xperia T, TL, TX, V] nhicko95:
great this is what i mean and because of this we can now install apps as much as we can
[Sony Xperia T, TL, TX, V] AdrianDC:
Pictures of the installation assertions added to the related post.

Builds will be coming along the next hours but the unification zip

is still not ready, so basically test the assertion, but do not except

to flash the new builds directly, please be patient until I'm done.
[Sony Xperia T, TL, TX, V] dzadzev:
Teaser :D
[Sony Xperia T, TL, TX, V] nhicko95:
is this a 22 build?
[Sony Xperia T, TL, TX, V] dzadzev:
Yes, soon™ ... "make our mint great again" coming to your devices :cyclops: :p

Adrian was working on some details on the unifying tool, will announce the release Soon™.
[Sony Xperia T, TL, TX, V] theunlucky:
Hi,

I'd like to upgrade my XT (mint) from Neo's 12.1 to 13.0 (thanks to your work it is possible :)

I'm not so used to flashing custom-roms; I loaded:

twrp-3.0.2-20160714-fota-mint.zip

cm-13.0-20160718-UNOFFICIAL-mint.zip

open_gapps-arm-6.0-nano-20160723

I want to use NFC-tags, but the "Google NFC" is only mentioned in mini-Gapps (but I don't want so many Google-Apps on the device)... Did I choose the right Gapps-package? (will NFC run without the google-thing? And Play-Store (to get my bought Apps back) will work too? -> used a bigger package for 12.1-flashing, but I started using up all storage)

Planned procedure:

1. (saving all data aso to PC, copy the 3 files to (internal) SD-Card. Pray Al Shepards prayer (oh lord, pleas don't let me screw up))

2. flash TWRP fota (reboot the phone)

3. flash CM13

4. flash gapps

...start to sweat while the mint starts CM13 (after success: re-loading and -installing apps aso)

Can you give me the green light? I have the feeling I forgot something important...?
[Sony Xperia T, TL, TX, V] AdrianDC:
You got it all right mostly.

I'm more a micro GApps user than nano GApps, but that's up to you.

However, red light on doing it. Please wait for the next release to be flashable,

you'll probably need a new TWRP (if I do need to release a new one),

and the Unifier zips I'm about to finish today (hopefully).
[Sony Xperia T, TL, TX, V] theunlucky:
"signal all halt received" ;)

Ok I'll wait flashing... But - a/the developer of the ROM said "mostly"... Where am I wrong? (except the difference in the Gapps-selection?) (it's my daily-use-phone - don't want to screw it up, but am in need of reflashing -> having a battery-issue ("rapid charge-loss" (normal use down to 80% then straight down to 20% (give or take 5%); last time I encountered this, I could fix it with new bootloader and new OS, still have hopes I can use the XT further (found no good alternative for it yet))
[Sony Xperia T, TL, TX, V] dzadzev:
[MENTION=6597349]theunlucky[/MENTION] read the posts from Adrian DC on previous page. The rom is shifting to unified partitioning, so i will suggest you to wait a little bit for Adrian's announcement before switching and upgrading to CM13

edit: already answered ;)
[Sony Xperia T, TL, TX, V] theunlucky:
[MENTION=4109271]dzadzev[/MENTION]

Seen Post #105 - confuses me a bit, but ok... (as long a "way back" to 12.1 (or an earlier cm13) is possible, i'm ready to become a lab-mouse (least i can do))
[Sony Xperia T, TL, TX, V] dzadzev:
You don't need to be a lab mouse, just wait and don't upgrade until new release is announced from Adrian.
[Sony Xperia T, TL, TX, V] AdrianDC:
Alright migration helpers finished, ready for public release !

Please read the details added to the main post about the process.

No help will be given if you do not want to read everything

I spent time writing & displaying on error during the flash processes.

Should you read everything correctly and follow all the instructions

given to you by all the securities embedded in my zips, and still have issues,

then maybe shall I and other consider helping you.

I'm not saying that to be mean but because this is meant to be performed totally autonomously,

and the details I gave on the first post and all instructions & warnings from the zip

have to be enough for the less experienced users who takes time to read,

since I will then be adding this all on the CM Wiki pages..

To upgrade, you'll need the zips for the unification mentioned in the OP,

the latest CM13 release for your device, and optionally, the latest TWRP release from today.

For the time being, you will find the Unification zips here : https://basketbuild.com/devs/AdrianDC/Development/Blue
[Sony Xperia T, TL, TX, V] |>/\nte:
So let me get this straight: the unification zip is put but the compatible builds are still in process right?
[Sony Xperia T, TL, TX, V] AdrianDC:
No everything's done and ready now, the fail was already tested by most with the current last release.

Only the CM Wiki & its uploaded zips are missing.

So now, redownload the last CM-13.0 release (to make sure it's the last correct one,

one T build was uploaded for 22 automatically and didn't have the correct value),

flash if just for fun to see it fails, and then proceed with the Unification as described.
[Sony Xperia T, TL, TX, V] |>/\nte:
I see…I need to check the thread more frequently. I'm supposed to be a tester after all. Thanks anyway. I'll download the latest build and test it, then come back here for a bug report as usual.
[Sony Xperia T, TL, TX, V] |>/\nte:
Ok.....do I have to flash only the unification zip or I'll have to also use other ones such as the fix userdata and the format sdcard ones?
[Sony Xperia T, TL, TX, V] AdrianDC:
:good:
[Sony Xperia T, TL, TX, V] St.Jimmy90:
Unfortunately I'm getting this error when trying to install the unifying zip. I did a factory reset.
[Sony Xperia T, TL, TX, V] |>/\nte:
I think I'm missing something obvious here. I made a factory reset, then tried to flash the unifying zip, but it pops up an error that the sdcard is still "busy", similar to the one you posted when first talking about the merging of the storages, as well as St. Jimmy's photo. I'm using the latest twrp 3.02 to flash the rom, since cyanogen recovery refuses to flash anything. I thought about loading all the flashing stuff to a memory stick. Should this solve the issue?
[Sony Xperia T, TL, TX, V] St.Jimmy90:
Does the unifying zip only work with a specific filesystem? I changed the one from the internal sd to ext4 and rebooted the recovery. Now your zip worked fine.
[Sony Xperia T, TL, TX, V] AdrianDC:
I uploaded a slightly modified version of the unify...zip, please do test it if you had issue, mostly because you had an exfat internal storage.

Let me know if it works or not.
[Sony Xperia T, TL, TX, V] dzadzev:
@|>/\nte

Both partition, Userdata & SDCard (internal) must be empty so the unifier can work. So as the error said there is some data on sdcard and it can't continue. You need factory reset + format sdcard ... And after both partitions are empty the unifying tool will work.
[Sony Xperia T, TL, TX, V] pietruccio1995:
I don't understand, why with unify i have only 2 gb and not 12? I missed some things?
[Sony Xperia T, TL, TX, V] dzadzev:
So, if after unifying the new partition is not showing it's full size, format the new partition, and it should show its full size.
[Sony Xperia T, TL, TX, V] AdrianDC:
Did you do a clean install, or did you restore a nandroid TWRP backup?

If backup, you need to flash the fix-userdata zip.
[Sony Xperia T, TL, TX, V] pietruccio1995:
So then i can remake the restore of the data partition?

---------- Post added at 08:17 PM ---------- Previous post was at 08:16 PM ----------

I flashed after the restore :/
[Sony Xperia T, TL, TX, V] AdrianDC:
What does it mean you flashed after restore ?

The order of things to do if you want to restore your data content instead of a full clean install are in the OP too.
[Sony Xperia T, TL, TX, V] pietruccio1995:
The last 3 things say:

- (Optional) Restore your Nandroid backup if you want to

- (Optional) If Nandroid backup restored, flash fix-userdata-YYYYMMDD-blue.zip

- Flash the latest ROM release of CyanogenMod 13.0

I do it in order but i can see only 2 gb.

Edit: Ok, i don't know how but i've resolved...
[Sony Xperia T, TL, TX, V] AdrianDC:
:D

You know what you did at least ? Or just worked without anything flashed, formatted or something else?
[Sony Xperia T, TL, TX, V] pietruccio1995:
I've reflashed the fix rebooted sometime and appears, now i've another problem.

I made a full clean and reflashed rom + gapps but i can't go over the choose of the language, if i press next the status bar comes down and go up, so i can't do anything O.o
[Sony Xperia T, TL, TX, V] AdrianDC:
Yup so you needed to flash the fix-userdata as it was a full backup restore.

Otherwise your data remembers the old partitions layout & ignores the last changes.

Yeah sorry for the clean install users, there was a fail on a CM commit and it's being looked at.

If it's not solved when I do the next release, I'll revert that change before building.
[Sony Xperia T, TL, TX, V] pietruccio1995:
So what i've to do?
[Sony Xperia T, TL, TX, V] AdrianDC:
Go back to your backup & apply the fix.

On my own install on T, I also did backup, unify, upgrade, restore & fix.
[Sony Xperia T, TL, TX, V] pietruccio1995:
I can restore only the data?
[Sony Xperia T, TL, TX, V] AdrianDC:
Yes why not ?
[Sony Xperia T, TL, TX, V] dzadzev:
Ring to yourself from another phone and swipe to hang up on your xperia t, and you will be able to click next. ****ing cm bug :silly:
[Sony Xperia T, TL, TX, V] AdrianDC:
I need someone who never changed his partitions sizes and still haven't unified Userdata.

From Recovery (best would be TWRP last build), I need the output of

"adb shell /sbin/sgdisk --print /dev/block/mmcblk0".

Thank you !
[Sony Xperia T, TL, TX, V] AdrianDC:
I know what was wrong, you did the unify, but then you didn't reboot & restored data directly.
[Sony Xperia T, TL, TX, V] pietruccio1995:
no no, i reboot everytime i wipe or flash something :D
[Sony Xperia T, TL, TX, V] |>/\nte:
Here.
[Sony Xperia T, TL, TX, V] AdrianDC:
Great thanks. You still haven't unified ? :D
[Sony Xperia T, TL, TX, V] |>/\nte:
I'm trying to. I've put my memory stick from my xperia sp in and transferred everything needed to flash but still no soap. I'll try with the new unifying zip you mentioned earlier.

---------- Post added at 03:01 AM ---------- Previous post was at 02:32 AM ----------

Now it says the userdata partition has data despite I've done a full wipe and a factory reset. I give up for tonight. It's 3 in the morning here.
[Sony Xperia T, TL, TX, V] nhicko95:
i cant see media files im using album.apk and i cant see my pics on my micro sdcard
[Sony Xperia T, TL, TX, V] |>/\nte:
10 minutes after my last post I did it. I finally got the storage unified and flashed the rom. I pulled my hair off in the process but I did it. If someone has still problems merging the storage and gets an error that says "the userdata partition is preserved" or something along these lines, try this:

1. Make a factory reset/full wipe according to AdrianDC's instructions (found at the o.p.).

2. Format the data partition (through the "format data" option on t.w.r.p.)

3. As soon as the data wipe finishes, proceed to flash the unifying zip. It should get flashed normally

4. As soon as the flashing procedure finishes, reboot the device and get back into recovery.

5. Flash the rom and the g. apps.

6. Reboot. You should now have 12.85 gb of total storage, in one partition (that is 12.85 gb, not 1.97 + 10.88).

P.S. Make sure you have the required zips

in an external storage

(e.g. usb-on-the-go stick, memory stick), as

the internal storage will be wiped

so the unification can be done.
[Sony Xperia T, TL, TX, V] AdrianDC:
You can also use adb sideload. And it all works inside CyanogenRecovery too.
[Sony Xperia T, TL, TX, V] |>/\nte:
I don't know about you, but cyanogen recovery can't flash a single thing for me. On the other hand, t.w.r.p. works just fine. Cyanogen recovery is just stupid.
[Sony Xperia T, TL, TX, V] AdrianDC:
CyanogenRecovery does not allow flashing unsigned zip, which often devs do not do.

It can flash all CyanogenMod ROMs, GApps packages, and all zips I release are signed too.
[Sony Xperia T, TL, TX, V] |>/\nte:
Strangeâ?¦it couldn't flash the unifying zip on my phone. Small problem for me though, as I dislike the cyanogen recovery and get rid of it easily.

---------- Post added at 05:04 PM ---------- Previous post was at 04:49 PM ----------

Just got the sleep of death issue. Just once. Was connected to the net via WiFi and had mx player, facebook lite, the stock browser, the total commander app and the stock gallery app running. Was browsing randomly the internet when I let the phone for a minute. Got back on it, couldn't wake it up. I hard restarted the phone and it's working fine. I'll try to see if it can be reproduced.
[Sony Xperia T, TL, TX, V] AdrianDC:
About the sleep of death : So far, nothing relevant found or a certain way to reproduce it,

totally random & I must be the one who has it the less on the whole planet, which makes it even harder...

About the touchscreen issues in call : I just finished coding the driver handling this & it's working fine,

so will be coming in next build. Only concerns Xperia T and V with their RMI4 touchscreen.

Let's test directly, here's the new kernel to flash : https://basketbuild.com/filedl/devs.../Development/kernel-20160724-1809-cm_mint.zip
[Sony Xperia T, TL, TX, V] Klaus N.:
So, worked through the description in the startpost.

Some things I've recognized:

- in TWRP there's Data and Legacy SDCard

- after rebooting to system, in settings > storage & USB there's only 5.72 gb

I'm afraid, it has to do with the partitioning I've made while my device was still on stock and later on cm12.1.

Do I have to go back to stock now, and have to repartition to default?

Any help is appreciated :)
[Sony Xperia T, TL, TX, V] AdrianDC:
Flash the fix-userdata & see how it goes.
[Sony Xperia T, TL, TX, V] Klaus N.:
Ok, flashed the mentioned fix-userdata zip, but

- settings > storage & usb still shows 5.72 gb

- and after rebooting into twrp > wipe, there's Data, Internal Storage and LegacySDCard...

Edit:

I've made a full backup of cm13, so I think it would be the best to flash the latest Sony stock via FlashTool and begin from the scratch...

Edit2:

Thank you very very much Adrian for your kind help!
[Sony Xperia T, TL, TX, V] Saiphable:
Hi,

I need help.

I flashed the last recommended twrp, format sdcard to ext4 reboot to bootloader, and ...

my phone turn off, no led, no fastboot, no charging, pc not recognize phone ...

I tried remove batery for 1 hour, but nothing helped.

Can you help me repair my bricked phone?
[Sony Xperia T, TL, TX, V] pietruccio1995:
I've a strange problem, sometimes the phone shutdown completely when i use intensive app like Pokémon Go, MyBoy or similar game, maybe some voltage are wrong? It happens more time when i'm not charging the battery.
[Sony Xperia T, TL, TX, V] AdrianDC:
Xperia Mint does not have a removable battery, what device are you talking about ?

Dismantled the phone to unplug it ?

A Sony device can't litteraly die by flashing a wrong boot image or else,

the fastboot mode always be there & revive the phone no matter what you do.

If the battery is totally empty because you drained it completely, then it will need a long "dead" charge period

until it has enough to boot entirely & hold charge during the battery loading.

Was the phone very very hot ?

I made the temperatures regulations a bit more strict on last release,

the CPU is regulated faster to avoid heavy overheating,

and each of the other sensors implement a high danger threshold where the device will shutdown.

In all honesty, on Huashan, I never got a single report or experience of a device shutting down due to overheat,

and I'm using this implementation since more than a year. And so far, first time I ear something like that on Blue too.
[Sony Xperia T, TL, TX, V] Realmind:
About the sleep of death :

I think its something about wifi.

I have strange wifi and sometimes I must reconnect connection for proper working it's something wrong and I dont know what. Maybe phone, maybe incompatible something. For more info this issue I have more often with original 4.3 android and with cyanogen It almost disappear.

I have very slow wifi with poor signal and exp 3x SoD in a row If I wanted connect from my car.

I have disabled wifi while sleep mode.
[Sony Xperia T, TL, TX, V] Saiphable:
I have got xperia T and I opened back cover and remove battery. It was full charged because I want to flash your zips ... To try renew my old T:(

Odoslané z Xperia Mini Pro pomocou Tapatalku
[Sony Xperia T, TL, TX, V] pietruccio1995:
Yep, when I play Pokémon Go it is like a hell in my hand but when i play MyBoy is like 30 degrees under Pokémon Go so i think "some voltage are wrong with GPU maybe".
[Sony Xperia T, TL, TX, V] scanno:
Neh it is Pokémon go. Other phones get very hot also. Not just a mint problem.

Used to play ingress on the mint, and same problem. My moto X style also gets very hot playing ingress and Pokémon go

Verstuurd vanaf mijn XT1572 met Tapatalk
[Sony Xperia T, TL, TX, V] pietruccio1995:
If you take some attention, you can read that the phone shoutdown with every game i tested.
[Sony Xperia T, TL, TX, V] dzadzev:
Can you test for SoD with last kernel that Adrian posted.

https://basketbuild.com/filedl/devs.../Development/kernel-20160724-1809-cm_mint.zip
[Sony Xperia T, TL, TX, V] nhicko95:
what is new build im no longer updated on this thread because lack of wifi here in philippines
[Sony Xperia T, TL, TX, V] AdrianDC:
New release 20160725 : Latest blue changes, latest CM changes, touchscreen properly disabled in-call.

From the many tests since yesterday, it seems the Touchscreen suspend implementation also fixed Sleep of Death !

Need confirmation on that & as much testing as possible.
[Sony Xperia T, TL, TX, V] ogurec:
can i flash this kernel when i have 11072016 rom installed currently?
[Sony Xperia T, TL, TX, V] AdrianDC:
What kernel ? It's a whole ROM release.

To upgrade, you just flash the ROM. If it fails (which it will),

you read the indications given, and read the opening post of this thread

to learn more about the Unification of Userdata.
[Sony Xperia T, TL, TX, V] Klaus N.:
I have a general cm13 question: Is it possible to hide the annoying root "#" in the status bar?
[Sony Xperia T, TL, TX, V] AdrianDC:
No, out of security & root access acknowledge reasons.
[Sony Xperia T, TL, TX, V] dzadzev:
No way to disable the icon. But if you close the app which is using root the # will disappear.
[Sony Xperia T, TL, TX, V] AdrianDC:
By the way, the DynamicTyle "Root access" will show in live what app is using the root privileges.
[Sony Xperia T, TL, TX, V] Klaus N.:
Sounds interesting; I can't find it ad-hoc - where can I activate dynamic tiles in cm13?
[Sony Xperia T, TL, TX, V] AdrianDC:
You can't, they are dynamic :). Once you're in a root application and # shows up,

the tile will appear & clicking it will show the list of root using applications.
[Sony Xperia T, TL, TX, V] Klaus N.:
Thanks, I've found it. There are still two pages of tiles on my device, and # is the last one on page 2... :p

I have to live with #, because it's AFWall+.
[Sony Xperia T, TL, TX, V] FcukBloat:
I disable it via xposed ;) there are couple of modules that allow you to do that ('cm settings' and 'all my' for example)
[Android Head-Units] MikeS1971:
Anyone else have poor radio reception with the Joying JL-UL135? Previous radios in my 2001 Suburban picked up local stations just fine. This one has a hard time picking up even local stations. I double checked my antenna connections and even bought an amplified antenna. No change. In fact, the radio reception is exactly the same weather the antenna cable is plugged into the back of the radio or not. Is it possible the radio antenna port is not connected internally to the radio?

For reference, this is my radio:

https://www.carjoying.com/android-5...0-radio-stereo-audio-16gb-support-revers.html
[Android Head-Units] doitright:
Are you certain that your car doesn't have a hidden antenna amplifier somewhere? If it does, it needs to be powered. Make sure to run the antenna power lead to the antenna amplifier.
[Android Head-Units] MikeS1971:
I'm positive my Suburban doesn't have a hidden antenna amplifier. I recently installed an amplified antenna along with the OEM antenna and it didn't change. After a little more research it seems that the antenna ground internally to some of these radios never got soldered. I may have to pull the radio, open it up and inspect.
[Android Head-Units] doitright:
Before you go to that extreme, try hooking up a piece of unshielded/ungrounded wire to the center pin in the back of the antenna jack on the head unit, and hold it up. If the wire all by itself improves radio reception better than hooking up the actual car antenna, then you need to look into vehicle side. If it does not, then you need to look at the connection for the center pin on the head unit.

The antenna ground itself doesn't do anything besides shield the antenna cable between the head unit and the antenna base. So if the wire doesn't work, it would suggest that the main antenna pin (not the ground) is not connected.
[Android Head-Units] AssassinsLament:
I had the same issue and it turned out to be the radio app itself. The original app worked fine, then I installed a themed version and my radio just would not pick up any signals. Then I uninstalled that themed version and the previous app worked fine.