yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Q&A, Help & Troubleshooting] fredduh:
So I bought a stock Xperia Z5 Compact E5823 on which I want to use LinageOS. I managed to set up Cyanogenmod and, later, LinageOS on my previous two phones, but I am not very confident about what I am actually doing, so please excuse if I express myself unclear or if I lack basic understanding. My main problem is that I cannot access recovery mode, neither via volume-down + power-button, nor via ADB.

Phone info: Android version 5.1.1, Kernel version 3.10.49-perf-g6b847e2, Build no. 31.0.A.4.11 (do you need something else?)

I followed the LinageOS guide: https://wiki.lineageos.org/devices/suzuran/install but I fail to flash TWRP.

I unlocked the bootloader, I am able to access my phone using ADB (I'm on a Linux machine) and I can boot into fastboot mode. There I should be able to flash a TWRP recovery in order to flash LinageOS, but if I do, nothing changes.

At first I tried the newest TWRP version (3.2.1): https://xdaforums.com/crossdevice-dev/sony/twrp-3-1-0-z5-z5c-z5p-t3571050 - is this version even compatible?

When running fastboot flash recovery <twrp321-recovery.img>, it says target didn't report max-download-size (what does that mean?) and finishes without errors. However, booting to recovery is not working, the phone just boots normally.

When running fastboot boot <twrp321-recovery.img>, it says FAILED (remote: dtb not found) (what's "dtb"?)

Trying around with different TWRP versions, I found that version 2.8.something works for booting (fastboot boot recovery.img), so I end up in TWRP, but flashing this recovery still does not work, as above: Max-download-size note, no errors, no recovery mode, just normal boot.

I did several factory resets and tried to flash LinageOS using the booted recovery, but then it says something about missing partitions that I don't understand (I could do it again if this information is useful).

Generally: Shouldn't I be able to boot into recovery mode, irrespective of what I did? I did not try it before I started messing around, so I do not know if it had worked out of the box ...

Could I have accidentally messed up my recovery mode? Maybe when I tried to flash TWRP 3.2.1? If so, how do I revert this - how do I set up a working recovery? Do I need to erase/wipe anything specific? I fear bricking this phone ...

I also tried around with FlashTool (https://xperiafirmware.com/), trying to set up a new kernel, thinking that TWRP might need that, but I seem to be too unacquainted with Android OS architecture for this - actually, I do not even know what exactly a kernel is ...

Thank you very much in advance

Fred
[Xperia Z5 Compact Q&A, Help & Troubleshooting] dafrunk:
Hi Fred,

while searching for a similar (or maybe the same) problem on my new Z5 compact I came across your post.

I was trying to install LineageOS and therefore started with TWRP 3.2.1 linked from the LineageOS installation manual(link)

It failed. Many times. The only workaround was booting to recovery mode with the phone booted to stock rom via:

adb reboot recovery

but NOT ONCE it worked with the given key combination. Trying to install LineageOS from that resulted in a completely unusable phone, not even showing the sony logo on boot.

What helped my was flashing the phone with the sony tool "emma" with the latest custom rom (for me 32.4.A.0.160). Whatever magic this does (firmware upgrade maybe), it brought my device back to live and now I can install and boot into TWRP recovery, installed LineageOS.

You can do so by

1 installing and starting emma, just follow screen instructions

2 activate developer mode (tapping on the build number 7 multiple time (under settings/about phone)

3 activate adb debugging under settings/developer settings and authorize phone

4 power off the phone

5 connect the phone to the pc

6 press and hold volume down button until the led becomes green

The device will appear in Emma and you can flash it back to life.

Let me know how it worked for you,

Frank
[Galaxy S 4 Q&A, Help & Troubleshooting] Krishnadev Koloth:
I rooted my android and now whenever I switch it on the Samsung boot logo stays on but it never finishes the boot and when I remove the battery and boots it up it works perfectly. Can someone Pls help me for that long initial boots (I am a noob) because of it I can't update my android via flashfire
[Galaxy S 4 Q&A, Help & Troubleshooting] audit13:
What is the phone's model #? How did you root?
[Galaxy S 4 Q&A, Help & Troubleshooting] Krishnadev Koloth:
The phone model is sgh-i337m and I rooted my phone using kingoroot and later replaced it with SuperSU because kingoroot was not letting me download anything and that meant not receiving any WhatsApp message.
[Galaxy S 4 Q&A, Help & Troubleshooting] audit13:
I recommend flashing the latest stock ROM and then root by installing twrp and flashing supersu through twrp or flash a stock ROM and root using Odin and cfautoroot.
[Google Pixel 2 Questions & Answers] damnrecoverymode:
I was trying to flash stock rom in my Pixel 2 which had the march update and I am getting the error

Here's what happened:

I unpacked my phone, updated it to the latest OTA version available (the March version) using the OS update function. Then I followed a tutorial in YouTube to root the phone using Magisk (https://www.youtube.com/watch?v=M-0NIUUvYI4). It worked well, I had root access and I could boot into the phone as normal. All this was done using the latest platform tools, image and usb drivers

I then decided to recheck for updates. A new update appeared, the one from April. I tried to install it and I couldn't. I figured out it was because of the root. I tried to uninstall Magisk using the restore stock image (or similar, can't remember the name of the option) but said "Stock backup does not exist" So I decided to flash the factory image of this April update (I verified it was the correct one for my device. Maybe it could have been the March update, but it has been a wild ride and I can't think clearly anymore) and after that my phone won't boot back up, it is stuck in the bootloader. Sometimes if I use the flash-all of the factory image or modify the script to change the order of the flashing of images I can get to the screen with the Google words in a white background and an open padlock, but that's it. The bootloader is still unlocked

How could I troubleshoot if it is a hardware issue? How could it had damaged itself so quickly, literally I used it only for 30 min before attempting the root process. Sometimes I also do get ERROR: Slot Unbootable, but if I reflash with the script I usually end with the above error

I tried following the instruction to run the deuce script modifying the script such that:

Commented out the unlock_critical as

::fastboot flashing unlock_critical

the boot slots are as follows: https://pastebin.com/NTapvzXV

I ran getvar all if it is useful: https://pastebin.com/bKA20Jvy

But I am still getting the same error. I am desperate to fix since I haven't even used the phone at all and it is completely new.

Please, I need your help urgently

Here is the output from the flashing process: https://pastebin.com/AwiAyrWh

I think the problem seems that I am unable to mount the vendor partition:

When I try sending the command manually I get this:

fastboot flash vendor_a vendor.img
target reported max download size of 536870912 bytes
erasing 'vendor_a'...
OKAY [ 0.130s]
sending 'vendor_a' (354100 KB)...
FAILED (data write failure (Unknown error))
finished. total time: 8.012s

When I try wiping or something along those lines with TWRP it says

Thank you
[Google Pixel 2 Questions & Answers] westhaking:
Be sure you have the very latest platform tools for your OS and try again. https://developer.android.com/studio/releases/platform-tools.html
[Google Pixel 2 Questions & Answers] damnrecoverymode:
Unfortunately when I started all this process that was the first I did, download everything anew from the official sites.
[Google Pixel 2 Questions & Answers] smokie75:
Download the April factory image and try again. I had this same issue due to not using the most up to date platform tools and not placing the unzipped contents of the april update in the platform tools folder.
[Google Pixel 2 Questions & Answers] damnrecoverymode:
That's exactly what I did unfortunately. The thing is I am unable to flash the vendor image.
[Google Pixel 2 Questions & Answers] Telperion:
Try a different USB port on your computer, preferably a USB 2 port instead of a USB 3 port.
[Google Pixel 2 Questions & Answers] damnrecoverymode:
Would that help with problem of being unable to mount the vendor partition? I tried but the same problem persists
[Google Pixel 2 Questions & Answers] Telperion:
Potentially, there are reports of sporadic issues with USB ports and USB cables around the forums.
[Google Pixel 2 Questions & Answers] Mangtas_666:
Flashback the March firmware. Its gives you error because your not using the right firmware that was installed in your pixel.
[Google Pixel 2 Questions & Answers] damnrecoverymode:
By firmware do you mean the factory image? If so already tried to do that with Deuces script, that is: Download latest platforms tools and the correct factory image, then extract the first .zip and try the flash-all.bat, then when that doesn't work unzip the internal zip and try the script but to no avail. In both cases, as I said, I am unable to mount the vendor partition.

But if by firmware you mean something different, could you please point me in the right direction to download and install it?

I have seen this (https://developers.google.com/android/drivers#walleye), what is that vendor image in there?

Thank you for your help
[Google Pixel 2 Questions & Answers] Mangtas_666:
I didn't use the deuces tool i just copy the necessary files direct to the platform tools folder then edit flashall.bat delete the -w if you dont want to wipe your device. Grab the march firmware at google site then unzip it copy all at the platform tools folder go to fastboot then click flashall.bat

---------- Post added at 06:18 PM ---------- Previous post was at 05:56 PM ----------

Grab it here...https://developers.google.com/android/images
[Google Pixel 2 Questions & Answers] damnrecoverymode:
Yes that's what I've been doing to no avail :crying:
[Google Pixel 2 Questions & Answers] Mangtas_666:
Can you go to fastboot? What does it say when you try to flash back to stock?
[Google Pixel 2 Questions & Answers] damnrecoverymode:
What it says is what is in the first post. You can check all the information I've been able to recompile. But I think the key problem is here:
[Google Pixel 2 Questions & Answers] Mangtas_666:
Try different pc and cable
[Google Pixel 2 Questions & Answers] bower95:
Try switching to system B? Could also try uninstalling your usb driver and rebooting, then reinstalling it. Also if youre using something like LibUsb, that can mess with adb sometimes.

Do not use toolkits or whatnot. Download everything yourself, from official google links.

Platform tools: https://developer.android.com/studio/releases/platform-tools.html

Firmware: https://dl.google.com/dl/android/aosp/walleye-opm2.171019.029-factory-41296266.zip

I, personally would NOT try flashing an older firmware as these phones have rollback protection. The newest firmware should work, I just used it to return to stock to get the newest security updates.
[Google Pixel 2 Questions & Answers] Telperion:
I'm 99% sure this is a port / cable / driver issue, try all of this on a different computer with USB 2 ports and a fresh driver setup.
[Google Pixel 2 Questions & Answers] damnrecoverymode:
Sure it was. Had to ask to a neighbor his computer and cable to test and it really worked! Thank you for your help mate!
[Google Pixel 2 Questions & Answers] jamuir:
I've also experienced fastboot issues with the Pixel 2.

After a few successful flashes using my laptop, I started to hit errors when flashing the system partition.

I now check for fastboot broken-ness by repeatedly running "fastboot getvar all" (say, 10 times).

If "getvar" fails, then it is time to try flashing using another machine.
[Google Pixel 2 Questions & Answers] Irfy84:
Possible solution

Has the OP ever found a solution to his problems? I stumbled upon this thread with similar issues, by searching for "FAILED (Write to device failed (Unknown error))". My problem looks like this:

After a few shots in the dark, I managed to resolve the issue by reducing the sparse file size, specifically this fastboot option:

Using -S 256M did it for me (the default was just short of 512MB). So the last line in my flash-all.sh looked like this in the end:
[Xiaomi Mi A1 Questions & Answers] dancress:
So, I got my A1 yesterday. I let it live for a night but that's the most I can do without root. Anyway, no dice.

I tried Magisk on Stock. Bootloop.

I tried Magisk on Google Experience. Bootloop.

I tried SuperSU on Google Experience. Bootloop.

The interesting part is that it acts exactly the same every time no matter the ROM: first it'll ask for the PIN, then crash and reboot. Then it does it again *sometimes*. But sure as hell it'll end up at the boot animation ad infinitum. What gives? Anyone had more luck?
[Xiaomi Mi A1 Questions & Answers] Thempo:
Did you by any chance disable a service, like location services for example?
[Xiaomi Mi A1 Questions & Answers] .:Addicted:.:
Flash stock using miflash.

Then again try magisk on stock??
[Xiaomi Mi A1 Questions & Answers] dancress:
Hm. Looks like I have it. Suddenly worked. I have no explanation. I sound like my mom now - but I didn't do anything!
[General Questions and Answers] noskojv:
Here we discuss UMIDIGI S2 Lite

TWRP 3.2.1 for S2 Lite

Download here - https://drive.google.com/file/d/1QrSYNWrF3AsHxbZXtMOFjA_GoVbZe14w/view?usp=sharing

Google Phone for S2 Lite

Don't forget about backup (only system section).

Flash it through TWRP without any wipe , just flash !

After installation, the new app will ask for rights, give.

Download here - https://drive.google.com/file/d/1wszZlk12xrKYdVctYizKd6FwhaMPUcXe/view?usp=sharing
[General Questions and Answers] captain2k20:
link is down
[General Questions and Answers] noskojv:
already work
[General Questions and Answers] captain2k20:
hello this twrp and is it operational?
[General Questions and Answers] noskojv:
Yes.
[General Questions and Answers] noskojv:
LITE versions of stock firmwares for installation via TWRP.

20180402
[General Questions and Answers] MR01:
There are other roms elsewhere, i only found this topic.
[General Questions and Answers] captain2k20:
I just flashed twrp but when I start this one it asks me for a password?
[Windows Mobile Development and Hacking General] Nightcookie:
Hi there,

some of you are working miracles with the HTC Home plugin, so I thought I could ask:

Can you make the HTC Weather tab available as a separate Today plugin?

I know there are various much more powerful weather programs available, but the info from HTC weather is enough for me and I just think that

- it's finger-friendly and simple

- it delivers accurate weather for my location :)

I don't need the rest of HTC Home, so that's why I'd like to have HTC's weather as a separate today plugin. Can it be done?

Any ideas much appreciated.

N.
[Android Q&A, Help & Troubleshooting] thescreensavers:
Hey All,

I have a Pixel 2 XL on Stock 8.1.0

My media volume keeps on getting set to MAX is there a way to log it so I can see what app is doing this?

It happens ~once an hour.
[Moto G4 Plus Questions & Answers] Ismael034:
Hi, I have a moto G4 xt1622, when I install on my device a 64 bit Oreo Rom with Gapps from the official website it bootloòps, but when i flash it without gapps it works. It's because moto g4 is no longer compatible with ROMs? Any other 32 bit ROM work fine. But almost all new ROMs are 64 bit

Thanks
[Moto G4 Plus Questions & Answers] strongst:
What gapps package exactly do you want to install? You know there are 32bit and 64bit ones?
[Moto G4 Plus Questions & Answers] Itsoth:
Try this

https://xdaforums.com/moto-g4-plus/help/bootloop-flashing-gapps-8-1-t3764334
[Moto G4 Plus Questions & Answers] Ismael034:
Thanks so much, it worked :)
[Moto G4 Plus Questions & Answers] corlatemanuel:
Please hit that madafrickin thanks buttooon

Just kidding, please get the joke.
[Samsung Galaxy S9+ Questions & Answers] salada2k:
I flashed TWRP and a custom ROM, but decided to go back to Stock whilst waiting for Magisk since Google Pay is not working (and I miss it).

Flashed a stock official ROM via ODIN, everything checked out fine.

However, even though I am now fully stock, Google Pay is still claiming my device does not meet requirements. On further investigation, Safety Net is failing due to 'CTS Profile Mismatch'.

I would have thought going back to full stock should have resolved this.

Anyone know how I can fix this?

Thanks.
[Samsung Galaxy S9+ Questions & Answers] koko115:
+1
[Samsung Galaxy S9+ Questions & Answers] JacobTB:
This is caused from rooting/installing a custom rom on your device previously. This has triggered the KNOX fuse in the device which cannot be undone. This is causing the CTS mismatch because it has ruined the integrity of the device and Google’s protection measures will see it. However, you can hide the CTS mismatch using Magisk Manager. I believe you can install this without a custom recovery from downloading the Magisk Manager and selecting the patched boot format in settings to .img.tar then go to the main menu and installing. This will then let you install Magisk in ODIN.
[Samsung Galaxy S9+ Questions & Answers] salada2k:
The issue turned out to be I flashed back to stock via ODIN before relocking the bootloader. I had to wait another 7 days for OEM Unlock to reappear, so I could actually relock the bootloader. After that, CTS Profile mismatch was False and Safety net passed once again, and Google Pay started working.
[Samsung Galaxy S9+ Questions & Answers] JacobTB:
Great to hear its fixed
[Samsung Galaxy S9+ Questions & Answers] alex.do:
How's about your knox? Looks like you dont care?
[Samsung Galaxy S9+ Questions & Answers] salada2k:
Correct, don't care. p.s. It's not working. :p
[Samsung Galaxy S9+ Questions & Answers] warrenarnold:
Can you please explain more the process you did to restore your phone, we have exactly the same issue and need some help.
[Samsung Galaxy S9+ Questions & Answers] zeugma_:
This post makes absolutely no sense, quit bullshitting.
[Huawei P20 Pro Questions & Answers] schleckschling:
Hi together,

I don't get push notification fro Whattsapp Messages and Aquamail mails in standby. After unlocking the Screen, all notifications are coming...

I already tried to deactivate batter optimization...it doesn't help.

Can anyone help me?

Kind regards,

Frank
[Huawei P20 Pro Questions & Answers] tCC:
Maybe allow background running for them?

https://tweakers.net/ext/f/wAx9zMQPvdXmJQtJ0g6VCiBx/full.jpg

Verstuurd vanaf mijn Nexus 6P met Tapatalk
[Huawei P20 Pro Questions & Answers] schleckschling:
Thank you! Problem is solved. I also had AdGuard running and forget to forbid accu-optimization for this app.
[Huawei P20 Pro Questions & Answers] kurtph1969:
Hi,

I'm having the same problem with Microsoft Outlook. I have it set to 'manually manage' in App Launch, but that hasn't fixed things. Any ideas please?
[Huawei P20 Pro Questions & Answers] subhani:
Allow unlimited data access, whitelist from battery saving, and allow to run in background.
[Huawei P20 Pro Questions & Answers] knowingplague:
Allow the app to ignore battery optimization too
[Huawei P20 Pro Questions & Answers] marcolorenzo:
I've tried all the suggestions here and still have trouble. I'd leave my phone for an hour or so, turn the screen on and a whole bunch of notifications come pouring in from WhatsApp, Gmail, Messenger etc.

My settings are:

1. Apps -> Apps -> Special Access -> Battery Optimisation -> Not Optimised (for all my email and messaging apps)

2. Battery -> App Launch -> Manage Manually (for all my email and messaging apps)

3. Wireless & Networks -> Data Usage -> Data Saver -> Off

Is there anything else I need to do? This is a serious problem for me and quite frankly, I need to get a new phone if this keeps happening.
[Huawei P20 Pro Questions & Answers] dudeimstoked:
Launch app, go to recent apps, swipe down and hold app until lock icon appears, win. This worked for all of my affected apps. Good luck.
[Huawei P20 Pro Questions & Answers] marcolorenzo:
Thanks for your reply. I've already done that actually. If you don't touch your phone for say an hour, are you sure the notifications are coming in when it's sleeping and not just when you turn your screen back on?
[Huawei P20 Pro Questions & Answers] dudeimstoked:
hmmm... sorry bro not sure. i dont have gmail, whatsapp, etc set like this because i dont need instant notifications. it worked for other apps i was having issues with not working while the screen was off (or getting turned off) like kevo, llama, and fluid ng.
[Huawei P20 Pro Questions & Answers] marcolorenzo:
Thanks for your help, I've discovered the issue now. I don't remember if someone mentioned this earlier and I'm not sure how I missed it, but the issue wasn't the apps closing when the phone went to sleep (since I did everything to make sure they didn't close), the problem was that the phone would switch off LTE and/or Wifi when the screen is off. The setting that controls this is in: Settings - Battery - More Battery Settings - Stay connected when device sleeps. Make sure this is turned on (it was turned off for me before).

I feel almost certain this was turned on in the past and feel it was only turned off in one of the firmware updates. I most certainly would never have turned that off. I can't believe they would use that as a default option since I can imagine only the most battery conscious users would want that off. They should at least have an option where the phone would automatically turn data back on periodically to check for notifications. I know there are third-party apps that do this but if they're going to include an option like that built-in, they should do it properly.

Anyway, problem solved, hope this helped someone else out there.
[Huawei P20 Pro Questions & Answers] Lexidh:
I have the same issue, but Stay Connected is on, and has been for as long as I've had the problem (2-3 days). No new apps, no new updates, affects all my apps. Driving me nuts. Anything else than doing a full wipe left to try?
[Huawei P20 Pro Questions & Answers] lubikem:
same here, till yesterday everything was working fine, i didn't install a new app, configuration of battery settings, data background running is the same, also app locked in recent to run backround as before. update i did before 3 weeks. very strange
[Huawei P20 Pro Questions & Answers] dusun1:
I'm very sure this problem occur since the newer software update, my device have same issue.

You can check how to remove PowerGenie (the huawei stock battery management), removing PowerGenie 'might' help you fix it.
[Huawei P20 Pro Questions & Answers] Lexidh:
I called Huawei and asked, and got a fix! It's not a huge lump of fun, but this is it:

Settings - System - Reset - Reset all settings

Note: all your stuff is still there after reset. Only thing that happens is that it forgets your wlans, your fingerprints, face recognition, lock screen pass/pattern, and all kinds of logins and permissions on your apps. And your apps will jump out of folders and make a hell of a mess. But it worked splendidly for me, notifications are popping up as they should, when they should. Gave me a nice chance to re-arrange my apps even.

Happy thoughts to Huawei (Norway) for having customer service available on the phone, on a regular number, and answering within a few seconds.
[Huawei P20 Pro Questions & Answers] Saison2018:
I just did it today and it was a complete lost of time. In addition of losing all settings (bluetooth, Wifi, applications and folder on launcher,...) it was not helping with notifications: no Outlook, no WhatApps, no banking app... In other word, nothing, it was worse than before.

I will continue to test settings like controlling launching applications and exclude applications from battery optimization.

"Wait and see" :)