yashsingh1/xdaforums huggingface dataset:
[One (M7) General] chucisteph:
Hi all!

Happy to say that I have managed to get some modem support working this afternoon. I'll do my best to bake an image tonight. Where we're at at the moment:

* Modem functional but currently not showing SIM status correctly in UI

* SMS sending and receiving works

* Mobile data works (and shows correctly in the UI

* Call functionality works: can make and receive calls, however call audio not currently working

These are all problems that other devices have had in the past, and they all have solutions so I am going to work as quickly as I can to get them resolved and make an image in with fixes.
[One (M7) General] chucisteph:
Sorry to hear. Your device is definitely a GSM m7? could you try re-flashing and see if it persists? if it does, are you happy using linux tools? we can debug it together.

That's great to hear. Once I have the modem properly working I will need help both for testing but also to enable store support (I need to send two IMEIs to Jolla so they can verify that the port works properly. Regarding your boot loop, the SIM should make no difference but I have noticed that the boot can sometimes be upset if the phone is started whilst plugged into a computer:- the GUI sometimes never comes up. I'm working on that but it only happens to me maybe 1 in 10 times so it's low down my list of priorities.
[One (M7) General] marslan81:
Yes my device HTC ONE M7_UL, TR devices, Unlocked, Super Cid, S-Off, TWRP 3.0 and Firmware 7.19.401.51 Hboot 1.61.0000

do not have touch the language selection screen. :(
[One (M7) General] chucisteph:
What kind of computer do you use? Windows/Mac/Linux?
[One (M7) General] marslan81:
Windows 10 fastboot driver ok
[One (M7) General] chucisteph:
ok so sailfish is a fully blown linux distribution, means that once it's booted, even if the gui is messed up you can still SSH into it and ask it what it's doing (similar to adb shell). I just need to go RTFM how to make Windows recognise the USB network that your phone is presenting when you plug it in.
[One (M7) General] chucisteph:
Did you try the re-flash by the way?
[One (M7) General] marslan81:
Thanks for your help.

I tried 3 times,

I'm doing the setup with the following steps

1- Full wipe

2- İnstal "cm-11-20141112-SNAPSHOT-M12-m7"

3- Shutdown and Powered up again by launching android

4- Reboot Recovery and instal "sailfishos-m7-release-2.0.0.10-sg-rel-201602180750.zip", and reboot again

5-Normaly boot but touch does not work in the language of choice

Sorry for my bad english
[One (M7) General] chucisteph:
Your English is fine!

ok so your steps 1) and 2) only need to be done once:- Sailfish relies on the CM version for hardware support but once CM has been installed, when you install the SFOS zip it goes next to the CM /system and /data.

4) You're using an older SFOS image: does this one work: http://images.devaamo.fi/sfe/m7/sfe...s-m7-release-2.0.0.10-sg-rel-201602191147.zip

Out of interest, in step 3, does touch work?
[One (M7) General] marslan81:
No am sorry

Perhaps in a different firmware version required, because the power button works. Maybe that's enough for tonight :D I'll try again tomorrow. Thank you, good night
[One (M7) General] utsavkoju:
Thanks for all your hard work. I am really impatient for your next release. These fixes are really important and one m7 will be my daily driver for next few months :).

Count me In. :)

I did a quick reflash and its working perfectly now.
[One (M7) General] HerrNieschnell:
You can also count me in.

Some question:

Why do you use an older CM version? Is the CM ROM just for extraction of binary blobs and other firmware or is it the base for SFOS?

If I am correct, Android App support is only available for the Jolla Phone and won't come to SFOS ports?
[One (M7) General] utsavkoju:
I know [MENTION=7262891]chucisteph[/MENTION] is better person to address your every question but AFIK SFOS in the whole is based on CM11 every port are based on it and it provides the basic drivers stuff to SFOS. And after i completed flashing SFOS it automatically tries to enable system for android application but it fails to do so as we can't access store just yet due to some IMEI problem. But android app support is there.

UPDATED:

I am wrong with most of the stuffs ;)
[One (M7) General] HerrNieschnell:
If you look here, the ports have different bases, but thanks for your answer.
[One (M7) General] chucisteph:
In most (but not all) cases Sailfish uses the libhybris compatibility layer to translate system calls between the classic glibc of a regular linux distribution and Android's bionic: this goes for most interactions with the hardware. So we need binary blobs for a given Android but also the source for a kernel that will work with those blobs so we can compile libhybris against it and also make the kernel modifications we need for the Sailfish stack to run.

So, the first thing to look for when porting a new device is for a suitable CM base to start, or in some cases AOSP if the blobs are there. I chose CM 11.0 for this as at the time (I started last summer but got stopped by an EGL problem) CM 10.1 and 11.0 were the only things we had working. Some folks do now have CM 12.0 ports going and there's nothing to stop anyone trying that for the m7. Infact if we get everything working in 11 I may try that.

With regards to Android apps, the Jolla Android runtime is closed source software by a company called Myriad and is called Alien Dalvik. Jolla license that: i.e. a portion of the cost of a Jolla phone goes to Myriad. That won't be available for ports as it costs money however there are a couple of community projects and the one that the porters are working with is called sfdroid which basically uses the CM that is installed along side SFOS and runs it in a window. It too is a WIP but is coming along quickly.

The Jolla store (once we get access to it) will give us the approved native apps however there is a third-party store called OpenRepos (the SFOS client is called Warehouse and is downloadable here) and there are a slew of native apps there that aren't in the official store.

I didn't have time to look at the modem stuff last night and I have my daughter today so won't be able to look again until tonight at the earliest. Sorry about that guys and thanks for your patience.

When I do finish the image I have to warn you that at the moment upgrades are destructive so I need to write a little shell script for you guys that are already using it to backup your data :D

Thanks all again for the interest tho, SFOS runs very nicely on the m7 and once we have the other missing features that'll be great.
[One (M7) General] aironeous:
I am just trying to unlock the bootloader following this http://xdaforums.com/showthread.php?t=2488772 and it is false, there is no option to skip to step 8 so I am forced to follow the instructions on the htc dev website for 5,6, and 7 and when followed the fastboot just sits there forever "waiting for device." I hate false instructions, people should get punished for knowingly issuing false instructions.
[One (M7) General] marslan81:
Touch screen still does not work on my device. I some operations may be doing wrong. I ask you would you publish an installation video? Thank you...
[One (M7) General] chucisteph:
Can't help you really with rumrunner but I had no trouble following the official CM instructions. Give that a go? Could also be your adb/fastboot etc. are old or something?
[One (M7) General] chucisteph:
I may post a video once I have all of the current problems solved. For your specific case:- are you sure you flashed the correct CM version as per the wiki page (cm-11-20141112-SNAPSHOT-M12-m7.zip), please double check. I'm also interested to know where you are in the world and which carrier you're on (from looking at CM commit logs it looks like all m7's weren't created equal:- the gsm and spr variants definitely differ from the vzw one for example). Out of interest:- what was the phone running before you flashed this CM?
[One (M7) General] chucisteph:
Just to let you all know where I'm at. I've made about 5 images today and they all have the modem (which is good) but are now convinced there isn't a SIM in the phone (which is bad). Flashing back to the 19th of Feb build I can hack it so that the modem activates which means I've messed something up in my build chain somewhere. After dinner (which is good) I'm going to keep hacking and worst-case if I don't get anywhere by the end of the day in the UK I'll post quick hacky instructions on what you need to do to enable the modem at least for data. Unfortunately builds take ~20 minutes (which is bad) so the going is slow. I'm convinced we're this → . ← close however.

Thanks all for your patience I'm going as fast as I can

[IMG="a kitten"]https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSgGdptT8qGtaFaLY1bojkBtvjnrFthJ166DC7nf9iaXcExZb6Z[/IMG]
[One (M7) General] marslan81:
I'am using cm-11-20141112-SNAPSHOT-M12-m7.zip and my device M7_U (international M7, not spr or wzv)
[One (M7) General] chucisteph:
Are you happy using a terminal and SSH? [edit] and out of interest, before you flashed this CM 11, what was the phone running before? Could be you need to flash to stock, then to CM 11...
[One (M7) General] HerrNieschnell:
One question: Have you uploaded the updated builds? The newest I can find is from 19 Feb, but on the wiki you posted an update note from the 27 Feb.

I tried the 18 Feb build (as it was listed as latest and I had not recognized that there is also a 19 feb build) and got stuck at the tutorial. When you should swipe the contacts screen, nothing happened, but before that the touchscreen worked just fine.
[One (M7) General] utsavkoju:
Does the screen says anything like swipe the screen for the Dialer? I think thats the case i was confused over that section as well. You need to swipe down till you select show dialer from the top menu. About the new build we all are waiting. Hope the new build solves the issue with the network. :fingers-crossed:
[One (M7) General] chucisteph:
Morning all. I have now solved the issue with the modem not activating but I have not yet released a new build as I am still working to get call audio working. If you desperately want mobile data I can tell you how to enable it on either the 18th or the 19th image (linux knowledge is required). What do folks think?

[edit I've also fixed the latest link]
[One (M7) General] HerrNieschnell:
I can wait for new builds. Linux knowledge wouldn't be the problem though.

I just tested the 19 feb build, but tutorial also (like 18 feb build) stops at the people screen while showing the tutorial.

The screen tells you to "swipe from the left or right edge to go Home", but I can't do anything.

What I did:

wiped system/data/cache

flashed CM 11 build

flashed SFOS

booted

then the tutorial starts but always stops working at the point described above.
[One (M7) General] chucisteph:
Just to be absolutely clear (I don't wish to be patronising but alot of people have issues with the gestures to begin with) there are two swipe gestures, one from within the screen (used to switch between pages in apps) and one from the edge (which is what's needed for task switching): you're definitely swiping from the edge right? :D

In any case, if you wish to skip the tutorial, on the first screen, touch the four corners of the screen clockwise starting top left (so top left, top right, bottom right, bottom left) and the tutorial will quit and will take you to the home screen.
[One (M7) General] HerrNieschnell:
I just checked, to be sure I am no complete idiot :p ... and it doesn't work, but I could skip the tutorial thanks to your tip.
[One (M7) General] chucisteph:
Well I had to ask :P If you're happy with linux and vi these are the steps to enable the modem:

1) set a password for nemo/root in Settings>Developermode

2) open a terminal either using the terminal app or via SSH over wifi or SSH over USBnet (if your computer is set up for usbnet, you can just ssh -l nemo 192.168.2.15 when the phone is plugged into the computer)

3) become root:

devel-su -

4) edit

/init.qcom.rc

THere is s section at line 440 called 'Property triggers begin here' and the section about bootanim needs to be changed to look like this:

on property:sys.boot_completed=1
# Allow QMUX daemon to assign port open wait time
# Init modem
write /sys/module/rmnet_usb/parameters/rmnet_data_init 1
chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait

So that's 3 changes: change the name of the on property section, change the order of the commands so that it enables the data before doing the chown, and note that the chown changes the . inbetween radio radio to a space.

Once that's done, reboot and once the GUI comes up you'll be prompted with a 'sim inserted' restart warning which can be ignored (i.e. tap somewhere not in the dialogue). At this point the modem is up and functional but the GUI top bar will think it's not (this is a known bug and can be fixed by restarting statefs: in a terminal:

devel-su systemctl restart statefs
[One (M7) General] utsavkoju:
A quick question. Is the modem working for call as well or its only data?
[One (M7) General] chucisteph:
Calls can be made and received but at the moment there is no audio which makes them rather pointless. I'm working on it though.:good:
[One (M7) General] HerrNieschnell:
Yeah, you had to ask... you can never know ("have you tried turning it off and on again?") :D

Modem is working!
[One (M7) General] chucisteph:
\o/

One more thing you should do (as it'll make installing things with warehouse/on the command line easier) is also disable the adaptation repo (this will be backed into a later image as well):

as root:

ssu dr adaptation0 && ssu ur && pkcon refresh
[One (M7) General] cafeolecordobes:
thanks for your time
[One (M7) General] rltyseven:
SailfishOS For HTC One M7 Sprint

https://xdaforums.com/sprint-htc-one/development/sailfish-os-htc-one-sprint-m7spr-t3761379/
[One (M7) General] programmargorp:
Anyone managed to get this working via MultiROM?

I still use my m7 as my daily driver, but would like to try this out.
[One (M7) General] chucisteph:
Unless you have a huge objection I'm going to include the sprint build link in the original post so it's all in one nice place :D
[One (M7) General] chucisteph:
Once we have the final hardware issues sorted out, and if there is enough interest I can have a look at making the image multirom-able:- I've never looked at it before but some of the other adaptations support it so there are people I can ask for help.
[One (M7) General] programmargorp:
Understood. Thanks for your hard work!
[One (M7) General] utsavkoju:
[MENTION=7262891]chucisteph[/MENTION] any updates
[One (M7) General] chucisteph:
Nothing at the moment (real life got in the way the last two weeks). I'll have more time again now so will resume looking. Thanks for your patients!
[One (M7) General] firedroidx:
Very good!

Hope the new image is coming soon!!!!!! Really excited to see what gets fixed
[One (M7) General] b-jack:
any update ? really rooting to this rom.
[One (M7) General] experimancer:
Is it still not possible to use it as a phone (i.e. the phone calls, audio, sms don't work)..? And, are the Camera and Bluetooth still dysfunctional ..?
[One (M7) General] Burllz:
[MENTION=7262891]chucisteph[/MENTION] i hope you havnt left this behind :)
[One (M7) General] chucisteph:
I haven't :) There are two things that are currently in the way: work sadly and I'm waiting for the official release of SailfishOS 2.0.1 so I can rebase the port on that. 2.0.1 is in Early Access at the moment and when it goes GA I'll pick up the work. It shouldn't be too long (another week or two) when hopefully I'll have a bit more time.
[One (M7) General] supremazy:
Where is our Sailfish Os ! Please share new rom !! I loved it the Sailfish Os.:silly:
[One (M7) General] chucisteph:
Quick hello to everyone! Just popping by to say that SailfishOS 2.0.1 has gone GA and I've rebuilt my toolchain on Ubuntu 16.04. I'm making the first image of 2.0.1 as we speak. Hope to have it ready today/tomorrow :D
[One (M7) General] chucisteph:
Where I'm at: hybris builds, middleware builds, everything builds. Will it build the image? will it f***. I crack on :D
[One (M7) General] chucisteph:
cool first image built. I'm at work and my m7 is at home so will see how it looks tonight.
[One (M7) General] supremazy:
Please hurrryy...!:victory:
[One (M7) General] FroyoShark:
None of the builds are working for me on my AT&T M7. They won't boot at all, just gets stuck at the HTC logo. Tried the two alpha builds for Sprint as well as the build from Feb 19 for the M7 base model.
[One (M7) General] skyline247:
Reading through, not sure if this has been addressed, but here's a heads up if not. I have an AT&T HTC One M7, and I had the same issue on my device - the ROM would boot to the language selection but I could get no further because the touchscreen wouldn't work. I messed around with it and decided to change the kernel. Henceforth I was able to finish the setup process and am able to use the ROM. This might not work for everyone, but it worked for me, so give it a try.

I used Slim Kernel linked in this post -- http://xdaforums.com/showpost.php?p=47557159&postcount=1 but you can try whatever floats your boat. The PA kernel didn't work for me, so not sure.

My install process was as follows --

1) Wipe everything 3 times in TWRP.

2) Install cm-11-20141112-SNAPSHOT-M12-m7.zip. Let that boot up and go through the CM setup process.

3) Reboot to recovery and install sailfishos-m7-release-2.0.0.10-sg-rel-201602180750.zip. Then, before rebooting into system --

4) Install Slim Kernel that is linked on this post - http://xdaforums.com/showpost.php?p=47557159&postcount=1

5) Reboot to System and go through the Sailfishos setup process. Your touchscreen should work with the flashed kernel.

Anyway, I hope that helps if you're having the same issues. Good luck.
[One (M7) General] KARIM9377:
Is it working on HTC One dual sim 802w

Thanks
[One (M7) General] Lolteee:
This OS seems to be a good alternative to android but i get stuck on the tutorial i can't swipe left or right is there a way for not doing the tutorial ? ( sorry for bad english )

---------- Post added at 08:54 PM ---------- Previous post was at 08:48 PM ----------

oups sorry i have found how to do it ps im new i don't know hot to delete a message
[One (M7) General] pictorul20:
what about the link for the slim kernel? i cant find no slim kernel link in that thread only cm kernels and other aosp versions, please be more specific .
[One (M7) General] skyline247:
The link is on that page, about halfway down.

http://xdaforums.com/showpost.php?p=47557159&postcount=1

It lists it like this--

"Kernels:

All this kernels are compatible with CM and probably all the other modded roms

ParanoidAndroid Kernel (aospa)

Lean Kernel (slim)

Stock Cyanogenmod Kernel (cm)"

Pick the second one, it is a Mega download.
[One (M7) General] pictorul20:
oooowwww .... so that`s the trick. I was veery confused by the fact that those kernels weren`t in the htc

one m7 forum thread .

ok. this is weird, it says its maguro blah blah device and it ends up with error 7 i cant get the sailfish os to work when i change the language and the kernel ( the ones i tried before ) are switching my rom to cm 11 as primary OS .

---------- Post added at 05:05 PM ---------- Previous post was at 04:07 PM ----------

ok. I flashed again sailfish os , then flashed slim kernel which is for nexus devices, i rebooted the system and i got stuck at changing language. What am I doing wrong? I mention i havent done any wipes, just installed cm 11 the one posted into description, then installed sailfish os, then that nexus kernel. Im still surprised it didnt bricked my phone yet.
[One (M7) General] skyline247:
It worked for me. I am away from my comp & house right now. I will go into more in-depth procedure when I get home later this evening. For the time being try different kernels. I haven't tried all of them, but I'll update my post this evening.
[One (M7) General] pictorul20:
Ok. Thank you . I`m curious to see how this will end up . I tried at least 4 cm based kernels with no luck
[One (M7) General] chucisteph:
To skip the tutorial on the first screen touch the corners of the screen clockwise starting top left, so top left, top right, bottom right, bottom left.
[One (M7) General] chucisteph:
If your touchscreen is not working it is usually because the window compositor is using the wrong input device for, er input. To fix that you need to work out which the correct device is and edit the config file in /var/lib/environment/compositor appropriately. You'll need SSH access to the phone and working USB networking so it's not easy if you've not done it before.
[One (M7) General] firedroidx:
When will the new images be out? The downloads page only has ones from February :/
[One (M7) General] obrado:
Hi everyone,

if there still some people trying this rom, below you can find some instructions how to install some apps (it's in German Language so use google translator :) )

http://sailfishmods.de/2016/07/oneplus-x-sailfish-os-installieren/

I've tried and everything worked OK.
[One (M7) General] ShreyanshLodha:
Does it Support HTC one M7 Dual SIM 802D

m7cdwg
[One (M7) General] ahmedjan87:
updates ?

i just tried this rom and managed to put as the internal rom with multiboot and used secondary roms for android

i was wondering if there were any updates since i just noticed that the rom is from february

also i was wondering if the build with working modem is posted anywhere

thanks ahead
[One (M7) General] Cloverkit:
Work for M7wlv？:confused:
[One (M7) General] chucisteph:
Hi all, one LTS ubuntu, 2 laptops, one FOSDEM and one baby later I'd just like to say hello, I'm back, recreating my build environment and attempting to target SailfishOS 2.0.5.6.
[One (M7) General] lm8lm8:
hello

does anyone get some news about htc m7 on sailfish?

looks like that 4G device could still get nicely connected as a second-hand device, with SFOS it would be perfect !

old images from devaamo are unfortunately gone from internet/archive..

images.devaamo.fi down [closed] - together.jolla.com

images.devaamo.fi, a website that hosts several SFOS ports, is down. Actually, the whole domain devaamo.fi has expired, ...

together.jolla.com

Sailfishos, questions

Hi I dont know if Im in the right category I do have several devices : iphones ((up to SE2016) blackberry (even last model from rim with touchscreen) huawei ale l21 2015 htc pn07100 m7 wiki sunny2plus sams g530fz sams g386f I guess only the m7 from htc could run sailfishos-like...

forum.sailfishos.org

GitHub - librehat/droid-config-m7: Device configuration for HTC One (M7) for Sailfish OS porting

Device configuration for HTC One (M7) for Sailfish OS porting - librehat/droid-config-m7

github.com

others links :

Adaptations/libhybris/Install SailfishOS for m7 - Mer Wiki

wiki.merproject.org

https://www.reddit.com/r/DHExchange/comments/k19hy1
[One (M7) General] lm8lm8:
thank you for that rom, but...

unfortunately :

* images.devaamo.fi is a dead server, since a while

* the cm13 cyanogenmod looks forever disappeared, in accordance with CM offficial website down since a while

* the generted image for m7 gsm doesnt bootsup, it's stuck in loop on htc blank screen

well, lineageos 14 is for me the best (andro7), wifi is a bit shaky but it could work for occasional purposes

latest rom still available on :

Index of /dl/lineageos/14.1/m7/

for sailfish, add:

Inconsistent snapshot of old Mer/Nemo/Sailfish images

Inconsistent snapshot of old Mer/Nemo/Sailfish images

(cm13 forever disappeared im afraid so)
[Galaxy S6 Q&A, Help & Troubleshooting] Anonymous 6687:
Does anybody have gap between screen and frame at the lower right corner beside antenna line ? my galaxy s6 has it but it's only visible under direct light and at some angles !!!
[Galaxy S6 Q&A, Help & Troubleshooting] xstokerx:
Strange mines tight to the bezel
[Galaxy S6 Q&A, Help & Troubleshooting] Anonymous 6687:
So u don't have gap ...

Can u please look at your s6 under direct light just beside the antenna line at the lower right corner