Related
Ok so I screwed up.
I'm not a developer but i'm familiar with most of the basics. So my m7 was rooted with android revolution 81.0. I was having unrelated problems with calls and also some other small things like a lock screen delay. I decided I was gonna do a system wipe (which I've done plenty of times before with no problems) but this time I forgot to put the OS on the sd card before the wipe. As of now my phone turns on but stays on the HTC screen unless I force it into bootloader and I can also get into TWRP still. I also noticed I wiped the sd card as well by accident so everything is gone. I tried loading the OS via USB OTG but when i go to mount OTG in TWRP I can't select "USB-OTG".I can only select "system" "cache" and "data" I also tried mounting the phone via the computer but it doesn't show up but it does come up on device manager with a yellow exclamation sign next to it. I've heard you can do something with the ADB Sideload but I have no idea how to do that so if that's the answer please explain in detail.
If someone can get it to where I can mount the OTG then I can handle it from there.
Just some details:
S-on
TWRP version 2.6.3.2
I think i've wiped everyting there is to wipe trying to fix this, (
I've been without a phone for a week now and I'm desperate for any kind of fix. I'd greatly appreciate if someone could steer me in the right direction.
Aceboog33 said:
Ok so I screwed up.
I'm not a developer but i'm familiar with most of the basics. So my m7 was rooted with android revolution 81.0. I was having unrelated problems with calls and also some other small things like a lock screen delay. I decided I was gonna do a system wipe (which I've done plenty of times before with no problems) but this time I forgot to put the OS on the sd card before the wipe. As of now my phone turns on but stays on the HTC screen unless I force it into bootloader and I can also get into TWRP still. I also noticed I wiped the sd card as well by accident so everything is gone. I tried loading the OS via USB OTG but when i go to mount OTG in TWRP I can't select "USB-OTG".I can only select "system" "cache" and "data" I also tried mounting the phone via the computer but it doesn't show up but it does come up on device manager with a yellow exclamation sign next to it. I've heard you can do something with the ADB Sideload but I have no idea how to do that so if that's the answer please explain in detail.
If someone can get it to where I can mount the OTG then I can handle it from there.
Just some details:
S-on
TWRP version 2.6.3.2
I think i've wiped everyting there is to wipe trying to fix this, (
I've been without a phone for a week now and I'm desperate for any kind of fix. I'd greatly appreciate if someone could steer me in the right direction.
Click to expand...
Click to collapse
first thing is first, you need to sort out your driver, so when you see "one " with the yellow exclamation mark in your device manager, right click on it and select update driver, select the 2nd option, browse for driver software, again select the 2nd option which is something like let me choose the driver, it may give you a list after that of the type of device connected, select android devices, then select your latest myHTC driver from the list, it will give you some warning about it may not be the correct driver, are you sure you want to install, select yes.
Next, do you know how to use adb and fastboot ?
Seanie280672 said:
first thing is first, you need to sort out your driver, so when you see "one " with the yellow exclamation mark in your device manager, right click on it and select update driver, select the 2nd option, browse for driver software, again select the 2nd option which is something like let me choose the driver, it may give you a list after that of the type of device connected, select android devices, then select your latest myHTC driver from the list, it will give you some warning about it may not be the correct driver, are you sure you want to install, select yes.
Next, do you know how to use adb and fastboot ?
Click to expand...
Click to collapse
I know it involves the command terminal but no, I've never used it before.
Aceboog33 said:
I know it involves the command terminal but no, I've never used it before.
Click to expand...
Click to collapse
still need help?
madboy_maduka said:
still need help?
Click to expand...
Click to collapse
yes yes i dooo
Aceboog33 said:
yes yes i dooo
Click to expand...
Click to collapse
Sorry I had to leave for work, what you need is adb and fastboot files, so download this link and extract it to your desktop https://www.androidfilehost.com/?fid=23329332407580571
Then download either twrp 2.6.3.3 or 2.6.3.4 from the twrp recovery web site, when it's downloaded, rename it to recovery.img for ease and place it in the same folder as adb and fastboot.
You will then need to open a command Windows within that folder by holding control, shift and right mouse click on any white area within that folder, select open command window here.
Make sure your phone is plugged into the computer, and in the bootloader with fastboot usb showing on the screen.
At this point your drivers must be working as per my other post, then issue the following commands one at a time.
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
Now enter recovery, your usb otg cable should work now for flashing a Rom, be sure to do a full wipe before flashing, your current recovery sounds too old to me for usb otg support.
---------- Post added at 11:09 AM ---------- Previous post was at 11:00 AM ----------
If your still having problems with usb otg cable at this point, take the Rom which you want to flash and again place it in the same folder on your desktop as adb and fastboot, rename it to Rom.zip for ease, put your phone into recovery and then plug it into the computer, with recovery main screen showing on the phone, once again open a command window on your computer from within the adb and fastboot folder and issue the following command
adb push Rom.zip /sdcard/
Takes about 5 mins and will look unresponsive but it will let you know when it's done, unplug your phone when done, wipe and install.
Seanie280672 said:
Sorry I had to leave for work, what you need is adb and fastboot files, so download this link and extract it to your desktop https://www.androidfilehost.com/?fid=23329332407580571
Then download either twrp 2.6.3.3 or 2.6.3.4 from the twrp recovery web site, when it's downloaded, rename it to recovery.img for ease and place it in the same folder as adb and fastboot.
You will then need to open a command Windows within that folder by holding control, shift and right mouse click on any white area within that folder, select open command window here.
Make sure your phone is plugged into the computer, and in the bootloader with fastboot usb showing on the screen.
At this point your drivers must be working as per my other post, then issue the following commands one at a time.
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
Now enter recovery, your usb otg cable should work now for flashing a Rom, be sure to do a full wipe before flashing, your current recovery sounds too old to me for usb otg support.
---------- Post added at 11:09 AM ---------- Previous post was at 11:00 AM ----------
If your still having problems with usb otg cable at this point, take the Rom which you want to flash and again place it in the same folder on your desktop as adb and fastboot, rename it to Rom.zip for ease, put your phone into recovery and then plug it into the computer, with recovery main screen showing on the phone, once again open a command window on your computer from within the adb and fastboot folder and issue the following command
adb push Rom.zip /sdcard/
Takes about 5 mins and will look unresponsive but it will let you know when it's done, unplug your phone when done, wipe and install.
Click to expand...
Click to collapse
What the guy above me said was right, the problem I think with your phone is drivers I'll upload a link to adv drivers in my next post, basically using recovery (twrp recommend) wipe /data, /cache & /system. Then go to adb sideload which is in the recovery (it should say something like adb server started). Then using adb devices command check if your computer sees your device if not you gotta install drivers for your computer. In device manager on your computer your device should be something like ADB interface if not drivers are not correctly installed. Right click update drivers I'll link it in ma next post
---------- Post added at 10:30 PM ---------- Previous post was at 10:26 PM ----------
Follow these instructions to install the driver http://visualgdb.com/tutorials/android/usbdebug/manualinstall.php
Aceboog33 said:
yes yes i dooo
Click to expand...
Click to collapse
Use this guide. Saved me one time
http://android-revolution-hd.blogspot.ro/2013/12/how-to-copy-rom-zip.html?m=1
Hello
after i rooted my z3 compact and stuff i thought "hey, encrypting the data would be nice and safe" and did so.
after this i wanted to install some zip via recovery-mode and there are just errors telling me "cannot mount sdcard" and smth like that
i assume this is because the sdcard is encrypted.. .
did anyone know how i can use recoverymode again without flashing the whole firmware back again? oO
thank you
I have the same situation. Can't even enter recovery. You can copy paste files from the zip in the system with for example root explorer, set the correct permissions and reboot.
A working recovery would be better.
I'm on 6.0.1, rooted, locked bootloader and encrypted phone. Can't seem to enter recovery either. There's no green LED on phone reboot. Tried Power + vol up/down, no luck. Also volume up/down during boot, also nothing.
Is there no way to access recovery now?
sil_el_mot said:
did anyone know how i can use recoverymode again without flashing the whole firmware back again? oO
Click to expand...
Click to collapse
There is a TWRP 3.0.2.0 for Z3c available here
Apparently it does work with encrypted partitions, but you will probably have to encrypt the phone after installing TWRP, so this won't help you out of your situation.
Edit: there is a manual install of TWRP compatible with MM, once in recovery you could flash the 3.0.2.0 version and restart to recovery, but I haven't tried this and you may well end up in a bootloop with an unreadbale encrypted partition.
sil_el_mot said:
after i rooted my z3 compact and stuff i thought "hey, encrypting the data would be nice and safe" and did so.
after this i wanted to install some zip via recovery-mode and there are just errors telling me "cannot mount sdcard" and smth like that
i assume this is because the sdcard is encrypted.. .
did anyone know how i can use recoverymode again without flashing the whole firmware back again?
Click to expand...
Click to collapse
for those of you who have a working recovery and encrypted data partition and SDcard, there are two ways of using it:
1. VIA ADB SIDELOAD: TWRP have a ADB sideload feature. it means you can flash .zips directly from your computer, connected to your phone wia USB cable. steps: 1. go to TWRP, search for ADB sideload feature and turn it ON, 2. connect your phone to your computer, 3. open terminal on your computer and type:
Code:
ADB sideload "path/to/your/file.zip"
. bingo!
2. VIA USB OTG: Z3c support USB OTG (On The Go) so you can connect your USB key to your phone via USB OTG cable. you put .zips you want to flash to your USB, connect it to your phone when in TWRP and flash them from USB instead of encrypted partitions.
Hi all. Phone is rooted and unlocked. Have twrp installed. Made a twrp backup, downloaded a new ROM (aosp). Wiped phone as in op, flashed new ROM & gapps. Upon restating, phone asked for password. I'd made sure that I'd got rid of security seetings before making backup. Tried to reinstall backup, phone boots into startup screen, then again, asks for "to start android device, enter your password". Please help.
Try deleting this file in twrp using the file manager.
/data/system/locksettings.db
954wrecker said:
Try deleting this file in twrp using the file manager.
/data/system/locksettings.db
Click to expand...
Click to collapse
Hi many thanks....but when I go into file manager, there is no file for data????
I think I've killed the phone. Any way of completely wiping and starting again?
The 3 buttons at bottom of screen. When I press the right button, message I get is:
Failed to decrypt data.
Unable to decrypt with default password. You may need to perform a format data.
Updating partition details....
.....done
Unable to mount storage
Full selinux support is present.
https://forums.oneplus.net/threads/android-password-after-locking-the-bootloader.454675/
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
forcedairinduction said:
Hi all. Phone is rooted and unlocked. Have twrp installed. Made a twrp backup, downloaded a new ROM (aosp). Wiped phone as in op, flashed new ROM & gapps. Upon restating, phone asked for password. I'd made sure that I'd got rid of security seetings before making backup. Tried to reinstall backup, phone boots into startup screen, then again, asks for "to start android device, enter your password". Please help.
Click to expand...
Click to collapse
Glad you came here, it is simple to solve this.
1. put your device into bootloader mode
2. connect your device to pc via usb
3. install minimal adb and open command prompt in that minimal adb folder.
4. enter command - fastboot erase userdata
5. solved. but sorry, it will wipe your internal memory too.
you can even try wiping data with twrp, but it'll usually won't work at this stage. so follow the command. cheers.
Karthik_pm said:
Glad you came here, it is simple to solve this.
1. put your device into bootloader mode
2. connect your device to pc via usb
3. install minimal adb and open command prompt in that minimal adb folder.
4. enter command - fastboot erase userdata
5. solved. but sorry, it will wipe your internal memory too.
you can even try wiping data with twrp, but it'll usually won't work at this stage. so follow the command. cheers.
Click to expand...
Click to collapse
Thanks man. I managed to get it going but only by wiping data. Lost my backup and ROM seems to have flashed but is missing root
forcedairinduction said:
Thanks man. I managed to get it going but only by wiping data. Lost my backup and ROM seems to have flashed but is missing root
Click to expand...
Click to collapse
Simply flash supersu 2.79 from the XDA thread, everything will be back alright.
One of my N6s has a little trouble doing ADB.
When it's in stock, the phone will only accept ADB commands and show up in ADB Devices when the USB mode is set to MIDI. It doesn't work with ADB in MTP mode. But in MTP mode, I can drop files to the phone from Windows File Manager, but no ADB. In TWRP recovery mode, with MTP on I can't drop files to the phone. In TWRP, if I disable MTP, the phone no longer shows up in Windows. That's the background on this phone.
I'm trying to flash Pure Nexus, GApps, Magisk, and Franco Kernel to this phone without encrypting it.
As a starter step, I have flashed stock and TWRP to it without rebooting to the stock ROM (which would encrypt the phone).
(Note I know many people say encryption doesn't matter for better performance. Let's not get distracted by that discussion here. I'm trying to see if I can flash this custom setup without encrypting.)
I now need to get the Zips for PN, GApps, Magisk, and Franco onto the phone but am unable to use adb push command or Windows File Manager to drop those files.
So it has fresh stock and TWRP on it. Now when the phone is in TWRP, and I try to "adb push ROM.zip" I get an error: failed to get feature set: no devices/emulators found If I try adb devices it returns a blank list.
So while TWRP is on the phone i don't know other ways to push the Zips over to a folder on the phone.
In Windows File Manager I can see the device Nexus 6 and inside of that is Internal Storage. If I try to drop files to Internal Storage using Windows, it processes for a long time and hangs.
In Windows File Manager I cannot create a new folder on the phone when it's in TWRP mode.
In TWRP, Mount, the default boxes checked are Data and Cache. Others aren't checked.
Is there some other trick to getting those Zips onto the phone without booting the phone into Stock, thus encrypting the data? Thanks
wittier said:
One of my N6s has a little trouble doing ADB.
When it's in stock, the phone will only accept ADB commands and show up in ADB Devices when the USB mode is set to MIDI. It doesn't work with ADB in MTP mode. But in MTP mode, I can drop files to the phone from Windows File Manager, but no ADB. In TWRP recovery mode, with MTP on I can't drop files to the phone. In TWRP, if I disable MTP, the phone no longer shows up in Windows. That's the background on this phone.
I'm trying to flash Pure Nexus, GApps, Magisk, and Franco Kernel to this phone without encrypting it.
As a starter step, I have flashed stock and TWRP to it without rebooting to the stock ROM (which would encrypt the phone).
(Note I know many people say encryption doesn't matter for better performance. Let's not get distracted by that discussion here. I'm trying to see if I can flash this custom setup without encrypting.)
I now need to get the Zips for PN, GApps, Magisk, and Franco onto the phone but am unable to use adb push command or Windows File Manager to drop those files.
So it has fresh stock and TWRP on it. Now when the phone is in TWRP, and I try to "adb push ROM.zip" I get an error: failed to get feature set: no devices/emulators found If I try adb devices it returns a blank list.
So while TWRP is on the phone i don't know other ways to push the Zips over to a folder on the phone.
In Windows File Manager I can see the device Nexus 6 and inside of that is Internal Storage. If I try to drop files to Internal Storage using Windows, it processes for a long time and hangs.
In Windows File Manager I cannot create a new folder on the phone when it's in TWRP mode.
In TWRP, Mount, the default boxes checked are Data and Cache. Others aren't checked.
Is there some other trick to getting those Zips onto the phone without booting the phone into Stock, thus encrypting the data? Thanks
Click to expand...
Click to collapse
SUCCESS
Update: with some manipulation in TWRP, I was able to get a file system I could see and drop files to from Windows.
After flashing stock, and TWRP, and booting to TWRP (without ever booting to system/stock, which would have encrypted phone) i did the following.
I'm trying to remember all the steps but I think that Wiping the data and cache partitions via TWRP was the key, and required before I could move zips over to the phone.
I dropped the Pure Nexus, GApps, and Magisk onto the phone and then flashed them in that order via TWRP
Rebooted to system.
It installed and set up under Pure Nexus. It's reloading my apps from my Google account.
I checked Settings, Security and the phone is not encrypted.
I haven't yet checked on the GApps and Magisk. I assume I can install Franco Kernel from the Franco Manager app that I bought.
When you can't transfer files from PC to the N6:
Remove the drivers of the PC and let Windows search for the latest drivers.
Check on https://dl.twrp.me if you have the latest version of TWRP.
NLBeev said:
When you can't transfer files from PC to the N6:
Remove the drivers of the PC and let Windows search for the latest drivers.
Check on https://dl.twrp.me if you have the latest version of TWRP.
Click to expand...
Click to collapse
thanks. it is the latest TWRP.
I fixed it, see above, it wasn't the drivers on the PC.
The PC works with my other N6. This N6 has issues.
The workaround of wiping in TWRP fixed it. I don't know yet if I'd have to do the same wipe with my better N6. Will find out soon.
wittier said:
... I don't know yet if I'd have to do the same wipe with my better N6. Will find out soon.
Click to expand...
Click to collapse
Updating TWRP to the latest version is a good practice.
wittier said:
SUCCESS
Update: with some manipulation in TWRP, I was able to get a file system I could see and drop files to from Windows.
After flashing stock, and TWRP, and booting to TWRP (without ever booting to system/stock, which would have encrypted phone) i did the following.
I'm trying to remember all the steps but I think that Wiping the data and cache partitions via TWRP was the key, and required before I could move zips over to the phone.
I dropped the Pure Nexus, GApps, and Magisk onto the phone and then flashed them in that order via TWRP
Rebooted to system.
It installed and set up under Pure Nexus. It's reloading my apps from my Google account.
I checked Settings, Security and the phone is not encrypted.
I haven't yet checked on the GApps and Magisk. I assume I can install Franco Kernel from the Franco Manager app that I bought.
Click to expand...
Click to collapse
I updated my other N6 last night.
After flashing stock ROM and TWRP and booting to TWRP only, I didn't have to wipe before I could push files to the phone.
The other phone is more difficult.
I am just new to this flashing custom roms or firmware and twrp also. And dumb enough to not back it up.
I wanted to install arrow os in my phone. When I was about to wipe data, cache and dalvik, I accidentally checked metadata also and wiped. Then problems created more problems.
problems right now:
I cant put a file in my storage
Internal Storage is just blank on my pc
No OS
TWRP on both slots
please help me i really needed help and knowledge about it
I hope the attachment helps
EDIT--
Solutions to my problems:
WHEN you softbrick your phone and you only have fastboot and nothing else
Thanks to this guy..
SOLUTION: download your original firmware but choose the fastboot one and not recovery after download just unzip. Double click flash_all.bat and its back to square one.
WHEN you dont know how to flash or the file you have is .img
SOLUTION: find a guide in xda because apparently you can install a .img file in "fastbootd" mode
the guides here: https://forum.xda-developers.com/t/...sues-all-without-any-custom-recovery.4337099/
COMMENT: not the usual thats what on top of youtube search.
WHEN you see errors in twrp/orangefox recovery you might get panic and search for solution.
COMMENT: try to find and use a solution that doesnt delete something first. In my experience it got bricked even more.
Thanks to the people who commented back on my post and helping me get to know what to do next.
Try putting the stock ROM on a SD card or usb (if you have a dongle).
georg3_ said:
Try putting the stock ROM on a SD card or usb (if you have a dongle).
Click to expand...
Click to collapse
SD card that you put on beside the sim? if yes
Do I download stock ROM in official website? Cus I dont have 1 right now
then flashing it there by using twrp? is that how its gonna run? because i really dont wanna assume and create another problem
Try flashing this stock ROM (global) from a SD card, in TWRP. It's a recovery package, so you can install it as any zip.
Also, can you boot into fastboot/bootloader from TWRP?
Plus, where did you get the ArrowOS image? There are no builds, official or not.
georg3_ said:
Plus, where did you get the ArrowOS image? There are no builds, official or not.
Click to expand...
Click to collapse
I found it here
It is made my myst33d and it is a beta build
im getting a sd card right now to test it out
And yes I still can go to fastboot/bootloader from twrp
I cant seem to find my file in twrp... even in file manager
the file is int .tgz must I change it to .zip?
raikiro1 said:
I cant seem to find my file in twrp... even in file manager
Click to expand...
Click to collapse
Is the twrp detecting your sd card?try click on the Install image and change to install zip
can you sideload?
I can now see it, I think I reflashed twrp, now I can, but I cant install because of failed to mount system_root and I have done change file system of data to Ext4. when it resets it comes back to f2fs
edit: change file system of data to Ext4 failed
edit2: thank you guys really for commenting back and helping me
is no verity affecting it? cus I am not able to install it now
you should format data and put the arrow build in it, maybe it will work
J6idot said:
you should format data and put the arrow build in it, maybe it will work
Click to expand...
Click to collapse
I have changed the data to Ext4, fomarted, wiped again the data,dalvik and cache
I have a Redmi Note 10S Rosemary from xiaomiupdater but I still cannot install the rom cus there is a error " Error installing zip file /sdcard1/thefile."
I tried to install no verity opt encrypt but failed and says updater process ended with ERROR: 1
Error installing zip file "sdcard1/thefile"
raikiro1 said:
I cant seem to find my file in twrp... even in file manager
the file is int .tgz must I change it to .zip?
Click to expand...
Click to collapse
Must change it to zip.
EDIT: Extract the file, there's a zip or img inside.
raikiro1 said:
I have changed the data to Ext4, fomarted, wiped again the data,dalvik and cache
I have a Redmi Note 10S Rosemary from xiaomiupdater but I still cannot install the rom cus there is a error " Error installing zip file /sdcard1/thefile."
I tried to install no verity opt encrypt but failed and says updater process ended with ERROR: 1
Error installing zip file "sdcard1/thefile"
Click to expand...
Click to collapse
Try to sideload it, maybe it'll work.
georg3_ said:
Must change it to zip.
Click to expand...
Click to collapse
Should have said "extract the file, there's a zip or img inside", don't change the file extension.
Update: I found the guide how to sideload ... just change the Ext4 to F2fs
[Tutorial] TWRP ADB Sideloading
Alternative solution: OTG usb flash drive - With one of these, you can store a ROM zip safely, and still format ‘userdata’ to f2fs or EXT4. TWRP ADB Sideloading Requirements: Mac | Linux | Windows PC / Laptop and TWRP Custom Recovery Moto G...
forum.xda-developers.com
and I was able to sideload it and then got MIUI finally
what worried me is there were still errors like system_root, vendor and product... and its running fine now I guess but im back on track to make it to arrow OS.... I hope no mistakes this time like deleting metadata.
Thank you all who replied to this post , I really do. Thank you
raikiro1 said:
Update: I found the guide how to sideload ... just change the Ext4 to F2fs
[Tutorial] TWRP ADB Sideloading
Alternative solution: OTG usb flash drive - With one of these, you can store a ROM zip safely, and still format ‘userdata’ to f2fs or EXT4. TWRP ADB Sideloading Requirements: Mac | Linux | Windows PC / Laptop and TWRP Custom Recovery Moto G...
forum.xda-developers.com
and I was able to sideload it and then got MIUI finally
what worried me is there were still errors like system_root, vendor and product... and its running fine now I guess but im back on track to make it to arrow OS.... I hope no mistakes this time like deleting metadata.
Thank you all who replied to this post , I really do. Thank you
Click to expand...
Click to collapse
no problem next time installing, stick to sideloading, less room for error
I cant seem to install TWRP recovery again it justs bootloop .. I dont know why anybody knows?
Whenever I fastboot boot twrp3.6.1-rosemary it fails, says too many links, and when I fastboot reboot recovery it boot loops
flashboot flash boot twrprosemary says okay in slot A and I even put it to B and flash it there sadly
the problem might be because its A12 ... just an update
raikiro1 said:
I cant seem to install TWRP recovery again it justs bootloop .. I dont know why anybody knows?
Whenever I fastboot boot twrp3.6.1-rosemary it fails, says too many links, and when I fastboot reboot recovery it boot loops
flashboot flash boot twrprosemary says okay in slot A and I even put it to B and flash it there sadly
the problem might be because its A12 ... just an update
Click to expand...
Click to collapse
A12 shouldn't be a problem.
Probably you should flash another vbmeta.img.
OR
I don't know if there is an .img twrp around, but if there is you can:
Code:
fastboot boot {recovery.img}
and then [Advanced]>[Install Recovery Ramdisk].
raikiro1 said:
I cant seem to install TWRP recovery again it justs bootloop .. I dont know why anybody knows?
Whenever I fastboot boot twrp3.6.1-rosemary it fails, says too many links, and when I fastboot reboot recovery it boot loops
flashboot flash boot twrprosemary says okay in slot A and I even put it to B and flash it there sadly
the problem might be because its A12 ... just an update
Click to expand...
Click to collapse
what vbmeta are you using?