Trying to unlock bootloader for the s4 - Galaxy S 4 Q&A, Help & Troubleshooting

Hi guys,
Pretty much new to Android. But, I'm pretty sane at following instructions.
Some how this makes me want to give up! Been at this for 5 hours and over but still can't find a solution :crying:
So I'm sitting here with an S4 i9505
I rooted the phone.
Root: Check!
Somehow tried installing TWRP using odin for the phone. It showed a success but I'm not able to boot to that.
Now I'm trying to unlock the bootloader to get TWRP to work.
I install Android Studio, get the google USB drive update ( deleted android studio later after looking at a million threads)
The phone is by default always installing as Samsung ADB interface on my computer. Looking at the device manager.
I launch ADB, I check my devices - adb devices - seems to work fine. Identifies my device.
2. abd reboot bootloader - works fine - i end up with the ODIN screen on my phone( download mode) - Press Volume up to continue - Ok, ready
3. fastboot devices - doesn't return anything
I check the device manager for any exclamation marks on any new driver. It's completely fine. Collapsed all the tabs and expanded to check one by one. I don't find any unknown device to which I can update the driver to the ADB Composite USB interface.
There is absolutely nothing in the Device manager even after me being in download mode.
Please help this is driving me nuts! I need to figure this out. After trying out possibly everything. I'm here for help.
I need to know how to fix this. I have this awesome CM13 rom that I want to flash onto my phone
Looking forward to whatever I can get. TIA

There's absolutely nothing to unlock.
Untick auto reboot in Odin and try again.
If all else fails, try installing it with the app method (requires root). In fact, TeamWin themselves recommend using the app method. So there you go.

Now there's a mount issue! Will this ever end XD
Pwnycorn said:
There's absolutely nothing to unlock.
Untick auto reboot in Odin and try again.
If all else fails, try installing it with the app method (requires root). In fact, TeamWin themselves recommend using the app method. So there you go.
Click to expand...
Click to collapse
Thanks Pwnycorn.
I installed 3.1.0 TWRP recovery on my phone. All set to go ahead.
Now I'm getting a mount error.
this is what the screen says:
\\
could not mount /data and unable to find crypto footer.
Failed to mount '/data' (invalid argument)
unable to recreate /data/media folder
updating partition details...
Failed to mount '/data' (invalid argument)
...done
unable to moubt storage
Failed to mount '/data' (invalid argument)
Full SElinux support is present.
Running boot script...
Done.
Unable to mount /data/media/TWRP/.twrps
MTP enabled
Failed to mount '/data' (Invalid argument)
Formatting Chache using make_ext4fs
Updation partition details...
Failed to mount '/data' (invalid argument)
...done
unable to mount storage
//
How do I fix this?
my file system is ext4 for all data, system, cache
Thanks a ton for this. Really looking forward to you responding.
Once again, thank you for guiding me through this.

crimsonyellow said:
Thanks Pwnycorn.
I installed 3.1.0 TWRP recovery on my phone. All set to go ahead.
Now I'm getting a mount error.
this is what the screen says:
\\
could not mount /data and unable to find crypto footer.
Failed to mount '/data' (invalid argument)
unable to recreate /data/media folder
updating partition details...
Failed to mount '/data' (invalid argument)
...done
unable to moubt storage
Failed to mount '/data' (invalid argument)
Full SElinux support is present.
Running boot script...
Done.
Unable to mount /data/media/TWRP/.twrps
MTP enabled
Failed to mount '/data' (Invalid argument)
Formatting Chache using make_ext4fs
Updation partition details...
Failed to mount '/data' (invalid argument)
...done
unable to mount storage
//
How do I fix this?
my file system is ext4 for all data, system, cache
Thanks a ton for this. Really looking forward to you responding.
Once again, thank you for guiding me through this.
Click to expand...
Click to collapse
[UPDATE]
Figured it out.
Erased the data which helped me get rid of the encryption.
Then I was able to go ahead and perform a proper wipe.
Installed LineageOS on the phone.
Haven't found any issues yet.
Android N
Thanks for your help. Special cheers to Pwnycorn for helping me not waste my time further!

crimsonyellow said:
Thanks Pwnycorn.
I installed 3.1.0 TWRP recovery on my phone. All set to go ahead.
Now I'm getting a mount error.
this is what the screen says:
\\
could not mount /data and unable to find crypto footer.
Failed to mount '/data' (invalid argument)
unable to recreate /data/media folder
updating partition details...
Failed to mount '/data' (invalid argument)
...done
unable to moubt storage
Failed to mount '/data' (invalid argument)
Full SElinux support is present.
Running boot script...
Done.
Unable to mount /data/media/TWRP/.twrps
MTP enabled
Failed to mount '/data' (Invalid argument)
Formatting Chache using make_ext4fs
Updation partition details...
Failed to mount '/data' (invalid argument)
...done
unable to mount storage
//
How do I fix this?
my file system is ext4 for all data, system, cache
Thanks a ton for this. Really looking forward to you responding.
Once again, thank you for guiding me through this.
Click to expand...
Click to collapse
Is/was your data encrypted?

Pwnycorn said:
Is/was your data encrypted?
Click to expand...
Click to collapse
Yup it was encrypted. I had to do a complete wipe to remove the encryption.
Post the wipe, I was able to install the OS and perform a factory reset.

crimsonyellow said:
Yup it was encrypted. I had to do a complete wipe to remove the encryption.
Post the wipe, I was able to install the OS and perform a factory reset.
Click to expand...
Click to collapse
TWRP cannot decrypt encrypted data, that is why it failed.
A complete wipe was recommended anyway, since you came from a completely different kind of ROM.

Related

I9000 cant flash anymore

hello everyone,
i have a problem here, where my sgs cant flash any stock ROM via Odin
this is the error message i got
E : failed to mount /data (Invalid Argument)
E: delete_data_files: Cant Mount /data
your storage not prepare yet. Please use UI menu for format and reboot action
Formating /cache
wiping cache failed.
thankz if anyone can help.

[Q] My posts keep being deleted!! E: failed to mount /sdcard (Invalid argument)

E: failed to mount /sdcard (Invalid argument) when trying to mount sdcard.
I have done a fresh install and after getting to the point where i need to install a rom from sd zip i can't as the cwm won't recognise the sdcard.
Card has been formatted by mintoolpartition wizard. fat32 32kb
Hope this post gets on here this time 3rd time round
dandanfireman said:
E: failed to mount /sdcard (Invalid argument) when trying to mount sdcard.
I have done a fresh install and after getting to the point where i need to install a rom from sd zip i can't as the cwm won't recognise the sdcard.
Card has been formatted by mintoolpartition wizard. fat32 32kb
Hope this post gets on here this time 3rd time round
Click to expand...
Click to collapse
please specify the exact partition layout achieved with minitool. we might be particularly interested in the presence/absence of other partitions (intended or unintended), their relative order to one another, and which ones are primary or logical partitions, etc.

TWRP can't mount '/data'

So for the last couple of days I've been trying to set up my custom recovery. TWRP installed via goomanger but when I try to do a backup it can't mount data. This is what I get.
E:unable to mount '/data'
E: unable to recreate /data/media folder
updating partition detals...
E:unable to mount '/data'
E:unable to mount internal storage
E:unable to mount/data/media during gui startup.
running boot script...
finished running boot script.
E:unable to mount /data/media/twrp/.twrps when trying to read settings f
E:unable to mount '/data'
E:unable to mount '/data'
E:unable to mount '/data'
E:updating partition details...
E:unable to mount '/data'
*total number of partitions to back up: 3
*total size of all data: 2073mb
*available space 28041mb
[backup started]
*backup folder: /external_sd/twrp/backups/1e0bf818/1970-01-08--02-24-1
backing up system...
breaking backup file into multiple achives...
*generating md5...
*md5 created.
E:unable to mount '/data'
My progress bar gets maybe 1/4 of the way complete and then the message at the top of the screen changes to
Backup Complete
Failed
I've tried Fix Permissions and have also selected Flash ROM from GooManager so that it could locate any newer version of TWRP and install. I keep getting the same result. Can't mount data. My Data is also showing 0mb
So you're going to start a new thread with the same question huh.
Sorry we couldn't help. Maybe if you keep asking all over the place the answer will magically appear.
Peace out.
leaderbuilder said:
So you're going to start a new thread with the same question huh.
Sorry we couldn't help. Maybe if you keep asking all over the place the answer will magically appear.
Peace out.
Click to expand...
Click to collapse
Yes, that's exactly what I did. The reason for that is the last time I asked it, the question was tacked on to a thread that said nothing about the issue in the title. I figured this would be a better way to catch the attention of someone that was familiar with the issue. How bout using a little common sense before running your mouth...peace out
Please do not begin new threads for a question that you've already asked.
Also follow rule #1 and search before posting, this question has been asked and answered
Thread closed.

recovery error after downgrade to stock froyo from aurora

hello my phone is almost bricked i think...
i formatted my sd card(fat32) and put froyo dload folder to root,then the phone started so called updating and it says completed..then it rebooted few times and goes to android system recovery and error come like
e:cant mount @ (or /dev/block/mmcblk0p6)
(invalid argument)
e:cant mount cache:recovery/command
e:--->open cache partition failed
e:cant mount @ (or /dev/mmcblk0p6)
(ivalid argument)
and so on
please help me i really wanna use cm7 after downgrading
niggaswitcher said:
hello my phone is almost bricked i think...
i formatted my sd card(fat32) and put froyo dload folder to root,then the phone started so called updating and it says completed..then it rebooted few times and goes to android system recovery and error come like
e:cant mount @ (or /dev/block/mmcblk0p6)
(invalid argument)
e:cant mount cache:recovery/command
e:--->open cache partition failed
e:cant mount @ (or /dev/mmcblk0p6)
(ivalid argument)
and so on
please help me i really wanna use cm7 after downgrading
Click to expand...
Click to collapse
In recovery select Wipe Factory Reset
Then Wipe cache and then reboot.
It should work.

Mi a1 unmounted /system and /data fs

My Mi A1 device is in a state that is stuck in the first logo boot screen and when I boot into twrp I get errors of failing to mount /system and /data. I have tried the methods of wiping the partitions through twrp but the proccess fails. I have also tried to switch the filesystem to something else but that proccess fail too. Is there a way I could create them from scratch via the terminal in twrp? I don't have the knowledge to do things like that in filesystems and my device is for me right now in a bricked state because of that. Any help would be greatly appreciated.
When I do the switch file system option of /system and /data from twrp i get the error 'E:recv error on uevent'
When I try to do a format I get the errors: 'Could not mount /data and unable to find crypto footer.'
'Unable to mount /data (Invalid Argument)'
'Unable to mount /system (Invalid Argument)'
Hey, have you got any solution for the problem because I have stucked in the same problem. If you got the solution please tell me.

Categories

Resources