Related
Hey! As the title says, is that possible? I have the backup recovery img file (Iaf.img), but im not sure how to use it without fastboot (cant use it since fastboot cant recognize my phone).
In TWRP:
Terminal command?
ADB sideload?
Something else? If so, how?
Thanks for answer!
Just run the commands in terminal on device to restore..
hashcheck said:
Just run the commands in terminal on device to restore..
Click to expand...
Click to collapse
dd if=/storage/external_SD/stock-laf.img of=/dev/block/platform/msm_sdcc.1/by-name/laf
In terminal, that's it? Nothing else? If I put the Iaf.img at external SD. Just want to be 100% sure.
Thanks for help!
Yup under su
hashcheck said:
Yup under su
Click to expand...
Click to collapse
Will try after work. Thanks!
hashcheck said:
Yup under su
Click to expand...
Click to collapse
"dd cant open /storage/external_SD/stock-Iaf.img" no such file or directory", but its there...And i opened terminal under external_SD map.
So, there is no way at all to get back to stock completely? I dont care if that means i need to wipe everything on my phone etc, I just want it completely stock again. :/
Fastboot still not working. And still get the no such file or directory when using the commands above.
lossah said:
So, there is no way at all to get back to stock completely? I dont care if that means i need to wipe everything on my phone etc, I just want it completely stock again. :/
Fastboot still not working. And still get the no such file or directory when using the commands above.
Click to expand...
Click to collapse
If you flash back with the recovery tool it will restore everything. It had saved my D850 many times so far.
Pilz said:
If you flash back with the recovery tool it will restore everything. It had saved my D850 many times so far.
Click to expand...
Click to collapse
Recovery tool? I may know what you mean but not sure. Guess there is a guide somewhere?
Fastboot seems to work BTW now. Someone said I could use fastboot flash flash laf.IMG, will try that when I'm home but if that's not working I would love another solution.
Thanks for helping!
lossah said:
Recovery tool? I may know what you mean but not sure. Guess there is a guide somewhere?
Fastboot seems to work BTW now. Someone said I could use fastboot flash flash laf.IMG, will try that when I'm home but if that's not working I would love another solution.
Thanks for helping!
Click to expand...
Click to collapse
That was meant to say factory flash tool you can thank auto correct for that
Pilz said:
That was meant to say factory flash tool you can thank auto correct for that
Click to expand...
Click to collapse
To use that I need download mode? Or?
I'm stuck in fastboot.
I recently tried to flash the android revolution rom on my M8 and now I can't get past the boot screen. I tried everything.
I can access recovery mode but I don't have any other roms that I can flash. I can't use adb to push files to my device. The only thing I can use is fastboot. Everytime I try to use adb it doesn't recognize my device but fastboot does. Please help. Thank you!
Go into recovery and adb push a ROM to your phone.
Adb will only work when you're booted or in recovery
Put a custom firmware and gapps to your sdcard and flash them through recovery, just to get you started.
GRAPHIKXS said:
Put a custom firmware and gapps to your sdcard and flash them through recovery, just to get you started.
Click to expand...
Click to collapse
How do i do that? I can't remove my sd card.
garciaomar0203 said:
How do i do that? I can't remove my sd card.
Click to expand...
Click to collapse
You can push them through adb commands, but why you can't remove the sdcard?
garciaomar0203 said:
How do i do that? I can't remove my sd card.
Click to expand...
Click to collapse
Do you even know that you have slot for external sd card? It's on right side above volume buttons.
snebojsa said:
Do you even know that you have slot for external sd card? It's on right side above volume buttons.
Click to expand...
Click to collapse
I did not know that So I just put a custom rom on a sd card and put it in my verizon m8 then flash the rom?
Yes, it's the same as flashing from internal sd.
garciaomar0203 said:
I did not know that So I just put a custom rom on a sd card and put it in my verizon m8 then flash the rom?
Click to expand...
Click to collapse
Also make sure you flash a ROM compatible with the Verizon variant! That might be your problem
superchilpil said:
Also make sure you flash a ROM compatible with the Verizon variant! That might be your problem
Click to expand...
Click to collapse
okay I flashed different roms and the same thing happened. It flashed succesfully but after the initial logo when i turn it on the screen goes black. The screen is on but all I see is black.
garciaomar0203 said:
okay I flashed different roms and the same thing happened. It flashed succesfully but after the initial logo when i turn it on the screen goes black. The screen is on but all I see is black.
Click to expand...
Click to collapse
Are you flashing a compatible ROM? Sounds like you aren't.
superchilpil said:
Are you flashing a compatible ROM? Sounds like you aren't.
Click to expand...
Click to collapse
I am about to flash this rom http://forum.xda-developers.com/showthread.php?t=2716306 lets see what happens.
superchilpil said:
Are you flashing a compatible ROM? Sounds like you aren't.
Click to expand...
Click to collapse
It worked but now i have a screen that tells me to give it a password to decrypt data. I never put a password
garciaomar0203 said:
It worked but now i have a screen that tells me to give it a password to decrypt data. I never put a password
Click to expand...
Click to collapse
Did you ever enable encryption? Maybe try a common password? If not then you're going to have to wipe you device
superchilpil said:
Did you ever enable encryption? Maybe try a common password? If not then you're going to have to wipe you device
Click to expand...
Click to collapse
I just formatted my data in the recovery mode and it worked. Thank you very much!
garciaomar0203 said:
I just formatted my data in the recovery mode and it worked. Thank you very much!
Click to expand...
Click to collapse
Good luck.
GRAPHIKXS said:
Good luck.
Click to expand...
Click to collapse
indeed
Hey guys, this is my first post on XDA forum.
So I've recently bought a nexus 7, I used wugfresh's root kit to root my nexus but then it didn't work... so I've tired the auto root by chainfire. Then I was able to get root. So then I went to playstore and downloaded rom manager to install CWM. I went to recovery then I get this message:
E : Cant mount /cache/recovery/log etc.....
I've tried everything I can do such as researching, changing recovery, and watching a youtube tutorial but nothing helped.
Thanks.
I would start over from scratch using fastboot to flash a factory image and stock recovery. If your bootloader isn't unlocked already, unlock it.
nhizzat said:
I would start over from scratch using fastboot to flash a factory image and stock recovery. If your bootloader isn't unlocked already, unlock it.
Click to expand...
Click to collapse
I tried to format using wugfresh couple times but still not working...
DO NOT USE TOOLKITS. They cause too many problems. Learn to do things the proper way using fastboot. I agree with the poster above, you should flash a factory image to start over. Download the system image from here- https://developers.google.com/android/nexus/images
You need to unlock your bootloader-
Code:
fastboot OEM unlock
Then run the flash_all.bat. That will automatically wipe and reflash everything to get you back to square one.
Then you need to flash TWRP (don't use CWM)
Code:
fastboot flash recovery recoveryname.img
TWRP will automatically prompt you to flash SU when you reboot. Choose yes, reboot, then install SuperSU from play store, update the SU binaries, reboot again, and then you're done.
_MetalHead_ said:
DO NOT USE TOOLKITS. They cause too many problems. Learn to do things the proper way using fastboot. I agree with the poster above, you should flash a factory image to start over. Download the system image from here- Link Removed
You need to unlock your bootloader-
Code:
fastboot OEM unlock
Then run the flash_all.bat. That will automatically wipe and reflash everything to get you back to square one.
Then you need to flash TWRP (don't use CWM)
Code:
fastboot flash recovery recoveryname.img
TWRP will automatically prompt you to flash SU when you reboot. Choose yes, reboot, then install SuperSU from play store, update the SU binaries, reboot again, and then you're done.
Click to expand...
Click to collapse
I tried to flash TWRP but its still the same error code
z3r0c311 said:
I tried to flash TWRP but its still the same error code
Click to expand...
Click to collapse
I highly advise you start from scratch so do what I told you to do in my last post. I promise if you do it the correct way (ie. without using toolkits) it will work.
_MetalHead_ said:
I highly advise you start from scratch so do what I told you to do in my last post. I promise if you do it the correct way (ie. without using toolkits) it will work.
Click to expand...
Click to collapse
It would be great if u could tell me the commands, im nubby with this fastboot thing.
z3r0c311 said:
It would be great if u could tell me the commands, im nubby with this fastboot thing.
Click to expand...
Click to collapse
I gave you the commands in my first post in this thread.
Here's a guide to get you started-
http://forum.xda-developers.com/showthread.php?t=2277112
Sorry for another nubby question but how do I get flash_all.bat?
z3r0c311 said:
Sorry for another nubby question but how do I get flash_all.bat?
Click to expand...
Click to collapse
It's in the file that you should have downloaded from the link I posted in my first post. The instructions are at that link as well.
_MetalHead_ said:
It's in the file that you should have downloaded from the link I posted in my first post. The instructions are at that link as well.
Click to expand...
Click to collapse
Hey I tried the following:
oem lock
oem unlock
flash-all/flash_all.bat
flash recovery(TWRP)
but then when I reboot into TWRP I don't get a message saying you to install SU... And when I go to 'Install' in TWRP I don't see any internal storage available(0mb). With this error I cant install any roms which is boring.
z3r0c311 said:
Hey I tried the following:
oem lock
oem unlock
flash-all/flash_all.bat
flash recovery(TWRP)
but then when I reboot into TWRP I don't get a message saying you to install SU... And when I go to 'Install' in TWRP I don't see any internal storage available(0mb). With this error I cant install any roms which is boring.
Click to expand...
Click to collapse
Hmm... Can you even boot into the stock ROM at this point? Try formatting /data (done in TWRP). Did the system image flash successfully?
_MetalHead_ said:
Hmm... Can you even boot into the stock ROM at this point? Try formatting /data (done in TWRP). Did the system image flash successfully?
Click to expand...
Click to collapse
I can boot into my stock rom which is 5.0.2, when I try to format /data the error codes comes out...
z3r0c311 said:
I can boot into my stock rom which is 5.0.2, when I try to format /data the error codes comes out...
Click to expand...
Click to collapse
Did the system image flash successfully?
_MetalHead_ said:
Did the system image flash successfully?
Click to expand...
Click to collapse
using flash-all command, yeah
z3r0c311 said:
using flash-all command, yeah
Click to expand...
Click to collapse
Well then I don't know what to tell you at this point. I know Lollipop has been causing issues for some N7 users, but I also know that wugs toolkit causes problems too so honestly I'm not sure what the root of your issue is. I think someone with more experience with Lollipop is gonna have to chime in here, I'm still on 4.4.4 on all of my devices. Sorry I couldn't be of more help.
_MetalHead_ said:
Well then I don't know what to tell you at this point. I know Lollipop has been causing issues for some N7 users, but I also know that wugs toolkit causes problems too so honestly I'm not sure what the root of your issue is. I think someone with more experience with Lollipop is gonna have to chime in here, I'm still on 4.4.4 on all of my devices. Sorry I couldn't be of more help.
Click to expand...
Click to collapse
Thanks for helping me I appreciate it. I hope someone else can help me with this problem... btw can I flash roms with the stock recovery? The stock recovery seems to be working fine...
z3r0c311 said:
Thanks for helping me I appreciate it. I hope someone else can help me with this problem... btw can I flash roms with the stock recovery? The stock recovery seems to be working fine...
Click to expand...
Click to collapse
No, you can only flash custom ROMs if you have a custom recovery.
Hey guys so today I decided to decrypt my phone.I copied my files to my PC, I rebooted to bootloader and used the command "fastboot format userdata" .Now my phone bootloops when trying to boot it up. I can acces TWRP but MTP doesnt work.I have Oneplus drivers installed, I tried repeating the same command to see if the problem will go away.I have a TWRP backup on my PC,but I cannot transfer files .I also have a copy of Dirty Unicorns.Should I try to sideload it?Please help me, it's been a while since I used root and ... Thank you!
Edit.I wiped cache,ART and data and rebooted.Same thing. I reflashed TWRP , but still MTP won't work...
i was having the same thing the other day try to sideload a rom and then you transfer your backup and here you go
Lolteee said:
i was having the same thing the other day try to sideload a rom and then you transfer your backup and here you go
Click to expand...
Click to collapse
hmm so Shall I try to sideload Dirty unicorns then?
yes you can still try it it should work and if adb dosen't want to sideload try another rom and if it faild it wont do anything than another bootloop but it should work.
Lolteee said:
yes you can still try it it should work and if adb dosen't want to sideload try another rom and if it faild it wont do anything than another bootloop but it should work.
Click to expand...
Click to collapse
Hold on DU is sideloading .I gave you your first thanks lol
Not working! check the screenshot ... @Lolteee
So the pc cannot find the device.ADB sideload feature was started in the device's recovery.Tomorrow I begin school so I wanna fix it.Any help is appreciated.
JoshDaWhite said:
Not working! check the screenshot ...
Click to expand...
Click to collapse
arf the adb dosen't recognize too ? you can still try to reflash the last version of TWRP and retry and if it dosen't work maybe go back to stock ? ( i don't know if this will work beacause the adb was working for me )
just to be sure the adb if updated ?
Lolteee said:
arf the adb dosen't recognize too ? you can still try to reflash the last version of TWRP and retry and if it dosen't work maybe go back to stock ? ( i don't know if this will work beacause the adb was working for me )
just to be sure the adb if updated ?
Click to expand...
Click to collapse
I am updating adb now,but I am sure that's not the problem.Should I try to sideload DU on stock recovery?
JoshDaWhite said:
I am updating adb now,but I am sure that's not the problem.Should I try to sideload DU on stock recovery?
Click to expand...
Click to collapse
i have never try to sideload something on the stock recovery i can't say if it work or not and i don't know if it can brick the devices so i really don't know
Lolteee said:
i have never try to sideload something on the stock recovery i can't say if it work or not and i don't know if it can brick the devices so i really don't know
Click to expand...
Click to collapse
Well I reflashed TWRP, same story.I won't try flashing on stock recovery.Thanks aniway.Anyone else has other ideeas?
Edit.While the phone is off,still charging,I can use ADB.So I am pushing DU right now to see what happens.Nothing.
Edit. @EpicLPer ,any idea?
you have to click mount in twrp. then you can push roms to your phone.
Do you have any rom on your phone?
http://trendblog.net/fix-soft-bricked-android-device-first-aid-guide/
Somebody else solved it using USB OTG http://forum.xda-developers.com/showthread.php?t=2560860
JoshDaWhite said:
Well I reflashed TWRP, same story.I won't try flashing on stock recovery.Thanks aniway.Anyone else has other ideeas?
Edit.While the phone is off,still charging,I can use ADB.So I am pushing DU right now to see what happens.Nothing.
Edit. @EpicLPer ,any idea?
Click to expand...
Click to collapse
There's a whole unbrick guide here on XDA including the Qualcom tools to directly flash the partitions back. That should do the job.
@Chainfire I think I found my problem.I had systemless root, suhide and I tried decrypting my Oneplus 3.The result-bootloop.I am currently flashing stock.You might want to add this in OP of suhide.Cheers
Thank you guys I fixed it .Stock recovery--Oxygen os sideloaded.The problem was Suhide ( @Chainfire)
Sent from my ONEPLUS A3003 using XDA Labs
Hey all. I got my mi6 recently. and I installed twrp on it, and flashed magisk. I was trying to install atmos in recovery mod, then I remembered that I hadn't already downloaded the file. For some damn reason I decided to wipe my device. however that didn't go well, and now I'm stuck on a twrp load loop.
I've already tried this command unsuccessfully.
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
Also in desperation, I flashed my phone, rebooted it and etc.
What else can I try?
you can re-flash Twrp in fastboot mode, then boot to twrp, connect to you pc, it will recognize your phone as usb storage.
Down load you rom, copy it to your phone, then install rom by Twrp.
demonntl said:
you can re-flash Twrp in fastboot mode, then boot to twrp, connect to you pc, it will recognize your phone as usb storage.
Down load you rom, copy it to your phone, then install rom by Twrp.
Click to expand...
Click to collapse
I just tried that. Didn't work. Also, nothing changed.
amirography said:
I just tried that. Didn't work. Also, nothing changed.
Click to expand...
Click to collapse
have you tried to flash global rom with Miflash? in bootloader mode?
amirography said:
I just tried that. Didn't work. Also, nothing changed.
Click to expand...
Click to collapse
Can you boot to TWPR ?
- Yes: you can connect to PC and copy your rom, then install
- No: flash fastboot rom: download from Xiaomi site, use Miflash to flash in fastboot, then flash TWPR again.
Xiaomi download site is down
xdauser2018 said:
have you tried to flash global rom with Miflash? in bootloader mode?
Click to expand...
Click to collapse
demonntl said:
Can you boot to TWPR ?
- Yes: you can connect to PC and copy your rom, then install
- No: flash fastboot rom: download from Xiaomi site, use Miflash to flash in fastboot, then flash TWPR again.
Click to expand...
Click to collapse
The Xiaomi download site is down. Does anyone have a copy of the Fastboot ROM by any chance that they can share?
thewholuver94 said:
The Xiaomi download site is down. Does anyone have a copy of the Fastboot ROM by any chance that they can share?
Click to expand...
Click to collapse
http://bigota.d.miui.com/V9.5.6.0.O...FA_20180410.0000.00_8.0_global_2a2234e1c5.tgz
xdauser2018 said:
have you tried to flash global rom with Miflash? in bootloader mode?
Click to expand...
Click to collapse
Haven't tried that. But it worth a shot.
demonntl said:
Can you boot to TWPR ?
- Yes: you can connect to PC and copy your rom, then install
- No: flash fastboot rom: download from Xiaomi site, use Miflash to flash in fastboot, then flash TWPR again.
Click to expand...
Click to collapse
didn't use miflash. The simple flashing didn't work however. I also tried reinstalling twrp.
thewholuver94 said:
The Xiaomi download site is down. Does anyone have a copy of the Fastboot ROM by any chance that they can share?
Click to expand...
Click to collapse
you may need to use a mobile browser. But there are mirrors.
I managed to fix the problem, by accident.
I just wiped Dalvik cache and data using the wiping tool in twrp.
after the reboot, TWRP was gone, and a fresh rom was installed with all my data, gone. However, that already has happened. So it wasn't a great loss.
I'm not technical, so I don't really know what made caused the loop, or how another wipe fixed it. So if anyone can explain it better, the floor is yours.
Thanks for the support.
amirography said:
I managed to fix the problem, by accident.
I just wiped Dalvik cache and data using the wiping tool in twrp.
after the reboot, TWRP was gone, and a fresh rom was installed with all my data, gone. However, that already has happened. So it wasn't a great loss.
I'm not technical, so I don't really know what made caused the loop, or how another wipe fixed it. So if anyone can explain it better, the floor is yours.
Thanks for the support.
Click to expand...
Click to collapse
Have you enabled phone encryption before? It could be this.. After manual wipe of data partition you were able to boot again..
xdauser2018 said:
Have you enabled phone encryption before? It could be this.. After manual wipe of data partition you were able to boot again..
Click to expand...
Click to collapse
i have the same problem .... how can i disable encryprion?
rovaris said:
i have the same problem .... how can i disable encryprion?
Click to expand...
Click to collapse
Boot in Twrp, wipe, advanced wipe, format data