yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] fayerebiscoy:
My phone is already rooted with kingo root via apk( not pc version) . I got a bootlop after i tried to switch kingo root with supersu. I followed the instructions from this thread https://xdaforums.com/android/software-hacking/replace-kingoroot-supersu-manually-t3573361 . I think i got a bootloop from this :

"3. After Setting an Incorrect File Permission.The Android operating system (OS) works on file permissions and hence incorrectly set file permissions may permanently damage or soft brick your device. Here are some of the commonly used file permissions:- 644 (RW-R-R) - (this is most common system permission, it exists in /system/app, /system/framework, /system/etc, /system/lib and allot of separate files) - 755 (RWX-RX-RX) - (mainly used for /system/bin) - 777 (RWX-RWX-RWX) - (used for scripts inside /system/etc/init.d and busybox files)

To fix or reset any of these file permissions, do the following:Boot the device into CWM or TWRP recovery Go to Advanced option.Click Fix Permission and confirm the action. After Restoring a Backup.If the bootloop error occurs immediately after restoring a Nandroid Backup, follow the steps on -(#:2)- to fix it. If everything else fails, just try re installing the original ROM or flash the first official firmware."

I followed all the instructions there when i tried reboot..Infinite bootloop appears. I think I did not follow the instructions well that time.

I have no CWIM OR TWRP RECOVERY. Only appearing is this when i try to go to recovery :

reboot system now

apply update from adb

wipe data/factory reset

wipe cache partition

reboot to bootloader

power down

view recovery logs

apply update from sd card

I already tried "wipe data/factory reset, wipe cache partition" still nothing happens.

If anybody could help please. I have no backup or anything..so stupid for me. I am just new to this also. I cannot post comment from that thread because my account is restricted. My phone is ZenFone 2 Laser ZE601KL
[Android Q&A, Help & Troubleshooting] Manoj Kumar 9779:
My phone is Moto e3 power... I flashed twrp 3.1.1. a. When I turned on it it just showing Moto logo and again it shut down and again showing Moto logo...what does it mean ... Any one plzzz give me a solution
[Android Q&A, Help & Troubleshooting] kudlaty00:
Hi Guys,

Seems like I broke my phone. Had bootloader unlocked and I senc command via cdm to lock it back and...

Now phone has black screen all time, vibrates in regullar time (like it tries to turn on) and while connected to PC I hear connected sound but then after 2-3 sec it goes off (disconnecting sound appears).

Question is is it broken for good or will I be able to get him back to "life" ?

Thanks
[Android Q&A, Help & Troubleshooting] CaptnR:
im stuck in bootloop and cant access recovery. can anyone suggest how to fix it
[Android Q&A, Help & Troubleshooting] Droidriven:
We might be able to with a bit more information.

What is the model number of the device?

Did you flash or modify something that created this issue.
[Android Q&A, Help & Troubleshooting] CaptnR:
I'm on Lenovo K4 Note A7010 a48 . I unlocked bootloader with 'fastboot flash unlock' then flashed twrp then restarted the phone. Then the problem started. The lenovo logo displays then the device restarts. When I hold vol up+power the "been in factory ..... " message shows briefly then the device restarts again
[Android Q&A, Help & Troubleshooting] Droidriven:
When you used the unlock command, did you verify that it actually unlocked the bootloader before you flashed the recovery?

The issue that you posted commonly happens when flashing TWRP while the bootloader is locked.
[Android Q&A, Help & Troubleshooting] CaptnR:
Yes i made sure the bootloader was unlocked.
[Android Q&A, Help & Troubleshooting] Droidriven:
How did you check the bootloader to verify it was unlocked after you used the unlock command? I think it was still locked and that's why this happened.
[Android Q&A, Help & Troubleshooting] Droidriven:
I've never seen the "fastboot flash unlock" command unless you've gotten some kind of code from the manufacturer to unlock the device such as an unlock.bin file and then the command is:

fastboot flash unlock unlock.bin-

are you sure that is the correct command?

I've always seen it this way

Fastboot oem unlock

I think your unlock failed because you used the wrong command, then you flashed TWRP while the bootloader was still locked, which caused your issue.

Flash your stock firmware and start over, if you can.
[Android Q&A, Help & Troubleshooting] anonymomas:
hi. my nexus 6 (on purenexus 6.0.1 ROM) is stuck at boot animation after flashing new ROMs(purenexus 7.1.2, also tried nitrogenOS 8.1)

before i flash the new ROMs, i had already cleared dalvik cache/system/data/cache. (all except internal storage) via TWRP

The way to get out of the boot loop is to launch recovery, flash back the current purenexus 6.0.1 ROM or restore from backup.

Is there other ways to flash other ROM and upgrade to nougat or oreo?
[Android Q&A, Help & Troubleshooting] Droidriven:
Considering what you posted, I think it would be better if you posted in the thread where you got your ROM, the members there would be more familiar with issues with the ROM. Its probably a ROM or a Gapps issue.
[Android Q&A, Help & Troubleshooting] anonymomas:
i thought general discussion section would be better as i failed to flash another ROM too.

anyway i was able to flash to nitrogen OS (8.1) after updating my TWRP. i think the recovery is out of date to support nougat or later.

Thanks for your advice!
[Android Q&A, Help & Troubleshooting] Celebo:
Hello, I've got a bootloop problem with my Asus Zenfone 3 ZE552KL.

Last week i tried to flash twrp recovery, i've done all step but when i restart my phone and tried to enter recovery mode. My phone suddenly restarted and goes back to normal booting.

And just an hour ago, i tried again to enter recovery mode. And it goes restarted again, and my screen goes all black. When i tried to restart it, it always came back to all black screen problem.

What should i do now?
[Android Q&A, Help & Troubleshooting] Droidriven:
Find a copy of the stock recovery that your device had before you flashed TWRP, flash the stock recovery. If you can't find a copy of the stock recovery, try finding the full stock firmware and flash that or extract the stock recovery from the firmware and flash just the recovery.

Your bootloader is probably locked, you have to unlock the bootloader before flashing TWRP.
[Android Q&A, Help & Troubleshooting] Celebo:
I dont know how to connect it with my pc.

because when im trying to enter normal mode, it goes all black screen and the connection to pc is like (connect - disconnect - connect - disconnect and so on) it repeating just like every 2 seconds.

And when i try to connect with pc in fastboot, the device manager have yellow mark on other devices - android (yellow mark)
[Android Q&A, Help & Troubleshooting] Droidriven:
The yellow mark in device manager is because the drivers aren't working right. Have you tried downloading the USB drivers for your device and reinstalling them manually? You may have to uninstall the drivers then restart your PC then reinstall the USB drivers then restart your PC again for the drivers to load properly then try connecting while in fastboot mode.
[Android Q&A, Help & Troubleshooting] lookasgti:
THL 5000T bootloop problem

Hello and good year to everybody!!!I have a thl 5000T and in TWRP i done a terrible mistake(i wiped the "system" section!).From that point and beyond my device is bootlooping and cannot go to TWRP.I tried to put stock rom via SP FLASHTOOLS which ending all the times with succsess(green circle with tick).But the bootloop problem remains...Any idea will be appriciated!!!Thanks in advance.
[Android Q&A, Help & Troubleshooting] Droidriven:
The flash may have been successful but still bootlooping because of data left from before you flashed.

Have you tried booting to stock recovery then factory resetting and wiping cache?
[Android Q&A, Help & Troubleshooting] its_me_vich:
What to do which switched off huawei
[Android Q&A, Help & Troubleshooting] Droidriven:
Depends on what you did to cause the issue.
[Android Q&A, Help & Troubleshooting] ILoveAndroboi:
Odin Error for S3

I put PDA file, like the first step says, but i get this;

<ID:0/005> Odin v.3 engine (ID:5)..

<ID:0/005> File analysis..

<OSM> All threads completed. (succeed 0 / failed 1)

I tried to change last words at the end but no hope. How do I solve this?!
[Android Q&A, Help & Troubleshooting] Droidriven:
Try some of these troubleshooting steps first.

https://xdaforums.com/galaxy-s2/general/guide-t2345831

If those steps don't help you, post here again and we will dig a little deeper into this issue.

Can you tell me what you were trying to flash? Were you flashing your stock firmware or are you trying to flash a custom ROM or custom recovery?
[Android Q&A, Help & Troubleshooting] jotta93:
Help with bricked S5 Neo after Xposed

I everybody!

I have a problem.

I own a Samsung Galaxy S5 Neo SM-G903F with android 6.0.1. Since I wanted to have multiple users, I tried to root it with Xposed from this link (https://xdaforums.com/showthread.php?t=3034811). But after that I couldn't start it anymore.

When I start the phone the screen just stays black after the Samsung logo apears. I then tried to do a factory reset but nothing happened.

Before installing Xposed, I did enable USB debugging. So I downloaded the latest ROM from the Samsung website and tried to installed with Odin, but I got an error.

Can someone please help?

Thank you in advance!
[Android Q&A, Help & Troubleshooting] Droidriven:
I'm assuming that you installed TWRP in order to root and flash the Xposed framework? If so, find the Xposed uninstaller.zip in the thread where you got your version of Xposed, flash that .zip in TWRP and it will remove the Xposed framework.

If you attempted to root but weren't successful with TWRP or Xposed, you'll have to flash the stock firmware for your device.
[Android Q&A, Help & Troubleshooting] jotta93:
Thanks for the reply!

I tried to install a stock ROM with TWRP but it says "invalid zip file format!" I downloaded it from the sammobile website, so I don't know what is wrong :(
[Android Q&A, Help & Troubleshooting] Droidriven:
You are confused, you haven't been paying attention to anything that you've been reading.

TWRP can only flash custom ROMs, it can not flash full stock firmware files. Sammobile does not have custom ROMs, they only have stock firmware for devices. The file you downloaded is not a custom ROM to be flashed in TWRP. The .zip file that you have is intended to be flashed via PC using Odin or Samsung's Smart Switch. If you want a custom ROM to flash in TWRP then you need to do a Google search for:

"Custom ROM for (your model number)"

If there are any custom ROMs for your model number, that search will find it. If it doesn't find a custom ROM for your device then you will have to flash the stock firmware file that you already have via Odin or Smart Switch. The file that you have is in .zip format only for the purposes of making the file smaller so that it can be downloaded quicker. After downloading the firmware file, you are supposed to extract the .zip file to get a .tar file, then that .tar file is the file that is supposed to be flashed, it is not supposed to be flashed as a .zip in TWRP.

If you haven't done enough research to understand that then I suggest you flash your stock firmware to repair the device and then leave your device alone because you don't know what you are doing and you aren't carefully reading or researching to understand what you're doing. You only read enough to get excited and impatient about updating your device.
[Android Q&A, Help & Troubleshooting] jotta93:
Thanks for the fast reply. As I said previously, I'm a noob at this and I did not know that I couldn't use TWRP to flash stock ROM. However, my problem remains, as when I try to use ODIN to flash a stock ROM this happens:

<ID:0/003> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> G903FXXU1BQK2_G903FVFG1BQK2_G903FXXU1BQK3_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> sboot.bin

<ID:0/003> NAND Write Start!!

<ID:0/003> cm.bin

<ID:0/003> boot.img

<ID:0/003> recovery.img

<ID:0/003> system.img

<ID:0/003> cache.img

<ID:0/003> hidden.img

<ID:0/003> FAIL!

<OSM> All threads completed. (succeed 0 / failed 1)

Any idea on what is wrong? I've tried it with multiple ROMs but none works
[Android Q&A, Help & Troubleshooting] Droidriven:
Again, you aren't reading or paying attention.

Directly above the first post that you made here, I posted a thread that has a troubleshooting guide for failed Odin flashing. Read that guide. Look around and ACTUALLY READ through threads, more than just the first post or a page or two, you have to take the time to dig in and find your answer., don't just go to a thread and post a question. XDA's purpose is to make information available, its up to you to do the researching and understanding.

Follow the steps in the troubleshooting guide, if nothing works, we will dig deeper into the issue.
[Android Q&A, Help & Troubleshooting] mirhl:
So.. Don't really know what was going on, nor what happened (logcat, sadly, wasn't an option).

Anyway, I rebooted my ~aosp 6.0.1 Xperia S yesterday (because there was this "saving screenshot" notification that just didn't want to disappear)... Subsequent boot animation never ended.

It was continuing to cycle between "default" brightness and "user specified" one though (as if one of the last steps of of boot was crashing on and on).

Forcing safe mode via recovery wasn't working either.

Imo, something fishy going on with SystemUI.

Long story short, after blindly deleting files from data partition, I found out removing /data/system/users/0/settings_secure.xml finally let system work again.

Notification bar is nowhere to be found, but hey, everything else works alright.

EDIT: seemingly, android [device?] ID was stored there, which meant a lot of auths to re-authorize
[Android Q&A, Help & Troubleshooting] Droidriven:
A reflash without wiping might fix everything.
[Android Q&A, Help & Troubleshooting] ahmeddhaga97:
Never ending loop of booting to recovery

My device is stuck in a never ending loop of booting to recovery instead of the system.

I tried flasing the rom but still...

Can anyone help
[Android Q&A, Help & Troubleshooting] RosyQ:
Hi I have a Soho style smartphone sb500 and I rooted it with kingroot. My pay store wouldn't work or open anymore so I did a factory reset thinking I'd just root it again but now it's stuck in a boot loop on the initial screen that says Soho style smartphones. What can I do?? Thank you in advance ?
[Android Q&A, Help & Troubleshooting] fauzansr:
please help

recently i flashed rr nougat rom and recovery from this https://xdaforums.com/k4-note/development/unofficial-resurrection-remix-5-8-2-t3570195

i managed to turn on my phone, but i cant go into recovery mode. it will bootloop. i cant flash anything. please help
[Android Q&A, Help & Troubleshooting] Droidriven:
Did you verify whether your bootloader was unlocked before flashing?

The recovery file that you flashed, was it made for your specific model number?
[Android Q&A, Help & Troubleshooting] fauzansr:
Yes. I was on rr mm before trying nougat. I did exactly as the thread says. Do you think flashing recovery with adb helps?
[Android Q&A, Help & Troubleshooting] Droidriven:
How you flash recovery doesn't matter, all that matters is that you flash correctly and only using the correct files.
[Android Q&A, Help & Troubleshooting] opika:
Bootloop, bootloop, bootloop

I Have tried all the methods above on my Vodafone smart mini 7 (MTK mt6580) but i have no success. Please help
[Android Q&A, Help & Troubleshooting] jkeuclid:
Not a usual bootlooop but I do have an interesting case, I've recently upgraded to Oreo on my SM-G930F and after the usual rooting procedure of TWRP and SuperSU installation, I then install TiB (Titanium Backup) and tune my system just as I had with Nougat with no issues. Well, after turning off and freezing the usual services and apps I'm used to, I'll exit TiB and then an endless "Android is starting" sequence begins, for the life of me I can't figure out what I'm doing to cause this. I'm sstill in the midst of troubleshooting this and I'll find it but nonetheless I'd like to know if there 'issues' with Oreo and TiB for instance for starters.
[Android Q&A, Help & Troubleshooting] nicaa:
I really need help

follow all the instructions here and was successfully rooted my phone but whenever I restart/turn on my phone, always black screen/can't boot.

Can't access recovery mode too.

I need to reroot again everytime i restart/turn on my phone

my phone is galaxy grand prime sm-g530h
[Android Q&A, Help & Troubleshooting] Anas Rahman:
What method did you use to root?
[Android Q&A, Help & Troubleshooting] :
Hello guys, i have big problem. Initially my device Sony Xperia XA Ultra (F3211) and i installed magisk (was working so good). But i installed camera2api custom enabler and flashed it via magisk. Then when i reboot my device it stucked on bootloop. I tried everything like flash real boot.img.. They didn't work. From other forums, someone said me *erase cache and userdata via fastboot then reboot*. I had access to adb before *erasing cache and userdata* but now command says device unauthorized. Can i enable developer options without phone? How can i save my phone? If i flash stock rom via sony mobile flasher is ist work?

Please help me :(:(:(
[Android Q&A, Help & Troubleshooting] Droidriven:
Since you flashed Magisk, I'm assuming that you have TWRP installed? If so, did you create a nandroid backup in TWRP before you modified your device?

Here are a few methods to enable usb debugging in recovery.

https://gist.github.com/varhub/7b9555cdd1e5ad785ffde2300fcfd0bd
[Android Q&A, Help & Troubleshooting] :
I tried to flash twrp via fastboot, didn't work. It said successful but twrp menu didn't open. I cannot access to my device's shell still it says unauthorized. If i can access shell i can flash them.
[Android Q&A, Help & Troubleshooting] Anas Rahman:
After flashing TWRP try "fastboot oem reboot-recovery" and see if it works. Make sure to type the hyphon or dash b/w reboot recovery

However if it doesn't work and if your phone runs on a mediatek chipset then you can flash your stock boot image with SP Flash Tool.
[Android Q&A, Help & Troubleshooting] Bovaz Paul:
Help me stuck with recovery

My Coolpad note 3 plus got struck in recovery.my phone was rooted.and twrp flased.

After flashing a room my phone only boots to twrp recovery.i tried sp:crying: flash tool but after connecting data cable it again boots to recovery.i tried SP flash in bootloader.but my PC does not detect device in bootloader.what to do plz help me
[Android Q&A, Help & Troubleshooting] Bayboi420:
NJ
[Android Q&A, Help & Troubleshooting] islandmixed:
Great thread, I hope someone can help me.

I have an old galaxy note GT-N7000 which I still use and it’s rooted. Recently it has been giving me issues so I decided to do a factory reset which I thought would just uproot everything. However, it just got stuck on the Samsung Galaxy note screen! It also only boots into download mode, not recovery mode.

I have downloaded a stock N7000 stock rom to flash back to stock, Jodin program etc, including the pit file, but as soon as it connects and tells me to press start, all it says is running but does nothing. It does not flash anything.

Any idea why? Am I using the wrong stock rom file to flash? Are their MAC drivers which need to be updated first. I am all clueless as to what to do.

Cheers for any help guys...
[Android Q&A, Help & Troubleshooting] Bovaz Paul:
Bootz to recovery

My coolpad note 3 plus is rooted and twrp flashed. After flashing a rom my phone got. Soft bricked. Itz now directly boots to twrp recovery. I cant use sp flash tool because itz boot to recovery when data cable connected.I boot to bootloader and connected to my pc but itz not detecting my device.but in recovery storage is detecting.how to fix it plz help me?any other software is helpful plz help??:confused::crying:
[Android Q&A, Help & Troubleshooting] Anas Rahman:
Can't help much since I've never had experience with either MAC or Samsung but you should start by installing latest drivers. Also connect the phone through usb after pressing start button and press power button on phone once (it works this way on SP Flash tool)

---------- Post added at 05:58 PM ---------- Previous post was at 05:56 PM ----------

Connect phone after pressing download button and press power button once
[Android Q&A, Help & Troubleshooting] Bovaz Paul:
I cant do it when a power source connect to my phone leads to recovery.i cant put it rest in power off mode...what to do plz help....
[Android Q&A, Help & Troubleshooting] islandmixed:
Thanks for reply. I think my post was a bit confusing. I definitely have soft bricked my phone, so I am just trying to get it out of this boot loop, stuck on the Samsung logo. I did a factory reset without remembering my phone was rooted. Is their not a file which I can flash with Odin for my model, so I can boot into recovery? I can only boot into download mode.

Thanks
[Android Q&A, Help & Troubleshooting] Droidriven:
Go to Sammobile .com or go to samsung-updates .com, enter your device model number in their search feature to find your stock firmware. Download the firmware for your specific carrier/region/country designated by the 3 letter code shown with the firmware. If the firmware is available for multiple regions/countries but you don't know what 3 letter code you need, do a Google search for:

"Region code for (your specific mobile carrier in your country)"

For example, for my S3, I would search for:

"Region code for SCH-S968C StraightTalk USA"

Find the 3 letter code that applies to your carrier/region, then download the firmware that matches it.

And I suggest finding a Windows system to use Odin instead of JOdin, it's much simpler and has less potential issues to deal with. JOdin gives issues if "other" parts of your system are not properly set up. With Odin, all you need are the Samsung USB drivers and the firmware with no "other" stuff in the system to interfere.
[Android Q&A, Help & Troubleshooting] Anas Rahman:
If you connect phone to to USB after pressing download button on SP flash tool, it'll probably start downloading without going to recovery mode.

Another thing you can do is flash your stock recovery from fastboot or TWRP and then try the same
[Android Q&A, Help & Troubleshooting] Droidriven:
Can you remove your battery, SP flashtool can be used without battery. Remove battery, open SP flashtool, connect the device to PC via USB cord, it "should" boot in download/fastboot automatically when you connect the cord.
[Android Q&A, Help & Troubleshooting] Bovaz Paul:
I tried the same.First select download and connect the cable.but even it's goes to recovery.In recovery my PC can access the storage.But not downloading.twrp is already flashed.itz booting to twrp.and I tried installing many zip roms.but some success and stock rom fails.Any other way like Odin or etc..plz help me.:crying:

---------- Post added at 06:40 AM ---------- Previous post was at 06:33 AM ----------

I can't remove my battery it's inbuilt.but I can access fastboot through twrp.but PC not detecting my device in fastboot.but in recovery it does the storage.any other way dude plz help me...:crying:
[Android Q&A, Help & Troubleshooting] islandmixed:
Hi,

Thanks, I have found a UK firmware so I should be good to go. I have also download Odin on my windows pc. I have not used this thing for years, so is their step to step instructions on how to flash? I hope this works and takes me out of this dreadful boot loop. I can’t even get into recovery mode, the phone is just useless lol

Thanks [emoji106][emoji106]