-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with different s3 models #4
Comments
@macearl The working device has XXSFQA1, and the bricked one has XXUENH1. |
Did you have a chance to take a look at the files yet? |
I did, however after struggling with multiple sboot versions I just decided to try writing a generic shellcode which doesn't rely on any sboot address. I just pushed it, please let me know if it worked for you. |
I gave the new version a go but im not able to dump the firmware and the log does not contain any useful hints where it goes wrong. I dont have my working S3 at hand right now, i'll try dumping the firmware there later and then flashing that one to the bricked one.
For a short amount of time "Shellcode started" is readable on the screen in the top left corner and then the phone reboots again into download mode When trying the helloworld shellcode the log looks similar up to the
And the output appears in the top left corner and after a second or so the device reboots into download mode edit:
|
Yes, other people encounter it as well - it seems that my mmc_dev heuristic has false negatives. I'll take a look into it today. |
@macearl I just increased the sboot area that is being searched for mmc_dev. Please try it now. |
I gave the bricked one a go, the output did not change it still fails with
Again i dont have the working one on hand right now (that's the problem with working phones, they are usually used daily ;), i'll try to steal it away again later) Is there anything i could try to debug this further? |
I just gave it a go. It looks like i have the same problem as arendtio in #9
the dumped file has the sha256sum: trying to write fw:
After this the phone does not boot into download mode without a SD card anymore, but hey now im able to boot XXELLA Just to make sure i tried the remaining steps and edit:
|
@macearl I once encountered sboot being stuck on In any case, can you send me the eMMC firmware you dumped? And can you send the sboot dump from the working device? |
I'll try it again a few times, how long should i wait for it to finish? I let it sit for ~20 minutes the first time. And the second attempt is running for roughly 5 minutes now. Sure i'll send you the dump and the sboot of the working device (would be the same file i sent you last time or should i do a redump with the newest version?) |
It should take about 10-20 seconds actually. Can you try running change_boot_partition_size again? if it works then the eMMC isn't bricked. |
Seems to still work, however it took a lot longer than before and the S3 is not automatically rebooting (but i think it didn't the first time)
|
Looks like it's working though. Any luck using SD CARD mode? |
I havent tried again since april, back then i was stuck on copy binary to emmc now i just tried again and all the commands finish ok
However now no matter what i try im not able to enter SDCARD MODE with the recovery sd again (im not 100% sure but i think i actually did not have to short the resistor back in april, now im not able to boot into anything with the recovery sd card, and even when i try to short the mentioned resistor (actually r634 for my gt i9305) nothing happens. For this to work would i actually need to short the resistor? edit: which was how i entered the sdcard mode back in april i think (Vol UP + Vol DOWN + Home + Power), i was able to enter SDCARD mode again and it did copy the binary this time, i am now able to boot into download mode again with no sd card inserted, however i am not able to repartition (or flash) the device with odin or heimdall. heimdall fails with:
and odin with:
I was able to dump the now installed sboot, in case that could help in any way. Also there are a couple of "GT-I9300" Strings in the dumped sboot, not sure if that affects anything given that my device is a GT-I9305, i also wasn't able to find any version number in it (only had a quick glance at it though, there are also some rather weird strings in there such as "Adobe Photoshop CS4 Windows" |
I have an S3 LTE (GT-I9305) which mysteriously died a week ago. After much searching on YouTube, I chanced upon the talk Oranav gave and came here :) Any update on whether a dead I9305 can be recovered, as previously asked by macearl in this thread? Also, can someone be kind enough to post a zip for the shell cross-compiled bins? I'm on Windows and severely "handicapped" without those Linux tools :( Managed to figure out after half a day of struggling with making an sboot SD card that I can't just store the sboot.bin file to the (formatted) SD but must save the binary image to it -- luckily I found the WinDiskImager utility to do this :) I'm a noob at GitHub and very desperate in wanting to revive my S3. Please pardon my ignorance on how my request can be accommodated as such; would really appreciate some help with those shell bin files before I tear my hair out trying to cross-compile on Windows, and that's provided I can find the right tools for that! |
Hi, I have a guide here that has precompiled binaries and is compatible with windows. BE CAREFUL AS IT IS FOR i9300. Don't flash anything yet, just try to dump your own firmware. https://github.com/theandroid02/i9300-EMMC-GUIDE |
Thank you @theandroid02 for your help with the compiled bins... sure gives me hope on resurrecting my S3 :) At first I downloaded the zip and those bins weren't there! Then I realized there had been 4 releases and I hadn't gotten the latest lol. Went ahead to make the preparations you outlined and managed to execute the eMMC erase code to some extent, but the code kept stopping at the same point complaining about the USB1 thingy. Googled for help and found out the libusb-1.0.dll file was missing. Found that dll online and saved it to 3 places: windows/system32; the folder where python.exe resides; and the project folder -- it wasn't clear where this dll should be placed so I put it in locations which were mentioned by others... Now the execution went further, making things look exciting. Until it stopped at the odin.py part as shown below: Traceback (most recent call last): Please help me check what has gone wrong -- it looks like we're close to getting this to work :) Much thanks in advance! |
Still hopeful to get some help here, before I throw the S3 away for good :) |
Hmm, doesn't look like anyone's looking at this thread anymore? Alright then, the S3 is going to the dumps :) |
Hey, I might be able to help. Better email me at ggmaget@gmail.com or join this telegram group |
Would it be trivial to adapt this method to the i9305, iirc the only difference between the i9300 and i9305 was the modem and the additional ram.
Im not sure for example if I could just flash the i9300 sboot and firmware onto my i9305.
Any information on how to proceed would be appreciated.
The text was updated successfully, but these errors were encountered: