yashsingh1/xdaforums huggingface dataset:
[Magisk] manjaroid:
This XDA thread was revisited today and it reminded me to take a stab at my Pixel's hosts file. With little effort I'm now browsing web server hosts on a Windows laptop from Android 12. All I did was edit its hosts file same way I've always done. Obviously I didn't have have a good grasp of the Magisk overlay and how it symlinks Android's native hosts file.

/system in Android 10+ may be off limits to many legacy operations but not the hosts file as long as Magisk's systemless hosts module is enabled. For su access it's just a matter of granting it to a root capable file manager with a text editor, such as MiXplorer or Solid Explorer.

Here's an example of what's needed for Android 12 browsers to connect to Apache virtualhosts on Windows:

Windows 10 laptop (192.168.1.234) - c:\Windows\System32\drivers\etc\hosts

127.0.0.1 site1.local

127.0.0.1 site2.local

Android 12 Pixel - /system/etc/hosts

192.168.1.234 site1.local

192.168.1.234 site2.local

Hope this is pertinent to what you're trying. Sorry for making it sound impossible earlier.
[Magisk] hstroph:
I'd very much like to know what "little effort" it took, please.

Magisk has the systemless module enabled, both MIXplorer and Solid Explorer have root privileges, but neither can copy my downloaded hosts file to /system/etc/hosts ... no success using the MIXplorer text editor either as per your suggestion
[Magisk] manjaroid:
I edited the hosts file directly by tapping it in MiXplorer and picking an editor. Then I just added a few lines, saved, and that was it. If you have lots of tedious entries try copy/pasting your text instead of trying to replace the file.

I know it doesn't quite make sense since your file managers have root. But overwriting a file on read-only /system is something completely different than opening and editing the hosts file like an ad blocker would do, which is only possible because of the systemless hosts module.
[Magisk] hstroph:
Which hosts file are you successfully editing, please? Android 12 absolute pathname, if you would be so kind.
[Magisk] manjaroid:
Edit /system/etc/hosts just as you would have done before Android 10, which didn't require the systemless hosts module.

I don't understand most of how systemless root works. But as far as I know, Magisk's systemless hosts module 'hijacks' (for lack of better discription) the hosts file from the system and makes it systemless, similar to a system app converting to a user app.
[Magisk] hstroph:
I have attempted that many times:

$ adb shell

oriole:/ $ su

Permission denied

13|oriole:/ $

This was in anticipation of a "mount -o rw,remount /system" command in Android 8.2 on a Nexus 6P phone. It no longer works on Android 12 on a Pixel 6. Even a successful su in Termux fails to edit the /system/etc/hosts, or to make either / or /system rw.

Are you actually using Android 12, or are you reciting from memory? Your screen shots are appreciated.
[Magisk] manjaroid:
My Pixel runs Android 12 build SPA2A.220405.004 and Magisk 24.3. Screen shots won't show anything useful.

The su command in adb shell or Termux aren't needed even if mounting /system with write permission was possible. You're chasing your tail going about it this way.

A root file manager used as described is all that's needed to edit the hosts file. If you're being denied write access there must be something wrong with Magisk, systemless hosts, interference from other Magisk modules or something else.

To trouble shoot Magisk,

- try disabling systemless hosts in Magisk, reboot, re-enable it again & reboot again

- if using Magisk Canary try the more stable 24.3

A simple way to test systemless hosts is to install Adaway, choose the root option and grant su access. If the module is working Adaway will build a large hosts file from preset lists.

- a storage full error on the first run isn't unusual, but it should write to the hosts file next run

- if there's constant errors something isn't right, probably with Magisk or systemless hosts

- if it does write to the hosts file you should be able to edit it manually

- disable all block lists before uninstalling Adaway to empty the hosts file
[Magisk] hstroph:
My Pixel 6 runs Android 12 build SPA2A.220305.013.A3 with Magisk 24.3

Before Adaway (from adb shell):

oriole:/ $ wc -l /system/etc/hosts

2 /system/etc/hosts

After Adaway:

oriole:/ $ wc -l /system/etc/hosts

110315 /system/etc/hosts

I can add a LAN line before all the 127.0.0.1 entries using the rooted MIXplorer text editor, but the file still won't save.

There were no previous block lists of any kind. I have simply been trying to add a couple dozen LAN entries on this new phone.

I think I've followed instructions as carefully as possible, but still no luck.
[Magisk] manjaroid:
Systemless hosts appears to be working if there were no errors and 110315 entries were written to hosts.

In MiXplorer's Settings/More Settings, is the first item for Allow Root checked? I don't remember if the default is checked or not but it needs to be checked. The equivalent setting in Solid Explorer is off by default.

My two screenshots show before and after enabling/disabling Adaway's block lists. The second image shows Adaway's leftovers along with my own lines added manually and the file is saved (save button being greyed out). If you're unable to get the same results I'm stumped and need to think about what's going wrong.
[Magisk] hstroph:
It is checked in MIXplorer.

I'm unable to locate an equivalent setting in Solid Explorer (SE), but root usage was granted through Magisk 24.3 when I used SE for the first time.

My attached image shows a failure to save in MIXplorer after adding a single "192.168.1.13 tncpi" line.

I've been stumped on the matter ever since Android 12 on this new Pixel 6.
[Magisk] manjaroid:
Is Zygisk enabled in Magisk? I assume you followed this guide for rooting.

https://xdaforums.com/t/guide-root-pixel-6-oriole-with-magisk.4356233/

Appending a line using Termux works for me also. Are you denied when you try?

$ su
# echo 192.186.1.234 site3.local >> /system/etc/hosts

If that works there's no reason a root file manager shouldn't work. (To enable root in Solid Explorer tap the hamburger icon upper left then the sprocket icon and scroll down.)

If nothing works I'm thinking either 1) root isn't complete or 2) attempts at /system mounting had a negative effect. Options to consider:

- remove Magisk and repeat the root process

- remove Magisk, install the April OTA update, then root

- factory reset or flash the April factory zip, then root

My suggestion: Might as well go the full route and factory reset or clean flash. Particularly if there's any chance something went wrong in the root file system.
[Magisk] hstroph:
It is now, so I have more to learn what Zygisk enables.

Correct ... re-flashed factory image, then rooted with Magisk. Process repeated several times carefully, all with same results.

Appending a line works with Termux. Saving /system/etc/hosts after editing within Termux or Solid Explorer fails.

Success.

Well, neither root file explorer works to save the file, but appending other text to /system/etc/hosts works, so I'll just write a simple shell script that I can run as needed.

I want to thank you so much for your patient help. I never thought Google would make things so difficult for those of us who need the use of a pocket Linux computer.

Please consider this thread closed.
[Realme GT] leobraz:
eu pisquei um arquivo img de um gsi na partição do super sistema, agora ele não liga. eu tentei piscar via qfil e smsdownload e até twrp , ele muda a rom mas o telefone ainda está preso no modo fastboot. Ele não entra no modo fastbootd ou modo de recuperação. para algo que eu possa fazer? há esperança?
[Realme GT] grown_man:
adb reboot fastboot

from original rom with the same version which is installed you can

fastboot --disable-verity flash vbmeta vbmeta.img

fastboot reboot fastboot

fastboot flash system system.img

* i guess you used only 2 img files, right?
[Realme GT] leobraz:
when i give the fastboot reboot fastboot command it doesn`t go into fastbootd mode . as if fastbootd mode is corrupted

appears in cmd (error:it will read to boot into userspace fastboot ; one or more components mighit be unbootble
[Realme GT] leobraz:
i guess you used only 2 img files, right?it was just one .

i`ve been trying to solve it for two months , i`ve tried all the methods i knew , now i`m out of ideas so i`m asking on the forum
[Realme GT] lebigmac:
Hi. Bootloader is unlocked and you can access fastboot mode? That's great news!

You can download a stable official firmware from realme website (preferably the same version that's currently installed on your device) and then flash the complete firmware to your device. If you don't want to lose your data then don't flash the userdata partition!

Good luck!(y)
[Sony Xperia XZ3 Questions & Answers] faqqihhaddad:
Is there any way to unlock sony xz3 bootloader softbank version?
[Introductions] papaseppo:
Hello everyone.

My Name is Seppo. My background is a physisist, so i'd count myself as an experienced linux user. I got into alternative operating systems and Google free devices through a Fairphone I bought as a gift. Suddenly I'm getting more and more into the LineageOS world, now in a Samsung S6 zeroflite.

So: Good Day!
[Introductions] SigmundDroid:
Ciao Seppo,

Just got a fairphone recently as well... not as gift (would be pricey) but for myself. What phone do you use, especially since you mentioned alternative and google-free?
[Introductions] blackhawk:
Welcome to XDA🤗

What's your current device?

Fairphone is an interesting concept.

I find Google dropping more balls than making touchdowns especially in the last 3 years. Samsung has been sacked by their own poor design choices, omissions and amnesia.

Perfect.
[Introductions] papaseppo:
The first Fairphone (presented to someone very near my heart) lead me to an FP2 for myself.

But with the Fairphone2 design, I startend experiencing trouble in the interconnectivity between the screen and motherboard. Then a truck drove across it ... (True story!) so i had to find an immediate exchange.

A friend oft me had this Samsung S6 lying around so i kind of got stuck in it... (Why change a winning team?)

I am currently using my third Samsung S6. It is sufficient for all my needs and cheaply available in the second hand market. But the winning has become arguable by the time, since it now is a rather old device.

I think a lot of the interconnection trouble has been fixed with the FP3. But I am also experiencing a lot of good stories around the SHIFT phones. The repairability is comparable to an FP with a slightly different idea but still a step into the right direction.

But lets see what the future holds. :)

Edit: the Samsung currently runs a LineageOS17
[Huawei Mate 9 Questions & Answers] ruggb:
I posted this in general forum b4 I found this specific forum (it wasn't listed).

https://xdaforums.com/t/how-to-unlock-huawei-bootloader.4426055/

Please check it out.

thanks
[Realme GT 2 Pro] Fiah101:
Just thinking about buying the gt2 pro but currently using the F3 with a huge development support. Will be there in the future, this phone had a custom aosp roms?
[Realme GT 2 Pro] aaronisaacm:
google experience is working
[Realme GT 2 Pro] Imprezzion:
This is also a huge question for me. I'm stuck on a S21+ now which, being a Samsung, obviously has no development. I want a phone that will actually have some custom ROMs like the OnePlus 10 Pro probably will. However, the GT2 Pro is just a cheaper OP10P with a much prettier design so yeah.. I hope and pray the GT2 Pro gets custom ROM's and some dedicated devs.
[Realme GT 2 Pro] MB525:
You'd better forget that. It's Realme, not Oneplus. I'm interested in this phone too but this company is not doing right. And as Realme, OnePlus and Oppo are all the same, I fear the worst for the future.
[Realme GT 2 Pro] Linuxkek:
You can't unlock bootloader, only chinese version
[Realme GT 2 Pro] robert3892:
Any company, even RealMe can be persuaded by public opinion if there is enough.
[Realme GT 2 Pro] Terrorigel97:
for now
[Realme GT 2 Pro] themagicalmage22:
Bootloader is unlockable for all versions now. I think it's just a matter of time until we get an AOSP rom.
[Realme GT 2 Pro] Linuxkek:
I need to pay about 700 bucks for that device now, from 619€ and 639€ with watch and tablet. Strange but now I will wait for next gen
[Realme GT 2 Pro] napo6282:
9 months later and still no custom roms?
[Realme GT 2 Pro] DonMateo01:
Dokładnie 😒😏
[Realme GT 2 Pro] mkz14:
Now that the device is about 350€ we might get some love... Also bootloader can be opened...

ColorOS is not bad at all but lacks A LOT of optimization and bug fixes...
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Roltss:
Currently using lineageos13 with gapps, but everything is really slow and apps crash often.

Would be also good if the rom supports the tab 2 keyboard dock.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] zer0_Clover:
Whats your model? If you want a fast device you should ditch gapps. Don't know about the dock tho. Try lineage13 with no gapps then check out OrionOS and RR 6
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Mighty:
Dock will work on most roms who have applied the patches on kernel and device tree, afaik lineageos doesnt have it, Unlegacy Android does.
[OnePlus 8 Questions & Answers] jayed_Sk:
I want to root my oneplus 8. install TWRP recovery.

please anyone help me how to install TWRP in oneplus 8

I am using oxygen OS 11

Android version 11
[OnePlus 8 Questions & Answers] Xryphon:
Use fastboot to flash the TWRP image to recovery using the following command:

fastboot flash recovery [name of image].img

Keep in mind that this command will flash to your primary slot; if you'd like to flash it to both, replace "recovery" with "recovery_a" or "recovery_b", which are the names of the two partitions. Your bootloader also must be unlocked for this operation to work.

The link for the TWRP image can be found on XDA.
[OnePlus 8 Questions & Answers] jayed_Sk:
my device running oxygen OS 11

already received an OTA update Android 12

this TWRP custom recovery for 11 or 12?

it work both 11 or 12?

Or only 11?

thanks
[OnePlus 8 Questions & Answers] FoxyDrew:
TWRP only works on Android 11. Not 12.

Android 12 can be rooted, its just a lengthier process
[OnePlus 8 Questions & Answers] jayed_Sk:
for installing TWRP recovery

need bootloader unlock or not?
[OnePlus 8 Questions & Answers] jayed_Sk:
I am successfully instal TWRP on my oneplus 8 thanks everyone
[OnePlus 8 Questions & Answers] Swatyoyo:
Hey how u unlock ur bootloader?
[OnePlus 8 Questions & Answers] thattechguy_69:
fastboot oem unlock
[OnePlus 8 Questions & Answers] saiiint:
HI bois. Ive flashed twrp on _a and _b with android 12 now i have a bricked phone is there a way to unbrick it ?

Ive tried EDL mode but its not working. I have MSM and installed Qualcomm drivers but MSM not seeing my phone and the screen is not flashing when i hold volume combo and plug in cables. Any ideas ?
[OnePlus 8 Questions & Answers] thattechguy_69:
MSM is the only way to unbrick, try reinstalling all drivers in test mode and when driver signature is off
[OnePlus 8 Questions & Answers] ikram.senguen:
Is it still not possible to TWRP android 12? (Android 12 Update 5. August 2022)
[OnePlus 8 Questions & Answers] PBoltas:
what did you end up doing to get twrp on it? i have the t-mobile version on android 12 with unlocked bootloader, but haven't found proper way to install twrp
[OnePlus 8 Questions & Answers] PBoltas:
i have an unlocked bootloader on oneplus 8 t-mobile on android 12 mind pointing me in the direction to root it.
[OnePlus 8 Questions & Answers] jayed_Sk:
I did this on android 11. I don't know how to do it in Android 12
[OnePlus 8 Questions & Answers] FoxyDrew:
Is your bootloader unlocked?
[OnePlus 8 Questions & Answers] Wishmasterflo:
Hello! :)

I build Orangefox for the Oneplus 8t and 9r and I am now doing a unified build which will work

on Oneplus 8, 8t, 8 Pro, and 9r.

A new updated unified beta Version is here

Decryption might not work for Oneplus 8 and 8Pro yet but I will try to fix that in the next days!
[OnePlus 8 Questions & Answers] thattechguy_69:
SWEET! will you be able to post a thread for OnePlus 8 xda? either way awesome job bro! cant wait to try this in the near future.
[OnePlus 8 Questions & Answers] Wishmasterflo:
Yes will do that as soon as I have added working decryption for Oneplus 8 and 8 Pro.

Actually decryption should already work for all OP8 series unified ROMs like Pixel Blaster and FlamingoOS which are unified for OP8 series and Op9r und using FbeV2 decryption method.
[OnePlus 8 Questions & Answers] Wishmasterflo:
I have opened a new unified XDA Thread for Orangefox recovery now here. :)
[OnePlus 8 Questions & Answers] thattechguy_69:
Already working decryption?!?!?! YOU ARE AWESOMEE! also what's so special about decryption instead of encryption?
[OnePlus 8 Questions & Answers] BeatNoMoreYT:
I have the in2017 with android 12 with IN2017_11_C.42 what should I do to root and get magisk?
[OnePlus 8 Questions & Answers] bbdor18:
Hello not sure the right place to post. I was able to install and root android 13 in my oneplus 8 tmobile. I used orange fox and flash magisk and voala!
[OPPO Find X5 Pro Questions & Answers] g1xx3r:
So, I just got the Global version and am on T-mobile. Does anyone know how to activate HD voice(Volte) as the following codes done seem to work on this phone.

VoLTE *#*#86583#*#*

VoWIFI *#*#869434#*#*

Also, the charger only goes to 66 watt charging. I assume because of the voltage difference in the U.S.? Any thought or suggestions are appreciated.
[OPPO Find X5 Pro Questions & Answers] dipleg:
Hey man, I just got the Chinese version (model PFEM10) and I can't seem to enable VoLTE or VoWiFi as well. I am on MetroPCS (basically T-Mobile) and when plugging in my SIM card I don't get any 4G connectivity whatsoever. I ordered the phone from AliExpress, and it came factory sealed in the box with plastic wrapping and all so I know it wasn't tampered with or anything like that. I don't know where I went wrong because the Chinese version of the Oppo Find X5 Pro supports 5/6 4G bands for MetroPCS/T-Mobile. And the codes you listed for VoLTE and VoWiFi also don't work for me, the phone app just goes back to the blank state after typing in the last asterisk (*).

Can confirm on the 66 watt charging, I have the 80w SuperVOOC brick and it definitely doesn't do 80W, limited to 66.

Do you get any mobile data on T-Mobile with the international version? I'm so bummed, there is very little information about this phone online and I thought that purchasing the China version for use on a GSM network in the USA would be fine because it supports 80% of the 4G bands...any ideas?
[OPPO Find X5 Pro Questions & Answers] g1xx3r:
I actually answered in your other thread. lol

But I believe the CN version doesn't work from the IME numbers I was entering when I was looking for the phone. The global version showed fully compatible even though I don't get 5g.. Also, in the T-Mobile app, it shows as a Oneplus 7 Pro which is ironic because my son has that phone and his shows as a Pixel 4.
[OPPO Find X5 Pro Questions & Answers] dipleg:
I was so naive to think that if the network bands matched up, I would be good to go, because I have thought for the longest time that was all that required if the phone was unlocked and you were switching over to a GSM network. I will definitely have to use and tell other people about IMEI compatibility in the future, because I just went through two weeks of hell waiting for this phone to come from Hong Kong and then learning that it won't even work lol
[OPPO Find X5 Pro Questions & Answers] g1xx3r:
Yeah,that sucks because it's not like it's an easy phone to exchange.
[OPPO Find X5 Pro Questions & Answers] dipleg:
Hey bro,

I ended up reselling the CN version I imported and bought the UK/EU/Global model (CPH2305) instead. Works fine on Metro, get strong 4G just about everywhere. Seems like a recent firmware update enabled 5G (VoNR) as well, but it only has 1 compatible band. I think the battery will drain less on 4G so I just disabled the 5G. Talked to countless reps about VoLTE and WiFi calling but still haven't gotten anywhere with the global model. I'd love to know if it's a software issue...
[OPPO Find X5 Pro Questions & Answers] g1xx3r:
Glad you were able to sort that out with the Global version. Interesting.. Which update was it? Color OS or something else. My current Color OS version is A17. I don't see any 5g settings yet. My Xiaomi Mi 10 Ultra has the same 5g band and I was getting great coverage in my area so I'm keeping my fingers crossed for 5g to be enabled on my X5.
[OPPO Find X5 Pro Questions & Answers] dipleg:
I'm on A17 as well I believe (CPH2305_11_A.17). The thing is, the update didn't enable 5G the way you think it would. The only reason I found out is because I was playing around in the developer settings (check attachment) and found 'VoNR calls' as a new setting.

View attachment 5596097

But there's more. When you enable this function, 5g won't work out of the box. You can try to go to SIM settings and change the network type but it will still say '4g/3g/2g (auto)' with no option to include 5g. So here's what I did. Go to the play store and install an app called 'network mode (universal)' by JunHyung Lee (https://play.google.com/store/apps/details?id=ljh.networkmode). Open it and find the list that's called 'set preferred network type'. I think the default is GSM/WCDMA/LTE (PRL).

View attachment 5596107

I changed it to NR/LTE/GSM/WCDMA. after doing that and rebooting I got 5g on my X5 Pro.

View attachment 5596109
[OPPO Find X5 Pro Questions & Answers] wip23:
Good to know. I am assuming this is N41? Do you have the net monster app or similar to see what band/s you are connected to and the carrier aggregation? How are the speeds?
[OPPO Find X5 Pro Questions & Answers] g1xx3r:
I owe you many beers Sir, worked like a charm. I actually saw those settings for VONR in the developer settings. I didn't know about the app but I was trying to access those settings through the phone codes but they don't seem to work on Oppo phones. 5g is working well now. Thanks!
[OPPO Find X5 Pro Questions & Answers] g1xx3r:
Double post deleted.
[OPPO Find X5 Pro Questions & Answers] dipleg:
it must be N41.

Thanks for your suggestion of using NetMonster to see that band usage etc. The speeds are roughly similar to 4G, maybe a little slower seeing as I don't have as much coverage going off one 5g band vs. multiple 4g bands (2/4/12/etc).

It seems as though even though I can enable VoNR (5G) in the developer settings, I think the signal indicator in the status bar is telling a lie. I don't think it's really 5G. I changed my connection state from GSM/WCDMA/LTE (PRL) to NR/WCDMA/LTE/GSM as I detailed in my previous post and then ran NetMonster.

Here's what it looks like on 4G. everything normal:

View attachment 5602317

And here's what it looks like on '5G':

View attachment 5602319

I could click on the part that says 'Disconnected', and NetMonster shows the following:

View attachment 5602321

So I think it's still 4G despite saying 5G. Not sure what this means as there are many possibilities. Let me know what you guys think as I don't really know where to go from here. Disabled VoNR for now and just using plain ol' 4G.
[OPPO Find X5 Pro Questions & Answers] g1xx3r:
When I run Speedtest, it definitely shows 5g connected and I've seen speeds up to 180mb/s. If I run it when it shows 4g, LTE shows up in Speedtest so it's definitely connecting to 5g when it's available. The VoNR setting in Developers seems to have no impact either way.
[OPPO Find X5 Pro Questions & Answers] g1xx3r:
And on 4g.
[OPPO Find X5 Pro Questions & Answers] g1xx3r:
Now that I'm on Color OS 13, Volte and Vowifi are now active and working. IMS is now registered and I get 4G and 4G+. No 5G but I'm okay with that.
[Touch Diamond, MDA Compact IV Themes and Apps] zitoun:
Thread erased.

please don't share this file
[Touch Diamond, MDA Compact IV Themes and Apps] triklops:
Too dangerous...raises the appetite :)

Great idea though !!! your creativity is impressive