yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] RKS96:
Hi. I am using LOS16. Recently i was digging around root with LOS terminal app and found out that android has nano text editor preinstalled. Ofc I tried to create hello world txt file in sdcard, but I couldnt save file because I dont know how to enter shift+x key combination. I tried using vol down+x but that didnt work.

MYB there is some way how to define combination in google keyboard settings like suggestion? I know there is other terminal solutions, but i am intrested in something that would work everywhere.
[General Questions and Answers] kn0wsk1ll:
I have a nexus 6p with a dead battery(wont charge). There are photos and videos on there of my dog which recently passed :( that I need for a memorial. How can I get them out? Is there a way to plug it into my PC and extract them?
[General Questions and Answers] ktmom:
Try using hackers keyboard. It's not been updated in awhile, but it still works fine for me. BTW, I think you want control-x not shift [emoji6]

Have you tried plugging the phone into a low power USB port overnight? Sometimes that gets things going again.
[General Questions and Answers] Raresh T:
You can't use it. The battery needs to have some charge for the pc to recognize the phone. Take the phone to some service, since the nexus 6p is quite old, there's a chance some services might have a spare nexus 6p battery in order to help you with your problem.
[General Questions and Answers] Droidriven:
The Hackers Keyboard app can be configured to enter ctrl+/shift+ key commands.

Edit: oops, I see [MENTION=6617276]ktmom[/MENTION] already answered.
[General Questions and Answers] mrrocketdog:
ok , need some insight gals and guys (if available).

am trying to flash twrp using this tutorial : https://xdaforums.com/showthread.php?t=2586472

because i have no pc nor access to one. this is whats happening :

-- su

-- adb reboot bootloader (all good)

-- fastboot devices (serial # of target shows up)

-- fastboot flash recovery recovery.img (cannot open recovery image)

in the above thread it states to put recovery.img at root of sdcard. i have it there. and root of extSDcard. and even /system/bin (with correct perms).

anyone have any experience with this method or understand my error "cannot open recovery.img"?

thanks for reading.

dave
[General Questions and Answers] ktmom:
What do you get when you enter

fastboot --version

(That is two hyphens and no space)

What device is the fastboot device and what device is the one getting recovery installed to?
[General Questions and Answers] Droidriven:
Put it in the root of your internal sdcard, not external. If it is in extsdcard, you have to include the path to the file in your command but if it is in the root of your internal sdcard, no path is required. Kinda the same thing as having to put your .img in your adb/fastboot folder on PC when flashing from PC via fastboot.

I would try putting it in whatever folder adb/fastboot was installed in on the device that is being used as the source to flash from.
[General Questions and Answers] mrrocketdog:
my "pc" is a moto E4+ (owens) going to a xperia z5 compact.

with fastboot --version i get :

fastboot: unrecognized option '--version'

---------- Post added at 07:21 PM ---------- Previous post was at 07:17 PM ----------

i have it in root of internal sdcard , extSDcard , an adb folder in internal storage , an adb folder in extSDcard and in /system/bin (where adb and fastboot are) and on my dog's forhead.

thank you for the idea/double √
[General Questions and Answers] ktmom:
My thought is, the fastboot version is to old for the device(s). The xperia z5 compact was released 2015/2016 right? How new is the firmware on it?

The OP links seem to be dead in the thread you linked. Do you know when the version you are using was released?

For adb and fastboot binaries to work on an ARM device, it needs to be compiled for the the ARM architecture.

You might try a single hyphen before version, or -v.

Final thought, at least tonight, is maybe a logcat from the moto while running the flash recovery command *might* give some insight.
[General Questions and Answers] mrrocketdog:
ok ok ok. found it. have to include whole path. so ,

fastboot flash recovery /sdcard/recovery.img.

now ;;; cannot get into twrp after flashing it. have tried

"fastboot reboot recovery" which should reboot to recovery? yes? (AND got an "ok" after flashing recovery.img) , does nothing (black screen with blue light).

"fastboot reboot" and then tried 'some' key combos. probably just not the right one. which is . .. . ...... . . ?

sorry as this looks kinda jumbled. lot like my brain right now. LOL.

hmmm , maybewill try different recovery.img when brain clears. in cae bad DL (¿)
[General Questions and Answers] Droidriven:
Obvious question, are you sure the bootloader is unlocked?

Here's a few ways to try it.

Try:

adb reboot recovery

Or, if your device has a bootloader menu from which you select recovery to boot into recovery, try:

fastboot reboot bootloader

Then select recovery.

Or, try fastboot booting TWRP and then flash TWRP.zip or TWRP.img after booting into the temp recovery session, then go back to home in TWRP and select Reboot, then select Reboot recovery.
[General Questions and Answers] mrrocketdog:
well ... pretty sure [emoji22] adb reboot recovery causes phone to reboot. BUT adb reboot bootloader gives a black screen with blue notification light (which i 'thought' was the bootloader screen.

After flashing recovery.img with a "OK" afterwards , i flashed a TWRP.img with a "OK"after.

i just cant seem to get to recovery/TWRP after i flash it. and every reboot it gets overwritten by stock (or so i've read).

after flashing recovery , trying to use button combo to get to recovery (disconnect phone. hold power and vol. down. after a vibrate let go of power and when sony logo appears release vol. down. & its "suppose" to boot to recovery. but it always reboots back to home , i.e. wtf ever. brain fry :(

p.s. will unlocking an unlocked bootloader provide me with materials to build a house?

i dont know. maybe i should swing by [MENTION=6617276]ktmom[/MENTION] 's house and see if she'll let me get on her computer for a bit. [emoji33]
[General Questions and Answers] DiamondJohn:
Sorry for not following the full story, however, I know with my device, after you flash a custom recovery, you have to boot straight into the newly flashed recovery first, or it will be overwritten with the stock recovery. Just a thought.
[General Questions and Answers] Droidriven:
It is like that for all devices that I know of.

---------- Post added at 08:57 AM ---------- Previous post was at 08:40 AM ----------

Ok, another approach.

Take the device that the recovery is to be flashed on and boot into system. Then, open a terminal on the device that is doing the flashing. Connect the devices. Then dd the recovery image from the flashing device to the device being flashed. This is risky, if you don't get the dd command exactly correct or if it doesn't work like it normally does when using PC, it just might brick your device.

I know there was a member that posted in one of the noob friendly Q&A threads(can't remember if it's my thread or the other general Q&A thread) that used "Linux Deploy" or "Complete Linux Installer" app to install linux and additional linux packages on android and got adb/fastboot fully functional on the android device. This kind of setup may correctly achieve your goal.

I can't remember when/where they posted or what they did to get full linux/adb/fastboot functionality or how to track it down but it might work.

I say, put the programs you need on a USB drive then go to your local public library(if you have one) then use a PC there to flash the device. It shouldn't take very long to do. You should be in and out in short order with a successfully flashed device.
[General Questions and Answers] HalfOfAKebab:
App syncing problems

Hi, I'm running Android 7.0 on my Sony Xperia L1 with no modifications at all.

I'm trying to get my apps to automatically sync, but I can't find anywhere to do this. Let's take Firefox for example.

So, under the "Accounts & sync" menu, the first thing I see is a list of apps that have syncing capabilities.

I tap Firefox, and I see my Firefox account, with the text "Sync is OFF" underneath it. There is a button labelled "Configure Sync".

I tap "Configure Sync", and it brings me to a screen in Firefox, which just tells me: "Sync is set up, but not synchronising automatically. Toggle "Auto-sync data" in the menu of Android Settings > Accounts". (This is where I just was.)

So I go back to the Firefox page under "Accounts & sync", and instead of tapping "Configure Sync", I tap on the name of my profile. From there, the only things I can do are manually sync or remove the account.

This is every screen I'm able to find under the "Accounts & sync" menu, and I cannot find an option to enable automatic syncing for the life of me.
[General Questions and Answers] ktmom:
Have you tried removing the affected account(s) and adding them back?
[General Questions and Answers] HalfOfAKebab:
It's affecting every single account I have on every single app, do you think it's still worth a try?
[General Questions and Answers] ktmom:
I remember there being issues on my N6 running Oreo where accounts didn't sync. I seem to remember that setting everything up again would get it working.
[General Questions and Answers] HalfOfAKebab:
I just tried this and nothing seems to have changed. Is there anything else I can do?
[General Questions and Answers] Darshan hs:
Rom is not install help how to install
[General Questions and Answers] xunholyx:
You need to give more information.

Device?

Android version?

Stock ROM or custom ROM?

How did you try to flash it?

What error messages did you get?
[General Questions and Answers] ktmom:
Can you manually sync?
[General Questions and Answers] HalfOfAKebab:
Yep, and no issues with it either. But it just doesn't do it automatically and I can't find where to enable it.
[General Questions and Answers] ktmom:
As I recall, there is no switch. It's not autopsying because of some framework hiccup. It's been a long time since I had to work through a problem like this. You have tried on some account other than just the Firefox one? Does the Google account auto sync?
[General Questions and Answers] HalfOfAKebab:
Yeah, nothing is syncing, it's not just Firefox.
[General Questions and Answers] ktmom:
Is there any setting actually in the Firefox app?
[General Questions and Answers] Droidriven:
Could it be a permissions thing? Perhaps something that you originally denied when you were prompted and is now set as denied by default and doesn't have a specific setting that can be changed other than going app by app checking permissions to find it? Or maybe a data/cache wipe app by app or a factory reset/wipe cache in recovery for a blanket effect to avoid the tedium of going app by app?

Could it be something else that you have installed? Have you tried booting into safe mode to see if the issue still exists? I know you're having trouble with some user apps syncing, but, you also stated that "nothing" is syncing. I'm assuming that includes your google system apps and such? If so, booting into safe mode may allow them to work properly without the user apps running. If so, that tells you that something you installed is interfering.
[General Questions and Answers] GoJo ^^:
Hello,i need my Android to restart everyday at a certain time. But i need SOFT reboot. How can i schedule it? I have tasker, it does NOT offer SOFT reboot option by default so i made some google searches and found out shell command "am restart" or "killall zygote" would do, tried both :it works when testing BUT after 1 single time, i check in tasker and the task has changed itself automatically from "shell command" to "normal reboot"..!! There should be other options (other apps perhaps?) to achieve this, hope somebody will be able to help me, thanks
[General Questions and Answers] HalfOfAKebab:
Are you asking if Firefox actually has sync functionality? It does, it lets you sync your settings, tabs, history, etc. across multiple devices. However I can't find any sync settings in Firefox's settings (but it definitely does sync, because I can manually sync and it works, it's just automatic syncing that's the issue).
[General Questions and Answers] DiamondJohn:
This is going to sound a little like a bit of a faceplant, but there is actually a shell command as follows::D

reboot;

You can also test that (and >500 more shell commands) using a utility app (with a search functions there are sooooo many scripts) I built, which includes the above. It allows you to see and save off the scripts.

https://xdaforums.com/android/apps-games/app-temefi-comprehensive-documentation-t3806260

Killing Zygot is NOT a good way. Also, in the above app, I also issue the sync command before the reboot, to force the system to write all delayed / cached IO to permanent storage before the reboot. ie

sync;
reboot;
[General Questions and Answers] GoJo ^^:
There's another command that's "am restart". Is yours, "reboot;" SOFT reboot? Because i DONT want regular reboot! Thanks then :) I'll try your app.
[General Questions and Answers] Droidriven:
Or maybe try one of the apps in PlayStore that have the reboot options built into the app. You have tasker so you should be able to configure/schedule Tasker along with the app to schedule reboots when you want.

Granted, setting automated commands as [MENTION=5417899]DiamondJohn[/MENTION] described would be better.
[General Questions and Answers] DiamondJohn:
No, my command is a normal reboot. What is a "soft reboot"? and is there any UI for achieving what you mean? and to reinstate what I have already said, killing Zygot is the complete opposite of a soft reboot.

Wait a sec, do you mean "reboot System UI"? which is NOT a reboot.
[General Questions and Answers] Droidriven:
No, he means a reboot, just not a "full" reboot.

There is the normal reboot that involves completely stopping all running processes(including system/kernel level software), powering down and then restarting the device, in that order automatically. With this reboot, the device must completely reload and reinitialize everything from "top to bottom".

Then there is a "soft" reboot that involves only stopping some of the running processes(mostly stuff that isn't kernel level software, a mix of some non-vital system stuff along with all the user stuff), powering down(somewhat, yet not completely) and then restarting the device. Unlike the "full" reboot, it only has to load the processes that were stopped, not the complete system/kernel level software. It is just a more efficient reboot than a full reboot because it doesn't necessarily require "rebooting" the hardware, so to speak. Since the kernel is still active at the point of shutdown, the hardware and kernel just pick right back up where they were at the point of shutdown. The hardware doesn't really have to "restart"(one of those "it is, but it isn't" kinda things)it is more or less, just returning to a powered/running state and the kernel doesn't really have to "reload", only the software on top of all that is restarting, the OS, system and user software, mostly.

Basically, a full reboot restarts everything from the hardware layer up. A soft-reboot restarts everything from just after hardware layer/kernel layer at the point that the kernel hands off to the OS/system/user. A "hardware" reboot vs. a "software" reboot. Hence "hard"(hardware) reboot vs "soft"(software) reboot.

This isn't to be "specific", it is just a crude explanation that can be better defined by others that understand it more specifically than I.

By the way, my suggestion earlier should work for you if command isn't. Just find any app in the Playstore that has the reboot options that include the reboot option that you want. Then use Tasker to tell it when and how to reboot.
[General Questions and Answers] ktmom:
In top of all of the other valuable assistance you are getting, I would like to see your Tasker task (export -> description to clipboard) that includes the run shell action you say is getting switched to a reboot. Tasker should just run the command you tell it to run.

An alternative might be to use the Termux terminal app, create a script then use the Termux:Tasker plugin to execute the script.
[General Questions and Answers] DiamondJohn:
This "soft reboot", what is the "normal" way to initiate it? I don't recall ever seeing an interface for it, in Android itself (ie a supported feature). I build ROMs from source, and part of the ROM (ie the software) booting is the starting and initialising of the individual hardware components. I don't see how they would be separated. :confused:

I did a web search on the term, and the only thing I saw was killing Zygot (like the user originally explained) but that's just basically bringing android to its knees, as quick as possible, in the most unpleasant of ways.:crying:
[General Questions and Answers] mrrocketdog:
i know this isnt technical , but the soft reboot starts with the bootanimation. not from the "begining". :)
[General Questions and Answers] Droidriven:
I'm not sure if this answers what you are asking, but...

I'm not sure about the "normal" way or "supported feature", but, I was referring to root enabled user apps that have the function, not something "built-in". As you say, I've only seen root enabled user apps and custom ROMs have the "advanced reboot" options.

As for the question about software initilaizing the hardware, that's kinda tricky. I could easily be wrong, but, from what I understand, the kernel(which is somewhat part of the ROM/system, but not exactly because it plays "middle-man" between hardware and software, "separate" from them, to a degree) does its thing before the OS does, otherwise, the software doesn't know how to use the hardware that it is initializing because the kernel is what connects software with hardware. What I'm trying to say is, there is a bit of a blur between hardware and kernel because they are so closely associated and a blur between kernel and OS because they are so closely associated, whereas, hardware and OS are not so closely associated because they have the "middle-man" between them and neither hardware nor software know what to do without the kernel. Bootloader starts the process(actually the Boot ROM is first, then bootloader), then the kernel, then the initializing that you mentioned, then all the cache/software services/processes start(the OS/system, basically). On a side note, some devices have the kernel as part of recovery partition(or some other partition) instead of system partition, that is just to say that it isn't always built in to system.

I've always thought it was wierd with devices that have the kernel built into the ROM since the kernel has to load before any other part of ROM/system software loads. The kernel doesn't depend on the software as much as the software depends on the kernel.

But, I see what you are saying, even though the kernel "loads" before the OS, the hardware doesn't initialize until the init layer and the OS start. But, if you think about it, the hardware and kernel are doing their thing from the moment that you press power and the device powers on, long before anything from the OS starts. They are also doing their thing even when the device is powered off but charging, the OS isn't really doing much other than what is required to show the charge animation, mostly. Also when booting/booted into fastboot mode/download mode/other flashing modes and recovery. Not much of the OS, if any, is doing anything in these modes.

Do keep in mind, it has been I while since I've read/studied/thought of these specifics, but that is the basics of it as far as I remember.

Please correct me wherever that isn't quite correct. I'm always open to specifics because no matter what we know about android, nothing is so universal that it applies to all android or all devices. There are ALWAYS, differences and exceptions that don't make sense compared to how things work with "this" device/android version or "that" device/android version.

Such as Intel, it's a bit different than any of the above.
[General Questions and Answers] SubwayChamp:
About reboot we all are agree, no confusion at all but I think that regarding "soft" reboot also called "hot" reboot is the

entire software

that is restarted including of course systemUI, usually used in the old days for example by CyanogenMod ROMs to can apply some themes (in the very beginning of its development), this to can reload some overlays that along the time was replaced with on-the-go implementation, and actually can be useful to -within other things- when the touch or an app is not responding.
[General Questions and Answers] AlFoNsOoo:
Hello friends of the forum, I am trying in every way to get the Smartisan Nut 3 Pro smartphone, but it is on sale only on Aliexpress.

Do you know if there are other online stores that sell it? Or can I trust Aliexpress?
[General Questions and Answers] Raresh T:
I ve bought a case from Aliexpress and it took two months to deliver. The phone seems good, but ordering from China is going to be risky. You might even lose all your money. Don't know trustworthy online store to deliver from China. I would suggest to try searching for the similar phone for other countries. Some phone gets cloned under different names (Gionee in India, Allview in Romania). Perhaps there's such option.
[General Questions and Answers] Droidriven:
Be careful, AliExpress is known for selling knock-off/cloned devices/products, you may not get what you think you are getting.
[General Questions and Answers] balachandarsmr:
November 2018 security update failed on brand new MI A2

I have purchased MI A2 two weeks ago. My mobile is not rooted and running on stock Android oreo. System security update installation is always failing. I have tried multiple times. I can't install system update.

[IMG="About phone"]https://i.postimg.cc/q0mCWGw5/Screenshot-20200220-112715.jpg[/IMG]

Please don't suggest me flashing. I don't have computer.
[General Questions and Answers] Raresh T:
Your phone might not be running the latest official oreo ROM. It might have been tampered with, by using an custom rom. Seems that's a problem on reddit (https://amp.reddit.com/r/Xiaomi/comments/axfpul/couldnt_install_system_update_ota_update_not/)

You can only hope to have it replaced, since you just bought it.
[General Questions and Answers] balachandarsmr:
Please tell whether my MI A2 is running official android oreo or fake rom.

Whether my mobile is fake or original?

Because I can't install November 2018 security update. I am confused ?
[General Questions and Answers] SubwayChamp:
There are many cases reported, I'm suspecting that your device is really a Redmi 6X that is the same version than the MA2 for China and with different firmware (Miui instead of Android One) and scheme partition (A instead of A/B) and not intended to be sold outside of it but sellers install a fake global ROM on it, you are lucky that this update didn't apply or your device could it be bricked.

Go to fastboot and type fastboot getvar all and see if you see some string like Wayne, this is the codename for R6X instead of Jasmine of MA2. (Similar cases happened with Sakura instead of Daisy too)

If this is the case unfortunately you'll need an authorized account to flash the proper ROM (R6X furmware) through MiFlash tool, most likely it will match the Chinese ROM and if not, I don't think but.. then the Indian ROM.
[General Questions and Answers] galih_ken:
"Help" Bootloop and still encrypted magisk rooted device with unofficial buggy twrp

So I got bootloop from updating magisk to 20.3 in the manager. I previously flash unofficial tweaked twrp for my unsupported device and I cannot downgrade magisk to prior version because twrp cannot decrypt storage after successful root with magisk 20.1, it shows 0mb. I didn't really think it would be a problem because I didn't plan to flash anything afterward.

I now got bootloop and I can't do anything I can't flash anything and twrp factory reset -that previously temporarily decrypt storage- failed. I don't really want to resort to format data if I can