ubports-beryllium / projectmanagement

7 stars 0 forks source link

Porting Status #20

Open joelselvaraj opened 4 years ago

joelselvaraj commented 4 years ago

We will track the status of all main functions here instead of separate issues.

joelselvaraj commented 4 years ago

General discussions over porting status and clarifications can be asked here.

biswatmak commented 4 years ago

Will it have snapd?

joelselvaraj commented 4 years ago

Will it have snapd?

No. As of now there is not support for Snap in Ubports. We do only the porting here. The features are being worked by the Ubports Team though. You can read some discussions over here: https://forums.ubports.com/topic/2744/snap-and-flatpak-apps https://forums.ubports.com/topic/4446/snapd-for-snaps-how-to-also-flatpak-or-appimage

DevMashru commented 4 years ago
* [x]  Battery & Charging
  * [ ]  Charging symbol activated while charging. (Sometimes doesnt show as charging)

Hey, Just wanted to know if you had the commits(dated 29/06/2020) in your system/core. If not, it could potentially help you fix this bug. https://github.com/pixeldust-project-caf/android_system_core/commits/quiche/healthd

AMRUT118 commented 3 years ago

when we can expect stable build of this rom sir can u reply plze

joelselvaraj commented 3 years ago

when we can expect stable build of this rom sir can u reply plze

Hey, i will work on this during November. Got caught up with exams.

branja6 commented 3 years ago

Hello, kind sir. I hope you will have enough time and be willing to port Ubuntu Touch completely in order to have a stable release on Poco F1. I'm keeping my fingers crossed.

Nandanrmenon commented 3 years ago

facing an issue in receiving a call, when one person calls the call ui shows two person and no audio goes through. also no data working. cant change the from 2g to lte carrier : airtel

Nandanrmenon commented 3 years ago

facing an issue in receiving a call, when one person calls the call ui shows two person and no audio goes through. also no data working. cant change the from 2g to lte carrier : airtel

also phone's not charging

joelselvaraj commented 3 years ago

facing an issue in receiving a call, when one person calls the call ui shows two person and no audio goes through. also no data working. cant change the from 2g to lte carrier : airtel

Hey are sure you are not using dual sim? Currently a single sim on slot 2(important) is stable. Other combinations seems to cause these and various other issues.

joelselvaraj commented 3 years ago

Here are some updates.

So currently only battery drain issue is fixed. I think i should release this fix first. Rest can wait for on another update

branja6 commented 3 years ago

That is amazing! Thank you very much, Joel.

p.s. I did face issues while using the alpha build. I couldn't use my micro sd card. I've tried with standard Android formatting (exfat) as well as formating it to ext4 and the device just couldn't see it.

AMRUT118 commented 3 years ago

Can i use it now as a daily driver

On 26-Nov-2020, at 7:54 PM, branja6 notifications@github.com wrote:

 That is amazing! Thank you very much, Joel.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Nandanrmenon commented 3 years ago

facing an issue in receiving a call, when one person calls the call ui shows two person and no audio goes through. also no data working. cant change the from 2g to lte carrier : airtel

Hey are sure you are not using dual sim? Currently a single sim on slot 2(important) is stable. Other combinations seems to cause these and various other issues.

no i am not using dual sim and since you mentioned sim channel i was using it on slot 1. also i found an issue with wifi. what happened is i was testing arround if i could try to get data work so i turned off wifi and after sometime tried turning it back on, but then i connects then asks of password after a minute

Nandanrmenon commented 3 years ago

Can i use it now as a daily driver On 26-Nov-2020, at 7:54 PM, branja6 @.***> wrote:  That is amazing! Thank you very much, Joel. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

umm, not yet you can use but its really filled with bugs for a daily user

zenMaya commented 3 years ago

once I/someone figure out why mobile data is not working in those builds.

@joelselvaraj, Are there any guesses how to debug this? Can you maybe compare the builds with diff? I would really like to help, but I'm no expert in Android.

Nandanrmenon commented 3 years ago

@joelselvaraj, update: i switched to 2nd slot and sms and call are working fine but still data is giving headache. it would be great if we could make android apps work too.

joelselvaraj commented 3 years ago

@Nandanrmenon Good to know. Mobile data used to work fine for me on slot 2 without any issues. I can make android apps work, but last time i checked, internel inside android apps wont work and to fix them, i need to build custom anbox android image. I m currently hooked up in my academic work. It will atleast take month or two before i work on this again. I ll try add android apps support in between somehow if possible.

joelselvaraj commented 3 years ago

once I/someone figure out why mobile data is not working in those builds.

@joelselvaraj, Are there any guesses how to debug this? Can you maybe compare the builds with diff? I would really like to help, but I'm no expert in Android.

I did try diffs and stuff with the help from NotKit from Ubports too. We couldnt really find out the issue. I worked days on it to solve it with no solutions/workaround. I ll look into again later in a month or two.

Nandanrmenon commented 3 years ago

@Nandanrmenon Good to know. Mobile data used to work fine for me on slot 2 without any issues. I can make android apps work, but last time i checked, internel inside android apps wont work and to fix them, i need to build custom anbox android image. I m currently hooked up in my academic work. It will atleast take month or two before i work on this again. I ll try add android apps support in between somehow.

actually i found the solution, apparently switching apn helped edit: ubports is now much more usable than last time, thanks to you ;)

Nandanrmenon commented 3 years ago

update: calls, sms and data pretty much work good. well the next bug i am not sure if its gsi problem or device related problem, i found a gesture bug where i can't do anything and have to reboot quite often.

regarding restart, the phone shutdowns and doesn't wake up unless you hold the power button and manually turn on.

i tried using headsets and the sound still comes from phone speakers 🤷‍♀️.

joelselvaraj commented 3 years ago

Can you elaborate more on the audio issue? Wired/Bluetooth headphones? How did u test it?

Nandanrmenon commented 3 years ago

Can you elaborate more on the audio issue? Wired/Bluetooth headphones? How did u test it?

I tired to open YouTube with the default browser and when I connected the earphones(wired), the audio was coming out of the speaker.

RusJJ commented 3 years ago

What's about MultiROM? Trying to install using a zip «gsi installer». Looks like it's okay but then Recovery just crashes. Im still on Lineage (second ROM).

CedArctic commented 3 years ago

Haven't managed to install it myself yet but from some videos it seems that the notch support in UBPorts is getting in the way of some things. Found this patch if it interests anyone: https://github.com/JamiKettunen/unity8-notch-hax

Nandanrmenon commented 3 years ago

Haven't managed to install it myself yet but from some videos it seems that the notch support in UBPorts is getting in the way of some things. Found this patch if it interests anyone: https://github.com/JamiKettunen/unity8-notch-hax

this can actually fix the notch issue. maybe i will try porting for poco myself

Edit: can someone test notch fix for me, cant install ubports now thats why

PeterGamma commented 3 years ago

One major issue of Xiaomi devices: it is difficult to find out which device to choose:

https://forum.xda-developers.com/f/ubuntu-touch-ports-to-android.2098/

joelselvaraj commented 3 years ago

Here are some updates.

  • I have fixed the battery discharging issue.
  • But sadly dual sim is still a problem.
  • I tried getting official support with OTA updates, but mobile data is not working in those builds. Its not upto Erfan's Ubuntu Touch GSIs yet. Once its stable, i can release it. The ubuntu touch recovery is already ported. So we can get proper installer support, once I/someone figure out why mobile data is not working in those builds.

So currently only battery drain issue is fixed. I think i should release this fix first. Rest can wait for on another update

Update Guys. Got to know about a workaround for the mobile data not working in official ubports build! Its to related to this. https://github.com/ubports/ubuntu-touch/issues/1657.

Steps to fix mobile data issue in official builds:

Its a one time fix. it seems to persist after reboots. so first time after installation, we might have to do this temporarily. they ll eventually fix though!

For those who want to try out Official Ubports Build:

Nandanrmenon commented 3 years ago

Here are some updates.

  • I have fixed the battery discharging issue.
  • But sadly dual sim is still a problem.
  • I tried getting official support with OTA updates, but mobile data is not working in those builds. Its not upto Erfan's Ubuntu Touch GSIs yet. Once its stable, i can release it. The ubuntu touch recovery is already ported. So we can get proper installer support, once I/someone figure out why mobile data is not working in those builds.

So currently only battery drain issue is fixed. I think i should release this fix first. Rest can wait for on another update

Update Guys. Got to know about a workaround for the mobile data not working in official ubports build! Its to related to this. ubports/ubuntu-touch#1657.

Steps to fix mobile data issue in official builds:

  • Turn off the mobile data.
  • ssh/open terminal app and run
/usr/share/ofono/scripts/set-context-property 0 Protocol ip
  • Turn on mobile data.

Its a one time fix. it seems to persist after reboots. so first time after installation, we might have to do this temporarily. they ll eventually fix though!

For those who want to try out Official Ubports Build:

Will let you know tomorrow evening. Have to test notch fix also. :)

joelselvaraj commented 3 years ago

Will let you know tomorrow evening. Have to test notch fix also. :)

@Nandanrmenon Regarding the notch fix, i just sent a pull request: https://github.com/JamiKettunen/unity8-notch-hax/pull/2 Hope it gets merged soon.

To try manually you can

Let me know if it works too. thanks! After it gets merged, first 3 steps is enough.

RusJJ commented 3 years ago

How to install as a second ROM using MultiROM? It shows an error 255, as i remember.

joelselvaraj commented 3 years ago

How to install as a second ROM using MultiROM? It shows an error 255, as i remember.

as far as i know, there is no multirom support for ubports yet. Poco F1 only has multirom support for android os and not ubports.

Squiglygon commented 3 years ago

For those who want to try out Official Ubports Build:

* Download the boot and system image from here: https://gitlab.com/ubports/community-ports/android9/xiaomi-poco-f1/xiaomi-beryllium/-/jobs/993644033/artifacts/browse/out/

* wipe everything

* make sure you have android 9 firmware and vendor (by installing lin-16)

* fastboot flash system system.img

* fastboot flash boot boot.img

* reboot. thats it!

* Oh. Dont forget the temporary fix mentioned above! Do let me know if it works!

Does it mean that this is all I need to install UT on a F1 that has LO16? Can I skip everything here? https://forums.ubports.com/topic/4611/xiaomi-poco-f1-beryllium

joelselvaraj commented 3 years ago

Does it mean that this is all I need to install UT on a F1 that has LO16? Can I skip everything here? https://forums.ubports.com/topic/4611/xiaomi-poco-f1-beryllium

Yes. If u already like Los 16 installed. Just format data and fastboot flash system and boot image.

milikhin commented 3 years ago

For those who want to try out Official Ubports Build:

* Download the boot and system image from here: https://gitlab.com/ubports/community-ports/android9/xiaomi-poco-f1/xiaomi-beryllium/-/jobs/993644033/artifacts/browse/out/

* wipe everything

* make sure you have android 9 firmware and vendor (by installing lin-16)

* fastboot flash system system.img

* fastboot flash boot boot.img

* reboot. thats it!

* Oh. Dont forget the temporary fix mentioned above! Do let me know if it works!

Thank you, official build works fine for me! Mobile data also works out of the box without the temporary fix.

joelselvaraj commented 3 years ago

Thank you, official build works fine for me! Mobile data also works out of the box without the temporary fix.

Hey nice to know! U can try out the ubports recovery too. It has ota update support. If u could confirm Ota updates through ubports recovery works, it would be really helpful. Thanks.

To test Ubports Recovery and ota updates

milikhin commented 3 years ago

Hey nice to know! U can try out the ubports recovery too. It has ota update support.

Thank you! I confirm that OTA updates work!

AMRUT118 commented 3 years ago

Can I use it as daily driver now

On Sun, 28 Feb, 2021, 5:05 pm Mikhail Milikhin, notifications@github.com wrote:

Hey nice to know! U can try out the ubports recovery too. It has ota update support.

Thank you! I confirm that OTA updates work!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ubports-beryllium/projectmanagement/issues/20#issuecomment-787437925, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARS4DLZNDDQTMGUKWIYZ353TBITAZANCNFSM4NBFXVQQ .

Nandanrmenon commented 3 years ago

Thank you, official build works fine for me! Mobile data also works out of the box without the temporary fix.

Hey nice to know! U can try out the ubports recovery too. It has ota update support. If u could confirm Ota updates through ubports recovery works, it would be really helpful. Thanks.

To test Ubports Recovery and ota updates

recovery installed, looks like los fork though 😬 + thanks for the notch fix and increased storage 😁

Nandanrmenon commented 3 years ago

@joelselvaraj new bug, wifi doesnt connect in some boots, two to three shutdowns make it work and sometimes i have to disconnect. second, fingerprint menu doesnt open up. :/

edit (02/03) : fingerprint bug was fixed in ubports update. there is one bug that keeps bothering, i.e. when i try to open recent, the gesture doesnt work. not sure if it is Lomiri and device related, restart only fixes it right now

Nandanrmenon commented 3 years ago

Thank you, official build works fine for me! Mobile data also works out of the box without the temporary fix.

Hey nice to know! U can try out the ubports recovery too. It has ota update support. If u could confirm Ota updates through ubports recovery works, it would be really helpful. Thanks.

To test Ubports Recovery and ota updates

thanks for the recovery, the updates works but the unity8 notch fix is gone have to patch again

svenha commented 3 years ago

I bought a used Pocophone. The description here and on ubports.com assumes that the device should run LineageOS 16. Currently, I see only LineageOS 17 on their main pages. Will version 17 work or do I have to find a version 16 somewhere?

RusJJ commented 3 years ago

I bought a used Pocophone. The description here and on ubports.com assumes that the device should run LineageOS 16. Currently, I see only LineageOS 17 on their main pages. Will version 17 work or do I have to find a version 16 somewhere?

You need LOS16. Link in XDA Topic.

svenha commented 3 years ago

Thanks @RusJJ. I will try the version from 2020-03-25.

Nandanrmenon commented 3 years ago

Thank you, official build works fine for me! Mobile data also works out of the box without the temporary fix.

Hey nice to know! U can try out the ubports recovery too. It has ota update support. If u could confirm Ota updates through ubports recovery works, it would be really helpful. Thanks.

To test Ubports Recovery and ota updates

there is an issue with going back to twrp. i couldnt flash back twrp. here is the log

target reported max download size of 536870912 bytes
sending 'recovery' (32092 KB)...
FAILED (remote: Requested download size is more than max allowed)
finished. total time: 0.000s
Nandanrmenon commented 3 years ago

edit: my phones dead. cant flash anything, doesnt detect fastboot on both windows and linux

joelselvaraj commented 3 years ago

edit: my phones dead. cant flash anything, doesnt detect fastboot on both windows and linux

I m not sure what happened. People did report it was working fine and updates get installed properly. Let me remove the file for now. I ll look into it. I think i m facing similar issue too.

joelselvaraj commented 3 years ago

@Nandanrmenon I literally faced the same issue in Ubuntu 20.04 now. Then when dual boot into windows, windows wouldnt even recognize my device. Here is what i did. I used a different windows computer and external usb 2.0 hub. Then it recognized. And i m able to flash them now. Do you by chance tried it out first in linux too?

joelselvaraj commented 3 years ago

Most likely related to these USB 3.0 fastboot problem. https://forum.xda-developers.com/t/fastboot-problem-on-usb-3-0-ports.3859995/. It initially didnt work and i couldnt flash anything. Then I bought usb 2.0 hub and i was able to flash them. Then in between, last few months, usb 3.0 fastboot worked for me. Then suddenly today, its not working again. I used a different computer and usb 2.0 hub, now its working. No idea whats with usb 3.0, fastboot and Xiaomi. Hope u ll be able to fix yours soon too.

joelselvaraj commented 3 years ago

@Nandanrmenon I released the recovery again. I tested it. The recovery is working fine. Its something to do with the system + usb 3.0 configuration. These type of fastboot issues are becoming common nowadays and big headache. All i can suggest is try a different pc, laptop, old ones preferrably with proper usb 2.0 ports. Else buy cheap USB 2.0 hubs that are known to solve these problems. These fastboot errors are so random. So long, it was working in my computer. Since, u said its not working, i tried it and it suddenly didnt work for me too. Switched to another laptop and used an external usb 2.0 hub, now its working again.