• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][XC][O][8.0][UNOFFICIAL]OmniROM

DJHasis

Senior Member
Feb 16, 2015
97
185
0
33
Turku
UNOFFICIAL Omnirom


Code:
#include  
/*  * Your warranty is now void.  
*  * I am not responsible for bricked devices, dead SD cards,  
* thermonuclear war, or you getting fired because the alarm app failed. Please  
* do some research if you have any concerns about features included in this ROM  
* before flashing it! YOU are choosing to make these modifications, and if  
* you point the finger at me for messing up your device, I will laugh at you.  
*/
Instructions

* Backup everything if something goes wrong
* Wipe System, Cache and Data
* Install zip-file
* Flash oem-partition, see second post

All the source code for the os is available in the Omnirom Github repo.

What works?
  • Data (2g, 3g and lte)
  • Calling
  • Torch
  • Installation of Gapps
  • Camera
  • WIFI

Known Issues
  • NFC doesn't work

Downloads

My mediafire -folder

Thanks humberos, jerpelea, kholk, omnirom devs and many others.

XDA:DevDB Information
Omnirom, ROM for the Sony Xperia X Compact

Contributors
DJHasis
ROM OS Version: 8.x Oreo

Version Information
Status: Testing

Created 2017-10-29
Last Updated 2017-12-04
 

Attachments

Last edited:

DJHasis

Senior Member
Feb 16, 2015
97
185
0
33
Turku
Until Sony updates their Firmware to allow flashing of oem partition, this is a workaround to flash this partition thru TWRP recovery and using dd.

Download and unzip SW_binaries_for_Xperia_AOSP_O_MR0_4.4_v05_loire.zip from https://developer.sonymobile.com/open-devices/list-of-devices-and-resources/

Create a sparse oem.img from the downloaded binaries.

Code:
$ simg2img SW_binaries_for_Xperia_AOSP_O_MR0_4.4_v05_loire.img oem.raw
Then flash the oem partition (workaround, until Sony updates stock image with oem partition writable)

Boot to TWRP recovery by powering off the phone completely, hold VOL-DOWN and POWER and wait for TWRP boot.
Or, fastboot boot twrp.img

Code:
$ adb root
$ adb push oem.raw /sdcard/
$ adb shell
# dd if=/sdcard/oem.raw of=/dev/block/mmcblk0p39
Thanks NielDK for the instructions https://forum.xda-developers.com/showpost.php?p=74130466&postcount=2
 
Last edited:

DJHasis

Senior Member
Feb 16, 2015
97
185
0
33
Turku
But can i do it with adb n fastboot tool too? Or its not going to work?
I haven't much used fastboot so I don't know how well adb works with fastboot. I just booted to twrp and used adb like in the instructions.

Of course you don't need adb if you put the raw-file on the sd-card directly with your computer. Then put the card to your phone. Boot to twrp and use twrp's terminal to write "dd if=/sdcard/oem.raw of=/dev/block/mmcblk0p39" .
 

Macuway

Senior Member
Aug 18, 2015
50
5
0
Tallinn
I haven't much used fastboot so I don't know how well adb works with fastboot. I just booted to twrp and used adb like in the instructions.

Of course you don't need adb if you put the raw-file on the sd-card directly with your computer. Then put the card to your phone. Boot to twrp and use twrp's terminal to write "dd if=/sdcard/oem.raw of=/dev/block/mmcblk0p39" .
Ok, but can you add the oem.raw image here because :D i am such a newbie. I haven't just touched the OEM stuff so i don't know much. So as i understand:
I need that oem.raw image and twrp
And then boot into twrp
Go to terminal
Write: if=/sdcard/oem.raw of=/dev/block/mmcblk0p39
Push enter
Reboot
And no sony logo stuck and boots right into omni?
(Edit) and put the oem.raw to /sdcard/
 

DJHasis

Senior Member
Feb 16, 2015
97
185
0
33
Turku
Ok, but can you add the oem.raw image here because :D i am such a newbie. I haven't just touched the OEM stuff so i don't know much. So as i understand:
I need that oem.raw image and twrp
And then boot into twrp
Go to terminal
Write: if=/sdcard/oem.raw of=/dev/block/mmcblk0p39
Push enter
Reboot
And no sony logo stuck and boots right into omni?
(Edit) and put the oem.raw to /sdcard/
So after you have backed up every thing.
You need to wipe the system and data with twrp.
Then you can install my zip-file with twrp.
Then you need to make the oem.raw file like in the instructions with your pc.
Then you can copy that file to your sd card.
After that you can boot to twrp, open the terminal and write this " dd if=/sdcard/oem.raw of=/dev/block/mmcblk0p39 ". And push enter.
After that you can reboot your phone and every thing should work .
 
  • Like
Reactions: 9h0s7

DJHasis

Senior Member
Feb 16, 2015
97
185
0
33
Turku
Hey, Thanks for your Work. Is it usable AS daily Driver ?
I've been using for almost two weeks.

Sometimes it might crash but devs are improving the code quite fast and the latest version is quite stable.

I'm compiling a new version on semi daily basis so you'll get the latest changes quite fast.
 
  • Like
Reactions: solarkraft

DJHasis

Senior Member
Feb 16, 2015
97
185
0
33
Turku
@DJHasis Some people over at the [Nougat 7.1.X][X Compact - F5321] Android Open Source Project thread were discussing the green camera issue, thought it might help you figure out the issue...
Thanks for telling me about it. I read the post and I now know that the camera issue has been fixed.
 

lba810701

Senior Member
Jul 8, 2010
113
41
28
Budapest
Hi! After a few days using, this rom, heres my "report":
- First boot time is so long, so be patient until it finished his work.
- Camera works perfectly with the roms cam software, there are 20,3MPx and the Automata focus continously, picture taking about a minisec.. self cam works to. But, I think the pictures a little dark...
- I found an "error".. If i set up the omni alarm and choosed the alarm sound to " random music ", it cant play any mp3 from my sd card. The phones internal storage play works good, but not from sd card...
- Supersu 2.82 SR5 zip did good the root thing
- and a big headcache... Google play... I can't install any of them. I tried lot of them. OpenGapps mini, micro, pico... Every time when i try to set up my account, its just "checking info ", and nothing else, just force stop after a few minutes. I tried it after a clean install. I tried adter root. I tried immediately after omni zip + raw combination. None of them work for me...
- about battery life, i think its normal, but i used it withouth google apps... So not many sync was the background...
- wifi doesn't work, it's simple not turning on

Anyway, i like it, i think after some time, it will be good as Omni 7.1.2. Keep up the good work OmniTeam! And thanks for your homemade to!
 

lba810701

Senior Member
Jul 8, 2010
113
41
28
Budapest
Hey there,
Is wifi working now?
Regards, Chris
Hi!
On 11.04 the wifi doesn't turn on. Its not working. On the 11.08 I don't try it. BUT...
I've got a working gapps. I don't really know how to do that, but The steps was:
After wipe data, system, cache, etc then flashed Omnirom homemade zip, after that dd the raw image. Then before bootes up i flashed " A-GAPPS-arm64--8.0-01102017.zip ", then supersu latest SR5. After boot, the gapps setup FC. Then dirty flash homemade.zip after that another gapps, what was " open_gapps-arm64-8.0-nano-20171104.zip ", then came the supersu, and then went to reboot. Now a little more time was the boot than before. After its boot up normal i've got working google account setup, and orher google things. Why i do that now? Because until "A-Gapps" the google account setup just show "checking info" screen, and never goes on. After "A-gapps" its immadietly go to FC. Just the "a-gapps" dirty flash doeant help. The whole process again with "a-gapps" dont. Just that if i flashed second time an open nano version...
I hope its help if somebody got similar problem.
 

DJHasis

Senior Member
Feb 16, 2015
97
185
0
33
Turku
Hi!
On 11.04 the wifi doesn't turn on. Its not working. On the 11.08 I don't try it. BUT...
I've got a working gapps. I don't really know how to do that, but The steps was:
After wipe data, system, cache, etc then flashed Omnirom homemade zip, after that dd the raw image. Then before bootes up i flashed " A-GAPPS-arm64--8.0-01102017.zip ", then supersu latest SR5. After boot, the gapps setup FC. Then dirty flash homemade.zip after that another gapps, what was " open_gapps-arm64-8.0-nano-20171104.zip ", then came the supersu, and then went to reboot. Now a little more time was the boot than before. After its boot up normal i've got working google account setup, and orher google things. Why i do that now? Because until "A-Gapps" the google account setup just show "checking info" screen, and never goes on. After "A-gapps" its immadietly go to FC. Just the "a-gapps" dirty flash doeant help. The whole process again with "a-gapps" dont. Just that if i flashed second time an open nano version...
I hope its help if somebody got similar problem.
I installed open gapps pico and I didn't have any issues. Also I didn't install supersu, instead I installed Magisk Manager and I don't have any root issues.
Wifi doesn't work and Sony's people are working on it.

Here every one can see the situation for our phone https://developer.sonymobile.com/open-devices/current-platform-functionality/#8956
 
Last edited:
  • Like
Reactions: lba810701