yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  Guides, News, & Discussion] kapil_dheer:
Hi Friends,

For every incoming update, full ROM gets downloaded & after flashing via TWRP, TWRP recovery gets replaced by stock recovery, of course we loose root.

Only way to get back TWRP is via Fastboot commands, flashing TWRP & Finally Magisk. This might not be a big deal to many but certainly much to those having limited access to PC.

After many hits & misses, I was able to update my 1+5t without needing to reflash TWRP & maintaining ROOT.

Word of Caution:-

Before giving it a go, please take a TWRP backup of your current setup & keep it safe......just in case anything goes wrong.

I am not responsible for any bootloops / bricked devices. Proceed at your own risk.

The procedure has been tested by me since last 3 updates & did its intended work well.

Prerequisites:-

1+5t with unlocked bootloader, TWRP already installed & rooted by MAGISK.

You can achieve plenty of & much detailed guides on how to unlock the BL, flash TWRP via Fastboot & root by Magisk.

Tools Used-

A file manager capable of handling zip files.......my personal choice X-plore File Manager, free version from playstore.

The fun part begins:-

1. Download the full ROM.zip from whatever source of the OOS ROM you intend to install.

2. Make a copy of the ROM to work upon.

3. Open the zip file in the file explorer.

4. Select boot.img & copy it to some other folder. I selected Magisk Folder.

5. Now open Magisk Manager & Click Install.

6. Press Install again.

7. Out of available options, press Batch Boot Image File.

8. File explorer will open. Navigate to place where you copied boot.img from zip file (magisk folder in my case).

9. The phone will start downloading Magisk zip file.

10. After the download completes, it will start patching your boot.img.

11. Do not reboot & get back to MagiskManager folder.

12. A new file in the name of patched_boot.img gets created.

13. Delete original boot.img file.

14. Rename patched_boot.img to boot.img.

15. Select the boot.img & copy it back to the zip file from where original boot.img was extracted.

16. System will ask for overwrite permissions. Grant it.

17. The file manager will repack the files to form a final flashable zip file.

Your modded Rom.zip is ready to flash via TWRP recovery.

This flash should update your system while keeping your TWRP & Root installation intact.

Please give your feedback for the results achieved.

Any queries are welcome.
[OnePlus 5T  Guides, News, & Discussion] kapil_dheer:
Reserved
[OnePlus 5T  Guides, News, & Discussion] Lossyx:
Why not just flash magisk directly after flashing the ROM? In that way recovery stays and you have root.
[OnePlus 5T  Guides, News, & Discussion] kapil_dheer:
OOS Rom needs a boot before magisk.

If you flash magisk directly after rom flash, it bootloops.
[OnePlus 5T  Guides, News, & Discussion] FMXP:
No? You have always been able to flash Magisk directly after an OOS update. You are installing the full zip, not the incremental correct? If so, flash the full zip from TWRP, then flash Magisk right after, then clear cache/Dalvik, then reboot. Everything works after that.
[OnePlus 5T  Guides, News, & Discussion] kapil_dheer:
You sure? I tried it plenty of times but it bootlooped every time.

I'll try this anyhow in next update again.
[OnePlus 5T  Guides, News, & Discussion] paour:
I just installed 5.1.2 this morning and flashing oos and Magisk together worked fine, and I still have TWRP.
[OnePlus 5T  Guides, News, & Discussion] kubapl66:
Yep, same here, I've also flashed TWRP img right after flashing the ROM, just to be sure it's still there, then Magisk zip and custom kernel, everything works fine, no bootloop here.
[OnePlus 5T  Guides, News, & Discussion] Xenon_R:
Thank you so much after trying everything and still getting bootloop your method worked.. ?? thanks for such easy solution
[OnePlus 5T  Guides, News, & Discussion] Baldesarra:
You can flash magisk right after the full ROM. BUT!!!

For an update without bootloop or without loosing TWRP you have to do this:

Go to TWRP

Flash Magisk Uninstaller

Delete Dalvik and Cache

Flash full ROM (Update)

Flash Magisk

Delete Dalvik and Cache

Reboot

The key is to flash magisk Uninstaller before updating. Then you won't get a Bootloop
[OnePlus 5T  Guides, News, & Discussion] Lossyx:
But doesn't flashing full ROM uninstall magisk? I've updated 9 times without flashing Magisk uninstaller, works fine for me.
[OnePlus 5T  Guides, News, & Discussion] BigBrosMo:
You would think so but I've also had bootloop issues which required flashing the uninstaller. So now I just make it part of my routine.
[OnePlus 5T  Guides, News, & Discussion] perama:
I used the procedure of this threat to update to OOS 5.1.2. Everything is OK except the Smart Lock menu. I lost it completely! All Smart Lock options are gone! Any ideas?
[OnePlus 5T  Guides, News, & Discussion] rquinn19:
Known bug, unrelated to anything discussed in this thread. Remove Smart Lock from Trust Agents, reboot and re-enable. Happens over and over though. Annoying!
[OnePlus 5T  Guides, News, & Discussion] perama:
Thank you very much my friend! :)
[OnePlus 5T  Guides, News, & Discussion] jmtjr278:
Are you also wiping caches when you were getting bootloops? Wiping caches does pretty much nothing. I have never uninstalled magisk or wiped anything. Just make sure to remove substratum theme. I have forgotten that and gotten bootloops.
[OnePlus 5T  Guides, News, & Discussion] BigBrosMo:
Wiped caches in between ya. I don't use substratum but I do use xposed though Magisk. I think it has to do with that but am not certain. At any rate, I just use the uninstaller (it's two extra clicks) and don't have any more problems. This was back in January that I had these flash/bootloop problems. Maybe it's not an issue anymore but I just have my routine and it works so... :)
[OnePlus 5T  Guides, News, & Discussion] Rajeev:
My steps are when i was in 5.1.1 OOS ( I modified some system parts so downloaded full 5.1.2 OOS firmware)

Removed Pattern/Password (For Safety)

Enter TWRP

Wipe Cache

Wipe Dalvik Cache

Wipe System

Flash 5.1 .2

Install TWRP.img

Flash Magisk

Flash No Verity zip

Reboot

No PC needed. Yea its booted and all apps are there. No data lose..
[OnePlus 5T  Guides, News, & Discussion] lyrebird:
Flashing uninstaller was not successful when I tried to install 5.1.1 and 5.1.2.
[OnePlus 5T  Guides, News, & Discussion] donverse:
I use the simple method of downloading the full Update ZIP to my phone, rebooting to TWRP, clearing caches, flashing the Update ZIP, flashing Magisk, clearing caches and reboot. That way always worked for me.

No need for such a complicated process based on my experience.
[OnePlus 5T  Guides, News, & Discussion] kapil_dheer:
This procedure always worked for me on my 1+1 & Samsung note 2 for all custom roms but never for my 5t on oos.
[OnePlus 5T  Guides, News, & Discussion] Rebel242:
That's the way i always do it. Be careful, if you use Substratum, do not forget to remove all your overlays before or it's bootloop guaranteed! :angel:
[OnePlus 5T  Guides, News, & Discussion] chrisross:
That's what worked for me going to 5.1.1. I've just tried the Baldesarra method to prep 5.1.2 and, like Lyrebird, I get the Magisk uninstaller failed (Error: 1)

Edit: I've now done the update successfully, using the method donverse described. Although I flashed Magisk 16.4 right after the update, when I rebooted it said it wasn't installed. Went back to TWRP and flashed again. This time successfully. All is well, I thought. But then I did a root check and it says it's not rooted! So I went back to Magisk and its says it's not installed. Back to TWRP, flash Magisk, reboot, still no root. Check Magisk, says it's not installed, then downloads and flashes from the app. Still no root/no Magisk. I didn't have these problems when I first installed 16.0. OK now 16.4 seems installed and stable. Titanium seems to think it's rooted, but Root Checker says not. Back to Magisk - 'not installed'! So in desperation I install 16.0 and now the root checkers all say it's rooted, and Titanium works, my banking app works.

I remember I had problems when I installed Magisk 16.3 and had to revert to 16.0.
[OnePlus 5T  Guides, News, & Discussion] perama:
I have used this procedure with success to all the updates. Is it safe to use it to update to OOS 9.0, Android Pie, too?
[OnePlus 5T  Guides, News, & Discussion] login22:
[MENTION=4243329]kapil_dheer[/MENTION] : First up all thank you for the guide. There are multiple methods using which may retain root. But your method works 100%.

+1 for the above question. Will this method work for upgrading from 5.1.7 to OOS 9.0 (Official).
[OnePlus 5T  Guides, News, & Discussion] kapil_dheer:
Sorry brother. I've sold my device.

You may take a twrp backup of current install & try.

Logically, it should work.
[OnePlus 5T  Guides, News, & Discussion] login22:
Ok. As of now ok with current settings. Will try later.

It would be sister... ?
[OnePlus 5T  Guides, News, & Discussion] blackknightavalon:
Follow the instructions here
[OnePlus 5T  Guides, News, & Discussion] adanoss:
This is the case only when you perform a clean flash of OOS. And when you do so recovery is replaced with stock on initial boot of OS.

If you update via dirty flash, you simply need to install magisk right after updated ROM zip, wipe dalvic and cashe and you r good to go.

I've updated my OP5T through open betas many times retaining TWRP, root and ROM setup.
[OnePlus 5T  Guides, News, & Discussion] perama:
I updated to Android Pie using this procedure with absolute success! Thanks kapil_dheer! No need to unroot before and root remains after update. Everything works without problems.
[OnePlus 5T  Guides, News, & Discussion] blas4me:
Didn't work for me.
[OnePlus 5T  Guides, News, & Discussion] kingmercian:
Just reboot recovery from TWRP after flashing full ROM with Magisk or OTA with Magisk.

Works with clean flash or dirty flash without ever wiping cache/dalvik.
[OnePlus 5T  Guides, News, & Discussion] Glaux:
This may come off as a stupid question, but how come there aren't stock roms repacked this way, already available for download?
[OnePlus 5T  Guides, News, & Discussion] kapil_dheer:
Good idea to have own thread :)
[OnePlus 5T  Guides, News, & Discussion] Jxx7:
Hi, I tried this method but I get an error at the last step (flash via TWRP recovery):

https://ibb.co/VNS5DSZ
[OnePlus 5T  Guides, News, & Discussion] kapil_dheer:
Is this full zip or ota.

This has to be done with full zip.
[OnePlus 5T  Guides, News, & Discussion] Jxx7:
Yes this is full zip. I downloaded the signed flashable zip 5.1.7 here :

https://xdaforums.com/oneplus-5t/how-to/oneplus-5t-mirrors-official-oxygen-os-t3708099
[OnePlus 5T  Guides, News, & Discussion] newway_lw:
I also have the same error trying to update my op5t stock rom:

I rooted and flashed recovery with twrp-3.2.1-x_blu_spark_v8.78_treble-op5_op5t.img 6 months ago on my op5t running android 8.1

A few weeks later I recevied OTA notification, try to click to install, it recognized that my device is rooted and prompted to download the full rom zip file. that's fine, but when it rebooted into TWRP recovery and try to install the zip, I received compatibility.zip error. Search XDA for a while and people suggest to delete the compatibility.zip file in the rom.zip file. done that and reinstall, and see this error 7.

The same error also happened when I download the full rom from oneplus website (OnePlus5TOxygen_43_OTA_046_all_1901182151_e67b153d1f3d4d91.zip)

I see there is a newer version of twrp:

twrp-3.2.3-x_blu_spark_v9.91_treble-op5_op5t.img

but if I flash this img to recovery my phone will be unable to boot into recovery (black screen + white slow flashing LED)

Is there someone have managed to "fix" this problem? I run out of combinations to try.
[OnePlus 5T  Guides, News, & Discussion] 93zx7:
1. What version of the stock rom are you currently running?

2. What version of the stock rom are you trying to update to?
[OnePlus 5T  Guides, News, & Discussion] newway_lw:
I am on OOS 5.1.2

I tried the latest 9.0.3 from oneplus site. As well as 5.1.4 prompted by my phone
[OnePlus 5T  Guides, News, & Discussion] 93zx7:
Does it boot into fastboot mode?
[OnePlus 5T  Guides, News, & Discussion] newway_lw:
You mean when my oneplus reboots after downloading the full rom?

It boot into recovery, and I go ahead to intall zip, then I have the 'compatibility.zip' error.
[OnePlus 5T  Guides, News, & Discussion] 93zx7:
Have you tried using the Codeworkx TWRP img?
[OnePlus 5T  Guides, News, & Discussion] pragmatick:
I don't know if all these steps are necessary but it worked fine for me.
[P3300, MDA Compact III ROM Development] GuestK00119:
Hi everyone,

i'm trying to find a way to use my device as a wifi (wlan) card in any way. i have a very old notebook and yes, i already have a extra wifi card. but i think, my pda would do a better job and it would be one extra device less to 'carry'. ;)

is there any way to use 'internet sharing' with wifi (- not with gprs!)? don't get me wrong on this. i've searched the forums and there are many answers to this question describing how to use the device as a wifi router or to connect via wifi... this is not what i'm asking for! i have a wifi router at home, i've connected my device successfully via wifi, and now i want to share this connection via usb.

any suggestions?
[P3300, MDA Compact III ROM Development] fubofo:
I clearly remember there being a way of doing it with GPS for your PC, so I dont see why it shouldnt be possible.
[P3300, MDA Compact III ROM Development] sandsm:
Any Updates?

Any Updates on this ?

This would be a gr8 help if possible.

Any suggestions mods ?

Thanks in advance.
[Amazfit] nimnab:
As you may know, Amazfit Stratos Smartwatch, and probably other similar sports watches, do not show Arabic/Persian (Farsi) and Hebrew letters out of the box, and you can't read the notifications in those languages. I was wondering if it's possible to get the support on a not-custom Rom, so still you have the latest firmware with the official updates. Then I saw this cool post about Hebrew support and realized all you need is copying 3 fonts to "/system/fonts" on the watch.

I put those three fonts for Arabic/Persian in the attachment. Just run these commands:

adb root
adb shell mount -o rw,remount,rw /system
adb push DroidSansFallback.ttf /system/fonts
adb push NotoSansArabic-Bold.ttf /system/fonts
adb push NotoSansArabic-Regular.ttf /system/fonts
adb reboot

and of course, you need to have an unlocked bootloader to be able to do that, this may cause some issues with the WARRANTY.

For me, it works perfectly on Stratos US/International Firmware (version 2.3.2.8). Still, letters are reversed on the lock screen when it goes in that low energy mode. As far as I know, there is no way around that:(

If you break your watch while doing this, I don't know how to fix it, so it is on your own responsibility.

And with many thanks to [MENTION=576939]1immortal[/MENTION] for the original post and other XDA contributors.
[Amazfit] 1immortal:
thanks :)

at some point i had my script with Arabic support, and all [MENTION=5062938]Saratoga79[/MENTION] installers has the option to add Arabic support
[Amazfit] Sadegh:
Does this farsi font work on pace?

Thanks
[Amazfit] nimnab:
I haven't try that but it should work since they have very similar operating systems.
[Amazfit] pippo3k:
What's the possibility to get the same Arabic font on Amazfit Bip?
[Amazfit] DRAGONMM2010:
thanks it works with me with pace watch arabic works prefect now thanks
[Amazfit] Sadegh:
Thanks it worked for me too.

Did you find a way for inverse fonts in lockscreen?
[Amazfit] faris alriyadh:
السلام عليكم

نحتاج الى تعريب الساعة
[Amazfit] alximiktik:
Very thanks.I can read and Armenian
[Amazfit] mostafaojaqi:
persian/arabic font

hi

you said " Just run these commands".

where do I run these codes?

beside that, I couldn't unlock the watch.
[Amazfit] 1immortal:
you need to use Amazmod for that for now ...
[Amazfit] alximiktik:
Codes must be entered in adb. But first you need to unlock the bootloader and install a temporary root. In more detail, you can clarify in the subject of your smart watch on xda
[Amazfit] alsaqri:
Pz make video

Please make video about how we can read motificaton Arabic on Amazfit pace
[Amazfit] ALWA7SH6:
how i can put this arabic to my bip?

give me link plz
[Amazfit] Sadegh:
INSTALL the latest custom rom by saragota

It supports farsi
[Amazfit] ALWA7SH6:
can u give me the link?

i have amazfit bip btw
[Amazfit] Sadegh:
Its for pace.

I dont know about persian for bip.
[Amazfit] kmohsenk:
Amazfit bip

Hi.

Thanks for your solution.

Do you have any solution for amazfit bip to support Persian?
[Amazfit] milad_att:
hi dears,

i have unlocked version of amazfit pace stock OS 2.8.5 . I tried to use the codes, but i forced with some errors.should i write the codes in fastboot mode ? can anyone help me with extended codes ? i am a rookie . big thanks
[Amazfit] ramlfc:
Hi Sadegh,

how can I use persian notification on gtr? Is it easy to use these custom roms?
[Amazfit] Sadegh:
you have to install modified zepp on your phone and in zepp change the watch language to Arabic
[Amazfit] masooud:
I have the same problem with Amazfit GTR. Persian or Arabic letters cannot be displayed in the notification and it only shows this sign ???????? >>> <<

Please someone help me how I can solve this problem!
[LG V20 Questions & Answers] CaseyS:
I've been looking to root my phone, but it has the January 2018 security patch and I read you can't root with the latest security patch unless you downgrade. So my question is, is there really no way to root without downgrading because I would prefer not to downgrade.
[LG V20 Questions & Answers] cnjax:
You can't downgrade a 910 No kdz files available. Do a bit of searching there's a 910 root thread floating around
[LG V20 Questions & Answers] CaseyS:
Cheers man, I've been looking around, but all I can find is the dirtysanta way and from what I read I can't do it from my understanding since I have the January security patch.
[LG V20 Questions & Answers] sinnedone:
https://xdaforums.com/v20/how-to/root-h910-v10m-t3664500
[LG V20 Questions & Answers] CaseyS:
Thanks man. I came across this earlier and went for it. Successfully downgraded. Just yet to root due to my computer breaking at the wrong moment haha
[P8lite Q&A, Help & Troubleshooting] kacperkoz:
Hi

after using xyz rom for some time i founded this thread :

https://xdaforums.com/p8lite/p8-lit...k-rom-pra-lx1c432b197-flashable-twrp-t3781137

and i decided to try it and I did exactly what is in this post and after a successful installation :

- phone stuck on the huawei logo

- when im trying to bring it to life with dload, the red led light keep turning on and down

- when im connecting it to my pc (it don't recognize it) it shows for a moment red circle with lightning inside (what means that my battery is broke but probably its fake cause i left this phone to charging for 2 nights) and this red led keep lighting

- when it is connected to pc and i try to get i recovery happends the same
[P8lite Q&A, Help & Troubleshooting] :
You have already created a thread for this here:

https://xdaforums.com/p8lite/help/brick-brick-question-t3795158/post76617444#post76617444

I have also edited your thread title, as it was obscene. Remember, there are users of all ages here. Mind your manners!

Do not create duplicate threads or posts. Try reading the rules you agree to follow by being a member here:

https://xdaforums.com/announcement.php?f=263

Thread closed.
[LG G6 Questions and Answers] ThE J0K3r:
Hello

After i updated to oreo i did a factory reset then i installed all my apps .I wanted to use the conserve memory in smart doctor (smart doctor->tap memory->tap three dots->conserve memory).This saved a lot of ram and battery.What can i do?
[LG G6 Questions and Answers] DJPRMF:
Oreo does already a preaty good job managing the memory. No need for that setting (even in Nougat there is no real reason).

You can use greenify for that, or even Servicely - https://play.google.com/store/apps/details?id=com.franco.servicely
[LG G6 Questions and Answers] ThE J0K3r:
Idk why but It got significantly slower since the update.The big problem is that is slower in the ui.Before the update hearthstone was lagging a lot but now everything with this phone is lagging.I honestly don't know what to do.Maybe the phone is faulty?
[LG G6 Questions and Answers] DJPRMF:
Check you backgroud apps... Maybe is one there that is using more resources. ;)
[LG G6 Questions and Answers] romcio47:
Interesting... as far as I know on Nougat, disabling some crucial system apps (or even using adb to uninstall them without root) was causing this option to disappear. Yesterday I started disabling some bloatware on my Oreo H870 and I was like "hey, does this option already disappeared?" and yes... it was gone... so I proceed to disable more stuff

But you say that it's gone anyway... As DJPRMF mentioned - Oreo does really good job with memory management. You can also disable background activity for some apps so it's better than on Nougat in my opinion.
[LG G6 Questions and Answers] ThE J0K3r:
Idk but i think that is something wrong with my unit.I mean after the update and factory reset i started to witness freezing and stuttering and not in games because i even deleted them (hearthstone is just so laggy on my phone idk why) my phone froze in the home screen and in youtube. When i checked to see if there is a misbehaving app in the battery usage setting there was nothing everything was normal. I honestly don't know what to do.I can't send it on warranty right now because i need the phone. Any advice?
[LG G6 Questions and Answers] romcio47:
It's really hard to tell what's the real cause. I also have problems on Oreo but they're not that annoying (practically only related to battery life but NOT standby time which is perfect now). About the stuttering - I also can't say anything, I have absolutely no games installed on my phone.

Try enabling Developer Options (tapping build number 7 times on About Phone) and there is an option to see running services / active services (idk how it's named in English) which is old-style Android task "manager" where you can see RAM usage for currently running and cached-in-memory apps. Maybe you'll find something there?
[LG G6 Questions and Answers] ThE J0K3r:
I looked in that setting but all was normal.I just saw the apps like google and twitter,facebook and mostly things i know i use. The thing is that when i was scrolling to see the list of apps there the scrolling motion was just so laggy. I forgot to mention the battery life that dropped from 5-6 hours sot to barely 4 hours and it's not that i have stopped using it. Idk why this phone is behaving like this.I don't even have it for a full year(just 7 months).I honestly don't know what to do.I have a friend who owns a honor 7 lite and it runs hearthstone perfectly my g6 just lags in it.
[OnePlus 5T  Questions & Answers] saucissemanger:
Hi, i'm looking for the best kernel for battery/performance ratio.

Already used stock but i wonder if there is something better.
[OnePlus 5T  Questions & Answers] leducloi:
I would say the best one is blue spark kernel
[OnePlus 5T  Questions & Answers] vk_singh:
use blue_spark kernel good for performance and batrery.

using it since first beta out.
[OnePlus 5T  Questions & Answers] saucissemanger:
Will do , thanks :D
[OnePlus 5T  Questions & Answers] Wawax:
Hi one question there are some settings to applied or just flash and profit ?
[OnePlus 5T  Questions & Answers] LasseHoej:
ElementalX is my best choice, so far - have been using it for a few days. To me it seems as fast as blu_spark, and it has the sound settings too (which I need for playing loud enough on the fitness center's music equipment - where I work). Battery life seems to be great, but I cannot report on that until i've used it more.
[OnePlus 5T  Questions & Answers] jmtjr278:
Again?!? There is no"best" kernel. What works good for me may not work as well for you. There are variables. Signal, apps installed, usage patterns. Try them all and find the "best for you" kernel.