yashsingh1/xdaforums huggingface dataset:
[Android Stick & Console AMLogic based Computers] whiteak:
Install terminal emulator on your box from the Play store and dd your recovery for me by running this code:

dd if=/dev/block/recovery of=/sdcard/stockrecovery.img bs=4096

File (stockrecovery.img) will be saved in sdcard folder, access that through a file explorer, copy it to a usb stick and upload it to me or link it to me and I'll see if I can port it sometime tommorrow or the next day, It's just gone past midnight here where I am. Gotta get some sleep.
[Android Stick & Console AMLogic based Computers] papla83:
I have a message after the first line : permission denied I think is because the Su isn't activated?
[Android Stick & Console AMLogic based Computers] whiteak:
Try typing su then press enter then type the code.

Dollar sign should change to a hash symbol.

Also type it all in one go, not 2 seperate lines.
[Honor 6X Questions & Answers] Varun Chhibber:
Hi I am trying to get the camera app open with the automate app but I am having this error

com.huawei.camera.permission

Any idea how to access it

Below is the full log

2018-02-06 17:32:57.408 INFO 12@1: Flow beginning
2018-02-06 17:32:57.409 INFO 12@6: Camera?
2018-02-06 17:32:57.645 FAIL 12@6: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE_SECURE flg=0x800000 cmp=com.huawei.camera/.controller.SecureCameraActivity (has extras) } from ProcessRecord{c644732 5578:com.llamalab.automate:background/u0a192} (pid=5578, uid=10192) requires com.huawei.camera.permission.PRIVATE
2018-02-06 17:32:57.646 INFO 12@6: Stopped by failure
[Honor 6X Questions & Answers] RedSkull23:
Hi, since that the automate app you're talking about is a third party app, what i can say by reading in the log "com.huawei.camera.permission.PRIVATE" is that the camera app won't work easily with apps not made (or signed) by Huawei. Dunno if there could be a workaround for this, honestly... I have troubles trying to launch torch app UI from third party launchers due an analog issue and at the moment, i haven't found nothing to do yet.
[Honor 6X Questions & Answers] Varun Chhibber:
Thanks well I am going to try by installing a new camera app and setting it as default
[Honor 6X Questions & Answers] RedSkull23:
You shouldn't have problems doing that so. Good luck :svetius:
[Xiaomi Mi A1 Questions & Answers] ho3yn89:
Hi guys I'm on Jan update , and the only problem that I have is some times when I call people or someone calls me , the other side can't hear my voice , I wanna know that it's a known bug or it's something wrong with my phone ?! It's so annoying
[Xiaomi Mi A1 Questions & Answers] KB_Thailand:
That sounds like a problem with the phone. We have two A1s and call volume and sound quality are very good. I have not seen many reports of intermittent voice, so would think it may be local to your phone. I may be wrong, and if so, I am sure someone else will correct me. ;)

--KB
[Xiaomi Mi A1 Questions & Answers] ho3yn89:
Nothing is wrong with my phones hardware because I can talk with it but sometimes it's not working , I think it happens when I connect it to my gear s3 smart watch! And my phone is always connected to my watch , it has to be a bug nothing is wrong with my phone , hopefully ?
[Xiaomi Mi A1 Questions & Answers] KB_Thailand:
Ah, you did not say anything about the watch in the original post. I don't use smart watches, so cannot offer anything further except to disconnect the watch and see if the problem disappears. If it does, then you will know it is not the phone, but a problem between the phone and watch.

Good luck.

--KB
[Xiaomi Mi A1 Questions & Answers] shubh.pansare:
Even I'm facing the same issue and even i have a gear S3. This makes me wonder if the problem is to do with my phone's update or the watch's update??
[Xiaomi Mi A1 Questions & Answers] ho3yn89:
It's not a problem with watch I think it's a problem with phone app, when the watch is connected it goes to Bluetooth and then goes back to phone's speaker quickly and there is no voice ! Incoming or outgoing!
[Xiaomi Mi A1 Questions & Answers] manuel_fantoni:
Same issue here, often when i make a call the phone seems not Connect and i have to retray the call one o two times to be connected and can talk.

I have the phone connected with Huawei watch 2.

When i receive a call no issue, the bug only in outgoing calls
[Xiaomi Mi A1 Questions & Answers] ho3yn89:
Absolutely ! And it confirms that the problem is not with gear s3! It's a big bug for this phone with Google's support! Hopefully they know about it and fix it in the next update
[Xiaomi Mi A1 Questions & Answers] joeyhuab:
Are you sure it's a phone issue and not network related? Have you tried replicating the issue by inserting your SIM in a different device?
[Xiaomi Mi A1 Questions & Answers] manuel_fantoni:
Some issue with 2 different operator sim on A1, the same Sim on other device have not this issue
[Xiaomi Mi A1 Questions & Answers] ho3yn89:
Yes absolutely not network problem
[Xiaomi Mi A1 Questions & Answers] Roerbakeitje:
Having also problems to make bleutooth call there can't here me. I.m currently on 8.1
[Xiaomi Redmi Note 4 Questions & Answers] blitzkid:
Hey together,

recently i sticked with invictaOS and i realy liked it. Weekly updates, pocket detection etc.

does anyone know a good working oreo rom with current updates?

in cardinal, i miss the pocket detection feature...

best regards [MENTION=535343]all[/MENTION]:confused:
[Xiaomi Redmi Note 4 Questions & Answers] MyNameIsRage:
I know that AEX 5.1 now has ota support however the releases are super slow. But on the other hand, ive used the latest liquid remix, even though ota isnt there, but it now has a decent amount of customizations, including pocket detection.
[Xiaomi Redmi Note 4 Questions & Answers] febry_valdy:
Omni and NOS has weekly update.
[OnePlus 5T  Questions & Answers] floppy__:
Hi,

my laptop just died and I thought "my 5t is probably more powerfull than a low cost laptop!"

But then, how to connect a VGA or DVI screen to my favorite phone ?

any idea ?

Thanks
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
I doesn't have enougth rigth to post to roms, so will post here.

WARNING! Everything you do, you do at your own peril and risk. I do not bear any responsibility for your faulty devices.

Knox will tick. ROM in alpha and not suitable for every day use.​

Installation instructions:

1. Install TWRP

2. Reboot in TWRP (Menu unlock phone - Recovery)

3. Wipe -> Format Data -> write - yes -> Enter

4. adb push <LineageOS> /sdcard

5. adb push <SailfishOS> /sdcard

6. Into TWRP: Install <LineageOS>

7. Into TWRP: Install <SailfishOS>

8. Into TWRP: Install <Audio FIX>

9. Reboot in System

Enjoy!

Sailfish OS Android HAL based on Lineage OS 14.1.

Downloads:

TWRP for herolte

Lineage OS 14.1 for herolte

Sailfish OS 2.1.4.14 for herolte

Sailfish Galaxy S7 audio fix(based on work of painted.man)

Sources:

https://github.com/Driim

Build guide can be found here.

Problems:

1. WLAN worked partially(can't remember network to automatically connect after reboot)

2. Bluetooth not working

3. NFC not working

4. Fingerprint not working (Sailfish problem)

Debug:

In Ubuntu. Connect USB cable. telnet 192.168.2.15 2323 or ssh.

Changelog:

30.03.2018

Update to Sailfish OS 2.1.4.14

GSM calls fix

12.02.2018

Working mobile data and sms.
[Samsung Galaxy S7 Guides, News, & Discussion] HarvHouHacker:
Great for a start! Have you tried flashing only the Sailfish ROM to see if it works without having to flash LineageOS?
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
It's pointless, the Sailfish OS uses Lineage OS HAL layer to work with hardware, without Lineage OS it won't start.
[Samsung Galaxy S7 Guides, News, & Discussion] dylanneve1:
Tried this. First off amazing job. I was trying to install Android apps but cant find android support on app store
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
I'm focused on hardware support. Android applications did not even look.
[Samsung Galaxy S7 Guides, News, & Discussion] dylanneve1:
Yeah you're right.
[Samsung Galaxy S7 Guides, News, & Discussion] HarvHouHacker:
Then you need to extract the components that make up the HAL layer. If you don't know how to do this, you could try asking around XDA or doing some web searching, but I'm afraid that I can't help you by actually doing it; I can only provide suggestions. :( However, since I'm quite interested, I'll stay subscribed to your post here.

---------- Post added at 04:39 PM ---------- Previous post was at 04:34 PM ----------

Please provide more screenshots!
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
I think you do not quite understand. I already extracted them and just wrote the version from which I extracted. So there are no Lineage OS on phone, only Sailfish OS and HAL components from Lineage OS 14.1(only proprietary components).

I update release and add new screenshots.
[Samsung Galaxy S7 Guides, News, & Discussion] HarvHouHacker:
Thanks for clearing that up. You probably should figure out how to merge the two packages together, so we don't have to flash two separate packages, one before the other. Also, see what you can find out about the remaining problems. Try to get other developers involved. Also, you can always Google, Yahoo, Bing, DuckDuckGo, Yandex, etc. anything you need help with. I find most solutions on the net.
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
Merging of two packets, it's question for Sailfish OS developers, because it's the only way to install Sailfish.

Some people work on solving problems, I also asked about this problems on sailfish porters irc channel. I write this thread to get other developers involved.
[Samsung Galaxy S7 Guides, News, & Discussion] HarvHouHacker:
Aren't you a developer?!? :confused: Just because you aren't an employee at Jolla doesn't mean you're not developing Sailfish! After all, isn't it opensource?

Admittedly though, I'm a novice too when it comes to developing OSes, however I'm still studying more programming languages. I'm interested in Java, Python, and C++, which may help in diagnosing problems with your build. As for actually applying it, I don't know how I could test it without messing up my S7 Edge. :(
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
Sailfish OS is open-source based, not all parts of Jolla is opened. But open part must be enougth to port new device.

To develop new Oses you need to know C(most of the system programming), C++ and Bash. You could try do S7 Edge port, but it better to have special phone fo this :)

I looked how can I separate Sailfish from Lineage OS and found Halium projects, that based on Ubuntu Touch. They start Android HAL in container, so system is more clean, now I am testing Halium build.
[Samsung Galaxy S7 Guides, News, & Discussion] HarvHouHacker:
So, what parts of the OS are opensource? Just curious; I know very little about Sailfish source code.

I'm learning C++, and I know some Bash. I might be able to diagnose problems if you'll output some log info. Try to be as descriptive as possible.

Ah, Ubuntu Touch! That was a good venture. Too bad it didn't last. :( Let me know if it works better as the HAL for your project.
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
Almost all except UI.

Bad idea, to much logs. If you not familiar with ofono, pulseaudio and etc, logs will not help.
[Samsung Galaxy S7 Guides, News, & Discussion] HarvHouHacker:
Not the entire logs! Just the ones with the errors that are produced from whatever needs fixing. Some commands that output constant log updates have filters. For instance, one way I diagnose a problem on Android is connect the device to my laptop, run "adb logcat *:E", repeat the action on the device that works improperly, then stop the output (usually CTRL + C) and scan the errors for the ones about my issue. If there is still too much to sift through, I try again, setting more filters. You can learn what filters you can apply by typing " adb logcat -h".

I don't know if adb works with Sailfish, but you might could discover logcat or something similar that will filter logs and output only the relevant information. As for what you just mentioned, I can diagnose issues with many Linux-based programs. I use Ubuntu. :victory:
[Samsung Galaxy S7 Guides, News, & Discussion] Craz Basics:
As for the Wi-Fi not reconnecting; On the s7 atleast (probably more) there's a line in the build.prop "ro.securestorage.support"

Change that to the opposite of what it's on
[Samsung Galaxy S7 Guides, News, & Discussion] painted.man:
solution for audio

I found solution for audio problem.

You have to edit /system/etc/audio_policy.conf:

- Delete AUDIO_OUTPUT_FLAG_DEEP_BUFFER flag on primary audio device

- Comment sections tms and playback_record

You also can pass argument config to pulseaudio-modules-droid and set location to your correct config file instead of editing vendor file.
[Samsung Galaxy S7 Guides, News, & Discussion] NCG-natsu:
continua el proyecto esta bien bueno 7u7
[Samsung Galaxy S7 Guides, News, & Discussion] Mujeeb64:
plss for s7 edge
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
I do not have Galaxy S7 Edge, but someone else can do it.
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
I updated Sailfish version and fix GSM part, all information in header.
[Samsung Galaxy S7 Guides, News, & Discussion] dylanneve1:
Well done.
[Samsung Galaxy S7 Guides, News, & Discussion] dylanneve1:
Tried again. Calls work great and audio fix too. One problem I have is that I cannot send SMS messages
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
My SMS works both ways. A bit strange. Could you send me ofono and rild logs?
[Samsung Galaxy S7 Guides, News, & Discussion] RexSonic:
Will it be avaible as a flashable rom?
[Samsung Galaxy S7 Guides, News, & Discussion] Galaxyninja66:
The things I have seen you post here, anger me. Not only mentally but physically.
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
Nope, Sailfish for Galaxy S7 can be intalled only by TWRP.
[Samsung Galaxy S7 Guides, News, & Discussion] aurelien1402:
Hi,

Do you plan to fix the bluetooth problem? And congratulations for this great work!
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
Thanks!

The main problem with bluetooth is the lack of bluetooth devices, so I can't test bluetooth. In general, everything should work, you just need to add the necessary drivers to the config.
[Samsung Galaxy S7 Guides, News, & Discussion] aurelien1402:
What about photo quality? Is it good enough?

Do you know if the camera takes good photos in sailfish os? I sold the Xperia X and Sailfish X because of photo quality. It is a big issue for me (for a lot of people in fact), and a lot of the quality process comes from software rather than hardware on smartphones...Thanks again
[Samsung Galaxy S7 Guides, News, & Discussion] aurelien1402:
Not operational at all

Ok,

I did install sailfish os. It shows up but:

- Camera not working

-Wlan don't keep history

- Bluetooth not working

- can call / data mobile not working

-sdcard not detected

Too bad, I was hoping for a strong device for Sailfish os. We are far frm something usable.

Keep the good work, but it is a long road.

Thanks
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
You are absolutely right, I wrote about at the beginning. It was an experiment, unfortunately Sailfish OS turned out to be too raw and closed source.
[Samsung Galaxy S7 Guides, News, & Discussion] r0kk3rz:
Hi, Is this ROM still under development?

We recently implemented a fix for call audio on samsung devices might be suitable for this
[Samsung Galaxy S7 Guides, News, & Discussion] thentertaina:
I know this might be an obscure inquiry but does the S7 Sailfish OS work with the keyboard cover case from Samsung?

How would I add those drivers as well as the bluetooth ones?
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
Sorry for late answer. First of all you need to enable hci bluetooth stack in kernel, may be it will be enougth to get working bluetooth.
[Samsung Galaxy S7 Guides, News, & Discussion] lSDriim:
Hi! Somehow I missed this message. The sound was repaired, there is a patch in the header.. I'm not doing this firmware anymore, but things can change.
[Samsung Galaxy S7 Guides, News, & Discussion] ComLarsic:
Updater process ended with ERROR: 7

Heye, i know this is an old port but when i flash the sailfisos zip i get the error:

Updater process ended with ERROR: 7

anyone else have this problem and had you guys have any fix?

thx in advance
[Samsung Galaxy S7 Guides, News, & Discussion] JulesFules:
Hi,

I have got exactly the same error. (I had the latest 3.3.1.0 TWRP when i tried. to install this)

Here is the workaround I just discovered 5 minutes ago:

Download TWRP 3.2.1.1 from the *dl.twrp.me_herolte_twrp-3.2.1-1-herolte.img.html url because this installation won't work with any newer TWRP.

(* - replace the _ with / as I cannot post url yet)

Once you flashed the Los14.1 image,

before you are flashing the sailfish zip

, reformat /data partition in TWRP to remove the encryption (This step may not required but I have done that so I mentioned here.)

Once you reformatted the /data, you can flash the SailfishOS image

Then flash the Audiofix zip file and reboot.

Hope this helps.
[Samsung Galaxy S7 Guides, News, & Discussion] edp17:
Some of these issues (camera and mobile data) can be solved by copying config files to the device and reboot. But unfortunately if something is missing from the kernel, those require to compile a new kernel then flash it over the device (like the bluetooth and probably the wifi issues).

The external SD card is there (/dev/mmcblk0p1), you just need to mount into the file system.

In fingerterm, became root with the devel-su command, then:

create a folder like: mkdir /externalsd

mount /dev/mmcblk0p1 /externalsd

if you would like to see this folder in your /home/nemo, just create a symlink in there (ln -s /externalsd /home/nemo/externalsd)

Plus, as this is an old build (2.1.4.14) do not expect too many apps in the store, however you can download and install apps as rpm packages from the openrepos. Search for like 'openrepos sudo' then download and install the latest rpm from the list.)

True, it is not a complete build and bit old one but very good to play with it. Big THANKS for the developer! :)
[Samsung Galaxy S7 Guides, News, & Discussion] Linux Lounge:
Hi, does anyone know if there are any updates to this or other builds?
[Samsung Galaxy S7 Guides, News, & Discussion] edp17:
Afaik this is the only public build. I also tried to build SFOS 3.2.1.20 but sold the phone before could complete the port. If you need newer you should build one yourselves. If you are interested I am happy to help with what I know.
[Samsung Galaxy S7 Guides, News, & Discussion] Linux Lounge:
I'd love the help, I want to get Sailfish running on this device :)
[Samsung Galaxy S7 Guides, News, & Discussion] edp17:
That's the spirit! :cool:

Here are the steps:

Be prepared that your S7 will NOT be ready for normal operation for a longer-term. So a backup phone for daily use is highly recommended.

The porting steps are documented in the latest hadk. Please read it before you start.

You need to choose an Android base (I recommend Los 14.1, the one I used is available here lineage-14.1-20190224-nightly-herolte-signed.zip)

At some point you'll face some issues that are not documented in the hadk. You can find solutions in the hadk-faq created by the porters.

And the last is my detailed, step by step instruction. I have put this together during my work and it is available from here: S7_Porting-guide-by-edp17.txt

Good luck and keep me posted! Just for the record, I am very envy, because I wanted to do this. However as I do not have got the device anymore, I think better to give my knowledge to someone else and let him make it a success for all the other S7 users who would like to use Sailfish OS on their device. :cowboy:
[Samsung Galaxy S7 Guides, News, & Discussion] edp17:
[MENTION=7442604]Linux Lounge[/MENTION], How is your port going? :)
[Samsung Galaxy S7 Guides, News, & Discussion] Linux Lounge:
Just started work on the port now, figuring out the ropes and such :)
[Samsung Galaxy S7 Guides, News, & Discussion] vfdfhhh:
Thanks a lot, i was really hoping that i would find some newer guide online on how to port sailfish os, i wanted to do something for fun with my s7 and this seams like it could take me some time. Thanks again.
[Samsung Galaxy S7 Guides, News, & Discussion] edp17:
Hello. Please bear in mind that my instruction was built on SFOS version 3.2.1.20 and was created for somebody who wanted to build a newer SFOS version 3.3.0.16, but the current version is 3.4x. This means that many things have already changed, so I strongly recommend using my S7-porting-guide.txt only as a guide rather than a step by step instruction. I also strongly recommend to use the HADK and hadk-faq as main source and follow the instruction there. If you get stuck or have questions, let me know or ask them on the #sailfishos_porters telegram channel. Any of us are happy to help. :) Good luck and keep me posted!
[Samsung Galaxy S7 Guides, News, & Discussion] strepito66:
Will u ever update It?
[Samsung Galaxy S7 Guides, News, & Discussion] Polis4:
Great job! And what about Sailfish OS for S6 Edge? There is something about this? Thanx a lot
[Samsung Galaxy S7 Guides, News, & Discussion] C_King_Of_Languages:
Took me a while to realize the "sailfish" being mentioned here is not the same "sailfish" on my google pixel lol... was wondering how you pulled it off
[Samsung Galaxy S7 Guides, News, & Discussion] edp17:
I've sold my device so, cannot continue the port. (Sorry, ignore my comment, I mixed this up with another topic.)
[Lenovo Vibe K5 Questions & Answers] franco2mada:
Hello everyone!

I tryed to flash PACMAN rom to my Lenovo K5 (via this tuto : https://xdaforums.com/vibe-k5/development/rom-pac-rom-6-mm-lenovo-vibe-k5-t3408483)

Completed to 100%, clicked to exit, but then, the phone won't boot anymore (no recovery, no fastboot, nothing)

I tried all the combinaiton of touch and connect it to PC but nothing

No device detected in devices manager, when i plug it to PC, juste the red LED. When i charge it, it's the same, just red LED

So i hear about the jumping the KCOLO or COLO with the GRND directly to the board. But i can't find these pin because no marking in the board

So, anyone can help me to boot it? or identify these KCOLO or COLO pin?

Here is a snap of the board (may be usefull)

[IMG="Lenovo a6020a41 K5 board"]http://www.icigo.net/images/lenovo-a6020a41-board-1.jpg[/IMG]
[Lenovo Vibe K5 Questions & Answers] electric.droid:
no need to tear apart the phone

can u tell what exact steps you did follow when flashing this rom? and i think the phone goes into download mode when u plug it to comp. see this https://xdaforums.com/k5-plus/how-to/unbrick-vibe-k5-plus-qfil-qpst-method-t3467830

have a good time
[Lenovo Vibe K5 Questions & Answers] franco2mada:
hi, thanks for this reply

I followed all the step of the post. It was done by 100% but now i think that it was not suitable for my model (a6020a41, some guy posted that it was ok for this model but with minor bug, so i think i was unlucky)

I viewaed the post that you shared, but my phone is not detected even if i try the VOL UP + VOL DOWN ==> USB combination.

Now i really think that my phone is really dead :(
[Lenovo Vibe K5 Questions & Answers] eurodiesel:
my phone is also an a41 variant. did you install all the the drivers? did you reboot windows with driver signature disabled? hint:

you should see "test mode" on bottom right of your screen. to turn off, replace "on" with "off" in the command. then you can see qualcomm hsusb in device manager. btw im electric.droid aswell:D