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

1,382 posts
Thanks Meter: 3,505
 
Post Reply Email Thread


Oneofakind for Xperia S



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.




Features:


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



Downloads:




Changelogs:

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


20/01/2016
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)


18/01/2016
Initial release





Recommended Gapps:




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/oneofakin.../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
The Following 37 Users Say Thank You to ipromeh For This Useful Post: [ View ] Gift ipromeh Ad-Free
18th January 2016, 11:53 AM |#2  
ipromeh's Avatar
OP Senior Member
Flag Kuala Lumpur
Thanks Meter: 3,505
 
Donate to Me
More
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
The Following 15 Users Say Thank You to ipromeh For This Useful Post: [ View ] Gift ipromeh Ad-Free
18th January 2016, 11:53 AM |#3  
ipromeh's Avatar
OP Senior Member
Flag Kuala Lumpur
Thanks Meter: 3,505
 
Donate to Me
More
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).
The Following 6 Users Say Thank You to ipromeh For This Useful Post: [ View ] Gift ipromeh Ad-Free
18th January 2016, 12:43 PM |#5  
Member
Thanks Meter: 14
 
More
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
18th January 2016, 02:31 PM |#6  
ipromeh's Avatar
OP Senior Member
Flag Kuala Lumpur
Thanks Meter: 3,505
 
Donate to Me
More
Quote:
Originally Posted by daneal2u

First one.
As usual thanks @ipromeh

Quote:
Originally Posted by guruAhtasham

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
The Following 5 Users Say Thank You to ipromeh For This Useful Post: [ View ] Gift ipromeh Ad-Free
18th January 2016, 08:28 PM |#7  
heavens dragon's Avatar
Senior Member
Thanks Meter: 95
 
More
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.
The Following User Says Thank You to heavens dragon For This Useful Post: [ View ] Gift heavens dragon Ad-Free
19th January 2016, 01:20 PM |#8  
Junior Member
Flag Sangsar
Thanks Meter: 3
 
More
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
19th January 2016, 01:38 PM |#9  
Senior Member
Flag Bangalore
Thanks Meter: 206
 
Donate to Me
More
Quote:
Originally Posted by secretdevil

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/h...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
The Following User Says Thank You to Fir3lordZuk0 For This Useful Post: [ View ] Gift Fir3lordZuk0 Ad-Free
19th January 2016, 02:13 PM |#10  
Junior Member
Flag Sangsar
Thanks Meter: 3
 
More
Quote:
Originally Posted by Fir3lordZuk0

Uninstall & reinstall driver and check.

If not successful, try this:
1. Disable Driver signature enforcement:
http://www.isunshare.com/windows-8/h...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???
The Following User Says Thank You to secretdevil For This Useful Post: [ View ] Gift secretdevil Ad-Free
19th January 2016, 02:15 PM |#11  
Senior Member
Flag Bangalore
Thanks Meter: 206
 
Donate to Me
More
Screenshots
Here you go
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20160119-193558.jpg
Views:	4342
Size:	47.0 KB
ID:	3615321   Click image for larger version

Name:	Screenshot_20160119-193606.png
Views:	4296
Size:	125.3 KB
ID:	3615322   Click image for larger version

Name:	Screenshot_20160119-193624.png
Views:	4192
Size:	40.9 KB
ID:	3615323   Click image for larger version

Name:	Screenshot_20160119-193642.png
Views:	4214
Size:	61.0 KB
ID:	3615324   Click image for larger version

Name:	Screenshot_20160119-193656.png
Views:	4172
Size:	55.6 KB
ID:	3615326  
The Following User Says Thank You to Fir3lordZuk0 For This Useful Post: [ View ] Gift Fir3lordZuk0 Ad-Free
Post Reply Subscribe to Thread

Tags
development

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes