Related
Sup you guys,
I may be in a new predicament for myself, so I would like to ask a few questions before I tackle this task. It seems that I've flashed a JB rom on the stock slot of SS, and I thought that I had the NC2 kernel intact to do so. However, all I get is a black screen and then a botched up system partition, a soft brick if you will, on the stock slot. Couldn't mount the system, so wiping anything is out the window. In order to make my phone usable for now, I had to install a rom on Slot 1. All is fine, but the battery drain is a killer, so I would like recover the system partition of the stock slot. Now, I've read a few threads that kind of pertains to my situation and I learned that a pit file flash can recover it back to normal. Can I just flash only the pit through Odin, or are there other steps that I have to do to get this back on track? Any help and guidance would be greatly appreciated.
I need help too
krazyg said:
Sup you guys,
I may be in a new predicament for myself, so I would like to ask a few questions before I tackle this task. It seems that I've flashed a JB rom on the stock slot of SS, and I thought that I had the NC2 kernel intact to do so. However, all I get is a black screen and then a botched up system partition, a soft brick if you will, on the stock slot. Couldn't mount the system, so wiping anything is out the window. In order to make my phone usable for now, I had to install a rom on Slot 1. All is fine, but the battery drain is a killer, so I would like recover the system partition of the stock slot. Now, I've read a few threads that kind of pertains to my situation and I learned that a pit file flash can recover it back to normal. Can I just flash only the pit through Odin, or are there other steps that I have to do to get this back on track? Any help and guidance would be greatly appreciated.
Click to expand...
Click to collapse
I just got into ROMs and safeatrap and such. I started by trying to load them to the stock slot, which failed every time. I then made slots and had 3 ROMs, but the battery life was not good.
So I wanted to put a ROM on the stock slot. This is with nc2 on kitkat. When I went to load a ROM in stock slot, safestrap failed saying it couldn't mount /system. I tried wiping, but there too it said fail to mount /system.
I did "Fix Permissions" and rebooted. I was greeted by the Samsung boot screen, but it froze there. No safestrap, nothing. I recovery booted and the stock recovery says "E:failed to mount /system (Invalid argument)"
So now it seems that no part of my phone can get to /system. I will look into a .pit file and would appreciate guidance as well.
Seems like you have the problem that I had a week ago. I fixed it by flashing a stock tar and the pit file through Odin. Though I wasn't too sure if just flashing pit would repair the system partition (though, I think it would've been fine; I should've just done it with no questions asked), but in my situation, I got a bit more desperate as my problem got sort of worse. Yea, running any rom on any slot other than the stock slot will kill your battery quick. So a reminder, if you have a messed up system partition, do not let the battery die because your phone will be soft bricked and you won't be able to boot up to anything other than Download mode. At that point, I just flashed the stock tar and the pit file just to be on the safe side and start over. After I rooted and installed SS, I went and checked if it was working properly. It did for the most part, but I remember that I was still on slot 1 before my battery died and SS was highlighted that I was still on that slot. I think because of that, it gave me certain errors on some of things I was testing out, but you will be able to install normally on the stock slot again. There are some other issues I have because of that ordeal, but it's not game breaking, so make sure that you're on the stock slot before flashing the files through Odin.
krazyg said:
Seems like you have the problem that I had a week ago. I fixed it by flashing a stock tar and the pit file through Odin. Though I wasn't too sure if just flashing pit would repair the system partition (though, I think it would've been fine; I should've just done it with no questions asked), but in my situation, I got a bit more desperate as my problem got sort of worse. Yea, running any rom on any slot other than the stock slot will kill your battery quick. So a reminder, if you have a messed up system partition, do not let the battery die because your phone will be soft bricked and you won't be able to boot up to anything other than Download mode. At that point, I just flashed the stock tar and the pit file just to be on the safe side and start over. After I rooted and installed SS, I went and checked if it was working properly. It did for the most part, but I remember that I was still on slot 1 before my battery died and SS was highlighted that I was still on that slot. I think because of that, it gave me certain errors on some of things I was testing out, but you will be able to install normally on the stock slot again. There are some other issues I have because of that ordeal, but it's not game breaking, so make sure that you're on the stock slot before flashing the files through Odin.
Click to expand...
Click to collapse
Thanks for the reply. I flashed a stock tar last night since the stock bootloader couldn't mount /system. Not sure which slot was selected in safestrap, I couldn't get back in because it would freeze before safestrap.
I did not use a .pit file (FYI), and am now back on stock ROM.
What I woluld like isto flash a custom ROM, say a debloated, rooted ROM with ODIN. I see they are all zips with folders, not .tar. Maybe I could take out the recovery.img and put it into a ROM's zip and save the zip as a tar and flash it? Would this possibly break my device if it tried to flash a wrong recovery? I don't know.
If anyone has some knowledge of these things, I would appreciate tips.
Why wouldn't you towel root, install SS, and install a ROM?
xdadevnube said:
Why wouldn't you towel root, install SS, and install a ROM?
Click to expand...
Click to collapse
Because I have only been able to get ROMs working on slots 1-4 of SS and not stock slot, so the battery life is terrible. Also, it would be faster and easier just to flash a ROM with ODIN and not have to worry if my version of android has a working root method (thankfully towelroot v3 worked).
I have acquired an SHV-E330L and It was flashed in the wrong order. The newest rom was flashed without making sure it was done in the correct order. It will not flash with out destroying the partition on the phone. No matter if you try to flash Clockworks or a different rom it bricks and requires a PIT flash to recover. I need to re flash it because the current rom has glitches and the phone is not working well. Thanks in advance for any help. I just want it to flash correctly again. THANKS!!!!
Have you tried to flash any of Official firmwares?
What rom you had before and whitch one you tried to flash?
If you want to flash correctly then start from 0. Meaning do a factory reset from recovery, which will wipe the internal storage and everything.
Or flash that pit file.
CorbinVw said:
I have acquired an SHV-E330L and It was flashed in the wrong order. The newest rom was flashed without making sure it was done in the correct order. It will not flash with out destroying the partition on the phone. No matter if you try to flash Clockworks or a different rom it bricks and requires a PIT flash to recover. I need to re flash it because the current rom has glitches and the phone is not working well. Thanks in advance for any help. I just want it to flash correctly again. THANKS!!!!
Click to expand...
Click to collapse
Just go to the link above and start flashing all files including .Pit and Re-Partition!
Your device needs to be formated this time for that issue!
http://forum.xda-developers.com/galaxy-s4/general/i9505xxuhoa7-odin-files-100-t3043983
Thanks for the super quick response! I have the shv-e330l Korean TV phone same as the gt i9506 but this phone has aTV antenna on the top right. I just want to make sure the posted 9505 files will work with this chip set. Thanks!!!
vforvlive said:
Just go to the link above and start flashing all files including .Pit and Re-Partition!
Your device needs to be formated this time for that issue!
http://forum.xda-developers.com/galaxy-s4/general/i9505xxuhoa7-odin-files-100-t3043983
Click to expand...
Click to collapse
Not sure I just acquired it from a buddy that messed it up. I got the rom from a link on this site. Here is the link http://forum.xda-developers.com/showthread.php?t=2587037 I had the newest file on the list in .zip but I did not have the steps so that rom on top was flashed to revive the device. Now I dont know how to fix it. I need the files and steps to flash it. Im still kinda learning this phone stuff I paint cars for a living lol...
I have done that and I just fails durring flash and simi-briks untill I flash the Pit file. Even if I try to flash Clockworks to the phone it fails and requires the .pit file once again to be usable. Im still learning this phone stuff so maybe I need a step by step for the dumb lol.....
GDReaper said:
If you want to flash correctly then start from 0. Meaning do a factory reset from recovery, which will wipe the internal storage and everything.
Or flash that pit file.
Click to expand...
Click to collapse
Sloved!
Sent from my GT-I9506 using XDA Free mobile app
How many ways do we have to return to stock. I need to return to 100% stock. The return to stock tool works ok, but I have to flash the modem after. After all the flashing and screwing with my phone, my data and MMS are so messed up, I need to start over. I tried returning to stock last night, and went to MM, but still don't have MMS (but data is working again). Is there a stock image yet that we can flash?
Use your backup? That's really all there is other then rts tool.
I haven't had great luck restoring those either. I think I found a work around. If I use the return to stock tool, then flash the 5.1.1 bootloader and Modem, it seems to be back to stock with working wifi.
For what it's worth, if anyone else gets their data and mms really jacked up, here's how I fixed mine. Use the restore to stock tool. Then after that, you have to flash the 5.1.1 modem to get wifi working again, and I also flashed the 5.1.1 bootloader, because the tool was failing at the bootloader. Flash both in fastboot.
HikingMoose said:
For what it's worth, if anyone else gets their data and mms really jacked up, here's how I fixed mine. Use the restore to stock tool. Then after that, you have to flash the 5.1.1 modem to get wifi working again, and I also flashed the 5.1.1 bootloader, because the tool was failing at the bootloader. Flash both in fastboot.
Click to expand...
Click to collapse
Where did you find the 5.1.1 bootloader? I was failing at the install at booloader as well after returning to stock. Maybe this is where my problem is.
I can't remember exactly. It was in buried in the middle of the 6.0 rooted/odexed thread (http://forum.xda-developers.com/mot...rom-stock-rooted-debloated-x1575-6-0-t3262242). But it's probably easier to just pull extract the image file from the EU l return to stock tool. Just copy it from their to your Android sdk folder to flash it as you would anything else.
HikingMoose said:
I can't remember exactly. It was in buried in the middle of the 6.0 rooted/odexed thread (http://forum.xda-developers.com/mot...rom-stock-rooted-debloated-x1575-6-0-t3262242). But it's probably easier to just pull extract the image file from the EU l return to stock tool. Just copy it from their to your Android sdk folder to flash it as you would anything else.
Click to expand...
Click to collapse
Thanks for the reply. I got it working by returning to stick and flashing the modem file a second time.
I've been using a custom kernel on my G900W8 but I'm getting a lot of performance issues, so I want to go back to stock.
I do have a file I extracted called boot.img which I believe is the kernel. How do I restore it?
harry_fine said:
I've been using a custom kernel on my G900W8 but I'm getting a lot of performance issues, so I want to go back to stock.
I do have a file I extracted called boot.img which I believe is the kernel. How do I restore it?
Click to expand...
Click to collapse
Wait until you get an expert opinion. I was looking here and there for threads to extract and flash the stock kernel but ended up bricking my device. (No recovery, No bootup, THANK GOD I could access download mode).
I extracted the boot.img but didn't know how to flash it. There was a thread, a script that could turn .img to .tar.md5. I did that and flashed the file through Odin and boom. Stuck at bootlogo. So I try to restore the nandroid backup, but recovery keeps bootlooping.
Had to install stock rom completely through Odin...But it still isn't booting up.
User @nickpatel130285 has shared stock kernel for G900F in this post.
I flashed using that zip file and it worked like charm. So what you can do is replace the boot.img in that zip file with the one which is compatible with your variant and leave the rest as it is. Repack and Flash.
It should work but just in case if you mess things up you'll need to flash stock rom using Odin. So make sure you make a nandroid backup and have a copy on your PC (safely).
Flash at your own risk.
Here is a long story. Please read carefully before reply.
I have SM-G955N which is for South Korea. Also I have latest stock firmware that can be flashed with Odin. It has AP, BL, CP, CSC. With this firmware, I can recover from almost every problems(including bootloop) because these files have everything that my S8+ should have, even PIT file.
As you know, modifying stock firmware is very dangerous and you don't know what would happen if you delete/modify certain file.
You might think 'Hmm... I think it is completely not related to system or samsung so maybe I can delete this' but you can get bootlooped. I even got bootlooped by only deleting DioDict which is just dictionary app!
I think It would be much easier to recover from bootloop when I have flashable ZIP file that is pure stock firmware.
Maybe you can say 'Just use TWRP backup feature!' but I can't trust TWRP backup feature now.
When I flashed stock firmware with Odin and right after(after solving KG State thing), flashed TWRP. Then I should have pure, clean stock firmware because I didn't touch anything about system except recovery(TWRP), right? I backupped whole system except Cache because It has 0 MB size.
After I got bootloop while modifying system, I restored that backup but still got bootlooped. That's why I can't use TWRP backup as fallback plan. I can't trust it 100%.
There are few 'Kitchen' scripts but I think they only handle AP files. When I tried to use SuperR's Kitchen Free, I used stock firmware file(tar.md5) and didn't do any modification. After I made flashable ZIP file with it and flashed it with TWRP, I've got bootlooped because It didn't have critical CSC files that system needed.
I think the Kitchen can't handle CSC well even though It is critical. 'Donate' would be last resort.
I've found batch script that convert S9 stock firmware to flashable ZIP (at GItHub, 'harise100/S9-Stock-ROM-TWRP') but I don't think It can cover S8+ files. In the scripts, it requires some files that S8+ firmware don't have. Maybe I should play with that script to fit with S8+ but It will take a lot of time which I don't have much.
Any good idea or information about converting stock firmware to flashable ZIP file?