yashsingh1/xdaforums huggingface dataset:
[Mi 3 Original Android Development] JulianJenner:
Thanks for this information. We're working on translate there.

But I'm unfortunately not a programmer or system developer.
[Mi 3 Original Android Development] thinhx2:
Can you try add Android on a Window as SF Nexus 4?

https://wiki.merproject.org/wiki/Ad...OS_for_mako#Android-in-a-Window_.28sfdroid.29
[Mi 3 Original Android Development] stosem:
I was try it on our SFOS 2.1.0.9 by installing link for CyanogenMod 11.0 base ROM. System doesn't boot after apply. Even if I return our init.rc.
[Mi 3 Original Android Development] Vishavdeep:
Great work, looking forward to sfdroid implementation. :)
[Mi 3 Original Android Development] serhangelgor:
Is there any way to run whatsapp?
[Mi 3 Original Android Development] Vishavdeep:
No, not unless sfos or some other Android-in-a-box solution is implemented.
[Mi 3 Original Android Development] z3ki:
Is the project still alive?

Thanks for the portability. I'm still looking forward to the Android implementation.

I turn to MIUI while waiting for a new update.

Are PayPal donations accepted?
[Mi 3 Original Android Development] saidinesh5:
Hi,

Yes this project is still alive.. We were looking at an update to the the upcoming ‎2.1.1.24 version last week.

The Android implementation is currently on hold till someone releases the 3.10 kernel though. Currently the guys who released their ROMs with the 3.10 kernel didn't release the kernel sources for that. (Eg.

https://xdaforums.com/xiaomi-mi-3/development/8-0-aosp-t3662028 )

Without the 3.10 kernel, most of my effort for getting Android support is simply wasted in getting lxc running on a 3.4 kernel as opposed to any work on anbox itself. So thought it'd be easier if i work on other sailfish parts like improving the webview etc.. till the new sources are out.

Sure, the donations are accepted via. PayPal (my info is in my profile). but I'm considering something like https://www.bountysource.com/teams/cancrosailors/issues , to encourage more people to contribute to the project / to track what features/ bug fixes are more important. What say?

Thanks for your support,

D

P.S those using the Mi4, piggz wrote a basic IR remote app based on the consumerir code i was writing. Check it out, and help us improve it:

https://openrepos.net/content/piggz/ir-remote
[Mi 3 Original Android Development] tomgar:
Awaiting for this great operating system. I would pay you money if this operating system is everything we wait.

Thanks in advance.
[Mi 3 Original Android Development] z3ki:
Thanks for the quick reply.

I hope they release the fast kernel so you can continue with your work.

There you have my donation. Thank you very much for your sublime work.

Greetings :good:
[Mi 3 Original Android Development] saidinesh5:
Thanks a lot! And yep, they said they will release soon, earlier today..
[Mi 3 Original Android Development] ar4er:
saidinesh5, I'm glad to see that you continue to work on the project. In a few weeks I'll take out spare parts for my mi3w and join you.
[Mi 3 Original Android Development] b100dian:
Vibration when receiving call

Does vibration when receiving a call work for you guys? (I'm on Mi4 LTE).

I do have vibration working in menus and other notification(s).

Thanks,

--

Vlad
[Mi 3 Original Android Development] saidinesh5:
Hi,

Vibration seems to be working well in calls on Mi3. In Settings > Sounds and feedback, Vibration: Always is the option for me.

There is this extra commit from [MENTION=2009146]ar4er[/MENTION]r to fix vibration strength on Mi4. Maybe this is causing issues for you? Or maybe some commit related to this is missed out?https://github.com/CancroSailors/an...mmit/f459fe32f6c4eeeb31891e8fe94c1cb25f54c84e .

In order to tinker with this we will have to recompile the kernel and try things out. I have created an issue in Trello. https://trello.com/c/BSjKVc1s/60-fix-vibration-during-phone-calls-on-mi4 . Will see if I can get my hands on an Mi4, to test/fix this.

Most probably, I will touch this task only after porting our kernel to 3.10 though. Last weekend, most of my time was gone in making a build for upcoming 2.1.1.26 (I think they will make the release public with version 2.1.1.27 - after fixing some bugs). I will hopefully sit down this saturday and start the continue updating our kernel to 3.10.

D
[Mi 3 Original Android Development] b100dian:
Thanks for the detailed response.

Looking forward for the next update to see if that vibration commit was it!

--

Vlad
[Mi 3 Original Android Development] ar4er:
But this commit and this driver not mater. I create ff-memless driver based on Xiaomi tspdrv sources (drivers/input/misc/drv260x_memless.c) and it used for vibration.
[Mi 3 Original Android Development] JulianJenner:
Nice to hear this! We waiting for...
[Mi 3 Original Android Development] tomgar:
when do you think will have any update?.

Thanks in advance.
[Mi 3 Original Android Development] saidinesh5:
I am not entirely sure. The 2.1.1 update was discountinued by Jolla because of some security bugs ( https://blog.jolla.com/sailfish-os-2-1-1-now-available-jolla-devices-early-access/ ),

So now we have to wait for them to make the 2.1.2 release. I have updated the packages (and build scripts) for the 2.1.1 and they didn't bring in any major improvements.

I have also started the porting work to 3.10 kernel and am now debugging the issues to get it to boot. Let's see, if i can even push out 3.10 kernel as part of the 2.1.2 Update.

D
[Mi 3 Original Android Development] GhostWANTED:
wew, finally we'll have some fun with anbox :D

I'm sure kernel 3.10 will be awesome :)

Good luck, see you again here with some goodies :P
[Mi 3 Original Android Development] Anarchy16:
https://www.xda-developers.com/jolla-sailfish-x-os-android-xperia-x/

some interesting article
[Mi 3 Original Android Development] z3ki:
Hi.

News? Will we update soon?

Regards.
[Mi 3 Original Android Development] Mattia990:
Hi guys! There aren't beta or alpha roms?? With these, we can test rom and help you! Best regards and good luck with this rom
[Mi 3 Original Android Development] b100dian:
Ok, so one thing just happened: m.uber.com stopped working in the jolla browser. Now I would probably need a better browser or the Android app.

Is there any effort still invested in the Sailfish upgrade for the Mi3/Mi4? Or in the android support?

Thanks!
[Mi 3 Original Android Development] z3ki:
I join the question.

I hope the update is not abandoned [MENTION=7587193]saidinesh5[/MENTION] [emoji22]
[Mi 3 Original Android Development] sajalhossain13:
how to enable navbar?
[Mi 3 Original Android Development] saidinesh5:
[MENTION=535343]all[/MENTION] i still work on this , but now that i have a full time job - i only work on this during my weekends - when i get some time. That's why this release was delayed this long.

As for the better browser, there should be one soon in openrepos based on a more recent Qt Webkit. I also tried compiling the QtWebEngine but ran out of hard disk space while compiling the chromium bits.

As for the android app support - the 3.10 kernel we have received seemed buggy/wasn't even booting. So [MENTION=2009146]ar4er[/MENTION] started working on his own port of 3.10 kernel. Once it is ready, we can look for anbox support. You can follow his progress here: https://github.com/Ar4erR07/msm-3.10/tree/LA.BR.1.3.6_rb1.20 . Meanwhile i tried backporting ~100+ usernamespace patches to our 3.4 kernel but it was of no use. The device didn't even boot with it.

That's why i pushed out this release after just upgrading the Sailfish version to 2.1.3.7.

Cheers
[Mi 3 Original Android Development] b100dian:
Thanks Dinesh, the updatr went smooth!

and just as I've hoped, the browser did had some bug fixes. I can browse m.slashdot.com (its been a while) and m.uber.com doesnt throw errors.

The vibration is still missing on calls on my Mi4, but the IR remote works (from a previous post) thus I got this goning on for me.
[Mi 3 Original Android Development] saidinesh5:
There is no navbar in Sailfish OS. It is completely gesture based. Swipe from any edge of the screen to get back to the "home screen".
[Mi 3 Original Android Development] fadhilrsh:
Android app support,??
[Mi 3 Original Android Development] saidinesh5:
Could you manually tinker with /usr/share/ngfd/plugins.d/50-ffmemless.ini and making all the effects there into rumble and see if it works for you? (and restart ngfd/reboot device of course)
[Mi 3 Original Android Development] saidinesh5:
None from my end as the 3.10 kernel we have is still junk.

Here is something you can try though. I know people who used this method on a Nexus 5 to get android app support there: https://talk.maemo.org/showthread.php?p=1532710
[Mi 3 Original Android Development] b100dian:
This was it! I feel like it's Christmas already:)

I set to zero two ringtone options:

NGF_RINGTONE_ATTACK = 0
NGF_RINGTONE_ALEVEL = 0

and voila!

Then I noticed SMS didn't vibrate either (were they, in the previous build?).

For that, I capped the magnitude to

NGF_SMS_MAGNITUDE = 16383

I still have to see why some notifications don't buzz (email does, menus do, slackfish doesnt),

This literally stopped me from going to a shop and pick another phone \o/.:victory:

Thanks!

(I'll update if I fix more notifications)
[Mi 3 Original Android Development] saidinesh5:
Great news! If you want more insight into this - here is the source code for the driver: https://github.com/CancroSailors/an...mmit/693dbaeec7a4f2a9bab46cfe5f7a599a6e41e829 and here is the commit where we enabled that driver: https://github.com/CancroSailors/droid-config-cancro/commit/2052e20cd17df4961f747cfb6c83b246e01df742

Once you are done tinkering and making sure the effects are all well (some people find the effects on Mi3 are a little weak too..), share your config file and then let's merge it back into main repos!

Good Luck!
[Mi 3 Original Android Development] Anatoly64RUS:
Great work! Any updates are expected in the near future? And is there any chance to add support for android apps?

And will there be a version based on CM 13?
[Mi 3 Original Android Development] saidinesh5:
Hey,

I actually silently pushed out an OTA a couple of weeks ago, after i fixed the boot loop issue on Mi3. I may push out 1-2 more OTAs after fixing the lingering little issues (nothing major). Otherwise anytime Jolla makes an update available in the next 1 year, I plan to make it available to you.

Version based on CM 13 is a no go though. CM 14.1 maybe possible - especially with the Halium work someone is doing.

Android apps - will have to port Ar4er's 3.10 kernel. Let's see how that goes. No promises though.

Are there any specific issues you want to get fixed? Anything especially from this list? https://trello.com/b/rV0H5txC/sailfish-os-on-cancro

Cheers,

D
[Mi 3 Original Android Development] iHusky:
Hi, I saw some times ago, that you add repo with anbox for xiaomi mido, did you release this version for our devices when you build anbox on 3.10 kernel?
[Mi 3 Original Android Development] saidinesh5:
The repo with anbox is just the anbox compiled for sailfish os. I compiled it so kimmoli could test it/port it to work on his Jolla. For our device, i still haven't ported the 3.10 kernel so.. But when it is ported, you can use the anbox from that repo.

D
[Mi 3 Original Android Development] wa911:
Andro

Good day! How are things with android applications? How do I run them on [beta] [SFOS] SailfishOS 2.1.3.7 for cancro?
[Mi 3 Original Android Development] saidinesh5:
Hi,

Jolla's aliendalvik is only available for their official devices. Currently real life is a little too busy for me to work on the anbox / 3.10 kernel port to this device.

You can try getting the Aliendalvik packages from Jolla devices and install them on this, and tinker the configs a little to get it working.

D
[Mi 3 Original Android Development] Ju Li Ahn:
Maybe we get a little chance by Sailfish 3.x

[youtube]X3cyLhoUpc0[/youtube]

:)
[Mi 3 Original Android Development] b100dian:
Hi [MENTION=7587193]saidinesh5[/MENTION],

Any plans to upgrade to 2.1.4 that was released recently?

Thanks,

--

Vlad
[Mi 3 Original Android Development] saidinesh5:
Hey,

Yep. I tried to compile it last weekend, but they changed quite a few things.. So all i ended up was with compilation errors. Will give it another go this weekend.

D
[Mi 3 Original Android Development] saidinesh5:
Alien Dalvik is currently not that easily available to run on devices other than Jolla's - https://talk.maemo.org/showthread.php?t=98800&page=23 check that thread for more info.

I tried something similar to that a year ago but the Android part of alien dalvik kind of messed up my data on my actual android partition on my Mi 3. It maybe worth it to give it another shot - fetching the aliendalvik from their sony experia images ...
[Mi 3 Original Android Development] saidinesh5:
Hi guys,

I have a very bad news :(

Today, while trying to replace the swollen battery in my Mi 3, I accidentally broke the display. My beloved phone is no longer.

Lately, my weekends have been swamped with work and real life and I haven't been able to put in much effort into this project.

If any of you are interested in maintaining this port, kindly let me know. I will get you added on the merproject repositories, and help you push out the 2.2.0.29+ release.

I thank you all so much enough for your support. This project has been a very interesting learning experience for me.

As for what comes next - I am not sure. I was considering getting another smartphone and porting sailfish os/ubuntu touch/halium to it. Or maybe work on something else altogether...

If it were the former (no promises!), do you guys have any preference as to which phone I should get? I'd prefer to support manufacturers who don't void the warranty on rooting your device, and release kernel sources actively.

Once again, Thanks a lot for your support!

: D
[Mi 3 Original Android Development] chenyongzhang:
Maybe......Xiaomi Mi6(sagit)?It's a beautiful and powerful device.
[Mi 3 Original Android Development] b100dian:
Thanks Dinesh for this port.

It was a fantastic year with only OSS apps on the non-android sailfish device!

I have myself replaced the mi4 with a huawei but then they announced they are closing the bootloader unlock codes site, so I dont recommend

I still do not use google play tough:)

If you didnt find a device. of your linking I can even send you the Mi4, but it has a yellowish tint where the volume buttons are - on screen. Let me know in private.

Alternatively I can install whatever you were last working on and test to see if it's release-able.

Thanks again!
[Mi 3 Original Android Development] sajjadaf:
Hi.its gr8 to give sailfish on cancro

But it does support Persian keyboard and run Android apps??
[Mi 3 Original Android Development] Rocketval:
I hope it will be stable really soon.. I miss so much my beloved N900 with maemo :(
[Mi 3 Original Android Development] ashish289:
sometime after flashing device goes in qhusb mode . press power button for around 30 sec device will boot normally
[Mi 3 Original Android Development] Anarchy16:
noob question here, i not flash it yet , but if i flash it , can i revert back to any android rom easily ?
[Mi 3 Original Android Development] volcano719:
I don't think this might have been made so that everyone would be migrated to sailfish permanently..
[Mi 3 Original Android Development] thinhx2:
All time,after 10sec. Dont turn on device. I want use daily
[Mi 3 Original Android Development] saidinesh5:
This happens sometimes. It means the device went into Qualcomm recovery mode. Simply press the power button for 10-15 seconds and it should reboot normally.

Currently this is one big issue, I'm trying to figure out why it's happening. After this happens, if you're booting back could you share your logs of /proc/last_kmsg , and see what is causing the kernel panic?
[Mi 3 Original Android Development] saidinesh5:
Yes. When you install sailfishos.zip,

All of sailfish is installed to /data/.stowaways/sailfishos . and your boot image is replaced by hybris-boot from sailfish.

So back up your CM12.1 boot image and restore it back when you want to boot into android. When you want to boot back to sailfish, simply flash hybris-boot.img.
[Mi 3 Original Android Development] thinhx2:
I can save logcat with adb? If adb no work,how to save log on sailfish? Bro have plan bring ubuntu touch to mi3?
[Mi 3 Original Android Development] saidinesh5:
For access to a root shell, You can simply do

$ telnet 192.168.2.15

When your phone is connected to the PC is developer mode. You can also use ssh access . checkout settings>developer mode for more info.

/proc/last_kmsg is the file always holds the kernel logs of the last time you've booted.

Also you can use dmesg , journalctl, and /usr/libexec/droid-hybris/system/bin/logcat to access various logs on a running system.

Also, i did have a development environment for Ubuntu touch setup, but there were some compile time issues. So i paused the work on it to focus on sailfish+sfdroid first.

We really need to get a multirom solution first though!
[Mi 3 Original Android Development] saidinesh5:
I have fixed MTP mode yesterday, so you can connect your phone and directly transfer files to PC in the next release. Right now you can just use scp or some wifi file transfer apps available in the openrepos or even various cloud storage accounts available on the device.
[Mi 3 Original Android Development] miszko77:
Ready for testing with my mi4 lte. Saidinesh5, are u planning to do those fixes shortly? For now it stuck on MI logo for me.

Edit.: My bad, booted normally :)

Edit2.: This rom is quite daily usable. Realy missing social apps. Hard to install any app from warehouse, soo many dependencies... Is there any option to successfull install apps from jolla store?
[Mi 3 Original Android Development] saidinesh5:
Good to know!

I have been told it needs some fixes for the external SD card, Double tap to wake to work.

I will look into Dt2w sometime later again. I tried to add generic double tap to wake but it was crashing on my Mi3(on which Double tap to wake already works!). I will add support for the SD card in alpha2, along with support for sharing data with Android.

Compiling custom CM12.1 didn't help much with stability issues though :/

Edit: My mistake. Added the sd-utils pattern already to my build this time. Have accidentally uploaded an old build. The new build is uploading as we speak
[Mi 3 Original Android Development] thinhx2:
bro fixed bug dont turn on screen device after 10 second turn of device?

bro can add file managẻ in next build?

edit: i flash cm12.1+sailfish alpha 1, dont boot, stuck mi logo+led pink, after 30 second, go to qualcom mode
[Mi 3 Original Android Development] saidinesh5:
I don't think I can reproduce the 10 second bug anymore.

And sure, I will look into adding a file manager to the next build.

Btw. the actual alpha1 has been uploaded, if you want to test it out.
[Mi 3 Original Android Development] thinhx2:
yes, i flash cm12.1 and alpha 1 and reboot device, boot mi logo and pink led, after device go to qualcom mode,dont boot sailfish

edit: booted alpha 1 ( new build) :D
[Mi 3 Original Android Development] Dr. Ramm:
Pls, can u upload ur rom on AFH?
[Mi 3 Original Android Development] saidinesh5:
Hey, btw. the jolla file manager is already integrated in this rom. it is a little hard to find though. Settings > Storage > Tap on the storage usage.
[Mi 3 Original Android Development] saidinesh5:
Hi,

I have applied for a developer access there, and it is under review. I will upload there too after I receive the access.

Cheers,

D

Edit: The images are now available via. AFH too.
[Mi 3 Original Android Development] thinhx2:
And now have big bug: dont turn on screen device after turn off screen
[Mi 3 Original Android Development] saidinesh5:
You sure the device didn't go into Qualcomm mode? Press the power button for 10-15 seconds. This is the instability, I'm baffled with myself. Dunno what's causing these kernel panics yet...
[Mi 3 Original Android Development] thinhx2:
i hope bro can fix big bug
[Mi 3 Original Android Development] romanpatel:
Many times i faced phone can not be started with power button.. hv to reboot the phone..

another thing is that we have to use the remaining memory left in phone which is very annoying. we cant access old files like music,photos n anything.. any fix for that??

last thing is very less app support.. no social media apps..

Nice work though.. it all this can be fixed.. its a good to use for daily usage..

thanks......
[Mi 3 Original Android Development] saidinesh5:
The reboot issues (basically sensors/audio stop working across reboots, and you have kernel panics taking back the phone to qualcomm mode) are the ones that really suck. Not sure what exactly is causing them though. Compiled a whole CM12.1 zip myself this weekend and tried it out - but no luck. I wonder if it is because the other partitions and blobs in the phone come from Miui - Android 6 based rom. But will have to wipe my whole phone to try that out - so I am delaying this for the last.

All your Android stuff is inside /data/media/0/ . For now, you can simply do a

#mkdir /home/nemo/Android
#mount -o bind /data/media/0/ /home/nemo/Android

and access it from there. This issue will be fixed for alpha2, after trying to get multirom to work once more.

I hope SFDroid (Being able to run Android apps) will fix this issue. But I need multirom for that too.
[Mi 3 Original Android Development] thinhx2:
I hoping bro can fix big bug. Bro can try build sailfish with source device 4.4 or sailfish 2.0 need build with source 5.x?
[Mi 3 Original Android Development] saidinesh5:
I don't think going back to 4.4 is an answer. Devices like Fairphone2, Nexus 5 have msm8974 chipset too. And their ports run fine based on CM-12.1.
[Mi 3 Original Android Development] Rocketval:
What about checking for the one built for oneplus one? :confused:
[Mi 3 Original Android Development] saidinesh5:
Doubt if that would work. Different partition layouts/Binary blobs from Vendors, different kernel patches. In fact, the LED patches are from One Plus itself.

I am close to getting multirom working btw (Fixed the crashes, and it boots the internal rom properly. But fails trying to boot anything else). So feel free to try it out with multirom, once I release it soon.
[Mi 3 Original Android Development] thilak devraj:
multirom ??

anyone tried it on multirom??
[Mi 3 Original Android Development] Olinuxiod:
error with openrepo app

when i tried install something from wirehouse i see error : no-distro-upgrade-data and i cant install apps
[Mi 3 Original Android Development] saidinesh5:
Which package is it that's giving you that error?

Also maybe you had to enable installation from 3rd party soruces in Settings > Untrusted Software.
[Mi 3 Original Android Development] romanpatel:
Waiting for new & fixed old bugs build..
[Mi 3 Original Android Development] Olinuxiod:
Any package gives this error

I tried to include intrusted software but it had no effect

And RTC alarm not working

i have mi4w
[Mi 3 Original Android Development] saidinesh5:
Hmm.. That's odd. You're the only one facing this issue so far.. Could you reinstall the warehouse app from here? https://openrepos.net/content/basil/warehouse-sailfishos

P.S i have added RTC Alarms to my todo lost. I haven't tested it out yet.
[Mi 3 Original Android Development] ar4er:
Complex fix problem with package install. Terminal commands:

devel-su
[password]
mv /var/cache/pk-zypp-cache /var/cache/.pk-zypp-cache
ln -sf /var/cache/zypp /var/cache/pk-zypp-cache
ssu dr adaptation0
zypper ref
zypper in patch
[Mi 3 Original Android Development] thinhx2:
Waiting dev fix big bug
[Mi 3 Original Android Development] Olinuxiod:
thanks ar4er,i resolve my issue with open repos
[Mi 3 Original Android Development] saidinesh5:
Looks like a package update was interrupted somehow.
[Mi 3 Original Android Development] saidinesh5:
Not much so far. I think more progress will happen after 1st, when I will have a faster internet.

You can check https://trello.com/b/rV0H5txC/sailfish-os-on-cancro to see the status. I keep updating it regularly.
[Mi 3 Original Android Development] thinhx2:
Thank bro,keep your work