[ROM][XS][6.0.1][MMB29T] OneOfaKind-M 27/01/2016 ₪ LAYERS ₪ STABLE ₪ SLIM ₪ ODEX ₪

Search This thread

ipromeh

Senior Member
Oct 8, 2012
1,382
3,472
24
Kuala Lumpur
[ROM][XS][6.0.1][MMB29T] OneOfaKind-M 27/01/2016 ₪ LAYERS ₪ STABLE ₪ SLIM ₪ ODEX ₪

3oEdv0j1NWTb7OWzjG.gif

QEb3hYz.png

[COLOR="1B8282"]Oneofakind for Xperia S[/COLOR]



Oneofakind is a lightweight AOSP ROM focused on battery, performance and stability.
The philosophy of Oneofakind is based on AOSP to stay relatively close to Google's stock Marshmallow with the additions of essential features that should have been included with stock Marshmallow.




[COLOR="1B8282"]Features:[/COLOR]


Build
Android 6.0.1_r10 (MMB29T)
Layers 4.0 support
Enable DEXPREOPT (odexed)
-Why odex? See Google's document about dexpreopt here
Pre-rooted with SuperSU
Removed sample APN list
Simplified audio packages
ROM base debloat. List of removed packages:
*Basic Dreams
*AOSP Browser
*AOSP Calendar
*AOSP Email
*AOSP Exchange
*AOSP Launcher3
*AOSP Music
*LiveWallpapers
*MusicFX
*OpenWnn
*PicoTTS with language packs
*Stk
*Video editor libraries

Frameworks
Some materialization to Android UI
Disabled fullscreen keyboard on landscape mode
Speed up long press timeout
Oneofakind Material Wallpaper
Oneofakind AOSP bootanimation without bootanimation.zip

Settings
Enabled Development Settings by default
Implemented SuperSU into Settings (Also hide SuperSU icon from launcher)
Option to enable MultiWindow mode in Development Settings
Migrated Mobile networks option to Settings dashboard
Added missing back buttons in Settings
Added processor, ram and device info in about phone settings
Removed AOSP system update settings
Enabled unknown sources by default
Some materialization
Oneofakind Settings:
Statusbar
*Customizable battery icons and percentage
*Clock & Date options
*Migrated SystemUI Tuner into Statusbar option and enabled by default
Volume rocker
*Volume rocker wake
*Hold volume buttons to skip track
Gesture
*Double tap on statusbar / lockscreen to sleep
*Three finger gesture screenshot
*Hold back button to kill app
Recents Menu
*Option to Enable/Disable search bar in recents menu
Device Specific
*Doze: custom and adaptive brightness
*Lightbar managment
*Screen color calibration
*Customizable Hardware mainkeys layout
*Low memory killer: custom min free
*Customizable Zram size
*KSM Settings
*Option to enable fast charge at Battery Usage Settings

LED Light Settings
Charging battery light with custimizable color
Notification light color options

Recents Screen
Clear all button (enabled by default)

Battery Saver
Force doze to be enabled
Added additional battery saver steps

Power Menu
Advanced reboot options

Dialer
In-call vibration features
Vibrate on answer
Vibrate on call waiting
Vibrate on hang up

InCallUI
Keep InCallUI in memory
Materialization

DocumentsUI
Added a standalone mode to the DocumentsUI to let it act as a file manager

Buttons
Long pressing recents button to switch to last app

Launcher
SlimLauncher from SlimROMs
Highly customizable with icon pack support

Gallery2
Light material themed
Matetialized app icon
Some optimizations from CyanogenMod

DeskClock
Materialized Deskclock
Advanced alarm features from OmniROM

Camera2
Materialized



[COLOR="1B8282"]Downloads:[/COLOR]




[COLOR="1B8282"]Changelogs:[/COLOR]

Code:
[B][U]27/01/2016[/U][/B]
Fixed USB OTG (credits dmcoles and mickybart)
Implemented SuperSU into Settings (also hide SuperSU from app drawer)


[B][U]20/01/2016[/U][/B]
Long press on Home : Mapped to Nothing in Modern layout to avoid SystemUI crash. Bug need to be fixed upstream.
NFC: support is back
Removed support for turning off lightbar for now (nozomi only)


[B][U]18/01/2016[/U][/B]
Initial release





[COLOR="1B8282"]Recommended Gapps:[/COLOR]




XDA:DevDB Information
Oneofakind-M for Xperia S, ROM for the Sony Xperia S

Contributors
ipromeh, mickybart, billchen1977, CallMeAldy, Jonathan
Source Code: https://github.com/ipromeh/oneofakind_manifest/tree/M-nozomi

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Stable

Created 2016-01-18
Last Updated 2016-01-27
 

ipromeh

Senior Member
Oct 8, 2012
1,382
3,472
24
Kuala Lumpur
Flashing Procedure:


PLEASE READ CAREFULLY. This is not a complex procedure but you have to repartition the device if not yet done and to backup your data prior.

Backup

We will format /data and /sdcard so you need to take backup and put it outside of the phone.
Use your current TWRP to backup your ROM (system/boot/data) into /sdcard
Once done, backup on your computer the /sdcard content (use a file browser with mtp or adb pull)


Recovery/TWRP

Extract recovery.img from the Zip file
Enter the device into fastboot mode
flash the recovery.img into boot partition like a boot image (fastboot flash boot recovery.img)
restart the device (fastboot reboot)
You should be on the recovery (it can be a little bit long to start the first time)


Repartitionning

Go to Mount on TWRP gui (uncheck system, data, cache)
Connect on the recovery with "adb shell"

fdisk -l /dev/block/mmcblk0

Copy the output of the command to a file with your backup. It will permit you to revert if needed and to help you if you have an issue (read carefully and you will not have)

Interesting parts are those in bold :
/dev/block/mmcblk0p14 42945 261695 7000024 83 Linux
/dev/block/mmcblk0p15 261696 954240 22161424 83 Linux

It can be not exactly the same values for you depending the size of your /data (p14) and /sdcard (p15)

so here we go (don't forget the section backup. this procedure will erase your data)

fdisk /dev/block/mmcblk0

Command (m for help): p

Command (m for help): d
Partition number (1-15): 15

Command (m for help): d
Partition number (1-14): 14

Command (m for help): n
First cylinder (769-954240, default 769): 42945
Last cylinder or +size or +sizeM or +sizeK (42945-954240, default 954240): (just press enter if the default value is the good one)
Using default value 954240

Command (m for help): t
Partition number (1-14): 14
Hex code (type L to list codes): 83

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table

Once repartitioning done, do NOT do anything else and just reboot the device (to be sure that the partition table is take into account by the kernel)

Now we will convert /data and /cache to F2FS.
Ext4 is not supported anymore on nAOSProm. You don't need to take care about the 16384 byte to reserve for encryption. TWRP will do it for you.


Into TWRP
Wipe
Advanced Wipe
select Data
Repair or Change File system
Change File System
F2FS
Swipe to Change

Press Home and do the same procedure to convert Cache partition to F2FS

Once done, again, do NOT do anything else and just reboot the device (required by TWRP)

Congratulation, if everything is fine you should be able to mount /cache and /data and to see a big /data volume arround 28 GiB.


FOTA recovery

Now it is time to put the new recovery into the FOTA partition

Upload the recovery.img into your phone (adb push recovery.img /sdcard/). Yes /sdcard is a symlink somewhere to /data/media
Flash the recovery.img to the fota partition as usual (dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p11)

Upload the ROM/Gapps

Upload the ROM/Gapps and every zip that you want to flash into /sdcard (/data/media/). Use "adb push" for example.

Flash the ROM and GApps

You can now flash the ROM as usual

If you want GApps, please flash Gapps just after the ROM and once done, don't flash anything else and restart the phone. You should be able to configure Gapps without force close. The first boot can be a little bit longer due to application compilation as usual.

Once everything is working fine, just reboot into the recovery and flash what else you need


Restore your own data

You can restore your /sdcard data (Pictures, Music, ...) if you want.
Do not restore TWRP folder because previous TWRP backup are not compatible with the new partition layout.


Congratulation

That's it

...more to come

credits: mickybart
 
Last edited:

ipromeh

Senior Member
Oct 8, 2012
1,382
3,472
24
Kuala Lumpur
Known issues:


Encryption

So Encryption is working but don't use it for now because GSM radio will not be able to start correctly and TWRP will not be able to mount /data. You can try just for fun. The flashing procedure take care to prepare the device for a possible encryption in the futur but will not encrypt the device. (go into Settings/Security/Encrypt. Don't forget to set a PIN/passphrase/schema before)


Battery doesn't charge when the device is off on a sector charger

Don't panic if your device hasn't any power and can't start when you press Power button. It is not dead (It happens to me during my test).
So simply connect your phone in usb to a computer. The led should be red/orange. Keep it like this. After few minutes the device will start and you will see the Sony logo. If it display a battery on screen, you can press power button to start the device. Once done, go in airplane mode and wait to have around 10%. Of course you can enable fast charge and plug the device quickly to an adapted charger (1A).
 
Last edited:

guruAhtasham

Senior Member
Jan 17, 2015
99
14
Thanks for New OneOfAKind but download link not working :(

Edit: Now saw the heading it says place holder I think the rom is yet to be uploaded :p
 
Last edited:

ipromeh

Senior Member
Oct 8, 2012
1,382
3,472
24
Kuala Lumpur
Last edited:

heavens dragon

Senior Member
Nov 4, 2010
295
95
Thanks for the rom being waiting for this :), there is an issue with bottom light bar when it's turned off(after reboot) the phone soft reboots every time whenever the screen is turned off by power button or when it's timed out. Sorry i can't attach log atm i'll try to attach it asap.
 
  • Like
Reactions: kandangwa

secretdevil

Member
Sep 11, 2015
29
4
Tehran
adb cannot detect my device
also my pc cannot detect my phone too ==>ERROR ==> Device Descriptor Request Failed erroe in device manager
i install driver but my pc cannot detect my phone ..
why?
please help...i want this rom:( :( :(
 

Fir3lordZuk0

Senior Member
Oct 10, 2015
838
205
Bangalore
Google Pixel 6
adb cannot detect my device
also my pc cannot detect my phone too ==>ERROR ==> Device Descriptor Request Failed erroe in device manager
i install driver but my pc cannot detect my phone ..
why?
please help...i want this rom:( :( :(
Uninstall & reinstall driver and check.

If not successful, try this:
1. Disable Driver signature enforcement:
http://www.isunshare.com/windows-8/...gnature-enforcement-in-windows-8-and-8.1.html
Google for Win 7 or Win 10 procedure.
2. Go to Device manager. Connect device again and give the correct path for drivers. U will get warning for driver signature but install it anyway.

Now your device will be detected in ADB & Fastboot
 
  • Like
Reactions: secretdevil

secretdevil

Member
Sep 11, 2015
29
4
Tehran
Uninstall & reinstall driver and check.

If not successful, try this:
1. Disable Driver signature enforcement:
http://www.isunshare.com/windows-8/...gnature-enforcement-in-windows-8-and-8.1.html
Google for Win 7 or Win 10 procedure.
2. Go to Device manager. Connect device again and give the correct path for drivers. U will get warning for driver signature but install it anyway.

Now your device will be detected in ADB & Fastboot
Thanks for answering me
i do those step but my pc and adb cannot detect my phone too
but i have another problem
when i connect usb cable to phone it is charging
but when i disconnect he usb cable in battery icon i see charging symbol and the led light still on while i disconnect the usb cable
why? phone usb port has been damaged???
 
  • Like
Reactions: BlitzBill23

Fir3lordZuk0

Senior Member
Oct 10, 2015
838
205
Bangalore
Google Pixel 6
Screenshots

Here you go :)
 

Attachments

  • Screenshot_20160119-193558.jpg
    Screenshot_20160119-193558.jpg
    47 KB · Views: 4,367
  • Screenshot_20160119-193606.png
    Screenshot_20160119-193606.png
    125.3 KB · Views: 4,321
  • Screenshot_20160119-193624.png
    Screenshot_20160119-193624.png
    40.9 KB · Views: 4,217
  • Screenshot_20160119-193642.png
    Screenshot_20160119-193642.png
    61 KB · Views: 4,235
  • Screenshot_20160119-193656.png
    Screenshot_20160119-193656.png
    55.6 KB · Views: 4,201
  • Like
Reactions: secretdevil

secretdevil

Member
Sep 11, 2015
29
4
Tehran
i test my device with Xperia Diagnostics app and in charging test show me this result
"The Device is charging from a socket charger"
but i disconnect the charger
why?
 

Fir3lordZuk0

Senior Member
Oct 10, 2015
838
205
Bangalore
Google Pixel 6
Thanks for answering me
i do those step but my pc and adb cannot detect my phone too
but i have another problem
when i connect usb cable to phone it is charging
but when i disconnect he usb cable in battery icon i see charging symbol and the led light still on while i disconnect the usb cable
why? phone usb port has been damaged???
Make sure you are installing correct drivers. Try the attached divers.

Connect device in fastboot mode (Hold Volume Up Key and insert USB cable) and make sure you immediately give path for drivers. It should work.

And no USB port is not damaged, it happens sometime to me as well. Just hard reset once (Hold Power +Volume Up for 3 seconds)
 

secretdevil

Member
Sep 11, 2015
29
4
Tehran
Make sure you are installing correct drivers. Try the attached divers.

Connect device in fastboot mode (Hold Volume Up Key and insert USB cable) and make sure you immediately give path for drivers. It should work.

And no USB port is not damaged, it happens sometime to me as well. Just hard reset once (Hold Power +Volume Up for 3 seconds)

so why Xperia Diagnostic show me that result??? ... i posted it
 

xxkoncyxx

Member
Oct 29, 2012
41
1
Kosd
Followed instructions step-by-step to get the 8gb data partition, but after restart my phone is bricked.
Only SEMC Flash Device appears in the device manager.
Flashtool log:
20/053/2016 00:53:59 - INFO - Device connected with USB debugging off
20/053/2016 00:53:59 - INFO - For 2011 devices line, be sure you are not in MTP mode
20/054/2016 00:54:00 - INFO - List of connected devices (Device Id) :
20/054/2016 00:54:00 - INFO - - USB\VID_0FCE&PID_3DDE\5&21E739F&0&1 Driver installed : true
20/054/2016 00:54:00 - INFO - List of ADB devices :
20/054/2016 00:54:00 - INFO - - none
20/054/2016 00:54:00 - INFO - List of fastboot devices :
20/054/2016 00:54:00 - INFO - - none

Any solution?
 

Fir3lordZuk0

Senior Member
Oct 10, 2015
838
205
Bangalore
Google Pixel 6
Followed instructions step-by-step to get the 8gb data partition, but after restart my phone is bricked.
Only SEMC Flash Device appears in the device manager.
Flashtool log:
20/053/2016 00:53:59 - INFO - Device connected with USB debugging off
20/053/2016 00:53:59 - INFO - For 2011 devices line, be sure you are not in MTP mode
20/054/2016 00:54:00 - INFO - List of connected devices (Device Id) :
20/054/2016 00:54:00 - INFO - - USB\VID_0FCE&PID_3DDE\5&21E739F&0&1 Driver installed : true
20/054/2016 00:54:00 - INFO - List of ADB devices :
20/054/2016 00:54:00 - INFO - - none
20/054/2016 00:54:00 - INFO - List of fastboot devices :
20/054/2016 00:54:00 - INFO - - none

Any solution?
You can anytime use 'Emma' to flash stock firmware.
Run Emma & connect device to PC by holding Volume down button.

Then you can repartition again and flash 6.0

---------- Post added at 08:04 AM ---------- Previous post was at 07:24 AM ----------

Known issues:


Encryption

So Encryption is working but don't use it for now because GSM radio will not be able to start correctly and TWRP will not be able to mount /data. You can try just for fun. The flashing procedure take care to prepare the device for a possible encryption in the futur but will not encrypt the device. (go into Settings/Security/Encrypt. Don't forget to set a PIN/passphrase/schema before)


Battery doesn't charge when the device is off on a sector charger

Don't panic if your device hasn't any power and can't start when you press Power button. It is not dead (It happens to me during my test).
So simply connect your phone in usb to a computer. The led should be red/orange. Keep it like this. After few minutes the device will start and you will see the Sony logo. If it display a battery on screen, you can press power button to start the device. Once done, go in airplane mode and wait to have around 10%. Of course you can enable fast charge and plug the device quickly to an adapted charger (1A).
So my phone switched off over the night.

I followed the steps as mentioned above and Sony logo shows up and then i could boot the phone. But when i put it in airplane mode and enable fast charge, it did not charge and switched off again.

What I did:
Connected USB cable & did wait for Sony Logo.
Device started, connected wall charger on OneOfAKind Logo.
(If the device dont start and shows battery icon, turn in on by pressing Power button and connect to wall charger).

Basically when u see Sony logo, disconnect USB & connect to wall charger :)
 

kandangwa

Senior Member
Dec 2, 2013
95
4
Kathmandu
I have already partitioned my device with 5 gb internal storage and rest for data before using oneofakind lollipop rom. do i again need to repartition my xs? if yes, will the provided procedure work for me or do i again have to flash stock rom and follow your procedure?
 

ChaTy

Senior Member
Jan 13, 2013
763
198
Mumbai
www.technogeekzindia.com
I did till

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table

then i went to reboot>system,
then in twrp i went to wipe>adv wipe> data> change/repair file system. there i saw:

mount point: /data
file system: f2fs
present: yes
removable:no
size:0mb
used:0mb
free:0mb
backup size:0mb

i dont now what this means

also if i ried changing file system to f2fs it say
failed to unmount "/data"(invalid argument)
unable to mount storage

help needed asap!

Edit:
I just formatted the data partition n all was good to go!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    [ROM][XS][6.0.1][MMB29T] OneOfaKind-M 27/01/2016 ₪ LAYERS ₪ STABLE ₪ SLIM ₪ ODEX ₪

    3oEdv0j1NWTb7OWzjG.gif

    QEb3hYz.png

    [COLOR="1B8282"]Oneofakind for Xperia S[/COLOR]



    Oneofakind is a lightweight AOSP ROM focused on battery, performance and stability.
    The philosophy of Oneofakind is based on AOSP to stay relatively close to Google's stock Marshmallow with the additions of essential features that should have been included with stock Marshmallow.




    [COLOR="1B8282"]Features:[/COLOR]


    Build
    Android 6.0.1_r10 (MMB29T)
    Layers 4.0 support
    Enable DEXPREOPT (odexed)
    -Why odex? See Google's document about dexpreopt here
    Pre-rooted with SuperSU
    Removed sample APN list
    Simplified audio packages
    ROM base debloat. List of removed packages:
    *Basic Dreams
    *AOSP Browser
    *AOSP Calendar
    *AOSP Email
    *AOSP Exchange
    *AOSP Launcher3
    *AOSP Music
    *LiveWallpapers
    *MusicFX
    *OpenWnn
    *PicoTTS with language packs
    *Stk
    *Video editor libraries

    Frameworks
    Some materialization to Android UI
    Disabled fullscreen keyboard on landscape mode
    Speed up long press timeout
    Oneofakind Material Wallpaper
    Oneofakind AOSP bootanimation without bootanimation.zip

    Settings
    Enabled Development Settings by default
    Implemented SuperSU into Settings (Also hide SuperSU icon from launcher)
    Option to enable MultiWindow mode in Development Settings
    Migrated Mobile networks option to Settings dashboard
    Added missing back buttons in Settings
    Added processor, ram and device info in about phone settings
    Removed AOSP system update settings
    Enabled unknown sources by default
    Some materialization
    Oneofakind Settings:
    Statusbar
    *Customizable battery icons and percentage
    *Clock & Date options
    *Migrated SystemUI Tuner into Statusbar option and enabled by default
    Volume rocker
    *Volume rocker wake
    *Hold volume buttons to skip track
    Gesture
    *Double tap on statusbar / lockscreen to sleep
    *Three finger gesture screenshot
    *Hold back button to kill app
    Recents Menu
    *Option to Enable/Disable search bar in recents menu
    Device Specific
    *Doze: custom and adaptive brightness
    *Lightbar managment
    *Screen color calibration
    *Customizable Hardware mainkeys layout
    *Low memory killer: custom min free
    *Customizable Zram size
    *KSM Settings
    *Option to enable fast charge at Battery Usage Settings

    LED Light Settings
    Charging battery light with custimizable color
    Notification light color options

    Recents Screen
    Clear all button (enabled by default)

    Battery Saver
    Force doze to be enabled
    Added additional battery saver steps

    Power Menu
    Advanced reboot options

    Dialer
    In-call vibration features
    Vibrate on answer
    Vibrate on call waiting
    Vibrate on hang up

    InCallUI
    Keep InCallUI in memory
    Materialization

    DocumentsUI
    Added a standalone mode to the DocumentsUI to let it act as a file manager

    Buttons
    Long pressing recents button to switch to last app

    Launcher
    SlimLauncher from SlimROMs
    Highly customizable with icon pack support

    Gallery2
    Light material themed
    Matetialized app icon
    Some optimizations from CyanogenMod

    DeskClock
    Materialized Deskclock
    Advanced alarm features from OmniROM

    Camera2
    Materialized



    [COLOR="1B8282"]Downloads:[/COLOR]




    [COLOR="1B8282"]Changelogs:[/COLOR]

    Code:
    [B][U]27/01/2016[/U][/B]
    Fixed USB OTG (credits dmcoles and mickybart)
    Implemented SuperSU into Settings (also hide SuperSU from app drawer)
    
    
    [B][U]20/01/2016[/U][/B]
    Long press on Home : Mapped to Nothing in Modern layout to avoid SystemUI crash. Bug need to be fixed upstream.
    NFC: support is back
    Removed support for turning off lightbar for now (nozomi only)
    
    
    [B][U]18/01/2016[/U][/B]
    Initial release





    [COLOR="1B8282"]Recommended Gapps:[/COLOR]




    XDA:DevDB Information
    Oneofakind-M for Xperia S, ROM for the Sony Xperia S

    Contributors
    ipromeh, mickybart, billchen1977, CallMeAldy, Jonathan
    Source Code: https://github.com/ipromeh/oneofakind_manifest/tree/M-nozomi

    ROM OS Version: 6.0.x Marshmallow
    ROM Kernel: Linux 3.4.x
    Based On: AOSP

    Version Information
    Status: Stable

    Created 2016-01-18
    Last Updated 2016-01-27
    15
    Flashing Procedure:


    PLEASE READ CAREFULLY. This is not a complex procedure but you have to repartition the device if not yet done and to backup your data prior.

    Backup

    We will format /data and /sdcard so you need to take backup and put it outside of the phone.
    Use your current TWRP to backup your ROM (system/boot/data) into /sdcard
    Once done, backup on your computer the /sdcard content (use a file browser with mtp or adb pull)


    Recovery/TWRP

    Extract recovery.img from the Zip file
    Enter the device into fastboot mode
    flash the recovery.img into boot partition like a boot image (fastboot flash boot recovery.img)
    restart the device (fastboot reboot)
    You should be on the recovery (it can be a little bit long to start the first time)


    Repartitionning

    Go to Mount on TWRP gui (uncheck system, data, cache)
    Connect on the recovery with "adb shell"

    fdisk -l /dev/block/mmcblk0

    Copy the output of the command to a file with your backup. It will permit you to revert if needed and to help you if you have an issue (read carefully and you will not have)

    Interesting parts are those in bold :
    /dev/block/mmcblk0p14 42945 261695 7000024 83 Linux
    /dev/block/mmcblk0p15 261696 954240 22161424 83 Linux

    It can be not exactly the same values for you depending the size of your /data (p14) and /sdcard (p15)

    so here we go (don't forget the section backup. this procedure will erase your data)

    fdisk /dev/block/mmcblk0

    Command (m for help): p

    Command (m for help): d
    Partition number (1-15): 15

    Command (m for help): d
    Partition number (1-14): 14

    Command (m for help): n
    First cylinder (769-954240, default 769): 42945
    Last cylinder or +size or +sizeM or +sizeK (42945-954240, default 954240): (just press enter if the default value is the good one)
    Using default value 954240

    Command (m for help): t
    Partition number (1-14): 14
    Hex code (type L to list codes): 83

    Command (m for help): w
    The partition table has been altered.
    Calling ioctl() to re-read partition table

    Once repartitioning done, do NOT do anything else and just reboot the device (to be sure that the partition table is take into account by the kernel)

    Now we will convert /data and /cache to F2FS.
    Ext4 is not supported anymore on nAOSProm. You don't need to take care about the 16384 byte to reserve for encryption. TWRP will do it for you.


    Into TWRP
    Wipe
    Advanced Wipe
    select Data
    Repair or Change File system
    Change File System
    F2FS
    Swipe to Change

    Press Home and do the same procedure to convert Cache partition to F2FS

    Once done, again, do NOT do anything else and just reboot the device (required by TWRP)

    Congratulation, if everything is fine you should be able to mount /cache and /data and to see a big /data volume arround 28 GiB.


    FOTA recovery

    Now it is time to put the new recovery into the FOTA partition

    Upload the recovery.img into your phone (adb push recovery.img /sdcard/). Yes /sdcard is a symlink somewhere to /data/media
    Flash the recovery.img to the fota partition as usual (dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p11)

    Upload the ROM/Gapps

    Upload the ROM/Gapps and every zip that you want to flash into /sdcard (/data/media/). Use "adb push" for example.

    Flash the ROM and GApps

    You can now flash the ROM as usual

    If you want GApps, please flash Gapps just after the ROM and once done, don't flash anything else and restart the phone. You should be able to configure Gapps without force close. The first boot can be a little bit longer due to application compilation as usual.

    Once everything is working fine, just reboot into the recovery and flash what else you need


    Restore your own data

    You can restore your /sdcard data (Pictures, Music, ...) if you want.
    Do not restore TWRP folder because previous TWRP backup are not compatible with the new partition layout.


    Congratulation

    That's it

    ...more to come

    credits: mickybart
    6
    Known issues:


    Encryption

    So Encryption is working but don't use it for now because GSM radio will not be able to start correctly and TWRP will not be able to mount /data. You can try just for fun. The flashing procedure take care to prepare the device for a possible encryption in the futur but will not encrypt the device. (go into Settings/Security/Encrypt. Don't forget to set a PIN/passphrase/schema before)


    Battery doesn't charge when the device is off on a sector charger

    Don't panic if your device hasn't any power and can't start when you press Power button. It is not dead (It happens to me during my test).
    So simply connect your phone in usb to a computer. The led should be red/orange. Keep it like this. After few minutes the device will start and you will see the Sony logo. If it display a battery on screen, you can press power button to start the device. Once done, go in airplane mode and wait to have around 10%. Of course you can enable fast charge and plug the device quickly to an adapted charger (1A).
    6
    Hi :)

    Sorry for being inactive for these few months.


    I'm aware of the lightbar reboot loop bug. Since my ROM is getting out of date and not sticking to the android aosp upstream anymore, I would like rebase and to start everything from starch again


    The next build may remove some features as I prefer a cleaner base

    Please wait patiently for the next update ;)
    5
    First one.
    As usual thanks @ipromeh

    Thanks for New OneOfAKind but download link not working :(

    Edit: Now saw the heading it says place holder I think the rom is yet to be uploaded :p

    Updated first post with download link

    I hope someone can provide me some screenshots :)

    Happy new year, enjoy #oneofakind :highfive: