yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] DhiralSankhe:
Hello, yes I did check the file manager for hidden items nothing is there. ( I'm using the default file manager of phone, Realms X2 pro) I'm not using any untrusted Whatsapp, just the one available from play store.

I will eloborate the scenario

I kept all the backup and everything as always but this happened suddenly that after the scheduled backup at night only 400 MB of data was backed-up. I was not able to acces any of my previous media. To resolve this issue, I pressed backup again. It back-up again only 400 MB of data. Till last backup sync 4 GB of data was available, as usual from past several years.

Accord to what I understand the recent backup override my previous media data.

About my internal storage data that too is gone after the reinstall. All of it, though it was all available before hand. I didn't do anything.

Do you know something about it or someone who could help? Any whatsapp developer or help assistant?
[General Questions and Answers] SubwayChamp:
Guessing that you enabled the option to back up media too, this action unfortunately had to mess it up all.

It's probably also that your device has in some place something like a tasked action to clean large or older than a certain time files, all devices actually come with a feature like that, check a kind of device care or similar feature within the settings.

Take a look also in the GDrive and WhatsApp FAQ/Troubleshooting section. I don't think that developers have to take some role here, it was either a mistake from you or an automated action from the software of your device.

Anyway unfortunately most times the lessons come from the pain, sorry but let me say you that you never had to put all the sentiments/remembrances on a device that can be missed/stolen or messed as it seems to come to happen right now.
[General Questions and Answers] DhiralSankhe:
Thank-you for the reply.

Yes I did check about some action to clean old or larger files. There isn't any.

I contacted google, they told me to have a conversation with whatsapp. I tried that too but nothing so far.

I did kept my media backed up from past several years as it helped me move to a new device but this happened once and everything that I had was wiped.

Just hoped that something like a yesterday version of G drive backup will get my memories back.
[General Questions and Answers] DiamondJohn:
boot script.
[General Questions and Answers] mstrnemo:
I dont understand ?
[General Questions and Answers] DiamondJohn:
which sentence?
[General Questions and Answers] foormea:
Boot script? Perhaps I'm misunderstood, but I don't want this to be run only when the phone is booting, but every 10 seconds or so (or even better: if the WiFi connection can signal a change, that would be much better).

Or you mean a script that checks every X seconds, that is started on boot?
[General Questions and Answers] DiamondJohn:
There are many ways to schedule items. Even a boot script can be placed in a loop.

As for running it every 10 seconds, that sounds excessive. Normally on the phones I have owned, I can set the preferred network in the actual settings, and it sticks. Commonly a one time change to the boot build.prop or system.prop is all that is needed, even between reboots. Using the settings commands you have, are commonly a temporary overwrite of these persistent values, loaded on reboot; or on change of network
[General Questions and Answers] foormea:
I want my phone to switch to 2g when I'm connected to my home WiFi, and to switch to 4g when I'm not connected to my home WiFi. Concretely, what files do you suggest I modify to achieve this? Thank you :)
[General Questions and Answers] lm8lm8:
Hi

thank you for reply

I have well "system ui" app in the list, but if I "force stop" the app, it does...nothing :x

yes it's a totally fresh install, everything has been wiped
[General Questions and Answers] DiamondJohn:
So you want 2G voice when on WiFI data, and 4G Voice and Data when not connected to WiFI? If thats what you want, I am thinking you will need something more than a boot script, and the help of someone else.
[General Questions and Answers] foormea:
I think you got it.

When WiFi is connected to MyWiFiNetwork, I want settings put global preferred_network_mode1 1 to be issued.

When WiFi isn't connected to MyWiFiNetwork, I want settings put global preferred_network_mode1 9 to be issued.
[General Questions and Answers] Fytdyh:
instead of a boot scripts, you could try using tasker.
[General Questions and Answers] foormea:
It isn't free :/

I tried "Automation" (free, available on f-droid) but it doesn't support switching between network modes :/
[General Questions and Answers] Fytdyh:
Well, good things aren't free most of the time. Google play has a 48 hours window in which you can get a refund.
[General Questions and Answers] DiamondJohn:
If you are looking for free, android has built in timers/schedulers . I think its called "cron". But I think the scheduler idea is going to be battery heavy.

Something like this, in service.d

{
while [ 1 -eq 1 ]
do
echo "do stuff";
sleep 10;
done
}&

But if you can find another app that runs scripts off of intents, I think the job would be done. A few years ago (actually many now that I think of it) I built one, but I found no use for it. Someone else must of had the idea, but with a reason to publish it. Search for android scripts off of intents and all variations of that.
[General Questions and Answers] foormea:
Nice, thanks for the pointer!
[General Questions and Answers] DiamondJohn:
oh, and the script above could be used as a simple concept test.

OOooops and its 1 -eq 1
[General Questions and Answers] foormea:
Actually it seems like the "Automate" app flows will let me do exactly what I want, with the advantage of being able to tinker with it more easily when I only have my phone with me. But I'll definitely keep looking now, I'm interested now!
[General Questions and Answers] mstrnemo:
DiamondJohn said:

For custom ROMs, if you are coming from a different ROM or an u[date of the existing ROM, then you would also update the boot.img. t will nomaloly also contain updates or changes specific to the rest of the ROM.

This all of it ? what are u trying to say here ? are u saying that for a update boot.img also get updated and thus magisk need to be uninstaled for some reason ? for u to flash a update ergo dirty flash the rom?
[General Questions and Answers] DiamondJohn:
After I walked away from the keyboard, I thought of an app that may be of use. I *think* termux is free and has a scheduler. I have never used it myself.
[General Questions and Answers] DiamondJohn:
I cant think oif anyway else to say it clearer without writing a novel. Maybe someone else could explain it in a way that you can understand. Yes / no questions normally make it easier to understand what is not clear.

When you flash a ROM or firmware, YES the boot image will normally be reset / flashed with a new boot image (never say never, there are thousands of devices out there). Clean & dirty f;lash. Some custom install zips automatically reinstate magisk, but thats getting to be less common. You dont have to uninstall Magisk, it will be overwriotten. Things get morre complex with magisk hide as well I think. See the Magisk thread.

It normally gets overwritten, so you need to reinstate magisk via a patched boot image.
[General Questions and Answers] Fytdyh:
So, Google has proven unreliable. does anyone knows how to set the dpi or the screen resolution to a custom value and retain that value after reboot ? got a stock ROM, rooted with latest magisk. every search I've made, like "change dpi permanent android with root" annoyingly has returned only guides for non root.
[General Questions and Answers] lm8lm8:
Hi guys,

do you know a fdroid or other playstore app whom can shows a widget calendar working with caldav to get my appointments on my android desktop?

ty :)

ps: I tried with google calendar app, by putting caldav address within calendars of the google account.. it shows the adress on the phone, not the appointments
[General Questions and Answers] lm8lm8:
finally solved it by using "acaldav" app from fdroid.. it can bring caldav without google or other services account.
[General Questions and Answers] mstrnemo:
Oke thank you that makes it clear
[General Questions and Answers] SubwayChamp:
I personally always go to the "minimum width" feature in Developer options and set it up to a comfortable value, no root required, third party app nor ADB command line.

Additionally, being rooted, you can change it permanently in the build.prop at the line: ro.sf.lcd.density and replace it from the stock.
[General Questions and Answers] Fytdyh:
same here. just thought, given that now I have root with magisk, I can make this change permanent. isn't there any app to make this change permanent? would editing the build.prop be an option?
[General Questions and Answers] SubwayChamp:
Exactly right now, I added that in my comment.
[General Questions and Answers] Fytdyh:
weird enough, this settings seems to be missing from my build prop (/system/build. prop) , as shown in the pic. should I add the line into my build prop or I have to modify something else?
[General Questions and Answers] SubwayChamp:
You can add it and see if it works, maybe in A10/11 changed how it works, take a backup and replace it. There are also some app that can change some things into the build.prop or even more targeted to the LCD stuff like this https://apkpure.com/fr/screen-resol...size-density/com.iutilities.screen_resolution
[General Questions and Answers] Fytdyh:
thanks. yeah, forgot to specify the os, is emui 8. finicky as hell, hopefully this app would be the one. otherwise, I could also use tasker and make a script. although I never really understood how to use tasker
[General Questions and Answers] Hjani:
Please help
[General Questions and Answers] elven_god:
Hi, I'm stuck in a boot-loop on my samsung galaxy j7 nxt device. While attempting to boot it shows "only official binaries are allowed to be flased" in red. Below I'll detail how it got to this.

I followed this guide

How to Install twrp Root Galaxy J7 Nxt SM-J701F/DS - unofficial twrp

download twrp root Galaxy J7 Nxt SM-J701F/DS user who own Galaxy J7 Nxt SM-J701F/DS can root it by following the below instructions

unofficialtwrp.com

First I flashed TWRP provided in the guide.

Then booted into recovery and installed magisk and no-verity-opt-encrypt

After this I booted into the system and got an Integrity check error and a reset option. Choosing to reset did not do anything. I searched online and read in a forum that wiping your device from recovery is the only option. So, I booted into TWRP recovery and tried to wipe the device and it failed.

Then for some dumb reason I choosed the format option and formated the device. Afterwards it booted into android and set up the device. It was working perfectly. Then I powered it off to try and boot into TWRP and the device went onto a boot loop and displaying "only official binaries are allowed to be flased".

I have since tried to flash stock rom and combination firmware with odin but both fails. Flashing TWRP from odin also failed.

Any help will be great, thanks in advance.

Edit: I was able to flash the stock frimware downloaded from Sammobile with odin ( before, i downloaded it from another site because Sammobile download speeds are very slow). It back to working condition now but I still don't know why that error occured.
[General Questions and Answers] xen423:
I've been coming here for years for spoon fed material (guides, root, roms) but now I have a recently released device, the Revvl V+5g and theres nothing out there for me, we're all alone in the device's forum. Its made by Wingtech for T-Mobile and as far as I know theres no stock firmware, no twrp no anything. I want to contribute if possible. Anything I can do to move things along or are we stuck till we get stock firmware?
[General Questions and Answers] Fytdyh:
that would be the case. hopefully, more and more devs ar egling to get that phone in order to be a little hope for rom and twrp development. the fact the phone was shown on a xda post might be enough attention towards development. just have patience and wait about a year
[General Questions and Answers] Fytdyh:
Well, is simple. the no verity zip you flashed after magisk was preventing the official binaries error. you, formating stuff around, deleted the previous no verity flash. I think that happened.
[General Questions and Answers] DiamondJohn:
You can probably start by installing Magisk. There is a LOT you can do before you start compiling ROMs from source.
[General Questions and Answers] Fytdyh:
that was my thought as well, but given the lack of stock ROM sources, can he get root without twrp or patched boot image? do apps like kingoroot or framaroot still work for new devices?
[General Questions and Answers] DiamondJohn:
Magisk app can create a patched boot image, which can then be flashed via fastboot. Thats exactly how I do it on my Pixel 4a running A11, without TWRP.
[General Questions and Answers] said1219:
Hi, I'm curious whether there's a way to approve an adb connection request if the screen is not responding?

My current situation:

- my device blinks on and off on lock screen

- ADB is enabled on that device, but I did not tick "Always allow from this computer"

- device can complete boot normally and can enter recovery mode

- device is successfully detected on adb devices as unauthorized both on normal boot and recovery

- to fix the issue, a one-line command could be issued: adb shell cmd pm enable com.coloros.weather.service

Edit: the above command could only be issued if the computer is authorized (adb devices shows up like this):

C:\Users\Said1219\Downloads\platform-tools>adb devices
List of devices attached
IRU(censored)WBU device

In an unauthorized state the above command will fail with the following message:

C:\Users\Said1219\Downloads\platform-tools>adb shell cmd pm enable com.coloros.weather.service
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

Hence a preferred solution is getting my phone to recognize my computer as authorized.

I am toying with the idea of using a Boot ROM (BROM) exploit by Dinolek and k4y0z to write my adb public key on /data/misc/adb/adb_keys. Still, I'm not sure whether this is relevant since most use of the BROM exploit is to flash a custom ROM. I have been asking this on my own thread at the appropriate forum but have not received any response for 24 hours; hence I asked here.

Any assistance is highly appreciated.
[General Questions and Answers] Fytdyh:
I always had the stock boot image on the device, extracted from the stock ROM with a pc utility and transferred to my smartphone. if no boot image is present, can magisk patch the boot image on the said device?
[General Questions and Answers] DiamondJohn:
As far as I know, No. You need to extract a boot image for Magisc to batch. But you would be best to ask that question on a Magisk thread.

For my Pixel 4A its simply extracting it from a zip file of the factory image, that gets released every month. The firmware should have the boot image in it. But, it may be easier to extract it from the device, I do not know your device.
[General Questions and Answers] SubwayChamp:
The BROM exploit is useful to apply using a flashing tool like SP Flash tool for MediaTek devices to bypass an unathorized account, by skipping the BROM and getting direct conection to the preloader. Not sure if this is useful or even apply for your device.

If your device is not responding, but you can see what in the screen, you can use a mouse with OTG connection or some phone mirroring application like AirDroid or Vysor; much better.
[General Questions and Answers] said1219:
Thank you for the idea. The device behaves like this:

Spoiler content hidden.

Plugging in an OTG mouse does show a cursor, and it does move. Still, it won't interact with any element on the screen except when receiving a call or an alarm is ringing. I also have explained other things that work here. Except during those two circumstances, the screen keeps turning itself on and off.

My goal with using BROM exploit is either to:

write a file named /data/misc/adb/adb_keys with RSA public key from my adb session

then I can connect to the device and run adb shell cmd pm enable com.coloros.weather.service

enable a previously disabled package named com.coloros.weather.service

Currently, both seem far-fetched as it is not the generally accepted usage of BROM exploit. Please also note that data loss is not an acceptable trade-off (I rather have a bricked phone hoping for a future solution rather than a functioning device with assured data loss due to device wipe). The rationale for this can be read in my plea here.

A little bit of luck is on my side since I kept USB debugging enabled on my phone. It's just that I didn't tick "Always allow from this computer" during ADB sessions when my phone is still usable. The phone now shows in adb devices as unauthorized instead of not showing at all.

C:\Users\Said1219\Downloads\platform-tools>adb devices
List of devices attached
IRU(censored)WBU unauthorized
[General Questions and Answers] Fytdyh:
so I have a twrp recovery, version 2.4.4 ported by a random user for a Acer z130 (Android 4.2). in order to update the twrp, do I need to port the last version of twrp? or when flashing it, the recent twrp will take note of ported twrp changes and integrate them into its code, therefore becoming compatible?
[General Questions and Answers] SubwayChamp:
If ADB from your device is popping up asking you to grant permissions then cause your screen lock is active then you wouldn't see it, maybe you can reset it or unlock it through Find My Device or due to you have TWRP and hoping that it doesn't have a screen lock too maybe you can delete/reset your password/PIN through it.

Not being able to unlock it and not wanting to delete some data, you would be stuck on it.

If you can bypass that to unlock, then you could follow interacting with your screen in many ways.

I inclined to think that an update just failed, and your device got stuck in this unusable condition, I wonder why you did an update while you have TWRP (a custom recovery) on it unless it can do the job plus with the bootloader unlocked, I mean that TWRP can really receive an OTA update?

If your device features a MediaTek SoC, then some data can be dumped through SP Flash tool and after that you could reinstall the firmware that failed.

And regarding BROM exploit, again, it just allows to "jumping" from the boot ROM verification to the preloader to play with it without the restrictions of a DA file and doesn't play a role here.
[General Questions and Answers] SubwayChamp:
This is not done automatically, you have to port it, based on another TWRP updated from one for a similar device that yours.
[General Questions and Answers] Fytdyh:
Well, the device in case is old, so ported from a similar device running a brand new twrp, it's a slim chance to none. would it be quite a difficult task to make the twrp compatible with an old device?
[General Questions and Answers] SubwayChamp:
Yes certainly but surprisingly, for example, some mt6580 are coming again to the life from the old era (2015) in new devices running Pie and so. This is a hope for old devices to can port it from them BUT linking with the 2nd question this will be almost useless or at least unnoticeable, if you downgrade TWRP to can adapt it to your "old" device then it will lose all the goods for newer versions. Anyway you don't need to take it as base from a strictly same device, TWRP in some aspects is almost universal, you can take it from a wide range of devices.
[General Questions and Answers] vssu:
i've been playing around with a galaxy note 9/huawei p30 pro, they're not mine but i'm looking to get a new phone and it's a good perspective.

Every android phone i've used so far had capacitive buttons ( galaxy nexus, oneplus 3t). As you can tell i don't switch phones very often lol. Unforunately this does not seem to be a "feature" that can be found anymore in today's phones.

The one thing that drives me up the wall using the two aforementioned phones is that if an app does not use the light/dark mode api because it's old and not updated, the default nav bar color is white. It's so jarring that i find the phone unusable because the two most common apps i use (habit browser, and and older version of gonemad music player), have this issue. Even podcast republic also has this issue and it seems to be updated pretty regularly.

Is there a way for it to default to black instead?
[General Questions and Answers] DiamondJohn:
The question to ask before you spend ALLLLL the time to update your TWRP is "why?"

If you have not got n updated TWRP, then chances are you do not have any updated ROMs to flash, that actually require a newer TWRP.
[General Questions and Answers] SubwayChamp:
In case you want to change the background color from your navigation bar this can be done as root or editing somewhere but while you don't have these privileges you can use instead a third party app that works pretty fine doing this kind of things https://play.google.com/store/apps/details?id=nu.nav.bar&hl=es_PY&gl=US it works pretty well and can be placed in the exactly same portion of space that occupy your stock one, I'm actually using it in my tablet.
[General Questions and Answers] vssu:
it's a very crude fix but doesn't work on the curved screens, still see the corners of the white navbar behind it.

RIght now i'm leaning towards the redmi note 10 pro, which can have root access. Do you mind linking how i can make this change with higher privileges?
[General Questions and Answers] SubwayChamp:
Mmm, are you sure? I can fit it exactly where I want by changing the height, you should exceed the amount of space to the slim/tiny white that's there to cover it.

It's too early to say it, probably you switch to an AOSP based ROM, many of them include actually a way to customize the navigation bar, where you should have to edit it may vary from one to another plus some Miui themes come with the navigation bar changed, also you should refer to full gestures to get rid of it.
[General Questions and Answers] vssu:
you can adjust the height to totally cover the old bar but then it overlaps real stuff. Even then the curvature of the upper corners is very ugly
[General Questions and Answers] SubwayChamp:
Then your apps are not updated to actually works as expected, the curvature and the "real stuff" may be part of the framework.

I'm pretty sure you can square your screen borders in many of the AOSP (and non AOSP) based ROM when you can switch to a custom one (168 hrs waiting to unlock bootloader).

In the meantime you could adjust the screen size using ADB, something like this https://www.techilife.com/change-screen-resolution-adb-android/ this way you can elevate and direct the whole screen just a few inches to the right. Not exactly as it is explained in this guide, but changing in every trial not more than 20 points.
[General Questions and Answers] xen423:
no. kingoroot (app and pc ver) and framaroot do not work. there is not a stock rom (that i can find) to patch boot image. the only way would be to use files on the device itself. all the guides ive read call for patching boot image from stock rom. my device is Tmobile Revvl V+ 5g which is made by Wingtech. any further help much appreciated. if theres a way to use the device's files to root i'd be interested.
[General Questions and Answers] SubwayChamp:
The only ways I can think of by now is requesting to TMO provide the firmware or catching the OTA update if any appears using some of those methods https://www.thecustomdroid.com/how-to-capture-ota-update-url-android/ still wondering if your provider allows the bootloader can be unlocked.