yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] masterporto99:
I had problems with random reboots on P1 but on P3 they are gone :D
[ONE Android Development] :
Anyone try with multirom yet? Says kernel has patch, app appears to work fine, zip injects boot menu appears, but twrp restarts seems to botch rest of install, cant get Ubuntu to boot. Going to try and add cm-13.1.2-ZNH2KAS3P0-bacon-signed and report back. Was able to dualboot working tuga8/ubuntu/sailfish/stock before would like to do the same thing but with pie as base. Impossible or let me know what version of multitwrp/zip worked for you
[ONE Android Development] ace_apr27:
Does HW button remapping work? Thinking of switching to Pie, but this is an essential feature for me...
[ONE Android Development] Prospie:
You need to install Franco kernel r56. Had the same problem, but this kernel fixed it

---------- Post added at 12:03 PM ---------- Previous post was at 12:01 PM ----------

Having the same problem, but my System UI only reboots when i turn the Wi-Fi on.
[ONE Android Development] tofu:
Works fine!
[ONE Android Development] timbuctoo:
USB tethering does not work on Franco kernel v56 for me

I'm on P3 and Franco kernel v56 too, but USB tethering is disabled
[ONE Android Development] timbuctoo:
Switching Wi-Fi on also causes reboots, but happen faster

Having Wi-Fi on makes the reboots happen sooner than otherwise. Do you have Franco's kernel (FK) app installed? If so, did you switch on optimizations in Battery Labs section?

Strange to know we are the only ones having the problem on P3!

Anyway, I'm heading back to P1. For me, P3 is proving to be a disaster as a daily driver.
[ONE Android Development] hystrix65:
Do you know if there's a way to make hotspot work using P3? Thanks
[ONE Android Development] 1GTRBG:
+1
[ONE Android Development] pungvit:
How to check my kernel version ?

Already found

My kernel was 3.1.. Its should need to be upgrade or else ?
[ONE Android Development] ydd0ras:
[MENTION=1427327]danieldmm[/MENTION] unfortunately you don't own a Pocophone F1. Missing TugaPower.
[ONE Android Development] claudio.fiuza:
TugaPower P 4.0 25/11/2018

MD5: c853e83daa31f9809e65dac6804e5333

https://tugapower.net/TP/OP1/PIE/TugaPowerP4_OP1.zip

"Fixed Acess Point ( hotspot )

Updated Magisk

Updated Buxybox

And few more stuff"
[ONE Android Development] Darkcydes:
flashed r56 yesterday, my smart face unlock and flash light seems broken

p4 fixed usb tethering?
[ONE Android Development] seninnha:
Just want to say that from all of the 9.0 Roms available, this one is the best.

Smooth and fast..

Minor issues.

Very happy with my phone
[ONE Android Development] hystrix65:
Installed P4, hotspot still not working
[ONE Android Development] danieldmm:
Did tested on my OPO the hotspot and it's working just fine, altough did not tested usb tethering, gonna check latter when at home if no one test prior to me.
[ONE Android Development] unseemlycoder:
Hotspot & USB Tethering is working

I dirty flashed P4 on P1, was able to get other devices to connect to OPO's hotspot on

AP Band's 2.4Ghz a̶s̶ ̶w̶e̶l̶l̶ ̶a̶s̶ ̶5̶G̶h̶z̶.̶

USB tethering is also working fine.

The rom is smooth, haven't had any issues so far.

Thank you devs! :D

Edit: Hotspot works operates only at 2.4GHz. Selecting 5Ghz doesn't change AP Band.
[ONE Android Development] ynamojn:
Did you dirty or clean flash? I did dirty flashing from P3 to P4 and hotspot is still not working. If you also dirty flashing then I will try clean flashing.
[ONE Android Development] taunusgta:
My alarm doesn't wake up. I'm using a flip cover. The same in P1 and P3 clean install. It only wake up when I open the flip cover first time in the morning. Not usable. Solutions?
[ONE Android Development] ynamojn:
Are you sure it is working in the 5 Ghz? Based on my previous experience, it will still working in 2.4 Ghz although you set it to 5 Ghz. You need to see the frequency from the AP client devices.

I am absolutely agree this one is the smoothest ROM. GPS is working very well. Battery usage is better than other ROM. But there are still some issues like slow WiFi with bluetooth on, screen cast, etc.
[ONE Android Development] unseemlycoder:
Hey, you're right.

On OPO Device side if 5Ghz band option is selected, client side shows that hotspot is operating at 2.4 GHz.

My bad, should have checked on it.
[ONE Android Development] hystrix65:
Dirty flashing me too
[ONE Android Development] danieldmm:
For people still having issue with hotspot AP or USB tethering, be sure you try with Stock kernel, on telegram group people with Franco Kernel are not hable to make it work, with Stock kernel it works fine, the fix on my side relative to AP it was all done on kernel side, so franco probably will need to fix on is side.
[ONE Android Development] tofu:
[MENTION=1427327]danieldmm[/MENTION] Thanks for yet another update, appreciate the work! Just reporting that encryption is still broken on P4 (works on P1). Any idea if this is an issue currently in all of LineagePIE or just Opo/tuga? And any hopes for a fix?
[ONE Android Development] danieldmm:
Probably your encryption date from Oreo?
[ONE Android Development] tofu:
Nope, always clean flash (format+wipe everything). Tried also clean flash between P1--> P3.
[ONE Android Development] danieldmm:
By clean flash, you formated internal sdcard?
[ONE Android Development] taunusgta:
Have to downgrade to P3.... charging was always blinking, beeping and interrupting
[ONE Android Development] Darkcydes:
Everything works really well in P4, thanks for the update Daniel ! You rock!
[ONE Android Development] tofu:
I go to twrp and choose "format". Description says it wipes all data and removes encryption. After which I also wipe /system /data /internalstorage /cache just in case :cowboy:
[ONE Android Development] 1GTRBG:
Dirty flashed P4 over P3, stock kernel

-Hotspot tethering fixed

-Torch is fixed too

:D

Thank you, Daniel:)
[ONE Android Development] Oblias:
Well, once again I'm getting SU Database Corrupted message when I reboot, and I have to manually grant root access to my apps that need it, just like what happened with 03. So, looks like I'm going to have to downgrade Magisk, like last time.

I'll post back with the results. In any event, many thanks for the updated ROM, Daniel !!

---------- Post added at 11:31 AM ---------- Previous post was at 11:19 AM ----------

Just to confirm, flashing Magisk 17.3 did stop the 'SU database corrupted' message from being displayed on a reboot, and also the apps that require root access retain that access on every reboot. So, for me, on my system, the new Magisk 17.4xxxx still seems to be a problem.
[ONE Android Development] thra1982:
[MENTION=1427327]danieldmm[/MENTION] No OTA update? What's the correct procedure to dirty flash?
[ONE Android Development] hystrix65:
I installed again P4, clean install, and everything works fine now
[ONE Android Development] 1GTRBG:
Download the zip from the previous page

TWRP - install zip

Clean Dalvik and Cache

Done
[ONE Android Development] manlio62:
I am in the same condition as [MENTION=7705885]Oblias[/MENTION] in post #472

Magisk 17.4 don't work and I downgrade to 17.3

I have solved!

I was on magisk 17.3 but with the normal update channel: I have added a custom update-channel in MagiskManager settings (https://bit.ly/2N8UVlq). I have updated magisk manager and magisk version. Now i'm on magisk 17.4-ec472309.

Everythings work fine. :D
[ONE Android Development] Oblias:
[MENTION=5012481]manlio62[/MENTION]

I put in the address of "https://raw.githubusercontent.com/topjohnwu/magisk_files/master/canary_builds/" (without the quotes) in the custom update channel section, but when I refresh magisk manager, it says it's an 'Invalid Update Channel'.

Would you care to walk me through the process that you did, step by step, if you don't mind? Thanks!

---------- Post added at 10:14 AM ---------- Previous post was at 09:42 AM ----------

Here's what I ended up doing. I grabbed the manager and the beta version of Magisk from that link, and did a manual uninstall, then an install of the two programs that I downloaded.

Now Magisk is working the way it should, but I still don't have the 'Custom Update' channel entered into settings. So, if someone would care to guide me on that procedure, I would be grateful. :D
[ONE Android Development] manlio62:
[MENTION=7705885]Oblias[/MENTION]

The right address is

https://bit.ly/2N8UVlq

;)
[ONE Android Development] Oblias:
Well, that's just weird! I mean, after you explained that, I did enter it exactly as you posted it, and it now works! But the thing is, if you click on that link, it takes you right to "https://raw.githubusercontent.com/topjohnwu/magisk_files/master/canary_builds/" , which is why I entered that in the first place..

I don't get it, but there's a lot in life I just don't get... :confused:

Many thanks for clearing that up for me!!
[ONE Android Development] 19Gonzo82:
I've searched the whole thread without success. I simply can't install any substratum theme. I tried compiling, then restart the phone and activate via manager but there are no overlays to activate. What am I doing wrong, can someone tell me?
[ONE Android Development] Blackeyedangel:
Same problem since 3.0, otherwise fantastic rom!
[ONE Android Development] danieldmm:
The link you put is wrong, the shorter is fine, but that one links to:

https://raw.githubusercontent.com/topjohnwu/magisk_files/master/canary_builds/release.json

And not the one you putting in
[ONE Android Development] danieldmm:
Will have a look at that, think know what's going on, it was a change on LineageOS source
[ONE Android Development] Oblias:
I see. I was not entering the very last part of it that ended in .json . Thanks, once again!
[ONE Android Development] Unyilmod:
flashlight

after 24 hours of use 4.0, the flashlight stop working.
[ONE Android Development] Paulroberts:
do you have camera open?
[ONE Android Development] Unyilmod:
Yes, stop working after opening the camera. Do you have a solution?
[ONE Android Development] bollt.zain:
Open Camera and click one photo in dark room or area with auto flash enabled..
[ONE Android Development] seninnha:
First of all many thanks for update P4, but due to next reasons I am going back to P3

-P3 is much snappier. Apps open much faster. With some app I get a withe screen for a second or 2 and then app opens normal (after installed P3 for the first time, I was happy to have again my old OPO. Had tried different ROMS and none of them gave this speed back)

-Camera does not open

-When plugging my USB charger, phones keeps making sound.Light goes on and of. Meaning it charges and then it stops. this continue for a minute or so. Eventually it charges.(this issue is also occurring with P3)

It's a shame i need to go back, because video inside some app finally are working with P4
[ONE Android Development] taunusgta:
Same with me
[ONE Android Development] grinimark:
hello,

thank you for the fantastic ROM - P4 is working like charme in here. No more problems with camera, flashlight, torch or hotspot now. (even still using the Franco kernel r56)

There is still 1 problem left for me although - I don't know, if anyone else has that?

I can not set the mobile network manually. Rom chooses automatically any provider available. Problem if you live next to a border and your phone constantly catches up with the provider from the other country.

I already asked for this several time here in the forum but no one seems to have this problem.

Would be nice to get help or just the info, this can not be fixed at all or something similar. (it was working on the 0.7 version if I'm not wrong and after not any more)

thanks for your help

mark
[ONE Android Development] Unyilmod:
Problem solved. Thanks
[ONE Android Development] Oblias:
The new (just out today) Magisk Manager and Magisk rom from the canary custom channel work just fine on the 04 ROM. Just a heads up for those concerned.
[ONE Android Development] sas.mar:
[MENTION=1427327]danieldmm[/MENTION]

Hello! Cannot use flashlight on the clean-flashed P4.0, the Quick settings tile is grayed-out. Reboot doesn't help either.
[ONE Android Development] bollt.zain:
At 1st you have to FLASH P3 and then DIRTY FLASH P4 on it.
[ONE Android Development] sas.mar:
So I need to make a full wipe again and then proceed with flashing P3? I believe it won't work out if I flash P3 on top of P4 and then dirty flash P4 again... Is that true?
[ONE Android Development] bollt.zain:
Yes, clean flash and then FLASH P3 and reboot system after that reboot to recovery and DIRTY FLASH P4
[ONE Android Development] nandream:
Already solved the problem, new room installation and gaps, but app installed from the play store and not the titanium backup. Thanks
[ONE Android Development] Paulroberts:
close the camera from recents?
[ONE Android Development] sas.mar:
Funny but flashlight has recovered without anything done by me...
[ONE Android Development] Taqizadeh:
Fix flashlight:

Go to Settings/Buttons/Power button/

Enable long press for flashlight, turn screen off, long press power button, wait about 5 sec, then long press again for about 5sec, reboot phone and flashlight should be fine, you can then disable the long press if you want, tile will work
[ONE Android Development] butchohare:
Hi, I encountered soft reboot and I was not sure if that was a bug. Would you like to check it?
[ONE Android Development] ced97418:
Hello, for me the flashlight worked when i activated the gesture whith screen off, the ui rebooted one or two times and then it worked.
[ONE Android Development] grinimark:
I have a question about the navigation bar. I can activate and I find the possibility to personalize buttons.

By doing so, I need to know the keycodes for the different functions.

Where can I find this keycodes or a collection of them. I tried with Google search but the result was not really successful.

Thanks

Mark
[ONE Android Development] bollt.zain:
My OPO is slowing down, I'm using TUGA P4 flashed over TUGA P3
[ONE Android Development] trepapiedra:
WiFi really slow,anybody with that issue?
[ONE Android Development] masterporto99:
Turn off bluetooth and reboot. Works?
[ONE Android Development] trepapiedra:
Thats crazy haha txs , worked.
[ONE Android Development] loperaster09:
Anyone else not receiving log-in notifications for public Wi-Fi?

Of course, sometimes I can manually type in the IP in my browser to go to the login page, but that is quite annoying.

Did I miss a setting, or is this a bug?
[ONE Android Development] MaxM(atXDA):
Wonderful ROM so far. Clean flashed R4.

Bluetooth seems to work far more stable with my car and several BT-devices (watch, bike-computer, bike-light, etc.) than previous release.. WiFi is good as well.

- One issue regarding ANT+ connectivity: Is ANT+ not working because of this ROM or is it an PIE related issue? Have installed Ant+ HAL Service, Radio Service and USB Service. While an external ANT+-USB dongle via OTG is working fine, the built in ANT+ adapter of the phone is not recognized (checked with "ANT Tester" App and "ANT+ Plugin Sampler" from Playstore and ANT+ heartrate strap). Any ideas?

- Swipe to right from home screen for Google App does not work for me when using Pixel Launcher although it works with Quickstep launcher.

- Is it ok to flash FrancoKernel R56 and does it improve battery life compared to original kernel? Any recommendations
[ONE Android Development] seninnha:
That's the reason I did get back to P3.

Lucky for me I made a backup before updating.
[ONE Android Development] timbuctoo:
ANT+ on OPO?

Did this phone ever have a built-in ANT+ adapter in hardware? How did OnePlus not publish this? If this is true, being a cyclist, this is great news to me!
[ONE Android Development] MaxM(atXDA):
Indeed it has ANT+ built in. Don't know why OnePlus didn't advertise this, maybe due to Garmin licensing stuff?

Had the internal adapter working with Lineage Oreo.

https://xdaforums.com/showthread.php?t=3670670
[ONE Android Development] timbuctoo:
+1 for ANT+

@danieldmm, is there any scope for bringing this onboard the ROM? Especially since @MaxM(atXDA) has confirmed it working on LOS15.0?
[ONE Android Development] bupkis:
I have used ANT+ on my OPO on the bike but found the QuadLock mount loosened up over time due to the weight of the phone vs dedicated head units like the Wahoo Elemnt. Also the battery life went very fast. Google Play has the ANT+ apps to enable ANT+ on the OPO.

https://www.thisisant.com/consumer/ant-101/ant-in-phones/

This is the bike app I used with the OPO- excellent!

>> IpBike ANT+™ Bike Computer
[ONE Android Development] MaxM(atXDA):
ANT on PIE?

Did you use a PIE rom for that or an older release?
[ONE Android Development] bupkis:
Not PIE- I did this last year before deciding there were too many negatives vs just getting an Elemnt. Have not tried it with PIE.
[ONE Android Development] portfolio:
for me everything runs smooth and fine with p4, also battery life is excellent, I use Argon kernel either v7. 7 or v8.1 with governors smartmax&maple activated
[ONE Android Development] Oblias:
Once again, the Magisk Manager and ROM beta just released today are working fine with TugaPower 04. Install away, folks.
[ONE Android Development] philash_flash:
Great ROM, extremely stable for a Pie release, but why does the display have a yellow tint to it, even when LiveDisplay is off? Whites are not white.

Could anybody tell me why this is happening?
[ONE Android Development] MaxM(atXDA):
Color control app

Had a look at the color control app that comes with the ROM? Just an idea...
[ONE Android Development] philash_flash:
I did, but didn't really make much of a difference.
[ONE Android Development] sas.mar:
The ROM is amazing, I must say. Stable and smooth. I've managed to reduce power consumption overnight to just a couple percent. I did install a Magisk module to keep Google Play services optimized, though. Never seen such a little drain while using the official LOS 15.1 or Sultan's builds. My question is: does anyone else find photos' quality inferior in comparison to Sultan's builds? And in addition: is it possible to eliminate the torch bug and viewfinder freeze after an HDR photo taken in Bacon camera?
[ONE Android Development] timbuctoo:
OnePlus One not listed on the official ANT+ site

Thanks for the pointers. The official ANT site doesn't list OPO as a supported phone though. Forget this particular model, nothing from OnePlus is listed.
[ONE Android Development] Sreenath Paramasivam:
Any known bugs?
[ONE Android Development] bupkis:
Yes OPO not on the list but it did work at the time. :good:
[ONE Android Development] timbuctoo:
ANT+ supported in h/w, but may need to be enabled in the kernel

I went about digging and came to know that our OPO indeed supports ANT+ natively in hardware using the Qualcomm WCN3680 chip. Refer the teardown that confirms the chip.

Chinese teardown of the OPO

English translation of the above

As the services and libraries can be installed from the Play Store, my assumption is that we only need to enable it in the kernel. If the ROM's stock kernel itself can have this enabled, nothing like it! Else, we can compile our own kernel with the required support. I have some early Linux kernel development experience (2.x versions. Yes, I'm very old, with a greyed out beard and have cataract in both eyes!). If one or more of you can help me with testing, I could whip up something. We could branch off Franco's kernel (of course, with due credit), for example. Anyone up for helping with testing? You could always flash back the original kernel you were using.

Also, I requested Franco if he can enable support in his upcoming kernel. Let's keep our fingers crossed and try to fix by ourselves in the interim.
[ONE Android Development] LyDjane:
Hello,

rom is p4 with franco kernel 56 and magisk 17.4.

tethering is not working. you can turn it on and 2 seconds later it turns off.

solution?
[ONE Android Development] tofu:
Search is your friend.
[ONE Android Development] cryogeno:
Is resolved in stock kernel, not in franco kernel...
[ONE Android Development] LyDjane:
And what i can do now? Dirty install p4 again?
[ONE Android Development] cryogeno:
Sure! Or you can extract kernel from ROM zip ... but dirty flash is simpler.
[ONE Android Development] grinimark:
option 1. Dirty install P4 and you will have the stock Kernel

option 2. Change to another Kernel - Argon 7.7 or 8.1 are reported here in earlier posts to be working. pls search for more info in Argon kernel thread.

( same procedur as you flashed Franco kernel)

mark
[ONE Android Development] R_alo16:
Hi all,

This is great ROM, work smoothly, I'm very appreciated it..

But still, I have hotspot not work or playing video not work..

Is there any method for both, hotspot tethering working and also can play video on Instagram or another application?

Because if we us Franco kernel hotspot can't work, if we us stock kernel video can't play..
[ONE Android Development] LyDjane:
i dirty flash the rom and its working now.
[ONE Android Development] srikaran:
I had been using this ROM as daily driver on my beloved One for over a month now and loved the smoothness of the ROM and it's stability. There was one issue bothering me though, all of a sudden videos in apps like whatsapp and other services don't play when played from the app. When navigating to that folder and it plays fine and also from gallery it works. A restart enables it again until it stops and the same thing repeated resolves it further.

That's the first part of the story. Now comes the second and scary part. This morning I had the same issue and so restarted the phone and to my surprise, the phone booted into TWRP rather than into the system. I thought that I probably pressed the wrong keys and so went on to reboot and again comes back to twrp. That left me in a state of shock. I immediately made a twrp backup, wiped everything and then installed a fresh copy of P4 version and then tried reboot and came back to TWRP. I then tried loading up fastboot (Reboot to Bootloader) and even that came back to TWRP. A search brought me to a XDA page where someone had similar issue way back in 2017 where they would boot back into TWRP always and after trying everything out, had luck with installing Lineage. I tried the same (Albeit with a different version that theirs as their reference is more than an year old and couldn't find that particular version), so went with the latest nightly. The phone did boot up just fine this time and everything seems to be working just fine. To check what might have gone wrong, I went back to TWRP, made a backup of the lineage installation and wiped everything again. Restored from the previous TWRP Backup for Tuga (P4). Just to be safe, after the restore was successful, I went ahead and installed P4 again and rebooted. This time the phone did boot up just fine with all the data intact as well.

Here is what is very bothering now. What went wrong and how did installing Lineage get things back where I can now use Tuga Pie again?

Everytime I am going to restart going forward would make me pretty worried that it might or might not come back up.

Any explanations or insights would be greatly helpful and am hoping this would also help anyone that faces the same issue.
[ONE Android Development] JMailuhu:
[MENTION=1427327]danieldmm[/MENTION] Since you've posted the P4 version into this forum, i'd suggest you change the changelog info, download links on the main page and change the thread header to 4.0. If you maintain a rom it'll be nice if any information relating rom is up to date :)
[ONE Android Development] MaxM(atXDA):
P5 is here

In tugapower's telegram channel, there's P5 available, already ;)
[ONE Android Development] Blackeyedangel:
Upgraded to Tugapower 5, and my substratum theme is working again! Thank you so mich [MENTION=1427327]danieldmm[/MENTION] ?
[ONE Android Development] Blackeyedangel:
Upgraded to Tugapower 5, and my substratum theme is working again! Thank you so much [MENTION=1427327]danieldmm[/MENTION] ?
[ONE Android Development] hystrix65:
Can you share a link of P5 please? Thanks
[ONE Android Development] MaxM(atXDA):
See OP, replace P1 by P5 in the link given there