[Q] How can I flash a custom rom AFTER wiping /data ?[solved] - One (M7) Q&A, Help & Troubleshooting

I know the title makes myself look like an idiot.
But I'm using CWM 6.0.2.8 and want to know if I can flash a rom that is in INTERNAL storage AFTER I wipe data/factory reset. I saw this thread, someone wipe data/factory reset and the rom in internal storage(virtual SD, I believe that's what he meant) was gone and the device was in a boot loop. He could neither reset his device nor use RUU to get the stock rom back. Eventually he mount a flash disk via OTG to flash the rom to his device.
I don't have OTG cable and want to know if i can still flash custom rom to my HTC One ? If i can , which Recovery should I use, CWM or TWRP?
Or should I just wipe the device in AROMA?
Thanks guys. Problem solved.

人云奕云 said:
I know the title makes myself look like an idiot.
But I'm using CWM 6.0.2.8 and want to know if I can flash a rom that is in INTERNAL storage AFTER I wipe data/factory reset. I saw this thread, someone wipe data/factory reset and the rom in internal storage(virtual SD, I believe that's what he meant) was gone and the device was in a boot loop. He could neither reset his device nor use RUU to get the stock rom back. Eventually he mount a flash disk via OTG to flash the rom to his device.
I don't have OTG cable and want to know if i can still flash custom rom to my HTC One ? If i can , which Recovery should I use, CWM or TWRP?
Or should I just wipe the device in AROMA?
Thank you.
Click to expand...
Click to collapse
I believe it's all based on where you put the rom on internal storage. If you put it in the root directory you should be fine, but if it's for instance in the Android downloads folder it'll be erased. You could also go in to Settings>Storage and see how your data is partitioned, if there's a partition that doesn't have system files on it, put it there and you'll be fine. Also, I prefer CWM touch. It's always been a breeze to use and rarely fails :good:

Factory reset shouldn't touch the internal storage. I do believe the Android folder is reset though yeah. Just put it in Downloads? You could always make a nandroid too, that's stored somewhere else.

Related

[Help]Stuck up with Recovery!!

Hi all,
Got a strange problem.. I'm using Nik project x v4.1 with .11 radio...today i got poor network signal, so I flashed radio again n it's working fine.
Then I planned to flash xcs kernel 2.2 and faceunlock for this Rom.
When I am recovery, I got message like. "You are in safe mode, please wipe cache. If u flashed hboot.img then format system"
I took nandroid and
1. fixed permission
2. Wiped cache
3. Format system
4. Flashed both zip files
When everything got over and upon clucking power menu->reboot got alert
"You are In safe mode. Unable to access system partitions. Please format system partition except sd. Reboot in recovery. Yes or no"
I clicked no and followed steps to install new Rom (wipe data factory, wipe cache n dalvik, format system, format partition except sd )restored my nandroid backup and again got same message that
"You are In safe mode. Unable to access system partitions. Please format system partition except sd. Reboot in recovery. Yes or no"
Please help me. Worrying that my mobile will be bricked. Please guide me to get rid off this..
Edit: I clicked reboot and my mobile booted normally. But under power menu, on clicking reboot, got into same problem. Please help me to avoid this. Worry something wrong in my mobile!!
Cyb0rgz said:
Hi all,
Got a strange problem.. I'm using Nik project x v4.1 with .11 radio...today i got poor network signal, so I flashed radio again n it's working fine.
Then I planned to flash xcs kernel 2.2 and faceunlock for this Rom.
When I am recovery, I got message like. "You are in safe mode, please wipe cache. If u flashed hboot.img then format system"
I took nandroid and
1. fixed permission
2. Wiped cache
3. Format system
4. Flashed both zip files
When everything got over and upon clucking power menu->reboot got alert
"You are In safe mode. Unable to access system partitions. Please format system partition except sd. Reboot in recovery. Yes or no"
I clicked no and followed steps to install new Rom (wipe data factory, wipe cache n dalvik, format system, format partition except sd )restored my nandroid backup and again got same message that
"You are In safe mode. Unable to access system partitions. Please format system partition except sd. Reboot in recovery. Yes or no"
Please help me. Worrying that my mobile will be bricked. Please guide me to get rid off this..
Edit: I clicked reboot and my mobile booted normally. But under power menu, on clicking reboot, got into same problem. Please help me to avoid this. Worry something wrong in my mobile!!
Click to expand...
Click to collapse
When you formatted the /system partition, you wiped out Nik's ROM and then you only flashed a new kernel and a patch. That is why it you get the Unable to access system partitions.
You need to flash Nik's ROM again, then flash the kernel and then flash the patch.
tpbklake said:
When you formatted the /system partition, you wiped out Nik's ROM and then you only flashed a new kernel and a patch. That is why it you get the Unable to access system partitions.
You need to flash Nik's ROM again, then flash the kernel and then flash the patch.
Click to expand...
Click to collapse
Thanks tpbklake. Before formatting systems partition, I have taken nandroid backup. I restored nandroid but after that too, I got same alert.
Ok, I'll start from beginning. After flashing Nik Rom again, can I restore data.img from my nandroid.?
When I am recovery, I got message like. "You are in safe mode, please wipe cache. If u flashed hboot.img then format system"
Click to expand...
Click to collapse
Do you have any idea on this? I got this before flashing anything.
Cyb0rgz said:
Thanks tpbklake. Before formatting systems partition, I have taken nandroid backup. I restored nandroid but after that too, I got same alert.
Ok, I'll start from beginning. After flashing Nik Rom again, can I restore data.img from my nandroid.?
Do you have any idea on this? I got this before flashing anything.
Click to expand...
Click to collapse
You changed the radio. Either gb -> ics or ics -> gb and this causes some change in the partition layout that's why recovery is asking you to format. What I don't understand is why you didn't just format the cache partition like it told you to. It would have saved us all some time.
Nonverbose said:
You changed the radio. Either gb -> ics or ics -> gb and this causes some change in the partition layout that's why recovery is asking you to format. What I don't understand is why you didn't just format the cache partition like it told you to. It would have saved us all some time.
Click to expand...
Click to collapse
I haven't changed the radio of two different versions. Earlier I was in ICS radio .11M and again flashed the same ICS radio..11M) Yes, I did cache format as well as instructed.
While flashing radio which supports same OS version, am I need to wipe cache or its not required?
Cyb0rgz said:
I haven't changed the radio of two different versions. Earlier I was in ICS radio .11M and again flashed the same ICS radio..11M) Yes, I did cache format as well as instructed.
While flashing radio which supports same OS version, am I need to wipe cache or its not required?
Click to expand...
Click to collapse
If that's what the recovery is telling you to do, I would be inclined to agree.

[Q] Formatted /system and /boot (CWM), doesn't boot. [i9000]

Hey guys . I formatted /system and /boot when i entered CWM, i formatted cache and wiped data, and flashed a new rom, but when i hit "reboot" the phone restarted and the image with the writing "GALAXY S GT-i9000" apears and remains here, the phone won't boot anymore (i formatted /system and /boot because i thought the rom would install more freshly and would not apear problems, but i didn't need to format those :|).
I can't enter anymore in CWM Recovery (probably deleted because i formatted /system) or stock Recovery :| , the only thing that works is Download Mode. :\
What you recommend to do to fix this?
I saw the tutorial with fastboot to flash a new boot.img but i formatted the /system too. Most probably this will not fix anything. Another way i though of, is to flash via Odin a new Software but, after i formatted the /system and /boot i already installed a new rom but didn't booted anymore after reboot, although i think this will not be a problem because will overlay the already rom or something, but i'm not sure and i'm not sure i will find a software that i can flash through odin.
I don't have an external sd card, only internal memory that comes with the phone.
I also read that you can format /system if you don't reboot it after you format it and flash the rom. Could be the problem only the /boot that i formatted? I just need to flash a boot.img, if yes, how do i do it, with that softwares.
Thank you a lot in advance!
sorry for my english, not my native language
MihaiDani93 said:
Hey guys . I formatted /system and /boot when i entered CWM, i formatted cache and wiped data, and flashed a new rom, but when i hit "reboot" the phone restarted and the image with the writing "GALAXY S GT-i9000" apears and remains here, the phone won't boot anymore (i formatted /system and /boot because i thought the rom would install more freshly and would not apear problems, but i didn't need to format those :|).
I can't enter anymore in CWM Recovery (probably deleted because i formatted /system) or stock Recovery :| , the only thing that works is Download Mode. :\
What you recommend to do to fix this?
I saw the tutorial with fastboot to flash a new boot.img but i formatted the /system too. Most probably this will not fix anything. Another way i though of, is to flash via Odin a new Software but, after i formatted the /system and /boot i already installed a new rom but didn't booted anymore after reboot, although i think this will not be a problem because will overlay the already rom or something, but i'm not sure and i'm not sure i will find a software that i can flash through odin.
I don't have an external sd card, only internal memory that comes with the phone.
I also read that you can format /system if you don't reboot it after you format it and flash the rom. Could be the problem only the /boot that i formatted? I just need to flash a boot.img, if yes, how do i do it, with that softwares.
Thank you a lot in advance!
sorry for my english, not my native language
Click to expand...
Click to collapse
First of all i think that if you formatted the system and you didn't have an external sd card you might have wiped everything off your device . But lets try some options first. If you flashed a GB or JB rom most times the partition is changed and you have to remove the battery during the start-up (called a boot loop) this is normal. So try to reboot your device but when you have seen your samsung logo and such for a couple of minutes remove the battery, then replace the battery and start as if normal. If that doesn't solve your problem then you will have to put the phone in download mode and manually reflash your device using odin to stock then try all over again with your new rom. In the future, when you try using CWM again just do a factory reset, clear cache partition and under advanced clear dalvik cache then install from sd card, scool down and choose the rom then highlight it (volume up and down arrows) and install (power button).
You killed the bootloader of the phone, flash it back via Odin
Bootloaders here!
kevnac said:
First of all i think that if you formatted the system and you didn't have an external sd card you might have wiped everything off your device . But lets try some options first. If you flashed a GB or JB rom most times the partition is changed and you have to remove the battery during the start-up (called a boot loop) this is normal. So try to reboot your device but when you have seen your samsung logo and such for a couple of minutes remove the battery, then replace the battery and start as if normal. If that doesn't solve your problem then you will have to put the phone in download mode and manually reflash your device using odin to stock then try all over again with your new rom. In the future, when you try using CWM again just do a factory reset, clear cache partition and under advanced clear dalvik cache then install from sd card, scool down and choose the rom then highlight it (volume up and down arrows) and install (power button).
Click to expand...
Click to collapse
I did that, i reflashed stock os via Odin, then rooted, flashed cwm recovery and flashed rom. Thank you anyway .
Galaxy S4 I9000
Hello, dont worry about your phone. Actually your phone has been bricked down and now you just have to unbrick your Galaxy S4. Check the galaxy s4 xda forum or just google the topic that "how to unbrick Galaxy s4 with your model no" and then follow the steps given in the tutorial. Thanks
MihaiDani93 said:
I did that, i reflashed stock os via Odin, then rooted, flashed cwm recovery and flashed rom. Thank you anyway .
Click to expand...
Click to collapse
Hi MihaDani93,
I'm having the exact same problem, I rooted with CF-Root, then cleared cache/dalvik and formatted system and rebooted on a stock 2.3.6 model i9000. It also stucks at the Samsung logo splash screen and freezes.
Only thing is I dont have the original stock ROM. I don't know how to reflash the phone.
Can you tell me in detail how you reflashed to stock with what files and where I can get those files from? PIT, PDA, PHONE and CSC md5 files and so on?
Thank you very much in advance!
Rob
pomaro2006 said:
where I can get those files from? PIT, PDA, PHONE and CSC md5 files and so on?
Click to expand...
Click to collapse
you can use this guide to flash gingerbread Stock ROM.
Check this out! You , YES! you are an " Android ". Not your phone but U.​

[Q] How can I completely wipe 19305T back to bare bones?

Hi all.
I am currently running ripper rom v13 with CWM and I wish to COMPLETELY wipe the contents of my Samsung Galaxy S3 LTE back to bare minimum without damaging partitions that are delicate.
I have tried performing a factory reset under SETTINGS. This left files/folders/photographs when browsing the phone.
I have performed a wipe via CWM, deleted data, system, davlik and cache partitions. This left files and folders as above.
After wiping the phone via the two methods above, I flashed ripper rom v13 rom and after booting I ran through the setup options (choose wireless etc), yet I still have folders remaining relating to OLD apps that I have removed or no longer need.
How can this be?
I have discovered there is a MegaWipe zip but this is not compatible with the 19305T - are there alternatives that I have missed?
Is this something to do with the internal SD card? Have I not wiped this? HELP!
CWM recovery mounts and storage .
Format sd card system cache data and preload .
Boot to download mode flash stock rom .
jje
Hi there,
Thanks for the reply. If I boot to download mode and flash stock rom, how do I do this? I've never performed this before. Do I have to flash stock rom? Can't I pick the ripper rom v13 again if I place it in ext sd card?
Sorry for so many questions!
There is a Mod called "Make Lite Rom" in the Update Me>Add/Remove Applications app that comes with the Ripper ROM. Not too sure if you want this.
Alternatively, there are other ROMs which are stock Android Based (I have tried Sentinel for a few hours).
JJEgan said:
CWM recovery mounts and storage .
Format sd card system cache data and preload .
Boot to download mode flash stock rom .
jje
Click to expand...
Click to collapse
Hi JJE,
I did as you said, I flashed the stock ROM using Odin and then went through the procedure of installing CWM and rooting.
I am now back into the Telstra stock ROM and all works fine, yet there are still remains of old apps in the phone??? I can see a friendcaster folder
and GO folders...yet before I flashed the stock ROM I did a full wipe.
I downloaded the stock ROM from Sammobile - Could it be that I need a full wipe ROM instead?
Any ideas?
Thanks!

[Q] i9305: Encrypted + no recovery access + boot freeze

Hello!
Device: i9305
ROM: sentinel v5.0
Recovery: TRWP 2.6.3.0
Timeline:
1.ROM flashed and everything working fine
2.Phone encrypted using Settings->Security->Encrypt and Exchange email account installed. (battery drain became very high)
3.Boot to recovery but TWRP not able to mount /data (says "password failed" even though it is the right pass.. I performed many system reboots and every time the phone decrypted and booted). Only recovery not doing it.
4. attempted full wipe, format data, etc.. but it always failed
5. attempted Restoring previous nandroid (made before encryption with TRWP of ROM Rremix 4.07). It seemed to work
Current Problem:
1. On boot phone asks for password to decrypt (the decrypting little green android image shows up) but it then freezes during ROM boot
2. Cannot access recovery (HOME+VOLUME UP+POWER)
EDIT 3. I can access download mode and connect to PC and Odin recognizes it
Question:
How can I simply format the internal memory to then re-flash a recovery and ROM?
Or any other suggestions on how to get the phone to work again?
Thank you for your help!
cheers
progress report
Hello!
I got the correct stock ROM for my phone from SamMobile (I9305XXBMD4) and Odin flashed it (PDA option).
Odin said PASS.
However, during boot it still asks for encryption password (and the right password is not accepted). Recovery is also still not accessible.
So, I need a away to get ODIN to really format the internal SD or similar to actually remove the encryption. So, here comes the question: will Re-partition do it (correct PIT file needed and instructions)? And I know using it is half-way towards a completely bricked phone... so I accept suggestions (flash count is not 1 so no warranty service options yet...)!!
thank you!
cheers
If you mess with partition or Pit you are likely to brick your phone with no warranty .
Its not just the rom counter that voids warranty .
Flashing Philz Recovery via Odin may allow you to format all .
It Worked!!!!
JJEgan said:
If you mess with partition or Pit you are likely to brick your phone with no warranty .
Its not just the rom counter that voids warranty .
Flashing Philz Recovery via Odin may allow you to format all .
Click to expand...
Click to collapse
Thanks for the idea JJEgan.
I did install the Philz recovery via Odin and was able to select "Mounts ans Storage"-> "format /data and /data/media". This one worked with no errors.
Tried "Wipe Data/factory" reset and it also worked (no errors on not being able to mount /data)!
Then Odin Flashed Stock ROM (taken from SamMobile), reboot and it again asked for password! Removed battery and this time I could access the stock recovery.
Did wipe data/ factory reset + wipe cache.
Reboot and it works!
Now I just need to Root and enjoy the phone again!
Thank you all for the help!
If you have encrypted the phone with stock based ROM, you can also decrypt it. TWRP is not able to mount partition encrypted with Samsung's proprietary way of doing it.
If you have encrypted the phone with AOSP based ROM, and TWRP is not able to mount it, then something went wrong.
Sent from my GT-I9305 using Tapatalk
!crazy said:
If you have encrypted the phone with stock based ROM, you can also decrypt it. TWRP is not able to mount partition encrypted with Samsung's proprietary way of doing it.
If you have encrypted the phone with AOSP based ROM, and TWRP is not able to mount it, then something went wrong.
Sent from my GT-I9305 using Tapatalk
Click to expand...
Click to collapse
@!crazy: I encrypted while using AOSP Sentinel v5 ROM (see OP). ROM wise the phone seemed to be ok but TRWP recovery simply could not mount /data. Indeed, something went wrong.
In any case I went back to a stock based ROM to have full encrypt/decrypt compatibility because of Exchange email accounts I need to use.

Back to stock without USB access

I'm fairly sure my USB port is broken (after 3 weeks), my phone charges "slowly" (10 hours to fully charge) and my PC won't recognise my phone at all, even in ADB/fastboot. I'm trying to send it back for a warranty repair, but I want to try get it back to stock to see if that solves the problem and then if not for the warranty repair.
Currently on lineageos, rooted with TWRP. I'm wondering if it's possible to flash a stock rom image using TWRP to achieve this? Possibly using one from this list
One of these from the link says "recovery", would this be the one to go for? If so, how would I keep the .zip on my storage after a wipe, or would I not need to wipe?
Sorry for the long post, wanted to give as much info as possible!
Cheers
Bump?
Clean Flash Recommended
Wipe Dalvik System Data and Cache
Flash Stock Rom Beta/Stable
..
first use the wipe menu and then select the rom file and swipe to confirm the flas in sd card just open zip and swipe to confirm Flash.
..
if in bw copying the rom if it stuck in the middle and then close it self or while flashing it say "zip is corrupt"
make sure you have enough space and get the stock rom zip from Official Source.
GooD Luck.
MIN313 said:
Clean Flash Recommended
Wipe Dalvik System Data and Cache
Flash Stock Rom Beta/Stable
..
first use the wipe menu and then select the rom file and swipe to confirm the flas in sd card just open zip and swipe to confirm Flash.
..
if in bw copying the rom if it stuck in the middle and then close it self or while flashing it say "zip is corrupt"
make sure you have enough space and get the stock rom zip from Official Source.
GooD Luck.
Click to expand...
Click to collapse
Thanks for the reply, is it possible to save the rom somewhere that it won't get deleted after a wipe? I don't have an external SD card slot. I'm a little scared because if I get it wrong I have no USB connection to get anything onto my phone ??*

Categories

Resources