yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 Questions & Answers] afef:
did u downgrade without unloack the bootloader !!
[ZTE Axon 7 Questions & Answers] Devavriel:
so i have been looking for a guide on how to install twrp on my axon 7, with 7.1.1, but everything is out of date which send you to other links to down load which dont work or the link itself doesnt open. '

so here i am asking

point me to a link THAT WORKS AND IS A GUIDE. thanks.

yes i have flashed a 6p to pixel experience so i figured it should be to hard but finding what i need is kind of....hard
[HTC Desire 10  Questions & Answers] GlockJ:
Hi I just have bought my new HTC desire 10 pro and I wanted to root it using ADB and fastboot to flash TWRP recovery and then install SuperSU like i did with older phones. With this one when I try to flash TWRP with fastboot tool it says to me:

writing 'recovery'...

FAILED (remote: download for partition 'recovery' is not allowed)

Now... I have tried OEM unlocking enabled or not and i can see it working in bootloader (**LOCKED** or **UNLOCKED**)

I read somewhere that HTC has the download mode for flashing, but when is in that mode nor adb nor fastboot can detect the device plugged in.

This has something to do with S-ON and S-OFF? I understood that is a kind of NAND memory protection.

If you have a simpler way with some exploit or working apk is also accepted because I only want root and dont care of flashing custom ROMs for now.

Thanks,

Joe
[HTC Desire 10  Questions & Answers] FireStorm919:
S-On or S-Off doesnt matter for what you need to do.

First go to HTCDev website and unlock your bootloader, the phone model isn't shown but select "other supported models".

Then install device drivers and ADB fastboot

Dowload TWRP 3.1 for your variant from here and flash it by fastboot

twrp-3.1.1-0-a56dj_pro_uhl.img

twrp-3.1.1-0-a56dj_pro_dugl.img (dual sim)

Download SuperSU and flash it using TWRP.

I think your problem is either bootloader not unlocked or drivers missing, anyway good luck ! :good:

Credit to [MENTION=4375068]sabpprook[/MENTION] for the TWRP variants
[HTC Desire 10  Questions & Answers] mrao:
You need to boot the phone to download mode and then flash the twrp...adb reboot download should do it, then the usual fastboot command to flash twrp..Bootloader needs to be unlocked via htcdev first
[HTC Desire 10  Questions & Answers] teja5222:
The provided links for twrp are not working. Can you please provide the link for twrp for HTC desire 10 pro
[HTC Desire 10  Questions & Answers] FireStorm919:
I did not build those twrp files, I just found them on another post by [MENTION=4375068]sabpprook[/MENTION]

The links are now expired, you'll have to ask [MENTION=4375068]sabpprook[/MENTION] to post them again please.

But I found another twrp file for the HTC Desire 10 Pro dual sim version by [MENTION=6596524]jemmini[/MENTION]

https://xdaforums.com/attachment.php?attachmentid=4079615&d=1489857157
[Android Q&A, Help & Troubleshooting] Jazinto93:
Hi i wanted to root my xa ultra f3213, i followed the guide here... i did every step and checked everything to see if i was doing right...i upgraded firmware(telcel gsm 36.0.A.2.146), unlocked the bootloader and had no problem until there...i managed to boot into system properly....so, i flashed boot and recovery img trough fastboot(before doing that checking fasboot oem unlock and said unecesary) without errors...now when i want to boot into system the sony logo and xperia appears but it stays in the telcel animation....is my phone bricked?

i´ve just pressed vol+ and power, it turned off, so i entered recovery mode(twrp) i flased drmrestore and super su v2.82... rebooted from twrp... it restarted but stays now in the same screen(the one after the sony and xperia) any advices?....... btw, i can acces fastboot mode, recovery mode and flash mode(but flashmode restarts after a short time)...and thanks by the way
[OnePlus 5 Questions & Answers] dragynbane222:
This is not a request to get, rather wanting information on how possible it would be.

Would it be possible to port Sailfish with what has been open sourced for the OP5? Also, would anyone be interested if I made the resulting build available to all? I'd likely make it available regardless.
[OnePlus 5 Questions & Answers] monkeytools:
Would love to see this ported to the op5.
[OnePlus 5 Questions & Answers] hsareminia:
of course.

me to
[OnePlus 5 Questions & Answers] xreactx:
I think it would be difficult until SFOS is based on LOS14. Right now the latest SFOS is based on CM13. There isn't an Android 6.0 kernel for the OP5...

-------------------------------------------------------------

Hybris-14.1 is out there, so porting may be possible
[OnePlus 5 Questions & Answers] nyl:
I will port Sailfish OS on Oneplus 5 as soon as I buy the device :) I don't see a problem in using the 7.x or 8.x kernel, can get it to boot with those also
[OnePlus 5 Questions & Answers] xreactx:
Have you made any attempts at porting SFOS for the OnePlus 5?
[OnePlus 5 Questions & Answers] xreactx:
I'm currently attempting to port SFOS for the OP5. I'm encountering some problems at the moments (bootloops, no GUI).
[OnePlus 5 Questions & Answers] xreactx:
I've made an installable zip of SFOS 2.1.3.7 for the OnePlus 5... however, the current issue is that I cannot telnet into the device via USB to figure out where it's failing since kernel 4.4 needs some usb fix for mainline kernel testing. See http://www.merproject.org/logs/#sailfishos-porters/#sailfishos-porters.2017-11-19.log.html for the conversation regarding "usb gadget"

---------------------------------------------UPDATE-------------------------------------------------------

22Nov17 - I found a solution to the kernel 4.4 usb_gadget issue (https://developer.ridgerun.com/wiki/index.php/How_to_use_USB_device_networking) I am now able to telnet into my OnePlus 5 with the Mer Boat Loader running. Hopefully more progress will follow.
[OnePlus 5 Questions & Answers] xreactx:
07Dec17 - New Update. I now have UI/touch input working on the OnePlus 5. Now the rest of the debugging begins.

https://usercontent.irccloud-cdn.com/file/KMXGNgEZ
[OnePlus 5 Questions & Answers] Garfanki:
Good news!
[OnePlus 5 Questions & Answers] dragynbane222:
Man, I forget to actually get on XDA, and someone steps up to fill the shoes I haven't been able to fill, made me remember why I like this community.
[OnePlus 5 Questions & Answers] xreactx:
08Dec17 Update

Some more pictures of SFOS running on the OP5. I would classify this as a pre-alpha build. I will try to work out all of the bugs as soon as I can.

What Works:

GUI

Touch input

Vibration (somewhat)

What Doesnt work:

Cellular/wlan/bluetooth

Sound

Camera

Most likely other key functions...
[OnePlus 5 Questions & Answers] Garfanki:
Excellent!
[OnePlus 5 Questions & Answers] OCmylife:
This thread deserves more attention. As far as all the basic functions are working, I will switch to SFOS as my new daily driver. Thanks for your time and work :victory:
[OnePlus 5 Questions & Answers] xreactx:
I'm working diligently to get this more stable. I won't post it until it has basic cell/wifi working. All thanks goes to my wife who gets annoyed when I'm constantly working on this project. Haha
[OnePlus 5 Questions & Answers] Garfanki:
Thanks for your hard work!
[OnePlus 5 Questions & Answers] dragynbane222:
Good stance to take, mate! You have a far better chance of getting it up working than I do with most of my programming knowledge being limited to bash scripting. If you need a second pair of eyes on the code, though, I'm up for at least trying to understand it.
[OnePlus 5 Questions & Answers] Dobby118:
Could be worth looking into halium , there's porting work happening for the OP5. Sailfish os could potentially run on top of it.
[OnePlus 5 Questions & Answers] xreactx:
I dont know how far along Halium is for the OP5. I've been trying to get ahold of MarioGrip for a few weeks now. I was able to get the UI started with the help of mal, guhl, zhxt, and many others. Check my work on github (www.github.com/xreactx) if you or anyone else wants to see where i may be wrong. My next step is to try and get the wifi to work, then cellular.
[OnePlus 5 Questions & Answers] RichardSauer:
What is so especially at Sailfish OS ?
[OnePlus 5 Questions & Answers] xreactx:
It's a mature alternative to Android/iOS/Windows phone. It is definitely my favorite alternative. It has a lot of unique features and it's gesture based. I've used it as a daily driver on a Nexus 5 and One plus One. I've been wanting to have it on my OnePlus 5. I'm still trying to get WiFi to work then Audio and Cellular.
[OnePlus 5 Questions & Answers] edgarmakep:
keep it up :good::good::good: thanks for your work
[OnePlus 5 Questions & Answers] Garfanki:
Right, thanks!
[OnePlus 5 Questions & Answers] xreactx:
I'm going to do a weekly update on Fridays to keep everyone informed. As of today wifi/audio/cellular still does not work. I'm currently investigating why the WLAN won't turn on.

pastebin.ubuntu.com/26167535
[OnePlus 5 Questions & Answers] OcazPrime:
Looking forward to the news today :D
[OnePlus 5 Questions & Answers] Garfanki:
Any news? ?
[OnePlus 5 Questions & Answers] xreactx:
Absolutely no update. I'm still having issues getting WLAN to start. This problem is unique since the porting guides and FAQ documents are not specified for 4.4 kernels (ie defconfigs are either no longer built in 4.4 kernels or their names have been changed (CONFIG_MEM_RES_CTLR is now CONFIG_MEMCG). I'm still working hard on this project. Please see my repo for my progress at www.github.com/xreactx
[OnePlus 5 Questions & Answers] Garfanki:
Good news! Thank you for your hard work.
[OnePlus 5 Questions & Answers] xreactx:
Change of plans. I posted my PRE-ALPHA build on google drive for those who would like to help refine this port. I figure if we make this a community effort we'll have a finished product out much faster. FLASH AT YOUR OWN RISK. I bear NO responsibility for bricked phone or lost data. Please make a backup prior to starting. Again, this is a PRE-ALPHA build meaning only GUI works (no WIFI, Cellular, Camera, etc...) Its hit or miss when it comes to getting passed the SFOS tutorial. I recommend only flashing this PRE-ALPHA image if you have basic knowledge of porting/testing (i.e. use of ifconfig, telnet, dmesg, logcat, strace, making modifications to init, scripts, etc. ) use the follow command to telnet into the "Mer Boat Loader" sudo ip address add 192.168.2.1 dev enp0s26u1u2 && sudo ip route add 192.168.2.15 dev enp0s26u1u2 && telnet 192.168.2.15 2323 (use ifconfig to determine your enp********)

Sailfish OS 2.1.3.7 (flash this on top of the latest LineageOS 14.1)

https://drive.google.com/open?id=1AmGw3H3VUNmOwAKBaCSYaG_7hHeZahmX
[OnePlus 5 Questions & Answers] OCmylife:
I will play around with it today, if I have time. Hopefully I get WiFi to work. Not sure about Cellular, Sound and Camera will be the hardest part I think. But as I already said, I'm really thankful for your work and hopefully it would be a daily driver really soon. Maybe it get's more attention and help, if you post it in the official dev forums.
[OnePlus 5 Questions & Answers] MrSark:
Loading the WLAN driver seems to fail.

[ 323.670414] R0: wlan: [4865:F :HDD] __hdd_module_init: 10203: Timed-out waiting for wlan_hdd_register_driver

The issue is discussed there:

merproject dot org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-12-17 dot log dot html

I am sorry for butchering the link but XDA doesn't allow users with less than 10 posts to post links.
[OnePlus 5 Questions & Answers] xreactx:
No worries on butchering the link. I'm aware of that discussion. "Guhl" and I are in contact with each other over the issue, which has yet to be solved. He has a Xiaomi mi mix 2 (which has the same SoC msm8998 and kernel version as the op5). Currently, that is our major hurdle.
[OnePlus 5 Questions & Answers] MrSark:
as far as I know, all wlan_hdd_register_driver does is to call pld_register_driver with a struct of callback pointers.

I am guessing that either the struct has changed (which seems unlikely) or the callbacks themselves fail to respond in an appropriate amount of time.

What have you tried so far to get the driver to work?
[OnePlus 5 Questions & Answers] xreactx:
Building modules in the kernel (ath_cards, wil6210) and pointing the kernel to see the SFOS wlan driver directory.
[OnePlus 5 Questions & Answers] Garfanki:
I hope to see salfish os for our OP5 very soon!
[OnePlus 5 Questions & Answers] dragynbane222:
This might be a long shot or restating what's already been tied, but have you tried having the install script install the modules to where Sailfish expects them to be?
[OnePlus 5 Questions & Answers] xreactx:
https://public.etherpad-mozilla.org/p/faq-hadk

Per the link above, it references wlan and what needs to be created.
[OnePlus 5 Questions & Answers] xreactx:
Unfortunately no success. IRC "Guhl" and I are still trying to get wlan to start. This is an issue with the 4.4 kernel.
[OnePlus 5 Questions & Answers] xreactx:
Sorry guys, still no luck getting Wifi to work... I'm scouring the internet looking for solutions. Biggest hurdle is SFOS has yet to be successfully ported to a device with 4.4 kernel . The kernel is too new with alot of changes... Hopefully Jolla will push out a 64bit target based for 4.4 kernels.

Remember, my repo is out there if anyone can assist. www.github.com/xreactx
[OnePlus 5 Questions & Answers] Garfanki:
Ok, thank you very much! Unfortunately I'm not a dev... ?
[OnePlus 5 Questions & Answers] xreactx:
2.1.4 might be coming out with 64bit support.
[OnePlus 5 Questions & Answers] xreactx:
i've ran into some more roadblocks... my builds are now completely failing to compile. welp, this wasnt supposed to be easy i guess.
[OnePlus 5 Questions & Answers] Garfanki:
Nooooo ? but thanks however!
[OnePlus 5 Questions & Answers] xreactx:
Well i figured out why my builds were failing... i'm still looking for a way to get wlan/cellular working (i'm doing alot of cross checking with SFOS for the OP3/3T). Still no luck on getting services to work.
[OnePlus 5 Questions & Answers] Garfanki:
I'm sure you you'll make it! Thanks!!
[OnePlus 5 Questions & Answers] xreactx:
The work continues on... below are my running logs. Currently, only GUI and vibrator works.

dmesg

https://pastebin.ubuntu.com/26455328/

journalctl

https://pastebin.ubuntu.com/26455331/

logcat

https://pastebin.ubuntu.com/26455343/
[OnePlus 5 Questions & Answers] DqrKn3Zz:
I wish to see that port. ?
[OnePlus 5 Questions & Answers] xreactx:
hopefully i'll start having success. My dev phone is also my daily driver (so i'm call forwarding to another phone, wiping and testing SFOS, then reverting back to android).
[OnePlus 5 Questions & Answers] Garfanki:
Thanks for the hard work!
[OnePlus 5 Questions & Answers] OCmylife:
Please delete
[OnePlus 5 Questions & Answers] xreactx:
Looks like a newer kernel will be implemented in the upcoming Sailfish OS 3.
[OnePlus 5 Questions & Answers] Garfanki:
Good news or not? Sorry for my ignorance...
[OnePlus 5 Questions & Answers] xreactx:
Good news.
[OnePlus 5 Questions & Answers] Garfanki:
Ok, thank you and good work!
[OnePlus 5 Questions & Answers] xreactx:
Unfortunately Sailfish 3 won't be released until autumn time.
[OnePlus 5 Questions & Answers] xreactx:
still working, no luck. I recently upgraded my port to the latest 2.1.4.13 version of SFOS.
[OnePlus 5 Questions & Answers] Garfanki:
I hope you can do it! Thank you very much for all!
[OnePlus 5 Questions & Answers] bowlandspoon:
Glad to see your still working hard on this! How's progress or are you going to wait to v3 to be released?
[OnePlus 5 Questions & Answers] OcazPrime:
how goes the port? if it is still going that is.
[OnePlus 5 Questions & Answers] xreactx:
i've hit some significant roadblocks with this port. I also had to move for my job across the country, so no work done whatsoever. I will start back up when I get settled. I have a feeling Sailfish OS 3 will use a newer kernel, so hopefully compatibility issues will be solved.
[OnePlus 5 Questions & Answers] dragynbane222:
Hey, how's the port going? I can grab the source and see what I can do to help later if that helps at all. More eyes on the source never hurts, does it?
[OnePlus 5 Questions & Answers] xreactx:
Sorry, I am no longer doing the port. No longer have my OP5.
[OnePlus 5 Questions & Answers] deathmist:
Good news for SFOS on OnePlus 5

Hello everyone! I've picked up the project last month and been working hard on it since. I have many of the major features working perfectly fine right now! If there is some interest I can post very much alpha builds here for people to try it out. I'll hold off creating a new XDA thread for this specifically for now until I get call audio working properly ;)

The source code for eager porters can be found at github dot com slash sailfishos-oneplus5 if you want to attempt to build it for yourself already :)

Here's a preview of the port for people interested: imgur dot com slash a slash Bq3yH4q

[IMG="Sailfish OS quick actions & ambiences"]https://i.imgur.com/p4UlgGn.png[/IMG]
[OnePlus 5 Questions & Answers] deathmist:
Mostly it is very good! UI is almost buttery smooth and I've also tested a N64 emulator and it functions quite well too (although it's still a bit glitchy graphically on some games, not sure yet if it's just down to the Adreno GPU driver stack)

I've also been writing a thorough guide on the important repository on that GitHub page and I've successfully built zips myself using the aforementioned instructions. If you have the time, internet speed, performance, RAM and storage; feel free to build it for yourself! :)
[OnePlus 5 Questions & Answers] deathmist:
Dual-booting with LineageOS is simple & initial public build!

I fully understand your concerns. I was thinking about this earlier too, but I finally have a proper solution: Sailfish OS doesn't itself touch your /system or /vendor partitions, so you can have a fully functional dual-boot with LineageOS by basically just swapping the boot image. My boot switcher zip [git dot io slash fjPUq] makes this process very simple (I do some /vendor modifications for now so those will be applied too). I tested it initially for a while and it seems to work consistently. Please check out the flashing guide from [git dot io slash fjPUi] if you are interested. I also put up a flashable zip on my MEGA drive which you can check out from that repo's releases as well :)

Initial public build is live: git dot io slash fjPTa

Enjoy!
[OnePlus 5 Questions & Answers] deathmist:
It's very early days for Android 9 hybris ports and even basic stuff doesn't yet work fully. I'll be working on porting it there after I get it basically fully working on 8.1 and contributing changes as I find fixes. I don't think it using Oreo HAL parts is a really big deal (nothing much would have changed anyways), it seems like a very mature base right now and a lot of stuff works out of the box for brand new ports from scratch :)

Getting back to Pie is as simple as flashing the firmware and latest TWRP.
[OnePlus 5 Questions & Answers] deathmist:
Sounds good :) I'm using this OS as my daily driver right now and it works well (enough) for my needs at least :p

In the meanwhile my priority will be call audio and I'll probably also dable with enabling the signature™ OnePlus gestures e.g. drawing "V" to toggle flash or "O" to open camera etc based on [MENTION=1082346]kimmoli[/MENTION]'s wonderful work on the OnePlus X (onyx) port! Latest improvements will always be included on my MEGA drive nightly builds, but I'm also finally getting started with OBS (SailfishOS Open Build Service) which will enable automatic builds & OTAs in the future :good:
[OnePlus 5 Questions & Answers] pippideniro:
I do like to try this rom. Download link?

---------- Post added at 04:21 PM ---------- Previous post was at 04:18 PM ----------

@deathmist can u share link to your nightly build via mega?
[OnePlus 5 Questions & Answers] deathmist:
Massive news!

Let's just cut to the chase: call audio works properly now out of the box! There are still a few bugs around which I'm attempting to squash, but I think this is almost ready for a full XDA release after I get OTAs working! :fingers-crossed:

You can get the latest release from here right now: https://git.io/JeG9k
[OnePlus 5 Questions & Answers] xabierd:
Thanks!
[OnePlus 5 Questions & Answers] Garfanki:
Good morning, I installed the rom but when I connected my OP5 to pc with usb (mtp) nothing happens... my pc doesn’t detect the phone...

---------- Post added at 09:44 AM ---------- Previous post was at 09:11 AM ----------

The problem is the RNDIS driver... Any help?
[OnePlus 5 Questions & Answers] deathmist:
This has been a long standing issue, I'll have to do more digging and experiment with fixes but the init scripts don't for some reason create the required /config paths for MTP to work... (could be something in the defconfig https://git.io/JeZj1)

For now you'll have to settle on SFTP for file transfer (and use MTP via TWRP for VERY large transfers)

Since you're likely also on Windows I recommend getting Swish http://swish-sftp.org/

Wi-Fi IP address can be found under Settings > Developer tools, user is "nemo", password whatever you set it to on that page and the SFTP path you should set to "/home/nemo"

Hope this helped!
[OnePlus 5 Questions & Answers] Garfanki:
Thank you very much! Swish is ok! An other question: can I root this Rom with magisk?
[OnePlus 5 Questions & Answers] deathmist:
Oh... this is a problem: I need to make it clear as day that this is NOT just yet another Android ROM. This is a completely different OS, a GNU/Linux distro such as Ubuntu for your phone, if you will. Yes, you need to flash a LineageOS zip before Sailfish OS, but that is for the HAL side stuff so graphics, audio, sensors etc work (no need to reimplement the wheel). You can read more about it here!

But regarding your question, it has root access enabled by default. On a terminal you can type devel-su, type your set user password and then you have root access. The different connection methods are described in my debugging guide if you want to learn more :)
[OnePlus 5 Questions & Answers] Garfanki:
Ok, thank you very much!!
[OnePlus 5 Questions & Answers] sykomaniac:
Does this rom specifically require Oreo to be installed before flashing?
[OnePlus 5 Questions & Answers] deathmist:
Again, this is NOT a ROM but rather an alternative operating system (non-Android) for your phone. For now it does require a LineageOS 15.1 Oreo ROM to be flashed before as that's the most up-to-date adaption you can do currently utilizing the Oreo blobs. The Pie Hybris base is nearly ready so it shouldn't take long for that to become public either, at which point I'm going to simply rebase the port on that.

If you're looking to dual-boot with Android you can flash LineageOS 15.1 with magisk and whatever else you'd normally use (the microG zip I normally flash DOES NOT work with GApps!) and at the end flash the Sailfish zip. The custom installer will create a copy of the boot image so you can switch between the operating systems using my boot switcher zip.
[OnePlus 5 Questions & Answers] sykomaniac:
Apologies I didn't mean ROM in the sense of android :) should have said release or something else.

Anyway that answers my question so thanks for the clarification!
[OnePlus 5 Questions & Answers] Garfanki:
Development already stopped? ?