[GUIDE FOR NOOB] Install Custom Recovery - Android General

As this post is for NOOB Specific, you have to know about what recovery is. Recovery is a piece of software that run aside the Android OS itself and it is called up by the user before booting android to perform some basic functions like Update, Wipe Data etc. However the bundled Stock Recovery is limited in functionality and before flashing Custom ROM, we should install a Custom Recovery. CWM(ClockWorkMod) and TWRP(TeamWinRecoveryProject) are two famous Custom Recovery.So, the main point is, how Custom Recovery can be installed, it can be installed by three different methods, but I will give only two here. But before doing that you have to unlock your bootloader
Download adb and adb driver for your device. Connect the device, open the adb and type the following in the adb Shell
Fastboot devices
Fastboot oem unlock
Way to install Custom Recovery are
The Easiest Method
It the easiest method to install it. It can be installed by download ROM Manager(For CWM, Need Root) and GOOManager(For TWRP, Need Root). Both are available on the app store. However, it does now WORK ON ALL DEVICES.
The Best Method
If you do not want to root your phone or the above methods do not work for you try this method. IT WORKS ON 99.99% DEVICES, if followed correctly. To do this follow the given steps
Download the recovery.img for your device
Install adb and adb driver for your devices
Connect your device to the PC and type following in the adb shell
Fastboot devices
Fastboot flash recovery (location of recovery.iimg
For me it is
Fastboot devices
Fastboot flash recovery d:/recovery.img
Restart your phone. It is all done
Please press the thank button

If you find any problem, please reply me

Sushant Rohan said:
As this post is for NOOB Specific, you have to know about what recovery is. Recovery is a piece of software that run aside the Android OS itself and it is called up by the user before booting android to perform some basic functions like Update, Wipe Data etc. However the bundled Stock Recovery is limited in functionality and before flashing Custom ROM, we should install a Custom Recovery. CWM(ClockWorkMod) and TWRP(TeamWinRecoveryProject) are two famous Custom Recovery.So, the main point is, how Custom Recovery can be installed, it can be installed by three different methods, but I will give only two here. But before doing that you have to unlock your bootloader
Download adb and adb driver for your device. Connect the device, open the adb and type the following in the adb Shell
Fastboot devices
Fastboot oem unlock
Way to install Custom Recovery are
The Easiest Method
It the easiest method to install it. It can be installed by download ROM Manager(For CWM, Need Root) and GOOManager(For TWRP, Need Root). Both are available on the app store. However, it does now WORK ON ALL DEVICES.
The Best Method
If you do not want to root your phone or the above methods do not work for you try this method. IT WORKS ON 99.99% DEVICES, if followed correctly. To do this follow the given steps
Download the recovery.img for your device
Install adb and adb driver for your devices
Connect your device to the PC and type following in the adb shell
Adb devices
Fastboot flash recovery (location of recovery.iimg
For me it is
Adb devices
Fastboot flash recovery d:/recovery.img
Restart your phone. It is all done
Please press the thank button
Click to expand...
Click to collapse
Sorry guys, after the
Fastboot oem unlock
Type
Fastboot format userdata
That's it
Oherwise your phone would have been bricked
Give me a thank if helped

Sushant Rohan said:
Sorry guys, after the
Fastboot oem unlock
Type
Fastboot format userdata
That's it
Oherwise your phone would have been bricked
Give me a thank if helped
Click to expand...
Click to collapse
thanks man, i just bricked my phone, total newbie here >>>> Fastboot format userdata <<<< what cause it

Related

Not Booting in Bootloader

I buy this phone few days ago and wanted to install cm14.1 and read the procedure all but when i try to use adb and unlock bootloader im not able to or my device not getting detect by adb it dose when i use usb tethering but i tried to reboot bootloader no luck then again i tried to boot in stock recovery and select to reboot bootloader it not getting me to fast boot screeen how i can make things go and unlock the bootloader and install twrp and install cm14.1 sorry im new to this device
vincy009 said:
I buy this phone few days ago and wanted to install cm14.1 and read the procedure all but when i try to use adb and unlock bootloader im not able to or my device not getting detect by adb it dose when i use usb tethering but i tried to reboot bootloader no luck then again i tried to boot in stock recovery and select to reboot bootloader it not getting me to fast boot screeen how i can make things go and unlock the bootloader and install twrp and install cm14.1 sorry im new to this device
Click to expand...
Click to collapse
Why choosing hard method
Install kingroot .
Root your phone.
Install flashify
Download twrp IMG
Flash it using flashify
You r done
Like if helpful
Thanks but I made it work actually the screen was in fastboot I wasn't knowing..
And about rooting kingroot is the worst way to root it dosent gives you the Complete root privilege its something like half rooted go for supersu allways
vincy009 said:
Thanks but I made it work actually the screen was in fastboot I wasn't knowing..
And about rooting kingroot is the worst way to root it dosent gives you the Complete root privilege its something like half rooted go for supersu allways
Click to expand...
Click to collapse
Half rooted like what? Example?
U have to download Universal ADB driver from XDA or Google it.
Firstly install adb drivers then download twrp 3.0.2 from twrp official site.
Put files in C:/adb/
Right Click + Shift on adb folder
Then choose command prompt
Open developer options
Enable OEM Unlocking
Enable USB debugging
Attach cable to phone
Phone will shows option
Tick and press OK
Goto command prompt
Commands
abd devices
It shows your device is connected or not
If device shows then type command
adb reboot bootloader
Device will be restarts and stuck on logo or it will shows fastboot mode
Type command
fastboot devices
Your device will be show here
Type command
device oem unlock
It shows message Okay
Your device is unlocked now
Type command
fastboot flash recovery twrp_jalebi.img ( ur twrp name)
Type command
fastboot reboot
Your device is unlocked now.
Now download supersu.zip and install it with twrp
Note:Flash supersu.zip is only required for lollipop version.
In marshmallow and noughat you don't need to flash supersu. If you do same then you will be got a device with bootloop.
In 6.0.1 and 7.0 the root access is already installed . you can got it from developer mode.
Hit thanks if I give you right instructions.

The Ultimate guide to flash and root Xperia L (aka, taoshan)

This thread will guide you to flash a custom recovery, Root the device, flash custom ROMs. Firstly, read the entire post and then start your work.
I am a noob. But I have a little experience of rooting and flashing. This device gave me nightmares which are less than as compared to the Xperia Sola which I bricked some years back.
My device has a problem. It does not help install twrp with the traditional ways we know like we can see in the Official TWRP website using "dd" method, the Cyanogenmod link using fastboot commands, the Flashify method, the RecoveryApp method whose apk I never found and the Recovery Installer Utility.
I came to know that either my phone don't have the recovery partition or the phone is overriding all the commands.
Using fastboot commands would give the error like in this post.
Using Flashify would tell me there's no recovery partition found. Rashr would complete the flash process but after booting to recovery, there was no TWRP, just the stock Android recovery.
If you read carefully on the twrp page of XL, there's a line which caught my attention late enough.
It means that TWRP may not work on your device unless you install other custom software as well.
Click to expand...
Click to collapse
Flashing custom kernels with flashtool is easy and they come with recovery pre-installed and lots of amazing stuff, but they won't do any good with the stock ROM. I've tried the Extended stock kernel, the Phantom Kernel and the Thunderzap 4.15.
After surfing the web and forums of other devices, I found that there is a chance I can fix things by updating/repairing software via PC Companion. But something happened and repair also failed.
I can't tell the reason why this happened. And I didn't store the logs. But with trial and error I found some workarounds.
Actual Methods start here
Rooting the device
If you only want to root your device for various reasons, then you will need nothing but a Rootkit. Check out this post about Rooting Xperia L.
But if you are planning to install custom ROMs for your device, then skip this rooting step. It won't be necessary for this condition.
Flashing custom recovery
*Try this method only if above-mentioned method fails*
1. Download TWRP 3.2.1 img. The 3.2.2 and 3.2.3 versions work perfectly but they caused the screen to flicker like hell on my device. Rename the file to 'twrp.img'
2. Download and install adb and fastboot drivers system-wide.
3. Connect your device to PC via USB cable and enabling USB-debugging mode.
4. Open Windows Powershell/Command Prompt in the twrp download directory by pressing Shift and clicking right mouse button.
5. Use fastboot command on stock ROM without root and Unlocked Bootloader. Instead of flashing twrp image to recovery, flash to boot. Use the code:
Code:
adb devices
adb reboot fastboot
Wait for device to boot into fastboot mode. A blue LED will flash when connected.​
Code:
fastboot flash boot twrp.img
fastboot reboot
After reboot, don't boot to system. Boot to recovery by pressing volume up repeatedly when pink LED glows. Stop when device vibrates and LED color changes
Flashing custom ROMs
Once the recovery is installed, everything becomes easy. you can find different custom ROMs on the device page here on XDA.
My favorite one is The resurrection Remix Nougat. It is stable enough to be your daily driver. You can head to that page and follow their instructions. But I will also provide steps here.
When in TWRP after the last step, move the downloaded zip file of the ROM and GApps you want to install to the storage of the device by simply connecting via USB.
After that, in TWRP click on Wipe->Advanced->Tick on System, Cache, Dalvik cache. Then Do swipe to begin wipe.
After wipe, go back to main menu. Tap on install, select from the list the ROM zip. then tap on Add more zips and select the GApps zip and then Swipe to start flashing.
After flashing, reboot to system. The first boot takes time. Don't panic if it won't boot.
Install TWRP to FOTAKernel
After booting to your new ROM, you can install the TWRP to your FOTAKernel.
This can be done as following:
Get the downloaded TWRP img file and push it to the device using command line. Open command prompt in the TWRP directory and type,
Code:
adb root
adb wait-for-device
adb push twrp.img /tmp/twrp.img
Now extract the TWRP image to the FOTA partition code,
Code:
adb shell dd if=/tmp/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Now reboot to recovery
Code:
adb reboot recovery
Note that custom ROMs often come with Root access inbuilt. If your ROM happened to be not, and your ROM is based on Lollipop or later version of Android, you can root with Magisk. Just read carefully before proceeding.
Comments are welcome!
Hi.
I'm following this thread and I'm stuck on the fifth step "... flash to boot. Use the code:
adb devices​adb reboot fastboot "​
I think my Sony Xperia L C2105 does not have the fastboot mode.
Here's what I did:
Drivers for Xpleria L are installed.
The bootloader is unlocked (I think!)
1 - installed 15-second ADB
2 - open Windows power shell
3 - Command: adb devices
Response is: "List of devices attached: ZH8001ADB3 device"​
4 - Command: adb reboot fastboot
Response is: long pause, phone booted but in normal mode, and light is red ...!​
5 - Command: fastboot flash boot twrp.img;
Response is: "<waiting for device>";
- phone still running in normal mode and the light is red.
- few minutes later, the phone is charging with green light present.​
I think the phone is rooted.
I used the code provided by the Sony website to unlock the bootloader.
Using the Root Checker Basic app, I get the info: "Congratulations! Root access is properly installed on this device!"
But if I type in the dialer *#*#7378423#*#*, and go to Service info > Configuration > Rooting status is "Boootloader unlock allowed" !!
Is that why it does not work?
I tried switching it off and doing Boot into Xperia L Fastboot Mode Using HARDWARE BUTTONS, but the phone is dark, with no picture, and the led turns blue.
Using the command:
PS C: \ adb> adb devices
List of devices attached
PS C: \ adb>
I've been trying to do that for a few days now and I still have not managed it, even using other advice.
Can someone tell me what to do?
Thank you in advance.
Everterra said:
Hi.
I'm following this thread and I'm stuck on the fifth step "... flash to boot. Use the code:
adb devices​adb reboot fastboot "​
I think my Sony Xperia L C2105 does not have the fastboot mode.
.......
Click to expand...
Click to collapse
1. When in fastboot mode, you should type in cmd "fastboot devices" to check the device connectivity. If you can't, then connect using hardware keys.
2. Blue light indicates that you are in fastboot mode. If list of attached devices are blank, that means drivers are not installed (properly). Connect your phone again in fastboot mode and check your drivers page, Win+X > M (I am assuming you must be on windows). There must be a tiny yellow triangle on your device's name. Right click on it and uninstall it and remove device. Try again installing drivers from the flashtool's folder. Disable driver signature enforcement if you are having trouble going the straight way.
3. Your bootloader is still locked because if it had unlocked then the message displayed would have been, "Bootloader Unlocked: Yes" or something like that. Try flashing your stock ROM via Flashtool. Wipe cache and data while flashing. After flashing stock Rom, try unlocking bootloader again. I believe you are using Flashtool.
4. If you are rooted, then you must have any SuperSU app installed on your device. And it's all good even if you are rooted.

[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

Alcatel TCL A502DL/A501DL root/custom recovery/custom roms?

Is there any way to get root/custom recovery/custom roms on the A502DL or A501DL? If so, how?
lehmancurtis said:
Use the boot mode tool from here for the a501dl. It definitely is unlockable! You can grab the TWRP.img I compiled for the a501dl from this link.
Click to expand...
Click to collapse
Bump. I found some information, but unfortunately the instructions are not very clear. I assume lehmancurtis means to go to fastboot with the boot mode tool, and then flash the TWRP.img with adb. However, I am not sure if this is the right way to do things and I do not have adb drivers for the A501DL or A502DL.
lmgnsa said:
Bump. I found some information, but unfortunately the instructions are not very clear. I assume lehmancurtis means to go to fastboot with the boot mode tool, and then flash the TWRP.img with adb. However, I am not sure if this is the right way to do things and I do not have adb drivers for the A501DL or A502DL.
Click to expand...
Click to collapse
adb and fastboot include a generic Google driver and the VCOM driver installer for mtk includes what you'll need. Once in fastboot...
Code:
fastboot oem unlock-go
Follow the instructions on your device to unlock the bootloader. Then boot to system and reboot to fastboot with bootmode tool. Once in fastboot...
Code:
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot oem reboot-recovery
Then it should boot to TWRP. Be sure to format data f2fs to remove encryption so you can mount data.
And you will need to install Magisk from recovery to have root and keep. OEM recovery from replacing TWRP.
lehmancurtis said:
adb and fastboot include a generic Google driver and the VCOM driver installer for mtk includes what you'll need. Once in fastboot...
Code:
fastboot oem unlock-go
Follow the instructions on your device to unlock the bootloader. Then boot to system and reboot to fastboot with bootmode tool. Once in fastboot...
Code:
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot own reboot-recovery
Then it should boot to TWRP. Be sure to format data f2fs to remove encryption so you can mount data.
And you will need to install Magisk from recovery to have root and keep. OEM recovery from replacing TWRP.
Click to expand...
Click to collapse
Just to confirm:
To prevent the OEM recovery from replacing TWRP, I have to flash Magisk.
If I flashed a gsi, would this problem still be present?
edit: if I wanted to flash a gsi, would I be able to flash "A" only roms, "AB" only roms, or A/AB roms?
edit2: @lehmancurtis plz help me
@lehmancurtis : How do you get the a502dl into fastboot mode? I have tried everything that I can think of, and nothing works! Thank you for all of your help, m8!
fliproc said:
@lehmancurtis : How do you get the a502dl into fastboot mode? I have tried everything that I can think of, and nothing works! Thank you for all of your help, m8!
Click to expand...
Click to collapse
Use a tool that controls bootmode. Mtk-mode-selector
lehmancurtis said:
Use a tool that controls bootmode. Mtk-mode-selector
Click to expand...
Click to collapse
Please help, it says "waiting port" forever
Thanks for the reply! I tried this tool, along with adb commands, etc., and I just can't even get fastboot. This would be an AWESOME phone, if not for this dumb crap!! The phone I had before this one is a Z717VL, and it sucks as well. They are both Tracfone phones that were given to me by my wife. I think I'll just get a Galaxy S8 or so and just root it instead. All other phones that I had on Verizon in the past have been super easy... just a One-Click-Root. Thanks everyone for your time and help!
lehmancurtis said:
adb and fastboot include a generic Google driver and the VCOM driver installer for mtk includes what you'll need. Once in fastboot...
Code:
fastboot oem unlock-go
Follow the instructions on your device to unlock the bootloader. Then boot to system and reboot to fastboot with bootmode tool. Once in fastboot...
Code:
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot own reboot-recovery
Then it should boot to TWRP. Be sure to format data f2fs to remove encryption so you can mount data.
And you will need to install Magisk from recovery to have root and keep. OEM recovery from replacing TWRP.
Click to expand...
Click to collapse
lehmancurtis said:
Use a tool that controls bootmode. Mtk-mode-selector
Click to expand...
Click to collapse
Are you sure the method you thought of works? The bootmode tool you linked cannot get the A501DL to fastboot mode, it just says "waiting port" forever.
@lehmancurtis I feel like you might be lying about whether or not your method works, as the boot mode tool does not work. @lmgnsa did it work for you?
I got it to work by loading the boot mode tool, selecting fastboot, and plugging the phone in when it is turned off while holding volume down.
Then you can unlock the bootloader.
williamhancock328` said:
I got it to work by loading the boot mode tool, selecting fastboot, and plugging the phone in when it is turned off while holding volume down.
Then you can unlock the bootloader.
Click to expand...
Click to collapse
I cannot get to fastboot even if I follow these steps... @williamhancock328` @lehmancurtis
It still says "waiting port" forever.
Make sure to install the MTK VCOM drivers first, the android drivers from google or samsung will not work!
Mediatek USB VCOM Drivers (all MTK devices).zip | by www.foldertips.com for Utilities
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
I was able to bootloader unlock my Alcatel 3T 8, even being on tmobile using the boot selector tool
mickeybeats said:
Make sure to install the MTK VCOM drivers first, the android drivers from google or samsung will not work!
Mediatek USB VCOM Drivers (all MTK devices).zip | by www.foldertips.com for Utilities
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
I was able to bootloader unlock my Alcatel 3T 8, even being on tmobile using the boot selector tool
Click to expand...
Click to collapse
I have already installed the MTK VCOM drivers multiple times, I don't know why it still doesn't work.
T
lmgnsa said:
Just to confirm:
To prevent the OEM recovery from replacing TWRP, I have to flash Magisk.
If I flashed a gsi, would this problem still be present?
edit: if I wanted to flash a gsi, would I be able to flash "A" only roms, "AB" only roms, or A/AB roms?
edit2: @lehmancurtis plz help me
Click to expand...
Click to collapse
lmgnsa said:
To keep recovery from being replace several files need to be disable (various approaches are effective i.e. removed, replace, or renamed). Magisk usually handles this task, but sometimes there are exceptions. But, you need to address that before flashing gsi's for multiple reason and none are fun to deal with. Yes, this is A only and does not use A/B update method (at least not entirely as a few partitions are making use of the A/B partition labels). I've not been doing much with this particular device since mine was cracked and the usb port messed up when I got it, so nature took its course before I was able to achieve a fully stable custom setup.
Click to expand...
Click to collapse
sj78 said:
I cannot get to fastboot even if I follow these steps... @williamhancock328` @lehmancurtis
It still says "waiting port" forever.
Click to expand...
Click to collapse
It sometime takes a few tries to get the phone and tool to do what its supposed to, but if you get the waiting message start over until the program reboots the device. It will work, it's just not a perfect process.
lmgnsa said:
Just to confirm:
To prevent the OEM recovery from replacing TWRP, I have to flash Magisk.
If I flashed a gsi, would this problem still be present?
edit: if I wanted to flash a gsi, would I be able to flash "A" only roms, "AB" only roms, or A/AB roms?
edit2: @lehmancurtis plz help me
Click to expand...
Click to collapse
You need to modify a few files. It's almost just like the 5059 devices and you can look up the 5041c thread to see what needs edited. Use the fstab.mt6739 from the 5041c.
Here's the tool. I think some of the links to it got messed up. Make sure you turn on developer options and check that oem unlock is ticked as well as adb usb options. Once in fastboot, issue the following
Code:
fastboot oem unlock-go
Follow the instructions on the device. Then boot into system and complete setup so that you can turn on developer options again since your device was just reset. Boot to fastboot once again and issue these.
Code:
fastboot flash recovery ./recovery.img
Code:
fastboot oem reboot-recovery
That should be the custom recovery you just installed. It will be replace on reboot if steps are not taken. I was in the process of working this issue when my beat up a501dl succumbed to its varied and multiple impact injuries. If I can find the time to repair it I will finish where I left off, but in the mean time I will help as much as I can.
Regular drivers are built into the phone but you may need vcom drivers. I'm going to attempt to repair mine enough to reset and flash again. I'll probably have to nav my screen via commands, but I will attempt to capture the process and show you.
I've got a A501DL, I enabled usb debugging and oem unlock, seems like the A501DL in fastboot does not talk with the pc, i've installed so many driver things its crazy butat fastboot when typing fastboot reboot bootloader, it reboots the phone but it skips fastboot and turns on to my home screen, I used volume up and power, I get in fast boot butthe device isnt being detected by windows 10 64 bit. Also in fast boot there is only
reboot system now
wipe data/factory reset
wipe cache partition
power off
im going nut that fastboot isnt working with this device.

Is it possible to brick your phone by BOOTING a custom recovery?

I plan on developing a TWRP recovery for my phone (which doesn't have one ATM) In order to do this, I need to run tests on my device to see if it will work or not. I know flashing a custom recovery that isnt compatible/is corrupted, etc can brick your phone but would simply booting a custom recovery cause any issues? So I would just run fastboot boot twrp.img, Would that brick my phone if it doesn't work or would it just go back into fastboot mode/reboot itself? I'm pretty sure it wouldn't cause a brick but I'm a bit of a newbie so I need some confirmation.
Drysauce said:
I plan on developing a TWRP recovery for my phone (which doesn't have one ATM) In order to do this, I need to run tests on my device to see if it will work or not. I know flashing a custom recovery that isnt compatible/is corrupted, etc can brick your phone but would simply booting a custom recovery cause any issues? So I would just run fastboot boot twrp.img, Would that brick my phone if it doesn't work or would it just go back into fastboot mode/reboot itself? I'm pretty sure it wouldn't cause a brick but I'm a bit of a newbie so I need some confirmation.
Click to expand...
Click to collapse
Most likely not UNLESS u modify your system using the recovery
areallydumbperson said:
Most likely not UNLESS u modify your system using the recovery
Click to expand...
Click to collapse
Well I dont plan on modifying my system immediately after I get a good boot. But I plan on seeing what works and what doesn't and going from there. Though "most likely not" isn't enough for me. I may just run some tests on my old xiaomi phone and try to boot a samsung exynos TWRP recovery on it and other things, guaranteed failure, but will see if I can manage to brick it, just by booting.
Each recovery, so also a custom recovery like TWRP, simply is menu you can select some actions that operate on Android OS. All these actions internally are based on ADB and / or Fastboot commands. Means you can achieve same results when directly running ADB and / or Fastboot commands.
jwoegerbauer said:
Each recovery, so also a custom recovery like TWRP, simply is menu you can select some actions that operate on Android OS. All these actions internally are based on ADB and / or Fastboot commands. Means you can achieve same results when directly running ADB and / or Fastboot commands.
Click to expand...
Click to collapse
Is that so, I never knew that. But what about flashing zip files? like for example if I were to flash a custom recovery, or Gapps, etc. how would one go about doing this through fastboot, where you cannot flash zips.
A lot if not all stock recoveries need a signed zip package if you want to flash
Drysauce said:
Is that so, I never knew that. But what about flashing zip files? like for example if I were to flash a custom recovery, or Gapps, etc. how would one go about doing this through fastboot, where you cannot flash zips.
Click to expand...
Click to collapse
Flashing ZIPs is done via ADB, not via Fastboot.
Example:
Code:
adb devices
adb reboot sideload
adb sideload LINEAGEOS.ZIP
adb reboot
jwoegerbauer said:
Flashing ZIPs is done via ADB, not via Fastboot.
Example:
Code:
adb devices
adb reboot sideload
adb sideload LINEAGEOS.ZIP
adb reboot
Click to expand...
Click to collapse
Thank you!
jwoegerbauer said:
Flashing ZIPs is done via ADB, not via Fastboot.
Example:
Code:
adb devices
adb reboot sideload
adb sideload LINEAGEOS.ZIP
adb reboot
Click to expand...
Click to collapse
But don't stock recoveries only allow zips made officially by the manufacturer to be flashed??
AFAIK Android's Stock Recovery only allows to flash Update-ZIPs, not any ZIPs. Update-ZIPs by nature are provided by OEM / carrier. But I may err, as always ...
areallydumbperson said:
Most likely not UNLESS u modify your system using the recovery
Click to expand...
Click to collapse
If I do boot into the custom recovery, is there still a chance that my os will be corrupted / phone will be (soft)bricked?

Categories

Resources