Yes, that's right. But regarding to this question here
and due to the fact that this tablet is running Android 5.1, the /sbin folder is still relevant.
(Excuse me while I spit three times to ward off the evil eye.)It's that P@tch3r you'd be very 'Lucky' to get away with on XDA.
My guess is 'using it to modify the hosts file'. I think I've seen a video somewhere..... What does the app which must not be named have to do with the hosts file?
Where are you typing "ls"?i don't know what i did but the console outputs this when i do "ls" command i think i missed with some busyox settings and i don't rememeber how any help please
View attachment 5880117
it adds ←[1;32m to all directories and files and end each one with a close ←[m
I don't find references to using it to patch a hosts file. The tutorial I found describes patching an app to make that app stop showing ads -- not quite the same thing.My guess is 'using it to modify the hosts file'. I think I've seen a video somewhere.
Those are ANSI codes to colorize the output. The left-pointing arrow represents the ESC character.i don't know what i did but the console outputs this when i do "ls" command i think i missed with some busyox settings and i don't rememeber how any help please
View attachment 5880117
it adds ←[1;32m to all directories and files and end each one with a close ←[m
I don't find references to using it to patch a hosts file. The tutorial I found describes patching an app to make that app stop showing ads -- not quite the same thing.
I'll wait for @Feduz to say whether he ever had Magisk.
Is "LP" "Lucky Patcher"?The problem was the latest build of Magisk that has some issues with systemloss. With LP can "update" the hosts file (in /etc) to add a blocking list, and also block some ads in the app. (of course you have to enable the module on Magisk)
I've replaced the latest magisk version with magisk delta and now the module systemless works properlyIs "LP" "Lucky Patcher"?
What does it have to do with editing the hosts file?
If you have a working copy of Magisk (almost anything before the last few versions), then a trivial module can overlay /system/etc/hosts -- just put the hosts file you want at /data/adb/modules/trivialmodulename/system/etc/hosts and reboot.
You can download some hosts file from Internet, like:I've replaced the latest magisk version with magisk delta and now the module systemless works properly
There is a function on LP that blocks the ads (the same as adaway) updating the hosts file
thanks,You can download some hosts file from Internet, like:
Rename to hosts (with no extension!)
If you have old Android where System is not read-only, use TWRP and copy that downloaded & renamed hosts file over the original /system/etc/hosts
and reboot
(Magisk/root not required)
Otherwise, enable Systemless hosts in Magisk app and reboot.
Then use some root file manager like MiXPlorer and copy the downloaded & renamed hosts file over:
/data/adb/modules/hosts/system/etc/hosts
and reboot
---
But that way you have a 'fixed' hosts file - by using AdAway, AdAway will update the hosts file to stay up-to-date with the new ads sites
Or go to native Settings, Private DNS and switch to:
dns.adguard-dns.com
(root or TWRP not required, just Android 9 or later)
I don't use that app (btw, it's name is not welcome on XDA) but generally (on the read-only /system), you can not change /system/etc/hosts filethanks,
I've found that LP patches the hosts file in both folder, should be used only the one in /data?
OK thanks for explanation, didn't know about the second folder. Yes I think that works on the same way as AdAwayI don't use that app (btw, it's name is not welcome on XDA) but generally (on the read-only /system), you can not change /system/etc/hosts file
That's what Magisk then does, on every reboot when initializing Magisk, Magisk will mount (it's not copying!) /data/adb/modules/hosts/system/etc/hosts over /system/etc/hosts
Hence, AdAway does just that, it writes to the hosts file on /data and leave it to Magisk to mount over the /system hosts file
I don't know how LP works (btw, Play Protect will complain about the installed LP). It could do the same as AdAway or it could also execute the mount command directly
Yeah. I upgraded from Canary v25206 to this brand new v25211 and /data/adb/modules/hosts/system/etc/hosts is again (like in v25210) not mounted to /system/etc/hosts
Same here. I went back to Magisk Delta.
Interesting... They specifically added workarounds for it:Yeah. I upgraded from Canary v25206 to this brand new v25211 and /data/adb/modules/hosts/system/etc/hosts is again (like in v25210) not mounted to /system/etc/hosts
I really don't understand that all those devs (who commit and approve changes) cannot make a simple regression test for something that was known to be broken, to make sure it will work (again)
It's not about AdAway, it's just the Magisk built-in Systemless hosts feature that is still broken
Just catching up here...Well that's great we have reached an official conclusion of this after unrooting and factory resetting instead of my speculation but now how do I return it to unlocked status? I don't use Sprint (even if it's merged with T-Mobile).
Like I mentioned before, no scam services that after I pay them they say "we unfortunately aren't able to do this or that but thanks for the money sucker"
Naturally we all thought you meant bootloader unlocked since that's a requirement for rooting (although B/L can be locked again with root in special circumstances)... Since flashing a mismatched boot.img commonly results in users having SIM/mobile network, WiFi, BT and similar issues, that looked like your issue to me...Updating to Magisk 26.3 disabled my unlocked phone's ability to read my SIM card, so now it gives me Invalid SIM card or SIM card not detected
... I still didn't twig that you meant to carrier-unlock here either...Really my issue is that it seems Magisk locked my phone or something and I'm trying to figure out how to get it unlocked without paying for a scam service that may or may not work.
I bought the phone already unlocked and factory refurbished off Amazon and I still have the same SIM card.Where did you buy this phone?
Was it carrier-locked when you bought it?
Did you buy a new SIM card?
How did you carrier-unlock the phone?
Where did you find the stock ROM? (The one you "must have deleted or something"?)
Have you located and downloaded the stock ROM a second time?
Have you ever tried burning a complete stock ROM to see if that restores the ability to use the phone?
ROM is bigger than image file, ROM typically contains a number of image files. ROM may be a ZIP file, a tar file, or some other container-type file.I bought the phone already unlocked and factory refurbished off Amazon and I still have the same SIM card.
I think the Stock ROM I deleted was the copy of the unpatched IMG file so it's before I patched it with Magisk. I'm also positive I don't have the original IMG unless maybe if I look through File History on my PC.
Haven't tried burning any kind of ROM.
Good news though, I actually went back to T Mobile and got a new 5G Stylus 2023. A bit smaller but still awesome. I will think about keeping the old Stylus or selling it to a pawn shop.
Yeah... And Microsoft should have stayed with DOS, and maybe Windows as a DOS add-on!...This illustrates why I always want to be able to use a device upon which TWRP (or perhaps OrangeFox) is functional. As long as I've taken a proper full nandroid backup of a previous working system, I can easily nandroid-restore that working system after an upgrade, if I wish.
I am not happy with Google for continuing to "enhance" (ha ha!) Android as time goes on,
That's certainly NOT their intention...thereby making it more and more difficult to get TWRP and OrangeFox working with newer Android versions.
https://twrp.me/about/TWRP development is done by roughly 4 people at this point. We also have a large support community with many people who are willing to answer questions and help people with their devices either through our Zulip channel or on forums like xda-developers.
We need your help! The bulk of TWRP work is done by a handful of people on a volunteer basis. We have pushed most of our device files to our github and we have a gerrit instance. If you have the ability, please help us maintain our official devices and/or add your device to our official device list. Thanks in advance!
I consider it to be unfair to define "modder" or "developer" as "anyone who dumps partitions/nandroid".
<SNIP>
I miss the days when I could just use adb to dump the data partition into an image file and flash it back. 😿️<SNIP>
Since it's not available without unlocking, 'anyone who dumps partitions / performs nandroid' has to agree to modify the device by unlocking which changes original product features including disabling security functions and other features... Then they generally install a custom (modified) recovery...
<SNIP>
That's not the point. The point is it was an obvious thing to check, I never thought of it, @iruiz2 did, and I would have liked to be able to paste glitter and unicorns all over his post to express how much I Liked it.... except the poster did indeed try that, and the SIM card is fine. See above.
Yeah... in Australia you should be sure to meet Gumtree electronics vendor in the middle of a busy shopping mall!... In Asian countries this is even more imperative...Sorry laughing at side of road comment, not your post in general