I cannot flash TWRP or any Mods - Samsung Galaxy S7 Questions and Answers

I just got this phone and i have OEM Unlock enabled. I am due to sell my old phone in few days so i am in a bit panic mode right now :\
When i try to flash TWRP along with the instruction that were here (i tried with only applying both or only dm-verity) the phone started to "start" flashing the Samsung logo but nothing happened and after 15-25minutes i tried to install this ROM and it also shows "Starting up please wait" but it also seems to start up indefinately.
Can you tell what is wrong now? It seems i can flash the stock ROM and boot to it but cannot install TWRP/Root nor any custom ROM's :\

Hey bro follow this.
Install stock ROM.
Boot into it once.
And flash TWRP. Disable auto reboot in Odin.
Then boot into TWRP directly from there.
Now swipe to allow modifications.
THEN GO INTO WIPE ADVANCED WIPE AND CLICK FORMAT DATA AND TYPE YES.
After format reboot into recovery once again.
Now again swipe to allow mods.
Now only install Dm-verity.
Reboot.
Now the phone will boot.
Go back into recovery to install your ROM it'll root the phone.

njaya95 said:
Hey bro follow this.
Install stock ROM.
Boot into it once.
And flash TWRP. Disable auto reboot in Odin.
Then boot into TWRP directly from there.
Now swipe to allow modifications.
THEN GO INTO WIPE ADVANCED WIPE AND CLICK FORMAT DATA AND TYPE YES.
After format reboot into recovery once again.
Now again swipe to allow mods.
Now only install Dm-verity.
Reboot.
Now the phone will boot.
Go back into recovery to install your ROM it'll root the phone.
Click to expand...
Click to collapse
Sorry but still no dice (waited for ½hours to boot)
The data wipe did not even succeed. I attached screenshots of data wiping plus no-verity install if there is something anyone could use. I do not really understand how this is so hard... I have never encountered this kind of problem with common phone.

@DARKKi
Did You try to format data or just to wipe? You should click on format data and type "yes"

Dude I clearly mentioned, you have to click format data in advanced wipe. First try to read and understand then proceed. Click format data and then type yes and then you're good to go.

Domino5 said:
@DARKKi
Did You try to format data or just to wipe? You should click on format data and type "yes"
Click to expand...
Click to collapse
njaya95 said:
Dude I clearly mentioned, you have to click format data in advanced wipe. First try to read and understand then proceed. Click format data and then type yes and then you're good to go.
Click to expand...
Click to collapse
Damn. Sorry, i think that when going into advanced wipe there is no format there it's under normal wipe so i only thought that it meant that but yeah my mistake. I should have looked for format data and come to my own conclusions :\
Well first result of format resulted on loop boot and i could not even flash the stock rom with Odin (failed directly) but then i tried to flash TGP ROM via TWRP and it worked! So now i am using the phone as we speak!
Thanks a lot njaya95!

DARKKi said:
Damn. Sorry, i think that when going into advanced wipe there is no format there it's under normal wipe so i only thought that it meant that but yeah my mistake. I should have looked for format data and come to my own conclusions :\
Well first result of format resulted on loop boot and i could not even flash the stock rom with Odin (failed directly) but then i tried to flash TGP ROM via TWRP and it worked! So now i am using the phone as we speak!
Thanks a lot njaya95!
Click to expand...
Click to collapse
Sure no problem, I'm sorry about misleading you about that format data. Have fun with your phone.

Related

[Q] I am Bricked....i think

Ok, So i rooted my T-mobile G2x 2.3.3 and there were difficulties when i flashed the Cyanogen 7mod. The Rom worked but the only default was i didnt get data. Like i couldnt even get Edge. The only way to use internet and stuff was through wifi. SO then i reflashed it thinking it was a bad flash. But when i reflash through rom manager it gives me the option to downoad with google apps. so i clicked that option. It downloaded fine but on the reboot it stayed stuck on the 2nd LG screen. Am i bricked or if anyone can help id appreciate it alot.
U can't do it via rom manager. U have to flash recovery using nv flash, then u can try to flash custom rom. Remeber to wipe data and format system before flashing any rom.
U r not bricked yet
Check here to nv flash the cwm
http://forum.xda-developers.com/showthread.php?p=13330067
Sent from my LG-P999 using xda premium
Did you flash CWM via NV Flash. If not, do that. Then boot into recovery by holding down the power + volume down keys until you get the second boot logo. Then wipe the dalvik cache and the regular cache. That is usually why a phone refuses to boot.
Also, if your phone turns on it is not bricked. Bricked means when you press the power button nothing happens at all. You can be soft-bricked like you are, but it can be easily fixed. Nothing to panic about.
I did all of that im sorry if i gave you info wrong. Like i cant do anything it turns on but goes to the first LG screen then goes to the new LG screen with the blue streaks and it stays there. Then when i try to go into CWR it shows the LG with a blue and black loading bar below then shows as if its loading something then it just goes back to the blue LG screen and im stuck there.
iSpooNz said:
I did all of that im sorry if i gave you info wrong. Like i cant do anything it turns on but goes to the first LG screen then goes to the new LG screen with the blue streaks and it stays there. Then when i try to go into CWR it shows the LG with a blue and black loading bar below then shows as if its loading something then it just goes back to the blue LG screen and im stuck there.
Click to expand...
Click to collapse
You have stock recovery on the recovery partition, not CWM. You MUST flash CWM onto the physical recovery partition using NVFlash with the One Click flasher. You used Rom Manager and that doesn't install CWM onto the recovery partition. Once you have CWM properly installed you can enter recovery and revive your phone.
jboxer said:
You have stock recovery on the recovery partition, not CWM. You MUST flash CWM onto the physical recovery partition using NVFlash with the One Click flasher. You used Rom Manager and that doesn't install CWM onto the recovery partition. Once you have CWM properly installed you can enter recovery and revive your phone.
Click to expand...
Click to collapse
Ok so from CWM do i wipe everything?
jboxer said:
You have stock recovery on the recovery partition, not CWM. You MUST flash CWM onto the physical recovery partition using NVFlash with the One Click flasher. You used Rom Manager and that doesn't install CWM onto the recovery partition. Once you have CWM properly installed you can enter recovery and revive your phone.
Click to expand...
Click to collapse
@OP, this is is correct. Use tga gunmann's nvflash tool from the development section. The process is super easy. Just make sure to follow his instructions closely. Just fyi, most people get errors during the nvflash process because they don't install the apx drivers appropriately, so take your time and read the instructions carefully.
iSpooNz said:
Ok so from CWM do i wipe everything?
Click to expand...
Click to collapse
Start off by wiping cache and then go to Advanced and wipe dalvik cache. If you still can't boot after that then try a full factory reset.
Just remember the first boot after wiping dalvik cache can take several minutes as android rebuilds the dalvik cache. All subsequent reboots will be MUCH faster.
phburks said:
Start off by wiping cache and then go to Advanced and wipe dalvik cache. If you still can't boot after that then try a full factory reset.
Just remember the first boot after wiping dalvik cache can take several minutes as android rebuilds the dalvik cache. All subsequent reboots will be MUCH faster.
Click to expand...
Click to collapse
Ok so i ended up having to do a factory reset yet im still getting the same results. Im still stuck on the 2nd lg screen when booting up
iSpooNz said:
Ok so i ended up having to do a factory reset yet im still getting the same results. Im still stuck on the 2nd lg screen when booting up
Click to expand...
Click to collapse
Did you do as phburks said and go into advanced and wipe the Dalvik Cache. Most issues of not booting are related to the Dalvik Cache not being wiped after flashing a new rom. That is essential to getting your phone to boot again. A factory reset DOES NOT clear the Dalvik Cache.
iSpooNz said:
Ok so i ended up having to do a factory reset yet im still getting the same results. Im still stuck on the 2nd lg screen when booting up
Click to expand...
Click to collapse
Boot back into cwm, go to Mounts and Storage, format /system and then reflash your rom.
phburks said:
Boot back into cwm, go to Mounts and Storage, format /system and then reflash your rom.
Click to expand...
Click to collapse
Ok ill try that.
jboxer said:
Did you do as phburks said and go into advanced and wipe the Dalvik Cache. Most issues of not booting are related to the Dalvik Cache not being wiped after flashing a new rom. That is essential to getting your phone to boot again. A factory reset DOES NOT clear the Dalvik Cache.
Click to expand...
Click to collapse
Yea i wiped Dalvik cahce and the same result came up. So i factory resetted and same result. So im going to try what phburks said and see what happens.
Im still stuck in the second LG screen :/
iSpooNz said:
Im still stuck in the second LG screen :/
Click to expand...
Click to collapse
Could be a bad download. I'd try downloading again. Use your computer to download again and save it to your microsd card. Then reinsert the sdcard, boot back into cwm and try again.
phburks said:
Could be a bad download. I'd try downloading again. Use your computer to download again and save it to your microsd card. Then reinsert the sdcard, boot back into cwm and try again.
Click to expand...
Click to collapse
download the rom right?
iSpooNz said:
download the rom right?
Click to expand...
Click to collapse
Yea the rom. Is it cm7 that you're wanting to flash?
phburks said:
Yea the rom. Is it cm7 that you're wanting to flash?
Click to expand...
Click to collapse
The reason I ask is that with cm7 you have to flash 2 separate zip files. First you flash the actual cm7 zip which installs the rom and then you flash the gapps zip which installs the Google apps (market, gmail, etc). Make sure you have both on your sdcard and then flash the rom first and gapps second.
phburks said:
The reason I ask is that with cm7 you have to flash 2 separate zip files. First you flash the actual cm7 zip which installs the rom and then you flash the gapps zip which installs the Google apps (market, gmail, etc). Make sure you have both on your sdcard and then flash the rom first and gapps second.
Click to expand...
Click to collapse
Im glad you brought that up because when i first flashed Cyanogen i did also flash gapps but after i flashed gapps thats when i wouldnt get data. Do you know the reason for this? or was it could have been another bad flash?
iSpooNz said:
Im glad you brought that up because when i first flashed Cyanogen i did also flash gapps but after i flashed gapps thats when i wouldnt get data. Do you know the reason for this? or was it could have been another bad flash?
Click to expand...
Click to collapse
Not sure. I'd just play it safe, re-download both, wipe data, and reflash both. Sometimes its hard to determine which step went wrong and its best and quicker to just start with a clean slate and redo everything.
I wont be able to post for a while so good luck.

Failed to mount /data (Invalid Argument) in Micromax Canvas Juice 2. Aq5001.

I have a custom rom downloaded. But to flash it, I need to erase everything. That I am unable to do because the recovery dosent wipe data. It led to a bootloop. I got back the stock firmware and tried again and same result. Further more, I cant even factory reset. I'm using TWRP 3.0. Someone please help!
Worpe said:
I have a custom rom downloaded. But to flash it, I need to erase everything. That I am unable to do because the recovery dosent wipe data. It led to a bootloop. I got back the stock firmware and tried again and same result. Further more, I cant even factory reset. I'm using TWRP 3.0. Someone please help!
Click to expand...
Click to collapse
If you have a flashing tool then flash the stock firmware again and then give it a try.
Hit Thanks if it helped
Sent from my titan using XDA-Developers mobile app
pg8286 said:
If you have a flashing tool then flash the stock firmware again and then give it a try.
Hit Thanks if it helped
Click to expand...
Click to collapse
Ive tried that 4 times till now. It has been in a bootloop thrice. And I flashed stock. I currently am using stock firmware but want to flash the custom rom. The recovery is failing to wipe data because it is failing to mount data.
Worpe said:
I have a custom rom downloaded. But to flash it, I need to erase everything. That I am unable to do because the recovery dosent wipe data. It led to a bootloop. I got back the stock firmware and tried again and same result. Further more, I cant even factory reset. I'm using TWRP 3.0. Someone please help!
Click to expand...
Click to collapse
Try this
1. Reboot to recovery (TWRP)
2. Select wipe.
3. Select advanced wipe.
4. Check system.
5. Repair or change file system.
6. Select change file system.
7. Select format type.
8. Swipe to change.
9. Select repair.
there is one problem with stock rom. its encrypts the data partition right after installing stock rom, therefore twrp can't access data partition. i had similar problem earlier. this is how i managed to fix.
solution: http://forum.xda-developers.com/showpost.php?p=67980158&postcount=7
i suggest you to stick with stock rom, because right now whatever roms or recoveries are made for this phone are blindly ported (just copy paste roms). i have tried about 3-4 roms for this phone, all had major bugs especially battery related. there is only one developer who made a stable rom so far is beingtejas, search his thread. if you really want to use a custom rom, try THIS rom made by gaurav kesarwani with help of beingtejas that is why i am suggesting it you otherwise it didn't worked for me atleast.
Worpe said:
I have a custom rom downloaded. But to flash it, I need to erase everything. That I am unable to do because the recovery dosent wipe data. It led to a bootloop. I got back the stock firmware and tried again and same result. Further more, I cant even factory reset. I'm using TWRP 3.0. Someone please help!
Click to expand...
Click to collapse
Use TWRP 2.8.7. 3.0.0 is a can of bugs...
optimumpro said:
I have a custom rom downloaded. But to flash it, I need to erase everything. That I am unable to do because the recovery dosent wipe data. It led to a bootloop. I got back the stock firmware and tried again and same result. Further more, I cant even factory reset. I'm using TWRP 3.0. Someone please help!
Click to expand...
Click to collapse
Hey You should have to try doing these steps these will helps you-
1.First after wiping cache and dalvik cache FLASH SUPER SU ZIP FILE
2.AFTER THAT FLASH THE ROM AND THEN REBOOT, it will solve the problem.
vickysoni said:
Hey You should have to try doing these steps these will helps you-
1.First after wiping cache and dalvik cache FLASH SUPER SU ZIP FILE
2.AFTER THAT FLASH THE ROM AND THEN REBOOT, it will solve the problem.
Click to expand...
Click to collapse
my internal storage is showing 0 i can download apps from playstore but can't download things from browser can't even take a screen shot
first wipe data and than goto advance wipe options and wipe all but do not wipe microsd
it is success full than install custom rom
can't mount data
I'm using cwm recovery, while factory resetting it can't
mount / data. Please help me.
Thanks

Cannot decrypt TWRP data - please help

Hello,
I have totally wiped my phone to clean install ROM. However, now TWRP is asking for a password to decrypt data. I gave the password I set but it is showing wrong password. I don't understand, I am sure I am using the right password. Was on Venom 1.7.0 and disabled password on first boot. On the latest 1.27 base as well. Tried fastboot but device doesn't detect on fastboot :/ Not sure what do now, please can someone show me how can I get rid of this issue? Thank you.
Taking from Second Post by Nkk71 of TWRP Thread.
while still in TWRP, use the TWRP File Manager to navigate to /data/system and delete all the locksettings.* files (such as locksettings.db, etc). When you reboot, the password will be gone.
Unfortunately, I cannot access my internal storage. Hence I don't see any files. I don't mind wiping it clean and starting over. Can I downgrade with the help of a RUU?
Sakub said:
Unfortunately, I cannot access my internal storage. Hence I don't see any files. I don't mind wiping it clean and starting over. Can I downgrade with the help of a RUU?
Click to expand...
Click to collapse
Try this:
1. CANCEL WHEN TWRP ASK FOR PASSWORD
2. GOTO WIPE
3. SLIDE TO WIPE
4. BACK TO MAIN TWRP MENU
5. REBOOT TO RECOVERY AGAIN
aferende said:
Try this:
1. CANCEL WHEN TWRP ASK FOR PASSWORD
2. GOTO WIPE
3. SLIDE TO WIPE
4. BACK TO MAIN TWRP MENU
5. REBOOT TO RECOVERY AGAIN
Click to expand...
Click to collapse
worked, thanks man.
aferende said:
Try this:
1. CANCEL WHEN TWRP ASK FOR PASSWORD
2. GOTO WIPE
3. SLIDE TO WIPE
4. BACK TO MAIN TWRP MENU
5. REBOOT TO RECOVERY AGAIN
Click to expand...
Click to collapse
This post just saved me. Somehow I inadvertently encrypted my phone while setting up Oreo. Doing too many things at the same time. Thanks man!
aferende said:
Try this:
1. CANCEL WHEN TWRP ASK FOR PASSWORD
2. GOTO WIPE
3. SLIDE TO WIPE
4. BACK TO MAIN TWRP MENU
5. REBOOT TO RECOVERY AGAIN
Click to expand...
Click to collapse
Thanks man! :good: I also stumbled across some "default Passwort" which I didn't know and even after installing new ROM I still couldn't access my device. Even after having wiped cache and dalvik and all partitions. So this second wipe AFTER installing the ROM did the job!
littlebye said:
Thanks man! :good: I also stumbled across some "default Passwort" which I didn't know and even after installing new ROM I still couldn't access my device. Even after having wiped cache and dalvik and all partitions. So this second wipe AFTER installing the ROM did the job!
Click to expand...
Click to collapse
Be careful because this erases everything on the phone and you have to install everything once again
EDIT:
I don't understand if this can be achieved with stock ROM. In case it is not possible: how to flash another ROM if no root access is possible? I just wanted to have a rooted stock ROM. Please help.

after whiping data, phone is stuck and twrp does nothing

Hey guys,
I have a oneplus 6red rooted with magisk and twrp running oreo 5.1.11, today I decided to enter twrp and reset my phone by whiping dalvic, cache and data.
After reboot, phone screen is totall dark but the light indicator was flashing constantly, entering twrp is no succes, twrp screen is stuck like more then 10 mins. I believe that I cant enter twrp to do something about it. I have downloaded the stock 5.1.11 which is an oreo version
Did I do really something wrong ? if yes or no please let me know how to fix this.
abati said:
Hey guys,
I have a oneplus 6red rooted with magisk and twrp running oreo 5.1.11, today I decided to enter twrp and reset my phone by whiping dalvic, cache and data.
After reboot, phone screen is totall dark but the light indicator was flashing constantly, entering twrp is no succes, twrp screen is stuck like more then 10 mins. I believe that I cant enter twrp to do something about it. I have downloaded the stock 5.1.11 which is an oreo version
Did I do really something wrong ? if yes or no please let me know how to fix this.
Click to expand...
Click to collapse
Try bluespark TWRP and flash your OOS zip again and report back. Maybe a magisk flash will help too.
mikex8593 said:
Try bluespark TWRP and flash your OOS zip again and report back. Maybe a magisk flash will help too.
Click to expand...
Click to collapse
thnx, I entered into fastboot mode, then from my pc I when into the fastboot folder to open cmd and boot twrp from there on my device, from there I followed a tutorial how to adb sideload and flash a rom from your pc. Now its working
But I dont understand why a simpel factory whipe through twrp caused all of this, I only wiped dalvic, cache and data.
abati said:
thnx, I entered into fastboot mode, then from my pc I when into the fastboot folder to open cmd and boot twrp from there on my device, from there I followed a tutorial how to adb sideload and flash a rom from your pc. Now its working
But I dont understand why a simpel factory whipe through twrp caused all of this, I only wiped dalvic, cache and data.
Click to expand...
Click to collapse
This may be a side effect of A/B partitioning and no longer having a recovery partition. Remember TWRP is a part of the boot partition now
tabletalker7 said:
This may be a side effect of A/B partitioning and no longer having a recovery partition. Remember TWRP is a part of the boot partition now
Click to expand...
Click to collapse
what would be an alternative sollution to factory reset your phone without all the troubles i witnessed.
abati said:
after whiping data, phone is stuck and twrp does nothing
Click to expand...
Click to collapse
After a whipping I wouldn't be inclined to do much either!
croques said:
After a whipping I wouldn't be inclined to do much either!
Click to expand...
Click to collapse
what do you mean, could you be more clear and specifiek ?
abati said:
what would be an alternative sollution to factory reset your phone without all the troubles i witnessed.
Click to expand...
Click to collapse
Use a fastboot rom. That will wipe EVERYTHING - and guarantee that you have a usable phone afterwards
abati said:
thnx, I entered into fastboot mode, then from my pc I when into the fastboot folder to open cmd and boot twrp from there on my device, from there I followed a tutorial how to adb sideload and flash a rom from your pc. Now its working
But I dont understand why a simpel factory whipe through twrp caused all of this, I only wiped dalvic, cache and data.
Click to expand...
Click to collapse
You probably wiped system that's why you had nothing to boot into
yldlj said:
You probably wiped system that's why you had nothing to boot into
Click to expand...
Click to collapse
i am almost sure that it was data and dalvic cahce and not system, that is what i also explained in my first post.
But how are you sure that it was system wipe ? did you factory reset your op6 multiple times without issue through twrp ?
phone is fixed btw
abati said:
i am almost sure that it was data and dalvic cahce and not system, that is what i also explained in my first post.
But how are you sure that it was system wipe ? did you factory reset your op6 multiple times without issue through twrp ?
phone is fixed btw
Click to expand...
Click to collapse
Its the easy answer, say that you wiped system or such.
If you wiped Data with Magisk installed, without flashing the stock kernel, you won't be able to boot, since Magisk stores stuff necessary to boot on Data.
Usually, people is stuck on a infinite bucle on TWRP after this, you couldn't even enter TWRP? that's new. The issue you're telling sounds like you changed slot in TWRP somehow to an unused one or something like that, never heard of that.
abati said:
i am almost sure that it was data and dalvic cahce and not system, that is what i also explained in my first post.
But how are you sure that it was system wipe ? did you factory reset your op6 multiple times without issue through twrp ?
phone is fixed btw
Click to expand...
Click to collapse
Yeah I have wiped data in twrp with no issues. TBH it just sounds like there was no system to boot into. Wiping data is just that and shouldn't make the phone unbootable. Also you fixed the issue by flashing OOS which makes me believe this also. If you want to factory reset your phone the best way is to do it through settings.

Cant upgrade because of faulty TWRP, need help removing TWRP

Hi,
I accidently flashed TWRP, but i was already on emui9 so twrp doesent work there.
Now i can update the EMUI anymore because when the phone restarts during the install process it goes into recovery (twrp) which causes the update to fail
My question is: Can i remove twrp, maybe by flashing the orignal ramdisk image? pls help
You would have to reflash the recovery partition... Which we don't have, and since TWRP is kind of broken on EMUI 9.... well...
Can you just wipe caches and reboot to get the phone working? The update is stored in the cache partition, if you wipe cache it should boot normally.
acejavelin said:
You would have to reflash the recovery partition... Which we don't have, and since TWRP is kind of broken on EMUI 9.... well...
Can you just wipe caches and reboot to get the phone working? The update is stored in the cache partition, if you wipe cache it should boot normally.
Click to expand...
Click to collapse
so i cant really get rid of TWRP? :/
And how can i wipe the cache?
Pfollvosten said:
so i cant really get rid of TWRP? :/
And how can i wipe the cache?
Click to expand...
Click to collapse
Not if you are on EMUI 9... I don't believe so as we don't have the factory image for it, and to my knowledge we can't just dd it or make a backup of it right now. Although you might be able try the downgrade to 8.1 in another thread here, then upgrade via OTA again, but that's your choice.
I haven't installed TWRP on this devices, but basically go to the wipes menu, advanced wipes, and tick anything that says cache in it's name (often Dalvik cache and cache) and swipe to wipe them. This will not harm any of your data or applications, only the cache space. Then reboot.
acejavelin said:
Not if you are on EMUI 9... I don't believe so as we don't have the factory image for it, and to my knowledge we can't just dd it or make a backup of it right now. Although you might be able try the downgrade to 8.1 in another thread here, then upgrade via OTA again, but that's your choice.
I haven't installed TWRP on this devices, but basically go to the wipes menu, advanced wipes, and tick anything that says cache in it's name (often Dalvik cache and cache) and swipe to wipe them. This will not harm any of your data or applications, only the cache space. Then reboot.
Click to expand...
Click to collapse
The problem ist twrp doesent work.
It freezes when i enter recovery
Pfollvosten said:
Hi,
I accidently flashed TWRP, but i was already on emui9 so twrp doesent work there.
Now i can update the EMUI anymore because when the phone restarts during the install process it goes into recovery (twrp) which causes the update to fail
My question is: Can i remove twrp, maybe by flashing the orignal ramdisk image? pls help
Click to expand...
Click to collapse
Just flash your stock RECOVERY_RAMDIS.img*from your firmware. This will repair your recovery.
To extract images from*UPDATE.APP*in the zip, you have to use*Huawei Update Extractor.
oslo83 said:
Just flash your stock RECOVERY_RAMDIS.img*from your firmware. This will repair your recovery.
To extract images from*UPDATE.APP*in the zip, you have to use*Huawei Update Extractor.
Click to expand...
Click to collapse
Can you explain a bit further? Where do i get the RAMDIS.img from and how do i flash it?
and whats huawei update extractor?

Categories

Resources