Help before I break it.... - Galaxy S 5 Q&A, Help & Troubleshooting

Have S5 SM-G900F - 16GB with PhilZ Touch 6.26.2 and Clockworkmod V6.0.4.7
Was using XtreStoLite_ROM_v2.2_LP_XXU1BOD3 and Blaze.Kernel_ver15 that I installed through SD card and Recovery.
As my S7 has shipped (finally) I want the GF to have my old S5 but need THL (Thailand) system support (I.E. not just thai language but also on the system menus).
I downloaded what I thought was a ROM for this but at the end of Odin flash I had Bad EXT4 flash and on phone 'invalid ext image size is too big'
Reading through the thread someone stated you need the .PIT.
I have ALWAYS avoided these but tried the SM-G900F_pit_16GB file. Yes I need a slap, I know better.....
OK so here it is, I do not know if NAND is corrupt as I do not know the symptoms.
Also, if I only have a soft brick, what is the best approach for recovery / ROM flash ?
Do I always need to do it from SD card / Recovery using a .zip?
Current state of phone.
Seen in Odin.
Can go into download mode.
Can now go into Recovery mode after flashing philz_touch_6.26.2-klte.tar.md5 in Odin.
Reboot loop (obviously, not valid ROM on it now).
I am assuming all is good and it's not a BAD brick, but still have not had a successful flash.
Many thanks
Yes I don't have many posts because I have always searched and found answers, but this time I am a little unsure and don't want to royally screw it up.
Help is much appreciated.

FizzerUK said:
Have S5 SM-G900F - 16GB with PhilZ Touch 6.26.2 and Clockworkmod V6.0.4.7
Was using XtreStoLite_ROM_v2.2_LP_XXU1BOD3 and Blaze.Kernel_ver15 that I installed through SD card and Recovery.
As my S7 has shipped (finally) I want the GF to have my old S5 but need THL (Thailand) system support (I.E. not just thai language but also on the system menus).
I downloaded what I thought was a ROM for this but at the end of Odin flash I had Bad EXT4 flash and on phone 'invalid ext image size is too big'
Reading through the thread someone stated you need the .PIT.
I have ALWAYS avoided these but tried the SM-G900F_pit_16GB file. Yes I need a slap, I know better.....
OK so here it is, I do not know if NAND is corrupt as I do not know the symptoms.
Also, if I only have a soft brick, what is the best approach for recovery / ROM flash ?
Do I always need to do it from SD card / Recovery using a .zip?
Current state of phone.
Seen in Odin.
Can go into download mode.
Can now go into Recovery mode after flashing philz_touch_6.26.2-klte.tar.md5 in Odin.
Reboot loop (obviously, not valid ROM on it now).
I am assuming all is good and it's not a BAD brick, but still have not had a successful flash.
Many thanks
Yes I don't have many posts because I have always searched and found answers, but this time I am a little unsure and don't want to royally screw it up.
Help is much appreciated.
Click to expand...
Click to collapse
Have you tried to flash a stock rom from sammobile ?

Soufiansky said:
Have you tried to flash a stock rom from sammobile ?
Click to expand...
Click to collapse
Yeah!
I tried various and get EXT4 file size incorrect errors.
It was the .PIT incident that was lead from that error.
I have since re-acquired the original de-oxed ROM and flashed that from .zip on SDcard.
All good now, I just thank god I didn't screw it up with a .PIT file.
I was lucky! Leave them files for the DEV's and ignore posts that suggest getting a .PIT file and trying that for .EXT4 partition errors.
Reading posts later, chances are that your getting that error because you have the wrong ROM to flash, having a hidden partition in the ROM, from someone like the UK EE provider.

Hope you remembered to disable reactivation lock during first boot
The reason the ROM was removed in the first place...

Related

HELP : accidentally uninstalled TouchWiz

I accidentally uninstalled Touchwiz using Titanium Backup. Since I already use ADW.Launcher, I thought its not a big deal, until I did a hard reset.
Upon hard reset, my Galaxy S tries to install Touchwiz, which of course fails, and the darn phone just crashes and hangs. I managed to get it to boot up eventually after some trouble, but I'll prefer not to have to do this everytime I hard reset.
Can someone please please send me the TouchWiz apk and odex files so that I can put them back in the system directory ? I'm using stock Froyo 2.2 ( Build FROYO.DXJPA, Kernel 2.6.32.9 ). Please email them to [email protected], or tell me where I can download them.
I know this would cease to be a problem if I just flash a custom rom, and I would love to try that in future, but not now.
Thanks so much in advance.
Easy way would be to go to the Rom Kitchin build update zip with only the Touchwizz in it and flash it from SD card via CWM.
http://romkitchen.org/sgs/?s=generator
APK might be in Perkas file stash from this forum ..###
jje
JJEgan said:
Easy way would be to go to the Rom Kitchin build update zip with only the Touchwizz in it and flash it from SD card via CWM.
http://romkitchen.org/sgs/?s=generator
APK might be in Perkas file stash from this forum ..###
jje
Click to expand...
Click to collapse
Thanks, but I'm on 2.2, which means I have the 3e loader which does not allow me to setup update.zips which are unsigned. For this reason, i was also not able to get CWM installed. I know there's a way to downgrade the loader to 2e, but I'll rather not try that at this moment.
I agree with jje. The best and probably easiest way would be to flash 2e recovery. Chainfire has created a kernel for that purpose and as long as you can access download mode you should be fine.
Sent from my GT-I9000 using XDA Premium App
chriszzz said:
Thanks, but I'm on 2.2, which means I have the 3e loader which does not allow me to setup update.zips which are unsigned. For this reason, i was also not able to get CWM installed. I know there's a way to downgrade the loader to 2e, but I'll rather not try that at this moment.
Click to expand...
Click to collapse
Flash SpeedMOD kernel with Odin and you'll get CWM.
Hi JJEgan, anfearg, Intratech
Thanks for the advice so far. But would it be possible for me to just simply use a file manager to copy the TouchWiz apk and odex files to my system/app directory ? My phone is rooted, so I know it's possible as long as I can get those files. I'm just not sure if there's anything else that needs to be configured to get Android to use those files during setup. If this is workable, this would be the easiest route. Now I just need to get my hands on those files.
I know Odin can fix this, but I'll rather just stick to the current stock rom for now, and just add the missing 2 files.
Intratech said:
Flash SpeedMOD kernel with Odin and you'll get CWM.
Click to expand...
Click to collapse
I'm going to take a look at Odin and see if its not too risky to flash my i9000. I've flashed my old WinMo phones in the past, so flashing is not new to me. But I've yet to try it for Android. Maybe I'll give it a go.
chriszzz said:
Hi JJEgan, anfearg, Intratech
Thanks for the advice so far. But would it be possible for me to just simply use a file manager to copy the TouchWiz apk and odex files to my system/app directory ? My phone is rooted, so I know it's possible as long as I can get those files. I'm just not sure if there's anything else that needs to be configured to get Android to use those files during setup. If this is workable, this would be the easiest route. Now I just need to get my hands on those files.
I know Odin can fix this, but I'll rather just stick to the current stock rom for now, and just add the missing 2 files.
Click to expand...
Click to collapse
OK, so I spent a couple of hours googling and downloaded Odin, a couple of stock ROMs, PIT files and USB drivers. Fired up Odin, followed instructions, and I'm now back to 2.1 with the 2e loader. Sweet. Had a heart stopping moment when Odin said "FAILED" in red, so i just reflashed another ROM and it went through successfully.
Looks like I'm in the ROM flashing crowd now.
Quick question : some ROMs ( like the one I flashed successfully with Odin ) contains just a few tars - 1 each for CODE/PDA, CSC and MODEM/Phone.
Others ( like the one that Odin failed to flash ) just contains a bunch of directories with files that have bin, rfs, lfs extensions.
Why are there 2 different types of ROM packaging ? Is the first one ( with the tar files ) specific to Odin ? How do I flash the other type then ? With ClockWorkMod ?
chriszzz said:
I'm going to take a look at Odin and see if its not too risky to flash my i9000. I've flashed my old WinMo phones in the past, so flashing is not new to me. But I've yet to try it for Android. Maybe I'll give it a go.
Click to expand...
Click to collapse
chriszzz said:
OK, so I spent a couple of hours googling and downloaded Odin, a couple of stock ROMs, PIT files and USB drivers. Fired up Odin, followed instructions, and I'm now back to 2.1 with the 2e loader. Sweet. Had a heart stopping moment when Odin said "FAILED" in red, so i just reflashed another ROM and it went through successfully.
Looks like I'm in the ROM flashing crowd now.
Quick question : some ROMs ( like the one I flashed successfully with Odin ) contains just a few tars - 1 each for CODE/PDA, CSC and MODEM/Phone.
Others ( like the one that Odin failed to flash ) just contains a bunch of directories with files that have bin, rfs, lfs extensions.
Why are there 2 different types of ROM packaging ? Does each ROM come in both forms ? Can they be converted from 1 form to the other ?
Click to expand...
Click to collapse
the .tar types are to be flashed via odin only whereas the ones with the directories are to be flashed via CWM(2e recovery).... mix them up and you'll be in trouble... ;-)
You only needed to flash the recovery 2e zip file through Odin from the forum .
jje
chriszzz said:
<snipped>.. Others ( like the one that Odin failed to flash ) just contains a bunch of directories with files that have bin, rfs, lfs extensions.
Why are there 2 different types of ROM packaging ? Is the first one ( with the tar files ) specific to Odin ? How do I flash the other type then ? With ClockWorkMod ?
Click to expand...
Click to collapse
The single .tar file with .rfs, .bin, etc. is a high-level package. It's sort of a firmware update and can only be flashed on top of an existing firmware. That is, you don't tick re-partition in odin. The ones that come with 3 separate files for CSC, PDA and MODEM are either medium or low-level packages. I think, the low-level ones come with bootloaders. These can be flashed with re-partition ticked.
Thanks guys.
Today I learned how to flash using ODIN (flashed a European 2.1 ROM onto my international i9000 originally with Asian ROM, and downgraded my 3e loader to 2e).
Then I learned to use ClockWorkMod, which I used to flash Darky's ROM 9.5 ( nice ROM, although booting up seems to take an usually long time. Not sure why ). Finally, I almost had a heart attack, twice, when my phone refused to boot after flashing. Nothing a 3 button combo to download mode couldn't fix though.
Fun fun fun. Thanks all.

Help to flash firmware, knox is 0x1

Help!
I need some advice. I had stock 4.2.2, flashed omega v14 and then 4.3 GE ROM. I did not know about knox and I have tripped it. It shows 0x1 now. I understand that I cannot change that, and that is ok.
But I cannot flash any firmwares now.
I have tried the pre-rooted 4.3 in Odin:
I9505XXUEMK8-PRE-ROOTED-KNOX-FREE-ODEX-FULL
failed.
I have tried official 4.3 for my carrier:
I9505XXUEMJ7_I9505TENEMJ8_I9505XXUEMJ7_HOME.tar
failed.
If I try to flash cwm it boots, but it just stays on the google logo, and does not continue. If I try to enter recovery I get a message about secure mode and it does not enter recovery.
If I flash stock recovery, I can get into recovery. I have tried a factory reset, but it still boots to Google logo and nothing else.
What should I do? There must be a way?
Same issue with me. Looking for solutions. You can install Pacman rom without any problem.
Can someone please give me some pointers?
I have now tried to install the newest firmware from sammobile, even though it isn't for my carrier. It also fails in Odin. I am using 3.07. I can flash CWM and I can get into CWM now, but there's nothing on my sdcard. So I can not flash anything from CWM.
Is it possible to load files onto CWM when the phone won't boot fully?
Is there a firmware I can flash in Odin that will work in this situation?
Should I try Kies? Will Kies be able to sort this out?
Right now I have a brick.
Try a different usb port, different cable, make sure kies is not running in the background and try Odin 1.85.
Make sure you're not mixing up "SDcard" partition on your internal storage with your EXT-SD Card the one that you physically inserted into the device! Save the zip into both maybe and wipe cache, factory wipe, then flash the ROM. Try another cable and USB, try a different recovery e.g. Philz!
RossFixxed said:
Make sure you're not mixing up "SDcard" partition on your internal storage with your EXT-SD Card the one that you physically inserted into the device! Save the zip into both maybe and wipe cache, factory wipe, then flash the ROM. Try another cable and USB, try a different recovery e.g. Philz!
Click to expand...
Click to collapse
During the failed flash-attempts, my sdcard is now empty. I have no files in CWM to flash. How do I get the files to my card? I don't have an external sdcard.
Trying Odin 1.85 now with latest firmware from sammobile. Right now the phone will not boot, I can't flash anything through Odin (due to knox?) and I can't flash anything from CWM since there are no files there to flash...
Edit:
Odin 1.85 also fails. I cannot install any firmware now.
Knox will not stop you flashing with Odin. It won't really affect anything except, potentially, your warranty.
Where have you put the Zip file for the ROM you want to install? You need to point CWM towards it directly, whatever folder it is in... Are you doing that?
You could buy an SD card for a few quid and copy a ROM onto that if needs be... I would flash Philz recovery and Wipe Cache. Wipe factory reset (install a new ROM Option), click Install from SD Card and navigate to the folder.
If your entire SD Partition is wiped you'll need to hook up to the PC and copy the zip back over in download mode.
EDIT: Sorry if this is real obvious or I'm missing what's wrong. I figure if you're anything like me you're a bit anxious about this, just going step by step, we'll fix it!
jadajada said:
Help!
I need some advice. I had stock 4.2.2, flashed omega v14 and then 4.3 GE ROM. I did not know about knox and I have tripped it. It shows 0x1 now. I understand that I cannot change that, and that is ok.
But I cannot flash any firmwares now.
I have tried the pre-rooted 4.3 in Odin:
I9505XXUEMK8-PRE-ROOTED-KNOX-FREE-ODEX-FULL
failed.
I have tried official 4.3 for my carrier:
I9505XXUEMJ7_I9505TENEMJ8_I9505XXUEMJ7_HOME.tar
failed.
If I try to flash cwm it boots, but it just stays on the google logo, and does not continue. If I try to enter recovery I get a message about secure mode and it does not enter recovery.
If I flash stock recovery, I can get into recovery. I have tried a factory reset, but it still boots to Google logo and nothing else.
What should I do? There must be a way?
Click to expand...
Click to collapse
OK so i haven't got an S4 but i do have the mini and have a similar problem.
MJ7 got released but not for my country, so i flashed an AUS MJ7 firmware. Now it has been rolled out to my country and i cannot flash my original FW back due to different CSC. AUS CSC=MJ1 & UK CSC=MK1. (Failed in Odin)
so my theory is i cannot now flash any other regions firmware and stuck with MJ1 CSC. (AUS Firmware)
Can you remember the original FW you flashed when you had knox 0x0?
Hope this makes sense. I'm not getting any replies on S4 mini forum.
*boy*racer* said:
OK so i haven't got an S4 but i do have the mini and have a similar problem.
MJ7 got released but not for my country, so i flashed an AUS MJ7 firmware. Now it has been rolled out to my country and i cannot flash my original FW back due to different CSC. AUS CSC=MJ1 & UK CSC=MK1. (Failed in Odin)
so my theory is i cannot now flash any other regions firmware and stuck with MJ1 CSC.
Can you remember the original FW you flashed when you had knox 0x0?
Hope this makes sense. I'm not getting any replies on S4 mini forum.
Click to expand...
Click to collapse
I most likely had I9505TENEMJ8 or the one before that (MJ5?). It is Norway TEN. I have downloaded the latest for TEN, MJ8 and it fails in Odin. Right now I would be happy just to be able to flash anything at all...
jadajada said:
I most likely had I9505TENEMJ8 or the one before that (MJ5?). It is Norway TEN. I have downloaded the latest for TEN, MJ8 and it fails in Odin. Right now I would be happy just to be able to flash anything at all...
Click to expand...
Click to collapse
OK so in stock recovery does it say your CSC code?
*boy*racer* said:
OK so in stock recovery does it say your CSC code?
Click to expand...
Click to collapse
I had CWM. Tried to flash stock recovery now, but I can't boot into it. I do the usual, then a green android shows up, then shifts to lying on his back with a red exclamation mark over it. Then the phone reboots and stays at the Samsung logo.
I am soon ready to give up. Nothing works!
RossFixxed said:
Knox will not stop you flashing with Odin. It won't really affect anything except, potentially, your warranty.
Where have you put the Zip file for the ROM you want to install? You need to point CWM towards it directly, whatever folder it is in... Are you doing that?
You could buy an SD card for a few quid and copy a ROM onto that if needs be... I would flash Philz recovery and Wipe Cache. Wipe factory reset (install a new ROM Option), click Install from SD Card and navigate to the folder.
If your entire SD Partition is wiped you'll need to hook up to the PC and copy the zip back over in download mode.
EDIT: Sorry if this is real obvious or I'm missing what's wrong. I figure if you're anything like me you're a bit anxious about this, just going step by step, we'll fix it!
Click to expand...
Click to collapse
How do I copy a file over through download mode?
I have tried adb shell with CWM booted, but I get "unauthorized device error"
I think I will buy an sdcard, but that won't solve my problem with not being able to flash anything with Odin. But perhaps I can get a working rom flashed through CWM.
I had no problems flashing roms with odin before knox. Now I can not flash anything at all.
Edit:
I have also tried connecting to kies now like this:
http://androidcentral.us/2013/09/how-to-fix-firmware-upgrade-encountered-an-issue-on-kies/
I get a message saying model GT-I9505 does not support initialization.
So?
jadajada said:
How do I copy a file over through download mode?
I have tried adb shell with CWM booted, but I get "unauthorized device error"
I think I will buy an sdcard, but that won't solve my problem with not being able to flash anything with Odin. But perhaps I can get a working rom flashed through CWM.
I had no problems flashing roms with odin before knox. Now I can not flash anything at all.
Edit:
I have also tried connecting to kies now like this:
http://androidcentral.us/2013/09/how-to-fix-firmware-upgrade-encountered-an-issue-on-kies/
I get a message saying model GT-I9505 does not support initialization.
So?
Click to expand...
Click to collapse
Boot it into download mode and copy the zip over with windows explorer, into the internal memory. Navigate with Install from Zip option in CWM (maybe try Philz, it definitely works for me, with Knox 0x1) and install.
RossFixxed said:
Boot it into download mode and copy the zip over with windows explorer, into the internal memory. Navigate with Install from Zip option in CWM (maybe try Philz, it definitely works for me, with Knox 0x1) and install.
Click to expand...
Click to collapse
When the phone is in download mode, where do I find it in Windows? It does not show in Windows Explorer, but it shows up in Odin.
jadajada said:
When the phone is in download mode, where do I find it in Windows? It does not show in Windows Explorer, but it shows up in Odin.
Click to expand...
Click to collapse
RossFixxed said:
Boot it into download mode and copy the zip over with windows explorer, into the internal memory. Navigate with Install from Zip option in CWM (maybe try Philz, it definitely works for me, with Knox 0x1) and install.
Click to expand...
Click to collapse
OK. I went out and got an sd card. Copied over a rom zip to the card, flashed CWM and rebooted into recovery. Chose install from external sd card and ran the file. The setup started and ran for a few seconds, then the phone rebooted and I am back on the Samsung Logo.
I just can't flash any firmwares on this phone no matter how. Knox or not, but it all started when I tried to reflash stock rom using odin after the knox flag was triggered.
Any more ideas?
Edit:
just tried Philz recovery also. Same thing. Update runs for a few seconds then reboot. No go.
Edit 2:
Philz has the option to clean for installing a new rom. It also fails with this:
E:format_volume: make_extf4fs failed on /dev/block/mmcblk0p27
I suppose this as something to do with nothing being able to flash here. What Can be done with this?
Edit 3:
Success!! I was able to flash Omega Rom V14 through Philz. I actually installed and is running. I do get two knox lines at boot, one yellow and one red, something about the kernel not being something...
Now to investigate what the h*ll happened.
I am still unable to install any firmware through Odin. Going to try the Google Edition 4.3 again since I kind of liked that. But what actually happened here?
I'm happy to hear you got it working! I have no idea what caused it, first thought is corrupted zip files for rom. I'll have a look into it.
Sorry didn't get back to you, fell and injured my back, had to go get injections!
Sent from my GT-I9505 using xda app-developers app
jadajada said:
Can someone please give me some pointers?
I have now tried to install the newest firmware from sammobile, even though it isn't for my carrier. It also fails in Odin. I am using 3.07. I can flash CWM and I can get into CWM now, but there's nothing on my sdcard. So I can not flash anything from CWM.
Is it possible to load files onto CWM when the phone won't boot fully?
Is there a firmware I can flash in Odin that will work in this situation?
Should I try Kies? Will Kies be able to sort this out?
Right now I have a brick.
Click to expand...
Click to collapse
Mj7 is not a 4.3 rom. Have you tried to flash any stock 4.3 rom (for example ubuemk1 fob latam) or any other you are sur to be 4.3? Samsung alerted clearly before updating to 4.3 you won't be able to back prior versions any more...
Enviado desde mi GT-P7510 usando Tapatalk 2
jaswinky said:
Mj7 is not a 4.3 rom. Have you tried to flash any stock 4.3 rom (for example ubuemk1 fob latam) or any other you are sur to be 4.3? Samsung alerted clearly before updating to 4.3 you won't be able to back prior versions any more...
Enviado desde mi GT-P7510 usando Tapatalk 2
Click to expand...
Click to collapse
Solved! I do not know what solved it. I managed to install Omega Rom V16 through Philz recovery. From there I rebooted into Philz again and did a total clean to install new rom.
I downloaded a newer Odin, 3.09.
I flashed the same firmware which failed yesterday, 4.3 NEE rom.
This time it worked! So something helped.
Thank you to everyone who chipped in. It seemed rather hopeless yesterday.
I know the feeling man but is possible you were downgrading and you can't do that with knox now.
Sent from my GT-I9505 using xda app-developers app
jadajada said:
Can someone please give me some pointers?
I have now tried to install the newest firmware from sammobile, even though it isn't for my carrier. It also fails in Odin. I am using 3.07. I can flash CWM and I can get into CWM now, but there's nothing on my sdcard. So I can not flash anything from CWM.
Is it possible to load files onto CWM when the phone won't boot fully?
Is there a firmware I can flash in Odin that will work in this situation?
Should I try Kies? Will Kies be able to sort this out?
Right now I have a brick.
Click to expand...
Click to collapse
You can try flashing TWRP it support usb mount on recovery then transfer OMega Rom again..
Kies wont work on your phone because your already in the custom status.

Install Recovery and CM on Locked I9500

Hi All,
I'm not sure if this is the right place to post this as I'm relatively new to posting on XDA. My girlfriend has a Galaxy S4 (I337) that I quickly and easily installed Cyanogenmod on. It's awesome and significantly better than TouchWiz. So, I bought an S4 off Ebay assuming it would be similar enough. It turns out this new S4 is an I9500 and before shipping it was updated to 4.3, which appears to lock the bootloader and prevent downgrading. I've tried Odin, Heimdall, ADB, Philz, Chainfire, Cofface, stock ROMs, etc with no luck. Today I did manage to root the phone and confirm root with TowelRoot. I'm wondering/hoping someone might have some resources to get CM on this thing. While I'd prefer not to brick it I am willing to take risks as I have a Razr (soft-bricked and unbricked) running CM and am relatively comfortable with computers/Linux.
I've been Googling and trying things for a month now and can't even find that much information on the locked bootloader. Any help would be greatly appreciated, thanks.
--
SL
The I9500 doesn't have a locked bootloader. You just can't downgrade from 4.3 to 4.2.2 with official roms. Same applies when you are running 4.4, then you also can't downgrade officially.
Just flash a custom recovery true Odin and flash away.
Why would you even want to downgrade? Are you sure you are picking the right files? You cant flash the files for the I337 on the I9500. So just go to the section for the I9500 roms and flash away.
Hi Lennyz1988,
Thanks for the quick reply. I don't specifically want to downgrade but that's the last option I've tried. Ultimately the goal is to put Cyanogenmod on the phone. When I attempt to upload any file via Odin I get "secure magiccode check fail : boot" (or fail : recovery) depending on what I'm flashing. All the reading I've done says that when these phones are updated to 4.3 a fix has been applied that stops Odin from working. Thus, I my last resort is/was to try and downgrade. As I said, I've been Googling for the last month and while few people have posted about this I have not found any solutions.
Hoping someone might have a solution or anything new to try that I haven't tried already, thanks again,
--
SL
Download the latest TWRP recovery:
http://techerrata.com/browse/twrp2/i9500
Fire it up in Odin under PDA. You need the .tar (DON'T EXTRACT IT).
If it fails:
- Different usb port
- Different cable
- Different pc
- Reinstall drivers
- Make sure Kies is not running the background.
Or you can use heimdall to flash it. Use the command line though:
heimdall flash --recovery nameoftherecovery.img (you need the .img instead of the .tar)
No luck there, Odin still fails with the same message. I have tried Heimdall on 2 different computers (4 different usb cables) and always get the libusb 12 error.
Since I have root access I figured I might be able to wipe the recovery partition from a terminal emulator. I copied recovery.img from the I9500 CWM to the internal sd card. I then went to /dev/block/msm_sdcc.1/by-name to figure out what partition is recovery, turns out its 21. I then did “dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p21”. I then booted into recovery and it just hung up. I had previously found a stock recovery partition so I flashed that via Odin (the only file I have found that works flashing via Odin). I could then boot back into the normal recovery. I then tried flashing both recovery and cache with the CF Auto files (cache is partition 18). Same result, it just hangs when trying to boot into recovery. At one point I did manage to flash a recovery that then came up with a warning about “software installed that is not supported by AT&T” and I couldn’t get past that so had to flash the stock recovery again.
On a side note, I accidentally wiped the EFS partition in this process (if found a tutorial that shows the S3 had recovery in partition 10, which is EFS on the S4). As a result 1.) the menu didn’t pop up when I hit the power button and 2.) wifi didn’t work. So, I made an .img of the EFS partition on my GT-I337 and moved it to the I9500 and that worked restoring both. In case anyone makes the same mistake.
I have now also used CWM ROM Manager and GooManger and tried installing recovery that way with no luck.
Just check if the internal memory partitioning is correct ( number, size and format) (use fdisk or parsed).
ODIN will install according to the PIT file and if drivers and cables are OK it is no other explanation than that.
PS: do not trust heimdall data because it just read the PIT file and do not give the true info from the memory part.!
Uhm on the TWRP website they say that the I9500 has it on partition 10.....
This would be the proper partition based on their website:
mmcblk0p10
Are you absolutely sure you have an i9500? Because my guess is that you don't.....
Boot into download mode. What does it say your model is?
Because on the AT&T it's partition 21.... So my guess is that you are messing up....
Thanks everyone for the input/feedback,
Something I think I had forgotten to mention previously, when the initial root/recovery attempts didn't work I downloaded an app to verify it is a genuine Samsung as I have heard of very good knock-offs. It is genuine according to the app.
Good point/catch regarding the location of the recovery partition. Under About Phone it shows as an I9500 and always has. When in download mode it currently shows as I337 but I wasn't sure if that was simply a result of all my attempts so I figured best to go with the one I am certain has been the same since I bought the phone. I had been hesitant to try wiping the recovery with for the I337 as that is how I soft-bricked my RazrHD (ultimately un-bricked it).
Tonight I will try the I337 files and see if Odin is successful. Thanks again.
Damn! Turns out my phone is an I337. The hardward (under the battery) says I9500 and when I plug it into a computer it shows up as I9500. On the weekend I thought I read that there is now the ability to flash recovery and install CyanogenMod on I337 if its updated to 4.4.2. So, I donwloaded the firmware and flashed with Odin. It flashed successfully but now I realize I am mistaken and 1.) cannot flash recovery, and 2.) cannot downgrade. For the time being I have installed Nova Launcher and removed as much of TouchWiz as possible. It's not perfect but at least usable. I'd like to start researching what it would take to flash recovery on this phone but I suspect I'm too busy at this moment.
Thanks everyone for the help,

[Q] Need help flashing a S4 bricks every time!

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

Might have Bricked S7 Edge SM-935FD. Need Help to recover

Hello guys
My phone is Galaxy S7 Edge Duos- SM935FD. I seem to have bricked the device.
Below are the actions I have performed.
1. Flashed TWRP using ODIN as described on https://www.the***********.com/root-samsung-galaxy-s7-edge/
2. Booted successfully into the OS. Found superuser app installed.
3. When I went to back to Flash ROM i erased multiple things such as internal storage/dalvik/cache/system after which device got stuck in bootloop. Showing NO OS.
4. I tried flasing Custom ROM Zip files through OTG. The process failed showing package corrupt and still stuck in bootloop.
I can enter recovery/download mode however cant seem to get the device booted. How can I get the device to work either Custom or stock ROM.
I will be going through some threads in the meantime, your guidance is very much appreciated.
Flash stock rom with Odin: This shouldnt be posted on Development Forum but rayher questions and Answers.
Find what your Stock Firmware for your phone is using Sammobile and flash stock then re do rooting and TWRP Process
zzThrain is right -- I wouldn't risk flashing custom ROMs at this stage, especially because many contain new bootloaders or other stuff that might make this even worse for you. Just pick up the relevant Samsung stock ROM file (from, for example, SamMobile) and see if it boots normally again. Once it does, re-do the process *after checking all MD5s of the files you used* -- I, too, have had it happen before that a download went corrupted and I flashed it. If all is well, get into Download Mode and let Odin rip.
rixon.d9 said:
Hello guys
My phone is Galaxy S7 Edge Duos- SM935FD. I seem to have bricked the device.
Below are the actions I have performed.
1. Flashed TWRP using ODIN as described on https://www.the***********.com/root-samsung-galaxy-s7-edge/
2. Booted successfully into the OS. Found superuser app installed.
3. When I went to back to Flash ROM i erased multiple things such as internal storage/dalvik/cache/system after which device got stuck in bootloop. Showing NO OS.
4. I tried flasing Custom ROM Zip files through OTG. The process failed showing package corrupt and still stuck in bootloop.
I can enter recovery/download mode however cant seem to get the device booted. How can I get the device to work either Custom or stock ROM.
I will be going through some threads in the meantime, your guidance is very much appreciated.
Click to expand...
Click to collapse
Go to recovery mode & transfer rom to phone using pc. wipe cache, delvikcache, data only. No need to wipe internal sd. Install rom & reboot.
if you phone goes to recovery or download mode, no need to worry. If it doesn't go to neither recovery nor download mode, them your phone might have probably bricked.
It's my pleasure to help you if you still facing this problem
zzThrain said:
Flash stock rom with Odin: This shouldnt be posted on Development Forum but rayher questions and Answers.
Find what your Stock Firmware for your phone is using Sammobile and flash stock then re do rooting and TWRP Process
Click to expand...
Click to collapse
Hi
I tried flashing stock rom from sammobile. I could find for SM-935FD hence downloaded SM-935F.
It got stuck at 90% showing System in ODIN.
From the ZIP file which is the file that needs to be flashed among below ? I tried AP.
AP_G935FXXU2DRB6_CL12365438_QB16944063_REV00_user_low_ship_meta.tar
BL_G935FXXU2DRB6_CL12365438_QB16944063_REV00_user_low_ship.tar
CP_G935FXXU2DRAG_CL648265_QB8691891_SIGNED.tar
CSC_OJV_G935FOJV2DRAG_CL12785220_QB16560277_REV00_user_low_ship.tar
HOME_CSC_OJV_G935FOJV2DRAG_CL12785220_QB16560277_REV00_user_low_ship.tar
Now when I try again it immediately shows FAIL. Am i Flashing the right stock rom ?
It Worked. Thanks to all who helped.
I wasn't running ODIN as Admin and also was using an slightly older version V3.10.7.

Resources