[RECOVERY]ClockworkMod Touch v6.0.3.4 - HTC First

USB OTG Info:
USB OTG will show up as external_sd. If external_sd is not mounting, reboot recovery. You must enter recovery with usb already inserted.
Installation:
Unlock bootloader at http://www.htcdev.com/bootloader/
Uncheck fastboot in the rom in power options
Turn phone completely off
Boot into HBOOT>Fastboot
Inside of fastboot. Erase cache. Use command "fastboot erase cache"
Use command "fastboot flash recovery recovery.img"
Root:
To gain root on stock rom. Flash recovery in fastboot then flash this inside of recovery. There are two root programs. Superuser and SuperSU. Both are listed.
Superuser - http://download.clockworkmod.com/superuser/superuser.zip
OR
SuperSU - http://download.chainfire.eu/supersu
Downloads:
http://goo.im/devs/Flyhalf205/MYSTUL/Recovery//recovery-clockwork-6.0.3.4-mystul.img
PC USB Mass Storage:
You can't! http://teamw.in/DataMedia

Touch version is a test. Not sure if it will work properly but the classic version should be fully working. Let me know of any problems.

Flyhalf205 said:
Touch version is a test. Not sure if it will work properly but the classic version should be fully working. Let me know of any problems.
Click to expand...
Click to collapse
At least on my device, the touch recovery does *not* work, but the classic recovery *does*. Cheers!
---------- Post added at 09:52 AM ---------- Previous post was at 09:51 AM ----------
One more thing to note: mounting the internal storage/sdcard does not seem to work either.

nuclear_eclipse said:
At least on my device, the touch recovery does *not* work, but the classic recovery *does*. Cheers!
---------- Post added at 09:52 AM ---------- Previous post was at 09:51 AM ----------
One more thing to note: mounting the internal storage/sdcard does not seem to work either.
Click to expand...
Click to collapse
I'll take down the Touch and get a test build out....Will never work mounting the storage The internal sdcard is actually located in /data/media. It can not be mounted as storage. The only way is to use ADB commands.

Flyhalf205 said:
I'll take down the Touch and get a test build out....Will never work mounting the storage
Click to expand...
Click to collapse
That's quite a shame then. Flashing from /sdcard is by far easier to manage than using adb sideload.... :'(

nuclear_eclipse said:
That's quite a shame then. Flashing from /sdcard is by far easier to manage than using adb sideload.... :'(
Click to expand...
Click to collapse
Adb sideload or adb push to the sdcard.
Sent from my ADR6425LVW using Tapatalk 2

Flyhalf205 said:
Adb sideload or adb push to the sdcard.
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
I tried adb pushing to /sdcard while running the recovery image, but it still refused to flash from there because it would fail trying to mount /sdcard. adb sideload was the only method that actually worked. Unless I'm missing something...

nuclear_eclipse said:
I tried adb pushing to /sdcard while running the recovery image, but it still refused to flash from there because it would fail trying to mount /sdcard. adb sideload was the only method that actually worked. Unless I'm missing something...
Click to expand...
Click to collapse
Not sure. Newer HTC phones are strange in the recovery. You mind testing TWRP?
Sent from my ADR6425LVW using Tapatalk 2

Sure, I'll test it shortly.

nuclear_eclipse said:
Sure, I'll test it shortly.
Click to expand...
Click to collapse
So, were you able to successfully root the First as well? Or was that back-and-forth about adb loading/side-loading about root? I tried re-reading the posts, but my newb-translator is on the fritz.

lordlittlebrooks said:
So, were you able to successfully root the First as well? Or was that back-and-forth about adb loading/side-loading about root? I tried re-reading the posts, but my newb-translator is on the fritz.
Click to expand...
Click to collapse
Yes, I have successfully rooted my First with the recovery and Superuser zip from the first post. Flash the recovery and reboot into it, then choose install zip from sideload, and then have your phone connected to the PC with the superuser zip, and run `adb sideload path/to/Superuser.zip`. Once that completes, reboot the phone, and you should have full root access.

nuclear_eclipse said:
Yes, I have successfully rooted my First with the recovery and Superuser zip from the first post. Flash the recovery and reboot into it, then choose install zip from sideload, and then have your phone connected to the PC with the superuser zip, and run `adb sideload path/to/Superuser.zip`. Once that completes, reboot the phone, and you should have full root access.
Click to expand...
Click to collapse
Thanks for spelling that out. Beers headed for you and flyhalf. Can't wait to get home and root my First!

lordlittlebrooks said:
Thanks for spelling that out. Beers headed for you and flyhalf. Can't wait to get home and root my First!
Click to expand...
Click to collapse
Thanks Glad everything is working out. Uploading a new TWRP build if anyone likes that better.
I've added a few extra features into the classic version of CWM. Power off option in the menu and reboot to bootloader in advance menu. Regular CWM doesn't have those

nuclear_eclipse said:
Yes, I have successfully rooted my First with the recovery and Superuser zip from the first post. Flash the recovery and reboot into it, then choose install zip from sideload, and then have your phone connected to the PC with the superuser zip, and run `adb sideload path/to/Superuser.zip`. Once that completes, reboot the phone, and you should have full root access.
Click to expand...
Click to collapse
Is it not possible to just put zip on sdcard and choose install zip from sdcard?
Sent from my HTC first

phositadc said:
Is it not possible to just put zip on sdcard and choose install zip from sdcard?
Sent from my HTC first
Click to expand...
Click to collapse
Since the recovery currently can't mount the sdcard partition, any attempt to flash from sdcard fails. The only method that works afaik is the option to flash via sideload, which requires the phone to be attached to a PC running adb. I'm not certain, but it sounds like this would also prevent the CyanogenMod built-in update mechanism to fail as well...

nuclear_eclipse said:
Since the recovery currently can't mount the sdcard partition, any attempt to flash from sdcard fails. The only method that works afaik is the option to flash via sideload, which requires the phone to be attached to a PC running adb. I'm not certain, but it sounds like this would also prevent the CyanogenMod built-in update mechanism to fail as well...
Click to expand...
Click to collapse
Can you see the folders on the sdcard when you go to install zip from sdcard?
Sent from my ADR6425LVW using Tapatalk 2

Flyhalf205 said:
Can you see the folders on the sdcard when you go to install zip from sdcard?
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
No.

nuclear_eclipse said:
No.
Click to expand...
Click to collapse
Okay. I'll need to look over my configs again. New build of twrp graphics should be fixed. See if you can see sdcard on that.
EDIT: I think I see what I did wrong in my config file. Building a new build.
Sent from my ADR6425LVW using Tapatalk 2

New build of CWM classic is up. Internal storage should work.

Flyhalf205 said:
New build of CWM classic is up. Internal storage should work.
Click to expand...
Click to collapse
Internal storage worked like a charm! Thanks again FlyHalf!

Related

Did i brick it already?

Like an idiot i flash a mod for a de-odexed ROM to my stock ROM UK Three M7. So stuck at the boot screen.
The problem is i cant seem to do anything about it. I have no back up (I know !!!), no ROM file on the device to flash and i cant seem to push anything to it.
ADB just says no device found even though it was working ok. Can anyone help? Ive tried it on multiple PCs.
AW: Did i brick it already?
Go to recovery Mount your memory to pc. Copy a Rom. After that flash Boot img via fastboot and then Rom from recovery.
Sent from my HTC One X using xda premium
It wont mount /sdcard, im on CWM recovery
AW: Did i brick it already?
You have PC connected and it wont mount..
Sent from my HTC One X using xda premium
---------- Post added at 12:48 PM ---------- Previous post was at 12:46 PM ----------
Maybe just try facrory reset from recovery..
Sent from my HTC One X using xda premium
Yeah it wont mount, nothing happens.
I cant push anything if it wont mount obviously, i could try doing it from external sd via OTG cable.. but i dont have one.
AW: Did i brick it already?
Did you tried with ruu?
Sent from my HTC One X using xda premium
As understand it if you have an S-ON device(i do) you have to use the right onee or it will fail.Its Three branded unit,so i need a three RUU. There isnt one out there.
RUUs only work if adb can see detect it
Have you tried going through fastboot? Just fastboot some boot.img to get it to boot, then put a ROM on your sdcard
It sees it now. I can get into recovery (CWM) and fastboot, but i have nothing to flash on the phone, i cant get anything onto the phone to flash! I try ADB sideload, it gets to100% but it says..
E: Can't open /tmp/update.zip
(bad)
I tried pushing to the SD card but the recovery then doesn't see the ZIP, its just not there.
/sdcard wont mount in CWM, nothing happens.
I tried a boot.img from the Maximus thread.
Ok its now accepted the sideload! Ive installed the ROM and its rebooted...
Its back!!!!!!
rovex said:
Ok its now accepted the sideload! Ive installed the ROM and its rebooted...
Its back!!!!!!
Click to expand...
Click to collapse
Awesomesauce
If you could get into recovery, theres a toggle / enable mass storage mode too? You couldve done that to mount your sdcard
I think it won't work
CNexus said:
Awesomesauce
If you could get into recovery, theres a toggle / enable mass storage mode too? You couldve done that to mount your sdcard
Click to expand...
Click to collapse
AW: Did i brick it already?
CNexus said:
Awesomesauce
If you could get into recovery, theres a toggle / enable mass storage mode too? You couldve done that to mount your sdcard
Click to expand...
Click to collapse
Thats what I meant before
But nice to have your device back. I'm waiting for my One too
Sent from my HTC One X using xda premium
Yeah there is no toggle in CWM and the stock recovery I reflashed was only a test build, and didnt actually do anything.
Well its now working again fine. I dont really know why it worked, but it did. It was suggested i try the Aroma file manager first, which sideloaded OK and let me browse the file system. I then re-downloaded the ROM I was trying to use (Maximus) and tried that. It worked with no errors, although the Aroma installer crashed the first time through, which I understand isnt unusual on the One.
Seems i didnt need to access the SDcard at all, it was just a problem with sideloading. It may have been a corrupt ROM download.
Needless to say i now have a CWM backup, Titanium backup and a ROM file on the SDcard just in case.
You cant mount USB storage in recovery on the HTC One, you can only use ADB Sideload to send the ROM if your stuck in a bootloop or if youve erased the system partition:
I have uploaded the latest binaries to my dev host account.
1. Download and extract these to a directory and copy the rom over into the same directory.
2. Boot up your phone into twrp recovery or a recovery that supports ADB Sideload.
3. Select advanced and adbsideload (Your phone will be waiting for the file transfer.)
4. Open command prompt in the above directory you created with the binaries and rom.
5. Issue command "adb devices" (You should get the serial number with sideload next to it)
6. Finally issue command "adb sideload rom.zip" (rom.zip will be the name of your rom)
This will start sending your rom to the handset and will automatically install.
Hope the above helps
Link to Binaries:
ADB Binaries
That's what I was doing, it simply wasn't working. It might have been a corrupt ROM download.
rovex said:
That's what I was doing, it simply wasn't working. It might have been a corrupt ROM download.
Click to expand...
Click to collapse
Could very well be. Happens more often than you would think
But the mass storage thing is strange....I've seen it on almost all recoveries, but i know TWRP no longer has it in their newer builds, maybe the same thing happened with CWM?

Help needed, device wiped

I was changing rom according to instructions and accidentally I have deleted my rom.zip. Now I'm stuck in recovery with nothing to flash and no idea how to push rom.zip to phone memory. I have otg cable. Can anyone come up with a solution or direction to relevant topic ?
Pum4 said:
I was changing rom according to instructions and accidentally I have deleted my rom.zip. Now I'm stuck in recovery with nothing to flash and no idea how to push rom.zip to phone memory. I have otg cable. Can anyone come up with a solution or direction to relevant topic ?
Click to expand...
Click to collapse
Easiest thing would be to put your ROM.zip on your usb and plug it into your phone before entering recovery. I'm not sure if Cwm classic supports otg but Cwm touch and twrp do
Sent from my HTC One using xda premium
redbull123 said:
Easiest thing would be to put your ROM.zip on your usb and plug it into your phone before entering recovery. I'm not sure if Cwm classic supports otg but Cwm touch and twrp do
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
will try. Should I flash it from pendrive or copy to internal and then install ?
I've tried and even it should be possible the device cant mount externel sd what to do now ?
Pum4 said:
will try. Should I flash it from pendrive or copy to internal and then install ?
Click to expand...
Click to collapse
I think it's called external_sd in recovery. Just flash it from there.
Sent from my HTC One using xda premium
---------- Post added at 08:20 PM ---------- Previous post was at 08:11 PM ----------
Pum4 said:
will try. Should I flash it from pendrive or copy to internal and then install ?
I've tried and even it should be possible the device cant mount externel sd what to do now ?
Click to expand...
Click to collapse
Apologies, I've just tried it myself in CWM Touch 6.0.3.1...
Go to Bootloader screen and plug in your cable
enter recovery
install zip from sdcard
choose zip from external sdcard
Works for me...
Sometimes if it doesn't mount I go to 'backup and restore' -> restore from external sdcard -> Go Back -> Go Back -> try it flashing from 'install zip from sdcard' again. (Although I have a nandroid backup on my usb so that may not work for you)
redbull123 said:
I think it's called external_sd in recovery. Just flash it from there.
Sent from my HTC One using xda premium
---------- Post added at 08:20 PM ---------- Previous post was at 08:11 PM ----------
Apologies, I've just tried it myself in CWM Touch 6.0.3.1...
Go to Bootloader screen and plug in your cable
enter recovery
install zip from sdcard
choose zip from external sdcard
Works for me...
Sometimes if it doesn't mount I go to 'backup and restore' -> restore from external sdcard -> Go Back -> Go Back -> try it flashing from 'install zip from sdcard' again. (Although I have a nandroid backup on my usb so that may not work for you)
Click to expand...
Click to collapse
when i try to do that, there is a commend listed: E: Cant mount /external_sd damn it
Pum4 said:
when i try to do that, there is a commend listed: E: Cant mount /external_sd damn it
Click to expand...
Click to collapse
Can you use adb & fastboot commands?
redbull123 said:
Can you use adb & fastboot commands?
Click to expand...
Click to collapse
yes I can, is mini sdk enough ?
Pum4 said:
yes I can, is mini sdk enough ?
Click to expand...
Click to collapse
yeah...
put your rom.zip in your mini-sdk folder
put your phone to the bootloader screen -> select fastboot -> it should now say 'fastboot usb'
hold shift and right-click on your mini-sdk folder -> Open Command Window Here
command: fastboot devices
if your device shows, enter recovery
command: adb devices
if your device shows,
adb push name_of_your_rom.zip /sdcard be sure to put a space before /sdcard. be sure the 'name_of_your_rom' is named exactly the same as your rom.zip
After a while your rom should be on your sdcard, just flash it as normal.
redbull123 said:
yeah...
put your rom.zip in your mini-sdk folder
put your phone to the bootloader screen -> select fastboot -> it should now say 'fastboot usb'
hold shift and right-click on your mini-sdk folder -> Open Command Window Here
command: fastboot devices
if your device shows, enter recovery
command: adb devices
if your device shows,
adb push name_of_your_rom.zip /sdcard be sure to put a space before /sdcard. be sure the 'name_of_your_rom' is named exactly the same as your rom.zip
After a while your rom should be on your sdcard, just flash it as normal.
Click to expand...
Click to collapse
Just did as you said. The tricky part is with opening command line in the specified folder, I would never have guess that you have to hold shift.
Now waiting for the file being moved to sdcard, after push command the _ is blinking as the file is being send right. File is sent XXX bytes in 222.sec
I tried to instal from the sdcard the recovery reboots itself when I press instal from sdcard
Pum4 said:
Just did as you said. The tricky part is with opening command line in the specified folder, I would never have guess that you have to hold shift.
Now waiting for the file being moved to sdcard, after push command the _ is blinking as the file is being send right. File is sent XXX bytes in 222.sec
I tried to instal from the sdcard the recovery reboots itself when I press instal from sdcard
Click to expand...
Click to collapse
Maybe try fastboot screen again,
fastboot erase cache
redbull123 said:
Maybe try fastboot screen again,
fastboot erase cache
Click to expand...
Click to collapse
remote not allowed
Pum4 said:
remote not allowed
Click to expand...
Click to collapse
'fastboot usb' should be on the screen
again, open cmd from your mini-sdk folder
do 'fastboot devices' just to be sure your device is seen
redbull123 said:
'fastboot usb' should be on the screen
again, open cmd from your mini-sdk folder
do 'fastboot devices' just to be sure your device is seen
Click to expand...
Click to collapse
done, entered recovery and when I press instal from sdcard the device is re-booting
the charging led is not lighiting up i fear i will drain it to zero and it will not charge again
Pum4 said:
done, entered recovery and when I press instal from sdcard the device is re-booting
the charging led is not lighiting up i fear i will drain it to zero and it will not charge again
Click to expand...
Click to collapse
ok, can you select install zip from sideload or does it crash?
if you can, select it and command in cmd (from your mini-sdk folder)
adb sideload name_of_your_rom.zip
once its finished sideloading it should begin install on your phone automatically
If you can't do that, try re-flashing your recovery and try everything again.
fastboot flash recovery name_of_your_recovery.img
(in 'fastboot usb') (name_of_your_recovery.img should be in mini-sdk folder)
redbull123 said:
ok, can you select install zip from sideload or does it crash?
if you can, select it and command in cmd (from your mini-sdk folder)
adb sideload name_of_your_rom.zip
once its finished sideloading it should begin install on your phone automatically
If you can't do that, try re-flashing your recovery and try everything again.
fastboot flash recovery name_of_your_recovery.img
(in 'fastboot usb') (name_of_your_recovery.img should be in mini-sdk folder)
Click to expand...
Click to collapse
I pushed sideload:
failed to open driver control: no csuch file or directory (x2)
sideload started now sen the package you want to apply to the device with adb sideload <filename>
in cmd adb devices:
HTXXXXXXX sideload
after command sideload progress is showed but I fear I have deleted sth important on the device ;/
rom was sideloaded but instalation was far to quick and it is still stuck on htc quietly brilliant... I have bricked my device (
Pum4 said:
I pushed sideload:
failed to open driver control: no csuch file or directory (x2)
sideload started now sen the package you want to apply to the device with adb sideload <filename>
in cmd adb devices:
HTXXXXXXX sideload
after command sideload progress is showed but I fear I have deleted sth important on the device ;/
rom was sideloaded but instalation was far to quick and it is still stuck on htc quietly brilliant... I have bricked my device (
Click to expand...
Click to collapse
Just hold down volume down + power button until it reboots. You may have to do it under a bright light. Keep holding them until your fastboot/hboot screen appears.
Try re-flashing your recovery as I said above and try again - if that doesn't work then I'm afraid I'm out of ideas
What ROM are you trying to install??
redbull123 said:
Just hold down volume down + power button until it reboots. You may have to do it under a bright light. Keep holding them until your fastboot/hboot screen appears.
Try re-flashing your recovery as I said above and try again - if that doesn't work then I'm afraid I'm out of ideas
What ROM are you trying to install??
Click to expand...
Click to collapse
just stock 4.2.2... I will try to do that again and if it doesnt work I will try to use ruu method but I wonder do I have to flash stock recovery then ?
Pum4 said:
just stock 4.2.2... I will try to do that again and if it doesnt work I will try to use ruu method but I wonder do I have to flash stock recovery then ?
Click to expand...
Click to collapse
send a link to the page you got the rom. i've never used RUU but I think it flashes stock recovery during the process
redbull123 said:
send a link to the page you got the rom. i've never used RUU but I think it flashes stock recovery during the process
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2281365
http://forum.xda-developers.com/showthread.php?t=2207874
I'm trying to find modeid and cidnum and its pn07100000 and orangb10... dont know which to choose...
I need mz phone tomoorow and Im getting desperate
I have flashed stock recovery and still it bootloops, getting hopeless
Pum4 said:
http://forum.xda-developers.com/showthread.php?t=2281365
http://forum.xda-developers.com/showthread.php?t=2207874
I'm trying to find modeid and cidnum and its pn07100000 and orangb10... dont know which to choose...
I need mz phone tomoorow and Im getting desperate
I have flashed stock recovery and still it bootloops, getting hopeless
Click to expand...
Click to collapse
I don't know anything about RUUs but this is what I would do just to get a working phone:
Flash custom recovery again
Flash Android Revolution 10.2 from here:
http://forum.xda-developers.com/showthread.php?p=38939202
Using adb push or sideload
It's 4.2.2 and close to stock
Sent from my HTC One using xda premium

Strange Brick, Sdcard empy,TWRP unable to mount sd dacr,s-on, ruu not working

Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
dexploit said:
Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
Click to expand...
Click to collapse
What version of Twrp recovery are you using?try to flash the Twrp either 2.3.3 or later but not the new version. Then try adb sideload
Sent from my HTC One using Tapatalk
dexploit said:
Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
Click to expand...
Click to collapse
I'm guessing you have HTC drivers installed.
Connect USB to windows Boot into Recovery, selecr Advanced, choose Sideload, then swipe to start sideload
then with adb use command 'adb devices'
Does your phone up? it'll have a name beginning with sideload
If it doesn't, possible driver issue. What OS are you using?
dexploit said:
Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
Click to expand...
Click to collapse
Did u mount USB OTG ??
CYNiCAL2KX said:
I'm guessing you have HTC drivers installed.
Connect USB to windows Boot into Recovery, selecr Advanced, choose Sideload, then swipe to start sideload
then with adb use command 'adb devices'
Does your phone up? it'll have a name beginning with sideload
If it doesn't, possible driver issue. What OS are you using?
Click to expand...
Click to collapse
yes lastest driver installed. i have twrp 2.7, i've done adb sideload customROM.zip but than ?
dexploit said:
yes lastest driver installed. i have twrp 2.7, i've done adb sideload customROM.zip but than ?
Click to expand...
Click to collapse
CYNiCAL2KX said:
I'm guessing you have HTC drivers installed.
Connect USB to windows Boot into Recovery, selecr Advanced, choose Sideload, then swipe to start sideload
then with adb use command 'adb devices'
Does your phone up? it'll have a name beginning with sideload
If it doesn't, possible driver issue. What OS are you using?
Click to expand...
Click to collapse
Did you do 'ADB devices'???
raghav kapur said:
Did u mount USB OTG ??
Click to expand...
Click to collapse
yes but on twrp in logs page it says "unable to mount otg" and "unable to mount /data /system /cache" Seems like the one doesn't recognize the partition
CYNiCAL2KX said:
Did you do 'ADB devices'???
Click to expand...
Click to collapse
yes and "sending: 'HTC_One_-_****************_32.0.0 (2).zip' 100%"
but than ? Phone bootloop and where is the rom that i've placed ?
dexploit said:
yes and "sending: 'HTC_One_-_****************_32.0.0 (2).zip' 100%"
but than ? Phone bootloop and where is the rom that i've placed ?
Click to expand...
Click to collapse
The phone bootlooped? Strange. TWRP usually runs the script straight after sideload. The zip is on sdcard/0/sideload.zip
What happens when you try to install the sideload.zip?
CYNiCAL2KX said:
The phone bootlooped? Strange. TWRP usually runs the script straight after sideload. The zip is on sdcard/0/sideload.zip
What happens when you try to install the sideload.zip?
Click to expand...
Click to collapse
in in twrp if i go to install i see only empy sdcard!!! but the adb sideload command was completed at 100 %...no errors, nothing..(yesterday i had cwm 5 and always all folder empy and unable to mount all !!!!)
Flash latest CWM recovery the same way you flash Twrp.twrp is unsecure coz you deleted all your system data in twrp recovery.after flash,cwm shoud work,and adb too.then put superuser.zip on internal storage,install thru cwm to gain root.flash arhd 52.0 rom to get it boot.
Sent from my HTC One using xda app-developers app
dexploit said:
in in twrp if i go to install i see only empy sdcard!!! but the adb sideload command was completed at 100 %...no errors, nothing..(yesterday i had cwm 5 and always all folder empy and unable to mount all !!!!)
Click to expand...
Click to collapse
I think you have a corrupted partition. Try this: http://android-revolution-hd.blogspot.co.uk/2013/10/fix-data-htc-one.html
Just something I found with a quick search but, I hope that will fix your problem, if not you should google around for more alternative methods to repairing a corrupted data partition
How Do I Recognise The Problem?
When trying to mount the DATA partition from inside the custom recovery using the mount /data command you will most likely see this output: mount: mounting /dev/block/mmcblk0p37 on /data failed: Invalid argument
To be 100% sure you can check filesystem structure with the following command: /sbin/e2fsck -n -f /dev/block/mmcblk0p37
Good luck
Click to expand...
Click to collapse
---------- Post added at 11:14 PM ---------- Previous post was at 11:06 PM ----------
shawek said:
Flash latest CWM recovery the same way you flash Twrp.twrp is unsecure coz you deleted all your system data in twrp recovery.after flash,cwm shoud work,and adb too.then put superuser.zip on internal storage,install thru cwm to gain root.flash arhd 52.0 rom to get it boot.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Read the full thread before posting
He used CWM but it shows no files on sdcard
Thanks, but doesn't work. Buto now i can mount sd card, but not /system and /cache!
shawek said:
Flash latest CWM recovery the same way you flash Twrp.twrp is unsecure coz you deleted all your system data in twrp recovery.after flash,cwm shoud work,and adb too.then put superuser.zip on internal storage,install thru cwm to gain root.flash arhd 52.0 rom to get it boot.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
So, I did part of this because I'm having a similar issue. I was able to flash CWM, but unable to mount USB storage in order to get this thing booted up. I tried to sideload and that's unsuccessful.
When I use the devices command in adb, it doesn't list it. However, when I typed devices in fastboot, it listed it. Obviously, I'm starting to get pissed.
i had a same problem,needed 3 days to solve it.I understand that adb cant recognize the device(i was getting that error too)and(typing "adb devices" sometimes shows the device)--,but can you put a zip file on internal storage of the phone,now when you have cwm recovery?try to get many informations as you can,read,you will fix this.i didnt try to fix partitions mentioned above,but you can try with that.
Sent from my HTC One using xda app-developers app
It seems like your data partition is trashed, and maybe you need to format it. This is more aggressive than wiping /sdcard and /data. TWRP can do this, and CWM probably can, too. Also, "fastboot devices" should only show the phone when it's in fastboot mode, and "adb devices" will show the phone when it's in recovery or running Android (with USB Debugging enabled).
If you want to poke around a little bit before taking this drastic step, I would try one more time to get adb connected--boot the phone to recovery, wait a few seconds, attach the cable, then give "adb devices" another try. Also, I don't know if the driver necessary for ADB is the same as fastboot. It's possible your computer is configured to do one but not the other. Is there someone else's computer you can ask to use for a few minutes to check this?
Solved unmount /system /cache /data
i've format all the formattable things in twrp , reboot and used adb push and after flash cyanogenmod! ! Thank you all guys !:good:

[Q] Erased Userdata how to push rom to phone

Was running CM12 nightlies that auto encrypted, so went to format data to remove encryption but keyboard in twrp wasnt accepting any characters so hence i wasnt able to decrypt, so i bootloader->fastboot erase userdata...now im back in twrp phone still encrypted (i know the password so im ok) but now theres obviously no rom on the phone how do i push a rom & kernel to my phone adb sideload seems to be hanging on "starting adb sideload feature" and when im in bootloader mode adb doesnt find my device
Fastboot erase userdata doesn't remove the ROM.
Adb isn't designed to work in bootloader. Use of in recovery. You can use adb to push files to /sdcard
See my thread here if you need help
http://forum.xda-developers.com/showthread.php?t=3006500
Plug the phone in to your computer and go to mount and enable mtp. Then go to your computer and copy and paste the rom zip as well as other zips (gapps kernel etc) onto your phone.
Sent from my Nexus 6 using Tapatalk
mak213 said:
Was running CM12 nightlies that auto encrypted, so went to format data to remove encryption but keyboard in twrp wasnt accepting any characters so hence i wasnt able to decrypt, so i bootloader->fastboot erase userdata...now im back in twrp phone still encrypted (i know the password so im ok) but now theres obviously no rom on the phone how do i push a rom & kernel to my phone adb sideload seems to be hanging on "starting adb sideload feature" and when im in bootloader mode adb doesnt find my device
Click to expand...
Click to collapse
Kinda had that issue I just used OTG with the ROM on it that solved my problem
or you can adb push files to your phone, via adb while you are in your recovery. but from what i understand/have heard, cm kernel does not allow decryption.
rootSU said:
Fastboot erase userdata doesn't remove the ROM.
Adb isn't designed to work in bootloader. Use of in recovery. You can use adb to push files to /sdcard
See my thread here if you need help
http://forum.xda-developers.com/showthread.php?t=3006500
Click to expand...
Click to collapse
ya but before i fastboot erase data, i did do a advanced wipe in recovery and did remove rom so cant boot ..
zephiK said:
Plug the phone in to your computer and go to mount and enable mtp. Then go to your computer and copy and paste the rom zip as well as other zips (gapps kernel etc) onto your phone.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
also when i try to mount i get no valid storage partitions found for mtp
simms22 said:
or you can adb push files to your phone, via adb while you are in your recovery. but from what i understand/have heard, cm kernel does not allow decryption.
Click to expand...
Click to collapse
adb is not being read for some reason in recovery, adb sideload is failing to start (never worked for me )
simms22 said:
or you can adb push files to your phone, via adb while you are in your recovery. but from what i understand/have heard, cm kernel does not allow decryption.
Click to expand...
Click to collapse
no they just don't give you an option to not encrypt with they're kernel, so you must flash another kernel after every nightly etc.
mak213 said:
no they just don't give you an option to not encrypt with they're kernel, so you must flash another kernel after every nightly etc.
Click to expand...
Click to collapse
right, that's the direction i was going..
---------- Post added at 03:25 PM ---------- Previous post was at 03:22 PM ----------
mak213 said:
adb is not being read for some reason in recovery, adb sideload is failing to start (never worked for me )
Click to expand...
Click to collapse
is the driver installed? and im not a adb sideload person, but adb push works great for me. just open the main page of twrp, dont press any options, then try adb push.
simms22 said:
is the driver installed? and im not a adb sideload person, but adb push works great for me. just open the main page of twrp, dont press any options, then try adb push.
Click to expand...
Click to collapse
Yea drivers installed was using adb few hours before incident, i unfortauntely resorted nexus toolkit and flashing stock to see if that works for some reason after i fastboot reboot'd out of fastboot it doesnt open twrp anymore just bootloops twrp, let ya know how it goes
EDIT: Just ended up flashing stock image and restarting from step 1 :/
mak213 said:
Yea drivers installed was using adb few hours before incident, i unfortauntely resorted nexus toolkit and flashing stock to see if that works for some reason after i fastboot reboot'd out of fastboot it doesnt open twrp anymore just bootloops twrp, let ya know how it goes
Click to expand...
Click to collapse
can always fastboot twrp again, or fastboot boot it
mak213 said:
adb is not being read for some reason in recovery, adb sideload is failing to start (never worked for me )
Click to expand...
Click to collapse
What does adb devices say when booted in recovery?

bricked, stuck in recovery

Hi there!
I have a TX1085, it is already unlocked and rooted and has the CM Recovery installed. But before the CM Recovery I had the TWRP Recovery installed and tried to use it to flash CM12, which I had put on the SD-Card. It kept on telling me that mounting the system failed. Unfortunately I wiped everything via TWRP Recovery without creating a backup. Then I installed the CM Recovery to try again. Now, if I try to flash via CM Recovery (apply update) it doesn't show anything in my internal storage and I can't connect via adb using Ubuntu (Terminal tells me either "device not found" or "device offline".)
Any suggestions?
Greets
I have no idea what I'm talking about, I'm still learning all this, but in your case, from what I've learnend so far I'd maybe try the "fastboot boot recoveryfile.img" command, loading TWRP or CMrecovery into the ram of the phone and start flashing from there?! (just an idea)
psssss said:
I have no idea what I'm talking about, I'm still learning all this, but in your case, from what I've learnend so far I'd maybe try the "fastboot boot recoveryfile.img" command, loading TWRP or CMrecovery into the ram of the phone and start flashing from there?! (just an idea)
Click to expand...
Click to collapse
Thanks for your suggestion! Unfortunately I don't know how to get access to my phone again via computer, which is - I think - because I deleted the system on it. Or how else could I get into the ram? This is my first time to flash a phone, so I really need some guidance.
pyq said:
Thanks for your suggestion! Unfortunately I don't know how to get access to my phone again via computer, which is - I think - because I deleted the system on it. Or how else could I get into the ram? This is my first time to flash a phone, so I really need some guidance.
Click to expand...
Click to collapse
Go to bootloader first the use the commands fastboot boot recovery.img
Try using twrp, everybody is working with it now.
Sent from xt1096 with Marshmallow!
josuearisty said:
Go to bootloader first the use the commands fastboot boot recovery.img
Try using twrp, everybody is working with it now.
Sent from xt1096 with Marshmallow!
Click to expand...
Click to collapse
I tried, but the Terminal gives me that:"cannot load 'recovery.img': No such file or directory". I'm in fastboot, is that correct? Is there another way?
Right now I can't (or don't know how to) switch back to TWRP, but I'll keep it in mind. Thanks for your help!
did you installed android sdk and adb drivers? if yes try to open cmd in sdk directory
pyq said:
I tried, but the Terminal gives me that:"cannot load 'recovery.img': No such file or directory". I'm in fastboot, is that correct? Is there another way?
Right now I can't (or don't know how to) switch back to TWRP, but I'll keep it in mind. Thanks for your help!
Click to expand...
Click to collapse
Look for adb in 15 seconds and install it, go to directory where fastboot is located.
Download twrp image and rename it or something and copy recovery.img to fastboot directory.
If there is no recovery.img in that directory it will fail.
After you copy and rename recovery.img then you will be able to do what I told you.
If you are new at modding, you have to take it easy and ask everything before doing it.
Sent from xt1096 with Marshmallow!
kaktusmaier125 said:
did you installed android sdk and adb drivers? if yes try to open cmd in sdk directory
Click to expand...
Click to collapse
I am using Linux without Android SDK, but I have working fastboot and adb installed.
josuearisty said:
Look for adb in 15 seconds and install it, go to directory where fastboot is located.
Download twrp image and rename it or something and copy recovery.img to fastboot directory.
If there is no recovery.img in that directory it will fail.
After you copy and rename recovery.img then you will be able to do what I told you.
If you are new at modding, you have to take it easy and ask everything before doing it.
Sent from xt1096 with Marshmallow!
Click to expand...
Click to collapse
I managed to get TWRP working again. I have the .zip-File in my Internal Storage, but can not mount System. How can I do this?
Edit: Wiping data seems to be working but I get the output "E:Unable to mount '/system'". When I try to install the ROM it fails to mount an unmount /system and gets stuck at "Patching system image unconditionally..."
pyq said:
I managed to get TWRP working again. I have the .zip-File in my Internal Storage, but can not mount System. How can I do this?
Edit: Wiping data seems to be working but I get the output "E:Unable to mount '/system'". When I try to install the ROM it fails to mount an unmount /system and gets stuck at "Patching system image unconditionally..."
Click to expand...
Click to collapse
try to flash stock firmware
kaktusmaier125 said:
try to flash stock firmware
Click to expand...
Click to collapse
How do I do it? Just put the stock.zip on the phone and flash with TWRP?
pyq said:
How do I do it? Just put the stock.zip on the phone and flash with TWRP?
Click to expand...
Click to collapse
see this post http://forum.xda-developers.com/moto-x-2014/general/guide-return-to-stock-official-status-t3274121
what the model you have
---------- Post added at 09:32 AM ---------- Previous post was at 09:26 AM ----------
file factory is slow so try https://mega.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg!h9FWBQha
and flow this insturction http://forum.xda-developers.com/moto-x-2014/general/guide-return-to-stock-official-status-t3274121
pyq said:
How do I do it? Just put the stock.zip on the phone and flash with TWRP?
Click to expand...
Click to collapse
Next time, please ask everything you need before doing something.
I have been modding my phones since the Motorola L7 and I always ask for everything on a new device before start modding.
That way I never bricked my phones.
Sent from xt1096 with Marshmallow!
kaktusmaier125 said:
see this post http://forum.xda-developers.com/moto-x-2014/general/guide-return-to-stock-official-status-t3274121
what the model you have
---------- Post added at 09:32 AM ---------- Previous post was at 09:26 AM ----------
file factory is slow so try https://mega.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg!h9FWBQha
and flow this insturction http://forum.xda-developers.com/moto-x-2014/general/guide-return-to-stock-official-status-t3274121
Click to expand...
Click to collapse
This post seems to be aiming for Windows users, but I am using Linux. Could I still use it? If yes, how?
josuearisty said:
Next time, please ask everything you need before doing something.
I have been modding my phones since the Motorola L7 and I always ask for everything on a new device before start modding.
That way I never bricked my phones.
Sent from xt1096 with Marshmallow!
Click to expand...
Click to collapse
That is why I asked you how to get CM installed with TWRP. I had the mounting problem at the very beginning already. How can I get CM installed now?
pyq said:
That is why I asked you how to get CM installed with TWRP. I had the mounting problem at the very beginning already. How can I get CM installed now?
Click to expand...
Click to collapse
The commands I wrote before, use the same steps but instead use the cm recovery.
I hope you understand!
Sent from xt1096 with Marshmallow!
pyq said:
I managed to get TWRP working again. I have the .zip-File in my Internal Storage, but can not mount System. How can I do this?
Edit: Wiping data seems to be working but I get the output "E:Unable to mount '/system'". When I try to install the ROM it fails to mount an unmount /system and gets stuck at "Patching system image unconditionally..."
Click to expand...
Click to collapse
In the newer versions of TWRP the first screen should show a Mount button. In that screen you should be able to mount any of the partitions.
josuearisty said:
The commands I wrote before, use the same steps but instead use the cm recovery.
I hope you understand!
Sent from xt1096 with Marshmallow!
Click to expand...
Click to collapse
If I use the "fastboot boot CM_recovery.img" command the phone installs it and then starts into TWRP. Except for that nothing changes. How can I continue?
rotorbudd said:
In the newer versions of TWRP the first screen should show a Mount button. In that screen you should be able to mount any of the partitions.
Click to expand...
Click to collapse
If I try to make a tick (as to mount) system the phone vibrates but doesn't tick system, so I can't mount it this way.
pyq said:
This post seems to be aiming for Windows users, but I am using Linux. Could I still use it? If yes, how?
Click to expand...
Click to collapse
Yes you can

Categories

Resources