My files moved in TWRP - Sprint HTC One (M7)

I will drop roms/zips from my PC into the root of phone storage.
Now (I think after losing all my data after firmware update, but could have been after trying another rom) when using twrp, files are in data/media. Kinda annoying since I have been used to seeing those rom zips on the main screen when first opened for YEARS with every phone. When using CWM files are arranged correctly
Anyway to rearrange things so my files are not in data/media when using twrp??

STUCK in TWRP Recovery
naturecannon said:
I will drop roms/zips from my PC into the root of phone storage.
Now (I think after losing all my data after firmware update, but could have been after trying another rom) when using twrp, files are in data/media. Kinda annoying since I have been used to seeing those rom zips on the main screen when first opened for YEARS with every phone. When using CWM files are arranged correctly
Anyway to rearrange things so my files are not in data/media when using twrp??
Click to expand...
Click to collapse
I noticed this as well then realized that after flashing 2.6 TWRP via Goo, TWRP mounts a different file system in recovery than the current ROM I'm on. Any file I place on the SD card does not get mounted in TWRP as a file system that can be used. Therefore the most important part of a stock recovery is useless unless the phone is mounted via USB in recovery and the file is placed on that file system.
Regardless, I thought it was the way Goo flashed TWRP, being the fool that I am I tried to flash TWRP 2.6 via adb through the bootloader and it worked. Now when I go into recovery 2.6 Im stuck. Cant reboot out of Recovery can only swipe to unlock. Im currently waiting for the battery to die cause I cant do **** with the phone. For all intents and purposes it is a brick for the time being. Dont know what will happen after it dies and I juice it and try to reboot into the bootloader to revert back to 2.5 or CWM. Stuck at 49% and counting...WTF???

naturecannon said:
I will drop roms/zips from my PC into the root of phone storage.
Now (I think after losing all my data after firmware update, but could have been after trying another rom) when using twrp, files are in data/media. Kinda annoying since I have been used to seeing those rom zips on the main screen when first opened for YEARS with every phone. When using CWM files are arranged correctly
Anyway to rearrange things so my files are not in data/media when using twrp??
Click to expand...
Click to collapse
Did you flash a 4.2.2 Rom? If you did TWRP is reading the 0 folder created when flashing 4.2.2. All folder will always be in data/media. Sometimes the flash will move all files to data/media/0 sometimes the stay put. If you want TWRP to read the correct folder you have to delete the 0 folder in recovery data/media/0 then reboot recovery and you should be able to find your stuff in downloads again. Just make sure no files are still in the 0 folder. If there is stuff just move before deleting back to data/media.

Jason0071 said:
I noticed this as well then realized that after flashing 2.6 TWRP via Goo, TWRP mounts a different file system in recovery than the current ROM I'm on. Any file I place on the SD card does not get mounted in TWRP as a file system that can be used. Therefore the most important part of a stock recovery is useless unless the phone is mounted via USB in recovery and the file is placed on that file system.
Regardless, I thought it was the way Goo flashed TWRP, being the fool that I am I tried to flash TWRP 2.6 via adb through the bootloader and it worked. Now when I go into recovery 2.6 Im stuck. Cant reboot out of Recovery can only swipe to unlock. Im currently waiting for the battery to die cause I cant do **** with the phone. For all intents and purposes it is a brick for the time being. Dont know what will happen after it dies and I juice it and try to reboot into the bootloader to revert back to 2.5 or CWM. Stuck at 49% and counting...WTF???
Click to expand...
Click to collapse
Maybe it was the twrp goo flash that re arranged my files too. After wiping my phone and starting from scratch again i accidentally installed CWM afer unlooking my phone again. Noticed it and the rom i was trying had goo pre installed to i just used goo to install twrp.
Good luck getting back up and running.
EDIT: I never flashed a 4.2.2 Rom

dandan2980 said:
Did you flash a 4.2.2 Rom? If you did TWRP is reading the 0 folder created when flashing 4.2.2. All folder will always be in data/media. Sometimes the flash will move all files to data/media/0 sometimes the stay put. If you want TWRP to read the correct folder you have to delete the 0 folder in recovery data/media/0 then reboot recovery and you should be able to find your stuff in downloads again. Just make sure no files are still in the 0 folder. If there is stuff just move before deleting back to data/media.
Click to expand...
Click to collapse
Ok I will give that a shot. Thanks for the helpful reply!
EDIT: it worked. I had to remove TWRP from 0, then deleted 0 (nothing else of value in there, for me anyways) and all is well. Thanks again :good:

naturecannon said:
Maybe it was the twrp goo flash that re arranged my files too. After wiping my phone and starting from scratch again i accidentally installed CWM afer unlooking my phone again. Noticed it and the rom i was trying had goo pre installed to i just used goo to install twrp.
Good luck getting back up and running.
EDIT: I never flashed a 4.2.2 Rom
Click to expand...
Click to collapse
Oh so you installed the cwm recovery that will create the 0 folder too.

dandan2980 said:
Oh so you installed the cwm recovery that will create the 0 folder too.
Click to expand...
Click to collapse
Every time i make a backup with twrp it remakes the 0 folder

naturecannon said:
Every time i make a backup with twrp it remakes the 0 folder
Click to expand...
Click to collapse
That's odd are you on 4.1.2 or 4.2.2 cause if you are on 4.2.2 it will continue to make the 0 folder even if you delete it
Sent from my One using xda premium

Never a 4.2.2., 99 percent sure anyways.
I guess it's not a huge annoyance, I can live with it, I suppose I have to get used to it anyways since 4.2.2 is in the near future.
Thanks for the responses.

Related

How to Install 4.2 images, keep root and all data

**Disclaimer** If you don't understand what follows, don't attempt this. I'm not responsible for you softbricking your device,
This is a quick guide for how to install the new android without losing anything. You'll need fastboot for this. Also, before doing this, be sure to download the supersu cwm update zip, and have it on your sdcard. Make sure you also already have a custom recovery installed (I did twrp, but i'm sure cwm will work just as well). I would also suggest having a backup done, through titanium backup and through recovery, just incase.
First, download the factory images for the n7 from google's website. Decompress them (if you're in windows, you'll need winrar or something similar.) After you decompress the archive, there'll be another one inside (image-nakasi-jop40c.zip), decompress this one as well. Under here, you'll see the .img files for all the partitions. For now, go up one directory. You'll also see here bootloader-grouper-4.13.img. Once you have all this, reboot into the bootloader.
Once you're in the bootloader, you can update the bootloader to the new version (this step isn't needed, but I did it anyways). Plug into your pc, and type fastboot devices. Make sure it's not blank. If it is, you have to update drivers. If you can see the device, open up a command prompt, and cd to the directory that has the bootloader-grouper file. Type the following:
fastboot flash bootloader-grouper-4.13.img
then, after it's done, type:
fastboot reboot-bootloader
Now, you'll be booted back into the bootloader, it'll say 4.13. On to the rom.
cd into the folder image-nakasi-jop40c (make sure you see the files system.img and boot.img before you continue. If you don't see them, the next steps will do nothing but erase your kernel and system parition.)
now, you see the image files. Type the following (still in the bootloader)
fastboot erase system
fastboot flash system system.img
wait until it completes, then type:
fastboot erase boot
fastboot flash boot boot.img
Once this is done, hit the volume up on the device until it shows recovery mode on the top. When it does, push the power key and you'll boot into your recovery (shouldn't be touched.) Inside here, flash the supersu cwm zip file, which'll flash the superuser binary, and supersu. Once this is done, do a factory reset (removing your data and cache.) Boot into the rom.
Once it's booted, you'll notice your internal sd card appears to be empty (mine did, I was worried at first.) For some odd reason, it moved the entire contents of my sdcard into a folder on it called 0. When you get back into android, simply move the folder all up one level so they're in the proper place. You now have the rom booted, rooted, with all your data. Now, you can do a titanium restore to get all your stuff back.
My first boot got stuck for some reason. if it happens to you, just hold the power button and hard reboot. (I did this on 2 devices, it only happened to one of them, so I figured I'd give you all warning.)
Links:
SuperSu binary: https://docs.google.com/open?id=0B7a8xHNJlpgTR0ZkR1pWZWR2VzA
Google Factory Images: https://developers.google.com/android/nexus/images
Thanks for this.
I flashed the 4.2 ota in the dev section and I lost root. Can I just flash the supersu binary in cwm to regain root?
Thanks for this.. Apparently you found out too a clean 4.2 isn't rootable via typical methods.
That SuperSU package did the trick. I have to remember to keep a SuperSU binary on hand for these kinds of situations that SuperUser fails..
jefferson9 said:
Thanks for this.
I flashed the 4.2 ota in the dev section and I lost root. Can I just flash the supersu binary in cwm to regain root?
Click to expand...
Click to collapse
Yes. If you do it though cwm, you're not using any exploits, you're just inserting the superuser binary and supersu.apk into the proper places on the rom. On any nexus device, any rom, this will root it.
mstrk242 said:
Once it's booted, you'll notice your internal sd card appears to be empty (mine did, I was worried at first.) For some odd reason, it moved the entire contents of my sdcard into a folder on it called 0. When you get back into android, simply move the folder all up one level so they're in the proper place.
Click to expand...
Click to collapse
DANGER WILL ROBINSON!!
The "odd reason" is called "multiple users" - add a second user and they get a folder called 10.
tehSmoogs said:
DANGER WILL ROBINSON!!
The "odd reason" is called "multiple users" - add a second user and they get a folder called 10.
Click to expand...
Click to collapse
Exactly.
If everything goes right we should have an AOSP prerooted build in about *looks at watch* 20 minutes.... Unless there is a compile error or SU error. *laff*
Back to watching the scrolling terminal window
Just got this working on a mac...
did not update bootloader(couldnt get it to)
other than that, same commands except all fastboots are ./fastboot on a mac
the only other trick is i needed the fastboot and abd files in the jop40c folder...seems to have worked like a charm....im deff on 4.2 with su installed... and it looks like my data is still there...once google is done restoring i'll know just how sucessfull it is, but so far, seems to work!!!
kwhee07 said:
Just got this working on a mac...
did not update bootloader(couldnt get it to)
other than that, same commands except all fastboots are ./fastboot on a mac
the only other trick is i needed the fastboot and abd files in the jop40c folder...seems to have worked like a charm....im deff on 4.2 with su installed... and it looks like my data is still there...once google is done restoring i'll know just how sucessfull it is, but so far, seems to work!!!
Click to expand...
Click to collapse
I did this all on linux, just kind of adapted the guide for windows. I figured all the linux users would understand how to do it on their own. Glad to know it's the same for mac as well.
OK where did they put the developer options? Not in settings on my 32GB 4.2 device
Never mind. This: http://www.androidpolice.com/2012/1...hidden-in-android-4-2-heres-how-to-find-them/
rootbrain said:
OK where did they put the developer options? Not in settings on my 32GB 4.2 device
Never mind. This: http://www.androidpolice.com/2012/1...hidden-in-android-4-2-heres-how-to-find-them/
Click to expand...
Click to collapse
Settings - about tablet - build number
push it a few times and it will enable dev options
You have .bat file in the package.
Why so complicated?
I downloaded 4.2 from here:
http://android.clients.google.com/p...gned-nakasi-JOP40C-from-JZO54K.094f6629.zipia
I then just flashed it from recovery via CWM.
Done.
CWM asked me if I wanted to maintain root and of course I chose the correct answer on this, so now my N7 is running on a rooted 4.2.
Here is my method:
1. Download official 4.1.2 from http://forum.xda-developers.com/showthread.php?t=1929270 and 4.2 OTA image from http://forum.xda-developers.com/showthread.php?t=1989188
2. Boot into CWM (i have CWM touch installed)
3. Clear data and install 4.1.2, don't forget to turn on root in the installer
4. reboot check that root is fully working
5. reboot into recovery install 4.2
6. before reboot CWM will ask to disable recovery flash and protect root. Ansver yes to both questions
I'm confused, it says if you are already on a custom rom, just flash as usual.
What makes this different?
I was on stock ROM rooted with some system modifications, and this wwadd the only way I could get the update working...
Sent from my Nexus 7 using xda app-developers app
mstrk242 said:
For some odd reason, it moved the entire contents of my sdcard into a folder on it called 0. When you get back into android, simply move the folder all up one level so they're in the proper place. You now have the rom booted, rooted, with all your data. Now, you can do a titanium restore to get all your stuff back.
Click to expand...
Click to collapse
So I'm at the step listed above. I have 4.2 on my device but I can't seem to find this "0" folder. I'm browsing the /sdcard folder via adb shell. Am I looking at the wrong place? Do I have have the incorrect permissions? Or might it not be there?
Thanks.
Ill have to wait until a rooted rom is created, I have no comp.
Sent from my Nexus 7 using XDA Premium HD app
can I install image-nakasi-jop40c.zip directly without upgrading bootloader?
Zuk. said:
So I'm at the step listed above. I have 4.2 on my device but I can't seem to find this "0" folder. I'm browsing the /sdcard folder via adb shell. Am I looking at the wrong place? Do I have have the incorrect permissions? Or might it not be there?
Thanks.
Click to expand...
Click to collapse
Not advisable to move this folder - if it got moved to a new location by the o/s then there's probably a good reason why - maybe like 4.2 introducing multiple users
Each user appears to get their own "home" directory created in /mnt/shell/emulated/
Default user dir is "0"
Second user dir is "10"
Each contain the standard dir's from 4.1 and earlier.
Travelawyer said:
Why so complicated?
I downloaded 4.2 from here:
http://android.clients.google.com/p...signed-nakasi-JOP40C-from-JZO54K.094f6629.zip
I then just flashed it from recovery via CWM.
Done.
CWM asked me if I wanted to maintain root and of course I chose the correct answer on this, so now my N7 is running on a rooted 4.2.
Click to expand...
Click to collapse
You had two extra characters at the end of your link, but I fixed it above and it's good to go for others in the future. Just flashed it in TWRP, it didn't ask if I wanted to maintain root, hit reboot when it was complete and lost root, so it doesn't work for everyone - good news is that all my data remained intact without having to resort to advanced restoring my data from a backup....
When I tried the SuperSU binary root flash trick, I finally got root back. But don't think it's as easy to get to recovery! I had to obtain the TWRP Recovery one more time since it wiped it and put in place a recovery that did absolutely nothing but reboot the device after a few minutes, so you'll have to
Code:
fastboot flash recovery openrecovery-twrp-2.3.1.1-grouper.img
to get TWRP back.... Hope that helped everyone!

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?

[Q] [TWRP]Bootloops, can't mount to Windows to put new ROM or saved backup onto phone

My current situation is as follows:
ROM on it is bad and bootloops
Storage was wiped for a pure clean install
TWRP 2.5.0 doesn't seem to have any method to mount while in Recovery
As a result, I cannot boot it up to add the good files and I cannot mount it in Recovery to add the good files
I am at work and as such cannot use ADB.
If I can get it to mount, I can copy over the known good backups or just a known good ROM I can flash. There just doesn't seem to be any way to get it to mount in Windows 7 or 8. Does anyone have any suggestions?
rougegoat said:
My current situation is as follows:
ROM on it is bad and bootloops
Storage was wiped for a pure clean install
TWRP 2.5.0 doesn't seem to have any method to mount while in Recovery
As a result, I cannot boot it up to add the good files and I cannot mount it in Recovery to add the good files
I am at work and as such cannot use ADB.
If I can get it to mount, I can copy over the known good backups or just a known good ROM I can flash. There just doesn't seem to be any way to get it to mount in Windows 7 or 8. Does anyone have any suggestions?
Click to expand...
Click to collapse
Your only option now is to run the Stock ruu and return to stock. Theres plenty of threads on this forum that describe the procedure. You should never wipe the storage just for this reason. its much easier and less time consuming to flash a nandroid backup than having to revert back to stock via the ruu. Good luck and I hope everything works out
wranglerray said:
Your only option now is to run the Stock ruu and return to stock. Theres plenty of threads on this forum that describe the procedure. You should never wipe the storage just for this reason. its much easier and less time consuming to flash a nandroid backup than having to revert back to stock via the ruu. Good luck and I hope everything works out
Click to expand...
Click to collapse
I managed to find a machine I have sufficient privileges on for ADB. I can now push files to it. Do you know off hand what the path needed for TWRP backups is?
rougegoat said:
I managed to find a machine I have sufficient privileges on for ADB. I can now push files to it. Do you know off hand what the path needed for TWRP backups is?
Click to expand...
Click to collapse
should be /mnt/sdcard0/twrp/backups
but you wiped storage. Can you boot into fastboot? if so you can run the fastboot command
fastboot flash nameofrom.zip
you'll have to place the rom zip in the same directory as fastboot but fastboot should interrogate the zip file and flash the correct partitions
wranglerray said:
should be /mnt/sdcard0/twrp/backups
but you wiped storage. Can you boot into fastboot? if so you can run the fastboot command
fastboot flash nameofrom.zip
you'll have to place the rom zip in the same directory as fastboot but fastboot should interrogate the zip file and flash the correct partitions
Click to expand...
Click to collapse
I can get there. The issue is the one zip I have on hand doesn't seem to like being pushed that way. Rather than sit through a gig download I was just going to push a backup of stock I have on hand into the proper folder. At the very least I'd attempt it while downloading a stock+root rom.
rougegoat said:
I can get there. The issue is the one zip I have on hand doesn't seem to like being pushed that way. Rather than sit through a gig download I was just going to push a backup of stock I have on hand into the proper folder. At the very least I'd attempt it while downloading a stock+root rom.
Click to expand...
Click to collapse
ok the correct path according to my phone's file system is /sdcard/TWRP/BACKUPS
if those files don't exsist you can create them from adb shell
mk dir sdcard
cd sdcard
mk dir TWRP
cd TWRP
mk dir BACKUPS
exit out of adb shell by issuing the command exit
the
adb push nameofbackup.win /sdcard/TWRP/BACKUPS
wranglerray said:
ok the correct path according to my phone's file system is /sdcard/TWRP/BACKUPS
if those files don't exsist you can create them from adb shell
mk dir sdcard
cd sdcard
mk dir TWRP
cd TWRP
mk dir BACKUPS
exit out of adb shell by issuing the command exit
the
adb push nameofbackup.win /sdcard/TWRP/BACKUPS
Click to expand...
Click to collapse
Giving it a shot now.
Sorry my syntax was off it's mkdir without a space
Sent from my HTCONE using Xparent BlueTapatalk 2
wranglerray said:
Sorry my syntax was off it's mkdir without a space
Sent from my HTCONE using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
No worries, I'm versed enough commandline wise to know what you were getting at. Unfortunately it seems that random number path for the device chunk has changed since I did my backup(probably because of my wiping and being an overall idiot). The stock+root zip of a rom finished downloading though, so I'm flashing that now. Hopefully that ends this ordeal.
(Edit) Success getting it to be usable again. Now to start from scratch. (/edit)
rougegoat said:
No worries, I'm versed enough commandline wise to know what you were getting at. Unfortunately it seems that random number path for the device chunk has changed since I did my backup(probably because of my wiping and being an overall idiot). The stock+root zip of a rom finished downloading though, so I'm flashing that now. Hopefully that ends this ordeal.
Click to expand...
Click to collapse
good luck! post your results i'd be interested in knowing how it ends up.
Hey rogue.... went through this same problem about four days ago, almost blew my brains out because I thought I would have to smash my phone and return it through the best buy protection plan. Anyways... the ONLY way to fix your problem is to use the Sprint HTC One RUU. Boot your phone into fastboot usb mode and run the RUU. Takes about 10-15 minutes, and will have you COMPLETELY back to stock. From there, you need to start from scratch unlocking and installing the recovery. ViperRom is the only rom that won't bug out your sprint phone atm. Also be sure you relocked your phone before you run the RUU. I'm super busy atm and can't go find the RUU links, but google it and i'm sure you can find it. If not, i'll get you the links later if you pm me. Peace bro and good luck.
---------- Post added at 09:57 PM ---------- Previous post was at 09:51 PM ----------
cburch85 said:
Hey rogue.... went through this same problem about four days ago, almost blew my brains out because I thought I would have to smash my phone and return it through the best buy protection plan. Anyways... the ONLY way to fix your problem is to use the Sprint HTC One RUU. Boot your phone into fastboot usb mode and run the RUU. Takes about 10-15 minutes, and will have you COMPLETELY back to stock. From there, you need to start from scratch unlocking and installing the recovery. ViperRom is the only rom that won't bug out your sprint phone atm. Also be sure you relocked your phone before you run the RUU. I'm super busy atm and can't go find the RUU links, but google it and i'm sure you can find it. If not, i'll get you the links later if you pm me. Peace bro and good luck.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2250904
I know another person suggested this earlier, but failed to mention that sideloading once you're caught in this loop won't work. Run the RUU, unlock, and flash ViperRom.
Boot TWRP, then select “Mount”, then select only “Data” and connect your HTC One to your computer.
Considering you have adb.exe (Windows, part of fastboot.zip) or on Linux:
cd Downloads\ROM.zip
adb push ROM.zip /sdcard/
Replace ROM.zip with the ROM filename you copied earlier to Downloads (or any other) folder, then install the ROM.
It should be nearly same running CWM recovery. Hope that helps.
Rooted HTC one, no os, don't know how to push rom
I accidently wiped my os while putting a new rom on. I am INCREDIBLY inexperienced with this and really had no business fooling around with it. Regardless, I have the HTC One rooted with TWRP but cant get the new rom on to the phone. I'm on a mac and android file transfer is not recognizing my phone. Any help anyone could give would be great.
Try putting the rom on a usb stick and using an otg cable then mount it under twrp and flash from there?
Sent from my HTC One using xda app-developers app
Good Info
EazyVG said:
Boot TWRP, then select “Mount”, then select only “Data” and connect your HTC One to your computer.
Considering you have adb.exe (Windows, part of fastboot.zip) or on Linux:
cd Downloads\ROM.zip
adb push ROM.zip /sdcard/
Replace ROM.zip with the ROM filename you copied earlier to Downloads (or any other) folder, then install the ROM.
It should be nearly same running CWM recovery. Hope that helps.
Click to expand...
Click to collapse
Thanks for the Info

1.31.651.2 ruu?

Does anyone know when the new ruu for the HTC One comes out? I went to unroot my phone, locked the bootloader, and went to run the ruu, only to realize I did the system update a few days before. So now I'm stuck in a bootloop and I can't mount my sd card ( I think it's corrupted ) So I'm pretty much out of a phone till then, correct?
Thank you in advance guys.
If you can unlock again, and somehow get adb to work, you can s-off using revone. Then you can flash any RUU. Otherwise, I dunno
Sent from my HTCONE using xda premium
propjockey said:
If you can unlock again, and somehow get adb to work, you can s-off using revone. Then you can flash any RUU. Otherwise, I dunno
Sent from my HTCONE using xda premium
Click to expand...
Click to collapse
I re-unlocked the phone again but I have no clue how to do the rest.
If you can get files to your sd, you can run revone or moonshine to get s-off. Look in original development for the corresponding threads and instructions. Once you have that, you can RUU old firmware or unsigned.
Sent from my HTCONE using xda premium
I can't mount my internal storage. Even in TWRP recovery it shows nothing on the sd card. I think some how the internal sd card got corrupted, so I can't mount it.
Chloroform said:
I can't mount my internal storage. Even in TWRP recovery it shows nothing on the sd card. I think some how the internal sd card got corrupted, so I can't mount it.
Click to expand...
Click to collapse
I'm having a similar problem and need some help too!!
tx_jaycee said:
I'm having a similar problem and need some help too!!
Click to expand...
Click to collapse
I think the only thing that will fix our problem is a new version of the ruu. I knowledge on adb is very limited, I'm sure someone that knows what their doing can fix it 1,2,3, but that person isn't me. :crying:
ADB should not be your tool of choice. Fastboot would be your friend here, since it's a lot more direct in its method. If your internal card isn't completely hosed, you should be able to restore using the fastboot flash commands to reflash your /system and /boot and /recovery, at which point you should be fine. There are several threads on how to do this.
Rirere said:
ADB should not be your tool of choice. Fastboot would be your friend here, since it's a lot more direct in its method. If your internal card isn't completely hosed, you should be able to restore using the fastboot flash commands to reflash your /system and /boot and /recovery, at which point you should be fine. There are several threads on how to do this.
Click to expand...
Click to collapse
Can you point me in the right direction?
I tried the all in one kit, tells me device not found. I know it's found by my computer, it's in the device manager, plus I hear the noise that confirms a device is found. I can reboot my phone thru the all in one kit. I think it's best to wait for the newest ruu in my case.
Chloroform said:
Can you point me in the right direction?
Click to expand...
Click to collapse
Download the image of your choosing from this thread: http://forum.xda-developers.com/showthread.php?t=2368907.
Download TWRP 2.5 from this thread: http://forum.xda-developers.com/showthread.php?t=2236620.
Put your phone into fastboot mode (power + volume up + volume down). Plug the phone into your computer.
Install fastboot/ADB. You may need to search the web for the platform tools, or there are some toolkits that can help.
Open a command prompt and run "fastboot flash recovery <path-to-recovery.img>".
Go to Advanced -> ADB sideload, then run "adb install <path-to-downloaded-image.zip>".
If that doesn't work, open the zip and run:
fastboot flash system <path-to-system.img>
fastboot flash recovery <path-to-recovery.img>
Bottom line is if you're not willing to learn a bit about fastboot and ADB, then you shouldn't be using a toolkit because you won't be able to fix your device if something goes wrong.
So I pretty much tried everything with no luck BUT I flashed the boot.img and now I'm getting some where. Now it's showing my internal storage but the rom I had installed I guess erased. I've been searching around people saying flash system.img but how can I flash a system.img? All the files I've been finding are .zip and there any .img roms that I can flash?
Chloroform said:
I can't mount my internal storage. Even in TWRP recovery it shows nothing on the sd card. I think some how the internal sd card got corrupted, so I can't mount it.
Click to expand...
Click to collapse
I've had this problem. To correct it, I put everything I need to flash in /sdcard/0. TWRP sometimes only sees stuff within a 0 folder placed inside root.
If you haven't tried already, make a 0 folder on the sdcard, then copy it and see what TWRP shows.
Thank you to @Indirect for fixing my problem.
Chloroform said:
So I pretty much tried everything with no luck BUT I flashed the boot.img and now I'm getting some where. Now it's showing my internal storage but the rom I had installed I guess erased. I've been searching around people saying flash system.img but how can I flash a system.img? All the files I've been finding are .zip and there any .img roms that I can flash?
Click to expand...
Click to collapse
In the future, try extracting your downloaded .zip files.
OTA packages and recovery-flashable ROMs are provided as .zip files. Each archive contains the necessary .img files and a script that tells the recovery where to put them. You can extract these .img files and flash them with fastboot if you don't have recovery access.
Fastboot factory images generally are .img files compressed as .tar files. You'd better have a tool like 7zip onboard so you can deal with the many archive formats you'll find on the net.
Closed per OP request

[Q] Brick Help vs980 LG G2

Currently irate because I already typed all this then hit enter to be told I can only register once from this ip.
Any way...
Rooted vs98027a Android 4.4.2 via Stump Root
Used AutoRec which installed TWRP 2.7.00
Backed up Stock Rom
Mount button is missing
Rebooted into Stock to transfer backup to PC and place "cm-12-20150603-NIGHTLY-vs980.zip" as well as Lp gapps.
Rebooted back into TWRP
Wiped, then Installed the CM Nightly, wiped cache and rebooted.
Stuck in LG Boot loop.
Use buttons to boot back into TWRP, open Restore and It's just a blank navigation window.
TWRP just became ****ing worthless
Tried to wipe and possibly install same CM again. Still boot looping.
Tried getting to download mode, but it reboots before installing driver.
I have not a clue as to what to do next.
I can't get it to mount.
ADB Sideload Fails.
Terminal Command lets me select a blank navigation window.
And my original file structure is in like sdcard/0/0/0/0/0/0/0/0/ etc.
Please help, or at least redeem CM and TWRP's value somehow, because this is bs.
I sort of fixed it.
Restore showed up blank, because within the many /0/0/0/0/0/0/0/0 a new TWRP folder would be made or course containing nothing.
I also learned the adb is this magnificent goddess that can do things even when your phone can't.
Throughout further reading I glimpsed upon something about "loki" files that aren't compatible with specific versions of twrp or something. So If you've also been through this and still feel brave enough to flash a custom, then make sure you get the newest version of twrp...
As for the Restore issue, assuming you have a backup saved on pc, wipe everything then adb push the whole file (TWRP/BACKUPS/BLAHBLAH/BLAUGHESDIHF) to /sdcard/.... then it should show up in restore, if it doesn't then use file manager to place it in the right TWRP directory... You can also use the file manager to move the restore folder to the "correct" twrp folder if you don't have it backed up.

Categories

Resources