Install ADB and FastBoot on (soft) bricked phone. - General Questions and Answers

Hello, I have been trying to install a new ROM to my zte axon mini b216 phone, but I messed up somewhere, and now, I can only boot into recovery mode, to be able to install TWRP, I read that I need to, install ADB, fastboot for my device, however, the tutorials unlock debugging option for the phone using Android (that I can't boot into).
Please help :highfive: (I have miFavor(recovery))

Related

[Q] Android lollipop installation by air failed!

Hello!
I do apologize if somewhere already is similar problem, but i spend lots of time and couldn't find anything whats would help to my problem.
Couple days ago I had update from google to android lolipop, I followed instructions to start installation. Everything was good, installation stared, but after some time come out masagge (installation failed) and now phone just stuck on boot menu. Phone wasnt root, was on stock rom and usb debugging mode was off, is it possible now somehow enable usb debugging if only what i can do with phone is, get in fastboot mode or is it possible get files out from sdcard through fastboot. I would be happy for any help from you guys to get out my files from phone.
Thank you!
Gazis said:
Hello!
I do apologize if somewhere already is similar problem, but i spend lots of time and couldn't find anything whats would help to my problem.
Couple days ago I had update from google to android lolipop, I followed instructions to start installation. Everything was good, installation stared, but after some time come out masagge (installation failed) and now phone just stuck on boot menu. Phone wasnt root, was on stock rom and usb debugging mode was off, is it possible now somehow enable usb debugging if only what i can do with phone is, get in fastboot mode or is it possible get files out from sdcard through fastboot. I would be happy for any help from you guys to get out my files from phone.
Thank you!
Click to expand...
Click to collapse
If you can get into bootloader, use fastboot to install cwm or twrp, then try use the adb pull command to copy files on your phone to your PC. Or you could make a backup with cwm/ twrp then see what you can recover from that.
Or you can try one of those toolkits, they have all kinds of nifty options.
venu123 said:
If you can get into bootloader, use fastboot to install cwm or twrp, then try use the adb pull command to copy files on your phone to your PC. Or you could make a backup with cwm/ twrp then see what you can recover from that.
Or you can try one of those toolkits, they have all kinds of nifty options.
Click to expand...
Click to collapse
Thank you mate, all done

Leagoo t10 help with bootloader unlock

Hi,
Can anybody help me how to unlock the bootloader and root Leagoo t10.
Thanks.
I solved it myself...
I finaly found a way how to unlock the bootloader...
1. I had to turn off the phone
2. hold the volume up button and insert the usb cable to connect to the pc
3. the phone starts at that point to recovery mode and after it I had to reboot to bootloader (from recovery)
4. then I could use the basic fastboot program (it finaly detected the phone via the commant "fastboot devices") and use the command "fastboot oem unlock" to unlock the bootloader
5. I finaly also had to folow the promt on the phone (the phone asked if I realy want to unlock it) to allow the bootloader to be unlocked
6. The bootloader is unlocked (when starting, the phone shows that its been unlocked)
I think that rooting after this wont be a problem...
PS
I forgot to mention that I also installed PdaNet drivers meanwhile which might be the cause fastboot was able to detect my device...
Hi
Finaly did you manage to root it successfully ?
I am just discovering this phone and I am very interested. But I need it to be rooted
Thanks
No not yet.... The trouble is not the root itself but the backing up before doing it... There are no rooting apps witch can do it automatized yet but that should be solved in the future... The problem is creating the scatter file for backup because the software doing that for Mediathek procesors was not updated for a while and can't handle the 67xx series...
There is presently a flash sale on gearbest, I just ordered it. I hope too that the necessary tools will be available some day. Thanks for the explanation. And wait...
You might be interested that a few days ago there is a downloadable version of the official Leagoo t10 software with all backups and the scatter file included... You can Google it but I believe it was page called something like " need ROMs"...
Now I could try now to Port a custom recovery but after 20 hours of trying I gave up for some time again.... I ported at least 6 recoveries from TWRP and CWM but non worked and the f*cking system of the Leagoo t10 has a failsafe witch automaticky recovers the factory recovery on any standard boot... You should look some time on that need ROMs website because if someone ports a functioning recovery on the t10 that is most probably the first place to be available... If you would have a custom recovery installed rooting would be no problem... Good luck with your new phone... I at least take it the way that I learned more about Android and the ways around it in three months than I have in that last three years thanks to Mediathek...
So I got a version of TWRP working only when you use fastboot to boot to it, the screen is frozen if you try to flash it.
Link here
command is fastboot boot <imgname>
You can root from there, not done much else but playing with it just now.
How did you managed to Port it? I tried at least 3 TWRPs from other mt6797 devices (and modified them trough image kitchen) but none worked... I also tried once to boot to one trough fastboot but that also didn't work... And you said you rooted it with that TWRP but woul it be possible to do MAGISK root this way? Because T10 has only Android 6.0 now and basic root would do the update (when it comes out) harder...
Thanks.
It took me a few hours but I got the LG K10 TWRP to work with it, not sure about MAGISK as I said I only just got it working. I see this device is discontinued now too so unlikely to see much more than this I think.
Thanks... If you got something else working please write about it because it's really hard to find anything useful about this device... And thank you again for the root advice, I will do it as soon as I have some time.
The root worked... With the TWRP from alpha232 I was able to install supersu 2.82 (trough "fastboot boot <image name>" to TWRP and install the zip from there) and my Leagoo T10 is now rooted... (Thanks Alpha232). If someone finds out a way to port TWRP for T10 I woul welcome it if he would share the way how to do it... I woul be also glad if someone could tell me how to go around the failsafe which restores the factory recovery on normal boot for this device.

Need to recover photos from phone - dead Galaxy S6

Hey guys, in a little bit of a dilemma.
My s6, for some reason, cannot pass the flashing "Samsung" logo when booting it up. I have not rooted this phone, nor have I installed a custom recovery or rom. This phone is stock as it gets.
And I need to recover the photos off the phone. Issue is, I thought it would be simple as going into recovery mode and doing adb pull/sdcard/DCIM/Camera or something like that.
BUT I do not have USB debugging enabled!!! Never even turned on developer settings.
I tried to get into bootloader and use fastboot, but fastboot devices shows up with nothing. adb commands do not work, except when I press "install update from ADB", then only the very basic ADB commands work such as adb reboot, adb sideload etc.
So I am not sure what to do from here. Fastboot is not working (I have installed the Samsung drivers from the official webpage, but I haven't restarted my computer so i will try that).
Please help me to recover these photos :crying::crying::crying:
Hi,
If Download mode is working, flash TWRP recovery with Odin.
Go to Mount, select Data partition > Enable MTP and access files from PC.
Recover your data, then flash fresh new ROM https://forum.xda-developers.com/galaxy-s6/general/guide-tutorial-howto-samsung-galaxy-s6-t4108425

[ROOT][TWRP] Wiko Sunny 2 (SPD7731C) Root process with TWRP port (buggy touch)

Hi all! Now we can root our Sunny 2 phones!
I'd make a TWRP port for this device (adb enabled) so we can just sideload the Magisk installer.
History:
After some time having a Wiko Sunny 2 phone, I'd search a lot and didn't find any method for rooting this little thing.
Then I had the idea to mod the stock recovery to allow test keys and then flash anything, tried to do that and didn't work.
Another idea came to my mind: port TWRP from another phone with same chipset. Started my search for a SPD7731c device with working TWRP and after some time found some guy who made a TWRP port for his "Selecline S6S4IN3G" device and as it had the same chipset it worked. Just gathered the recovery.img from the stock rom (thanks Wiko for giving it on they web page) and unpacked it with carliv image kitchen, replaced the stock ramdisk with TWRP's one and just modded some things inside it (default.prop and the init.rc files). As the vold.fstab is the same, didn't need to modify it.
After some testing, the only problem remaining is that the touch doesn't work well (it receives touch input all the time, even if not touched) but it's enough to get our Sunny2's rooted via ADB and magisk's zip.
REQUIREMENTS:
A PC (or another phone with OTG support, if you use a phone then you'll also need an adb binary compiled for ARM)
ADB, Fastboot and drivers: https://drive.google.com/open?id=1N38jqQqX87dEKsBIgDb_9MC-k43YUi85
TWRP image: https://drive.google.com/open?id=1DZhL6RckvzQyxGCq2Yy64Cqnpnnm1Ofp
Stock recovery image (in case something goes wrong you can revert to this): https://drive.google.com/open?id=1spaFc1sqqjFdwzt9cYDfSO_KVh1aYuh5
Magisk ZIP (can be latest or this zip): https://drive.google.com/open?id=1-OPU1JycSr8nVyAGfdkhdajn8Uap_0dl
ROOT PROCESS:
1. While on Android, go to Settings>About this device and toch 7 times Build number (this will enable Developer Options)
2. Now go back to Settings and then Developer options>Enable OEM unlock and USB debugging.
3. Connect the device to the PC and install the correct driver (for doing this just open Device Manager and force the install of Android Composite ADB Interface on your unrecognized device (should be called SUNNY2)).
4. Open a CMD/Terminal and type this:
Code:
adb reboot-bootloader
5. Now type
Code:
fastboot flash recovery path/to/twrp-suny2.img
and after that just
Code:
fastboot reboot
.
6. Now the phone will start, just type in CMD/Terminal
Code:
adb reboot recovery
and you will boot into TWRP.
7. Okay, this TWRP has a buggy touch so just use ADB to install the magisk zip:
Code:
adb shell twrp sideload
, then
Code:
adb sideload path/to/magisk.zip
and finally
Code:
adb reboot
.
8. Nice, now Magisk should be installed. Now with root access, happy modding!
Some things to note:
1) In this guide I did everything via ADB, never booted to recovery or fastboot using button combinations. Why? Simple, on my device I didn't find the correct combinations.
2) You can use TWRP also for factory resetting or installing anything, but via ADB only (as the touch doesn't work properly).
3) If you need any help with this device just PM me!
I hope this guide will be useful for anyone.
CREDITS:
This guy for his work on porting TWRP to his device
Magisk team for his work on making root as simple as flashing a ZIP!
AndroidMTK website for hosting the ADB installer which
I just mirrored!
Stuck in boot loop
Hi ! Thanks for the HowTo !
But...
I followed the exact same procedure (except I had to fastboot oem unlock before flashing the twrp image, in addition to unlocking it in dev mode).
After flashing, the device was stuck in a boot loop : "orange state your device has been unlocked and can't be trusted / your device will boot in 5 seconds". Tried all manners of key combos to reboot in recovery (Vol Up + power is supposed to be the right combo) but to no avail.
Fortunately Wiko provides an "upgrade" tool that allows you to factory reset the device (support dot wikomobile dot com /maj/Sunny2Plus_V24.zip, window$ only) but no luck installing twrp.
Any idea why ? Thanks in advance
tofleplof said:
Hi ! Thanks for the HowTo !
But...
I followed the exact same procedure (except I had to fastboot oem unlock before flashing the twrp image, in addition to unlocking it in dev mode).
After flashing, the device was stuck in a boot loop : "orange state your device has been unlocked and can't be trusted / your device will boot in 5 seconds". Tried all manners of key combos to reboot in recovery (Vol Up + power is supposed to be the right combo) but to no avail.
Fortunately Wiko provides an "upgrade" tool that allows you to factory reset the device (support dot wikomobile dot com /maj/Sunny2Plus_V24.zip, window$ only) but no luck installing twrp.
Any idea why ? Thanks in advance
Click to expand...
Click to collapse
Hmm this device is pretty strange, his key combinations never worked for me (because of that I'd need to reboot into system a few times, instead of booting to fastboot with keys).
You can try this:
After flashing stock rom and allowing oem unlock on settings, reboot directly to fastboot. Then use "fastboot boot recovery.img" and tell me what it says. If it says something about bad boot image, it's normal (that happens in my device even if try to load stock boot.img).
Also there's a tool called SPD Research Download Tool, which let's you flash the phone partitions one by one (manually selectable) from the path you want, while phone is in download mode (volume down and connect USB to PC). However, I don't know if that tool's license allows it's free redistribution, so I recommend research for it before downloading anything.
You can get the stock files by running the wiko upgrade tool, going to the folder it extracted his files and then looking for a file called rom.pac (then unpack it, there are guides here on XDA for doing so). You can even edit the boot splash image lol
Sorry for wasting your time
I'm so stupid ! It turns out my device is a different model, the Sunny 2 Plus.
Sorry, and thanks again
Does anyone know if a custom rom exists for the Wiko Sunny 2?
Klab98 said:
Does anyone know if a custom rom exists for the Wiko Sunny 2?
Click to expand...
Click to collapse
Nope, sold the device some days after writing this post so didn't even bother to port anything.
BTW it's a 4-core phone with 512MB RAM, so what would you expect to run there? I thing nothing higher than MM (KK would be nice if it was not so outdated nowadays)
Hi, i have got a problem with my wiko sunny 2 plus.
i flashed twrp via fastboot, it succeed. but after reboot the phone didnt start,
only shows orange state, didnĀ“t connect to pc anymore with same cable. i mean i can hear the win7 sound of connecting device and right after connect sound appear then disconnect sound follows right after. so i cant detect the device with adb anymore. what to do, any idea? P.S. sp flashtool also cant detect device. greets
merci beaucoup j espere sa marche

Pixel 4a stuck in fastboot loop after trying to flash kernel

I was trying to follow this guide: https://github.com/felikcat/unlimited-hotspot
I used this kernel: https://forum.xda-developers.com/t/...ribute-for-google-pixel-4a-a11-a12-l.4258269/
My device is now stuck in a loop where it will boot to fastboot, but no matter which option I select (aside from barcode and power off) brings me back to the fastboot. I'm unable to boot into recovery mode.
My computer is unable to find my device with adb and fastboot.
Any help would be greatly appreciated
I realized I did not have the USB drivers installed for my device. After installing, fastboot on my computer is able to detect my device, but I am unsure about how to proceed from here
Okay so I followed this guide: https://forum.xda-developers.com/t/guide-unlocking-downgrading-to-a10-twrp-root.4233275/
and was able to complete is successfully. My phone is now rooted on android 10. I have a couple questions
My phone was rooted and on android 11 prior to this incident, but it was so long ago that I don't remember how I did it. Is it possible to get back to android 11?
My second question is that I'm wondering if it's still possible to follow that previous guide, preferably without breaking my phone this time

Categories

Resources