I know not a lot of people have their MJ7 rooted at this point but for those who did it can you upload an unbrick image archived using the following code
Code:
su
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1024 count=131072
I am trying the SD card unbrick method to see if I can unbrick my hard bricked (bootloader flashed) phone.
this is one of the many guides for the method: http://forum.xda-developers.com/showthread.php?t=2369125
the img file size should be 128mb, so please zip/compress before upload.
Thanks in advance!
Ah I see you requested me to upload one in the other thread. Sorry I didnt see your message. But bootloader version does matter. That being said I would upload one if I had an MJ7 debrick image. C'mon people upload this, it would also help development because we'd be able to experiment knowing we could unbrick. OP let me know if you need help creating it after someone hopefully uploads one.
Sent from my SCH-I545 using XDA Premium 4 mobile app
I am a complete noob, but my MJ7 S4 is rooted. Can you help me figure out where I'm supposed to put this code?
TheOnlyChicken said:
I am a complete noob, but my MJ7 S4 is rooted. Can you help me figure out where I'm supposed to put this code?
Click to expand...
Click to collapse
Yes if launch any command shell apps like Busybox and type in
Code:
su
dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk0.img bs=1M count=100
It would copy the debrick img file from your phone onto your SD card and then if you don't mind please upload that file. Thanks!
Oops I have to have 10 posts for some reason... What should I do? Can I private message you or something? BTW the file is 100b, did I do something wrong?
I have a rooted S4 on mj7, let me know if you still need this
Sent from my SCH-I545 using xda app-developers app
Here's mine.
Maybe itll help someone let me know what else i can do.
I'm on MJ7 rooted.
arrowproof said:
Yes if launch any command shell apps like Busybox and type in
Code:
su
dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk0.img bs=1M count=100
It would copy the debrick img file from your phone onto your SD card and then if you don't mind please upload that file. Thanks!
Click to expand...
Click to collapse
Let me know if that's what you were looking for.
Verizon Galaxy S4
# MJ7 #
ALL Knoxed Up!
Mistertac said:
Let me know if that's what you were looking for.
Verizon Galaxy S4
# MJ7 #
ALL Knoxed Up!
Click to expand...
Click to collapse
hmm I guess 1M doesn't register on the phone... can you try again with this
Code:
su
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1024 count=131072
the file size should be 128mb and then please zip/compress before upload. thanks
Here you go, I verified it was 128mb. It exceeds upload limit, so added to my dropbox.
https://www.dropbox.com/s/nsjor6ida1132cw/backup.zip
arrowproof said:
hmm I guess 1M doesn't register on the phone... can you try again with this
Code:
su
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1024 count=131072
the file size should be 128mb and then please zip/compress before upload. thanks
Click to expand...
Click to collapse
Here's mine as well. Verified 128mb.
https://www.dropbox.com/s/0yjgduyqg5ecgyd/backup.zip
Verizon Galaxy S4
# MJ7 #
ALL Knoxed Up!
Let us know if it works OP. I couldnt get MDK or ME7 to go reliably.
Sent from my SCH-I545 using XDA Premium 4 mobile app
failed
tried 3 different debrick file all failed to even get the phone turn on
arrowproof said:
tried 3 different debrick file all failed to even get the phone turn on
Click to expand...
Click to collapse
Try win32 disk imager on a class 10 sdcard mTching phone internal storage
Related
If you are on MDK, I need really would appreciate one of you to run a script for me and upload it. Im trying to test whether we have the ability to use the sdcard to unbrick S4's like the Note 3 and Galaxy S3 people do. I only thought that this was worth doing since it works on the Note 3. If this works ill write up a guide on how to unbrick your phone without JTAG. Please upload the output. This would be very helpful to know whether we have the ability to unbrick using these means, also it would mean that we would be able to test bootloader unlock ideas without such a high risk of a brick.
Note: For this test you have to have a MDK phone. Later on we can test for ME7, etc.
Open terminal or use adb from a pc:
Edit: see below
If your sdcard is not located at /sdcard please edit the script to your needs, for instance on the s4 your external sdcard is located at /mnt/extSdCard so you could substitute that for /sdcard in the script above. Thanks
I have a MDK phone but I'm running a ME7 rom. Will that work?
Sent from my SCH-I545 using XDA Premium 4 mobile app
Ryno77 said:
I have a MDK phone but I'm running a ME7 rom. Will that work?
Sent from my SCH-I545 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
yes, but Im going to to edit the script because I don't want it to include any of your personal data, so to fix either go here and download the zip in the bottom of the OP (that creates the debrick.img for you) or you can use one of the modified scripts below (they both say the same thing btw, its just that I forget if terminal/adb uses bytes by default or megabytes). If you do decide to make this, pm the file.
su
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1024 count=131072 conv=notrunc,noerror
Click to expand...
Click to collapse
su
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1M count=128 conv=notrunc,noerror
Click to expand...
Click to collapse
If your sdcard is not located at /sdcard please edit the script to your needs, for instance on the s4 your external sdcard is located at /mnt/extSdCard so you could substitute that for /sdcard in the script above.
Surge1223 said:
If you are on MDK, I need really would appreciate one of you to run a script for me and upload it. Im trying to test whether we have the ability to use the sdcard to unbrick S4's like the Note 3 and Galaxy S3 people do. I only thought that this was worth doing since it works on the Note 3. If this works ill write up a guide on how to unbrick your phone without JTAG. Please upload the output. This would be very helpful to know whether we have the ability to unbrick using these means, also it would mean that we would be able to test bootloader unlock ideas without such a high risk of a brick.
Note: For this test you have to have a MDK phone. Later on we can test for ME7, etc.
Open terminal or use adb from a pc:
Edit: see below
If your sdcard is not located at /sdcard please edit the script to your needs, for instance on the s4 your external sdcard is located at /mnt/extSdCard so you could substitute that for /sdcard in the script above. Thanks
Click to expand...
Click to collapse
Uploading now. I'll pm you a link to the file. I'm running aosp right @ the moment on my MDK phone. Hope that doesn't matter.
---------- Post added at 12:04 PM ---------- Previous post was at 11:16 AM ----------
Surge1223 said:
yes, but Im going to to edit the script because I don't want it to include any of your personal data, so to fix either go here and download the zip in the bottom of the OP (that creates the debrick.img for you) or you can use one of the modified scripts below (they both say the same thing btw, its just that I forget if terminal/adb uses bytes by default or megabytes). If you do decide to make this, pm the file.
If your sdcard is not located at /sdcard please edit the script to your needs, for instance on the s4 your external sdcard is located at /mnt/extSdCard so you could substitute that for /sdcard in the script above.
Click to expand...
Click to collapse
PM Sent.
I'll keep you guys updated. From what I hear this *should* work on Qualcomm variant S4's. So far, no dice, but I believe some of that is user error. Alot of this is writing the right partitions to right areas, with the right block sizes etc, etc, etc. Thanks guys.
Surge1223 said:
I'll keep you guys updated. From what I hear this *should* work on Qualcomm variant S4's. So far, no dice, but I believe some of that is user error. Alot of this is writing the right partitions to right areas, with the right block sizes etc, etc, etc. Thanks guys.
Click to expand...
Click to collapse
Glad to help when I can. Hope you find what you're looking for. Thanks for working on this.
Sent from my SCH-I545 using XDA Premium 4 mobile app
So if this works... Then hypothetically we could restore the MDK bootkoader if unfortunate enough to have ended up on ME7 version. Or am I misunderstanding the possibilities here?
Sent from my SCH-I545 using xda app-developers app
No this wouldnt let you downgrade, just save you from having to use jtag in case you brick. But Ive tried three different mdk unbrick.img's (my own and two from others) and havent had success.
Sent from my XT912 using xda app-developers app
My S4 Sch-i545 is hardbricked
any luck on getting a debrick image to boot a hard bricked s4 from Verizon?
arrowproof said:
any luck on getting a debrick image to boot a hard bricked s4 from Verizon?
Click to expand...
Click to collapse
Kind of, but not to the point of unbricking entirely. Im testing a alternative debrick method as we speak for MDK. If you want to test/need to test one out I can upload instructions and files. The debrick image has the gpt and partition info, it also contains the bootloaders for MDK.
Surge1223 said:
Kind of, but not to the point of unbricking entirely. Im testing a alternative debrick method as we speak for MDK. If you want to test/need to test one out I can upload instructions and files. The debrick image has the gpt and partition info, it also contains the bootloaders for MDK.
Click to expand...
Click to collapse
yes it would be nice if you can upload those files. Thanks
I have gpt solution to my mistake I accidentally checked NAND Erase All option which caused the p
mounting problem It can be recovered by the flashing of pit file
Please i want is ASAP.
EDIT : got solution
If anyone accidentally check nand erase all then just follow this steps
1. flash oudhs rrcovery
2. go to cwm and then format (sumthing like dis) in that unmount all and format sdcard/media it will take time 2 to 3 mins and then wipe cache dalvik cache data factory reset
3. restart tada
4. no need for pit file
http://forum.xda-developers.com/showthread.php?t=1916936
this could help u
I gone through the post but i dont get it how to make for mega 5.8 Can any one create it .. ??
Please someone provide me or do this as i am on xp and computer lags very much
Its very easy to get it, just run this from a root
shell (adb or terminal emulator):
dd if= /dev/ block / mmcblk0 of = /sdcard/ out. pit bs = 8 count = 481 skip= 2176
(Doesn't matter what ROM you are running)
Then just get me a copy of /sdcard/out.pit
These can be useful later and should be handy to
have.
Thanks in advance!
no one to help device now also bricked only
hardik190 said:
no one to help device now also bricked only
Click to expand...
Click to collapse
Well i know were a pit file is but they want you to buy an accont and the cheapest they have is you can get 5 files for $15.00 US, if you like I could put up the link..it is a samsung link I believe.
Edit: I have to find the link again as I thought I saved it on my phone..I will check my pc as I might have the link on there.
Sent from my SGH-I527M Mega 6.3
starmaster10 said:
Well i know were a pit file is but they want you to buy an accont and the cheapest they have is you can get 5 files for $15.00 US, if you like I could put up the link..it is a samsung link I believe.
Edit: I have to find the link again as I thought I saved it on my phone..I will check my pc as I might have the link on there.
Sent from my SGH-I527M Mega 6.3
Click to expand...
Click to collapse
Oh please can you give it fast i am just 1 step below to unbrick my phone
hardik190 said:
Oh please can you give it fast i am just 1 step below to unbrick my phone
Click to expand...
Click to collapse
Okay here is the link below for you and just go down the list a bit and you will find the i9152 pit file. :good:
http://www.samsung-file.com/index.php?dir=/SAMSUNG_PIT_FILE
starmaster10 said:
Okay here is the link below for you and just go down the list a bit and you will find the i9152 pit file. :good:
http://www.samsung-file.com/index.php?dir=/SAMSUNG_PIT_FILE
Click to expand...
Click to collapse
I dont have any paypal account and I m from india no usd can you give me the file please i need it badly
[B said:
hardik190[/B];48715041]
On terminal emulator type:
su -c 'dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=481 skip=2176'
Then just get me a copy of /sdcard/out.pit [End of QUOTE]
==============================================================
Sorry but I don't understand. You must pay to have a pit.file when all people can make it easy whit that command dd? (Whithout some spaces and corrected)????????
I'm surprised, astonish.
Hey People, own from a I9152, there aren't one from Yours that can make this and send to OP???
PS: This command is only for devices until 16 GB, not for 32 GB.
Click to expand...
Click to collapse
ValenteL said:
Sorry but I don't understand. You must pay to have a pit.file when all people can make it easy whit that command dd (whithout spaces)????????
I'm surprised, astonish.
Hey People, own from a I9152, there aren't one from Yours that can make this and send to OP???
Click to expand...
Click to collapse
I agree they should not even charge for a pit file, with this command is it suppose to be like this
suddif=/dev/block/mmcblk0of=/sdcard/out.pitbs=8count=481skip=2176 is this correct without spaces, if not could it be posted actually as it should be as it is not working for me, even though i don't have the mega 5.8 myself.
starmaster10 said:
I agree they should not even charge for a pit file, with this command is it suppose to be like this
suddif=/dev/block/mmcblk0of=/sdcard/out.pitbs=8count=481skip=2176 is this correct without spaces, if not could it be posted actually as it should be as it is not working for me, even though i don't have the mega 5.8 myself.
Click to expand...
Click to collapse
Not good. Is corrected on my post before.
ValenteL said:
Not good. Is corrected on my post before.
Click to expand...
Click to collapse
Mine is the 16gb version..but I was leaving spaces were it was showing in the post..so I still am not sure if I have to leave spaces were it shows in the command or leave no spaces.
And were does it save the file as I could never find it.
Sent from my SGH-I527M Mega 6.3
starmaster10 said:
Mine is the 16gb version..but I was leaving spaces were it was showing in the post..so I still am not sure if I have to leave spaces were it shows in the command or leave no spaces.
And were does it save the file as I could never find it.
Click to expand...
Click to collapse
Type this:
su -c 'dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=481 skip=2176'
And control the out.pit whit PIT_Magic.exe on one Pc if it is good. Attached:
You can create a analyzed file and see all contents from Pit file.
Have also attached a analyze from a I9205 out.pit to compare.
ValenteL said:
Type this:
su -c 'dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=481 skip=2176'
And control the out.pit whit PIT_Magic.exe on one Pc if it is good. Attached:
You can create a analyzed file and see all contents from Pit file.
Click to expand...
Click to collapse
Okay will do and I have the Pitmagic already on the pc..thanks for this and will give it a whirl.
Sent from my SGH-I527M Mega 6.3
ValenteL said:
Type this:
su -c 'dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=481 skip=2176'
And control the out.pit whit PIT_Magic.exe on one Pc if it is good. Attached:
You can create a analyzed file and see all contents from Pit file.
Have also attached a analyze from a I9205 out.pit to compare.
Click to expand...
Click to collapse
Okay it seem to work with this command and this is the file i got of the text file out of the pit file, looks correct i believe and is for the i527m Canadian version of the mega 6.3.
starmaster10 said:
Okay it seem to work with this command and this is the file i got of the text file out of the pit file, looks correct i believe and is for the i527m Canadian version of the mega 6.3.
Click to expand...
Click to collapse
This PIT Analizes is from out.pit of Your i527M. Compared whit out.pit from I9205 mega 6.3 International (from post #14) have some differences from partition 20 to 24. Your have more one partition called Persdata that I9205 not have.
Now we need someone that make the same from I9152 to compare whit mine I9205 and to Yours i527M.
ValenteL said:
This PIT Analizes is from out.pit of Your i527M. Compared whit out.pit from I9205 mega 6.3 International (from post #14) have some differences from partition 20 to 24. Your have more one partition called Persdata that I9205 not have.
Now we need someone that make the same from I9152 to compare whit mine I9205 and to Yours i527M.
Click to expand...
Click to collapse
Forsure as they are different a bit, as mine has 3 partitions on it i believe.
starmaster10 said:
Forsure as they are different a bit, as mine has 3 partitions on it i believe.
Click to expand...
Click to collapse
3 partitions? I don't understand. Your have different partition from 20 to 24. The 20 is persdata and on i9205 is system. I9205 not have partition 24.
(On analyzes file, "identifier:" is the partition number)
ValenteL said:
3 partitions? I don't understand. Your have different partition from 20 to 24. The 20 is persdata and on i9205 is system. I9205 not have partition 24.
(On analyzes file, "identifier:" is the partition number)
Click to expand...
Click to collapse
Well when I use TWRP to backup my stuff I think it says backing up no. of partitions 3..I will check this out again as this is why I said I believe it might have 3 partitions but I may be incorrect on this.
Edit: I just did a backup with TWRP recovery and it does say "Total number of partitions to backup: 3" so i must have 3 partitions. :silly:
Sorry that I have gone off topic here abit as this is for the i9152 pit file thread and if someone withi this version of the phone could make a pit file this would be awesome.
Sent from my SGH-I527M Mega 6.3
Someone mind dumping the bootloader image for this device?
if you are savvy with adb it can be done via rooted adb shell
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/Unbrick_Files/unbrick_sm-g900t.img bs=4096 count=50000
or if you want quick and easy this flashable zip will dump the image, zip it up and put it on your sdcard for faster uploading
http://shabbypenguin.com/getdownload.php?file=Tools/Unbrick-Creator.zip
shabbypenguin said:
Someone mind dumping the bootloader image for this device?
if you are savvy with adb it can be done via rooted adb shell
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/Unbrick_Files/unbrick_sm-g900t.img bs=4096 count=50000
or if you want quick and easy this flashable zip will dump the image, zip it up and put it on your sdcard for faster uploading
http://shabbypenguin.com/getdownload.php?file=Tools/Unbrick-Creator.zip
Click to expand...
Click to collapse
Hey Shabby o/ nice too see a familiar user around. Just moved from sprint. If no one else does it I can do it later =)
Shoulon said:
Hey Shabby o/ nice too see a familiar user around. Just moved from sprint. If no one else does it I can do it later =)
Click to expand...
Click to collapse
Thanks, but im only visiting
i actually moved back to sprint. tmobile has some good deals and its awesome using any gsm device, but signal inside my house is terrible. i hopped on a fellow dev's framily plan so its 25 a month, plus 15 a month for a nexus 5. stinks to be locked to certain devices, but in my area spark is about to light up and at least now im no contract with em .
shabbypenguin said:
Someone mind dumping the bootloader image for this device?
if you are savvy with adb it can be done via rooted adb shell
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/Unbrick_Files/unbrick_sm-g900t.img bs=4096 count=50000
or if you want quick and easy this flashable zip will dump the image, zip it up and put it on your sdcard for faster uploading
http://shabbypenguin.com/getdownload.php?file=Tools/Unbrick-Creator.zip
Click to expand...
Click to collapse
Here you go! http://www.mediafire.com/download/8e1cdcj7dho92b1/unbrick_sm-g900t.img.gz
You making something for us, Shabby?
BLuFeNiX said:
Here you go! http://www.mediafire.com/download/8e1cdcj7dho92b1/unbrick_sm-g900t.img.gz
You making something for us, Shabby?
Click to expand...
Click to collapse
Thanks!, and actually. you just did
this is an image that can be used with sdcard booting and unbrick peoples phones . ill probably bug someone like @mattlgroff to do the writeup tutorial though, hes a bit more known on the TMO side of things.
shabbypenguin said:
Thanks!, and actually. you just did
this is an image that can be used with sdcard booting and unbrick peoples phones . ill probably bug someone like @mattlgroff to do the writeup tutorial though, hes a bit more known on the TMO side of things.
Click to expand...
Click to collapse
Awesome! I can't wait to see what comes of this.
shabbypenguin said:
Thanks!, and actually. you just did
this is an image that can be used with sdcard booting and unbrick peoples phones . ill probably bug someone like @mattlgroff to do the writeup tutorial though, hes a bit more known on the TMO side of things.
Click to expand...
Click to collapse
baiscally woould it work the same way like the N900T SD boot tutorial just use this IMG file i guess??
man if you explain to me i can write it even in spanish
Gracias amigos
what ever became of this?
I'm working on a method by which I would be able to completely unlock the bootloader on a g900v, but I need someone here to run this command: busybox dd if=/dev/block/mmcblk0 of=/sdcard/unlockbin.bin bs=500000000 count=1
and upload the file and post a link here. This needs to be from a t-mobile g900t phone, and I would really prefer it be the block count I specified, definitely not smaller. Thanks in advance for the help, I really think this will work :fingers-crossed:
edit: I found a file for it elsewhere if a mod wants to remove this thread
I'm trying to see if I can recover from a hard brick after flashing a corrupt .pit file. However, I can only find unbrick images for the other s2 model. May someone please create an image from their i777 using the script I attached to this post? I haven't tested the script so I'm not sure it'll work. This will copy almost everything on your device I believe.
EDIT: Unfortunately, it seems I was dumb enough to super hard brick my S2 by flashing a corrupt .pit file. So don't do that. However, if you don't have a super hard bricked i777 but just hard bricked, you can use this image and use Win32DiskImager to "burn" the image onto an SD card that must be at least 16 GB in size. Then, take the battery out of your device, stick the SD card in, stick the battery on, and power up. You might need to burn the image a couple times. This will allow your hard bricked device to boot to the OS if not just download mode. If this doesn't work, a JTAG might work though it's unlikely, or you need the EMMC chip to be totally replaced. Good luck. Googling "hard brick SD card" might warrant better instructions than these. The file attached is an .sh script to create an unbrick image for any device in case you need it.
meantomatoes said:
I'm trying to see if I can recover from a hard brick after flashing a corrupt .pit file. However, I can only find unbrick images for the other s2 model. May someone create an image from their i777?
Click to expand...
Click to collapse
Have you checked this thread by @creepyncrawly, because it will have what you need to recover your device. Specifically check out section 2a; I think that will help you. If you're successful with the 2a method, do a factory reset in the stock recovery before booting into the ROM - otherwise you'll encounter a bootloop.
SteveMurphy said:
Have you checked this thread by @creepyncrawly, because it will have what you need to recover your device. Specifically check out section 2a; I think that will help you. If you're successful with the 2a method, do a factory reset in the stock recovery before booting into the ROM - otherwise you'll encounter a bootloop.
Click to expand...
Click to collapse
My device isn't soft bricked, it's hard bricked. Completely dead. My only hope is getting an unbrick image or a JTAG which is more expensive than to get a new S2.
meantomatoes said:
My device isn't soft bricked, it's hard bricked. Completely dead. My only hope is getting an unbrick image or a JTAG which is more expensive than to get a new S2.
Click to expand...
Click to collapse
Unfortunately I know if no "unbrick image" for the i777, but @creepyncrawly has a .pit file in his signature if I remember. That may be your only option.
SteveMurphy said:
Unfortunately I know if no "unbrick image" for the i777, but @creepyncrawly has a .pit file in his signature if I remember. That may be your only option.
Click to expand...
Click to collapse
Wouldn't be able to use the .pit file without an unbrick image. Someone with a working i777 can make one with a script. I know that this works for some hard bricks, but considering I flashed a corrupt .pit file, I'm not sure it would work for mine. I just fixed a hard bricked S3 last night for an unrelated reason, but the partition table was fine, it just wouldn't boot. I attached the unbrick creator script to this post and OP in case people don't have it.
meantomatoes said:
I'm trying to see if I can recover from a hard brick after flashing a corrupt .pit file. However, I can only find unbrick images for the other s2 model. May someone please create an image from their i777 using the script I attached to this post? I haven't tested the script so I'm not sure it'll work. This will copy almost everything on your device I believe.
Click to expand...
Click to collapse
how do you plan to flash the unbrick file? I have a working i777 and will be happy to help as long as its not too risky. So just flash the zip you attached and grab the file collected by dd? I have CM recovery, not cwm or twrp, what recovery should I use? Will it work if i just do the dd command from adb shell?
ethanchow said:
how do you plan to flash the unbrick file? I have a working i777 and will be happy to help as long as its not too risky. So just flash the zip you attached and grab the file collected by dd? I have CM recovery, not cwm or twrp, what recovery should I use? Will it work if i just do the dd command from adb shell?
Click to expand...
Click to collapse
An unbrick file is basically your whole internal SD duplicated. When a phone is hard bricked, it scans the SDs for a working bootable OS, like a computer. You just have to format the SD card to FAT32 and essentially burn the image onto the SD card. It shouldn't change the internal SD card if it successfully boots off the SD card, but when you boot up you can use a terminal or something to fix your internal SD. No flashing necessary on either end. Looking at the script (it's not a flashable zip), it looks like it needs BusyBox. It'll make a directory at /sdcard/Unbrick Files, on your external SD card. I have no idea how much space it'll take up, but my guess is it'll be the size of however much used space your device has. I'm pretty sure any recovery (built into the kernel) would work but this is speculation since I've never used a non-stock unbrick img. As long as it's compatible with the OS currently installed. And I'm also not sure this will work at all because my internal SD's partition table is completely corrupted I think, but it's worth a try since this worked on a hard bricked S3 last night.
I think you need to open a terminal and run the unbrick creator .sh in su mode. Don't flash it. I'm pretty sure the dd command over adb is flashing and not like creating an image right?
meantomatoes said:
An unbrick file is basically your whole internal SD duplicated. When a phone is hard bricked, it scans the SDs for a working bootable OS, like a computer. You just have to format the SD card to FAT32 and essentially burn the image onto the SD card. It shouldn't change the internal SD card if it successfully boots off the SD card, but when you boot up you can use a terminal or something to fix your internal SD. No flashing necessary on either end. Looking at the script (it's not a flashable zip), it looks like it needs BusyBox. It'll make a directory at /sdcard/Unbrick Files, on your external SD card. I have no idea how much space it'll take up, but my guess is it'll be the size of however much used space your device has. I'm pretty sure any recovery (built into the kernel) would work but this is speculation since I've never used a non-stock unbrick img. As long as it's compatible with the OS currently installed. And I'm also not sure this will work at all because my internal SD's partition table is completely corrupted I think, but it's worth a try since this worked on a hard bricked S3 last night.
I think you need to open a terminal and run the unbrick creator .sh in su mode. Don't flash it. I'm pretty sure the dd command over adb is flashing and not like creating an image right?
Click to expand...
Click to collapse
OK. so just run the commands in terminal with root? Will a 16gb sd card do? That is all I have atm.
ethanchow said:
OK. so just run the commands in terminal with root? Will a 16gb sd card do? That is all I have atm.
Click to expand...
Click to collapse
As long as you don't have more than 16 gigs of files, yup.
meantomatoes said:
As long as you don't have more than 16 gigs of files, yup.
Click to expand...
Click to collapse
OK. I will do it after charging up. It will probably be tomorrow before I upload it because I have much better internet at school.
ethanchow said:
OK. I will do it after charging up. It will probably be tomorrow before I upload it because I have much better internet at school.
Click to expand...
Click to collapse
No problem, any file hosting site will do.
meantomatoes said:
As long as you don't have more than 16 gigs of files, yup.
Click to expand...
Click to collapse
Just did it, its only 27MB
Looks good? I can upload it now if this is the right one.
http://i.imgur.com/Rgx4Yse.png
terminal output:
Code:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\Users\ethanchow>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
7[r[999;999H[6n[email protected]:/ $ u
/system/bin/sh: u: not found
127|[email protected]:/ $ su
[email protected]:/ # mkdir -p /sdcard/Unbrick_Files/
block/mmcblk0 of=/sdcard/Unbrick_Files/200MB.img bs=4096 count=50000; <
busybox gzip /sdcard/Unbrick_Files/*
50000+0 records in
50000+0 records out
204800000 bytes transferred in 33.450 secs (6122571 bytes/sec)
[email protected]:/ # busybox gzip /sdcard/Unbrick_Files/*
sh: busybox: not found
dev/block/mmcblk0 of=/sdcard/Unbrick_Files/200MB.img bs=4096 count=50000; <
exit
^C24711+0 records in
24710+0 records out
101212160 bytes transferred in 12.927 secs (7829516 bytes/sec)
=/sdcard/Unbrick_Files/200MB.img bs=4096 count=50000; <
130|[email protected]:/ # ls
acct file_contexts init.usb.configfs.rc seapp_contexts
boot.txt fstab.smdk4210 init.usb.rc selinux_version
cache init init.zygote32.rc sepolicy
charger init.cm.rc mnt service_contexts
config init.environ.rc oem storage
d init.rc preload sys
data init.recovery.smdk4210.rc proc system
default.prop init.smdk4210.rc property_contexts ueventd.rc
dev init.smdk4210.usb.rc res ueventd.smdk4210.rc
efs init.superuser.rc sbin vendor
etc init.trace.rc sdcard
[email protected]:/ # cd /sdcard
[email protected]:/sdcard # ls
ls: ./.android_secure: Permission denied
Alarms CamScanner Download Music Podcasts TriangleAway.zip storage
Amino DCIM LOST.DIR Notifications Ringtones Unbrick_Files
Android Documents Movies Pictures Snapchat bluetooth
1|[email protected]:/sdcard # cd Unbrick_Files
[email protected]:/sdcard/Unbrick_Files # ls
200MB.img
=/sdcard/Unbrick_Files/200MB.img bs=4096 count=50000; <
50000+0 records in
50000+0 records out
204800000 bytes transferred in 29.522 secs (6937199 bytes/sec)
v /sdcard/Unbrick_Files/200MB.img.gz /sdcard/Unbrick_Files/Unbrick_IMG.gz <
mv: bad '/sdcard/Unbrick_Files/200MB.img.gz': No such file or directory
1|[email protected]:/sdcard/Unbrick_Files # busybox gzip /sdcard/Unbrick_Files/*
sh: busybox: not found
127|[email protected]:/sdcard/Unbrick_Files # gzip /sdcard/Unbrick_Files/*
v /sdcard/Unbrick_Files/200MB.img.gz /sdcard/Unbrick_Files/Unbrick_IMG.gz <
[email protected]:/sdcard/Unbrick_Files # chmod -R 777 /sdcard/Unbrick_Files
[email protected]:/sdcard/Unbrick_Files # exit
[email protected]:/ $ exit
C:\Users\ethanchow>adb pull /storage/C805-1910/Unbrick_Files/Unbrick_IMG.gz
3427 KB/s (29352335 bytes in 8.362s)
C:\Users\ethanchow>
ethanchow said:
Just did it, its only 27MB
Looks good? I can upload it now if this is the right one.
http://i.imgur.com/Rgx4Yse.png
terminal output:
Code:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\Users\ethanchow>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
7[r[999;999H[6n[email protected]:/ $ u
/system/bin/sh: u: not found
127|[email protected]:/ $ su
[email protected]:/ # mkdir -p /sdcard/Unbrick_Files/
block/mmcblk0 of=/sdcard/Unbrick_Files/200MB.img bs=4096 count=50000; <
busybox gzip /sdcard/Unbrick_Files/*
50000+0 records in
50000+0 records out
204800000 bytes transferred in 33.450 secs (6122571 bytes/sec)
[email protected]:/ # busybox gzip /sdcard/Unbrick_Files/*
sh: busybox: not found
dev/block/mmcblk0 of=/sdcard/Unbrick_Files/200MB.img bs=4096 count=50000; <
exit
^C24711+0 records in
24710+0 records out
101212160 bytes transferred in 12.927 secs (7829516 bytes/sec)
=/sdcard/Unbrick_Files/200MB.img bs=4096 count=50000; <
130|[email protected]:/ # ls
acct file_contexts init.usb.configfs.rc seapp_contexts
boot.txt fstab.smdk4210 init.usb.rc selinux_version
cache init init.zygote32.rc sepolicy
charger init.cm.rc mnt service_contexts
config init.environ.rc oem storage
d init.rc preload sys
data init.recovery.smdk4210.rc proc system
default.prop init.smdk4210.rc property_contexts ueventd.rc
dev init.smdk4210.usb.rc res ueventd.smdk4210.rc
efs init.superuser.rc sbin vendor
etc init.trace.rc sdcard
[email protected]:/ # cd /sdcard
[email protected]:/sdcard # ls
ls: ./.android_secure: Permission denied
Alarms CamScanner Download Music Podcasts TriangleAway.zip storage
Amino DCIM LOST.DIR Notifications Ringtones Unbrick_Files
Android Documents Movies Pictures Snapchat bluetooth
1|[email protected]:/sdcard # cd Unbrick_Files
[email protected]:/sdcard/Unbrick_Files # ls
200MB.img
=/sdcard/Unbrick_Files/200MB.img bs=4096 count=50000; <
50000+0 records in
50000+0 records out
204800000 bytes transferred in 29.522 secs (6937199 bytes/sec)
v /sdcard/Unbrick_Files/200MB.img.gz /sdcard/Unbrick_Files/Unbrick_IMG.gz <
mv: bad '/sdcard/Unbrick_Files/200MB.img.gz': No such file or directory
1|[email protected]:/sdcard/Unbrick_Files # busybox gzip /sdcard/Unbrick_Files/*
sh: busybox: not found
127|[email protected]:/sdcard/Unbrick_Files # gzip /sdcard/Unbrick_Files/*
v /sdcard/Unbrick_Files/200MB.img.gz /sdcard/Unbrick_Files/Unbrick_IMG.gz <
[email protected]:/sdcard/Unbrick_Files # chmod -R 777 /sdcard/Unbrick_Files
[email protected]:/sdcard/Unbrick_Files # exit
[email protected]:/ $ exit
C:\Users\ethanchow>adb pull /storage/C805-1910/Unbrick_Files/Unbrick_IMG.gz
3427 KB/s (29352335 bytes in 8.362s)
C:\Users\ethanchow>
Click to expand...
Click to collapse
Looks good to me! I'm pretty sure sure it gets much bigger when it's extracted but that's okay.
meantomatoes said:
Looks good to me! I'm pretty sure sure it gets much bigger when it's extracted but that's okay.
Click to expand...
Click to collapse
OK. Uploading. Would you mind telling me how to put the file on the sdcard in case I need to unbrick in the future? Would you just dd it to the sdcard or copy the files, or something else? Thanks!
---------- Post added at 09:25 PM ---------- Previous post was at 09:23 PM ----------
meantomatoes said:
Looks good to me! I'm pretty sure sure it gets much bigger when it's extracted but that's okay.
Click to expand...
Click to collapse
there you go! use at your own risk as always, but you have nothing to lose since you are already bricked
https://www.androidfilehost.com/?fid=24651430732237478
One more thing, I repartitioned to 1gb system 6gb data using pit files from here http://forum.xda-developers.com/gal...ivatives/mod-increase-partition-size-t3011162
ethanchow said:
OK. Uploading. Would you mind telling me how to put the file on the sdcard in case I need to unbrick in the future? Would you just dd it to the sdcard or copy the files, or something else? Thanks!
---------- Post added at 09:25 PM ---------- Previous post was at 09:23 PM ----------
there you go! use at your own risk as always, but you have nothing to lose since you are already bricked
https://www.androidfilehost.com/?fid=24651430732237478
Click to expand...
Click to collapse
You have to use Win32DiskImager to "burn" the .img onto the SD card. This will format it.
meantomatoes said:
You have to use Win32DiskImager to "burn" the .img onto the SD card. This will format it.
Click to expand...
Click to collapse
Oh I see. Thanks, and good luck unbricking! keep in mind I repartitioned to 1gb system 6gb data using this so my partition layout isn't stock
Great job, gentlemen! I had no idea this was even a possibility, so I hope this works for you @meantomatoes. And thanks for helping, @ethanchow.
EMMC corrupted likely
ethanchow said:
Gentlemen? I'm a girl, lol.
Yea, I read about the sd boot thing for the s3 i747 a while back, but never had to try it. From what I know, all you need to do is trigger it to boot from sd by shorting some pin to ground and then boot it into download mode and flash a good pit file and bootloader. There may also be some complications with radio if you don't have a efs backup.
No problem, glad to be able to help someone out there I just hope it works out and won't make it worse(as if that could happen)
Click to expand...
Click to collapse
So I tried booting from the SD card and...nothing. I tried rewriting the SD card a couple times which is suggested and that still didn't work. I think this has to do with me flashing a corrupted .pit file and hard-hard bricking it; not even JTAG would fix this. However now it's now common knowledge that if you mess up all your partitions on your internal SD by flashing the wrong .pit, it's totally unrecoverable as far as I know. I may revisit this another day, but many thanks for helping anyway. I'll attach your unbrick image to the OP so other people with hard-bricked i777s can use it.
meantomatoes said:
So I tried booting from the SD card and...nothing. I tried rewriting the SD card a couple times which is suggested and that still didn't work. I think this has to do with me flashing a corrupted .pit file and hard-hard bricking it; not even JTAG would fix this. However now it's now common knowledge that if you mess up all your partitions on your internal SD by flashing the wrong .pit, it's totally unrecoverable as far as I know. I may revisit this another day, but many thanks for helping anyway. I'll attach your unbrick image to the OP so other people with hard-bricked i777s can use it.
Click to expand...
Click to collapse
I think the phone won't boot of the SD if the emmc is corrupt, it will only boot off ad by default if emmc is blank. You need to somehow prompt it to boot from SD. I think on the s3 i747 you short some pin near CPU to ground, but idk for the s2 i777.