yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] crsajib:
I tried to unlock bootloader of my vivo y351l. But "fastboot oem unlock" or "fastboot flashing unlock" those two command not working. it saying Failed (remote: unknown command or device is unlocked) :crying:

Does anybody know what is the working command for unlocking vivo bootloader or any way to root it without unlocking bootloader. Guys help please. :confused: :confused:

Thanks is advance.

PS: I have enabled oem unlock from developer option!
[General Questions and Answers] skellum:
same here. I have Vivo 1601 V5 and can't find a way to root it. It got Funtouch OS 3.0 (Marshmallow 6.0). I hope someone can help
[General Questions and Answers] Ahmadlodhra2171@gmail.com:
I can't root my QMobile i2 pro by using various root app from app store(king root,faramaroot.etc)????What I do to root my device???
[General Questions and Answers] rizkhan999:
I can hopefully help you guys on this if you install CPU-Z from playstore and send me screenshots of its first three tabs i.e. SOC, DEVICE and SYSTEM, as I am attaching for a different phone just as a sample to give you an idea about what I am demanding.....
[General Questions and Answers] Awais5528:
There is no option to send picture .

What should I do now?

I have taken screenshots of soc,system etc. Using cpu z.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Deleted member 4819888:
XC/KUGO/F5321 OmniROM BUILDS

NOUGAT 7.1

DOWNLOAD WEEKLY

CURRENT ISSUES ON OFFICIAL:

1. Encryption is broken

KERNEL SOURCE: https://github.com/omnirom/android_kernel_sony_msm8952/tree/android-7.1

BUGS REPORT

REPORT BUGS ONLY:

- AFTER A CLEAN INSTALL

- USING STOCK OMNI KERNEL

- NO MODS OF ANY SORT

OMNI GERRIT REVIEW

https://gerrit.omnirom.org/

CHANGELOG:

https://changelog.omnirom.org/

DISCLAIMER:

No one is responsible for any damage done to your device but YOU. You've been warned.

[/CENTER]

XDA:DevDB Information

[ROM][XC][N][7.1][WEEKLY]OmniROM, ROM for the Sony Xperia X Compact

Contributors

oshmoun

Source Code: https://github.com/omnirom

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.10.x

Version Information

Status: Stable

Created 2017-03-06

Last Updated 2017-06-11
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Deleted member 4819888:
New WEEKLY build released. This build contains rootless theme support through substratum (downloadable from the playstore)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Micka84:
The issues posted in op are still present?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Deleted member 4819888:
yes they are, those issues mainly relate to sonyxperiadev project, which is the base of the bring-up of Xperia X Compact on omni.

The issues need to be resolved there, then they will also be resolved for omni
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
screenshot Please
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Deleted member 4819888:
Ok i will add some screenshots when possible, but please don't quote the first post next time
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Micka84:
Flashed your rom yesterday. I got the same problem as with the aosp rom, my x compact frequently loses mobile network connection. Today I had no connection for several hours. Had to reboot 4 times to gain network connection. Though I don't know if the restarts fixed it. Plus I often only have hspa or 3g connection, this is strange. This doesn't happen on 7.0 or earlier ROMs.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Deleted member 4819888:
Maybe you have your APN settings setup incorrectly?

Other than that, this rom does not replace the modem partition so that should be the same as on stock. Not sure where your issue would come from if not from APN
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Micka84:
Thank you I will take a look at the apn settings (didn't ever change anything there though)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jeremy.wang:
flashed your ROM but i find that the two big cores frequently turned off which is causing lags

it might be something wrong with the interactive governor I guess:(
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Deleted member 4819888:
That doesn't seem wrong. The big cores will only go online if they're needed. They stay offline most of the time. That still shouldn't cause stuttering though.

Just checked here and big cores go online on high cpu loads as expected.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
Is F2FS supported? I didn't see it listed anywhere and the changelog link in the op just loads the Omni homepage.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Deleted member 4819888:
F2fs is not supported, because fstab is explicitly requiring ext4 partitions.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
Is F2FS something you could add without too much difficulty? I use it with some Nexus 7 2012 and Asus TF201 tablets and it appears to make a difference. Not sure how noticeable it would be on the XC though. I completely understand if adding F2FS support is not something you want to focus your time on.

Thanks for your work on this rom. I get my XC in the mail tomorrow and I'll be loading Omni pretty soon after.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Deleted member 4819888:
Honestly i haven't checked if it's feasible or not. Main issue is that this is my daily driver so i can't experiment with it to such levels.

I'd suggest you setup your device on omni, then maybe i can upload a custom build with f2fs support for you to build. Assuming f2fs is possible on XC of course, which is something I'll check soon
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
Got Omni loaded and was trying out encryption. It kept boot looping. On one of the loops I briefly saw the Omni logo. All the other times just the Sony boot screen, the LED would light blue/purple then turn red as the phone restarted. I know setting up encryption will cause several reboots but this didn't seem to be working correctly. Does Omni on the XC support encryption currently?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Deleted member 4819888:
Hmmm, haven't tested encryption.

Can you try booting to twrp to see if that at least works? That way we know the issue does not lie in the kernel
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
Yea twrp works. Had to go into recovery to restore my backup. It appears the encryption process did start as the first restore had the boot loops. It was only after I formatted the data partition that the restore worked and I could boot back into Omni without issue. I do have Magisk installed for systemless root so not sure if that is part of the problem. The next time I try I'll remove Magisk first.

Update: Did some searching and it looks like Magisk might be the cause. Some people have reported that encrypting the device before putting Magisk on works.

Update 2: Did a clean install of Omni after formatting all partitions. Still getting the boot loops so Magisk wasn't the cause. Some boots only have the Sony logo. Other timers the Omni logo does appear but then it restarts.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Deleted member 4819888:
Please do the following:

1. Boot up device after trying to encrypt

2. After device crashes at start and reboots, directly boot up twrp with volume buttons

3. Using adb, get all files under/sys/fs/pstore and upload

I hope they was understandable, and thanks for investing time in this
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
Install Magisk. Then install the Universal SafetyNet Fix module. Device will pass safetynet after that.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] 9h0s7:
damn, I did that. and tried core only mode. does anyone have a link besides the homemade version.

Edit: For safety net to work core only needs to be disabled and the safety net fix module needs to be enabled.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] adfadfadf:
I could not find the option to disable pocket detection...?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] 9h0s7:
it's under display. I haven't had 1 single reboot.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] rifkonhakiki:
great brader
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluc:
Hey guys!

I wanted to flash the latest Omni Weekly but the "Omni" boot screen never dissapeared.

I´m on an 7.0 Stock Rom with unlocked Bootloader. TWRP 3.1.1 on my device. I flashed the Omni Rom and nothing further happend.

Maybe I have to flash the Kernel after flash the Omni Rom? But where do I get the right kernel....

Please Help!

Thank you!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Maybe you need to wipe userdata.

If you were on stock then you had an encrypted internal storage

Note: this WILL cause loss of all data on internal storage. Should go without saying, but just in case you don't know.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
Fingerprint sensor & Camera

Fingerprint sensor seems to be bit laggy and moody as well - sometimes it just doesn't work for a while, then comes back to life.

Camera - can't judge quality at the moment - missing reference pictures. But at least Camera button doesn't open Camera App when phone locked and Volume Up/Down buttons doing nothing usefull - just triggerring trigger.

All others is ok, ROM is very responsive and fast...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Speaker Bass:
Excellent rom but sound doesn't go thru when connected on aux, it bypasses and plays thru the speaker. Any ideas what it could be?

I am using Magisk 14.3 and viper4android

Edit: I notice this only happens with auxiliary systems. Tried multiple headphones and they work. Won't work on my portable speaker either.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Speaker Bass:
I'm on the same boat as you. Won't work on any Aux system. Headphones r fine.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
Did you tried Headphones (three-pole jack) or Headsets (4-pole jack) ? Many "headphones" supplied with phone are in fact headsets, they have mics and 4-pole jack.. there can be, that this ROM somehow fails to detect 3-pole jack, but works with 4-pole one...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Speaker Bass:
All my headphones are 3-pole, as well all my aux cables. I've tried different brand cables with same results. I do recall this happening on my LG G3 a couple years back. For now I'm falling back on Bluetooth.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
Very interesting, it would then have something in common with output impedance.....
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
And you may need to be on latest .238 stock firmware, not just "any" 7.0.0
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yacoco:
I have just flashed `omni-7.1.2-20171017-kugo-WEEKLY` and it works great. However I'm still afraid to try encryption.

Is it still considered as not working?

Suppose I do `adb backup -apk -shared -all -f ...ab` and then try to encrypt. If encryption fails will I be able to restore from this backup without losing data? And should I format the data partition before doing that?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
There were no fixes applied for encryption, so it's probably still broken.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
do backup and recovery in TWRP
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yacoco:
I've tried the encryption. It's broken indeed, but the funny thing is that even after full wipe and new flash of omni the device is still bootlooping.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
A factory reset in twrp (which is what i assume you mean with full wipe), doesn't format /data.

You need to erase data and format, which is also an option in twrp.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yacoco:
You're right. Formatting and restoring a twrp backup got me back to a pre-encryption attempt state without losing any data.

I didn't notice the option "Format" in TWRP and have always though that wipe also formats the partition (I could swear there were things like `mkfs.ext4` in the output when wiping).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
fyi: mkfs can also be run on the fs inside the encrypted block device (which would not remove encryption, merely format all data inside the encrypted block device).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] NL_Hans:
Hi.

My xperia x compact is running on OmniROM 7.1.2 for months now and it works great!

But there is one issue I can't fix... Many videos (like youtube or on other sites) can't be played with my browser app. I've tried with Firefox and Chromium. Mostly I got the following error "To view this media, you need an HTML5 capable device or download the adobe flash player". I've tried to install adobe flash player, but can't find it in playstore.

Any solutions?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] danglisch:
Yep. That is what it is. The phone does not recognize the output due to its internal impedance settings. However you can force a phone into AUX mode with a third party app (like Soundabout). Crude solution, but effective as far as I can tell.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Simplyeh:
What is the pros on using omni rom 7.1 vs stock oreo? Thinking about trying this rom but oreo is fast and stable as it is :eek:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
well it all comes down to personal preference. it's your choice what you want to do, whether try something new and see if you like it, or stick with what you know.

anyway, if you do decide to flash omni then please note than omni 8.1 is available
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Simplyeh:
Yes im aware that 8.1 available, but i dont think its ready for daily use? Or am i wrong.

Pros of custom rom is usally speed and performance compared to stock, if it's any better that stock im in then :cowboy::D
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MissyVixen:
Bumping this up for questions.

I have just flashed this rom in the last 2 days, rooted with Magisk, and flashed an OEM partition image as well hoping it could correct the barrel distortion on the camera (it did not). Its amazingly fast, AOSP gallery work so much better than anything on stock...no waiting 30 seconds for each picture to clear up...

And the rom is nearly perfect except for finger print on the lock screen : it works almost% of the time when in the settings for the fingerprints. Touch it and it vibrates and identifies the finger like 99 put of 100 presses, no matter what angle.

But on the lockscreen it rarely if EVER detects finger prints. Sometimes it unlocks without pressing the button, others you have to fully wake it with the button or double tap, then lift your finger, then place it back on the scanner to unlock. I would say it seems to be a power related item, as if its sleeping the processor and it cant wake up fast enough to detect properly. Also noticed that core #4 and core #6 are always asleep, no matter what.

I have tested with magisk and without, with oem and without, and its the same. Is there a fix ever in the pipeline for this? I am aware this is no longer under active development as everyone on android jumps ship to the newest OS and never looks back... But for those people that just want something reliable thats not getting an update every single week...it would be nice.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
sorry, but i don't plan on doing that due to lack of time and interest, honestly. however, the code is all there on github. anybody can fix it and push commits to omni's gerrit. but it's probably as you said, everybody has already jumped ship, which is what i recommend you also do.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
I should be able to do that. Will give it a go tomorrow after work. I don't mind helping to get encryption working. I'm just glad to have a stable ROM with monthly security patches again. Was using the Z3C with a stock based ROM still patched at May 2016.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] switcher:
can someone point me to a simple step by step install for this rom ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Hmmm, let's see if this helps:

1. Unlock bootloader (warning: this will wipe all your data)

2. Using fastboot, flash twrp recovery. There's a thread for the recovery on the forum.

3. Boot twrp using vol- and power button

4. Copy the omni zip file over to your device using MTP. You can also copy gapps here

5. Flash the omni zip file, and gapps zip as well if you had it copied

6. Reboot
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] switcher:
if am coming from 7.1 / AOSP does it make any difference ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] destinygs:
I always prefer to wipe system, data, cache, dalvik cache via TWRP before flashing other roms.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jiangjun413:
I have flashed the latest 20170410 version omni. I find the finger sensor setting disappeared when it works for a while, after that I can't use the finger sensor. After rebooting, it comes back but still only works for a while. Is any solution to that problem ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
If you need root I'm using Magisk without issue; with the one exception of it not passing SafetyNet Check. For me that's not a problem as I don't use anything that stops working when root is detected.

---------- Post added at 08:43 PM ---------- Previous post was at 07:55 PM ----------

The phone rebooted a few times before I could get back into recovery. Had to force it to fully power off. I checked /sys/fs/pstore but there was nothing in there. I did install the 410 weekly before trying.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Hmmm, ok then I'll post a modified boot image that has selinux set to permissive. If we're lucky, then it should work and then we know it just needs some selinux rules added.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jeremy.wang:
same problem and camera will fc if updated
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
[MENTION=2676790]TadMSTR[/MENTION] here is the permissive boot image

https://drive.google.com/open?id=0BwoUbVVK7GAyNU5YM2tQU0RYNEE

please say when you've downloaded so I know it's safe to delete it :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
Downloaded. Do I need to use the latest 7.1.2 build or will this work on the previous 7.1.1 build?

---------- Post added at 06:56 PM ---------- Previous post was at 06:52 PM ----------

I had a force close on google camera. Not sure which build I was on. I usually end up installing Open Camera as that works just fine. Seems its a common issue as the Z3C suffered from fc with google camera as well.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Please use the latest 7.1.2 build

And about camera, if the included snapdragon camera app works, then the camera is not broken.

I can't do much for issues like where one camera app is broken.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
Just flashed latest 7.1.2 build. Waiting for it to finish booting and will then try to encrypt.

The comment about the camera was for the previous poster. I almost never bother taking pics so it's not an issue for me. Using a camera app from the play store, like Open Camera, is a good solution I find. I believe the camera in gapps is the problem. Had not tried the stock camera as the gapps stock package overwrites it with google camera.

Update: With the permission boot.img I still got the boot loops. Checked /sys/fs/pstore and still no files in there. Magisk was not installed when I tried this btw.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
That's too bad, so the solution is not that simple.

I would highly recommend trying the aosp builds in the other thread by davidteri91, because they use virtually the same device specific code. If his build works then we know it's an omni error. If not, then the error lies in the device specific code.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
I'll give that a try in the next day or so. Thanks for taking the time to troubleshoot this. Really liking the XC so far and you're Omni build seems pretty stable.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
I still haven't tested encryption on the AOSP build. I'll try to make some time this weekend. If you need me to test other things just let me know. I try to stay on the latest build. I had one random reboot after a dirty flash but it seems to be fine now. So far really liking how it runs. Glad I decided on this phone. Was difficult to find something compact that takes an SD card that wasn't crap. Wasn't sure about the SD650 but it's proven itself, at least for my usage. Thanks for you work. I depend on the XDA community.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
After doing a few auto updates using the built in updater I finally noticed the FlashAfterUpdate folder in the OpenDelta folder. Useful to flash Magisk so I don't have to flash it manually afterwards.

Would it be possible to add an option for quick settings pulldown from the right of the status bar? Linage/CM has an option to enable it and to set left/right/center. If Xposed was working on 7.1 I could just use GravityBox to do it. If you're not doing feature requests I get it. Not a big inconvenience, just a nice feature to have.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
There is already a quick pull-down feature implemented, you just have to try harder :P

Hint: you have more than one finger
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
I know about two finger quick pull-down. Just got used to being able to do it with one from the far right of the screen. I can wait until Xposed works on Nougat I guess.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
ah, sorry then, thought you didn't know about that one.

omni team decided on dual finger swipe instead of a side-aligned swipe.

One would argue that the former is much less error prone.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

I just made a clean install today, coming from latest aosp from april.

Is someone experienced breaking up animations? Someone knows, are there any differences in graphical settings or the thermal managment, compared to AOSP?

Because, what is continuously on aosp, it's not on omni. After some minutes, It's rend / breaking up the animations, and phone heating up / goes warm.

In mattlog, i've got so many skipped frames line...

Like: " 04-24 23:36:02.080 I/Choreographer(13280): Skipped 45 frames! The application may be doing too much work on its main thread. " ...

... and after 0,5 sec, its skipped 115 frames... After another half sec, its skipped another frames.. and its goes on, until i exit the application. SW - galaxy of heroes. Experienced only there. I known its a game, and not important, " the Normal phone" programs runing like a charm. :) ( on AOSP there wasn't any skip or heat, and now i didin't try other games )

If I'm the only one with that skipped frames, and warming phone, I will making a fresh install.. maybe something goes wrong way?! Or, its can be cure with changing some GPU settings?

I asked it, because my brother accidentally delete my whole phone modding directory from pc :D, and we haven't got a good speed internet connection until weekend, so i stop playing sw.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
No lagging here, and i did check logcat for the same Choreographer message you're seeing.

What might be happening is that a rogue app is hogging the cpu.