[Q] Can't flash root rom with twrp - HTC One Mini

Hi, I am new to rooting and flashing roms and I am stuck at the flashing rooted stock rom part of this guide from theunlockr (can't post urls) . The specific name of the rom I am trying to flash is JmzM4StockRooted_Odex_ATT-1.24.502.3 . The problem is that I copied the .zip file onto the root of my sd card and I can see it in the file manager I use, but it doesn't show up in twrp. I don't know if this has anything to do with it.. but when I click the middle menu button it says unable to mount /system. My carrier is AT&T and I unlocked the bootloader through HTC's dev website. Thanks in advance

zsaintsfan101 said:
Hi, I am new to rooting and flashing roms and I am stuck at the flashing rooted stock rom part of this guide from theunlockr (can't post urls) . The specific name of the rom I am trying to flash is JmzM4StockRooted_Odex_ATT-1.24.502.3 . The problem is that I copied the .zip file onto the root of my sd card and I can see it in the file manager I use, but it doesn't show up in twrp. I don't know if this has anything to do with it.. but when I click the middle menu button it says unable to mount /system. My carrier is AT&T and I unlocked the bootloader through HTC's dev website. Thanks in advance
Click to expand...
Click to collapse
When your phone is booted, root of SD card is "/sdcard".
But, this location is actually "/data/media/0" when looking from TWRP. So you don't need "/system" partition at all to install this ROM.
Just go to TWRP, use "Install ZIP" option and go to "/data/media/0". Your file should be there, select it and install.
After install is finished, boot into your new ROM.
If you have issues after this and your phone won't boot and is stuck at HTC logo, go to TWRP again and choose "Factory reset". Don't change any options, just execute "Factory reset".
"Factory reset" will not delete your new ROM, it will just make it as you switched on the phone for the first time after unpacking.
And, yes, do a ROM backup from TWRP before you flash another ROM!
If anything goes wrong, you can just restore your original ROM, again from TWRP.

Jovke said:
When your phone is booted, root of SD card is "/sdcard".
But, this location is actually "/data/media/0" when looking from TWRP. So you don't need "/system" partition at all to install this ROM.
Just go to TWRP, use "Install ZIP" option and go to "/data/media/0". Your file should be there, select it and install.
After install is finished, boot into your new ROM.
If you have issues after this and your phone won't boot and is stuck at HTC logo, go to TWRP again and choose "Factory reset". Don't change any options, just execute "Factory reset".
"Factory reset" will not delete your new ROM, it will just make it as you switched on the phone for the first time after unpacking.
And, yes, do a ROM backup from TWRP before you flash another ROM!
If anything goes wrong, you can just restore your original ROM, again from TWRP.
Click to expand...
Click to collapse
I can go to /data and then to /media but I don't see a 0.

Related

[Q] how to remove ClockworkMod Recovery from nexus s ?

I unlocked and rooter my nexus s and after than I am enable to reboot it "normally" ... Each time I reboot it, I get ClockWorkMod.
How can I uninstall/remove ClockWorkMod from my Nexus s or prevent it from loading when I reboot it?
Thanks
Try downloading a ROM and transferring it to the phone. In Clockwork recovery you can go to "mounts and storage" and then mount usb so you can connect to your computer. Copy the ROM over to the root of your internal /sdcard and flash it, unmount usb, then flash/install the ROM in the main recovery menu.
Yes, flashing a stock Rom may do the trick.
Sent from my Nexus S using XDA App
irishrally said:
Try downloading a ROM and transferring it to the phone. In Clockwork recovery you can go to "mounts and storage" and then mount usb so you can connect to your computer. Copy the ROM over to the root of your internal /sdcard and flash it, unmount usb, then flash/install the ROM in the main recovery menu.
Click to expand...
Click to collapse
Is it possible to restore the original ROM? if so, where can I download one?
It is the first sticky thread at the top of this forum.
http://forum.xda-developers.com/showthread.php?t=1056062
Sent from my Nexus S using XDA App
Maybe I'm missing something, but unless he installed a custom rom, wouldn't flashing a new rom be like replacing the engine to try to fix a dead battery? If it's booting recovery when it should be booting system, could that be a problem with the bootloader or mount points (or could recovery have overwritten the system partition)?
Flame me if you want to. I'm just asking.
I interpreted his problem as CWM was staying as recovery when he was expecting stock recovery to return after reboot. I thought he wants stock recovery.
Sent from my Nexus S using XDA App
Double post.
I thought he couldn't boot any ROM and was stuck booting into recovery every time.
irishrally said:
I thought he couldn't boot any ROM and was stuck booting into recovery every time.
Click to expand...
Click to collapse
That would be crazy! I guess we will see if he returns.
Sent from my Nexus S using XDA App
irishrally said:
I thought he couldn't boot any ROM and was stuck booting into recovery every time.
Click to expand...
Click to collapse
Yes it's the case: every time I reboot, CWM is loading ... and no ROM to load.
I finaly downloaded a ROM from (a14a2dd09749.signed-soju-GRJ22-from-GRI40.a14a2dd0.zip ... because I'm new to this forum, I am not authorized to post links) and with the help of a few commands I got back android 2.3.4.
To summarize what I have done:
- download a14a2dd09749.signed-soju-GRJ22-from-GRI40.a14a2dd0.zip
- put it in the tools frolder of android SDK
- rename it update.zip
- send it to the device: adb push update.zip /sdcard/update.zip
- in CWM select: Install ZIP from sdcard
- then select: Choose ZIP from sdcard ... it then installed the ROM
- reboot
So now, I have my (new) android ROM loading back.
I think at the beginning, I have done something wrong when install CWM ... I think I installed it not as recovery boot but as normal boot.
Is there any complete guide to avoid such error?
Thanks
tikou said:
I think at the beginning, I have done something wrong when install CWM ... I think I installed it not as recovery boot but as normal boot.
Is there any complete guide to avoid such error?
Thanks
Click to expand...
Click to collapse
I suppose <fastboot flash system cwm_recovery.img> would do that. If that command is in a guide somewhere, I'm getting my flamethrower out.

root help, cannot find kernal

HI,
i am trying to use this guide
http://forum.xda-developers.com/showthread.php?p=14695856
i got the clockword running
however, i cannot find the
Select "install zip from sdcard".
Select "choose zip from sdcard
the whole menu option does exist all my CWM says is
"reboot system now
apply sdcard update.zip
wipe data/factory reset
wipe cache partition
format internal sd card"
i downloaded voodoo pb&j and left it in default file name "0602_charge_voodoo.zip." and copied it over.
it however refuses to show in CWM.
I have been searching the net for like 45 minutes trying to solve this.
can anyone help?
can someone plz help?
i just tried erasing all contents on SD card, and copying the kernal over, still doesnt show up in CWM.
ALso my CWM says "manual mode" is this the problem?
thx.
anyone? i really want to root but i am stuck =\
http://forum.xda-developers.com/showthread.php?t=1122657
that is the exact guide i am following, but i am having the problem i described above. within CWM i am unable to load the kernal.
When yo ugo into recovery mode what color is all the lettering on the screen?
Secondly after flashing CWR did you fully boot the device up before trying to flash a kernel? If so that is your problem. Reason being is if you DO NOT flash a kernel right after flashing CWR before boot the device the recovery image gets overwritten. You MUST install a custom kernel right after flashing CWR before fully booting the device up the first time.
will2live said:
When yo ugo into recovery mode what color is all the lettering on the screen?
Secondly after flashing CWR did you fully boot the device up before trying to flash a kernel? If so that is your problem. Reason being is if you DO NOT flash a kernel right after flashing CWR before boot the device the recovery image gets overwritten. You MUST install a custom kernel right after flashing CWR before fully booting the device up the first time.
Click to expand...
Click to collapse
He's right. You have to flash the kernel and rom before you boot. If your recovery is yellow your good to go. If its blue then your flashing the recovery correctly. Redownload the recovery file and try again.
hey thx works now, comes down to the first reboot. they should add that to the guide.
Great glad it got worked out for ya.

[Q] Well, I derp'd while rooting.

Yepp. After attempting to root my Nexus, I screwed up somewhere along the line and have now made my phone useless. Every little thing I've tried has not been able to fix it
I got the bootloader unlocked, but whenever I try and boot my phone, it gets to the google logo with the little unlocked padlock beneath it, and no further. So I screw'd up along the line following some probably bogus POS guide.
Anyhoo, I'd like to know how to fix it. I can still get into the fastloader, but I have no idea what to do from there. I'd like to figure out how to do a complete factory reset. I can't access the phone a usb mass storage device at all, so I can't figure out how to load a recovery file into clockwork.
Any help would be greatly appreciated. Its on a Koodo carrier (I believe its a branch of Telus up here in Canada)
Install android ask correctly with correct drivers. Execute : fastboot devices
Make sure you are in the boot loader.
If your device id shows up flash a recovery for your phone.
This should work provided that you do it correctly. As far as I know there is no way to overwrite nexus s bootloader so bricking it is virtually impossible unless you physically do some damage.
Sent from my Nexus S 4G using XDA App
obsanity said:
Install android ask correctly with correct drivers. Execute : fastboot devices
Make sure you are in the boot loader.
If your device id shows up flash a recovery for your phone.
This should work provided that you do it correctly. As far as I know there is no way to overwrite nexus s bootloader so bricking it is virtually impossible unless you physically do some damage.
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
ask correctly? You mean SDK?
I did get the Android SDK and instaled the Google drivers. Now what do I do with "execute :fastboot devices" ?
Put the cwm recovery image into the /tools folder inside your SDK folder, boot device into bootloader, open command prompt, type
fastboot devices (should return your device's id)
fastboot flash recovery <nameofrecovery>.img
go to recovery on the phone,
mount & storage > mount usb (if that doesn't work you are either missing more drivers or go back one step to mount & storage and mount /sdcard then repeat the step)
copy a ROM for YOUR device from the stickied topic in this very subforum onto your phone, a full rom, signed or unsigned doesn't matter.
unmount usb
go back to top menu in recovery, "install zip from sd card". choose the ROM you downloaded and run it, done
OP, we need to know, do you have Clockwork Recovery installed?
Yes. I have clockwork Recovery installed.
Clockwork Oranges said:
Yes. I have clockwork Recovery installed.
Click to expand...
Click to collapse
Ok did you flash a ROM after you rooted? You may have flashed a ROM that does not work for your device. Which model Nexus do you have and which ROM did you flash?
I didn't try flashing a Rom. I have an I9020A.
rentaric said:
Put the cwm recovery image into the /tools folder inside your SDK folder, boot device into bootloader, open command prompt, type
fastboot devices (should return your device's id)
fastboot flash recovery <nameofrecovery>.img
go to recovery on the phone,
mount & storage > mount usb (if that doesn't work you are either missing more drivers or go back one step to mount & storage and mount /sdcard then repeat the step)
copy a ROM for YOUR device from the stickied topic in this very subforum onto your phone, a full rom, signed or unsigned doesn't matter.
unmount usb
go back to top menu in recovery, "install zip from sd card". choose the ROM you downloaded and run it, done
Click to expand...
Click to collapse
I just tried one that was SUPPOSED to work with my phone, (I9020A) but it failed mid instalation and aborted. I tried re downloading and re installing it through clockwork and got the same error.
Clockwork Oranges said:
I just tried one that was SUPPOSED to work with my phone, (I9020A) but it failed mid instalation and aborted. I tried re downloading and re installing it through clockwork and got the same error.
Click to expand...
Click to collapse
Well if you have working Clockwork Recovery, then your solution is probably as simple as flashing another ROM. You can download another zip on your PC, then in CWM recovery go to Mounts and Storage and then Mount USB Storage. Then you can copy the zip over, then flash it.
I have done exactly the same thing OP! I am from Canada too, also Koodo. Let me guess you went here:
"a url that isnexusshacks.com/nexus-s-hacks/how-to-root-nexus-s/..."
I don't know if that guy is the retard - or if I am the retard for not scrolling down the screen and seeing everyone screaming about their phone being bricked lol.
I get extra points too because I didn't backup any of my sdcard data first %^&* lol
oh boy.
Well I'll let you know how I make out with the ROM, and hopefully Google will sync back my paid apps (well one - TouchDown)
Back up and rooted to boot. Not screwed after all. This site is a great resource, thank you so much!
Clockwork Oranges said:
I just tried one that was SUPPOSED to work with my phone, (I9020A) but it failed mid instalation and aborted. I tried re downloading and re installing it through clockwork and got the same error.
Click to expand...
Click to collapse
Make sure you have the correct recovery and the correct ROM for your phone model. I suggest you re-flash CWM recovery from this thead , then flash OTA ROM from this thread (look for the one that says "Works on: I9020A")

[Completed] Help! Stuck on Samsung boot screen!

Have a Verizon Samsung Galaxy Note II (SCH-i605). Took the latest OTA update to VRUEMJ9. Have since rooted and installed SafeStrap and was happily running N3BULA ROM, when I decided to explore a bit and tried to flash Alliance ROM. Now I'm stuck on the Samsung boot screen and can go no further. I am able to access Android system recovery, but when I try to 'apply update from external storage' I get 'E:signature verication failed' message. Tried to flash to stock via Odin, but unsuccessful. Shows Added in Odin but nothing happens when I select the .pit file or the .tar file. This is a work issued phone, so any help to get up and running would be greatly appreciated!
Brantosapien said:
Have a Verizon Samsung Galaxy Note II (SCH-i605). Took the latest OTA update to VRUEMJ9. Have since rooted and installed SafeStrap and was happily running N3BULA ROM, when I decided to explore a bit and tried to flash Alliance ROM. Now I'm stuck on the Samsung boot screen and can go no further. I am able to access Android system recovery, but when I try to 'apply update from external storage' I get 'E:signature verication failed' message. Tried to flash to stock via Odin, but unsuccessful. Shows Added in Odin but nothing happens when I select the .pit file or the .tar file. This is a work issued phone, so any help to get up and running would be greatly appreciated!
Click to expand...
Click to collapse
Have you performed a "wipe data" option from the recovery after flashing the alliance ROM (it wipes your user data)?
Because I just visited the alliance ROM thread ( http://forum.xda-developers.com/showthread.php?t=2032447 and in the install instructions its mentioned so.
Better take a little time and properly read the install instructions during flashing..
Sent from my GT-I9070 using Tapatalk
dagger said:
Have you performed a "wipe data" option from the recovery after flashing the alliance ROM (it wipes your user data)?
Because I just visited the alliance ROM thread ( http://forum.xda-developers.com/showthread.php?t=2032447 and in the install instructions its mentioned so.
Better take a little time and properly read the install instructions during flashing..
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
I never had that option. I've flashed numerous ROMS before and am pretty meticulous when it comes to following instructions. It appeared to have a custom flash script which allowed me to pick what I did and didn't want to install. I tried to keep it mostly stock and when it completed, it automatically rebooted (didn't give me an option to 'wipe data') and now leaves me stuck on the Samsung Boot Screen. I was able to flash the .pit file via Odin, but keep getting a 'MD5 hash value is invalid' when I try to flash the .tar file.
Brantosapien said:
I never had that option. I've flashed numerous ROMS before and am pretty meticulous when it comes to following instructions. It appeared to have a custom flash script which allowed me to pick what I did and didn't want to install. I tried to keep it mostly stock and when it completed, it automatically rebooted (didn't give me an option to 'wipe data') and now leaves me stuck on the Samsung Boot Screen. I was able to flash the .pit file via Odin, but keep getting a 'MD5 hash value is invalid' when I try to flash the .tar file.
Click to expand...
Click to collapse
You should enter into recovery and then manually wipe data..
Also if that thing doesnt work, then have a look at this thread which explains how to go back to stock rom..
In addition,
A. Why doesnt Odin work?
Did you unextract the tar and pit from the rar/zip so that odin could recognize the files as suggested in dagger's link in section 1b step 2?
Did you install samsung drivers on your computer properly? You may use this toolkit for that
B. Rescue by CWM
Signature verification failed is caused (I think) by stock samsung recovery's choosiness, if you are sure you downloaded the zip correctly. What zip did you exactly try to flash?
So now, you may want to flash a cwm recovery or a kernel that contains cwm inside. Flashing usually uses adb using fastboot. Search "flashing a recovery image" or "flashing a kernel" where your chosen kernel should have cwm inside. cwm usually does not put out that signature verification error.
Remember:
You can access recovery mode through an app or by pressing a button combo when turning your phone on. Device specific.
Stock samsung recovery can wipe data.
CWM can also wipe data, and is the preferred installation method for most/all custom roms. And it can make a nandroid backup.
If ever you do choose to flash, you'll need the toolkit to install adb/fastboot drivers, but maybe since yours in locked bootloader the adb thing might not work.
Hope this helps

Where do I get Gapps without pc

I recently just rooted my phone (Nexus 6) and added custom ROM and custom back up for CM12 but when everything booted up there were no Google apps and I cannot download any apps as well bc there is no play store? How do I get Gapps on my phone without having to use a PC bc I got through this whole process without one so I need to finish it likewise and plus I do not have a computer yet.
Chessiwill said:
I recently just rooted my phone (Nexus 6) and added custom ROM and custom back up for CM12 but when everything booted up there were no Google apps and I cannot download any apps as well bc there is no play store? How do I get Gapps on my phone without having to use a PC bc I got through this whole process without one so I need to finish it likewise and plus I do not have a computer yet.
Click to expand...
Click to collapse
To avoid future confusion are you on cm12.0 or cm12.1? Gapps packages are available as a zip package which you flash in recovery just like a ROM (but over the top, after ROM install ).
If you can work out the one you want without further help from me, I recommend slim gapps. Just pick the correct one you want, download on phone to storage and flash in recovery.
Ok so I am currently running cm12.1 and I have downloaded a zip file for the gapps but of course its not compatible with any of CM12.1's stock apps. So the question is how do I correctly flash in recovery and get the gapps file unzipped.
also when I try to flash it it in recovery my twrp is not loading up. It says "cyanogen Recovery" Im not sure hwats going on but what can i do excatly
Chessiwill said:
Ok so I am currently running cm12.1 and I have downloaded a zip file for the gapps but of course its not compatible with any of CM12.1's stock apps. So the question is how do I correctly flash in recovery and get the gapps file unzipped.
Click to expand...
Click to collapse
Why would it not be compatible? All GApps are are things like sync and more surface level apps like YouTube. Link me the exact package you downloaded and I'll tell you if its ok. Just do a nandroid backup and flash, the worse that can happen is that it doesn't work and you have to restore.
HTCDreamOn said:
Why would it not be compatible? All GApps are are things like sync and more surface level apps like YouTube. Link me the exact package you downloaded and I'll tell you if its ok. Just do a nandroid backup and flash, the worse that can happen is that it doesn't work and you have to restore.
Click to expand...
Click to collapse
So when i hold down the power button its gives me the option to reboot and i choose reboot then it says recovery or bootloader and i go to recovery. Instead of Twrp its just boots to "cyanogen recovery" and when im there i pressed install update because i want to install the gapps (I have the gapps zip file in my download folder) but after i press it it just says install failed and it prompts me back to recovery screen.
so i pressed reset on accident now i do not have anything on my phone expect for the cm12.1 because I checked the file manager and all my other twrp dowloads are gone as well as everything.
SO am i screwed or can i recovery from this failure.
Mind you i have a nexus 6
Chessiwill said:
So when i hold down the power button its gives me the option to reboot and i choose reboot then it says recovery or bootloader and i go to recovery. Instead of Twrp its just boots to "cyanogen recovery" and when im there i pressed install update because i want to install the gapps (I have the gapps zip file in my download folder) but after i press it it just says install failed and it prompts me back to recovery screen.
so i pressed reset on accident now i do not have anything on my phone expect for the cm12.1 because I checked the file manager and all my other twrp dowloads are gone as well as everything.
SO am i screwed or can i recovery from this failure.
Mind you i have a nexus 6
Click to expand...
Click to collapse
So you mean you have no ROM to boot into?
I'm not familiar with Cyanogen recovery... try to see if you can flash the ROM from the "install update" option.
If this succeeds, I recommend flashing TWRP as this will present far fewer issues than Cyanogen recovery.
Will I need a computer?
Chessiwill said:
Will I need a computer?
Click to expand...
Click to collapse
For which part? If you can boot into Cyanogen recovery, and you have the ROM zip file on your phone, then flash that using "install update" in recovery then boot it. If that works I'll guide you from there.
For the TWRP part, possibly. Some phones work fine just with the TWRP app.
Okay can you boot into a working ROM or not? if you can then don't worry, it's an easy fix. Alright so since you factory reset your device you'll have to go into settings and enable developer options and enable root. Once you did that download TWRP Manager and install TWRP for your Nexus 6. Now you're rid of that useless CyanogenMod recovery (only thing you can do with that is factory reset and install CM). Then redownload whatever Gapps you had tried to flash and flash them over CM12
Blu8 said:
Okay can you boot into a working ROM or not? if you can then don't worry, it's an easy fix. Alright so since you factory reset your device you'll have to go into settings and enable developer options and enable root. Once you did that download TWRP Manager and install TWRP for your Nexus 6. Now you're rid of that useless CyanogenMod recovery (only thing you can do with that is factory reset and install CM). Then redownload whatever Gapps you had tried to flash and flash them over CM12
Click to expand...
Click to collapse
So I downloaded the apk TWRP and it would not let me install the latest version (maybe because that was the one i installed orignally before i reset the phone) but it let me download the one right before the newest one "Twrp-2.8.7.0-shamu.img" to be excat. And prior to this i had already downloaded the slim Gapps as a zip ( i used the link that "HTCDreamOn" gave me on earlier in the thread) and they are located in my downloads folder.
Boom so i reboot the phone into recovery and finally Twrp recovery pops up instead of the cm recovery so thats good news but when i pressed install to flash the gapps they were not there in fact next to internal memeory it said "0 MB". so why is it saying i have nothing in my memory. I mean the download folder didnt even show up
Can you make a backup? What I mean is, does TWRP function otherwise or does everything say 0mb? When you go into the "mount" section is data checked?
Sent from my SM-G386T1 using Tapatalk
do I just need to download cm12.1 and gapps again and just wipe and backup then flash
Blu8 said:
Can you make a backup? What I mean is, does TWRP function otherwise or does everything say 0mb? When you go into the "mount" section is data checked?
Sent from my SM-G386T1 using Tapatalk
Click to expand...
Click to collapse
yes it is checked and it keeps saying
"E: Unable to mount /data/media/TWRP/ .twrps whentrying to read settings file."
and it keeps saying unable to mount storage

Categories

Resources