My Xperia SL wont flash with custom ROM - Sony Xperia S, Acro S, Ion

Hi guys
I'm just a new guy here.
I need help with my Xperia SL. I have tried to flash it with many ways but nothing worked.
My SL is unlocked and its running with Android 4.1.2 ( Build# 6.2.B.1.96)
and its successfully rooted with Root Mster.
I have tried Flash Tool while following many toturials but it didnt work.
I also tried to restart my phone in recovery mode by installing CWM but also nothing happin
please if any one could help me with this problem. I want to flash my SL with stable and smooth ROM.

3ly.a7mad said:
Hi guys
I'm just a new guy here.
I need help with my Xperia SL. I have tried to flash it with many ways but nothing worked.
My SL is unlocked and its running with Android 4.1.2 ( Build# 6.2.B.1.96)
and its successfully rooted with Root Mster.
I have tried Flash Tool while following many toturials but it didnt work.
I also tried to restart my phone in recovery mode by installing CWM but also nothing happin
please if any one could help me with this problem. I want to flash my SL with stable and smooth ROM.
Click to expand...
Click to collapse
Which ROM's are You trying to install? Also, which recovery are You trying to use?

Mirhawk said:
Which ROM's are You trying to install? Also, which recovery are You trying to use?
Click to expand...
Click to collapse
Hi,
I'm trying to install Pure AOSP custom ROM, because I read that its stable and smooth wiht Xperia S so I think it would work fine with my SL.
if you suggest better ROM for the Xperia SL I will be thankfull.
I have followed toturials to use CWM recovery but i didnt get anything usefull. Also I have tried the Falsh Tool but nothing happen.
I do all the steps but when I get to restart the phone in recovery nothing happen.

3ly.a7mad said:
Hi,
I'm trying to install Pure AOSP custom ROM, because I read that its stable and smooth wiht Xperia S so I think it would work fine with my SL.
if you suggest better ROM for the Xperia SL I will be thankfull.
I have followed toturials to use CWM recovery but i didnt get anything usefull. Also I have tried the Falsh Tool but nothing happen.
I do all the steps but when I get to restart the phone in recovery nothing happen.
Click to expand...
Click to collapse
Do You mean this one? You need to unlock bootloader for that first.

I need pure ROM either 4.4.2 or 4.4.3. And BTW bootloader is unlocked
Sent from my LT26ii using XDA Free mobile app

3ly.a7mad said:
I need pure ROM either 4.4.2 or 4.4.3. And BTW bootloader is unlocked
Sent from my LT26ii using XDA Free mobile app
Click to expand...
Click to collapse
Can You provide a link for the ROM You are trying to flash as I'm not able to get You. And Why 4.4.2/4.4.3 only?

Mirhawk said:
Can You provide a link for the ROM You are trying to flash as I'm not able to get You. And Why 4.4.2/4.4.3 only?
Click to expand...
Click to collapse
thanks Mirhawk for your helping.
I want to flash my SL with this ROM
http://forum.xda-developers.com/showthread.php?t=2606528
I really appreciate your helping .

3ly.a7mad said:
thanks Mirhawk for your helping.
I want to flash my SL with this ROM
http://forum.xda-developers.com/showthread.php?t=2606528
I really appreciate your helping .
Click to expand...
Click to collapse
Ah no biggies!
You need to have unlocked bootloader for this.
You can unlock bootloader here. But first backup DRM keys using procedure here.
This Guide is for Kitkat ROM's.​
Got everything now. Follow the following steps, You will have the ROM in Your phone by it:
1) Copy both the ROM.zip and gapps.zip to Your phone.
1) This step is on PC.. Download this boot.img. This is required as the boot.img of some Kitkat ROM's don't have TWRP built in or have incompatible recovery. Rename it to boot.img
3) Then copy it to "C:\Flashtool\x10flasher_lib" or wherever You installed the flashtool. We need to copy this to there since we need to use 'adb.exe' and 'fastboot.exe' from here.
4) Open command prompt on the same path as above.
5) Switch off Your phone. Then connect the cable to PC but not to phone. Press volume up button on Your phone and while pressing it, connect the cable to phone. Blue LED will lit up. If there is no blue LED, do this step again.
6) Then use these commands in command prompt to flash the boot.img to the phone:
Code:
fastboot flash boot boot.img
The boot.img is used to just get the TWRP to the phone to flash the ROM.
7) Now Your phone won't boot normally if You try to do that. What You need to do is as soon as the device powers up, try entering recovery. Since we flashed the boot.img, it will boot into recovery.
8) Then format system, data, and cache. This will delete all Your apps and their data. It won't delete Your sdcard data. Be careful, don't format sdcard by mistake!
9) Now flash the ROM.zip from recovery.
10) Format cache and dalvik cache only.
11) Flash gapps from recovery.
12) Reboot! Done!
The first boot and reboot are a bit long. During reboot, the phone will seem to be stuck at the Sony logo, but it is just processing, so no need to worry.
In case You don't have TWRP after flashing the ROM, You can follow the procedure from here to flash the recovery.
Kitkat instructions end here.
Lollipop ROM:​Link to Android Lollipop (5.0) gapps : Link.
For flashing the AOSP ROM's:
1) This step is on PC.. Download this boot.img. This is required as the boot.img from AOSP Lollipop ROM's don't have inbuilt recovery. Download the the root binaries from here if You are using Pure AOSP ROM by billchen1977 only.
2) Copy the ROM.zip, gapps.zip and SuperSU.zip to Your phone.
3) Then copy boot.img to "C:\Flashtool\x10flasher_lib" or wherever You installed the flashtool. We need to copy this to there since we need to use 'adb.exe' and 'fastboot.exe' from here.
4) Open command prompt on the same path as above.
5) Switch off Your phone. Then connect the cable to PC but not to phone. Press volume up button on Your phone and while pressing it, connect the cable to phone. Blue LED will lit up. If there is no blue LED, do this step again.
6) Then use these commands in command prompt to flash the boot.img to the phone:
Code:
fastboot flash boot boot.img
The boot.img is used to just get the TWRP to the phone to flash the ROM.
7) Now Your phone won't boot normally if You try to do that. What You need to do is as soon as the device powers up, try entering recovery by pressing volume up button when the LED turn blue. Since we flashed the boot.img, it will boot into recovery.
8) Then format system, data, and cache.. This will delete all Your apps and their data. It won't delete Your sdcard data. Be careful, don't format sdcard by mistake!
9) Now flash the ROM.zip from recovery.
10) Format cache and dalvik cache only.
11) Flash gapps from recovery.
12) Do this step only for billchen1977's Pure AOSP ROM! Flash the SUperSU downloaded in the first instruction. If You are flashing nAOSP by mickybart, don't follow this step, skip to next step.
13) Reboot!
14) After flashing the Lollipop ROM, You loose Your recovery, You can get it back by following the procedure here.
15) After flashing a Lollipop ROM, the first boot displays only boot animation for 10-15 minutes. This doesn't mean Your phone is bricked, it is just initializing the apps. During second boot, it will seem to be stuck at "Sony" logo for 5 minutes. This is also normal.
Suppose You are not able to recover at some point and can't wait for next reply, You can flash a stock firmware using flashtool.
first
second

:crying: :crying:
Mirhawk said:
Ah no biggies!
Got everything now. Follow the following steps, You will have the ROM in Your phone by it:
1) Copy both the ROM.zip and gapps.zip to Your phone.
2) This step is on PC.. Extract the boot.img from the ROM.zip
3) Then copy it to "C:\Flashtool\x10flasher_lib\" or wherever You installed the flashtool. We need to copy this to there since we need to use 'adb.exe' and 'fastboot.exe' from here.
4) Open command prompt on the same path as above.
5) Connect Your phone to PC switched on, unlocked(from lock screen) and Developer options enabled.
6) Then use these commands in command prompt to flash the boot.img to the phone:
Code:
adb reboot bootloader
fastboot flash boot boot.img
The first command is used to reboot phone to bootloader. Bootloader reboot is usually used to flash kernels to phone.
The boot.img here consists a kernel specific to this ROM. It also has inbuilt recovery(either a CWM or TWRP.)
7) Now Your phone won't boot normally if You try to do that. What You need to do is as soon as the device powers up, try entering recovery. Since we flashed the boot.img, it will boot into recovery.
8) Then format system, data, and cache.. This will delete all Your apps and their data. It won't delete Your sdcard data. Be careful, don't format sdcard by mistake!
9) Now flash the ROM.zip from recovery.
10) Format cache and dalvik cache only.
11) Flash gapps from recovery.
12) Reboot! Done!
Suppose You are not able to recover at some point and can't wait for next reply, You can flash a stock firmware using flashtool.
Click to expand...
Click to collapse
:crying: :crying: :crying:
I think there is a problem with my SL. i did every thing correctly, but when I enter the commands my phone restart and the blue light turns on for three seconds then it turns off. then the phone just boot normally
I have done this many times but it didnt work :crying:

3ly.a7mad said:
:crying: :crying: :crying:
I think there is a problem with my SL. i did every thing correctly, but when I enter the commands my phone restart and the blue light turns on for three seconds then it turns off. then the phone just boot normally
I have done this many times but it didnt work :crying:
Click to expand...
Click to collapse
Then You have not installed fastboot drivers. You need to install them from drivers folder in the setup location of Flashtool.
Else instead of step 5, switch off Your phone and disconnect it from PC. Then hold the volume up button and connect the phone to PC. The blue light will come on. And the release the volume up button. And just use the "fastboot flash boot boot.img" command.

Mirhawk said:
Then You have not installed fastboot drivers. You need to install them from drivers folder in the setup location of Flashtool.
Else instead of step 5, switch off Your phone and disconnect it from PC. Then hold the volume up button and connect the phone to PC. The blue light will come on. And the release the volume up button. And just use the "fastboot flash boot boot.img" command.
Click to expand...
Click to collapse
You can also use an app called Rashr to flash the boot.img kernel instead of fastboot (at your own risk of course)...
https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools

Related

[Q] speaker,mic,headphone,wifi not working

Iam using HTC desire hd Iam rooted my device after that Iam trying to install custom os but it not working so I flash the boot.img after that also not working ,so I restore my HTC Rom after that speaker,mic,headphone,not working pls help me wifi shows error
robertnix said:
Iam using HTC desire hd Iam rooted my device after that Iam trying to install custom os but it not working so I flash the boot.img after that also not working ,so I restore my HTC Rom after that speaker,mic,headphone,not working pls help me wifi shows error
Click to expand...
Click to collapse
I am assuming that your device is S-ON which requires boot.img(Kernel) to flashed via fastboot. So basic question, Which ROM did you flash and didn't work? What recovery are you on?
Elaborate your issue to in order to get more direction resolution.
dr.patron99 said:
I am assuming that your device is S-ON which requires boot.img(Kernel) to flashed via fastboot. So basic question, Which ROM did you flash and didn't work? What recovery are you on?
Elaborate your issue to in order to get more direction resolution.
Click to expand...
Click to collapse
Iam tried to flash android 4.4.2 kitkat xperia Rom ,clockwrokrecovery mod5.0.2, S-ON is present I did not know to flash boot.img I do wrongly flash it pls help me
robertnix said:
Iam tried to flash android 4.4.2 kitkat xperia Rom ,clockwrokrecovery mod5.0.2, S-ON is present I did not know to flash boot.img I do wrongly flash it pls help me
Click to expand...
Click to collapse
Don't worry follow this simple steps and you're all set.
First up make sure you've Vol. Up and Down + Power button works perfectly fine, then proceed to next.
-Turn off your device, Hold Vol. Down and Press n Hold Power Button, It will take you to bootloader. Wait there 2-3sec. Then connect your device to PC.
-Once you connect, if drivers for your HTC installed correctly than your pc should recognize your device, then Press Power button on your device. It will take you to FASTBOOT USB
-Now leave your device as is.
-Headover to PC and extract given HTC Fastboot Files onto :C drive somewhere you can easily access it.
-Hold Shift Key + Right Key(mouse pad) and open Command Prompt from inside the htc fastboot folder where you've extracted that .zip
-Once you see command prompt type fastboot flash recovery openrecovery-TWRP-ace-2.8.6.1-unofficial.img exactly as i've wrote here.
-After successfully flashed recovery.img type fastboot reboot recovery , it will take you to TWRP Recovery, there you need to perform Clean Wipe prior to flash any ROM on your device.
-Click on Wipe and Swipe right to perform wipe.
-Flash any rom made for Desire HD, Or you see on this Desire HD forum. ex. Xperia ROM or CM12.1 any.
-Once process completes go to reboot to bootloader!!! Don't click on Reboot System/Device otherwise you'll need to take out battery and place onto bootloader manually. Just click Reboot Bootloader.
-After that connect your device to back to pc.
-Lastly extract or drag boot.img from ROM.zip(the one you've flashed onto your device) to htc fastboot folder and open command prompt.
-Finally under commant prompt type fastboot flash boot boot.img and then fastboot reboot
Done.

I badly need help

I have the Zenfone 2 and it is stuck in bootloop.
My brother boot it to CWM and flashed Paranoid Android without unlocking the bootloader and flashing TWRP. Now the phone stuck in bootloop, i tried flashing system.img the stock one but it is telling me that system.img cannot be loaded. What should i do? It is now bootlooping. I dont know what to do.
ebanreb37 said:
I have the Zenfone 2 and it is stuck in bootloop.
My brother boot it to CWM and flashed Paranoid Android without unlocking the bootloader and flashing TWRP. Now the phone stuck in bootloop, i tried flashing system.img the stock one but it is telling me that system.img cannot be loaded. What should i do? It is now bootlooping. I dont know what to do.
Click to expand...
Click to collapse
Hi, I unfortunatelly am not able to solve your Problem, but maybe you could help me with mine. Could you pls upload the System.img? I am only able to find *.zip and adb doesn´t want to Flash it at all
Thanx in advance
Blubber120 said:
Hi, I unfortunatelly am not able to solve your Problem, but maybe you could help me with mine. Could you pls upload the System.img? I am only able to find *.zip and adb doesn´t want to Flash it at all
Thanx in advance
Click to expand...
Click to collapse
Go to Original Android developement. It's in the pre-rooted thread, these are the ONLY img files for roms available unless you push the zip file using ADB...
Flash the system zip file rather than trying to flash simply the .img. The zip files are in this thread (http://forum.xda-developers.com/zenfone2/development/asus-zenfone-2-rom-t3054956) and might help because you're also flashing default recovery... could be CWM.
Also try flashing using fastboot.
your phone model?
ze55m1
Rma
What worked with me, Problem is simmilar, I flaged the Boot.img and androidboot.img, which Werke attached in the custim Rom folder, too. Without that, I gut stuck at the Boot Logo, now all works fine and I am trying to be up to date with the Roms.
Blubber120 said:
What worked with me, Problem is simmilar, I flaged the Boot.img and androidboot.img, which Werke attached in the custim Rom folder, too. Without that, I gut stuck at the Boot Logo, now all works fine and I am trying to be up to date with the Roms.
Click to expand...
Click to collapse
1. download the latest recovery from here https://dl.twrp.me/Z00A/ and firmware from here http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/UL-Z00A-WW-2.20.40.97-user.zip
2. download and install adb and fastboot driver from here http://forum.xda-developers.com/showthread.php?t=2317790 and intel usb drivers from here https://software.intel.com/en-us/android/articles/intel-usb-driver-for-android-devices
3.the adb driver should have installed in your pc OS drive [ which is C: ] put the downloaded recovery and firmware in that folder [where adb is installed] then in that folder, open command window by pressing shift and right click and a dialogue box will appear then open the command window from there and enter this command fastboot flash recovery {name of the recovery twrp something}.img then connect your phone to your pc and enter bootloader in your phone and press enter in command window.
4.after that put the downloaded firmware in any sdcard and put it in your phone then open recovery mode in your phone and go to reboot>recovery [yeah you have to reboot the recovery] then when recovery open again then go to wipe>advanced wipe> and select system,data,cache,dalvik and internal storage [internal storage is optional but if you choose it then it will wipe all your data in your phone] then wipe it and go to install section then choose the extsdcard [it should be written internal storage click on that then you can choose your external storage] then in the extstorage choose the firmware you downloaded and just swipe to flash.
5.patience ..because it would take time and maybe get stuck at 52% or 59% ..so just let it take time for installation [btw connect your phone to thr charger in this process]
6.after it done then reboot your phone and ALL DONE. [the first boot will take some mins to boot up]
Sent from my ASUS_Z00A

URGENT TWRP switch back to stock recovery after reboot

I used this https://dl.twrp.me/oneplus3/twrp-3.0.2-0-oneplus3.img.html recovery to flash but after reboot to system and then to recovery it shows the stock recovery. Any help ?
That's quite normal. If you flash a stock rom without reinstalling twrp before rebooting system, you will lose twrp because stock rom will install stock recovery too . So, you have to install TWRP from adb by Fastboot again.
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
samnaction said:
I used this https://dl.twrp.me/oneplus3/twrp-3.0.2-0-oneplus3.img.html recovery to flash but after reboot to system and then to recovery it shows the stock recovery. Any help ?
Click to expand...
Click to collapse
Honestly its not that urgent to be honest before you flashed the stock rom you should of read up on what was going to happen. Being knowledgeable about what you are doing is your biggest asset. Also its not that big of a deal reflash TWRP as mentioned and going forward do some reading before making moves
Also make sure the right stuff is checked off in your settings so that the stock recovery does not come back
if u can still boot into ur OS just download flashify and flash twrp via flashify, u can download twrp via flashify too
this is normal it happens from time to time
playya said:
Honestly its not that urgent to be honest before you flashed the stock rom you should of read up on what was going to happen. Being knowledgeable about what you are doing is your biggest asset. Also its not that big of a deal reflash TWRP as mentioned and going forward do some reading before making moves
Also make sure the right stuff is checked off in your settings so that the stock recovery does not come back
Click to expand...
Click to collapse
No it's not the issue I haven't flashed stock rom. I m flashing twrp for first time. Don't know what's the issue but it got fixed after I did factory reset and flashed twrp again
samnaction said:
No it's not the issue I haven't flashed stock rom. I m flashing twrp for first time. Don't know what's the issue but it got fixed after I did factory reset and flashed twrp again
Click to expand...
Click to collapse
did you follow these steps or did you just reboot directly into the OS
2. Flashing TWRP
Turn the phone off. Then boot it into fastboot mode by holding volume up + power.
Rename the recovery file that you downloaded above to recovery.img. *Make sure that you rename it to recovery.img NOT recovery.img.img* ,Make sure that this file is placed on the desktop.
Open a new command prompt on desktop and run the following commands:
Code:
fastboot flash recovery recovery.img
Once the flash has completed, Don't use the "Fastboot Reboot" Command Instead Unplug Your phone then Manually boot it into recovery by keeping Power + Volume Down button pressed.
In TWRP, select Reboot and then select System. Now your phone will boot into System and you have cleared Steps 2/3 . Grats.
playya said:
did you follow these steps or did you just reboot directly into the OS
2. Flashing TWRP
Turn the phone off. Then boot it into fastboot mode by holding volume up + power.
Rename the recovery file that you downloaded above to recovery.img. *Make sure that you rename it to recovery.img NOT recovery.img.img* ,Make sure that this file is placed on the desktop.
Open a new command prompt on desktop and run the following commands:
Code:
fastboot flash recovery recovery.img
Once the flash has completed, Don't use the "Fastboot Reboot" Command Instead Unplug Your phone then Manually boot it into recovery by keeping Power + Volume Down button pressed.
In TWRP, select Reboot and then select System. Now your phone will boot into System and you have cleared Steps 2/3 . Grats.
Click to expand...
Click to collapse
Yes I did. Don't know why it didn't work first time. Everything fine after factory resetting again

NO RPMB (how to install TWRP, a new ROM and using Magisk)

Hello, I have sent my phone to warranty and after that I received a phone with NO RPMB and after many frustrations I found (with help of many users and forums) how to workaround this..
To start:
Download boot image from here
Download twrp from the official website
Change the name to boot.img and twrp.img and put it in the platform-tools folder
Open the terminal there
Download your favourite rom
Enter fastboot mode on your phone
!!!!After this you will loose all of your data!!!!
Paste this to the terminal
fastboot oem unlock
(select yes on your phone)
fastboot flash boot boot.img
fastboot flash recovery twrp.img
fastboot format userdata
fastboot format cache
Reboot to recovery (if it doesn't enter at the first time enter download mode again and restart to recovery)
After that you have twrp and can flash every rom.. yay!!!
Wipe everything.
Copy the rom zip to your phone using MTP
Install your fancy new rom
If you want to install magisk:
Install the magisk manager.
On the app select install and select patch image file. (it will create a new boot image already patched)
After that install the new image (patched_boot.img) using twrp
Do a clean instalation of your ROM (recomended) or a Factory Reset first
Reboot to twrp
Select install
Click in install image
Select patched_boot.img
Select install to boot partition
Reboot.
Install magisk manager and do the sugested setup.
You now have magisk working
Thanks to all the users that helped me!!
I had real trouble getting twrp to work the last time I tried this a few months ago. Followed the steps here and am now on pixel experience with magisk. Thanks!
Hello, im in the same situation of NO RPMB. This procedure will permanently lets have bootloader unlocked?
About Magisk, i can install it in usual way once im in the recovery? (I mean download latest stable version for Bullhead and flash via TWRP).
Thanks.
sigibian said:
Hello, im in the same situation of NO RPMB. This procedure will permanently lets have bootloader unlocked?
About Magisk, i can install it in usual way once im in the recovery? (I mean download latest stable version for Bullhead and flash via TWRP).
Thanks.
Click to expand...
Click to collapse
My bootloader is still unlocked after following this guide
For Magisk:
-Install your custom ROM and boot it up (without root)
-Then extract the boot.img from the ROM zip file and save it on your phone storage.
-Install the Magisk manager apk
-In Magisk manager, select install Magisk> choose the patch boot image option and -Select the boot.img you previously saved.
Once it's done, reboot into twrp and flash the patched boot.img. When you reboot Magisk will be working.
I've had no issues with my bootloader, even after an ota update for pixel experience.
Thank you, i will try it.
Another question. I never tried dowload mode before, as i read in other post i should Plug USB cable into pc, Hold volume up and power at the same time and plug phone into usb that's already connected to pc, right?
When in download mode i can fire up fastboot commands like im in bootloader mode?
So then after do last command fastboot format cache i can reboot to recovery from terminal using adb reboot recovery or i can / should do it from device?
About twrp it's ok to use the latest 3.2.3.0 official version or the 3.2.1 4core version from here as someone suggested from Reddit? https://forum.xda-developers.com/nexus-5x/development/recovery-twrp-3-2-1-4-core-t3796656
sigibian said:
Thank you, i will try it.
Another question. I never tried dowload mode before, as i read in other post i should Plug USB cable into pc, Hold volume up and power at the same time and plug phone into usb that's already connected to pc, right?
When in download mode i can fire up fastboot commands like im in bootloader mode?
So then after do last command fastboot format cache i can reboot to recovery from terminal using adb reboot recovery or i can / should do it from device?
About twrp it's ok to use the latest 3.2.3.0 official version or the 3.2.1 4core version from here as someone suggested from Reddit? https://forum.xda-developers.com/nexus-5x/development/recovery-twrp-3-2-1-4-core-t3796656
Click to expand...
Click to collapse
The official twrp works for fine for me, haven't tried the 4 core version but it can't hurt to try if you need it.
Power off your phone then press and hold volume - and power to enter bootloader, then connect to your pc and follow the steps in the OP
So i have to enter in bootloader mode? At point 6 of OP there is written to enter in the download mode, this makes me confusing.
Can anyone explain me latest 2 commands why they are needed?
fastboot format userdata
fastboot format cache
sigibian said:
So i have to enter in bootloader mode? At point 6 of OP there is written to enter in the download mode, this makes me confusing.
Can anyone explain me latest 2 commands why they are needed?
fastboot format userdata
fastboot format cache
Click to expand...
Click to collapse
This thread is fairly comprehensive;
https://forum.xda-developers.com/nexus-5x/general/moto-nexus-5x-sticky-roll-t3207487
Holding volume - and power takes you to fastboot mode (download mode essentially), theres also an option to reboot into recovery (selectable using the volume keys.)
Formatting user data and cache is necessary prior to installing a new rom (especially if moving from stock). You lose all data (back up first!) But a clean flash is the best place to start.
baddesthad said:
This thread is fairly comprehensive;
https://forum.xda-developers.com/nexus-5x/general/moto-nexus-5x-sticky-roll-t3207487
Holding volume - and power takes you to fastboot mode (download mode essentially), theres also an option to reboot into recovery (selectable using the volume keys.)
Formatting user data and cache is necessary prior to installing a new rom (especially if moving from stock). You lose all data (back up first!) But a clean flash is the best place to start.
Click to expand...
Click to collapse
Thanks for the explanation but for installing a new ROM usually you can do factory reset directly in TWRP, plus doing all the wipes, this should be enough.
About fastboot mode and download mode, they are completely different, fastboot mode: vol down + power, download mode for LG: Plug USB cable into pc, Hold volume up and power at the same time and plug phone into usb.
My question is what i can do in download mode? As OP says after entering download mode open terminal and use fastboot commands.
sigibian said:
Thanks for the explanation but for installing a new ROM usually you can do factory reset directly in TWRP, plus doing all the wipes, this should be enough.
About fastboot mode and download mode, they are completely different, fastboot mode: vol down + power, download mode for LG: Plug USB cable into pc, Hold volume up and power at the same time and plug phone into usb.
My question is what i can do in download mode? As OP says after entering download mode open terminal and use fastboot commands.
Click to expand...
Click to collapse
You need to use vol- and power to go into fastboot mode then connect to the pc. As for userdata and cache, if you don't clean them when coming from stock you will have issues (your data will be encrypted if you're on stock?). As I said this guide worked for me. The op was talking about fastboot mode in the 6th option (also there is much more information in the thread I linked above)
sorry for the confusing i wanted to say fastboot mode..
i knew the thread that you are saying but most people doesn't want to search so I made a little thread only with the needed parts..
I use it myself so I have a place to remember all the steps when I need to change the rom to a new one or when I make experiments and brick my phone XD
If anyone know anything else that should be in here just say, I really want to improve the post
Hi. I just went through the whole process several times (I have tried the different modified boot images from the dedicated post) and my device is still locked [emoji24] any suggestions?
fhartane said:
Hi. I just went through the whole process several times (I have tried the different modified boot images from the dedicated post) and my device is still locked [emoji24] any suggestions?
Click to expand...
Click to collapse
your device will always be locked this is a workaround to get twrp, new roms and magisk while it stays locked..
with twrp usable it won't matter if you are locked or not
PedroM.CostaAndrade said:
your device will always be locked this is a workaround to get twrp, new roms and magisk while it stays locked..
with twrp usable it won't matter if you are locked or not
Click to expand...
Click to collapse
Thanks for the answer. You mean that now I have twrp, I can flash custom Roms with my bootloader locked without any issue?
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
Yes if you have TWRP you can install custom ROMs, custom Kernel's, magisk, super su, etc..
the locked bootloader only prevents you from using fastboot commands like the one needed for installing custom recovery
Now that you have TWRP you can use it for everything
Hello everyone, I also have a nexus 5x with motherboard that has been replaced under warranty and unfortunately I can't keep the bootloader unlocked.
I tried the procedure you have indicated, but at this point there is the problem, because after inserting the boot.img and twrp.img inside the phone, then when I go to do the unlocking procedure with 'fastboot oem unlock (select yes on your phone) 'in practice the memory is deleted on the phone, so I lose the previously uploaded files, and therefore I can no longer continue with the flash procedure of boot.img and twrp.img because they are no longer present in memory.
I hope I made myself understood, maybe I am wrong, or is there a way to solve this problem?
Fabiojoker said:
Hello everyone, I also have a nexus 5x with motherboard that has been replaced under warranty and unfortunately I can't keep the bootloader unlocked.
I tried the procedure you have indicated, but at this point there is the problem, because after inserting the boot.img and twrp.img inside the phone, then when I go to do the unlocking procedure with 'fastboot oem unlock (select yes on your phone) 'in practice the memory is deleted on the phone, so I lose the previously uploaded files, and therefore I can no longer continue with the flash procedure of boot.img and twrp.img because they are no longer present in memory.
I hope I made myself understood, maybe I am wrong, or is there a way to solve this problem?
Click to expand...
Click to collapse
fastboot is for the files on your PC not your phone
you need to put the files inside of platform-tools and then open cmd inside it and use the fastboot commands
fastboot will take the files of your PC
Hello, thank you for your information, since I haven't done modding on phones for a long time, I didn't remember exactly the procedure with fastboot and therefore I didn't understand where I had to put the files, but in the end I did it.
Thank you
PedroM.CostaAndrade said:
fastboot is for the files on your PC not your phone
you need to put the files inside of platform-tools and then open cmd inside it and use the fastboot commands
fastboot will take the files of your PC
Click to expand...
Click to collapse
Why is a custom boot image needed? I don't want to root.

Wiped everything using TWRP and need help restoring.

Hi.
So I was messing around with the twrp custom recovery and (without thinking much of it) wiped everything in the advanced wipe menu :crying: (System, data, EVERYTHING)
I knew I had removed my OS and that I could just use the twrp recovery to install a new rom onto my phone BUT little did I know, when I tried to boot into the custom recovery, it would just loop the screen with the redmi logo
I am still able to boot into fastboot mode, and I have tried to flash the same twrp recovery but with no avail (It still loops the redmi logo screen)
So now I'm here to ask if there is any advice that you could give me to try and fix this problem that I have gotten myself in (I am not worried about deleting any of my personal files. I would just like to get twrp to boot so that I can install another rom)
Thanks in advance to anyone who can help me with this problem :highfive:
Hi, which rom are you trying to install? for android 9 use this recovery https://forum.xda-developers.com/re...overy-unofficial-twrp-recovery-redmi-t4002397, for android 10 this one... https://forum.xda-developers.com/showpost.php?p=82062075&postcount=7...
If what nuvulet said doesn't work, in fastboot, flash the exact same stock ROM you had before, let it boot and then flash TWRP.
nuvulet said:
Hi, which rom are you trying to install? for android 9 use this recovery https://forum.xda-developers.com/re...overy-unofficial-twrp-recovery-redmi-t4002397, for android 10 this one... https://forum.xda-developers.com/showpost.php?p=82062075&postcount=7...
Click to expand...
Click to collapse
Hi, thanks for the fast reply.
The stock android I had before I wiped everything was android 9, MIUI 11. I tried againt to flash the recovery through fast boot but (like before) when I try to boot into the recovery (by holding the volume up button as it reboots), the redmi logo keeps appearing and disappearing and doesn't go to the twrp recovery. At the current moment I don't have any OS installed (since it got deleted when I wiped everything)
Any other leads I could try?
wang1chung said:
If what nuvulet said doesn't work, in fastboot, flash the exact same stock ROM you had before, let it boot and then flash TWRP.
Click to expand...
Click to collapse
I'm not sure how I can flash the stock ROM without the twrp recovery. I had the impression that you needed twrp recovery in order to install ROMs in the first place.
If there is a method to flash a ROM using fastboot, please explain since my unexperienced self has no idea how to do this. :laugh:
Thanks for the fast reply too
Sqorpz said:
I'm not sure how I can flash the stock ROM without the twrp recovery. I had the impression that you needed twrp recovery in order to install ROMs in the first place.
If there is a method to flash a ROM using fastboot, please explain since my unexperienced self has no idea how to do this. :laugh:
Thanks for the fast reply too
Click to expand...
Click to collapse
MiFlash works through fastboot mode. It's also safer to flash with MiFlash, just make sure you have the correct ROM.
I can't find the guide right now, I'm at work
Ok, do you know adb fastboot... if not, follow this guide...
https://forum.xda-developers.com/showthread.php?t=2317790
Install usb adb drivers for RN8P if you don't have, try this for w10...
https://forum.xda-developers.com/redmi-note-8-pro/help/usb-drivers-t4035617
Download twrp for android 9 or android 10 from here...
https://forum.xda-developers.com/showpost.php?p=82115341&postcount=2
Put the recovery (*.img format) into installed adb folder...
Open cmd and navigate to inside adb folder...
Put the phone into fastboot mode (press volume- and power) connect usb and type in console...
adb devices (this start adb server)
Type...
fastboot devices (this return a device number, if not, something is wrong)
Type...
fastboot flash recovery *.img (change * for the name of the recovery file)
Disconnect the phone and press volume+ and power at the same time and now you have twrp intalled...
When start if the data is encrypted, push cancel, go to wipe, go to format data, type "yes", and confirm slide...
Now connect the phone to usb (if not recognize the phone, go to mount, and enable MTP)
Copy the rom in to internal storage for your android twrp version... search here
https://forum.xda-developers.com/redmi-note-8-pro/how-to/redmi-note-8-pro-android-10-public-t4072795
You have several versions... for eu, search in my post...
And the rest, install, select, etc. etc....
nuvulet said:
Ok, do you know adb fastboot... if not, follow this guide...
https://forum.xda-developers.com/showthread.php?t=2317790
Install usb adb drivers for RN8P if you don't have, try this for w10...
https://forum.xda-developers.com/redmi-note-8-pro/help/usb-drivers-t4035617
Download twrp for android 9 or android 10 from here...
https://forum.xda-developers.com/showpost.php?p=82115341&postcount=2
Put the recovery (*.img format) into installed adb folder...
Open cmd and navigate to inside adb folder...
Put the phone into fastboot mode (press volume- and power) connect usb and type in console...
adb devices (this start adb server)
Type...
fastboot devices (this return a device number, if not, something is wrong)
Type...
fastboot flash recovery *.img (change * for the name of the recovery file)
Disconnect the phone and press volume+ and power at the same time and now you have twrp intalled...
When start if the data is encrypted, push cancel, go to wipe, go to format data, type "yes", and confirm slide...
Now connect the phone to usb (if not recognize the phone, go to mount, and enable MTP)
Copy the rom in to internal storage for your android twrp version... search here
https://forum.xda-developers.com/redmi-note-8-pro/how-to/redmi-note-8-pro-android-10-public-t4072795
You have several versions... for eu, search in my post...
And the rest, install, select, etc. etc....
Click to expand...
Click to collapse
Yes, this is the method I used to flash the twrp recovery.
My problem was that even after installing it (using this method), i would still not be able to boot into the recovery.
However, it is fixed now. I used the Mi Flash tool in order to install the stock rom and then installed twrp after that. :good:
wang1chung said:
MiFlash works through fastboot mode. It's also safer to flash with MiFlash, just make sure you have the correct ROM.
I can't find the guide right now, I'm at work
Click to expand...
Click to collapse
I tried this method and IT WORKED!!
After installing Mi flash I was able to download the stock rom and install it through the program without any errors.
I was then able to finally boot into the OS and install twrp recovery, then install the custom rom! :laugh:
Thanks for this method. I would probably still be stuck on the Redmi logo if it weren't for this

Categories

Resources